Add support for the new R_AVR_LDI, R_AVR_6 and R_AVR_6_ADIW relocs for the
[binutils.git] / Makefile.in
blob3bfbb2d3f135201735bfc899f40f7aa409fb0e3c
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 "PICFLAG_FOR_TARGET=$(PICFLAG_FOR_TARGET)" \
565 "RANLIB_FOR_TARGET=$(RANLIB_FOR_TARGET)" \
566 "WINDRES_FOR_TARGET=$(WINDRES_FOR_TARGET)" \
567 "CONFIG_SHELL=$(SHELL)" \
568 "MAKEINFO=$(MAKEINFO) $(MAKEINFOFLAGS)"
570 # For any flags above that may contain shell code that varies from one
571 # target library to another. When doing recursive invocations of the
572 # top-level Makefile, we don't want the outer make to evaluate them,
573 # so we pass these variables down unchanged. They must not contain
574 # single nor double quotes.
575 RECURSE_FLAGS = \
576 CXX_FOR_TARGET='$(CXX_FOR_TARGET_FOR_RECURSIVE_MAKE)' \
577 RAW_CXX_FOR_TARGET='$(RAW_CXX_FOR_TARGET_FOR_RECURSIVE_MAKE)' \
579 RECURSE_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(RECURSE_FLAGS)
581 # Flags to pass down to most sub-makes, in which we're building with
582 # the host environment.
583 EXTRA_HOST_FLAGS = \
584 'AR=$(AR)' \
585 'AS=$(AS)' \
586 'CC=$(CC)' \
587 'CXX=$(CXX)' \
588 'DLLTOOL=$(DLLTOOL)' \
589 'LD=$(LD)' \
590 'NM=$(NM)' \
591 'PICFLAG=$(PICFLAG)' \
592 'RANLIB=$(RANLIB)' \
593 'WINDRES=$(WINDRES)'
595 FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS)
597 # Flags that are concerned with the location of the X11 include files
598 # and library files
600 # NOTE: until the top-level is getting the values via autoconf, it only
601 # causes problems to have this top-level Makefile overriding the autoconf-set
602 # values in child directories. Only variables that don't conflict with
603 # autoconf'ed ones should be passed by X11_FLAGS_TO_PASS for now.
605 X11_FLAGS_TO_PASS = \
606 'X11_EXTRA_CFLAGS=$(X11_EXTRA_CFLAGS)' \
607 'X11_EXTRA_LIBS=$(X11_EXTRA_LIBS)'
609 # Flags to pass down to makes which are built with the target environment.
610 # The double $ decreases the length of the command line; the variables
611 # are set in BASE_FLAGS_TO_PASS, and the sub-make will expand them.
612 EXTRA_TARGET_FLAGS = \
613 'AR=$$(AR_FOR_TARGET)' \
614 'AS=$$(AS_FOR_TARGET)' \
615 'CC=$$(CC_FOR_TARGET)' \
616 'CFLAGS=$$(CFLAGS_FOR_TARGET)' \
617 'CXX=$$(CXX_FOR_TARGET)' \
618 'CXXFLAGS=$$(CXXFLAGS_FOR_TARGET)' \
619 'DLLTOOL=$$(DLLTOOL_FOR_TARGET)' \
620 'LD=$$(LD_FOR_TARGET)' \
621 'LIBCFLAGS=$$(LIBCFLAGS_FOR_TARGET)' \
622 'LIBCXXFLAGS=$$(LIBCXXFLAGS_FOR_TARGET)' \
623 'NM=$$(NM_FOR_TARGET)' \
624 'PICFLAG=$$(PICFLAG_FOR_TARGET)' \
625 'RANLIB=$$(RANLIB_FOR_TARGET)' \
626 'WINDRES=$$(WINDRES_FOR_TARGET)'
628 TARGET_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS)
630 # Flags to pass down to gcc. gcc builds a library, libgcc.a, so it
631 # unfortunately needs the native compiler and the target ar and
632 # ranlib.
633 # If any variables are added here, they must be added to do-*, below.
634 # The BUILD_* variables are a special case, which are used for the gcc
635 # cross-building scheme.
636 EXTRA_GCC_FLAGS = \
637 'BUILD_PREFIX=$(BUILD_PREFIX)' \
638 'BUILD_PREFIX_1=$(BUILD_PREFIX_1)' \
639 "GCC_FOR_TARGET=$(GCC_FOR_TARGET)" \
640 "CFLAGS_FOR_BUILD=$(CFLAGS_FOR_BUILD)" \
641 "`echo 'LANGUAGES=$(LANGUAGES)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
642 "`echo 'STMP_FIXPROTO=$(STMP_FIXPROTO)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
643 "`echo 'LIMITS_H_TEST=$(LIMITS_H_TEST)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
644 "`echo 'LIBGCC2_CFLAGS=$(LIBGCC2_CFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
645 "`echo 'LIBGCC2_DEBUG_CFLAGS=$(LIBGCC2_DEBUG_CFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
646 "`echo 'LIBGCC2_INCLUDES=$(LIBGCC2_INCLUDES)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
647 "`echo 'STAGE1_CFLAGS=$(STAGE1_CFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
648 "`echo 'BOOT_CFLAGS=$(BOOT_CFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
649 "`echo 'BOOT_ADAFLAGS=$(BOOT_ADAFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`"
651 GCC_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS)
653 .PHONY: configure-host
654 configure-host: \
655 maybe-configure-ash \
656 maybe-configure-autoconf \
657 maybe-configure-automake \
658 maybe-configure-bash \
659 maybe-configure-bfd \
660 maybe-configure-opcodes \
661 maybe-configure-binutils \
662 maybe-configure-bison \
663 maybe-configure-byacc \
664 maybe-configure-bzip2 \
665 maybe-configure-dejagnu \
666 maybe-configure-diff \
667 maybe-configure-dosutils \
668 maybe-configure-etc \
669 maybe-configure-fastjar \
670 maybe-configure-fileutils \
671 maybe-configure-findutils \
672 maybe-configure-find \
673 maybe-configure-fixincludes \
674 maybe-configure-flex \
675 maybe-configure-gas \
676 maybe-configure-gcc \
677 maybe-configure-gawk \
678 maybe-configure-gettext \
679 maybe-configure-gnuserv \
680 maybe-configure-gprof \
681 maybe-configure-gzip \
682 maybe-configure-hello \
683 maybe-configure-indent \
684 maybe-configure-intl \
685 maybe-configure-tcl \
686 maybe-configure-itcl \
687 maybe-configure-ld \
688 maybe-configure-libcpp \
689 maybe-configure-libgui \
690 maybe-configure-libiberty \
691 maybe-configure-libtool \
692 maybe-configure-m4 \
693 maybe-configure-make \
694 maybe-configure-mmalloc \
695 maybe-configure-patch \
696 maybe-configure-perl \
697 maybe-configure-prms \
698 maybe-configure-rcs \
699 maybe-configure-readline \
700 maybe-configure-release \
701 maybe-configure-recode \
702 maybe-configure-sed \
703 maybe-configure-send-pr \
704 maybe-configure-shellutils \
705 maybe-configure-sid \
706 maybe-configure-sim \
707 maybe-configure-tar \
708 maybe-configure-texinfo \
709 maybe-configure-textutils \
710 maybe-configure-time \
711 maybe-configure-uudecode \
712 maybe-configure-wdiff \
713 maybe-configure-zip \
714 maybe-configure-zlib \
715 maybe-configure-gdb \
716 maybe-configure-expect \
717 maybe-configure-guile \
718 maybe-configure-tk \
719 maybe-configure-libtermcap \
720 maybe-configure-utils
721 .PHONY: configure-target
722 configure-target: \
723 maybe-configure-target-libstdc++-v3 \
724 maybe-configure-target-libmudflap \
725 maybe-configure-target-newlib \
726 maybe-configure-target-libgfortran \
727 maybe-configure-target-libobjc \
728 maybe-configure-target-libtermcap \
729 maybe-configure-target-winsup \
730 maybe-configure-target-libgloss \
731 maybe-configure-target-libiberty \
732 maybe-configure-target-gperf \
733 maybe-configure-target-examples \
734 maybe-configure-target-libffi \
735 maybe-configure-target-libjava \
736 maybe-configure-target-zlib \
737 maybe-configure-target-boehm-gc \
738 maybe-configure-target-qthreads \
739 maybe-configure-target-rda \
740 maybe-configure-target-libada
742 # The target built for a native non-bootstrap build.
743 .PHONY: all
744 all: unstage all-host all-target stage
746 .PHONY: all-build
747 all-build: \
748 maybe-all-build-libiberty \
749 maybe-all-build-bison \
750 maybe-all-build-byacc \
751 maybe-all-build-flex \
752 maybe-all-build-m4 \
753 maybe-all-build-texinfo \
754 maybe-all-build-fixincludes
755 .PHONY: all-host
756 all-host: \
757 maybe-all-ash \
758 maybe-all-autoconf \
759 maybe-all-automake \
760 maybe-all-bash \
761 maybe-all-bfd \
762 maybe-all-opcodes \
763 maybe-all-binutils \
764 maybe-all-bison \
765 maybe-all-byacc \
766 maybe-all-bzip2 \
767 maybe-all-dejagnu \
768 maybe-all-diff \
769 maybe-all-dosutils \
770 maybe-all-etc \
771 maybe-all-fastjar \
772 maybe-all-fileutils \
773 maybe-all-findutils \
774 maybe-all-find \
775 maybe-all-fixincludes \
776 maybe-all-flex \
777 maybe-all-gas \
778 maybe-all-gcc \
779 maybe-all-gawk \
780 maybe-all-gettext \
781 maybe-all-gnuserv \
782 maybe-all-gprof \
783 maybe-all-gzip \
784 maybe-all-hello \
785 maybe-all-indent \
786 maybe-all-intl \
787 maybe-all-tcl \
788 maybe-all-itcl \
789 maybe-all-ld \
790 maybe-all-libcpp \
791 maybe-all-libgui \
792 maybe-all-libiberty \
793 maybe-all-libtool \
794 maybe-all-m4 \
795 maybe-all-make \
796 maybe-all-mmalloc \
797 maybe-all-patch \
798 maybe-all-perl \
799 maybe-all-prms \
800 maybe-all-rcs \
801 maybe-all-readline \
802 maybe-all-release \
803 maybe-all-recode \
804 maybe-all-sed \
805 maybe-all-send-pr \
806 maybe-all-shellutils \
807 maybe-all-sid \
808 maybe-all-sim \
809 maybe-all-tar \
810 maybe-all-texinfo \
811 maybe-all-textutils \
812 maybe-all-time \
813 maybe-all-uudecode \
814 maybe-all-wdiff \
815 maybe-all-zip \
816 maybe-all-zlib \
817 maybe-all-gdb \
818 maybe-all-expect \
819 maybe-all-guile \
820 maybe-all-tk \
821 maybe-all-libtermcap \
822 maybe-all-utils
823 .PHONY: all-target
824 all-target: \
825 maybe-all-target-libstdc++-v3 \
826 maybe-all-target-libmudflap \
827 maybe-all-target-newlib \
828 maybe-all-target-libgfortran \
829 maybe-all-target-libobjc \
830 maybe-all-target-libtermcap \
831 maybe-all-target-winsup \
832 maybe-all-target-libgloss \
833 maybe-all-target-libiberty \
834 maybe-all-target-gperf \
835 maybe-all-target-examples \
836 maybe-all-target-libffi \
837 maybe-all-target-libjava \
838 maybe-all-target-zlib \
839 maybe-all-target-boehm-gc \
840 maybe-all-target-qthreads \
841 maybe-all-target-rda \
842 maybe-all-target-libada
844 # Do a target for all the subdirectories. A ``make do-X'' will do a
845 # ``make X'' in all subdirectories (because, in general, there is a
846 # dependency (below) of X upon do-X, a ``make X'' will also do this,
847 # but it may do additional work as well).
849 .PHONY: do-info
850 do-info: unstage info-host info-target stage
852 .PHONY: info-host
853 info-host: \
854 maybe-info-ash \
855 maybe-info-autoconf \
856 maybe-info-automake \
857 maybe-info-bash \
858 maybe-info-bfd \
859 maybe-info-opcodes \
860 maybe-info-binutils \
861 maybe-info-bison \
862 maybe-info-byacc \
863 maybe-info-bzip2 \
864 maybe-info-dejagnu \
865 maybe-info-diff \
866 maybe-info-dosutils \
867 maybe-info-etc \
868 maybe-info-fastjar \
869 maybe-info-fileutils \
870 maybe-info-findutils \
871 maybe-info-find \
872 maybe-info-fixincludes \
873 maybe-info-flex \
874 maybe-info-gas \
875 maybe-info-gcc \
876 maybe-info-gawk \
877 maybe-info-gettext \
878 maybe-info-gnuserv \
879 maybe-info-gprof \
880 maybe-info-gzip \
881 maybe-info-hello \
882 maybe-info-indent \
883 maybe-info-intl \
884 maybe-info-tcl \
885 maybe-info-itcl \
886 maybe-info-ld \
887 maybe-info-libcpp \
888 maybe-info-libgui \
889 maybe-info-libiberty \
890 maybe-info-libtool \
891 maybe-info-m4 \
892 maybe-info-make \
893 maybe-info-mmalloc \
894 maybe-info-patch \
895 maybe-info-perl \
896 maybe-info-prms \
897 maybe-info-rcs \
898 maybe-info-readline \
899 maybe-info-release \
900 maybe-info-recode \
901 maybe-info-sed \
902 maybe-info-send-pr \
903 maybe-info-shellutils \
904 maybe-info-sid \
905 maybe-info-sim \
906 maybe-info-tar \
907 maybe-info-texinfo \
908 maybe-info-textutils \
909 maybe-info-time \
910 maybe-info-uudecode \
911 maybe-info-wdiff \
912 maybe-info-zip \
913 maybe-info-zlib \
914 maybe-info-gdb \
915 maybe-info-expect \
916 maybe-info-guile \
917 maybe-info-tk \
918 maybe-info-libtermcap \
919 maybe-info-utils
921 .PHONY: info-target
922 info-target: \
923 maybe-info-target-libstdc++-v3 \
924 maybe-info-target-libmudflap \
925 maybe-info-target-newlib \
926 maybe-info-target-libgfortran \
927 maybe-info-target-libobjc \
928 maybe-info-target-libtermcap \
929 maybe-info-target-winsup \
930 maybe-info-target-libgloss \
931 maybe-info-target-libiberty \
932 maybe-info-target-gperf \
933 maybe-info-target-examples \
934 maybe-info-target-libffi \
935 maybe-info-target-libjava \
936 maybe-info-target-zlib \
937 maybe-info-target-boehm-gc \
938 maybe-info-target-qthreads \
939 maybe-info-target-rda \
940 maybe-info-target-libada
942 .PHONY: do-dvi
943 do-dvi: unstage dvi-host dvi-target stage
945 .PHONY: dvi-host
946 dvi-host: \
947 maybe-dvi-ash \
948 maybe-dvi-autoconf \
949 maybe-dvi-automake \
950 maybe-dvi-bash \
951 maybe-dvi-bfd \
952 maybe-dvi-opcodes \
953 maybe-dvi-binutils \
954 maybe-dvi-bison \
955 maybe-dvi-byacc \
956 maybe-dvi-bzip2 \
957 maybe-dvi-dejagnu \
958 maybe-dvi-diff \
959 maybe-dvi-dosutils \
960 maybe-dvi-etc \
961 maybe-dvi-fastjar \
962 maybe-dvi-fileutils \
963 maybe-dvi-findutils \
964 maybe-dvi-find \
965 maybe-dvi-fixincludes \
966 maybe-dvi-flex \
967 maybe-dvi-gas \
968 maybe-dvi-gcc \
969 maybe-dvi-gawk \
970 maybe-dvi-gettext \
971 maybe-dvi-gnuserv \
972 maybe-dvi-gprof \
973 maybe-dvi-gzip \
974 maybe-dvi-hello \
975 maybe-dvi-indent \
976 maybe-dvi-intl \
977 maybe-dvi-tcl \
978 maybe-dvi-itcl \
979 maybe-dvi-ld \
980 maybe-dvi-libcpp \
981 maybe-dvi-libgui \
982 maybe-dvi-libiberty \
983 maybe-dvi-libtool \
984 maybe-dvi-m4 \
985 maybe-dvi-make \
986 maybe-dvi-mmalloc \
987 maybe-dvi-patch \
988 maybe-dvi-perl \
989 maybe-dvi-prms \
990 maybe-dvi-rcs \
991 maybe-dvi-readline \
992 maybe-dvi-release \
993 maybe-dvi-recode \
994 maybe-dvi-sed \
995 maybe-dvi-send-pr \
996 maybe-dvi-shellutils \
997 maybe-dvi-sid \
998 maybe-dvi-sim \
999 maybe-dvi-tar \
1000 maybe-dvi-texinfo \
1001 maybe-dvi-textutils \
1002 maybe-dvi-time \
1003 maybe-dvi-uudecode \
1004 maybe-dvi-wdiff \
1005 maybe-dvi-zip \
1006 maybe-dvi-zlib \
1007 maybe-dvi-gdb \
1008 maybe-dvi-expect \
1009 maybe-dvi-guile \
1010 maybe-dvi-tk \
1011 maybe-dvi-libtermcap \
1012 maybe-dvi-utils
1014 .PHONY: dvi-target
1015 dvi-target: \
1016 maybe-dvi-target-libstdc++-v3 \
1017 maybe-dvi-target-libmudflap \
1018 maybe-dvi-target-newlib \
1019 maybe-dvi-target-libgfortran \
1020 maybe-dvi-target-libobjc \
1021 maybe-dvi-target-libtermcap \
1022 maybe-dvi-target-winsup \
1023 maybe-dvi-target-libgloss \
1024 maybe-dvi-target-libiberty \
1025 maybe-dvi-target-gperf \
1026 maybe-dvi-target-examples \
1027 maybe-dvi-target-libffi \
1028 maybe-dvi-target-libjava \
1029 maybe-dvi-target-zlib \
1030 maybe-dvi-target-boehm-gc \
1031 maybe-dvi-target-qthreads \
1032 maybe-dvi-target-rda \
1033 maybe-dvi-target-libada
1035 .PHONY: do-html
1036 do-html: unstage html-host html-target stage
1038 .PHONY: html-host
1039 html-host: \
1040 maybe-html-ash \
1041 maybe-html-autoconf \
1042 maybe-html-automake \
1043 maybe-html-bash \
1044 maybe-html-bfd \
1045 maybe-html-opcodes \
1046 maybe-html-binutils \
1047 maybe-html-bison \
1048 maybe-html-byacc \
1049 maybe-html-bzip2 \
1050 maybe-html-dejagnu \
1051 maybe-html-diff \
1052 maybe-html-dosutils \
1053 maybe-html-etc \
1054 maybe-html-fastjar \
1055 maybe-html-fileutils \
1056 maybe-html-findutils \
1057 maybe-html-find \
1058 maybe-html-fixincludes \
1059 maybe-html-flex \
1060 maybe-html-gas \
1061 maybe-html-gcc \
1062 maybe-html-gawk \
1063 maybe-html-gettext \
1064 maybe-html-gnuserv \
1065 maybe-html-gprof \
1066 maybe-html-gzip \
1067 maybe-html-hello \
1068 maybe-html-indent \
1069 maybe-html-intl \
1070 maybe-html-tcl \
1071 maybe-html-itcl \
1072 maybe-html-ld \
1073 maybe-html-libcpp \
1074 maybe-html-libgui \
1075 maybe-html-libiberty \
1076 maybe-html-libtool \
1077 maybe-html-m4 \
1078 maybe-html-make \
1079 maybe-html-mmalloc \
1080 maybe-html-patch \
1081 maybe-html-perl \
1082 maybe-html-prms \
1083 maybe-html-rcs \
1084 maybe-html-readline \
1085 maybe-html-release \
1086 maybe-html-recode \
1087 maybe-html-sed \
1088 maybe-html-send-pr \
1089 maybe-html-shellutils \
1090 maybe-html-sid \
1091 maybe-html-sim \
1092 maybe-html-tar \
1093 maybe-html-texinfo \
1094 maybe-html-textutils \
1095 maybe-html-time \
1096 maybe-html-uudecode \
1097 maybe-html-wdiff \
1098 maybe-html-zip \
1099 maybe-html-zlib \
1100 maybe-html-gdb \
1101 maybe-html-expect \
1102 maybe-html-guile \
1103 maybe-html-tk \
1104 maybe-html-libtermcap \
1105 maybe-html-utils
1107 .PHONY: html-target
1108 html-target: \
1109 maybe-html-target-libstdc++-v3 \
1110 maybe-html-target-libmudflap \
1111 maybe-html-target-newlib \
1112 maybe-html-target-libgfortran \
1113 maybe-html-target-libobjc \
1114 maybe-html-target-libtermcap \
1115 maybe-html-target-winsup \
1116 maybe-html-target-libgloss \
1117 maybe-html-target-libiberty \
1118 maybe-html-target-gperf \
1119 maybe-html-target-examples \
1120 maybe-html-target-libffi \
1121 maybe-html-target-libjava \
1122 maybe-html-target-zlib \
1123 maybe-html-target-boehm-gc \
1124 maybe-html-target-qthreads \
1125 maybe-html-target-rda \
1126 maybe-html-target-libada
1128 .PHONY: do-TAGS
1129 do-TAGS: unstage TAGS-host TAGS-target stage
1131 .PHONY: TAGS-host
1132 TAGS-host: \
1133 maybe-TAGS-ash \
1134 maybe-TAGS-autoconf \
1135 maybe-TAGS-automake \
1136 maybe-TAGS-bash \
1137 maybe-TAGS-bfd \
1138 maybe-TAGS-opcodes \
1139 maybe-TAGS-binutils \
1140 maybe-TAGS-bison \
1141 maybe-TAGS-byacc \
1142 maybe-TAGS-bzip2 \
1143 maybe-TAGS-dejagnu \
1144 maybe-TAGS-diff \
1145 maybe-TAGS-dosutils \
1146 maybe-TAGS-etc \
1147 maybe-TAGS-fastjar \
1148 maybe-TAGS-fileutils \
1149 maybe-TAGS-findutils \
1150 maybe-TAGS-find \
1151 maybe-TAGS-fixincludes \
1152 maybe-TAGS-flex \
1153 maybe-TAGS-gas \
1154 maybe-TAGS-gcc \
1155 maybe-TAGS-gawk \
1156 maybe-TAGS-gettext \
1157 maybe-TAGS-gnuserv \
1158 maybe-TAGS-gprof \
1159 maybe-TAGS-gzip \
1160 maybe-TAGS-hello \
1161 maybe-TAGS-indent \
1162 maybe-TAGS-intl \
1163 maybe-TAGS-tcl \
1164 maybe-TAGS-itcl \
1165 maybe-TAGS-ld \
1166 maybe-TAGS-libcpp \
1167 maybe-TAGS-libgui \
1168 maybe-TAGS-libiberty \
1169 maybe-TAGS-libtool \
1170 maybe-TAGS-m4 \
1171 maybe-TAGS-make \
1172 maybe-TAGS-mmalloc \
1173 maybe-TAGS-patch \
1174 maybe-TAGS-perl \
1175 maybe-TAGS-prms \
1176 maybe-TAGS-rcs \
1177 maybe-TAGS-readline \
1178 maybe-TAGS-release \
1179 maybe-TAGS-recode \
1180 maybe-TAGS-sed \
1181 maybe-TAGS-send-pr \
1182 maybe-TAGS-shellutils \
1183 maybe-TAGS-sid \
1184 maybe-TAGS-sim \
1185 maybe-TAGS-tar \
1186 maybe-TAGS-texinfo \
1187 maybe-TAGS-textutils \
1188 maybe-TAGS-time \
1189 maybe-TAGS-uudecode \
1190 maybe-TAGS-wdiff \
1191 maybe-TAGS-zip \
1192 maybe-TAGS-zlib \
1193 maybe-TAGS-gdb \
1194 maybe-TAGS-expect \
1195 maybe-TAGS-guile \
1196 maybe-TAGS-tk \
1197 maybe-TAGS-libtermcap \
1198 maybe-TAGS-utils
1200 .PHONY: TAGS-target
1201 TAGS-target: \
1202 maybe-TAGS-target-libstdc++-v3 \
1203 maybe-TAGS-target-libmudflap \
1204 maybe-TAGS-target-newlib \
1205 maybe-TAGS-target-libgfortran \
1206 maybe-TAGS-target-libobjc \
1207 maybe-TAGS-target-libtermcap \
1208 maybe-TAGS-target-winsup \
1209 maybe-TAGS-target-libgloss \
1210 maybe-TAGS-target-libiberty \
1211 maybe-TAGS-target-gperf \
1212 maybe-TAGS-target-examples \
1213 maybe-TAGS-target-libffi \
1214 maybe-TAGS-target-libjava \
1215 maybe-TAGS-target-zlib \
1216 maybe-TAGS-target-boehm-gc \
1217 maybe-TAGS-target-qthreads \
1218 maybe-TAGS-target-rda \
1219 maybe-TAGS-target-libada
1221 .PHONY: do-install-info
1222 do-install-info: unstage install-info-host install-info-target stage
1224 .PHONY: install-info-host
1225 install-info-host: \
1226 maybe-install-info-ash \
1227 maybe-install-info-autoconf \
1228 maybe-install-info-automake \
1229 maybe-install-info-bash \
1230 maybe-install-info-bfd \
1231 maybe-install-info-opcodes \
1232 maybe-install-info-binutils \
1233 maybe-install-info-bison \
1234 maybe-install-info-byacc \
1235 maybe-install-info-bzip2 \
1236 maybe-install-info-dejagnu \
1237 maybe-install-info-diff \
1238 maybe-install-info-dosutils \
1239 maybe-install-info-etc \
1240 maybe-install-info-fastjar \
1241 maybe-install-info-fileutils \
1242 maybe-install-info-findutils \
1243 maybe-install-info-find \
1244 maybe-install-info-fixincludes \
1245 maybe-install-info-flex \
1246 maybe-install-info-gas \
1247 maybe-install-info-gcc \
1248 maybe-install-info-gawk \
1249 maybe-install-info-gettext \
1250 maybe-install-info-gnuserv \
1251 maybe-install-info-gprof \
1252 maybe-install-info-gzip \
1253 maybe-install-info-hello \
1254 maybe-install-info-indent \
1255 maybe-install-info-intl \
1256 maybe-install-info-tcl \
1257 maybe-install-info-itcl \
1258 maybe-install-info-ld \
1259 maybe-install-info-libcpp \
1260 maybe-install-info-libgui \
1261 maybe-install-info-libiberty \
1262 maybe-install-info-libtool \
1263 maybe-install-info-m4 \
1264 maybe-install-info-make \
1265 maybe-install-info-mmalloc \
1266 maybe-install-info-patch \
1267 maybe-install-info-perl \
1268 maybe-install-info-prms \
1269 maybe-install-info-rcs \
1270 maybe-install-info-readline \
1271 maybe-install-info-release \
1272 maybe-install-info-recode \
1273 maybe-install-info-sed \
1274 maybe-install-info-send-pr \
1275 maybe-install-info-shellutils \
1276 maybe-install-info-sid \
1277 maybe-install-info-sim \
1278 maybe-install-info-tar \
1279 maybe-install-info-texinfo \
1280 maybe-install-info-textutils \
1281 maybe-install-info-time \
1282 maybe-install-info-uudecode \
1283 maybe-install-info-wdiff \
1284 maybe-install-info-zip \
1285 maybe-install-info-zlib \
1286 maybe-install-info-gdb \
1287 maybe-install-info-expect \
1288 maybe-install-info-guile \
1289 maybe-install-info-tk \
1290 maybe-install-info-libtermcap \
1291 maybe-install-info-utils
1293 .PHONY: install-info-target
1294 install-info-target: \
1295 maybe-install-info-target-libstdc++-v3 \
1296 maybe-install-info-target-libmudflap \
1297 maybe-install-info-target-newlib \
1298 maybe-install-info-target-libgfortran \
1299 maybe-install-info-target-libobjc \
1300 maybe-install-info-target-libtermcap \
1301 maybe-install-info-target-winsup \
1302 maybe-install-info-target-libgloss \
1303 maybe-install-info-target-libiberty \
1304 maybe-install-info-target-gperf \
1305 maybe-install-info-target-examples \
1306 maybe-install-info-target-libffi \
1307 maybe-install-info-target-libjava \
1308 maybe-install-info-target-zlib \
1309 maybe-install-info-target-boehm-gc \
1310 maybe-install-info-target-qthreads \
1311 maybe-install-info-target-rda \
1312 maybe-install-info-target-libada
1314 .PHONY: do-installcheck
1315 do-installcheck: unstage installcheck-host installcheck-target stage
1317 .PHONY: installcheck-host
1318 installcheck-host: \
1319 maybe-installcheck-ash \
1320 maybe-installcheck-autoconf \
1321 maybe-installcheck-automake \
1322 maybe-installcheck-bash \
1323 maybe-installcheck-bfd \
1324 maybe-installcheck-opcodes \
1325 maybe-installcheck-binutils \
1326 maybe-installcheck-bison \
1327 maybe-installcheck-byacc \
1328 maybe-installcheck-bzip2 \
1329 maybe-installcheck-dejagnu \
1330 maybe-installcheck-diff \
1331 maybe-installcheck-dosutils \
1332 maybe-installcheck-etc \
1333 maybe-installcheck-fastjar \
1334 maybe-installcheck-fileutils \
1335 maybe-installcheck-findutils \
1336 maybe-installcheck-find \
1337 maybe-installcheck-fixincludes \
1338 maybe-installcheck-flex \
1339 maybe-installcheck-gas \
1340 maybe-installcheck-gcc \
1341 maybe-installcheck-gawk \
1342 maybe-installcheck-gettext \
1343 maybe-installcheck-gnuserv \
1344 maybe-installcheck-gprof \
1345 maybe-installcheck-gzip \
1346 maybe-installcheck-hello \
1347 maybe-installcheck-indent \
1348 maybe-installcheck-intl \
1349 maybe-installcheck-tcl \
1350 maybe-installcheck-itcl \
1351 maybe-installcheck-ld \
1352 maybe-installcheck-libcpp \
1353 maybe-installcheck-libgui \
1354 maybe-installcheck-libiberty \
1355 maybe-installcheck-libtool \
1356 maybe-installcheck-m4 \
1357 maybe-installcheck-make \
1358 maybe-installcheck-mmalloc \
1359 maybe-installcheck-patch \
1360 maybe-installcheck-perl \
1361 maybe-installcheck-prms \
1362 maybe-installcheck-rcs \
1363 maybe-installcheck-readline \
1364 maybe-installcheck-release \
1365 maybe-installcheck-recode \
1366 maybe-installcheck-sed \
1367 maybe-installcheck-send-pr \
1368 maybe-installcheck-shellutils \
1369 maybe-installcheck-sid \
1370 maybe-installcheck-sim \
1371 maybe-installcheck-tar \
1372 maybe-installcheck-texinfo \
1373 maybe-installcheck-textutils \
1374 maybe-installcheck-time \
1375 maybe-installcheck-uudecode \
1376 maybe-installcheck-wdiff \
1377 maybe-installcheck-zip \
1378 maybe-installcheck-zlib \
1379 maybe-installcheck-gdb \
1380 maybe-installcheck-expect \
1381 maybe-installcheck-guile \
1382 maybe-installcheck-tk \
1383 maybe-installcheck-libtermcap \
1384 maybe-installcheck-utils
1386 .PHONY: installcheck-target
1387 installcheck-target: \
1388 maybe-installcheck-target-libstdc++-v3 \
1389 maybe-installcheck-target-libmudflap \
1390 maybe-installcheck-target-newlib \
1391 maybe-installcheck-target-libgfortran \
1392 maybe-installcheck-target-libobjc \
1393 maybe-installcheck-target-libtermcap \
1394 maybe-installcheck-target-winsup \
1395 maybe-installcheck-target-libgloss \
1396 maybe-installcheck-target-libiberty \
1397 maybe-installcheck-target-gperf \
1398 maybe-installcheck-target-examples \
1399 maybe-installcheck-target-libffi \
1400 maybe-installcheck-target-libjava \
1401 maybe-installcheck-target-zlib \
1402 maybe-installcheck-target-boehm-gc \
1403 maybe-installcheck-target-qthreads \
1404 maybe-installcheck-target-rda \
1405 maybe-installcheck-target-libada
1407 .PHONY: do-mostlyclean
1408 do-mostlyclean: unstage mostlyclean-host mostlyclean-target stage
1410 .PHONY: mostlyclean-host
1411 mostlyclean-host: \
1412 maybe-mostlyclean-ash \
1413 maybe-mostlyclean-autoconf \
1414 maybe-mostlyclean-automake \
1415 maybe-mostlyclean-bash \
1416 maybe-mostlyclean-bfd \
1417 maybe-mostlyclean-opcodes \
1418 maybe-mostlyclean-binutils \
1419 maybe-mostlyclean-bison \
1420 maybe-mostlyclean-byacc \
1421 maybe-mostlyclean-bzip2 \
1422 maybe-mostlyclean-dejagnu \
1423 maybe-mostlyclean-diff \
1424 maybe-mostlyclean-dosutils \
1425 maybe-mostlyclean-etc \
1426 maybe-mostlyclean-fastjar \
1427 maybe-mostlyclean-fileutils \
1428 maybe-mostlyclean-findutils \
1429 maybe-mostlyclean-find \
1430 maybe-mostlyclean-fixincludes \
1431 maybe-mostlyclean-flex \
1432 maybe-mostlyclean-gas \
1433 maybe-mostlyclean-gcc \
1434 maybe-mostlyclean-gawk \
1435 maybe-mostlyclean-gettext \
1436 maybe-mostlyclean-gnuserv \
1437 maybe-mostlyclean-gprof \
1438 maybe-mostlyclean-gzip \
1439 maybe-mostlyclean-hello \
1440 maybe-mostlyclean-indent \
1441 maybe-mostlyclean-intl \
1442 maybe-mostlyclean-tcl \
1443 maybe-mostlyclean-itcl \
1444 maybe-mostlyclean-ld \
1445 maybe-mostlyclean-libcpp \
1446 maybe-mostlyclean-libgui \
1447 maybe-mostlyclean-libiberty \
1448 maybe-mostlyclean-libtool \
1449 maybe-mostlyclean-m4 \
1450 maybe-mostlyclean-make \
1451 maybe-mostlyclean-mmalloc \
1452 maybe-mostlyclean-patch \
1453 maybe-mostlyclean-perl \
1454 maybe-mostlyclean-prms \
1455 maybe-mostlyclean-rcs \
1456 maybe-mostlyclean-readline \
1457 maybe-mostlyclean-release \
1458 maybe-mostlyclean-recode \
1459 maybe-mostlyclean-sed \
1460 maybe-mostlyclean-send-pr \
1461 maybe-mostlyclean-shellutils \
1462 maybe-mostlyclean-sid \
1463 maybe-mostlyclean-sim \
1464 maybe-mostlyclean-tar \
1465 maybe-mostlyclean-texinfo \
1466 maybe-mostlyclean-textutils \
1467 maybe-mostlyclean-time \
1468 maybe-mostlyclean-uudecode \
1469 maybe-mostlyclean-wdiff \
1470 maybe-mostlyclean-zip \
1471 maybe-mostlyclean-zlib \
1472 maybe-mostlyclean-gdb \
1473 maybe-mostlyclean-expect \
1474 maybe-mostlyclean-guile \
1475 maybe-mostlyclean-tk \
1476 maybe-mostlyclean-libtermcap \
1477 maybe-mostlyclean-utils
1479 .PHONY: mostlyclean-target
1480 mostlyclean-target: \
1481 maybe-mostlyclean-target-libstdc++-v3 \
1482 maybe-mostlyclean-target-libmudflap \
1483 maybe-mostlyclean-target-newlib \
1484 maybe-mostlyclean-target-libgfortran \
1485 maybe-mostlyclean-target-libobjc \
1486 maybe-mostlyclean-target-libtermcap \
1487 maybe-mostlyclean-target-winsup \
1488 maybe-mostlyclean-target-libgloss \
1489 maybe-mostlyclean-target-libiberty \
1490 maybe-mostlyclean-target-gperf \
1491 maybe-mostlyclean-target-examples \
1492 maybe-mostlyclean-target-libffi \
1493 maybe-mostlyclean-target-libjava \
1494 maybe-mostlyclean-target-zlib \
1495 maybe-mostlyclean-target-boehm-gc \
1496 maybe-mostlyclean-target-qthreads \
1497 maybe-mostlyclean-target-rda \
1498 maybe-mostlyclean-target-libada
1500 .PHONY: do-clean
1501 do-clean: unstage clean-host clean-target stage
1503 .PHONY: clean-host
1504 clean-host: \
1505 maybe-clean-ash \
1506 maybe-clean-autoconf \
1507 maybe-clean-automake \
1508 maybe-clean-bash \
1509 maybe-clean-bfd \
1510 maybe-clean-opcodes \
1511 maybe-clean-binutils \
1512 maybe-clean-bison \
1513 maybe-clean-byacc \
1514 maybe-clean-bzip2 \
1515 maybe-clean-dejagnu \
1516 maybe-clean-diff \
1517 maybe-clean-dosutils \
1518 maybe-clean-etc \
1519 maybe-clean-fastjar \
1520 maybe-clean-fileutils \
1521 maybe-clean-findutils \
1522 maybe-clean-find \
1523 maybe-clean-fixincludes \
1524 maybe-clean-flex \
1525 maybe-clean-gas \
1526 maybe-clean-gcc \
1527 maybe-clean-gawk \
1528 maybe-clean-gettext \
1529 maybe-clean-gnuserv \
1530 maybe-clean-gprof \
1531 maybe-clean-gzip \
1532 maybe-clean-hello \
1533 maybe-clean-indent \
1534 maybe-clean-intl \
1535 maybe-clean-tcl \
1536 maybe-clean-itcl \
1537 maybe-clean-ld \
1538 maybe-clean-libcpp \
1539 maybe-clean-libgui \
1540 maybe-clean-libiberty \
1541 maybe-clean-libtool \
1542 maybe-clean-m4 \
1543 maybe-clean-make \
1544 maybe-clean-mmalloc \
1545 maybe-clean-patch \
1546 maybe-clean-perl \
1547 maybe-clean-prms \
1548 maybe-clean-rcs \
1549 maybe-clean-readline \
1550 maybe-clean-release \
1551 maybe-clean-recode \
1552 maybe-clean-sed \
1553 maybe-clean-send-pr \
1554 maybe-clean-shellutils \
1555 maybe-clean-sid \
1556 maybe-clean-sim \
1557 maybe-clean-tar \
1558 maybe-clean-texinfo \
1559 maybe-clean-textutils \
1560 maybe-clean-time \
1561 maybe-clean-uudecode \
1562 maybe-clean-wdiff \
1563 maybe-clean-zip \
1564 maybe-clean-zlib \
1565 maybe-clean-gdb \
1566 maybe-clean-expect \
1567 maybe-clean-guile \
1568 maybe-clean-tk \
1569 maybe-clean-libtermcap \
1570 maybe-clean-utils
1572 .PHONY: clean-target
1573 clean-target: \
1574 maybe-clean-target-libstdc++-v3 \
1575 maybe-clean-target-libmudflap \
1576 maybe-clean-target-newlib \
1577 maybe-clean-target-libgfortran \
1578 maybe-clean-target-libobjc \
1579 maybe-clean-target-libtermcap \
1580 maybe-clean-target-winsup \
1581 maybe-clean-target-libgloss \
1582 maybe-clean-target-libiberty \
1583 maybe-clean-target-gperf \
1584 maybe-clean-target-examples \
1585 maybe-clean-target-libffi \
1586 maybe-clean-target-libjava \
1587 maybe-clean-target-zlib \
1588 maybe-clean-target-boehm-gc \
1589 maybe-clean-target-qthreads \
1590 maybe-clean-target-rda \
1591 maybe-clean-target-libada
1593 .PHONY: do-distclean
1594 do-distclean: unstage distclean-host distclean-target stage
1596 .PHONY: distclean-host
1597 distclean-host: \
1598 maybe-distclean-ash \
1599 maybe-distclean-autoconf \
1600 maybe-distclean-automake \
1601 maybe-distclean-bash \
1602 maybe-distclean-bfd \
1603 maybe-distclean-opcodes \
1604 maybe-distclean-binutils \
1605 maybe-distclean-bison \
1606 maybe-distclean-byacc \
1607 maybe-distclean-bzip2 \
1608 maybe-distclean-dejagnu \
1609 maybe-distclean-diff \
1610 maybe-distclean-dosutils \
1611 maybe-distclean-etc \
1612 maybe-distclean-fastjar \
1613 maybe-distclean-fileutils \
1614 maybe-distclean-findutils \
1615 maybe-distclean-find \
1616 maybe-distclean-fixincludes \
1617 maybe-distclean-flex \
1618 maybe-distclean-gas \
1619 maybe-distclean-gcc \
1620 maybe-distclean-gawk \
1621 maybe-distclean-gettext \
1622 maybe-distclean-gnuserv \
1623 maybe-distclean-gprof \
1624 maybe-distclean-gzip \
1625 maybe-distclean-hello \
1626 maybe-distclean-indent \
1627 maybe-distclean-intl \
1628 maybe-distclean-tcl \
1629 maybe-distclean-itcl \
1630 maybe-distclean-ld \
1631 maybe-distclean-libcpp \
1632 maybe-distclean-libgui \
1633 maybe-distclean-libiberty \
1634 maybe-distclean-libtool \
1635 maybe-distclean-m4 \
1636 maybe-distclean-make \
1637 maybe-distclean-mmalloc \
1638 maybe-distclean-patch \
1639 maybe-distclean-perl \
1640 maybe-distclean-prms \
1641 maybe-distclean-rcs \
1642 maybe-distclean-readline \
1643 maybe-distclean-release \
1644 maybe-distclean-recode \
1645 maybe-distclean-sed \
1646 maybe-distclean-send-pr \
1647 maybe-distclean-shellutils \
1648 maybe-distclean-sid \
1649 maybe-distclean-sim \
1650 maybe-distclean-tar \
1651 maybe-distclean-texinfo \
1652 maybe-distclean-textutils \
1653 maybe-distclean-time \
1654 maybe-distclean-uudecode \
1655 maybe-distclean-wdiff \
1656 maybe-distclean-zip \
1657 maybe-distclean-zlib \
1658 maybe-distclean-gdb \
1659 maybe-distclean-expect \
1660 maybe-distclean-guile \
1661 maybe-distclean-tk \
1662 maybe-distclean-libtermcap \
1663 maybe-distclean-utils
1665 .PHONY: distclean-target
1666 distclean-target: \
1667 maybe-distclean-target-libstdc++-v3 \
1668 maybe-distclean-target-libmudflap \
1669 maybe-distclean-target-newlib \
1670 maybe-distclean-target-libgfortran \
1671 maybe-distclean-target-libobjc \
1672 maybe-distclean-target-libtermcap \
1673 maybe-distclean-target-winsup \
1674 maybe-distclean-target-libgloss \
1675 maybe-distclean-target-libiberty \
1676 maybe-distclean-target-gperf \
1677 maybe-distclean-target-examples \
1678 maybe-distclean-target-libffi \
1679 maybe-distclean-target-libjava \
1680 maybe-distclean-target-zlib \
1681 maybe-distclean-target-boehm-gc \
1682 maybe-distclean-target-qthreads \
1683 maybe-distclean-target-rda \
1684 maybe-distclean-target-libada
1686 .PHONY: do-maintainer-clean
1687 do-maintainer-clean: unstage maintainer-clean-host maintainer-clean-target stage
1689 .PHONY: maintainer-clean-host
1690 maintainer-clean-host: \
1691 maybe-maintainer-clean-ash \
1692 maybe-maintainer-clean-autoconf \
1693 maybe-maintainer-clean-automake \
1694 maybe-maintainer-clean-bash \
1695 maybe-maintainer-clean-bfd \
1696 maybe-maintainer-clean-opcodes \
1697 maybe-maintainer-clean-binutils \
1698 maybe-maintainer-clean-bison \
1699 maybe-maintainer-clean-byacc \
1700 maybe-maintainer-clean-bzip2 \
1701 maybe-maintainer-clean-dejagnu \
1702 maybe-maintainer-clean-diff \
1703 maybe-maintainer-clean-dosutils \
1704 maybe-maintainer-clean-etc \
1705 maybe-maintainer-clean-fastjar \
1706 maybe-maintainer-clean-fileutils \
1707 maybe-maintainer-clean-findutils \
1708 maybe-maintainer-clean-find \
1709 maybe-maintainer-clean-fixincludes \
1710 maybe-maintainer-clean-flex \
1711 maybe-maintainer-clean-gas \
1712 maybe-maintainer-clean-gcc \
1713 maybe-maintainer-clean-gawk \
1714 maybe-maintainer-clean-gettext \
1715 maybe-maintainer-clean-gnuserv \
1716 maybe-maintainer-clean-gprof \
1717 maybe-maintainer-clean-gzip \
1718 maybe-maintainer-clean-hello \
1719 maybe-maintainer-clean-indent \
1720 maybe-maintainer-clean-intl \
1721 maybe-maintainer-clean-tcl \
1722 maybe-maintainer-clean-itcl \
1723 maybe-maintainer-clean-ld \
1724 maybe-maintainer-clean-libcpp \
1725 maybe-maintainer-clean-libgui \
1726 maybe-maintainer-clean-libiberty \
1727 maybe-maintainer-clean-libtool \
1728 maybe-maintainer-clean-m4 \
1729 maybe-maintainer-clean-make \
1730 maybe-maintainer-clean-mmalloc \
1731 maybe-maintainer-clean-patch \
1732 maybe-maintainer-clean-perl \
1733 maybe-maintainer-clean-prms \
1734 maybe-maintainer-clean-rcs \
1735 maybe-maintainer-clean-readline \
1736 maybe-maintainer-clean-release \
1737 maybe-maintainer-clean-recode \
1738 maybe-maintainer-clean-sed \
1739 maybe-maintainer-clean-send-pr \
1740 maybe-maintainer-clean-shellutils \
1741 maybe-maintainer-clean-sid \
1742 maybe-maintainer-clean-sim \
1743 maybe-maintainer-clean-tar \
1744 maybe-maintainer-clean-texinfo \
1745 maybe-maintainer-clean-textutils \
1746 maybe-maintainer-clean-time \
1747 maybe-maintainer-clean-uudecode \
1748 maybe-maintainer-clean-wdiff \
1749 maybe-maintainer-clean-zip \
1750 maybe-maintainer-clean-zlib \
1751 maybe-maintainer-clean-gdb \
1752 maybe-maintainer-clean-expect \
1753 maybe-maintainer-clean-guile \
1754 maybe-maintainer-clean-tk \
1755 maybe-maintainer-clean-libtermcap \
1756 maybe-maintainer-clean-utils
1758 .PHONY: maintainer-clean-target
1759 maintainer-clean-target: \
1760 maybe-maintainer-clean-target-libstdc++-v3 \
1761 maybe-maintainer-clean-target-libmudflap \
1762 maybe-maintainer-clean-target-newlib \
1763 maybe-maintainer-clean-target-libgfortran \
1764 maybe-maintainer-clean-target-libobjc \
1765 maybe-maintainer-clean-target-libtermcap \
1766 maybe-maintainer-clean-target-winsup \
1767 maybe-maintainer-clean-target-libgloss \
1768 maybe-maintainer-clean-target-libiberty \
1769 maybe-maintainer-clean-target-gperf \
1770 maybe-maintainer-clean-target-examples \
1771 maybe-maintainer-clean-target-libffi \
1772 maybe-maintainer-clean-target-libjava \
1773 maybe-maintainer-clean-target-zlib \
1774 maybe-maintainer-clean-target-boehm-gc \
1775 maybe-maintainer-clean-target-qthreads \
1776 maybe-maintainer-clean-target-rda \
1777 maybe-maintainer-clean-target-libada
1780 # Here are the targets which correspond to the do-X targets.
1782 .PHONY: info installcheck dvi html install-info
1783 .PHONY: clean distclean mostlyclean maintainer-clean realclean
1784 .PHONY: local-clean local-distclean local-maintainer-clean
1785 info: do-info
1786 installcheck: do-installcheck
1787 dvi: do-dvi
1788 html: do-html
1790 # Make sure makeinfo is built before we do a `make info', if we're
1791 # in fact building texinfo.
1792 do-info: maybe-all-texinfo
1794 install-info: do-install-info dir.info
1795 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1796 if [ -f dir.info ] ; then \
1797 $(INSTALL_DATA) dir.info $(DESTDIR)$(infodir)/dir.info ; \
1798 else true ; fi
1800 local-clean:
1801 -rm -f *.a TEMP errs core *.o *~ \#* TAGS *.E *.log
1803 local-distclean:
1804 -rm -f Makefile config.status config.cache mh-frag mt-frag
1805 -rm -f multilib.out multilib.tmp maybedep.tmp serdep.tmp
1806 -if [ "$(TARGET_SUBDIR)" != "." ]; then \
1807 rm -rf $(TARGET_SUBDIR); \
1808 else true; fi
1809 -rm -rf $(BUILD_SUBDIR)
1810 -rm -f texinfo/po/Makefile texinfo/po/Makefile.in texinfo/info/Makefile
1811 -rm -f texinfo/doc/Makefile texinfo/po/POTFILES
1812 -rmdir texinfo/doc texinfo/info texinfo/intl texinfo/lib 2>/dev/null
1813 -rmdir texinfo/makeinfo texinfo/po texinfo/util 2>/dev/null
1814 -rmdir fastjar gcc libiberty texinfo zlib 2>/dev/null
1816 local-maintainer-clean:
1817 @echo "This command is intended for maintainers to use;"
1818 @echo "it deletes files that may require special tools to rebuild."
1820 clean: do-clean local-clean
1821 mostlyclean: do-mostlyclean local-clean
1822 distclean: do-distclean local-clean local-distclean
1823 maintainer-clean: local-maintainer-clean do-maintainer-clean local-clean
1824 maintainer-clean: local-distclean
1825 realclean: maintainer-clean
1827 # Extra dependency for clean-target, owing to the mixed nature of gcc
1828 clean-target: clean-target-libgcc
1829 clean-target-libgcc:
1830 test ! -d gcc/libgcc || \
1831 (cd gcc/libgcc && find . -type d -print) | \
1832 while read d; do rm -f gcc/$$d/libgcc.a || : ; done
1833 -rm -rf gcc/libgcc
1834 -rm -f gcc/stmp-dirs
1836 # Check target.
1838 .PHONY: check do-check
1839 check: do-check
1841 # Only include modules actually being configured and built.
1842 do-check: unstage \
1843 maybe-check-ash \
1844 maybe-check-autoconf \
1845 maybe-check-automake \
1846 maybe-check-bash \
1847 maybe-check-bfd \
1848 maybe-check-opcodes \
1849 maybe-check-binutils \
1850 maybe-check-bison \
1851 maybe-check-byacc \
1852 maybe-check-bzip2 \
1853 maybe-check-dejagnu \
1854 maybe-check-diff \
1855 maybe-check-dosutils \
1856 maybe-check-etc \
1857 maybe-check-fastjar \
1858 maybe-check-fileutils \
1859 maybe-check-findutils \
1860 maybe-check-find \
1861 maybe-check-fixincludes \
1862 maybe-check-flex \
1863 maybe-check-gas \
1864 maybe-check-gcc \
1865 maybe-check-gawk \
1866 maybe-check-gettext \
1867 maybe-check-gnuserv \
1868 maybe-check-gprof \
1869 maybe-check-gzip \
1870 maybe-check-hello \
1871 maybe-check-indent \
1872 maybe-check-intl \
1873 maybe-check-tcl \
1874 maybe-check-itcl \
1875 maybe-check-ld \
1876 maybe-check-libcpp \
1877 maybe-check-libgui \
1878 maybe-check-libiberty \
1879 maybe-check-libtool \
1880 maybe-check-m4 \
1881 maybe-check-make \
1882 maybe-check-mmalloc \
1883 maybe-check-patch \
1884 maybe-check-perl \
1885 maybe-check-prms \
1886 maybe-check-rcs \
1887 maybe-check-readline \
1888 maybe-check-release \
1889 maybe-check-recode \
1890 maybe-check-sed \
1891 maybe-check-send-pr \
1892 maybe-check-shellutils \
1893 maybe-check-sid \
1894 maybe-check-sim \
1895 maybe-check-tar \
1896 maybe-check-texinfo \
1897 maybe-check-textutils \
1898 maybe-check-time \
1899 maybe-check-uudecode \
1900 maybe-check-wdiff \
1901 maybe-check-zip \
1902 maybe-check-zlib \
1903 maybe-check-gdb \
1904 maybe-check-expect \
1905 maybe-check-guile \
1906 maybe-check-tk \
1907 maybe-check-libtermcap \
1908 maybe-check-utils \
1909 maybe-check-target-libstdc++-v3 \
1910 maybe-check-target-libmudflap \
1911 maybe-check-target-newlib \
1912 maybe-check-target-libgfortran \
1913 maybe-check-target-libobjc \
1914 maybe-check-target-libtermcap \
1915 maybe-check-target-winsup \
1916 maybe-check-target-libgloss \
1917 maybe-check-target-libiberty \
1918 maybe-check-target-gperf \
1919 maybe-check-target-examples \
1920 maybe-check-target-libffi \
1921 maybe-check-target-libjava \
1922 maybe-check-target-zlib \
1923 maybe-check-target-boehm-gc \
1924 maybe-check-target-qthreads \
1925 maybe-check-target-rda \
1926 maybe-check-target-libada stage
1928 # Automated reporting of test results.
1930 warning.log: build.log
1931 $(srcdir)/contrib/warn_summary build.log > $@
1933 mail-report.log:
1934 if test x'$(BOOT_CFLAGS)' != x''; then \
1935 BOOT_CFLAGS='$(BOOT_CFLAGS)'; export BOOT_CFLAGS; \
1936 fi; \
1937 $(srcdir)/contrib/test_summary -t >$@
1938 chmod +x $@
1939 echo If you really want to send e-mail, run ./$@ now
1941 mail-report-with-warnings.log: warning.log
1942 if test x'$(BOOT_CFLAGS)' != x''; then \
1943 BOOT_CFLAGS='$(BOOT_CFLAGS)'; export BOOT_CFLAGS; \
1944 fi; \
1945 $(srcdir)/contrib/test_summary -t -i warning.log >$@
1946 chmod +x $@
1947 echo If you really want to send e-mail, run ./$@ now
1949 # Installation targets.
1951 .PHONY: install uninstall
1952 install: installdirs install-host install-target
1954 .PHONY: install-host-nogcc
1955 install-host-nogcc: \
1956 maybe-install-ash \
1957 maybe-install-autoconf \
1958 maybe-install-automake \
1959 maybe-install-bash \
1960 maybe-install-bfd \
1961 maybe-install-opcodes \
1962 maybe-install-binutils \
1963 maybe-install-bison \
1964 maybe-install-byacc \
1965 maybe-install-bzip2 \
1966 maybe-install-dejagnu \
1967 maybe-install-diff \
1968 maybe-install-dosutils \
1969 maybe-install-etc \
1970 maybe-install-fastjar \
1971 maybe-install-fileutils \
1972 maybe-install-findutils \
1973 maybe-install-find \
1974 maybe-install-fixincludes \
1975 maybe-install-flex \
1976 maybe-install-gas \
1977 maybe-install-gawk \
1978 maybe-install-gettext \
1979 maybe-install-gnuserv \
1980 maybe-install-gprof \
1981 maybe-install-gzip \
1982 maybe-install-hello \
1983 maybe-install-indent \
1984 maybe-install-intl \
1985 maybe-install-tcl \
1986 maybe-install-itcl \
1987 maybe-install-ld \
1988 maybe-install-libcpp \
1989 maybe-install-libgui \
1990 maybe-install-libiberty \
1991 maybe-install-libtool \
1992 maybe-install-m4 \
1993 maybe-install-make \
1994 maybe-install-mmalloc \
1995 maybe-install-patch \
1996 maybe-install-perl \
1997 maybe-install-prms \
1998 maybe-install-rcs \
1999 maybe-install-readline \
2000 maybe-install-release \
2001 maybe-install-recode \
2002 maybe-install-sed \
2003 maybe-install-send-pr \
2004 maybe-install-shellutils \
2005 maybe-install-sid \
2006 maybe-install-sim \
2007 maybe-install-tar \
2008 maybe-install-texinfo \
2009 maybe-install-textutils \
2010 maybe-install-time \
2011 maybe-install-uudecode \
2012 maybe-install-wdiff \
2013 maybe-install-zip \
2014 maybe-install-zlib \
2015 maybe-install-gdb \
2016 maybe-install-expect \
2017 maybe-install-guile \
2018 maybe-install-tk \
2019 maybe-install-libtermcap \
2020 maybe-install-utils
2022 .PHONY: install-host
2023 install-host: \
2024 maybe-install-ash \
2025 maybe-install-autoconf \
2026 maybe-install-automake \
2027 maybe-install-bash \
2028 maybe-install-bfd \
2029 maybe-install-opcodes \
2030 maybe-install-binutils \
2031 maybe-install-bison \
2032 maybe-install-byacc \
2033 maybe-install-bzip2 \
2034 maybe-install-dejagnu \
2035 maybe-install-diff \
2036 maybe-install-dosutils \
2037 maybe-install-etc \
2038 maybe-install-fastjar \
2039 maybe-install-fileutils \
2040 maybe-install-findutils \
2041 maybe-install-find \
2042 maybe-install-fixincludes \
2043 maybe-install-flex \
2044 maybe-install-gas \
2045 maybe-install-gcc \
2046 maybe-install-gawk \
2047 maybe-install-gettext \
2048 maybe-install-gnuserv \
2049 maybe-install-gprof \
2050 maybe-install-gzip \
2051 maybe-install-hello \
2052 maybe-install-indent \
2053 maybe-install-intl \
2054 maybe-install-tcl \
2055 maybe-install-itcl \
2056 maybe-install-ld \
2057 maybe-install-libcpp \
2058 maybe-install-libgui \
2059 maybe-install-libiberty \
2060 maybe-install-libtool \
2061 maybe-install-m4 \
2062 maybe-install-make \
2063 maybe-install-mmalloc \
2064 maybe-install-patch \
2065 maybe-install-perl \
2066 maybe-install-prms \
2067 maybe-install-rcs \
2068 maybe-install-readline \
2069 maybe-install-release \
2070 maybe-install-recode \
2071 maybe-install-sed \
2072 maybe-install-send-pr \
2073 maybe-install-shellutils \
2074 maybe-install-sid \
2075 maybe-install-sim \
2076 maybe-install-tar \
2077 maybe-install-texinfo \
2078 maybe-install-textutils \
2079 maybe-install-time \
2080 maybe-install-uudecode \
2081 maybe-install-wdiff \
2082 maybe-install-zip \
2083 maybe-install-zlib \
2084 maybe-install-gdb \
2085 maybe-install-expect \
2086 maybe-install-guile \
2087 maybe-install-tk \
2088 maybe-install-libtermcap \
2089 maybe-install-utils
2091 .PHONY: install-target
2092 install-target: \
2093 maybe-install-target-libstdc++-v3 \
2094 maybe-install-target-libmudflap \
2095 maybe-install-target-newlib \
2096 maybe-install-target-libgfortran \
2097 maybe-install-target-libobjc \
2098 maybe-install-target-libtermcap \
2099 maybe-install-target-winsup \
2100 maybe-install-target-libgloss \
2101 maybe-install-target-libiberty \
2102 maybe-install-target-gperf \
2103 maybe-install-target-examples \
2104 maybe-install-target-libffi \
2105 maybe-install-target-libjava \
2106 maybe-install-target-zlib \
2107 maybe-install-target-boehm-gc \
2108 maybe-install-target-qthreads \
2109 maybe-install-target-rda \
2110 maybe-install-target-libada
2112 uninstall:
2113 @echo "the uninstall target is not supported in this tree"
2115 .PHONY: install.all
2116 install.all: install-no-fixedincludes
2117 @if [ -f ./gcc/Makefile ] ; then \
2118 r=`${PWD_COMMAND}` ; export r ; \
2119 $(SET_LIB_PATH) \
2120 $(HOST_EXPORTS) \
2121 (cd ./gcc && \
2122 $(MAKE) $(FLAGS_TO_PASS) install-headers) ; \
2123 else \
2124 true ; \
2127 # install-no-fixedincludes is used because Cygnus can not distribute
2128 # the fixed header files.
2129 .PHONY: install-no-fixedincludes
2130 install-no-fixedincludes: installdirs install-host-nogcc \
2131 install-target gcc-no-fixedincludes
2133 ### other supporting targets
2135 MAKEDIRS= \
2136 $(DESTDIR)$(prefix) \
2137 $(DESTDIR)$(exec_prefix)
2138 .PHONY: installdirs
2139 installdirs: mkinstalldirs
2140 $(SHELL) $(srcdir)/mkinstalldirs $(MAKEDIRS)
2142 dir.info: do-install-info
2143 if [ -f $(srcdir)/texinfo/gen-info-dir ] ; then \
2144 $(srcdir)/texinfo/gen-info-dir $(DESTDIR)$(infodir) $(srcdir)/texinfo/dir.info-template > dir.info.new ; \
2145 mv -f dir.info.new dir.info ; \
2146 else true ; \
2149 dist:
2150 @echo "Building a full distribution of this tree isn't done"
2151 @echo "via 'make dist'. Check out the etc/ subdirectory"
2153 etags tags: TAGS
2155 # Right now this just builds TAGS in each subdirectory. emacs19 has the
2156 # ability to use several tags files at once, so there is probably no need
2157 # to combine them into one big TAGS file (like CVS 1.3 does). We could
2158 # (if we felt like it) have this Makefile write a piece of elisp which
2159 # the user could load to tell emacs19 where all the TAGS files we just
2160 # built are.
2161 TAGS: do-TAGS
2163 # --------------------------------------
2164 # Modules which run on the build machine
2165 # --------------------------------------
2167 .PHONY: configure-build-libiberty maybe-configure-build-libiberty
2168 maybe-configure-build-libiberty:
2169 @if build-libiberty
2170 maybe-configure-build-libiberty: configure-build-libiberty
2171 configure-build-libiberty:
2172 @test ! -f $(BUILD_SUBDIR)/libiberty/Makefile || exit 0; \
2173 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/libiberty ; \
2174 r=`${PWD_COMMAND}`; export r; \
2175 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2176 $(BUILD_EXPORTS) \
2177 echo Configuring in $(BUILD_SUBDIR)/libiberty; \
2178 cd "$(BUILD_SUBDIR)/libiberty" || exit 1; \
2179 case $(srcdir) in \
2180 /* | [A-Za-z]:[\\/]*) \
2181 topdir=$(srcdir) ;; \
2182 *) \
2183 case "$(BUILD_SUBDIR)" in \
2184 .) topdir="../$(srcdir)" ;; \
2185 *) topdir="../../$(srcdir)" ;; \
2186 esac ;; \
2187 esac; \
2188 if [ "$(srcdir)" = "." ] ; then \
2189 if [ "$(BUILD_SUBDIR)" != "." ] ; then \
2190 if $(SHELL) $$s/symlink-tree $${topdir}/libiberty "no-such-file" ; then \
2191 if [ -f Makefile ]; then \
2192 if $(MAKE) distclean; then \
2193 true; \
2194 else \
2195 exit 1; \
2196 fi; \
2197 else \
2198 true; \
2199 fi; \
2200 else \
2201 exit 1; \
2202 fi; \
2203 else \
2204 true; \
2205 fi; \
2206 srcdiroption="--srcdir=."; \
2207 libsrcdir="."; \
2208 else \
2209 srcdiroption="--srcdir=$${topdir}/libiberty"; \
2210 libsrcdir="$$s/libiberty"; \
2211 fi; \
2212 rm -f no-such-file || : ; \
2213 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2214 $(BUILD_CONFIGARGS) $${srcdiroption} \
2215 --with-build-subdir="$(BUILD_SUBDIR)" \
2216 || exit 1
2217 @endif build-libiberty
2219 .PHONY: all-build-libiberty maybe-all-build-libiberty
2220 maybe-all-build-libiberty:
2221 @if build-libiberty
2222 TARGET-build-libiberty=all
2223 maybe-all-build-libiberty: all-build-libiberty
2224 all-build-libiberty: configure-build-libiberty
2225 @r=`${PWD_COMMAND}`; export r; \
2226 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2227 $(BUILD_EXPORTS) \
2228 (cd $(BUILD_SUBDIR)/libiberty && \
2229 $(MAKE) $(TARGET-build-libiberty))
2230 @endif build-libiberty
2232 .PHONY: configure-build-bison maybe-configure-build-bison
2233 maybe-configure-build-bison:
2234 @if build-bison
2235 maybe-configure-build-bison: configure-build-bison
2236 configure-build-bison:
2237 @test ! -f $(BUILD_SUBDIR)/bison/Makefile || exit 0; \
2238 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/bison ; \
2239 r=`${PWD_COMMAND}`; export r; \
2240 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2241 $(BUILD_EXPORTS) \
2242 echo Configuring in $(BUILD_SUBDIR)/bison; \
2243 cd "$(BUILD_SUBDIR)/bison" || exit 1; \
2244 case $(srcdir) in \
2245 /* | [A-Za-z]:[\\/]*) \
2246 topdir=$(srcdir) ;; \
2247 *) \
2248 case "$(BUILD_SUBDIR)" in \
2249 .) topdir="../$(srcdir)" ;; \
2250 *) topdir="../../$(srcdir)" ;; \
2251 esac ;; \
2252 esac; \
2253 if [ "$(srcdir)" = "." ] ; then \
2254 if [ "$(BUILD_SUBDIR)" != "." ] ; then \
2255 if $(SHELL) $$s/symlink-tree $${topdir}/bison "no-such-file" ; then \
2256 if [ -f Makefile ]; then \
2257 if $(MAKE) distclean; then \
2258 true; \
2259 else \
2260 exit 1; \
2261 fi; \
2262 else \
2263 true; \
2264 fi; \
2265 else \
2266 exit 1; \
2267 fi; \
2268 else \
2269 true; \
2270 fi; \
2271 srcdiroption="--srcdir=."; \
2272 libsrcdir="."; \
2273 else \
2274 srcdiroption="--srcdir=$${topdir}/bison"; \
2275 libsrcdir="$$s/bison"; \
2276 fi; \
2277 rm -f no-such-file || : ; \
2278 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2279 $(BUILD_CONFIGARGS) $${srcdiroption} \
2280 --with-build-subdir="$(BUILD_SUBDIR)" \
2281 || exit 1
2282 @endif build-bison
2284 .PHONY: all-build-bison maybe-all-build-bison
2285 maybe-all-build-bison:
2286 @if build-bison
2287 TARGET-build-bison=all
2288 maybe-all-build-bison: all-build-bison
2289 all-build-bison: configure-build-bison
2290 @r=`${PWD_COMMAND}`; export r; \
2291 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2292 $(BUILD_EXPORTS) \
2293 (cd $(BUILD_SUBDIR)/bison && \
2294 $(MAKE) $(TARGET-build-bison))
2295 @endif build-bison
2297 .PHONY: configure-build-byacc maybe-configure-build-byacc
2298 maybe-configure-build-byacc:
2299 @if build-byacc
2300 maybe-configure-build-byacc: configure-build-byacc
2301 configure-build-byacc:
2302 @test ! -f $(BUILD_SUBDIR)/byacc/Makefile || exit 0; \
2303 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/byacc ; \
2304 r=`${PWD_COMMAND}`; export r; \
2305 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2306 $(BUILD_EXPORTS) \
2307 echo Configuring in $(BUILD_SUBDIR)/byacc; \
2308 cd "$(BUILD_SUBDIR)/byacc" || exit 1; \
2309 case $(srcdir) in \
2310 /* | [A-Za-z]:[\\/]*) \
2311 topdir=$(srcdir) ;; \
2312 *) \
2313 case "$(BUILD_SUBDIR)" in \
2314 .) topdir="../$(srcdir)" ;; \
2315 *) topdir="../../$(srcdir)" ;; \
2316 esac ;; \
2317 esac; \
2318 if [ "$(srcdir)" = "." ] ; then \
2319 if [ "$(BUILD_SUBDIR)" != "." ] ; then \
2320 if $(SHELL) $$s/symlink-tree $${topdir}/byacc "no-such-file" ; then \
2321 if [ -f Makefile ]; then \
2322 if $(MAKE) distclean; then \
2323 true; \
2324 else \
2325 exit 1; \
2326 fi; \
2327 else \
2328 true; \
2329 fi; \
2330 else \
2331 exit 1; \
2332 fi; \
2333 else \
2334 true; \
2335 fi; \
2336 srcdiroption="--srcdir=."; \
2337 libsrcdir="."; \
2338 else \
2339 srcdiroption="--srcdir=$${topdir}/byacc"; \
2340 libsrcdir="$$s/byacc"; \
2341 fi; \
2342 rm -f no-such-file || : ; \
2343 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2344 $(BUILD_CONFIGARGS) $${srcdiroption} \
2345 --with-build-subdir="$(BUILD_SUBDIR)" \
2346 || exit 1
2347 @endif build-byacc
2349 .PHONY: all-build-byacc maybe-all-build-byacc
2350 maybe-all-build-byacc:
2351 @if build-byacc
2352 TARGET-build-byacc=all
2353 maybe-all-build-byacc: all-build-byacc
2354 all-build-byacc: configure-build-byacc
2355 @r=`${PWD_COMMAND}`; export r; \
2356 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2357 $(BUILD_EXPORTS) \
2358 (cd $(BUILD_SUBDIR)/byacc && \
2359 $(MAKE) $(TARGET-build-byacc))
2360 @endif build-byacc
2362 .PHONY: configure-build-flex maybe-configure-build-flex
2363 maybe-configure-build-flex:
2364 @if build-flex
2365 maybe-configure-build-flex: configure-build-flex
2366 configure-build-flex:
2367 @test ! -f $(BUILD_SUBDIR)/flex/Makefile || exit 0; \
2368 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/flex ; \
2369 r=`${PWD_COMMAND}`; export r; \
2370 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2371 $(BUILD_EXPORTS) \
2372 echo Configuring in $(BUILD_SUBDIR)/flex; \
2373 cd "$(BUILD_SUBDIR)/flex" || exit 1; \
2374 case $(srcdir) in \
2375 /* | [A-Za-z]:[\\/]*) \
2376 topdir=$(srcdir) ;; \
2377 *) \
2378 case "$(BUILD_SUBDIR)" in \
2379 .) topdir="../$(srcdir)" ;; \
2380 *) topdir="../../$(srcdir)" ;; \
2381 esac ;; \
2382 esac; \
2383 if [ "$(srcdir)" = "." ] ; then \
2384 if [ "$(BUILD_SUBDIR)" != "." ] ; then \
2385 if $(SHELL) $$s/symlink-tree $${topdir}/flex "no-such-file" ; then \
2386 if [ -f Makefile ]; then \
2387 if $(MAKE) distclean; then \
2388 true; \
2389 else \
2390 exit 1; \
2391 fi; \
2392 else \
2393 true; \
2394 fi; \
2395 else \
2396 exit 1; \
2397 fi; \
2398 else \
2399 true; \
2400 fi; \
2401 srcdiroption="--srcdir=."; \
2402 libsrcdir="."; \
2403 else \
2404 srcdiroption="--srcdir=$${topdir}/flex"; \
2405 libsrcdir="$$s/flex"; \
2406 fi; \
2407 rm -f no-such-file || : ; \
2408 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2409 $(BUILD_CONFIGARGS) $${srcdiroption} \
2410 --with-build-subdir="$(BUILD_SUBDIR)" \
2411 || exit 1
2412 @endif build-flex
2414 .PHONY: all-build-flex maybe-all-build-flex
2415 maybe-all-build-flex:
2416 @if build-flex
2417 TARGET-build-flex=all
2418 maybe-all-build-flex: all-build-flex
2419 all-build-flex: configure-build-flex
2420 @r=`${PWD_COMMAND}`; export r; \
2421 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2422 $(BUILD_EXPORTS) \
2423 (cd $(BUILD_SUBDIR)/flex && \
2424 $(MAKE) $(TARGET-build-flex))
2425 @endif build-flex
2427 .PHONY: configure-build-m4 maybe-configure-build-m4
2428 maybe-configure-build-m4:
2429 @if build-m4
2430 maybe-configure-build-m4: configure-build-m4
2431 configure-build-m4:
2432 @test ! -f $(BUILD_SUBDIR)/m4/Makefile || exit 0; \
2433 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/m4 ; \
2434 r=`${PWD_COMMAND}`; export r; \
2435 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2436 $(BUILD_EXPORTS) \
2437 echo Configuring in $(BUILD_SUBDIR)/m4; \
2438 cd "$(BUILD_SUBDIR)/m4" || exit 1; \
2439 case $(srcdir) in \
2440 /* | [A-Za-z]:[\\/]*) \
2441 topdir=$(srcdir) ;; \
2442 *) \
2443 case "$(BUILD_SUBDIR)" in \
2444 .) topdir="../$(srcdir)" ;; \
2445 *) topdir="../../$(srcdir)" ;; \
2446 esac ;; \
2447 esac; \
2448 if [ "$(srcdir)" = "." ] ; then \
2449 if [ "$(BUILD_SUBDIR)" != "." ] ; then \
2450 if $(SHELL) $$s/symlink-tree $${topdir}/m4 "no-such-file" ; then \
2451 if [ -f Makefile ]; then \
2452 if $(MAKE) distclean; then \
2453 true; \
2454 else \
2455 exit 1; \
2456 fi; \
2457 else \
2458 true; \
2459 fi; \
2460 else \
2461 exit 1; \
2462 fi; \
2463 else \
2464 true; \
2465 fi; \
2466 srcdiroption="--srcdir=."; \
2467 libsrcdir="."; \
2468 else \
2469 srcdiroption="--srcdir=$${topdir}/m4"; \
2470 libsrcdir="$$s/m4"; \
2471 fi; \
2472 rm -f no-such-file || : ; \
2473 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2474 $(BUILD_CONFIGARGS) $${srcdiroption} \
2475 --with-build-subdir="$(BUILD_SUBDIR)" \
2476 || exit 1
2477 @endif build-m4
2479 .PHONY: all-build-m4 maybe-all-build-m4
2480 maybe-all-build-m4:
2481 @if build-m4
2482 TARGET-build-m4=all
2483 maybe-all-build-m4: all-build-m4
2484 all-build-m4: configure-build-m4
2485 @r=`${PWD_COMMAND}`; export r; \
2486 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2487 $(BUILD_EXPORTS) \
2488 (cd $(BUILD_SUBDIR)/m4 && \
2489 $(MAKE) $(TARGET-build-m4))
2490 @endif build-m4
2492 .PHONY: configure-build-texinfo maybe-configure-build-texinfo
2493 maybe-configure-build-texinfo:
2494 @if build-texinfo
2495 maybe-configure-build-texinfo: configure-build-texinfo
2496 configure-build-texinfo:
2497 @test ! -f $(BUILD_SUBDIR)/texinfo/Makefile || exit 0; \
2498 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/texinfo ; \
2499 r=`${PWD_COMMAND}`; export r; \
2500 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2501 $(BUILD_EXPORTS) \
2502 echo Configuring in $(BUILD_SUBDIR)/texinfo; \
2503 cd "$(BUILD_SUBDIR)/texinfo" || exit 1; \
2504 case $(srcdir) in \
2505 /* | [A-Za-z]:[\\/]*) \
2506 topdir=$(srcdir) ;; \
2507 *) \
2508 case "$(BUILD_SUBDIR)" in \
2509 .) topdir="../$(srcdir)" ;; \
2510 *) topdir="../../$(srcdir)" ;; \
2511 esac ;; \
2512 esac; \
2513 if [ "$(srcdir)" = "." ] ; then \
2514 if [ "$(BUILD_SUBDIR)" != "." ] ; then \
2515 if $(SHELL) $$s/symlink-tree $${topdir}/texinfo "no-such-file" ; then \
2516 if [ -f Makefile ]; then \
2517 if $(MAKE) distclean; then \
2518 true; \
2519 else \
2520 exit 1; \
2521 fi; \
2522 else \
2523 true; \
2524 fi; \
2525 else \
2526 exit 1; \
2527 fi; \
2528 else \
2529 true; \
2530 fi; \
2531 srcdiroption="--srcdir=."; \
2532 libsrcdir="."; \
2533 else \
2534 srcdiroption="--srcdir=$${topdir}/texinfo"; \
2535 libsrcdir="$$s/texinfo"; \
2536 fi; \
2537 rm -f no-such-file || : ; \
2538 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2539 $(BUILD_CONFIGARGS) $${srcdiroption} \
2540 --with-build-subdir="$(BUILD_SUBDIR)" \
2541 || exit 1
2542 @endif build-texinfo
2544 .PHONY: all-build-texinfo maybe-all-build-texinfo
2545 maybe-all-build-texinfo:
2546 @if build-texinfo
2547 TARGET-build-texinfo=all
2548 maybe-all-build-texinfo: all-build-texinfo
2549 all-build-texinfo: configure-build-texinfo
2550 @r=`${PWD_COMMAND}`; export r; \
2551 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2552 $(BUILD_EXPORTS) \
2553 (cd $(BUILD_SUBDIR)/texinfo && \
2554 $(MAKE) $(TARGET-build-texinfo))
2555 @endif build-texinfo
2557 .PHONY: configure-build-fixincludes maybe-configure-build-fixincludes
2558 maybe-configure-build-fixincludes:
2559 @if build-fixincludes
2560 maybe-configure-build-fixincludes: configure-build-fixincludes
2561 configure-build-fixincludes:
2562 @test ! -f $(BUILD_SUBDIR)/fixincludes/Makefile || exit 0; \
2563 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/fixincludes ; \
2564 r=`${PWD_COMMAND}`; export r; \
2565 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2566 $(BUILD_EXPORTS) \
2567 echo Configuring in $(BUILD_SUBDIR)/fixincludes; \
2568 cd "$(BUILD_SUBDIR)/fixincludes" || exit 1; \
2569 case $(srcdir) in \
2570 /* | [A-Za-z]:[\\/]*) \
2571 topdir=$(srcdir) ;; \
2572 *) \
2573 case "$(BUILD_SUBDIR)" in \
2574 .) topdir="../$(srcdir)" ;; \
2575 *) topdir="../../$(srcdir)" ;; \
2576 esac ;; \
2577 esac; \
2578 if [ "$(srcdir)" = "." ] ; then \
2579 if [ "$(BUILD_SUBDIR)" != "." ] ; then \
2580 if $(SHELL) $$s/symlink-tree $${topdir}/fixincludes "no-such-file" ; then \
2581 if [ -f Makefile ]; then \
2582 if $(MAKE) distclean; then \
2583 true; \
2584 else \
2585 exit 1; \
2586 fi; \
2587 else \
2588 true; \
2589 fi; \
2590 else \
2591 exit 1; \
2592 fi; \
2593 else \
2594 true; \
2595 fi; \
2596 srcdiroption="--srcdir=."; \
2597 libsrcdir="."; \
2598 else \
2599 srcdiroption="--srcdir=$${topdir}/fixincludes"; \
2600 libsrcdir="$$s/fixincludes"; \
2601 fi; \
2602 rm -f no-such-file || : ; \
2603 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2604 $(BUILD_CONFIGARGS) $${srcdiroption} \
2605 --with-build-subdir="$(BUILD_SUBDIR)" \
2606 || exit 1
2607 @endif build-fixincludes
2609 .PHONY: all-build-fixincludes maybe-all-build-fixincludes
2610 maybe-all-build-fixincludes:
2611 @if build-fixincludes
2612 TARGET-build-fixincludes=all
2613 maybe-all-build-fixincludes: all-build-fixincludes
2614 all-build-fixincludes: configure-build-fixincludes
2615 @r=`${PWD_COMMAND}`; export r; \
2616 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2617 $(BUILD_EXPORTS) \
2618 (cd $(BUILD_SUBDIR)/fixincludes && \
2619 $(MAKE) $(TARGET-build-fixincludes))
2620 @endif build-fixincludes
2623 # --------------------------------------
2624 # Modules which run on the host machine
2625 # --------------------------------------
2627 .PHONY: configure-ash maybe-configure-ash
2628 maybe-configure-ash:
2629 @if ash
2630 maybe-configure-ash: configure-ash
2631 configure-ash:
2632 @test ! -f ash/Makefile || exit 0; \
2633 [ -d ash ] || mkdir ash; \
2634 r=`${PWD_COMMAND}`; export r; \
2635 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2636 $(HOST_EXPORTS) \
2637 echo Configuring in ash; \
2638 cd ash || exit 1; \
2639 case $(srcdir) in \
2640 \.) \
2641 srcdiroption="--srcdir=."; \
2642 libsrcdir=".";; \
2643 /* | [A-Za-z]:[\\/]*) \
2644 srcdiroption="--srcdir=$(srcdir)/ash"; \
2645 libsrcdir="$$s/ash";; \
2646 *) \
2647 srcdiroption="--srcdir=../$(srcdir)/ash"; \
2648 libsrcdir="$$s/ash";; \
2649 esac; \
2650 $(SHELL) $${libsrcdir}/configure \
2651 $(HOST_CONFIGARGS) $${srcdiroption} \
2652 || exit 1
2653 @endif ash
2655 .PHONY: all-ash maybe-all-ash
2656 maybe-all-ash:
2657 @if ash
2658 TARGET-ash=all
2659 maybe-all-ash: all-ash
2660 all-ash: configure-ash
2661 @r=`${PWD_COMMAND}`; export r; \
2662 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2663 $(SET_LIB_PATH) \
2664 $(HOST_EXPORTS) \
2665 (cd ash && $(MAKE) $(FLAGS_TO_PASS) \
2666 $(TARGET-ash))
2667 @endif ash
2669 .PHONY: check-ash maybe-check-ash
2670 maybe-check-ash:
2671 @if ash
2672 maybe-check-ash: check-ash
2674 check-ash:
2675 @r=`${PWD_COMMAND}`; export r; \
2676 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2677 $(SET_LIB_PATH) \
2678 $(HOST_EXPORTS) \
2679 (cd ash && $(MAKE) $(FLAGS_TO_PASS) check)
2681 @endif ash
2683 .PHONY: install-ash maybe-install-ash
2684 maybe-install-ash:
2685 @if ash
2686 maybe-install-ash: install-ash
2688 install-ash: installdirs
2689 @r=`${PWD_COMMAND}`; export r; \
2690 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2691 $(SET_LIB_PATH) \
2692 $(HOST_EXPORTS) \
2693 (cd ash && $(MAKE) $(FLAGS_TO_PASS) install)
2695 @endif ash
2697 # Other targets (info, dvi, etc.)
2699 .PHONY: maybe-info-ash info-ash
2700 maybe-info-ash:
2701 @if ash
2702 maybe-info-ash: info-ash
2704 info-ash: \
2705 configure-ash
2706 @[ -f ./ash/Makefile ] || exit 0; \
2707 r=`${PWD_COMMAND}`; export r; \
2708 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2709 $(SET_LIB_PATH) \
2710 $(HOST_EXPORTS) \
2711 for flag in $(EXTRA_HOST_FLAGS) ; do \
2712 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2713 done; \
2714 echo "Doing info in ash" ; \
2715 (cd ash && \
2716 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2717 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2718 "RANLIB=$${RANLIB}" \
2719 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2720 info) \
2721 || exit 1
2723 @endif ash
2725 .PHONY: maybe-dvi-ash dvi-ash
2726 maybe-dvi-ash:
2727 @if ash
2728 maybe-dvi-ash: dvi-ash
2730 dvi-ash: \
2731 configure-ash
2732 @[ -f ./ash/Makefile ] || exit 0; \
2733 r=`${PWD_COMMAND}`; export r; \
2734 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2735 $(SET_LIB_PATH) \
2736 $(HOST_EXPORTS) \
2737 for flag in $(EXTRA_HOST_FLAGS) ; do \
2738 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2739 done; \
2740 echo "Doing dvi in ash" ; \
2741 (cd ash && \
2742 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2743 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2744 "RANLIB=$${RANLIB}" \
2745 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2746 dvi) \
2747 || exit 1
2749 @endif ash
2751 .PHONY: maybe-html-ash html-ash
2752 maybe-html-ash:
2753 @if ash
2754 maybe-html-ash: html-ash
2756 html-ash: \
2757 configure-ash
2758 @[ -f ./ash/Makefile ] || exit 0; \
2759 r=`${PWD_COMMAND}`; export r; \
2760 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2761 $(SET_LIB_PATH) \
2762 $(HOST_EXPORTS) \
2763 for flag in $(EXTRA_HOST_FLAGS) ; do \
2764 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2765 done; \
2766 echo "Doing html in ash" ; \
2767 (cd ash && \
2768 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2769 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2770 "RANLIB=$${RANLIB}" \
2771 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2772 html) \
2773 || exit 1
2775 @endif ash
2777 .PHONY: maybe-TAGS-ash TAGS-ash
2778 maybe-TAGS-ash:
2779 @if ash
2780 maybe-TAGS-ash: TAGS-ash
2782 TAGS-ash: \
2783 configure-ash
2784 @[ -f ./ash/Makefile ] || exit 0; \
2785 r=`${PWD_COMMAND}`; export r; \
2786 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2787 $(SET_LIB_PATH) \
2788 $(HOST_EXPORTS) \
2789 for flag in $(EXTRA_HOST_FLAGS) ; do \
2790 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2791 done; \
2792 echo "Doing TAGS in ash" ; \
2793 (cd ash && \
2794 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2795 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2796 "RANLIB=$${RANLIB}" \
2797 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2798 TAGS) \
2799 || exit 1
2801 @endif ash
2803 .PHONY: maybe-install-info-ash install-info-ash
2804 maybe-install-info-ash:
2805 @if ash
2806 maybe-install-info-ash: install-info-ash
2808 install-info-ash: \
2809 configure-ash \
2810 info-ash
2811 @[ -f ./ash/Makefile ] || exit 0; \
2812 r=`${PWD_COMMAND}`; export r; \
2813 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2814 $(SET_LIB_PATH) \
2815 $(HOST_EXPORTS) \
2816 for flag in $(EXTRA_HOST_FLAGS) ; do \
2817 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2818 done; \
2819 echo "Doing install-info in ash" ; \
2820 (cd ash && \
2821 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2822 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2823 "RANLIB=$${RANLIB}" \
2824 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2825 install-info) \
2826 || exit 1
2828 @endif ash
2830 .PHONY: maybe-installcheck-ash installcheck-ash
2831 maybe-installcheck-ash:
2832 @if ash
2833 maybe-installcheck-ash: installcheck-ash
2835 installcheck-ash: \
2836 configure-ash
2837 @[ -f ./ash/Makefile ] || exit 0; \
2838 r=`${PWD_COMMAND}`; export r; \
2839 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2840 $(SET_LIB_PATH) \
2841 $(HOST_EXPORTS) \
2842 for flag in $(EXTRA_HOST_FLAGS) ; do \
2843 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2844 done; \
2845 echo "Doing installcheck in ash" ; \
2846 (cd ash && \
2847 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2848 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2849 "RANLIB=$${RANLIB}" \
2850 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2851 installcheck) \
2852 || exit 1
2854 @endif ash
2856 .PHONY: maybe-mostlyclean-ash mostlyclean-ash
2857 maybe-mostlyclean-ash:
2858 @if ash
2859 maybe-mostlyclean-ash: mostlyclean-ash
2861 mostlyclean-ash:
2862 @[ -f ./ash/Makefile ] || exit 0; \
2863 r=`${PWD_COMMAND}`; export r; \
2864 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2865 $(SET_LIB_PATH) \
2866 $(HOST_EXPORTS) \
2867 for flag in $(EXTRA_HOST_FLAGS) ; do \
2868 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2869 done; \
2870 echo "Doing mostlyclean in ash" ; \
2871 (cd ash && \
2872 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2873 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2874 "RANLIB=$${RANLIB}" \
2875 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2876 mostlyclean) \
2877 || exit 1
2879 @endif ash
2881 .PHONY: maybe-clean-ash clean-ash
2882 maybe-clean-ash:
2883 @if ash
2884 maybe-clean-ash: clean-ash
2886 clean-ash:
2887 @[ -f ./ash/Makefile ] || exit 0; \
2888 r=`${PWD_COMMAND}`; export r; \
2889 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2890 $(SET_LIB_PATH) \
2891 $(HOST_EXPORTS) \
2892 for flag in $(EXTRA_HOST_FLAGS) ; do \
2893 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2894 done; \
2895 echo "Doing clean in ash" ; \
2896 (cd ash && \
2897 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2898 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2899 "RANLIB=$${RANLIB}" \
2900 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2901 clean) \
2902 || exit 1
2904 @endif ash
2906 .PHONY: maybe-distclean-ash distclean-ash
2907 maybe-distclean-ash:
2908 @if ash
2909 maybe-distclean-ash: distclean-ash
2911 distclean-ash:
2912 @[ -f ./ash/Makefile ] || exit 0; \
2913 r=`${PWD_COMMAND}`; export r; \
2914 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2915 $(SET_LIB_PATH) \
2916 $(HOST_EXPORTS) \
2917 for flag in $(EXTRA_HOST_FLAGS) ; do \
2918 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2919 done; \
2920 echo "Doing distclean in ash" ; \
2921 (cd ash && \
2922 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2923 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2924 "RANLIB=$${RANLIB}" \
2925 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2926 distclean) \
2927 || exit 1
2929 @endif ash
2931 .PHONY: maybe-maintainer-clean-ash maintainer-clean-ash
2932 maybe-maintainer-clean-ash:
2933 @if ash
2934 maybe-maintainer-clean-ash: maintainer-clean-ash
2936 maintainer-clean-ash:
2937 @[ -f ./ash/Makefile ] || exit 0; \
2938 r=`${PWD_COMMAND}`; export r; \
2939 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2940 $(SET_LIB_PATH) \
2941 $(HOST_EXPORTS) \
2942 for flag in $(EXTRA_HOST_FLAGS) ; do \
2943 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2944 done; \
2945 echo "Doing maintainer-clean in ash" ; \
2946 (cd ash && \
2947 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2948 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2949 "RANLIB=$${RANLIB}" \
2950 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2951 maintainer-clean) \
2952 || exit 1
2954 @endif ash
2957 .PHONY: configure-autoconf maybe-configure-autoconf
2958 maybe-configure-autoconf:
2959 @if autoconf
2960 maybe-configure-autoconf: configure-autoconf
2961 configure-autoconf:
2962 @test ! -f autoconf/Makefile || exit 0; \
2963 [ -d autoconf ] || mkdir autoconf; \
2964 r=`${PWD_COMMAND}`; export r; \
2965 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2966 $(HOST_EXPORTS) \
2967 echo Configuring in autoconf; \
2968 cd autoconf || exit 1; \
2969 case $(srcdir) in \
2970 \.) \
2971 srcdiroption="--srcdir=."; \
2972 libsrcdir=".";; \
2973 /* | [A-Za-z]:[\\/]*) \
2974 srcdiroption="--srcdir=$(srcdir)/autoconf"; \
2975 libsrcdir="$$s/autoconf";; \
2976 *) \
2977 srcdiroption="--srcdir=../$(srcdir)/autoconf"; \
2978 libsrcdir="$$s/autoconf";; \
2979 esac; \
2980 $(SHELL) $${libsrcdir}/configure \
2981 $(HOST_CONFIGARGS) $${srcdiroption} \
2982 || exit 1
2983 @endif autoconf
2985 .PHONY: all-autoconf maybe-all-autoconf
2986 maybe-all-autoconf:
2987 @if autoconf
2988 TARGET-autoconf=all
2989 maybe-all-autoconf: all-autoconf
2990 all-autoconf: configure-autoconf
2991 @r=`${PWD_COMMAND}`; export r; \
2992 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2993 $(SET_LIB_PATH) \
2994 $(HOST_EXPORTS) \
2995 (cd autoconf && $(MAKE) $(FLAGS_TO_PASS) \
2996 $(TARGET-autoconf))
2997 @endif autoconf
2999 .PHONY: check-autoconf maybe-check-autoconf
3000 maybe-check-autoconf:
3001 @if autoconf
3002 maybe-check-autoconf: check-autoconf
3004 check-autoconf:
3005 @r=`${PWD_COMMAND}`; export r; \
3006 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3007 $(SET_LIB_PATH) \
3008 $(HOST_EXPORTS) \
3009 (cd autoconf && $(MAKE) $(FLAGS_TO_PASS) check)
3011 @endif autoconf
3013 .PHONY: install-autoconf maybe-install-autoconf
3014 maybe-install-autoconf:
3015 @if autoconf
3016 maybe-install-autoconf: install-autoconf
3018 install-autoconf: installdirs
3019 @r=`${PWD_COMMAND}`; export r; \
3020 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3021 $(SET_LIB_PATH) \
3022 $(HOST_EXPORTS) \
3023 (cd autoconf && $(MAKE) $(FLAGS_TO_PASS) install)
3025 @endif autoconf
3027 # Other targets (info, dvi, etc.)
3029 .PHONY: maybe-info-autoconf info-autoconf
3030 maybe-info-autoconf:
3031 @if autoconf
3032 maybe-info-autoconf: info-autoconf
3034 info-autoconf: \
3035 configure-autoconf
3036 @[ -f ./autoconf/Makefile ] || exit 0; \
3037 r=`${PWD_COMMAND}`; export r; \
3038 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3039 $(SET_LIB_PATH) \
3040 $(HOST_EXPORTS) \
3041 for flag in $(EXTRA_HOST_FLAGS) ; do \
3042 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3043 done; \
3044 echo "Doing info in autoconf" ; \
3045 (cd autoconf && \
3046 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3047 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3048 "RANLIB=$${RANLIB}" \
3049 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3050 info) \
3051 || exit 1
3053 @endif autoconf
3055 .PHONY: maybe-dvi-autoconf dvi-autoconf
3056 maybe-dvi-autoconf:
3057 @if autoconf
3058 maybe-dvi-autoconf: dvi-autoconf
3060 dvi-autoconf: \
3061 configure-autoconf
3062 @[ -f ./autoconf/Makefile ] || exit 0; \
3063 r=`${PWD_COMMAND}`; export r; \
3064 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3065 $(SET_LIB_PATH) \
3066 $(HOST_EXPORTS) \
3067 for flag in $(EXTRA_HOST_FLAGS) ; do \
3068 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3069 done; \
3070 echo "Doing dvi in autoconf" ; \
3071 (cd autoconf && \
3072 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3073 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3074 "RANLIB=$${RANLIB}" \
3075 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3076 dvi) \
3077 || exit 1
3079 @endif autoconf
3081 .PHONY: maybe-html-autoconf html-autoconf
3082 maybe-html-autoconf:
3083 @if autoconf
3084 maybe-html-autoconf: html-autoconf
3086 html-autoconf: \
3087 configure-autoconf
3088 @[ -f ./autoconf/Makefile ] || exit 0; \
3089 r=`${PWD_COMMAND}`; export r; \
3090 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3091 $(SET_LIB_PATH) \
3092 $(HOST_EXPORTS) \
3093 for flag in $(EXTRA_HOST_FLAGS) ; do \
3094 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3095 done; \
3096 echo "Doing html in autoconf" ; \
3097 (cd autoconf && \
3098 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3099 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3100 "RANLIB=$${RANLIB}" \
3101 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3102 html) \
3103 || exit 1
3105 @endif autoconf
3107 .PHONY: maybe-TAGS-autoconf TAGS-autoconf
3108 maybe-TAGS-autoconf:
3109 @if autoconf
3110 maybe-TAGS-autoconf: TAGS-autoconf
3112 TAGS-autoconf: \
3113 configure-autoconf
3114 @[ -f ./autoconf/Makefile ] || exit 0; \
3115 r=`${PWD_COMMAND}`; export r; \
3116 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3117 $(SET_LIB_PATH) \
3118 $(HOST_EXPORTS) \
3119 for flag in $(EXTRA_HOST_FLAGS) ; do \
3120 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3121 done; \
3122 echo "Doing TAGS in autoconf" ; \
3123 (cd autoconf && \
3124 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3125 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3126 "RANLIB=$${RANLIB}" \
3127 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3128 TAGS) \
3129 || exit 1
3131 @endif autoconf
3133 .PHONY: maybe-install-info-autoconf install-info-autoconf
3134 maybe-install-info-autoconf:
3135 @if autoconf
3136 maybe-install-info-autoconf: install-info-autoconf
3138 install-info-autoconf: \
3139 configure-autoconf \
3140 info-autoconf
3141 @[ -f ./autoconf/Makefile ] || exit 0; \
3142 r=`${PWD_COMMAND}`; export r; \
3143 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3144 $(SET_LIB_PATH) \
3145 $(HOST_EXPORTS) \
3146 for flag in $(EXTRA_HOST_FLAGS) ; do \
3147 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3148 done; \
3149 echo "Doing install-info in autoconf" ; \
3150 (cd autoconf && \
3151 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3152 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3153 "RANLIB=$${RANLIB}" \
3154 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3155 install-info) \
3156 || exit 1
3158 @endif autoconf
3160 .PHONY: maybe-installcheck-autoconf installcheck-autoconf
3161 maybe-installcheck-autoconf:
3162 @if autoconf
3163 maybe-installcheck-autoconf: installcheck-autoconf
3165 installcheck-autoconf: \
3166 configure-autoconf
3167 @[ -f ./autoconf/Makefile ] || exit 0; \
3168 r=`${PWD_COMMAND}`; export r; \
3169 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3170 $(SET_LIB_PATH) \
3171 $(HOST_EXPORTS) \
3172 for flag in $(EXTRA_HOST_FLAGS) ; do \
3173 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3174 done; \
3175 echo "Doing installcheck in autoconf" ; \
3176 (cd autoconf && \
3177 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3178 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3179 "RANLIB=$${RANLIB}" \
3180 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3181 installcheck) \
3182 || exit 1
3184 @endif autoconf
3186 .PHONY: maybe-mostlyclean-autoconf mostlyclean-autoconf
3187 maybe-mostlyclean-autoconf:
3188 @if autoconf
3189 maybe-mostlyclean-autoconf: mostlyclean-autoconf
3191 mostlyclean-autoconf:
3192 @[ -f ./autoconf/Makefile ] || exit 0; \
3193 r=`${PWD_COMMAND}`; export r; \
3194 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3195 $(SET_LIB_PATH) \
3196 $(HOST_EXPORTS) \
3197 for flag in $(EXTRA_HOST_FLAGS) ; do \
3198 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3199 done; \
3200 echo "Doing mostlyclean in autoconf" ; \
3201 (cd autoconf && \
3202 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3203 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3204 "RANLIB=$${RANLIB}" \
3205 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3206 mostlyclean) \
3207 || exit 1
3209 @endif autoconf
3211 .PHONY: maybe-clean-autoconf clean-autoconf
3212 maybe-clean-autoconf:
3213 @if autoconf
3214 maybe-clean-autoconf: clean-autoconf
3216 clean-autoconf:
3217 @[ -f ./autoconf/Makefile ] || exit 0; \
3218 r=`${PWD_COMMAND}`; export r; \
3219 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3220 $(SET_LIB_PATH) \
3221 $(HOST_EXPORTS) \
3222 for flag in $(EXTRA_HOST_FLAGS) ; do \
3223 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3224 done; \
3225 echo "Doing clean in autoconf" ; \
3226 (cd autoconf && \
3227 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3228 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3229 "RANLIB=$${RANLIB}" \
3230 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3231 clean) \
3232 || exit 1
3234 @endif autoconf
3236 .PHONY: maybe-distclean-autoconf distclean-autoconf
3237 maybe-distclean-autoconf:
3238 @if autoconf
3239 maybe-distclean-autoconf: distclean-autoconf
3241 distclean-autoconf:
3242 @[ -f ./autoconf/Makefile ] || exit 0; \
3243 r=`${PWD_COMMAND}`; export r; \
3244 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3245 $(SET_LIB_PATH) \
3246 $(HOST_EXPORTS) \
3247 for flag in $(EXTRA_HOST_FLAGS) ; do \
3248 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3249 done; \
3250 echo "Doing distclean in autoconf" ; \
3251 (cd autoconf && \
3252 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3253 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3254 "RANLIB=$${RANLIB}" \
3255 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3256 distclean) \
3257 || exit 1
3259 @endif autoconf
3261 .PHONY: maybe-maintainer-clean-autoconf maintainer-clean-autoconf
3262 maybe-maintainer-clean-autoconf:
3263 @if autoconf
3264 maybe-maintainer-clean-autoconf: maintainer-clean-autoconf
3266 maintainer-clean-autoconf:
3267 @[ -f ./autoconf/Makefile ] || exit 0; \
3268 r=`${PWD_COMMAND}`; export r; \
3269 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3270 $(SET_LIB_PATH) \
3271 $(HOST_EXPORTS) \
3272 for flag in $(EXTRA_HOST_FLAGS) ; do \
3273 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3274 done; \
3275 echo "Doing maintainer-clean in autoconf" ; \
3276 (cd autoconf && \
3277 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3278 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3279 "RANLIB=$${RANLIB}" \
3280 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3281 maintainer-clean) \
3282 || exit 1
3284 @endif autoconf
3287 .PHONY: configure-automake maybe-configure-automake
3288 maybe-configure-automake:
3289 @if automake
3290 maybe-configure-automake: configure-automake
3291 configure-automake:
3292 @test ! -f automake/Makefile || exit 0; \
3293 [ -d automake ] || mkdir automake; \
3294 r=`${PWD_COMMAND}`; export r; \
3295 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3296 $(HOST_EXPORTS) \
3297 echo Configuring in automake; \
3298 cd automake || exit 1; \
3299 case $(srcdir) in \
3300 \.) \
3301 srcdiroption="--srcdir=."; \
3302 libsrcdir=".";; \
3303 /* | [A-Za-z]:[\\/]*) \
3304 srcdiroption="--srcdir=$(srcdir)/automake"; \
3305 libsrcdir="$$s/automake";; \
3306 *) \
3307 srcdiroption="--srcdir=../$(srcdir)/automake"; \
3308 libsrcdir="$$s/automake";; \
3309 esac; \
3310 $(SHELL) $${libsrcdir}/configure \
3311 $(HOST_CONFIGARGS) $${srcdiroption} \
3312 || exit 1
3313 @endif automake
3315 .PHONY: all-automake maybe-all-automake
3316 maybe-all-automake:
3317 @if automake
3318 TARGET-automake=all
3319 maybe-all-automake: all-automake
3320 all-automake: configure-automake
3321 @r=`${PWD_COMMAND}`; export r; \
3322 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3323 $(SET_LIB_PATH) \
3324 $(HOST_EXPORTS) \
3325 (cd automake && $(MAKE) $(FLAGS_TO_PASS) \
3326 $(TARGET-automake))
3327 @endif automake
3329 .PHONY: check-automake maybe-check-automake
3330 maybe-check-automake:
3331 @if automake
3332 maybe-check-automake: check-automake
3334 check-automake:
3335 @r=`${PWD_COMMAND}`; export r; \
3336 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3337 $(SET_LIB_PATH) \
3338 $(HOST_EXPORTS) \
3339 (cd automake && $(MAKE) $(FLAGS_TO_PASS) check)
3341 @endif automake
3343 .PHONY: install-automake maybe-install-automake
3344 maybe-install-automake:
3345 @if automake
3346 maybe-install-automake: install-automake
3348 install-automake: installdirs
3349 @r=`${PWD_COMMAND}`; export r; \
3350 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3351 $(SET_LIB_PATH) \
3352 $(HOST_EXPORTS) \
3353 (cd automake && $(MAKE) $(FLAGS_TO_PASS) install)
3355 @endif automake
3357 # Other targets (info, dvi, etc.)
3359 .PHONY: maybe-info-automake info-automake
3360 maybe-info-automake:
3361 @if automake
3362 maybe-info-automake: info-automake
3364 info-automake: \
3365 configure-automake
3366 @[ -f ./automake/Makefile ] || exit 0; \
3367 r=`${PWD_COMMAND}`; export r; \
3368 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3369 $(SET_LIB_PATH) \
3370 $(HOST_EXPORTS) \
3371 for flag in $(EXTRA_HOST_FLAGS) ; do \
3372 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3373 done; \
3374 echo "Doing info in automake" ; \
3375 (cd automake && \
3376 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3377 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3378 "RANLIB=$${RANLIB}" \
3379 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3380 info) \
3381 || exit 1
3383 @endif automake
3385 .PHONY: maybe-dvi-automake dvi-automake
3386 maybe-dvi-automake:
3387 @if automake
3388 maybe-dvi-automake: dvi-automake
3390 dvi-automake: \
3391 configure-automake
3392 @[ -f ./automake/Makefile ] || exit 0; \
3393 r=`${PWD_COMMAND}`; export r; \
3394 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3395 $(SET_LIB_PATH) \
3396 $(HOST_EXPORTS) \
3397 for flag in $(EXTRA_HOST_FLAGS) ; do \
3398 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3399 done; \
3400 echo "Doing dvi in automake" ; \
3401 (cd automake && \
3402 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3403 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3404 "RANLIB=$${RANLIB}" \
3405 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3406 dvi) \
3407 || exit 1
3409 @endif automake
3411 .PHONY: maybe-html-automake html-automake
3412 maybe-html-automake:
3413 @if automake
3414 maybe-html-automake: html-automake
3416 html-automake: \
3417 configure-automake
3418 @[ -f ./automake/Makefile ] || exit 0; \
3419 r=`${PWD_COMMAND}`; export r; \
3420 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3421 $(SET_LIB_PATH) \
3422 $(HOST_EXPORTS) \
3423 for flag in $(EXTRA_HOST_FLAGS) ; do \
3424 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3425 done; \
3426 echo "Doing html in automake" ; \
3427 (cd automake && \
3428 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3429 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3430 "RANLIB=$${RANLIB}" \
3431 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3432 html) \
3433 || exit 1
3435 @endif automake
3437 .PHONY: maybe-TAGS-automake TAGS-automake
3438 maybe-TAGS-automake:
3439 @if automake
3440 maybe-TAGS-automake: TAGS-automake
3442 TAGS-automake: \
3443 configure-automake
3444 @[ -f ./automake/Makefile ] || exit 0; \
3445 r=`${PWD_COMMAND}`; export r; \
3446 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3447 $(SET_LIB_PATH) \
3448 $(HOST_EXPORTS) \
3449 for flag in $(EXTRA_HOST_FLAGS) ; do \
3450 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3451 done; \
3452 echo "Doing TAGS in automake" ; \
3453 (cd automake && \
3454 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3455 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3456 "RANLIB=$${RANLIB}" \
3457 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3458 TAGS) \
3459 || exit 1
3461 @endif automake
3463 .PHONY: maybe-install-info-automake install-info-automake
3464 maybe-install-info-automake:
3465 @if automake
3466 maybe-install-info-automake: install-info-automake
3468 install-info-automake: \
3469 configure-automake \
3470 info-automake
3471 @[ -f ./automake/Makefile ] || exit 0; \
3472 r=`${PWD_COMMAND}`; export r; \
3473 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3474 $(SET_LIB_PATH) \
3475 $(HOST_EXPORTS) \
3476 for flag in $(EXTRA_HOST_FLAGS) ; do \
3477 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3478 done; \
3479 echo "Doing install-info in automake" ; \
3480 (cd automake && \
3481 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3482 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3483 "RANLIB=$${RANLIB}" \
3484 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3485 install-info) \
3486 || exit 1
3488 @endif automake
3490 .PHONY: maybe-installcheck-automake installcheck-automake
3491 maybe-installcheck-automake:
3492 @if automake
3493 maybe-installcheck-automake: installcheck-automake
3495 installcheck-automake: \
3496 configure-automake
3497 @[ -f ./automake/Makefile ] || exit 0; \
3498 r=`${PWD_COMMAND}`; export r; \
3499 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3500 $(SET_LIB_PATH) \
3501 $(HOST_EXPORTS) \
3502 for flag in $(EXTRA_HOST_FLAGS) ; do \
3503 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3504 done; \
3505 echo "Doing installcheck in automake" ; \
3506 (cd automake && \
3507 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3508 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3509 "RANLIB=$${RANLIB}" \
3510 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3511 installcheck) \
3512 || exit 1
3514 @endif automake
3516 .PHONY: maybe-mostlyclean-automake mostlyclean-automake
3517 maybe-mostlyclean-automake:
3518 @if automake
3519 maybe-mostlyclean-automake: mostlyclean-automake
3521 mostlyclean-automake:
3522 @[ -f ./automake/Makefile ] || exit 0; \
3523 r=`${PWD_COMMAND}`; export r; \
3524 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3525 $(SET_LIB_PATH) \
3526 $(HOST_EXPORTS) \
3527 for flag in $(EXTRA_HOST_FLAGS) ; do \
3528 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3529 done; \
3530 echo "Doing mostlyclean in automake" ; \
3531 (cd automake && \
3532 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3533 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3534 "RANLIB=$${RANLIB}" \
3535 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3536 mostlyclean) \
3537 || exit 1
3539 @endif automake
3541 .PHONY: maybe-clean-automake clean-automake
3542 maybe-clean-automake:
3543 @if automake
3544 maybe-clean-automake: clean-automake
3546 clean-automake:
3547 @[ -f ./automake/Makefile ] || exit 0; \
3548 r=`${PWD_COMMAND}`; export r; \
3549 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3550 $(SET_LIB_PATH) \
3551 $(HOST_EXPORTS) \
3552 for flag in $(EXTRA_HOST_FLAGS) ; do \
3553 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3554 done; \
3555 echo "Doing clean in automake" ; \
3556 (cd automake && \
3557 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3558 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3559 "RANLIB=$${RANLIB}" \
3560 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3561 clean) \
3562 || exit 1
3564 @endif automake
3566 .PHONY: maybe-distclean-automake distclean-automake
3567 maybe-distclean-automake:
3568 @if automake
3569 maybe-distclean-automake: distclean-automake
3571 distclean-automake:
3572 @[ -f ./automake/Makefile ] || exit 0; \
3573 r=`${PWD_COMMAND}`; export r; \
3574 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3575 $(SET_LIB_PATH) \
3576 $(HOST_EXPORTS) \
3577 for flag in $(EXTRA_HOST_FLAGS) ; do \
3578 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3579 done; \
3580 echo "Doing distclean in automake" ; \
3581 (cd automake && \
3582 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3583 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3584 "RANLIB=$${RANLIB}" \
3585 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3586 distclean) \
3587 || exit 1
3589 @endif automake
3591 .PHONY: maybe-maintainer-clean-automake maintainer-clean-automake
3592 maybe-maintainer-clean-automake:
3593 @if automake
3594 maybe-maintainer-clean-automake: maintainer-clean-automake
3596 maintainer-clean-automake:
3597 @[ -f ./automake/Makefile ] || exit 0; \
3598 r=`${PWD_COMMAND}`; export r; \
3599 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3600 $(SET_LIB_PATH) \
3601 $(HOST_EXPORTS) \
3602 for flag in $(EXTRA_HOST_FLAGS) ; do \
3603 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3604 done; \
3605 echo "Doing maintainer-clean in automake" ; \
3606 (cd automake && \
3607 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3608 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3609 "RANLIB=$${RANLIB}" \
3610 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3611 maintainer-clean) \
3612 || exit 1
3614 @endif automake
3617 .PHONY: configure-bash maybe-configure-bash
3618 maybe-configure-bash:
3619 @if bash
3620 maybe-configure-bash: configure-bash
3621 configure-bash:
3622 @test ! -f bash/Makefile || exit 0; \
3623 [ -d bash ] || mkdir bash; \
3624 r=`${PWD_COMMAND}`; export r; \
3625 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3626 $(HOST_EXPORTS) \
3627 echo Configuring in bash; \
3628 cd bash || exit 1; \
3629 case $(srcdir) in \
3630 \.) \
3631 srcdiroption="--srcdir=."; \
3632 libsrcdir=".";; \
3633 /* | [A-Za-z]:[\\/]*) \
3634 srcdiroption="--srcdir=$(srcdir)/bash"; \
3635 libsrcdir="$$s/bash";; \
3636 *) \
3637 srcdiroption="--srcdir=../$(srcdir)/bash"; \
3638 libsrcdir="$$s/bash";; \
3639 esac; \
3640 $(SHELL) $${libsrcdir}/configure \
3641 $(HOST_CONFIGARGS) $${srcdiroption} \
3642 || exit 1
3643 @endif bash
3645 .PHONY: all-bash maybe-all-bash
3646 maybe-all-bash:
3647 @if bash
3648 TARGET-bash=all
3649 maybe-all-bash: all-bash
3650 all-bash: configure-bash
3651 @r=`${PWD_COMMAND}`; export r; \
3652 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3653 $(SET_LIB_PATH) \
3654 $(HOST_EXPORTS) \
3655 (cd bash && $(MAKE) $(FLAGS_TO_PASS) \
3656 $(TARGET-bash))
3657 @endif bash
3659 .PHONY: check-bash maybe-check-bash
3660 maybe-check-bash:
3661 @if bash
3662 maybe-check-bash: check-bash
3664 check-bash:
3665 @r=`${PWD_COMMAND}`; export r; \
3666 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3667 $(SET_LIB_PATH) \
3668 $(HOST_EXPORTS) \
3669 (cd bash && $(MAKE) $(FLAGS_TO_PASS) check)
3671 @endif bash
3673 .PHONY: install-bash maybe-install-bash
3674 maybe-install-bash:
3675 @if bash
3676 maybe-install-bash: install-bash
3678 install-bash: installdirs
3679 @r=`${PWD_COMMAND}`; export r; \
3680 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3681 $(SET_LIB_PATH) \
3682 $(HOST_EXPORTS) \
3683 (cd bash && $(MAKE) $(FLAGS_TO_PASS) install)
3685 @endif bash
3687 # Other targets (info, dvi, etc.)
3689 .PHONY: maybe-info-bash info-bash
3690 maybe-info-bash:
3691 @if bash
3692 maybe-info-bash: info-bash
3694 info-bash: \
3695 configure-bash
3696 @[ -f ./bash/Makefile ] || exit 0; \
3697 r=`${PWD_COMMAND}`; export r; \
3698 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3699 $(SET_LIB_PATH) \
3700 $(HOST_EXPORTS) \
3701 for flag in $(EXTRA_HOST_FLAGS) ; do \
3702 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3703 done; \
3704 echo "Doing info in bash" ; \
3705 (cd bash && \
3706 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3707 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3708 "RANLIB=$${RANLIB}" \
3709 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3710 info) \
3711 || exit 1
3713 @endif bash
3715 .PHONY: maybe-dvi-bash dvi-bash
3716 maybe-dvi-bash:
3717 @if bash
3718 maybe-dvi-bash: dvi-bash
3720 dvi-bash: \
3721 configure-bash
3722 @[ -f ./bash/Makefile ] || exit 0; \
3723 r=`${PWD_COMMAND}`; export r; \
3724 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3725 $(SET_LIB_PATH) \
3726 $(HOST_EXPORTS) \
3727 for flag in $(EXTRA_HOST_FLAGS) ; do \
3728 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3729 done; \
3730 echo "Doing dvi in bash" ; \
3731 (cd bash && \
3732 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3733 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3734 "RANLIB=$${RANLIB}" \
3735 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3736 dvi) \
3737 || exit 1
3739 @endif bash
3741 .PHONY: maybe-html-bash html-bash
3742 maybe-html-bash:
3743 @if bash
3744 maybe-html-bash: html-bash
3746 html-bash: \
3747 configure-bash
3748 @[ -f ./bash/Makefile ] || exit 0; \
3749 r=`${PWD_COMMAND}`; export r; \
3750 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3751 $(SET_LIB_PATH) \
3752 $(HOST_EXPORTS) \
3753 for flag in $(EXTRA_HOST_FLAGS) ; do \
3754 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3755 done; \
3756 echo "Doing html in bash" ; \
3757 (cd bash && \
3758 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3759 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3760 "RANLIB=$${RANLIB}" \
3761 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3762 html) \
3763 || exit 1
3765 @endif bash
3767 .PHONY: maybe-TAGS-bash TAGS-bash
3768 maybe-TAGS-bash:
3769 @if bash
3770 maybe-TAGS-bash: TAGS-bash
3772 TAGS-bash: \
3773 configure-bash
3774 @[ -f ./bash/Makefile ] || exit 0; \
3775 r=`${PWD_COMMAND}`; export r; \
3776 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3777 $(SET_LIB_PATH) \
3778 $(HOST_EXPORTS) \
3779 for flag in $(EXTRA_HOST_FLAGS) ; do \
3780 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3781 done; \
3782 echo "Doing TAGS in bash" ; \
3783 (cd bash && \
3784 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3785 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3786 "RANLIB=$${RANLIB}" \
3787 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3788 TAGS) \
3789 || exit 1
3791 @endif bash
3793 .PHONY: maybe-install-info-bash install-info-bash
3794 maybe-install-info-bash:
3795 @if bash
3796 maybe-install-info-bash: install-info-bash
3798 install-info-bash: \
3799 configure-bash \
3800 info-bash
3801 @[ -f ./bash/Makefile ] || exit 0; \
3802 r=`${PWD_COMMAND}`; export r; \
3803 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3804 $(SET_LIB_PATH) \
3805 $(HOST_EXPORTS) \
3806 for flag in $(EXTRA_HOST_FLAGS) ; do \
3807 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3808 done; \
3809 echo "Doing install-info in bash" ; \
3810 (cd bash && \
3811 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3812 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3813 "RANLIB=$${RANLIB}" \
3814 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3815 install-info) \
3816 || exit 1
3818 @endif bash
3820 .PHONY: maybe-installcheck-bash installcheck-bash
3821 maybe-installcheck-bash:
3822 @if bash
3823 maybe-installcheck-bash: installcheck-bash
3825 installcheck-bash: \
3826 configure-bash
3827 @[ -f ./bash/Makefile ] || exit 0; \
3828 r=`${PWD_COMMAND}`; export r; \
3829 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3830 $(SET_LIB_PATH) \
3831 $(HOST_EXPORTS) \
3832 for flag in $(EXTRA_HOST_FLAGS) ; do \
3833 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3834 done; \
3835 echo "Doing installcheck in bash" ; \
3836 (cd bash && \
3837 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3838 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3839 "RANLIB=$${RANLIB}" \
3840 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3841 installcheck) \
3842 || exit 1
3844 @endif bash
3846 .PHONY: maybe-mostlyclean-bash mostlyclean-bash
3847 maybe-mostlyclean-bash:
3848 @if bash
3849 maybe-mostlyclean-bash: mostlyclean-bash
3851 mostlyclean-bash:
3852 @[ -f ./bash/Makefile ] || exit 0; \
3853 r=`${PWD_COMMAND}`; export r; \
3854 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3855 $(SET_LIB_PATH) \
3856 $(HOST_EXPORTS) \
3857 for flag in $(EXTRA_HOST_FLAGS) ; do \
3858 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3859 done; \
3860 echo "Doing mostlyclean in bash" ; \
3861 (cd bash && \
3862 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3863 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3864 "RANLIB=$${RANLIB}" \
3865 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3866 mostlyclean) \
3867 || exit 1
3869 @endif bash
3871 .PHONY: maybe-clean-bash clean-bash
3872 maybe-clean-bash:
3873 @if bash
3874 maybe-clean-bash: clean-bash
3876 clean-bash:
3877 @[ -f ./bash/Makefile ] || exit 0; \
3878 r=`${PWD_COMMAND}`; export r; \
3879 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3880 $(SET_LIB_PATH) \
3881 $(HOST_EXPORTS) \
3882 for flag in $(EXTRA_HOST_FLAGS) ; do \
3883 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3884 done; \
3885 echo "Doing clean in bash" ; \
3886 (cd bash && \
3887 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3888 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3889 "RANLIB=$${RANLIB}" \
3890 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3891 clean) \
3892 || exit 1
3894 @endif bash
3896 .PHONY: maybe-distclean-bash distclean-bash
3897 maybe-distclean-bash:
3898 @if bash
3899 maybe-distclean-bash: distclean-bash
3901 distclean-bash:
3902 @[ -f ./bash/Makefile ] || exit 0; \
3903 r=`${PWD_COMMAND}`; export r; \
3904 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3905 $(SET_LIB_PATH) \
3906 $(HOST_EXPORTS) \
3907 for flag in $(EXTRA_HOST_FLAGS) ; do \
3908 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3909 done; \
3910 echo "Doing distclean in bash" ; \
3911 (cd bash && \
3912 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3913 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3914 "RANLIB=$${RANLIB}" \
3915 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3916 distclean) \
3917 || exit 1
3919 @endif bash
3921 .PHONY: maybe-maintainer-clean-bash maintainer-clean-bash
3922 maybe-maintainer-clean-bash:
3923 @if bash
3924 maybe-maintainer-clean-bash: maintainer-clean-bash
3926 maintainer-clean-bash:
3927 @[ -f ./bash/Makefile ] || exit 0; \
3928 r=`${PWD_COMMAND}`; export r; \
3929 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3930 $(SET_LIB_PATH) \
3931 $(HOST_EXPORTS) \
3932 for flag in $(EXTRA_HOST_FLAGS) ; do \
3933 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3934 done; \
3935 echo "Doing maintainer-clean in bash" ; \
3936 (cd bash && \
3937 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3938 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3939 "RANLIB=$${RANLIB}" \
3940 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3941 maintainer-clean) \
3942 || exit 1
3944 @endif bash
3947 .PHONY: configure-bfd maybe-configure-bfd
3948 maybe-configure-bfd:
3949 @if bfd
3950 maybe-configure-bfd: configure-bfd
3951 configure-bfd:
3952 @test -f stage_last && exit 0; \
3953 test ! -f bfd/Makefile || exit 0; \
3954 [ -d bfd ] || mkdir bfd; \
3955 r=`${PWD_COMMAND}`; export r; \
3956 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3957 $(HOST_EXPORTS) \
3958 echo Configuring in bfd; \
3959 cd bfd || exit 1; \
3960 case $(srcdir) in \
3961 \.) \
3962 srcdiroption="--srcdir=."; \
3963 libsrcdir=".";; \
3964 /* | [A-Za-z]:[\\/]*) \
3965 srcdiroption="--srcdir=$(srcdir)/bfd"; \
3966 libsrcdir="$$s/bfd";; \
3967 *) \
3968 srcdiroption="--srcdir=../$(srcdir)/bfd"; \
3969 libsrcdir="$$s/bfd";; \
3970 esac; \
3971 $(SHELL) $${libsrcdir}/configure \
3972 $(HOST_CONFIGARGS) $${srcdiroption} \
3973 || exit 1
3974 @endif bfd
3976 .PHONY: all-bfd maybe-all-bfd
3977 maybe-all-bfd:
3978 @if bfd
3979 TARGET-bfd=all
3980 maybe-all-bfd: all-bfd
3981 all-bfd: configure-bfd
3982 @test -f stage_last && exit 0; \
3983 r=`${PWD_COMMAND}`; export r; \
3984 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3985 $(SET_LIB_PATH) \
3986 $(HOST_EXPORTS) \
3987 (cd bfd && $(MAKE) $(FLAGS_TO_PASS) \
3988 $(TARGET-bfd))
3989 @endif bfd
3991 .PHONY: check-bfd maybe-check-bfd
3992 maybe-check-bfd:
3993 @if bfd
3994 maybe-check-bfd: check-bfd
3996 check-bfd:
3997 @r=`${PWD_COMMAND}`; export r; \
3998 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3999 $(SET_LIB_PATH) \
4000 $(HOST_EXPORTS) \
4001 (cd bfd && $(MAKE) $(FLAGS_TO_PASS) check)
4003 @endif bfd
4005 .PHONY: install-bfd maybe-install-bfd
4006 maybe-install-bfd:
4007 @if bfd
4008 maybe-install-bfd: install-bfd
4010 install-bfd: installdirs
4011 @r=`${PWD_COMMAND}`; export r; \
4012 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4013 $(SET_LIB_PATH) \
4014 $(HOST_EXPORTS) \
4015 (cd bfd && $(MAKE) $(FLAGS_TO_PASS) install)
4017 @endif bfd
4019 # Other targets (info, dvi, etc.)
4021 .PHONY: maybe-info-bfd info-bfd
4022 maybe-info-bfd:
4023 @if bfd
4024 maybe-info-bfd: info-bfd
4026 info-bfd: \
4027 configure-bfd
4028 @[ -f ./bfd/Makefile ] || exit 0; \
4029 r=`${PWD_COMMAND}`; export r; \
4030 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4031 $(SET_LIB_PATH) \
4032 $(HOST_EXPORTS) \
4033 for flag in $(EXTRA_HOST_FLAGS) ; do \
4034 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4035 done; \
4036 echo "Doing info in bfd" ; \
4037 (cd bfd && \
4038 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4039 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4040 "RANLIB=$${RANLIB}" \
4041 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4042 info) \
4043 || exit 1
4045 @endif bfd
4047 .PHONY: maybe-dvi-bfd dvi-bfd
4048 maybe-dvi-bfd:
4049 @if bfd
4050 maybe-dvi-bfd: dvi-bfd
4052 dvi-bfd: \
4053 configure-bfd
4054 @[ -f ./bfd/Makefile ] || exit 0; \
4055 r=`${PWD_COMMAND}`; export r; \
4056 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4057 $(SET_LIB_PATH) \
4058 $(HOST_EXPORTS) \
4059 for flag in $(EXTRA_HOST_FLAGS) ; do \
4060 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4061 done; \
4062 echo "Doing dvi in bfd" ; \
4063 (cd bfd && \
4064 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4065 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4066 "RANLIB=$${RANLIB}" \
4067 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4068 dvi) \
4069 || exit 1
4071 @endif bfd
4073 .PHONY: maybe-html-bfd html-bfd
4074 maybe-html-bfd:
4075 @if bfd
4076 maybe-html-bfd: html-bfd
4078 html-bfd: \
4079 configure-bfd
4080 @[ -f ./bfd/Makefile ] || exit 0; \
4081 r=`${PWD_COMMAND}`; export r; \
4082 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4083 $(SET_LIB_PATH) \
4084 $(HOST_EXPORTS) \
4085 for flag in $(EXTRA_HOST_FLAGS) ; do \
4086 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4087 done; \
4088 echo "Doing html in bfd" ; \
4089 (cd bfd && \
4090 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4091 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4092 "RANLIB=$${RANLIB}" \
4093 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4094 html) \
4095 || exit 1
4097 @endif bfd
4099 .PHONY: maybe-TAGS-bfd TAGS-bfd
4100 maybe-TAGS-bfd:
4101 @if bfd
4102 maybe-TAGS-bfd: TAGS-bfd
4104 TAGS-bfd: \
4105 configure-bfd
4106 @[ -f ./bfd/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 TAGS in bfd" ; \
4115 (cd bfd && \
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 TAGS) \
4121 || exit 1
4123 @endif bfd
4125 .PHONY: maybe-install-info-bfd install-info-bfd
4126 maybe-install-info-bfd:
4127 @if bfd
4128 maybe-install-info-bfd: install-info-bfd
4130 install-info-bfd: \
4131 configure-bfd \
4132 info-bfd
4133 @[ -f ./bfd/Makefile ] || exit 0; \
4134 r=`${PWD_COMMAND}`; export r; \
4135 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4136 $(SET_LIB_PATH) \
4137 $(HOST_EXPORTS) \
4138 for flag in $(EXTRA_HOST_FLAGS) ; do \
4139 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4140 done; \
4141 echo "Doing install-info in bfd" ; \
4142 (cd bfd && \
4143 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4144 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4145 "RANLIB=$${RANLIB}" \
4146 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4147 install-info) \
4148 || exit 1
4150 @endif bfd
4152 .PHONY: maybe-installcheck-bfd installcheck-bfd
4153 maybe-installcheck-bfd:
4154 @if bfd
4155 maybe-installcheck-bfd: installcheck-bfd
4157 installcheck-bfd: \
4158 configure-bfd
4159 @[ -f ./bfd/Makefile ] || exit 0; \
4160 r=`${PWD_COMMAND}`; export r; \
4161 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4162 $(SET_LIB_PATH) \
4163 $(HOST_EXPORTS) \
4164 for flag in $(EXTRA_HOST_FLAGS) ; do \
4165 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4166 done; \
4167 echo "Doing installcheck in bfd" ; \
4168 (cd bfd && \
4169 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4170 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4171 "RANLIB=$${RANLIB}" \
4172 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4173 installcheck) \
4174 || exit 1
4176 @endif bfd
4178 .PHONY: maybe-mostlyclean-bfd mostlyclean-bfd
4179 maybe-mostlyclean-bfd:
4180 @if bfd
4181 maybe-mostlyclean-bfd: mostlyclean-bfd
4183 mostlyclean-bfd:
4184 @[ -f ./bfd/Makefile ] || exit 0; \
4185 r=`${PWD_COMMAND}`; export r; \
4186 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4187 $(SET_LIB_PATH) \
4188 $(HOST_EXPORTS) \
4189 for flag in $(EXTRA_HOST_FLAGS) ; do \
4190 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4191 done; \
4192 echo "Doing mostlyclean in bfd" ; \
4193 (cd bfd && \
4194 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4195 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4196 "RANLIB=$${RANLIB}" \
4197 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4198 mostlyclean) \
4199 || exit 1
4201 @endif bfd
4203 .PHONY: maybe-clean-bfd clean-bfd
4204 maybe-clean-bfd:
4205 @if bfd
4206 maybe-clean-bfd: clean-bfd
4208 clean-bfd:
4209 @[ -f ./bfd/Makefile ] || exit 0; \
4210 r=`${PWD_COMMAND}`; export r; \
4211 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4212 $(SET_LIB_PATH) \
4213 $(HOST_EXPORTS) \
4214 for flag in $(EXTRA_HOST_FLAGS) ; do \
4215 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4216 done; \
4217 echo "Doing clean in bfd" ; \
4218 (cd bfd && \
4219 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4220 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4221 "RANLIB=$${RANLIB}" \
4222 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4223 clean) \
4224 || exit 1
4226 @endif bfd
4228 .PHONY: maybe-distclean-bfd distclean-bfd
4229 maybe-distclean-bfd:
4230 @if bfd
4231 maybe-distclean-bfd: distclean-bfd
4233 distclean-bfd:
4234 @[ -f ./bfd/Makefile ] || exit 0; \
4235 r=`${PWD_COMMAND}`; export r; \
4236 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4237 $(SET_LIB_PATH) \
4238 $(HOST_EXPORTS) \
4239 for flag in $(EXTRA_HOST_FLAGS) ; do \
4240 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4241 done; \
4242 echo "Doing distclean in bfd" ; \
4243 (cd bfd && \
4244 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4245 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4246 "RANLIB=$${RANLIB}" \
4247 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4248 distclean) \
4249 || exit 1
4251 @endif bfd
4253 .PHONY: maybe-maintainer-clean-bfd maintainer-clean-bfd
4254 maybe-maintainer-clean-bfd:
4255 @if bfd
4256 maybe-maintainer-clean-bfd: maintainer-clean-bfd
4258 maintainer-clean-bfd:
4259 @[ -f ./bfd/Makefile ] || exit 0; \
4260 r=`${PWD_COMMAND}`; export r; \
4261 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4262 $(SET_LIB_PATH) \
4263 $(HOST_EXPORTS) \
4264 for flag in $(EXTRA_HOST_FLAGS) ; do \
4265 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4266 done; \
4267 echo "Doing maintainer-clean in bfd" ; \
4268 (cd bfd && \
4269 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4270 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4271 "RANLIB=$${RANLIB}" \
4272 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4273 maintainer-clean) \
4274 || exit 1
4276 @endif bfd
4279 .PHONY: configure-opcodes maybe-configure-opcodes
4280 maybe-configure-opcodes:
4281 @if opcodes
4282 maybe-configure-opcodes: configure-opcodes
4283 configure-opcodes:
4284 @test -f stage_last && exit 0; \
4285 test ! -f opcodes/Makefile || exit 0; \
4286 [ -d opcodes ] || mkdir opcodes; \
4287 r=`${PWD_COMMAND}`; export r; \
4288 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4289 $(HOST_EXPORTS) \
4290 echo Configuring in opcodes; \
4291 cd opcodes || exit 1; \
4292 case $(srcdir) in \
4293 \.) \
4294 srcdiroption="--srcdir=."; \
4295 libsrcdir=".";; \
4296 /* | [A-Za-z]:[\\/]*) \
4297 srcdiroption="--srcdir=$(srcdir)/opcodes"; \
4298 libsrcdir="$$s/opcodes";; \
4299 *) \
4300 srcdiroption="--srcdir=../$(srcdir)/opcodes"; \
4301 libsrcdir="$$s/opcodes";; \
4302 esac; \
4303 $(SHELL) $${libsrcdir}/configure \
4304 $(HOST_CONFIGARGS) $${srcdiroption} \
4305 || exit 1
4306 @endif opcodes
4308 .PHONY: all-opcodes maybe-all-opcodes
4309 maybe-all-opcodes:
4310 @if opcodes
4311 TARGET-opcodes=all
4312 maybe-all-opcodes: all-opcodes
4313 all-opcodes: configure-opcodes
4314 @test -f stage_last && exit 0; \
4315 r=`${PWD_COMMAND}`; export r; \
4316 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4317 $(SET_LIB_PATH) \
4318 $(HOST_EXPORTS) \
4319 (cd opcodes && $(MAKE) $(FLAGS_TO_PASS) \
4320 $(TARGET-opcodes))
4321 @endif opcodes
4323 .PHONY: check-opcodes maybe-check-opcodes
4324 maybe-check-opcodes:
4325 @if opcodes
4326 maybe-check-opcodes: check-opcodes
4328 check-opcodes:
4329 @r=`${PWD_COMMAND}`; export r; \
4330 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4331 $(SET_LIB_PATH) \
4332 $(HOST_EXPORTS) \
4333 (cd opcodes && $(MAKE) $(FLAGS_TO_PASS) check)
4335 @endif opcodes
4337 .PHONY: install-opcodes maybe-install-opcodes
4338 maybe-install-opcodes:
4339 @if opcodes
4340 maybe-install-opcodes: install-opcodes
4342 install-opcodes: installdirs
4343 @r=`${PWD_COMMAND}`; export r; \
4344 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4345 $(SET_LIB_PATH) \
4346 $(HOST_EXPORTS) \
4347 (cd opcodes && $(MAKE) $(FLAGS_TO_PASS) install)
4349 @endif opcodes
4351 # Other targets (info, dvi, etc.)
4353 .PHONY: maybe-info-opcodes info-opcodes
4354 maybe-info-opcodes:
4355 @if opcodes
4356 maybe-info-opcodes: info-opcodes
4358 info-opcodes: \
4359 configure-opcodes
4360 @[ -f ./opcodes/Makefile ] || exit 0; \
4361 r=`${PWD_COMMAND}`; export r; \
4362 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4363 $(SET_LIB_PATH) \
4364 $(HOST_EXPORTS) \
4365 for flag in $(EXTRA_HOST_FLAGS) ; do \
4366 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4367 done; \
4368 echo "Doing info in opcodes" ; \
4369 (cd opcodes && \
4370 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4371 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4372 "RANLIB=$${RANLIB}" \
4373 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4374 info) \
4375 || exit 1
4377 @endif opcodes
4379 .PHONY: maybe-dvi-opcodes dvi-opcodes
4380 maybe-dvi-opcodes:
4381 @if opcodes
4382 maybe-dvi-opcodes: dvi-opcodes
4384 dvi-opcodes: \
4385 configure-opcodes
4386 @[ -f ./opcodes/Makefile ] || exit 0; \
4387 r=`${PWD_COMMAND}`; export r; \
4388 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4389 $(SET_LIB_PATH) \
4390 $(HOST_EXPORTS) \
4391 for flag in $(EXTRA_HOST_FLAGS) ; do \
4392 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4393 done; \
4394 echo "Doing dvi in opcodes" ; \
4395 (cd opcodes && \
4396 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4397 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4398 "RANLIB=$${RANLIB}" \
4399 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4400 dvi) \
4401 || exit 1
4403 @endif opcodes
4405 .PHONY: maybe-html-opcodes html-opcodes
4406 maybe-html-opcodes:
4407 @if opcodes
4408 maybe-html-opcodes: html-opcodes
4410 html-opcodes: \
4411 configure-opcodes
4412 @[ -f ./opcodes/Makefile ] || exit 0; \
4413 r=`${PWD_COMMAND}`; export r; \
4414 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4415 $(SET_LIB_PATH) \
4416 $(HOST_EXPORTS) \
4417 for flag in $(EXTRA_HOST_FLAGS) ; do \
4418 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4419 done; \
4420 echo "Doing html in opcodes" ; \
4421 (cd opcodes && \
4422 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4423 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4424 "RANLIB=$${RANLIB}" \
4425 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4426 html) \
4427 || exit 1
4429 @endif opcodes
4431 .PHONY: maybe-TAGS-opcodes TAGS-opcodes
4432 maybe-TAGS-opcodes:
4433 @if opcodes
4434 maybe-TAGS-opcodes: TAGS-opcodes
4436 TAGS-opcodes: \
4437 configure-opcodes
4438 @[ -f ./opcodes/Makefile ] || exit 0; \
4439 r=`${PWD_COMMAND}`; export r; \
4440 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4441 $(SET_LIB_PATH) \
4442 $(HOST_EXPORTS) \
4443 for flag in $(EXTRA_HOST_FLAGS) ; do \
4444 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4445 done; \
4446 echo "Doing TAGS in opcodes" ; \
4447 (cd opcodes && \
4448 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4449 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4450 "RANLIB=$${RANLIB}" \
4451 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4452 TAGS) \
4453 || exit 1
4455 @endif opcodes
4457 .PHONY: maybe-install-info-opcodes install-info-opcodes
4458 maybe-install-info-opcodes:
4459 @if opcodes
4460 maybe-install-info-opcodes: install-info-opcodes
4462 install-info-opcodes: \
4463 configure-opcodes \
4464 info-opcodes
4465 @[ -f ./opcodes/Makefile ] || exit 0; \
4466 r=`${PWD_COMMAND}`; export r; \
4467 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4468 $(SET_LIB_PATH) \
4469 $(HOST_EXPORTS) \
4470 for flag in $(EXTRA_HOST_FLAGS) ; do \
4471 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4472 done; \
4473 echo "Doing install-info in opcodes" ; \
4474 (cd opcodes && \
4475 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4476 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4477 "RANLIB=$${RANLIB}" \
4478 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4479 install-info) \
4480 || exit 1
4482 @endif opcodes
4484 .PHONY: maybe-installcheck-opcodes installcheck-opcodes
4485 maybe-installcheck-opcodes:
4486 @if opcodes
4487 maybe-installcheck-opcodes: installcheck-opcodes
4489 installcheck-opcodes: \
4490 configure-opcodes
4491 @[ -f ./opcodes/Makefile ] || exit 0; \
4492 r=`${PWD_COMMAND}`; export r; \
4493 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4494 $(SET_LIB_PATH) \
4495 $(HOST_EXPORTS) \
4496 for flag in $(EXTRA_HOST_FLAGS) ; do \
4497 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4498 done; \
4499 echo "Doing installcheck in opcodes" ; \
4500 (cd opcodes && \
4501 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4502 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4503 "RANLIB=$${RANLIB}" \
4504 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4505 installcheck) \
4506 || exit 1
4508 @endif opcodes
4510 .PHONY: maybe-mostlyclean-opcodes mostlyclean-opcodes
4511 maybe-mostlyclean-opcodes:
4512 @if opcodes
4513 maybe-mostlyclean-opcodes: mostlyclean-opcodes
4515 mostlyclean-opcodes:
4516 @[ -f ./opcodes/Makefile ] || exit 0; \
4517 r=`${PWD_COMMAND}`; export r; \
4518 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4519 $(SET_LIB_PATH) \
4520 $(HOST_EXPORTS) \
4521 for flag in $(EXTRA_HOST_FLAGS) ; do \
4522 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4523 done; \
4524 echo "Doing mostlyclean in opcodes" ; \
4525 (cd opcodes && \
4526 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4527 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4528 "RANLIB=$${RANLIB}" \
4529 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4530 mostlyclean) \
4531 || exit 1
4533 @endif opcodes
4535 .PHONY: maybe-clean-opcodes clean-opcodes
4536 maybe-clean-opcodes:
4537 @if opcodes
4538 maybe-clean-opcodes: clean-opcodes
4540 clean-opcodes:
4541 @[ -f ./opcodes/Makefile ] || exit 0; \
4542 r=`${PWD_COMMAND}`; export r; \
4543 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4544 $(SET_LIB_PATH) \
4545 $(HOST_EXPORTS) \
4546 for flag in $(EXTRA_HOST_FLAGS) ; do \
4547 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4548 done; \
4549 echo "Doing clean in opcodes" ; \
4550 (cd opcodes && \
4551 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4552 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4553 "RANLIB=$${RANLIB}" \
4554 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4555 clean) \
4556 || exit 1
4558 @endif opcodes
4560 .PHONY: maybe-distclean-opcodes distclean-opcodes
4561 maybe-distclean-opcodes:
4562 @if opcodes
4563 maybe-distclean-opcodes: distclean-opcodes
4565 distclean-opcodes:
4566 @[ -f ./opcodes/Makefile ] || exit 0; \
4567 r=`${PWD_COMMAND}`; export r; \
4568 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4569 $(SET_LIB_PATH) \
4570 $(HOST_EXPORTS) \
4571 for flag in $(EXTRA_HOST_FLAGS) ; do \
4572 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4573 done; \
4574 echo "Doing distclean in opcodes" ; \
4575 (cd opcodes && \
4576 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4577 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4578 "RANLIB=$${RANLIB}" \
4579 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4580 distclean) \
4581 || exit 1
4583 @endif opcodes
4585 .PHONY: maybe-maintainer-clean-opcodes maintainer-clean-opcodes
4586 maybe-maintainer-clean-opcodes:
4587 @if opcodes
4588 maybe-maintainer-clean-opcodes: maintainer-clean-opcodes
4590 maintainer-clean-opcodes:
4591 @[ -f ./opcodes/Makefile ] || exit 0; \
4592 r=`${PWD_COMMAND}`; export r; \
4593 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4594 $(SET_LIB_PATH) \
4595 $(HOST_EXPORTS) \
4596 for flag in $(EXTRA_HOST_FLAGS) ; do \
4597 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4598 done; \
4599 echo "Doing maintainer-clean in opcodes" ; \
4600 (cd opcodes && \
4601 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4602 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4603 "RANLIB=$${RANLIB}" \
4604 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4605 maintainer-clean) \
4606 || exit 1
4608 @endif opcodes
4611 .PHONY: configure-binutils maybe-configure-binutils
4612 maybe-configure-binutils:
4613 @if binutils
4614 maybe-configure-binutils: configure-binutils
4615 configure-binutils:
4616 @test -f stage_last && exit 0; \
4617 test ! -f binutils/Makefile || exit 0; \
4618 [ -d binutils ] || mkdir binutils; \
4619 r=`${PWD_COMMAND}`; export r; \
4620 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4621 $(HOST_EXPORTS) \
4622 echo Configuring in binutils; \
4623 cd binutils || exit 1; \
4624 case $(srcdir) in \
4625 \.) \
4626 srcdiroption="--srcdir=."; \
4627 libsrcdir=".";; \
4628 /* | [A-Za-z]:[\\/]*) \
4629 srcdiroption="--srcdir=$(srcdir)/binutils"; \
4630 libsrcdir="$$s/binutils";; \
4631 *) \
4632 srcdiroption="--srcdir=../$(srcdir)/binutils"; \
4633 libsrcdir="$$s/binutils";; \
4634 esac; \
4635 $(SHELL) $${libsrcdir}/configure \
4636 $(HOST_CONFIGARGS) $${srcdiroption} \
4637 || exit 1
4638 @endif binutils
4640 .PHONY: all-binutils maybe-all-binutils
4641 maybe-all-binutils:
4642 @if binutils
4643 TARGET-binutils=all
4644 maybe-all-binutils: all-binutils
4645 all-binutils: configure-binutils
4646 @test -f stage_last && exit 0; \
4647 r=`${PWD_COMMAND}`; export r; \
4648 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4649 $(SET_LIB_PATH) \
4650 $(HOST_EXPORTS) \
4651 (cd binutils && $(MAKE) $(FLAGS_TO_PASS) \
4652 $(TARGET-binutils))
4653 @endif binutils
4655 .PHONY: check-binutils maybe-check-binutils
4656 maybe-check-binutils:
4657 @if binutils
4658 maybe-check-binutils: check-binutils
4660 check-binutils:
4661 @r=`${PWD_COMMAND}`; export r; \
4662 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4663 $(SET_LIB_PATH) \
4664 $(HOST_EXPORTS) \
4665 (cd binutils && $(MAKE) $(FLAGS_TO_PASS) check)
4667 @endif binutils
4669 .PHONY: install-binutils maybe-install-binutils
4670 maybe-install-binutils:
4671 @if binutils
4672 maybe-install-binutils: install-binutils
4674 install-binutils: installdirs
4675 @r=`${PWD_COMMAND}`; export r; \
4676 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4677 $(SET_LIB_PATH) \
4678 $(HOST_EXPORTS) \
4679 (cd binutils && $(MAKE) $(FLAGS_TO_PASS) install)
4681 @endif binutils
4683 # Other targets (info, dvi, etc.)
4685 .PHONY: maybe-info-binutils info-binutils
4686 maybe-info-binutils:
4687 @if binutils
4688 maybe-info-binutils: info-binutils
4690 info-binutils: \
4691 configure-binutils
4692 @[ -f ./binutils/Makefile ] || exit 0; \
4693 r=`${PWD_COMMAND}`; export r; \
4694 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4695 $(SET_LIB_PATH) \
4696 $(HOST_EXPORTS) \
4697 for flag in $(EXTRA_HOST_FLAGS) ; do \
4698 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4699 done; \
4700 echo "Doing info in binutils" ; \
4701 (cd binutils && \
4702 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4703 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4704 "RANLIB=$${RANLIB}" \
4705 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4706 info) \
4707 || exit 1
4709 @endif binutils
4711 .PHONY: maybe-dvi-binutils dvi-binutils
4712 maybe-dvi-binutils:
4713 @if binutils
4714 maybe-dvi-binutils: dvi-binutils
4716 dvi-binutils: \
4717 configure-binutils
4718 @[ -f ./binutils/Makefile ] || exit 0; \
4719 r=`${PWD_COMMAND}`; export r; \
4720 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4721 $(SET_LIB_PATH) \
4722 $(HOST_EXPORTS) \
4723 for flag in $(EXTRA_HOST_FLAGS) ; do \
4724 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4725 done; \
4726 echo "Doing dvi in binutils" ; \
4727 (cd binutils && \
4728 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4729 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4730 "RANLIB=$${RANLIB}" \
4731 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4732 dvi) \
4733 || exit 1
4735 @endif binutils
4737 .PHONY: maybe-html-binutils html-binutils
4738 maybe-html-binutils:
4739 @if binutils
4740 maybe-html-binutils: html-binutils
4742 html-binutils: \
4743 configure-binutils
4744 @[ -f ./binutils/Makefile ] || exit 0; \
4745 r=`${PWD_COMMAND}`; export r; \
4746 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4747 $(SET_LIB_PATH) \
4748 $(HOST_EXPORTS) \
4749 for flag in $(EXTRA_HOST_FLAGS) ; do \
4750 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4751 done; \
4752 echo "Doing html in binutils" ; \
4753 (cd binutils && \
4754 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4755 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4756 "RANLIB=$${RANLIB}" \
4757 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4758 html) \
4759 || exit 1
4761 @endif binutils
4763 .PHONY: maybe-TAGS-binutils TAGS-binutils
4764 maybe-TAGS-binutils:
4765 @if binutils
4766 maybe-TAGS-binutils: TAGS-binutils
4768 TAGS-binutils: \
4769 configure-binutils
4770 @[ -f ./binutils/Makefile ] || exit 0; \
4771 r=`${PWD_COMMAND}`; export r; \
4772 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4773 $(SET_LIB_PATH) \
4774 $(HOST_EXPORTS) \
4775 for flag in $(EXTRA_HOST_FLAGS) ; do \
4776 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4777 done; \
4778 echo "Doing TAGS in binutils" ; \
4779 (cd binutils && \
4780 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4781 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4782 "RANLIB=$${RANLIB}" \
4783 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4784 TAGS) \
4785 || exit 1
4787 @endif binutils
4789 .PHONY: maybe-install-info-binutils install-info-binutils
4790 maybe-install-info-binutils:
4791 @if binutils
4792 maybe-install-info-binutils: install-info-binutils
4794 install-info-binutils: \
4795 configure-binutils \
4796 info-binutils
4797 @[ -f ./binutils/Makefile ] || exit 0; \
4798 r=`${PWD_COMMAND}`; export r; \
4799 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4800 $(SET_LIB_PATH) \
4801 $(HOST_EXPORTS) \
4802 for flag in $(EXTRA_HOST_FLAGS) ; do \
4803 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4804 done; \
4805 echo "Doing install-info in binutils" ; \
4806 (cd binutils && \
4807 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4808 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4809 "RANLIB=$${RANLIB}" \
4810 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4811 install-info) \
4812 || exit 1
4814 @endif binutils
4816 .PHONY: maybe-installcheck-binutils installcheck-binutils
4817 maybe-installcheck-binutils:
4818 @if binutils
4819 maybe-installcheck-binutils: installcheck-binutils
4821 installcheck-binutils: \
4822 configure-binutils
4823 @[ -f ./binutils/Makefile ] || exit 0; \
4824 r=`${PWD_COMMAND}`; export r; \
4825 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4826 $(SET_LIB_PATH) \
4827 $(HOST_EXPORTS) \
4828 for flag in $(EXTRA_HOST_FLAGS) ; do \
4829 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4830 done; \
4831 echo "Doing installcheck in binutils" ; \
4832 (cd binutils && \
4833 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4834 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4835 "RANLIB=$${RANLIB}" \
4836 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4837 installcheck) \
4838 || exit 1
4840 @endif binutils
4842 .PHONY: maybe-mostlyclean-binutils mostlyclean-binutils
4843 maybe-mostlyclean-binutils:
4844 @if binutils
4845 maybe-mostlyclean-binutils: mostlyclean-binutils
4847 mostlyclean-binutils:
4848 @[ -f ./binutils/Makefile ] || exit 0; \
4849 r=`${PWD_COMMAND}`; export r; \
4850 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4851 $(SET_LIB_PATH) \
4852 $(HOST_EXPORTS) \
4853 for flag in $(EXTRA_HOST_FLAGS) ; do \
4854 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4855 done; \
4856 echo "Doing mostlyclean in binutils" ; \
4857 (cd binutils && \
4858 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4859 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4860 "RANLIB=$${RANLIB}" \
4861 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4862 mostlyclean) \
4863 || exit 1
4865 @endif binutils
4867 .PHONY: maybe-clean-binutils clean-binutils
4868 maybe-clean-binutils:
4869 @if binutils
4870 maybe-clean-binutils: clean-binutils
4872 clean-binutils:
4873 @[ -f ./binutils/Makefile ] || exit 0; \
4874 r=`${PWD_COMMAND}`; export r; \
4875 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4876 $(SET_LIB_PATH) \
4877 $(HOST_EXPORTS) \
4878 for flag in $(EXTRA_HOST_FLAGS) ; do \
4879 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4880 done; \
4881 echo "Doing clean in binutils" ; \
4882 (cd binutils && \
4883 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4884 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4885 "RANLIB=$${RANLIB}" \
4886 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4887 clean) \
4888 || exit 1
4890 @endif binutils
4892 .PHONY: maybe-distclean-binutils distclean-binutils
4893 maybe-distclean-binutils:
4894 @if binutils
4895 maybe-distclean-binutils: distclean-binutils
4897 distclean-binutils:
4898 @[ -f ./binutils/Makefile ] || exit 0; \
4899 r=`${PWD_COMMAND}`; export r; \
4900 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4901 $(SET_LIB_PATH) \
4902 $(HOST_EXPORTS) \
4903 for flag in $(EXTRA_HOST_FLAGS) ; do \
4904 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4905 done; \
4906 echo "Doing distclean in binutils" ; \
4907 (cd binutils && \
4908 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4909 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4910 "RANLIB=$${RANLIB}" \
4911 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4912 distclean) \
4913 || exit 1
4915 @endif binutils
4917 .PHONY: maybe-maintainer-clean-binutils maintainer-clean-binutils
4918 maybe-maintainer-clean-binutils:
4919 @if binutils
4920 maybe-maintainer-clean-binutils: maintainer-clean-binutils
4922 maintainer-clean-binutils:
4923 @[ -f ./binutils/Makefile ] || exit 0; \
4924 r=`${PWD_COMMAND}`; export r; \
4925 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4926 $(SET_LIB_PATH) \
4927 $(HOST_EXPORTS) \
4928 for flag in $(EXTRA_HOST_FLAGS) ; do \
4929 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4930 done; \
4931 echo "Doing maintainer-clean in binutils" ; \
4932 (cd binutils && \
4933 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4934 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4935 "RANLIB=$${RANLIB}" \
4936 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4937 maintainer-clean) \
4938 || exit 1
4940 @endif binutils
4943 .PHONY: configure-bison maybe-configure-bison
4944 maybe-configure-bison:
4945 @if bison
4946 maybe-configure-bison: configure-bison
4947 configure-bison:
4948 @test ! -f bison/Makefile || exit 0; \
4949 [ -d bison ] || mkdir bison; \
4950 r=`${PWD_COMMAND}`; export r; \
4951 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4952 $(HOST_EXPORTS) \
4953 echo Configuring in bison; \
4954 cd bison || exit 1; \
4955 case $(srcdir) in \
4956 \.) \
4957 srcdiroption="--srcdir=."; \
4958 libsrcdir=".";; \
4959 /* | [A-Za-z]:[\\/]*) \
4960 srcdiroption="--srcdir=$(srcdir)/bison"; \
4961 libsrcdir="$$s/bison";; \
4962 *) \
4963 srcdiroption="--srcdir=../$(srcdir)/bison"; \
4964 libsrcdir="$$s/bison";; \
4965 esac; \
4966 $(SHELL) $${libsrcdir}/configure \
4967 $(HOST_CONFIGARGS) $${srcdiroption} \
4968 || exit 1
4969 @endif bison
4971 .PHONY: all-bison maybe-all-bison
4972 maybe-all-bison:
4973 @if bison
4974 TARGET-bison=all
4975 maybe-all-bison: all-bison
4976 all-bison: configure-bison
4977 @r=`${PWD_COMMAND}`; export r; \
4978 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4979 $(SET_LIB_PATH) \
4980 $(HOST_EXPORTS) \
4981 (cd bison && $(MAKE) $(FLAGS_TO_PASS) \
4982 $(TARGET-bison))
4983 @endif bison
4985 .PHONY: check-bison maybe-check-bison
4986 maybe-check-bison:
4987 @if bison
4988 maybe-check-bison: check-bison
4990 # This module is only tested in a native toolchain.
4991 check-bison:
4992 @if [ '$(host)' = '$(target)' ] ; then \
4993 r=`${PWD_COMMAND}`; export r; \
4994 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4995 $(SET_LIB_PATH) \
4996 $(HOST_EXPORTS) \
4997 (cd bison && $(MAKE) $(FLAGS_TO_PASS) check); \
5000 @endif bison
5002 .PHONY: install-bison maybe-install-bison
5003 maybe-install-bison:
5004 @if bison
5005 maybe-install-bison: install-bison
5007 install-bison: installdirs
5008 @r=`${PWD_COMMAND}`; export r; \
5009 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5010 $(SET_LIB_PATH) \
5011 $(HOST_EXPORTS) \
5012 (cd bison && $(MAKE) $(FLAGS_TO_PASS) install)
5014 @endif bison
5016 # Other targets (info, dvi, etc.)
5018 .PHONY: maybe-info-bison info-bison
5019 maybe-info-bison:
5020 @if bison
5021 maybe-info-bison: info-bison
5023 info-bison: \
5024 configure-bison
5025 @[ -f ./bison/Makefile ] || exit 0; \
5026 r=`${PWD_COMMAND}`; export r; \
5027 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5028 $(SET_LIB_PATH) \
5029 $(HOST_EXPORTS) \
5030 for flag in $(EXTRA_HOST_FLAGS) ; do \
5031 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5032 done; \
5033 echo "Doing info in bison" ; \
5034 (cd bison && \
5035 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5036 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5037 "RANLIB=$${RANLIB}" \
5038 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5039 info) \
5040 || exit 1
5042 @endif bison
5044 .PHONY: maybe-dvi-bison dvi-bison
5045 maybe-dvi-bison:
5046 @if bison
5047 maybe-dvi-bison: dvi-bison
5049 dvi-bison: \
5050 configure-bison
5051 @[ -f ./bison/Makefile ] || exit 0; \
5052 r=`${PWD_COMMAND}`; export r; \
5053 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5054 $(SET_LIB_PATH) \
5055 $(HOST_EXPORTS) \
5056 for flag in $(EXTRA_HOST_FLAGS) ; do \
5057 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5058 done; \
5059 echo "Doing dvi in bison" ; \
5060 (cd bison && \
5061 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5062 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5063 "RANLIB=$${RANLIB}" \
5064 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5065 dvi) \
5066 || exit 1
5068 @endif bison
5070 .PHONY: maybe-html-bison html-bison
5071 maybe-html-bison:
5072 @if bison
5073 maybe-html-bison: html-bison
5075 html-bison: \
5076 configure-bison
5077 @[ -f ./bison/Makefile ] || exit 0; \
5078 r=`${PWD_COMMAND}`; export r; \
5079 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5080 $(SET_LIB_PATH) \
5081 $(HOST_EXPORTS) \
5082 for flag in $(EXTRA_HOST_FLAGS) ; do \
5083 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5084 done; \
5085 echo "Doing html in bison" ; \
5086 (cd bison && \
5087 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5088 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5089 "RANLIB=$${RANLIB}" \
5090 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5091 html) \
5092 || exit 1
5094 @endif bison
5096 .PHONY: maybe-TAGS-bison TAGS-bison
5097 maybe-TAGS-bison:
5098 @if bison
5099 maybe-TAGS-bison: TAGS-bison
5101 TAGS-bison: \
5102 configure-bison
5103 @[ -f ./bison/Makefile ] || exit 0; \
5104 r=`${PWD_COMMAND}`; export r; \
5105 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5106 $(SET_LIB_PATH) \
5107 $(HOST_EXPORTS) \
5108 for flag in $(EXTRA_HOST_FLAGS) ; do \
5109 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5110 done; \
5111 echo "Doing TAGS in bison" ; \
5112 (cd bison && \
5113 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5114 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5115 "RANLIB=$${RANLIB}" \
5116 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5117 TAGS) \
5118 || exit 1
5120 @endif bison
5122 .PHONY: maybe-install-info-bison install-info-bison
5123 maybe-install-info-bison:
5124 @if bison
5125 maybe-install-info-bison: install-info-bison
5127 install-info-bison: \
5128 configure-bison \
5129 info-bison
5130 @[ -f ./bison/Makefile ] || exit 0; \
5131 r=`${PWD_COMMAND}`; export r; \
5132 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5133 $(SET_LIB_PATH) \
5134 $(HOST_EXPORTS) \
5135 for flag in $(EXTRA_HOST_FLAGS) ; do \
5136 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5137 done; \
5138 echo "Doing install-info in bison" ; \
5139 (cd bison && \
5140 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5141 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5142 "RANLIB=$${RANLIB}" \
5143 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5144 install-info) \
5145 || exit 1
5147 @endif bison
5149 .PHONY: maybe-installcheck-bison installcheck-bison
5150 maybe-installcheck-bison:
5151 @if bison
5152 maybe-installcheck-bison: installcheck-bison
5154 installcheck-bison: \
5155 configure-bison
5156 @[ -f ./bison/Makefile ] || exit 0; \
5157 r=`${PWD_COMMAND}`; export r; \
5158 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5159 $(SET_LIB_PATH) \
5160 $(HOST_EXPORTS) \
5161 for flag in $(EXTRA_HOST_FLAGS) ; do \
5162 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5163 done; \
5164 echo "Doing installcheck in bison" ; \
5165 (cd bison && \
5166 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5167 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5168 "RANLIB=$${RANLIB}" \
5169 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5170 installcheck) \
5171 || exit 1
5173 @endif bison
5175 .PHONY: maybe-mostlyclean-bison mostlyclean-bison
5176 maybe-mostlyclean-bison:
5177 @if bison
5178 maybe-mostlyclean-bison: mostlyclean-bison
5180 mostlyclean-bison:
5181 @[ -f ./bison/Makefile ] || exit 0; \
5182 r=`${PWD_COMMAND}`; export r; \
5183 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5184 $(SET_LIB_PATH) \
5185 $(HOST_EXPORTS) \
5186 for flag in $(EXTRA_HOST_FLAGS) ; do \
5187 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5188 done; \
5189 echo "Doing mostlyclean in bison" ; \
5190 (cd bison && \
5191 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5192 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5193 "RANLIB=$${RANLIB}" \
5194 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5195 mostlyclean) \
5196 || exit 1
5198 @endif bison
5200 .PHONY: maybe-clean-bison clean-bison
5201 maybe-clean-bison:
5202 @if bison
5203 maybe-clean-bison: clean-bison
5205 clean-bison:
5206 @[ -f ./bison/Makefile ] || exit 0; \
5207 r=`${PWD_COMMAND}`; export r; \
5208 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5209 $(SET_LIB_PATH) \
5210 $(HOST_EXPORTS) \
5211 for flag in $(EXTRA_HOST_FLAGS) ; do \
5212 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5213 done; \
5214 echo "Doing clean in bison" ; \
5215 (cd bison && \
5216 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5217 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5218 "RANLIB=$${RANLIB}" \
5219 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5220 clean) \
5221 || exit 1
5223 @endif bison
5225 .PHONY: maybe-distclean-bison distclean-bison
5226 maybe-distclean-bison:
5227 @if bison
5228 maybe-distclean-bison: distclean-bison
5230 distclean-bison:
5231 @[ -f ./bison/Makefile ] || exit 0; \
5232 r=`${PWD_COMMAND}`; export r; \
5233 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5234 $(SET_LIB_PATH) \
5235 $(HOST_EXPORTS) \
5236 for flag in $(EXTRA_HOST_FLAGS) ; do \
5237 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5238 done; \
5239 echo "Doing distclean in bison" ; \
5240 (cd bison && \
5241 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5242 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5243 "RANLIB=$${RANLIB}" \
5244 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5245 distclean) \
5246 || exit 1
5248 @endif bison
5250 .PHONY: maybe-maintainer-clean-bison maintainer-clean-bison
5251 maybe-maintainer-clean-bison:
5252 @if bison
5253 maybe-maintainer-clean-bison: maintainer-clean-bison
5255 maintainer-clean-bison:
5256 @[ -f ./bison/Makefile ] || exit 0; \
5257 r=`${PWD_COMMAND}`; export r; \
5258 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5259 $(SET_LIB_PATH) \
5260 $(HOST_EXPORTS) \
5261 for flag in $(EXTRA_HOST_FLAGS) ; do \
5262 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5263 done; \
5264 echo "Doing maintainer-clean in bison" ; \
5265 (cd bison && \
5266 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5267 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5268 "RANLIB=$${RANLIB}" \
5269 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5270 maintainer-clean) \
5271 || exit 1
5273 @endif bison
5276 .PHONY: configure-byacc maybe-configure-byacc
5277 maybe-configure-byacc:
5278 @if byacc
5279 maybe-configure-byacc: configure-byacc
5280 configure-byacc:
5281 @test ! -f byacc/Makefile || exit 0; \
5282 [ -d byacc ] || mkdir byacc; \
5283 r=`${PWD_COMMAND}`; export r; \
5284 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5285 $(HOST_EXPORTS) \
5286 echo Configuring in byacc; \
5287 cd byacc || exit 1; \
5288 case $(srcdir) in \
5289 \.) \
5290 srcdiroption="--srcdir=."; \
5291 libsrcdir=".";; \
5292 /* | [A-Za-z]:[\\/]*) \
5293 srcdiroption="--srcdir=$(srcdir)/byacc"; \
5294 libsrcdir="$$s/byacc";; \
5295 *) \
5296 srcdiroption="--srcdir=../$(srcdir)/byacc"; \
5297 libsrcdir="$$s/byacc";; \
5298 esac; \
5299 $(SHELL) $${libsrcdir}/configure \
5300 $(HOST_CONFIGARGS) $${srcdiroption} \
5301 || exit 1
5302 @endif byacc
5304 .PHONY: all-byacc maybe-all-byacc
5305 maybe-all-byacc:
5306 @if byacc
5307 TARGET-byacc=all
5308 maybe-all-byacc: all-byacc
5309 all-byacc: configure-byacc
5310 @r=`${PWD_COMMAND}`; export r; \
5311 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5312 $(SET_LIB_PATH) \
5313 $(HOST_EXPORTS) \
5314 (cd byacc && $(MAKE) $(FLAGS_TO_PASS) \
5315 $(TARGET-byacc))
5316 @endif byacc
5318 .PHONY: check-byacc maybe-check-byacc
5319 maybe-check-byacc:
5320 @if byacc
5321 maybe-check-byacc: check-byacc
5323 # This module is only tested in a native toolchain.
5324 check-byacc:
5325 @if [ '$(host)' = '$(target)' ] ; then \
5326 r=`${PWD_COMMAND}`; export r; \
5327 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5328 $(SET_LIB_PATH) \
5329 $(HOST_EXPORTS) \
5330 (cd byacc && $(MAKE) $(FLAGS_TO_PASS) check); \
5333 @endif byacc
5335 .PHONY: install-byacc maybe-install-byacc
5336 maybe-install-byacc:
5337 @if byacc
5338 maybe-install-byacc: install-byacc
5340 install-byacc: installdirs
5341 @r=`${PWD_COMMAND}`; export r; \
5342 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5343 $(SET_LIB_PATH) \
5344 $(HOST_EXPORTS) \
5345 (cd byacc && $(MAKE) $(FLAGS_TO_PASS) install)
5347 @endif byacc
5349 # Other targets (info, dvi, etc.)
5351 .PHONY: maybe-info-byacc info-byacc
5352 maybe-info-byacc:
5353 @if byacc
5354 maybe-info-byacc: info-byacc
5356 info-byacc: \
5357 configure-byacc
5358 @[ -f ./byacc/Makefile ] || exit 0; \
5359 r=`${PWD_COMMAND}`; export r; \
5360 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5361 $(SET_LIB_PATH) \
5362 $(HOST_EXPORTS) \
5363 for flag in $(EXTRA_HOST_FLAGS) ; do \
5364 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5365 done; \
5366 echo "Doing info in byacc" ; \
5367 (cd byacc && \
5368 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5369 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5370 "RANLIB=$${RANLIB}" \
5371 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5372 info) \
5373 || exit 1
5375 @endif byacc
5377 .PHONY: maybe-dvi-byacc dvi-byacc
5378 maybe-dvi-byacc:
5379 @if byacc
5380 maybe-dvi-byacc: dvi-byacc
5382 dvi-byacc: \
5383 configure-byacc
5384 @[ -f ./byacc/Makefile ] || exit 0; \
5385 r=`${PWD_COMMAND}`; export r; \
5386 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5387 $(SET_LIB_PATH) \
5388 $(HOST_EXPORTS) \
5389 for flag in $(EXTRA_HOST_FLAGS) ; do \
5390 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5391 done; \
5392 echo "Doing dvi in byacc" ; \
5393 (cd byacc && \
5394 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5395 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5396 "RANLIB=$${RANLIB}" \
5397 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5398 dvi) \
5399 || exit 1
5401 @endif byacc
5403 .PHONY: maybe-html-byacc html-byacc
5404 maybe-html-byacc:
5405 @if byacc
5406 maybe-html-byacc: html-byacc
5408 html-byacc: \
5409 configure-byacc
5410 @[ -f ./byacc/Makefile ] || exit 0; \
5411 r=`${PWD_COMMAND}`; export r; \
5412 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5413 $(SET_LIB_PATH) \
5414 $(HOST_EXPORTS) \
5415 for flag in $(EXTRA_HOST_FLAGS) ; do \
5416 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5417 done; \
5418 echo "Doing html in byacc" ; \
5419 (cd byacc && \
5420 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5421 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5422 "RANLIB=$${RANLIB}" \
5423 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5424 html) \
5425 || exit 1
5427 @endif byacc
5429 .PHONY: maybe-TAGS-byacc TAGS-byacc
5430 maybe-TAGS-byacc:
5431 @if byacc
5432 maybe-TAGS-byacc: TAGS-byacc
5434 TAGS-byacc: \
5435 configure-byacc
5436 @[ -f ./byacc/Makefile ] || exit 0; \
5437 r=`${PWD_COMMAND}`; export r; \
5438 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5439 $(SET_LIB_PATH) \
5440 $(HOST_EXPORTS) \
5441 for flag in $(EXTRA_HOST_FLAGS) ; do \
5442 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5443 done; \
5444 echo "Doing TAGS in byacc" ; \
5445 (cd byacc && \
5446 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5447 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5448 "RANLIB=$${RANLIB}" \
5449 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5450 TAGS) \
5451 || exit 1
5453 @endif byacc
5455 .PHONY: maybe-install-info-byacc install-info-byacc
5456 maybe-install-info-byacc:
5457 @if byacc
5458 maybe-install-info-byacc: install-info-byacc
5460 install-info-byacc: \
5461 configure-byacc \
5462 info-byacc
5463 @[ -f ./byacc/Makefile ] || exit 0; \
5464 r=`${PWD_COMMAND}`; export r; \
5465 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5466 $(SET_LIB_PATH) \
5467 $(HOST_EXPORTS) \
5468 for flag in $(EXTRA_HOST_FLAGS) ; do \
5469 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5470 done; \
5471 echo "Doing install-info in byacc" ; \
5472 (cd byacc && \
5473 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5474 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5475 "RANLIB=$${RANLIB}" \
5476 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5477 install-info) \
5478 || exit 1
5480 @endif byacc
5482 .PHONY: maybe-installcheck-byacc installcheck-byacc
5483 maybe-installcheck-byacc:
5484 @if byacc
5485 maybe-installcheck-byacc: installcheck-byacc
5487 installcheck-byacc: \
5488 configure-byacc
5489 @[ -f ./byacc/Makefile ] || exit 0; \
5490 r=`${PWD_COMMAND}`; export r; \
5491 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5492 $(SET_LIB_PATH) \
5493 $(HOST_EXPORTS) \
5494 for flag in $(EXTRA_HOST_FLAGS) ; do \
5495 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5496 done; \
5497 echo "Doing installcheck in byacc" ; \
5498 (cd byacc && \
5499 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5500 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5501 "RANLIB=$${RANLIB}" \
5502 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5503 installcheck) \
5504 || exit 1
5506 @endif byacc
5508 .PHONY: maybe-mostlyclean-byacc mostlyclean-byacc
5509 maybe-mostlyclean-byacc:
5510 @if byacc
5511 maybe-mostlyclean-byacc: mostlyclean-byacc
5513 mostlyclean-byacc:
5514 @[ -f ./byacc/Makefile ] || exit 0; \
5515 r=`${PWD_COMMAND}`; export r; \
5516 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5517 $(SET_LIB_PATH) \
5518 $(HOST_EXPORTS) \
5519 for flag in $(EXTRA_HOST_FLAGS) ; do \
5520 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5521 done; \
5522 echo "Doing mostlyclean in byacc" ; \
5523 (cd byacc && \
5524 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5525 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5526 "RANLIB=$${RANLIB}" \
5527 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5528 mostlyclean) \
5529 || exit 1
5531 @endif byacc
5533 .PHONY: maybe-clean-byacc clean-byacc
5534 maybe-clean-byacc:
5535 @if byacc
5536 maybe-clean-byacc: clean-byacc
5538 clean-byacc:
5539 @[ -f ./byacc/Makefile ] || exit 0; \
5540 r=`${PWD_COMMAND}`; export r; \
5541 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5542 $(SET_LIB_PATH) \
5543 $(HOST_EXPORTS) \
5544 for flag in $(EXTRA_HOST_FLAGS) ; do \
5545 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5546 done; \
5547 echo "Doing clean in byacc" ; \
5548 (cd byacc && \
5549 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5550 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5551 "RANLIB=$${RANLIB}" \
5552 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5553 clean) \
5554 || exit 1
5556 @endif byacc
5558 .PHONY: maybe-distclean-byacc distclean-byacc
5559 maybe-distclean-byacc:
5560 @if byacc
5561 maybe-distclean-byacc: distclean-byacc
5563 distclean-byacc:
5564 @[ -f ./byacc/Makefile ] || exit 0; \
5565 r=`${PWD_COMMAND}`; export r; \
5566 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5567 $(SET_LIB_PATH) \
5568 $(HOST_EXPORTS) \
5569 for flag in $(EXTRA_HOST_FLAGS) ; do \
5570 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5571 done; \
5572 echo "Doing distclean in byacc" ; \
5573 (cd byacc && \
5574 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5575 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5576 "RANLIB=$${RANLIB}" \
5577 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5578 distclean) \
5579 || exit 1
5581 @endif byacc
5583 .PHONY: maybe-maintainer-clean-byacc maintainer-clean-byacc
5584 maybe-maintainer-clean-byacc:
5585 @if byacc
5586 maybe-maintainer-clean-byacc: maintainer-clean-byacc
5588 maintainer-clean-byacc:
5589 @[ -f ./byacc/Makefile ] || exit 0; \
5590 r=`${PWD_COMMAND}`; export r; \
5591 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5592 $(SET_LIB_PATH) \
5593 $(HOST_EXPORTS) \
5594 for flag in $(EXTRA_HOST_FLAGS) ; do \
5595 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5596 done; \
5597 echo "Doing maintainer-clean in byacc" ; \
5598 (cd byacc && \
5599 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5600 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5601 "RANLIB=$${RANLIB}" \
5602 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5603 maintainer-clean) \
5604 || exit 1
5606 @endif byacc
5609 .PHONY: configure-bzip2 maybe-configure-bzip2
5610 maybe-configure-bzip2:
5611 @if bzip2
5612 maybe-configure-bzip2: configure-bzip2
5613 configure-bzip2:
5614 @test ! -f bzip2/Makefile || exit 0; \
5615 [ -d bzip2 ] || mkdir bzip2; \
5616 r=`${PWD_COMMAND}`; export r; \
5617 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5618 $(HOST_EXPORTS) \
5619 echo Configuring in bzip2; \
5620 cd bzip2 || exit 1; \
5621 case $(srcdir) in \
5622 \.) \
5623 srcdiroption="--srcdir=."; \
5624 libsrcdir=".";; \
5625 /* | [A-Za-z]:[\\/]*) \
5626 srcdiroption="--srcdir=$(srcdir)/bzip2"; \
5627 libsrcdir="$$s/bzip2";; \
5628 *) \
5629 srcdiroption="--srcdir=../$(srcdir)/bzip2"; \
5630 libsrcdir="$$s/bzip2";; \
5631 esac; \
5632 $(SHELL) $${libsrcdir}/configure \
5633 $(HOST_CONFIGARGS) $${srcdiroption} \
5634 || exit 1
5635 @endif bzip2
5637 .PHONY: all-bzip2 maybe-all-bzip2
5638 maybe-all-bzip2:
5639 @if bzip2
5640 TARGET-bzip2=all
5641 maybe-all-bzip2: all-bzip2
5642 all-bzip2: configure-bzip2
5643 @r=`${PWD_COMMAND}`; export r; \
5644 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5645 $(SET_LIB_PATH) \
5646 $(HOST_EXPORTS) \
5647 (cd bzip2 && $(MAKE) $(FLAGS_TO_PASS) \
5648 $(TARGET-bzip2))
5649 @endif bzip2
5651 .PHONY: check-bzip2 maybe-check-bzip2
5652 maybe-check-bzip2:
5653 @if bzip2
5654 maybe-check-bzip2: check-bzip2
5656 check-bzip2:
5657 @r=`${PWD_COMMAND}`; export r; \
5658 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5659 $(SET_LIB_PATH) \
5660 $(HOST_EXPORTS) \
5661 (cd bzip2 && $(MAKE) $(FLAGS_TO_PASS) check)
5663 @endif bzip2
5665 .PHONY: install-bzip2 maybe-install-bzip2
5666 maybe-install-bzip2:
5667 @if bzip2
5668 maybe-install-bzip2: install-bzip2
5670 install-bzip2: installdirs
5671 @r=`${PWD_COMMAND}`; export r; \
5672 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5673 $(SET_LIB_PATH) \
5674 $(HOST_EXPORTS) \
5675 (cd bzip2 && $(MAKE) $(FLAGS_TO_PASS) install)
5677 @endif bzip2
5679 # Other targets (info, dvi, etc.)
5681 .PHONY: maybe-info-bzip2 info-bzip2
5682 maybe-info-bzip2:
5683 @if bzip2
5684 maybe-info-bzip2: info-bzip2
5686 info-bzip2: \
5687 configure-bzip2
5688 @[ -f ./bzip2/Makefile ] || exit 0; \
5689 r=`${PWD_COMMAND}`; export r; \
5690 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5691 $(SET_LIB_PATH) \
5692 $(HOST_EXPORTS) \
5693 for flag in $(EXTRA_HOST_FLAGS) ; do \
5694 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5695 done; \
5696 echo "Doing info in bzip2" ; \
5697 (cd bzip2 && \
5698 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5699 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5700 "RANLIB=$${RANLIB}" \
5701 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5702 info) \
5703 || exit 1
5705 @endif bzip2
5707 .PHONY: maybe-dvi-bzip2 dvi-bzip2
5708 maybe-dvi-bzip2:
5709 @if bzip2
5710 maybe-dvi-bzip2: dvi-bzip2
5712 dvi-bzip2: \
5713 configure-bzip2
5714 @[ -f ./bzip2/Makefile ] || exit 0; \
5715 r=`${PWD_COMMAND}`; export r; \
5716 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5717 $(SET_LIB_PATH) \
5718 $(HOST_EXPORTS) \
5719 for flag in $(EXTRA_HOST_FLAGS) ; do \
5720 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5721 done; \
5722 echo "Doing dvi in bzip2" ; \
5723 (cd bzip2 && \
5724 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5725 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5726 "RANLIB=$${RANLIB}" \
5727 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5728 dvi) \
5729 || exit 1
5731 @endif bzip2
5733 .PHONY: maybe-html-bzip2 html-bzip2
5734 maybe-html-bzip2:
5735 @if bzip2
5736 maybe-html-bzip2: html-bzip2
5738 html-bzip2: \
5739 configure-bzip2
5740 @[ -f ./bzip2/Makefile ] || exit 0; \
5741 r=`${PWD_COMMAND}`; export r; \
5742 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5743 $(SET_LIB_PATH) \
5744 $(HOST_EXPORTS) \
5745 for flag in $(EXTRA_HOST_FLAGS) ; do \
5746 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5747 done; \
5748 echo "Doing html in bzip2" ; \
5749 (cd bzip2 && \
5750 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5751 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5752 "RANLIB=$${RANLIB}" \
5753 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5754 html) \
5755 || exit 1
5757 @endif bzip2
5759 .PHONY: maybe-TAGS-bzip2 TAGS-bzip2
5760 maybe-TAGS-bzip2:
5761 @if bzip2
5762 maybe-TAGS-bzip2: TAGS-bzip2
5764 TAGS-bzip2: \
5765 configure-bzip2
5766 @[ -f ./bzip2/Makefile ] || exit 0; \
5767 r=`${PWD_COMMAND}`; export r; \
5768 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5769 $(SET_LIB_PATH) \
5770 $(HOST_EXPORTS) \
5771 for flag in $(EXTRA_HOST_FLAGS) ; do \
5772 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5773 done; \
5774 echo "Doing TAGS in bzip2" ; \
5775 (cd bzip2 && \
5776 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5777 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5778 "RANLIB=$${RANLIB}" \
5779 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5780 TAGS) \
5781 || exit 1
5783 @endif bzip2
5785 .PHONY: maybe-install-info-bzip2 install-info-bzip2
5786 maybe-install-info-bzip2:
5787 @if bzip2
5788 maybe-install-info-bzip2: install-info-bzip2
5790 install-info-bzip2: \
5791 configure-bzip2 \
5792 info-bzip2
5793 @[ -f ./bzip2/Makefile ] || exit 0; \
5794 r=`${PWD_COMMAND}`; export r; \
5795 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5796 $(SET_LIB_PATH) \
5797 $(HOST_EXPORTS) \
5798 for flag in $(EXTRA_HOST_FLAGS) ; do \
5799 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5800 done; \
5801 echo "Doing install-info in bzip2" ; \
5802 (cd bzip2 && \
5803 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5804 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5805 "RANLIB=$${RANLIB}" \
5806 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5807 install-info) \
5808 || exit 1
5810 @endif bzip2
5812 .PHONY: maybe-installcheck-bzip2 installcheck-bzip2
5813 maybe-installcheck-bzip2:
5814 @if bzip2
5815 maybe-installcheck-bzip2: installcheck-bzip2
5817 installcheck-bzip2: \
5818 configure-bzip2
5819 @[ -f ./bzip2/Makefile ] || exit 0; \
5820 r=`${PWD_COMMAND}`; export r; \
5821 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5822 $(SET_LIB_PATH) \
5823 $(HOST_EXPORTS) \
5824 for flag in $(EXTRA_HOST_FLAGS) ; do \
5825 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5826 done; \
5827 echo "Doing installcheck in bzip2" ; \
5828 (cd bzip2 && \
5829 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5830 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5831 "RANLIB=$${RANLIB}" \
5832 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5833 installcheck) \
5834 || exit 1
5836 @endif bzip2
5838 .PHONY: maybe-mostlyclean-bzip2 mostlyclean-bzip2
5839 maybe-mostlyclean-bzip2:
5840 @if bzip2
5841 maybe-mostlyclean-bzip2: mostlyclean-bzip2
5843 mostlyclean-bzip2:
5844 @[ -f ./bzip2/Makefile ] || exit 0; \
5845 r=`${PWD_COMMAND}`; export r; \
5846 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5847 $(SET_LIB_PATH) \
5848 $(HOST_EXPORTS) \
5849 for flag in $(EXTRA_HOST_FLAGS) ; do \
5850 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5851 done; \
5852 echo "Doing mostlyclean in bzip2" ; \
5853 (cd bzip2 && \
5854 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5855 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5856 "RANLIB=$${RANLIB}" \
5857 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5858 mostlyclean) \
5859 || exit 1
5861 @endif bzip2
5863 .PHONY: maybe-clean-bzip2 clean-bzip2
5864 maybe-clean-bzip2:
5865 @if bzip2
5866 maybe-clean-bzip2: clean-bzip2
5868 clean-bzip2:
5869 @[ -f ./bzip2/Makefile ] || exit 0; \
5870 r=`${PWD_COMMAND}`; export r; \
5871 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5872 $(SET_LIB_PATH) \
5873 $(HOST_EXPORTS) \
5874 for flag in $(EXTRA_HOST_FLAGS) ; do \
5875 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5876 done; \
5877 echo "Doing clean in bzip2" ; \
5878 (cd bzip2 && \
5879 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5880 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5881 "RANLIB=$${RANLIB}" \
5882 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5883 clean) \
5884 || exit 1
5886 @endif bzip2
5888 .PHONY: maybe-distclean-bzip2 distclean-bzip2
5889 maybe-distclean-bzip2:
5890 @if bzip2
5891 maybe-distclean-bzip2: distclean-bzip2
5893 distclean-bzip2:
5894 @[ -f ./bzip2/Makefile ] || exit 0; \
5895 r=`${PWD_COMMAND}`; export r; \
5896 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5897 $(SET_LIB_PATH) \
5898 $(HOST_EXPORTS) \
5899 for flag in $(EXTRA_HOST_FLAGS) ; do \
5900 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5901 done; \
5902 echo "Doing distclean in bzip2" ; \
5903 (cd bzip2 && \
5904 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5905 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5906 "RANLIB=$${RANLIB}" \
5907 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5908 distclean) \
5909 || exit 1
5911 @endif bzip2
5913 .PHONY: maybe-maintainer-clean-bzip2 maintainer-clean-bzip2
5914 maybe-maintainer-clean-bzip2:
5915 @if bzip2
5916 maybe-maintainer-clean-bzip2: maintainer-clean-bzip2
5918 maintainer-clean-bzip2:
5919 @[ -f ./bzip2/Makefile ] || exit 0; \
5920 r=`${PWD_COMMAND}`; export r; \
5921 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5922 $(SET_LIB_PATH) \
5923 $(HOST_EXPORTS) \
5924 for flag in $(EXTRA_HOST_FLAGS) ; do \
5925 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5926 done; \
5927 echo "Doing maintainer-clean in bzip2" ; \
5928 (cd bzip2 && \
5929 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5930 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5931 "RANLIB=$${RANLIB}" \
5932 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5933 maintainer-clean) \
5934 || exit 1
5936 @endif bzip2
5939 .PHONY: configure-dejagnu maybe-configure-dejagnu
5940 maybe-configure-dejagnu:
5941 @if dejagnu
5942 maybe-configure-dejagnu: configure-dejagnu
5943 configure-dejagnu:
5944 @test ! -f dejagnu/Makefile || exit 0; \
5945 [ -d dejagnu ] || mkdir dejagnu; \
5946 r=`${PWD_COMMAND}`; export r; \
5947 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5948 $(HOST_EXPORTS) \
5949 echo Configuring in dejagnu; \
5950 cd dejagnu || exit 1; \
5951 case $(srcdir) in \
5952 \.) \
5953 srcdiroption="--srcdir=."; \
5954 libsrcdir=".";; \
5955 /* | [A-Za-z]:[\\/]*) \
5956 srcdiroption="--srcdir=$(srcdir)/dejagnu"; \
5957 libsrcdir="$$s/dejagnu";; \
5958 *) \
5959 srcdiroption="--srcdir=../$(srcdir)/dejagnu"; \
5960 libsrcdir="$$s/dejagnu";; \
5961 esac; \
5962 $(SHELL) $${libsrcdir}/configure \
5963 $(HOST_CONFIGARGS) $${srcdiroption} \
5964 || exit 1
5965 @endif dejagnu
5967 .PHONY: all-dejagnu maybe-all-dejagnu
5968 maybe-all-dejagnu:
5969 @if dejagnu
5970 TARGET-dejagnu=all
5971 maybe-all-dejagnu: all-dejagnu
5972 all-dejagnu: configure-dejagnu
5973 @r=`${PWD_COMMAND}`; export r; \
5974 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5975 $(SET_LIB_PATH) \
5976 $(HOST_EXPORTS) \
5977 (cd dejagnu && $(MAKE) $(FLAGS_TO_PASS) \
5978 $(TARGET-dejagnu))
5979 @endif dejagnu
5981 .PHONY: check-dejagnu maybe-check-dejagnu
5982 maybe-check-dejagnu:
5983 @if dejagnu
5984 maybe-check-dejagnu: check-dejagnu
5986 check-dejagnu:
5987 @r=`${PWD_COMMAND}`; export r; \
5988 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5989 $(SET_LIB_PATH) \
5990 $(HOST_EXPORTS) \
5991 (cd dejagnu && $(MAKE) $(FLAGS_TO_PASS) check)
5993 @endif dejagnu
5995 .PHONY: install-dejagnu maybe-install-dejagnu
5996 maybe-install-dejagnu:
5997 @if dejagnu
5998 maybe-install-dejagnu: install-dejagnu
6000 install-dejagnu: installdirs
6001 @r=`${PWD_COMMAND}`; export r; \
6002 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6003 $(SET_LIB_PATH) \
6004 $(HOST_EXPORTS) \
6005 (cd dejagnu && $(MAKE) $(FLAGS_TO_PASS) install)
6007 @endif dejagnu
6009 # Other targets (info, dvi, etc.)
6011 .PHONY: maybe-info-dejagnu info-dejagnu
6012 maybe-info-dejagnu:
6013 @if dejagnu
6014 maybe-info-dejagnu: info-dejagnu
6016 info-dejagnu: \
6017 configure-dejagnu
6018 @[ -f ./dejagnu/Makefile ] || exit 0; \
6019 r=`${PWD_COMMAND}`; export r; \
6020 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6021 $(SET_LIB_PATH) \
6022 $(HOST_EXPORTS) \
6023 for flag in $(EXTRA_HOST_FLAGS) ; do \
6024 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6025 done; \
6026 echo "Doing info in dejagnu" ; \
6027 (cd dejagnu && \
6028 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6029 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6030 "RANLIB=$${RANLIB}" \
6031 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6032 info) \
6033 || exit 1
6035 @endif dejagnu
6037 .PHONY: maybe-dvi-dejagnu dvi-dejagnu
6038 maybe-dvi-dejagnu:
6039 @if dejagnu
6040 maybe-dvi-dejagnu: dvi-dejagnu
6042 dvi-dejagnu: \
6043 configure-dejagnu
6044 @[ -f ./dejagnu/Makefile ] || exit 0; \
6045 r=`${PWD_COMMAND}`; export r; \
6046 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6047 $(SET_LIB_PATH) \
6048 $(HOST_EXPORTS) \
6049 for flag in $(EXTRA_HOST_FLAGS) ; do \
6050 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6051 done; \
6052 echo "Doing dvi in dejagnu" ; \
6053 (cd dejagnu && \
6054 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6055 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6056 "RANLIB=$${RANLIB}" \
6057 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6058 dvi) \
6059 || exit 1
6061 @endif dejagnu
6063 .PHONY: maybe-html-dejagnu html-dejagnu
6064 maybe-html-dejagnu:
6065 @if dejagnu
6066 maybe-html-dejagnu: html-dejagnu
6068 html-dejagnu: \
6069 configure-dejagnu
6070 @[ -f ./dejagnu/Makefile ] || exit 0; \
6071 r=`${PWD_COMMAND}`; export r; \
6072 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6073 $(SET_LIB_PATH) \
6074 $(HOST_EXPORTS) \
6075 for flag in $(EXTRA_HOST_FLAGS) ; do \
6076 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6077 done; \
6078 echo "Doing html in dejagnu" ; \
6079 (cd dejagnu && \
6080 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6081 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6082 "RANLIB=$${RANLIB}" \
6083 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6084 html) \
6085 || exit 1
6087 @endif dejagnu
6089 .PHONY: maybe-TAGS-dejagnu TAGS-dejagnu
6090 maybe-TAGS-dejagnu:
6091 @if dejagnu
6092 maybe-TAGS-dejagnu: TAGS-dejagnu
6094 TAGS-dejagnu: \
6095 configure-dejagnu
6096 @[ -f ./dejagnu/Makefile ] || exit 0; \
6097 r=`${PWD_COMMAND}`; export r; \
6098 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6099 $(SET_LIB_PATH) \
6100 $(HOST_EXPORTS) \
6101 for flag in $(EXTRA_HOST_FLAGS) ; do \
6102 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6103 done; \
6104 echo "Doing TAGS in dejagnu" ; \
6105 (cd dejagnu && \
6106 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6107 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6108 "RANLIB=$${RANLIB}" \
6109 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6110 TAGS) \
6111 || exit 1
6113 @endif dejagnu
6115 .PHONY: maybe-install-info-dejagnu install-info-dejagnu
6116 maybe-install-info-dejagnu:
6117 @if dejagnu
6118 maybe-install-info-dejagnu: install-info-dejagnu
6120 install-info-dejagnu: \
6121 configure-dejagnu \
6122 info-dejagnu
6123 @[ -f ./dejagnu/Makefile ] || exit 0; \
6124 r=`${PWD_COMMAND}`; export r; \
6125 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6126 $(SET_LIB_PATH) \
6127 $(HOST_EXPORTS) \
6128 for flag in $(EXTRA_HOST_FLAGS) ; do \
6129 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6130 done; \
6131 echo "Doing install-info in dejagnu" ; \
6132 (cd dejagnu && \
6133 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6134 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6135 "RANLIB=$${RANLIB}" \
6136 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6137 install-info) \
6138 || exit 1
6140 @endif dejagnu
6142 .PHONY: maybe-installcheck-dejagnu installcheck-dejagnu
6143 maybe-installcheck-dejagnu:
6144 @if dejagnu
6145 maybe-installcheck-dejagnu: installcheck-dejagnu
6147 installcheck-dejagnu: \
6148 configure-dejagnu
6149 @[ -f ./dejagnu/Makefile ] || exit 0; \
6150 r=`${PWD_COMMAND}`; export r; \
6151 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6152 $(SET_LIB_PATH) \
6153 $(HOST_EXPORTS) \
6154 for flag in $(EXTRA_HOST_FLAGS) ; do \
6155 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6156 done; \
6157 echo "Doing installcheck in dejagnu" ; \
6158 (cd dejagnu && \
6159 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6160 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6161 "RANLIB=$${RANLIB}" \
6162 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6163 installcheck) \
6164 || exit 1
6166 @endif dejagnu
6168 .PHONY: maybe-mostlyclean-dejagnu mostlyclean-dejagnu
6169 maybe-mostlyclean-dejagnu:
6170 @if dejagnu
6171 maybe-mostlyclean-dejagnu: mostlyclean-dejagnu
6173 mostlyclean-dejagnu:
6174 @[ -f ./dejagnu/Makefile ] || exit 0; \
6175 r=`${PWD_COMMAND}`; export r; \
6176 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6177 $(SET_LIB_PATH) \
6178 $(HOST_EXPORTS) \
6179 for flag in $(EXTRA_HOST_FLAGS) ; do \
6180 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6181 done; \
6182 echo "Doing mostlyclean in dejagnu" ; \
6183 (cd dejagnu && \
6184 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6185 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6186 "RANLIB=$${RANLIB}" \
6187 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6188 mostlyclean) \
6189 || exit 1
6191 @endif dejagnu
6193 .PHONY: maybe-clean-dejagnu clean-dejagnu
6194 maybe-clean-dejagnu:
6195 @if dejagnu
6196 maybe-clean-dejagnu: clean-dejagnu
6198 clean-dejagnu:
6199 @[ -f ./dejagnu/Makefile ] || exit 0; \
6200 r=`${PWD_COMMAND}`; export r; \
6201 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6202 $(SET_LIB_PATH) \
6203 $(HOST_EXPORTS) \
6204 for flag in $(EXTRA_HOST_FLAGS) ; do \
6205 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6206 done; \
6207 echo "Doing clean in dejagnu" ; \
6208 (cd dejagnu && \
6209 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6210 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6211 "RANLIB=$${RANLIB}" \
6212 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6213 clean) \
6214 || exit 1
6216 @endif dejagnu
6218 .PHONY: maybe-distclean-dejagnu distclean-dejagnu
6219 maybe-distclean-dejagnu:
6220 @if dejagnu
6221 maybe-distclean-dejagnu: distclean-dejagnu
6223 distclean-dejagnu:
6224 @[ -f ./dejagnu/Makefile ] || exit 0; \
6225 r=`${PWD_COMMAND}`; export r; \
6226 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6227 $(SET_LIB_PATH) \
6228 $(HOST_EXPORTS) \
6229 for flag in $(EXTRA_HOST_FLAGS) ; do \
6230 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6231 done; \
6232 echo "Doing distclean in dejagnu" ; \
6233 (cd dejagnu && \
6234 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6235 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6236 "RANLIB=$${RANLIB}" \
6237 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6238 distclean) \
6239 || exit 1
6241 @endif dejagnu
6243 .PHONY: maybe-maintainer-clean-dejagnu maintainer-clean-dejagnu
6244 maybe-maintainer-clean-dejagnu:
6245 @if dejagnu
6246 maybe-maintainer-clean-dejagnu: maintainer-clean-dejagnu
6248 maintainer-clean-dejagnu:
6249 @[ -f ./dejagnu/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 maintainer-clean in dejagnu" ; \
6258 (cd dejagnu && \
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 maintainer-clean) \
6264 || exit 1
6266 @endif dejagnu
6269 .PHONY: configure-diff maybe-configure-diff
6270 maybe-configure-diff:
6271 @if diff
6272 maybe-configure-diff: configure-diff
6273 configure-diff:
6274 @test ! -f diff/Makefile || exit 0; \
6275 [ -d diff ] || mkdir diff; \
6276 r=`${PWD_COMMAND}`; export r; \
6277 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6278 $(HOST_EXPORTS) \
6279 echo Configuring in diff; \
6280 cd diff || exit 1; \
6281 case $(srcdir) in \
6282 \.) \
6283 srcdiroption="--srcdir=."; \
6284 libsrcdir=".";; \
6285 /* | [A-Za-z]:[\\/]*) \
6286 srcdiroption="--srcdir=$(srcdir)/diff"; \
6287 libsrcdir="$$s/diff";; \
6288 *) \
6289 srcdiroption="--srcdir=../$(srcdir)/diff"; \
6290 libsrcdir="$$s/diff";; \
6291 esac; \
6292 $(SHELL) $${libsrcdir}/configure \
6293 $(HOST_CONFIGARGS) $${srcdiroption} \
6294 || exit 1
6295 @endif diff
6297 .PHONY: all-diff maybe-all-diff
6298 maybe-all-diff:
6299 @if diff
6300 TARGET-diff=all
6301 maybe-all-diff: all-diff
6302 all-diff: configure-diff
6303 @r=`${PWD_COMMAND}`; export r; \
6304 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6305 $(SET_LIB_PATH) \
6306 $(HOST_EXPORTS) \
6307 (cd diff && $(MAKE) $(FLAGS_TO_PASS) \
6308 $(TARGET-diff))
6309 @endif diff
6311 .PHONY: check-diff maybe-check-diff
6312 maybe-check-diff:
6313 @if diff
6314 maybe-check-diff: check-diff
6316 check-diff:
6317 @r=`${PWD_COMMAND}`; export r; \
6318 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6319 $(SET_LIB_PATH) \
6320 $(HOST_EXPORTS) \
6321 (cd diff && $(MAKE) $(FLAGS_TO_PASS) check)
6323 @endif diff
6325 .PHONY: install-diff maybe-install-diff
6326 maybe-install-diff:
6327 @if diff
6328 maybe-install-diff: install-diff
6330 install-diff: installdirs
6331 @r=`${PWD_COMMAND}`; export r; \
6332 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6333 $(SET_LIB_PATH) \
6334 $(HOST_EXPORTS) \
6335 (cd diff && $(MAKE) $(FLAGS_TO_PASS) install)
6337 @endif diff
6339 # Other targets (info, dvi, etc.)
6341 .PHONY: maybe-info-diff info-diff
6342 maybe-info-diff:
6343 @if diff
6344 maybe-info-diff: info-diff
6346 info-diff: \
6347 configure-diff
6348 @[ -f ./diff/Makefile ] || exit 0; \
6349 r=`${PWD_COMMAND}`; export r; \
6350 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6351 $(SET_LIB_PATH) \
6352 $(HOST_EXPORTS) \
6353 for flag in $(EXTRA_HOST_FLAGS) ; do \
6354 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6355 done; \
6356 echo "Doing info in diff" ; \
6357 (cd diff && \
6358 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6359 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6360 "RANLIB=$${RANLIB}" \
6361 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6362 info) \
6363 || exit 1
6365 @endif diff
6367 .PHONY: maybe-dvi-diff dvi-diff
6368 maybe-dvi-diff:
6369 @if diff
6370 maybe-dvi-diff: dvi-diff
6372 dvi-diff: \
6373 configure-diff
6374 @[ -f ./diff/Makefile ] || exit 0; \
6375 r=`${PWD_COMMAND}`; export r; \
6376 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6377 $(SET_LIB_PATH) \
6378 $(HOST_EXPORTS) \
6379 for flag in $(EXTRA_HOST_FLAGS) ; do \
6380 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6381 done; \
6382 echo "Doing dvi in diff" ; \
6383 (cd diff && \
6384 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6385 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6386 "RANLIB=$${RANLIB}" \
6387 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6388 dvi) \
6389 || exit 1
6391 @endif diff
6393 .PHONY: maybe-html-diff html-diff
6394 maybe-html-diff:
6395 @if diff
6396 maybe-html-diff: html-diff
6398 html-diff: \
6399 configure-diff
6400 @[ -f ./diff/Makefile ] || exit 0; \
6401 r=`${PWD_COMMAND}`; export r; \
6402 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6403 $(SET_LIB_PATH) \
6404 $(HOST_EXPORTS) \
6405 for flag in $(EXTRA_HOST_FLAGS) ; do \
6406 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6407 done; \
6408 echo "Doing html in diff" ; \
6409 (cd diff && \
6410 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6411 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6412 "RANLIB=$${RANLIB}" \
6413 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6414 html) \
6415 || exit 1
6417 @endif diff
6419 .PHONY: maybe-TAGS-diff TAGS-diff
6420 maybe-TAGS-diff:
6421 @if diff
6422 maybe-TAGS-diff: TAGS-diff
6424 TAGS-diff: \
6425 configure-diff
6426 @[ -f ./diff/Makefile ] || exit 0; \
6427 r=`${PWD_COMMAND}`; export r; \
6428 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6429 $(SET_LIB_PATH) \
6430 $(HOST_EXPORTS) \
6431 for flag in $(EXTRA_HOST_FLAGS) ; do \
6432 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6433 done; \
6434 echo "Doing TAGS in diff" ; \
6435 (cd diff && \
6436 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6437 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6438 "RANLIB=$${RANLIB}" \
6439 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6440 TAGS) \
6441 || exit 1
6443 @endif diff
6445 .PHONY: maybe-install-info-diff install-info-diff
6446 maybe-install-info-diff:
6447 @if diff
6448 maybe-install-info-diff: install-info-diff
6450 install-info-diff: \
6451 configure-diff \
6452 info-diff
6453 @[ -f ./diff/Makefile ] || exit 0; \
6454 r=`${PWD_COMMAND}`; export r; \
6455 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6456 $(SET_LIB_PATH) \
6457 $(HOST_EXPORTS) \
6458 for flag in $(EXTRA_HOST_FLAGS) ; do \
6459 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6460 done; \
6461 echo "Doing install-info in diff" ; \
6462 (cd diff && \
6463 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6464 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6465 "RANLIB=$${RANLIB}" \
6466 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6467 install-info) \
6468 || exit 1
6470 @endif diff
6472 .PHONY: maybe-installcheck-diff installcheck-diff
6473 maybe-installcheck-diff:
6474 @if diff
6475 maybe-installcheck-diff: installcheck-diff
6477 installcheck-diff: \
6478 configure-diff
6479 @[ -f ./diff/Makefile ] || exit 0; \
6480 r=`${PWD_COMMAND}`; export r; \
6481 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6482 $(SET_LIB_PATH) \
6483 $(HOST_EXPORTS) \
6484 for flag in $(EXTRA_HOST_FLAGS) ; do \
6485 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6486 done; \
6487 echo "Doing installcheck in diff" ; \
6488 (cd diff && \
6489 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6490 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6491 "RANLIB=$${RANLIB}" \
6492 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6493 installcheck) \
6494 || exit 1
6496 @endif diff
6498 .PHONY: maybe-mostlyclean-diff mostlyclean-diff
6499 maybe-mostlyclean-diff:
6500 @if diff
6501 maybe-mostlyclean-diff: mostlyclean-diff
6503 mostlyclean-diff:
6504 @[ -f ./diff/Makefile ] || exit 0; \
6505 r=`${PWD_COMMAND}`; export r; \
6506 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6507 $(SET_LIB_PATH) \
6508 $(HOST_EXPORTS) \
6509 for flag in $(EXTRA_HOST_FLAGS) ; do \
6510 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6511 done; \
6512 echo "Doing mostlyclean in diff" ; \
6513 (cd diff && \
6514 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6515 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6516 "RANLIB=$${RANLIB}" \
6517 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6518 mostlyclean) \
6519 || exit 1
6521 @endif diff
6523 .PHONY: maybe-clean-diff clean-diff
6524 maybe-clean-diff:
6525 @if diff
6526 maybe-clean-diff: clean-diff
6528 clean-diff:
6529 @[ -f ./diff/Makefile ] || exit 0; \
6530 r=`${PWD_COMMAND}`; export r; \
6531 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6532 $(SET_LIB_PATH) \
6533 $(HOST_EXPORTS) \
6534 for flag in $(EXTRA_HOST_FLAGS) ; do \
6535 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6536 done; \
6537 echo "Doing clean in diff" ; \
6538 (cd diff && \
6539 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6540 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6541 "RANLIB=$${RANLIB}" \
6542 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6543 clean) \
6544 || exit 1
6546 @endif diff
6548 .PHONY: maybe-distclean-diff distclean-diff
6549 maybe-distclean-diff:
6550 @if diff
6551 maybe-distclean-diff: distclean-diff
6553 distclean-diff:
6554 @[ -f ./diff/Makefile ] || exit 0; \
6555 r=`${PWD_COMMAND}`; export r; \
6556 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6557 $(SET_LIB_PATH) \
6558 $(HOST_EXPORTS) \
6559 for flag in $(EXTRA_HOST_FLAGS) ; do \
6560 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6561 done; \
6562 echo "Doing distclean in diff" ; \
6563 (cd diff && \
6564 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6565 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6566 "RANLIB=$${RANLIB}" \
6567 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6568 distclean) \
6569 || exit 1
6571 @endif diff
6573 .PHONY: maybe-maintainer-clean-diff maintainer-clean-diff
6574 maybe-maintainer-clean-diff:
6575 @if diff
6576 maybe-maintainer-clean-diff: maintainer-clean-diff
6578 maintainer-clean-diff:
6579 @[ -f ./diff/Makefile ] || exit 0; \
6580 r=`${PWD_COMMAND}`; export r; \
6581 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6582 $(SET_LIB_PATH) \
6583 $(HOST_EXPORTS) \
6584 for flag in $(EXTRA_HOST_FLAGS) ; do \
6585 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6586 done; \
6587 echo "Doing maintainer-clean in diff" ; \
6588 (cd diff && \
6589 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6590 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6591 "RANLIB=$${RANLIB}" \
6592 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6593 maintainer-clean) \
6594 || exit 1
6596 @endif diff
6599 .PHONY: configure-dosutils maybe-configure-dosutils
6600 maybe-configure-dosutils:
6601 @if dosutils
6602 maybe-configure-dosutils: configure-dosutils
6603 configure-dosutils:
6604 @test ! -f dosutils/Makefile || exit 0; \
6605 [ -d dosutils ] || mkdir dosutils; \
6606 r=`${PWD_COMMAND}`; export r; \
6607 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6608 $(HOST_EXPORTS) \
6609 echo Configuring in dosutils; \
6610 cd dosutils || exit 1; \
6611 case $(srcdir) in \
6612 \.) \
6613 srcdiroption="--srcdir=."; \
6614 libsrcdir=".";; \
6615 /* | [A-Za-z]:[\\/]*) \
6616 srcdiroption="--srcdir=$(srcdir)/dosutils"; \
6617 libsrcdir="$$s/dosutils";; \
6618 *) \
6619 srcdiroption="--srcdir=../$(srcdir)/dosutils"; \
6620 libsrcdir="$$s/dosutils";; \
6621 esac; \
6622 $(SHELL) $${libsrcdir}/configure \
6623 $(HOST_CONFIGARGS) $${srcdiroption} \
6624 || exit 1
6625 @endif dosutils
6627 .PHONY: all-dosutils maybe-all-dosutils
6628 maybe-all-dosutils:
6629 @if dosutils
6630 TARGET-dosutils=all
6631 maybe-all-dosutils: all-dosutils
6632 all-dosutils: configure-dosutils
6633 @r=`${PWD_COMMAND}`; export r; \
6634 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6635 $(SET_LIB_PATH) \
6636 $(HOST_EXPORTS) \
6637 (cd dosutils && $(MAKE) $(FLAGS_TO_PASS) \
6638 $(TARGET-dosutils))
6639 @endif dosutils
6641 .PHONY: check-dosutils maybe-check-dosutils
6642 maybe-check-dosutils:
6643 @if dosutils
6644 maybe-check-dosutils: check-dosutils
6646 check-dosutils:
6648 @endif dosutils
6650 .PHONY: install-dosutils maybe-install-dosutils
6651 maybe-install-dosutils:
6652 @if dosutils
6653 maybe-install-dosutils: install-dosutils
6655 install-dosutils: installdirs
6656 @r=`${PWD_COMMAND}`; export r; \
6657 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6658 $(SET_LIB_PATH) \
6659 $(HOST_EXPORTS) \
6660 (cd dosutils && $(MAKE) $(FLAGS_TO_PASS) install)
6662 @endif dosutils
6664 # Other targets (info, dvi, etc.)
6666 .PHONY: maybe-info-dosutils info-dosutils
6667 maybe-info-dosutils:
6668 @if dosutils
6669 maybe-info-dosutils: info-dosutils
6671 info-dosutils: \
6672 configure-dosutils
6673 @[ -f ./dosutils/Makefile ] || exit 0; \
6674 r=`${PWD_COMMAND}`; export r; \
6675 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6676 $(SET_LIB_PATH) \
6677 $(HOST_EXPORTS) \
6678 for flag in $(EXTRA_HOST_FLAGS) ; do \
6679 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6680 done; \
6681 echo "Doing info in dosutils" ; \
6682 (cd dosutils && \
6683 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6684 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6685 "RANLIB=$${RANLIB}" \
6686 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6687 info) \
6688 || exit 1
6690 @endif dosutils
6692 .PHONY: maybe-dvi-dosutils dvi-dosutils
6693 maybe-dvi-dosutils:
6694 @if dosutils
6695 maybe-dvi-dosutils: dvi-dosutils
6697 dvi-dosutils: \
6698 configure-dosutils
6699 @[ -f ./dosutils/Makefile ] || exit 0; \
6700 r=`${PWD_COMMAND}`; export r; \
6701 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6702 $(SET_LIB_PATH) \
6703 $(HOST_EXPORTS) \
6704 for flag in $(EXTRA_HOST_FLAGS) ; do \
6705 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6706 done; \
6707 echo "Doing dvi in dosutils" ; \
6708 (cd dosutils && \
6709 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6710 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6711 "RANLIB=$${RANLIB}" \
6712 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6713 dvi) \
6714 || exit 1
6716 @endif dosutils
6718 .PHONY: maybe-html-dosutils html-dosutils
6719 maybe-html-dosutils:
6720 @if dosutils
6721 maybe-html-dosutils: html-dosutils
6723 html-dosutils: \
6724 configure-dosutils
6725 @[ -f ./dosutils/Makefile ] || exit 0; \
6726 r=`${PWD_COMMAND}`; export r; \
6727 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6728 $(SET_LIB_PATH) \
6729 $(HOST_EXPORTS) \
6730 for flag in $(EXTRA_HOST_FLAGS) ; do \
6731 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6732 done; \
6733 echo "Doing html in dosutils" ; \
6734 (cd dosutils && \
6735 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6736 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6737 "RANLIB=$${RANLIB}" \
6738 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6739 html) \
6740 || exit 1
6742 @endif dosutils
6744 .PHONY: maybe-TAGS-dosutils TAGS-dosutils
6745 maybe-TAGS-dosutils:
6746 @if dosutils
6747 maybe-TAGS-dosutils: TAGS-dosutils
6749 TAGS-dosutils: \
6750 configure-dosutils
6751 @[ -f ./dosutils/Makefile ] || exit 0; \
6752 r=`${PWD_COMMAND}`; export r; \
6753 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6754 $(SET_LIB_PATH) \
6755 $(HOST_EXPORTS) \
6756 for flag in $(EXTRA_HOST_FLAGS) ; do \
6757 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6758 done; \
6759 echo "Doing TAGS in dosutils" ; \
6760 (cd dosutils && \
6761 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6762 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6763 "RANLIB=$${RANLIB}" \
6764 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6765 TAGS) \
6766 || exit 1
6768 @endif dosutils
6770 .PHONY: maybe-install-info-dosutils install-info-dosutils
6771 maybe-install-info-dosutils:
6772 @if dosutils
6773 maybe-install-info-dosutils: install-info-dosutils
6775 install-info-dosutils: \
6776 configure-dosutils \
6777 info-dosutils
6778 @[ -f ./dosutils/Makefile ] || exit 0; \
6779 r=`${PWD_COMMAND}`; export r; \
6780 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6781 $(SET_LIB_PATH) \
6782 $(HOST_EXPORTS) \
6783 for flag in $(EXTRA_HOST_FLAGS) ; do \
6784 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6785 done; \
6786 echo "Doing install-info in dosutils" ; \
6787 (cd dosutils && \
6788 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6789 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6790 "RANLIB=$${RANLIB}" \
6791 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6792 install-info) \
6793 || exit 1
6795 @endif dosutils
6797 .PHONY: maybe-installcheck-dosutils installcheck-dosutils
6798 maybe-installcheck-dosutils:
6799 @if dosutils
6800 maybe-installcheck-dosutils: installcheck-dosutils
6802 installcheck-dosutils: \
6803 configure-dosutils
6804 @[ -f ./dosutils/Makefile ] || exit 0; \
6805 r=`${PWD_COMMAND}`; export r; \
6806 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6807 $(SET_LIB_PATH) \
6808 $(HOST_EXPORTS) \
6809 for flag in $(EXTRA_HOST_FLAGS) ; do \
6810 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6811 done; \
6812 echo "Doing installcheck in dosutils" ; \
6813 (cd dosutils && \
6814 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6815 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6816 "RANLIB=$${RANLIB}" \
6817 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6818 installcheck) \
6819 || exit 1
6821 @endif dosutils
6823 .PHONY: maybe-mostlyclean-dosutils mostlyclean-dosutils
6824 maybe-mostlyclean-dosutils:
6825 @if dosutils
6826 maybe-mostlyclean-dosutils: mostlyclean-dosutils
6828 mostlyclean-dosutils:
6829 @[ -f ./dosutils/Makefile ] || exit 0; \
6830 r=`${PWD_COMMAND}`; export r; \
6831 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6832 $(SET_LIB_PATH) \
6833 $(HOST_EXPORTS) \
6834 for flag in $(EXTRA_HOST_FLAGS) ; do \
6835 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6836 done; \
6837 echo "Doing mostlyclean in dosutils" ; \
6838 (cd dosutils && \
6839 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6840 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6841 "RANLIB=$${RANLIB}" \
6842 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6843 mostlyclean) \
6844 || exit 1
6846 @endif dosutils
6848 .PHONY: maybe-clean-dosutils clean-dosutils
6849 maybe-clean-dosutils:
6850 @if dosutils
6851 maybe-clean-dosutils: clean-dosutils
6853 clean-dosutils:
6854 @[ -f ./dosutils/Makefile ] || exit 0; \
6855 r=`${PWD_COMMAND}`; export r; \
6856 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6857 $(SET_LIB_PATH) \
6858 $(HOST_EXPORTS) \
6859 for flag in $(EXTRA_HOST_FLAGS) ; do \
6860 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6861 done; \
6862 echo "Doing clean in dosutils" ; \
6863 (cd dosutils && \
6864 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6865 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6866 "RANLIB=$${RANLIB}" \
6867 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6868 clean) \
6869 || exit 1
6871 @endif dosutils
6873 .PHONY: maybe-distclean-dosutils distclean-dosutils
6874 maybe-distclean-dosutils:
6875 @if dosutils
6876 maybe-distclean-dosutils: distclean-dosutils
6878 distclean-dosutils:
6879 @[ -f ./dosutils/Makefile ] || exit 0; \
6880 r=`${PWD_COMMAND}`; export r; \
6881 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6882 $(SET_LIB_PATH) \
6883 $(HOST_EXPORTS) \
6884 for flag in $(EXTRA_HOST_FLAGS) ; do \
6885 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6886 done; \
6887 echo "Doing distclean in dosutils" ; \
6888 (cd dosutils && \
6889 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6890 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6891 "RANLIB=$${RANLIB}" \
6892 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6893 distclean) \
6894 || exit 1
6896 @endif dosutils
6898 .PHONY: maybe-maintainer-clean-dosutils maintainer-clean-dosutils
6899 maybe-maintainer-clean-dosutils:
6900 @if dosutils
6901 maybe-maintainer-clean-dosutils: maintainer-clean-dosutils
6903 maintainer-clean-dosutils:
6904 @[ -f ./dosutils/Makefile ] || exit 0; \
6905 r=`${PWD_COMMAND}`; export r; \
6906 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6907 $(SET_LIB_PATH) \
6908 $(HOST_EXPORTS) \
6909 for flag in $(EXTRA_HOST_FLAGS) ; do \
6910 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6911 done; \
6912 echo "Doing maintainer-clean in dosutils" ; \
6913 (cd dosutils && \
6914 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6915 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6916 "RANLIB=$${RANLIB}" \
6917 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6918 maintainer-clean) \
6919 || exit 1
6921 @endif dosutils
6924 .PHONY: configure-etc maybe-configure-etc
6925 maybe-configure-etc:
6926 @if etc
6927 maybe-configure-etc: configure-etc
6928 configure-etc:
6929 @test ! -f etc/Makefile || exit 0; \
6930 [ -d etc ] || mkdir etc; \
6931 r=`${PWD_COMMAND}`; export r; \
6932 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6933 $(HOST_EXPORTS) \
6934 echo Configuring in etc; \
6935 cd etc || exit 1; \
6936 case $(srcdir) in \
6937 \.) \
6938 srcdiroption="--srcdir=."; \
6939 libsrcdir=".";; \
6940 /* | [A-Za-z]:[\\/]*) \
6941 srcdiroption="--srcdir=$(srcdir)/etc"; \
6942 libsrcdir="$$s/etc";; \
6943 *) \
6944 srcdiroption="--srcdir=../$(srcdir)/etc"; \
6945 libsrcdir="$$s/etc";; \
6946 esac; \
6947 $(SHELL) $${libsrcdir}/configure \
6948 $(HOST_CONFIGARGS) $${srcdiroption} \
6949 || exit 1
6950 @endif etc
6952 .PHONY: all-etc maybe-all-etc
6953 maybe-all-etc:
6954 @if etc
6955 TARGET-etc=all
6956 maybe-all-etc: all-etc
6957 all-etc: configure-etc
6958 @r=`${PWD_COMMAND}`; export r; \
6959 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6960 $(SET_LIB_PATH) \
6961 $(HOST_EXPORTS) \
6962 (cd etc && $(MAKE) $(FLAGS_TO_PASS) \
6963 $(TARGET-etc))
6964 @endif etc
6966 .PHONY: check-etc maybe-check-etc
6967 maybe-check-etc:
6968 @if etc
6969 maybe-check-etc: check-etc
6971 check-etc:
6972 @r=`${PWD_COMMAND}`; export r; \
6973 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6974 $(SET_LIB_PATH) \
6975 $(HOST_EXPORTS) \
6976 (cd etc && $(MAKE) $(FLAGS_TO_PASS) check)
6978 @endif etc
6980 .PHONY: install-etc maybe-install-etc
6981 maybe-install-etc:
6982 @if etc
6983 maybe-install-etc: install-etc
6985 install-etc: installdirs
6986 @r=`${PWD_COMMAND}`; export r; \
6987 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6988 $(SET_LIB_PATH) \
6989 $(HOST_EXPORTS) \
6990 (cd etc && $(MAKE) $(FLAGS_TO_PASS) install)
6992 @endif etc
6994 # Other targets (info, dvi, etc.)
6996 .PHONY: maybe-info-etc info-etc
6997 maybe-info-etc:
6998 @if etc
6999 maybe-info-etc: info-etc
7001 info-etc: \
7002 configure-etc
7003 @[ -f ./etc/Makefile ] || exit 0; \
7004 r=`${PWD_COMMAND}`; export r; \
7005 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7006 $(SET_LIB_PATH) \
7007 $(HOST_EXPORTS) \
7008 for flag in $(EXTRA_HOST_FLAGS) ; do \
7009 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7010 done; \
7011 echo "Doing info in etc" ; \
7012 (cd etc && \
7013 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7014 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7015 "RANLIB=$${RANLIB}" \
7016 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7017 info) \
7018 || exit 1
7020 @endif etc
7022 .PHONY: maybe-dvi-etc dvi-etc
7023 maybe-dvi-etc:
7024 @if etc
7025 maybe-dvi-etc: dvi-etc
7027 dvi-etc: \
7028 configure-etc
7029 @[ -f ./etc/Makefile ] || exit 0; \
7030 r=`${PWD_COMMAND}`; export r; \
7031 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7032 $(SET_LIB_PATH) \
7033 $(HOST_EXPORTS) \
7034 for flag in $(EXTRA_HOST_FLAGS) ; do \
7035 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7036 done; \
7037 echo "Doing dvi in etc" ; \
7038 (cd etc && \
7039 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7040 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7041 "RANLIB=$${RANLIB}" \
7042 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7043 dvi) \
7044 || exit 1
7046 @endif etc
7048 .PHONY: maybe-html-etc html-etc
7049 maybe-html-etc:
7050 @if etc
7051 maybe-html-etc: html-etc
7053 html-etc: \
7054 configure-etc
7055 @[ -f ./etc/Makefile ] || exit 0; \
7056 r=`${PWD_COMMAND}`; export r; \
7057 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7058 $(SET_LIB_PATH) \
7059 $(HOST_EXPORTS) \
7060 for flag in $(EXTRA_HOST_FLAGS) ; do \
7061 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7062 done; \
7063 echo "Doing html in etc" ; \
7064 (cd etc && \
7065 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7066 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7067 "RANLIB=$${RANLIB}" \
7068 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7069 html) \
7070 || exit 1
7072 @endif etc
7074 .PHONY: maybe-TAGS-etc TAGS-etc
7075 maybe-TAGS-etc:
7076 @if etc
7077 maybe-TAGS-etc: TAGS-etc
7079 TAGS-etc: \
7080 configure-etc
7081 @[ -f ./etc/Makefile ] || exit 0; \
7082 r=`${PWD_COMMAND}`; export r; \
7083 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7084 $(SET_LIB_PATH) \
7085 $(HOST_EXPORTS) \
7086 for flag in $(EXTRA_HOST_FLAGS) ; do \
7087 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7088 done; \
7089 echo "Doing TAGS in etc" ; \
7090 (cd etc && \
7091 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7092 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7093 "RANLIB=$${RANLIB}" \
7094 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7095 TAGS) \
7096 || exit 1
7098 @endif etc
7100 .PHONY: maybe-install-info-etc install-info-etc
7101 maybe-install-info-etc:
7102 @if etc
7103 maybe-install-info-etc: install-info-etc
7105 install-info-etc: \
7106 configure-etc \
7107 info-etc
7108 @[ -f ./etc/Makefile ] || exit 0; \
7109 r=`${PWD_COMMAND}`; export r; \
7110 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7111 $(SET_LIB_PATH) \
7112 $(HOST_EXPORTS) \
7113 for flag in $(EXTRA_HOST_FLAGS) ; do \
7114 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7115 done; \
7116 echo "Doing install-info in etc" ; \
7117 (cd etc && \
7118 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7119 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7120 "RANLIB=$${RANLIB}" \
7121 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7122 install-info) \
7123 || exit 1
7125 @endif etc
7127 .PHONY: maybe-installcheck-etc installcheck-etc
7128 maybe-installcheck-etc:
7129 @if etc
7130 maybe-installcheck-etc: installcheck-etc
7132 installcheck-etc: \
7133 configure-etc
7134 @[ -f ./etc/Makefile ] || exit 0; \
7135 r=`${PWD_COMMAND}`; export r; \
7136 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7137 $(SET_LIB_PATH) \
7138 $(HOST_EXPORTS) \
7139 for flag in $(EXTRA_HOST_FLAGS) ; do \
7140 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7141 done; \
7142 echo "Doing installcheck in etc" ; \
7143 (cd etc && \
7144 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7145 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7146 "RANLIB=$${RANLIB}" \
7147 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7148 installcheck) \
7149 || exit 1
7151 @endif etc
7153 .PHONY: maybe-mostlyclean-etc mostlyclean-etc
7154 maybe-mostlyclean-etc:
7155 @if etc
7156 maybe-mostlyclean-etc: mostlyclean-etc
7158 mostlyclean-etc:
7159 @[ -f ./etc/Makefile ] || exit 0; \
7160 r=`${PWD_COMMAND}`; export r; \
7161 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7162 $(SET_LIB_PATH) \
7163 $(HOST_EXPORTS) \
7164 for flag in $(EXTRA_HOST_FLAGS) ; do \
7165 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7166 done; \
7167 echo "Doing mostlyclean in etc" ; \
7168 (cd etc && \
7169 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7170 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7171 "RANLIB=$${RANLIB}" \
7172 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7173 mostlyclean) \
7174 || exit 1
7176 @endif etc
7178 .PHONY: maybe-clean-etc clean-etc
7179 maybe-clean-etc:
7180 @if etc
7181 maybe-clean-etc: clean-etc
7183 clean-etc:
7184 @[ -f ./etc/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 clean in etc" ; \
7193 (cd etc && \
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 clean) \
7199 || exit 1
7201 @endif etc
7203 .PHONY: maybe-distclean-etc distclean-etc
7204 maybe-distclean-etc:
7205 @if etc
7206 maybe-distclean-etc: distclean-etc
7208 distclean-etc:
7209 @[ -f ./etc/Makefile ] || exit 0; \
7210 r=`${PWD_COMMAND}`; export r; \
7211 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7212 $(SET_LIB_PATH) \
7213 $(HOST_EXPORTS) \
7214 for flag in $(EXTRA_HOST_FLAGS) ; do \
7215 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7216 done; \
7217 echo "Doing distclean in etc" ; \
7218 (cd etc && \
7219 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7220 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7221 "RANLIB=$${RANLIB}" \
7222 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7223 distclean) \
7224 || exit 1
7226 @endif etc
7228 .PHONY: maybe-maintainer-clean-etc maintainer-clean-etc
7229 maybe-maintainer-clean-etc:
7230 @if etc
7231 maybe-maintainer-clean-etc: maintainer-clean-etc
7233 maintainer-clean-etc:
7234 @[ -f ./etc/Makefile ] || exit 0; \
7235 r=`${PWD_COMMAND}`; export r; \
7236 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7237 $(SET_LIB_PATH) \
7238 $(HOST_EXPORTS) \
7239 for flag in $(EXTRA_HOST_FLAGS) ; do \
7240 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7241 done; \
7242 echo "Doing maintainer-clean in etc" ; \
7243 (cd etc && \
7244 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7245 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7246 "RANLIB=$${RANLIB}" \
7247 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7248 maintainer-clean) \
7249 || exit 1
7251 @endif etc
7254 .PHONY: configure-fastjar maybe-configure-fastjar
7255 maybe-configure-fastjar:
7256 @if fastjar
7257 maybe-configure-fastjar: configure-fastjar
7258 configure-fastjar:
7259 @test ! -f fastjar/Makefile || exit 0; \
7260 [ -d fastjar ] || mkdir fastjar; \
7261 r=`${PWD_COMMAND}`; export r; \
7262 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7263 $(HOST_EXPORTS) \
7264 echo Configuring in fastjar; \
7265 cd fastjar || exit 1; \
7266 case $(srcdir) in \
7267 \.) \
7268 srcdiroption="--srcdir=."; \
7269 libsrcdir=".";; \
7270 /* | [A-Za-z]:[\\/]*) \
7271 srcdiroption="--srcdir=$(srcdir)/fastjar"; \
7272 libsrcdir="$$s/fastjar";; \
7273 *) \
7274 srcdiroption="--srcdir=../$(srcdir)/fastjar"; \
7275 libsrcdir="$$s/fastjar";; \
7276 esac; \
7277 $(SHELL) $${libsrcdir}/configure \
7278 $(HOST_CONFIGARGS) $${srcdiroption} \
7279 || exit 1
7280 @endif fastjar
7282 .PHONY: all-fastjar maybe-all-fastjar
7283 maybe-all-fastjar:
7284 @if fastjar
7285 TARGET-fastjar=all
7286 maybe-all-fastjar: all-fastjar
7287 all-fastjar: configure-fastjar
7288 @r=`${PWD_COMMAND}`; export r; \
7289 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7290 $(SET_LIB_PATH) \
7291 $(HOST_EXPORTS) \
7292 (cd fastjar && $(MAKE) $(FLAGS_TO_PASS) \
7293 $(TARGET-fastjar))
7294 @endif fastjar
7296 .PHONY: check-fastjar maybe-check-fastjar
7297 maybe-check-fastjar:
7298 @if fastjar
7299 maybe-check-fastjar: check-fastjar
7301 # This module is only tested in a native toolchain.
7302 check-fastjar:
7303 @if [ '$(host)' = '$(target)' ] ; then \
7304 r=`${PWD_COMMAND}`; export r; \
7305 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7306 $(SET_LIB_PATH) \
7307 $(HOST_EXPORTS) \
7308 (cd fastjar && $(MAKE) $(FLAGS_TO_PASS) check); \
7311 @endif fastjar
7313 .PHONY: install-fastjar maybe-install-fastjar
7314 maybe-install-fastjar:
7315 @if fastjar
7316 maybe-install-fastjar: install-fastjar
7318 install-fastjar: installdirs
7319 @r=`${PWD_COMMAND}`; export r; \
7320 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7321 $(SET_LIB_PATH) \
7322 $(HOST_EXPORTS) \
7323 (cd fastjar && $(MAKE) $(FLAGS_TO_PASS) install)
7325 @endif fastjar
7327 # Other targets (info, dvi, etc.)
7329 .PHONY: maybe-info-fastjar info-fastjar
7330 maybe-info-fastjar:
7331 @if fastjar
7332 maybe-info-fastjar: info-fastjar
7334 info-fastjar: \
7335 configure-fastjar
7336 @[ -f ./fastjar/Makefile ] || exit 0; \
7337 r=`${PWD_COMMAND}`; export r; \
7338 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7339 $(SET_LIB_PATH) \
7340 $(HOST_EXPORTS) \
7341 for flag in $(EXTRA_HOST_FLAGS) ; do \
7342 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7343 done; \
7344 echo "Doing info in fastjar" ; \
7345 (cd fastjar && \
7346 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7347 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7348 "RANLIB=$${RANLIB}" \
7349 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7350 info) \
7351 || exit 1
7353 @endif fastjar
7355 .PHONY: maybe-dvi-fastjar dvi-fastjar
7356 maybe-dvi-fastjar:
7357 @if fastjar
7358 maybe-dvi-fastjar: dvi-fastjar
7360 dvi-fastjar: \
7361 configure-fastjar
7362 @[ -f ./fastjar/Makefile ] || exit 0; \
7363 r=`${PWD_COMMAND}`; export r; \
7364 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7365 $(SET_LIB_PATH) \
7366 $(HOST_EXPORTS) \
7367 for flag in $(EXTRA_HOST_FLAGS) ; do \
7368 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7369 done; \
7370 echo "Doing dvi in fastjar" ; \
7371 (cd fastjar && \
7372 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7373 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7374 "RANLIB=$${RANLIB}" \
7375 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7376 dvi) \
7377 || exit 1
7379 @endif fastjar
7381 .PHONY: maybe-html-fastjar html-fastjar
7382 maybe-html-fastjar:
7383 @if fastjar
7384 maybe-html-fastjar: html-fastjar
7386 html-fastjar: \
7387 configure-fastjar
7388 @[ -f ./fastjar/Makefile ] || exit 0; \
7389 r=`${PWD_COMMAND}`; export r; \
7390 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7391 $(SET_LIB_PATH) \
7392 $(HOST_EXPORTS) \
7393 for flag in $(EXTRA_HOST_FLAGS) ; do \
7394 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7395 done; \
7396 echo "Doing html in fastjar" ; \
7397 (cd fastjar && \
7398 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7399 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7400 "RANLIB=$${RANLIB}" \
7401 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7402 html) \
7403 || exit 1
7405 @endif fastjar
7407 .PHONY: maybe-TAGS-fastjar TAGS-fastjar
7408 maybe-TAGS-fastjar:
7409 @if fastjar
7410 maybe-TAGS-fastjar: TAGS-fastjar
7412 TAGS-fastjar: \
7413 configure-fastjar
7414 @[ -f ./fastjar/Makefile ] || exit 0; \
7415 r=`${PWD_COMMAND}`; export r; \
7416 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7417 $(SET_LIB_PATH) \
7418 $(HOST_EXPORTS) \
7419 for flag in $(EXTRA_HOST_FLAGS) ; do \
7420 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7421 done; \
7422 echo "Doing TAGS in fastjar" ; \
7423 (cd fastjar && \
7424 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7425 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7426 "RANLIB=$${RANLIB}" \
7427 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7428 TAGS) \
7429 || exit 1
7431 @endif fastjar
7433 .PHONY: maybe-install-info-fastjar install-info-fastjar
7434 maybe-install-info-fastjar:
7435 @if fastjar
7436 maybe-install-info-fastjar: install-info-fastjar
7438 install-info-fastjar: \
7439 configure-fastjar \
7440 info-fastjar
7441 @[ -f ./fastjar/Makefile ] || exit 0; \
7442 r=`${PWD_COMMAND}`; export r; \
7443 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7444 $(SET_LIB_PATH) \
7445 $(HOST_EXPORTS) \
7446 for flag in $(EXTRA_HOST_FLAGS) ; do \
7447 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7448 done; \
7449 echo "Doing install-info in fastjar" ; \
7450 (cd fastjar && \
7451 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7452 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7453 "RANLIB=$${RANLIB}" \
7454 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7455 install-info) \
7456 || exit 1
7458 @endif fastjar
7460 .PHONY: maybe-installcheck-fastjar installcheck-fastjar
7461 maybe-installcheck-fastjar:
7462 @if fastjar
7463 maybe-installcheck-fastjar: installcheck-fastjar
7465 installcheck-fastjar: \
7466 configure-fastjar
7467 @[ -f ./fastjar/Makefile ] || exit 0; \
7468 r=`${PWD_COMMAND}`; export r; \
7469 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7470 $(SET_LIB_PATH) \
7471 $(HOST_EXPORTS) \
7472 for flag in $(EXTRA_HOST_FLAGS) ; do \
7473 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7474 done; \
7475 echo "Doing installcheck in fastjar" ; \
7476 (cd fastjar && \
7477 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7478 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7479 "RANLIB=$${RANLIB}" \
7480 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7481 installcheck) \
7482 || exit 1
7484 @endif fastjar
7486 .PHONY: maybe-mostlyclean-fastjar mostlyclean-fastjar
7487 maybe-mostlyclean-fastjar:
7488 @if fastjar
7489 maybe-mostlyclean-fastjar: mostlyclean-fastjar
7491 mostlyclean-fastjar:
7492 @[ -f ./fastjar/Makefile ] || exit 0; \
7493 r=`${PWD_COMMAND}`; export r; \
7494 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7495 $(SET_LIB_PATH) \
7496 $(HOST_EXPORTS) \
7497 for flag in $(EXTRA_HOST_FLAGS) ; do \
7498 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7499 done; \
7500 echo "Doing mostlyclean in fastjar" ; \
7501 (cd fastjar && \
7502 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7503 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7504 "RANLIB=$${RANLIB}" \
7505 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7506 mostlyclean) \
7507 || exit 1
7509 @endif fastjar
7511 .PHONY: maybe-clean-fastjar clean-fastjar
7512 maybe-clean-fastjar:
7513 @if fastjar
7514 maybe-clean-fastjar: clean-fastjar
7516 clean-fastjar:
7517 @[ -f ./fastjar/Makefile ] || exit 0; \
7518 r=`${PWD_COMMAND}`; export r; \
7519 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7520 $(SET_LIB_PATH) \
7521 $(HOST_EXPORTS) \
7522 for flag in $(EXTRA_HOST_FLAGS) ; do \
7523 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7524 done; \
7525 echo "Doing clean in fastjar" ; \
7526 (cd fastjar && \
7527 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7528 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7529 "RANLIB=$${RANLIB}" \
7530 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7531 clean) \
7532 || exit 1
7534 @endif fastjar
7536 .PHONY: maybe-distclean-fastjar distclean-fastjar
7537 maybe-distclean-fastjar:
7538 @if fastjar
7539 maybe-distclean-fastjar: distclean-fastjar
7541 distclean-fastjar:
7542 @[ -f ./fastjar/Makefile ] || exit 0; \
7543 r=`${PWD_COMMAND}`; export r; \
7544 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7545 $(SET_LIB_PATH) \
7546 $(HOST_EXPORTS) \
7547 for flag in $(EXTRA_HOST_FLAGS) ; do \
7548 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7549 done; \
7550 echo "Doing distclean in fastjar" ; \
7551 (cd fastjar && \
7552 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7553 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7554 "RANLIB=$${RANLIB}" \
7555 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7556 distclean) \
7557 || exit 1
7559 @endif fastjar
7561 .PHONY: maybe-maintainer-clean-fastjar maintainer-clean-fastjar
7562 maybe-maintainer-clean-fastjar:
7563 @if fastjar
7564 maybe-maintainer-clean-fastjar: maintainer-clean-fastjar
7566 maintainer-clean-fastjar:
7567 @[ -f ./fastjar/Makefile ] || exit 0; \
7568 r=`${PWD_COMMAND}`; export r; \
7569 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7570 $(SET_LIB_PATH) \
7571 $(HOST_EXPORTS) \
7572 for flag in $(EXTRA_HOST_FLAGS) ; do \
7573 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7574 done; \
7575 echo "Doing maintainer-clean in fastjar" ; \
7576 (cd fastjar && \
7577 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7578 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7579 "RANLIB=$${RANLIB}" \
7580 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7581 maintainer-clean) \
7582 || exit 1
7584 @endif fastjar
7587 .PHONY: configure-fileutils maybe-configure-fileutils
7588 maybe-configure-fileutils:
7589 @if fileutils
7590 maybe-configure-fileutils: configure-fileutils
7591 configure-fileutils:
7592 @test ! -f fileutils/Makefile || exit 0; \
7593 [ -d fileutils ] || mkdir fileutils; \
7594 r=`${PWD_COMMAND}`; export r; \
7595 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7596 $(HOST_EXPORTS) \
7597 echo Configuring in fileutils; \
7598 cd fileutils || exit 1; \
7599 case $(srcdir) in \
7600 \.) \
7601 srcdiroption="--srcdir=."; \
7602 libsrcdir=".";; \
7603 /* | [A-Za-z]:[\\/]*) \
7604 srcdiroption="--srcdir=$(srcdir)/fileutils"; \
7605 libsrcdir="$$s/fileutils";; \
7606 *) \
7607 srcdiroption="--srcdir=../$(srcdir)/fileutils"; \
7608 libsrcdir="$$s/fileutils";; \
7609 esac; \
7610 $(SHELL) $${libsrcdir}/configure \
7611 $(HOST_CONFIGARGS) $${srcdiroption} \
7612 || exit 1
7613 @endif fileutils
7615 .PHONY: all-fileutils maybe-all-fileutils
7616 maybe-all-fileutils:
7617 @if fileutils
7618 TARGET-fileutils=all
7619 maybe-all-fileutils: all-fileutils
7620 all-fileutils: configure-fileutils
7621 @r=`${PWD_COMMAND}`; export r; \
7622 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7623 $(SET_LIB_PATH) \
7624 $(HOST_EXPORTS) \
7625 (cd fileutils && $(MAKE) $(FLAGS_TO_PASS) \
7626 $(TARGET-fileutils))
7627 @endif fileutils
7629 .PHONY: check-fileutils maybe-check-fileutils
7630 maybe-check-fileutils:
7631 @if fileutils
7632 maybe-check-fileutils: check-fileutils
7634 check-fileutils:
7635 @r=`${PWD_COMMAND}`; export r; \
7636 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7637 $(SET_LIB_PATH) \
7638 $(HOST_EXPORTS) \
7639 (cd fileutils && $(MAKE) $(FLAGS_TO_PASS) check)
7641 @endif fileutils
7643 .PHONY: install-fileutils maybe-install-fileutils
7644 maybe-install-fileutils:
7645 @if fileutils
7646 maybe-install-fileutils: install-fileutils
7648 install-fileutils: installdirs
7649 @r=`${PWD_COMMAND}`; export r; \
7650 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7651 $(SET_LIB_PATH) \
7652 $(HOST_EXPORTS) \
7653 (cd fileutils && $(MAKE) $(FLAGS_TO_PASS) install)
7655 @endif fileutils
7657 # Other targets (info, dvi, etc.)
7659 .PHONY: maybe-info-fileutils info-fileutils
7660 maybe-info-fileutils:
7661 @if fileutils
7662 maybe-info-fileutils: info-fileutils
7664 info-fileutils: \
7665 configure-fileutils
7666 @[ -f ./fileutils/Makefile ] || exit 0; \
7667 r=`${PWD_COMMAND}`; export r; \
7668 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7669 $(SET_LIB_PATH) \
7670 $(HOST_EXPORTS) \
7671 for flag in $(EXTRA_HOST_FLAGS) ; do \
7672 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7673 done; \
7674 echo "Doing info in fileutils" ; \
7675 (cd fileutils && \
7676 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7677 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7678 "RANLIB=$${RANLIB}" \
7679 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7680 info) \
7681 || exit 1
7683 @endif fileutils
7685 .PHONY: maybe-dvi-fileutils dvi-fileutils
7686 maybe-dvi-fileutils:
7687 @if fileutils
7688 maybe-dvi-fileutils: dvi-fileutils
7690 dvi-fileutils: \
7691 configure-fileutils
7692 @[ -f ./fileutils/Makefile ] || exit 0; \
7693 r=`${PWD_COMMAND}`; export r; \
7694 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7695 $(SET_LIB_PATH) \
7696 $(HOST_EXPORTS) \
7697 for flag in $(EXTRA_HOST_FLAGS) ; do \
7698 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7699 done; \
7700 echo "Doing dvi in fileutils" ; \
7701 (cd fileutils && \
7702 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7703 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7704 "RANLIB=$${RANLIB}" \
7705 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7706 dvi) \
7707 || exit 1
7709 @endif fileutils
7711 .PHONY: maybe-html-fileutils html-fileutils
7712 maybe-html-fileutils:
7713 @if fileutils
7714 maybe-html-fileutils: html-fileutils
7716 html-fileutils: \
7717 configure-fileutils
7718 @[ -f ./fileutils/Makefile ] || exit 0; \
7719 r=`${PWD_COMMAND}`; export r; \
7720 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7721 $(SET_LIB_PATH) \
7722 $(HOST_EXPORTS) \
7723 for flag in $(EXTRA_HOST_FLAGS) ; do \
7724 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7725 done; \
7726 echo "Doing html in fileutils" ; \
7727 (cd fileutils && \
7728 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7729 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7730 "RANLIB=$${RANLIB}" \
7731 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7732 html) \
7733 || exit 1
7735 @endif fileutils
7737 .PHONY: maybe-TAGS-fileutils TAGS-fileutils
7738 maybe-TAGS-fileutils:
7739 @if fileutils
7740 maybe-TAGS-fileutils: TAGS-fileutils
7742 TAGS-fileutils: \
7743 configure-fileutils
7744 @[ -f ./fileutils/Makefile ] || exit 0; \
7745 r=`${PWD_COMMAND}`; export r; \
7746 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7747 $(SET_LIB_PATH) \
7748 $(HOST_EXPORTS) \
7749 for flag in $(EXTRA_HOST_FLAGS) ; do \
7750 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7751 done; \
7752 echo "Doing TAGS in fileutils" ; \
7753 (cd fileutils && \
7754 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7755 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7756 "RANLIB=$${RANLIB}" \
7757 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7758 TAGS) \
7759 || exit 1
7761 @endif fileutils
7763 .PHONY: maybe-install-info-fileutils install-info-fileutils
7764 maybe-install-info-fileutils:
7765 @if fileutils
7766 maybe-install-info-fileutils: install-info-fileutils
7768 install-info-fileutils: \
7769 configure-fileutils \
7770 info-fileutils
7771 @[ -f ./fileutils/Makefile ] || exit 0; \
7772 r=`${PWD_COMMAND}`; export r; \
7773 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7774 $(SET_LIB_PATH) \
7775 $(HOST_EXPORTS) \
7776 for flag in $(EXTRA_HOST_FLAGS) ; do \
7777 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7778 done; \
7779 echo "Doing install-info in fileutils" ; \
7780 (cd fileutils && \
7781 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7782 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7783 "RANLIB=$${RANLIB}" \
7784 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7785 install-info) \
7786 || exit 1
7788 @endif fileutils
7790 .PHONY: maybe-installcheck-fileutils installcheck-fileutils
7791 maybe-installcheck-fileutils:
7792 @if fileutils
7793 maybe-installcheck-fileutils: installcheck-fileutils
7795 installcheck-fileutils: \
7796 configure-fileutils
7797 @[ -f ./fileutils/Makefile ] || exit 0; \
7798 r=`${PWD_COMMAND}`; export r; \
7799 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7800 $(SET_LIB_PATH) \
7801 $(HOST_EXPORTS) \
7802 for flag in $(EXTRA_HOST_FLAGS) ; do \
7803 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7804 done; \
7805 echo "Doing installcheck in fileutils" ; \
7806 (cd fileutils && \
7807 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7808 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7809 "RANLIB=$${RANLIB}" \
7810 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7811 installcheck) \
7812 || exit 1
7814 @endif fileutils
7816 .PHONY: maybe-mostlyclean-fileutils mostlyclean-fileutils
7817 maybe-mostlyclean-fileutils:
7818 @if fileutils
7819 maybe-mostlyclean-fileutils: mostlyclean-fileutils
7821 mostlyclean-fileutils:
7822 @[ -f ./fileutils/Makefile ] || exit 0; \
7823 r=`${PWD_COMMAND}`; export r; \
7824 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7825 $(SET_LIB_PATH) \
7826 $(HOST_EXPORTS) \
7827 for flag in $(EXTRA_HOST_FLAGS) ; do \
7828 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7829 done; \
7830 echo "Doing mostlyclean in fileutils" ; \
7831 (cd fileutils && \
7832 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7833 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7834 "RANLIB=$${RANLIB}" \
7835 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7836 mostlyclean) \
7837 || exit 1
7839 @endif fileutils
7841 .PHONY: maybe-clean-fileutils clean-fileutils
7842 maybe-clean-fileutils:
7843 @if fileutils
7844 maybe-clean-fileutils: clean-fileutils
7846 clean-fileutils:
7847 @[ -f ./fileutils/Makefile ] || exit 0; \
7848 r=`${PWD_COMMAND}`; export r; \
7849 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7850 $(SET_LIB_PATH) \
7851 $(HOST_EXPORTS) \
7852 for flag in $(EXTRA_HOST_FLAGS) ; do \
7853 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7854 done; \
7855 echo "Doing clean in fileutils" ; \
7856 (cd fileutils && \
7857 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7858 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7859 "RANLIB=$${RANLIB}" \
7860 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7861 clean) \
7862 || exit 1
7864 @endif fileutils
7866 .PHONY: maybe-distclean-fileutils distclean-fileutils
7867 maybe-distclean-fileutils:
7868 @if fileutils
7869 maybe-distclean-fileutils: distclean-fileutils
7871 distclean-fileutils:
7872 @[ -f ./fileutils/Makefile ] || exit 0; \
7873 r=`${PWD_COMMAND}`; export r; \
7874 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7875 $(SET_LIB_PATH) \
7876 $(HOST_EXPORTS) \
7877 for flag in $(EXTRA_HOST_FLAGS) ; do \
7878 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7879 done; \
7880 echo "Doing distclean in fileutils" ; \
7881 (cd fileutils && \
7882 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7883 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7884 "RANLIB=$${RANLIB}" \
7885 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7886 distclean) \
7887 || exit 1
7889 @endif fileutils
7891 .PHONY: maybe-maintainer-clean-fileutils maintainer-clean-fileutils
7892 maybe-maintainer-clean-fileutils:
7893 @if fileutils
7894 maybe-maintainer-clean-fileutils: maintainer-clean-fileutils
7896 maintainer-clean-fileutils:
7897 @[ -f ./fileutils/Makefile ] || exit 0; \
7898 r=`${PWD_COMMAND}`; export r; \
7899 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7900 $(SET_LIB_PATH) \
7901 $(HOST_EXPORTS) \
7902 for flag in $(EXTRA_HOST_FLAGS) ; do \
7903 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7904 done; \
7905 echo "Doing maintainer-clean in fileutils" ; \
7906 (cd fileutils && \
7907 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7908 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7909 "RANLIB=$${RANLIB}" \
7910 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7911 maintainer-clean) \
7912 || exit 1
7914 @endif fileutils
7917 .PHONY: configure-findutils maybe-configure-findutils
7918 maybe-configure-findutils:
7919 @if findutils
7920 maybe-configure-findutils: configure-findutils
7921 configure-findutils:
7922 @test ! -f findutils/Makefile || exit 0; \
7923 [ -d findutils ] || mkdir findutils; \
7924 r=`${PWD_COMMAND}`; export r; \
7925 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7926 $(HOST_EXPORTS) \
7927 echo Configuring in findutils; \
7928 cd findutils || exit 1; \
7929 case $(srcdir) in \
7930 \.) \
7931 srcdiroption="--srcdir=."; \
7932 libsrcdir=".";; \
7933 /* | [A-Za-z]:[\\/]*) \
7934 srcdiroption="--srcdir=$(srcdir)/findutils"; \
7935 libsrcdir="$$s/findutils";; \
7936 *) \
7937 srcdiroption="--srcdir=../$(srcdir)/findutils"; \
7938 libsrcdir="$$s/findutils";; \
7939 esac; \
7940 $(SHELL) $${libsrcdir}/configure \
7941 $(HOST_CONFIGARGS) $${srcdiroption} \
7942 || exit 1
7943 @endif findutils
7945 .PHONY: all-findutils maybe-all-findutils
7946 maybe-all-findutils:
7947 @if findutils
7948 TARGET-findutils=all
7949 maybe-all-findutils: all-findutils
7950 all-findutils: configure-findutils
7951 @r=`${PWD_COMMAND}`; export r; \
7952 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7953 $(SET_LIB_PATH) \
7954 $(HOST_EXPORTS) \
7955 (cd findutils && $(MAKE) $(FLAGS_TO_PASS) \
7956 $(TARGET-findutils))
7957 @endif findutils
7959 .PHONY: check-findutils maybe-check-findutils
7960 maybe-check-findutils:
7961 @if findutils
7962 maybe-check-findutils: check-findutils
7964 check-findutils:
7965 @r=`${PWD_COMMAND}`; export r; \
7966 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7967 $(SET_LIB_PATH) \
7968 $(HOST_EXPORTS) \
7969 (cd findutils && $(MAKE) $(FLAGS_TO_PASS) check)
7971 @endif findutils
7973 .PHONY: install-findutils maybe-install-findutils
7974 maybe-install-findutils:
7975 @if findutils
7976 maybe-install-findutils: install-findutils
7978 install-findutils: installdirs
7979 @r=`${PWD_COMMAND}`; export r; \
7980 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7981 $(SET_LIB_PATH) \
7982 $(HOST_EXPORTS) \
7983 (cd findutils && $(MAKE) $(FLAGS_TO_PASS) install)
7985 @endif findutils
7987 # Other targets (info, dvi, etc.)
7989 .PHONY: maybe-info-findutils info-findutils
7990 maybe-info-findutils:
7991 @if findutils
7992 maybe-info-findutils: info-findutils
7994 info-findutils: \
7995 configure-findutils
7996 @[ -f ./findutils/Makefile ] || exit 0; \
7997 r=`${PWD_COMMAND}`; export r; \
7998 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7999 $(SET_LIB_PATH) \
8000 $(HOST_EXPORTS) \
8001 for flag in $(EXTRA_HOST_FLAGS) ; do \
8002 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8003 done; \
8004 echo "Doing info in findutils" ; \
8005 (cd findutils && \
8006 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8007 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8008 "RANLIB=$${RANLIB}" \
8009 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8010 info) \
8011 || exit 1
8013 @endif findutils
8015 .PHONY: maybe-dvi-findutils dvi-findutils
8016 maybe-dvi-findutils:
8017 @if findutils
8018 maybe-dvi-findutils: dvi-findutils
8020 dvi-findutils: \
8021 configure-findutils
8022 @[ -f ./findutils/Makefile ] || exit 0; \
8023 r=`${PWD_COMMAND}`; export r; \
8024 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8025 $(SET_LIB_PATH) \
8026 $(HOST_EXPORTS) \
8027 for flag in $(EXTRA_HOST_FLAGS) ; do \
8028 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8029 done; \
8030 echo "Doing dvi in findutils" ; \
8031 (cd findutils && \
8032 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8033 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8034 "RANLIB=$${RANLIB}" \
8035 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8036 dvi) \
8037 || exit 1
8039 @endif findutils
8041 .PHONY: maybe-html-findutils html-findutils
8042 maybe-html-findutils:
8043 @if findutils
8044 maybe-html-findutils: html-findutils
8046 html-findutils: \
8047 configure-findutils
8048 @[ -f ./findutils/Makefile ] || exit 0; \
8049 r=`${PWD_COMMAND}`; export r; \
8050 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8051 $(SET_LIB_PATH) \
8052 $(HOST_EXPORTS) \
8053 for flag in $(EXTRA_HOST_FLAGS) ; do \
8054 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8055 done; \
8056 echo "Doing html in findutils" ; \
8057 (cd findutils && \
8058 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8059 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8060 "RANLIB=$${RANLIB}" \
8061 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8062 html) \
8063 || exit 1
8065 @endif findutils
8067 .PHONY: maybe-TAGS-findutils TAGS-findutils
8068 maybe-TAGS-findutils:
8069 @if findutils
8070 maybe-TAGS-findutils: TAGS-findutils
8072 TAGS-findutils: \
8073 configure-findutils
8074 @[ -f ./findutils/Makefile ] || exit 0; \
8075 r=`${PWD_COMMAND}`; export r; \
8076 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8077 $(SET_LIB_PATH) \
8078 $(HOST_EXPORTS) \
8079 for flag in $(EXTRA_HOST_FLAGS) ; do \
8080 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8081 done; \
8082 echo "Doing TAGS in findutils" ; \
8083 (cd findutils && \
8084 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8085 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8086 "RANLIB=$${RANLIB}" \
8087 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8088 TAGS) \
8089 || exit 1
8091 @endif findutils
8093 .PHONY: maybe-install-info-findutils install-info-findutils
8094 maybe-install-info-findutils:
8095 @if findutils
8096 maybe-install-info-findutils: install-info-findutils
8098 install-info-findutils: \
8099 configure-findutils \
8100 info-findutils
8101 @[ -f ./findutils/Makefile ] || exit 0; \
8102 r=`${PWD_COMMAND}`; export r; \
8103 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8104 $(SET_LIB_PATH) \
8105 $(HOST_EXPORTS) \
8106 for flag in $(EXTRA_HOST_FLAGS) ; do \
8107 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8108 done; \
8109 echo "Doing install-info in findutils" ; \
8110 (cd findutils && \
8111 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8112 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8113 "RANLIB=$${RANLIB}" \
8114 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8115 install-info) \
8116 || exit 1
8118 @endif findutils
8120 .PHONY: maybe-installcheck-findutils installcheck-findutils
8121 maybe-installcheck-findutils:
8122 @if findutils
8123 maybe-installcheck-findutils: installcheck-findutils
8125 installcheck-findutils: \
8126 configure-findutils
8127 @[ -f ./findutils/Makefile ] || exit 0; \
8128 r=`${PWD_COMMAND}`; export r; \
8129 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8130 $(SET_LIB_PATH) \
8131 $(HOST_EXPORTS) \
8132 for flag in $(EXTRA_HOST_FLAGS) ; do \
8133 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8134 done; \
8135 echo "Doing installcheck in findutils" ; \
8136 (cd findutils && \
8137 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8138 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8139 "RANLIB=$${RANLIB}" \
8140 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8141 installcheck) \
8142 || exit 1
8144 @endif findutils
8146 .PHONY: maybe-mostlyclean-findutils mostlyclean-findutils
8147 maybe-mostlyclean-findutils:
8148 @if findutils
8149 maybe-mostlyclean-findutils: mostlyclean-findutils
8151 mostlyclean-findutils:
8152 @[ -f ./findutils/Makefile ] || exit 0; \
8153 r=`${PWD_COMMAND}`; export r; \
8154 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8155 $(SET_LIB_PATH) \
8156 $(HOST_EXPORTS) \
8157 for flag in $(EXTRA_HOST_FLAGS) ; do \
8158 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8159 done; \
8160 echo "Doing mostlyclean in findutils" ; \
8161 (cd findutils && \
8162 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8163 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8164 "RANLIB=$${RANLIB}" \
8165 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8166 mostlyclean) \
8167 || exit 1
8169 @endif findutils
8171 .PHONY: maybe-clean-findutils clean-findutils
8172 maybe-clean-findutils:
8173 @if findutils
8174 maybe-clean-findutils: clean-findutils
8176 clean-findutils:
8177 @[ -f ./findutils/Makefile ] || exit 0; \
8178 r=`${PWD_COMMAND}`; export r; \
8179 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8180 $(SET_LIB_PATH) \
8181 $(HOST_EXPORTS) \
8182 for flag in $(EXTRA_HOST_FLAGS) ; do \
8183 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8184 done; \
8185 echo "Doing clean in findutils" ; \
8186 (cd findutils && \
8187 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8188 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8189 "RANLIB=$${RANLIB}" \
8190 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8191 clean) \
8192 || exit 1
8194 @endif findutils
8196 .PHONY: maybe-distclean-findutils distclean-findutils
8197 maybe-distclean-findutils:
8198 @if findutils
8199 maybe-distclean-findutils: distclean-findutils
8201 distclean-findutils:
8202 @[ -f ./findutils/Makefile ] || exit 0; \
8203 r=`${PWD_COMMAND}`; export r; \
8204 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8205 $(SET_LIB_PATH) \
8206 $(HOST_EXPORTS) \
8207 for flag in $(EXTRA_HOST_FLAGS) ; do \
8208 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8209 done; \
8210 echo "Doing distclean in findutils" ; \
8211 (cd findutils && \
8212 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8213 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8214 "RANLIB=$${RANLIB}" \
8215 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8216 distclean) \
8217 || exit 1
8219 @endif findutils
8221 .PHONY: maybe-maintainer-clean-findutils maintainer-clean-findutils
8222 maybe-maintainer-clean-findutils:
8223 @if findutils
8224 maybe-maintainer-clean-findutils: maintainer-clean-findutils
8226 maintainer-clean-findutils:
8227 @[ -f ./findutils/Makefile ] || exit 0; \
8228 r=`${PWD_COMMAND}`; export r; \
8229 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8230 $(SET_LIB_PATH) \
8231 $(HOST_EXPORTS) \
8232 for flag in $(EXTRA_HOST_FLAGS) ; do \
8233 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8234 done; \
8235 echo "Doing maintainer-clean in findutils" ; \
8236 (cd findutils && \
8237 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8238 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8239 "RANLIB=$${RANLIB}" \
8240 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8241 maintainer-clean) \
8242 || exit 1
8244 @endif findutils
8247 .PHONY: configure-find maybe-configure-find
8248 maybe-configure-find:
8249 @if find
8250 maybe-configure-find: configure-find
8251 configure-find:
8252 @test ! -f find/Makefile || exit 0; \
8253 [ -d find ] || mkdir find; \
8254 r=`${PWD_COMMAND}`; export r; \
8255 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8256 $(HOST_EXPORTS) \
8257 echo Configuring in find; \
8258 cd find || exit 1; \
8259 case $(srcdir) in \
8260 \.) \
8261 srcdiroption="--srcdir=."; \
8262 libsrcdir=".";; \
8263 /* | [A-Za-z]:[\\/]*) \
8264 srcdiroption="--srcdir=$(srcdir)/find"; \
8265 libsrcdir="$$s/find";; \
8266 *) \
8267 srcdiroption="--srcdir=../$(srcdir)/find"; \
8268 libsrcdir="$$s/find";; \
8269 esac; \
8270 $(SHELL) $${libsrcdir}/configure \
8271 $(HOST_CONFIGARGS) $${srcdiroption} \
8272 || exit 1
8273 @endif find
8275 .PHONY: all-find maybe-all-find
8276 maybe-all-find:
8277 @if find
8278 TARGET-find=all
8279 maybe-all-find: all-find
8280 all-find: configure-find
8281 @r=`${PWD_COMMAND}`; export r; \
8282 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8283 $(SET_LIB_PATH) \
8284 $(HOST_EXPORTS) \
8285 (cd find && $(MAKE) $(FLAGS_TO_PASS) \
8286 $(TARGET-find))
8287 @endif find
8289 .PHONY: check-find maybe-check-find
8290 maybe-check-find:
8291 @if find
8292 maybe-check-find: check-find
8294 check-find:
8295 @r=`${PWD_COMMAND}`; export r; \
8296 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8297 $(SET_LIB_PATH) \
8298 $(HOST_EXPORTS) \
8299 (cd find && $(MAKE) $(FLAGS_TO_PASS) check)
8301 @endif find
8303 .PHONY: install-find maybe-install-find
8304 maybe-install-find:
8305 @if find
8306 maybe-install-find: install-find
8308 install-find: installdirs
8309 @r=`${PWD_COMMAND}`; export r; \
8310 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8311 $(SET_LIB_PATH) \
8312 $(HOST_EXPORTS) \
8313 (cd find && $(MAKE) $(FLAGS_TO_PASS) install)
8315 @endif find
8317 # Other targets (info, dvi, etc.)
8319 .PHONY: maybe-info-find info-find
8320 maybe-info-find:
8321 @if find
8322 maybe-info-find: info-find
8324 info-find: \
8325 configure-find
8326 @[ -f ./find/Makefile ] || exit 0; \
8327 r=`${PWD_COMMAND}`; export r; \
8328 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8329 $(SET_LIB_PATH) \
8330 $(HOST_EXPORTS) \
8331 for flag in $(EXTRA_HOST_FLAGS) ; do \
8332 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8333 done; \
8334 echo "Doing info in find" ; \
8335 (cd find && \
8336 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8337 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8338 "RANLIB=$${RANLIB}" \
8339 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8340 info) \
8341 || exit 1
8343 @endif find
8345 .PHONY: maybe-dvi-find dvi-find
8346 maybe-dvi-find:
8347 @if find
8348 maybe-dvi-find: dvi-find
8350 dvi-find: \
8351 configure-find
8352 @[ -f ./find/Makefile ] || exit 0; \
8353 r=`${PWD_COMMAND}`; export r; \
8354 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8355 $(SET_LIB_PATH) \
8356 $(HOST_EXPORTS) \
8357 for flag in $(EXTRA_HOST_FLAGS) ; do \
8358 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8359 done; \
8360 echo "Doing dvi in find" ; \
8361 (cd find && \
8362 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8363 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8364 "RANLIB=$${RANLIB}" \
8365 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8366 dvi) \
8367 || exit 1
8369 @endif find
8371 .PHONY: maybe-html-find html-find
8372 maybe-html-find:
8373 @if find
8374 maybe-html-find: html-find
8376 html-find: \
8377 configure-find
8378 @[ -f ./find/Makefile ] || exit 0; \
8379 r=`${PWD_COMMAND}`; export r; \
8380 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8381 $(SET_LIB_PATH) \
8382 $(HOST_EXPORTS) \
8383 for flag in $(EXTRA_HOST_FLAGS) ; do \
8384 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8385 done; \
8386 echo "Doing html in find" ; \
8387 (cd find && \
8388 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8389 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8390 "RANLIB=$${RANLIB}" \
8391 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8392 html) \
8393 || exit 1
8395 @endif find
8397 .PHONY: maybe-TAGS-find TAGS-find
8398 maybe-TAGS-find:
8399 @if find
8400 maybe-TAGS-find: TAGS-find
8402 TAGS-find: \
8403 configure-find
8404 @[ -f ./find/Makefile ] || exit 0; \
8405 r=`${PWD_COMMAND}`; export r; \
8406 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8407 $(SET_LIB_PATH) \
8408 $(HOST_EXPORTS) \
8409 for flag in $(EXTRA_HOST_FLAGS) ; do \
8410 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8411 done; \
8412 echo "Doing TAGS in find" ; \
8413 (cd find && \
8414 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8415 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8416 "RANLIB=$${RANLIB}" \
8417 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8418 TAGS) \
8419 || exit 1
8421 @endif find
8423 .PHONY: maybe-install-info-find install-info-find
8424 maybe-install-info-find:
8425 @if find
8426 maybe-install-info-find: install-info-find
8428 install-info-find: \
8429 configure-find \
8430 info-find
8431 @[ -f ./find/Makefile ] || exit 0; \
8432 r=`${PWD_COMMAND}`; export r; \
8433 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8434 $(SET_LIB_PATH) \
8435 $(HOST_EXPORTS) \
8436 for flag in $(EXTRA_HOST_FLAGS) ; do \
8437 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8438 done; \
8439 echo "Doing install-info in find" ; \
8440 (cd find && \
8441 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8442 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8443 "RANLIB=$${RANLIB}" \
8444 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8445 install-info) \
8446 || exit 1
8448 @endif find
8450 .PHONY: maybe-installcheck-find installcheck-find
8451 maybe-installcheck-find:
8452 @if find
8453 maybe-installcheck-find: installcheck-find
8455 installcheck-find: \
8456 configure-find
8457 @[ -f ./find/Makefile ] || exit 0; \
8458 r=`${PWD_COMMAND}`; export r; \
8459 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8460 $(SET_LIB_PATH) \
8461 $(HOST_EXPORTS) \
8462 for flag in $(EXTRA_HOST_FLAGS) ; do \
8463 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8464 done; \
8465 echo "Doing installcheck in find" ; \
8466 (cd find && \
8467 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8468 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8469 "RANLIB=$${RANLIB}" \
8470 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8471 installcheck) \
8472 || exit 1
8474 @endif find
8476 .PHONY: maybe-mostlyclean-find mostlyclean-find
8477 maybe-mostlyclean-find:
8478 @if find
8479 maybe-mostlyclean-find: mostlyclean-find
8481 mostlyclean-find:
8482 @[ -f ./find/Makefile ] || exit 0; \
8483 r=`${PWD_COMMAND}`; export r; \
8484 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8485 $(SET_LIB_PATH) \
8486 $(HOST_EXPORTS) \
8487 for flag in $(EXTRA_HOST_FLAGS) ; do \
8488 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8489 done; \
8490 echo "Doing mostlyclean in find" ; \
8491 (cd find && \
8492 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8493 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8494 "RANLIB=$${RANLIB}" \
8495 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8496 mostlyclean) \
8497 || exit 1
8499 @endif find
8501 .PHONY: maybe-clean-find clean-find
8502 maybe-clean-find:
8503 @if find
8504 maybe-clean-find: clean-find
8506 clean-find:
8507 @[ -f ./find/Makefile ] || exit 0; \
8508 r=`${PWD_COMMAND}`; export r; \
8509 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8510 $(SET_LIB_PATH) \
8511 $(HOST_EXPORTS) \
8512 for flag in $(EXTRA_HOST_FLAGS) ; do \
8513 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8514 done; \
8515 echo "Doing clean in find" ; \
8516 (cd find && \
8517 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8518 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8519 "RANLIB=$${RANLIB}" \
8520 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8521 clean) \
8522 || exit 1
8524 @endif find
8526 .PHONY: maybe-distclean-find distclean-find
8527 maybe-distclean-find:
8528 @if find
8529 maybe-distclean-find: distclean-find
8531 distclean-find:
8532 @[ -f ./find/Makefile ] || exit 0; \
8533 r=`${PWD_COMMAND}`; export r; \
8534 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8535 $(SET_LIB_PATH) \
8536 $(HOST_EXPORTS) \
8537 for flag in $(EXTRA_HOST_FLAGS) ; do \
8538 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8539 done; \
8540 echo "Doing distclean in find" ; \
8541 (cd find && \
8542 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8543 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8544 "RANLIB=$${RANLIB}" \
8545 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8546 distclean) \
8547 || exit 1
8549 @endif find
8551 .PHONY: maybe-maintainer-clean-find maintainer-clean-find
8552 maybe-maintainer-clean-find:
8553 @if find
8554 maybe-maintainer-clean-find: maintainer-clean-find
8556 maintainer-clean-find:
8557 @[ -f ./find/Makefile ] || exit 0; \
8558 r=`${PWD_COMMAND}`; export r; \
8559 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8560 $(SET_LIB_PATH) \
8561 $(HOST_EXPORTS) \
8562 for flag in $(EXTRA_HOST_FLAGS) ; do \
8563 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8564 done; \
8565 echo "Doing maintainer-clean in find" ; \
8566 (cd find && \
8567 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8568 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8569 "RANLIB=$${RANLIB}" \
8570 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8571 maintainer-clean) \
8572 || exit 1
8574 @endif find
8577 .PHONY: configure-fixincludes maybe-configure-fixincludes
8578 maybe-configure-fixincludes:
8579 @if fixincludes
8580 maybe-configure-fixincludes: configure-fixincludes
8581 configure-fixincludes:
8582 @test ! -f fixincludes/Makefile || exit 0; \
8583 [ -d fixincludes ] || mkdir fixincludes; \
8584 r=`${PWD_COMMAND}`; export r; \
8585 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8586 $(HOST_EXPORTS) \
8587 echo Configuring in fixincludes; \
8588 cd fixincludes || exit 1; \
8589 case $(srcdir) in \
8590 \.) \
8591 srcdiroption="--srcdir=."; \
8592 libsrcdir=".";; \
8593 /* | [A-Za-z]:[\\/]*) \
8594 srcdiroption="--srcdir=$(srcdir)/fixincludes"; \
8595 libsrcdir="$$s/fixincludes";; \
8596 *) \
8597 srcdiroption="--srcdir=../$(srcdir)/fixincludes"; \
8598 libsrcdir="$$s/fixincludes";; \
8599 esac; \
8600 $(SHELL) $${libsrcdir}/configure \
8601 $(HOST_CONFIGARGS) $${srcdiroption} \
8602 || exit 1
8603 @endif fixincludes
8605 .PHONY: all-fixincludes maybe-all-fixincludes
8606 maybe-all-fixincludes:
8607 @if fixincludes
8608 TARGET-fixincludes=all
8609 maybe-all-fixincludes: all-fixincludes
8610 all-fixincludes: configure-fixincludes
8611 @r=`${PWD_COMMAND}`; export r; \
8612 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8613 $(SET_LIB_PATH) \
8614 $(HOST_EXPORTS) \
8615 (cd fixincludes && $(MAKE) $(FLAGS_TO_PASS) \
8616 $(TARGET-fixincludes))
8617 @endif fixincludes
8619 .PHONY: check-fixincludes maybe-check-fixincludes
8620 maybe-check-fixincludes:
8621 @if fixincludes
8622 maybe-check-fixincludes: check-fixincludes
8624 check-fixincludes:
8625 @r=`${PWD_COMMAND}`; export r; \
8626 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8627 $(SET_LIB_PATH) \
8628 $(HOST_EXPORTS) \
8629 (cd fixincludes && $(MAKE) $(FLAGS_TO_PASS) check)
8631 @endif fixincludes
8633 .PHONY: install-fixincludes maybe-install-fixincludes
8634 maybe-install-fixincludes:
8635 @if fixincludes
8636 maybe-install-fixincludes: install-fixincludes
8638 install-fixincludes: installdirs
8639 @r=`${PWD_COMMAND}`; export r; \
8640 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8641 $(SET_LIB_PATH) \
8642 $(HOST_EXPORTS) \
8643 (cd fixincludes && $(MAKE) $(FLAGS_TO_PASS) install)
8645 @endif fixincludes
8647 # Other targets (info, dvi, etc.)
8649 .PHONY: maybe-info-fixincludes info-fixincludes
8650 maybe-info-fixincludes:
8651 @if fixincludes
8652 maybe-info-fixincludes: info-fixincludes
8654 # fixincludes doesn't support info.
8655 info-fixincludes:
8657 @endif fixincludes
8659 .PHONY: maybe-dvi-fixincludes dvi-fixincludes
8660 maybe-dvi-fixincludes:
8661 @if fixincludes
8662 maybe-dvi-fixincludes: dvi-fixincludes
8664 # fixincludes doesn't support dvi.
8665 dvi-fixincludes:
8667 @endif fixincludes
8669 .PHONY: maybe-html-fixincludes html-fixincludes
8670 maybe-html-fixincludes:
8671 @if fixincludes
8672 maybe-html-fixincludes: html-fixincludes
8674 html-fixincludes: \
8675 configure-fixincludes
8676 @[ -f ./fixincludes/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) ; do \
8682 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8683 done; \
8684 echo "Doing html in fixincludes" ; \
8685 (cd fixincludes && \
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 html) \
8691 || exit 1
8693 @endif fixincludes
8695 .PHONY: maybe-TAGS-fixincludes TAGS-fixincludes
8696 maybe-TAGS-fixincludes:
8697 @if fixincludes
8698 maybe-TAGS-fixincludes: TAGS-fixincludes
8700 # fixincludes doesn't support TAGS.
8701 TAGS-fixincludes:
8703 @endif fixincludes
8705 .PHONY: maybe-install-info-fixincludes install-info-fixincludes
8706 maybe-install-info-fixincludes:
8707 @if fixincludes
8708 maybe-install-info-fixincludes: install-info-fixincludes
8710 # fixincludes doesn't support install-info.
8711 install-info-fixincludes:
8713 @endif fixincludes
8715 .PHONY: maybe-installcheck-fixincludes installcheck-fixincludes
8716 maybe-installcheck-fixincludes:
8717 @if fixincludes
8718 maybe-installcheck-fixincludes: installcheck-fixincludes
8720 # fixincludes doesn't support installcheck.
8721 installcheck-fixincludes:
8723 @endif fixincludes
8725 .PHONY: maybe-mostlyclean-fixincludes mostlyclean-fixincludes
8726 maybe-mostlyclean-fixincludes:
8727 @if fixincludes
8728 maybe-mostlyclean-fixincludes: mostlyclean-fixincludes
8730 mostlyclean-fixincludes:
8731 @[ -f ./fixincludes/Makefile ] || exit 0; \
8732 r=`${PWD_COMMAND}`; export r; \
8733 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8734 $(SET_LIB_PATH) \
8735 $(HOST_EXPORTS) \
8736 for flag in $(EXTRA_HOST_FLAGS) ; do \
8737 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8738 done; \
8739 echo "Doing mostlyclean in fixincludes" ; \
8740 (cd fixincludes && \
8741 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8742 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8743 "RANLIB=$${RANLIB}" \
8744 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8745 mostlyclean) \
8746 || exit 1
8748 @endif fixincludes
8750 .PHONY: maybe-clean-fixincludes clean-fixincludes
8751 maybe-clean-fixincludes:
8752 @if fixincludes
8753 maybe-clean-fixincludes: clean-fixincludes
8755 clean-fixincludes:
8756 @[ -f ./fixincludes/Makefile ] || exit 0; \
8757 r=`${PWD_COMMAND}`; export r; \
8758 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8759 $(SET_LIB_PATH) \
8760 $(HOST_EXPORTS) \
8761 for flag in $(EXTRA_HOST_FLAGS) ; do \
8762 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8763 done; \
8764 echo "Doing clean in fixincludes" ; \
8765 (cd fixincludes && \
8766 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8767 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8768 "RANLIB=$${RANLIB}" \
8769 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8770 clean) \
8771 || exit 1
8773 @endif fixincludes
8775 .PHONY: maybe-distclean-fixincludes distclean-fixincludes
8776 maybe-distclean-fixincludes:
8777 @if fixincludes
8778 maybe-distclean-fixincludes: distclean-fixincludes
8780 distclean-fixincludes:
8781 @[ -f ./fixincludes/Makefile ] || exit 0; \
8782 r=`${PWD_COMMAND}`; export r; \
8783 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8784 $(SET_LIB_PATH) \
8785 $(HOST_EXPORTS) \
8786 for flag in $(EXTRA_HOST_FLAGS) ; do \
8787 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8788 done; \
8789 echo "Doing distclean in fixincludes" ; \
8790 (cd fixincludes && \
8791 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8792 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8793 "RANLIB=$${RANLIB}" \
8794 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8795 distclean) \
8796 || exit 1
8798 @endif fixincludes
8800 .PHONY: maybe-maintainer-clean-fixincludes maintainer-clean-fixincludes
8801 maybe-maintainer-clean-fixincludes:
8802 @if fixincludes
8803 maybe-maintainer-clean-fixincludes: maintainer-clean-fixincludes
8805 maintainer-clean-fixincludes:
8806 @[ -f ./fixincludes/Makefile ] || exit 0; \
8807 r=`${PWD_COMMAND}`; export r; \
8808 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8809 $(SET_LIB_PATH) \
8810 $(HOST_EXPORTS) \
8811 for flag in $(EXTRA_HOST_FLAGS) ; do \
8812 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8813 done; \
8814 echo "Doing maintainer-clean in fixincludes" ; \
8815 (cd fixincludes && \
8816 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8817 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8818 "RANLIB=$${RANLIB}" \
8819 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8820 maintainer-clean) \
8821 || exit 1
8823 @endif fixincludes
8826 .PHONY: configure-flex maybe-configure-flex
8827 maybe-configure-flex:
8828 @if flex
8829 maybe-configure-flex: configure-flex
8830 configure-flex:
8831 @test ! -f flex/Makefile || exit 0; \
8832 [ -d flex ] || mkdir flex; \
8833 r=`${PWD_COMMAND}`; export r; \
8834 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8835 $(HOST_EXPORTS) \
8836 echo Configuring in flex; \
8837 cd flex || exit 1; \
8838 case $(srcdir) in \
8839 \.) \
8840 srcdiroption="--srcdir=."; \
8841 libsrcdir=".";; \
8842 /* | [A-Za-z]:[\\/]*) \
8843 srcdiroption="--srcdir=$(srcdir)/flex"; \
8844 libsrcdir="$$s/flex";; \
8845 *) \
8846 srcdiroption="--srcdir=../$(srcdir)/flex"; \
8847 libsrcdir="$$s/flex";; \
8848 esac; \
8849 $(SHELL) $${libsrcdir}/configure \
8850 $(HOST_CONFIGARGS) $${srcdiroption} \
8851 || exit 1
8852 @endif flex
8854 .PHONY: all-flex maybe-all-flex
8855 maybe-all-flex:
8856 @if flex
8857 TARGET-flex=all
8858 maybe-all-flex: all-flex
8859 all-flex: configure-flex
8860 @r=`${PWD_COMMAND}`; export r; \
8861 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8862 $(SET_LIB_PATH) \
8863 $(HOST_EXPORTS) \
8864 (cd flex && $(MAKE) $(FLAGS_TO_PASS) \
8865 $(TARGET-flex))
8866 @endif flex
8868 .PHONY: check-flex maybe-check-flex
8869 maybe-check-flex:
8870 @if flex
8871 maybe-check-flex: check-flex
8873 # This module is only tested in a native toolchain.
8874 check-flex:
8875 @if [ '$(host)' = '$(target)' ] ; then \
8876 r=`${PWD_COMMAND}`; export r; \
8877 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8878 $(SET_LIB_PATH) \
8879 $(HOST_EXPORTS) \
8880 (cd flex && $(MAKE) $(FLAGS_TO_PASS) check); \
8883 @endif flex
8885 .PHONY: install-flex maybe-install-flex
8886 maybe-install-flex:
8887 @if flex
8888 maybe-install-flex: install-flex
8890 install-flex: installdirs
8891 @r=`${PWD_COMMAND}`; export r; \
8892 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8893 $(SET_LIB_PATH) \
8894 $(HOST_EXPORTS) \
8895 (cd flex && $(MAKE) $(FLAGS_TO_PASS) install)
8897 @endif flex
8899 # Other targets (info, dvi, etc.)
8901 .PHONY: maybe-info-flex info-flex
8902 maybe-info-flex:
8903 @if flex
8904 maybe-info-flex: info-flex
8906 info-flex: \
8907 configure-flex
8908 @[ -f ./flex/Makefile ] || exit 0; \
8909 r=`${PWD_COMMAND}`; export r; \
8910 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8911 $(SET_LIB_PATH) \
8912 $(HOST_EXPORTS) \
8913 for flag in $(EXTRA_HOST_FLAGS) ; do \
8914 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8915 done; \
8916 echo "Doing info in flex" ; \
8917 (cd flex && \
8918 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8919 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8920 "RANLIB=$${RANLIB}" \
8921 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8922 info) \
8923 || exit 1
8925 @endif flex
8927 .PHONY: maybe-dvi-flex dvi-flex
8928 maybe-dvi-flex:
8929 @if flex
8930 maybe-dvi-flex: dvi-flex
8932 dvi-flex: \
8933 configure-flex
8934 @[ -f ./flex/Makefile ] || exit 0; \
8935 r=`${PWD_COMMAND}`; export r; \
8936 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8937 $(SET_LIB_PATH) \
8938 $(HOST_EXPORTS) \
8939 for flag in $(EXTRA_HOST_FLAGS) ; do \
8940 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8941 done; \
8942 echo "Doing dvi in flex" ; \
8943 (cd flex && \
8944 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8945 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8946 "RANLIB=$${RANLIB}" \
8947 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8948 dvi) \
8949 || exit 1
8951 @endif flex
8953 .PHONY: maybe-html-flex html-flex
8954 maybe-html-flex:
8955 @if flex
8956 maybe-html-flex: html-flex
8958 html-flex: \
8959 configure-flex
8960 @[ -f ./flex/Makefile ] || exit 0; \
8961 r=`${PWD_COMMAND}`; export r; \
8962 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8963 $(SET_LIB_PATH) \
8964 $(HOST_EXPORTS) \
8965 for flag in $(EXTRA_HOST_FLAGS) ; do \
8966 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8967 done; \
8968 echo "Doing html in flex" ; \
8969 (cd flex && \
8970 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8971 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8972 "RANLIB=$${RANLIB}" \
8973 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8974 html) \
8975 || exit 1
8977 @endif flex
8979 .PHONY: maybe-TAGS-flex TAGS-flex
8980 maybe-TAGS-flex:
8981 @if flex
8982 maybe-TAGS-flex: TAGS-flex
8984 TAGS-flex: \
8985 configure-flex
8986 @[ -f ./flex/Makefile ] || exit 0; \
8987 r=`${PWD_COMMAND}`; export r; \
8988 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8989 $(SET_LIB_PATH) \
8990 $(HOST_EXPORTS) \
8991 for flag in $(EXTRA_HOST_FLAGS) ; do \
8992 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8993 done; \
8994 echo "Doing TAGS in flex" ; \
8995 (cd flex && \
8996 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8997 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8998 "RANLIB=$${RANLIB}" \
8999 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9000 TAGS) \
9001 || exit 1
9003 @endif flex
9005 .PHONY: maybe-install-info-flex install-info-flex
9006 maybe-install-info-flex:
9007 @if flex
9008 maybe-install-info-flex: install-info-flex
9010 install-info-flex: \
9011 configure-flex \
9012 info-flex
9013 @[ -f ./flex/Makefile ] || exit 0; \
9014 r=`${PWD_COMMAND}`; export r; \
9015 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9016 $(SET_LIB_PATH) \
9017 $(HOST_EXPORTS) \
9018 for flag in $(EXTRA_HOST_FLAGS) ; do \
9019 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9020 done; \
9021 echo "Doing install-info in flex" ; \
9022 (cd flex && \
9023 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9024 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9025 "RANLIB=$${RANLIB}" \
9026 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9027 install-info) \
9028 || exit 1
9030 @endif flex
9032 .PHONY: maybe-installcheck-flex installcheck-flex
9033 maybe-installcheck-flex:
9034 @if flex
9035 maybe-installcheck-flex: installcheck-flex
9037 installcheck-flex: \
9038 configure-flex
9039 @[ -f ./flex/Makefile ] || exit 0; \
9040 r=`${PWD_COMMAND}`; export r; \
9041 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9042 $(SET_LIB_PATH) \
9043 $(HOST_EXPORTS) \
9044 for flag in $(EXTRA_HOST_FLAGS) ; do \
9045 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9046 done; \
9047 echo "Doing installcheck in flex" ; \
9048 (cd flex && \
9049 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9050 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9051 "RANLIB=$${RANLIB}" \
9052 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9053 installcheck) \
9054 || exit 1
9056 @endif flex
9058 .PHONY: maybe-mostlyclean-flex mostlyclean-flex
9059 maybe-mostlyclean-flex:
9060 @if flex
9061 maybe-mostlyclean-flex: mostlyclean-flex
9063 mostlyclean-flex:
9064 @[ -f ./flex/Makefile ] || exit 0; \
9065 r=`${PWD_COMMAND}`; export r; \
9066 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9067 $(SET_LIB_PATH) \
9068 $(HOST_EXPORTS) \
9069 for flag in $(EXTRA_HOST_FLAGS) ; do \
9070 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9071 done; \
9072 echo "Doing mostlyclean in flex" ; \
9073 (cd flex && \
9074 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9075 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9076 "RANLIB=$${RANLIB}" \
9077 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9078 mostlyclean) \
9079 || exit 1
9081 @endif flex
9083 .PHONY: maybe-clean-flex clean-flex
9084 maybe-clean-flex:
9085 @if flex
9086 maybe-clean-flex: clean-flex
9088 clean-flex:
9089 @[ -f ./flex/Makefile ] || exit 0; \
9090 r=`${PWD_COMMAND}`; export r; \
9091 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9092 $(SET_LIB_PATH) \
9093 $(HOST_EXPORTS) \
9094 for flag in $(EXTRA_HOST_FLAGS) ; do \
9095 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9096 done; \
9097 echo "Doing clean in flex" ; \
9098 (cd flex && \
9099 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9100 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9101 "RANLIB=$${RANLIB}" \
9102 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9103 clean) \
9104 || exit 1
9106 @endif flex
9108 .PHONY: maybe-distclean-flex distclean-flex
9109 maybe-distclean-flex:
9110 @if flex
9111 maybe-distclean-flex: distclean-flex
9113 distclean-flex:
9114 @[ -f ./flex/Makefile ] || exit 0; \
9115 r=`${PWD_COMMAND}`; export r; \
9116 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9117 $(SET_LIB_PATH) \
9118 $(HOST_EXPORTS) \
9119 for flag in $(EXTRA_HOST_FLAGS) ; do \
9120 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9121 done; \
9122 echo "Doing distclean in flex" ; \
9123 (cd flex && \
9124 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9125 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9126 "RANLIB=$${RANLIB}" \
9127 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9128 distclean) \
9129 || exit 1
9131 @endif flex
9133 .PHONY: maybe-maintainer-clean-flex maintainer-clean-flex
9134 maybe-maintainer-clean-flex:
9135 @if flex
9136 maybe-maintainer-clean-flex: maintainer-clean-flex
9138 maintainer-clean-flex:
9139 @[ -f ./flex/Makefile ] || exit 0; \
9140 r=`${PWD_COMMAND}`; export r; \
9141 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9142 $(SET_LIB_PATH) \
9143 $(HOST_EXPORTS) \
9144 for flag in $(EXTRA_HOST_FLAGS) ; do \
9145 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9146 done; \
9147 echo "Doing maintainer-clean in flex" ; \
9148 (cd flex && \
9149 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9150 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9151 "RANLIB=$${RANLIB}" \
9152 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9153 maintainer-clean) \
9154 || exit 1
9156 @endif flex
9159 .PHONY: configure-gas maybe-configure-gas
9160 maybe-configure-gas:
9161 @if gas
9162 maybe-configure-gas: configure-gas
9163 configure-gas:
9164 @test -f stage_last && exit 0; \
9165 test ! -f gas/Makefile || exit 0; \
9166 [ -d gas ] || mkdir gas; \
9167 r=`${PWD_COMMAND}`; export r; \
9168 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9169 $(HOST_EXPORTS) \
9170 echo Configuring in gas; \
9171 cd gas || exit 1; \
9172 case $(srcdir) in \
9173 \.) \
9174 srcdiroption="--srcdir=."; \
9175 libsrcdir=".";; \
9176 /* | [A-Za-z]:[\\/]*) \
9177 srcdiroption="--srcdir=$(srcdir)/gas"; \
9178 libsrcdir="$$s/gas";; \
9179 *) \
9180 srcdiroption="--srcdir=../$(srcdir)/gas"; \
9181 libsrcdir="$$s/gas";; \
9182 esac; \
9183 $(SHELL) $${libsrcdir}/configure \
9184 $(HOST_CONFIGARGS) $${srcdiroption} \
9185 || exit 1
9186 @endif gas
9188 .PHONY: all-gas maybe-all-gas
9189 maybe-all-gas:
9190 @if gas
9191 TARGET-gas=all
9192 maybe-all-gas: all-gas
9193 all-gas: configure-gas
9194 @test -f stage_last && exit 0; \
9195 r=`${PWD_COMMAND}`; export r; \
9196 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9197 $(SET_LIB_PATH) \
9198 $(HOST_EXPORTS) \
9199 (cd gas && $(MAKE) $(FLAGS_TO_PASS) \
9200 $(TARGET-gas))
9201 @endif gas
9203 .PHONY: check-gas maybe-check-gas
9204 maybe-check-gas:
9205 @if gas
9206 maybe-check-gas: check-gas
9208 check-gas:
9209 @r=`${PWD_COMMAND}`; export r; \
9210 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9211 $(SET_LIB_PATH) \
9212 $(HOST_EXPORTS) \
9213 (cd gas && $(MAKE) $(FLAGS_TO_PASS) check)
9215 @endif gas
9217 .PHONY: install-gas maybe-install-gas
9218 maybe-install-gas:
9219 @if gas
9220 maybe-install-gas: install-gas
9222 install-gas: installdirs
9223 @r=`${PWD_COMMAND}`; export r; \
9224 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9225 $(SET_LIB_PATH) \
9226 $(HOST_EXPORTS) \
9227 (cd gas && $(MAKE) $(FLAGS_TO_PASS) install)
9229 @endif gas
9231 # Other targets (info, dvi, etc.)
9233 .PHONY: maybe-info-gas info-gas
9234 maybe-info-gas:
9235 @if gas
9236 maybe-info-gas: info-gas
9238 info-gas: \
9239 configure-gas
9240 @[ -f ./gas/Makefile ] || exit 0; \
9241 r=`${PWD_COMMAND}`; export r; \
9242 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9243 $(SET_LIB_PATH) \
9244 $(HOST_EXPORTS) \
9245 for flag in $(EXTRA_HOST_FLAGS) ; do \
9246 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9247 done; \
9248 echo "Doing info in gas" ; \
9249 (cd gas && \
9250 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9251 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9252 "RANLIB=$${RANLIB}" \
9253 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9254 info) \
9255 || exit 1
9257 @endif gas
9259 .PHONY: maybe-dvi-gas dvi-gas
9260 maybe-dvi-gas:
9261 @if gas
9262 maybe-dvi-gas: dvi-gas
9264 dvi-gas: \
9265 configure-gas
9266 @[ -f ./gas/Makefile ] || exit 0; \
9267 r=`${PWD_COMMAND}`; export r; \
9268 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9269 $(SET_LIB_PATH) \
9270 $(HOST_EXPORTS) \
9271 for flag in $(EXTRA_HOST_FLAGS) ; do \
9272 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9273 done; \
9274 echo "Doing dvi in gas" ; \
9275 (cd gas && \
9276 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9277 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9278 "RANLIB=$${RANLIB}" \
9279 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9280 dvi) \
9281 || exit 1
9283 @endif gas
9285 .PHONY: maybe-html-gas html-gas
9286 maybe-html-gas:
9287 @if gas
9288 maybe-html-gas: html-gas
9290 html-gas: \
9291 configure-gas
9292 @[ -f ./gas/Makefile ] || exit 0; \
9293 r=`${PWD_COMMAND}`; export r; \
9294 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9295 $(SET_LIB_PATH) \
9296 $(HOST_EXPORTS) \
9297 for flag in $(EXTRA_HOST_FLAGS) ; do \
9298 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9299 done; \
9300 echo "Doing html in gas" ; \
9301 (cd gas && \
9302 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9303 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9304 "RANLIB=$${RANLIB}" \
9305 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9306 html) \
9307 || exit 1
9309 @endif gas
9311 .PHONY: maybe-TAGS-gas TAGS-gas
9312 maybe-TAGS-gas:
9313 @if gas
9314 maybe-TAGS-gas: TAGS-gas
9316 TAGS-gas: \
9317 configure-gas
9318 @[ -f ./gas/Makefile ] || exit 0; \
9319 r=`${PWD_COMMAND}`; export r; \
9320 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9321 $(SET_LIB_PATH) \
9322 $(HOST_EXPORTS) \
9323 for flag in $(EXTRA_HOST_FLAGS) ; do \
9324 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9325 done; \
9326 echo "Doing TAGS in gas" ; \
9327 (cd gas && \
9328 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9329 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9330 "RANLIB=$${RANLIB}" \
9331 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9332 TAGS) \
9333 || exit 1
9335 @endif gas
9337 .PHONY: maybe-install-info-gas install-info-gas
9338 maybe-install-info-gas:
9339 @if gas
9340 maybe-install-info-gas: install-info-gas
9342 install-info-gas: \
9343 configure-gas \
9344 info-gas
9345 @[ -f ./gas/Makefile ] || exit 0; \
9346 r=`${PWD_COMMAND}`; export r; \
9347 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9348 $(SET_LIB_PATH) \
9349 $(HOST_EXPORTS) \
9350 for flag in $(EXTRA_HOST_FLAGS) ; do \
9351 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9352 done; \
9353 echo "Doing install-info in gas" ; \
9354 (cd gas && \
9355 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9356 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9357 "RANLIB=$${RANLIB}" \
9358 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9359 install-info) \
9360 || exit 1
9362 @endif gas
9364 .PHONY: maybe-installcheck-gas installcheck-gas
9365 maybe-installcheck-gas:
9366 @if gas
9367 maybe-installcheck-gas: installcheck-gas
9369 installcheck-gas: \
9370 configure-gas
9371 @[ -f ./gas/Makefile ] || exit 0; \
9372 r=`${PWD_COMMAND}`; export r; \
9373 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9374 $(SET_LIB_PATH) \
9375 $(HOST_EXPORTS) \
9376 for flag in $(EXTRA_HOST_FLAGS) ; do \
9377 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9378 done; \
9379 echo "Doing installcheck in gas" ; \
9380 (cd gas && \
9381 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9382 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9383 "RANLIB=$${RANLIB}" \
9384 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9385 installcheck) \
9386 || exit 1
9388 @endif gas
9390 .PHONY: maybe-mostlyclean-gas mostlyclean-gas
9391 maybe-mostlyclean-gas:
9392 @if gas
9393 maybe-mostlyclean-gas: mostlyclean-gas
9395 mostlyclean-gas:
9396 @[ -f ./gas/Makefile ] || exit 0; \
9397 r=`${PWD_COMMAND}`; export r; \
9398 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9399 $(SET_LIB_PATH) \
9400 $(HOST_EXPORTS) \
9401 for flag in $(EXTRA_HOST_FLAGS) ; do \
9402 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9403 done; \
9404 echo "Doing mostlyclean in gas" ; \
9405 (cd gas && \
9406 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9407 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9408 "RANLIB=$${RANLIB}" \
9409 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9410 mostlyclean) \
9411 || exit 1
9413 @endif gas
9415 .PHONY: maybe-clean-gas clean-gas
9416 maybe-clean-gas:
9417 @if gas
9418 maybe-clean-gas: clean-gas
9420 clean-gas:
9421 @[ -f ./gas/Makefile ] || exit 0; \
9422 r=`${PWD_COMMAND}`; export r; \
9423 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9424 $(SET_LIB_PATH) \
9425 $(HOST_EXPORTS) \
9426 for flag in $(EXTRA_HOST_FLAGS) ; do \
9427 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9428 done; \
9429 echo "Doing clean in gas" ; \
9430 (cd gas && \
9431 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9432 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9433 "RANLIB=$${RANLIB}" \
9434 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9435 clean) \
9436 || exit 1
9438 @endif gas
9440 .PHONY: maybe-distclean-gas distclean-gas
9441 maybe-distclean-gas:
9442 @if gas
9443 maybe-distclean-gas: distclean-gas
9445 distclean-gas:
9446 @[ -f ./gas/Makefile ] || exit 0; \
9447 r=`${PWD_COMMAND}`; export r; \
9448 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9449 $(SET_LIB_PATH) \
9450 $(HOST_EXPORTS) \
9451 for flag in $(EXTRA_HOST_FLAGS) ; do \
9452 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9453 done; \
9454 echo "Doing distclean in gas" ; \
9455 (cd gas && \
9456 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9457 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9458 "RANLIB=$${RANLIB}" \
9459 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9460 distclean) \
9461 || exit 1
9463 @endif gas
9465 .PHONY: maybe-maintainer-clean-gas maintainer-clean-gas
9466 maybe-maintainer-clean-gas:
9467 @if gas
9468 maybe-maintainer-clean-gas: maintainer-clean-gas
9470 maintainer-clean-gas:
9471 @[ -f ./gas/Makefile ] || exit 0; \
9472 r=`${PWD_COMMAND}`; export r; \
9473 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9474 $(SET_LIB_PATH) \
9475 $(HOST_EXPORTS) \
9476 for flag in $(EXTRA_HOST_FLAGS) ; do \
9477 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9478 done; \
9479 echo "Doing maintainer-clean in gas" ; \
9480 (cd gas && \
9481 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9482 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9483 "RANLIB=$${RANLIB}" \
9484 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9485 maintainer-clean) \
9486 || exit 1
9488 @endif gas
9491 .PHONY: configure-gcc maybe-configure-gcc
9492 maybe-configure-gcc:
9493 @if gcc
9494 maybe-configure-gcc: configure-gcc
9495 configure-gcc:
9496 @test -f stage_last && exit 0; \
9497 test ! -f gcc/Makefile || exit 0; \
9498 [ -d gcc ] || mkdir gcc; \
9499 r=`${PWD_COMMAND}`; export r; \
9500 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9501 $(HOST_EXPORTS) \
9502 echo Configuring in gcc; \
9503 cd gcc || exit 1; \
9504 case $(srcdir) in \
9505 \.) \
9506 srcdiroption="--srcdir=."; \
9507 libsrcdir=".";; \
9508 /* | [A-Za-z]:[\\/]*) \
9509 srcdiroption="--srcdir=$(srcdir)/gcc"; \
9510 libsrcdir="$$s/gcc";; \
9511 *) \
9512 srcdiroption="--srcdir=../$(srcdir)/gcc"; \
9513 libsrcdir="$$s/gcc";; \
9514 esac; \
9515 $(SHELL) $${libsrcdir}/configure \
9516 $(HOST_CONFIGARGS) $${srcdiroption} \
9517 || exit 1
9518 @endif gcc
9520 .PHONY: all-gcc maybe-all-gcc
9521 maybe-all-gcc:
9522 @if gcc
9523 TARGET-gcc=`if [ -f gcc/stage_last ]; then echo quickstrap ; else echo all; fi`
9524 maybe-all-gcc: all-gcc
9525 all-gcc: configure-gcc
9526 @test -f stage_last && exit 0; \
9527 r=`${PWD_COMMAND}`; export r; \
9528 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9529 $(SET_LIB_PATH) \
9530 $(HOST_EXPORTS) \
9531 (cd gcc && $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
9532 $(TARGET-gcc))
9533 @endif gcc
9535 .PHONY: check-gcc maybe-check-gcc
9536 maybe-check-gcc:
9537 @if gcc
9538 maybe-check-gcc: check-gcc
9540 check-gcc:
9541 @r=`${PWD_COMMAND}`; export r; \
9542 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9543 $(SET_LIB_PATH) \
9544 $(HOST_EXPORTS) \
9545 (cd gcc && $(MAKE) $(FLAGS_TO_PASS)$(EXTRA_GCC_FLAGS) check)
9547 @endif gcc
9549 .PHONY: install-gcc maybe-install-gcc
9550 maybe-install-gcc:
9551 @if gcc
9552 maybe-install-gcc: install-gcc
9554 install-gcc: installdirs
9555 @r=`${PWD_COMMAND}`; export r; \
9556 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9557 $(SET_LIB_PATH) \
9558 $(HOST_EXPORTS) \
9559 (cd gcc && $(MAKE) $(FLAGS_TO_PASS)$(EXTRA_GCC_FLAGS) install)
9561 @endif gcc
9563 # Other targets (info, dvi, etc.)
9565 .PHONY: maybe-info-gcc info-gcc
9566 maybe-info-gcc:
9567 @if gcc
9568 maybe-info-gcc: info-gcc
9570 info-gcc: \
9571 configure-gcc
9572 @[ -f ./gcc/Makefile ] || exit 0; \
9573 r=`${PWD_COMMAND}`; export r; \
9574 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9575 $(SET_LIB_PATH) \
9576 $(HOST_EXPORTS) \
9577 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
9578 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9579 done; \
9580 echo "Doing info in gcc" ; \
9581 (cd gcc && \
9582 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9583 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9584 "RANLIB=$${RANLIB}" \
9585 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9586 info) \
9587 || exit 1
9589 @endif gcc
9591 .PHONY: maybe-dvi-gcc dvi-gcc
9592 maybe-dvi-gcc:
9593 @if gcc
9594 maybe-dvi-gcc: dvi-gcc
9596 dvi-gcc: \
9597 configure-gcc
9598 @[ -f ./gcc/Makefile ] || exit 0; \
9599 r=`${PWD_COMMAND}`; export r; \
9600 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9601 $(SET_LIB_PATH) \
9602 $(HOST_EXPORTS) \
9603 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
9604 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9605 done; \
9606 echo "Doing dvi in gcc" ; \
9607 (cd gcc && \
9608 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9609 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9610 "RANLIB=$${RANLIB}" \
9611 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9612 dvi) \
9613 || exit 1
9615 @endif gcc
9617 .PHONY: maybe-html-gcc html-gcc
9618 maybe-html-gcc:
9619 @if gcc
9620 maybe-html-gcc: html-gcc
9622 html-gcc: \
9623 configure-gcc
9624 @[ -f ./gcc/Makefile ] || exit 0; \
9625 r=`${PWD_COMMAND}`; export r; \
9626 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9627 $(SET_LIB_PATH) \
9628 $(HOST_EXPORTS) \
9629 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
9630 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9631 done; \
9632 echo "Doing html in gcc" ; \
9633 (cd gcc && \
9634 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9635 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9636 "RANLIB=$${RANLIB}" \
9637 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9638 html) \
9639 || exit 1
9641 @endif gcc
9643 .PHONY: maybe-TAGS-gcc TAGS-gcc
9644 maybe-TAGS-gcc:
9645 @if gcc
9646 maybe-TAGS-gcc: TAGS-gcc
9648 TAGS-gcc: \
9649 configure-gcc
9650 @[ -f ./gcc/Makefile ] || exit 0; \
9651 r=`${PWD_COMMAND}`; export r; \
9652 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9653 $(SET_LIB_PATH) \
9654 $(HOST_EXPORTS) \
9655 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
9656 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9657 done; \
9658 echo "Doing TAGS in gcc" ; \
9659 (cd gcc && \
9660 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9661 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9662 "RANLIB=$${RANLIB}" \
9663 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9664 TAGS) \
9665 || exit 1
9667 @endif gcc
9669 .PHONY: maybe-install-info-gcc install-info-gcc
9670 maybe-install-info-gcc:
9671 @if gcc
9672 maybe-install-info-gcc: install-info-gcc
9674 install-info-gcc: \
9675 configure-gcc \
9676 info-gcc
9677 @[ -f ./gcc/Makefile ] || exit 0; \
9678 r=`${PWD_COMMAND}`; export r; \
9679 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9680 $(SET_LIB_PATH) \
9681 $(HOST_EXPORTS) \
9682 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
9683 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9684 done; \
9685 echo "Doing install-info in gcc" ; \
9686 (cd gcc && \
9687 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9688 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9689 "RANLIB=$${RANLIB}" \
9690 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9691 install-info) \
9692 || exit 1
9694 @endif gcc
9696 .PHONY: maybe-installcheck-gcc installcheck-gcc
9697 maybe-installcheck-gcc:
9698 @if gcc
9699 maybe-installcheck-gcc: installcheck-gcc
9701 installcheck-gcc: \
9702 configure-gcc
9703 @[ -f ./gcc/Makefile ] || exit 0; \
9704 r=`${PWD_COMMAND}`; export r; \
9705 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9706 $(SET_LIB_PATH) \
9707 $(HOST_EXPORTS) \
9708 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
9709 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9710 done; \
9711 echo "Doing installcheck in gcc" ; \
9712 (cd gcc && \
9713 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9714 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9715 "RANLIB=$${RANLIB}" \
9716 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9717 installcheck) \
9718 || exit 1
9720 @endif gcc
9722 .PHONY: maybe-mostlyclean-gcc mostlyclean-gcc
9723 maybe-mostlyclean-gcc:
9724 @if gcc
9725 maybe-mostlyclean-gcc: mostlyclean-gcc
9727 mostlyclean-gcc:
9728 @[ -f ./gcc/Makefile ] || exit 0; \
9729 r=`${PWD_COMMAND}`; export r; \
9730 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9731 $(SET_LIB_PATH) \
9732 $(HOST_EXPORTS) \
9733 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
9734 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9735 done; \
9736 echo "Doing mostlyclean in gcc" ; \
9737 (cd gcc && \
9738 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9739 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9740 "RANLIB=$${RANLIB}" \
9741 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9742 mostlyclean) \
9743 || exit 1
9745 @endif gcc
9747 .PHONY: maybe-clean-gcc clean-gcc
9748 maybe-clean-gcc:
9749 @if gcc
9750 maybe-clean-gcc: clean-gcc
9752 clean-gcc:
9753 @[ -f ./gcc/Makefile ] || exit 0; \
9754 r=`${PWD_COMMAND}`; export r; \
9755 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9756 $(SET_LIB_PATH) \
9757 $(HOST_EXPORTS) \
9758 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
9759 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9760 done; \
9761 echo "Doing clean in gcc" ; \
9762 (cd gcc && \
9763 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9764 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9765 "RANLIB=$${RANLIB}" \
9766 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9767 clean) \
9768 || exit 1
9770 @endif gcc
9772 .PHONY: maybe-distclean-gcc distclean-gcc
9773 maybe-distclean-gcc:
9774 @if gcc
9775 maybe-distclean-gcc: distclean-gcc
9777 distclean-gcc:
9778 @[ -f ./gcc/Makefile ] || exit 0; \
9779 r=`${PWD_COMMAND}`; export r; \
9780 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9781 $(SET_LIB_PATH) \
9782 $(HOST_EXPORTS) \
9783 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
9784 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9785 done; \
9786 echo "Doing distclean in gcc" ; \
9787 (cd gcc && \
9788 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9789 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9790 "RANLIB=$${RANLIB}" \
9791 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9792 distclean) \
9793 || exit 1
9795 @endif gcc
9797 .PHONY: maybe-maintainer-clean-gcc maintainer-clean-gcc
9798 maybe-maintainer-clean-gcc:
9799 @if gcc
9800 maybe-maintainer-clean-gcc: maintainer-clean-gcc
9802 maintainer-clean-gcc:
9803 @[ -f ./gcc/Makefile ] || exit 0; \
9804 r=`${PWD_COMMAND}`; export r; \
9805 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9806 $(SET_LIB_PATH) \
9807 $(HOST_EXPORTS) \
9808 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
9809 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9810 done; \
9811 echo "Doing maintainer-clean in gcc" ; \
9812 (cd gcc && \
9813 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9814 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9815 "RANLIB=$${RANLIB}" \
9816 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9817 maintainer-clean) \
9818 || exit 1
9820 @endif gcc
9823 .PHONY: configure-gawk maybe-configure-gawk
9824 maybe-configure-gawk:
9825 @if gawk
9826 maybe-configure-gawk: configure-gawk
9827 configure-gawk:
9828 @test ! -f gawk/Makefile || exit 0; \
9829 [ -d gawk ] || mkdir gawk; \
9830 r=`${PWD_COMMAND}`; export r; \
9831 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9832 $(HOST_EXPORTS) \
9833 echo Configuring in gawk; \
9834 cd gawk || exit 1; \
9835 case $(srcdir) in \
9836 \.) \
9837 srcdiroption="--srcdir=."; \
9838 libsrcdir=".";; \
9839 /* | [A-Za-z]:[\\/]*) \
9840 srcdiroption="--srcdir=$(srcdir)/gawk"; \
9841 libsrcdir="$$s/gawk";; \
9842 *) \
9843 srcdiroption="--srcdir=../$(srcdir)/gawk"; \
9844 libsrcdir="$$s/gawk";; \
9845 esac; \
9846 $(SHELL) $${libsrcdir}/configure \
9847 $(HOST_CONFIGARGS) $${srcdiroption} \
9848 || exit 1
9849 @endif gawk
9851 .PHONY: all-gawk maybe-all-gawk
9852 maybe-all-gawk:
9853 @if gawk
9854 TARGET-gawk=all
9855 maybe-all-gawk: all-gawk
9856 all-gawk: configure-gawk
9857 @r=`${PWD_COMMAND}`; export r; \
9858 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9859 $(SET_LIB_PATH) \
9860 $(HOST_EXPORTS) \
9861 (cd gawk && $(MAKE) $(FLAGS_TO_PASS) \
9862 $(TARGET-gawk))
9863 @endif gawk
9865 .PHONY: check-gawk maybe-check-gawk
9866 maybe-check-gawk:
9867 @if gawk
9868 maybe-check-gawk: check-gawk
9870 check-gawk:
9871 @r=`${PWD_COMMAND}`; export r; \
9872 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9873 $(SET_LIB_PATH) \
9874 $(HOST_EXPORTS) \
9875 (cd gawk && $(MAKE) $(FLAGS_TO_PASS) check)
9877 @endif gawk
9879 .PHONY: install-gawk maybe-install-gawk
9880 maybe-install-gawk:
9881 @if gawk
9882 maybe-install-gawk: install-gawk
9884 install-gawk: installdirs
9885 @r=`${PWD_COMMAND}`; export r; \
9886 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9887 $(SET_LIB_PATH) \
9888 $(HOST_EXPORTS) \
9889 (cd gawk && $(MAKE) $(FLAGS_TO_PASS) install)
9891 @endif gawk
9893 # Other targets (info, dvi, etc.)
9895 .PHONY: maybe-info-gawk info-gawk
9896 maybe-info-gawk:
9897 @if gawk
9898 maybe-info-gawk: info-gawk
9900 info-gawk: \
9901 configure-gawk
9902 @[ -f ./gawk/Makefile ] || exit 0; \
9903 r=`${PWD_COMMAND}`; export r; \
9904 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9905 $(SET_LIB_PATH) \
9906 $(HOST_EXPORTS) \
9907 for flag in $(EXTRA_HOST_FLAGS) ; do \
9908 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9909 done; \
9910 echo "Doing info in gawk" ; \
9911 (cd gawk && \
9912 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9913 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9914 "RANLIB=$${RANLIB}" \
9915 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9916 info) \
9917 || exit 1
9919 @endif gawk
9921 .PHONY: maybe-dvi-gawk dvi-gawk
9922 maybe-dvi-gawk:
9923 @if gawk
9924 maybe-dvi-gawk: dvi-gawk
9926 dvi-gawk: \
9927 configure-gawk
9928 @[ -f ./gawk/Makefile ] || exit 0; \
9929 r=`${PWD_COMMAND}`; export r; \
9930 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9931 $(SET_LIB_PATH) \
9932 $(HOST_EXPORTS) \
9933 for flag in $(EXTRA_HOST_FLAGS) ; do \
9934 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9935 done; \
9936 echo "Doing dvi in gawk" ; \
9937 (cd gawk && \
9938 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9939 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9940 "RANLIB=$${RANLIB}" \
9941 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9942 dvi) \
9943 || exit 1
9945 @endif gawk
9947 .PHONY: maybe-html-gawk html-gawk
9948 maybe-html-gawk:
9949 @if gawk
9950 maybe-html-gawk: html-gawk
9952 html-gawk: \
9953 configure-gawk
9954 @[ -f ./gawk/Makefile ] || exit 0; \
9955 r=`${PWD_COMMAND}`; export r; \
9956 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9957 $(SET_LIB_PATH) \
9958 $(HOST_EXPORTS) \
9959 for flag in $(EXTRA_HOST_FLAGS) ; do \
9960 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9961 done; \
9962 echo "Doing html in gawk" ; \
9963 (cd gawk && \
9964 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9965 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9966 "RANLIB=$${RANLIB}" \
9967 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9968 html) \
9969 || exit 1
9971 @endif gawk
9973 .PHONY: maybe-TAGS-gawk TAGS-gawk
9974 maybe-TAGS-gawk:
9975 @if gawk
9976 maybe-TAGS-gawk: TAGS-gawk
9978 TAGS-gawk: \
9979 configure-gawk
9980 @[ -f ./gawk/Makefile ] || exit 0; \
9981 r=`${PWD_COMMAND}`; export r; \
9982 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9983 $(SET_LIB_PATH) \
9984 $(HOST_EXPORTS) \
9985 for flag in $(EXTRA_HOST_FLAGS) ; do \
9986 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9987 done; \
9988 echo "Doing TAGS in gawk" ; \
9989 (cd gawk && \
9990 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9991 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9992 "RANLIB=$${RANLIB}" \
9993 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9994 TAGS) \
9995 || exit 1
9997 @endif gawk
9999 .PHONY: maybe-install-info-gawk install-info-gawk
10000 maybe-install-info-gawk:
10001 @if gawk
10002 maybe-install-info-gawk: install-info-gawk
10004 install-info-gawk: \
10005 configure-gawk \
10006 info-gawk
10007 @[ -f ./gawk/Makefile ] || exit 0; \
10008 r=`${PWD_COMMAND}`; export r; \
10009 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10010 $(SET_LIB_PATH) \
10011 $(HOST_EXPORTS) \
10012 for flag in $(EXTRA_HOST_FLAGS) ; do \
10013 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10014 done; \
10015 echo "Doing install-info in gawk" ; \
10016 (cd gawk && \
10017 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10018 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10019 "RANLIB=$${RANLIB}" \
10020 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10021 install-info) \
10022 || exit 1
10024 @endif gawk
10026 .PHONY: maybe-installcheck-gawk installcheck-gawk
10027 maybe-installcheck-gawk:
10028 @if gawk
10029 maybe-installcheck-gawk: installcheck-gawk
10031 installcheck-gawk: \
10032 configure-gawk
10033 @[ -f ./gawk/Makefile ] || exit 0; \
10034 r=`${PWD_COMMAND}`; export r; \
10035 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10036 $(SET_LIB_PATH) \
10037 $(HOST_EXPORTS) \
10038 for flag in $(EXTRA_HOST_FLAGS) ; do \
10039 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10040 done; \
10041 echo "Doing installcheck in gawk" ; \
10042 (cd gawk && \
10043 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10044 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10045 "RANLIB=$${RANLIB}" \
10046 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10047 installcheck) \
10048 || exit 1
10050 @endif gawk
10052 .PHONY: maybe-mostlyclean-gawk mostlyclean-gawk
10053 maybe-mostlyclean-gawk:
10054 @if gawk
10055 maybe-mostlyclean-gawk: mostlyclean-gawk
10057 mostlyclean-gawk:
10058 @[ -f ./gawk/Makefile ] || exit 0; \
10059 r=`${PWD_COMMAND}`; export r; \
10060 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10061 $(SET_LIB_PATH) \
10062 $(HOST_EXPORTS) \
10063 for flag in $(EXTRA_HOST_FLAGS) ; do \
10064 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10065 done; \
10066 echo "Doing mostlyclean in gawk" ; \
10067 (cd gawk && \
10068 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10069 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10070 "RANLIB=$${RANLIB}" \
10071 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10072 mostlyclean) \
10073 || exit 1
10075 @endif gawk
10077 .PHONY: maybe-clean-gawk clean-gawk
10078 maybe-clean-gawk:
10079 @if gawk
10080 maybe-clean-gawk: clean-gawk
10082 clean-gawk:
10083 @[ -f ./gawk/Makefile ] || exit 0; \
10084 r=`${PWD_COMMAND}`; export r; \
10085 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10086 $(SET_LIB_PATH) \
10087 $(HOST_EXPORTS) \
10088 for flag in $(EXTRA_HOST_FLAGS) ; do \
10089 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10090 done; \
10091 echo "Doing clean in gawk" ; \
10092 (cd gawk && \
10093 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10094 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10095 "RANLIB=$${RANLIB}" \
10096 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10097 clean) \
10098 || exit 1
10100 @endif gawk
10102 .PHONY: maybe-distclean-gawk distclean-gawk
10103 maybe-distclean-gawk:
10104 @if gawk
10105 maybe-distclean-gawk: distclean-gawk
10107 distclean-gawk:
10108 @[ -f ./gawk/Makefile ] || exit 0; \
10109 r=`${PWD_COMMAND}`; export r; \
10110 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10111 $(SET_LIB_PATH) \
10112 $(HOST_EXPORTS) \
10113 for flag in $(EXTRA_HOST_FLAGS) ; do \
10114 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10115 done; \
10116 echo "Doing distclean in gawk" ; \
10117 (cd gawk && \
10118 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10119 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10120 "RANLIB=$${RANLIB}" \
10121 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10122 distclean) \
10123 || exit 1
10125 @endif gawk
10127 .PHONY: maybe-maintainer-clean-gawk maintainer-clean-gawk
10128 maybe-maintainer-clean-gawk:
10129 @if gawk
10130 maybe-maintainer-clean-gawk: maintainer-clean-gawk
10132 maintainer-clean-gawk:
10133 @[ -f ./gawk/Makefile ] || exit 0; \
10134 r=`${PWD_COMMAND}`; export r; \
10135 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10136 $(SET_LIB_PATH) \
10137 $(HOST_EXPORTS) \
10138 for flag in $(EXTRA_HOST_FLAGS) ; do \
10139 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10140 done; \
10141 echo "Doing maintainer-clean in gawk" ; \
10142 (cd gawk && \
10143 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10144 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10145 "RANLIB=$${RANLIB}" \
10146 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10147 maintainer-clean) \
10148 || exit 1
10150 @endif gawk
10153 .PHONY: configure-gettext maybe-configure-gettext
10154 maybe-configure-gettext:
10155 @if gettext
10156 maybe-configure-gettext: configure-gettext
10157 configure-gettext:
10158 @test ! -f gettext/Makefile || exit 0; \
10159 [ -d gettext ] || mkdir gettext; \
10160 r=`${PWD_COMMAND}`; export r; \
10161 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10162 $(HOST_EXPORTS) \
10163 echo Configuring in gettext; \
10164 cd gettext || exit 1; \
10165 case $(srcdir) in \
10166 \.) \
10167 srcdiroption="--srcdir=."; \
10168 libsrcdir=".";; \
10169 /* | [A-Za-z]:[\\/]*) \
10170 srcdiroption="--srcdir=$(srcdir)/gettext"; \
10171 libsrcdir="$$s/gettext";; \
10172 *) \
10173 srcdiroption="--srcdir=../$(srcdir)/gettext"; \
10174 libsrcdir="$$s/gettext";; \
10175 esac; \
10176 $(SHELL) $${libsrcdir}/configure \
10177 $(HOST_CONFIGARGS) $${srcdiroption} \
10178 || exit 1
10179 @endif gettext
10181 .PHONY: all-gettext maybe-all-gettext
10182 maybe-all-gettext:
10183 @if gettext
10184 TARGET-gettext=all
10185 maybe-all-gettext: all-gettext
10186 all-gettext: configure-gettext
10187 @r=`${PWD_COMMAND}`; export r; \
10188 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10189 $(SET_LIB_PATH) \
10190 $(HOST_EXPORTS) \
10191 (cd gettext && $(MAKE) $(FLAGS_TO_PASS) \
10192 $(TARGET-gettext))
10193 @endif gettext
10195 .PHONY: check-gettext maybe-check-gettext
10196 maybe-check-gettext:
10197 @if gettext
10198 maybe-check-gettext: check-gettext
10200 check-gettext:
10201 @r=`${PWD_COMMAND}`; export r; \
10202 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10203 $(SET_LIB_PATH) \
10204 $(HOST_EXPORTS) \
10205 (cd gettext && $(MAKE) $(FLAGS_TO_PASS) check)
10207 @endif gettext
10209 .PHONY: install-gettext maybe-install-gettext
10210 maybe-install-gettext:
10211 @if gettext
10212 maybe-install-gettext: install-gettext
10214 install-gettext: installdirs
10215 @r=`${PWD_COMMAND}`; export r; \
10216 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10217 $(SET_LIB_PATH) \
10218 $(HOST_EXPORTS) \
10219 (cd gettext && $(MAKE) $(FLAGS_TO_PASS) install)
10221 @endif gettext
10223 # Other targets (info, dvi, etc.)
10225 .PHONY: maybe-info-gettext info-gettext
10226 maybe-info-gettext:
10227 @if gettext
10228 maybe-info-gettext: info-gettext
10230 info-gettext: \
10231 configure-gettext
10232 @[ -f ./gettext/Makefile ] || exit 0; \
10233 r=`${PWD_COMMAND}`; export r; \
10234 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10235 $(SET_LIB_PATH) \
10236 $(HOST_EXPORTS) \
10237 for flag in $(EXTRA_HOST_FLAGS) ; do \
10238 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10239 done; \
10240 echo "Doing info in gettext" ; \
10241 (cd gettext && \
10242 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10243 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10244 "RANLIB=$${RANLIB}" \
10245 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10246 info) \
10247 || exit 1
10249 @endif gettext
10251 .PHONY: maybe-dvi-gettext dvi-gettext
10252 maybe-dvi-gettext:
10253 @if gettext
10254 maybe-dvi-gettext: dvi-gettext
10256 dvi-gettext: \
10257 configure-gettext
10258 @[ -f ./gettext/Makefile ] || exit 0; \
10259 r=`${PWD_COMMAND}`; export r; \
10260 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10261 $(SET_LIB_PATH) \
10262 $(HOST_EXPORTS) \
10263 for flag in $(EXTRA_HOST_FLAGS) ; do \
10264 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10265 done; \
10266 echo "Doing dvi in gettext" ; \
10267 (cd gettext && \
10268 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10269 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10270 "RANLIB=$${RANLIB}" \
10271 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10272 dvi) \
10273 || exit 1
10275 @endif gettext
10277 .PHONY: maybe-html-gettext html-gettext
10278 maybe-html-gettext:
10279 @if gettext
10280 maybe-html-gettext: html-gettext
10282 html-gettext: \
10283 configure-gettext
10284 @[ -f ./gettext/Makefile ] || exit 0; \
10285 r=`${PWD_COMMAND}`; export r; \
10286 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10287 $(SET_LIB_PATH) \
10288 $(HOST_EXPORTS) \
10289 for flag in $(EXTRA_HOST_FLAGS) ; do \
10290 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10291 done; \
10292 echo "Doing html in gettext" ; \
10293 (cd gettext && \
10294 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10295 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10296 "RANLIB=$${RANLIB}" \
10297 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10298 html) \
10299 || exit 1
10301 @endif gettext
10303 .PHONY: maybe-TAGS-gettext TAGS-gettext
10304 maybe-TAGS-gettext:
10305 @if gettext
10306 maybe-TAGS-gettext: TAGS-gettext
10308 TAGS-gettext: \
10309 configure-gettext
10310 @[ -f ./gettext/Makefile ] || exit 0; \
10311 r=`${PWD_COMMAND}`; export r; \
10312 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10313 $(SET_LIB_PATH) \
10314 $(HOST_EXPORTS) \
10315 for flag in $(EXTRA_HOST_FLAGS) ; do \
10316 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10317 done; \
10318 echo "Doing TAGS in gettext" ; \
10319 (cd gettext && \
10320 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10321 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10322 "RANLIB=$${RANLIB}" \
10323 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10324 TAGS) \
10325 || exit 1
10327 @endif gettext
10329 .PHONY: maybe-install-info-gettext install-info-gettext
10330 maybe-install-info-gettext:
10331 @if gettext
10332 maybe-install-info-gettext: install-info-gettext
10334 install-info-gettext: \
10335 configure-gettext \
10336 info-gettext
10337 @[ -f ./gettext/Makefile ] || exit 0; \
10338 r=`${PWD_COMMAND}`; export r; \
10339 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10340 $(SET_LIB_PATH) \
10341 $(HOST_EXPORTS) \
10342 for flag in $(EXTRA_HOST_FLAGS) ; do \
10343 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10344 done; \
10345 echo "Doing install-info in gettext" ; \
10346 (cd gettext && \
10347 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10348 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10349 "RANLIB=$${RANLIB}" \
10350 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10351 install-info) \
10352 || exit 1
10354 @endif gettext
10356 .PHONY: maybe-installcheck-gettext installcheck-gettext
10357 maybe-installcheck-gettext:
10358 @if gettext
10359 maybe-installcheck-gettext: installcheck-gettext
10361 installcheck-gettext: \
10362 configure-gettext
10363 @[ -f ./gettext/Makefile ] || exit 0; \
10364 r=`${PWD_COMMAND}`; export r; \
10365 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10366 $(SET_LIB_PATH) \
10367 $(HOST_EXPORTS) \
10368 for flag in $(EXTRA_HOST_FLAGS) ; do \
10369 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10370 done; \
10371 echo "Doing installcheck in gettext" ; \
10372 (cd gettext && \
10373 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10374 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10375 "RANLIB=$${RANLIB}" \
10376 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10377 installcheck) \
10378 || exit 1
10380 @endif gettext
10382 .PHONY: maybe-mostlyclean-gettext mostlyclean-gettext
10383 maybe-mostlyclean-gettext:
10384 @if gettext
10385 maybe-mostlyclean-gettext: mostlyclean-gettext
10387 mostlyclean-gettext:
10388 @[ -f ./gettext/Makefile ] || exit 0; \
10389 r=`${PWD_COMMAND}`; export r; \
10390 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10391 $(SET_LIB_PATH) \
10392 $(HOST_EXPORTS) \
10393 for flag in $(EXTRA_HOST_FLAGS) ; do \
10394 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10395 done; \
10396 echo "Doing mostlyclean in gettext" ; \
10397 (cd gettext && \
10398 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10399 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10400 "RANLIB=$${RANLIB}" \
10401 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10402 mostlyclean) \
10403 || exit 1
10405 @endif gettext
10407 .PHONY: maybe-clean-gettext clean-gettext
10408 maybe-clean-gettext:
10409 @if gettext
10410 maybe-clean-gettext: clean-gettext
10412 clean-gettext:
10413 @[ -f ./gettext/Makefile ] || exit 0; \
10414 r=`${PWD_COMMAND}`; export r; \
10415 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10416 $(SET_LIB_PATH) \
10417 $(HOST_EXPORTS) \
10418 for flag in $(EXTRA_HOST_FLAGS) ; do \
10419 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10420 done; \
10421 echo "Doing clean in gettext" ; \
10422 (cd gettext && \
10423 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10424 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10425 "RANLIB=$${RANLIB}" \
10426 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10427 clean) \
10428 || exit 1
10430 @endif gettext
10432 .PHONY: maybe-distclean-gettext distclean-gettext
10433 maybe-distclean-gettext:
10434 @if gettext
10435 maybe-distclean-gettext: distclean-gettext
10437 distclean-gettext:
10438 @[ -f ./gettext/Makefile ] || exit 0; \
10439 r=`${PWD_COMMAND}`; export r; \
10440 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10441 $(SET_LIB_PATH) \
10442 $(HOST_EXPORTS) \
10443 for flag in $(EXTRA_HOST_FLAGS) ; do \
10444 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10445 done; \
10446 echo "Doing distclean in gettext" ; \
10447 (cd gettext && \
10448 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10449 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10450 "RANLIB=$${RANLIB}" \
10451 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10452 distclean) \
10453 || exit 1
10455 @endif gettext
10457 .PHONY: maybe-maintainer-clean-gettext maintainer-clean-gettext
10458 maybe-maintainer-clean-gettext:
10459 @if gettext
10460 maybe-maintainer-clean-gettext: maintainer-clean-gettext
10462 maintainer-clean-gettext:
10463 @[ -f ./gettext/Makefile ] || exit 0; \
10464 r=`${PWD_COMMAND}`; export r; \
10465 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10466 $(SET_LIB_PATH) \
10467 $(HOST_EXPORTS) \
10468 for flag in $(EXTRA_HOST_FLAGS) ; do \
10469 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10470 done; \
10471 echo "Doing maintainer-clean in gettext" ; \
10472 (cd gettext && \
10473 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10474 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10475 "RANLIB=$${RANLIB}" \
10476 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10477 maintainer-clean) \
10478 || exit 1
10480 @endif gettext
10483 .PHONY: configure-gnuserv maybe-configure-gnuserv
10484 maybe-configure-gnuserv:
10485 @if gnuserv
10486 maybe-configure-gnuserv: configure-gnuserv
10487 configure-gnuserv:
10488 @test ! -f gnuserv/Makefile || exit 0; \
10489 [ -d gnuserv ] || mkdir gnuserv; \
10490 r=`${PWD_COMMAND}`; export r; \
10491 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10492 $(HOST_EXPORTS) \
10493 echo Configuring in gnuserv; \
10494 cd gnuserv || exit 1; \
10495 case $(srcdir) in \
10496 \.) \
10497 srcdiroption="--srcdir=."; \
10498 libsrcdir=".";; \
10499 /* | [A-Za-z]:[\\/]*) \
10500 srcdiroption="--srcdir=$(srcdir)/gnuserv"; \
10501 libsrcdir="$$s/gnuserv";; \
10502 *) \
10503 srcdiroption="--srcdir=../$(srcdir)/gnuserv"; \
10504 libsrcdir="$$s/gnuserv";; \
10505 esac; \
10506 $(SHELL) $${libsrcdir}/configure \
10507 $(HOST_CONFIGARGS) $${srcdiroption} \
10508 || exit 1
10509 @endif gnuserv
10511 .PHONY: all-gnuserv maybe-all-gnuserv
10512 maybe-all-gnuserv:
10513 @if gnuserv
10514 TARGET-gnuserv=all
10515 maybe-all-gnuserv: all-gnuserv
10516 all-gnuserv: configure-gnuserv
10517 @r=`${PWD_COMMAND}`; export r; \
10518 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10519 $(SET_LIB_PATH) \
10520 $(HOST_EXPORTS) \
10521 (cd gnuserv && $(MAKE) $(FLAGS_TO_PASS) \
10522 $(TARGET-gnuserv))
10523 @endif gnuserv
10525 .PHONY: check-gnuserv maybe-check-gnuserv
10526 maybe-check-gnuserv:
10527 @if gnuserv
10528 maybe-check-gnuserv: check-gnuserv
10530 check-gnuserv:
10531 @r=`${PWD_COMMAND}`; export r; \
10532 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10533 $(SET_LIB_PATH) \
10534 $(HOST_EXPORTS) \
10535 (cd gnuserv && $(MAKE) $(FLAGS_TO_PASS) check)
10537 @endif gnuserv
10539 .PHONY: install-gnuserv maybe-install-gnuserv
10540 maybe-install-gnuserv:
10541 @if gnuserv
10542 maybe-install-gnuserv: install-gnuserv
10544 install-gnuserv: installdirs
10545 @r=`${PWD_COMMAND}`; export r; \
10546 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10547 $(SET_LIB_PATH) \
10548 $(HOST_EXPORTS) \
10549 (cd gnuserv && $(MAKE) $(FLAGS_TO_PASS) install)
10551 @endif gnuserv
10553 # Other targets (info, dvi, etc.)
10555 .PHONY: maybe-info-gnuserv info-gnuserv
10556 maybe-info-gnuserv:
10557 @if gnuserv
10558 maybe-info-gnuserv: info-gnuserv
10560 info-gnuserv: \
10561 configure-gnuserv
10562 @[ -f ./gnuserv/Makefile ] || exit 0; \
10563 r=`${PWD_COMMAND}`; export r; \
10564 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10565 $(SET_LIB_PATH) \
10566 $(HOST_EXPORTS) \
10567 for flag in $(EXTRA_HOST_FLAGS) ; do \
10568 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10569 done; \
10570 echo "Doing info in gnuserv" ; \
10571 (cd gnuserv && \
10572 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10573 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10574 "RANLIB=$${RANLIB}" \
10575 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10576 info) \
10577 || exit 1
10579 @endif gnuserv
10581 .PHONY: maybe-dvi-gnuserv dvi-gnuserv
10582 maybe-dvi-gnuserv:
10583 @if gnuserv
10584 maybe-dvi-gnuserv: dvi-gnuserv
10586 dvi-gnuserv: \
10587 configure-gnuserv
10588 @[ -f ./gnuserv/Makefile ] || exit 0; \
10589 r=`${PWD_COMMAND}`; export r; \
10590 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10591 $(SET_LIB_PATH) \
10592 $(HOST_EXPORTS) \
10593 for flag in $(EXTRA_HOST_FLAGS) ; do \
10594 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10595 done; \
10596 echo "Doing dvi in gnuserv" ; \
10597 (cd gnuserv && \
10598 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10599 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10600 "RANLIB=$${RANLIB}" \
10601 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10602 dvi) \
10603 || exit 1
10605 @endif gnuserv
10607 .PHONY: maybe-html-gnuserv html-gnuserv
10608 maybe-html-gnuserv:
10609 @if gnuserv
10610 maybe-html-gnuserv: html-gnuserv
10612 html-gnuserv: \
10613 configure-gnuserv
10614 @[ -f ./gnuserv/Makefile ] || exit 0; \
10615 r=`${PWD_COMMAND}`; export r; \
10616 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10617 $(SET_LIB_PATH) \
10618 $(HOST_EXPORTS) \
10619 for flag in $(EXTRA_HOST_FLAGS) ; do \
10620 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10621 done; \
10622 echo "Doing html in gnuserv" ; \
10623 (cd gnuserv && \
10624 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10625 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10626 "RANLIB=$${RANLIB}" \
10627 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10628 html) \
10629 || exit 1
10631 @endif gnuserv
10633 .PHONY: maybe-TAGS-gnuserv TAGS-gnuserv
10634 maybe-TAGS-gnuserv:
10635 @if gnuserv
10636 maybe-TAGS-gnuserv: TAGS-gnuserv
10638 TAGS-gnuserv: \
10639 configure-gnuserv
10640 @[ -f ./gnuserv/Makefile ] || exit 0; \
10641 r=`${PWD_COMMAND}`; export r; \
10642 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10643 $(SET_LIB_PATH) \
10644 $(HOST_EXPORTS) \
10645 for flag in $(EXTRA_HOST_FLAGS) ; do \
10646 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10647 done; \
10648 echo "Doing TAGS in gnuserv" ; \
10649 (cd gnuserv && \
10650 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10651 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10652 "RANLIB=$${RANLIB}" \
10653 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10654 TAGS) \
10655 || exit 1
10657 @endif gnuserv
10659 .PHONY: maybe-install-info-gnuserv install-info-gnuserv
10660 maybe-install-info-gnuserv:
10661 @if gnuserv
10662 maybe-install-info-gnuserv: install-info-gnuserv
10664 install-info-gnuserv: \
10665 configure-gnuserv \
10666 info-gnuserv
10667 @[ -f ./gnuserv/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 install-info in gnuserv" ; \
10676 (cd gnuserv && \
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 install-info) \
10682 || exit 1
10684 @endif gnuserv
10686 .PHONY: maybe-installcheck-gnuserv installcheck-gnuserv
10687 maybe-installcheck-gnuserv:
10688 @if gnuserv
10689 maybe-installcheck-gnuserv: installcheck-gnuserv
10691 installcheck-gnuserv: \
10692 configure-gnuserv
10693 @[ -f ./gnuserv/Makefile ] || exit 0; \
10694 r=`${PWD_COMMAND}`; export r; \
10695 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10696 $(SET_LIB_PATH) \
10697 $(HOST_EXPORTS) \
10698 for flag in $(EXTRA_HOST_FLAGS) ; do \
10699 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10700 done; \
10701 echo "Doing installcheck in gnuserv" ; \
10702 (cd gnuserv && \
10703 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10704 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10705 "RANLIB=$${RANLIB}" \
10706 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10707 installcheck) \
10708 || exit 1
10710 @endif gnuserv
10712 .PHONY: maybe-mostlyclean-gnuserv mostlyclean-gnuserv
10713 maybe-mostlyclean-gnuserv:
10714 @if gnuserv
10715 maybe-mostlyclean-gnuserv: mostlyclean-gnuserv
10717 mostlyclean-gnuserv:
10718 @[ -f ./gnuserv/Makefile ] || exit 0; \
10719 r=`${PWD_COMMAND}`; export r; \
10720 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10721 $(SET_LIB_PATH) \
10722 $(HOST_EXPORTS) \
10723 for flag in $(EXTRA_HOST_FLAGS) ; do \
10724 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10725 done; \
10726 echo "Doing mostlyclean in gnuserv" ; \
10727 (cd gnuserv && \
10728 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10729 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10730 "RANLIB=$${RANLIB}" \
10731 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10732 mostlyclean) \
10733 || exit 1
10735 @endif gnuserv
10737 .PHONY: maybe-clean-gnuserv clean-gnuserv
10738 maybe-clean-gnuserv:
10739 @if gnuserv
10740 maybe-clean-gnuserv: clean-gnuserv
10742 clean-gnuserv:
10743 @[ -f ./gnuserv/Makefile ] || exit 0; \
10744 r=`${PWD_COMMAND}`; export r; \
10745 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10746 $(SET_LIB_PATH) \
10747 $(HOST_EXPORTS) \
10748 for flag in $(EXTRA_HOST_FLAGS) ; do \
10749 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10750 done; \
10751 echo "Doing clean in gnuserv" ; \
10752 (cd gnuserv && \
10753 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10754 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10755 "RANLIB=$${RANLIB}" \
10756 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10757 clean) \
10758 || exit 1
10760 @endif gnuserv
10762 .PHONY: maybe-distclean-gnuserv distclean-gnuserv
10763 maybe-distclean-gnuserv:
10764 @if gnuserv
10765 maybe-distclean-gnuserv: distclean-gnuserv
10767 distclean-gnuserv:
10768 @[ -f ./gnuserv/Makefile ] || exit 0; \
10769 r=`${PWD_COMMAND}`; export r; \
10770 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10771 $(SET_LIB_PATH) \
10772 $(HOST_EXPORTS) \
10773 for flag in $(EXTRA_HOST_FLAGS) ; do \
10774 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10775 done; \
10776 echo "Doing distclean in gnuserv" ; \
10777 (cd gnuserv && \
10778 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10779 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10780 "RANLIB=$${RANLIB}" \
10781 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10782 distclean) \
10783 || exit 1
10785 @endif gnuserv
10787 .PHONY: maybe-maintainer-clean-gnuserv maintainer-clean-gnuserv
10788 maybe-maintainer-clean-gnuserv:
10789 @if gnuserv
10790 maybe-maintainer-clean-gnuserv: maintainer-clean-gnuserv
10792 maintainer-clean-gnuserv:
10793 @[ -f ./gnuserv/Makefile ] || exit 0; \
10794 r=`${PWD_COMMAND}`; export r; \
10795 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10796 $(SET_LIB_PATH) \
10797 $(HOST_EXPORTS) \
10798 for flag in $(EXTRA_HOST_FLAGS) ; do \
10799 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10800 done; \
10801 echo "Doing maintainer-clean in gnuserv" ; \
10802 (cd gnuserv && \
10803 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10804 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10805 "RANLIB=$${RANLIB}" \
10806 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10807 maintainer-clean) \
10808 || exit 1
10810 @endif gnuserv
10813 .PHONY: configure-gprof maybe-configure-gprof
10814 maybe-configure-gprof:
10815 @if gprof
10816 maybe-configure-gprof: configure-gprof
10817 configure-gprof:
10818 @test ! -f gprof/Makefile || exit 0; \
10819 [ -d gprof ] || mkdir gprof; \
10820 r=`${PWD_COMMAND}`; export r; \
10821 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10822 $(HOST_EXPORTS) \
10823 echo Configuring in gprof; \
10824 cd gprof || exit 1; \
10825 case $(srcdir) in \
10826 \.) \
10827 srcdiroption="--srcdir=."; \
10828 libsrcdir=".";; \
10829 /* | [A-Za-z]:[\\/]*) \
10830 srcdiroption="--srcdir=$(srcdir)/gprof"; \
10831 libsrcdir="$$s/gprof";; \
10832 *) \
10833 srcdiroption="--srcdir=../$(srcdir)/gprof"; \
10834 libsrcdir="$$s/gprof";; \
10835 esac; \
10836 $(SHELL) $${libsrcdir}/configure \
10837 $(HOST_CONFIGARGS) $${srcdiroption} \
10838 || exit 1
10839 @endif gprof
10841 .PHONY: all-gprof maybe-all-gprof
10842 maybe-all-gprof:
10843 @if gprof
10844 TARGET-gprof=all
10845 maybe-all-gprof: all-gprof
10846 all-gprof: configure-gprof
10847 @r=`${PWD_COMMAND}`; export r; \
10848 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10849 $(SET_LIB_PATH) \
10850 $(HOST_EXPORTS) \
10851 (cd gprof && $(MAKE) $(FLAGS_TO_PASS) \
10852 $(TARGET-gprof))
10853 @endif gprof
10855 .PHONY: check-gprof maybe-check-gprof
10856 maybe-check-gprof:
10857 @if gprof
10858 maybe-check-gprof: check-gprof
10860 check-gprof:
10861 @r=`${PWD_COMMAND}`; export r; \
10862 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10863 $(SET_LIB_PATH) \
10864 $(HOST_EXPORTS) \
10865 (cd gprof && $(MAKE) $(FLAGS_TO_PASS) check)
10867 @endif gprof
10869 .PHONY: install-gprof maybe-install-gprof
10870 maybe-install-gprof:
10871 @if gprof
10872 maybe-install-gprof: install-gprof
10874 install-gprof: installdirs
10875 @r=`${PWD_COMMAND}`; export r; \
10876 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10877 $(SET_LIB_PATH) \
10878 $(HOST_EXPORTS) \
10879 (cd gprof && $(MAKE) $(FLAGS_TO_PASS) install)
10881 @endif gprof
10883 # Other targets (info, dvi, etc.)
10885 .PHONY: maybe-info-gprof info-gprof
10886 maybe-info-gprof:
10887 @if gprof
10888 maybe-info-gprof: info-gprof
10890 info-gprof: \
10891 configure-gprof
10892 @[ -f ./gprof/Makefile ] || exit 0; \
10893 r=`${PWD_COMMAND}`; export r; \
10894 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10895 $(SET_LIB_PATH) \
10896 $(HOST_EXPORTS) \
10897 for flag in $(EXTRA_HOST_FLAGS) ; do \
10898 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10899 done; \
10900 echo "Doing info in gprof" ; \
10901 (cd gprof && \
10902 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10903 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10904 "RANLIB=$${RANLIB}" \
10905 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10906 info) \
10907 || exit 1
10909 @endif gprof
10911 .PHONY: maybe-dvi-gprof dvi-gprof
10912 maybe-dvi-gprof:
10913 @if gprof
10914 maybe-dvi-gprof: dvi-gprof
10916 dvi-gprof: \
10917 configure-gprof
10918 @[ -f ./gprof/Makefile ] || exit 0; \
10919 r=`${PWD_COMMAND}`; export r; \
10920 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10921 $(SET_LIB_PATH) \
10922 $(HOST_EXPORTS) \
10923 for flag in $(EXTRA_HOST_FLAGS) ; do \
10924 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10925 done; \
10926 echo "Doing dvi in gprof" ; \
10927 (cd gprof && \
10928 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10929 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10930 "RANLIB=$${RANLIB}" \
10931 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10932 dvi) \
10933 || exit 1
10935 @endif gprof
10937 .PHONY: maybe-html-gprof html-gprof
10938 maybe-html-gprof:
10939 @if gprof
10940 maybe-html-gprof: html-gprof
10942 html-gprof: \
10943 configure-gprof
10944 @[ -f ./gprof/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 html in gprof" ; \
10953 (cd gprof && \
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 html) \
10959 || exit 1
10961 @endif gprof
10963 .PHONY: maybe-TAGS-gprof TAGS-gprof
10964 maybe-TAGS-gprof:
10965 @if gprof
10966 maybe-TAGS-gprof: TAGS-gprof
10968 TAGS-gprof: \
10969 configure-gprof
10970 @[ -f ./gprof/Makefile ] || exit 0; \
10971 r=`${PWD_COMMAND}`; export r; \
10972 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10973 $(SET_LIB_PATH) \
10974 $(HOST_EXPORTS) \
10975 for flag in $(EXTRA_HOST_FLAGS) ; do \
10976 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10977 done; \
10978 echo "Doing TAGS in gprof" ; \
10979 (cd gprof && \
10980 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10981 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10982 "RANLIB=$${RANLIB}" \
10983 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10984 TAGS) \
10985 || exit 1
10987 @endif gprof
10989 .PHONY: maybe-install-info-gprof install-info-gprof
10990 maybe-install-info-gprof:
10991 @if gprof
10992 maybe-install-info-gprof: install-info-gprof
10994 install-info-gprof: \
10995 configure-gprof \
10996 info-gprof
10997 @[ -f ./gprof/Makefile ] || exit 0; \
10998 r=`${PWD_COMMAND}`; export r; \
10999 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11000 $(SET_LIB_PATH) \
11001 $(HOST_EXPORTS) \
11002 for flag in $(EXTRA_HOST_FLAGS) ; do \
11003 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11004 done; \
11005 echo "Doing install-info in gprof" ; \
11006 (cd gprof && \
11007 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11008 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11009 "RANLIB=$${RANLIB}" \
11010 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11011 install-info) \
11012 || exit 1
11014 @endif gprof
11016 .PHONY: maybe-installcheck-gprof installcheck-gprof
11017 maybe-installcheck-gprof:
11018 @if gprof
11019 maybe-installcheck-gprof: installcheck-gprof
11021 installcheck-gprof: \
11022 configure-gprof
11023 @[ -f ./gprof/Makefile ] || exit 0; \
11024 r=`${PWD_COMMAND}`; export r; \
11025 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11026 $(SET_LIB_PATH) \
11027 $(HOST_EXPORTS) \
11028 for flag in $(EXTRA_HOST_FLAGS) ; do \
11029 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11030 done; \
11031 echo "Doing installcheck in gprof" ; \
11032 (cd gprof && \
11033 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11034 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11035 "RANLIB=$${RANLIB}" \
11036 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11037 installcheck) \
11038 || exit 1
11040 @endif gprof
11042 .PHONY: maybe-mostlyclean-gprof mostlyclean-gprof
11043 maybe-mostlyclean-gprof:
11044 @if gprof
11045 maybe-mostlyclean-gprof: mostlyclean-gprof
11047 mostlyclean-gprof:
11048 @[ -f ./gprof/Makefile ] || exit 0; \
11049 r=`${PWD_COMMAND}`; export r; \
11050 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11051 $(SET_LIB_PATH) \
11052 $(HOST_EXPORTS) \
11053 for flag in $(EXTRA_HOST_FLAGS) ; do \
11054 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11055 done; \
11056 echo "Doing mostlyclean in gprof" ; \
11057 (cd gprof && \
11058 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11059 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11060 "RANLIB=$${RANLIB}" \
11061 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11062 mostlyclean) \
11063 || exit 1
11065 @endif gprof
11067 .PHONY: maybe-clean-gprof clean-gprof
11068 maybe-clean-gprof:
11069 @if gprof
11070 maybe-clean-gprof: clean-gprof
11072 clean-gprof:
11073 @[ -f ./gprof/Makefile ] || exit 0; \
11074 r=`${PWD_COMMAND}`; export r; \
11075 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11076 $(SET_LIB_PATH) \
11077 $(HOST_EXPORTS) \
11078 for flag in $(EXTRA_HOST_FLAGS) ; do \
11079 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11080 done; \
11081 echo "Doing clean in gprof" ; \
11082 (cd gprof && \
11083 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11084 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11085 "RANLIB=$${RANLIB}" \
11086 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11087 clean) \
11088 || exit 1
11090 @endif gprof
11092 .PHONY: maybe-distclean-gprof distclean-gprof
11093 maybe-distclean-gprof:
11094 @if gprof
11095 maybe-distclean-gprof: distclean-gprof
11097 distclean-gprof:
11098 @[ -f ./gprof/Makefile ] || exit 0; \
11099 r=`${PWD_COMMAND}`; export r; \
11100 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11101 $(SET_LIB_PATH) \
11102 $(HOST_EXPORTS) \
11103 for flag in $(EXTRA_HOST_FLAGS) ; do \
11104 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11105 done; \
11106 echo "Doing distclean in gprof" ; \
11107 (cd gprof && \
11108 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11109 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11110 "RANLIB=$${RANLIB}" \
11111 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11112 distclean) \
11113 || exit 1
11115 @endif gprof
11117 .PHONY: maybe-maintainer-clean-gprof maintainer-clean-gprof
11118 maybe-maintainer-clean-gprof:
11119 @if gprof
11120 maybe-maintainer-clean-gprof: maintainer-clean-gprof
11122 maintainer-clean-gprof:
11123 @[ -f ./gprof/Makefile ] || exit 0; \
11124 r=`${PWD_COMMAND}`; export r; \
11125 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11126 $(SET_LIB_PATH) \
11127 $(HOST_EXPORTS) \
11128 for flag in $(EXTRA_HOST_FLAGS) ; do \
11129 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11130 done; \
11131 echo "Doing maintainer-clean in gprof" ; \
11132 (cd gprof && \
11133 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11134 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11135 "RANLIB=$${RANLIB}" \
11136 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11137 maintainer-clean) \
11138 || exit 1
11140 @endif gprof
11143 .PHONY: configure-gzip maybe-configure-gzip
11144 maybe-configure-gzip:
11145 @if gzip
11146 maybe-configure-gzip: configure-gzip
11147 configure-gzip:
11148 @test ! -f gzip/Makefile || exit 0; \
11149 [ -d gzip ] || mkdir gzip; \
11150 r=`${PWD_COMMAND}`; export r; \
11151 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11152 $(HOST_EXPORTS) \
11153 echo Configuring in gzip; \
11154 cd gzip || exit 1; \
11155 case $(srcdir) in \
11156 \.) \
11157 srcdiroption="--srcdir=."; \
11158 libsrcdir=".";; \
11159 /* | [A-Za-z]:[\\/]*) \
11160 srcdiroption="--srcdir=$(srcdir)/gzip"; \
11161 libsrcdir="$$s/gzip";; \
11162 *) \
11163 srcdiroption="--srcdir=../$(srcdir)/gzip"; \
11164 libsrcdir="$$s/gzip";; \
11165 esac; \
11166 $(SHELL) $${libsrcdir}/configure \
11167 $(HOST_CONFIGARGS) $${srcdiroption} \
11168 || exit 1
11169 @endif gzip
11171 .PHONY: all-gzip maybe-all-gzip
11172 maybe-all-gzip:
11173 @if gzip
11174 TARGET-gzip=all
11175 maybe-all-gzip: all-gzip
11176 all-gzip: configure-gzip
11177 @r=`${PWD_COMMAND}`; export r; \
11178 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11179 $(SET_LIB_PATH) \
11180 $(HOST_EXPORTS) \
11181 (cd gzip && $(MAKE) $(FLAGS_TO_PASS) \
11182 $(TARGET-gzip))
11183 @endif gzip
11185 .PHONY: check-gzip maybe-check-gzip
11186 maybe-check-gzip:
11187 @if gzip
11188 maybe-check-gzip: check-gzip
11190 check-gzip:
11191 @r=`${PWD_COMMAND}`; export r; \
11192 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11193 $(SET_LIB_PATH) \
11194 $(HOST_EXPORTS) \
11195 (cd gzip && $(MAKE) $(FLAGS_TO_PASS) check)
11197 @endif gzip
11199 .PHONY: install-gzip maybe-install-gzip
11200 maybe-install-gzip:
11201 @if gzip
11202 maybe-install-gzip: install-gzip
11204 install-gzip: installdirs
11205 @r=`${PWD_COMMAND}`; export r; \
11206 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11207 $(SET_LIB_PATH) \
11208 $(HOST_EXPORTS) \
11209 (cd gzip && $(MAKE) $(FLAGS_TO_PASS) install)
11211 @endif gzip
11213 # Other targets (info, dvi, etc.)
11215 .PHONY: maybe-info-gzip info-gzip
11216 maybe-info-gzip:
11217 @if gzip
11218 maybe-info-gzip: info-gzip
11220 info-gzip: \
11221 configure-gzip
11222 @[ -f ./gzip/Makefile ] || exit 0; \
11223 r=`${PWD_COMMAND}`; export r; \
11224 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11225 $(SET_LIB_PATH) \
11226 $(HOST_EXPORTS) \
11227 for flag in $(EXTRA_HOST_FLAGS) ; do \
11228 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11229 done; \
11230 echo "Doing info in gzip" ; \
11231 (cd gzip && \
11232 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11233 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11234 "RANLIB=$${RANLIB}" \
11235 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11236 info) \
11237 || exit 1
11239 @endif gzip
11241 .PHONY: maybe-dvi-gzip dvi-gzip
11242 maybe-dvi-gzip:
11243 @if gzip
11244 maybe-dvi-gzip: dvi-gzip
11246 dvi-gzip: \
11247 configure-gzip
11248 @[ -f ./gzip/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 dvi in gzip" ; \
11257 (cd gzip && \
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 dvi) \
11263 || exit 1
11265 @endif gzip
11267 .PHONY: maybe-html-gzip html-gzip
11268 maybe-html-gzip:
11269 @if gzip
11270 maybe-html-gzip: html-gzip
11272 html-gzip: \
11273 configure-gzip
11274 @[ -f ./gzip/Makefile ] || exit 0; \
11275 r=`${PWD_COMMAND}`; export r; \
11276 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11277 $(SET_LIB_PATH) \
11278 $(HOST_EXPORTS) \
11279 for flag in $(EXTRA_HOST_FLAGS) ; do \
11280 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11281 done; \
11282 echo "Doing html in gzip" ; \
11283 (cd gzip && \
11284 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11285 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11286 "RANLIB=$${RANLIB}" \
11287 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11288 html) \
11289 || exit 1
11291 @endif gzip
11293 .PHONY: maybe-TAGS-gzip TAGS-gzip
11294 maybe-TAGS-gzip:
11295 @if gzip
11296 maybe-TAGS-gzip: TAGS-gzip
11298 TAGS-gzip: \
11299 configure-gzip
11300 @[ -f ./gzip/Makefile ] || exit 0; \
11301 r=`${PWD_COMMAND}`; export r; \
11302 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11303 $(SET_LIB_PATH) \
11304 $(HOST_EXPORTS) \
11305 for flag in $(EXTRA_HOST_FLAGS) ; do \
11306 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11307 done; \
11308 echo "Doing TAGS in gzip" ; \
11309 (cd gzip && \
11310 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11311 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11312 "RANLIB=$${RANLIB}" \
11313 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11314 TAGS) \
11315 || exit 1
11317 @endif gzip
11319 .PHONY: maybe-install-info-gzip install-info-gzip
11320 maybe-install-info-gzip:
11321 @if gzip
11322 maybe-install-info-gzip: install-info-gzip
11324 install-info-gzip: \
11325 configure-gzip \
11326 info-gzip
11327 @[ -f ./gzip/Makefile ] || exit 0; \
11328 r=`${PWD_COMMAND}`; export r; \
11329 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11330 $(SET_LIB_PATH) \
11331 $(HOST_EXPORTS) \
11332 for flag in $(EXTRA_HOST_FLAGS) ; do \
11333 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11334 done; \
11335 echo "Doing install-info in gzip" ; \
11336 (cd gzip && \
11337 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11338 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11339 "RANLIB=$${RANLIB}" \
11340 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11341 install-info) \
11342 || exit 1
11344 @endif gzip
11346 .PHONY: maybe-installcheck-gzip installcheck-gzip
11347 maybe-installcheck-gzip:
11348 @if gzip
11349 maybe-installcheck-gzip: installcheck-gzip
11351 installcheck-gzip: \
11352 configure-gzip
11353 @[ -f ./gzip/Makefile ] || exit 0; \
11354 r=`${PWD_COMMAND}`; export r; \
11355 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11356 $(SET_LIB_PATH) \
11357 $(HOST_EXPORTS) \
11358 for flag in $(EXTRA_HOST_FLAGS) ; do \
11359 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11360 done; \
11361 echo "Doing installcheck in gzip" ; \
11362 (cd gzip && \
11363 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11364 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11365 "RANLIB=$${RANLIB}" \
11366 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11367 installcheck) \
11368 || exit 1
11370 @endif gzip
11372 .PHONY: maybe-mostlyclean-gzip mostlyclean-gzip
11373 maybe-mostlyclean-gzip:
11374 @if gzip
11375 maybe-mostlyclean-gzip: mostlyclean-gzip
11377 mostlyclean-gzip:
11378 @[ -f ./gzip/Makefile ] || exit 0; \
11379 r=`${PWD_COMMAND}`; export r; \
11380 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11381 $(SET_LIB_PATH) \
11382 $(HOST_EXPORTS) \
11383 for flag in $(EXTRA_HOST_FLAGS) ; do \
11384 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11385 done; \
11386 echo "Doing mostlyclean in gzip" ; \
11387 (cd gzip && \
11388 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11389 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11390 "RANLIB=$${RANLIB}" \
11391 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11392 mostlyclean) \
11393 || exit 1
11395 @endif gzip
11397 .PHONY: maybe-clean-gzip clean-gzip
11398 maybe-clean-gzip:
11399 @if gzip
11400 maybe-clean-gzip: clean-gzip
11402 clean-gzip:
11403 @[ -f ./gzip/Makefile ] || exit 0; \
11404 r=`${PWD_COMMAND}`; export r; \
11405 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11406 $(SET_LIB_PATH) \
11407 $(HOST_EXPORTS) \
11408 for flag in $(EXTRA_HOST_FLAGS) ; do \
11409 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11410 done; \
11411 echo "Doing clean in gzip" ; \
11412 (cd gzip && \
11413 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11414 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11415 "RANLIB=$${RANLIB}" \
11416 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11417 clean) \
11418 || exit 1
11420 @endif gzip
11422 .PHONY: maybe-distclean-gzip distclean-gzip
11423 maybe-distclean-gzip:
11424 @if gzip
11425 maybe-distclean-gzip: distclean-gzip
11427 distclean-gzip:
11428 @[ -f ./gzip/Makefile ] || exit 0; \
11429 r=`${PWD_COMMAND}`; export r; \
11430 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11431 $(SET_LIB_PATH) \
11432 $(HOST_EXPORTS) \
11433 for flag in $(EXTRA_HOST_FLAGS) ; do \
11434 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11435 done; \
11436 echo "Doing distclean in gzip" ; \
11437 (cd gzip && \
11438 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11439 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11440 "RANLIB=$${RANLIB}" \
11441 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11442 distclean) \
11443 || exit 1
11445 @endif gzip
11447 .PHONY: maybe-maintainer-clean-gzip maintainer-clean-gzip
11448 maybe-maintainer-clean-gzip:
11449 @if gzip
11450 maybe-maintainer-clean-gzip: maintainer-clean-gzip
11452 maintainer-clean-gzip:
11453 @[ -f ./gzip/Makefile ] || exit 0; \
11454 r=`${PWD_COMMAND}`; export r; \
11455 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11456 $(SET_LIB_PATH) \
11457 $(HOST_EXPORTS) \
11458 for flag in $(EXTRA_HOST_FLAGS) ; do \
11459 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11460 done; \
11461 echo "Doing maintainer-clean in gzip" ; \
11462 (cd gzip && \
11463 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11464 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11465 "RANLIB=$${RANLIB}" \
11466 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11467 maintainer-clean) \
11468 || exit 1
11470 @endif gzip
11473 .PHONY: configure-hello maybe-configure-hello
11474 maybe-configure-hello:
11475 @if hello
11476 maybe-configure-hello: configure-hello
11477 configure-hello:
11478 @test ! -f hello/Makefile || exit 0; \
11479 [ -d hello ] || mkdir hello; \
11480 r=`${PWD_COMMAND}`; export r; \
11481 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11482 $(HOST_EXPORTS) \
11483 echo Configuring in hello; \
11484 cd hello || exit 1; \
11485 case $(srcdir) in \
11486 \.) \
11487 srcdiroption="--srcdir=."; \
11488 libsrcdir=".";; \
11489 /* | [A-Za-z]:[\\/]*) \
11490 srcdiroption="--srcdir=$(srcdir)/hello"; \
11491 libsrcdir="$$s/hello";; \
11492 *) \
11493 srcdiroption="--srcdir=../$(srcdir)/hello"; \
11494 libsrcdir="$$s/hello";; \
11495 esac; \
11496 $(SHELL) $${libsrcdir}/configure \
11497 $(HOST_CONFIGARGS) $${srcdiroption} \
11498 || exit 1
11499 @endif hello
11501 .PHONY: all-hello maybe-all-hello
11502 maybe-all-hello:
11503 @if hello
11504 TARGET-hello=all
11505 maybe-all-hello: all-hello
11506 all-hello: configure-hello
11507 @r=`${PWD_COMMAND}`; export r; \
11508 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11509 $(SET_LIB_PATH) \
11510 $(HOST_EXPORTS) \
11511 (cd hello && $(MAKE) $(FLAGS_TO_PASS) \
11512 $(TARGET-hello))
11513 @endif hello
11515 .PHONY: check-hello maybe-check-hello
11516 maybe-check-hello:
11517 @if hello
11518 maybe-check-hello: check-hello
11520 check-hello:
11521 @r=`${PWD_COMMAND}`; export r; \
11522 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11523 $(SET_LIB_PATH) \
11524 $(HOST_EXPORTS) \
11525 (cd hello && $(MAKE) $(FLAGS_TO_PASS) check)
11527 @endif hello
11529 .PHONY: install-hello maybe-install-hello
11530 maybe-install-hello:
11531 @if hello
11532 maybe-install-hello: install-hello
11534 install-hello: installdirs
11535 @r=`${PWD_COMMAND}`; export r; \
11536 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11537 $(SET_LIB_PATH) \
11538 $(HOST_EXPORTS) \
11539 (cd hello && $(MAKE) $(FLAGS_TO_PASS) install)
11541 @endif hello
11543 # Other targets (info, dvi, etc.)
11545 .PHONY: maybe-info-hello info-hello
11546 maybe-info-hello:
11547 @if hello
11548 maybe-info-hello: info-hello
11550 info-hello: \
11551 configure-hello
11552 @[ -f ./hello/Makefile ] || exit 0; \
11553 r=`${PWD_COMMAND}`; export r; \
11554 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11555 $(SET_LIB_PATH) \
11556 $(HOST_EXPORTS) \
11557 for flag in $(EXTRA_HOST_FLAGS) ; do \
11558 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11559 done; \
11560 echo "Doing info in hello" ; \
11561 (cd hello && \
11562 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11563 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11564 "RANLIB=$${RANLIB}" \
11565 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11566 info) \
11567 || exit 1
11569 @endif hello
11571 .PHONY: maybe-dvi-hello dvi-hello
11572 maybe-dvi-hello:
11573 @if hello
11574 maybe-dvi-hello: dvi-hello
11576 dvi-hello: \
11577 configure-hello
11578 @[ -f ./hello/Makefile ] || exit 0; \
11579 r=`${PWD_COMMAND}`; export r; \
11580 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11581 $(SET_LIB_PATH) \
11582 $(HOST_EXPORTS) \
11583 for flag in $(EXTRA_HOST_FLAGS) ; do \
11584 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11585 done; \
11586 echo "Doing dvi in hello" ; \
11587 (cd hello && \
11588 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11589 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11590 "RANLIB=$${RANLIB}" \
11591 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11592 dvi) \
11593 || exit 1
11595 @endif hello
11597 .PHONY: maybe-html-hello html-hello
11598 maybe-html-hello:
11599 @if hello
11600 maybe-html-hello: html-hello
11602 html-hello: \
11603 configure-hello
11604 @[ -f ./hello/Makefile ] || exit 0; \
11605 r=`${PWD_COMMAND}`; export r; \
11606 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11607 $(SET_LIB_PATH) \
11608 $(HOST_EXPORTS) \
11609 for flag in $(EXTRA_HOST_FLAGS) ; do \
11610 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11611 done; \
11612 echo "Doing html in hello" ; \
11613 (cd hello && \
11614 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11615 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11616 "RANLIB=$${RANLIB}" \
11617 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11618 html) \
11619 || exit 1
11621 @endif hello
11623 .PHONY: maybe-TAGS-hello TAGS-hello
11624 maybe-TAGS-hello:
11625 @if hello
11626 maybe-TAGS-hello: TAGS-hello
11628 TAGS-hello: \
11629 configure-hello
11630 @[ -f ./hello/Makefile ] || exit 0; \
11631 r=`${PWD_COMMAND}`; export r; \
11632 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11633 $(SET_LIB_PATH) \
11634 $(HOST_EXPORTS) \
11635 for flag in $(EXTRA_HOST_FLAGS) ; do \
11636 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11637 done; \
11638 echo "Doing TAGS in hello" ; \
11639 (cd hello && \
11640 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11641 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11642 "RANLIB=$${RANLIB}" \
11643 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11644 TAGS) \
11645 || exit 1
11647 @endif hello
11649 .PHONY: maybe-install-info-hello install-info-hello
11650 maybe-install-info-hello:
11651 @if hello
11652 maybe-install-info-hello: install-info-hello
11654 install-info-hello: \
11655 configure-hello \
11656 info-hello
11657 @[ -f ./hello/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 install-info in hello" ; \
11666 (cd hello && \
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 install-info) \
11672 || exit 1
11674 @endif hello
11676 .PHONY: maybe-installcheck-hello installcheck-hello
11677 maybe-installcheck-hello:
11678 @if hello
11679 maybe-installcheck-hello: installcheck-hello
11681 installcheck-hello: \
11682 configure-hello
11683 @[ -f ./hello/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 installcheck in hello" ; \
11692 (cd hello && \
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 installcheck) \
11698 || exit 1
11700 @endif hello
11702 .PHONY: maybe-mostlyclean-hello mostlyclean-hello
11703 maybe-mostlyclean-hello:
11704 @if hello
11705 maybe-mostlyclean-hello: mostlyclean-hello
11707 mostlyclean-hello:
11708 @[ -f ./hello/Makefile ] || exit 0; \
11709 r=`${PWD_COMMAND}`; export r; \
11710 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11711 $(SET_LIB_PATH) \
11712 $(HOST_EXPORTS) \
11713 for flag in $(EXTRA_HOST_FLAGS) ; do \
11714 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11715 done; \
11716 echo "Doing mostlyclean in hello" ; \
11717 (cd hello && \
11718 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11719 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11720 "RANLIB=$${RANLIB}" \
11721 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11722 mostlyclean) \
11723 || exit 1
11725 @endif hello
11727 .PHONY: maybe-clean-hello clean-hello
11728 maybe-clean-hello:
11729 @if hello
11730 maybe-clean-hello: clean-hello
11732 clean-hello:
11733 @[ -f ./hello/Makefile ] || exit 0; \
11734 r=`${PWD_COMMAND}`; export r; \
11735 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11736 $(SET_LIB_PATH) \
11737 $(HOST_EXPORTS) \
11738 for flag in $(EXTRA_HOST_FLAGS) ; do \
11739 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11740 done; \
11741 echo "Doing clean in hello" ; \
11742 (cd hello && \
11743 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11744 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11745 "RANLIB=$${RANLIB}" \
11746 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11747 clean) \
11748 || exit 1
11750 @endif hello
11752 .PHONY: maybe-distclean-hello distclean-hello
11753 maybe-distclean-hello:
11754 @if hello
11755 maybe-distclean-hello: distclean-hello
11757 distclean-hello:
11758 @[ -f ./hello/Makefile ] || exit 0; \
11759 r=`${PWD_COMMAND}`; export r; \
11760 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11761 $(SET_LIB_PATH) \
11762 $(HOST_EXPORTS) \
11763 for flag in $(EXTRA_HOST_FLAGS) ; do \
11764 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11765 done; \
11766 echo "Doing distclean in hello" ; \
11767 (cd hello && \
11768 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11769 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11770 "RANLIB=$${RANLIB}" \
11771 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11772 distclean) \
11773 || exit 1
11775 @endif hello
11777 .PHONY: maybe-maintainer-clean-hello maintainer-clean-hello
11778 maybe-maintainer-clean-hello:
11779 @if hello
11780 maybe-maintainer-clean-hello: maintainer-clean-hello
11782 maintainer-clean-hello:
11783 @[ -f ./hello/Makefile ] || exit 0; \
11784 r=`${PWD_COMMAND}`; export r; \
11785 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11786 $(SET_LIB_PATH) \
11787 $(HOST_EXPORTS) \
11788 for flag in $(EXTRA_HOST_FLAGS) ; do \
11789 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11790 done; \
11791 echo "Doing maintainer-clean in hello" ; \
11792 (cd hello && \
11793 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11794 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11795 "RANLIB=$${RANLIB}" \
11796 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11797 maintainer-clean) \
11798 || exit 1
11800 @endif hello
11803 .PHONY: configure-indent maybe-configure-indent
11804 maybe-configure-indent:
11805 @if indent
11806 maybe-configure-indent: configure-indent
11807 configure-indent:
11808 @test ! -f indent/Makefile || exit 0; \
11809 [ -d indent ] || mkdir indent; \
11810 r=`${PWD_COMMAND}`; export r; \
11811 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11812 $(HOST_EXPORTS) \
11813 echo Configuring in indent; \
11814 cd indent || exit 1; \
11815 case $(srcdir) in \
11816 \.) \
11817 srcdiroption="--srcdir=."; \
11818 libsrcdir=".";; \
11819 /* | [A-Za-z]:[\\/]*) \
11820 srcdiroption="--srcdir=$(srcdir)/indent"; \
11821 libsrcdir="$$s/indent";; \
11822 *) \
11823 srcdiroption="--srcdir=../$(srcdir)/indent"; \
11824 libsrcdir="$$s/indent";; \
11825 esac; \
11826 $(SHELL) $${libsrcdir}/configure \
11827 $(HOST_CONFIGARGS) $${srcdiroption} \
11828 || exit 1
11829 @endif indent
11831 .PHONY: all-indent maybe-all-indent
11832 maybe-all-indent:
11833 @if indent
11834 TARGET-indent=all
11835 maybe-all-indent: all-indent
11836 all-indent: configure-indent
11837 @r=`${PWD_COMMAND}`; export r; \
11838 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11839 $(SET_LIB_PATH) \
11840 $(HOST_EXPORTS) \
11841 (cd indent && $(MAKE) $(FLAGS_TO_PASS) \
11842 $(TARGET-indent))
11843 @endif indent
11845 .PHONY: check-indent maybe-check-indent
11846 maybe-check-indent:
11847 @if indent
11848 maybe-check-indent: check-indent
11850 check-indent:
11851 @r=`${PWD_COMMAND}`; export r; \
11852 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11853 $(SET_LIB_PATH) \
11854 $(HOST_EXPORTS) \
11855 (cd indent && $(MAKE) $(FLAGS_TO_PASS) check)
11857 @endif indent
11859 .PHONY: install-indent maybe-install-indent
11860 maybe-install-indent:
11861 @if indent
11862 maybe-install-indent: install-indent
11864 install-indent: installdirs
11865 @r=`${PWD_COMMAND}`; export r; \
11866 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11867 $(SET_LIB_PATH) \
11868 $(HOST_EXPORTS) \
11869 (cd indent && $(MAKE) $(FLAGS_TO_PASS) install)
11871 @endif indent
11873 # Other targets (info, dvi, etc.)
11875 .PHONY: maybe-info-indent info-indent
11876 maybe-info-indent:
11877 @if indent
11878 maybe-info-indent: info-indent
11880 info-indent: \
11881 configure-indent
11882 @[ -f ./indent/Makefile ] || exit 0; \
11883 r=`${PWD_COMMAND}`; export r; \
11884 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11885 $(SET_LIB_PATH) \
11886 $(HOST_EXPORTS) \
11887 for flag in $(EXTRA_HOST_FLAGS) ; do \
11888 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11889 done; \
11890 echo "Doing info in indent" ; \
11891 (cd indent && \
11892 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11893 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11894 "RANLIB=$${RANLIB}" \
11895 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11896 info) \
11897 || exit 1
11899 @endif indent
11901 .PHONY: maybe-dvi-indent dvi-indent
11902 maybe-dvi-indent:
11903 @if indent
11904 maybe-dvi-indent: dvi-indent
11906 dvi-indent: \
11907 configure-indent
11908 @[ -f ./indent/Makefile ] || exit 0; \
11909 r=`${PWD_COMMAND}`; export r; \
11910 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11911 $(SET_LIB_PATH) \
11912 $(HOST_EXPORTS) \
11913 for flag in $(EXTRA_HOST_FLAGS) ; do \
11914 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11915 done; \
11916 echo "Doing dvi in indent" ; \
11917 (cd indent && \
11918 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11919 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11920 "RANLIB=$${RANLIB}" \
11921 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11922 dvi) \
11923 || exit 1
11925 @endif indent
11927 .PHONY: maybe-html-indent html-indent
11928 maybe-html-indent:
11929 @if indent
11930 maybe-html-indent: html-indent
11932 html-indent: \
11933 configure-indent
11934 @[ -f ./indent/Makefile ] || exit 0; \
11935 r=`${PWD_COMMAND}`; export r; \
11936 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11937 $(SET_LIB_PATH) \
11938 $(HOST_EXPORTS) \
11939 for flag in $(EXTRA_HOST_FLAGS) ; do \
11940 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11941 done; \
11942 echo "Doing html in indent" ; \
11943 (cd indent && \
11944 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11945 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11946 "RANLIB=$${RANLIB}" \
11947 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11948 html) \
11949 || exit 1
11951 @endif indent
11953 .PHONY: maybe-TAGS-indent TAGS-indent
11954 maybe-TAGS-indent:
11955 @if indent
11956 maybe-TAGS-indent: TAGS-indent
11958 TAGS-indent: \
11959 configure-indent
11960 @[ -f ./indent/Makefile ] || exit 0; \
11961 r=`${PWD_COMMAND}`; export r; \
11962 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11963 $(SET_LIB_PATH) \
11964 $(HOST_EXPORTS) \
11965 for flag in $(EXTRA_HOST_FLAGS) ; do \
11966 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11967 done; \
11968 echo "Doing TAGS in indent" ; \
11969 (cd indent && \
11970 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11971 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11972 "RANLIB=$${RANLIB}" \
11973 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11974 TAGS) \
11975 || exit 1
11977 @endif indent
11979 .PHONY: maybe-install-info-indent install-info-indent
11980 maybe-install-info-indent:
11981 @if indent
11982 maybe-install-info-indent: install-info-indent
11984 install-info-indent: \
11985 configure-indent \
11986 info-indent
11987 @[ -f ./indent/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 install-info in indent" ; \
11996 (cd indent && \
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 install-info) \
12002 || exit 1
12004 @endif indent
12006 .PHONY: maybe-installcheck-indent installcheck-indent
12007 maybe-installcheck-indent:
12008 @if indent
12009 maybe-installcheck-indent: installcheck-indent
12011 installcheck-indent: \
12012 configure-indent
12013 @[ -f ./indent/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 installcheck in indent" ; \
12022 (cd indent && \
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 installcheck) \
12028 || exit 1
12030 @endif indent
12032 .PHONY: maybe-mostlyclean-indent mostlyclean-indent
12033 maybe-mostlyclean-indent:
12034 @if indent
12035 maybe-mostlyclean-indent: mostlyclean-indent
12037 mostlyclean-indent:
12038 @[ -f ./indent/Makefile ] || exit 0; \
12039 r=`${PWD_COMMAND}`; export r; \
12040 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12041 $(SET_LIB_PATH) \
12042 $(HOST_EXPORTS) \
12043 for flag in $(EXTRA_HOST_FLAGS) ; do \
12044 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12045 done; \
12046 echo "Doing mostlyclean in indent" ; \
12047 (cd indent && \
12048 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12049 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12050 "RANLIB=$${RANLIB}" \
12051 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12052 mostlyclean) \
12053 || exit 1
12055 @endif indent
12057 .PHONY: maybe-clean-indent clean-indent
12058 maybe-clean-indent:
12059 @if indent
12060 maybe-clean-indent: clean-indent
12062 clean-indent:
12063 @[ -f ./indent/Makefile ] || exit 0; \
12064 r=`${PWD_COMMAND}`; export r; \
12065 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12066 $(SET_LIB_PATH) \
12067 $(HOST_EXPORTS) \
12068 for flag in $(EXTRA_HOST_FLAGS) ; do \
12069 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12070 done; \
12071 echo "Doing clean in indent" ; \
12072 (cd indent && \
12073 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12074 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12075 "RANLIB=$${RANLIB}" \
12076 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12077 clean) \
12078 || exit 1
12080 @endif indent
12082 .PHONY: maybe-distclean-indent distclean-indent
12083 maybe-distclean-indent:
12084 @if indent
12085 maybe-distclean-indent: distclean-indent
12087 distclean-indent:
12088 @[ -f ./indent/Makefile ] || exit 0; \
12089 r=`${PWD_COMMAND}`; export r; \
12090 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12091 $(SET_LIB_PATH) \
12092 $(HOST_EXPORTS) \
12093 for flag in $(EXTRA_HOST_FLAGS) ; do \
12094 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12095 done; \
12096 echo "Doing distclean in indent" ; \
12097 (cd indent && \
12098 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12099 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12100 "RANLIB=$${RANLIB}" \
12101 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12102 distclean) \
12103 || exit 1
12105 @endif indent
12107 .PHONY: maybe-maintainer-clean-indent maintainer-clean-indent
12108 maybe-maintainer-clean-indent:
12109 @if indent
12110 maybe-maintainer-clean-indent: maintainer-clean-indent
12112 maintainer-clean-indent:
12113 @[ -f ./indent/Makefile ] || exit 0; \
12114 r=`${PWD_COMMAND}`; export r; \
12115 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12116 $(SET_LIB_PATH) \
12117 $(HOST_EXPORTS) \
12118 for flag in $(EXTRA_HOST_FLAGS) ; do \
12119 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12120 done; \
12121 echo "Doing maintainer-clean in indent" ; \
12122 (cd indent && \
12123 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12124 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12125 "RANLIB=$${RANLIB}" \
12126 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12127 maintainer-clean) \
12128 || exit 1
12130 @endif indent
12133 .PHONY: configure-intl maybe-configure-intl
12134 maybe-configure-intl:
12135 @if intl
12136 maybe-configure-intl: configure-intl
12137 configure-intl:
12138 @test -f stage_last && exit 0; \
12139 test ! -f intl/Makefile || exit 0; \
12140 [ -d intl ] || mkdir intl; \
12141 r=`${PWD_COMMAND}`; export r; \
12142 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12143 $(HOST_EXPORTS) \
12144 echo Configuring in intl; \
12145 cd intl || exit 1; \
12146 case $(srcdir) in \
12147 \.) \
12148 srcdiroption="--srcdir=."; \
12149 libsrcdir=".";; \
12150 /* | [A-Za-z]:[\\/]*) \
12151 srcdiroption="--srcdir=$(srcdir)/intl"; \
12152 libsrcdir="$$s/intl";; \
12153 *) \
12154 srcdiroption="--srcdir=../$(srcdir)/intl"; \
12155 libsrcdir="$$s/intl";; \
12156 esac; \
12157 $(SHELL) $${libsrcdir}/configure \
12158 $(HOST_CONFIGARGS) $${srcdiroption} \
12159 || exit 1
12160 @endif intl
12162 .PHONY: all-intl maybe-all-intl
12163 maybe-all-intl:
12164 @if intl
12165 TARGET-intl=all
12166 maybe-all-intl: all-intl
12167 all-intl: configure-intl
12168 @test -f stage_last && exit 0; \
12169 r=`${PWD_COMMAND}`; export r; \
12170 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12171 $(SET_LIB_PATH) \
12172 $(HOST_EXPORTS) \
12173 (cd intl && $(MAKE) $(FLAGS_TO_PASS) \
12174 $(TARGET-intl))
12175 @endif intl
12177 .PHONY: check-intl maybe-check-intl
12178 maybe-check-intl:
12179 @if intl
12180 maybe-check-intl: check-intl
12182 check-intl:
12183 @r=`${PWD_COMMAND}`; export r; \
12184 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12185 $(SET_LIB_PATH) \
12186 $(HOST_EXPORTS) \
12187 (cd intl && $(MAKE) $(FLAGS_TO_PASS) check)
12189 @endif intl
12191 .PHONY: install-intl maybe-install-intl
12192 maybe-install-intl:
12193 @if intl
12194 maybe-install-intl: install-intl
12196 install-intl: installdirs
12197 @r=`${PWD_COMMAND}`; export r; \
12198 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12199 $(SET_LIB_PATH) \
12200 $(HOST_EXPORTS) \
12201 (cd intl && $(MAKE) $(FLAGS_TO_PASS) install)
12203 @endif intl
12205 # Other targets (info, dvi, etc.)
12207 .PHONY: maybe-info-intl info-intl
12208 maybe-info-intl:
12209 @if intl
12210 maybe-info-intl: info-intl
12212 info-intl: \
12213 configure-intl
12214 @[ -f ./intl/Makefile ] || exit 0; \
12215 r=`${PWD_COMMAND}`; export r; \
12216 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12217 $(SET_LIB_PATH) \
12218 $(HOST_EXPORTS) \
12219 for flag in $(EXTRA_HOST_FLAGS) ; do \
12220 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12221 done; \
12222 echo "Doing info in intl" ; \
12223 (cd intl && \
12224 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12225 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12226 "RANLIB=$${RANLIB}" \
12227 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12228 info) \
12229 || exit 1
12231 @endif intl
12233 .PHONY: maybe-dvi-intl dvi-intl
12234 maybe-dvi-intl:
12235 @if intl
12236 maybe-dvi-intl: dvi-intl
12238 dvi-intl: \
12239 configure-intl
12240 @[ -f ./intl/Makefile ] || exit 0; \
12241 r=`${PWD_COMMAND}`; export r; \
12242 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12243 $(SET_LIB_PATH) \
12244 $(HOST_EXPORTS) \
12245 for flag in $(EXTRA_HOST_FLAGS) ; do \
12246 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12247 done; \
12248 echo "Doing dvi in intl" ; \
12249 (cd intl && \
12250 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12251 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12252 "RANLIB=$${RANLIB}" \
12253 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12254 dvi) \
12255 || exit 1
12257 @endif intl
12259 .PHONY: maybe-html-intl html-intl
12260 maybe-html-intl:
12261 @if intl
12262 maybe-html-intl: html-intl
12264 html-intl: \
12265 configure-intl
12266 @[ -f ./intl/Makefile ] || exit 0; \
12267 r=`${PWD_COMMAND}`; export r; \
12268 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12269 $(SET_LIB_PATH) \
12270 $(HOST_EXPORTS) \
12271 for flag in $(EXTRA_HOST_FLAGS) ; do \
12272 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12273 done; \
12274 echo "Doing html in intl" ; \
12275 (cd intl && \
12276 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12277 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12278 "RANLIB=$${RANLIB}" \
12279 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12280 html) \
12281 || exit 1
12283 @endif intl
12285 .PHONY: maybe-TAGS-intl TAGS-intl
12286 maybe-TAGS-intl:
12287 @if intl
12288 maybe-TAGS-intl: TAGS-intl
12290 TAGS-intl: \
12291 configure-intl
12292 @[ -f ./intl/Makefile ] || exit 0; \
12293 r=`${PWD_COMMAND}`; export r; \
12294 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12295 $(SET_LIB_PATH) \
12296 $(HOST_EXPORTS) \
12297 for flag in $(EXTRA_HOST_FLAGS) ; do \
12298 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12299 done; \
12300 echo "Doing TAGS in intl" ; \
12301 (cd intl && \
12302 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12303 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12304 "RANLIB=$${RANLIB}" \
12305 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12306 TAGS) \
12307 || exit 1
12309 @endif intl
12311 .PHONY: maybe-install-info-intl install-info-intl
12312 maybe-install-info-intl:
12313 @if intl
12314 maybe-install-info-intl: install-info-intl
12316 install-info-intl: \
12317 configure-intl \
12318 info-intl
12319 @[ -f ./intl/Makefile ] || exit 0; \
12320 r=`${PWD_COMMAND}`; export r; \
12321 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12322 $(SET_LIB_PATH) \
12323 $(HOST_EXPORTS) \
12324 for flag in $(EXTRA_HOST_FLAGS) ; do \
12325 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12326 done; \
12327 echo "Doing install-info in intl" ; \
12328 (cd intl && \
12329 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12330 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12331 "RANLIB=$${RANLIB}" \
12332 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12333 install-info) \
12334 || exit 1
12336 @endif intl
12338 .PHONY: maybe-installcheck-intl installcheck-intl
12339 maybe-installcheck-intl:
12340 @if intl
12341 maybe-installcheck-intl: installcheck-intl
12343 installcheck-intl: \
12344 configure-intl
12345 @[ -f ./intl/Makefile ] || exit 0; \
12346 r=`${PWD_COMMAND}`; export r; \
12347 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12348 $(SET_LIB_PATH) \
12349 $(HOST_EXPORTS) \
12350 for flag in $(EXTRA_HOST_FLAGS) ; do \
12351 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12352 done; \
12353 echo "Doing installcheck in intl" ; \
12354 (cd intl && \
12355 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12356 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12357 "RANLIB=$${RANLIB}" \
12358 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12359 installcheck) \
12360 || exit 1
12362 @endif intl
12364 .PHONY: maybe-mostlyclean-intl mostlyclean-intl
12365 maybe-mostlyclean-intl:
12366 @if intl
12367 maybe-mostlyclean-intl: mostlyclean-intl
12369 mostlyclean-intl:
12370 @[ -f ./intl/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 mostlyclean in intl" ; \
12379 (cd intl && \
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 mostlyclean) \
12385 || exit 1
12387 @endif intl
12389 .PHONY: maybe-clean-intl clean-intl
12390 maybe-clean-intl:
12391 @if intl
12392 maybe-clean-intl: clean-intl
12394 clean-intl:
12395 @[ -f ./intl/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 clean in intl" ; \
12404 (cd intl && \
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 clean) \
12410 || exit 1
12412 @endif intl
12414 .PHONY: maybe-distclean-intl distclean-intl
12415 maybe-distclean-intl:
12416 @if intl
12417 maybe-distclean-intl: distclean-intl
12419 distclean-intl:
12420 @[ -f ./intl/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 distclean in intl" ; \
12429 (cd intl && \
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 distclean) \
12435 || exit 1
12437 @endif intl
12439 .PHONY: maybe-maintainer-clean-intl maintainer-clean-intl
12440 maybe-maintainer-clean-intl:
12441 @if intl
12442 maybe-maintainer-clean-intl: maintainer-clean-intl
12444 maintainer-clean-intl:
12445 @[ -f ./intl/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 maintainer-clean in intl" ; \
12454 (cd intl && \
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 maintainer-clean) \
12460 || exit 1
12462 @endif intl
12465 .PHONY: configure-tcl maybe-configure-tcl
12466 maybe-configure-tcl:
12467 @if tcl
12468 maybe-configure-tcl: configure-tcl
12469 configure-tcl:
12470 @test ! -f tcl/Makefile || exit 0; \
12471 [ -d tcl ] || mkdir tcl; \
12472 r=`${PWD_COMMAND}`; export r; \
12473 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12474 $(HOST_EXPORTS) \
12475 echo Configuring in tcl; \
12476 cd tcl || exit 1; \
12477 case $(srcdir) in \
12478 \.) \
12479 srcdiroption="--srcdir=."; \
12480 libsrcdir=".";; \
12481 /* | [A-Za-z]:[\\/]*) \
12482 srcdiroption="--srcdir=$(srcdir)/tcl"; \
12483 libsrcdir="$$s/tcl";; \
12484 *) \
12485 srcdiroption="--srcdir=../$(srcdir)/tcl"; \
12486 libsrcdir="$$s/tcl";; \
12487 esac; \
12488 $(SHELL) $${libsrcdir}/configure \
12489 $(HOST_CONFIGARGS) $${srcdiroption} \
12490 || exit 1
12491 @endif tcl
12493 .PHONY: all-tcl maybe-all-tcl
12494 maybe-all-tcl:
12495 @if tcl
12496 TARGET-tcl=all
12497 maybe-all-tcl: all-tcl
12498 all-tcl: configure-tcl
12499 @r=`${PWD_COMMAND}`; export r; \
12500 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12501 $(SET_LIB_PATH) \
12502 $(HOST_EXPORTS) \
12503 (cd tcl && $(MAKE) $(FLAGS_TO_PASS) \
12504 $(TARGET-tcl))
12505 @endif tcl
12507 .PHONY: check-tcl maybe-check-tcl
12508 maybe-check-tcl:
12509 @if tcl
12510 maybe-check-tcl: check-tcl
12512 check-tcl:
12513 @r=`${PWD_COMMAND}`; export r; \
12514 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12515 $(SET_LIB_PATH) \
12516 $(HOST_EXPORTS) \
12517 (cd tcl && $(MAKE) $(FLAGS_TO_PASS) check)
12519 @endif tcl
12521 .PHONY: install-tcl maybe-install-tcl
12522 maybe-install-tcl:
12523 @if tcl
12524 maybe-install-tcl: install-tcl
12526 install-tcl: installdirs
12527 @r=`${PWD_COMMAND}`; export r; \
12528 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12529 $(SET_LIB_PATH) \
12530 $(HOST_EXPORTS) \
12531 (cd tcl && $(MAKE) $(FLAGS_TO_PASS) install)
12533 @endif tcl
12535 # Other targets (info, dvi, etc.)
12537 .PHONY: maybe-info-tcl info-tcl
12538 maybe-info-tcl:
12539 @if tcl
12540 maybe-info-tcl: info-tcl
12542 info-tcl: \
12543 configure-tcl
12544 @[ -f ./tcl/Makefile ] || exit 0; \
12545 r=`${PWD_COMMAND}`; export r; \
12546 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12547 $(SET_LIB_PATH) \
12548 $(HOST_EXPORTS) \
12549 for flag in $(EXTRA_HOST_FLAGS) ; do \
12550 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12551 done; \
12552 echo "Doing info in tcl" ; \
12553 (cd tcl && \
12554 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12555 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12556 "RANLIB=$${RANLIB}" \
12557 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12558 info) \
12559 || exit 1
12561 @endif tcl
12563 .PHONY: maybe-dvi-tcl dvi-tcl
12564 maybe-dvi-tcl:
12565 @if tcl
12566 maybe-dvi-tcl: dvi-tcl
12568 dvi-tcl: \
12569 configure-tcl
12570 @[ -f ./tcl/Makefile ] || exit 0; \
12571 r=`${PWD_COMMAND}`; export r; \
12572 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12573 $(SET_LIB_PATH) \
12574 $(HOST_EXPORTS) \
12575 for flag in $(EXTRA_HOST_FLAGS) ; do \
12576 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12577 done; \
12578 echo "Doing dvi in tcl" ; \
12579 (cd tcl && \
12580 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12581 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12582 "RANLIB=$${RANLIB}" \
12583 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12584 dvi) \
12585 || exit 1
12587 @endif tcl
12589 .PHONY: maybe-html-tcl html-tcl
12590 maybe-html-tcl:
12591 @if tcl
12592 maybe-html-tcl: html-tcl
12594 html-tcl: \
12595 configure-tcl
12596 @[ -f ./tcl/Makefile ] || exit 0; \
12597 r=`${PWD_COMMAND}`; export r; \
12598 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12599 $(SET_LIB_PATH) \
12600 $(HOST_EXPORTS) \
12601 for flag in $(EXTRA_HOST_FLAGS) ; do \
12602 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12603 done; \
12604 echo "Doing html in tcl" ; \
12605 (cd tcl && \
12606 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12607 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12608 "RANLIB=$${RANLIB}" \
12609 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12610 html) \
12611 || exit 1
12613 @endif tcl
12615 .PHONY: maybe-TAGS-tcl TAGS-tcl
12616 maybe-TAGS-tcl:
12617 @if tcl
12618 maybe-TAGS-tcl: TAGS-tcl
12620 TAGS-tcl: \
12621 configure-tcl
12622 @[ -f ./tcl/Makefile ] || exit 0; \
12623 r=`${PWD_COMMAND}`; export r; \
12624 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12625 $(SET_LIB_PATH) \
12626 $(HOST_EXPORTS) \
12627 for flag in $(EXTRA_HOST_FLAGS) ; do \
12628 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12629 done; \
12630 echo "Doing TAGS in tcl" ; \
12631 (cd tcl && \
12632 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12633 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12634 "RANLIB=$${RANLIB}" \
12635 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12636 TAGS) \
12637 || exit 1
12639 @endif tcl
12641 .PHONY: maybe-install-info-tcl install-info-tcl
12642 maybe-install-info-tcl:
12643 @if tcl
12644 maybe-install-info-tcl: install-info-tcl
12646 install-info-tcl: \
12647 configure-tcl \
12648 info-tcl
12649 @[ -f ./tcl/Makefile ] || exit 0; \
12650 r=`${PWD_COMMAND}`; export r; \
12651 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12652 $(SET_LIB_PATH) \
12653 $(HOST_EXPORTS) \
12654 for flag in $(EXTRA_HOST_FLAGS) ; do \
12655 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12656 done; \
12657 echo "Doing install-info in tcl" ; \
12658 (cd tcl && \
12659 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12660 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12661 "RANLIB=$${RANLIB}" \
12662 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12663 install-info) \
12664 || exit 1
12666 @endif tcl
12668 .PHONY: maybe-installcheck-tcl installcheck-tcl
12669 maybe-installcheck-tcl:
12670 @if tcl
12671 maybe-installcheck-tcl: installcheck-tcl
12673 installcheck-tcl: \
12674 configure-tcl
12675 @[ -f ./tcl/Makefile ] || exit 0; \
12676 r=`${PWD_COMMAND}`; export r; \
12677 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12678 $(SET_LIB_PATH) \
12679 $(HOST_EXPORTS) \
12680 for flag in $(EXTRA_HOST_FLAGS) ; do \
12681 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12682 done; \
12683 echo "Doing installcheck in tcl" ; \
12684 (cd tcl && \
12685 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12686 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12687 "RANLIB=$${RANLIB}" \
12688 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12689 installcheck) \
12690 || exit 1
12692 @endif tcl
12694 .PHONY: maybe-mostlyclean-tcl mostlyclean-tcl
12695 maybe-mostlyclean-tcl:
12696 @if tcl
12697 maybe-mostlyclean-tcl: mostlyclean-tcl
12699 # tcl doesn't support mostlyclean.
12700 mostlyclean-tcl:
12702 @endif tcl
12704 .PHONY: maybe-clean-tcl clean-tcl
12705 maybe-clean-tcl:
12706 @if tcl
12707 maybe-clean-tcl: clean-tcl
12709 clean-tcl:
12710 @[ -f ./tcl/Makefile ] || exit 0; \
12711 r=`${PWD_COMMAND}`; export r; \
12712 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12713 $(SET_LIB_PATH) \
12714 $(HOST_EXPORTS) \
12715 for flag in $(EXTRA_HOST_FLAGS) ; do \
12716 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12717 done; \
12718 echo "Doing clean in tcl" ; \
12719 (cd tcl && \
12720 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12721 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12722 "RANLIB=$${RANLIB}" \
12723 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12724 clean) \
12725 || exit 1
12727 @endif tcl
12729 .PHONY: maybe-distclean-tcl distclean-tcl
12730 maybe-distclean-tcl:
12731 @if tcl
12732 maybe-distclean-tcl: distclean-tcl
12734 distclean-tcl:
12735 @[ -f ./tcl/Makefile ] || exit 0; \
12736 r=`${PWD_COMMAND}`; export r; \
12737 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12738 $(SET_LIB_PATH) \
12739 $(HOST_EXPORTS) \
12740 for flag in $(EXTRA_HOST_FLAGS) ; do \
12741 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12742 done; \
12743 echo "Doing distclean in tcl" ; \
12744 (cd tcl && \
12745 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12746 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12747 "RANLIB=$${RANLIB}" \
12748 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12749 distclean) \
12750 || exit 1
12752 @endif tcl
12754 .PHONY: maybe-maintainer-clean-tcl maintainer-clean-tcl
12755 maybe-maintainer-clean-tcl:
12756 @if tcl
12757 maybe-maintainer-clean-tcl: maintainer-clean-tcl
12759 maintainer-clean-tcl:
12760 @[ -f ./tcl/Makefile ] || exit 0; \
12761 r=`${PWD_COMMAND}`; export r; \
12762 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12763 $(SET_LIB_PATH) \
12764 $(HOST_EXPORTS) \
12765 for flag in $(EXTRA_HOST_FLAGS) ; do \
12766 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12767 done; \
12768 echo "Doing maintainer-clean in tcl" ; \
12769 (cd tcl && \
12770 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12771 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12772 "RANLIB=$${RANLIB}" \
12773 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12774 maintainer-clean) \
12775 || exit 1
12777 @endif tcl
12780 .PHONY: configure-itcl maybe-configure-itcl
12781 maybe-configure-itcl:
12782 @if itcl
12783 maybe-configure-itcl: configure-itcl
12784 configure-itcl:
12785 @test ! -f itcl/Makefile || exit 0; \
12786 [ -d itcl ] || mkdir itcl; \
12787 r=`${PWD_COMMAND}`; export r; \
12788 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12789 $(HOST_EXPORTS) \
12790 echo Configuring in itcl; \
12791 cd itcl || exit 1; \
12792 case $(srcdir) in \
12793 \.) \
12794 srcdiroption="--srcdir=."; \
12795 libsrcdir=".";; \
12796 /* | [A-Za-z]:[\\/]*) \
12797 srcdiroption="--srcdir=$(srcdir)/itcl"; \
12798 libsrcdir="$$s/itcl";; \
12799 *) \
12800 srcdiroption="--srcdir=../$(srcdir)/itcl"; \
12801 libsrcdir="$$s/itcl";; \
12802 esac; \
12803 $(SHELL) $${libsrcdir}/configure \
12804 $(HOST_CONFIGARGS) $${srcdiroption} \
12805 || exit 1
12806 @endif itcl
12808 .PHONY: all-itcl maybe-all-itcl
12809 maybe-all-itcl:
12810 @if itcl
12811 TARGET-itcl=all
12812 maybe-all-itcl: all-itcl
12813 all-itcl: configure-itcl
12814 @r=`${PWD_COMMAND}`; export r; \
12815 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12816 $(SET_LIB_PATH) \
12817 $(HOST_EXPORTS) \
12818 (cd itcl && $(MAKE) $(FLAGS_TO_PASS) \
12819 $(TARGET-itcl))
12820 @endif itcl
12822 .PHONY: check-itcl maybe-check-itcl
12823 maybe-check-itcl:
12824 @if itcl
12825 maybe-check-itcl: check-itcl
12827 check-itcl:
12828 @r=`${PWD_COMMAND}`; export r; \
12829 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12830 $(SET_LIB_PATH) \
12831 $(HOST_EXPORTS) \
12832 (cd itcl && $(MAKE) $(FLAGS_TO_PASS) check)
12834 @endif itcl
12836 .PHONY: install-itcl maybe-install-itcl
12837 maybe-install-itcl:
12838 @if itcl
12839 maybe-install-itcl: install-itcl
12841 install-itcl: installdirs
12842 @r=`${PWD_COMMAND}`; export r; \
12843 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12844 $(SET_LIB_PATH) \
12845 $(HOST_EXPORTS) \
12846 (cd itcl && $(MAKE) $(FLAGS_TO_PASS) install)
12848 @endif itcl
12850 # Other targets (info, dvi, etc.)
12852 .PHONY: maybe-info-itcl info-itcl
12853 maybe-info-itcl:
12854 @if itcl
12855 maybe-info-itcl: info-itcl
12857 info-itcl: \
12858 configure-itcl
12859 @[ -f ./itcl/Makefile ] || exit 0; \
12860 r=`${PWD_COMMAND}`; export r; \
12861 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12862 $(SET_LIB_PATH) \
12863 $(HOST_EXPORTS) \
12864 for flag in $(EXTRA_HOST_FLAGS) ; do \
12865 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12866 done; \
12867 echo "Doing info in itcl" ; \
12868 (cd itcl && \
12869 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12870 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12871 "RANLIB=$${RANLIB}" \
12872 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12873 info) \
12874 || exit 1
12876 @endif itcl
12878 .PHONY: maybe-dvi-itcl dvi-itcl
12879 maybe-dvi-itcl:
12880 @if itcl
12881 maybe-dvi-itcl: dvi-itcl
12883 dvi-itcl: \
12884 configure-itcl
12885 @[ -f ./itcl/Makefile ] || exit 0; \
12886 r=`${PWD_COMMAND}`; export r; \
12887 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12888 $(SET_LIB_PATH) \
12889 $(HOST_EXPORTS) \
12890 for flag in $(EXTRA_HOST_FLAGS) ; do \
12891 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12892 done; \
12893 echo "Doing dvi in itcl" ; \
12894 (cd itcl && \
12895 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12896 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12897 "RANLIB=$${RANLIB}" \
12898 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12899 dvi) \
12900 || exit 1
12902 @endif itcl
12904 .PHONY: maybe-html-itcl html-itcl
12905 maybe-html-itcl:
12906 @if itcl
12907 maybe-html-itcl: html-itcl
12909 html-itcl: \
12910 configure-itcl
12911 @[ -f ./itcl/Makefile ] || exit 0; \
12912 r=`${PWD_COMMAND}`; export r; \
12913 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12914 $(SET_LIB_PATH) \
12915 $(HOST_EXPORTS) \
12916 for flag in $(EXTRA_HOST_FLAGS) ; do \
12917 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12918 done; \
12919 echo "Doing html in itcl" ; \
12920 (cd itcl && \
12921 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12922 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12923 "RANLIB=$${RANLIB}" \
12924 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12925 html) \
12926 || exit 1
12928 @endif itcl
12930 .PHONY: maybe-TAGS-itcl TAGS-itcl
12931 maybe-TAGS-itcl:
12932 @if itcl
12933 maybe-TAGS-itcl: TAGS-itcl
12935 TAGS-itcl: \
12936 configure-itcl
12937 @[ -f ./itcl/Makefile ] || exit 0; \
12938 r=`${PWD_COMMAND}`; export r; \
12939 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12940 $(SET_LIB_PATH) \
12941 $(HOST_EXPORTS) \
12942 for flag in $(EXTRA_HOST_FLAGS) ; do \
12943 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12944 done; \
12945 echo "Doing TAGS in itcl" ; \
12946 (cd itcl && \
12947 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12948 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12949 "RANLIB=$${RANLIB}" \
12950 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12951 TAGS) \
12952 || exit 1
12954 @endif itcl
12956 .PHONY: maybe-install-info-itcl install-info-itcl
12957 maybe-install-info-itcl:
12958 @if itcl
12959 maybe-install-info-itcl: install-info-itcl
12961 install-info-itcl: \
12962 configure-itcl \
12963 info-itcl
12964 @[ -f ./itcl/Makefile ] || exit 0; \
12965 r=`${PWD_COMMAND}`; export r; \
12966 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12967 $(SET_LIB_PATH) \
12968 $(HOST_EXPORTS) \
12969 for flag in $(EXTRA_HOST_FLAGS) ; do \
12970 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12971 done; \
12972 echo "Doing install-info in itcl" ; \
12973 (cd itcl && \
12974 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12975 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12976 "RANLIB=$${RANLIB}" \
12977 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12978 install-info) \
12979 || exit 1
12981 @endif itcl
12983 .PHONY: maybe-installcheck-itcl installcheck-itcl
12984 maybe-installcheck-itcl:
12985 @if itcl
12986 maybe-installcheck-itcl: installcheck-itcl
12988 installcheck-itcl: \
12989 configure-itcl
12990 @[ -f ./itcl/Makefile ] || exit 0; \
12991 r=`${PWD_COMMAND}`; export r; \
12992 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12993 $(SET_LIB_PATH) \
12994 $(HOST_EXPORTS) \
12995 for flag in $(EXTRA_HOST_FLAGS) ; do \
12996 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12997 done; \
12998 echo "Doing installcheck in itcl" ; \
12999 (cd itcl && \
13000 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13001 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13002 "RANLIB=$${RANLIB}" \
13003 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13004 installcheck) \
13005 || exit 1
13007 @endif itcl
13009 .PHONY: maybe-mostlyclean-itcl mostlyclean-itcl
13010 maybe-mostlyclean-itcl:
13011 @if itcl
13012 maybe-mostlyclean-itcl: mostlyclean-itcl
13014 mostlyclean-itcl:
13015 @[ -f ./itcl/Makefile ] || exit 0; \
13016 r=`${PWD_COMMAND}`; export r; \
13017 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13018 $(SET_LIB_PATH) \
13019 $(HOST_EXPORTS) \
13020 for flag in $(EXTRA_HOST_FLAGS) ; do \
13021 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13022 done; \
13023 echo "Doing mostlyclean in itcl" ; \
13024 (cd itcl && \
13025 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13026 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13027 "RANLIB=$${RANLIB}" \
13028 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13029 mostlyclean) \
13030 || exit 1
13032 @endif itcl
13034 .PHONY: maybe-clean-itcl clean-itcl
13035 maybe-clean-itcl:
13036 @if itcl
13037 maybe-clean-itcl: clean-itcl
13039 clean-itcl:
13040 @[ -f ./itcl/Makefile ] || exit 0; \
13041 r=`${PWD_COMMAND}`; export r; \
13042 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13043 $(SET_LIB_PATH) \
13044 $(HOST_EXPORTS) \
13045 for flag in $(EXTRA_HOST_FLAGS) ; do \
13046 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13047 done; \
13048 echo "Doing clean in itcl" ; \
13049 (cd itcl && \
13050 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13051 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13052 "RANLIB=$${RANLIB}" \
13053 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13054 clean) \
13055 || exit 1
13057 @endif itcl
13059 .PHONY: maybe-distclean-itcl distclean-itcl
13060 maybe-distclean-itcl:
13061 @if itcl
13062 maybe-distclean-itcl: distclean-itcl
13064 distclean-itcl:
13065 @[ -f ./itcl/Makefile ] || exit 0; \
13066 r=`${PWD_COMMAND}`; export r; \
13067 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13068 $(SET_LIB_PATH) \
13069 $(HOST_EXPORTS) \
13070 for flag in $(EXTRA_HOST_FLAGS) ; do \
13071 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13072 done; \
13073 echo "Doing distclean in itcl" ; \
13074 (cd itcl && \
13075 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13076 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13077 "RANLIB=$${RANLIB}" \
13078 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13079 distclean) \
13080 || exit 1
13082 @endif itcl
13084 .PHONY: maybe-maintainer-clean-itcl maintainer-clean-itcl
13085 maybe-maintainer-clean-itcl:
13086 @if itcl
13087 maybe-maintainer-clean-itcl: maintainer-clean-itcl
13089 maintainer-clean-itcl:
13090 @[ -f ./itcl/Makefile ] || exit 0; \
13091 r=`${PWD_COMMAND}`; export r; \
13092 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13093 $(SET_LIB_PATH) \
13094 $(HOST_EXPORTS) \
13095 for flag in $(EXTRA_HOST_FLAGS) ; do \
13096 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13097 done; \
13098 echo "Doing maintainer-clean in itcl" ; \
13099 (cd itcl && \
13100 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13101 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13102 "RANLIB=$${RANLIB}" \
13103 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13104 maintainer-clean) \
13105 || exit 1
13107 @endif itcl
13110 .PHONY: configure-ld maybe-configure-ld
13111 maybe-configure-ld:
13112 @if ld
13113 maybe-configure-ld: configure-ld
13114 configure-ld:
13115 @test -f stage_last && exit 0; \
13116 test ! -f ld/Makefile || exit 0; \
13117 [ -d ld ] || mkdir ld; \
13118 r=`${PWD_COMMAND}`; export r; \
13119 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13120 $(HOST_EXPORTS) \
13121 echo Configuring in ld; \
13122 cd ld || exit 1; \
13123 case $(srcdir) in \
13124 \.) \
13125 srcdiroption="--srcdir=."; \
13126 libsrcdir=".";; \
13127 /* | [A-Za-z]:[\\/]*) \
13128 srcdiroption="--srcdir=$(srcdir)/ld"; \
13129 libsrcdir="$$s/ld";; \
13130 *) \
13131 srcdiroption="--srcdir=../$(srcdir)/ld"; \
13132 libsrcdir="$$s/ld";; \
13133 esac; \
13134 $(SHELL) $${libsrcdir}/configure \
13135 $(HOST_CONFIGARGS) $${srcdiroption} \
13136 || exit 1
13137 @endif ld
13139 .PHONY: all-ld maybe-all-ld
13140 maybe-all-ld:
13141 @if ld
13142 TARGET-ld=all
13143 maybe-all-ld: all-ld
13144 all-ld: configure-ld
13145 @test -f stage_last && exit 0; \
13146 r=`${PWD_COMMAND}`; export r; \
13147 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13148 $(SET_LIB_PATH) \
13149 $(HOST_EXPORTS) \
13150 (cd ld && $(MAKE) $(FLAGS_TO_PASS) \
13151 $(TARGET-ld))
13152 @endif ld
13154 .PHONY: check-ld maybe-check-ld
13155 maybe-check-ld:
13156 @if ld
13157 maybe-check-ld: check-ld
13159 check-ld:
13160 @r=`${PWD_COMMAND}`; export r; \
13161 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13162 $(SET_LIB_PATH) \
13163 $(HOST_EXPORTS) \
13164 (cd ld && $(MAKE) $(FLAGS_TO_PASS) check)
13166 @endif ld
13168 .PHONY: install-ld maybe-install-ld
13169 maybe-install-ld:
13170 @if ld
13171 maybe-install-ld: install-ld
13173 install-ld: installdirs
13174 @r=`${PWD_COMMAND}`; export r; \
13175 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13176 $(SET_LIB_PATH) \
13177 $(HOST_EXPORTS) \
13178 (cd ld && $(MAKE) $(FLAGS_TO_PASS) install)
13180 @endif ld
13182 # Other targets (info, dvi, etc.)
13184 .PHONY: maybe-info-ld info-ld
13185 maybe-info-ld:
13186 @if ld
13187 maybe-info-ld: info-ld
13189 info-ld: \
13190 configure-ld
13191 @[ -f ./ld/Makefile ] || exit 0; \
13192 r=`${PWD_COMMAND}`; export r; \
13193 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13194 $(SET_LIB_PATH) \
13195 $(HOST_EXPORTS) \
13196 for flag in $(EXTRA_HOST_FLAGS) ; do \
13197 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13198 done; \
13199 echo "Doing info in ld" ; \
13200 (cd ld && \
13201 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13202 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13203 "RANLIB=$${RANLIB}" \
13204 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13205 info) \
13206 || exit 1
13208 @endif ld
13210 .PHONY: maybe-dvi-ld dvi-ld
13211 maybe-dvi-ld:
13212 @if ld
13213 maybe-dvi-ld: dvi-ld
13215 dvi-ld: \
13216 configure-ld
13217 @[ -f ./ld/Makefile ] || exit 0; \
13218 r=`${PWD_COMMAND}`; export r; \
13219 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13220 $(SET_LIB_PATH) \
13221 $(HOST_EXPORTS) \
13222 for flag in $(EXTRA_HOST_FLAGS) ; do \
13223 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13224 done; \
13225 echo "Doing dvi in ld" ; \
13226 (cd ld && \
13227 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13228 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13229 "RANLIB=$${RANLIB}" \
13230 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13231 dvi) \
13232 || exit 1
13234 @endif ld
13236 .PHONY: maybe-html-ld html-ld
13237 maybe-html-ld:
13238 @if ld
13239 maybe-html-ld: html-ld
13241 html-ld: \
13242 configure-ld
13243 @[ -f ./ld/Makefile ] || exit 0; \
13244 r=`${PWD_COMMAND}`; export r; \
13245 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13246 $(SET_LIB_PATH) \
13247 $(HOST_EXPORTS) \
13248 for flag in $(EXTRA_HOST_FLAGS) ; do \
13249 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13250 done; \
13251 echo "Doing html in ld" ; \
13252 (cd ld && \
13253 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13254 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13255 "RANLIB=$${RANLIB}" \
13256 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13257 html) \
13258 || exit 1
13260 @endif ld
13262 .PHONY: maybe-TAGS-ld TAGS-ld
13263 maybe-TAGS-ld:
13264 @if ld
13265 maybe-TAGS-ld: TAGS-ld
13267 TAGS-ld: \
13268 configure-ld
13269 @[ -f ./ld/Makefile ] || exit 0; \
13270 r=`${PWD_COMMAND}`; export r; \
13271 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13272 $(SET_LIB_PATH) \
13273 $(HOST_EXPORTS) \
13274 for flag in $(EXTRA_HOST_FLAGS) ; do \
13275 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13276 done; \
13277 echo "Doing TAGS in ld" ; \
13278 (cd ld && \
13279 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13280 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13281 "RANLIB=$${RANLIB}" \
13282 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13283 TAGS) \
13284 || exit 1
13286 @endif ld
13288 .PHONY: maybe-install-info-ld install-info-ld
13289 maybe-install-info-ld:
13290 @if ld
13291 maybe-install-info-ld: install-info-ld
13293 install-info-ld: \
13294 configure-ld \
13295 info-ld
13296 @[ -f ./ld/Makefile ] || exit 0; \
13297 r=`${PWD_COMMAND}`; export r; \
13298 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13299 $(SET_LIB_PATH) \
13300 $(HOST_EXPORTS) \
13301 for flag in $(EXTRA_HOST_FLAGS) ; do \
13302 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13303 done; \
13304 echo "Doing install-info in ld" ; \
13305 (cd ld && \
13306 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13307 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13308 "RANLIB=$${RANLIB}" \
13309 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13310 install-info) \
13311 || exit 1
13313 @endif ld
13315 .PHONY: maybe-installcheck-ld installcheck-ld
13316 maybe-installcheck-ld:
13317 @if ld
13318 maybe-installcheck-ld: installcheck-ld
13320 installcheck-ld: \
13321 configure-ld
13322 @[ -f ./ld/Makefile ] || exit 0; \
13323 r=`${PWD_COMMAND}`; export r; \
13324 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13325 $(SET_LIB_PATH) \
13326 $(HOST_EXPORTS) \
13327 for flag in $(EXTRA_HOST_FLAGS) ; do \
13328 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13329 done; \
13330 echo "Doing installcheck in ld" ; \
13331 (cd ld && \
13332 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13333 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13334 "RANLIB=$${RANLIB}" \
13335 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13336 installcheck) \
13337 || exit 1
13339 @endif ld
13341 .PHONY: maybe-mostlyclean-ld mostlyclean-ld
13342 maybe-mostlyclean-ld:
13343 @if ld
13344 maybe-mostlyclean-ld: mostlyclean-ld
13346 mostlyclean-ld:
13347 @[ -f ./ld/Makefile ] || exit 0; \
13348 r=`${PWD_COMMAND}`; export r; \
13349 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13350 $(SET_LIB_PATH) \
13351 $(HOST_EXPORTS) \
13352 for flag in $(EXTRA_HOST_FLAGS) ; do \
13353 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13354 done; \
13355 echo "Doing mostlyclean in ld" ; \
13356 (cd ld && \
13357 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13358 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13359 "RANLIB=$${RANLIB}" \
13360 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13361 mostlyclean) \
13362 || exit 1
13364 @endif ld
13366 .PHONY: maybe-clean-ld clean-ld
13367 maybe-clean-ld:
13368 @if ld
13369 maybe-clean-ld: clean-ld
13371 clean-ld:
13372 @[ -f ./ld/Makefile ] || exit 0; \
13373 r=`${PWD_COMMAND}`; export r; \
13374 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13375 $(SET_LIB_PATH) \
13376 $(HOST_EXPORTS) \
13377 for flag in $(EXTRA_HOST_FLAGS) ; do \
13378 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13379 done; \
13380 echo "Doing clean in ld" ; \
13381 (cd ld && \
13382 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13383 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13384 "RANLIB=$${RANLIB}" \
13385 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13386 clean) \
13387 || exit 1
13389 @endif ld
13391 .PHONY: maybe-distclean-ld distclean-ld
13392 maybe-distclean-ld:
13393 @if ld
13394 maybe-distclean-ld: distclean-ld
13396 distclean-ld:
13397 @[ -f ./ld/Makefile ] || exit 0; \
13398 r=`${PWD_COMMAND}`; export r; \
13399 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13400 $(SET_LIB_PATH) \
13401 $(HOST_EXPORTS) \
13402 for flag in $(EXTRA_HOST_FLAGS) ; do \
13403 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13404 done; \
13405 echo "Doing distclean in ld" ; \
13406 (cd ld && \
13407 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13408 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13409 "RANLIB=$${RANLIB}" \
13410 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13411 distclean) \
13412 || exit 1
13414 @endif ld
13416 .PHONY: maybe-maintainer-clean-ld maintainer-clean-ld
13417 maybe-maintainer-clean-ld:
13418 @if ld
13419 maybe-maintainer-clean-ld: maintainer-clean-ld
13421 maintainer-clean-ld:
13422 @[ -f ./ld/Makefile ] || exit 0; \
13423 r=`${PWD_COMMAND}`; export r; \
13424 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13425 $(SET_LIB_PATH) \
13426 $(HOST_EXPORTS) \
13427 for flag in $(EXTRA_HOST_FLAGS) ; do \
13428 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13429 done; \
13430 echo "Doing maintainer-clean in ld" ; \
13431 (cd ld && \
13432 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13433 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13434 "RANLIB=$${RANLIB}" \
13435 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13436 maintainer-clean) \
13437 || exit 1
13439 @endif ld
13442 .PHONY: configure-libcpp maybe-configure-libcpp
13443 maybe-configure-libcpp:
13444 @if libcpp
13445 maybe-configure-libcpp: configure-libcpp
13446 configure-libcpp:
13447 @test -f stage_last && exit 0; \
13448 test ! -f libcpp/Makefile || exit 0; \
13449 [ -d libcpp ] || mkdir libcpp; \
13450 r=`${PWD_COMMAND}`; export r; \
13451 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13452 $(HOST_EXPORTS) \
13453 echo Configuring in libcpp; \
13454 cd libcpp || exit 1; \
13455 case $(srcdir) in \
13456 \.) \
13457 srcdiroption="--srcdir=."; \
13458 libsrcdir=".";; \
13459 /* | [A-Za-z]:[\\/]*) \
13460 srcdiroption="--srcdir=$(srcdir)/libcpp"; \
13461 libsrcdir="$$s/libcpp";; \
13462 *) \
13463 srcdiroption="--srcdir=../$(srcdir)/libcpp"; \
13464 libsrcdir="$$s/libcpp";; \
13465 esac; \
13466 $(SHELL) $${libsrcdir}/configure \
13467 $(HOST_CONFIGARGS) $${srcdiroption} \
13468 || exit 1
13469 @endif libcpp
13471 .PHONY: all-libcpp maybe-all-libcpp
13472 maybe-all-libcpp:
13473 @if libcpp
13474 TARGET-libcpp=all
13475 maybe-all-libcpp: all-libcpp
13476 all-libcpp: configure-libcpp
13477 @test -f stage_last && exit 0; \
13478 r=`${PWD_COMMAND}`; export r; \
13479 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13480 $(SET_LIB_PATH) \
13481 $(HOST_EXPORTS) \
13482 (cd libcpp && $(MAKE) $(FLAGS_TO_PASS) \
13483 $(TARGET-libcpp))
13484 @endif libcpp
13486 .PHONY: check-libcpp maybe-check-libcpp
13487 maybe-check-libcpp:
13488 @if libcpp
13489 maybe-check-libcpp: check-libcpp
13491 check-libcpp:
13492 @r=`${PWD_COMMAND}`; export r; \
13493 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13494 $(SET_LIB_PATH) \
13495 $(HOST_EXPORTS) \
13496 (cd libcpp && $(MAKE) $(FLAGS_TO_PASS) check)
13498 @endif libcpp
13500 .PHONY: install-libcpp maybe-install-libcpp
13501 maybe-install-libcpp:
13502 @if libcpp
13503 maybe-install-libcpp: install-libcpp
13505 install-libcpp: installdirs
13506 @r=`${PWD_COMMAND}`; export r; \
13507 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13508 $(SET_LIB_PATH) \
13509 $(HOST_EXPORTS) \
13510 (cd libcpp && $(MAKE) $(FLAGS_TO_PASS) install)
13512 @endif libcpp
13514 # Other targets (info, dvi, etc.)
13516 .PHONY: maybe-info-libcpp info-libcpp
13517 maybe-info-libcpp:
13518 @if libcpp
13519 maybe-info-libcpp: info-libcpp
13521 info-libcpp: \
13522 configure-libcpp
13523 @[ -f ./libcpp/Makefile ] || exit 0; \
13524 r=`${PWD_COMMAND}`; export r; \
13525 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13526 $(SET_LIB_PATH) \
13527 $(HOST_EXPORTS) \
13528 for flag in $(EXTRA_HOST_FLAGS) ; do \
13529 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13530 done; \
13531 echo "Doing info in libcpp" ; \
13532 (cd libcpp && \
13533 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13534 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13535 "RANLIB=$${RANLIB}" \
13536 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13537 info) \
13538 || exit 1
13540 @endif libcpp
13542 .PHONY: maybe-dvi-libcpp dvi-libcpp
13543 maybe-dvi-libcpp:
13544 @if libcpp
13545 maybe-dvi-libcpp: dvi-libcpp
13547 dvi-libcpp: \
13548 configure-libcpp
13549 @[ -f ./libcpp/Makefile ] || exit 0; \
13550 r=`${PWD_COMMAND}`; export r; \
13551 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13552 $(SET_LIB_PATH) \
13553 $(HOST_EXPORTS) \
13554 for flag in $(EXTRA_HOST_FLAGS) ; do \
13555 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13556 done; \
13557 echo "Doing dvi in libcpp" ; \
13558 (cd libcpp && \
13559 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13560 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13561 "RANLIB=$${RANLIB}" \
13562 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13563 dvi) \
13564 || exit 1
13566 @endif libcpp
13568 .PHONY: maybe-html-libcpp html-libcpp
13569 maybe-html-libcpp:
13570 @if libcpp
13571 maybe-html-libcpp: html-libcpp
13573 html-libcpp: \
13574 configure-libcpp
13575 @[ -f ./libcpp/Makefile ] || exit 0; \
13576 r=`${PWD_COMMAND}`; export r; \
13577 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13578 $(SET_LIB_PATH) \
13579 $(HOST_EXPORTS) \
13580 for flag in $(EXTRA_HOST_FLAGS) ; do \
13581 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13582 done; \
13583 echo "Doing html in libcpp" ; \
13584 (cd libcpp && \
13585 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13586 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13587 "RANLIB=$${RANLIB}" \
13588 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13589 html) \
13590 || exit 1
13592 @endif libcpp
13594 .PHONY: maybe-TAGS-libcpp TAGS-libcpp
13595 maybe-TAGS-libcpp:
13596 @if libcpp
13597 maybe-TAGS-libcpp: TAGS-libcpp
13599 TAGS-libcpp: \
13600 configure-libcpp
13601 @[ -f ./libcpp/Makefile ] || exit 0; \
13602 r=`${PWD_COMMAND}`; export r; \
13603 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13604 $(SET_LIB_PATH) \
13605 $(HOST_EXPORTS) \
13606 for flag in $(EXTRA_HOST_FLAGS) ; do \
13607 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13608 done; \
13609 echo "Doing TAGS in libcpp" ; \
13610 (cd libcpp && \
13611 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13612 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13613 "RANLIB=$${RANLIB}" \
13614 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13615 TAGS) \
13616 || exit 1
13618 @endif libcpp
13620 .PHONY: maybe-install-info-libcpp install-info-libcpp
13621 maybe-install-info-libcpp:
13622 @if libcpp
13623 maybe-install-info-libcpp: install-info-libcpp
13625 install-info-libcpp: \
13626 configure-libcpp \
13627 info-libcpp
13628 @[ -f ./libcpp/Makefile ] || exit 0; \
13629 r=`${PWD_COMMAND}`; export r; \
13630 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13631 $(SET_LIB_PATH) \
13632 $(HOST_EXPORTS) \
13633 for flag in $(EXTRA_HOST_FLAGS) ; do \
13634 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13635 done; \
13636 echo "Doing install-info in libcpp" ; \
13637 (cd libcpp && \
13638 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13639 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13640 "RANLIB=$${RANLIB}" \
13641 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13642 install-info) \
13643 || exit 1
13645 @endif libcpp
13647 .PHONY: maybe-installcheck-libcpp installcheck-libcpp
13648 maybe-installcheck-libcpp:
13649 @if libcpp
13650 maybe-installcheck-libcpp: installcheck-libcpp
13652 installcheck-libcpp: \
13653 configure-libcpp
13654 @[ -f ./libcpp/Makefile ] || exit 0; \
13655 r=`${PWD_COMMAND}`; export r; \
13656 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13657 $(SET_LIB_PATH) \
13658 $(HOST_EXPORTS) \
13659 for flag in $(EXTRA_HOST_FLAGS) ; do \
13660 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13661 done; \
13662 echo "Doing installcheck in libcpp" ; \
13663 (cd libcpp && \
13664 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13665 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13666 "RANLIB=$${RANLIB}" \
13667 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13668 installcheck) \
13669 || exit 1
13671 @endif libcpp
13673 .PHONY: maybe-mostlyclean-libcpp mostlyclean-libcpp
13674 maybe-mostlyclean-libcpp:
13675 @if libcpp
13676 maybe-mostlyclean-libcpp: mostlyclean-libcpp
13678 mostlyclean-libcpp:
13679 @[ -f ./libcpp/Makefile ] || exit 0; \
13680 r=`${PWD_COMMAND}`; export r; \
13681 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13682 $(SET_LIB_PATH) \
13683 $(HOST_EXPORTS) \
13684 for flag in $(EXTRA_HOST_FLAGS) ; do \
13685 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13686 done; \
13687 echo "Doing mostlyclean in libcpp" ; \
13688 (cd libcpp && \
13689 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13690 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13691 "RANLIB=$${RANLIB}" \
13692 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13693 mostlyclean) \
13694 || exit 1
13696 @endif libcpp
13698 .PHONY: maybe-clean-libcpp clean-libcpp
13699 maybe-clean-libcpp:
13700 @if libcpp
13701 maybe-clean-libcpp: clean-libcpp
13703 clean-libcpp:
13704 @[ -f ./libcpp/Makefile ] || exit 0; \
13705 r=`${PWD_COMMAND}`; export r; \
13706 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13707 $(SET_LIB_PATH) \
13708 $(HOST_EXPORTS) \
13709 for flag in $(EXTRA_HOST_FLAGS) ; do \
13710 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13711 done; \
13712 echo "Doing clean in libcpp" ; \
13713 (cd libcpp && \
13714 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13715 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13716 "RANLIB=$${RANLIB}" \
13717 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13718 clean) \
13719 || exit 1
13721 @endif libcpp
13723 .PHONY: maybe-distclean-libcpp distclean-libcpp
13724 maybe-distclean-libcpp:
13725 @if libcpp
13726 maybe-distclean-libcpp: distclean-libcpp
13728 distclean-libcpp:
13729 @[ -f ./libcpp/Makefile ] || exit 0; \
13730 r=`${PWD_COMMAND}`; export r; \
13731 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13732 $(SET_LIB_PATH) \
13733 $(HOST_EXPORTS) \
13734 for flag in $(EXTRA_HOST_FLAGS) ; do \
13735 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13736 done; \
13737 echo "Doing distclean in libcpp" ; \
13738 (cd libcpp && \
13739 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13740 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13741 "RANLIB=$${RANLIB}" \
13742 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13743 distclean) \
13744 || exit 1
13746 @endif libcpp
13748 .PHONY: maybe-maintainer-clean-libcpp maintainer-clean-libcpp
13749 maybe-maintainer-clean-libcpp:
13750 @if libcpp
13751 maybe-maintainer-clean-libcpp: maintainer-clean-libcpp
13753 maintainer-clean-libcpp:
13754 @[ -f ./libcpp/Makefile ] || exit 0; \
13755 r=`${PWD_COMMAND}`; export r; \
13756 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13757 $(SET_LIB_PATH) \
13758 $(HOST_EXPORTS) \
13759 for flag in $(EXTRA_HOST_FLAGS) ; do \
13760 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13761 done; \
13762 echo "Doing maintainer-clean in libcpp" ; \
13763 (cd libcpp && \
13764 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13765 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13766 "RANLIB=$${RANLIB}" \
13767 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13768 maintainer-clean) \
13769 || exit 1
13771 @endif libcpp
13774 .PHONY: configure-libgui maybe-configure-libgui
13775 maybe-configure-libgui:
13776 @if libgui
13777 maybe-configure-libgui: configure-libgui
13778 configure-libgui:
13779 @test ! -f libgui/Makefile || exit 0; \
13780 [ -d libgui ] || mkdir libgui; \
13781 r=`${PWD_COMMAND}`; export r; \
13782 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13783 $(HOST_EXPORTS) \
13784 echo Configuring in libgui; \
13785 cd libgui || exit 1; \
13786 case $(srcdir) in \
13787 \.) \
13788 srcdiroption="--srcdir=."; \
13789 libsrcdir=".";; \
13790 /* | [A-Za-z]:[\\/]*) \
13791 srcdiroption="--srcdir=$(srcdir)/libgui"; \
13792 libsrcdir="$$s/libgui";; \
13793 *) \
13794 srcdiroption="--srcdir=../$(srcdir)/libgui"; \
13795 libsrcdir="$$s/libgui";; \
13796 esac; \
13797 $(SHELL) $${libsrcdir}/configure \
13798 $(HOST_CONFIGARGS) $${srcdiroption} \
13799 || exit 1
13800 @endif libgui
13802 .PHONY: all-libgui maybe-all-libgui
13803 maybe-all-libgui:
13804 @if libgui
13805 TARGET-libgui=all
13806 maybe-all-libgui: all-libgui
13807 all-libgui: configure-libgui
13808 @r=`${PWD_COMMAND}`; export r; \
13809 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13810 $(SET_LIB_PATH) \
13811 $(HOST_EXPORTS) \
13812 (cd libgui && $(MAKE) $(FLAGS_TO_PASS) \
13813 $(TARGET-libgui))
13814 @endif libgui
13816 .PHONY: check-libgui maybe-check-libgui
13817 maybe-check-libgui:
13818 @if libgui
13819 maybe-check-libgui: check-libgui
13821 check-libgui:
13822 @r=`${PWD_COMMAND}`; export r; \
13823 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13824 $(SET_LIB_PATH) \
13825 $(HOST_EXPORTS) \
13826 (cd libgui && $(MAKE) $(FLAGS_TO_PASS) check)
13828 @endif libgui
13830 .PHONY: install-libgui maybe-install-libgui
13831 maybe-install-libgui:
13832 @if libgui
13833 maybe-install-libgui: install-libgui
13835 install-libgui: installdirs
13836 @r=`${PWD_COMMAND}`; export r; \
13837 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13838 $(SET_LIB_PATH) \
13839 $(HOST_EXPORTS) \
13840 (cd libgui && $(MAKE) $(FLAGS_TO_PASS) install)
13842 @endif libgui
13844 # Other targets (info, dvi, etc.)
13846 .PHONY: maybe-info-libgui info-libgui
13847 maybe-info-libgui:
13848 @if libgui
13849 maybe-info-libgui: info-libgui
13851 info-libgui: \
13852 configure-libgui
13853 @[ -f ./libgui/Makefile ] || exit 0; \
13854 r=`${PWD_COMMAND}`; export r; \
13855 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13856 $(SET_LIB_PATH) \
13857 $(HOST_EXPORTS) \
13858 for flag in $(EXTRA_HOST_FLAGS) ; do \
13859 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13860 done; \
13861 echo "Doing info in libgui" ; \
13862 (cd libgui && \
13863 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13864 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13865 "RANLIB=$${RANLIB}" \
13866 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13867 info) \
13868 || exit 1
13870 @endif libgui
13872 .PHONY: maybe-dvi-libgui dvi-libgui
13873 maybe-dvi-libgui:
13874 @if libgui
13875 maybe-dvi-libgui: dvi-libgui
13877 dvi-libgui: \
13878 configure-libgui
13879 @[ -f ./libgui/Makefile ] || exit 0; \
13880 r=`${PWD_COMMAND}`; export r; \
13881 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13882 $(SET_LIB_PATH) \
13883 $(HOST_EXPORTS) \
13884 for flag in $(EXTRA_HOST_FLAGS) ; do \
13885 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13886 done; \
13887 echo "Doing dvi in libgui" ; \
13888 (cd libgui && \
13889 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13890 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13891 "RANLIB=$${RANLIB}" \
13892 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13893 dvi) \
13894 || exit 1
13896 @endif libgui
13898 .PHONY: maybe-html-libgui html-libgui
13899 maybe-html-libgui:
13900 @if libgui
13901 maybe-html-libgui: html-libgui
13903 html-libgui: \
13904 configure-libgui
13905 @[ -f ./libgui/Makefile ] || exit 0; \
13906 r=`${PWD_COMMAND}`; export r; \
13907 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13908 $(SET_LIB_PATH) \
13909 $(HOST_EXPORTS) \
13910 for flag in $(EXTRA_HOST_FLAGS) ; do \
13911 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13912 done; \
13913 echo "Doing html in libgui" ; \
13914 (cd libgui && \
13915 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13916 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13917 "RANLIB=$${RANLIB}" \
13918 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13919 html) \
13920 || exit 1
13922 @endif libgui
13924 .PHONY: maybe-TAGS-libgui TAGS-libgui
13925 maybe-TAGS-libgui:
13926 @if libgui
13927 maybe-TAGS-libgui: TAGS-libgui
13929 TAGS-libgui: \
13930 configure-libgui
13931 @[ -f ./libgui/Makefile ] || exit 0; \
13932 r=`${PWD_COMMAND}`; export r; \
13933 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13934 $(SET_LIB_PATH) \
13935 $(HOST_EXPORTS) \
13936 for flag in $(EXTRA_HOST_FLAGS) ; do \
13937 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13938 done; \
13939 echo "Doing TAGS in libgui" ; \
13940 (cd libgui && \
13941 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13942 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13943 "RANLIB=$${RANLIB}" \
13944 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13945 TAGS) \
13946 || exit 1
13948 @endif libgui
13950 .PHONY: maybe-install-info-libgui install-info-libgui
13951 maybe-install-info-libgui:
13952 @if libgui
13953 maybe-install-info-libgui: install-info-libgui
13955 install-info-libgui: \
13956 configure-libgui \
13957 info-libgui
13958 @[ -f ./libgui/Makefile ] || exit 0; \
13959 r=`${PWD_COMMAND}`; export r; \
13960 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13961 $(SET_LIB_PATH) \
13962 $(HOST_EXPORTS) \
13963 for flag in $(EXTRA_HOST_FLAGS) ; do \
13964 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13965 done; \
13966 echo "Doing install-info in libgui" ; \
13967 (cd libgui && \
13968 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13969 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13970 "RANLIB=$${RANLIB}" \
13971 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13972 install-info) \
13973 || exit 1
13975 @endif libgui
13977 .PHONY: maybe-installcheck-libgui installcheck-libgui
13978 maybe-installcheck-libgui:
13979 @if libgui
13980 maybe-installcheck-libgui: installcheck-libgui
13982 installcheck-libgui: \
13983 configure-libgui
13984 @[ -f ./libgui/Makefile ] || exit 0; \
13985 r=`${PWD_COMMAND}`; export r; \
13986 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13987 $(SET_LIB_PATH) \
13988 $(HOST_EXPORTS) \
13989 for flag in $(EXTRA_HOST_FLAGS) ; do \
13990 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13991 done; \
13992 echo "Doing installcheck in libgui" ; \
13993 (cd libgui && \
13994 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13995 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13996 "RANLIB=$${RANLIB}" \
13997 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13998 installcheck) \
13999 || exit 1
14001 @endif libgui
14003 .PHONY: maybe-mostlyclean-libgui mostlyclean-libgui
14004 maybe-mostlyclean-libgui:
14005 @if libgui
14006 maybe-mostlyclean-libgui: mostlyclean-libgui
14008 mostlyclean-libgui:
14009 @[ -f ./libgui/Makefile ] || exit 0; \
14010 r=`${PWD_COMMAND}`; export r; \
14011 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14012 $(SET_LIB_PATH) \
14013 $(HOST_EXPORTS) \
14014 for flag in $(EXTRA_HOST_FLAGS) ; do \
14015 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14016 done; \
14017 echo "Doing mostlyclean in libgui" ; \
14018 (cd libgui && \
14019 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14020 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14021 "RANLIB=$${RANLIB}" \
14022 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14023 mostlyclean) \
14024 || exit 1
14026 @endif libgui
14028 .PHONY: maybe-clean-libgui clean-libgui
14029 maybe-clean-libgui:
14030 @if libgui
14031 maybe-clean-libgui: clean-libgui
14033 clean-libgui:
14034 @[ -f ./libgui/Makefile ] || exit 0; \
14035 r=`${PWD_COMMAND}`; export r; \
14036 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14037 $(SET_LIB_PATH) \
14038 $(HOST_EXPORTS) \
14039 for flag in $(EXTRA_HOST_FLAGS) ; do \
14040 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14041 done; \
14042 echo "Doing clean in libgui" ; \
14043 (cd libgui && \
14044 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14045 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14046 "RANLIB=$${RANLIB}" \
14047 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14048 clean) \
14049 || exit 1
14051 @endif libgui
14053 .PHONY: maybe-distclean-libgui distclean-libgui
14054 maybe-distclean-libgui:
14055 @if libgui
14056 maybe-distclean-libgui: distclean-libgui
14058 distclean-libgui:
14059 @[ -f ./libgui/Makefile ] || exit 0; \
14060 r=`${PWD_COMMAND}`; export r; \
14061 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14062 $(SET_LIB_PATH) \
14063 $(HOST_EXPORTS) \
14064 for flag in $(EXTRA_HOST_FLAGS) ; do \
14065 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14066 done; \
14067 echo "Doing distclean in libgui" ; \
14068 (cd libgui && \
14069 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14070 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14071 "RANLIB=$${RANLIB}" \
14072 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14073 distclean) \
14074 || exit 1
14076 @endif libgui
14078 .PHONY: maybe-maintainer-clean-libgui maintainer-clean-libgui
14079 maybe-maintainer-clean-libgui:
14080 @if libgui
14081 maybe-maintainer-clean-libgui: maintainer-clean-libgui
14083 maintainer-clean-libgui:
14084 @[ -f ./libgui/Makefile ] || exit 0; \
14085 r=`${PWD_COMMAND}`; export r; \
14086 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14087 $(SET_LIB_PATH) \
14088 $(HOST_EXPORTS) \
14089 for flag in $(EXTRA_HOST_FLAGS) ; do \
14090 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14091 done; \
14092 echo "Doing maintainer-clean in libgui" ; \
14093 (cd libgui && \
14094 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14095 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14096 "RANLIB=$${RANLIB}" \
14097 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14098 maintainer-clean) \
14099 || exit 1
14101 @endif libgui
14104 .PHONY: configure-libiberty maybe-configure-libiberty
14105 maybe-configure-libiberty:
14106 @if libiberty
14107 maybe-configure-libiberty: configure-libiberty
14108 configure-libiberty:
14109 @test -f stage_last && exit 0; \
14110 test ! -f libiberty/Makefile || exit 0; \
14111 [ -d libiberty ] || mkdir libiberty; \
14112 r=`${PWD_COMMAND}`; export r; \
14113 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14114 $(HOST_EXPORTS) \
14115 echo Configuring in libiberty; \
14116 cd libiberty || exit 1; \
14117 case $(srcdir) in \
14118 \.) \
14119 srcdiroption="--srcdir=."; \
14120 libsrcdir=".";; \
14121 /* | [A-Za-z]:[\\/]*) \
14122 srcdiroption="--srcdir=$(srcdir)/libiberty"; \
14123 libsrcdir="$$s/libiberty";; \
14124 *) \
14125 srcdiroption="--srcdir=../$(srcdir)/libiberty"; \
14126 libsrcdir="$$s/libiberty";; \
14127 esac; \
14128 $(SHELL) $${libsrcdir}/configure \
14129 $(HOST_CONFIGARGS) $${srcdiroption} \
14130 || exit 1
14131 @endif libiberty
14133 .PHONY: all-libiberty maybe-all-libiberty
14134 maybe-all-libiberty:
14135 @if libiberty
14136 TARGET-libiberty=all
14137 maybe-all-libiberty: all-libiberty
14138 all-libiberty: configure-libiberty
14139 @test -f stage_last && exit 0; \
14140 r=`${PWD_COMMAND}`; export r; \
14141 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14142 $(SET_LIB_PATH) \
14143 $(HOST_EXPORTS) \
14144 (cd libiberty && $(MAKE) $(FLAGS_TO_PASS) \
14145 $(TARGET-libiberty))
14146 @endif libiberty
14148 .PHONY: check-libiberty maybe-check-libiberty
14149 maybe-check-libiberty:
14150 @if libiberty
14151 maybe-check-libiberty: check-libiberty
14153 check-libiberty:
14154 @r=`${PWD_COMMAND}`; export r; \
14155 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14156 $(SET_LIB_PATH) \
14157 $(HOST_EXPORTS) \
14158 (cd libiberty && $(MAKE) $(FLAGS_TO_PASS) check)
14160 @endif libiberty
14162 .PHONY: install-libiberty maybe-install-libiberty
14163 maybe-install-libiberty:
14164 @if libiberty
14165 maybe-install-libiberty: install-libiberty
14167 install-libiberty: installdirs
14168 @r=`${PWD_COMMAND}`; export r; \
14169 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14170 $(SET_LIB_PATH) \
14171 $(HOST_EXPORTS) \
14172 (cd libiberty && $(MAKE) $(FLAGS_TO_PASS) install)
14174 @endif libiberty
14176 # Other targets (info, dvi, etc.)
14178 .PHONY: maybe-info-libiberty info-libiberty
14179 maybe-info-libiberty:
14180 @if libiberty
14181 maybe-info-libiberty: info-libiberty
14183 info-libiberty: \
14184 configure-libiberty
14185 @[ -f ./libiberty/Makefile ] || exit 0; \
14186 r=`${PWD_COMMAND}`; export r; \
14187 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14188 $(SET_LIB_PATH) \
14189 $(HOST_EXPORTS) \
14190 for flag in $(EXTRA_HOST_FLAGS) ; do \
14191 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14192 done; \
14193 echo "Doing info in libiberty" ; \
14194 (cd libiberty && \
14195 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14196 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14197 "RANLIB=$${RANLIB}" \
14198 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14199 info) \
14200 || exit 1
14202 @endif libiberty
14204 .PHONY: maybe-dvi-libiberty dvi-libiberty
14205 maybe-dvi-libiberty:
14206 @if libiberty
14207 maybe-dvi-libiberty: dvi-libiberty
14209 dvi-libiberty: \
14210 configure-libiberty
14211 @[ -f ./libiberty/Makefile ] || exit 0; \
14212 r=`${PWD_COMMAND}`; export r; \
14213 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14214 $(SET_LIB_PATH) \
14215 $(HOST_EXPORTS) \
14216 for flag in $(EXTRA_HOST_FLAGS) ; do \
14217 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14218 done; \
14219 echo "Doing dvi in libiberty" ; \
14220 (cd libiberty && \
14221 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14222 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14223 "RANLIB=$${RANLIB}" \
14224 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14225 dvi) \
14226 || exit 1
14228 @endif libiberty
14230 .PHONY: maybe-html-libiberty html-libiberty
14231 maybe-html-libiberty:
14232 @if libiberty
14233 maybe-html-libiberty: html-libiberty
14235 html-libiberty: \
14236 configure-libiberty
14237 @[ -f ./libiberty/Makefile ] || exit 0; \
14238 r=`${PWD_COMMAND}`; export r; \
14239 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14240 $(SET_LIB_PATH) \
14241 $(HOST_EXPORTS) \
14242 for flag in $(EXTRA_HOST_FLAGS) ; do \
14243 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14244 done; \
14245 echo "Doing html in libiberty" ; \
14246 (cd libiberty && \
14247 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14248 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14249 "RANLIB=$${RANLIB}" \
14250 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14251 html) \
14252 || exit 1
14254 @endif libiberty
14256 .PHONY: maybe-TAGS-libiberty TAGS-libiberty
14257 maybe-TAGS-libiberty:
14258 @if libiberty
14259 maybe-TAGS-libiberty: TAGS-libiberty
14261 TAGS-libiberty: \
14262 configure-libiberty
14263 @[ -f ./libiberty/Makefile ] || exit 0; \
14264 r=`${PWD_COMMAND}`; export r; \
14265 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14266 $(SET_LIB_PATH) \
14267 $(HOST_EXPORTS) \
14268 for flag in $(EXTRA_HOST_FLAGS) ; do \
14269 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14270 done; \
14271 echo "Doing TAGS in libiberty" ; \
14272 (cd libiberty && \
14273 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14274 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14275 "RANLIB=$${RANLIB}" \
14276 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14277 TAGS) \
14278 || exit 1
14280 @endif libiberty
14282 .PHONY: maybe-install-info-libiberty install-info-libiberty
14283 maybe-install-info-libiberty:
14284 @if libiberty
14285 maybe-install-info-libiberty: install-info-libiberty
14287 install-info-libiberty: \
14288 configure-libiberty \
14289 info-libiberty
14290 @[ -f ./libiberty/Makefile ] || exit 0; \
14291 r=`${PWD_COMMAND}`; export r; \
14292 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14293 $(SET_LIB_PATH) \
14294 $(HOST_EXPORTS) \
14295 for flag in $(EXTRA_HOST_FLAGS) ; do \
14296 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14297 done; \
14298 echo "Doing install-info in libiberty" ; \
14299 (cd libiberty && \
14300 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14301 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14302 "RANLIB=$${RANLIB}" \
14303 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14304 install-info) \
14305 || exit 1
14307 @endif libiberty
14309 .PHONY: maybe-installcheck-libiberty installcheck-libiberty
14310 maybe-installcheck-libiberty:
14311 @if libiberty
14312 maybe-installcheck-libiberty: installcheck-libiberty
14314 installcheck-libiberty: \
14315 configure-libiberty
14316 @[ -f ./libiberty/Makefile ] || exit 0; \
14317 r=`${PWD_COMMAND}`; export r; \
14318 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14319 $(SET_LIB_PATH) \
14320 $(HOST_EXPORTS) \
14321 for flag in $(EXTRA_HOST_FLAGS) ; do \
14322 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14323 done; \
14324 echo "Doing installcheck in libiberty" ; \
14325 (cd libiberty && \
14326 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14327 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14328 "RANLIB=$${RANLIB}" \
14329 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14330 installcheck) \
14331 || exit 1
14333 @endif libiberty
14335 .PHONY: maybe-mostlyclean-libiberty mostlyclean-libiberty
14336 maybe-mostlyclean-libiberty:
14337 @if libiberty
14338 maybe-mostlyclean-libiberty: mostlyclean-libiberty
14340 mostlyclean-libiberty:
14341 @[ -f ./libiberty/Makefile ] || exit 0; \
14342 r=`${PWD_COMMAND}`; export r; \
14343 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14344 $(SET_LIB_PATH) \
14345 $(HOST_EXPORTS) \
14346 for flag in $(EXTRA_HOST_FLAGS) ; do \
14347 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14348 done; \
14349 echo "Doing mostlyclean in libiberty" ; \
14350 (cd libiberty && \
14351 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14352 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14353 "RANLIB=$${RANLIB}" \
14354 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14355 mostlyclean) \
14356 || exit 1
14358 @endif libiberty
14360 .PHONY: maybe-clean-libiberty clean-libiberty
14361 maybe-clean-libiberty:
14362 @if libiberty
14363 maybe-clean-libiberty: clean-libiberty
14365 clean-libiberty:
14366 @[ -f ./libiberty/Makefile ] || exit 0; \
14367 r=`${PWD_COMMAND}`; export r; \
14368 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14369 $(SET_LIB_PATH) \
14370 $(HOST_EXPORTS) \
14371 for flag in $(EXTRA_HOST_FLAGS) ; do \
14372 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14373 done; \
14374 echo "Doing clean in libiberty" ; \
14375 (cd libiberty && \
14376 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14377 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14378 "RANLIB=$${RANLIB}" \
14379 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14380 clean) \
14381 || exit 1
14383 @endif libiberty
14385 .PHONY: maybe-distclean-libiberty distclean-libiberty
14386 maybe-distclean-libiberty:
14387 @if libiberty
14388 maybe-distclean-libiberty: distclean-libiberty
14390 distclean-libiberty:
14391 @[ -f ./libiberty/Makefile ] || exit 0; \
14392 r=`${PWD_COMMAND}`; export r; \
14393 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14394 $(SET_LIB_PATH) \
14395 $(HOST_EXPORTS) \
14396 for flag in $(EXTRA_HOST_FLAGS) ; do \
14397 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14398 done; \
14399 echo "Doing distclean in libiberty" ; \
14400 (cd libiberty && \
14401 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14402 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14403 "RANLIB=$${RANLIB}" \
14404 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14405 distclean) \
14406 || exit 1
14408 @endif libiberty
14410 .PHONY: maybe-maintainer-clean-libiberty maintainer-clean-libiberty
14411 maybe-maintainer-clean-libiberty:
14412 @if libiberty
14413 maybe-maintainer-clean-libiberty: maintainer-clean-libiberty
14415 maintainer-clean-libiberty:
14416 @[ -f ./libiberty/Makefile ] || exit 0; \
14417 r=`${PWD_COMMAND}`; export r; \
14418 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14419 $(SET_LIB_PATH) \
14420 $(HOST_EXPORTS) \
14421 for flag in $(EXTRA_HOST_FLAGS) ; do \
14422 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14423 done; \
14424 echo "Doing maintainer-clean in libiberty" ; \
14425 (cd libiberty && \
14426 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14427 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14428 "RANLIB=$${RANLIB}" \
14429 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14430 maintainer-clean) \
14431 || exit 1
14433 @endif libiberty
14436 .PHONY: configure-libtool maybe-configure-libtool
14437 maybe-configure-libtool:
14438 @if libtool
14439 maybe-configure-libtool: configure-libtool
14440 configure-libtool:
14441 @test ! -f libtool/Makefile || exit 0; \
14442 [ -d libtool ] || mkdir libtool; \
14443 r=`${PWD_COMMAND}`; export r; \
14444 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14445 $(HOST_EXPORTS) \
14446 echo Configuring in libtool; \
14447 cd libtool || exit 1; \
14448 case $(srcdir) in \
14449 \.) \
14450 srcdiroption="--srcdir=."; \
14451 libsrcdir=".";; \
14452 /* | [A-Za-z]:[\\/]*) \
14453 srcdiroption="--srcdir=$(srcdir)/libtool"; \
14454 libsrcdir="$$s/libtool";; \
14455 *) \
14456 srcdiroption="--srcdir=../$(srcdir)/libtool"; \
14457 libsrcdir="$$s/libtool";; \
14458 esac; \
14459 $(SHELL) $${libsrcdir}/configure \
14460 $(HOST_CONFIGARGS) $${srcdiroption} \
14461 || exit 1
14462 @endif libtool
14464 .PHONY: all-libtool maybe-all-libtool
14465 maybe-all-libtool:
14466 @if libtool
14467 TARGET-libtool=all
14468 maybe-all-libtool: all-libtool
14469 all-libtool: configure-libtool
14470 @r=`${PWD_COMMAND}`; export r; \
14471 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14472 $(SET_LIB_PATH) \
14473 $(HOST_EXPORTS) \
14474 (cd libtool && $(MAKE) $(FLAGS_TO_PASS) \
14475 $(TARGET-libtool))
14476 @endif libtool
14478 .PHONY: check-libtool maybe-check-libtool
14479 maybe-check-libtool:
14480 @if libtool
14481 maybe-check-libtool: check-libtool
14483 check-libtool:
14484 @r=`${PWD_COMMAND}`; export r; \
14485 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14486 $(SET_LIB_PATH) \
14487 $(HOST_EXPORTS) \
14488 (cd libtool && $(MAKE) $(FLAGS_TO_PASS) check)
14490 @endif libtool
14492 .PHONY: install-libtool maybe-install-libtool
14493 maybe-install-libtool:
14494 @if libtool
14495 maybe-install-libtool: install-libtool
14497 install-libtool: installdirs
14498 @r=`${PWD_COMMAND}`; export r; \
14499 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14500 $(SET_LIB_PATH) \
14501 $(HOST_EXPORTS) \
14502 (cd libtool && $(MAKE) $(FLAGS_TO_PASS) install)
14504 @endif libtool
14506 # Other targets (info, dvi, etc.)
14508 .PHONY: maybe-info-libtool info-libtool
14509 maybe-info-libtool:
14510 @if libtool
14511 maybe-info-libtool: info-libtool
14513 info-libtool: \
14514 configure-libtool
14515 @[ -f ./libtool/Makefile ] || exit 0; \
14516 r=`${PWD_COMMAND}`; export r; \
14517 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14518 $(SET_LIB_PATH) \
14519 $(HOST_EXPORTS) \
14520 for flag in $(EXTRA_HOST_FLAGS) ; do \
14521 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14522 done; \
14523 echo "Doing info in libtool" ; \
14524 (cd libtool && \
14525 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14526 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14527 "RANLIB=$${RANLIB}" \
14528 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14529 info) \
14530 || exit 1
14532 @endif libtool
14534 .PHONY: maybe-dvi-libtool dvi-libtool
14535 maybe-dvi-libtool:
14536 @if libtool
14537 maybe-dvi-libtool: dvi-libtool
14539 dvi-libtool: \
14540 configure-libtool
14541 @[ -f ./libtool/Makefile ] || exit 0; \
14542 r=`${PWD_COMMAND}`; export r; \
14543 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14544 $(SET_LIB_PATH) \
14545 $(HOST_EXPORTS) \
14546 for flag in $(EXTRA_HOST_FLAGS) ; do \
14547 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14548 done; \
14549 echo "Doing dvi in libtool" ; \
14550 (cd libtool && \
14551 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14552 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14553 "RANLIB=$${RANLIB}" \
14554 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14555 dvi) \
14556 || exit 1
14558 @endif libtool
14560 .PHONY: maybe-html-libtool html-libtool
14561 maybe-html-libtool:
14562 @if libtool
14563 maybe-html-libtool: html-libtool
14565 html-libtool: \
14566 configure-libtool
14567 @[ -f ./libtool/Makefile ] || exit 0; \
14568 r=`${PWD_COMMAND}`; export r; \
14569 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14570 $(SET_LIB_PATH) \
14571 $(HOST_EXPORTS) \
14572 for flag in $(EXTRA_HOST_FLAGS) ; do \
14573 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14574 done; \
14575 echo "Doing html in libtool" ; \
14576 (cd libtool && \
14577 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14578 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14579 "RANLIB=$${RANLIB}" \
14580 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14581 html) \
14582 || exit 1
14584 @endif libtool
14586 .PHONY: maybe-TAGS-libtool TAGS-libtool
14587 maybe-TAGS-libtool:
14588 @if libtool
14589 maybe-TAGS-libtool: TAGS-libtool
14591 TAGS-libtool: \
14592 configure-libtool
14593 @[ -f ./libtool/Makefile ] || exit 0; \
14594 r=`${PWD_COMMAND}`; export r; \
14595 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14596 $(SET_LIB_PATH) \
14597 $(HOST_EXPORTS) \
14598 for flag in $(EXTRA_HOST_FLAGS) ; do \
14599 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14600 done; \
14601 echo "Doing TAGS in libtool" ; \
14602 (cd libtool && \
14603 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14604 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14605 "RANLIB=$${RANLIB}" \
14606 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14607 TAGS) \
14608 || exit 1
14610 @endif libtool
14612 .PHONY: maybe-install-info-libtool install-info-libtool
14613 maybe-install-info-libtool:
14614 @if libtool
14615 maybe-install-info-libtool: install-info-libtool
14617 install-info-libtool: \
14618 configure-libtool \
14619 info-libtool
14620 @[ -f ./libtool/Makefile ] || exit 0; \
14621 r=`${PWD_COMMAND}`; export r; \
14622 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14623 $(SET_LIB_PATH) \
14624 $(HOST_EXPORTS) \
14625 for flag in $(EXTRA_HOST_FLAGS) ; do \
14626 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14627 done; \
14628 echo "Doing install-info in libtool" ; \
14629 (cd libtool && \
14630 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14631 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14632 "RANLIB=$${RANLIB}" \
14633 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14634 install-info) \
14635 || exit 1
14637 @endif libtool
14639 .PHONY: maybe-installcheck-libtool installcheck-libtool
14640 maybe-installcheck-libtool:
14641 @if libtool
14642 maybe-installcheck-libtool: installcheck-libtool
14644 installcheck-libtool: \
14645 configure-libtool
14646 @[ -f ./libtool/Makefile ] || exit 0; \
14647 r=`${PWD_COMMAND}`; export r; \
14648 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14649 $(SET_LIB_PATH) \
14650 $(HOST_EXPORTS) \
14651 for flag in $(EXTRA_HOST_FLAGS) ; do \
14652 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14653 done; \
14654 echo "Doing installcheck in libtool" ; \
14655 (cd libtool && \
14656 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14657 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14658 "RANLIB=$${RANLIB}" \
14659 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14660 installcheck) \
14661 || exit 1
14663 @endif libtool
14665 .PHONY: maybe-mostlyclean-libtool mostlyclean-libtool
14666 maybe-mostlyclean-libtool:
14667 @if libtool
14668 maybe-mostlyclean-libtool: mostlyclean-libtool
14670 mostlyclean-libtool:
14671 @[ -f ./libtool/Makefile ] || exit 0; \
14672 r=`${PWD_COMMAND}`; export r; \
14673 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14674 $(SET_LIB_PATH) \
14675 $(HOST_EXPORTS) \
14676 for flag in $(EXTRA_HOST_FLAGS) ; do \
14677 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14678 done; \
14679 echo "Doing mostlyclean in libtool" ; \
14680 (cd libtool && \
14681 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14682 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14683 "RANLIB=$${RANLIB}" \
14684 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14685 mostlyclean) \
14686 || exit 1
14688 @endif libtool
14690 .PHONY: maybe-clean-libtool clean-libtool
14691 maybe-clean-libtool:
14692 @if libtool
14693 maybe-clean-libtool: clean-libtool
14695 clean-libtool:
14696 @[ -f ./libtool/Makefile ] || exit 0; \
14697 r=`${PWD_COMMAND}`; export r; \
14698 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14699 $(SET_LIB_PATH) \
14700 $(HOST_EXPORTS) \
14701 for flag in $(EXTRA_HOST_FLAGS) ; do \
14702 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14703 done; \
14704 echo "Doing clean in libtool" ; \
14705 (cd libtool && \
14706 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14707 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14708 "RANLIB=$${RANLIB}" \
14709 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14710 clean) \
14711 || exit 1
14713 @endif libtool
14715 .PHONY: maybe-distclean-libtool distclean-libtool
14716 maybe-distclean-libtool:
14717 @if libtool
14718 maybe-distclean-libtool: distclean-libtool
14720 distclean-libtool:
14721 @[ -f ./libtool/Makefile ] || exit 0; \
14722 r=`${PWD_COMMAND}`; export r; \
14723 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14724 $(SET_LIB_PATH) \
14725 $(HOST_EXPORTS) \
14726 for flag in $(EXTRA_HOST_FLAGS) ; do \
14727 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14728 done; \
14729 echo "Doing distclean in libtool" ; \
14730 (cd libtool && \
14731 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14732 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14733 "RANLIB=$${RANLIB}" \
14734 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14735 distclean) \
14736 || exit 1
14738 @endif libtool
14740 .PHONY: maybe-maintainer-clean-libtool maintainer-clean-libtool
14741 maybe-maintainer-clean-libtool:
14742 @if libtool
14743 maybe-maintainer-clean-libtool: maintainer-clean-libtool
14745 maintainer-clean-libtool:
14746 @[ -f ./libtool/Makefile ] || exit 0; \
14747 r=`${PWD_COMMAND}`; export r; \
14748 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14749 $(SET_LIB_PATH) \
14750 $(HOST_EXPORTS) \
14751 for flag in $(EXTRA_HOST_FLAGS) ; do \
14752 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14753 done; \
14754 echo "Doing maintainer-clean in libtool" ; \
14755 (cd libtool && \
14756 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14757 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14758 "RANLIB=$${RANLIB}" \
14759 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14760 maintainer-clean) \
14761 || exit 1
14763 @endif libtool
14766 .PHONY: configure-m4 maybe-configure-m4
14767 maybe-configure-m4:
14768 @if m4
14769 maybe-configure-m4: configure-m4
14770 configure-m4:
14771 @test ! -f m4/Makefile || exit 0; \
14772 [ -d m4 ] || mkdir m4; \
14773 r=`${PWD_COMMAND}`; export r; \
14774 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14775 $(HOST_EXPORTS) \
14776 echo Configuring in m4; \
14777 cd m4 || exit 1; \
14778 case $(srcdir) in \
14779 \.) \
14780 srcdiroption="--srcdir=."; \
14781 libsrcdir=".";; \
14782 /* | [A-Za-z]:[\\/]*) \
14783 srcdiroption="--srcdir=$(srcdir)/m4"; \
14784 libsrcdir="$$s/m4";; \
14785 *) \
14786 srcdiroption="--srcdir=../$(srcdir)/m4"; \
14787 libsrcdir="$$s/m4";; \
14788 esac; \
14789 $(SHELL) $${libsrcdir}/configure \
14790 $(HOST_CONFIGARGS) $${srcdiroption} \
14791 || exit 1
14792 @endif m4
14794 .PHONY: all-m4 maybe-all-m4
14795 maybe-all-m4:
14796 @if m4
14797 TARGET-m4=all
14798 maybe-all-m4: all-m4
14799 all-m4: configure-m4
14800 @r=`${PWD_COMMAND}`; export r; \
14801 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14802 $(SET_LIB_PATH) \
14803 $(HOST_EXPORTS) \
14804 (cd m4 && $(MAKE) $(FLAGS_TO_PASS) \
14805 $(TARGET-m4))
14806 @endif m4
14808 .PHONY: check-m4 maybe-check-m4
14809 maybe-check-m4:
14810 @if m4
14811 maybe-check-m4: check-m4
14813 check-m4:
14814 @r=`${PWD_COMMAND}`; export r; \
14815 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14816 $(SET_LIB_PATH) \
14817 $(HOST_EXPORTS) \
14818 (cd m4 && $(MAKE) $(FLAGS_TO_PASS) check)
14820 @endif m4
14822 .PHONY: install-m4 maybe-install-m4
14823 maybe-install-m4:
14824 @if m4
14825 maybe-install-m4: install-m4
14827 install-m4: installdirs
14828 @r=`${PWD_COMMAND}`; export r; \
14829 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14830 $(SET_LIB_PATH) \
14831 $(HOST_EXPORTS) \
14832 (cd m4 && $(MAKE) $(FLAGS_TO_PASS) install)
14834 @endif m4
14836 # Other targets (info, dvi, etc.)
14838 .PHONY: maybe-info-m4 info-m4
14839 maybe-info-m4:
14840 @if m4
14841 maybe-info-m4: info-m4
14843 info-m4: \
14844 configure-m4
14845 @[ -f ./m4/Makefile ] || exit 0; \
14846 r=`${PWD_COMMAND}`; export r; \
14847 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14848 $(SET_LIB_PATH) \
14849 $(HOST_EXPORTS) \
14850 for flag in $(EXTRA_HOST_FLAGS) ; do \
14851 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14852 done; \
14853 echo "Doing info in m4" ; \
14854 (cd m4 && \
14855 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14856 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14857 "RANLIB=$${RANLIB}" \
14858 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14859 info) \
14860 || exit 1
14862 @endif m4
14864 .PHONY: maybe-dvi-m4 dvi-m4
14865 maybe-dvi-m4:
14866 @if m4
14867 maybe-dvi-m4: dvi-m4
14869 dvi-m4: \
14870 configure-m4
14871 @[ -f ./m4/Makefile ] || exit 0; \
14872 r=`${PWD_COMMAND}`; export r; \
14873 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14874 $(SET_LIB_PATH) \
14875 $(HOST_EXPORTS) \
14876 for flag in $(EXTRA_HOST_FLAGS) ; do \
14877 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14878 done; \
14879 echo "Doing dvi in m4" ; \
14880 (cd m4 && \
14881 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14882 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14883 "RANLIB=$${RANLIB}" \
14884 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14885 dvi) \
14886 || exit 1
14888 @endif m4
14890 .PHONY: maybe-html-m4 html-m4
14891 maybe-html-m4:
14892 @if m4
14893 maybe-html-m4: html-m4
14895 html-m4: \
14896 configure-m4
14897 @[ -f ./m4/Makefile ] || exit 0; \
14898 r=`${PWD_COMMAND}`; export r; \
14899 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14900 $(SET_LIB_PATH) \
14901 $(HOST_EXPORTS) \
14902 for flag in $(EXTRA_HOST_FLAGS) ; do \
14903 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14904 done; \
14905 echo "Doing html in m4" ; \
14906 (cd m4 && \
14907 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14908 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14909 "RANLIB=$${RANLIB}" \
14910 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14911 html) \
14912 || exit 1
14914 @endif m4
14916 .PHONY: maybe-TAGS-m4 TAGS-m4
14917 maybe-TAGS-m4:
14918 @if m4
14919 maybe-TAGS-m4: TAGS-m4
14921 TAGS-m4: \
14922 configure-m4
14923 @[ -f ./m4/Makefile ] || exit 0; \
14924 r=`${PWD_COMMAND}`; export r; \
14925 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14926 $(SET_LIB_PATH) \
14927 $(HOST_EXPORTS) \
14928 for flag in $(EXTRA_HOST_FLAGS) ; do \
14929 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14930 done; \
14931 echo "Doing TAGS in m4" ; \
14932 (cd m4 && \
14933 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14934 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14935 "RANLIB=$${RANLIB}" \
14936 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14937 TAGS) \
14938 || exit 1
14940 @endif m4
14942 .PHONY: maybe-install-info-m4 install-info-m4
14943 maybe-install-info-m4:
14944 @if m4
14945 maybe-install-info-m4: install-info-m4
14947 install-info-m4: \
14948 configure-m4 \
14949 info-m4
14950 @[ -f ./m4/Makefile ] || exit 0; \
14951 r=`${PWD_COMMAND}`; export r; \
14952 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14953 $(SET_LIB_PATH) \
14954 $(HOST_EXPORTS) \
14955 for flag in $(EXTRA_HOST_FLAGS) ; do \
14956 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14957 done; \
14958 echo "Doing install-info in m4" ; \
14959 (cd m4 && \
14960 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14961 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14962 "RANLIB=$${RANLIB}" \
14963 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14964 install-info) \
14965 || exit 1
14967 @endif m4
14969 .PHONY: maybe-installcheck-m4 installcheck-m4
14970 maybe-installcheck-m4:
14971 @if m4
14972 maybe-installcheck-m4: installcheck-m4
14974 installcheck-m4: \
14975 configure-m4
14976 @[ -f ./m4/Makefile ] || exit 0; \
14977 r=`${PWD_COMMAND}`; export r; \
14978 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14979 $(SET_LIB_PATH) \
14980 $(HOST_EXPORTS) \
14981 for flag in $(EXTRA_HOST_FLAGS) ; do \
14982 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14983 done; \
14984 echo "Doing installcheck in m4" ; \
14985 (cd m4 && \
14986 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14987 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14988 "RANLIB=$${RANLIB}" \
14989 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14990 installcheck) \
14991 || exit 1
14993 @endif m4
14995 .PHONY: maybe-mostlyclean-m4 mostlyclean-m4
14996 maybe-mostlyclean-m4:
14997 @if m4
14998 maybe-mostlyclean-m4: mostlyclean-m4
15000 mostlyclean-m4:
15001 @[ -f ./m4/Makefile ] || exit 0; \
15002 r=`${PWD_COMMAND}`; export r; \
15003 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15004 $(SET_LIB_PATH) \
15005 $(HOST_EXPORTS) \
15006 for flag in $(EXTRA_HOST_FLAGS) ; do \
15007 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15008 done; \
15009 echo "Doing mostlyclean in m4" ; \
15010 (cd m4 && \
15011 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15012 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15013 "RANLIB=$${RANLIB}" \
15014 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15015 mostlyclean) \
15016 || exit 1
15018 @endif m4
15020 .PHONY: maybe-clean-m4 clean-m4
15021 maybe-clean-m4:
15022 @if m4
15023 maybe-clean-m4: clean-m4
15025 clean-m4:
15026 @[ -f ./m4/Makefile ] || exit 0; \
15027 r=`${PWD_COMMAND}`; export r; \
15028 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15029 $(SET_LIB_PATH) \
15030 $(HOST_EXPORTS) \
15031 for flag in $(EXTRA_HOST_FLAGS) ; do \
15032 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15033 done; \
15034 echo "Doing clean in m4" ; \
15035 (cd m4 && \
15036 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15037 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15038 "RANLIB=$${RANLIB}" \
15039 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15040 clean) \
15041 || exit 1
15043 @endif m4
15045 .PHONY: maybe-distclean-m4 distclean-m4
15046 maybe-distclean-m4:
15047 @if m4
15048 maybe-distclean-m4: distclean-m4
15050 distclean-m4:
15051 @[ -f ./m4/Makefile ] || exit 0; \
15052 r=`${PWD_COMMAND}`; export r; \
15053 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15054 $(SET_LIB_PATH) \
15055 $(HOST_EXPORTS) \
15056 for flag in $(EXTRA_HOST_FLAGS) ; do \
15057 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15058 done; \
15059 echo "Doing distclean in m4" ; \
15060 (cd m4 && \
15061 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15062 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15063 "RANLIB=$${RANLIB}" \
15064 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15065 distclean) \
15066 || exit 1
15068 @endif m4
15070 .PHONY: maybe-maintainer-clean-m4 maintainer-clean-m4
15071 maybe-maintainer-clean-m4:
15072 @if m4
15073 maybe-maintainer-clean-m4: maintainer-clean-m4
15075 maintainer-clean-m4:
15076 @[ -f ./m4/Makefile ] || exit 0; \
15077 r=`${PWD_COMMAND}`; export r; \
15078 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15079 $(SET_LIB_PATH) \
15080 $(HOST_EXPORTS) \
15081 for flag in $(EXTRA_HOST_FLAGS) ; do \
15082 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15083 done; \
15084 echo "Doing maintainer-clean in m4" ; \
15085 (cd m4 && \
15086 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15087 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15088 "RANLIB=$${RANLIB}" \
15089 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15090 maintainer-clean) \
15091 || exit 1
15093 @endif m4
15096 .PHONY: configure-make maybe-configure-make
15097 maybe-configure-make:
15098 @if make
15099 maybe-configure-make: configure-make
15100 configure-make:
15101 @test ! -f make/Makefile || exit 0; \
15102 [ -d make ] || mkdir make; \
15103 r=`${PWD_COMMAND}`; export r; \
15104 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15105 $(HOST_EXPORTS) \
15106 echo Configuring in make; \
15107 cd make || exit 1; \
15108 case $(srcdir) in \
15109 \.) \
15110 srcdiroption="--srcdir=."; \
15111 libsrcdir=".";; \
15112 /* | [A-Za-z]:[\\/]*) \
15113 srcdiroption="--srcdir=$(srcdir)/make"; \
15114 libsrcdir="$$s/make";; \
15115 *) \
15116 srcdiroption="--srcdir=../$(srcdir)/make"; \
15117 libsrcdir="$$s/make";; \
15118 esac; \
15119 $(SHELL) $${libsrcdir}/configure \
15120 $(HOST_CONFIGARGS) $${srcdiroption} \
15121 || exit 1
15122 @endif make
15124 .PHONY: all-make maybe-all-make
15125 maybe-all-make:
15126 @if make
15127 TARGET-make=all
15128 maybe-all-make: all-make
15129 all-make: configure-make
15130 @r=`${PWD_COMMAND}`; export r; \
15131 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15132 $(SET_LIB_PATH) \
15133 $(HOST_EXPORTS) \
15134 (cd make && $(MAKE) $(FLAGS_TO_PASS) \
15135 $(TARGET-make))
15136 @endif make
15138 .PHONY: check-make maybe-check-make
15139 maybe-check-make:
15140 @if make
15141 maybe-check-make: check-make
15143 check-make:
15144 @r=`${PWD_COMMAND}`; export r; \
15145 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15146 $(SET_LIB_PATH) \
15147 $(HOST_EXPORTS) \
15148 (cd make && $(MAKE) $(FLAGS_TO_PASS) check)
15150 @endif make
15152 .PHONY: install-make maybe-install-make
15153 maybe-install-make:
15154 @if make
15155 maybe-install-make: install-make
15157 install-make: installdirs
15158 @r=`${PWD_COMMAND}`; export r; \
15159 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15160 $(SET_LIB_PATH) \
15161 $(HOST_EXPORTS) \
15162 (cd make && $(MAKE) $(FLAGS_TO_PASS) install)
15164 @endif make
15166 # Other targets (info, dvi, etc.)
15168 .PHONY: maybe-info-make info-make
15169 maybe-info-make:
15170 @if make
15171 maybe-info-make: info-make
15173 info-make: \
15174 configure-make
15175 @[ -f ./make/Makefile ] || exit 0; \
15176 r=`${PWD_COMMAND}`; export r; \
15177 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15178 $(SET_LIB_PATH) \
15179 $(HOST_EXPORTS) \
15180 for flag in $(EXTRA_HOST_FLAGS) ; do \
15181 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15182 done; \
15183 echo "Doing info in make" ; \
15184 (cd make && \
15185 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15186 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15187 "RANLIB=$${RANLIB}" \
15188 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15189 info) \
15190 || exit 1
15192 @endif make
15194 .PHONY: maybe-dvi-make dvi-make
15195 maybe-dvi-make:
15196 @if make
15197 maybe-dvi-make: dvi-make
15199 dvi-make: \
15200 configure-make
15201 @[ -f ./make/Makefile ] || exit 0; \
15202 r=`${PWD_COMMAND}`; export r; \
15203 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15204 $(SET_LIB_PATH) \
15205 $(HOST_EXPORTS) \
15206 for flag in $(EXTRA_HOST_FLAGS) ; do \
15207 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15208 done; \
15209 echo "Doing dvi in make" ; \
15210 (cd make && \
15211 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15212 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15213 "RANLIB=$${RANLIB}" \
15214 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15215 dvi) \
15216 || exit 1
15218 @endif make
15220 .PHONY: maybe-html-make html-make
15221 maybe-html-make:
15222 @if make
15223 maybe-html-make: html-make
15225 html-make: \
15226 configure-make
15227 @[ -f ./make/Makefile ] || exit 0; \
15228 r=`${PWD_COMMAND}`; export r; \
15229 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15230 $(SET_LIB_PATH) \
15231 $(HOST_EXPORTS) \
15232 for flag in $(EXTRA_HOST_FLAGS) ; do \
15233 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15234 done; \
15235 echo "Doing html in make" ; \
15236 (cd make && \
15237 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15238 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15239 "RANLIB=$${RANLIB}" \
15240 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15241 html) \
15242 || exit 1
15244 @endif make
15246 .PHONY: maybe-TAGS-make TAGS-make
15247 maybe-TAGS-make:
15248 @if make
15249 maybe-TAGS-make: TAGS-make
15251 TAGS-make: \
15252 configure-make
15253 @[ -f ./make/Makefile ] || exit 0; \
15254 r=`${PWD_COMMAND}`; export r; \
15255 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15256 $(SET_LIB_PATH) \
15257 $(HOST_EXPORTS) \
15258 for flag in $(EXTRA_HOST_FLAGS) ; do \
15259 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15260 done; \
15261 echo "Doing TAGS in make" ; \
15262 (cd make && \
15263 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15264 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15265 "RANLIB=$${RANLIB}" \
15266 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15267 TAGS) \
15268 || exit 1
15270 @endif make
15272 .PHONY: maybe-install-info-make install-info-make
15273 maybe-install-info-make:
15274 @if make
15275 maybe-install-info-make: install-info-make
15277 install-info-make: \
15278 configure-make \
15279 info-make
15280 @[ -f ./make/Makefile ] || exit 0; \
15281 r=`${PWD_COMMAND}`; export r; \
15282 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15283 $(SET_LIB_PATH) \
15284 $(HOST_EXPORTS) \
15285 for flag in $(EXTRA_HOST_FLAGS) ; do \
15286 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15287 done; \
15288 echo "Doing install-info in make" ; \
15289 (cd make && \
15290 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15291 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15292 "RANLIB=$${RANLIB}" \
15293 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15294 install-info) \
15295 || exit 1
15297 @endif make
15299 .PHONY: maybe-installcheck-make installcheck-make
15300 maybe-installcheck-make:
15301 @if make
15302 maybe-installcheck-make: installcheck-make
15304 installcheck-make: \
15305 configure-make
15306 @[ -f ./make/Makefile ] || exit 0; \
15307 r=`${PWD_COMMAND}`; export r; \
15308 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15309 $(SET_LIB_PATH) \
15310 $(HOST_EXPORTS) \
15311 for flag in $(EXTRA_HOST_FLAGS) ; do \
15312 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15313 done; \
15314 echo "Doing installcheck in make" ; \
15315 (cd make && \
15316 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15317 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15318 "RANLIB=$${RANLIB}" \
15319 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15320 installcheck) \
15321 || exit 1
15323 @endif make
15325 .PHONY: maybe-mostlyclean-make mostlyclean-make
15326 maybe-mostlyclean-make:
15327 @if make
15328 maybe-mostlyclean-make: mostlyclean-make
15330 mostlyclean-make:
15331 @[ -f ./make/Makefile ] || exit 0; \
15332 r=`${PWD_COMMAND}`; export r; \
15333 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15334 $(SET_LIB_PATH) \
15335 $(HOST_EXPORTS) \
15336 for flag in $(EXTRA_HOST_FLAGS) ; do \
15337 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15338 done; \
15339 echo "Doing mostlyclean in make" ; \
15340 (cd make && \
15341 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15342 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15343 "RANLIB=$${RANLIB}" \
15344 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15345 mostlyclean) \
15346 || exit 1
15348 @endif make
15350 .PHONY: maybe-clean-make clean-make
15351 maybe-clean-make:
15352 @if make
15353 maybe-clean-make: clean-make
15355 clean-make:
15356 @[ -f ./make/Makefile ] || exit 0; \
15357 r=`${PWD_COMMAND}`; export r; \
15358 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15359 $(SET_LIB_PATH) \
15360 $(HOST_EXPORTS) \
15361 for flag in $(EXTRA_HOST_FLAGS) ; do \
15362 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15363 done; \
15364 echo "Doing clean in make" ; \
15365 (cd make && \
15366 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15367 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15368 "RANLIB=$${RANLIB}" \
15369 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15370 clean) \
15371 || exit 1
15373 @endif make
15375 .PHONY: maybe-distclean-make distclean-make
15376 maybe-distclean-make:
15377 @if make
15378 maybe-distclean-make: distclean-make
15380 distclean-make:
15381 @[ -f ./make/Makefile ] || exit 0; \
15382 r=`${PWD_COMMAND}`; export r; \
15383 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15384 $(SET_LIB_PATH) \
15385 $(HOST_EXPORTS) \
15386 for flag in $(EXTRA_HOST_FLAGS) ; do \
15387 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15388 done; \
15389 echo "Doing distclean in make" ; \
15390 (cd make && \
15391 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15392 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15393 "RANLIB=$${RANLIB}" \
15394 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15395 distclean) \
15396 || exit 1
15398 @endif make
15400 .PHONY: maybe-maintainer-clean-make maintainer-clean-make
15401 maybe-maintainer-clean-make:
15402 @if make
15403 maybe-maintainer-clean-make: maintainer-clean-make
15405 maintainer-clean-make:
15406 @[ -f ./make/Makefile ] || exit 0; \
15407 r=`${PWD_COMMAND}`; export r; \
15408 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15409 $(SET_LIB_PATH) \
15410 $(HOST_EXPORTS) \
15411 for flag in $(EXTRA_HOST_FLAGS) ; do \
15412 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15413 done; \
15414 echo "Doing maintainer-clean in make" ; \
15415 (cd make && \
15416 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15417 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15418 "RANLIB=$${RANLIB}" \
15419 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15420 maintainer-clean) \
15421 || exit 1
15423 @endif make
15426 .PHONY: configure-mmalloc maybe-configure-mmalloc
15427 maybe-configure-mmalloc:
15428 @if mmalloc
15429 maybe-configure-mmalloc: configure-mmalloc
15430 configure-mmalloc:
15431 @test ! -f mmalloc/Makefile || exit 0; \
15432 [ -d mmalloc ] || mkdir mmalloc; \
15433 r=`${PWD_COMMAND}`; export r; \
15434 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15435 $(HOST_EXPORTS) \
15436 echo Configuring in mmalloc; \
15437 cd mmalloc || exit 1; \
15438 case $(srcdir) in \
15439 \.) \
15440 srcdiroption="--srcdir=."; \
15441 libsrcdir=".";; \
15442 /* | [A-Za-z]:[\\/]*) \
15443 srcdiroption="--srcdir=$(srcdir)/mmalloc"; \
15444 libsrcdir="$$s/mmalloc";; \
15445 *) \
15446 srcdiroption="--srcdir=../$(srcdir)/mmalloc"; \
15447 libsrcdir="$$s/mmalloc";; \
15448 esac; \
15449 $(SHELL) $${libsrcdir}/configure \
15450 $(HOST_CONFIGARGS) $${srcdiroption} \
15451 || exit 1
15452 @endif mmalloc
15454 .PHONY: all-mmalloc maybe-all-mmalloc
15455 maybe-all-mmalloc:
15456 @if mmalloc
15457 TARGET-mmalloc=all
15458 maybe-all-mmalloc: all-mmalloc
15459 all-mmalloc: configure-mmalloc
15460 @r=`${PWD_COMMAND}`; export r; \
15461 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15462 $(SET_LIB_PATH) \
15463 $(HOST_EXPORTS) \
15464 (cd mmalloc && $(MAKE) $(FLAGS_TO_PASS) \
15465 $(TARGET-mmalloc))
15466 @endif mmalloc
15468 .PHONY: check-mmalloc maybe-check-mmalloc
15469 maybe-check-mmalloc:
15470 @if mmalloc
15471 maybe-check-mmalloc: check-mmalloc
15473 check-mmalloc:
15475 @endif mmalloc
15477 .PHONY: install-mmalloc maybe-install-mmalloc
15478 maybe-install-mmalloc:
15479 @if mmalloc
15480 maybe-install-mmalloc: install-mmalloc
15482 install-mmalloc: installdirs
15483 @r=`${PWD_COMMAND}`; export r; \
15484 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15485 $(SET_LIB_PATH) \
15486 $(HOST_EXPORTS) \
15487 (cd mmalloc && $(MAKE) $(FLAGS_TO_PASS) install)
15489 @endif mmalloc
15491 # Other targets (info, dvi, etc.)
15493 .PHONY: maybe-info-mmalloc info-mmalloc
15494 maybe-info-mmalloc:
15495 @if mmalloc
15496 maybe-info-mmalloc: info-mmalloc
15498 info-mmalloc: \
15499 configure-mmalloc
15500 @[ -f ./mmalloc/Makefile ] || exit 0; \
15501 r=`${PWD_COMMAND}`; export r; \
15502 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15503 $(SET_LIB_PATH) \
15504 $(HOST_EXPORTS) \
15505 for flag in $(EXTRA_HOST_FLAGS) ; do \
15506 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15507 done; \
15508 echo "Doing info in mmalloc" ; \
15509 (cd mmalloc && \
15510 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15511 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15512 "RANLIB=$${RANLIB}" \
15513 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15514 info) \
15515 || exit 1
15517 @endif mmalloc
15519 .PHONY: maybe-dvi-mmalloc dvi-mmalloc
15520 maybe-dvi-mmalloc:
15521 @if mmalloc
15522 maybe-dvi-mmalloc: dvi-mmalloc
15524 dvi-mmalloc: \
15525 configure-mmalloc
15526 @[ -f ./mmalloc/Makefile ] || exit 0; \
15527 r=`${PWD_COMMAND}`; export r; \
15528 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15529 $(SET_LIB_PATH) \
15530 $(HOST_EXPORTS) \
15531 for flag in $(EXTRA_HOST_FLAGS) ; do \
15532 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15533 done; \
15534 echo "Doing dvi in mmalloc" ; \
15535 (cd mmalloc && \
15536 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15537 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15538 "RANLIB=$${RANLIB}" \
15539 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15540 dvi) \
15541 || exit 1
15543 @endif mmalloc
15545 .PHONY: maybe-html-mmalloc html-mmalloc
15546 maybe-html-mmalloc:
15547 @if mmalloc
15548 maybe-html-mmalloc: html-mmalloc
15550 html-mmalloc: \
15551 configure-mmalloc
15552 @[ -f ./mmalloc/Makefile ] || exit 0; \
15553 r=`${PWD_COMMAND}`; export r; \
15554 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15555 $(SET_LIB_PATH) \
15556 $(HOST_EXPORTS) \
15557 for flag in $(EXTRA_HOST_FLAGS) ; do \
15558 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15559 done; \
15560 echo "Doing html in mmalloc" ; \
15561 (cd mmalloc && \
15562 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15563 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15564 "RANLIB=$${RANLIB}" \
15565 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15566 html) \
15567 || exit 1
15569 @endif mmalloc
15571 .PHONY: maybe-TAGS-mmalloc TAGS-mmalloc
15572 maybe-TAGS-mmalloc:
15573 @if mmalloc
15574 maybe-TAGS-mmalloc: TAGS-mmalloc
15576 TAGS-mmalloc: \
15577 configure-mmalloc
15578 @[ -f ./mmalloc/Makefile ] || exit 0; \
15579 r=`${PWD_COMMAND}`; export r; \
15580 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15581 $(SET_LIB_PATH) \
15582 $(HOST_EXPORTS) \
15583 for flag in $(EXTRA_HOST_FLAGS) ; do \
15584 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15585 done; \
15586 echo "Doing TAGS in mmalloc" ; \
15587 (cd mmalloc && \
15588 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15589 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15590 "RANLIB=$${RANLIB}" \
15591 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15592 TAGS) \
15593 || exit 1
15595 @endif mmalloc
15597 .PHONY: maybe-install-info-mmalloc install-info-mmalloc
15598 maybe-install-info-mmalloc:
15599 @if mmalloc
15600 maybe-install-info-mmalloc: install-info-mmalloc
15602 install-info-mmalloc: \
15603 configure-mmalloc \
15604 info-mmalloc
15605 @[ -f ./mmalloc/Makefile ] || exit 0; \
15606 r=`${PWD_COMMAND}`; export r; \
15607 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15608 $(SET_LIB_PATH) \
15609 $(HOST_EXPORTS) \
15610 for flag in $(EXTRA_HOST_FLAGS) ; do \
15611 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15612 done; \
15613 echo "Doing install-info in mmalloc" ; \
15614 (cd mmalloc && \
15615 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15616 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15617 "RANLIB=$${RANLIB}" \
15618 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15619 install-info) \
15620 || exit 1
15622 @endif mmalloc
15624 .PHONY: maybe-installcheck-mmalloc installcheck-mmalloc
15625 maybe-installcheck-mmalloc:
15626 @if mmalloc
15627 maybe-installcheck-mmalloc: installcheck-mmalloc
15629 installcheck-mmalloc: \
15630 configure-mmalloc
15631 @[ -f ./mmalloc/Makefile ] || exit 0; \
15632 r=`${PWD_COMMAND}`; export r; \
15633 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15634 $(SET_LIB_PATH) \
15635 $(HOST_EXPORTS) \
15636 for flag in $(EXTRA_HOST_FLAGS) ; do \
15637 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15638 done; \
15639 echo "Doing installcheck in mmalloc" ; \
15640 (cd mmalloc && \
15641 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15642 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15643 "RANLIB=$${RANLIB}" \
15644 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15645 installcheck) \
15646 || exit 1
15648 @endif mmalloc
15650 .PHONY: maybe-mostlyclean-mmalloc mostlyclean-mmalloc
15651 maybe-mostlyclean-mmalloc:
15652 @if mmalloc
15653 maybe-mostlyclean-mmalloc: mostlyclean-mmalloc
15655 mostlyclean-mmalloc:
15656 @[ -f ./mmalloc/Makefile ] || exit 0; \
15657 r=`${PWD_COMMAND}`; export r; \
15658 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15659 $(SET_LIB_PATH) \
15660 $(HOST_EXPORTS) \
15661 for flag in $(EXTRA_HOST_FLAGS) ; do \
15662 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15663 done; \
15664 echo "Doing mostlyclean in mmalloc" ; \
15665 (cd mmalloc && \
15666 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15667 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15668 "RANLIB=$${RANLIB}" \
15669 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15670 mostlyclean) \
15671 || exit 1
15673 @endif mmalloc
15675 .PHONY: maybe-clean-mmalloc clean-mmalloc
15676 maybe-clean-mmalloc:
15677 @if mmalloc
15678 maybe-clean-mmalloc: clean-mmalloc
15680 clean-mmalloc:
15681 @[ -f ./mmalloc/Makefile ] || exit 0; \
15682 r=`${PWD_COMMAND}`; export r; \
15683 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15684 $(SET_LIB_PATH) \
15685 $(HOST_EXPORTS) \
15686 for flag in $(EXTRA_HOST_FLAGS) ; do \
15687 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15688 done; \
15689 echo "Doing clean in mmalloc" ; \
15690 (cd mmalloc && \
15691 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15692 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15693 "RANLIB=$${RANLIB}" \
15694 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15695 clean) \
15696 || exit 1
15698 @endif mmalloc
15700 .PHONY: maybe-distclean-mmalloc distclean-mmalloc
15701 maybe-distclean-mmalloc:
15702 @if mmalloc
15703 maybe-distclean-mmalloc: distclean-mmalloc
15705 distclean-mmalloc:
15706 @[ -f ./mmalloc/Makefile ] || exit 0; \
15707 r=`${PWD_COMMAND}`; export r; \
15708 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15709 $(SET_LIB_PATH) \
15710 $(HOST_EXPORTS) \
15711 for flag in $(EXTRA_HOST_FLAGS) ; do \
15712 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15713 done; \
15714 echo "Doing distclean in mmalloc" ; \
15715 (cd mmalloc && \
15716 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15717 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15718 "RANLIB=$${RANLIB}" \
15719 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15720 distclean) \
15721 || exit 1
15723 @endif mmalloc
15725 .PHONY: maybe-maintainer-clean-mmalloc maintainer-clean-mmalloc
15726 maybe-maintainer-clean-mmalloc:
15727 @if mmalloc
15728 maybe-maintainer-clean-mmalloc: maintainer-clean-mmalloc
15730 maintainer-clean-mmalloc:
15731 @[ -f ./mmalloc/Makefile ] || exit 0; \
15732 r=`${PWD_COMMAND}`; export r; \
15733 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15734 $(SET_LIB_PATH) \
15735 $(HOST_EXPORTS) \
15736 for flag in $(EXTRA_HOST_FLAGS) ; do \
15737 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15738 done; \
15739 echo "Doing maintainer-clean in mmalloc" ; \
15740 (cd mmalloc && \
15741 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15742 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15743 "RANLIB=$${RANLIB}" \
15744 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15745 maintainer-clean) \
15746 || exit 1
15748 @endif mmalloc
15751 .PHONY: configure-patch maybe-configure-patch
15752 maybe-configure-patch:
15753 @if patch
15754 maybe-configure-patch: configure-patch
15755 configure-patch:
15756 @test ! -f patch/Makefile || exit 0; \
15757 [ -d patch ] || mkdir patch; \
15758 r=`${PWD_COMMAND}`; export r; \
15759 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15760 $(HOST_EXPORTS) \
15761 echo Configuring in patch; \
15762 cd patch || exit 1; \
15763 case $(srcdir) in \
15764 \.) \
15765 srcdiroption="--srcdir=."; \
15766 libsrcdir=".";; \
15767 /* | [A-Za-z]:[\\/]*) \
15768 srcdiroption="--srcdir=$(srcdir)/patch"; \
15769 libsrcdir="$$s/patch";; \
15770 *) \
15771 srcdiroption="--srcdir=../$(srcdir)/patch"; \
15772 libsrcdir="$$s/patch";; \
15773 esac; \
15774 $(SHELL) $${libsrcdir}/configure \
15775 $(HOST_CONFIGARGS) $${srcdiroption} \
15776 || exit 1
15777 @endif patch
15779 .PHONY: all-patch maybe-all-patch
15780 maybe-all-patch:
15781 @if patch
15782 TARGET-patch=all
15783 maybe-all-patch: all-patch
15784 all-patch: configure-patch
15785 @r=`${PWD_COMMAND}`; export r; \
15786 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15787 $(SET_LIB_PATH) \
15788 $(HOST_EXPORTS) \
15789 (cd patch && $(MAKE) $(FLAGS_TO_PASS) \
15790 $(TARGET-patch))
15791 @endif patch
15793 .PHONY: check-patch maybe-check-patch
15794 maybe-check-patch:
15795 @if patch
15796 maybe-check-patch: check-patch
15798 check-patch:
15799 @r=`${PWD_COMMAND}`; export r; \
15800 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15801 $(SET_LIB_PATH) \
15802 $(HOST_EXPORTS) \
15803 (cd patch && $(MAKE) $(FLAGS_TO_PASS) check)
15805 @endif patch
15807 .PHONY: install-patch maybe-install-patch
15808 maybe-install-patch:
15809 @if patch
15810 maybe-install-patch: install-patch
15812 install-patch: installdirs
15813 @r=`${PWD_COMMAND}`; export r; \
15814 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15815 $(SET_LIB_PATH) \
15816 $(HOST_EXPORTS) \
15817 (cd patch && $(MAKE) $(FLAGS_TO_PASS) install)
15819 @endif patch
15821 # Other targets (info, dvi, etc.)
15823 .PHONY: maybe-info-patch info-patch
15824 maybe-info-patch:
15825 @if patch
15826 maybe-info-patch: info-patch
15828 info-patch: \
15829 configure-patch
15830 @[ -f ./patch/Makefile ] || exit 0; \
15831 r=`${PWD_COMMAND}`; export r; \
15832 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15833 $(SET_LIB_PATH) \
15834 $(HOST_EXPORTS) \
15835 for flag in $(EXTRA_HOST_FLAGS) ; do \
15836 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15837 done; \
15838 echo "Doing info in patch" ; \
15839 (cd patch && \
15840 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15841 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15842 "RANLIB=$${RANLIB}" \
15843 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15844 info) \
15845 || exit 1
15847 @endif patch
15849 .PHONY: maybe-dvi-patch dvi-patch
15850 maybe-dvi-patch:
15851 @if patch
15852 maybe-dvi-patch: dvi-patch
15854 dvi-patch: \
15855 configure-patch
15856 @[ -f ./patch/Makefile ] || exit 0; \
15857 r=`${PWD_COMMAND}`; export r; \
15858 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15859 $(SET_LIB_PATH) \
15860 $(HOST_EXPORTS) \
15861 for flag in $(EXTRA_HOST_FLAGS) ; do \
15862 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15863 done; \
15864 echo "Doing dvi in patch" ; \
15865 (cd patch && \
15866 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15867 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15868 "RANLIB=$${RANLIB}" \
15869 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15870 dvi) \
15871 || exit 1
15873 @endif patch
15875 .PHONY: maybe-html-patch html-patch
15876 maybe-html-patch:
15877 @if patch
15878 maybe-html-patch: html-patch
15880 html-patch: \
15881 configure-patch
15882 @[ -f ./patch/Makefile ] || exit 0; \
15883 r=`${PWD_COMMAND}`; export r; \
15884 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15885 $(SET_LIB_PATH) \
15886 $(HOST_EXPORTS) \
15887 for flag in $(EXTRA_HOST_FLAGS) ; do \
15888 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15889 done; \
15890 echo "Doing html in patch" ; \
15891 (cd patch && \
15892 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15893 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15894 "RANLIB=$${RANLIB}" \
15895 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15896 html) \
15897 || exit 1
15899 @endif patch
15901 .PHONY: maybe-TAGS-patch TAGS-patch
15902 maybe-TAGS-patch:
15903 @if patch
15904 maybe-TAGS-patch: TAGS-patch
15906 TAGS-patch: \
15907 configure-patch
15908 @[ -f ./patch/Makefile ] || exit 0; \
15909 r=`${PWD_COMMAND}`; export r; \
15910 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15911 $(SET_LIB_PATH) \
15912 $(HOST_EXPORTS) \
15913 for flag in $(EXTRA_HOST_FLAGS) ; do \
15914 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15915 done; \
15916 echo "Doing TAGS in patch" ; \
15917 (cd patch && \
15918 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15919 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15920 "RANLIB=$${RANLIB}" \
15921 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15922 TAGS) \
15923 || exit 1
15925 @endif patch
15927 .PHONY: maybe-install-info-patch install-info-patch
15928 maybe-install-info-patch:
15929 @if patch
15930 maybe-install-info-patch: install-info-patch
15932 install-info-patch: \
15933 configure-patch \
15934 info-patch
15935 @[ -f ./patch/Makefile ] || exit 0; \
15936 r=`${PWD_COMMAND}`; export r; \
15937 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15938 $(SET_LIB_PATH) \
15939 $(HOST_EXPORTS) \
15940 for flag in $(EXTRA_HOST_FLAGS) ; do \
15941 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15942 done; \
15943 echo "Doing install-info in patch" ; \
15944 (cd patch && \
15945 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15946 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15947 "RANLIB=$${RANLIB}" \
15948 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15949 install-info) \
15950 || exit 1
15952 @endif patch
15954 .PHONY: maybe-installcheck-patch installcheck-patch
15955 maybe-installcheck-patch:
15956 @if patch
15957 maybe-installcheck-patch: installcheck-patch
15959 installcheck-patch: \
15960 configure-patch
15961 @[ -f ./patch/Makefile ] || exit 0; \
15962 r=`${PWD_COMMAND}`; export r; \
15963 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15964 $(SET_LIB_PATH) \
15965 $(HOST_EXPORTS) \
15966 for flag in $(EXTRA_HOST_FLAGS) ; do \
15967 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15968 done; \
15969 echo "Doing installcheck in patch" ; \
15970 (cd patch && \
15971 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15972 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15973 "RANLIB=$${RANLIB}" \
15974 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15975 installcheck) \
15976 || exit 1
15978 @endif patch
15980 .PHONY: maybe-mostlyclean-patch mostlyclean-patch
15981 maybe-mostlyclean-patch:
15982 @if patch
15983 maybe-mostlyclean-patch: mostlyclean-patch
15985 mostlyclean-patch:
15986 @[ -f ./patch/Makefile ] || exit 0; \
15987 r=`${PWD_COMMAND}`; export r; \
15988 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15989 $(SET_LIB_PATH) \
15990 $(HOST_EXPORTS) \
15991 for flag in $(EXTRA_HOST_FLAGS) ; do \
15992 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15993 done; \
15994 echo "Doing mostlyclean in patch" ; \
15995 (cd patch && \
15996 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15997 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15998 "RANLIB=$${RANLIB}" \
15999 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16000 mostlyclean) \
16001 || exit 1
16003 @endif patch
16005 .PHONY: maybe-clean-patch clean-patch
16006 maybe-clean-patch:
16007 @if patch
16008 maybe-clean-patch: clean-patch
16010 clean-patch:
16011 @[ -f ./patch/Makefile ] || exit 0; \
16012 r=`${PWD_COMMAND}`; export r; \
16013 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16014 $(SET_LIB_PATH) \
16015 $(HOST_EXPORTS) \
16016 for flag in $(EXTRA_HOST_FLAGS) ; do \
16017 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16018 done; \
16019 echo "Doing clean in patch" ; \
16020 (cd patch && \
16021 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16022 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16023 "RANLIB=$${RANLIB}" \
16024 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16025 clean) \
16026 || exit 1
16028 @endif patch
16030 .PHONY: maybe-distclean-patch distclean-patch
16031 maybe-distclean-patch:
16032 @if patch
16033 maybe-distclean-patch: distclean-patch
16035 distclean-patch:
16036 @[ -f ./patch/Makefile ] || exit 0; \
16037 r=`${PWD_COMMAND}`; export r; \
16038 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16039 $(SET_LIB_PATH) \
16040 $(HOST_EXPORTS) \
16041 for flag in $(EXTRA_HOST_FLAGS) ; do \
16042 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16043 done; \
16044 echo "Doing distclean in patch" ; \
16045 (cd patch && \
16046 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16047 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16048 "RANLIB=$${RANLIB}" \
16049 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16050 distclean) \
16051 || exit 1
16053 @endif patch
16055 .PHONY: maybe-maintainer-clean-patch maintainer-clean-patch
16056 maybe-maintainer-clean-patch:
16057 @if patch
16058 maybe-maintainer-clean-patch: maintainer-clean-patch
16060 maintainer-clean-patch:
16061 @[ -f ./patch/Makefile ] || exit 0; \
16062 r=`${PWD_COMMAND}`; export r; \
16063 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16064 $(SET_LIB_PATH) \
16065 $(HOST_EXPORTS) \
16066 for flag in $(EXTRA_HOST_FLAGS) ; do \
16067 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16068 done; \
16069 echo "Doing maintainer-clean in patch" ; \
16070 (cd patch && \
16071 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16072 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16073 "RANLIB=$${RANLIB}" \
16074 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16075 maintainer-clean) \
16076 || exit 1
16078 @endif patch
16081 .PHONY: configure-perl maybe-configure-perl
16082 maybe-configure-perl:
16083 @if perl
16084 maybe-configure-perl: configure-perl
16085 configure-perl:
16086 @test ! -f perl/Makefile || exit 0; \
16087 [ -d perl ] || mkdir perl; \
16088 r=`${PWD_COMMAND}`; export r; \
16089 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16090 $(HOST_EXPORTS) \
16091 echo Configuring in perl; \
16092 cd perl || exit 1; \
16093 case $(srcdir) in \
16094 \.) \
16095 srcdiroption="--srcdir=."; \
16096 libsrcdir=".";; \
16097 /* | [A-Za-z]:[\\/]*) \
16098 srcdiroption="--srcdir=$(srcdir)/perl"; \
16099 libsrcdir="$$s/perl";; \
16100 *) \
16101 srcdiroption="--srcdir=../$(srcdir)/perl"; \
16102 libsrcdir="$$s/perl";; \
16103 esac; \
16104 $(SHELL) $${libsrcdir}/configure \
16105 $(HOST_CONFIGARGS) $${srcdiroption} \
16106 || exit 1
16107 @endif perl
16109 .PHONY: all-perl maybe-all-perl
16110 maybe-all-perl:
16111 @if perl
16112 TARGET-perl=all
16113 maybe-all-perl: all-perl
16114 all-perl: configure-perl
16115 @r=`${PWD_COMMAND}`; export r; \
16116 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16117 $(SET_LIB_PATH) \
16118 $(HOST_EXPORTS) \
16119 (cd perl && $(MAKE) $(FLAGS_TO_PASS) \
16120 $(TARGET-perl))
16121 @endif perl
16123 .PHONY: check-perl maybe-check-perl
16124 maybe-check-perl:
16125 @if perl
16126 maybe-check-perl: check-perl
16128 check-perl:
16129 @r=`${PWD_COMMAND}`; export r; \
16130 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16131 $(SET_LIB_PATH) \
16132 $(HOST_EXPORTS) \
16133 (cd perl && $(MAKE) $(FLAGS_TO_PASS) check)
16135 @endif perl
16137 .PHONY: install-perl maybe-install-perl
16138 maybe-install-perl:
16139 @if perl
16140 maybe-install-perl: install-perl
16142 install-perl: installdirs
16143 @r=`${PWD_COMMAND}`; export r; \
16144 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16145 $(SET_LIB_PATH) \
16146 $(HOST_EXPORTS) \
16147 (cd perl && $(MAKE) $(FLAGS_TO_PASS) install)
16149 @endif perl
16151 # Other targets (info, dvi, etc.)
16153 .PHONY: maybe-info-perl info-perl
16154 maybe-info-perl:
16155 @if perl
16156 maybe-info-perl: info-perl
16158 info-perl: \
16159 configure-perl
16160 @[ -f ./perl/Makefile ] || exit 0; \
16161 r=`${PWD_COMMAND}`; export r; \
16162 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16163 $(SET_LIB_PATH) \
16164 $(HOST_EXPORTS) \
16165 for flag in $(EXTRA_HOST_FLAGS) ; do \
16166 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16167 done; \
16168 echo "Doing info in perl" ; \
16169 (cd perl && \
16170 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16171 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16172 "RANLIB=$${RANLIB}" \
16173 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16174 info) \
16175 || exit 1
16177 @endif perl
16179 .PHONY: maybe-dvi-perl dvi-perl
16180 maybe-dvi-perl:
16181 @if perl
16182 maybe-dvi-perl: dvi-perl
16184 dvi-perl: \
16185 configure-perl
16186 @[ -f ./perl/Makefile ] || exit 0; \
16187 r=`${PWD_COMMAND}`; export r; \
16188 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16189 $(SET_LIB_PATH) \
16190 $(HOST_EXPORTS) \
16191 for flag in $(EXTRA_HOST_FLAGS) ; do \
16192 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16193 done; \
16194 echo "Doing dvi in perl" ; \
16195 (cd perl && \
16196 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16197 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16198 "RANLIB=$${RANLIB}" \
16199 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16200 dvi) \
16201 || exit 1
16203 @endif perl
16205 .PHONY: maybe-html-perl html-perl
16206 maybe-html-perl:
16207 @if perl
16208 maybe-html-perl: html-perl
16210 html-perl: \
16211 configure-perl
16212 @[ -f ./perl/Makefile ] || exit 0; \
16213 r=`${PWD_COMMAND}`; export r; \
16214 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16215 $(SET_LIB_PATH) \
16216 $(HOST_EXPORTS) \
16217 for flag in $(EXTRA_HOST_FLAGS) ; do \
16218 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16219 done; \
16220 echo "Doing html in perl" ; \
16221 (cd perl && \
16222 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16223 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16224 "RANLIB=$${RANLIB}" \
16225 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16226 html) \
16227 || exit 1
16229 @endif perl
16231 .PHONY: maybe-TAGS-perl TAGS-perl
16232 maybe-TAGS-perl:
16233 @if perl
16234 maybe-TAGS-perl: TAGS-perl
16236 TAGS-perl: \
16237 configure-perl
16238 @[ -f ./perl/Makefile ] || exit 0; \
16239 r=`${PWD_COMMAND}`; export r; \
16240 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16241 $(SET_LIB_PATH) \
16242 $(HOST_EXPORTS) \
16243 for flag in $(EXTRA_HOST_FLAGS) ; do \
16244 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16245 done; \
16246 echo "Doing TAGS in perl" ; \
16247 (cd perl && \
16248 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16249 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16250 "RANLIB=$${RANLIB}" \
16251 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16252 TAGS) \
16253 || exit 1
16255 @endif perl
16257 .PHONY: maybe-install-info-perl install-info-perl
16258 maybe-install-info-perl:
16259 @if perl
16260 maybe-install-info-perl: install-info-perl
16262 install-info-perl: \
16263 configure-perl \
16264 info-perl
16265 @[ -f ./perl/Makefile ] || exit 0; \
16266 r=`${PWD_COMMAND}`; export r; \
16267 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16268 $(SET_LIB_PATH) \
16269 $(HOST_EXPORTS) \
16270 for flag in $(EXTRA_HOST_FLAGS) ; do \
16271 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16272 done; \
16273 echo "Doing install-info in perl" ; \
16274 (cd perl && \
16275 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16276 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16277 "RANLIB=$${RANLIB}" \
16278 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16279 install-info) \
16280 || exit 1
16282 @endif perl
16284 .PHONY: maybe-installcheck-perl installcheck-perl
16285 maybe-installcheck-perl:
16286 @if perl
16287 maybe-installcheck-perl: installcheck-perl
16289 installcheck-perl: \
16290 configure-perl
16291 @[ -f ./perl/Makefile ] || exit 0; \
16292 r=`${PWD_COMMAND}`; export r; \
16293 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16294 $(SET_LIB_PATH) \
16295 $(HOST_EXPORTS) \
16296 for flag in $(EXTRA_HOST_FLAGS) ; do \
16297 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16298 done; \
16299 echo "Doing installcheck in perl" ; \
16300 (cd perl && \
16301 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16302 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16303 "RANLIB=$${RANLIB}" \
16304 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16305 installcheck) \
16306 || exit 1
16308 @endif perl
16310 .PHONY: maybe-mostlyclean-perl mostlyclean-perl
16311 maybe-mostlyclean-perl:
16312 @if perl
16313 maybe-mostlyclean-perl: mostlyclean-perl
16315 mostlyclean-perl:
16316 @[ -f ./perl/Makefile ] || exit 0; \
16317 r=`${PWD_COMMAND}`; export r; \
16318 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16319 $(SET_LIB_PATH) \
16320 $(HOST_EXPORTS) \
16321 for flag in $(EXTRA_HOST_FLAGS) ; do \
16322 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16323 done; \
16324 echo "Doing mostlyclean in perl" ; \
16325 (cd perl && \
16326 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16327 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16328 "RANLIB=$${RANLIB}" \
16329 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16330 mostlyclean) \
16331 || exit 1
16333 @endif perl
16335 .PHONY: maybe-clean-perl clean-perl
16336 maybe-clean-perl:
16337 @if perl
16338 maybe-clean-perl: clean-perl
16340 clean-perl:
16341 @[ -f ./perl/Makefile ] || exit 0; \
16342 r=`${PWD_COMMAND}`; export r; \
16343 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16344 $(SET_LIB_PATH) \
16345 $(HOST_EXPORTS) \
16346 for flag in $(EXTRA_HOST_FLAGS) ; do \
16347 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16348 done; \
16349 echo "Doing clean in perl" ; \
16350 (cd perl && \
16351 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16352 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16353 "RANLIB=$${RANLIB}" \
16354 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16355 clean) \
16356 || exit 1
16358 @endif perl
16360 .PHONY: maybe-distclean-perl distclean-perl
16361 maybe-distclean-perl:
16362 @if perl
16363 maybe-distclean-perl: distclean-perl
16365 distclean-perl:
16366 @[ -f ./perl/Makefile ] || exit 0; \
16367 r=`${PWD_COMMAND}`; export r; \
16368 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16369 $(SET_LIB_PATH) \
16370 $(HOST_EXPORTS) \
16371 for flag in $(EXTRA_HOST_FLAGS) ; do \
16372 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16373 done; \
16374 echo "Doing distclean in perl" ; \
16375 (cd perl && \
16376 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16377 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16378 "RANLIB=$${RANLIB}" \
16379 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16380 distclean) \
16381 || exit 1
16383 @endif perl
16385 .PHONY: maybe-maintainer-clean-perl maintainer-clean-perl
16386 maybe-maintainer-clean-perl:
16387 @if perl
16388 maybe-maintainer-clean-perl: maintainer-clean-perl
16390 maintainer-clean-perl:
16391 @[ -f ./perl/Makefile ] || exit 0; \
16392 r=`${PWD_COMMAND}`; export r; \
16393 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16394 $(SET_LIB_PATH) \
16395 $(HOST_EXPORTS) \
16396 for flag in $(EXTRA_HOST_FLAGS) ; do \
16397 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16398 done; \
16399 echo "Doing maintainer-clean in perl" ; \
16400 (cd perl && \
16401 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16402 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16403 "RANLIB=$${RANLIB}" \
16404 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16405 maintainer-clean) \
16406 || exit 1
16408 @endif perl
16411 .PHONY: configure-prms maybe-configure-prms
16412 maybe-configure-prms:
16413 @if prms
16414 maybe-configure-prms: configure-prms
16415 configure-prms:
16416 @test ! -f prms/Makefile || exit 0; \
16417 [ -d prms ] || mkdir prms; \
16418 r=`${PWD_COMMAND}`; export r; \
16419 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16420 $(HOST_EXPORTS) \
16421 echo Configuring in prms; \
16422 cd prms || exit 1; \
16423 case $(srcdir) in \
16424 \.) \
16425 srcdiroption="--srcdir=."; \
16426 libsrcdir=".";; \
16427 /* | [A-Za-z]:[\\/]*) \
16428 srcdiroption="--srcdir=$(srcdir)/prms"; \
16429 libsrcdir="$$s/prms";; \
16430 *) \
16431 srcdiroption="--srcdir=../$(srcdir)/prms"; \
16432 libsrcdir="$$s/prms";; \
16433 esac; \
16434 $(SHELL) $${libsrcdir}/configure \
16435 $(HOST_CONFIGARGS) $${srcdiroption} \
16436 || exit 1
16437 @endif prms
16439 .PHONY: all-prms maybe-all-prms
16440 maybe-all-prms:
16441 @if prms
16442 TARGET-prms=all
16443 maybe-all-prms: all-prms
16444 all-prms: configure-prms
16445 @r=`${PWD_COMMAND}`; export r; \
16446 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16447 $(SET_LIB_PATH) \
16448 $(HOST_EXPORTS) \
16449 (cd prms && $(MAKE) $(FLAGS_TO_PASS) \
16450 $(TARGET-prms))
16451 @endif prms
16453 .PHONY: check-prms maybe-check-prms
16454 maybe-check-prms:
16455 @if prms
16456 maybe-check-prms: check-prms
16458 check-prms:
16459 @r=`${PWD_COMMAND}`; export r; \
16460 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16461 $(SET_LIB_PATH) \
16462 $(HOST_EXPORTS) \
16463 (cd prms && $(MAKE) $(FLAGS_TO_PASS) check)
16465 @endif prms
16467 .PHONY: install-prms maybe-install-prms
16468 maybe-install-prms:
16469 @if prms
16470 maybe-install-prms: install-prms
16472 install-prms: installdirs
16473 @r=`${PWD_COMMAND}`; export r; \
16474 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16475 $(SET_LIB_PATH) \
16476 $(HOST_EXPORTS) \
16477 (cd prms && $(MAKE) $(FLAGS_TO_PASS) install)
16479 @endif prms
16481 # Other targets (info, dvi, etc.)
16483 .PHONY: maybe-info-prms info-prms
16484 maybe-info-prms:
16485 @if prms
16486 maybe-info-prms: info-prms
16488 info-prms: \
16489 configure-prms
16490 @[ -f ./prms/Makefile ] || exit 0; \
16491 r=`${PWD_COMMAND}`; export r; \
16492 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16493 $(SET_LIB_PATH) \
16494 $(HOST_EXPORTS) \
16495 for flag in $(EXTRA_HOST_FLAGS) ; do \
16496 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16497 done; \
16498 echo "Doing info in prms" ; \
16499 (cd prms && \
16500 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16501 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16502 "RANLIB=$${RANLIB}" \
16503 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16504 info) \
16505 || exit 1
16507 @endif prms
16509 .PHONY: maybe-dvi-prms dvi-prms
16510 maybe-dvi-prms:
16511 @if prms
16512 maybe-dvi-prms: dvi-prms
16514 dvi-prms: \
16515 configure-prms
16516 @[ -f ./prms/Makefile ] || exit 0; \
16517 r=`${PWD_COMMAND}`; export r; \
16518 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16519 $(SET_LIB_PATH) \
16520 $(HOST_EXPORTS) \
16521 for flag in $(EXTRA_HOST_FLAGS) ; do \
16522 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16523 done; \
16524 echo "Doing dvi in prms" ; \
16525 (cd prms && \
16526 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16527 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16528 "RANLIB=$${RANLIB}" \
16529 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16530 dvi) \
16531 || exit 1
16533 @endif prms
16535 .PHONY: maybe-html-prms html-prms
16536 maybe-html-prms:
16537 @if prms
16538 maybe-html-prms: html-prms
16540 html-prms: \
16541 configure-prms
16542 @[ -f ./prms/Makefile ] || exit 0; \
16543 r=`${PWD_COMMAND}`; export r; \
16544 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16545 $(SET_LIB_PATH) \
16546 $(HOST_EXPORTS) \
16547 for flag in $(EXTRA_HOST_FLAGS) ; do \
16548 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16549 done; \
16550 echo "Doing html in prms" ; \
16551 (cd prms && \
16552 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16553 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16554 "RANLIB=$${RANLIB}" \
16555 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16556 html) \
16557 || exit 1
16559 @endif prms
16561 .PHONY: maybe-TAGS-prms TAGS-prms
16562 maybe-TAGS-prms:
16563 @if prms
16564 maybe-TAGS-prms: TAGS-prms
16566 TAGS-prms: \
16567 configure-prms
16568 @[ -f ./prms/Makefile ] || exit 0; \
16569 r=`${PWD_COMMAND}`; export r; \
16570 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16571 $(SET_LIB_PATH) \
16572 $(HOST_EXPORTS) \
16573 for flag in $(EXTRA_HOST_FLAGS) ; do \
16574 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16575 done; \
16576 echo "Doing TAGS in prms" ; \
16577 (cd prms && \
16578 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16579 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16580 "RANLIB=$${RANLIB}" \
16581 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16582 TAGS) \
16583 || exit 1
16585 @endif prms
16587 .PHONY: maybe-install-info-prms install-info-prms
16588 maybe-install-info-prms:
16589 @if prms
16590 maybe-install-info-prms: install-info-prms
16592 install-info-prms: \
16593 configure-prms \
16594 info-prms
16595 @[ -f ./prms/Makefile ] || exit 0; \
16596 r=`${PWD_COMMAND}`; export r; \
16597 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16598 $(SET_LIB_PATH) \
16599 $(HOST_EXPORTS) \
16600 for flag in $(EXTRA_HOST_FLAGS) ; do \
16601 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16602 done; \
16603 echo "Doing install-info in prms" ; \
16604 (cd prms && \
16605 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16606 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16607 "RANLIB=$${RANLIB}" \
16608 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16609 install-info) \
16610 || exit 1
16612 @endif prms
16614 .PHONY: maybe-installcheck-prms installcheck-prms
16615 maybe-installcheck-prms:
16616 @if prms
16617 maybe-installcheck-prms: installcheck-prms
16619 installcheck-prms: \
16620 configure-prms
16621 @[ -f ./prms/Makefile ] || exit 0; \
16622 r=`${PWD_COMMAND}`; export r; \
16623 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16624 $(SET_LIB_PATH) \
16625 $(HOST_EXPORTS) \
16626 for flag in $(EXTRA_HOST_FLAGS) ; do \
16627 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16628 done; \
16629 echo "Doing installcheck in prms" ; \
16630 (cd prms && \
16631 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16632 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16633 "RANLIB=$${RANLIB}" \
16634 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16635 installcheck) \
16636 || exit 1
16638 @endif prms
16640 .PHONY: maybe-mostlyclean-prms mostlyclean-prms
16641 maybe-mostlyclean-prms:
16642 @if prms
16643 maybe-mostlyclean-prms: mostlyclean-prms
16645 mostlyclean-prms:
16646 @[ -f ./prms/Makefile ] || exit 0; \
16647 r=`${PWD_COMMAND}`; export r; \
16648 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16649 $(SET_LIB_PATH) \
16650 $(HOST_EXPORTS) \
16651 for flag in $(EXTRA_HOST_FLAGS) ; do \
16652 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16653 done; \
16654 echo "Doing mostlyclean in prms" ; \
16655 (cd prms && \
16656 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16657 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16658 "RANLIB=$${RANLIB}" \
16659 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16660 mostlyclean) \
16661 || exit 1
16663 @endif prms
16665 .PHONY: maybe-clean-prms clean-prms
16666 maybe-clean-prms:
16667 @if prms
16668 maybe-clean-prms: clean-prms
16670 clean-prms:
16671 @[ -f ./prms/Makefile ] || exit 0; \
16672 r=`${PWD_COMMAND}`; export r; \
16673 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16674 $(SET_LIB_PATH) \
16675 $(HOST_EXPORTS) \
16676 for flag in $(EXTRA_HOST_FLAGS) ; do \
16677 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16678 done; \
16679 echo "Doing clean in prms" ; \
16680 (cd prms && \
16681 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16682 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16683 "RANLIB=$${RANLIB}" \
16684 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16685 clean) \
16686 || exit 1
16688 @endif prms
16690 .PHONY: maybe-distclean-prms distclean-prms
16691 maybe-distclean-prms:
16692 @if prms
16693 maybe-distclean-prms: distclean-prms
16695 distclean-prms:
16696 @[ -f ./prms/Makefile ] || exit 0; \
16697 r=`${PWD_COMMAND}`; export r; \
16698 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16699 $(SET_LIB_PATH) \
16700 $(HOST_EXPORTS) \
16701 for flag in $(EXTRA_HOST_FLAGS) ; do \
16702 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16703 done; \
16704 echo "Doing distclean in prms" ; \
16705 (cd prms && \
16706 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16707 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16708 "RANLIB=$${RANLIB}" \
16709 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16710 distclean) \
16711 || exit 1
16713 @endif prms
16715 .PHONY: maybe-maintainer-clean-prms maintainer-clean-prms
16716 maybe-maintainer-clean-prms:
16717 @if prms
16718 maybe-maintainer-clean-prms: maintainer-clean-prms
16720 maintainer-clean-prms:
16721 @[ -f ./prms/Makefile ] || exit 0; \
16722 r=`${PWD_COMMAND}`; export r; \
16723 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16724 $(SET_LIB_PATH) \
16725 $(HOST_EXPORTS) \
16726 for flag in $(EXTRA_HOST_FLAGS) ; do \
16727 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16728 done; \
16729 echo "Doing maintainer-clean in prms" ; \
16730 (cd prms && \
16731 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16732 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16733 "RANLIB=$${RANLIB}" \
16734 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16735 maintainer-clean) \
16736 || exit 1
16738 @endif prms
16741 .PHONY: configure-rcs maybe-configure-rcs
16742 maybe-configure-rcs:
16743 @if rcs
16744 maybe-configure-rcs: configure-rcs
16745 configure-rcs:
16746 @test ! -f rcs/Makefile || exit 0; \
16747 [ -d rcs ] || mkdir rcs; \
16748 r=`${PWD_COMMAND}`; export r; \
16749 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16750 $(HOST_EXPORTS) \
16751 echo Configuring in rcs; \
16752 cd rcs || exit 1; \
16753 case $(srcdir) in \
16754 \.) \
16755 srcdiroption="--srcdir=."; \
16756 libsrcdir=".";; \
16757 /* | [A-Za-z]:[\\/]*) \
16758 srcdiroption="--srcdir=$(srcdir)/rcs"; \
16759 libsrcdir="$$s/rcs";; \
16760 *) \
16761 srcdiroption="--srcdir=../$(srcdir)/rcs"; \
16762 libsrcdir="$$s/rcs";; \
16763 esac; \
16764 $(SHELL) $${libsrcdir}/configure \
16765 $(HOST_CONFIGARGS) $${srcdiroption} \
16766 || exit 1
16767 @endif rcs
16769 .PHONY: all-rcs maybe-all-rcs
16770 maybe-all-rcs:
16771 @if rcs
16772 TARGET-rcs=all
16773 maybe-all-rcs: all-rcs
16774 all-rcs: configure-rcs
16775 @r=`${PWD_COMMAND}`; export r; \
16776 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16777 $(SET_LIB_PATH) \
16778 $(HOST_EXPORTS) \
16779 (cd rcs && $(MAKE) $(FLAGS_TO_PASS) \
16780 $(TARGET-rcs))
16781 @endif rcs
16783 .PHONY: check-rcs maybe-check-rcs
16784 maybe-check-rcs:
16785 @if rcs
16786 maybe-check-rcs: check-rcs
16788 check-rcs:
16789 @r=`${PWD_COMMAND}`; export r; \
16790 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16791 $(SET_LIB_PATH) \
16792 $(HOST_EXPORTS) \
16793 (cd rcs && $(MAKE) $(FLAGS_TO_PASS) check)
16795 @endif rcs
16797 .PHONY: install-rcs maybe-install-rcs
16798 maybe-install-rcs:
16799 @if rcs
16800 maybe-install-rcs: install-rcs
16802 install-rcs: installdirs
16803 @r=`${PWD_COMMAND}`; export r; \
16804 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16805 $(SET_LIB_PATH) \
16806 $(HOST_EXPORTS) \
16807 (cd rcs && $(MAKE) $(FLAGS_TO_PASS) install)
16809 @endif rcs
16811 # Other targets (info, dvi, etc.)
16813 .PHONY: maybe-info-rcs info-rcs
16814 maybe-info-rcs:
16815 @if rcs
16816 maybe-info-rcs: info-rcs
16818 info-rcs: \
16819 configure-rcs
16820 @[ -f ./rcs/Makefile ] || exit 0; \
16821 r=`${PWD_COMMAND}`; export r; \
16822 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16823 $(SET_LIB_PATH) \
16824 $(HOST_EXPORTS) \
16825 for flag in $(EXTRA_HOST_FLAGS) ; do \
16826 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16827 done; \
16828 echo "Doing info in rcs" ; \
16829 (cd rcs && \
16830 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16831 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16832 "RANLIB=$${RANLIB}" \
16833 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16834 info) \
16835 || exit 1
16837 @endif rcs
16839 .PHONY: maybe-dvi-rcs dvi-rcs
16840 maybe-dvi-rcs:
16841 @if rcs
16842 maybe-dvi-rcs: dvi-rcs
16844 dvi-rcs: \
16845 configure-rcs
16846 @[ -f ./rcs/Makefile ] || exit 0; \
16847 r=`${PWD_COMMAND}`; export r; \
16848 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16849 $(SET_LIB_PATH) \
16850 $(HOST_EXPORTS) \
16851 for flag in $(EXTRA_HOST_FLAGS) ; do \
16852 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16853 done; \
16854 echo "Doing dvi in rcs" ; \
16855 (cd rcs && \
16856 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16857 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16858 "RANLIB=$${RANLIB}" \
16859 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16860 dvi) \
16861 || exit 1
16863 @endif rcs
16865 .PHONY: maybe-html-rcs html-rcs
16866 maybe-html-rcs:
16867 @if rcs
16868 maybe-html-rcs: html-rcs
16870 html-rcs: \
16871 configure-rcs
16872 @[ -f ./rcs/Makefile ] || exit 0; \
16873 r=`${PWD_COMMAND}`; export r; \
16874 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16875 $(SET_LIB_PATH) \
16876 $(HOST_EXPORTS) \
16877 for flag in $(EXTRA_HOST_FLAGS) ; do \
16878 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16879 done; \
16880 echo "Doing html in rcs" ; \
16881 (cd rcs && \
16882 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16883 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16884 "RANLIB=$${RANLIB}" \
16885 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16886 html) \
16887 || exit 1
16889 @endif rcs
16891 .PHONY: maybe-TAGS-rcs TAGS-rcs
16892 maybe-TAGS-rcs:
16893 @if rcs
16894 maybe-TAGS-rcs: TAGS-rcs
16896 TAGS-rcs: \
16897 configure-rcs
16898 @[ -f ./rcs/Makefile ] || exit 0; \
16899 r=`${PWD_COMMAND}`; export r; \
16900 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16901 $(SET_LIB_PATH) \
16902 $(HOST_EXPORTS) \
16903 for flag in $(EXTRA_HOST_FLAGS) ; do \
16904 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16905 done; \
16906 echo "Doing TAGS in rcs" ; \
16907 (cd rcs && \
16908 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16909 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16910 "RANLIB=$${RANLIB}" \
16911 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16912 TAGS) \
16913 || exit 1
16915 @endif rcs
16917 .PHONY: maybe-install-info-rcs install-info-rcs
16918 maybe-install-info-rcs:
16919 @if rcs
16920 maybe-install-info-rcs: install-info-rcs
16922 install-info-rcs: \
16923 configure-rcs \
16924 info-rcs
16925 @[ -f ./rcs/Makefile ] || exit 0; \
16926 r=`${PWD_COMMAND}`; export r; \
16927 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16928 $(SET_LIB_PATH) \
16929 $(HOST_EXPORTS) \
16930 for flag in $(EXTRA_HOST_FLAGS) ; do \
16931 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16932 done; \
16933 echo "Doing install-info in rcs" ; \
16934 (cd rcs && \
16935 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16936 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16937 "RANLIB=$${RANLIB}" \
16938 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16939 install-info) \
16940 || exit 1
16942 @endif rcs
16944 .PHONY: maybe-installcheck-rcs installcheck-rcs
16945 maybe-installcheck-rcs:
16946 @if rcs
16947 maybe-installcheck-rcs: installcheck-rcs
16949 installcheck-rcs: \
16950 configure-rcs
16951 @[ -f ./rcs/Makefile ] || exit 0; \
16952 r=`${PWD_COMMAND}`; export r; \
16953 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16954 $(SET_LIB_PATH) \
16955 $(HOST_EXPORTS) \
16956 for flag in $(EXTRA_HOST_FLAGS) ; do \
16957 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16958 done; \
16959 echo "Doing installcheck in rcs" ; \
16960 (cd rcs && \
16961 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16962 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16963 "RANLIB=$${RANLIB}" \
16964 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16965 installcheck) \
16966 || exit 1
16968 @endif rcs
16970 .PHONY: maybe-mostlyclean-rcs mostlyclean-rcs
16971 maybe-mostlyclean-rcs:
16972 @if rcs
16973 maybe-mostlyclean-rcs: mostlyclean-rcs
16975 mostlyclean-rcs:
16976 @[ -f ./rcs/Makefile ] || exit 0; \
16977 r=`${PWD_COMMAND}`; export r; \
16978 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16979 $(SET_LIB_PATH) \
16980 $(HOST_EXPORTS) \
16981 for flag in $(EXTRA_HOST_FLAGS) ; do \
16982 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16983 done; \
16984 echo "Doing mostlyclean in rcs" ; \
16985 (cd rcs && \
16986 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16987 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16988 "RANLIB=$${RANLIB}" \
16989 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16990 mostlyclean) \
16991 || exit 1
16993 @endif rcs
16995 .PHONY: maybe-clean-rcs clean-rcs
16996 maybe-clean-rcs:
16997 @if rcs
16998 maybe-clean-rcs: clean-rcs
17000 clean-rcs:
17001 @[ -f ./rcs/Makefile ] || exit 0; \
17002 r=`${PWD_COMMAND}`; export r; \
17003 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17004 $(SET_LIB_PATH) \
17005 $(HOST_EXPORTS) \
17006 for flag in $(EXTRA_HOST_FLAGS) ; do \
17007 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17008 done; \
17009 echo "Doing clean in rcs" ; \
17010 (cd rcs && \
17011 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17012 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17013 "RANLIB=$${RANLIB}" \
17014 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17015 clean) \
17016 || exit 1
17018 @endif rcs
17020 .PHONY: maybe-distclean-rcs distclean-rcs
17021 maybe-distclean-rcs:
17022 @if rcs
17023 maybe-distclean-rcs: distclean-rcs
17025 distclean-rcs:
17026 @[ -f ./rcs/Makefile ] || exit 0; \
17027 r=`${PWD_COMMAND}`; export r; \
17028 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17029 $(SET_LIB_PATH) \
17030 $(HOST_EXPORTS) \
17031 for flag in $(EXTRA_HOST_FLAGS) ; do \
17032 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17033 done; \
17034 echo "Doing distclean in rcs" ; \
17035 (cd rcs && \
17036 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17037 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17038 "RANLIB=$${RANLIB}" \
17039 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17040 distclean) \
17041 || exit 1
17043 @endif rcs
17045 .PHONY: maybe-maintainer-clean-rcs maintainer-clean-rcs
17046 maybe-maintainer-clean-rcs:
17047 @if rcs
17048 maybe-maintainer-clean-rcs: maintainer-clean-rcs
17050 maintainer-clean-rcs:
17051 @[ -f ./rcs/Makefile ] || exit 0; \
17052 r=`${PWD_COMMAND}`; export r; \
17053 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17054 $(SET_LIB_PATH) \
17055 $(HOST_EXPORTS) \
17056 for flag in $(EXTRA_HOST_FLAGS) ; do \
17057 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17058 done; \
17059 echo "Doing maintainer-clean in rcs" ; \
17060 (cd rcs && \
17061 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17062 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17063 "RANLIB=$${RANLIB}" \
17064 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17065 maintainer-clean) \
17066 || exit 1
17068 @endif rcs
17071 .PHONY: configure-readline maybe-configure-readline
17072 maybe-configure-readline:
17073 @if readline
17074 maybe-configure-readline: configure-readline
17075 configure-readline:
17076 @test ! -f readline/Makefile || exit 0; \
17077 [ -d readline ] || mkdir readline; \
17078 r=`${PWD_COMMAND}`; export r; \
17079 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17080 $(HOST_EXPORTS) \
17081 echo Configuring in readline; \
17082 cd readline || exit 1; \
17083 case $(srcdir) in \
17084 \.) \
17085 srcdiroption="--srcdir=."; \
17086 libsrcdir=".";; \
17087 /* | [A-Za-z]:[\\/]*) \
17088 srcdiroption="--srcdir=$(srcdir)/readline"; \
17089 libsrcdir="$$s/readline";; \
17090 *) \
17091 srcdiroption="--srcdir=../$(srcdir)/readline"; \
17092 libsrcdir="$$s/readline";; \
17093 esac; \
17094 $(SHELL) $${libsrcdir}/configure \
17095 $(HOST_CONFIGARGS) $${srcdiroption} \
17096 || exit 1
17097 @endif readline
17099 .PHONY: all-readline maybe-all-readline
17100 maybe-all-readline:
17101 @if readline
17102 TARGET-readline=all
17103 maybe-all-readline: all-readline
17104 all-readline: configure-readline
17105 @r=`${PWD_COMMAND}`; export r; \
17106 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17107 $(SET_LIB_PATH) \
17108 $(HOST_EXPORTS) \
17109 (cd readline && $(MAKE) $(FLAGS_TO_PASS) \
17110 $(TARGET-readline))
17111 @endif readline
17113 .PHONY: check-readline maybe-check-readline
17114 maybe-check-readline:
17115 @if readline
17116 maybe-check-readline: check-readline
17118 check-readline:
17119 @r=`${PWD_COMMAND}`; export r; \
17120 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17121 $(SET_LIB_PATH) \
17122 $(HOST_EXPORTS) \
17123 (cd readline && $(MAKE) $(FLAGS_TO_PASS) check)
17125 @endif readline
17127 .PHONY: install-readline maybe-install-readline
17128 maybe-install-readline:
17129 @if readline
17130 maybe-install-readline: install-readline
17132 install-readline: installdirs
17133 @r=`${PWD_COMMAND}`; export r; \
17134 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17135 $(SET_LIB_PATH) \
17136 $(HOST_EXPORTS) \
17137 (cd readline && $(MAKE) $(FLAGS_TO_PASS) install)
17139 @endif readline
17141 # Other targets (info, dvi, etc.)
17143 .PHONY: maybe-info-readline info-readline
17144 maybe-info-readline:
17145 @if readline
17146 maybe-info-readline: info-readline
17148 info-readline: \
17149 configure-readline
17150 @[ -f ./readline/Makefile ] || exit 0; \
17151 r=`${PWD_COMMAND}`; export r; \
17152 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17153 $(SET_LIB_PATH) \
17154 $(HOST_EXPORTS) \
17155 for flag in $(EXTRA_HOST_FLAGS) ; do \
17156 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17157 done; \
17158 echo "Doing info in readline" ; \
17159 (cd readline && \
17160 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17161 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17162 "RANLIB=$${RANLIB}" \
17163 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17164 info) \
17165 || exit 1
17167 @endif readline
17169 .PHONY: maybe-dvi-readline dvi-readline
17170 maybe-dvi-readline:
17171 @if readline
17172 maybe-dvi-readline: dvi-readline
17174 dvi-readline: \
17175 configure-readline
17176 @[ -f ./readline/Makefile ] || exit 0; \
17177 r=`${PWD_COMMAND}`; export r; \
17178 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17179 $(SET_LIB_PATH) \
17180 $(HOST_EXPORTS) \
17181 for flag in $(EXTRA_HOST_FLAGS) ; do \
17182 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17183 done; \
17184 echo "Doing dvi in readline" ; \
17185 (cd readline && \
17186 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17187 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17188 "RANLIB=$${RANLIB}" \
17189 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17190 dvi) \
17191 || exit 1
17193 @endif readline
17195 .PHONY: maybe-html-readline html-readline
17196 maybe-html-readline:
17197 @if readline
17198 maybe-html-readline: html-readline
17200 html-readline: \
17201 configure-readline
17202 @[ -f ./readline/Makefile ] || exit 0; \
17203 r=`${PWD_COMMAND}`; export r; \
17204 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17205 $(SET_LIB_PATH) \
17206 $(HOST_EXPORTS) \
17207 for flag in $(EXTRA_HOST_FLAGS) ; do \
17208 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17209 done; \
17210 echo "Doing html in readline" ; \
17211 (cd readline && \
17212 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17213 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17214 "RANLIB=$${RANLIB}" \
17215 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17216 html) \
17217 || exit 1
17219 @endif readline
17221 .PHONY: maybe-TAGS-readline TAGS-readline
17222 maybe-TAGS-readline:
17223 @if readline
17224 maybe-TAGS-readline: TAGS-readline
17226 TAGS-readline: \
17227 configure-readline
17228 @[ -f ./readline/Makefile ] || exit 0; \
17229 r=`${PWD_COMMAND}`; export r; \
17230 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17231 $(SET_LIB_PATH) \
17232 $(HOST_EXPORTS) \
17233 for flag in $(EXTRA_HOST_FLAGS) ; do \
17234 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17235 done; \
17236 echo "Doing TAGS in readline" ; \
17237 (cd readline && \
17238 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17239 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17240 "RANLIB=$${RANLIB}" \
17241 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17242 TAGS) \
17243 || exit 1
17245 @endif readline
17247 .PHONY: maybe-install-info-readline install-info-readline
17248 maybe-install-info-readline:
17249 @if readline
17250 maybe-install-info-readline: install-info-readline
17252 install-info-readline: \
17253 configure-readline \
17254 info-readline
17255 @[ -f ./readline/Makefile ] || exit 0; \
17256 r=`${PWD_COMMAND}`; export r; \
17257 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17258 $(SET_LIB_PATH) \
17259 $(HOST_EXPORTS) \
17260 for flag in $(EXTRA_HOST_FLAGS) ; do \
17261 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17262 done; \
17263 echo "Doing install-info in readline" ; \
17264 (cd readline && \
17265 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17266 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17267 "RANLIB=$${RANLIB}" \
17268 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17269 install-info) \
17270 || exit 1
17272 @endif readline
17274 .PHONY: maybe-installcheck-readline installcheck-readline
17275 maybe-installcheck-readline:
17276 @if readline
17277 maybe-installcheck-readline: installcheck-readline
17279 installcheck-readline: \
17280 configure-readline
17281 @[ -f ./readline/Makefile ] || exit 0; \
17282 r=`${PWD_COMMAND}`; export r; \
17283 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17284 $(SET_LIB_PATH) \
17285 $(HOST_EXPORTS) \
17286 for flag in $(EXTRA_HOST_FLAGS) ; do \
17287 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17288 done; \
17289 echo "Doing installcheck in readline" ; \
17290 (cd readline && \
17291 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17292 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17293 "RANLIB=$${RANLIB}" \
17294 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17295 installcheck) \
17296 || exit 1
17298 @endif readline
17300 .PHONY: maybe-mostlyclean-readline mostlyclean-readline
17301 maybe-mostlyclean-readline:
17302 @if readline
17303 maybe-mostlyclean-readline: mostlyclean-readline
17305 mostlyclean-readline:
17306 @[ -f ./readline/Makefile ] || exit 0; \
17307 r=`${PWD_COMMAND}`; export r; \
17308 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17309 $(SET_LIB_PATH) \
17310 $(HOST_EXPORTS) \
17311 for flag in $(EXTRA_HOST_FLAGS) ; do \
17312 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17313 done; \
17314 echo "Doing mostlyclean in readline" ; \
17315 (cd readline && \
17316 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17317 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17318 "RANLIB=$${RANLIB}" \
17319 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17320 mostlyclean) \
17321 || exit 1
17323 @endif readline
17325 .PHONY: maybe-clean-readline clean-readline
17326 maybe-clean-readline:
17327 @if readline
17328 maybe-clean-readline: clean-readline
17330 clean-readline:
17331 @[ -f ./readline/Makefile ] || exit 0; \
17332 r=`${PWD_COMMAND}`; export r; \
17333 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17334 $(SET_LIB_PATH) \
17335 $(HOST_EXPORTS) \
17336 for flag in $(EXTRA_HOST_FLAGS) ; do \
17337 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17338 done; \
17339 echo "Doing clean in readline" ; \
17340 (cd readline && \
17341 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17342 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17343 "RANLIB=$${RANLIB}" \
17344 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17345 clean) \
17346 || exit 1
17348 @endif readline
17350 .PHONY: maybe-distclean-readline distclean-readline
17351 maybe-distclean-readline:
17352 @if readline
17353 maybe-distclean-readline: distclean-readline
17355 distclean-readline:
17356 @[ -f ./readline/Makefile ] || exit 0; \
17357 r=`${PWD_COMMAND}`; export r; \
17358 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17359 $(SET_LIB_PATH) \
17360 $(HOST_EXPORTS) \
17361 for flag in $(EXTRA_HOST_FLAGS) ; do \
17362 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17363 done; \
17364 echo "Doing distclean in readline" ; \
17365 (cd readline && \
17366 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17367 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17368 "RANLIB=$${RANLIB}" \
17369 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17370 distclean) \
17371 || exit 1
17373 @endif readline
17375 .PHONY: maybe-maintainer-clean-readline maintainer-clean-readline
17376 maybe-maintainer-clean-readline:
17377 @if readline
17378 maybe-maintainer-clean-readline: maintainer-clean-readline
17380 maintainer-clean-readline:
17381 @[ -f ./readline/Makefile ] || exit 0; \
17382 r=`${PWD_COMMAND}`; export r; \
17383 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17384 $(SET_LIB_PATH) \
17385 $(HOST_EXPORTS) \
17386 for flag in $(EXTRA_HOST_FLAGS) ; do \
17387 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17388 done; \
17389 echo "Doing maintainer-clean in readline" ; \
17390 (cd readline && \
17391 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17392 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17393 "RANLIB=$${RANLIB}" \
17394 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17395 maintainer-clean) \
17396 || exit 1
17398 @endif readline
17401 .PHONY: configure-release maybe-configure-release
17402 maybe-configure-release:
17403 @if release
17404 maybe-configure-release: configure-release
17405 configure-release:
17406 @test ! -f release/Makefile || exit 0; \
17407 [ -d release ] || mkdir release; \
17408 r=`${PWD_COMMAND}`; export r; \
17409 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17410 $(HOST_EXPORTS) \
17411 echo Configuring in release; \
17412 cd release || exit 1; \
17413 case $(srcdir) in \
17414 \.) \
17415 srcdiroption="--srcdir=."; \
17416 libsrcdir=".";; \
17417 /* | [A-Za-z]:[\\/]*) \
17418 srcdiroption="--srcdir=$(srcdir)/release"; \
17419 libsrcdir="$$s/release";; \
17420 *) \
17421 srcdiroption="--srcdir=../$(srcdir)/release"; \
17422 libsrcdir="$$s/release";; \
17423 esac; \
17424 $(SHELL) $${libsrcdir}/configure \
17425 $(HOST_CONFIGARGS) $${srcdiroption} \
17426 || exit 1
17427 @endif release
17429 .PHONY: all-release maybe-all-release
17430 maybe-all-release:
17431 @if release
17432 TARGET-release=all
17433 maybe-all-release: all-release
17434 all-release: configure-release
17435 @r=`${PWD_COMMAND}`; export r; \
17436 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17437 $(SET_LIB_PATH) \
17438 $(HOST_EXPORTS) \
17439 (cd release && $(MAKE) $(FLAGS_TO_PASS) \
17440 $(TARGET-release))
17441 @endif release
17443 .PHONY: check-release maybe-check-release
17444 maybe-check-release:
17445 @if release
17446 maybe-check-release: check-release
17448 check-release:
17450 @endif release
17452 .PHONY: install-release maybe-install-release
17453 maybe-install-release:
17454 @if release
17455 maybe-install-release: install-release
17457 install-release:
17459 @endif release
17461 # Other targets (info, dvi, etc.)
17463 .PHONY: maybe-info-release info-release
17464 maybe-info-release:
17465 @if release
17466 maybe-info-release: info-release
17468 info-release: \
17469 configure-release
17470 @[ -f ./release/Makefile ] || exit 0; \
17471 r=`${PWD_COMMAND}`; export r; \
17472 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17473 $(SET_LIB_PATH) \
17474 $(HOST_EXPORTS) \
17475 for flag in $(EXTRA_HOST_FLAGS) ; do \
17476 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17477 done; \
17478 echo "Doing info in release" ; \
17479 (cd release && \
17480 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17481 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17482 "RANLIB=$${RANLIB}" \
17483 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17484 info) \
17485 || exit 1
17487 @endif release
17489 .PHONY: maybe-dvi-release dvi-release
17490 maybe-dvi-release:
17491 @if release
17492 maybe-dvi-release: dvi-release
17494 dvi-release: \
17495 configure-release
17496 @[ -f ./release/Makefile ] || exit 0; \
17497 r=`${PWD_COMMAND}`; export r; \
17498 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17499 $(SET_LIB_PATH) \
17500 $(HOST_EXPORTS) \
17501 for flag in $(EXTRA_HOST_FLAGS) ; do \
17502 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17503 done; \
17504 echo "Doing dvi in release" ; \
17505 (cd release && \
17506 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17507 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17508 "RANLIB=$${RANLIB}" \
17509 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17510 dvi) \
17511 || exit 1
17513 @endif release
17515 .PHONY: maybe-html-release html-release
17516 maybe-html-release:
17517 @if release
17518 maybe-html-release: html-release
17520 html-release: \
17521 configure-release
17522 @[ -f ./release/Makefile ] || exit 0; \
17523 r=`${PWD_COMMAND}`; export r; \
17524 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17525 $(SET_LIB_PATH) \
17526 $(HOST_EXPORTS) \
17527 for flag in $(EXTRA_HOST_FLAGS) ; do \
17528 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17529 done; \
17530 echo "Doing html in release" ; \
17531 (cd release && \
17532 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17533 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17534 "RANLIB=$${RANLIB}" \
17535 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17536 html) \
17537 || exit 1
17539 @endif release
17541 .PHONY: maybe-TAGS-release TAGS-release
17542 maybe-TAGS-release:
17543 @if release
17544 maybe-TAGS-release: TAGS-release
17546 TAGS-release: \
17547 configure-release
17548 @[ -f ./release/Makefile ] || exit 0; \
17549 r=`${PWD_COMMAND}`; export r; \
17550 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17551 $(SET_LIB_PATH) \
17552 $(HOST_EXPORTS) \
17553 for flag in $(EXTRA_HOST_FLAGS) ; do \
17554 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17555 done; \
17556 echo "Doing TAGS in release" ; \
17557 (cd release && \
17558 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17559 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17560 "RANLIB=$${RANLIB}" \
17561 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17562 TAGS) \
17563 || exit 1
17565 @endif release
17567 .PHONY: maybe-install-info-release install-info-release
17568 maybe-install-info-release:
17569 @if release
17570 maybe-install-info-release: install-info-release
17572 install-info-release: \
17573 configure-release \
17574 info-release
17575 @[ -f ./release/Makefile ] || exit 0; \
17576 r=`${PWD_COMMAND}`; export r; \
17577 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17578 $(SET_LIB_PATH) \
17579 $(HOST_EXPORTS) \
17580 for flag in $(EXTRA_HOST_FLAGS) ; do \
17581 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17582 done; \
17583 echo "Doing install-info in release" ; \
17584 (cd release && \
17585 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17586 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17587 "RANLIB=$${RANLIB}" \
17588 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17589 install-info) \
17590 || exit 1
17592 @endif release
17594 .PHONY: maybe-installcheck-release installcheck-release
17595 maybe-installcheck-release:
17596 @if release
17597 maybe-installcheck-release: installcheck-release
17599 installcheck-release: \
17600 configure-release
17601 @[ -f ./release/Makefile ] || exit 0; \
17602 r=`${PWD_COMMAND}`; export r; \
17603 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17604 $(SET_LIB_PATH) \
17605 $(HOST_EXPORTS) \
17606 for flag in $(EXTRA_HOST_FLAGS) ; do \
17607 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17608 done; \
17609 echo "Doing installcheck in release" ; \
17610 (cd release && \
17611 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17612 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17613 "RANLIB=$${RANLIB}" \
17614 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17615 installcheck) \
17616 || exit 1
17618 @endif release
17620 .PHONY: maybe-mostlyclean-release mostlyclean-release
17621 maybe-mostlyclean-release:
17622 @if release
17623 maybe-mostlyclean-release: mostlyclean-release
17625 mostlyclean-release:
17626 @[ -f ./release/Makefile ] || exit 0; \
17627 r=`${PWD_COMMAND}`; export r; \
17628 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17629 $(SET_LIB_PATH) \
17630 $(HOST_EXPORTS) \
17631 for flag in $(EXTRA_HOST_FLAGS) ; do \
17632 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17633 done; \
17634 echo "Doing mostlyclean in release" ; \
17635 (cd release && \
17636 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17637 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17638 "RANLIB=$${RANLIB}" \
17639 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17640 mostlyclean) \
17641 || exit 1
17643 @endif release
17645 .PHONY: maybe-clean-release clean-release
17646 maybe-clean-release:
17647 @if release
17648 maybe-clean-release: clean-release
17650 clean-release:
17651 @[ -f ./release/Makefile ] || exit 0; \
17652 r=`${PWD_COMMAND}`; export r; \
17653 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17654 $(SET_LIB_PATH) \
17655 $(HOST_EXPORTS) \
17656 for flag in $(EXTRA_HOST_FLAGS) ; do \
17657 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17658 done; \
17659 echo "Doing clean in release" ; \
17660 (cd release && \
17661 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17662 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17663 "RANLIB=$${RANLIB}" \
17664 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17665 clean) \
17666 || exit 1
17668 @endif release
17670 .PHONY: maybe-distclean-release distclean-release
17671 maybe-distclean-release:
17672 @if release
17673 maybe-distclean-release: distclean-release
17675 distclean-release:
17676 @[ -f ./release/Makefile ] || exit 0; \
17677 r=`${PWD_COMMAND}`; export r; \
17678 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17679 $(SET_LIB_PATH) \
17680 $(HOST_EXPORTS) \
17681 for flag in $(EXTRA_HOST_FLAGS) ; do \
17682 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17683 done; \
17684 echo "Doing distclean in release" ; \
17685 (cd release && \
17686 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17687 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17688 "RANLIB=$${RANLIB}" \
17689 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17690 distclean) \
17691 || exit 1
17693 @endif release
17695 .PHONY: maybe-maintainer-clean-release maintainer-clean-release
17696 maybe-maintainer-clean-release:
17697 @if release
17698 maybe-maintainer-clean-release: maintainer-clean-release
17700 maintainer-clean-release:
17701 @[ -f ./release/Makefile ] || exit 0; \
17702 r=`${PWD_COMMAND}`; export r; \
17703 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17704 $(SET_LIB_PATH) \
17705 $(HOST_EXPORTS) \
17706 for flag in $(EXTRA_HOST_FLAGS) ; do \
17707 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17708 done; \
17709 echo "Doing maintainer-clean in release" ; \
17710 (cd release && \
17711 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17712 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17713 "RANLIB=$${RANLIB}" \
17714 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17715 maintainer-clean) \
17716 || exit 1
17718 @endif release
17721 .PHONY: configure-recode maybe-configure-recode
17722 maybe-configure-recode:
17723 @if recode
17724 maybe-configure-recode: configure-recode
17725 configure-recode:
17726 @test ! -f recode/Makefile || exit 0; \
17727 [ -d recode ] || mkdir recode; \
17728 r=`${PWD_COMMAND}`; export r; \
17729 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17730 $(HOST_EXPORTS) \
17731 echo Configuring in recode; \
17732 cd recode || exit 1; \
17733 case $(srcdir) in \
17734 \.) \
17735 srcdiroption="--srcdir=."; \
17736 libsrcdir=".";; \
17737 /* | [A-Za-z]:[\\/]*) \
17738 srcdiroption="--srcdir=$(srcdir)/recode"; \
17739 libsrcdir="$$s/recode";; \
17740 *) \
17741 srcdiroption="--srcdir=../$(srcdir)/recode"; \
17742 libsrcdir="$$s/recode";; \
17743 esac; \
17744 $(SHELL) $${libsrcdir}/configure \
17745 $(HOST_CONFIGARGS) $${srcdiroption} \
17746 || exit 1
17747 @endif recode
17749 .PHONY: all-recode maybe-all-recode
17750 maybe-all-recode:
17751 @if recode
17752 TARGET-recode=all
17753 maybe-all-recode: all-recode
17754 all-recode: configure-recode
17755 @r=`${PWD_COMMAND}`; export r; \
17756 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17757 $(SET_LIB_PATH) \
17758 $(HOST_EXPORTS) \
17759 (cd recode && $(MAKE) $(FLAGS_TO_PASS) \
17760 $(TARGET-recode))
17761 @endif recode
17763 .PHONY: check-recode maybe-check-recode
17764 maybe-check-recode:
17765 @if recode
17766 maybe-check-recode: check-recode
17768 check-recode:
17769 @r=`${PWD_COMMAND}`; export r; \
17770 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17771 $(SET_LIB_PATH) \
17772 $(HOST_EXPORTS) \
17773 (cd recode && $(MAKE) $(FLAGS_TO_PASS) check)
17775 @endif recode
17777 .PHONY: install-recode maybe-install-recode
17778 maybe-install-recode:
17779 @if recode
17780 maybe-install-recode: install-recode
17782 install-recode: installdirs
17783 @r=`${PWD_COMMAND}`; export r; \
17784 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17785 $(SET_LIB_PATH) \
17786 $(HOST_EXPORTS) \
17787 (cd recode && $(MAKE) $(FLAGS_TO_PASS) install)
17789 @endif recode
17791 # Other targets (info, dvi, etc.)
17793 .PHONY: maybe-info-recode info-recode
17794 maybe-info-recode:
17795 @if recode
17796 maybe-info-recode: info-recode
17798 info-recode: \
17799 configure-recode
17800 @[ -f ./recode/Makefile ] || exit 0; \
17801 r=`${PWD_COMMAND}`; export r; \
17802 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17803 $(SET_LIB_PATH) \
17804 $(HOST_EXPORTS) \
17805 for flag in $(EXTRA_HOST_FLAGS) ; do \
17806 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17807 done; \
17808 echo "Doing info in recode" ; \
17809 (cd recode && \
17810 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17811 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17812 "RANLIB=$${RANLIB}" \
17813 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17814 info) \
17815 || exit 1
17817 @endif recode
17819 .PHONY: maybe-dvi-recode dvi-recode
17820 maybe-dvi-recode:
17821 @if recode
17822 maybe-dvi-recode: dvi-recode
17824 dvi-recode: \
17825 configure-recode
17826 @[ -f ./recode/Makefile ] || exit 0; \
17827 r=`${PWD_COMMAND}`; export r; \
17828 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17829 $(SET_LIB_PATH) \
17830 $(HOST_EXPORTS) \
17831 for flag in $(EXTRA_HOST_FLAGS) ; do \
17832 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17833 done; \
17834 echo "Doing dvi in recode" ; \
17835 (cd recode && \
17836 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17837 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17838 "RANLIB=$${RANLIB}" \
17839 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17840 dvi) \
17841 || exit 1
17843 @endif recode
17845 .PHONY: maybe-html-recode html-recode
17846 maybe-html-recode:
17847 @if recode
17848 maybe-html-recode: html-recode
17850 html-recode: \
17851 configure-recode
17852 @[ -f ./recode/Makefile ] || exit 0; \
17853 r=`${PWD_COMMAND}`; export r; \
17854 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17855 $(SET_LIB_PATH) \
17856 $(HOST_EXPORTS) \
17857 for flag in $(EXTRA_HOST_FLAGS) ; do \
17858 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17859 done; \
17860 echo "Doing html in recode" ; \
17861 (cd recode && \
17862 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17863 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17864 "RANLIB=$${RANLIB}" \
17865 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17866 html) \
17867 || exit 1
17869 @endif recode
17871 .PHONY: maybe-TAGS-recode TAGS-recode
17872 maybe-TAGS-recode:
17873 @if recode
17874 maybe-TAGS-recode: TAGS-recode
17876 TAGS-recode: \
17877 configure-recode
17878 @[ -f ./recode/Makefile ] || exit 0; \
17879 r=`${PWD_COMMAND}`; export r; \
17880 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17881 $(SET_LIB_PATH) \
17882 $(HOST_EXPORTS) \
17883 for flag in $(EXTRA_HOST_FLAGS) ; do \
17884 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17885 done; \
17886 echo "Doing TAGS in recode" ; \
17887 (cd recode && \
17888 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17889 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17890 "RANLIB=$${RANLIB}" \
17891 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17892 TAGS) \
17893 || exit 1
17895 @endif recode
17897 .PHONY: maybe-install-info-recode install-info-recode
17898 maybe-install-info-recode:
17899 @if recode
17900 maybe-install-info-recode: install-info-recode
17902 install-info-recode: \
17903 configure-recode \
17904 info-recode
17905 @[ -f ./recode/Makefile ] || exit 0; \
17906 r=`${PWD_COMMAND}`; export r; \
17907 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17908 $(SET_LIB_PATH) \
17909 $(HOST_EXPORTS) \
17910 for flag in $(EXTRA_HOST_FLAGS) ; do \
17911 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17912 done; \
17913 echo "Doing install-info in recode" ; \
17914 (cd recode && \
17915 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17916 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17917 "RANLIB=$${RANLIB}" \
17918 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17919 install-info) \
17920 || exit 1
17922 @endif recode
17924 .PHONY: maybe-installcheck-recode installcheck-recode
17925 maybe-installcheck-recode:
17926 @if recode
17927 maybe-installcheck-recode: installcheck-recode
17929 installcheck-recode: \
17930 configure-recode
17931 @[ -f ./recode/Makefile ] || exit 0; \
17932 r=`${PWD_COMMAND}`; export r; \
17933 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17934 $(SET_LIB_PATH) \
17935 $(HOST_EXPORTS) \
17936 for flag in $(EXTRA_HOST_FLAGS) ; do \
17937 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17938 done; \
17939 echo "Doing installcheck in recode" ; \
17940 (cd recode && \
17941 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17942 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17943 "RANLIB=$${RANLIB}" \
17944 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17945 installcheck) \
17946 || exit 1
17948 @endif recode
17950 .PHONY: maybe-mostlyclean-recode mostlyclean-recode
17951 maybe-mostlyclean-recode:
17952 @if recode
17953 maybe-mostlyclean-recode: mostlyclean-recode
17955 mostlyclean-recode:
17956 @[ -f ./recode/Makefile ] || exit 0; \
17957 r=`${PWD_COMMAND}`; export r; \
17958 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17959 $(SET_LIB_PATH) \
17960 $(HOST_EXPORTS) \
17961 for flag in $(EXTRA_HOST_FLAGS) ; do \
17962 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17963 done; \
17964 echo "Doing mostlyclean in recode" ; \
17965 (cd recode && \
17966 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17967 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17968 "RANLIB=$${RANLIB}" \
17969 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17970 mostlyclean) \
17971 || exit 1
17973 @endif recode
17975 .PHONY: maybe-clean-recode clean-recode
17976 maybe-clean-recode:
17977 @if recode
17978 maybe-clean-recode: clean-recode
17980 clean-recode:
17981 @[ -f ./recode/Makefile ] || exit 0; \
17982 r=`${PWD_COMMAND}`; export r; \
17983 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17984 $(SET_LIB_PATH) \
17985 $(HOST_EXPORTS) \
17986 for flag in $(EXTRA_HOST_FLAGS) ; do \
17987 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17988 done; \
17989 echo "Doing clean in recode" ; \
17990 (cd recode && \
17991 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17992 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17993 "RANLIB=$${RANLIB}" \
17994 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17995 clean) \
17996 || exit 1
17998 @endif recode
18000 .PHONY: maybe-distclean-recode distclean-recode
18001 maybe-distclean-recode:
18002 @if recode
18003 maybe-distclean-recode: distclean-recode
18005 distclean-recode:
18006 @[ -f ./recode/Makefile ] || exit 0; \
18007 r=`${PWD_COMMAND}`; export r; \
18008 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18009 $(SET_LIB_PATH) \
18010 $(HOST_EXPORTS) \
18011 for flag in $(EXTRA_HOST_FLAGS) ; do \
18012 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18013 done; \
18014 echo "Doing distclean in recode" ; \
18015 (cd recode && \
18016 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18017 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18018 "RANLIB=$${RANLIB}" \
18019 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18020 distclean) \
18021 || exit 1
18023 @endif recode
18025 .PHONY: maybe-maintainer-clean-recode maintainer-clean-recode
18026 maybe-maintainer-clean-recode:
18027 @if recode
18028 maybe-maintainer-clean-recode: maintainer-clean-recode
18030 maintainer-clean-recode:
18031 @[ -f ./recode/Makefile ] || exit 0; \
18032 r=`${PWD_COMMAND}`; export r; \
18033 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18034 $(SET_LIB_PATH) \
18035 $(HOST_EXPORTS) \
18036 for flag in $(EXTRA_HOST_FLAGS) ; do \
18037 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18038 done; \
18039 echo "Doing maintainer-clean in recode" ; \
18040 (cd recode && \
18041 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18042 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18043 "RANLIB=$${RANLIB}" \
18044 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18045 maintainer-clean) \
18046 || exit 1
18048 @endif recode
18051 .PHONY: configure-sed maybe-configure-sed
18052 maybe-configure-sed:
18053 @if sed
18054 maybe-configure-sed: configure-sed
18055 configure-sed:
18056 @test ! -f sed/Makefile || exit 0; \
18057 [ -d sed ] || mkdir sed; \
18058 r=`${PWD_COMMAND}`; export r; \
18059 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18060 $(HOST_EXPORTS) \
18061 echo Configuring in sed; \
18062 cd sed || exit 1; \
18063 case $(srcdir) in \
18064 \.) \
18065 srcdiroption="--srcdir=."; \
18066 libsrcdir=".";; \
18067 /* | [A-Za-z]:[\\/]*) \
18068 srcdiroption="--srcdir=$(srcdir)/sed"; \
18069 libsrcdir="$$s/sed";; \
18070 *) \
18071 srcdiroption="--srcdir=../$(srcdir)/sed"; \
18072 libsrcdir="$$s/sed";; \
18073 esac; \
18074 $(SHELL) $${libsrcdir}/configure \
18075 $(HOST_CONFIGARGS) $${srcdiroption} \
18076 || exit 1
18077 @endif sed
18079 .PHONY: all-sed maybe-all-sed
18080 maybe-all-sed:
18081 @if sed
18082 TARGET-sed=all
18083 maybe-all-sed: all-sed
18084 all-sed: configure-sed
18085 @r=`${PWD_COMMAND}`; export r; \
18086 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18087 $(SET_LIB_PATH) \
18088 $(HOST_EXPORTS) \
18089 (cd sed && $(MAKE) $(FLAGS_TO_PASS) \
18090 $(TARGET-sed))
18091 @endif sed
18093 .PHONY: check-sed maybe-check-sed
18094 maybe-check-sed:
18095 @if sed
18096 maybe-check-sed: check-sed
18098 check-sed:
18099 @r=`${PWD_COMMAND}`; export r; \
18100 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18101 $(SET_LIB_PATH) \
18102 $(HOST_EXPORTS) \
18103 (cd sed && $(MAKE) $(FLAGS_TO_PASS) check)
18105 @endif sed
18107 .PHONY: install-sed maybe-install-sed
18108 maybe-install-sed:
18109 @if sed
18110 maybe-install-sed: install-sed
18112 install-sed: installdirs
18113 @r=`${PWD_COMMAND}`; export r; \
18114 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18115 $(SET_LIB_PATH) \
18116 $(HOST_EXPORTS) \
18117 (cd sed && $(MAKE) $(FLAGS_TO_PASS) install)
18119 @endif sed
18121 # Other targets (info, dvi, etc.)
18123 .PHONY: maybe-info-sed info-sed
18124 maybe-info-sed:
18125 @if sed
18126 maybe-info-sed: info-sed
18128 info-sed: \
18129 configure-sed
18130 @[ -f ./sed/Makefile ] || exit 0; \
18131 r=`${PWD_COMMAND}`; export r; \
18132 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18133 $(SET_LIB_PATH) \
18134 $(HOST_EXPORTS) \
18135 for flag in $(EXTRA_HOST_FLAGS) ; do \
18136 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18137 done; \
18138 echo "Doing info in sed" ; \
18139 (cd sed && \
18140 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18141 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18142 "RANLIB=$${RANLIB}" \
18143 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18144 info) \
18145 || exit 1
18147 @endif sed
18149 .PHONY: maybe-dvi-sed dvi-sed
18150 maybe-dvi-sed:
18151 @if sed
18152 maybe-dvi-sed: dvi-sed
18154 dvi-sed: \
18155 configure-sed
18156 @[ -f ./sed/Makefile ] || exit 0; \
18157 r=`${PWD_COMMAND}`; export r; \
18158 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18159 $(SET_LIB_PATH) \
18160 $(HOST_EXPORTS) \
18161 for flag in $(EXTRA_HOST_FLAGS) ; do \
18162 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18163 done; \
18164 echo "Doing dvi in sed" ; \
18165 (cd sed && \
18166 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18167 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18168 "RANLIB=$${RANLIB}" \
18169 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18170 dvi) \
18171 || exit 1
18173 @endif sed
18175 .PHONY: maybe-html-sed html-sed
18176 maybe-html-sed:
18177 @if sed
18178 maybe-html-sed: html-sed
18180 html-sed: \
18181 configure-sed
18182 @[ -f ./sed/Makefile ] || exit 0; \
18183 r=`${PWD_COMMAND}`; export r; \
18184 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18185 $(SET_LIB_PATH) \
18186 $(HOST_EXPORTS) \
18187 for flag in $(EXTRA_HOST_FLAGS) ; do \
18188 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18189 done; \
18190 echo "Doing html in sed" ; \
18191 (cd sed && \
18192 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18193 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18194 "RANLIB=$${RANLIB}" \
18195 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18196 html) \
18197 || exit 1
18199 @endif sed
18201 .PHONY: maybe-TAGS-sed TAGS-sed
18202 maybe-TAGS-sed:
18203 @if sed
18204 maybe-TAGS-sed: TAGS-sed
18206 TAGS-sed: \
18207 configure-sed
18208 @[ -f ./sed/Makefile ] || exit 0; \
18209 r=`${PWD_COMMAND}`; export r; \
18210 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18211 $(SET_LIB_PATH) \
18212 $(HOST_EXPORTS) \
18213 for flag in $(EXTRA_HOST_FLAGS) ; do \
18214 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18215 done; \
18216 echo "Doing TAGS in sed" ; \
18217 (cd sed && \
18218 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18219 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18220 "RANLIB=$${RANLIB}" \
18221 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18222 TAGS) \
18223 || exit 1
18225 @endif sed
18227 .PHONY: maybe-install-info-sed install-info-sed
18228 maybe-install-info-sed:
18229 @if sed
18230 maybe-install-info-sed: install-info-sed
18232 install-info-sed: \
18233 configure-sed \
18234 info-sed
18235 @[ -f ./sed/Makefile ] || exit 0; \
18236 r=`${PWD_COMMAND}`; export r; \
18237 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18238 $(SET_LIB_PATH) \
18239 $(HOST_EXPORTS) \
18240 for flag in $(EXTRA_HOST_FLAGS) ; do \
18241 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18242 done; \
18243 echo "Doing install-info in sed" ; \
18244 (cd sed && \
18245 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18246 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18247 "RANLIB=$${RANLIB}" \
18248 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18249 install-info) \
18250 || exit 1
18252 @endif sed
18254 .PHONY: maybe-installcheck-sed installcheck-sed
18255 maybe-installcheck-sed:
18256 @if sed
18257 maybe-installcheck-sed: installcheck-sed
18259 installcheck-sed: \
18260 configure-sed
18261 @[ -f ./sed/Makefile ] || exit 0; \
18262 r=`${PWD_COMMAND}`; export r; \
18263 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18264 $(SET_LIB_PATH) \
18265 $(HOST_EXPORTS) \
18266 for flag in $(EXTRA_HOST_FLAGS) ; do \
18267 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18268 done; \
18269 echo "Doing installcheck in sed" ; \
18270 (cd sed && \
18271 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18272 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18273 "RANLIB=$${RANLIB}" \
18274 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18275 installcheck) \
18276 || exit 1
18278 @endif sed
18280 .PHONY: maybe-mostlyclean-sed mostlyclean-sed
18281 maybe-mostlyclean-sed:
18282 @if sed
18283 maybe-mostlyclean-sed: mostlyclean-sed
18285 mostlyclean-sed:
18286 @[ -f ./sed/Makefile ] || exit 0; \
18287 r=`${PWD_COMMAND}`; export r; \
18288 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18289 $(SET_LIB_PATH) \
18290 $(HOST_EXPORTS) \
18291 for flag in $(EXTRA_HOST_FLAGS) ; do \
18292 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18293 done; \
18294 echo "Doing mostlyclean in sed" ; \
18295 (cd sed && \
18296 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18297 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18298 "RANLIB=$${RANLIB}" \
18299 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18300 mostlyclean) \
18301 || exit 1
18303 @endif sed
18305 .PHONY: maybe-clean-sed clean-sed
18306 maybe-clean-sed:
18307 @if sed
18308 maybe-clean-sed: clean-sed
18310 clean-sed:
18311 @[ -f ./sed/Makefile ] || exit 0; \
18312 r=`${PWD_COMMAND}`; export r; \
18313 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18314 $(SET_LIB_PATH) \
18315 $(HOST_EXPORTS) \
18316 for flag in $(EXTRA_HOST_FLAGS) ; do \
18317 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18318 done; \
18319 echo "Doing clean in sed" ; \
18320 (cd sed && \
18321 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18322 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18323 "RANLIB=$${RANLIB}" \
18324 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18325 clean) \
18326 || exit 1
18328 @endif sed
18330 .PHONY: maybe-distclean-sed distclean-sed
18331 maybe-distclean-sed:
18332 @if sed
18333 maybe-distclean-sed: distclean-sed
18335 distclean-sed:
18336 @[ -f ./sed/Makefile ] || exit 0; \
18337 r=`${PWD_COMMAND}`; export r; \
18338 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18339 $(SET_LIB_PATH) \
18340 $(HOST_EXPORTS) \
18341 for flag in $(EXTRA_HOST_FLAGS) ; do \
18342 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18343 done; \
18344 echo "Doing distclean in sed" ; \
18345 (cd sed && \
18346 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18347 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18348 "RANLIB=$${RANLIB}" \
18349 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18350 distclean) \
18351 || exit 1
18353 @endif sed
18355 .PHONY: maybe-maintainer-clean-sed maintainer-clean-sed
18356 maybe-maintainer-clean-sed:
18357 @if sed
18358 maybe-maintainer-clean-sed: maintainer-clean-sed
18360 maintainer-clean-sed:
18361 @[ -f ./sed/Makefile ] || exit 0; \
18362 r=`${PWD_COMMAND}`; export r; \
18363 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18364 $(SET_LIB_PATH) \
18365 $(HOST_EXPORTS) \
18366 for flag in $(EXTRA_HOST_FLAGS) ; do \
18367 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18368 done; \
18369 echo "Doing maintainer-clean in sed" ; \
18370 (cd sed && \
18371 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18372 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18373 "RANLIB=$${RANLIB}" \
18374 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18375 maintainer-clean) \
18376 || exit 1
18378 @endif sed
18381 .PHONY: configure-send-pr maybe-configure-send-pr
18382 maybe-configure-send-pr:
18383 @if send-pr
18384 maybe-configure-send-pr: configure-send-pr
18385 configure-send-pr:
18386 @test ! -f send-pr/Makefile || exit 0; \
18387 [ -d send-pr ] || mkdir send-pr; \
18388 r=`${PWD_COMMAND}`; export r; \
18389 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18390 $(HOST_EXPORTS) \
18391 echo Configuring in send-pr; \
18392 cd send-pr || exit 1; \
18393 case $(srcdir) in \
18394 \.) \
18395 srcdiroption="--srcdir=."; \
18396 libsrcdir=".";; \
18397 /* | [A-Za-z]:[\\/]*) \
18398 srcdiroption="--srcdir=$(srcdir)/send-pr"; \
18399 libsrcdir="$$s/send-pr";; \
18400 *) \
18401 srcdiroption="--srcdir=../$(srcdir)/send-pr"; \
18402 libsrcdir="$$s/send-pr";; \
18403 esac; \
18404 $(SHELL) $${libsrcdir}/configure \
18405 $(HOST_CONFIGARGS) $${srcdiroption} \
18406 || exit 1
18407 @endif send-pr
18409 .PHONY: all-send-pr maybe-all-send-pr
18410 maybe-all-send-pr:
18411 @if send-pr
18412 TARGET-send-pr=all
18413 maybe-all-send-pr: all-send-pr
18414 all-send-pr: configure-send-pr
18415 @r=`${PWD_COMMAND}`; export r; \
18416 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18417 $(SET_LIB_PATH) \
18418 $(HOST_EXPORTS) \
18419 (cd send-pr && $(MAKE) $(FLAGS_TO_PASS) \
18420 $(TARGET-send-pr))
18421 @endif send-pr
18423 .PHONY: check-send-pr maybe-check-send-pr
18424 maybe-check-send-pr:
18425 @if send-pr
18426 maybe-check-send-pr: check-send-pr
18428 check-send-pr:
18429 @r=`${PWD_COMMAND}`; export r; \
18430 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18431 $(SET_LIB_PATH) \
18432 $(HOST_EXPORTS) \
18433 (cd send-pr && $(MAKE) $(FLAGS_TO_PASS) check)
18435 @endif send-pr
18437 .PHONY: install-send-pr maybe-install-send-pr
18438 maybe-install-send-pr:
18439 @if send-pr
18440 maybe-install-send-pr: install-send-pr
18442 install-send-pr: installdirs
18443 @r=`${PWD_COMMAND}`; export r; \
18444 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18445 $(SET_LIB_PATH) \
18446 $(HOST_EXPORTS) \
18447 (cd send-pr && $(MAKE) $(FLAGS_TO_PASS) install)
18449 @endif send-pr
18451 # Other targets (info, dvi, etc.)
18453 .PHONY: maybe-info-send-pr info-send-pr
18454 maybe-info-send-pr:
18455 @if send-pr
18456 maybe-info-send-pr: info-send-pr
18458 info-send-pr: \
18459 configure-send-pr
18460 @[ -f ./send-pr/Makefile ] || exit 0; \
18461 r=`${PWD_COMMAND}`; export r; \
18462 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18463 $(SET_LIB_PATH) \
18464 $(HOST_EXPORTS) \
18465 for flag in $(EXTRA_HOST_FLAGS) ; do \
18466 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18467 done; \
18468 echo "Doing info in send-pr" ; \
18469 (cd send-pr && \
18470 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18471 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18472 "RANLIB=$${RANLIB}" \
18473 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18474 info) \
18475 || exit 1
18477 @endif send-pr
18479 .PHONY: maybe-dvi-send-pr dvi-send-pr
18480 maybe-dvi-send-pr:
18481 @if send-pr
18482 maybe-dvi-send-pr: dvi-send-pr
18484 dvi-send-pr: \
18485 configure-send-pr
18486 @[ -f ./send-pr/Makefile ] || exit 0; \
18487 r=`${PWD_COMMAND}`; export r; \
18488 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18489 $(SET_LIB_PATH) \
18490 $(HOST_EXPORTS) \
18491 for flag in $(EXTRA_HOST_FLAGS) ; do \
18492 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18493 done; \
18494 echo "Doing dvi in send-pr" ; \
18495 (cd send-pr && \
18496 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18497 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18498 "RANLIB=$${RANLIB}" \
18499 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18500 dvi) \
18501 || exit 1
18503 @endif send-pr
18505 .PHONY: maybe-html-send-pr html-send-pr
18506 maybe-html-send-pr:
18507 @if send-pr
18508 maybe-html-send-pr: html-send-pr
18510 html-send-pr: \
18511 configure-send-pr
18512 @[ -f ./send-pr/Makefile ] || exit 0; \
18513 r=`${PWD_COMMAND}`; export r; \
18514 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18515 $(SET_LIB_PATH) \
18516 $(HOST_EXPORTS) \
18517 for flag in $(EXTRA_HOST_FLAGS) ; do \
18518 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18519 done; \
18520 echo "Doing html in send-pr" ; \
18521 (cd send-pr && \
18522 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18523 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18524 "RANLIB=$${RANLIB}" \
18525 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18526 html) \
18527 || exit 1
18529 @endif send-pr
18531 .PHONY: maybe-TAGS-send-pr TAGS-send-pr
18532 maybe-TAGS-send-pr:
18533 @if send-pr
18534 maybe-TAGS-send-pr: TAGS-send-pr
18536 TAGS-send-pr: \
18537 configure-send-pr
18538 @[ -f ./send-pr/Makefile ] || exit 0; \
18539 r=`${PWD_COMMAND}`; export r; \
18540 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18541 $(SET_LIB_PATH) \
18542 $(HOST_EXPORTS) \
18543 for flag in $(EXTRA_HOST_FLAGS) ; do \
18544 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18545 done; \
18546 echo "Doing TAGS in send-pr" ; \
18547 (cd send-pr && \
18548 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18549 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18550 "RANLIB=$${RANLIB}" \
18551 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18552 TAGS) \
18553 || exit 1
18555 @endif send-pr
18557 .PHONY: maybe-install-info-send-pr install-info-send-pr
18558 maybe-install-info-send-pr:
18559 @if send-pr
18560 maybe-install-info-send-pr: install-info-send-pr
18562 install-info-send-pr: \
18563 configure-send-pr \
18564 info-send-pr
18565 @[ -f ./send-pr/Makefile ] || exit 0; \
18566 r=`${PWD_COMMAND}`; export r; \
18567 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18568 $(SET_LIB_PATH) \
18569 $(HOST_EXPORTS) \
18570 for flag in $(EXTRA_HOST_FLAGS) ; do \
18571 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18572 done; \
18573 echo "Doing install-info in send-pr" ; \
18574 (cd send-pr && \
18575 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18576 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18577 "RANLIB=$${RANLIB}" \
18578 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18579 install-info) \
18580 || exit 1
18582 @endif send-pr
18584 .PHONY: maybe-installcheck-send-pr installcheck-send-pr
18585 maybe-installcheck-send-pr:
18586 @if send-pr
18587 maybe-installcheck-send-pr: installcheck-send-pr
18589 installcheck-send-pr: \
18590 configure-send-pr
18591 @[ -f ./send-pr/Makefile ] || exit 0; \
18592 r=`${PWD_COMMAND}`; export r; \
18593 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18594 $(SET_LIB_PATH) \
18595 $(HOST_EXPORTS) \
18596 for flag in $(EXTRA_HOST_FLAGS) ; do \
18597 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18598 done; \
18599 echo "Doing installcheck in send-pr" ; \
18600 (cd send-pr && \
18601 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18602 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18603 "RANLIB=$${RANLIB}" \
18604 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18605 installcheck) \
18606 || exit 1
18608 @endif send-pr
18610 .PHONY: maybe-mostlyclean-send-pr mostlyclean-send-pr
18611 maybe-mostlyclean-send-pr:
18612 @if send-pr
18613 maybe-mostlyclean-send-pr: mostlyclean-send-pr
18615 mostlyclean-send-pr:
18616 @[ -f ./send-pr/Makefile ] || exit 0; \
18617 r=`${PWD_COMMAND}`; export r; \
18618 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18619 $(SET_LIB_PATH) \
18620 $(HOST_EXPORTS) \
18621 for flag in $(EXTRA_HOST_FLAGS) ; do \
18622 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18623 done; \
18624 echo "Doing mostlyclean in send-pr" ; \
18625 (cd send-pr && \
18626 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18627 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18628 "RANLIB=$${RANLIB}" \
18629 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18630 mostlyclean) \
18631 || exit 1
18633 @endif send-pr
18635 .PHONY: maybe-clean-send-pr clean-send-pr
18636 maybe-clean-send-pr:
18637 @if send-pr
18638 maybe-clean-send-pr: clean-send-pr
18640 clean-send-pr:
18641 @[ -f ./send-pr/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 clean in send-pr" ; \
18650 (cd send-pr && \
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 clean) \
18656 || exit 1
18658 @endif send-pr
18660 .PHONY: maybe-distclean-send-pr distclean-send-pr
18661 maybe-distclean-send-pr:
18662 @if send-pr
18663 maybe-distclean-send-pr: distclean-send-pr
18665 distclean-send-pr:
18666 @[ -f ./send-pr/Makefile ] || exit 0; \
18667 r=`${PWD_COMMAND}`; export r; \
18668 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18669 $(SET_LIB_PATH) \
18670 $(HOST_EXPORTS) \
18671 for flag in $(EXTRA_HOST_FLAGS) ; do \
18672 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18673 done; \
18674 echo "Doing distclean in send-pr" ; \
18675 (cd send-pr && \
18676 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18677 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18678 "RANLIB=$${RANLIB}" \
18679 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18680 distclean) \
18681 || exit 1
18683 @endif send-pr
18685 .PHONY: maybe-maintainer-clean-send-pr maintainer-clean-send-pr
18686 maybe-maintainer-clean-send-pr:
18687 @if send-pr
18688 maybe-maintainer-clean-send-pr: maintainer-clean-send-pr
18690 maintainer-clean-send-pr:
18691 @[ -f ./send-pr/Makefile ] || exit 0; \
18692 r=`${PWD_COMMAND}`; export r; \
18693 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18694 $(SET_LIB_PATH) \
18695 $(HOST_EXPORTS) \
18696 for flag in $(EXTRA_HOST_FLAGS) ; do \
18697 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18698 done; \
18699 echo "Doing maintainer-clean in send-pr" ; \
18700 (cd send-pr && \
18701 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18702 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18703 "RANLIB=$${RANLIB}" \
18704 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18705 maintainer-clean) \
18706 || exit 1
18708 @endif send-pr
18711 .PHONY: configure-shellutils maybe-configure-shellutils
18712 maybe-configure-shellutils:
18713 @if shellutils
18714 maybe-configure-shellutils: configure-shellutils
18715 configure-shellutils:
18716 @test ! -f shellutils/Makefile || exit 0; \
18717 [ -d shellutils ] || mkdir shellutils; \
18718 r=`${PWD_COMMAND}`; export r; \
18719 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18720 $(HOST_EXPORTS) \
18721 echo Configuring in shellutils; \
18722 cd shellutils || exit 1; \
18723 case $(srcdir) in \
18724 \.) \
18725 srcdiroption="--srcdir=."; \
18726 libsrcdir=".";; \
18727 /* | [A-Za-z]:[\\/]*) \
18728 srcdiroption="--srcdir=$(srcdir)/shellutils"; \
18729 libsrcdir="$$s/shellutils";; \
18730 *) \
18731 srcdiroption="--srcdir=../$(srcdir)/shellutils"; \
18732 libsrcdir="$$s/shellutils";; \
18733 esac; \
18734 $(SHELL) $${libsrcdir}/configure \
18735 $(HOST_CONFIGARGS) $${srcdiroption} \
18736 || exit 1
18737 @endif shellutils
18739 .PHONY: all-shellutils maybe-all-shellutils
18740 maybe-all-shellutils:
18741 @if shellutils
18742 TARGET-shellutils=all
18743 maybe-all-shellutils: all-shellutils
18744 all-shellutils: configure-shellutils
18745 @r=`${PWD_COMMAND}`; export r; \
18746 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18747 $(SET_LIB_PATH) \
18748 $(HOST_EXPORTS) \
18749 (cd shellutils && $(MAKE) $(FLAGS_TO_PASS) \
18750 $(TARGET-shellutils))
18751 @endif shellutils
18753 .PHONY: check-shellutils maybe-check-shellutils
18754 maybe-check-shellutils:
18755 @if shellutils
18756 maybe-check-shellutils: check-shellutils
18758 check-shellutils:
18759 @r=`${PWD_COMMAND}`; export r; \
18760 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18761 $(SET_LIB_PATH) \
18762 $(HOST_EXPORTS) \
18763 (cd shellutils && $(MAKE) $(FLAGS_TO_PASS) check)
18765 @endif shellutils
18767 .PHONY: install-shellutils maybe-install-shellutils
18768 maybe-install-shellutils:
18769 @if shellutils
18770 maybe-install-shellutils: install-shellutils
18772 install-shellutils: installdirs
18773 @r=`${PWD_COMMAND}`; export r; \
18774 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18775 $(SET_LIB_PATH) \
18776 $(HOST_EXPORTS) \
18777 (cd shellutils && $(MAKE) $(FLAGS_TO_PASS) install)
18779 @endif shellutils
18781 # Other targets (info, dvi, etc.)
18783 .PHONY: maybe-info-shellutils info-shellutils
18784 maybe-info-shellutils:
18785 @if shellutils
18786 maybe-info-shellutils: info-shellutils
18788 info-shellutils: \
18789 configure-shellutils
18790 @[ -f ./shellutils/Makefile ] || exit 0; \
18791 r=`${PWD_COMMAND}`; export r; \
18792 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18793 $(SET_LIB_PATH) \
18794 $(HOST_EXPORTS) \
18795 for flag in $(EXTRA_HOST_FLAGS) ; do \
18796 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18797 done; \
18798 echo "Doing info in shellutils" ; \
18799 (cd shellutils && \
18800 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18801 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18802 "RANLIB=$${RANLIB}" \
18803 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18804 info) \
18805 || exit 1
18807 @endif shellutils
18809 .PHONY: maybe-dvi-shellutils dvi-shellutils
18810 maybe-dvi-shellutils:
18811 @if shellutils
18812 maybe-dvi-shellutils: dvi-shellutils
18814 dvi-shellutils: \
18815 configure-shellutils
18816 @[ -f ./shellutils/Makefile ] || exit 0; \
18817 r=`${PWD_COMMAND}`; export r; \
18818 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18819 $(SET_LIB_PATH) \
18820 $(HOST_EXPORTS) \
18821 for flag in $(EXTRA_HOST_FLAGS) ; do \
18822 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18823 done; \
18824 echo "Doing dvi in shellutils" ; \
18825 (cd shellutils && \
18826 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18827 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18828 "RANLIB=$${RANLIB}" \
18829 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18830 dvi) \
18831 || exit 1
18833 @endif shellutils
18835 .PHONY: maybe-html-shellutils html-shellutils
18836 maybe-html-shellutils:
18837 @if shellutils
18838 maybe-html-shellutils: html-shellutils
18840 html-shellutils: \
18841 configure-shellutils
18842 @[ -f ./shellutils/Makefile ] || exit 0; \
18843 r=`${PWD_COMMAND}`; export r; \
18844 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18845 $(SET_LIB_PATH) \
18846 $(HOST_EXPORTS) \
18847 for flag in $(EXTRA_HOST_FLAGS) ; do \
18848 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18849 done; \
18850 echo "Doing html in shellutils" ; \
18851 (cd shellutils && \
18852 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18853 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18854 "RANLIB=$${RANLIB}" \
18855 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18856 html) \
18857 || exit 1
18859 @endif shellutils
18861 .PHONY: maybe-TAGS-shellutils TAGS-shellutils
18862 maybe-TAGS-shellutils:
18863 @if shellutils
18864 maybe-TAGS-shellutils: TAGS-shellutils
18866 TAGS-shellutils: \
18867 configure-shellutils
18868 @[ -f ./shellutils/Makefile ] || exit 0; \
18869 r=`${PWD_COMMAND}`; export r; \
18870 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18871 $(SET_LIB_PATH) \
18872 $(HOST_EXPORTS) \
18873 for flag in $(EXTRA_HOST_FLAGS) ; do \
18874 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18875 done; \
18876 echo "Doing TAGS in shellutils" ; \
18877 (cd shellutils && \
18878 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18879 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18880 "RANLIB=$${RANLIB}" \
18881 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18882 TAGS) \
18883 || exit 1
18885 @endif shellutils
18887 .PHONY: maybe-install-info-shellutils install-info-shellutils
18888 maybe-install-info-shellutils:
18889 @if shellutils
18890 maybe-install-info-shellutils: install-info-shellutils
18892 install-info-shellutils: \
18893 configure-shellutils \
18894 info-shellutils
18895 @[ -f ./shellutils/Makefile ] || exit 0; \
18896 r=`${PWD_COMMAND}`; export r; \
18897 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18898 $(SET_LIB_PATH) \
18899 $(HOST_EXPORTS) \
18900 for flag in $(EXTRA_HOST_FLAGS) ; do \
18901 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18902 done; \
18903 echo "Doing install-info in shellutils" ; \
18904 (cd shellutils && \
18905 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18906 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18907 "RANLIB=$${RANLIB}" \
18908 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18909 install-info) \
18910 || exit 1
18912 @endif shellutils
18914 .PHONY: maybe-installcheck-shellutils installcheck-shellutils
18915 maybe-installcheck-shellutils:
18916 @if shellutils
18917 maybe-installcheck-shellutils: installcheck-shellutils
18919 installcheck-shellutils: \
18920 configure-shellutils
18921 @[ -f ./shellutils/Makefile ] || exit 0; \
18922 r=`${PWD_COMMAND}`; export r; \
18923 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18924 $(SET_LIB_PATH) \
18925 $(HOST_EXPORTS) \
18926 for flag in $(EXTRA_HOST_FLAGS) ; do \
18927 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18928 done; \
18929 echo "Doing installcheck in shellutils" ; \
18930 (cd shellutils && \
18931 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18932 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18933 "RANLIB=$${RANLIB}" \
18934 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18935 installcheck) \
18936 || exit 1
18938 @endif shellutils
18940 .PHONY: maybe-mostlyclean-shellutils mostlyclean-shellutils
18941 maybe-mostlyclean-shellutils:
18942 @if shellutils
18943 maybe-mostlyclean-shellutils: mostlyclean-shellutils
18945 mostlyclean-shellutils:
18946 @[ -f ./shellutils/Makefile ] || exit 0; \
18947 r=`${PWD_COMMAND}`; export r; \
18948 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18949 $(SET_LIB_PATH) \
18950 $(HOST_EXPORTS) \
18951 for flag in $(EXTRA_HOST_FLAGS) ; do \
18952 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18953 done; \
18954 echo "Doing mostlyclean in shellutils" ; \
18955 (cd shellutils && \
18956 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18957 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18958 "RANLIB=$${RANLIB}" \
18959 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18960 mostlyclean) \
18961 || exit 1
18963 @endif shellutils
18965 .PHONY: maybe-clean-shellutils clean-shellutils
18966 maybe-clean-shellutils:
18967 @if shellutils
18968 maybe-clean-shellutils: clean-shellutils
18970 clean-shellutils:
18971 @[ -f ./shellutils/Makefile ] || exit 0; \
18972 r=`${PWD_COMMAND}`; export r; \
18973 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18974 $(SET_LIB_PATH) \
18975 $(HOST_EXPORTS) \
18976 for flag in $(EXTRA_HOST_FLAGS) ; do \
18977 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18978 done; \
18979 echo "Doing clean in shellutils" ; \
18980 (cd shellutils && \
18981 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18982 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18983 "RANLIB=$${RANLIB}" \
18984 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18985 clean) \
18986 || exit 1
18988 @endif shellutils
18990 .PHONY: maybe-distclean-shellutils distclean-shellutils
18991 maybe-distclean-shellutils:
18992 @if shellutils
18993 maybe-distclean-shellutils: distclean-shellutils
18995 distclean-shellutils:
18996 @[ -f ./shellutils/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 distclean in shellutils" ; \
19005 (cd shellutils && \
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 distclean) \
19011 || exit 1
19013 @endif shellutils
19015 .PHONY: maybe-maintainer-clean-shellutils maintainer-clean-shellutils
19016 maybe-maintainer-clean-shellutils:
19017 @if shellutils
19018 maybe-maintainer-clean-shellutils: maintainer-clean-shellutils
19020 maintainer-clean-shellutils:
19021 @[ -f ./shellutils/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 maintainer-clean in shellutils" ; \
19030 (cd shellutils && \
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 maintainer-clean) \
19036 || exit 1
19038 @endif shellutils
19041 .PHONY: configure-sid maybe-configure-sid
19042 maybe-configure-sid:
19043 @if sid
19044 maybe-configure-sid: configure-sid
19045 configure-sid:
19046 @test ! -f sid/Makefile || exit 0; \
19047 [ -d sid ] || mkdir sid; \
19048 r=`${PWD_COMMAND}`; export r; \
19049 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19050 $(HOST_EXPORTS) \
19051 echo Configuring in sid; \
19052 cd sid || exit 1; \
19053 case $(srcdir) in \
19054 \.) \
19055 srcdiroption="--srcdir=."; \
19056 libsrcdir=".";; \
19057 /* | [A-Za-z]:[\\/]*) \
19058 srcdiroption="--srcdir=$(srcdir)/sid"; \
19059 libsrcdir="$$s/sid";; \
19060 *) \
19061 srcdiroption="--srcdir=../$(srcdir)/sid"; \
19062 libsrcdir="$$s/sid";; \
19063 esac; \
19064 $(SHELL) $${libsrcdir}/configure \
19065 $(HOST_CONFIGARGS) $${srcdiroption} \
19066 || exit 1
19067 @endif sid
19069 .PHONY: all-sid maybe-all-sid
19070 maybe-all-sid:
19071 @if sid
19072 TARGET-sid=all
19073 maybe-all-sid: all-sid
19074 all-sid: configure-sid
19075 @r=`${PWD_COMMAND}`; export r; \
19076 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19077 $(SET_LIB_PATH) \
19078 $(HOST_EXPORTS) \
19079 (cd sid && $(MAKE) $(FLAGS_TO_PASS) \
19080 $(TARGET-sid))
19081 @endif sid
19083 .PHONY: check-sid maybe-check-sid
19084 maybe-check-sid:
19085 @if sid
19086 maybe-check-sid: check-sid
19088 check-sid:
19089 @r=`${PWD_COMMAND}`; export r; \
19090 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19091 $(SET_LIB_PATH) \
19092 $(HOST_EXPORTS) \
19093 (cd sid && $(MAKE) $(FLAGS_TO_PASS) check)
19095 @endif sid
19097 .PHONY: install-sid maybe-install-sid
19098 maybe-install-sid:
19099 @if sid
19100 maybe-install-sid: install-sid
19102 install-sid: installdirs
19103 @r=`${PWD_COMMAND}`; export r; \
19104 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19105 $(SET_LIB_PATH) \
19106 $(HOST_EXPORTS) \
19107 (cd sid && $(MAKE) $(FLAGS_TO_PASS) install)
19109 @endif sid
19111 # Other targets (info, dvi, etc.)
19113 .PHONY: maybe-info-sid info-sid
19114 maybe-info-sid:
19115 @if sid
19116 maybe-info-sid: info-sid
19118 info-sid: \
19119 configure-sid
19120 @[ -f ./sid/Makefile ] || exit 0; \
19121 r=`${PWD_COMMAND}`; export r; \
19122 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19123 $(SET_LIB_PATH) \
19124 $(HOST_EXPORTS) \
19125 for flag in $(EXTRA_HOST_FLAGS) ; do \
19126 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19127 done; \
19128 echo "Doing info in sid" ; \
19129 (cd sid && \
19130 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19131 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19132 "RANLIB=$${RANLIB}" \
19133 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19134 info) \
19135 || exit 1
19137 @endif sid
19139 .PHONY: maybe-dvi-sid dvi-sid
19140 maybe-dvi-sid:
19141 @if sid
19142 maybe-dvi-sid: dvi-sid
19144 dvi-sid: \
19145 configure-sid
19146 @[ -f ./sid/Makefile ] || exit 0; \
19147 r=`${PWD_COMMAND}`; export r; \
19148 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19149 $(SET_LIB_PATH) \
19150 $(HOST_EXPORTS) \
19151 for flag in $(EXTRA_HOST_FLAGS) ; do \
19152 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19153 done; \
19154 echo "Doing dvi in sid" ; \
19155 (cd sid && \
19156 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19157 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19158 "RANLIB=$${RANLIB}" \
19159 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19160 dvi) \
19161 || exit 1
19163 @endif sid
19165 .PHONY: maybe-html-sid html-sid
19166 maybe-html-sid:
19167 @if sid
19168 maybe-html-sid: html-sid
19170 html-sid: \
19171 configure-sid
19172 @[ -f ./sid/Makefile ] || exit 0; \
19173 r=`${PWD_COMMAND}`; export r; \
19174 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19175 $(SET_LIB_PATH) \
19176 $(HOST_EXPORTS) \
19177 for flag in $(EXTRA_HOST_FLAGS) ; do \
19178 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19179 done; \
19180 echo "Doing html in sid" ; \
19181 (cd sid && \
19182 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19183 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19184 "RANLIB=$${RANLIB}" \
19185 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19186 html) \
19187 || exit 1
19189 @endif sid
19191 .PHONY: maybe-TAGS-sid TAGS-sid
19192 maybe-TAGS-sid:
19193 @if sid
19194 maybe-TAGS-sid: TAGS-sid
19196 TAGS-sid: \
19197 configure-sid
19198 @[ -f ./sid/Makefile ] || exit 0; \
19199 r=`${PWD_COMMAND}`; export r; \
19200 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19201 $(SET_LIB_PATH) \
19202 $(HOST_EXPORTS) \
19203 for flag in $(EXTRA_HOST_FLAGS) ; do \
19204 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19205 done; \
19206 echo "Doing TAGS in sid" ; \
19207 (cd sid && \
19208 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19209 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19210 "RANLIB=$${RANLIB}" \
19211 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19212 TAGS) \
19213 || exit 1
19215 @endif sid
19217 .PHONY: maybe-install-info-sid install-info-sid
19218 maybe-install-info-sid:
19219 @if sid
19220 maybe-install-info-sid: install-info-sid
19222 install-info-sid: \
19223 configure-sid \
19224 info-sid
19225 @[ -f ./sid/Makefile ] || exit 0; \
19226 r=`${PWD_COMMAND}`; export r; \
19227 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19228 $(SET_LIB_PATH) \
19229 $(HOST_EXPORTS) \
19230 for flag in $(EXTRA_HOST_FLAGS) ; do \
19231 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19232 done; \
19233 echo "Doing install-info in sid" ; \
19234 (cd sid && \
19235 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19236 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19237 "RANLIB=$${RANLIB}" \
19238 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19239 install-info) \
19240 || exit 1
19242 @endif sid
19244 .PHONY: maybe-installcheck-sid installcheck-sid
19245 maybe-installcheck-sid:
19246 @if sid
19247 maybe-installcheck-sid: installcheck-sid
19249 installcheck-sid: \
19250 configure-sid
19251 @[ -f ./sid/Makefile ] || exit 0; \
19252 r=`${PWD_COMMAND}`; export r; \
19253 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19254 $(SET_LIB_PATH) \
19255 $(HOST_EXPORTS) \
19256 for flag in $(EXTRA_HOST_FLAGS) ; do \
19257 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19258 done; \
19259 echo "Doing installcheck in sid" ; \
19260 (cd sid && \
19261 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19262 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19263 "RANLIB=$${RANLIB}" \
19264 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19265 installcheck) \
19266 || exit 1
19268 @endif sid
19270 .PHONY: maybe-mostlyclean-sid mostlyclean-sid
19271 maybe-mostlyclean-sid:
19272 @if sid
19273 maybe-mostlyclean-sid: mostlyclean-sid
19275 mostlyclean-sid:
19276 @[ -f ./sid/Makefile ] || exit 0; \
19277 r=`${PWD_COMMAND}`; export r; \
19278 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19279 $(SET_LIB_PATH) \
19280 $(HOST_EXPORTS) \
19281 for flag in $(EXTRA_HOST_FLAGS) ; do \
19282 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19283 done; \
19284 echo "Doing mostlyclean in sid" ; \
19285 (cd sid && \
19286 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19287 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19288 "RANLIB=$${RANLIB}" \
19289 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19290 mostlyclean) \
19291 || exit 1
19293 @endif sid
19295 .PHONY: maybe-clean-sid clean-sid
19296 maybe-clean-sid:
19297 @if sid
19298 maybe-clean-sid: clean-sid
19300 clean-sid:
19301 @[ -f ./sid/Makefile ] || exit 0; \
19302 r=`${PWD_COMMAND}`; export r; \
19303 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19304 $(SET_LIB_PATH) \
19305 $(HOST_EXPORTS) \
19306 for flag in $(EXTRA_HOST_FLAGS) ; do \
19307 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19308 done; \
19309 echo "Doing clean in sid" ; \
19310 (cd sid && \
19311 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19312 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19313 "RANLIB=$${RANLIB}" \
19314 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19315 clean) \
19316 || exit 1
19318 @endif sid
19320 .PHONY: maybe-distclean-sid distclean-sid
19321 maybe-distclean-sid:
19322 @if sid
19323 maybe-distclean-sid: distclean-sid
19325 distclean-sid:
19326 @[ -f ./sid/Makefile ] || exit 0; \
19327 r=`${PWD_COMMAND}`; export r; \
19328 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19329 $(SET_LIB_PATH) \
19330 $(HOST_EXPORTS) \
19331 for flag in $(EXTRA_HOST_FLAGS) ; do \
19332 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19333 done; \
19334 echo "Doing distclean in sid" ; \
19335 (cd sid && \
19336 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19337 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19338 "RANLIB=$${RANLIB}" \
19339 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19340 distclean) \
19341 || exit 1
19343 @endif sid
19345 .PHONY: maybe-maintainer-clean-sid maintainer-clean-sid
19346 maybe-maintainer-clean-sid:
19347 @if sid
19348 maybe-maintainer-clean-sid: maintainer-clean-sid
19350 maintainer-clean-sid:
19351 @[ -f ./sid/Makefile ] || exit 0; \
19352 r=`${PWD_COMMAND}`; export r; \
19353 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19354 $(SET_LIB_PATH) \
19355 $(HOST_EXPORTS) \
19356 for flag in $(EXTRA_HOST_FLAGS) ; do \
19357 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19358 done; \
19359 echo "Doing maintainer-clean in sid" ; \
19360 (cd sid && \
19361 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19362 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19363 "RANLIB=$${RANLIB}" \
19364 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19365 maintainer-clean) \
19366 || exit 1
19368 @endif sid
19371 .PHONY: configure-sim maybe-configure-sim
19372 maybe-configure-sim:
19373 @if sim
19374 maybe-configure-sim: configure-sim
19375 configure-sim:
19376 @test ! -f sim/Makefile || exit 0; \
19377 [ -d sim ] || mkdir sim; \
19378 r=`${PWD_COMMAND}`; export r; \
19379 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19380 $(HOST_EXPORTS) \
19381 echo Configuring in sim; \
19382 cd sim || exit 1; \
19383 case $(srcdir) in \
19384 \.) \
19385 srcdiroption="--srcdir=."; \
19386 libsrcdir=".";; \
19387 /* | [A-Za-z]:[\\/]*) \
19388 srcdiroption="--srcdir=$(srcdir)/sim"; \
19389 libsrcdir="$$s/sim";; \
19390 *) \
19391 srcdiroption="--srcdir=../$(srcdir)/sim"; \
19392 libsrcdir="$$s/sim";; \
19393 esac; \
19394 $(SHELL) $${libsrcdir}/configure \
19395 $(HOST_CONFIGARGS) $${srcdiroption} \
19396 || exit 1
19397 @endif sim
19399 .PHONY: all-sim maybe-all-sim
19400 maybe-all-sim:
19401 @if sim
19402 TARGET-sim=all
19403 maybe-all-sim: all-sim
19404 all-sim: configure-sim
19405 @r=`${PWD_COMMAND}`; export r; \
19406 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19407 $(SET_LIB_PATH) \
19408 $(HOST_EXPORTS) \
19409 (cd sim && $(MAKE) $(FLAGS_TO_PASS) \
19410 $(TARGET-sim))
19411 @endif sim
19413 .PHONY: check-sim maybe-check-sim
19414 maybe-check-sim:
19415 @if sim
19416 maybe-check-sim: check-sim
19418 check-sim:
19419 @r=`${PWD_COMMAND}`; export r; \
19420 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19421 $(SET_LIB_PATH) \
19422 $(HOST_EXPORTS) \
19423 (cd sim && $(MAKE) $(FLAGS_TO_PASS) check)
19425 @endif sim
19427 .PHONY: install-sim maybe-install-sim
19428 maybe-install-sim:
19429 @if sim
19430 maybe-install-sim: install-sim
19432 install-sim: installdirs
19433 @r=`${PWD_COMMAND}`; export r; \
19434 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19435 $(SET_LIB_PATH) \
19436 $(HOST_EXPORTS) \
19437 (cd sim && $(MAKE) $(FLAGS_TO_PASS) install)
19439 @endif sim
19441 # Other targets (info, dvi, etc.)
19443 .PHONY: maybe-info-sim info-sim
19444 maybe-info-sim:
19445 @if sim
19446 maybe-info-sim: info-sim
19448 info-sim: \
19449 configure-sim
19450 @[ -f ./sim/Makefile ] || exit 0; \
19451 r=`${PWD_COMMAND}`; export r; \
19452 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19453 $(SET_LIB_PATH) \
19454 $(HOST_EXPORTS) \
19455 for flag in $(EXTRA_HOST_FLAGS) ; do \
19456 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19457 done; \
19458 echo "Doing info in sim" ; \
19459 (cd sim && \
19460 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19461 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19462 "RANLIB=$${RANLIB}" \
19463 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19464 info) \
19465 || exit 1
19467 @endif sim
19469 .PHONY: maybe-dvi-sim dvi-sim
19470 maybe-dvi-sim:
19471 @if sim
19472 maybe-dvi-sim: dvi-sim
19474 dvi-sim: \
19475 configure-sim
19476 @[ -f ./sim/Makefile ] || exit 0; \
19477 r=`${PWD_COMMAND}`; export r; \
19478 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19479 $(SET_LIB_PATH) \
19480 $(HOST_EXPORTS) \
19481 for flag in $(EXTRA_HOST_FLAGS) ; do \
19482 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19483 done; \
19484 echo "Doing dvi in sim" ; \
19485 (cd sim && \
19486 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19487 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19488 "RANLIB=$${RANLIB}" \
19489 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19490 dvi) \
19491 || exit 1
19493 @endif sim
19495 .PHONY: maybe-html-sim html-sim
19496 maybe-html-sim:
19497 @if sim
19498 maybe-html-sim: html-sim
19500 html-sim: \
19501 configure-sim
19502 @[ -f ./sim/Makefile ] || exit 0; \
19503 r=`${PWD_COMMAND}`; export r; \
19504 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19505 $(SET_LIB_PATH) \
19506 $(HOST_EXPORTS) \
19507 for flag in $(EXTRA_HOST_FLAGS) ; do \
19508 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19509 done; \
19510 echo "Doing html in sim" ; \
19511 (cd sim && \
19512 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19513 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19514 "RANLIB=$${RANLIB}" \
19515 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19516 html) \
19517 || exit 1
19519 @endif sim
19521 .PHONY: maybe-TAGS-sim TAGS-sim
19522 maybe-TAGS-sim:
19523 @if sim
19524 maybe-TAGS-sim: TAGS-sim
19526 TAGS-sim: \
19527 configure-sim
19528 @[ -f ./sim/Makefile ] || exit 0; \
19529 r=`${PWD_COMMAND}`; export r; \
19530 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19531 $(SET_LIB_PATH) \
19532 $(HOST_EXPORTS) \
19533 for flag in $(EXTRA_HOST_FLAGS) ; do \
19534 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19535 done; \
19536 echo "Doing TAGS in sim" ; \
19537 (cd sim && \
19538 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19539 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19540 "RANLIB=$${RANLIB}" \
19541 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19542 TAGS) \
19543 || exit 1
19545 @endif sim
19547 .PHONY: maybe-install-info-sim install-info-sim
19548 maybe-install-info-sim:
19549 @if sim
19550 maybe-install-info-sim: install-info-sim
19552 install-info-sim: \
19553 configure-sim \
19554 info-sim
19555 @[ -f ./sim/Makefile ] || exit 0; \
19556 r=`${PWD_COMMAND}`; export r; \
19557 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19558 $(SET_LIB_PATH) \
19559 $(HOST_EXPORTS) \
19560 for flag in $(EXTRA_HOST_FLAGS) ; do \
19561 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19562 done; \
19563 echo "Doing install-info in sim" ; \
19564 (cd sim && \
19565 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19566 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19567 "RANLIB=$${RANLIB}" \
19568 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19569 install-info) \
19570 || exit 1
19572 @endif sim
19574 .PHONY: maybe-installcheck-sim installcheck-sim
19575 maybe-installcheck-sim:
19576 @if sim
19577 maybe-installcheck-sim: installcheck-sim
19579 installcheck-sim: \
19580 configure-sim
19581 @[ -f ./sim/Makefile ] || exit 0; \
19582 r=`${PWD_COMMAND}`; export r; \
19583 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19584 $(SET_LIB_PATH) \
19585 $(HOST_EXPORTS) \
19586 for flag in $(EXTRA_HOST_FLAGS) ; do \
19587 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19588 done; \
19589 echo "Doing installcheck in sim" ; \
19590 (cd sim && \
19591 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19592 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19593 "RANLIB=$${RANLIB}" \
19594 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19595 installcheck) \
19596 || exit 1
19598 @endif sim
19600 .PHONY: maybe-mostlyclean-sim mostlyclean-sim
19601 maybe-mostlyclean-sim:
19602 @if sim
19603 maybe-mostlyclean-sim: mostlyclean-sim
19605 mostlyclean-sim:
19606 @[ -f ./sim/Makefile ] || exit 0; \
19607 r=`${PWD_COMMAND}`; export r; \
19608 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19609 $(SET_LIB_PATH) \
19610 $(HOST_EXPORTS) \
19611 for flag in $(EXTRA_HOST_FLAGS) ; do \
19612 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19613 done; \
19614 echo "Doing mostlyclean in sim" ; \
19615 (cd sim && \
19616 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19617 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19618 "RANLIB=$${RANLIB}" \
19619 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19620 mostlyclean) \
19621 || exit 1
19623 @endif sim
19625 .PHONY: maybe-clean-sim clean-sim
19626 maybe-clean-sim:
19627 @if sim
19628 maybe-clean-sim: clean-sim
19630 clean-sim:
19631 @[ -f ./sim/Makefile ] || exit 0; \
19632 r=`${PWD_COMMAND}`; export r; \
19633 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19634 $(SET_LIB_PATH) \
19635 $(HOST_EXPORTS) \
19636 for flag in $(EXTRA_HOST_FLAGS) ; do \
19637 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19638 done; \
19639 echo "Doing clean in sim" ; \
19640 (cd sim && \
19641 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19642 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19643 "RANLIB=$${RANLIB}" \
19644 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19645 clean) \
19646 || exit 1
19648 @endif sim
19650 .PHONY: maybe-distclean-sim distclean-sim
19651 maybe-distclean-sim:
19652 @if sim
19653 maybe-distclean-sim: distclean-sim
19655 distclean-sim:
19656 @[ -f ./sim/Makefile ] || exit 0; \
19657 r=`${PWD_COMMAND}`; export r; \
19658 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19659 $(SET_LIB_PATH) \
19660 $(HOST_EXPORTS) \
19661 for flag in $(EXTRA_HOST_FLAGS) ; do \
19662 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19663 done; \
19664 echo "Doing distclean in sim" ; \
19665 (cd sim && \
19666 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19667 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19668 "RANLIB=$${RANLIB}" \
19669 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19670 distclean) \
19671 || exit 1
19673 @endif sim
19675 .PHONY: maybe-maintainer-clean-sim maintainer-clean-sim
19676 maybe-maintainer-clean-sim:
19677 @if sim
19678 maybe-maintainer-clean-sim: maintainer-clean-sim
19680 maintainer-clean-sim:
19681 @[ -f ./sim/Makefile ] || exit 0; \
19682 r=`${PWD_COMMAND}`; export r; \
19683 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19684 $(SET_LIB_PATH) \
19685 $(HOST_EXPORTS) \
19686 for flag in $(EXTRA_HOST_FLAGS) ; do \
19687 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19688 done; \
19689 echo "Doing maintainer-clean in sim" ; \
19690 (cd sim && \
19691 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19692 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19693 "RANLIB=$${RANLIB}" \
19694 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19695 maintainer-clean) \
19696 || exit 1
19698 @endif sim
19701 .PHONY: configure-tar maybe-configure-tar
19702 maybe-configure-tar:
19703 @if tar
19704 maybe-configure-tar: configure-tar
19705 configure-tar:
19706 @test ! -f tar/Makefile || exit 0; \
19707 [ -d tar ] || mkdir tar; \
19708 r=`${PWD_COMMAND}`; export r; \
19709 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19710 $(HOST_EXPORTS) \
19711 echo Configuring in tar; \
19712 cd tar || exit 1; \
19713 case $(srcdir) in \
19714 \.) \
19715 srcdiroption="--srcdir=."; \
19716 libsrcdir=".";; \
19717 /* | [A-Za-z]:[\\/]*) \
19718 srcdiroption="--srcdir=$(srcdir)/tar"; \
19719 libsrcdir="$$s/tar";; \
19720 *) \
19721 srcdiroption="--srcdir=../$(srcdir)/tar"; \
19722 libsrcdir="$$s/tar";; \
19723 esac; \
19724 $(SHELL) $${libsrcdir}/configure \
19725 $(HOST_CONFIGARGS) $${srcdiroption} \
19726 || exit 1
19727 @endif tar
19729 .PHONY: all-tar maybe-all-tar
19730 maybe-all-tar:
19731 @if tar
19732 TARGET-tar=all
19733 maybe-all-tar: all-tar
19734 all-tar: configure-tar
19735 @r=`${PWD_COMMAND}`; export r; \
19736 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19737 $(SET_LIB_PATH) \
19738 $(HOST_EXPORTS) \
19739 (cd tar && $(MAKE) $(FLAGS_TO_PASS) \
19740 $(TARGET-tar))
19741 @endif tar
19743 .PHONY: check-tar maybe-check-tar
19744 maybe-check-tar:
19745 @if tar
19746 maybe-check-tar: check-tar
19748 check-tar:
19749 @r=`${PWD_COMMAND}`; export r; \
19750 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19751 $(SET_LIB_PATH) \
19752 $(HOST_EXPORTS) \
19753 (cd tar && $(MAKE) $(FLAGS_TO_PASS) check)
19755 @endif tar
19757 .PHONY: install-tar maybe-install-tar
19758 maybe-install-tar:
19759 @if tar
19760 maybe-install-tar: install-tar
19762 install-tar: installdirs
19763 @r=`${PWD_COMMAND}`; export r; \
19764 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19765 $(SET_LIB_PATH) \
19766 $(HOST_EXPORTS) \
19767 (cd tar && $(MAKE) $(FLAGS_TO_PASS) install)
19769 @endif tar
19771 # Other targets (info, dvi, etc.)
19773 .PHONY: maybe-info-tar info-tar
19774 maybe-info-tar:
19775 @if tar
19776 maybe-info-tar: info-tar
19778 info-tar: \
19779 configure-tar
19780 @[ -f ./tar/Makefile ] || exit 0; \
19781 r=`${PWD_COMMAND}`; export r; \
19782 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19783 $(SET_LIB_PATH) \
19784 $(HOST_EXPORTS) \
19785 for flag in $(EXTRA_HOST_FLAGS) ; do \
19786 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19787 done; \
19788 echo "Doing info in tar" ; \
19789 (cd tar && \
19790 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19791 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19792 "RANLIB=$${RANLIB}" \
19793 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19794 info) \
19795 || exit 1
19797 @endif tar
19799 .PHONY: maybe-dvi-tar dvi-tar
19800 maybe-dvi-tar:
19801 @if tar
19802 maybe-dvi-tar: dvi-tar
19804 dvi-tar: \
19805 configure-tar
19806 @[ -f ./tar/Makefile ] || exit 0; \
19807 r=`${PWD_COMMAND}`; export r; \
19808 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19809 $(SET_LIB_PATH) \
19810 $(HOST_EXPORTS) \
19811 for flag in $(EXTRA_HOST_FLAGS) ; do \
19812 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19813 done; \
19814 echo "Doing dvi in tar" ; \
19815 (cd tar && \
19816 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19817 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19818 "RANLIB=$${RANLIB}" \
19819 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19820 dvi) \
19821 || exit 1
19823 @endif tar
19825 .PHONY: maybe-html-tar html-tar
19826 maybe-html-tar:
19827 @if tar
19828 maybe-html-tar: html-tar
19830 html-tar: \
19831 configure-tar
19832 @[ -f ./tar/Makefile ] || exit 0; \
19833 r=`${PWD_COMMAND}`; export r; \
19834 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19835 $(SET_LIB_PATH) \
19836 $(HOST_EXPORTS) \
19837 for flag in $(EXTRA_HOST_FLAGS) ; do \
19838 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19839 done; \
19840 echo "Doing html in tar" ; \
19841 (cd tar && \
19842 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19843 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19844 "RANLIB=$${RANLIB}" \
19845 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19846 html) \
19847 || exit 1
19849 @endif tar
19851 .PHONY: maybe-TAGS-tar TAGS-tar
19852 maybe-TAGS-tar:
19853 @if tar
19854 maybe-TAGS-tar: TAGS-tar
19856 TAGS-tar: \
19857 configure-tar
19858 @[ -f ./tar/Makefile ] || exit 0; \
19859 r=`${PWD_COMMAND}`; export r; \
19860 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19861 $(SET_LIB_PATH) \
19862 $(HOST_EXPORTS) \
19863 for flag in $(EXTRA_HOST_FLAGS) ; do \
19864 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19865 done; \
19866 echo "Doing TAGS in tar" ; \
19867 (cd tar && \
19868 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19869 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19870 "RANLIB=$${RANLIB}" \
19871 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19872 TAGS) \
19873 || exit 1
19875 @endif tar
19877 .PHONY: maybe-install-info-tar install-info-tar
19878 maybe-install-info-tar:
19879 @if tar
19880 maybe-install-info-tar: install-info-tar
19882 install-info-tar: \
19883 configure-tar \
19884 info-tar
19885 @[ -f ./tar/Makefile ] || exit 0; \
19886 r=`${PWD_COMMAND}`; export r; \
19887 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19888 $(SET_LIB_PATH) \
19889 $(HOST_EXPORTS) \
19890 for flag in $(EXTRA_HOST_FLAGS) ; do \
19891 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19892 done; \
19893 echo "Doing install-info in tar" ; \
19894 (cd tar && \
19895 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19896 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19897 "RANLIB=$${RANLIB}" \
19898 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19899 install-info) \
19900 || exit 1
19902 @endif tar
19904 .PHONY: maybe-installcheck-tar installcheck-tar
19905 maybe-installcheck-tar:
19906 @if tar
19907 maybe-installcheck-tar: installcheck-tar
19909 installcheck-tar: \
19910 configure-tar
19911 @[ -f ./tar/Makefile ] || exit 0; \
19912 r=`${PWD_COMMAND}`; export r; \
19913 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19914 $(SET_LIB_PATH) \
19915 $(HOST_EXPORTS) \
19916 for flag in $(EXTRA_HOST_FLAGS) ; do \
19917 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19918 done; \
19919 echo "Doing installcheck in tar" ; \
19920 (cd tar && \
19921 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19922 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19923 "RANLIB=$${RANLIB}" \
19924 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19925 installcheck) \
19926 || exit 1
19928 @endif tar
19930 .PHONY: maybe-mostlyclean-tar mostlyclean-tar
19931 maybe-mostlyclean-tar:
19932 @if tar
19933 maybe-mostlyclean-tar: mostlyclean-tar
19935 mostlyclean-tar:
19936 @[ -f ./tar/Makefile ] || exit 0; \
19937 r=`${PWD_COMMAND}`; export r; \
19938 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19939 $(SET_LIB_PATH) \
19940 $(HOST_EXPORTS) \
19941 for flag in $(EXTRA_HOST_FLAGS) ; do \
19942 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19943 done; \
19944 echo "Doing mostlyclean in tar" ; \
19945 (cd tar && \
19946 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19947 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19948 "RANLIB=$${RANLIB}" \
19949 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19950 mostlyclean) \
19951 || exit 1
19953 @endif tar
19955 .PHONY: maybe-clean-tar clean-tar
19956 maybe-clean-tar:
19957 @if tar
19958 maybe-clean-tar: clean-tar
19960 clean-tar:
19961 @[ -f ./tar/Makefile ] || exit 0; \
19962 r=`${PWD_COMMAND}`; export r; \
19963 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19964 $(SET_LIB_PATH) \
19965 $(HOST_EXPORTS) \
19966 for flag in $(EXTRA_HOST_FLAGS) ; do \
19967 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19968 done; \
19969 echo "Doing clean in tar" ; \
19970 (cd tar && \
19971 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19972 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19973 "RANLIB=$${RANLIB}" \
19974 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19975 clean) \
19976 || exit 1
19978 @endif tar
19980 .PHONY: maybe-distclean-tar distclean-tar
19981 maybe-distclean-tar:
19982 @if tar
19983 maybe-distclean-tar: distclean-tar
19985 distclean-tar:
19986 @[ -f ./tar/Makefile ] || exit 0; \
19987 r=`${PWD_COMMAND}`; export r; \
19988 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19989 $(SET_LIB_PATH) \
19990 $(HOST_EXPORTS) \
19991 for flag in $(EXTRA_HOST_FLAGS) ; do \
19992 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19993 done; \
19994 echo "Doing distclean in tar" ; \
19995 (cd tar && \
19996 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19997 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19998 "RANLIB=$${RANLIB}" \
19999 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20000 distclean) \
20001 || exit 1
20003 @endif tar
20005 .PHONY: maybe-maintainer-clean-tar maintainer-clean-tar
20006 maybe-maintainer-clean-tar:
20007 @if tar
20008 maybe-maintainer-clean-tar: maintainer-clean-tar
20010 maintainer-clean-tar:
20011 @[ -f ./tar/Makefile ] || exit 0; \
20012 r=`${PWD_COMMAND}`; export r; \
20013 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20014 $(SET_LIB_PATH) \
20015 $(HOST_EXPORTS) \
20016 for flag in $(EXTRA_HOST_FLAGS) ; do \
20017 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20018 done; \
20019 echo "Doing maintainer-clean in tar" ; \
20020 (cd tar && \
20021 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20022 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20023 "RANLIB=$${RANLIB}" \
20024 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20025 maintainer-clean) \
20026 || exit 1
20028 @endif tar
20031 .PHONY: configure-texinfo maybe-configure-texinfo
20032 maybe-configure-texinfo:
20033 @if texinfo
20034 maybe-configure-texinfo: configure-texinfo
20035 configure-texinfo:
20036 @test ! -f texinfo/Makefile || exit 0; \
20037 [ -d texinfo ] || mkdir texinfo; \
20038 r=`${PWD_COMMAND}`; export r; \
20039 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20040 $(HOST_EXPORTS) \
20041 echo Configuring in texinfo; \
20042 cd texinfo || exit 1; \
20043 case $(srcdir) in \
20044 \.) \
20045 srcdiroption="--srcdir=."; \
20046 libsrcdir=".";; \
20047 /* | [A-Za-z]:[\\/]*) \
20048 srcdiroption="--srcdir=$(srcdir)/texinfo"; \
20049 libsrcdir="$$s/texinfo";; \
20050 *) \
20051 srcdiroption="--srcdir=../$(srcdir)/texinfo"; \
20052 libsrcdir="$$s/texinfo";; \
20053 esac; \
20054 $(SHELL) $${libsrcdir}/configure \
20055 $(HOST_CONFIGARGS) $${srcdiroption} \
20056 || exit 1
20057 @endif texinfo
20059 .PHONY: all-texinfo maybe-all-texinfo
20060 maybe-all-texinfo:
20061 @if texinfo
20062 TARGET-texinfo=all
20063 maybe-all-texinfo: all-texinfo
20064 all-texinfo: configure-texinfo
20065 @r=`${PWD_COMMAND}`; export r; \
20066 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20067 $(SET_LIB_PATH) \
20068 $(HOST_EXPORTS) \
20069 (cd texinfo && $(MAKE) $(FLAGS_TO_PASS) \
20070 $(TARGET-texinfo))
20071 @endif texinfo
20073 .PHONY: check-texinfo maybe-check-texinfo
20074 maybe-check-texinfo:
20075 @if texinfo
20076 maybe-check-texinfo: check-texinfo
20078 check-texinfo:
20079 @r=`${PWD_COMMAND}`; export r; \
20080 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20081 $(SET_LIB_PATH) \
20082 $(HOST_EXPORTS) \
20083 (cd texinfo && $(MAKE) $(FLAGS_TO_PASS) check)
20085 @endif texinfo
20087 .PHONY: install-texinfo maybe-install-texinfo
20088 maybe-install-texinfo:
20089 @if texinfo
20090 maybe-install-texinfo: install-texinfo
20092 install-texinfo:
20094 @endif texinfo
20096 # Other targets (info, dvi, etc.)
20098 .PHONY: maybe-info-texinfo info-texinfo
20099 maybe-info-texinfo:
20100 @if texinfo
20101 maybe-info-texinfo: info-texinfo
20103 info-texinfo: \
20104 configure-texinfo
20105 @[ -f ./texinfo/Makefile ] || exit 0; \
20106 r=`${PWD_COMMAND}`; export r; \
20107 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20108 $(SET_LIB_PATH) \
20109 $(HOST_EXPORTS) \
20110 for flag in $(EXTRA_HOST_FLAGS) ; do \
20111 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20112 done; \
20113 echo "Doing info in texinfo" ; \
20114 (cd texinfo && \
20115 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20116 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20117 "RANLIB=$${RANLIB}" \
20118 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20119 info) \
20120 || exit 1
20122 @endif texinfo
20124 .PHONY: maybe-dvi-texinfo dvi-texinfo
20125 maybe-dvi-texinfo:
20126 @if texinfo
20127 maybe-dvi-texinfo: dvi-texinfo
20129 dvi-texinfo: \
20130 configure-texinfo
20131 @[ -f ./texinfo/Makefile ] || exit 0; \
20132 r=`${PWD_COMMAND}`; export r; \
20133 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20134 $(SET_LIB_PATH) \
20135 $(HOST_EXPORTS) \
20136 for flag in $(EXTRA_HOST_FLAGS) ; do \
20137 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20138 done; \
20139 echo "Doing dvi in texinfo" ; \
20140 (cd texinfo && \
20141 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20142 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20143 "RANLIB=$${RANLIB}" \
20144 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20145 dvi) \
20146 || exit 1
20148 @endif texinfo
20150 .PHONY: maybe-html-texinfo html-texinfo
20151 maybe-html-texinfo:
20152 @if texinfo
20153 maybe-html-texinfo: html-texinfo
20155 html-texinfo: \
20156 configure-texinfo
20157 @[ -f ./texinfo/Makefile ] || exit 0; \
20158 r=`${PWD_COMMAND}`; export r; \
20159 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20160 $(SET_LIB_PATH) \
20161 $(HOST_EXPORTS) \
20162 for flag in $(EXTRA_HOST_FLAGS) ; do \
20163 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20164 done; \
20165 echo "Doing html in texinfo" ; \
20166 (cd texinfo && \
20167 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20168 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20169 "RANLIB=$${RANLIB}" \
20170 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20171 html) \
20172 || exit 1
20174 @endif texinfo
20176 .PHONY: maybe-TAGS-texinfo TAGS-texinfo
20177 maybe-TAGS-texinfo:
20178 @if texinfo
20179 maybe-TAGS-texinfo: TAGS-texinfo
20181 TAGS-texinfo: \
20182 configure-texinfo
20183 @[ -f ./texinfo/Makefile ] || exit 0; \
20184 r=`${PWD_COMMAND}`; export r; \
20185 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20186 $(SET_LIB_PATH) \
20187 $(HOST_EXPORTS) \
20188 for flag in $(EXTRA_HOST_FLAGS) ; do \
20189 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20190 done; \
20191 echo "Doing TAGS in texinfo" ; \
20192 (cd texinfo && \
20193 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20194 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20195 "RANLIB=$${RANLIB}" \
20196 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20197 TAGS) \
20198 || exit 1
20200 @endif texinfo
20202 .PHONY: maybe-install-info-texinfo install-info-texinfo
20203 maybe-install-info-texinfo:
20204 @if texinfo
20205 maybe-install-info-texinfo: install-info-texinfo
20207 install-info-texinfo: \
20208 configure-texinfo \
20209 info-texinfo
20210 @[ -f ./texinfo/Makefile ] || exit 0; \
20211 r=`${PWD_COMMAND}`; export r; \
20212 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20213 $(SET_LIB_PATH) \
20214 $(HOST_EXPORTS) \
20215 for flag in $(EXTRA_HOST_FLAGS) ; do \
20216 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20217 done; \
20218 echo "Doing install-info in texinfo" ; \
20219 (cd texinfo && \
20220 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20221 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20222 "RANLIB=$${RANLIB}" \
20223 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20224 install-info) \
20225 || exit 1
20227 @endif texinfo
20229 .PHONY: maybe-installcheck-texinfo installcheck-texinfo
20230 maybe-installcheck-texinfo:
20231 @if texinfo
20232 maybe-installcheck-texinfo: installcheck-texinfo
20234 installcheck-texinfo: \
20235 configure-texinfo
20236 @[ -f ./texinfo/Makefile ] || exit 0; \
20237 r=`${PWD_COMMAND}`; export r; \
20238 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20239 $(SET_LIB_PATH) \
20240 $(HOST_EXPORTS) \
20241 for flag in $(EXTRA_HOST_FLAGS) ; do \
20242 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20243 done; \
20244 echo "Doing installcheck in texinfo" ; \
20245 (cd texinfo && \
20246 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20247 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20248 "RANLIB=$${RANLIB}" \
20249 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20250 installcheck) \
20251 || exit 1
20253 @endif texinfo
20255 .PHONY: maybe-mostlyclean-texinfo mostlyclean-texinfo
20256 maybe-mostlyclean-texinfo:
20257 @if texinfo
20258 maybe-mostlyclean-texinfo: mostlyclean-texinfo
20260 mostlyclean-texinfo:
20261 @[ -f ./texinfo/Makefile ] || exit 0; \
20262 r=`${PWD_COMMAND}`; export r; \
20263 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20264 $(SET_LIB_PATH) \
20265 $(HOST_EXPORTS) \
20266 for flag in $(EXTRA_HOST_FLAGS) ; do \
20267 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20268 done; \
20269 echo "Doing mostlyclean in texinfo" ; \
20270 (cd texinfo && \
20271 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20272 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20273 "RANLIB=$${RANLIB}" \
20274 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20275 mostlyclean) \
20276 || exit 1
20278 @endif texinfo
20280 .PHONY: maybe-clean-texinfo clean-texinfo
20281 maybe-clean-texinfo:
20282 @if texinfo
20283 maybe-clean-texinfo: clean-texinfo
20285 clean-texinfo:
20286 @[ -f ./texinfo/Makefile ] || exit 0; \
20287 r=`${PWD_COMMAND}`; export r; \
20288 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20289 $(SET_LIB_PATH) \
20290 $(HOST_EXPORTS) \
20291 for flag in $(EXTRA_HOST_FLAGS) ; do \
20292 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20293 done; \
20294 echo "Doing clean in texinfo" ; \
20295 (cd texinfo && \
20296 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20297 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20298 "RANLIB=$${RANLIB}" \
20299 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20300 clean) \
20301 || exit 1
20303 @endif texinfo
20305 .PHONY: maybe-distclean-texinfo distclean-texinfo
20306 maybe-distclean-texinfo:
20307 @if texinfo
20308 maybe-distclean-texinfo: distclean-texinfo
20310 distclean-texinfo:
20311 @[ -f ./texinfo/Makefile ] || exit 0; \
20312 r=`${PWD_COMMAND}`; export r; \
20313 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20314 $(SET_LIB_PATH) \
20315 $(HOST_EXPORTS) \
20316 for flag in $(EXTRA_HOST_FLAGS) ; do \
20317 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20318 done; \
20319 echo "Doing distclean in texinfo" ; \
20320 (cd texinfo && \
20321 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20322 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20323 "RANLIB=$${RANLIB}" \
20324 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20325 distclean) \
20326 || exit 1
20328 @endif texinfo
20330 .PHONY: maybe-maintainer-clean-texinfo maintainer-clean-texinfo
20331 maybe-maintainer-clean-texinfo:
20332 @if texinfo
20333 maybe-maintainer-clean-texinfo: maintainer-clean-texinfo
20335 maintainer-clean-texinfo:
20336 @[ -f ./texinfo/Makefile ] || exit 0; \
20337 r=`${PWD_COMMAND}`; export r; \
20338 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20339 $(SET_LIB_PATH) \
20340 $(HOST_EXPORTS) \
20341 for flag in $(EXTRA_HOST_FLAGS) ; do \
20342 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20343 done; \
20344 echo "Doing maintainer-clean in texinfo" ; \
20345 (cd texinfo && \
20346 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20347 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20348 "RANLIB=$${RANLIB}" \
20349 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20350 maintainer-clean) \
20351 || exit 1
20353 @endif texinfo
20356 .PHONY: configure-textutils maybe-configure-textutils
20357 maybe-configure-textutils:
20358 @if textutils
20359 maybe-configure-textutils: configure-textutils
20360 configure-textutils:
20361 @test ! -f textutils/Makefile || exit 0; \
20362 [ -d textutils ] || mkdir textutils; \
20363 r=`${PWD_COMMAND}`; export r; \
20364 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20365 $(HOST_EXPORTS) \
20366 echo Configuring in textutils; \
20367 cd textutils || exit 1; \
20368 case $(srcdir) in \
20369 \.) \
20370 srcdiroption="--srcdir=."; \
20371 libsrcdir=".";; \
20372 /* | [A-Za-z]:[\\/]*) \
20373 srcdiroption="--srcdir=$(srcdir)/textutils"; \
20374 libsrcdir="$$s/textutils";; \
20375 *) \
20376 srcdiroption="--srcdir=../$(srcdir)/textutils"; \
20377 libsrcdir="$$s/textutils";; \
20378 esac; \
20379 $(SHELL) $${libsrcdir}/configure \
20380 $(HOST_CONFIGARGS) $${srcdiroption} \
20381 || exit 1
20382 @endif textutils
20384 .PHONY: all-textutils maybe-all-textutils
20385 maybe-all-textutils:
20386 @if textutils
20387 TARGET-textutils=all
20388 maybe-all-textutils: all-textutils
20389 all-textutils: configure-textutils
20390 @r=`${PWD_COMMAND}`; export r; \
20391 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20392 $(SET_LIB_PATH) \
20393 $(HOST_EXPORTS) \
20394 (cd textutils && $(MAKE) $(FLAGS_TO_PASS) \
20395 $(TARGET-textutils))
20396 @endif textutils
20398 .PHONY: check-textutils maybe-check-textutils
20399 maybe-check-textutils:
20400 @if textutils
20401 maybe-check-textutils: check-textutils
20403 check-textutils:
20404 @r=`${PWD_COMMAND}`; export r; \
20405 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20406 $(SET_LIB_PATH) \
20407 $(HOST_EXPORTS) \
20408 (cd textutils && $(MAKE) $(FLAGS_TO_PASS) check)
20410 @endif textutils
20412 .PHONY: install-textutils maybe-install-textutils
20413 maybe-install-textutils:
20414 @if textutils
20415 maybe-install-textutils: install-textutils
20417 install-textutils: installdirs
20418 @r=`${PWD_COMMAND}`; export r; \
20419 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20420 $(SET_LIB_PATH) \
20421 $(HOST_EXPORTS) \
20422 (cd textutils && $(MAKE) $(FLAGS_TO_PASS) install)
20424 @endif textutils
20426 # Other targets (info, dvi, etc.)
20428 .PHONY: maybe-info-textutils info-textutils
20429 maybe-info-textutils:
20430 @if textutils
20431 maybe-info-textutils: info-textutils
20433 info-textutils: \
20434 configure-textutils
20435 @[ -f ./textutils/Makefile ] || exit 0; \
20436 r=`${PWD_COMMAND}`; export r; \
20437 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20438 $(SET_LIB_PATH) \
20439 $(HOST_EXPORTS) \
20440 for flag in $(EXTRA_HOST_FLAGS) ; do \
20441 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20442 done; \
20443 echo "Doing info in textutils" ; \
20444 (cd textutils && \
20445 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20446 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20447 "RANLIB=$${RANLIB}" \
20448 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20449 info) \
20450 || exit 1
20452 @endif textutils
20454 .PHONY: maybe-dvi-textutils dvi-textutils
20455 maybe-dvi-textutils:
20456 @if textutils
20457 maybe-dvi-textutils: dvi-textutils
20459 dvi-textutils: \
20460 configure-textutils
20461 @[ -f ./textutils/Makefile ] || exit 0; \
20462 r=`${PWD_COMMAND}`; export r; \
20463 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20464 $(SET_LIB_PATH) \
20465 $(HOST_EXPORTS) \
20466 for flag in $(EXTRA_HOST_FLAGS) ; do \
20467 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20468 done; \
20469 echo "Doing dvi in textutils" ; \
20470 (cd textutils && \
20471 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20472 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20473 "RANLIB=$${RANLIB}" \
20474 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20475 dvi) \
20476 || exit 1
20478 @endif textutils
20480 .PHONY: maybe-html-textutils html-textutils
20481 maybe-html-textutils:
20482 @if textutils
20483 maybe-html-textutils: html-textutils
20485 html-textutils: \
20486 configure-textutils
20487 @[ -f ./textutils/Makefile ] || exit 0; \
20488 r=`${PWD_COMMAND}`; export r; \
20489 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20490 $(SET_LIB_PATH) \
20491 $(HOST_EXPORTS) \
20492 for flag in $(EXTRA_HOST_FLAGS) ; do \
20493 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20494 done; \
20495 echo "Doing html in textutils" ; \
20496 (cd textutils && \
20497 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20498 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20499 "RANLIB=$${RANLIB}" \
20500 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20501 html) \
20502 || exit 1
20504 @endif textutils
20506 .PHONY: maybe-TAGS-textutils TAGS-textutils
20507 maybe-TAGS-textutils:
20508 @if textutils
20509 maybe-TAGS-textutils: TAGS-textutils
20511 TAGS-textutils: \
20512 configure-textutils
20513 @[ -f ./textutils/Makefile ] || exit 0; \
20514 r=`${PWD_COMMAND}`; export r; \
20515 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20516 $(SET_LIB_PATH) \
20517 $(HOST_EXPORTS) \
20518 for flag in $(EXTRA_HOST_FLAGS) ; do \
20519 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20520 done; \
20521 echo "Doing TAGS in textutils" ; \
20522 (cd textutils && \
20523 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20524 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20525 "RANLIB=$${RANLIB}" \
20526 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20527 TAGS) \
20528 || exit 1
20530 @endif textutils
20532 .PHONY: maybe-install-info-textutils install-info-textutils
20533 maybe-install-info-textutils:
20534 @if textutils
20535 maybe-install-info-textutils: install-info-textutils
20537 install-info-textutils: \
20538 configure-textutils \
20539 info-textutils
20540 @[ -f ./textutils/Makefile ] || exit 0; \
20541 r=`${PWD_COMMAND}`; export r; \
20542 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20543 $(SET_LIB_PATH) \
20544 $(HOST_EXPORTS) \
20545 for flag in $(EXTRA_HOST_FLAGS) ; do \
20546 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20547 done; \
20548 echo "Doing install-info in textutils" ; \
20549 (cd textutils && \
20550 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20551 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20552 "RANLIB=$${RANLIB}" \
20553 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20554 install-info) \
20555 || exit 1
20557 @endif textutils
20559 .PHONY: maybe-installcheck-textutils installcheck-textutils
20560 maybe-installcheck-textutils:
20561 @if textutils
20562 maybe-installcheck-textutils: installcheck-textutils
20564 installcheck-textutils: \
20565 configure-textutils
20566 @[ -f ./textutils/Makefile ] || exit 0; \
20567 r=`${PWD_COMMAND}`; export r; \
20568 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20569 $(SET_LIB_PATH) \
20570 $(HOST_EXPORTS) \
20571 for flag in $(EXTRA_HOST_FLAGS) ; do \
20572 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20573 done; \
20574 echo "Doing installcheck in textutils" ; \
20575 (cd textutils && \
20576 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20577 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20578 "RANLIB=$${RANLIB}" \
20579 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20580 installcheck) \
20581 || exit 1
20583 @endif textutils
20585 .PHONY: maybe-mostlyclean-textutils mostlyclean-textutils
20586 maybe-mostlyclean-textutils:
20587 @if textutils
20588 maybe-mostlyclean-textutils: mostlyclean-textutils
20590 mostlyclean-textutils:
20591 @[ -f ./textutils/Makefile ] || exit 0; \
20592 r=`${PWD_COMMAND}`; export r; \
20593 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20594 $(SET_LIB_PATH) \
20595 $(HOST_EXPORTS) \
20596 for flag in $(EXTRA_HOST_FLAGS) ; do \
20597 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20598 done; \
20599 echo "Doing mostlyclean in textutils" ; \
20600 (cd textutils && \
20601 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20602 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20603 "RANLIB=$${RANLIB}" \
20604 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20605 mostlyclean) \
20606 || exit 1
20608 @endif textutils
20610 .PHONY: maybe-clean-textutils clean-textutils
20611 maybe-clean-textutils:
20612 @if textutils
20613 maybe-clean-textutils: clean-textutils
20615 clean-textutils:
20616 @[ -f ./textutils/Makefile ] || exit 0; \
20617 r=`${PWD_COMMAND}`; export r; \
20618 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20619 $(SET_LIB_PATH) \
20620 $(HOST_EXPORTS) \
20621 for flag in $(EXTRA_HOST_FLAGS) ; do \
20622 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20623 done; \
20624 echo "Doing clean in textutils" ; \
20625 (cd textutils && \
20626 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20627 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20628 "RANLIB=$${RANLIB}" \
20629 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20630 clean) \
20631 || exit 1
20633 @endif textutils
20635 .PHONY: maybe-distclean-textutils distclean-textutils
20636 maybe-distclean-textutils:
20637 @if textutils
20638 maybe-distclean-textutils: distclean-textutils
20640 distclean-textutils:
20641 @[ -f ./textutils/Makefile ] || exit 0; \
20642 r=`${PWD_COMMAND}`; export r; \
20643 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20644 $(SET_LIB_PATH) \
20645 $(HOST_EXPORTS) \
20646 for flag in $(EXTRA_HOST_FLAGS) ; do \
20647 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20648 done; \
20649 echo "Doing distclean in textutils" ; \
20650 (cd textutils && \
20651 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20652 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20653 "RANLIB=$${RANLIB}" \
20654 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20655 distclean) \
20656 || exit 1
20658 @endif textutils
20660 .PHONY: maybe-maintainer-clean-textutils maintainer-clean-textutils
20661 maybe-maintainer-clean-textutils:
20662 @if textutils
20663 maybe-maintainer-clean-textutils: maintainer-clean-textutils
20665 maintainer-clean-textutils:
20666 @[ -f ./textutils/Makefile ] || exit 0; \
20667 r=`${PWD_COMMAND}`; export r; \
20668 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20669 $(SET_LIB_PATH) \
20670 $(HOST_EXPORTS) \
20671 for flag in $(EXTRA_HOST_FLAGS) ; do \
20672 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20673 done; \
20674 echo "Doing maintainer-clean in textutils" ; \
20675 (cd textutils && \
20676 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20677 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20678 "RANLIB=$${RANLIB}" \
20679 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20680 maintainer-clean) \
20681 || exit 1
20683 @endif textutils
20686 .PHONY: configure-time maybe-configure-time
20687 maybe-configure-time:
20688 @if time
20689 maybe-configure-time: configure-time
20690 configure-time:
20691 @test ! -f time/Makefile || exit 0; \
20692 [ -d time ] || mkdir time; \
20693 r=`${PWD_COMMAND}`; export r; \
20694 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20695 $(HOST_EXPORTS) \
20696 echo Configuring in time; \
20697 cd time || exit 1; \
20698 case $(srcdir) in \
20699 \.) \
20700 srcdiroption="--srcdir=."; \
20701 libsrcdir=".";; \
20702 /* | [A-Za-z]:[\\/]*) \
20703 srcdiroption="--srcdir=$(srcdir)/time"; \
20704 libsrcdir="$$s/time";; \
20705 *) \
20706 srcdiroption="--srcdir=../$(srcdir)/time"; \
20707 libsrcdir="$$s/time";; \
20708 esac; \
20709 $(SHELL) $${libsrcdir}/configure \
20710 $(HOST_CONFIGARGS) $${srcdiroption} \
20711 || exit 1
20712 @endif time
20714 .PHONY: all-time maybe-all-time
20715 maybe-all-time:
20716 @if time
20717 TARGET-time=all
20718 maybe-all-time: all-time
20719 all-time: configure-time
20720 @r=`${PWD_COMMAND}`; export r; \
20721 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20722 $(SET_LIB_PATH) \
20723 $(HOST_EXPORTS) \
20724 (cd time && $(MAKE) $(FLAGS_TO_PASS) \
20725 $(TARGET-time))
20726 @endif time
20728 .PHONY: check-time maybe-check-time
20729 maybe-check-time:
20730 @if time
20731 maybe-check-time: check-time
20733 check-time:
20734 @r=`${PWD_COMMAND}`; export r; \
20735 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20736 $(SET_LIB_PATH) \
20737 $(HOST_EXPORTS) \
20738 (cd time && $(MAKE) $(FLAGS_TO_PASS) check)
20740 @endif time
20742 .PHONY: install-time maybe-install-time
20743 maybe-install-time:
20744 @if time
20745 maybe-install-time: install-time
20747 install-time: installdirs
20748 @r=`${PWD_COMMAND}`; export r; \
20749 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20750 $(SET_LIB_PATH) \
20751 $(HOST_EXPORTS) \
20752 (cd time && $(MAKE) $(FLAGS_TO_PASS) install)
20754 @endif time
20756 # Other targets (info, dvi, etc.)
20758 .PHONY: maybe-info-time info-time
20759 maybe-info-time:
20760 @if time
20761 maybe-info-time: info-time
20763 info-time: \
20764 configure-time
20765 @[ -f ./time/Makefile ] || exit 0; \
20766 r=`${PWD_COMMAND}`; export r; \
20767 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20768 $(SET_LIB_PATH) \
20769 $(HOST_EXPORTS) \
20770 for flag in $(EXTRA_HOST_FLAGS) ; do \
20771 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20772 done; \
20773 echo "Doing info in time" ; \
20774 (cd time && \
20775 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20776 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20777 "RANLIB=$${RANLIB}" \
20778 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20779 info) \
20780 || exit 1
20782 @endif time
20784 .PHONY: maybe-dvi-time dvi-time
20785 maybe-dvi-time:
20786 @if time
20787 maybe-dvi-time: dvi-time
20789 dvi-time: \
20790 configure-time
20791 @[ -f ./time/Makefile ] || exit 0; \
20792 r=`${PWD_COMMAND}`; export r; \
20793 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20794 $(SET_LIB_PATH) \
20795 $(HOST_EXPORTS) \
20796 for flag in $(EXTRA_HOST_FLAGS) ; do \
20797 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20798 done; \
20799 echo "Doing dvi in time" ; \
20800 (cd time && \
20801 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20802 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20803 "RANLIB=$${RANLIB}" \
20804 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20805 dvi) \
20806 || exit 1
20808 @endif time
20810 .PHONY: maybe-html-time html-time
20811 maybe-html-time:
20812 @if time
20813 maybe-html-time: html-time
20815 html-time: \
20816 configure-time
20817 @[ -f ./time/Makefile ] || exit 0; \
20818 r=`${PWD_COMMAND}`; export r; \
20819 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20820 $(SET_LIB_PATH) \
20821 $(HOST_EXPORTS) \
20822 for flag in $(EXTRA_HOST_FLAGS) ; do \
20823 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20824 done; \
20825 echo "Doing html in time" ; \
20826 (cd time && \
20827 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20828 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20829 "RANLIB=$${RANLIB}" \
20830 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20831 html) \
20832 || exit 1
20834 @endif time
20836 .PHONY: maybe-TAGS-time TAGS-time
20837 maybe-TAGS-time:
20838 @if time
20839 maybe-TAGS-time: TAGS-time
20841 TAGS-time: \
20842 configure-time
20843 @[ -f ./time/Makefile ] || exit 0; \
20844 r=`${PWD_COMMAND}`; export r; \
20845 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20846 $(SET_LIB_PATH) \
20847 $(HOST_EXPORTS) \
20848 for flag in $(EXTRA_HOST_FLAGS) ; do \
20849 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20850 done; \
20851 echo "Doing TAGS in time" ; \
20852 (cd time && \
20853 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20854 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20855 "RANLIB=$${RANLIB}" \
20856 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20857 TAGS) \
20858 || exit 1
20860 @endif time
20862 .PHONY: maybe-install-info-time install-info-time
20863 maybe-install-info-time:
20864 @if time
20865 maybe-install-info-time: install-info-time
20867 install-info-time: \
20868 configure-time \
20869 info-time
20870 @[ -f ./time/Makefile ] || exit 0; \
20871 r=`${PWD_COMMAND}`; export r; \
20872 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20873 $(SET_LIB_PATH) \
20874 $(HOST_EXPORTS) \
20875 for flag in $(EXTRA_HOST_FLAGS) ; do \
20876 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20877 done; \
20878 echo "Doing install-info in time" ; \
20879 (cd time && \
20880 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20881 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20882 "RANLIB=$${RANLIB}" \
20883 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20884 install-info) \
20885 || exit 1
20887 @endif time
20889 .PHONY: maybe-installcheck-time installcheck-time
20890 maybe-installcheck-time:
20891 @if time
20892 maybe-installcheck-time: installcheck-time
20894 installcheck-time: \
20895 configure-time
20896 @[ -f ./time/Makefile ] || exit 0; \
20897 r=`${PWD_COMMAND}`; export r; \
20898 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20899 $(SET_LIB_PATH) \
20900 $(HOST_EXPORTS) \
20901 for flag in $(EXTRA_HOST_FLAGS) ; do \
20902 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20903 done; \
20904 echo "Doing installcheck in time" ; \
20905 (cd time && \
20906 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20907 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20908 "RANLIB=$${RANLIB}" \
20909 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20910 installcheck) \
20911 || exit 1
20913 @endif time
20915 .PHONY: maybe-mostlyclean-time mostlyclean-time
20916 maybe-mostlyclean-time:
20917 @if time
20918 maybe-mostlyclean-time: mostlyclean-time
20920 mostlyclean-time:
20921 @[ -f ./time/Makefile ] || exit 0; \
20922 r=`${PWD_COMMAND}`; export r; \
20923 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20924 $(SET_LIB_PATH) \
20925 $(HOST_EXPORTS) \
20926 for flag in $(EXTRA_HOST_FLAGS) ; do \
20927 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20928 done; \
20929 echo "Doing mostlyclean in time" ; \
20930 (cd time && \
20931 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20932 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20933 "RANLIB=$${RANLIB}" \
20934 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20935 mostlyclean) \
20936 || exit 1
20938 @endif time
20940 .PHONY: maybe-clean-time clean-time
20941 maybe-clean-time:
20942 @if time
20943 maybe-clean-time: clean-time
20945 clean-time:
20946 @[ -f ./time/Makefile ] || exit 0; \
20947 r=`${PWD_COMMAND}`; export r; \
20948 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20949 $(SET_LIB_PATH) \
20950 $(HOST_EXPORTS) \
20951 for flag in $(EXTRA_HOST_FLAGS) ; do \
20952 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20953 done; \
20954 echo "Doing clean in time" ; \
20955 (cd time && \
20956 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20957 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20958 "RANLIB=$${RANLIB}" \
20959 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20960 clean) \
20961 || exit 1
20963 @endif time
20965 .PHONY: maybe-distclean-time distclean-time
20966 maybe-distclean-time:
20967 @if time
20968 maybe-distclean-time: distclean-time
20970 distclean-time:
20971 @[ -f ./time/Makefile ] || exit 0; \
20972 r=`${PWD_COMMAND}`; export r; \
20973 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20974 $(SET_LIB_PATH) \
20975 $(HOST_EXPORTS) \
20976 for flag in $(EXTRA_HOST_FLAGS) ; do \
20977 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20978 done; \
20979 echo "Doing distclean in time" ; \
20980 (cd time && \
20981 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20982 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20983 "RANLIB=$${RANLIB}" \
20984 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20985 distclean) \
20986 || exit 1
20988 @endif time
20990 .PHONY: maybe-maintainer-clean-time maintainer-clean-time
20991 maybe-maintainer-clean-time:
20992 @if time
20993 maybe-maintainer-clean-time: maintainer-clean-time
20995 maintainer-clean-time:
20996 @[ -f ./time/Makefile ] || exit 0; \
20997 r=`${PWD_COMMAND}`; export r; \
20998 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20999 $(SET_LIB_PATH) \
21000 $(HOST_EXPORTS) \
21001 for flag in $(EXTRA_HOST_FLAGS) ; do \
21002 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21003 done; \
21004 echo "Doing maintainer-clean in time" ; \
21005 (cd time && \
21006 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21007 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21008 "RANLIB=$${RANLIB}" \
21009 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21010 maintainer-clean) \
21011 || exit 1
21013 @endif time
21016 .PHONY: configure-uudecode maybe-configure-uudecode
21017 maybe-configure-uudecode:
21018 @if uudecode
21019 maybe-configure-uudecode: configure-uudecode
21020 configure-uudecode:
21021 @test ! -f uudecode/Makefile || exit 0; \
21022 [ -d uudecode ] || mkdir uudecode; \
21023 r=`${PWD_COMMAND}`; export r; \
21024 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21025 $(HOST_EXPORTS) \
21026 echo Configuring in uudecode; \
21027 cd uudecode || exit 1; \
21028 case $(srcdir) in \
21029 \.) \
21030 srcdiroption="--srcdir=."; \
21031 libsrcdir=".";; \
21032 /* | [A-Za-z]:[\\/]*) \
21033 srcdiroption="--srcdir=$(srcdir)/uudecode"; \
21034 libsrcdir="$$s/uudecode";; \
21035 *) \
21036 srcdiroption="--srcdir=../$(srcdir)/uudecode"; \
21037 libsrcdir="$$s/uudecode";; \
21038 esac; \
21039 $(SHELL) $${libsrcdir}/configure \
21040 $(HOST_CONFIGARGS) $${srcdiroption} \
21041 || exit 1
21042 @endif uudecode
21044 .PHONY: all-uudecode maybe-all-uudecode
21045 maybe-all-uudecode:
21046 @if uudecode
21047 TARGET-uudecode=all
21048 maybe-all-uudecode: all-uudecode
21049 all-uudecode: configure-uudecode
21050 @r=`${PWD_COMMAND}`; export r; \
21051 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21052 $(SET_LIB_PATH) \
21053 $(HOST_EXPORTS) \
21054 (cd uudecode && $(MAKE) $(FLAGS_TO_PASS) \
21055 $(TARGET-uudecode))
21056 @endif uudecode
21058 .PHONY: check-uudecode maybe-check-uudecode
21059 maybe-check-uudecode:
21060 @if uudecode
21061 maybe-check-uudecode: check-uudecode
21063 check-uudecode:
21064 @r=`${PWD_COMMAND}`; export r; \
21065 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21066 $(SET_LIB_PATH) \
21067 $(HOST_EXPORTS) \
21068 (cd uudecode && $(MAKE) $(FLAGS_TO_PASS) check)
21070 @endif uudecode
21072 .PHONY: install-uudecode maybe-install-uudecode
21073 maybe-install-uudecode:
21074 @if uudecode
21075 maybe-install-uudecode: install-uudecode
21077 install-uudecode: installdirs
21078 @r=`${PWD_COMMAND}`; export r; \
21079 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21080 $(SET_LIB_PATH) \
21081 $(HOST_EXPORTS) \
21082 (cd uudecode && $(MAKE) $(FLAGS_TO_PASS) install)
21084 @endif uudecode
21086 # Other targets (info, dvi, etc.)
21088 .PHONY: maybe-info-uudecode info-uudecode
21089 maybe-info-uudecode:
21090 @if uudecode
21091 maybe-info-uudecode: info-uudecode
21093 info-uudecode: \
21094 configure-uudecode
21095 @[ -f ./uudecode/Makefile ] || exit 0; \
21096 r=`${PWD_COMMAND}`; export r; \
21097 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21098 $(SET_LIB_PATH) \
21099 $(HOST_EXPORTS) \
21100 for flag in $(EXTRA_HOST_FLAGS) ; do \
21101 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21102 done; \
21103 echo "Doing info in uudecode" ; \
21104 (cd uudecode && \
21105 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21106 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21107 "RANLIB=$${RANLIB}" \
21108 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21109 info) \
21110 || exit 1
21112 @endif uudecode
21114 .PHONY: maybe-dvi-uudecode dvi-uudecode
21115 maybe-dvi-uudecode:
21116 @if uudecode
21117 maybe-dvi-uudecode: dvi-uudecode
21119 dvi-uudecode: \
21120 configure-uudecode
21121 @[ -f ./uudecode/Makefile ] || exit 0; \
21122 r=`${PWD_COMMAND}`; export r; \
21123 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21124 $(SET_LIB_PATH) \
21125 $(HOST_EXPORTS) \
21126 for flag in $(EXTRA_HOST_FLAGS) ; do \
21127 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21128 done; \
21129 echo "Doing dvi in uudecode" ; \
21130 (cd uudecode && \
21131 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21132 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21133 "RANLIB=$${RANLIB}" \
21134 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21135 dvi) \
21136 || exit 1
21138 @endif uudecode
21140 .PHONY: maybe-html-uudecode html-uudecode
21141 maybe-html-uudecode:
21142 @if uudecode
21143 maybe-html-uudecode: html-uudecode
21145 html-uudecode: \
21146 configure-uudecode
21147 @[ -f ./uudecode/Makefile ] || exit 0; \
21148 r=`${PWD_COMMAND}`; export r; \
21149 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21150 $(SET_LIB_PATH) \
21151 $(HOST_EXPORTS) \
21152 for flag in $(EXTRA_HOST_FLAGS) ; do \
21153 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21154 done; \
21155 echo "Doing html in uudecode" ; \
21156 (cd uudecode && \
21157 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21158 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21159 "RANLIB=$${RANLIB}" \
21160 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21161 html) \
21162 || exit 1
21164 @endif uudecode
21166 .PHONY: maybe-TAGS-uudecode TAGS-uudecode
21167 maybe-TAGS-uudecode:
21168 @if uudecode
21169 maybe-TAGS-uudecode: TAGS-uudecode
21171 TAGS-uudecode: \
21172 configure-uudecode
21173 @[ -f ./uudecode/Makefile ] || exit 0; \
21174 r=`${PWD_COMMAND}`; export r; \
21175 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21176 $(SET_LIB_PATH) \
21177 $(HOST_EXPORTS) \
21178 for flag in $(EXTRA_HOST_FLAGS) ; do \
21179 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21180 done; \
21181 echo "Doing TAGS in uudecode" ; \
21182 (cd uudecode && \
21183 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21184 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21185 "RANLIB=$${RANLIB}" \
21186 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21187 TAGS) \
21188 || exit 1
21190 @endif uudecode
21192 .PHONY: maybe-install-info-uudecode install-info-uudecode
21193 maybe-install-info-uudecode:
21194 @if uudecode
21195 maybe-install-info-uudecode: install-info-uudecode
21197 install-info-uudecode: \
21198 configure-uudecode \
21199 info-uudecode
21200 @[ -f ./uudecode/Makefile ] || exit 0; \
21201 r=`${PWD_COMMAND}`; export r; \
21202 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21203 $(SET_LIB_PATH) \
21204 $(HOST_EXPORTS) \
21205 for flag in $(EXTRA_HOST_FLAGS) ; do \
21206 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21207 done; \
21208 echo "Doing install-info in uudecode" ; \
21209 (cd uudecode && \
21210 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21211 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21212 "RANLIB=$${RANLIB}" \
21213 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21214 install-info) \
21215 || exit 1
21217 @endif uudecode
21219 .PHONY: maybe-installcheck-uudecode installcheck-uudecode
21220 maybe-installcheck-uudecode:
21221 @if uudecode
21222 maybe-installcheck-uudecode: installcheck-uudecode
21224 installcheck-uudecode: \
21225 configure-uudecode
21226 @[ -f ./uudecode/Makefile ] || exit 0; \
21227 r=`${PWD_COMMAND}`; export r; \
21228 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21229 $(SET_LIB_PATH) \
21230 $(HOST_EXPORTS) \
21231 for flag in $(EXTRA_HOST_FLAGS) ; do \
21232 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21233 done; \
21234 echo "Doing installcheck in uudecode" ; \
21235 (cd uudecode && \
21236 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21237 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21238 "RANLIB=$${RANLIB}" \
21239 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21240 installcheck) \
21241 || exit 1
21243 @endif uudecode
21245 .PHONY: maybe-mostlyclean-uudecode mostlyclean-uudecode
21246 maybe-mostlyclean-uudecode:
21247 @if uudecode
21248 maybe-mostlyclean-uudecode: mostlyclean-uudecode
21250 mostlyclean-uudecode:
21251 @[ -f ./uudecode/Makefile ] || exit 0; \
21252 r=`${PWD_COMMAND}`; export r; \
21253 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21254 $(SET_LIB_PATH) \
21255 $(HOST_EXPORTS) \
21256 for flag in $(EXTRA_HOST_FLAGS) ; do \
21257 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21258 done; \
21259 echo "Doing mostlyclean in uudecode" ; \
21260 (cd uudecode && \
21261 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21262 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21263 "RANLIB=$${RANLIB}" \
21264 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21265 mostlyclean) \
21266 || exit 1
21268 @endif uudecode
21270 .PHONY: maybe-clean-uudecode clean-uudecode
21271 maybe-clean-uudecode:
21272 @if uudecode
21273 maybe-clean-uudecode: clean-uudecode
21275 clean-uudecode:
21276 @[ -f ./uudecode/Makefile ] || exit 0; \
21277 r=`${PWD_COMMAND}`; export r; \
21278 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21279 $(SET_LIB_PATH) \
21280 $(HOST_EXPORTS) \
21281 for flag in $(EXTRA_HOST_FLAGS) ; do \
21282 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21283 done; \
21284 echo "Doing clean in uudecode" ; \
21285 (cd uudecode && \
21286 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21287 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21288 "RANLIB=$${RANLIB}" \
21289 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21290 clean) \
21291 || exit 1
21293 @endif uudecode
21295 .PHONY: maybe-distclean-uudecode distclean-uudecode
21296 maybe-distclean-uudecode:
21297 @if uudecode
21298 maybe-distclean-uudecode: distclean-uudecode
21300 distclean-uudecode:
21301 @[ -f ./uudecode/Makefile ] || exit 0; \
21302 r=`${PWD_COMMAND}`; export r; \
21303 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21304 $(SET_LIB_PATH) \
21305 $(HOST_EXPORTS) \
21306 for flag in $(EXTRA_HOST_FLAGS) ; do \
21307 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21308 done; \
21309 echo "Doing distclean in uudecode" ; \
21310 (cd uudecode && \
21311 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21312 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21313 "RANLIB=$${RANLIB}" \
21314 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21315 distclean) \
21316 || exit 1
21318 @endif uudecode
21320 .PHONY: maybe-maintainer-clean-uudecode maintainer-clean-uudecode
21321 maybe-maintainer-clean-uudecode:
21322 @if uudecode
21323 maybe-maintainer-clean-uudecode: maintainer-clean-uudecode
21325 maintainer-clean-uudecode:
21326 @[ -f ./uudecode/Makefile ] || exit 0; \
21327 r=`${PWD_COMMAND}`; export r; \
21328 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21329 $(SET_LIB_PATH) \
21330 $(HOST_EXPORTS) \
21331 for flag in $(EXTRA_HOST_FLAGS) ; do \
21332 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21333 done; \
21334 echo "Doing maintainer-clean in uudecode" ; \
21335 (cd uudecode && \
21336 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21337 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21338 "RANLIB=$${RANLIB}" \
21339 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21340 maintainer-clean) \
21341 || exit 1
21343 @endif uudecode
21346 .PHONY: configure-wdiff maybe-configure-wdiff
21347 maybe-configure-wdiff:
21348 @if wdiff
21349 maybe-configure-wdiff: configure-wdiff
21350 configure-wdiff:
21351 @test ! -f wdiff/Makefile || exit 0; \
21352 [ -d wdiff ] || mkdir wdiff; \
21353 r=`${PWD_COMMAND}`; export r; \
21354 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21355 $(HOST_EXPORTS) \
21356 echo Configuring in wdiff; \
21357 cd wdiff || exit 1; \
21358 case $(srcdir) in \
21359 \.) \
21360 srcdiroption="--srcdir=."; \
21361 libsrcdir=".";; \
21362 /* | [A-Za-z]:[\\/]*) \
21363 srcdiroption="--srcdir=$(srcdir)/wdiff"; \
21364 libsrcdir="$$s/wdiff";; \
21365 *) \
21366 srcdiroption="--srcdir=../$(srcdir)/wdiff"; \
21367 libsrcdir="$$s/wdiff";; \
21368 esac; \
21369 $(SHELL) $${libsrcdir}/configure \
21370 $(HOST_CONFIGARGS) $${srcdiroption} \
21371 || exit 1
21372 @endif wdiff
21374 .PHONY: all-wdiff maybe-all-wdiff
21375 maybe-all-wdiff:
21376 @if wdiff
21377 TARGET-wdiff=all
21378 maybe-all-wdiff: all-wdiff
21379 all-wdiff: configure-wdiff
21380 @r=`${PWD_COMMAND}`; export r; \
21381 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21382 $(SET_LIB_PATH) \
21383 $(HOST_EXPORTS) \
21384 (cd wdiff && $(MAKE) $(FLAGS_TO_PASS) \
21385 $(TARGET-wdiff))
21386 @endif wdiff
21388 .PHONY: check-wdiff maybe-check-wdiff
21389 maybe-check-wdiff:
21390 @if wdiff
21391 maybe-check-wdiff: check-wdiff
21393 check-wdiff:
21394 @r=`${PWD_COMMAND}`; export r; \
21395 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21396 $(SET_LIB_PATH) \
21397 $(HOST_EXPORTS) \
21398 (cd wdiff && $(MAKE) $(FLAGS_TO_PASS) check)
21400 @endif wdiff
21402 .PHONY: install-wdiff maybe-install-wdiff
21403 maybe-install-wdiff:
21404 @if wdiff
21405 maybe-install-wdiff: install-wdiff
21407 install-wdiff: installdirs
21408 @r=`${PWD_COMMAND}`; export r; \
21409 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21410 $(SET_LIB_PATH) \
21411 $(HOST_EXPORTS) \
21412 (cd wdiff && $(MAKE) $(FLAGS_TO_PASS) install)
21414 @endif wdiff
21416 # Other targets (info, dvi, etc.)
21418 .PHONY: maybe-info-wdiff info-wdiff
21419 maybe-info-wdiff:
21420 @if wdiff
21421 maybe-info-wdiff: info-wdiff
21423 info-wdiff: \
21424 configure-wdiff
21425 @[ -f ./wdiff/Makefile ] || exit 0; \
21426 r=`${PWD_COMMAND}`; export r; \
21427 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21428 $(SET_LIB_PATH) \
21429 $(HOST_EXPORTS) \
21430 for flag in $(EXTRA_HOST_FLAGS) ; do \
21431 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21432 done; \
21433 echo "Doing info in wdiff" ; \
21434 (cd wdiff && \
21435 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21436 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21437 "RANLIB=$${RANLIB}" \
21438 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21439 info) \
21440 || exit 1
21442 @endif wdiff
21444 .PHONY: maybe-dvi-wdiff dvi-wdiff
21445 maybe-dvi-wdiff:
21446 @if wdiff
21447 maybe-dvi-wdiff: dvi-wdiff
21449 dvi-wdiff: \
21450 configure-wdiff
21451 @[ -f ./wdiff/Makefile ] || exit 0; \
21452 r=`${PWD_COMMAND}`; export r; \
21453 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21454 $(SET_LIB_PATH) \
21455 $(HOST_EXPORTS) \
21456 for flag in $(EXTRA_HOST_FLAGS) ; do \
21457 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21458 done; \
21459 echo "Doing dvi in wdiff" ; \
21460 (cd wdiff && \
21461 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21462 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21463 "RANLIB=$${RANLIB}" \
21464 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21465 dvi) \
21466 || exit 1
21468 @endif wdiff
21470 .PHONY: maybe-html-wdiff html-wdiff
21471 maybe-html-wdiff:
21472 @if wdiff
21473 maybe-html-wdiff: html-wdiff
21475 html-wdiff: \
21476 configure-wdiff
21477 @[ -f ./wdiff/Makefile ] || exit 0; \
21478 r=`${PWD_COMMAND}`; export r; \
21479 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21480 $(SET_LIB_PATH) \
21481 $(HOST_EXPORTS) \
21482 for flag in $(EXTRA_HOST_FLAGS) ; do \
21483 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21484 done; \
21485 echo "Doing html in wdiff" ; \
21486 (cd wdiff && \
21487 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21488 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21489 "RANLIB=$${RANLIB}" \
21490 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21491 html) \
21492 || exit 1
21494 @endif wdiff
21496 .PHONY: maybe-TAGS-wdiff TAGS-wdiff
21497 maybe-TAGS-wdiff:
21498 @if wdiff
21499 maybe-TAGS-wdiff: TAGS-wdiff
21501 TAGS-wdiff: \
21502 configure-wdiff
21503 @[ -f ./wdiff/Makefile ] || exit 0; \
21504 r=`${PWD_COMMAND}`; export r; \
21505 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21506 $(SET_LIB_PATH) \
21507 $(HOST_EXPORTS) \
21508 for flag in $(EXTRA_HOST_FLAGS) ; do \
21509 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21510 done; \
21511 echo "Doing TAGS in wdiff" ; \
21512 (cd wdiff && \
21513 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21514 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21515 "RANLIB=$${RANLIB}" \
21516 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21517 TAGS) \
21518 || exit 1
21520 @endif wdiff
21522 .PHONY: maybe-install-info-wdiff install-info-wdiff
21523 maybe-install-info-wdiff:
21524 @if wdiff
21525 maybe-install-info-wdiff: install-info-wdiff
21527 install-info-wdiff: \
21528 configure-wdiff \
21529 info-wdiff
21530 @[ -f ./wdiff/Makefile ] || exit 0; \
21531 r=`${PWD_COMMAND}`; export r; \
21532 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21533 $(SET_LIB_PATH) \
21534 $(HOST_EXPORTS) \
21535 for flag in $(EXTRA_HOST_FLAGS) ; do \
21536 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21537 done; \
21538 echo "Doing install-info in wdiff" ; \
21539 (cd wdiff && \
21540 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21541 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21542 "RANLIB=$${RANLIB}" \
21543 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21544 install-info) \
21545 || exit 1
21547 @endif wdiff
21549 .PHONY: maybe-installcheck-wdiff installcheck-wdiff
21550 maybe-installcheck-wdiff:
21551 @if wdiff
21552 maybe-installcheck-wdiff: installcheck-wdiff
21554 installcheck-wdiff: \
21555 configure-wdiff
21556 @[ -f ./wdiff/Makefile ] || exit 0; \
21557 r=`${PWD_COMMAND}`; export r; \
21558 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21559 $(SET_LIB_PATH) \
21560 $(HOST_EXPORTS) \
21561 for flag in $(EXTRA_HOST_FLAGS) ; do \
21562 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21563 done; \
21564 echo "Doing installcheck in wdiff" ; \
21565 (cd wdiff && \
21566 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21567 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21568 "RANLIB=$${RANLIB}" \
21569 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21570 installcheck) \
21571 || exit 1
21573 @endif wdiff
21575 .PHONY: maybe-mostlyclean-wdiff mostlyclean-wdiff
21576 maybe-mostlyclean-wdiff:
21577 @if wdiff
21578 maybe-mostlyclean-wdiff: mostlyclean-wdiff
21580 mostlyclean-wdiff:
21581 @[ -f ./wdiff/Makefile ] || exit 0; \
21582 r=`${PWD_COMMAND}`; export r; \
21583 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21584 $(SET_LIB_PATH) \
21585 $(HOST_EXPORTS) \
21586 for flag in $(EXTRA_HOST_FLAGS) ; do \
21587 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21588 done; \
21589 echo "Doing mostlyclean in wdiff" ; \
21590 (cd wdiff && \
21591 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21592 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21593 "RANLIB=$${RANLIB}" \
21594 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21595 mostlyclean) \
21596 || exit 1
21598 @endif wdiff
21600 .PHONY: maybe-clean-wdiff clean-wdiff
21601 maybe-clean-wdiff:
21602 @if wdiff
21603 maybe-clean-wdiff: clean-wdiff
21605 clean-wdiff:
21606 @[ -f ./wdiff/Makefile ] || exit 0; \
21607 r=`${PWD_COMMAND}`; export r; \
21608 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21609 $(SET_LIB_PATH) \
21610 $(HOST_EXPORTS) \
21611 for flag in $(EXTRA_HOST_FLAGS) ; do \
21612 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21613 done; \
21614 echo "Doing clean in wdiff" ; \
21615 (cd wdiff && \
21616 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21617 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21618 "RANLIB=$${RANLIB}" \
21619 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21620 clean) \
21621 || exit 1
21623 @endif wdiff
21625 .PHONY: maybe-distclean-wdiff distclean-wdiff
21626 maybe-distclean-wdiff:
21627 @if wdiff
21628 maybe-distclean-wdiff: distclean-wdiff
21630 distclean-wdiff:
21631 @[ -f ./wdiff/Makefile ] || exit 0; \
21632 r=`${PWD_COMMAND}`; export r; \
21633 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21634 $(SET_LIB_PATH) \
21635 $(HOST_EXPORTS) \
21636 for flag in $(EXTRA_HOST_FLAGS) ; do \
21637 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21638 done; \
21639 echo "Doing distclean in wdiff" ; \
21640 (cd wdiff && \
21641 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21642 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21643 "RANLIB=$${RANLIB}" \
21644 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21645 distclean) \
21646 || exit 1
21648 @endif wdiff
21650 .PHONY: maybe-maintainer-clean-wdiff maintainer-clean-wdiff
21651 maybe-maintainer-clean-wdiff:
21652 @if wdiff
21653 maybe-maintainer-clean-wdiff: maintainer-clean-wdiff
21655 maintainer-clean-wdiff:
21656 @[ -f ./wdiff/Makefile ] || exit 0; \
21657 r=`${PWD_COMMAND}`; export r; \
21658 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21659 $(SET_LIB_PATH) \
21660 $(HOST_EXPORTS) \
21661 for flag in $(EXTRA_HOST_FLAGS) ; do \
21662 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21663 done; \
21664 echo "Doing maintainer-clean in wdiff" ; \
21665 (cd wdiff && \
21666 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21667 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21668 "RANLIB=$${RANLIB}" \
21669 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21670 maintainer-clean) \
21671 || exit 1
21673 @endif wdiff
21676 .PHONY: configure-zip maybe-configure-zip
21677 maybe-configure-zip:
21678 @if zip
21679 maybe-configure-zip: configure-zip
21680 configure-zip:
21681 @test ! -f zip/Makefile || exit 0; \
21682 [ -d zip ] || mkdir zip; \
21683 r=`${PWD_COMMAND}`; export r; \
21684 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21685 $(HOST_EXPORTS) \
21686 echo Configuring in zip; \
21687 cd zip || exit 1; \
21688 case $(srcdir) in \
21689 \.) \
21690 srcdiroption="--srcdir=."; \
21691 libsrcdir=".";; \
21692 /* | [A-Za-z]:[\\/]*) \
21693 srcdiroption="--srcdir=$(srcdir)/zip"; \
21694 libsrcdir="$$s/zip";; \
21695 *) \
21696 srcdiroption="--srcdir=../$(srcdir)/zip"; \
21697 libsrcdir="$$s/zip";; \
21698 esac; \
21699 $(SHELL) $${libsrcdir}/configure \
21700 $(HOST_CONFIGARGS) $${srcdiroption} \
21701 || exit 1
21702 @endif zip
21704 .PHONY: all-zip maybe-all-zip
21705 maybe-all-zip:
21706 @if zip
21707 TARGET-zip=all
21708 maybe-all-zip: all-zip
21709 all-zip: configure-zip
21710 @r=`${PWD_COMMAND}`; export r; \
21711 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21712 $(SET_LIB_PATH) \
21713 $(HOST_EXPORTS) \
21714 (cd zip && $(MAKE) $(FLAGS_TO_PASS) \
21715 $(TARGET-zip))
21716 @endif zip
21718 .PHONY: check-zip maybe-check-zip
21719 maybe-check-zip:
21720 @if zip
21721 maybe-check-zip: check-zip
21723 # This module is only tested in a native toolchain.
21724 check-zip:
21725 @if [ '$(host)' = '$(target)' ] ; then \
21726 r=`${PWD_COMMAND}`; export r; \
21727 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21728 $(SET_LIB_PATH) \
21729 $(HOST_EXPORTS) \
21730 (cd zip && $(MAKE) $(FLAGS_TO_PASS) check); \
21733 @endif zip
21735 .PHONY: install-zip maybe-install-zip
21736 maybe-install-zip:
21737 @if zip
21738 maybe-install-zip: install-zip
21740 install-zip: installdirs
21741 @r=`${PWD_COMMAND}`; export r; \
21742 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21743 $(SET_LIB_PATH) \
21744 $(HOST_EXPORTS) \
21745 (cd zip && $(MAKE) $(FLAGS_TO_PASS) install)
21747 @endif zip
21749 # Other targets (info, dvi, etc.)
21751 .PHONY: maybe-info-zip info-zip
21752 maybe-info-zip:
21753 @if zip
21754 maybe-info-zip: info-zip
21756 info-zip: \
21757 configure-zip
21758 @[ -f ./zip/Makefile ] || exit 0; \
21759 r=`${PWD_COMMAND}`; export r; \
21760 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21761 $(SET_LIB_PATH) \
21762 $(HOST_EXPORTS) \
21763 for flag in $(EXTRA_HOST_FLAGS) ; do \
21764 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21765 done; \
21766 echo "Doing info in zip" ; \
21767 (cd zip && \
21768 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21769 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21770 "RANLIB=$${RANLIB}" \
21771 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21772 info) \
21773 || exit 1
21775 @endif zip
21777 .PHONY: maybe-dvi-zip dvi-zip
21778 maybe-dvi-zip:
21779 @if zip
21780 maybe-dvi-zip: dvi-zip
21782 dvi-zip: \
21783 configure-zip
21784 @[ -f ./zip/Makefile ] || exit 0; \
21785 r=`${PWD_COMMAND}`; export r; \
21786 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21787 $(SET_LIB_PATH) \
21788 $(HOST_EXPORTS) \
21789 for flag in $(EXTRA_HOST_FLAGS) ; do \
21790 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21791 done; \
21792 echo "Doing dvi in zip" ; \
21793 (cd zip && \
21794 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21795 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21796 "RANLIB=$${RANLIB}" \
21797 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21798 dvi) \
21799 || exit 1
21801 @endif zip
21803 .PHONY: maybe-html-zip html-zip
21804 maybe-html-zip:
21805 @if zip
21806 maybe-html-zip: html-zip
21808 html-zip: \
21809 configure-zip
21810 @[ -f ./zip/Makefile ] || exit 0; \
21811 r=`${PWD_COMMAND}`; export r; \
21812 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21813 $(SET_LIB_PATH) \
21814 $(HOST_EXPORTS) \
21815 for flag in $(EXTRA_HOST_FLAGS) ; do \
21816 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21817 done; \
21818 echo "Doing html in zip" ; \
21819 (cd zip && \
21820 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21821 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21822 "RANLIB=$${RANLIB}" \
21823 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21824 html) \
21825 || exit 1
21827 @endif zip
21829 .PHONY: maybe-TAGS-zip TAGS-zip
21830 maybe-TAGS-zip:
21831 @if zip
21832 maybe-TAGS-zip: TAGS-zip
21834 TAGS-zip: \
21835 configure-zip
21836 @[ -f ./zip/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 TAGS in zip" ; \
21845 (cd zip && \
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 TAGS) \
21851 || exit 1
21853 @endif zip
21855 .PHONY: maybe-install-info-zip install-info-zip
21856 maybe-install-info-zip:
21857 @if zip
21858 maybe-install-info-zip: install-info-zip
21860 install-info-zip: \
21861 configure-zip \
21862 info-zip
21863 @[ -f ./zip/Makefile ] || exit 0; \
21864 r=`${PWD_COMMAND}`; export r; \
21865 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21866 $(SET_LIB_PATH) \
21867 $(HOST_EXPORTS) \
21868 for flag in $(EXTRA_HOST_FLAGS) ; do \
21869 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21870 done; \
21871 echo "Doing install-info in zip" ; \
21872 (cd zip && \
21873 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21874 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21875 "RANLIB=$${RANLIB}" \
21876 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21877 install-info) \
21878 || exit 1
21880 @endif zip
21882 .PHONY: maybe-installcheck-zip installcheck-zip
21883 maybe-installcheck-zip:
21884 @if zip
21885 maybe-installcheck-zip: installcheck-zip
21887 installcheck-zip: \
21888 configure-zip
21889 @[ -f ./zip/Makefile ] || exit 0; \
21890 r=`${PWD_COMMAND}`; export r; \
21891 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21892 $(SET_LIB_PATH) \
21893 $(HOST_EXPORTS) \
21894 for flag in $(EXTRA_HOST_FLAGS) ; do \
21895 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21896 done; \
21897 echo "Doing installcheck in zip" ; \
21898 (cd zip && \
21899 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21900 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21901 "RANLIB=$${RANLIB}" \
21902 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21903 installcheck) \
21904 || exit 1
21906 @endif zip
21908 .PHONY: maybe-mostlyclean-zip mostlyclean-zip
21909 maybe-mostlyclean-zip:
21910 @if zip
21911 maybe-mostlyclean-zip: mostlyclean-zip
21913 mostlyclean-zip:
21914 @[ -f ./zip/Makefile ] || exit 0; \
21915 r=`${PWD_COMMAND}`; export r; \
21916 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21917 $(SET_LIB_PATH) \
21918 $(HOST_EXPORTS) \
21919 for flag in $(EXTRA_HOST_FLAGS) ; do \
21920 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21921 done; \
21922 echo "Doing mostlyclean in zip" ; \
21923 (cd zip && \
21924 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21925 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21926 "RANLIB=$${RANLIB}" \
21927 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21928 mostlyclean) \
21929 || exit 1
21931 @endif zip
21933 .PHONY: maybe-clean-zip clean-zip
21934 maybe-clean-zip:
21935 @if zip
21936 maybe-clean-zip: clean-zip
21938 clean-zip:
21939 @[ -f ./zip/Makefile ] || exit 0; \
21940 r=`${PWD_COMMAND}`; export r; \
21941 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21942 $(SET_LIB_PATH) \
21943 $(HOST_EXPORTS) \
21944 for flag in $(EXTRA_HOST_FLAGS) ; do \
21945 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21946 done; \
21947 echo "Doing clean in zip" ; \
21948 (cd zip && \
21949 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21950 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21951 "RANLIB=$${RANLIB}" \
21952 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21953 clean) \
21954 || exit 1
21956 @endif zip
21958 .PHONY: maybe-distclean-zip distclean-zip
21959 maybe-distclean-zip:
21960 @if zip
21961 maybe-distclean-zip: distclean-zip
21963 distclean-zip:
21964 @[ -f ./zip/Makefile ] || exit 0; \
21965 r=`${PWD_COMMAND}`; export r; \
21966 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21967 $(SET_LIB_PATH) \
21968 $(HOST_EXPORTS) \
21969 for flag in $(EXTRA_HOST_FLAGS) ; do \
21970 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21971 done; \
21972 echo "Doing distclean in zip" ; \
21973 (cd zip && \
21974 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21975 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21976 "RANLIB=$${RANLIB}" \
21977 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21978 distclean) \
21979 || exit 1
21981 @endif zip
21983 .PHONY: maybe-maintainer-clean-zip maintainer-clean-zip
21984 maybe-maintainer-clean-zip:
21985 @if zip
21986 maybe-maintainer-clean-zip: maintainer-clean-zip
21988 maintainer-clean-zip:
21989 @[ -f ./zip/Makefile ] || exit 0; \
21990 r=`${PWD_COMMAND}`; export r; \
21991 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21992 $(SET_LIB_PATH) \
21993 $(HOST_EXPORTS) \
21994 for flag in $(EXTRA_HOST_FLAGS) ; do \
21995 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21996 done; \
21997 echo "Doing maintainer-clean in zip" ; \
21998 (cd zip && \
21999 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22000 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22001 "RANLIB=$${RANLIB}" \
22002 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22003 maintainer-clean) \
22004 || exit 1
22006 @endif zip
22009 .PHONY: configure-zlib maybe-configure-zlib
22010 maybe-configure-zlib:
22011 @if zlib
22012 maybe-configure-zlib: configure-zlib
22013 configure-zlib:
22014 @test -f stage_last && exit 0; \
22015 test ! -f zlib/Makefile || exit 0; \
22016 [ -d zlib ] || mkdir zlib; \
22017 r=`${PWD_COMMAND}`; export r; \
22018 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22019 $(HOST_EXPORTS) \
22020 echo Configuring in zlib; \
22021 cd zlib || exit 1; \
22022 case $(srcdir) in \
22023 \.) \
22024 srcdiroption="--srcdir=."; \
22025 libsrcdir=".";; \
22026 /* | [A-Za-z]:[\\/]*) \
22027 srcdiroption="--srcdir=$(srcdir)/zlib"; \
22028 libsrcdir="$$s/zlib";; \
22029 *) \
22030 srcdiroption="--srcdir=../$(srcdir)/zlib"; \
22031 libsrcdir="$$s/zlib";; \
22032 esac; \
22033 $(SHELL) $${libsrcdir}/configure \
22034 $(HOST_CONFIGARGS) $${srcdiroption} \
22035 || exit 1
22036 @endif zlib
22038 .PHONY: all-zlib maybe-all-zlib
22039 maybe-all-zlib:
22040 @if zlib
22041 TARGET-zlib=all
22042 maybe-all-zlib: all-zlib
22043 all-zlib: configure-zlib
22044 @test -f stage_last && exit 0; \
22045 r=`${PWD_COMMAND}`; export r; \
22046 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22047 $(SET_LIB_PATH) \
22048 $(HOST_EXPORTS) \
22049 (cd zlib && $(MAKE) $(FLAGS_TO_PASS) \
22050 $(TARGET-zlib))
22051 @endif zlib
22053 .PHONY: check-zlib maybe-check-zlib
22054 maybe-check-zlib:
22055 @if zlib
22056 maybe-check-zlib: check-zlib
22058 check-zlib:
22060 @endif zlib
22062 .PHONY: install-zlib maybe-install-zlib
22063 maybe-install-zlib:
22064 @if zlib
22065 maybe-install-zlib: install-zlib
22067 install-zlib:
22069 @endif zlib
22071 # Other targets (info, dvi, etc.)
22073 .PHONY: maybe-info-zlib info-zlib
22074 maybe-info-zlib:
22075 @if zlib
22076 maybe-info-zlib: info-zlib
22078 info-zlib: \
22079 configure-zlib
22080 @[ -f ./zlib/Makefile ] || exit 0; \
22081 r=`${PWD_COMMAND}`; export r; \
22082 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22083 $(SET_LIB_PATH) \
22084 $(HOST_EXPORTS) \
22085 for flag in $(EXTRA_HOST_FLAGS) ; do \
22086 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22087 done; \
22088 echo "Doing info in zlib" ; \
22089 (cd zlib && \
22090 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22091 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22092 "RANLIB=$${RANLIB}" \
22093 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22094 info) \
22095 || exit 1
22097 @endif zlib
22099 .PHONY: maybe-dvi-zlib dvi-zlib
22100 maybe-dvi-zlib:
22101 @if zlib
22102 maybe-dvi-zlib: dvi-zlib
22104 dvi-zlib: \
22105 configure-zlib
22106 @[ -f ./zlib/Makefile ] || exit 0; \
22107 r=`${PWD_COMMAND}`; export r; \
22108 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22109 $(SET_LIB_PATH) \
22110 $(HOST_EXPORTS) \
22111 for flag in $(EXTRA_HOST_FLAGS) ; do \
22112 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22113 done; \
22114 echo "Doing dvi in zlib" ; \
22115 (cd zlib && \
22116 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22117 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22118 "RANLIB=$${RANLIB}" \
22119 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22120 dvi) \
22121 || exit 1
22123 @endif zlib
22125 .PHONY: maybe-html-zlib html-zlib
22126 maybe-html-zlib:
22127 @if zlib
22128 maybe-html-zlib: html-zlib
22130 html-zlib: \
22131 configure-zlib
22132 @[ -f ./zlib/Makefile ] || exit 0; \
22133 r=`${PWD_COMMAND}`; export r; \
22134 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22135 $(SET_LIB_PATH) \
22136 $(HOST_EXPORTS) \
22137 for flag in $(EXTRA_HOST_FLAGS) ; do \
22138 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22139 done; \
22140 echo "Doing html in zlib" ; \
22141 (cd zlib && \
22142 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22143 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22144 "RANLIB=$${RANLIB}" \
22145 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22146 html) \
22147 || exit 1
22149 @endif zlib
22151 .PHONY: maybe-TAGS-zlib TAGS-zlib
22152 maybe-TAGS-zlib:
22153 @if zlib
22154 maybe-TAGS-zlib: TAGS-zlib
22156 TAGS-zlib: \
22157 configure-zlib
22158 @[ -f ./zlib/Makefile ] || exit 0; \
22159 r=`${PWD_COMMAND}`; export r; \
22160 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22161 $(SET_LIB_PATH) \
22162 $(HOST_EXPORTS) \
22163 for flag in $(EXTRA_HOST_FLAGS) ; do \
22164 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22165 done; \
22166 echo "Doing TAGS in zlib" ; \
22167 (cd zlib && \
22168 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22169 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22170 "RANLIB=$${RANLIB}" \
22171 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22172 TAGS) \
22173 || exit 1
22175 @endif zlib
22177 .PHONY: maybe-install-info-zlib install-info-zlib
22178 maybe-install-info-zlib:
22179 @if zlib
22180 maybe-install-info-zlib: install-info-zlib
22182 install-info-zlib: \
22183 configure-zlib \
22184 info-zlib
22185 @[ -f ./zlib/Makefile ] || exit 0; \
22186 r=`${PWD_COMMAND}`; export r; \
22187 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22188 $(SET_LIB_PATH) \
22189 $(HOST_EXPORTS) \
22190 for flag in $(EXTRA_HOST_FLAGS) ; do \
22191 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22192 done; \
22193 echo "Doing install-info in zlib" ; \
22194 (cd zlib && \
22195 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22196 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22197 "RANLIB=$${RANLIB}" \
22198 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22199 install-info) \
22200 || exit 1
22202 @endif zlib
22204 .PHONY: maybe-installcheck-zlib installcheck-zlib
22205 maybe-installcheck-zlib:
22206 @if zlib
22207 maybe-installcheck-zlib: installcheck-zlib
22209 installcheck-zlib: \
22210 configure-zlib
22211 @[ -f ./zlib/Makefile ] || exit 0; \
22212 r=`${PWD_COMMAND}`; export r; \
22213 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22214 $(SET_LIB_PATH) \
22215 $(HOST_EXPORTS) \
22216 for flag in $(EXTRA_HOST_FLAGS) ; do \
22217 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22218 done; \
22219 echo "Doing installcheck in zlib" ; \
22220 (cd zlib && \
22221 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22222 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22223 "RANLIB=$${RANLIB}" \
22224 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22225 installcheck) \
22226 || exit 1
22228 @endif zlib
22230 .PHONY: maybe-mostlyclean-zlib mostlyclean-zlib
22231 maybe-mostlyclean-zlib:
22232 @if zlib
22233 maybe-mostlyclean-zlib: mostlyclean-zlib
22235 mostlyclean-zlib:
22236 @[ -f ./zlib/Makefile ] || exit 0; \
22237 r=`${PWD_COMMAND}`; export r; \
22238 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22239 $(SET_LIB_PATH) \
22240 $(HOST_EXPORTS) \
22241 for flag in $(EXTRA_HOST_FLAGS) ; do \
22242 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22243 done; \
22244 echo "Doing mostlyclean in zlib" ; \
22245 (cd zlib && \
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 mostlyclean) \
22251 || exit 1
22253 @endif zlib
22255 .PHONY: maybe-clean-zlib clean-zlib
22256 maybe-clean-zlib:
22257 @if zlib
22258 maybe-clean-zlib: clean-zlib
22260 clean-zlib:
22261 @[ -f ./zlib/Makefile ] || exit 0; \
22262 r=`${PWD_COMMAND}`; export r; \
22263 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22264 $(SET_LIB_PATH) \
22265 $(HOST_EXPORTS) \
22266 for flag in $(EXTRA_HOST_FLAGS) ; do \
22267 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22268 done; \
22269 echo "Doing clean in zlib" ; \
22270 (cd zlib && \
22271 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22272 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22273 "RANLIB=$${RANLIB}" \
22274 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22275 clean) \
22276 || exit 1
22278 @endif zlib
22280 .PHONY: maybe-distclean-zlib distclean-zlib
22281 maybe-distclean-zlib:
22282 @if zlib
22283 maybe-distclean-zlib: distclean-zlib
22285 distclean-zlib:
22286 @[ -f ./zlib/Makefile ] || exit 0; \
22287 r=`${PWD_COMMAND}`; export r; \
22288 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22289 $(SET_LIB_PATH) \
22290 $(HOST_EXPORTS) \
22291 for flag in $(EXTRA_HOST_FLAGS) ; do \
22292 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22293 done; \
22294 echo "Doing distclean in zlib" ; \
22295 (cd zlib && \
22296 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22297 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22298 "RANLIB=$${RANLIB}" \
22299 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22300 distclean) \
22301 || exit 1
22303 @endif zlib
22305 .PHONY: maybe-maintainer-clean-zlib maintainer-clean-zlib
22306 maybe-maintainer-clean-zlib:
22307 @if zlib
22308 maybe-maintainer-clean-zlib: maintainer-clean-zlib
22310 maintainer-clean-zlib:
22311 @[ -f ./zlib/Makefile ] || exit 0; \
22312 r=`${PWD_COMMAND}`; export r; \
22313 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22314 $(SET_LIB_PATH) \
22315 $(HOST_EXPORTS) \
22316 for flag in $(EXTRA_HOST_FLAGS) ; do \
22317 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22318 done; \
22319 echo "Doing maintainer-clean in zlib" ; \
22320 (cd zlib && \
22321 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22322 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22323 "RANLIB=$${RANLIB}" \
22324 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22325 maintainer-clean) \
22326 || exit 1
22328 @endif zlib
22331 .PHONY: configure-gdb maybe-configure-gdb
22332 maybe-configure-gdb:
22333 @if gdb
22334 maybe-configure-gdb: configure-gdb
22335 configure-gdb:
22336 @test ! -f gdb/Makefile || exit 0; \
22337 [ -d gdb ] || mkdir gdb; \
22338 r=`${PWD_COMMAND}`; export r; \
22339 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22340 $(HOST_EXPORTS) \
22341 echo Configuring in gdb; \
22342 cd gdb || exit 1; \
22343 case $(srcdir) in \
22344 \.) \
22345 srcdiroption="--srcdir=."; \
22346 libsrcdir=".";; \
22347 /* | [A-Za-z]:[\\/]*) \
22348 srcdiroption="--srcdir=$(srcdir)/gdb"; \
22349 libsrcdir="$$s/gdb";; \
22350 *) \
22351 srcdiroption="--srcdir=../$(srcdir)/gdb"; \
22352 libsrcdir="$$s/gdb";; \
22353 esac; \
22354 $(SHELL) $${libsrcdir}/configure \
22355 $(HOST_CONFIGARGS) $${srcdiroption} \
22356 || exit 1
22357 @endif gdb
22359 .PHONY: all-gdb maybe-all-gdb
22360 maybe-all-gdb:
22361 @if gdb
22362 TARGET-gdb=all
22363 maybe-all-gdb: all-gdb
22364 all-gdb: configure-gdb
22365 @r=`${PWD_COMMAND}`; export r; \
22366 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22367 $(SET_LIB_PATH) \
22368 $(HOST_EXPORTS) \
22369 (cd gdb && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) \
22370 $(TARGET-gdb))
22371 @endif gdb
22373 .PHONY: check-gdb maybe-check-gdb
22374 maybe-check-gdb:
22375 @if gdb
22376 maybe-check-gdb: check-gdb
22378 check-gdb:
22379 @r=`${PWD_COMMAND}`; export r; \
22380 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22381 $(SET_LIB_PATH) \
22382 $(HOST_EXPORTS) \
22383 (cd gdb && $(MAKE) $(FLAGS_TO_PASS)$(X11_FLAGS_TO_PASS) check)
22385 @endif gdb
22387 .PHONY: install-gdb maybe-install-gdb
22388 maybe-install-gdb:
22389 @if gdb
22390 maybe-install-gdb: install-gdb
22392 install-gdb: installdirs
22393 @r=`${PWD_COMMAND}`; export r; \
22394 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22395 $(SET_LIB_PATH) \
22396 $(HOST_EXPORTS) \
22397 (cd gdb && $(MAKE) $(FLAGS_TO_PASS)$(X11_FLAGS_TO_PASS) install)
22399 @endif gdb
22401 # Other targets (info, dvi, etc.)
22403 .PHONY: maybe-info-gdb info-gdb
22404 maybe-info-gdb:
22405 @if gdb
22406 maybe-info-gdb: info-gdb
22408 info-gdb: \
22409 configure-gdb
22410 @[ -f ./gdb/Makefile ] || exit 0; \
22411 r=`${PWD_COMMAND}`; export r; \
22412 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22413 $(SET_LIB_PATH) \
22414 $(HOST_EXPORTS) \
22415 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
22416 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22417 done; \
22418 echo "Doing info in gdb" ; \
22419 (cd gdb && \
22420 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22421 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22422 "RANLIB=$${RANLIB}" \
22423 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22424 info) \
22425 || exit 1
22427 @endif gdb
22429 .PHONY: maybe-dvi-gdb dvi-gdb
22430 maybe-dvi-gdb:
22431 @if gdb
22432 maybe-dvi-gdb: dvi-gdb
22434 dvi-gdb: \
22435 configure-gdb
22436 @[ -f ./gdb/Makefile ] || exit 0; \
22437 r=`${PWD_COMMAND}`; export r; \
22438 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22439 $(SET_LIB_PATH) \
22440 $(HOST_EXPORTS) \
22441 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
22442 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22443 done; \
22444 echo "Doing dvi in gdb" ; \
22445 (cd gdb && \
22446 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22447 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22448 "RANLIB=$${RANLIB}" \
22449 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22450 dvi) \
22451 || exit 1
22453 @endif gdb
22455 .PHONY: maybe-html-gdb html-gdb
22456 maybe-html-gdb:
22457 @if gdb
22458 maybe-html-gdb: html-gdb
22460 html-gdb: \
22461 configure-gdb
22462 @[ -f ./gdb/Makefile ] || exit 0; \
22463 r=`${PWD_COMMAND}`; export r; \
22464 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22465 $(SET_LIB_PATH) \
22466 $(HOST_EXPORTS) \
22467 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
22468 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22469 done; \
22470 echo "Doing html in gdb" ; \
22471 (cd gdb && \
22472 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22473 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22474 "RANLIB=$${RANLIB}" \
22475 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22476 html) \
22477 || exit 1
22479 @endif gdb
22481 .PHONY: maybe-TAGS-gdb TAGS-gdb
22482 maybe-TAGS-gdb:
22483 @if gdb
22484 maybe-TAGS-gdb: TAGS-gdb
22486 TAGS-gdb: \
22487 configure-gdb
22488 @[ -f ./gdb/Makefile ] || exit 0; \
22489 r=`${PWD_COMMAND}`; export r; \
22490 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22491 $(SET_LIB_PATH) \
22492 $(HOST_EXPORTS) \
22493 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
22494 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22495 done; \
22496 echo "Doing TAGS in gdb" ; \
22497 (cd gdb && \
22498 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22499 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22500 "RANLIB=$${RANLIB}" \
22501 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22502 TAGS) \
22503 || exit 1
22505 @endif gdb
22507 .PHONY: maybe-install-info-gdb install-info-gdb
22508 maybe-install-info-gdb:
22509 @if gdb
22510 maybe-install-info-gdb: install-info-gdb
22512 install-info-gdb: \
22513 configure-gdb \
22514 info-gdb
22515 @[ -f ./gdb/Makefile ] || exit 0; \
22516 r=`${PWD_COMMAND}`; export r; \
22517 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22518 $(SET_LIB_PATH) \
22519 $(HOST_EXPORTS) \
22520 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
22521 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22522 done; \
22523 echo "Doing install-info in gdb" ; \
22524 (cd gdb && \
22525 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22526 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22527 "RANLIB=$${RANLIB}" \
22528 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22529 install-info) \
22530 || exit 1
22532 @endif gdb
22534 .PHONY: maybe-installcheck-gdb installcheck-gdb
22535 maybe-installcheck-gdb:
22536 @if gdb
22537 maybe-installcheck-gdb: installcheck-gdb
22539 installcheck-gdb: \
22540 configure-gdb
22541 @[ -f ./gdb/Makefile ] || exit 0; \
22542 r=`${PWD_COMMAND}`; export r; \
22543 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22544 $(SET_LIB_PATH) \
22545 $(HOST_EXPORTS) \
22546 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
22547 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22548 done; \
22549 echo "Doing installcheck in gdb" ; \
22550 (cd gdb && \
22551 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22552 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22553 "RANLIB=$${RANLIB}" \
22554 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22555 installcheck) \
22556 || exit 1
22558 @endif gdb
22560 .PHONY: maybe-mostlyclean-gdb mostlyclean-gdb
22561 maybe-mostlyclean-gdb:
22562 @if gdb
22563 maybe-mostlyclean-gdb: mostlyclean-gdb
22565 mostlyclean-gdb:
22566 @[ -f ./gdb/Makefile ] || exit 0; \
22567 r=`${PWD_COMMAND}`; export r; \
22568 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22569 $(SET_LIB_PATH) \
22570 $(HOST_EXPORTS) \
22571 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
22572 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22573 done; \
22574 echo "Doing mostlyclean in gdb" ; \
22575 (cd gdb && \
22576 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22577 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22578 "RANLIB=$${RANLIB}" \
22579 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22580 mostlyclean) \
22581 || exit 1
22583 @endif gdb
22585 .PHONY: maybe-clean-gdb clean-gdb
22586 maybe-clean-gdb:
22587 @if gdb
22588 maybe-clean-gdb: clean-gdb
22590 clean-gdb:
22591 @[ -f ./gdb/Makefile ] || exit 0; \
22592 r=`${PWD_COMMAND}`; export r; \
22593 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22594 $(SET_LIB_PATH) \
22595 $(HOST_EXPORTS) \
22596 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
22597 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22598 done; \
22599 echo "Doing clean in gdb" ; \
22600 (cd gdb && \
22601 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22602 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22603 "RANLIB=$${RANLIB}" \
22604 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22605 clean) \
22606 || exit 1
22608 @endif gdb
22610 .PHONY: maybe-distclean-gdb distclean-gdb
22611 maybe-distclean-gdb:
22612 @if gdb
22613 maybe-distclean-gdb: distclean-gdb
22615 distclean-gdb:
22616 @[ -f ./gdb/Makefile ] || exit 0; \
22617 r=`${PWD_COMMAND}`; export r; \
22618 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22619 $(SET_LIB_PATH) \
22620 $(HOST_EXPORTS) \
22621 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
22622 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22623 done; \
22624 echo "Doing distclean in gdb" ; \
22625 (cd gdb && \
22626 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22627 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22628 "RANLIB=$${RANLIB}" \
22629 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22630 distclean) \
22631 || exit 1
22633 @endif gdb
22635 .PHONY: maybe-maintainer-clean-gdb maintainer-clean-gdb
22636 maybe-maintainer-clean-gdb:
22637 @if gdb
22638 maybe-maintainer-clean-gdb: maintainer-clean-gdb
22640 maintainer-clean-gdb:
22641 @[ -f ./gdb/Makefile ] || exit 0; \
22642 r=`${PWD_COMMAND}`; export r; \
22643 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22644 $(SET_LIB_PATH) \
22645 $(HOST_EXPORTS) \
22646 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
22647 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22648 done; \
22649 echo "Doing maintainer-clean in gdb" ; \
22650 (cd gdb && \
22651 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22652 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22653 "RANLIB=$${RANLIB}" \
22654 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22655 maintainer-clean) \
22656 || exit 1
22658 @endif gdb
22661 .PHONY: configure-expect maybe-configure-expect
22662 maybe-configure-expect:
22663 @if expect
22664 maybe-configure-expect: configure-expect
22665 configure-expect:
22666 @test ! -f expect/Makefile || exit 0; \
22667 [ -d expect ] || mkdir expect; \
22668 r=`${PWD_COMMAND}`; export r; \
22669 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22670 $(HOST_EXPORTS) \
22671 echo Configuring in expect; \
22672 cd expect || exit 1; \
22673 case $(srcdir) in \
22674 \.) \
22675 srcdiroption="--srcdir=."; \
22676 libsrcdir=".";; \
22677 /* | [A-Za-z]:[\\/]*) \
22678 srcdiroption="--srcdir=$(srcdir)/expect"; \
22679 libsrcdir="$$s/expect";; \
22680 *) \
22681 srcdiroption="--srcdir=../$(srcdir)/expect"; \
22682 libsrcdir="$$s/expect";; \
22683 esac; \
22684 $(SHELL) $${libsrcdir}/configure \
22685 $(HOST_CONFIGARGS) $${srcdiroption} \
22686 || exit 1
22687 @endif expect
22689 .PHONY: all-expect maybe-all-expect
22690 maybe-all-expect:
22691 @if expect
22692 TARGET-expect=all
22693 maybe-all-expect: all-expect
22694 all-expect: configure-expect
22695 @r=`${PWD_COMMAND}`; export r; \
22696 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22697 $(SET_LIB_PATH) \
22698 $(HOST_EXPORTS) \
22699 (cd expect && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) \
22700 $(TARGET-expect))
22701 @endif expect
22703 .PHONY: check-expect maybe-check-expect
22704 maybe-check-expect:
22705 @if expect
22706 maybe-check-expect: check-expect
22708 check-expect:
22709 @r=`${PWD_COMMAND}`; export r; \
22710 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22711 $(SET_LIB_PATH) \
22712 $(HOST_EXPORTS) \
22713 (cd expect && $(MAKE) $(FLAGS_TO_PASS)$(X11_FLAGS_TO_PASS) check)
22715 @endif expect
22717 .PHONY: install-expect maybe-install-expect
22718 maybe-install-expect:
22719 @if expect
22720 maybe-install-expect: install-expect
22722 install-expect: installdirs
22723 @r=`${PWD_COMMAND}`; export r; \
22724 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22725 $(SET_LIB_PATH) \
22726 $(HOST_EXPORTS) \
22727 (cd expect && $(MAKE) $(FLAGS_TO_PASS)$(X11_FLAGS_TO_PASS) install)
22729 @endif expect
22731 # Other targets (info, dvi, etc.)
22733 .PHONY: maybe-info-expect info-expect
22734 maybe-info-expect:
22735 @if expect
22736 maybe-info-expect: info-expect
22738 info-expect: \
22739 configure-expect
22740 @[ -f ./expect/Makefile ] || exit 0; \
22741 r=`${PWD_COMMAND}`; export r; \
22742 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22743 $(SET_LIB_PATH) \
22744 $(HOST_EXPORTS) \
22745 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
22746 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22747 done; \
22748 echo "Doing info in expect" ; \
22749 (cd expect && \
22750 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22751 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22752 "RANLIB=$${RANLIB}" \
22753 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22754 info) \
22755 || exit 1
22757 @endif expect
22759 .PHONY: maybe-dvi-expect dvi-expect
22760 maybe-dvi-expect:
22761 @if expect
22762 maybe-dvi-expect: dvi-expect
22764 dvi-expect: \
22765 configure-expect
22766 @[ -f ./expect/Makefile ] || exit 0; \
22767 r=`${PWD_COMMAND}`; export r; \
22768 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22769 $(SET_LIB_PATH) \
22770 $(HOST_EXPORTS) \
22771 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
22772 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22773 done; \
22774 echo "Doing dvi in expect" ; \
22775 (cd expect && \
22776 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22777 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22778 "RANLIB=$${RANLIB}" \
22779 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22780 dvi) \
22781 || exit 1
22783 @endif expect
22785 .PHONY: maybe-html-expect html-expect
22786 maybe-html-expect:
22787 @if expect
22788 maybe-html-expect: html-expect
22790 html-expect: \
22791 configure-expect
22792 @[ -f ./expect/Makefile ] || exit 0; \
22793 r=`${PWD_COMMAND}`; export r; \
22794 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22795 $(SET_LIB_PATH) \
22796 $(HOST_EXPORTS) \
22797 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
22798 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22799 done; \
22800 echo "Doing html in expect" ; \
22801 (cd expect && \
22802 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22803 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22804 "RANLIB=$${RANLIB}" \
22805 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22806 html) \
22807 || exit 1
22809 @endif expect
22811 .PHONY: maybe-TAGS-expect TAGS-expect
22812 maybe-TAGS-expect:
22813 @if expect
22814 maybe-TAGS-expect: TAGS-expect
22816 TAGS-expect: \
22817 configure-expect
22818 @[ -f ./expect/Makefile ] || exit 0; \
22819 r=`${PWD_COMMAND}`; export r; \
22820 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22821 $(SET_LIB_PATH) \
22822 $(HOST_EXPORTS) \
22823 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
22824 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22825 done; \
22826 echo "Doing TAGS in expect" ; \
22827 (cd expect && \
22828 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22829 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22830 "RANLIB=$${RANLIB}" \
22831 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22832 TAGS) \
22833 || exit 1
22835 @endif expect
22837 .PHONY: maybe-install-info-expect install-info-expect
22838 maybe-install-info-expect:
22839 @if expect
22840 maybe-install-info-expect: install-info-expect
22842 install-info-expect: \
22843 configure-expect \
22844 info-expect
22845 @[ -f ./expect/Makefile ] || exit 0; \
22846 r=`${PWD_COMMAND}`; export r; \
22847 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22848 $(SET_LIB_PATH) \
22849 $(HOST_EXPORTS) \
22850 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
22851 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22852 done; \
22853 echo "Doing install-info in expect" ; \
22854 (cd expect && \
22855 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22856 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22857 "RANLIB=$${RANLIB}" \
22858 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22859 install-info) \
22860 || exit 1
22862 @endif expect
22864 .PHONY: maybe-installcheck-expect installcheck-expect
22865 maybe-installcheck-expect:
22866 @if expect
22867 maybe-installcheck-expect: installcheck-expect
22869 installcheck-expect: \
22870 configure-expect
22871 @[ -f ./expect/Makefile ] || exit 0; \
22872 r=`${PWD_COMMAND}`; export r; \
22873 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22874 $(SET_LIB_PATH) \
22875 $(HOST_EXPORTS) \
22876 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
22877 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22878 done; \
22879 echo "Doing installcheck in expect" ; \
22880 (cd expect && \
22881 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22882 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22883 "RANLIB=$${RANLIB}" \
22884 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22885 installcheck) \
22886 || exit 1
22888 @endif expect
22890 .PHONY: maybe-mostlyclean-expect mostlyclean-expect
22891 maybe-mostlyclean-expect:
22892 @if expect
22893 maybe-mostlyclean-expect: mostlyclean-expect
22895 mostlyclean-expect:
22896 @[ -f ./expect/Makefile ] || exit 0; \
22897 r=`${PWD_COMMAND}`; export r; \
22898 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22899 $(SET_LIB_PATH) \
22900 $(HOST_EXPORTS) \
22901 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
22902 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22903 done; \
22904 echo "Doing mostlyclean in expect" ; \
22905 (cd expect && \
22906 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22907 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22908 "RANLIB=$${RANLIB}" \
22909 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22910 mostlyclean) \
22911 || exit 1
22913 @endif expect
22915 .PHONY: maybe-clean-expect clean-expect
22916 maybe-clean-expect:
22917 @if expect
22918 maybe-clean-expect: clean-expect
22920 clean-expect:
22921 @[ -f ./expect/Makefile ] || exit 0; \
22922 r=`${PWD_COMMAND}`; export r; \
22923 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22924 $(SET_LIB_PATH) \
22925 $(HOST_EXPORTS) \
22926 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
22927 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22928 done; \
22929 echo "Doing clean in expect" ; \
22930 (cd expect && \
22931 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22932 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22933 "RANLIB=$${RANLIB}" \
22934 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22935 clean) \
22936 || exit 1
22938 @endif expect
22940 .PHONY: maybe-distclean-expect distclean-expect
22941 maybe-distclean-expect:
22942 @if expect
22943 maybe-distclean-expect: distclean-expect
22945 distclean-expect:
22946 @[ -f ./expect/Makefile ] || exit 0; \
22947 r=`${PWD_COMMAND}`; export r; \
22948 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22949 $(SET_LIB_PATH) \
22950 $(HOST_EXPORTS) \
22951 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
22952 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22953 done; \
22954 echo "Doing distclean in expect" ; \
22955 (cd expect && \
22956 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22957 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22958 "RANLIB=$${RANLIB}" \
22959 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22960 distclean) \
22961 || exit 1
22963 @endif expect
22965 .PHONY: maybe-maintainer-clean-expect maintainer-clean-expect
22966 maybe-maintainer-clean-expect:
22967 @if expect
22968 maybe-maintainer-clean-expect: maintainer-clean-expect
22970 maintainer-clean-expect:
22971 @[ -f ./expect/Makefile ] || exit 0; \
22972 r=`${PWD_COMMAND}`; export r; \
22973 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22974 $(SET_LIB_PATH) \
22975 $(HOST_EXPORTS) \
22976 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
22977 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22978 done; \
22979 echo "Doing maintainer-clean in expect" ; \
22980 (cd expect && \
22981 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22982 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22983 "RANLIB=$${RANLIB}" \
22984 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22985 maintainer-clean) \
22986 || exit 1
22988 @endif expect
22991 .PHONY: configure-guile maybe-configure-guile
22992 maybe-configure-guile:
22993 @if guile
22994 maybe-configure-guile: configure-guile
22995 configure-guile:
22996 @test ! -f guile/Makefile || exit 0; \
22997 [ -d guile ] || mkdir guile; \
22998 r=`${PWD_COMMAND}`; export r; \
22999 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23000 $(HOST_EXPORTS) \
23001 echo Configuring in guile; \
23002 cd guile || exit 1; \
23003 case $(srcdir) in \
23004 \.) \
23005 srcdiroption="--srcdir=."; \
23006 libsrcdir=".";; \
23007 /* | [A-Za-z]:[\\/]*) \
23008 srcdiroption="--srcdir=$(srcdir)/guile"; \
23009 libsrcdir="$$s/guile";; \
23010 *) \
23011 srcdiroption="--srcdir=../$(srcdir)/guile"; \
23012 libsrcdir="$$s/guile";; \
23013 esac; \
23014 $(SHELL) $${libsrcdir}/configure \
23015 $(HOST_CONFIGARGS) $${srcdiroption} \
23016 || exit 1
23017 @endif guile
23019 .PHONY: all-guile maybe-all-guile
23020 maybe-all-guile:
23021 @if guile
23022 TARGET-guile=all
23023 maybe-all-guile: all-guile
23024 all-guile: configure-guile
23025 @r=`${PWD_COMMAND}`; export r; \
23026 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23027 $(SET_LIB_PATH) \
23028 $(HOST_EXPORTS) \
23029 (cd guile && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) \
23030 $(TARGET-guile))
23031 @endif guile
23033 .PHONY: check-guile maybe-check-guile
23034 maybe-check-guile:
23035 @if guile
23036 maybe-check-guile: check-guile
23038 check-guile:
23039 @r=`${PWD_COMMAND}`; export r; \
23040 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23041 $(SET_LIB_PATH) \
23042 $(HOST_EXPORTS) \
23043 (cd guile && $(MAKE) $(FLAGS_TO_PASS)$(X11_FLAGS_TO_PASS) check)
23045 @endif guile
23047 .PHONY: install-guile maybe-install-guile
23048 maybe-install-guile:
23049 @if guile
23050 maybe-install-guile: install-guile
23052 install-guile: installdirs
23053 @r=`${PWD_COMMAND}`; export r; \
23054 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23055 $(SET_LIB_PATH) \
23056 $(HOST_EXPORTS) \
23057 (cd guile && $(MAKE) $(FLAGS_TO_PASS)$(X11_FLAGS_TO_PASS) install)
23059 @endif guile
23061 # Other targets (info, dvi, etc.)
23063 .PHONY: maybe-info-guile info-guile
23064 maybe-info-guile:
23065 @if guile
23066 maybe-info-guile: info-guile
23068 info-guile: \
23069 configure-guile
23070 @[ -f ./guile/Makefile ] || exit 0; \
23071 r=`${PWD_COMMAND}`; export r; \
23072 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23073 $(SET_LIB_PATH) \
23074 $(HOST_EXPORTS) \
23075 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
23076 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23077 done; \
23078 echo "Doing info in guile" ; \
23079 (cd guile && \
23080 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23081 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23082 "RANLIB=$${RANLIB}" \
23083 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23084 info) \
23085 || exit 1
23087 @endif guile
23089 .PHONY: maybe-dvi-guile dvi-guile
23090 maybe-dvi-guile:
23091 @if guile
23092 maybe-dvi-guile: dvi-guile
23094 dvi-guile: \
23095 configure-guile
23096 @[ -f ./guile/Makefile ] || exit 0; \
23097 r=`${PWD_COMMAND}`; export r; \
23098 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23099 $(SET_LIB_PATH) \
23100 $(HOST_EXPORTS) \
23101 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
23102 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23103 done; \
23104 echo "Doing dvi in guile" ; \
23105 (cd guile && \
23106 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23107 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23108 "RANLIB=$${RANLIB}" \
23109 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23110 dvi) \
23111 || exit 1
23113 @endif guile
23115 .PHONY: maybe-html-guile html-guile
23116 maybe-html-guile:
23117 @if guile
23118 maybe-html-guile: html-guile
23120 html-guile: \
23121 configure-guile
23122 @[ -f ./guile/Makefile ] || exit 0; \
23123 r=`${PWD_COMMAND}`; export r; \
23124 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23125 $(SET_LIB_PATH) \
23126 $(HOST_EXPORTS) \
23127 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
23128 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23129 done; \
23130 echo "Doing html in guile" ; \
23131 (cd guile && \
23132 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23133 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23134 "RANLIB=$${RANLIB}" \
23135 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23136 html) \
23137 || exit 1
23139 @endif guile
23141 .PHONY: maybe-TAGS-guile TAGS-guile
23142 maybe-TAGS-guile:
23143 @if guile
23144 maybe-TAGS-guile: TAGS-guile
23146 TAGS-guile: \
23147 configure-guile
23148 @[ -f ./guile/Makefile ] || exit 0; \
23149 r=`${PWD_COMMAND}`; export r; \
23150 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23151 $(SET_LIB_PATH) \
23152 $(HOST_EXPORTS) \
23153 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
23154 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23155 done; \
23156 echo "Doing TAGS in guile" ; \
23157 (cd guile && \
23158 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23159 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23160 "RANLIB=$${RANLIB}" \
23161 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23162 TAGS) \
23163 || exit 1
23165 @endif guile
23167 .PHONY: maybe-install-info-guile install-info-guile
23168 maybe-install-info-guile:
23169 @if guile
23170 maybe-install-info-guile: install-info-guile
23172 install-info-guile: \
23173 configure-guile \
23174 info-guile
23175 @[ -f ./guile/Makefile ] || exit 0; \
23176 r=`${PWD_COMMAND}`; export r; \
23177 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23178 $(SET_LIB_PATH) \
23179 $(HOST_EXPORTS) \
23180 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
23181 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23182 done; \
23183 echo "Doing install-info in guile" ; \
23184 (cd guile && \
23185 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23186 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23187 "RANLIB=$${RANLIB}" \
23188 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23189 install-info) \
23190 || exit 1
23192 @endif guile
23194 .PHONY: maybe-installcheck-guile installcheck-guile
23195 maybe-installcheck-guile:
23196 @if guile
23197 maybe-installcheck-guile: installcheck-guile
23199 installcheck-guile: \
23200 configure-guile
23201 @[ -f ./guile/Makefile ] || exit 0; \
23202 r=`${PWD_COMMAND}`; export r; \
23203 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23204 $(SET_LIB_PATH) \
23205 $(HOST_EXPORTS) \
23206 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
23207 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23208 done; \
23209 echo "Doing installcheck in guile" ; \
23210 (cd guile && \
23211 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23212 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23213 "RANLIB=$${RANLIB}" \
23214 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23215 installcheck) \
23216 || exit 1
23218 @endif guile
23220 .PHONY: maybe-mostlyclean-guile mostlyclean-guile
23221 maybe-mostlyclean-guile:
23222 @if guile
23223 maybe-mostlyclean-guile: mostlyclean-guile
23225 mostlyclean-guile:
23226 @[ -f ./guile/Makefile ] || exit 0; \
23227 r=`${PWD_COMMAND}`; export r; \
23228 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23229 $(SET_LIB_PATH) \
23230 $(HOST_EXPORTS) \
23231 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
23232 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23233 done; \
23234 echo "Doing mostlyclean in guile" ; \
23235 (cd guile && \
23236 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23237 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23238 "RANLIB=$${RANLIB}" \
23239 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23240 mostlyclean) \
23241 || exit 1
23243 @endif guile
23245 .PHONY: maybe-clean-guile clean-guile
23246 maybe-clean-guile:
23247 @if guile
23248 maybe-clean-guile: clean-guile
23250 clean-guile:
23251 @[ -f ./guile/Makefile ] || exit 0; \
23252 r=`${PWD_COMMAND}`; export r; \
23253 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23254 $(SET_LIB_PATH) \
23255 $(HOST_EXPORTS) \
23256 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
23257 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23258 done; \
23259 echo "Doing clean in guile" ; \
23260 (cd guile && \
23261 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23262 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23263 "RANLIB=$${RANLIB}" \
23264 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23265 clean) \
23266 || exit 1
23268 @endif guile
23270 .PHONY: maybe-distclean-guile distclean-guile
23271 maybe-distclean-guile:
23272 @if guile
23273 maybe-distclean-guile: distclean-guile
23275 distclean-guile:
23276 @[ -f ./guile/Makefile ] || exit 0; \
23277 r=`${PWD_COMMAND}`; export r; \
23278 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23279 $(SET_LIB_PATH) \
23280 $(HOST_EXPORTS) \
23281 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
23282 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23283 done; \
23284 echo "Doing distclean in guile" ; \
23285 (cd guile && \
23286 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23287 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23288 "RANLIB=$${RANLIB}" \
23289 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23290 distclean) \
23291 || exit 1
23293 @endif guile
23295 .PHONY: maybe-maintainer-clean-guile maintainer-clean-guile
23296 maybe-maintainer-clean-guile:
23297 @if guile
23298 maybe-maintainer-clean-guile: maintainer-clean-guile
23300 maintainer-clean-guile:
23301 @[ -f ./guile/Makefile ] || exit 0; \
23302 r=`${PWD_COMMAND}`; export r; \
23303 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23304 $(SET_LIB_PATH) \
23305 $(HOST_EXPORTS) \
23306 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
23307 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23308 done; \
23309 echo "Doing maintainer-clean in guile" ; \
23310 (cd guile && \
23311 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23312 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23313 "RANLIB=$${RANLIB}" \
23314 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23315 maintainer-clean) \
23316 || exit 1
23318 @endif guile
23321 .PHONY: configure-tk maybe-configure-tk
23322 maybe-configure-tk:
23323 @if tk
23324 maybe-configure-tk: configure-tk
23325 configure-tk:
23326 @test ! -f tk/Makefile || exit 0; \
23327 [ -d tk ] || mkdir tk; \
23328 r=`${PWD_COMMAND}`; export r; \
23329 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23330 $(HOST_EXPORTS) \
23331 echo Configuring in tk; \
23332 cd tk || exit 1; \
23333 case $(srcdir) in \
23334 \.) \
23335 srcdiroption="--srcdir=."; \
23336 libsrcdir=".";; \
23337 /* | [A-Za-z]:[\\/]*) \
23338 srcdiroption="--srcdir=$(srcdir)/tk"; \
23339 libsrcdir="$$s/tk";; \
23340 *) \
23341 srcdiroption="--srcdir=../$(srcdir)/tk"; \
23342 libsrcdir="$$s/tk";; \
23343 esac; \
23344 $(SHELL) $${libsrcdir}/configure \
23345 $(HOST_CONFIGARGS) $${srcdiroption} \
23346 || exit 1
23347 @endif tk
23349 .PHONY: all-tk maybe-all-tk
23350 maybe-all-tk:
23351 @if tk
23352 TARGET-tk=all
23353 maybe-all-tk: all-tk
23354 all-tk: configure-tk
23355 @r=`${PWD_COMMAND}`; export r; \
23356 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23357 $(SET_LIB_PATH) \
23358 $(HOST_EXPORTS) \
23359 (cd tk && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) \
23360 $(TARGET-tk))
23361 @endif tk
23363 .PHONY: check-tk maybe-check-tk
23364 maybe-check-tk:
23365 @if tk
23366 maybe-check-tk: check-tk
23368 check-tk:
23369 @r=`${PWD_COMMAND}`; export r; \
23370 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23371 $(SET_LIB_PATH) \
23372 $(HOST_EXPORTS) \
23373 (cd tk && $(MAKE) $(FLAGS_TO_PASS)$(X11_FLAGS_TO_PASS) check)
23375 @endif tk
23377 .PHONY: install-tk maybe-install-tk
23378 maybe-install-tk:
23379 @if tk
23380 maybe-install-tk: install-tk
23382 install-tk: installdirs
23383 @r=`${PWD_COMMAND}`; export r; \
23384 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23385 $(SET_LIB_PATH) \
23386 $(HOST_EXPORTS) \
23387 (cd tk && $(MAKE) $(FLAGS_TO_PASS)$(X11_FLAGS_TO_PASS) install)
23389 @endif tk
23391 # Other targets (info, dvi, etc.)
23393 .PHONY: maybe-info-tk info-tk
23394 maybe-info-tk:
23395 @if tk
23396 maybe-info-tk: info-tk
23398 info-tk: \
23399 configure-tk
23400 @[ -f ./tk/Makefile ] || exit 0; \
23401 r=`${PWD_COMMAND}`; export r; \
23402 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23403 $(SET_LIB_PATH) \
23404 $(HOST_EXPORTS) \
23405 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
23406 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23407 done; \
23408 echo "Doing info in tk" ; \
23409 (cd tk && \
23410 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23411 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23412 "RANLIB=$${RANLIB}" \
23413 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23414 info) \
23415 || exit 1
23417 @endif tk
23419 .PHONY: maybe-dvi-tk dvi-tk
23420 maybe-dvi-tk:
23421 @if tk
23422 maybe-dvi-tk: dvi-tk
23424 dvi-tk: \
23425 configure-tk
23426 @[ -f ./tk/Makefile ] || exit 0; \
23427 r=`${PWD_COMMAND}`; export r; \
23428 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23429 $(SET_LIB_PATH) \
23430 $(HOST_EXPORTS) \
23431 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
23432 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23433 done; \
23434 echo "Doing dvi in tk" ; \
23435 (cd tk && \
23436 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23437 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23438 "RANLIB=$${RANLIB}" \
23439 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23440 dvi) \
23441 || exit 1
23443 @endif tk
23445 .PHONY: maybe-html-tk html-tk
23446 maybe-html-tk:
23447 @if tk
23448 maybe-html-tk: html-tk
23450 html-tk: \
23451 configure-tk
23452 @[ -f ./tk/Makefile ] || exit 0; \
23453 r=`${PWD_COMMAND}`; export r; \
23454 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23455 $(SET_LIB_PATH) \
23456 $(HOST_EXPORTS) \
23457 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
23458 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23459 done; \
23460 echo "Doing html in tk" ; \
23461 (cd tk && \
23462 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23463 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23464 "RANLIB=$${RANLIB}" \
23465 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23466 html) \
23467 || exit 1
23469 @endif tk
23471 .PHONY: maybe-TAGS-tk TAGS-tk
23472 maybe-TAGS-tk:
23473 @if tk
23474 maybe-TAGS-tk: TAGS-tk
23476 TAGS-tk: \
23477 configure-tk
23478 @[ -f ./tk/Makefile ] || exit 0; \
23479 r=`${PWD_COMMAND}`; export r; \
23480 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23481 $(SET_LIB_PATH) \
23482 $(HOST_EXPORTS) \
23483 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
23484 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23485 done; \
23486 echo "Doing TAGS in tk" ; \
23487 (cd tk && \
23488 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23489 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23490 "RANLIB=$${RANLIB}" \
23491 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23492 TAGS) \
23493 || exit 1
23495 @endif tk
23497 .PHONY: maybe-install-info-tk install-info-tk
23498 maybe-install-info-tk:
23499 @if tk
23500 maybe-install-info-tk: install-info-tk
23502 install-info-tk: \
23503 configure-tk \
23504 info-tk
23505 @[ -f ./tk/Makefile ] || exit 0; \
23506 r=`${PWD_COMMAND}`; export r; \
23507 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23508 $(SET_LIB_PATH) \
23509 $(HOST_EXPORTS) \
23510 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
23511 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23512 done; \
23513 echo "Doing install-info in tk" ; \
23514 (cd tk && \
23515 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23516 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23517 "RANLIB=$${RANLIB}" \
23518 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23519 install-info) \
23520 || exit 1
23522 @endif tk
23524 .PHONY: maybe-installcheck-tk installcheck-tk
23525 maybe-installcheck-tk:
23526 @if tk
23527 maybe-installcheck-tk: installcheck-tk
23529 installcheck-tk: \
23530 configure-tk
23531 @[ -f ./tk/Makefile ] || exit 0; \
23532 r=`${PWD_COMMAND}`; export r; \
23533 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23534 $(SET_LIB_PATH) \
23535 $(HOST_EXPORTS) \
23536 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
23537 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23538 done; \
23539 echo "Doing installcheck in tk" ; \
23540 (cd tk && \
23541 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23542 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23543 "RANLIB=$${RANLIB}" \
23544 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23545 installcheck) \
23546 || exit 1
23548 @endif tk
23550 .PHONY: maybe-mostlyclean-tk mostlyclean-tk
23551 maybe-mostlyclean-tk:
23552 @if tk
23553 maybe-mostlyclean-tk: mostlyclean-tk
23555 mostlyclean-tk:
23556 @[ -f ./tk/Makefile ] || exit 0; \
23557 r=`${PWD_COMMAND}`; export r; \
23558 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23559 $(SET_LIB_PATH) \
23560 $(HOST_EXPORTS) \
23561 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
23562 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23563 done; \
23564 echo "Doing mostlyclean in tk" ; \
23565 (cd tk && \
23566 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23567 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23568 "RANLIB=$${RANLIB}" \
23569 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23570 mostlyclean) \
23571 || exit 1
23573 @endif tk
23575 .PHONY: maybe-clean-tk clean-tk
23576 maybe-clean-tk:
23577 @if tk
23578 maybe-clean-tk: clean-tk
23580 clean-tk:
23581 @[ -f ./tk/Makefile ] || exit 0; \
23582 r=`${PWD_COMMAND}`; export r; \
23583 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23584 $(SET_LIB_PATH) \
23585 $(HOST_EXPORTS) \
23586 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
23587 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23588 done; \
23589 echo "Doing clean in tk" ; \
23590 (cd tk && \
23591 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23592 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23593 "RANLIB=$${RANLIB}" \
23594 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23595 clean) \
23596 || exit 1
23598 @endif tk
23600 .PHONY: maybe-distclean-tk distclean-tk
23601 maybe-distclean-tk:
23602 @if tk
23603 maybe-distclean-tk: distclean-tk
23605 distclean-tk:
23606 @[ -f ./tk/Makefile ] || exit 0; \
23607 r=`${PWD_COMMAND}`; export r; \
23608 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23609 $(SET_LIB_PATH) \
23610 $(HOST_EXPORTS) \
23611 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
23612 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23613 done; \
23614 echo "Doing distclean in tk" ; \
23615 (cd tk && \
23616 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23617 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23618 "RANLIB=$${RANLIB}" \
23619 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23620 distclean) \
23621 || exit 1
23623 @endif tk
23625 .PHONY: maybe-maintainer-clean-tk maintainer-clean-tk
23626 maybe-maintainer-clean-tk:
23627 @if tk
23628 maybe-maintainer-clean-tk: maintainer-clean-tk
23630 maintainer-clean-tk:
23631 @[ -f ./tk/Makefile ] || exit 0; \
23632 r=`${PWD_COMMAND}`; export r; \
23633 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23634 $(SET_LIB_PATH) \
23635 $(HOST_EXPORTS) \
23636 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
23637 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23638 done; \
23639 echo "Doing maintainer-clean in tk" ; \
23640 (cd tk && \
23641 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23642 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23643 "RANLIB=$${RANLIB}" \
23644 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23645 maintainer-clean) \
23646 || exit 1
23648 @endif tk
23651 .PHONY: configure-libtermcap maybe-configure-libtermcap
23652 maybe-configure-libtermcap:
23653 @if libtermcap
23654 maybe-configure-libtermcap: configure-libtermcap
23655 configure-libtermcap:
23656 @test ! -f libtermcap/Makefile || exit 0; \
23657 [ -d libtermcap ] || mkdir libtermcap; \
23658 r=`${PWD_COMMAND}`; export r; \
23659 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23660 $(HOST_EXPORTS) \
23661 echo Configuring in libtermcap; \
23662 cd libtermcap || exit 1; \
23663 case $(srcdir) in \
23664 \.) \
23665 srcdiroption="--srcdir=."; \
23666 libsrcdir=".";; \
23667 /* | [A-Za-z]:[\\/]*) \
23668 srcdiroption="--srcdir=$(srcdir)/libtermcap"; \
23669 libsrcdir="$$s/libtermcap";; \
23670 *) \
23671 srcdiroption="--srcdir=../$(srcdir)/libtermcap"; \
23672 libsrcdir="$$s/libtermcap";; \
23673 esac; \
23674 $(SHELL) $${libsrcdir}/configure \
23675 $(HOST_CONFIGARGS) $${srcdiroption} \
23676 || exit 1
23677 @endif libtermcap
23679 .PHONY: all-libtermcap maybe-all-libtermcap
23680 maybe-all-libtermcap:
23681 @if libtermcap
23682 TARGET-libtermcap=all
23683 maybe-all-libtermcap: all-libtermcap
23684 all-libtermcap: configure-libtermcap
23685 @r=`${PWD_COMMAND}`; export r; \
23686 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23687 $(SET_LIB_PATH) \
23688 $(HOST_EXPORTS) \
23689 (cd libtermcap && $(MAKE) $(FLAGS_TO_PASS) \
23690 $(TARGET-libtermcap))
23691 @endif libtermcap
23693 .PHONY: check-libtermcap maybe-check-libtermcap
23694 maybe-check-libtermcap:
23695 @if libtermcap
23696 maybe-check-libtermcap: check-libtermcap
23698 check-libtermcap:
23700 @endif libtermcap
23702 .PHONY: install-libtermcap maybe-install-libtermcap
23703 maybe-install-libtermcap:
23704 @if libtermcap
23705 maybe-install-libtermcap: install-libtermcap
23707 install-libtermcap: installdirs
23708 @r=`${PWD_COMMAND}`; export r; \
23709 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23710 $(SET_LIB_PATH) \
23711 $(HOST_EXPORTS) \
23712 (cd libtermcap && $(MAKE) $(FLAGS_TO_PASS) install)
23714 @endif libtermcap
23716 # Other targets (info, dvi, etc.)
23718 .PHONY: maybe-info-libtermcap info-libtermcap
23719 maybe-info-libtermcap:
23720 @if libtermcap
23721 maybe-info-libtermcap: info-libtermcap
23723 info-libtermcap: \
23724 configure-libtermcap
23725 @[ -f ./libtermcap/Makefile ] || exit 0; \
23726 r=`${PWD_COMMAND}`; export r; \
23727 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23728 $(SET_LIB_PATH) \
23729 $(HOST_EXPORTS) \
23730 for flag in $(EXTRA_HOST_FLAGS) ; do \
23731 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23732 done; \
23733 echo "Doing info in libtermcap" ; \
23734 (cd libtermcap && \
23735 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23736 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23737 "RANLIB=$${RANLIB}" \
23738 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23739 info) \
23740 || exit 1
23742 @endif libtermcap
23744 .PHONY: maybe-dvi-libtermcap dvi-libtermcap
23745 maybe-dvi-libtermcap:
23746 @if libtermcap
23747 maybe-dvi-libtermcap: dvi-libtermcap
23749 dvi-libtermcap: \
23750 configure-libtermcap
23751 @[ -f ./libtermcap/Makefile ] || exit 0; \
23752 r=`${PWD_COMMAND}`; export r; \
23753 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23754 $(SET_LIB_PATH) \
23755 $(HOST_EXPORTS) \
23756 for flag in $(EXTRA_HOST_FLAGS) ; do \
23757 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23758 done; \
23759 echo "Doing dvi in libtermcap" ; \
23760 (cd libtermcap && \
23761 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23762 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23763 "RANLIB=$${RANLIB}" \
23764 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23765 dvi) \
23766 || exit 1
23768 @endif libtermcap
23770 .PHONY: maybe-html-libtermcap html-libtermcap
23771 maybe-html-libtermcap:
23772 @if libtermcap
23773 maybe-html-libtermcap: html-libtermcap
23775 html-libtermcap: \
23776 configure-libtermcap
23777 @[ -f ./libtermcap/Makefile ] || exit 0; \
23778 r=`${PWD_COMMAND}`; export r; \
23779 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23780 $(SET_LIB_PATH) \
23781 $(HOST_EXPORTS) \
23782 for flag in $(EXTRA_HOST_FLAGS) ; do \
23783 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23784 done; \
23785 echo "Doing html in libtermcap" ; \
23786 (cd libtermcap && \
23787 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23788 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23789 "RANLIB=$${RANLIB}" \
23790 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23791 html) \
23792 || exit 1
23794 @endif libtermcap
23796 .PHONY: maybe-TAGS-libtermcap TAGS-libtermcap
23797 maybe-TAGS-libtermcap:
23798 @if libtermcap
23799 maybe-TAGS-libtermcap: TAGS-libtermcap
23801 TAGS-libtermcap: \
23802 configure-libtermcap
23803 @[ -f ./libtermcap/Makefile ] || exit 0; \
23804 r=`${PWD_COMMAND}`; export r; \
23805 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23806 $(SET_LIB_PATH) \
23807 $(HOST_EXPORTS) \
23808 for flag in $(EXTRA_HOST_FLAGS) ; do \
23809 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23810 done; \
23811 echo "Doing TAGS in libtermcap" ; \
23812 (cd libtermcap && \
23813 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23814 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23815 "RANLIB=$${RANLIB}" \
23816 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23817 TAGS) \
23818 || exit 1
23820 @endif libtermcap
23822 .PHONY: maybe-install-info-libtermcap install-info-libtermcap
23823 maybe-install-info-libtermcap:
23824 @if libtermcap
23825 maybe-install-info-libtermcap: install-info-libtermcap
23827 install-info-libtermcap: \
23828 configure-libtermcap \
23829 info-libtermcap
23830 @[ -f ./libtermcap/Makefile ] || exit 0; \
23831 r=`${PWD_COMMAND}`; export r; \
23832 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23833 $(SET_LIB_PATH) \
23834 $(HOST_EXPORTS) \
23835 for flag in $(EXTRA_HOST_FLAGS) ; do \
23836 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23837 done; \
23838 echo "Doing install-info in libtermcap" ; \
23839 (cd libtermcap && \
23840 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23841 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23842 "RANLIB=$${RANLIB}" \
23843 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23844 install-info) \
23845 || exit 1
23847 @endif libtermcap
23849 .PHONY: maybe-installcheck-libtermcap installcheck-libtermcap
23850 maybe-installcheck-libtermcap:
23851 @if libtermcap
23852 maybe-installcheck-libtermcap: installcheck-libtermcap
23854 installcheck-libtermcap: \
23855 configure-libtermcap
23856 @[ -f ./libtermcap/Makefile ] || exit 0; \
23857 r=`${PWD_COMMAND}`; export r; \
23858 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23859 $(SET_LIB_PATH) \
23860 $(HOST_EXPORTS) \
23861 for flag in $(EXTRA_HOST_FLAGS) ; do \
23862 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23863 done; \
23864 echo "Doing installcheck in libtermcap" ; \
23865 (cd libtermcap && \
23866 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23867 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23868 "RANLIB=$${RANLIB}" \
23869 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23870 installcheck) \
23871 || exit 1
23873 @endif libtermcap
23875 .PHONY: maybe-mostlyclean-libtermcap mostlyclean-libtermcap
23876 maybe-mostlyclean-libtermcap:
23877 @if libtermcap
23878 maybe-mostlyclean-libtermcap: mostlyclean-libtermcap
23880 # libtermcap doesn't support mostlyclean.
23881 mostlyclean-libtermcap:
23883 @endif libtermcap
23885 .PHONY: maybe-clean-libtermcap clean-libtermcap
23886 maybe-clean-libtermcap:
23887 @if libtermcap
23888 maybe-clean-libtermcap: clean-libtermcap
23890 # libtermcap doesn't support clean.
23891 clean-libtermcap:
23893 @endif libtermcap
23895 .PHONY: maybe-distclean-libtermcap distclean-libtermcap
23896 maybe-distclean-libtermcap:
23897 @if libtermcap
23898 maybe-distclean-libtermcap: distclean-libtermcap
23900 # libtermcap doesn't support distclean.
23901 distclean-libtermcap:
23903 @endif libtermcap
23905 .PHONY: maybe-maintainer-clean-libtermcap maintainer-clean-libtermcap
23906 maybe-maintainer-clean-libtermcap:
23907 @if libtermcap
23908 maybe-maintainer-clean-libtermcap: maintainer-clean-libtermcap
23910 # libtermcap doesn't support maintainer-clean.
23911 maintainer-clean-libtermcap:
23913 @endif libtermcap
23916 .PHONY: configure-utils maybe-configure-utils
23917 maybe-configure-utils:
23918 @if utils
23919 maybe-configure-utils: configure-utils
23920 configure-utils:
23921 @test ! -f utils/Makefile || exit 0; \
23922 [ -d utils ] || mkdir utils; \
23923 r=`${PWD_COMMAND}`; export r; \
23924 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23925 $(HOST_EXPORTS) \
23926 echo Configuring in utils; \
23927 cd utils || exit 1; \
23928 case $(srcdir) in \
23929 \.) \
23930 srcdiroption="--srcdir=."; \
23931 libsrcdir=".";; \
23932 /* | [A-Za-z]:[\\/]*) \
23933 srcdiroption="--srcdir=$(srcdir)/utils"; \
23934 libsrcdir="$$s/utils";; \
23935 *) \
23936 srcdiroption="--srcdir=../$(srcdir)/utils"; \
23937 libsrcdir="$$s/utils";; \
23938 esac; \
23939 $(SHELL) $${libsrcdir}/configure \
23940 $(HOST_CONFIGARGS) $${srcdiroption} \
23941 || exit 1
23942 @endif utils
23944 .PHONY: all-utils maybe-all-utils
23945 maybe-all-utils:
23946 @if utils
23947 TARGET-utils=all
23948 maybe-all-utils: all-utils
23949 all-utils: configure-utils
23950 @r=`${PWD_COMMAND}`; export r; \
23951 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23952 $(SET_LIB_PATH) \
23953 $(HOST_EXPORTS) \
23954 (cd utils && $(MAKE) $(FLAGS_TO_PASS) \
23955 $(TARGET-utils))
23956 @endif utils
23958 .PHONY: check-utils maybe-check-utils
23959 maybe-check-utils:
23960 @if utils
23961 maybe-check-utils: check-utils
23963 check-utils:
23965 @endif utils
23967 .PHONY: install-utils maybe-install-utils
23968 maybe-install-utils:
23969 @if utils
23970 maybe-install-utils: install-utils
23972 install-utils: installdirs
23973 @r=`${PWD_COMMAND}`; export r; \
23974 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23975 $(SET_LIB_PATH) \
23976 $(HOST_EXPORTS) \
23977 (cd utils && $(MAKE) $(FLAGS_TO_PASS) install)
23979 @endif utils
23981 # Other targets (info, dvi, etc.)
23983 .PHONY: maybe-info-utils info-utils
23984 maybe-info-utils:
23985 @if utils
23986 maybe-info-utils: info-utils
23988 info-utils: \
23989 configure-utils
23990 @[ -f ./utils/Makefile ] || exit 0; \
23991 r=`${PWD_COMMAND}`; export r; \
23992 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23993 $(SET_LIB_PATH) \
23994 $(HOST_EXPORTS) \
23995 for flag in $(EXTRA_HOST_FLAGS) ; do \
23996 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23997 done; \
23998 echo "Doing info in utils" ; \
23999 (cd utils && \
24000 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24001 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24002 "RANLIB=$${RANLIB}" \
24003 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24004 info) \
24005 || exit 1
24007 @endif utils
24009 .PHONY: maybe-dvi-utils dvi-utils
24010 maybe-dvi-utils:
24011 @if utils
24012 maybe-dvi-utils: dvi-utils
24014 dvi-utils: \
24015 configure-utils
24016 @[ -f ./utils/Makefile ] || exit 0; \
24017 r=`${PWD_COMMAND}`; export r; \
24018 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24019 $(SET_LIB_PATH) \
24020 $(HOST_EXPORTS) \
24021 for flag in $(EXTRA_HOST_FLAGS) ; do \
24022 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24023 done; \
24024 echo "Doing dvi in utils" ; \
24025 (cd utils && \
24026 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24027 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24028 "RANLIB=$${RANLIB}" \
24029 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24030 dvi) \
24031 || exit 1
24033 @endif utils
24035 .PHONY: maybe-html-utils html-utils
24036 maybe-html-utils:
24037 @if utils
24038 maybe-html-utils: html-utils
24040 html-utils: \
24041 configure-utils
24042 @[ -f ./utils/Makefile ] || exit 0; \
24043 r=`${PWD_COMMAND}`; export r; \
24044 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24045 $(SET_LIB_PATH) \
24046 $(HOST_EXPORTS) \
24047 for flag in $(EXTRA_HOST_FLAGS) ; do \
24048 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24049 done; \
24050 echo "Doing html in utils" ; \
24051 (cd utils && \
24052 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24053 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24054 "RANLIB=$${RANLIB}" \
24055 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24056 html) \
24057 || exit 1
24059 @endif utils
24061 .PHONY: maybe-TAGS-utils TAGS-utils
24062 maybe-TAGS-utils:
24063 @if utils
24064 maybe-TAGS-utils: TAGS-utils
24066 TAGS-utils: \
24067 configure-utils
24068 @[ -f ./utils/Makefile ] || exit 0; \
24069 r=`${PWD_COMMAND}`; export r; \
24070 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24071 $(SET_LIB_PATH) \
24072 $(HOST_EXPORTS) \
24073 for flag in $(EXTRA_HOST_FLAGS) ; do \
24074 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24075 done; \
24076 echo "Doing TAGS in utils" ; \
24077 (cd utils && \
24078 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24079 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24080 "RANLIB=$${RANLIB}" \
24081 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24082 TAGS) \
24083 || exit 1
24085 @endif utils
24087 .PHONY: maybe-install-info-utils install-info-utils
24088 maybe-install-info-utils:
24089 @if utils
24090 maybe-install-info-utils: install-info-utils
24092 install-info-utils: \
24093 configure-utils \
24094 info-utils
24095 @[ -f ./utils/Makefile ] || exit 0; \
24096 r=`${PWD_COMMAND}`; export r; \
24097 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24098 $(SET_LIB_PATH) \
24099 $(HOST_EXPORTS) \
24100 for flag in $(EXTRA_HOST_FLAGS) ; do \
24101 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24102 done; \
24103 echo "Doing install-info in utils" ; \
24104 (cd utils && \
24105 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24106 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24107 "RANLIB=$${RANLIB}" \
24108 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24109 install-info) \
24110 || exit 1
24112 @endif utils
24114 .PHONY: maybe-installcheck-utils installcheck-utils
24115 maybe-installcheck-utils:
24116 @if utils
24117 maybe-installcheck-utils: installcheck-utils
24119 installcheck-utils: \
24120 configure-utils
24121 @[ -f ./utils/Makefile ] || exit 0; \
24122 r=`${PWD_COMMAND}`; export r; \
24123 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24124 $(SET_LIB_PATH) \
24125 $(HOST_EXPORTS) \
24126 for flag in $(EXTRA_HOST_FLAGS) ; do \
24127 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24128 done; \
24129 echo "Doing installcheck in utils" ; \
24130 (cd utils && \
24131 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24132 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24133 "RANLIB=$${RANLIB}" \
24134 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24135 installcheck) \
24136 || exit 1
24138 @endif utils
24140 .PHONY: maybe-mostlyclean-utils mostlyclean-utils
24141 maybe-mostlyclean-utils:
24142 @if utils
24143 maybe-mostlyclean-utils: mostlyclean-utils
24145 mostlyclean-utils:
24146 @[ -f ./utils/Makefile ] || exit 0; \
24147 r=`${PWD_COMMAND}`; export r; \
24148 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24149 $(SET_LIB_PATH) \
24150 $(HOST_EXPORTS) \
24151 for flag in $(EXTRA_HOST_FLAGS) ; do \
24152 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24153 done; \
24154 echo "Doing mostlyclean in utils" ; \
24155 (cd utils && \
24156 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24157 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24158 "RANLIB=$${RANLIB}" \
24159 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24160 mostlyclean) \
24161 || exit 1
24163 @endif utils
24165 .PHONY: maybe-clean-utils clean-utils
24166 maybe-clean-utils:
24167 @if utils
24168 maybe-clean-utils: clean-utils
24170 clean-utils:
24171 @[ -f ./utils/Makefile ] || exit 0; \
24172 r=`${PWD_COMMAND}`; export r; \
24173 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24174 $(SET_LIB_PATH) \
24175 $(HOST_EXPORTS) \
24176 for flag in $(EXTRA_HOST_FLAGS) ; do \
24177 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24178 done; \
24179 echo "Doing clean in utils" ; \
24180 (cd utils && \
24181 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24182 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24183 "RANLIB=$${RANLIB}" \
24184 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24185 clean) \
24186 || exit 1
24188 @endif utils
24190 .PHONY: maybe-distclean-utils distclean-utils
24191 maybe-distclean-utils:
24192 @if utils
24193 maybe-distclean-utils: distclean-utils
24195 distclean-utils:
24196 @[ -f ./utils/Makefile ] || exit 0; \
24197 r=`${PWD_COMMAND}`; export r; \
24198 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24199 $(SET_LIB_PATH) \
24200 $(HOST_EXPORTS) \
24201 for flag in $(EXTRA_HOST_FLAGS) ; do \
24202 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24203 done; \
24204 echo "Doing distclean in utils" ; \
24205 (cd utils && \
24206 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24207 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24208 "RANLIB=$${RANLIB}" \
24209 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24210 distclean) \
24211 || exit 1
24213 @endif utils
24215 .PHONY: maybe-maintainer-clean-utils maintainer-clean-utils
24216 maybe-maintainer-clean-utils:
24217 @if utils
24218 maybe-maintainer-clean-utils: maintainer-clean-utils
24220 maintainer-clean-utils:
24221 @[ -f ./utils/Makefile ] || exit 0; \
24222 r=`${PWD_COMMAND}`; export r; \
24223 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24224 $(SET_LIB_PATH) \
24225 $(HOST_EXPORTS) \
24226 for flag in $(EXTRA_HOST_FLAGS) ; do \
24227 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24228 done; \
24229 echo "Doing maintainer-clean in utils" ; \
24230 (cd utils && \
24231 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24232 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24233 "RANLIB=$${RANLIB}" \
24234 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24235 maintainer-clean) \
24236 || exit 1
24238 @endif utils
24242 # ---------------------------------------
24243 # Modules which run on the target machine
24244 # ---------------------------------------
24246 .PHONY: configure-target-libstdc++-v3 maybe-configure-target-libstdc++-v3
24247 maybe-configure-target-libstdc++-v3:
24248 @if target-libstdc++-v3
24249 maybe-configure-target-libstdc++-v3: configure-target-libstdc++-v3
24251 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
24252 $(TARGET_SUBDIR)/libstdc++-v3/multilib.out: multilib.out
24253 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \
24254 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || : ; \
24255 cp multilib.out $(TARGET_SUBDIR)/libstdc++-v3/multilib.out
24257 configure-target-libstdc++-v3: $(TARGET_SUBDIR)/libstdc++-v3/multilib.out
24258 @test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
24259 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \
24260 r=`${PWD_COMMAND}`; export r; \
24261 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24262 $(SET_LIB_PATH) \
24263 $(RAW_CXX_TARGET_EXPORTS) \
24264 echo Configuring in $(TARGET_SUBDIR)/libstdc++-v3; \
24265 cd "$(TARGET_SUBDIR)/libstdc++-v3" || exit 1; \
24266 case $(srcdir) in \
24267 /* | [A-Za-z]:[\\/]*) \
24268 topdir=$(srcdir) ;; \
24269 *) \
24270 case "$(TARGET_SUBDIR)" in \
24271 .) topdir="../$(srcdir)" ;; \
24272 *) topdir="../../$(srcdir)" ;; \
24273 esac ;; \
24274 esac; \
24275 srcdiroption="--srcdir=$${topdir}/libstdc++-v3"; \
24276 libsrcdir="$$s/libstdc++-v3"; \
24277 rm -f no-such-file || : ; \
24278 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
24279 $(TARGET_CONFIGARGS) $${srcdiroption} \
24280 --with-target-subdir="$(TARGET_SUBDIR)" \
24281 || exit 1
24282 @endif target-libstdc++-v3
24284 .PHONY: all-target-libstdc++-v3 maybe-all-target-libstdc++-v3
24285 maybe-all-target-libstdc++-v3:
24286 @if target-libstdc++-v3
24287 TARGET-target-libstdc++-v3=all
24288 maybe-all-target-libstdc++-v3: all-target-libstdc++-v3
24289 all-target-libstdc++-v3: configure-target-libstdc++-v3
24290 @r=`${PWD_COMMAND}`; export r; \
24291 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24292 $(SET_LIB_PATH) \
24293 $(RAW_CXX_TARGET_EXPORTS) \
24294 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
24295 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' $(TARGET-target-libstdc++-v3))
24296 @endif target-libstdc++-v3
24298 .PHONY: check-target-libstdc++-v3 maybe-check-target-libstdc++-v3
24299 maybe-check-target-libstdc++-v3:
24300 @if target-libstdc++-v3
24301 maybe-check-target-libstdc++-v3: check-target-libstdc++-v3
24303 check-target-libstdc++-v3:
24304 @r=`${PWD_COMMAND}`; export r; \
24305 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24306 $(SET_LIB_PATH) \
24307 $(RAW_CXX_TARGET_EXPORTS) \
24308 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
24309 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' check)
24311 @endif target-libstdc++-v3
24313 .PHONY: install-target-libstdc++-v3 maybe-install-target-libstdc++-v3
24314 maybe-install-target-libstdc++-v3:
24315 @if target-libstdc++-v3
24316 maybe-install-target-libstdc++-v3: install-target-libstdc++-v3
24318 install-target-libstdc++-v3: installdirs
24319 @r=`${PWD_COMMAND}`; export r; \
24320 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24321 $(SET_LIB_PATH) \
24322 $(RAW_CXX_TARGET_EXPORTS) \
24323 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
24324 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
24326 @endif target-libstdc++-v3
24328 # Other targets (info, dvi, etc.)
24330 .PHONY: maybe-info-target-libstdc++-v3 info-target-libstdc++-v3
24331 maybe-info-target-libstdc++-v3:
24332 @if target-libstdc++-v3
24333 maybe-info-target-libstdc++-v3: info-target-libstdc++-v3
24335 info-target-libstdc++-v3: \
24336 configure-target-libstdc++-v3
24337 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
24338 r=`${PWD_COMMAND}`; export r; \
24339 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24340 $(SET_LIB_PATH) \
24341 $(RAW_CXX_TARGET_EXPORTS) \
24342 echo "Doing info in $(TARGET_SUBDIR)/libstdc++-v3" ; \
24343 for flag in $(EXTRA_TARGET_FLAGS); do \
24344 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24345 done; \
24346 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
24347 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24348 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24349 "RANLIB=$${RANLIB}" \
24350 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24351 info) \
24352 || exit 1
24354 @endif target-libstdc++-v3
24356 .PHONY: maybe-dvi-target-libstdc++-v3 dvi-target-libstdc++-v3
24357 maybe-dvi-target-libstdc++-v3:
24358 @if target-libstdc++-v3
24359 maybe-dvi-target-libstdc++-v3: dvi-target-libstdc++-v3
24361 dvi-target-libstdc++-v3: \
24362 configure-target-libstdc++-v3
24363 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
24364 r=`${PWD_COMMAND}`; export r; \
24365 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24366 $(SET_LIB_PATH) \
24367 $(RAW_CXX_TARGET_EXPORTS) \
24368 echo "Doing dvi in $(TARGET_SUBDIR)/libstdc++-v3" ; \
24369 for flag in $(EXTRA_TARGET_FLAGS); do \
24370 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24371 done; \
24372 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
24373 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24374 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24375 "RANLIB=$${RANLIB}" \
24376 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24377 dvi) \
24378 || exit 1
24380 @endif target-libstdc++-v3
24382 .PHONY: maybe-html-target-libstdc++-v3 html-target-libstdc++-v3
24383 maybe-html-target-libstdc++-v3:
24384 @if target-libstdc++-v3
24385 maybe-html-target-libstdc++-v3: html-target-libstdc++-v3
24387 html-target-libstdc++-v3: \
24388 configure-target-libstdc++-v3
24389 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
24390 r=`${PWD_COMMAND}`; export r; \
24391 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24392 $(SET_LIB_PATH) \
24393 $(RAW_CXX_TARGET_EXPORTS) \
24394 echo "Doing html in $(TARGET_SUBDIR)/libstdc++-v3" ; \
24395 for flag in $(EXTRA_TARGET_FLAGS); do \
24396 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24397 done; \
24398 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
24399 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24400 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24401 "RANLIB=$${RANLIB}" \
24402 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24403 html) \
24404 || exit 1
24406 @endif target-libstdc++-v3
24408 .PHONY: maybe-TAGS-target-libstdc++-v3 TAGS-target-libstdc++-v3
24409 maybe-TAGS-target-libstdc++-v3:
24410 @if target-libstdc++-v3
24411 maybe-TAGS-target-libstdc++-v3: TAGS-target-libstdc++-v3
24413 TAGS-target-libstdc++-v3: \
24414 configure-target-libstdc++-v3
24415 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
24416 r=`${PWD_COMMAND}`; export r; \
24417 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24418 $(SET_LIB_PATH) \
24419 $(RAW_CXX_TARGET_EXPORTS) \
24420 echo "Doing TAGS in $(TARGET_SUBDIR)/libstdc++-v3" ; \
24421 for flag in $(EXTRA_TARGET_FLAGS); do \
24422 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24423 done; \
24424 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
24425 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24426 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24427 "RANLIB=$${RANLIB}" \
24428 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24429 TAGS) \
24430 || exit 1
24432 @endif target-libstdc++-v3
24434 .PHONY: maybe-install-info-target-libstdc++-v3 install-info-target-libstdc++-v3
24435 maybe-install-info-target-libstdc++-v3:
24436 @if target-libstdc++-v3
24437 maybe-install-info-target-libstdc++-v3: install-info-target-libstdc++-v3
24439 install-info-target-libstdc++-v3: \
24440 configure-target-libstdc++-v3 \
24441 info-target-libstdc++-v3
24442 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
24443 r=`${PWD_COMMAND}`; export r; \
24444 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24445 $(SET_LIB_PATH) \
24446 $(RAW_CXX_TARGET_EXPORTS) \
24447 echo "Doing install-info in $(TARGET_SUBDIR)/libstdc++-v3" ; \
24448 for flag in $(EXTRA_TARGET_FLAGS); do \
24449 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24450 done; \
24451 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
24452 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24453 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24454 "RANLIB=$${RANLIB}" \
24455 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24456 install-info) \
24457 || exit 1
24459 @endif target-libstdc++-v3
24461 .PHONY: maybe-installcheck-target-libstdc++-v3 installcheck-target-libstdc++-v3
24462 maybe-installcheck-target-libstdc++-v3:
24463 @if target-libstdc++-v3
24464 maybe-installcheck-target-libstdc++-v3: installcheck-target-libstdc++-v3
24466 installcheck-target-libstdc++-v3: \
24467 configure-target-libstdc++-v3
24468 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
24469 r=`${PWD_COMMAND}`; export r; \
24470 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24471 $(SET_LIB_PATH) \
24472 $(RAW_CXX_TARGET_EXPORTS) \
24473 echo "Doing installcheck in $(TARGET_SUBDIR)/libstdc++-v3" ; \
24474 for flag in $(EXTRA_TARGET_FLAGS); do \
24475 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24476 done; \
24477 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
24478 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24479 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24480 "RANLIB=$${RANLIB}" \
24481 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24482 installcheck) \
24483 || exit 1
24485 @endif target-libstdc++-v3
24487 .PHONY: maybe-mostlyclean-target-libstdc++-v3 mostlyclean-target-libstdc++-v3
24488 maybe-mostlyclean-target-libstdc++-v3:
24489 @if target-libstdc++-v3
24490 maybe-mostlyclean-target-libstdc++-v3: mostlyclean-target-libstdc++-v3
24492 mostlyclean-target-libstdc++-v3:
24493 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
24494 r=`${PWD_COMMAND}`; export r; \
24495 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24496 $(SET_LIB_PATH) \
24497 $(RAW_CXX_TARGET_EXPORTS) \
24498 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
24499 for flag in $(EXTRA_TARGET_FLAGS); do \
24500 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24501 done; \
24502 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
24503 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24504 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24505 "RANLIB=$${RANLIB}" \
24506 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24507 mostlyclean) \
24508 || exit 1
24510 @endif target-libstdc++-v3
24512 .PHONY: maybe-clean-target-libstdc++-v3 clean-target-libstdc++-v3
24513 maybe-clean-target-libstdc++-v3:
24514 @if target-libstdc++-v3
24515 maybe-clean-target-libstdc++-v3: clean-target-libstdc++-v3
24517 clean-target-libstdc++-v3:
24518 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
24519 r=`${PWD_COMMAND}`; export r; \
24520 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24521 $(SET_LIB_PATH) \
24522 $(RAW_CXX_TARGET_EXPORTS) \
24523 echo "Doing clean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
24524 for flag in $(EXTRA_TARGET_FLAGS); do \
24525 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24526 done; \
24527 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
24528 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24529 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24530 "RANLIB=$${RANLIB}" \
24531 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24532 clean) \
24533 || exit 1
24535 @endif target-libstdc++-v3
24537 .PHONY: maybe-distclean-target-libstdc++-v3 distclean-target-libstdc++-v3
24538 maybe-distclean-target-libstdc++-v3:
24539 @if target-libstdc++-v3
24540 maybe-distclean-target-libstdc++-v3: distclean-target-libstdc++-v3
24542 distclean-target-libstdc++-v3:
24543 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
24544 r=`${PWD_COMMAND}`; export r; \
24545 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24546 $(SET_LIB_PATH) \
24547 $(RAW_CXX_TARGET_EXPORTS) \
24548 echo "Doing distclean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
24549 for flag in $(EXTRA_TARGET_FLAGS); do \
24550 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24551 done; \
24552 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
24553 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24554 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24555 "RANLIB=$${RANLIB}" \
24556 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24557 distclean) \
24558 || exit 1
24560 @endif target-libstdc++-v3
24562 .PHONY: maybe-maintainer-clean-target-libstdc++-v3 maintainer-clean-target-libstdc++-v3
24563 maybe-maintainer-clean-target-libstdc++-v3:
24564 @if target-libstdc++-v3
24565 maybe-maintainer-clean-target-libstdc++-v3: maintainer-clean-target-libstdc++-v3
24567 maintainer-clean-target-libstdc++-v3:
24568 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
24569 r=`${PWD_COMMAND}`; export r; \
24570 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24571 $(SET_LIB_PATH) \
24572 $(RAW_CXX_TARGET_EXPORTS) \
24573 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
24574 for flag in $(EXTRA_TARGET_FLAGS); do \
24575 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24576 done; \
24577 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
24578 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24579 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24580 "RANLIB=$${RANLIB}" \
24581 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24582 maintainer-clean) \
24583 || exit 1
24585 @endif target-libstdc++-v3
24588 .PHONY: configure-target-libmudflap maybe-configure-target-libmudflap
24589 maybe-configure-target-libmudflap:
24590 @if target-libmudflap
24591 maybe-configure-target-libmudflap: configure-target-libmudflap
24593 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
24594 $(TARGET_SUBDIR)/libmudflap/multilib.out: multilib.out
24595 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libmudflap ; \
24596 rm -f $(TARGET_SUBDIR)/libmudflap/Makefile || : ; \
24597 cp multilib.out $(TARGET_SUBDIR)/libmudflap/multilib.out
24599 configure-target-libmudflap: $(TARGET_SUBDIR)/libmudflap/multilib.out
24600 @test ! -f $(TARGET_SUBDIR)/libmudflap/Makefile || exit 0; \
24601 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libmudflap ; \
24602 r=`${PWD_COMMAND}`; export r; \
24603 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24604 $(SET_LIB_PATH) \
24605 $(NORMAL_TARGET_EXPORTS) \
24606 echo Configuring in $(TARGET_SUBDIR)/libmudflap; \
24607 cd "$(TARGET_SUBDIR)/libmudflap" || exit 1; \
24608 case $(srcdir) in \
24609 /* | [A-Za-z]:[\\/]*) \
24610 topdir=$(srcdir) ;; \
24611 *) \
24612 case "$(TARGET_SUBDIR)" in \
24613 .) topdir="../$(srcdir)" ;; \
24614 *) topdir="../../$(srcdir)" ;; \
24615 esac ;; \
24616 esac; \
24617 srcdiroption="--srcdir=$${topdir}/libmudflap"; \
24618 libsrcdir="$$s/libmudflap"; \
24619 rm -f no-such-file || : ; \
24620 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
24621 $(TARGET_CONFIGARGS) $${srcdiroption} \
24622 --with-target-subdir="$(TARGET_SUBDIR)" \
24623 || exit 1
24624 @endif target-libmudflap
24626 .PHONY: all-target-libmudflap maybe-all-target-libmudflap
24627 maybe-all-target-libmudflap:
24628 @if target-libmudflap
24629 TARGET-target-libmudflap=all
24630 maybe-all-target-libmudflap: all-target-libmudflap
24631 all-target-libmudflap: configure-target-libmudflap
24632 @r=`${PWD_COMMAND}`; export r; \
24633 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24634 $(SET_LIB_PATH) \
24635 $(NORMAL_TARGET_EXPORTS) \
24636 (cd $(TARGET_SUBDIR)/libmudflap && \
24637 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libmudflap))
24638 @endif target-libmudflap
24640 .PHONY: check-target-libmudflap maybe-check-target-libmudflap
24641 maybe-check-target-libmudflap:
24642 @if target-libmudflap
24643 maybe-check-target-libmudflap: check-target-libmudflap
24645 check-target-libmudflap:
24646 @r=`${PWD_COMMAND}`; export r; \
24647 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24648 $(SET_LIB_PATH) \
24649 $(NORMAL_TARGET_EXPORTS) \
24650 (cd $(TARGET_SUBDIR)/libmudflap && \
24651 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
24653 @endif target-libmudflap
24655 .PHONY: install-target-libmudflap maybe-install-target-libmudflap
24656 maybe-install-target-libmudflap:
24657 @if target-libmudflap
24658 maybe-install-target-libmudflap: install-target-libmudflap
24660 install-target-libmudflap: installdirs
24661 @r=`${PWD_COMMAND}`; export r; \
24662 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24663 $(SET_LIB_PATH) \
24664 $(NORMAL_TARGET_EXPORTS) \
24665 (cd $(TARGET_SUBDIR)/libmudflap && \
24666 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
24668 @endif target-libmudflap
24670 # Other targets (info, dvi, etc.)
24672 .PHONY: maybe-info-target-libmudflap info-target-libmudflap
24673 maybe-info-target-libmudflap:
24674 @if target-libmudflap
24675 maybe-info-target-libmudflap: info-target-libmudflap
24677 info-target-libmudflap: \
24678 configure-target-libmudflap
24679 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
24680 r=`${PWD_COMMAND}`; export r; \
24681 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24682 $(SET_LIB_PATH) \
24683 $(NORMAL_TARGET_EXPORTS) \
24684 echo "Doing info in $(TARGET_SUBDIR)/libmudflap" ; \
24685 for flag in $(EXTRA_TARGET_FLAGS); do \
24686 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24687 done; \
24688 (cd $(TARGET_SUBDIR)/libmudflap && \
24689 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24690 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24691 "RANLIB=$${RANLIB}" \
24692 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24693 info) \
24694 || exit 1
24696 @endif target-libmudflap
24698 .PHONY: maybe-dvi-target-libmudflap dvi-target-libmudflap
24699 maybe-dvi-target-libmudflap:
24700 @if target-libmudflap
24701 maybe-dvi-target-libmudflap: dvi-target-libmudflap
24703 dvi-target-libmudflap: \
24704 configure-target-libmudflap
24705 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
24706 r=`${PWD_COMMAND}`; export r; \
24707 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24708 $(SET_LIB_PATH) \
24709 $(NORMAL_TARGET_EXPORTS) \
24710 echo "Doing dvi in $(TARGET_SUBDIR)/libmudflap" ; \
24711 for flag in $(EXTRA_TARGET_FLAGS); do \
24712 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24713 done; \
24714 (cd $(TARGET_SUBDIR)/libmudflap && \
24715 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24716 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24717 "RANLIB=$${RANLIB}" \
24718 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24719 dvi) \
24720 || exit 1
24722 @endif target-libmudflap
24724 .PHONY: maybe-html-target-libmudflap html-target-libmudflap
24725 maybe-html-target-libmudflap:
24726 @if target-libmudflap
24727 maybe-html-target-libmudflap: html-target-libmudflap
24729 html-target-libmudflap: \
24730 configure-target-libmudflap
24731 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
24732 r=`${PWD_COMMAND}`; export r; \
24733 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24734 $(SET_LIB_PATH) \
24735 $(NORMAL_TARGET_EXPORTS) \
24736 echo "Doing html in $(TARGET_SUBDIR)/libmudflap" ; \
24737 for flag in $(EXTRA_TARGET_FLAGS); do \
24738 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24739 done; \
24740 (cd $(TARGET_SUBDIR)/libmudflap && \
24741 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24742 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24743 "RANLIB=$${RANLIB}" \
24744 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24745 html) \
24746 || exit 1
24748 @endif target-libmudflap
24750 .PHONY: maybe-TAGS-target-libmudflap TAGS-target-libmudflap
24751 maybe-TAGS-target-libmudflap:
24752 @if target-libmudflap
24753 maybe-TAGS-target-libmudflap: TAGS-target-libmudflap
24755 TAGS-target-libmudflap: \
24756 configure-target-libmudflap
24757 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
24758 r=`${PWD_COMMAND}`; export r; \
24759 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24760 $(SET_LIB_PATH) \
24761 $(NORMAL_TARGET_EXPORTS) \
24762 echo "Doing TAGS in $(TARGET_SUBDIR)/libmudflap" ; \
24763 for flag in $(EXTRA_TARGET_FLAGS); do \
24764 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24765 done; \
24766 (cd $(TARGET_SUBDIR)/libmudflap && \
24767 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24768 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24769 "RANLIB=$${RANLIB}" \
24770 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24771 TAGS) \
24772 || exit 1
24774 @endif target-libmudflap
24776 .PHONY: maybe-install-info-target-libmudflap install-info-target-libmudflap
24777 maybe-install-info-target-libmudflap:
24778 @if target-libmudflap
24779 maybe-install-info-target-libmudflap: install-info-target-libmudflap
24781 install-info-target-libmudflap: \
24782 configure-target-libmudflap \
24783 info-target-libmudflap
24784 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
24785 r=`${PWD_COMMAND}`; export r; \
24786 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24787 $(SET_LIB_PATH) \
24788 $(NORMAL_TARGET_EXPORTS) \
24789 echo "Doing install-info in $(TARGET_SUBDIR)/libmudflap" ; \
24790 for flag in $(EXTRA_TARGET_FLAGS); do \
24791 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24792 done; \
24793 (cd $(TARGET_SUBDIR)/libmudflap && \
24794 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24795 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24796 "RANLIB=$${RANLIB}" \
24797 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24798 install-info) \
24799 || exit 1
24801 @endif target-libmudflap
24803 .PHONY: maybe-installcheck-target-libmudflap installcheck-target-libmudflap
24804 maybe-installcheck-target-libmudflap:
24805 @if target-libmudflap
24806 maybe-installcheck-target-libmudflap: installcheck-target-libmudflap
24808 installcheck-target-libmudflap: \
24809 configure-target-libmudflap
24810 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
24811 r=`${PWD_COMMAND}`; export r; \
24812 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24813 $(SET_LIB_PATH) \
24814 $(NORMAL_TARGET_EXPORTS) \
24815 echo "Doing installcheck in $(TARGET_SUBDIR)/libmudflap" ; \
24816 for flag in $(EXTRA_TARGET_FLAGS); do \
24817 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24818 done; \
24819 (cd $(TARGET_SUBDIR)/libmudflap && \
24820 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24821 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24822 "RANLIB=$${RANLIB}" \
24823 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24824 installcheck) \
24825 || exit 1
24827 @endif target-libmudflap
24829 .PHONY: maybe-mostlyclean-target-libmudflap mostlyclean-target-libmudflap
24830 maybe-mostlyclean-target-libmudflap:
24831 @if target-libmudflap
24832 maybe-mostlyclean-target-libmudflap: mostlyclean-target-libmudflap
24834 mostlyclean-target-libmudflap:
24835 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
24836 r=`${PWD_COMMAND}`; export r; \
24837 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24838 $(SET_LIB_PATH) \
24839 $(NORMAL_TARGET_EXPORTS) \
24840 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libmudflap" ; \
24841 for flag in $(EXTRA_TARGET_FLAGS); do \
24842 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24843 done; \
24844 (cd $(TARGET_SUBDIR)/libmudflap && \
24845 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24846 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24847 "RANLIB=$${RANLIB}" \
24848 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24849 mostlyclean) \
24850 || exit 1
24852 @endif target-libmudflap
24854 .PHONY: maybe-clean-target-libmudflap clean-target-libmudflap
24855 maybe-clean-target-libmudflap:
24856 @if target-libmudflap
24857 maybe-clean-target-libmudflap: clean-target-libmudflap
24859 clean-target-libmudflap:
24860 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
24861 r=`${PWD_COMMAND}`; export r; \
24862 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24863 $(SET_LIB_PATH) \
24864 $(NORMAL_TARGET_EXPORTS) \
24865 echo "Doing clean in $(TARGET_SUBDIR)/libmudflap" ; \
24866 for flag in $(EXTRA_TARGET_FLAGS); do \
24867 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24868 done; \
24869 (cd $(TARGET_SUBDIR)/libmudflap && \
24870 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24871 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24872 "RANLIB=$${RANLIB}" \
24873 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24874 clean) \
24875 || exit 1
24877 @endif target-libmudflap
24879 .PHONY: maybe-distclean-target-libmudflap distclean-target-libmudflap
24880 maybe-distclean-target-libmudflap:
24881 @if target-libmudflap
24882 maybe-distclean-target-libmudflap: distclean-target-libmudflap
24884 distclean-target-libmudflap:
24885 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
24886 r=`${PWD_COMMAND}`; export r; \
24887 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24888 $(SET_LIB_PATH) \
24889 $(NORMAL_TARGET_EXPORTS) \
24890 echo "Doing distclean in $(TARGET_SUBDIR)/libmudflap" ; \
24891 for flag in $(EXTRA_TARGET_FLAGS); do \
24892 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24893 done; \
24894 (cd $(TARGET_SUBDIR)/libmudflap && \
24895 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24896 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24897 "RANLIB=$${RANLIB}" \
24898 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24899 distclean) \
24900 || exit 1
24902 @endif target-libmudflap
24904 .PHONY: maybe-maintainer-clean-target-libmudflap maintainer-clean-target-libmudflap
24905 maybe-maintainer-clean-target-libmudflap:
24906 @if target-libmudflap
24907 maybe-maintainer-clean-target-libmudflap: maintainer-clean-target-libmudflap
24909 maintainer-clean-target-libmudflap:
24910 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
24911 r=`${PWD_COMMAND}`; export r; \
24912 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24913 $(SET_LIB_PATH) \
24914 $(NORMAL_TARGET_EXPORTS) \
24915 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libmudflap" ; \
24916 for flag in $(EXTRA_TARGET_FLAGS); do \
24917 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24918 done; \
24919 (cd $(TARGET_SUBDIR)/libmudflap && \
24920 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24921 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24922 "RANLIB=$${RANLIB}" \
24923 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24924 maintainer-clean) \
24925 || exit 1
24927 @endif target-libmudflap
24930 .PHONY: configure-target-newlib maybe-configure-target-newlib
24931 maybe-configure-target-newlib:
24932 @if target-newlib
24933 maybe-configure-target-newlib: configure-target-newlib
24935 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
24936 $(TARGET_SUBDIR)/newlib/multilib.out: multilib.out
24937 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/newlib ; \
24938 rm -f $(TARGET_SUBDIR)/newlib/Makefile || : ; \
24939 cp multilib.out $(TARGET_SUBDIR)/newlib/multilib.out
24941 configure-target-newlib: $(TARGET_SUBDIR)/newlib/multilib.out
24942 @test ! -f $(TARGET_SUBDIR)/newlib/Makefile || exit 0; \
24943 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/newlib ; \
24944 r=`${PWD_COMMAND}`; export r; \
24945 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24946 $(SET_LIB_PATH) \
24947 $(NORMAL_TARGET_EXPORTS) \
24948 echo Configuring in $(TARGET_SUBDIR)/newlib; \
24949 cd "$(TARGET_SUBDIR)/newlib" || exit 1; \
24950 case $(srcdir) in \
24951 /* | [A-Za-z]:[\\/]*) \
24952 topdir=$(srcdir) ;; \
24953 *) \
24954 case "$(TARGET_SUBDIR)" in \
24955 .) topdir="../$(srcdir)" ;; \
24956 *) topdir="../../$(srcdir)" ;; \
24957 esac ;; \
24958 esac; \
24959 srcdiroption="--srcdir=$${topdir}/newlib"; \
24960 libsrcdir="$$s/newlib"; \
24961 rm -f no-such-file || : ; \
24962 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
24963 $(TARGET_CONFIGARGS) $${srcdiroption} \
24964 --with-target-subdir="$(TARGET_SUBDIR)" \
24965 || exit 1
24966 @endif target-newlib
24968 .PHONY: all-target-newlib maybe-all-target-newlib
24969 maybe-all-target-newlib:
24970 @if target-newlib
24971 TARGET-target-newlib=all
24972 maybe-all-target-newlib: all-target-newlib
24973 all-target-newlib: configure-target-newlib
24974 @r=`${PWD_COMMAND}`; export r; \
24975 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24976 $(SET_LIB_PATH) \
24977 $(NORMAL_TARGET_EXPORTS) \
24978 (cd $(TARGET_SUBDIR)/newlib && \
24979 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-newlib))
24980 @endif target-newlib
24982 .PHONY: check-target-newlib maybe-check-target-newlib
24983 maybe-check-target-newlib:
24984 @if target-newlib
24985 maybe-check-target-newlib: check-target-newlib
24987 check-target-newlib:
24988 @r=`${PWD_COMMAND}`; export r; \
24989 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24990 $(SET_LIB_PATH) \
24991 $(NORMAL_TARGET_EXPORTS) \
24992 (cd $(TARGET_SUBDIR)/newlib && \
24993 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
24995 @endif target-newlib
24997 .PHONY: install-target-newlib maybe-install-target-newlib
24998 maybe-install-target-newlib:
24999 @if target-newlib
25000 maybe-install-target-newlib: install-target-newlib
25002 install-target-newlib: installdirs
25003 @r=`${PWD_COMMAND}`; export r; \
25004 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25005 $(SET_LIB_PATH) \
25006 $(NORMAL_TARGET_EXPORTS) \
25007 (cd $(TARGET_SUBDIR)/newlib && \
25008 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
25010 @endif target-newlib
25012 # Other targets (info, dvi, etc.)
25014 .PHONY: maybe-info-target-newlib info-target-newlib
25015 maybe-info-target-newlib:
25016 @if target-newlib
25017 maybe-info-target-newlib: info-target-newlib
25019 info-target-newlib: \
25020 configure-target-newlib
25021 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
25022 r=`${PWD_COMMAND}`; export r; \
25023 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25024 $(SET_LIB_PATH) \
25025 $(NORMAL_TARGET_EXPORTS) \
25026 echo "Doing info in $(TARGET_SUBDIR)/newlib" ; \
25027 for flag in $(EXTRA_TARGET_FLAGS); do \
25028 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25029 done; \
25030 (cd $(TARGET_SUBDIR)/newlib && \
25031 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25032 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25033 "RANLIB=$${RANLIB}" \
25034 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25035 info) \
25036 || exit 1
25038 @endif target-newlib
25040 .PHONY: maybe-dvi-target-newlib dvi-target-newlib
25041 maybe-dvi-target-newlib:
25042 @if target-newlib
25043 maybe-dvi-target-newlib: dvi-target-newlib
25045 dvi-target-newlib: \
25046 configure-target-newlib
25047 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
25048 r=`${PWD_COMMAND}`; export r; \
25049 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25050 $(SET_LIB_PATH) \
25051 $(NORMAL_TARGET_EXPORTS) \
25052 echo "Doing dvi in $(TARGET_SUBDIR)/newlib" ; \
25053 for flag in $(EXTRA_TARGET_FLAGS); do \
25054 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25055 done; \
25056 (cd $(TARGET_SUBDIR)/newlib && \
25057 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25058 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25059 "RANLIB=$${RANLIB}" \
25060 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25061 dvi) \
25062 || exit 1
25064 @endif target-newlib
25066 .PHONY: maybe-html-target-newlib html-target-newlib
25067 maybe-html-target-newlib:
25068 @if target-newlib
25069 maybe-html-target-newlib: html-target-newlib
25071 html-target-newlib: \
25072 configure-target-newlib
25073 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
25074 r=`${PWD_COMMAND}`; export r; \
25075 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25076 $(SET_LIB_PATH) \
25077 $(NORMAL_TARGET_EXPORTS) \
25078 echo "Doing html in $(TARGET_SUBDIR)/newlib" ; \
25079 for flag in $(EXTRA_TARGET_FLAGS); do \
25080 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25081 done; \
25082 (cd $(TARGET_SUBDIR)/newlib && \
25083 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25084 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25085 "RANLIB=$${RANLIB}" \
25086 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25087 html) \
25088 || exit 1
25090 @endif target-newlib
25092 .PHONY: maybe-TAGS-target-newlib TAGS-target-newlib
25093 maybe-TAGS-target-newlib:
25094 @if target-newlib
25095 maybe-TAGS-target-newlib: TAGS-target-newlib
25097 TAGS-target-newlib: \
25098 configure-target-newlib
25099 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
25100 r=`${PWD_COMMAND}`; export r; \
25101 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25102 $(SET_LIB_PATH) \
25103 $(NORMAL_TARGET_EXPORTS) \
25104 echo "Doing TAGS in $(TARGET_SUBDIR)/newlib" ; \
25105 for flag in $(EXTRA_TARGET_FLAGS); do \
25106 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25107 done; \
25108 (cd $(TARGET_SUBDIR)/newlib && \
25109 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25110 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25111 "RANLIB=$${RANLIB}" \
25112 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25113 TAGS) \
25114 || exit 1
25116 @endif target-newlib
25118 .PHONY: maybe-install-info-target-newlib install-info-target-newlib
25119 maybe-install-info-target-newlib:
25120 @if target-newlib
25121 maybe-install-info-target-newlib: install-info-target-newlib
25123 install-info-target-newlib: \
25124 configure-target-newlib \
25125 info-target-newlib
25126 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
25127 r=`${PWD_COMMAND}`; export r; \
25128 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25129 $(SET_LIB_PATH) \
25130 $(NORMAL_TARGET_EXPORTS) \
25131 echo "Doing install-info in $(TARGET_SUBDIR)/newlib" ; \
25132 for flag in $(EXTRA_TARGET_FLAGS); do \
25133 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25134 done; \
25135 (cd $(TARGET_SUBDIR)/newlib && \
25136 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25137 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25138 "RANLIB=$${RANLIB}" \
25139 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25140 install-info) \
25141 || exit 1
25143 @endif target-newlib
25145 .PHONY: maybe-installcheck-target-newlib installcheck-target-newlib
25146 maybe-installcheck-target-newlib:
25147 @if target-newlib
25148 maybe-installcheck-target-newlib: installcheck-target-newlib
25150 installcheck-target-newlib: \
25151 configure-target-newlib
25152 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
25153 r=`${PWD_COMMAND}`; export r; \
25154 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25155 $(SET_LIB_PATH) \
25156 $(NORMAL_TARGET_EXPORTS) \
25157 echo "Doing installcheck in $(TARGET_SUBDIR)/newlib" ; \
25158 for flag in $(EXTRA_TARGET_FLAGS); do \
25159 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25160 done; \
25161 (cd $(TARGET_SUBDIR)/newlib && \
25162 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25163 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25164 "RANLIB=$${RANLIB}" \
25165 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25166 installcheck) \
25167 || exit 1
25169 @endif target-newlib
25171 .PHONY: maybe-mostlyclean-target-newlib mostlyclean-target-newlib
25172 maybe-mostlyclean-target-newlib:
25173 @if target-newlib
25174 maybe-mostlyclean-target-newlib: mostlyclean-target-newlib
25176 mostlyclean-target-newlib:
25177 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
25178 r=`${PWD_COMMAND}`; export r; \
25179 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25180 $(SET_LIB_PATH) \
25181 $(NORMAL_TARGET_EXPORTS) \
25182 echo "Doing mostlyclean in $(TARGET_SUBDIR)/newlib" ; \
25183 for flag in $(EXTRA_TARGET_FLAGS); do \
25184 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25185 done; \
25186 (cd $(TARGET_SUBDIR)/newlib && \
25187 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25188 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25189 "RANLIB=$${RANLIB}" \
25190 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25191 mostlyclean) \
25192 || exit 1
25194 @endif target-newlib
25196 .PHONY: maybe-clean-target-newlib clean-target-newlib
25197 maybe-clean-target-newlib:
25198 @if target-newlib
25199 maybe-clean-target-newlib: clean-target-newlib
25201 clean-target-newlib:
25202 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
25203 r=`${PWD_COMMAND}`; export r; \
25204 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25205 $(SET_LIB_PATH) \
25206 $(NORMAL_TARGET_EXPORTS) \
25207 echo "Doing clean in $(TARGET_SUBDIR)/newlib" ; \
25208 for flag in $(EXTRA_TARGET_FLAGS); do \
25209 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25210 done; \
25211 (cd $(TARGET_SUBDIR)/newlib && \
25212 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25213 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25214 "RANLIB=$${RANLIB}" \
25215 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25216 clean) \
25217 || exit 1
25219 @endif target-newlib
25221 .PHONY: maybe-distclean-target-newlib distclean-target-newlib
25222 maybe-distclean-target-newlib:
25223 @if target-newlib
25224 maybe-distclean-target-newlib: distclean-target-newlib
25226 distclean-target-newlib:
25227 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
25228 r=`${PWD_COMMAND}`; export r; \
25229 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25230 $(SET_LIB_PATH) \
25231 $(NORMAL_TARGET_EXPORTS) \
25232 echo "Doing distclean in $(TARGET_SUBDIR)/newlib" ; \
25233 for flag in $(EXTRA_TARGET_FLAGS); do \
25234 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25235 done; \
25236 (cd $(TARGET_SUBDIR)/newlib && \
25237 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25238 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25239 "RANLIB=$${RANLIB}" \
25240 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25241 distclean) \
25242 || exit 1
25244 @endif target-newlib
25246 .PHONY: maybe-maintainer-clean-target-newlib maintainer-clean-target-newlib
25247 maybe-maintainer-clean-target-newlib:
25248 @if target-newlib
25249 maybe-maintainer-clean-target-newlib: maintainer-clean-target-newlib
25251 maintainer-clean-target-newlib:
25252 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
25253 r=`${PWD_COMMAND}`; export r; \
25254 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25255 $(SET_LIB_PATH) \
25256 $(NORMAL_TARGET_EXPORTS) \
25257 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/newlib" ; \
25258 for flag in $(EXTRA_TARGET_FLAGS); do \
25259 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25260 done; \
25261 (cd $(TARGET_SUBDIR)/newlib && \
25262 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25263 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25264 "RANLIB=$${RANLIB}" \
25265 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25266 maintainer-clean) \
25267 || exit 1
25269 @endif target-newlib
25272 .PHONY: configure-target-libgfortran maybe-configure-target-libgfortran
25273 maybe-configure-target-libgfortran:
25274 @if target-libgfortran
25275 maybe-configure-target-libgfortran: configure-target-libgfortran
25277 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
25278 $(TARGET_SUBDIR)/libgfortran/multilib.out: multilib.out
25279 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgfortran ; \
25280 rm -f $(TARGET_SUBDIR)/libgfortran/Makefile || : ; \
25281 cp multilib.out $(TARGET_SUBDIR)/libgfortran/multilib.out
25283 configure-target-libgfortran: $(TARGET_SUBDIR)/libgfortran/multilib.out
25284 @test ! -f $(TARGET_SUBDIR)/libgfortran/Makefile || exit 0; \
25285 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgfortran ; \
25286 r=`${PWD_COMMAND}`; export r; \
25287 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25288 $(SET_LIB_PATH) \
25289 $(NORMAL_TARGET_EXPORTS) \
25290 echo Configuring in $(TARGET_SUBDIR)/libgfortran; \
25291 cd "$(TARGET_SUBDIR)/libgfortran" || exit 1; \
25292 case $(srcdir) in \
25293 /* | [A-Za-z]:[\\/]*) \
25294 topdir=$(srcdir) ;; \
25295 *) \
25296 case "$(TARGET_SUBDIR)" in \
25297 .) topdir="../$(srcdir)" ;; \
25298 *) topdir="../../$(srcdir)" ;; \
25299 esac ;; \
25300 esac; \
25301 srcdiroption="--srcdir=$${topdir}/libgfortran"; \
25302 libsrcdir="$$s/libgfortran"; \
25303 rm -f no-such-file || : ; \
25304 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
25305 $(TARGET_CONFIGARGS) $${srcdiroption} \
25306 --with-target-subdir="$(TARGET_SUBDIR)" \
25307 || exit 1
25308 @endif target-libgfortran
25310 .PHONY: all-target-libgfortran maybe-all-target-libgfortran
25311 maybe-all-target-libgfortran:
25312 @if target-libgfortran
25313 TARGET-target-libgfortran=all
25314 maybe-all-target-libgfortran: all-target-libgfortran
25315 all-target-libgfortran: configure-target-libgfortran
25316 @r=`${PWD_COMMAND}`; export r; \
25317 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25318 $(SET_LIB_PATH) \
25319 $(NORMAL_TARGET_EXPORTS) \
25320 (cd $(TARGET_SUBDIR)/libgfortran && \
25321 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libgfortran))
25322 @endif target-libgfortran
25324 .PHONY: check-target-libgfortran maybe-check-target-libgfortran
25325 maybe-check-target-libgfortran:
25326 @if target-libgfortran
25327 maybe-check-target-libgfortran: check-target-libgfortran
25329 check-target-libgfortran:
25330 @r=`${PWD_COMMAND}`; export r; \
25331 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25332 $(SET_LIB_PATH) \
25333 $(NORMAL_TARGET_EXPORTS) \
25334 (cd $(TARGET_SUBDIR)/libgfortran && \
25335 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
25337 @endif target-libgfortran
25339 .PHONY: install-target-libgfortran maybe-install-target-libgfortran
25340 maybe-install-target-libgfortran:
25341 @if target-libgfortran
25342 maybe-install-target-libgfortran: install-target-libgfortran
25344 install-target-libgfortran: installdirs
25345 @r=`${PWD_COMMAND}`; export r; \
25346 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25347 $(SET_LIB_PATH) \
25348 $(NORMAL_TARGET_EXPORTS) \
25349 (cd $(TARGET_SUBDIR)/libgfortran && \
25350 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
25352 @endif target-libgfortran
25354 # Other targets (info, dvi, etc.)
25356 .PHONY: maybe-info-target-libgfortran info-target-libgfortran
25357 maybe-info-target-libgfortran:
25358 @if target-libgfortran
25359 maybe-info-target-libgfortran: info-target-libgfortran
25361 info-target-libgfortran: \
25362 configure-target-libgfortran
25363 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
25364 r=`${PWD_COMMAND}`; export r; \
25365 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25366 $(SET_LIB_PATH) \
25367 $(NORMAL_TARGET_EXPORTS) \
25368 echo "Doing info in $(TARGET_SUBDIR)/libgfortran" ; \
25369 for flag in $(EXTRA_TARGET_FLAGS); do \
25370 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25371 done; \
25372 (cd $(TARGET_SUBDIR)/libgfortran && \
25373 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25374 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25375 "RANLIB=$${RANLIB}" \
25376 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25377 info) \
25378 || exit 1
25380 @endif target-libgfortran
25382 .PHONY: maybe-dvi-target-libgfortran dvi-target-libgfortran
25383 maybe-dvi-target-libgfortran:
25384 @if target-libgfortran
25385 maybe-dvi-target-libgfortran: dvi-target-libgfortran
25387 dvi-target-libgfortran: \
25388 configure-target-libgfortran
25389 @[ -f $(TARGET_SUBDIR)/libgfortran/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 dvi in $(TARGET_SUBDIR)/libgfortran" ; \
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)/libgfortran && \
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 dvi) \
25404 || exit 1
25406 @endif target-libgfortran
25408 .PHONY: maybe-html-target-libgfortran html-target-libgfortran
25409 maybe-html-target-libgfortran:
25410 @if target-libgfortran
25411 maybe-html-target-libgfortran: html-target-libgfortran
25413 html-target-libgfortran: \
25414 configure-target-libgfortran
25415 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
25416 r=`${PWD_COMMAND}`; export r; \
25417 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25418 $(SET_LIB_PATH) \
25419 $(NORMAL_TARGET_EXPORTS) \
25420 echo "Doing html in $(TARGET_SUBDIR)/libgfortran" ; \
25421 for flag in $(EXTRA_TARGET_FLAGS); do \
25422 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25423 done; \
25424 (cd $(TARGET_SUBDIR)/libgfortran && \
25425 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25426 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25427 "RANLIB=$${RANLIB}" \
25428 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25429 html) \
25430 || exit 1
25432 @endif target-libgfortran
25434 .PHONY: maybe-TAGS-target-libgfortran TAGS-target-libgfortran
25435 maybe-TAGS-target-libgfortran:
25436 @if target-libgfortran
25437 maybe-TAGS-target-libgfortran: TAGS-target-libgfortran
25439 TAGS-target-libgfortran: \
25440 configure-target-libgfortran
25441 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
25442 r=`${PWD_COMMAND}`; export r; \
25443 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25444 $(SET_LIB_PATH) \
25445 $(NORMAL_TARGET_EXPORTS) \
25446 echo "Doing TAGS in $(TARGET_SUBDIR)/libgfortran" ; \
25447 for flag in $(EXTRA_TARGET_FLAGS); do \
25448 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25449 done; \
25450 (cd $(TARGET_SUBDIR)/libgfortran && \
25451 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25452 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25453 "RANLIB=$${RANLIB}" \
25454 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25455 TAGS) \
25456 || exit 1
25458 @endif target-libgfortran
25460 .PHONY: maybe-install-info-target-libgfortran install-info-target-libgfortran
25461 maybe-install-info-target-libgfortran:
25462 @if target-libgfortran
25463 maybe-install-info-target-libgfortran: install-info-target-libgfortran
25465 install-info-target-libgfortran: \
25466 configure-target-libgfortran \
25467 info-target-libgfortran
25468 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
25469 r=`${PWD_COMMAND}`; export r; \
25470 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25471 $(SET_LIB_PATH) \
25472 $(NORMAL_TARGET_EXPORTS) \
25473 echo "Doing install-info in $(TARGET_SUBDIR)/libgfortran" ; \
25474 for flag in $(EXTRA_TARGET_FLAGS); do \
25475 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25476 done; \
25477 (cd $(TARGET_SUBDIR)/libgfortran && \
25478 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25479 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25480 "RANLIB=$${RANLIB}" \
25481 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25482 install-info) \
25483 || exit 1
25485 @endif target-libgfortran
25487 .PHONY: maybe-installcheck-target-libgfortran installcheck-target-libgfortran
25488 maybe-installcheck-target-libgfortran:
25489 @if target-libgfortran
25490 maybe-installcheck-target-libgfortran: installcheck-target-libgfortran
25492 installcheck-target-libgfortran: \
25493 configure-target-libgfortran
25494 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
25495 r=`${PWD_COMMAND}`; export r; \
25496 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25497 $(SET_LIB_PATH) \
25498 $(NORMAL_TARGET_EXPORTS) \
25499 echo "Doing installcheck in $(TARGET_SUBDIR)/libgfortran" ; \
25500 for flag in $(EXTRA_TARGET_FLAGS); do \
25501 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25502 done; \
25503 (cd $(TARGET_SUBDIR)/libgfortran && \
25504 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25505 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25506 "RANLIB=$${RANLIB}" \
25507 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25508 installcheck) \
25509 || exit 1
25511 @endif target-libgfortran
25513 .PHONY: maybe-mostlyclean-target-libgfortran mostlyclean-target-libgfortran
25514 maybe-mostlyclean-target-libgfortran:
25515 @if target-libgfortran
25516 maybe-mostlyclean-target-libgfortran: mostlyclean-target-libgfortran
25518 mostlyclean-target-libgfortran:
25519 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
25520 r=`${PWD_COMMAND}`; export r; \
25521 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25522 $(SET_LIB_PATH) \
25523 $(NORMAL_TARGET_EXPORTS) \
25524 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgfortran" ; \
25525 for flag in $(EXTRA_TARGET_FLAGS); do \
25526 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25527 done; \
25528 (cd $(TARGET_SUBDIR)/libgfortran && \
25529 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25530 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25531 "RANLIB=$${RANLIB}" \
25532 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25533 mostlyclean) \
25534 || exit 1
25536 @endif target-libgfortran
25538 .PHONY: maybe-clean-target-libgfortran clean-target-libgfortran
25539 maybe-clean-target-libgfortran:
25540 @if target-libgfortran
25541 maybe-clean-target-libgfortran: clean-target-libgfortran
25543 clean-target-libgfortran:
25544 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
25545 r=`${PWD_COMMAND}`; export r; \
25546 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25547 $(SET_LIB_PATH) \
25548 $(NORMAL_TARGET_EXPORTS) \
25549 echo "Doing clean in $(TARGET_SUBDIR)/libgfortran" ; \
25550 for flag in $(EXTRA_TARGET_FLAGS); do \
25551 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25552 done; \
25553 (cd $(TARGET_SUBDIR)/libgfortran && \
25554 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25555 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25556 "RANLIB=$${RANLIB}" \
25557 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25558 clean) \
25559 || exit 1
25561 @endif target-libgfortran
25563 .PHONY: maybe-distclean-target-libgfortran distclean-target-libgfortran
25564 maybe-distclean-target-libgfortran:
25565 @if target-libgfortran
25566 maybe-distclean-target-libgfortran: distclean-target-libgfortran
25568 distclean-target-libgfortran:
25569 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
25570 r=`${PWD_COMMAND}`; export r; \
25571 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25572 $(SET_LIB_PATH) \
25573 $(NORMAL_TARGET_EXPORTS) \
25574 echo "Doing distclean in $(TARGET_SUBDIR)/libgfortran" ; \
25575 for flag in $(EXTRA_TARGET_FLAGS); do \
25576 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25577 done; \
25578 (cd $(TARGET_SUBDIR)/libgfortran && \
25579 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25580 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25581 "RANLIB=$${RANLIB}" \
25582 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25583 distclean) \
25584 || exit 1
25586 @endif target-libgfortran
25588 .PHONY: maybe-maintainer-clean-target-libgfortran maintainer-clean-target-libgfortran
25589 maybe-maintainer-clean-target-libgfortran:
25590 @if target-libgfortran
25591 maybe-maintainer-clean-target-libgfortran: maintainer-clean-target-libgfortran
25593 maintainer-clean-target-libgfortran:
25594 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
25595 r=`${PWD_COMMAND}`; export r; \
25596 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25597 $(SET_LIB_PATH) \
25598 $(NORMAL_TARGET_EXPORTS) \
25599 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgfortran" ; \
25600 for flag in $(EXTRA_TARGET_FLAGS); do \
25601 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25602 done; \
25603 (cd $(TARGET_SUBDIR)/libgfortran && \
25604 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25605 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25606 "RANLIB=$${RANLIB}" \
25607 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25608 maintainer-clean) \
25609 || exit 1
25611 @endif target-libgfortran
25614 .PHONY: configure-target-libobjc maybe-configure-target-libobjc
25615 maybe-configure-target-libobjc:
25616 @if target-libobjc
25617 maybe-configure-target-libobjc: configure-target-libobjc
25619 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
25620 $(TARGET_SUBDIR)/libobjc/multilib.out: multilib.out
25621 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libobjc ; \
25622 rm -f $(TARGET_SUBDIR)/libobjc/Makefile || : ; \
25623 cp multilib.out $(TARGET_SUBDIR)/libobjc/multilib.out
25625 configure-target-libobjc: $(TARGET_SUBDIR)/libobjc/multilib.out
25626 @test ! -f $(TARGET_SUBDIR)/libobjc/Makefile || exit 0; \
25627 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libobjc ; \
25628 r=`${PWD_COMMAND}`; export r; \
25629 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25630 $(SET_LIB_PATH) \
25631 $(NORMAL_TARGET_EXPORTS) \
25632 echo Configuring in $(TARGET_SUBDIR)/libobjc; \
25633 cd "$(TARGET_SUBDIR)/libobjc" || exit 1; \
25634 case $(srcdir) in \
25635 /* | [A-Za-z]:[\\/]*) \
25636 topdir=$(srcdir) ;; \
25637 *) \
25638 case "$(TARGET_SUBDIR)" in \
25639 .) topdir="../$(srcdir)" ;; \
25640 *) topdir="../../$(srcdir)" ;; \
25641 esac ;; \
25642 esac; \
25643 srcdiroption="--srcdir=$${topdir}/libobjc"; \
25644 libsrcdir="$$s/libobjc"; \
25645 rm -f no-such-file || : ; \
25646 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
25647 $(TARGET_CONFIGARGS) $${srcdiroption} \
25648 --with-target-subdir="$(TARGET_SUBDIR)" \
25649 || exit 1
25650 @endif target-libobjc
25652 .PHONY: all-target-libobjc maybe-all-target-libobjc
25653 maybe-all-target-libobjc:
25654 @if target-libobjc
25655 TARGET-target-libobjc=all
25656 maybe-all-target-libobjc: all-target-libobjc
25657 all-target-libobjc: configure-target-libobjc
25658 @r=`${PWD_COMMAND}`; export r; \
25659 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25660 $(SET_LIB_PATH) \
25661 $(NORMAL_TARGET_EXPORTS) \
25662 (cd $(TARGET_SUBDIR)/libobjc && \
25663 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libobjc))
25664 @endif target-libobjc
25666 .PHONY: check-target-libobjc maybe-check-target-libobjc
25667 maybe-check-target-libobjc:
25668 @if target-libobjc
25669 maybe-check-target-libobjc: check-target-libobjc
25671 check-target-libobjc:
25672 @r=`${PWD_COMMAND}`; export r; \
25673 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25674 $(SET_LIB_PATH) \
25675 $(NORMAL_TARGET_EXPORTS) \
25676 (cd $(TARGET_SUBDIR)/libobjc && \
25677 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
25679 @endif target-libobjc
25681 .PHONY: install-target-libobjc maybe-install-target-libobjc
25682 maybe-install-target-libobjc:
25683 @if target-libobjc
25684 maybe-install-target-libobjc: install-target-libobjc
25686 install-target-libobjc: installdirs
25687 @r=`${PWD_COMMAND}`; export r; \
25688 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25689 $(SET_LIB_PATH) \
25690 $(NORMAL_TARGET_EXPORTS) \
25691 (cd $(TARGET_SUBDIR)/libobjc && \
25692 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
25694 @endif target-libobjc
25696 # Other targets (info, dvi, etc.)
25698 .PHONY: maybe-info-target-libobjc info-target-libobjc
25699 maybe-info-target-libobjc:
25700 @if target-libobjc
25701 maybe-info-target-libobjc: info-target-libobjc
25703 info-target-libobjc: \
25704 configure-target-libobjc
25705 @[ -f $(TARGET_SUBDIR)/libobjc/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 info in $(TARGET_SUBDIR)/libobjc" ; \
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)/libobjc && \
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 info) \
25720 || exit 1
25722 @endif target-libobjc
25724 .PHONY: maybe-dvi-target-libobjc dvi-target-libobjc
25725 maybe-dvi-target-libobjc:
25726 @if target-libobjc
25727 maybe-dvi-target-libobjc: dvi-target-libobjc
25729 dvi-target-libobjc: \
25730 configure-target-libobjc
25731 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
25732 r=`${PWD_COMMAND}`; export r; \
25733 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25734 $(SET_LIB_PATH) \
25735 $(NORMAL_TARGET_EXPORTS) \
25736 echo "Doing dvi in $(TARGET_SUBDIR)/libobjc" ; \
25737 for flag in $(EXTRA_TARGET_FLAGS); do \
25738 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25739 done; \
25740 (cd $(TARGET_SUBDIR)/libobjc && \
25741 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25742 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25743 "RANLIB=$${RANLIB}" \
25744 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25745 dvi) \
25746 || exit 1
25748 @endif target-libobjc
25750 .PHONY: maybe-html-target-libobjc html-target-libobjc
25751 maybe-html-target-libobjc:
25752 @if target-libobjc
25753 maybe-html-target-libobjc: html-target-libobjc
25755 html-target-libobjc: \
25756 configure-target-libobjc
25757 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
25758 r=`${PWD_COMMAND}`; export r; \
25759 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25760 $(SET_LIB_PATH) \
25761 $(NORMAL_TARGET_EXPORTS) \
25762 echo "Doing html in $(TARGET_SUBDIR)/libobjc" ; \
25763 for flag in $(EXTRA_TARGET_FLAGS); do \
25764 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25765 done; \
25766 (cd $(TARGET_SUBDIR)/libobjc && \
25767 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25768 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25769 "RANLIB=$${RANLIB}" \
25770 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25771 html) \
25772 || exit 1
25774 @endif target-libobjc
25776 .PHONY: maybe-TAGS-target-libobjc TAGS-target-libobjc
25777 maybe-TAGS-target-libobjc:
25778 @if target-libobjc
25779 maybe-TAGS-target-libobjc: TAGS-target-libobjc
25781 TAGS-target-libobjc: \
25782 configure-target-libobjc
25783 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
25784 r=`${PWD_COMMAND}`; export r; \
25785 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25786 $(SET_LIB_PATH) \
25787 $(NORMAL_TARGET_EXPORTS) \
25788 echo "Doing TAGS in $(TARGET_SUBDIR)/libobjc" ; \
25789 for flag in $(EXTRA_TARGET_FLAGS); do \
25790 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25791 done; \
25792 (cd $(TARGET_SUBDIR)/libobjc && \
25793 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25794 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25795 "RANLIB=$${RANLIB}" \
25796 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25797 TAGS) \
25798 || exit 1
25800 @endif target-libobjc
25802 .PHONY: maybe-install-info-target-libobjc install-info-target-libobjc
25803 maybe-install-info-target-libobjc:
25804 @if target-libobjc
25805 maybe-install-info-target-libobjc: install-info-target-libobjc
25807 install-info-target-libobjc: \
25808 configure-target-libobjc \
25809 info-target-libobjc
25810 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
25811 r=`${PWD_COMMAND}`; export r; \
25812 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25813 $(SET_LIB_PATH) \
25814 $(NORMAL_TARGET_EXPORTS) \
25815 echo "Doing install-info in $(TARGET_SUBDIR)/libobjc" ; \
25816 for flag in $(EXTRA_TARGET_FLAGS); do \
25817 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25818 done; \
25819 (cd $(TARGET_SUBDIR)/libobjc && \
25820 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25821 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25822 "RANLIB=$${RANLIB}" \
25823 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25824 install-info) \
25825 || exit 1
25827 @endif target-libobjc
25829 .PHONY: maybe-installcheck-target-libobjc installcheck-target-libobjc
25830 maybe-installcheck-target-libobjc:
25831 @if target-libobjc
25832 maybe-installcheck-target-libobjc: installcheck-target-libobjc
25834 installcheck-target-libobjc: \
25835 configure-target-libobjc
25836 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
25837 r=`${PWD_COMMAND}`; export r; \
25838 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25839 $(SET_LIB_PATH) \
25840 $(NORMAL_TARGET_EXPORTS) \
25841 echo "Doing installcheck in $(TARGET_SUBDIR)/libobjc" ; \
25842 for flag in $(EXTRA_TARGET_FLAGS); do \
25843 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25844 done; \
25845 (cd $(TARGET_SUBDIR)/libobjc && \
25846 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25847 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25848 "RANLIB=$${RANLIB}" \
25849 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25850 installcheck) \
25851 || exit 1
25853 @endif target-libobjc
25855 .PHONY: maybe-mostlyclean-target-libobjc mostlyclean-target-libobjc
25856 maybe-mostlyclean-target-libobjc:
25857 @if target-libobjc
25858 maybe-mostlyclean-target-libobjc: mostlyclean-target-libobjc
25860 mostlyclean-target-libobjc:
25861 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
25862 r=`${PWD_COMMAND}`; export r; \
25863 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25864 $(SET_LIB_PATH) \
25865 $(NORMAL_TARGET_EXPORTS) \
25866 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libobjc" ; \
25867 for flag in $(EXTRA_TARGET_FLAGS); do \
25868 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25869 done; \
25870 (cd $(TARGET_SUBDIR)/libobjc && \
25871 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25872 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25873 "RANLIB=$${RANLIB}" \
25874 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25875 mostlyclean) \
25876 || exit 1
25878 @endif target-libobjc
25880 .PHONY: maybe-clean-target-libobjc clean-target-libobjc
25881 maybe-clean-target-libobjc:
25882 @if target-libobjc
25883 maybe-clean-target-libobjc: clean-target-libobjc
25885 clean-target-libobjc:
25886 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
25887 r=`${PWD_COMMAND}`; export r; \
25888 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25889 $(SET_LIB_PATH) \
25890 $(NORMAL_TARGET_EXPORTS) \
25891 echo "Doing clean in $(TARGET_SUBDIR)/libobjc" ; \
25892 for flag in $(EXTRA_TARGET_FLAGS); do \
25893 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25894 done; \
25895 (cd $(TARGET_SUBDIR)/libobjc && \
25896 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25897 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25898 "RANLIB=$${RANLIB}" \
25899 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25900 clean) \
25901 || exit 1
25903 @endif target-libobjc
25905 .PHONY: maybe-distclean-target-libobjc distclean-target-libobjc
25906 maybe-distclean-target-libobjc:
25907 @if target-libobjc
25908 maybe-distclean-target-libobjc: distclean-target-libobjc
25910 distclean-target-libobjc:
25911 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
25912 r=`${PWD_COMMAND}`; export r; \
25913 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25914 $(SET_LIB_PATH) \
25915 $(NORMAL_TARGET_EXPORTS) \
25916 echo "Doing distclean in $(TARGET_SUBDIR)/libobjc" ; \
25917 for flag in $(EXTRA_TARGET_FLAGS); do \
25918 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25919 done; \
25920 (cd $(TARGET_SUBDIR)/libobjc && \
25921 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25922 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25923 "RANLIB=$${RANLIB}" \
25924 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25925 distclean) \
25926 || exit 1
25928 @endif target-libobjc
25930 .PHONY: maybe-maintainer-clean-target-libobjc maintainer-clean-target-libobjc
25931 maybe-maintainer-clean-target-libobjc:
25932 @if target-libobjc
25933 maybe-maintainer-clean-target-libobjc: maintainer-clean-target-libobjc
25935 maintainer-clean-target-libobjc:
25936 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
25937 r=`${PWD_COMMAND}`; export r; \
25938 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25939 $(SET_LIB_PATH) \
25940 $(NORMAL_TARGET_EXPORTS) \
25941 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libobjc" ; \
25942 for flag in $(EXTRA_TARGET_FLAGS); do \
25943 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25944 done; \
25945 (cd $(TARGET_SUBDIR)/libobjc && \
25946 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25947 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25948 "RANLIB=$${RANLIB}" \
25949 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25950 maintainer-clean) \
25951 || exit 1
25953 @endif target-libobjc
25956 .PHONY: configure-target-libtermcap maybe-configure-target-libtermcap
25957 maybe-configure-target-libtermcap:
25958 @if target-libtermcap
25959 maybe-configure-target-libtermcap: configure-target-libtermcap
25961 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
25962 $(TARGET_SUBDIR)/libtermcap/multilib.out: multilib.out
25963 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libtermcap ; \
25964 rm -f $(TARGET_SUBDIR)/libtermcap/Makefile || : ; \
25965 cp multilib.out $(TARGET_SUBDIR)/libtermcap/multilib.out
25967 configure-target-libtermcap: $(TARGET_SUBDIR)/libtermcap/multilib.out
25968 @test ! -f $(TARGET_SUBDIR)/libtermcap/Makefile || exit 0; \
25969 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libtermcap ; \
25970 r=`${PWD_COMMAND}`; export r; \
25971 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25972 $(SET_LIB_PATH) \
25973 $(NORMAL_TARGET_EXPORTS) \
25974 echo Configuring in $(TARGET_SUBDIR)/libtermcap; \
25975 cd "$(TARGET_SUBDIR)/libtermcap" || exit 1; \
25976 case $(srcdir) in \
25977 /* | [A-Za-z]:[\\/]*) \
25978 topdir=$(srcdir) ;; \
25979 *) \
25980 case "$(TARGET_SUBDIR)" in \
25981 .) topdir="../$(srcdir)" ;; \
25982 *) topdir="../../$(srcdir)" ;; \
25983 esac ;; \
25984 esac; \
25985 if [ "$(srcdir)" = "." ] ; then \
25986 if [ "$(TARGET_SUBDIR)" != "." ] ; then \
25987 if $(SHELL) $$s/symlink-tree $${topdir}/libtermcap "no-such-file" ; then \
25988 if [ -f Makefile ]; then \
25989 if $(MAKE) distclean; then \
25990 true; \
25991 else \
25992 exit 1; \
25993 fi; \
25994 else \
25995 true; \
25996 fi; \
25997 else \
25998 exit 1; \
25999 fi; \
26000 else \
26001 true; \
26002 fi; \
26003 srcdiroption="--srcdir=."; \
26004 libsrcdir="."; \
26005 else \
26006 srcdiroption="--srcdir=$${topdir}/libtermcap"; \
26007 libsrcdir="$$s/libtermcap"; \
26008 fi; \
26009 rm -f no-such-file || : ; \
26010 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
26011 $(TARGET_CONFIGARGS) $${srcdiroption} \
26012 --with-target-subdir="$(TARGET_SUBDIR)" \
26013 || exit 1
26014 @endif target-libtermcap
26016 .PHONY: all-target-libtermcap maybe-all-target-libtermcap
26017 maybe-all-target-libtermcap:
26018 @if target-libtermcap
26019 TARGET-target-libtermcap=all
26020 maybe-all-target-libtermcap: all-target-libtermcap
26021 all-target-libtermcap: configure-target-libtermcap
26022 @r=`${PWD_COMMAND}`; export r; \
26023 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26024 $(SET_LIB_PATH) \
26025 $(NORMAL_TARGET_EXPORTS) \
26026 (cd $(TARGET_SUBDIR)/libtermcap && \
26027 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libtermcap))
26028 @endif target-libtermcap
26030 .PHONY: check-target-libtermcap maybe-check-target-libtermcap
26031 maybe-check-target-libtermcap:
26032 @if target-libtermcap
26033 maybe-check-target-libtermcap: check-target-libtermcap
26035 # Dummy target for uncheckable module.
26036 check-target-libtermcap:
26038 @endif target-libtermcap
26040 .PHONY: install-target-libtermcap maybe-install-target-libtermcap
26041 maybe-install-target-libtermcap:
26042 @if target-libtermcap
26043 maybe-install-target-libtermcap: install-target-libtermcap
26045 install-target-libtermcap: installdirs
26046 @r=`${PWD_COMMAND}`; export r; \
26047 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26048 $(SET_LIB_PATH) \
26049 $(NORMAL_TARGET_EXPORTS) \
26050 (cd $(TARGET_SUBDIR)/libtermcap && \
26051 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
26053 @endif target-libtermcap
26055 # Other targets (info, dvi, etc.)
26057 .PHONY: maybe-info-target-libtermcap info-target-libtermcap
26058 maybe-info-target-libtermcap:
26059 @if target-libtermcap
26060 maybe-info-target-libtermcap: info-target-libtermcap
26062 info-target-libtermcap: \
26063 configure-target-libtermcap
26064 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
26065 r=`${PWD_COMMAND}`; export r; \
26066 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26067 $(SET_LIB_PATH) \
26068 $(NORMAL_TARGET_EXPORTS) \
26069 echo "Doing info in $(TARGET_SUBDIR)/libtermcap" ; \
26070 for flag in $(EXTRA_TARGET_FLAGS); do \
26071 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26072 done; \
26073 (cd $(TARGET_SUBDIR)/libtermcap && \
26074 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26075 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26076 "RANLIB=$${RANLIB}" \
26077 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26078 info) \
26079 || exit 1
26081 @endif target-libtermcap
26083 .PHONY: maybe-dvi-target-libtermcap dvi-target-libtermcap
26084 maybe-dvi-target-libtermcap:
26085 @if target-libtermcap
26086 maybe-dvi-target-libtermcap: dvi-target-libtermcap
26088 dvi-target-libtermcap: \
26089 configure-target-libtermcap
26090 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
26091 r=`${PWD_COMMAND}`; export r; \
26092 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26093 $(SET_LIB_PATH) \
26094 $(NORMAL_TARGET_EXPORTS) \
26095 echo "Doing dvi in $(TARGET_SUBDIR)/libtermcap" ; \
26096 for flag in $(EXTRA_TARGET_FLAGS); do \
26097 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26098 done; \
26099 (cd $(TARGET_SUBDIR)/libtermcap && \
26100 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26101 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26102 "RANLIB=$${RANLIB}" \
26103 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26104 dvi) \
26105 || exit 1
26107 @endif target-libtermcap
26109 .PHONY: maybe-html-target-libtermcap html-target-libtermcap
26110 maybe-html-target-libtermcap:
26111 @if target-libtermcap
26112 maybe-html-target-libtermcap: html-target-libtermcap
26114 html-target-libtermcap: \
26115 configure-target-libtermcap
26116 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
26117 r=`${PWD_COMMAND}`; export r; \
26118 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26119 $(SET_LIB_PATH) \
26120 $(NORMAL_TARGET_EXPORTS) \
26121 echo "Doing html in $(TARGET_SUBDIR)/libtermcap" ; \
26122 for flag in $(EXTRA_TARGET_FLAGS); do \
26123 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26124 done; \
26125 (cd $(TARGET_SUBDIR)/libtermcap && \
26126 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26127 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26128 "RANLIB=$${RANLIB}" \
26129 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26130 html) \
26131 || exit 1
26133 @endif target-libtermcap
26135 .PHONY: maybe-TAGS-target-libtermcap TAGS-target-libtermcap
26136 maybe-TAGS-target-libtermcap:
26137 @if target-libtermcap
26138 maybe-TAGS-target-libtermcap: TAGS-target-libtermcap
26140 TAGS-target-libtermcap: \
26141 configure-target-libtermcap
26142 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
26143 r=`${PWD_COMMAND}`; export r; \
26144 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26145 $(SET_LIB_PATH) \
26146 $(NORMAL_TARGET_EXPORTS) \
26147 echo "Doing TAGS in $(TARGET_SUBDIR)/libtermcap" ; \
26148 for flag in $(EXTRA_TARGET_FLAGS); do \
26149 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26150 done; \
26151 (cd $(TARGET_SUBDIR)/libtermcap && \
26152 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26153 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26154 "RANLIB=$${RANLIB}" \
26155 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26156 TAGS) \
26157 || exit 1
26159 @endif target-libtermcap
26161 .PHONY: maybe-install-info-target-libtermcap install-info-target-libtermcap
26162 maybe-install-info-target-libtermcap:
26163 @if target-libtermcap
26164 maybe-install-info-target-libtermcap: install-info-target-libtermcap
26166 install-info-target-libtermcap: \
26167 configure-target-libtermcap \
26168 info-target-libtermcap
26169 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
26170 r=`${PWD_COMMAND}`; export r; \
26171 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26172 $(SET_LIB_PATH) \
26173 $(NORMAL_TARGET_EXPORTS) \
26174 echo "Doing install-info in $(TARGET_SUBDIR)/libtermcap" ; \
26175 for flag in $(EXTRA_TARGET_FLAGS); do \
26176 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26177 done; \
26178 (cd $(TARGET_SUBDIR)/libtermcap && \
26179 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26180 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26181 "RANLIB=$${RANLIB}" \
26182 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26183 install-info) \
26184 || exit 1
26186 @endif target-libtermcap
26188 .PHONY: maybe-installcheck-target-libtermcap installcheck-target-libtermcap
26189 maybe-installcheck-target-libtermcap:
26190 @if target-libtermcap
26191 maybe-installcheck-target-libtermcap: installcheck-target-libtermcap
26193 installcheck-target-libtermcap: \
26194 configure-target-libtermcap
26195 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
26196 r=`${PWD_COMMAND}`; export r; \
26197 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26198 $(SET_LIB_PATH) \
26199 $(NORMAL_TARGET_EXPORTS) \
26200 echo "Doing installcheck in $(TARGET_SUBDIR)/libtermcap" ; \
26201 for flag in $(EXTRA_TARGET_FLAGS); do \
26202 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26203 done; \
26204 (cd $(TARGET_SUBDIR)/libtermcap && \
26205 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26206 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26207 "RANLIB=$${RANLIB}" \
26208 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26209 installcheck) \
26210 || exit 1
26212 @endif target-libtermcap
26214 .PHONY: maybe-mostlyclean-target-libtermcap mostlyclean-target-libtermcap
26215 maybe-mostlyclean-target-libtermcap:
26216 @if target-libtermcap
26217 maybe-mostlyclean-target-libtermcap: mostlyclean-target-libtermcap
26219 # libtermcap doesn't support mostlyclean.
26220 mostlyclean-target-libtermcap:
26222 @endif target-libtermcap
26224 .PHONY: maybe-clean-target-libtermcap clean-target-libtermcap
26225 maybe-clean-target-libtermcap:
26226 @if target-libtermcap
26227 maybe-clean-target-libtermcap: clean-target-libtermcap
26229 # libtermcap doesn't support clean.
26230 clean-target-libtermcap:
26232 @endif target-libtermcap
26234 .PHONY: maybe-distclean-target-libtermcap distclean-target-libtermcap
26235 maybe-distclean-target-libtermcap:
26236 @if target-libtermcap
26237 maybe-distclean-target-libtermcap: distclean-target-libtermcap
26239 # libtermcap doesn't support distclean.
26240 distclean-target-libtermcap:
26242 @endif target-libtermcap
26244 .PHONY: maybe-maintainer-clean-target-libtermcap maintainer-clean-target-libtermcap
26245 maybe-maintainer-clean-target-libtermcap:
26246 @if target-libtermcap
26247 maybe-maintainer-clean-target-libtermcap: maintainer-clean-target-libtermcap
26249 # libtermcap doesn't support maintainer-clean.
26250 maintainer-clean-target-libtermcap:
26252 @endif target-libtermcap
26255 .PHONY: configure-target-winsup maybe-configure-target-winsup
26256 maybe-configure-target-winsup:
26257 @if target-winsup
26258 maybe-configure-target-winsup: configure-target-winsup
26260 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
26261 $(TARGET_SUBDIR)/winsup/multilib.out: multilib.out
26262 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/winsup ; \
26263 rm -f $(TARGET_SUBDIR)/winsup/Makefile || : ; \
26264 cp multilib.out $(TARGET_SUBDIR)/winsup/multilib.out
26266 configure-target-winsup: $(TARGET_SUBDIR)/winsup/multilib.out
26267 @test ! -f $(TARGET_SUBDIR)/winsup/Makefile || exit 0; \
26268 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/winsup ; \
26269 r=`${PWD_COMMAND}`; export r; \
26270 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26271 $(SET_LIB_PATH) \
26272 $(NORMAL_TARGET_EXPORTS) \
26273 echo Configuring in $(TARGET_SUBDIR)/winsup; \
26274 cd "$(TARGET_SUBDIR)/winsup" || exit 1; \
26275 case $(srcdir) in \
26276 /* | [A-Za-z]:[\\/]*) \
26277 topdir=$(srcdir) ;; \
26278 *) \
26279 case "$(TARGET_SUBDIR)" in \
26280 .) topdir="../$(srcdir)" ;; \
26281 *) topdir="../../$(srcdir)" ;; \
26282 esac ;; \
26283 esac; \
26284 srcdiroption="--srcdir=$${topdir}/winsup"; \
26285 libsrcdir="$$s/winsup"; \
26286 rm -f no-such-file || : ; \
26287 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
26288 $(TARGET_CONFIGARGS) $${srcdiroption} \
26289 --with-target-subdir="$(TARGET_SUBDIR)" \
26290 || exit 1
26291 @endif target-winsup
26293 .PHONY: all-target-winsup maybe-all-target-winsup
26294 maybe-all-target-winsup:
26295 @if target-winsup
26296 TARGET-target-winsup=all
26297 maybe-all-target-winsup: all-target-winsup
26298 all-target-winsup: configure-target-winsup
26299 @r=`${PWD_COMMAND}`; export r; \
26300 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26301 $(SET_LIB_PATH) \
26302 $(NORMAL_TARGET_EXPORTS) \
26303 (cd $(TARGET_SUBDIR)/winsup && \
26304 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-winsup))
26305 @endif target-winsup
26307 .PHONY: check-target-winsup maybe-check-target-winsup
26308 maybe-check-target-winsup:
26309 @if target-winsup
26310 maybe-check-target-winsup: check-target-winsup
26312 check-target-winsup:
26313 @r=`${PWD_COMMAND}`; export r; \
26314 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26315 $(SET_LIB_PATH) \
26316 $(NORMAL_TARGET_EXPORTS) \
26317 (cd $(TARGET_SUBDIR)/winsup && \
26318 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
26320 @endif target-winsup
26322 .PHONY: install-target-winsup maybe-install-target-winsup
26323 maybe-install-target-winsup:
26324 @if target-winsup
26325 maybe-install-target-winsup: install-target-winsup
26327 install-target-winsup: installdirs
26328 @r=`${PWD_COMMAND}`; export r; \
26329 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26330 $(SET_LIB_PATH) \
26331 $(NORMAL_TARGET_EXPORTS) \
26332 (cd $(TARGET_SUBDIR)/winsup && \
26333 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
26335 @endif target-winsup
26337 # Other targets (info, dvi, etc.)
26339 .PHONY: maybe-info-target-winsup info-target-winsup
26340 maybe-info-target-winsup:
26341 @if target-winsup
26342 maybe-info-target-winsup: info-target-winsup
26344 info-target-winsup: \
26345 configure-target-winsup
26346 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
26347 r=`${PWD_COMMAND}`; export r; \
26348 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26349 $(SET_LIB_PATH) \
26350 $(NORMAL_TARGET_EXPORTS) \
26351 echo "Doing info in $(TARGET_SUBDIR)/winsup" ; \
26352 for flag in $(EXTRA_TARGET_FLAGS); do \
26353 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26354 done; \
26355 (cd $(TARGET_SUBDIR)/winsup && \
26356 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26357 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26358 "RANLIB=$${RANLIB}" \
26359 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26360 info) \
26361 || exit 1
26363 @endif target-winsup
26365 .PHONY: maybe-dvi-target-winsup dvi-target-winsup
26366 maybe-dvi-target-winsup:
26367 @if target-winsup
26368 maybe-dvi-target-winsup: dvi-target-winsup
26370 dvi-target-winsup: \
26371 configure-target-winsup
26372 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
26373 r=`${PWD_COMMAND}`; export r; \
26374 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26375 $(SET_LIB_PATH) \
26376 $(NORMAL_TARGET_EXPORTS) \
26377 echo "Doing dvi in $(TARGET_SUBDIR)/winsup" ; \
26378 for flag in $(EXTRA_TARGET_FLAGS); do \
26379 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26380 done; \
26381 (cd $(TARGET_SUBDIR)/winsup && \
26382 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26383 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26384 "RANLIB=$${RANLIB}" \
26385 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26386 dvi) \
26387 || exit 1
26389 @endif target-winsup
26391 .PHONY: maybe-html-target-winsup html-target-winsup
26392 maybe-html-target-winsup:
26393 @if target-winsup
26394 maybe-html-target-winsup: html-target-winsup
26396 html-target-winsup: \
26397 configure-target-winsup
26398 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
26399 r=`${PWD_COMMAND}`; export r; \
26400 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26401 $(SET_LIB_PATH) \
26402 $(NORMAL_TARGET_EXPORTS) \
26403 echo "Doing html in $(TARGET_SUBDIR)/winsup" ; \
26404 for flag in $(EXTRA_TARGET_FLAGS); do \
26405 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26406 done; \
26407 (cd $(TARGET_SUBDIR)/winsup && \
26408 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26409 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26410 "RANLIB=$${RANLIB}" \
26411 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26412 html) \
26413 || exit 1
26415 @endif target-winsup
26417 .PHONY: maybe-TAGS-target-winsup TAGS-target-winsup
26418 maybe-TAGS-target-winsup:
26419 @if target-winsup
26420 maybe-TAGS-target-winsup: TAGS-target-winsup
26422 TAGS-target-winsup: \
26423 configure-target-winsup
26424 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
26425 r=`${PWD_COMMAND}`; export r; \
26426 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26427 $(SET_LIB_PATH) \
26428 $(NORMAL_TARGET_EXPORTS) \
26429 echo "Doing TAGS in $(TARGET_SUBDIR)/winsup" ; \
26430 for flag in $(EXTRA_TARGET_FLAGS); do \
26431 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26432 done; \
26433 (cd $(TARGET_SUBDIR)/winsup && \
26434 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26435 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26436 "RANLIB=$${RANLIB}" \
26437 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26438 TAGS) \
26439 || exit 1
26441 @endif target-winsup
26443 .PHONY: maybe-install-info-target-winsup install-info-target-winsup
26444 maybe-install-info-target-winsup:
26445 @if target-winsup
26446 maybe-install-info-target-winsup: install-info-target-winsup
26448 install-info-target-winsup: \
26449 configure-target-winsup \
26450 info-target-winsup
26451 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
26452 r=`${PWD_COMMAND}`; export r; \
26453 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26454 $(SET_LIB_PATH) \
26455 $(NORMAL_TARGET_EXPORTS) \
26456 echo "Doing install-info in $(TARGET_SUBDIR)/winsup" ; \
26457 for flag in $(EXTRA_TARGET_FLAGS); do \
26458 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26459 done; \
26460 (cd $(TARGET_SUBDIR)/winsup && \
26461 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26462 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26463 "RANLIB=$${RANLIB}" \
26464 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26465 install-info) \
26466 || exit 1
26468 @endif target-winsup
26470 .PHONY: maybe-installcheck-target-winsup installcheck-target-winsup
26471 maybe-installcheck-target-winsup:
26472 @if target-winsup
26473 maybe-installcheck-target-winsup: installcheck-target-winsup
26475 installcheck-target-winsup: \
26476 configure-target-winsup
26477 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
26478 r=`${PWD_COMMAND}`; export r; \
26479 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26480 $(SET_LIB_PATH) \
26481 $(NORMAL_TARGET_EXPORTS) \
26482 echo "Doing installcheck in $(TARGET_SUBDIR)/winsup" ; \
26483 for flag in $(EXTRA_TARGET_FLAGS); do \
26484 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26485 done; \
26486 (cd $(TARGET_SUBDIR)/winsup && \
26487 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26488 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26489 "RANLIB=$${RANLIB}" \
26490 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26491 installcheck) \
26492 || exit 1
26494 @endif target-winsup
26496 .PHONY: maybe-mostlyclean-target-winsup mostlyclean-target-winsup
26497 maybe-mostlyclean-target-winsup:
26498 @if target-winsup
26499 maybe-mostlyclean-target-winsup: mostlyclean-target-winsup
26501 mostlyclean-target-winsup:
26502 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
26503 r=`${PWD_COMMAND}`; export r; \
26504 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26505 $(SET_LIB_PATH) \
26506 $(NORMAL_TARGET_EXPORTS) \
26507 echo "Doing mostlyclean in $(TARGET_SUBDIR)/winsup" ; \
26508 for flag in $(EXTRA_TARGET_FLAGS); do \
26509 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26510 done; \
26511 (cd $(TARGET_SUBDIR)/winsup && \
26512 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26513 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26514 "RANLIB=$${RANLIB}" \
26515 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26516 mostlyclean) \
26517 || exit 1
26519 @endif target-winsup
26521 .PHONY: maybe-clean-target-winsup clean-target-winsup
26522 maybe-clean-target-winsup:
26523 @if target-winsup
26524 maybe-clean-target-winsup: clean-target-winsup
26526 clean-target-winsup:
26527 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
26528 r=`${PWD_COMMAND}`; export r; \
26529 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26530 $(SET_LIB_PATH) \
26531 $(NORMAL_TARGET_EXPORTS) \
26532 echo "Doing clean in $(TARGET_SUBDIR)/winsup" ; \
26533 for flag in $(EXTRA_TARGET_FLAGS); do \
26534 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26535 done; \
26536 (cd $(TARGET_SUBDIR)/winsup && \
26537 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26538 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26539 "RANLIB=$${RANLIB}" \
26540 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26541 clean) \
26542 || exit 1
26544 @endif target-winsup
26546 .PHONY: maybe-distclean-target-winsup distclean-target-winsup
26547 maybe-distclean-target-winsup:
26548 @if target-winsup
26549 maybe-distclean-target-winsup: distclean-target-winsup
26551 distclean-target-winsup:
26552 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
26553 r=`${PWD_COMMAND}`; export r; \
26554 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26555 $(SET_LIB_PATH) \
26556 $(NORMAL_TARGET_EXPORTS) \
26557 echo "Doing distclean in $(TARGET_SUBDIR)/winsup" ; \
26558 for flag in $(EXTRA_TARGET_FLAGS); do \
26559 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26560 done; \
26561 (cd $(TARGET_SUBDIR)/winsup && \
26562 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26563 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26564 "RANLIB=$${RANLIB}" \
26565 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26566 distclean) \
26567 || exit 1
26569 @endif target-winsup
26571 .PHONY: maybe-maintainer-clean-target-winsup maintainer-clean-target-winsup
26572 maybe-maintainer-clean-target-winsup:
26573 @if target-winsup
26574 maybe-maintainer-clean-target-winsup: maintainer-clean-target-winsup
26576 maintainer-clean-target-winsup:
26577 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
26578 r=`${PWD_COMMAND}`; export r; \
26579 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26580 $(SET_LIB_PATH) \
26581 $(NORMAL_TARGET_EXPORTS) \
26582 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/winsup" ; \
26583 for flag in $(EXTRA_TARGET_FLAGS); do \
26584 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26585 done; \
26586 (cd $(TARGET_SUBDIR)/winsup && \
26587 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26588 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26589 "RANLIB=$${RANLIB}" \
26590 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26591 maintainer-clean) \
26592 || exit 1
26594 @endif target-winsup
26597 .PHONY: configure-target-libgloss maybe-configure-target-libgloss
26598 maybe-configure-target-libgloss:
26599 @if target-libgloss
26600 maybe-configure-target-libgloss: configure-target-libgloss
26602 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
26603 $(TARGET_SUBDIR)/libgloss/multilib.out: multilib.out
26604 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgloss ; \
26605 rm -f $(TARGET_SUBDIR)/libgloss/Makefile || : ; \
26606 cp multilib.out $(TARGET_SUBDIR)/libgloss/multilib.out
26608 configure-target-libgloss: $(TARGET_SUBDIR)/libgloss/multilib.out
26609 @test ! -f $(TARGET_SUBDIR)/libgloss/Makefile || exit 0; \
26610 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgloss ; \
26611 r=`${PWD_COMMAND}`; export r; \
26612 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26613 $(SET_LIB_PATH) \
26614 $(NORMAL_TARGET_EXPORTS) \
26615 echo Configuring in $(TARGET_SUBDIR)/libgloss; \
26616 cd "$(TARGET_SUBDIR)/libgloss" || exit 1; \
26617 case $(srcdir) in \
26618 /* | [A-Za-z]:[\\/]*) \
26619 topdir=$(srcdir) ;; \
26620 *) \
26621 case "$(TARGET_SUBDIR)" in \
26622 .) topdir="../$(srcdir)" ;; \
26623 *) topdir="../../$(srcdir)" ;; \
26624 esac ;; \
26625 esac; \
26626 srcdiroption="--srcdir=$${topdir}/libgloss"; \
26627 libsrcdir="$$s/libgloss"; \
26628 rm -f no-such-file || : ; \
26629 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
26630 $(TARGET_CONFIGARGS) $${srcdiroption} \
26631 --with-target-subdir="$(TARGET_SUBDIR)" \
26632 || exit 1
26633 @endif target-libgloss
26635 .PHONY: all-target-libgloss maybe-all-target-libgloss
26636 maybe-all-target-libgloss:
26637 @if target-libgloss
26638 TARGET-target-libgloss=all
26639 maybe-all-target-libgloss: all-target-libgloss
26640 all-target-libgloss: configure-target-libgloss
26641 @r=`${PWD_COMMAND}`; export r; \
26642 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26643 $(SET_LIB_PATH) \
26644 $(NORMAL_TARGET_EXPORTS) \
26645 (cd $(TARGET_SUBDIR)/libgloss && \
26646 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libgloss))
26647 @endif target-libgloss
26649 .PHONY: check-target-libgloss maybe-check-target-libgloss
26650 maybe-check-target-libgloss:
26651 @if target-libgloss
26652 maybe-check-target-libgloss: check-target-libgloss
26654 # Dummy target for uncheckable module.
26655 check-target-libgloss:
26657 @endif target-libgloss
26659 .PHONY: install-target-libgloss maybe-install-target-libgloss
26660 maybe-install-target-libgloss:
26661 @if target-libgloss
26662 maybe-install-target-libgloss: install-target-libgloss
26664 install-target-libgloss: installdirs
26665 @r=`${PWD_COMMAND}`; export r; \
26666 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26667 $(SET_LIB_PATH) \
26668 $(NORMAL_TARGET_EXPORTS) \
26669 (cd $(TARGET_SUBDIR)/libgloss && \
26670 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
26672 @endif target-libgloss
26674 # Other targets (info, dvi, etc.)
26676 .PHONY: maybe-info-target-libgloss info-target-libgloss
26677 maybe-info-target-libgloss:
26678 @if target-libgloss
26679 maybe-info-target-libgloss: info-target-libgloss
26681 info-target-libgloss: \
26682 configure-target-libgloss
26683 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
26684 r=`${PWD_COMMAND}`; export r; \
26685 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26686 $(SET_LIB_PATH) \
26687 $(NORMAL_TARGET_EXPORTS) \
26688 echo "Doing info in $(TARGET_SUBDIR)/libgloss" ; \
26689 for flag in $(EXTRA_TARGET_FLAGS); do \
26690 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26691 done; \
26692 (cd $(TARGET_SUBDIR)/libgloss && \
26693 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26694 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26695 "RANLIB=$${RANLIB}" \
26696 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26697 info) \
26698 || exit 1
26700 @endif target-libgloss
26702 .PHONY: maybe-dvi-target-libgloss dvi-target-libgloss
26703 maybe-dvi-target-libgloss:
26704 @if target-libgloss
26705 maybe-dvi-target-libgloss: dvi-target-libgloss
26707 dvi-target-libgloss: \
26708 configure-target-libgloss
26709 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
26710 r=`${PWD_COMMAND}`; export r; \
26711 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26712 $(SET_LIB_PATH) \
26713 $(NORMAL_TARGET_EXPORTS) \
26714 echo "Doing dvi in $(TARGET_SUBDIR)/libgloss" ; \
26715 for flag in $(EXTRA_TARGET_FLAGS); do \
26716 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26717 done; \
26718 (cd $(TARGET_SUBDIR)/libgloss && \
26719 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26720 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26721 "RANLIB=$${RANLIB}" \
26722 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26723 dvi) \
26724 || exit 1
26726 @endif target-libgloss
26728 .PHONY: maybe-html-target-libgloss html-target-libgloss
26729 maybe-html-target-libgloss:
26730 @if target-libgloss
26731 maybe-html-target-libgloss: html-target-libgloss
26733 html-target-libgloss: \
26734 configure-target-libgloss
26735 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
26736 r=`${PWD_COMMAND}`; export r; \
26737 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26738 $(SET_LIB_PATH) \
26739 $(NORMAL_TARGET_EXPORTS) \
26740 echo "Doing html in $(TARGET_SUBDIR)/libgloss" ; \
26741 for flag in $(EXTRA_TARGET_FLAGS); do \
26742 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26743 done; \
26744 (cd $(TARGET_SUBDIR)/libgloss && \
26745 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26746 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26747 "RANLIB=$${RANLIB}" \
26748 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26749 html) \
26750 || exit 1
26752 @endif target-libgloss
26754 .PHONY: maybe-TAGS-target-libgloss TAGS-target-libgloss
26755 maybe-TAGS-target-libgloss:
26756 @if target-libgloss
26757 maybe-TAGS-target-libgloss: TAGS-target-libgloss
26759 TAGS-target-libgloss: \
26760 configure-target-libgloss
26761 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
26762 r=`${PWD_COMMAND}`; export r; \
26763 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26764 $(SET_LIB_PATH) \
26765 $(NORMAL_TARGET_EXPORTS) \
26766 echo "Doing TAGS in $(TARGET_SUBDIR)/libgloss" ; \
26767 for flag in $(EXTRA_TARGET_FLAGS); do \
26768 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26769 done; \
26770 (cd $(TARGET_SUBDIR)/libgloss && \
26771 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26772 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26773 "RANLIB=$${RANLIB}" \
26774 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26775 TAGS) \
26776 || exit 1
26778 @endif target-libgloss
26780 .PHONY: maybe-install-info-target-libgloss install-info-target-libgloss
26781 maybe-install-info-target-libgloss:
26782 @if target-libgloss
26783 maybe-install-info-target-libgloss: install-info-target-libgloss
26785 install-info-target-libgloss: \
26786 configure-target-libgloss \
26787 info-target-libgloss
26788 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
26789 r=`${PWD_COMMAND}`; export r; \
26790 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26791 $(SET_LIB_PATH) \
26792 $(NORMAL_TARGET_EXPORTS) \
26793 echo "Doing install-info in $(TARGET_SUBDIR)/libgloss" ; \
26794 for flag in $(EXTRA_TARGET_FLAGS); do \
26795 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26796 done; \
26797 (cd $(TARGET_SUBDIR)/libgloss && \
26798 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26799 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26800 "RANLIB=$${RANLIB}" \
26801 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26802 install-info) \
26803 || exit 1
26805 @endif target-libgloss
26807 .PHONY: maybe-installcheck-target-libgloss installcheck-target-libgloss
26808 maybe-installcheck-target-libgloss:
26809 @if target-libgloss
26810 maybe-installcheck-target-libgloss: installcheck-target-libgloss
26812 installcheck-target-libgloss: \
26813 configure-target-libgloss
26814 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
26815 r=`${PWD_COMMAND}`; export r; \
26816 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26817 $(SET_LIB_PATH) \
26818 $(NORMAL_TARGET_EXPORTS) \
26819 echo "Doing installcheck in $(TARGET_SUBDIR)/libgloss" ; \
26820 for flag in $(EXTRA_TARGET_FLAGS); do \
26821 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26822 done; \
26823 (cd $(TARGET_SUBDIR)/libgloss && \
26824 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26825 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26826 "RANLIB=$${RANLIB}" \
26827 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26828 installcheck) \
26829 || exit 1
26831 @endif target-libgloss
26833 .PHONY: maybe-mostlyclean-target-libgloss mostlyclean-target-libgloss
26834 maybe-mostlyclean-target-libgloss:
26835 @if target-libgloss
26836 maybe-mostlyclean-target-libgloss: mostlyclean-target-libgloss
26838 mostlyclean-target-libgloss:
26839 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
26840 r=`${PWD_COMMAND}`; export r; \
26841 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26842 $(SET_LIB_PATH) \
26843 $(NORMAL_TARGET_EXPORTS) \
26844 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgloss" ; \
26845 for flag in $(EXTRA_TARGET_FLAGS); do \
26846 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26847 done; \
26848 (cd $(TARGET_SUBDIR)/libgloss && \
26849 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26850 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26851 "RANLIB=$${RANLIB}" \
26852 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26853 mostlyclean) \
26854 || exit 1
26856 @endif target-libgloss
26858 .PHONY: maybe-clean-target-libgloss clean-target-libgloss
26859 maybe-clean-target-libgloss:
26860 @if target-libgloss
26861 maybe-clean-target-libgloss: clean-target-libgloss
26863 clean-target-libgloss:
26864 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
26865 r=`${PWD_COMMAND}`; export r; \
26866 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26867 $(SET_LIB_PATH) \
26868 $(NORMAL_TARGET_EXPORTS) \
26869 echo "Doing clean in $(TARGET_SUBDIR)/libgloss" ; \
26870 for flag in $(EXTRA_TARGET_FLAGS); do \
26871 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26872 done; \
26873 (cd $(TARGET_SUBDIR)/libgloss && \
26874 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26875 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26876 "RANLIB=$${RANLIB}" \
26877 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26878 clean) \
26879 || exit 1
26881 @endif target-libgloss
26883 .PHONY: maybe-distclean-target-libgloss distclean-target-libgloss
26884 maybe-distclean-target-libgloss:
26885 @if target-libgloss
26886 maybe-distclean-target-libgloss: distclean-target-libgloss
26888 distclean-target-libgloss:
26889 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
26890 r=`${PWD_COMMAND}`; export r; \
26891 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26892 $(SET_LIB_PATH) \
26893 $(NORMAL_TARGET_EXPORTS) \
26894 echo "Doing distclean in $(TARGET_SUBDIR)/libgloss" ; \
26895 for flag in $(EXTRA_TARGET_FLAGS); do \
26896 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26897 done; \
26898 (cd $(TARGET_SUBDIR)/libgloss && \
26899 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26900 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26901 "RANLIB=$${RANLIB}" \
26902 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26903 distclean) \
26904 || exit 1
26906 @endif target-libgloss
26908 .PHONY: maybe-maintainer-clean-target-libgloss maintainer-clean-target-libgloss
26909 maybe-maintainer-clean-target-libgloss:
26910 @if target-libgloss
26911 maybe-maintainer-clean-target-libgloss: maintainer-clean-target-libgloss
26913 maintainer-clean-target-libgloss:
26914 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
26915 r=`${PWD_COMMAND}`; export r; \
26916 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26917 $(SET_LIB_PATH) \
26918 $(NORMAL_TARGET_EXPORTS) \
26919 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgloss" ; \
26920 for flag in $(EXTRA_TARGET_FLAGS); do \
26921 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26922 done; \
26923 (cd $(TARGET_SUBDIR)/libgloss && \
26924 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26925 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26926 "RANLIB=$${RANLIB}" \
26927 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26928 maintainer-clean) \
26929 || exit 1
26931 @endif target-libgloss
26934 .PHONY: configure-target-libiberty maybe-configure-target-libiberty
26935 maybe-configure-target-libiberty:
26936 @if target-libiberty
26937 maybe-configure-target-libiberty: configure-target-libiberty
26939 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
26940 $(TARGET_SUBDIR)/libiberty/multilib.out: multilib.out
26941 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libiberty ; \
26942 rm -f $(TARGET_SUBDIR)/libiberty/Makefile || : ; \
26943 cp multilib.out $(TARGET_SUBDIR)/libiberty/multilib.out
26945 configure-target-libiberty: $(TARGET_SUBDIR)/libiberty/multilib.out
26946 @test ! -f $(TARGET_SUBDIR)/libiberty/Makefile || exit 0; \
26947 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libiberty ; \
26948 r=`${PWD_COMMAND}`; export r; \
26949 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26950 $(SET_LIB_PATH) \
26951 $(NORMAL_TARGET_EXPORTS) \
26952 echo Configuring in $(TARGET_SUBDIR)/libiberty; \
26953 cd "$(TARGET_SUBDIR)/libiberty" || exit 1; \
26954 case $(srcdir) in \
26955 /* | [A-Za-z]:[\\/]*) \
26956 topdir=$(srcdir) ;; \
26957 *) \
26958 case "$(TARGET_SUBDIR)" in \
26959 .) topdir="../$(srcdir)" ;; \
26960 *) topdir="../../$(srcdir)" ;; \
26961 esac ;; \
26962 esac; \
26963 srcdiroption="--srcdir=$${topdir}/libiberty"; \
26964 libsrcdir="$$s/libiberty"; \
26965 rm -f no-such-file || : ; \
26966 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
26967 $(TARGET_CONFIGARGS) $${srcdiroption} \
26968 --with-target-subdir="$(TARGET_SUBDIR)" \
26969 || exit 1
26970 @endif target-libiberty
26972 .PHONY: all-target-libiberty maybe-all-target-libiberty
26973 maybe-all-target-libiberty:
26974 @if target-libiberty
26975 TARGET-target-libiberty=all
26976 maybe-all-target-libiberty: all-target-libiberty
26977 all-target-libiberty: configure-target-libiberty
26978 @r=`${PWD_COMMAND}`; export r; \
26979 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26980 $(SET_LIB_PATH) \
26981 $(NORMAL_TARGET_EXPORTS) \
26982 (cd $(TARGET_SUBDIR)/libiberty && \
26983 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libiberty))
26984 @endif target-libiberty
26986 .PHONY: check-target-libiberty maybe-check-target-libiberty
26987 maybe-check-target-libiberty:
26988 @if target-libiberty
26989 maybe-check-target-libiberty: check-target-libiberty
26991 check-target-libiberty:
26992 @r=`${PWD_COMMAND}`; export r; \
26993 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26994 $(SET_LIB_PATH) \
26995 $(NORMAL_TARGET_EXPORTS) \
26996 (cd $(TARGET_SUBDIR)/libiberty && \
26997 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
26999 @endif target-libiberty
27001 .PHONY: install-target-libiberty maybe-install-target-libiberty
27002 maybe-install-target-libiberty:
27003 @if target-libiberty
27004 maybe-install-target-libiberty: install-target-libiberty
27006 install-target-libiberty: installdirs
27007 @r=`${PWD_COMMAND}`; export r; \
27008 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27009 $(SET_LIB_PATH) \
27010 $(NORMAL_TARGET_EXPORTS) \
27011 (cd $(TARGET_SUBDIR)/libiberty && \
27012 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
27014 @endif target-libiberty
27016 # Other targets (info, dvi, etc.)
27018 .PHONY: maybe-info-target-libiberty info-target-libiberty
27019 maybe-info-target-libiberty:
27020 @if target-libiberty
27021 maybe-info-target-libiberty: info-target-libiberty
27023 info-target-libiberty: \
27024 configure-target-libiberty
27025 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
27026 r=`${PWD_COMMAND}`; export r; \
27027 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27028 $(SET_LIB_PATH) \
27029 $(NORMAL_TARGET_EXPORTS) \
27030 echo "Doing info in $(TARGET_SUBDIR)/libiberty" ; \
27031 for flag in $(EXTRA_TARGET_FLAGS); do \
27032 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27033 done; \
27034 (cd $(TARGET_SUBDIR)/libiberty && \
27035 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27036 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27037 "RANLIB=$${RANLIB}" \
27038 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27039 info) \
27040 || exit 1
27042 @endif target-libiberty
27044 .PHONY: maybe-dvi-target-libiberty dvi-target-libiberty
27045 maybe-dvi-target-libiberty:
27046 @if target-libiberty
27047 maybe-dvi-target-libiberty: dvi-target-libiberty
27049 dvi-target-libiberty: \
27050 configure-target-libiberty
27051 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
27052 r=`${PWD_COMMAND}`; export r; \
27053 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27054 $(SET_LIB_PATH) \
27055 $(NORMAL_TARGET_EXPORTS) \
27056 echo "Doing dvi in $(TARGET_SUBDIR)/libiberty" ; \
27057 for flag in $(EXTRA_TARGET_FLAGS); do \
27058 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27059 done; \
27060 (cd $(TARGET_SUBDIR)/libiberty && \
27061 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27062 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27063 "RANLIB=$${RANLIB}" \
27064 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27065 dvi) \
27066 || exit 1
27068 @endif target-libiberty
27070 .PHONY: maybe-html-target-libiberty html-target-libiberty
27071 maybe-html-target-libiberty:
27072 @if target-libiberty
27073 maybe-html-target-libiberty: html-target-libiberty
27075 html-target-libiberty: \
27076 configure-target-libiberty
27077 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
27078 r=`${PWD_COMMAND}`; export r; \
27079 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27080 $(SET_LIB_PATH) \
27081 $(NORMAL_TARGET_EXPORTS) \
27082 echo "Doing html in $(TARGET_SUBDIR)/libiberty" ; \
27083 for flag in $(EXTRA_TARGET_FLAGS); do \
27084 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27085 done; \
27086 (cd $(TARGET_SUBDIR)/libiberty && \
27087 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27088 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27089 "RANLIB=$${RANLIB}" \
27090 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27091 html) \
27092 || exit 1
27094 @endif target-libiberty
27096 .PHONY: maybe-TAGS-target-libiberty TAGS-target-libiberty
27097 maybe-TAGS-target-libiberty:
27098 @if target-libiberty
27099 maybe-TAGS-target-libiberty: TAGS-target-libiberty
27101 TAGS-target-libiberty: \
27102 configure-target-libiberty
27103 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
27104 r=`${PWD_COMMAND}`; export r; \
27105 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27106 $(SET_LIB_PATH) \
27107 $(NORMAL_TARGET_EXPORTS) \
27108 echo "Doing TAGS in $(TARGET_SUBDIR)/libiberty" ; \
27109 for flag in $(EXTRA_TARGET_FLAGS); do \
27110 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27111 done; \
27112 (cd $(TARGET_SUBDIR)/libiberty && \
27113 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27114 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27115 "RANLIB=$${RANLIB}" \
27116 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27117 TAGS) \
27118 || exit 1
27120 @endif target-libiberty
27122 .PHONY: maybe-install-info-target-libiberty install-info-target-libiberty
27123 maybe-install-info-target-libiberty:
27124 @if target-libiberty
27125 maybe-install-info-target-libiberty: install-info-target-libiberty
27127 install-info-target-libiberty: \
27128 configure-target-libiberty \
27129 info-target-libiberty
27130 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
27131 r=`${PWD_COMMAND}`; export r; \
27132 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27133 $(SET_LIB_PATH) \
27134 $(NORMAL_TARGET_EXPORTS) \
27135 echo "Doing install-info in $(TARGET_SUBDIR)/libiberty" ; \
27136 for flag in $(EXTRA_TARGET_FLAGS); do \
27137 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27138 done; \
27139 (cd $(TARGET_SUBDIR)/libiberty && \
27140 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27141 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27142 "RANLIB=$${RANLIB}" \
27143 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27144 install-info) \
27145 || exit 1
27147 @endif target-libiberty
27149 .PHONY: maybe-installcheck-target-libiberty installcheck-target-libiberty
27150 maybe-installcheck-target-libiberty:
27151 @if target-libiberty
27152 maybe-installcheck-target-libiberty: installcheck-target-libiberty
27154 installcheck-target-libiberty: \
27155 configure-target-libiberty
27156 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
27157 r=`${PWD_COMMAND}`; export r; \
27158 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27159 $(SET_LIB_PATH) \
27160 $(NORMAL_TARGET_EXPORTS) \
27161 echo "Doing installcheck in $(TARGET_SUBDIR)/libiberty" ; \
27162 for flag in $(EXTRA_TARGET_FLAGS); do \
27163 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27164 done; \
27165 (cd $(TARGET_SUBDIR)/libiberty && \
27166 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27167 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27168 "RANLIB=$${RANLIB}" \
27169 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27170 installcheck) \
27171 || exit 1
27173 @endif target-libiberty
27175 .PHONY: maybe-mostlyclean-target-libiberty mostlyclean-target-libiberty
27176 maybe-mostlyclean-target-libiberty:
27177 @if target-libiberty
27178 maybe-mostlyclean-target-libiberty: mostlyclean-target-libiberty
27180 mostlyclean-target-libiberty:
27181 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
27182 r=`${PWD_COMMAND}`; export r; \
27183 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27184 $(SET_LIB_PATH) \
27185 $(NORMAL_TARGET_EXPORTS) \
27186 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libiberty" ; \
27187 for flag in $(EXTRA_TARGET_FLAGS); do \
27188 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27189 done; \
27190 (cd $(TARGET_SUBDIR)/libiberty && \
27191 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27192 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27193 "RANLIB=$${RANLIB}" \
27194 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27195 mostlyclean) \
27196 || exit 1
27198 @endif target-libiberty
27200 .PHONY: maybe-clean-target-libiberty clean-target-libiberty
27201 maybe-clean-target-libiberty:
27202 @if target-libiberty
27203 maybe-clean-target-libiberty: clean-target-libiberty
27205 clean-target-libiberty:
27206 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
27207 r=`${PWD_COMMAND}`; export r; \
27208 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27209 $(SET_LIB_PATH) \
27210 $(NORMAL_TARGET_EXPORTS) \
27211 echo "Doing clean in $(TARGET_SUBDIR)/libiberty" ; \
27212 for flag in $(EXTRA_TARGET_FLAGS); do \
27213 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27214 done; \
27215 (cd $(TARGET_SUBDIR)/libiberty && \
27216 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27217 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27218 "RANLIB=$${RANLIB}" \
27219 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27220 clean) \
27221 || exit 1
27223 @endif target-libiberty
27225 .PHONY: maybe-distclean-target-libiberty distclean-target-libiberty
27226 maybe-distclean-target-libiberty:
27227 @if target-libiberty
27228 maybe-distclean-target-libiberty: distclean-target-libiberty
27230 distclean-target-libiberty:
27231 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
27232 r=`${PWD_COMMAND}`; export r; \
27233 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27234 $(SET_LIB_PATH) \
27235 $(NORMAL_TARGET_EXPORTS) \
27236 echo "Doing distclean in $(TARGET_SUBDIR)/libiberty" ; \
27237 for flag in $(EXTRA_TARGET_FLAGS); do \
27238 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27239 done; \
27240 (cd $(TARGET_SUBDIR)/libiberty && \
27241 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27242 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27243 "RANLIB=$${RANLIB}" \
27244 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27245 distclean) \
27246 || exit 1
27248 @endif target-libiberty
27250 .PHONY: maybe-maintainer-clean-target-libiberty maintainer-clean-target-libiberty
27251 maybe-maintainer-clean-target-libiberty:
27252 @if target-libiberty
27253 maybe-maintainer-clean-target-libiberty: maintainer-clean-target-libiberty
27255 maintainer-clean-target-libiberty:
27256 @[ -f $(TARGET_SUBDIR)/libiberty/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 maintainer-clean in $(TARGET_SUBDIR)/libiberty" ; \
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)/libiberty && \
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 maintainer-clean) \
27271 || exit 1
27273 @endif target-libiberty
27276 .PHONY: configure-target-gperf maybe-configure-target-gperf
27277 maybe-configure-target-gperf:
27278 @if target-gperf
27279 maybe-configure-target-gperf: configure-target-gperf
27281 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
27282 $(TARGET_SUBDIR)/gperf/multilib.out: multilib.out
27283 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/gperf ; \
27284 rm -f $(TARGET_SUBDIR)/gperf/Makefile || : ; \
27285 cp multilib.out $(TARGET_SUBDIR)/gperf/multilib.out
27287 configure-target-gperf: $(TARGET_SUBDIR)/gperf/multilib.out
27288 @test ! -f $(TARGET_SUBDIR)/gperf/Makefile || exit 0; \
27289 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/gperf ; \
27290 r=`${PWD_COMMAND}`; export r; \
27291 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27292 $(SET_LIB_PATH) \
27293 $(NORMAL_TARGET_EXPORTS) \
27294 echo Configuring in $(TARGET_SUBDIR)/gperf; \
27295 cd "$(TARGET_SUBDIR)/gperf" || exit 1; \
27296 case $(srcdir) in \
27297 /* | [A-Za-z]:[\\/]*) \
27298 topdir=$(srcdir) ;; \
27299 *) \
27300 case "$(TARGET_SUBDIR)" in \
27301 .) topdir="../$(srcdir)" ;; \
27302 *) topdir="../../$(srcdir)" ;; \
27303 esac ;; \
27304 esac; \
27305 srcdiroption="--srcdir=$${topdir}/gperf"; \
27306 libsrcdir="$$s/gperf"; \
27307 rm -f no-such-file || : ; \
27308 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
27309 $(TARGET_CONFIGARGS) $${srcdiroption} \
27310 --with-target-subdir="$(TARGET_SUBDIR)" \
27311 || exit 1
27312 @endif target-gperf
27314 .PHONY: all-target-gperf maybe-all-target-gperf
27315 maybe-all-target-gperf:
27316 @if target-gperf
27317 TARGET-target-gperf=all
27318 maybe-all-target-gperf: all-target-gperf
27319 all-target-gperf: configure-target-gperf
27320 @r=`${PWD_COMMAND}`; export r; \
27321 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27322 $(SET_LIB_PATH) \
27323 $(NORMAL_TARGET_EXPORTS) \
27324 (cd $(TARGET_SUBDIR)/gperf && \
27325 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-gperf))
27326 @endif target-gperf
27328 .PHONY: check-target-gperf maybe-check-target-gperf
27329 maybe-check-target-gperf:
27330 @if target-gperf
27331 maybe-check-target-gperf: check-target-gperf
27333 check-target-gperf:
27334 @r=`${PWD_COMMAND}`; export r; \
27335 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27336 $(SET_LIB_PATH) \
27337 $(NORMAL_TARGET_EXPORTS) \
27338 (cd $(TARGET_SUBDIR)/gperf && \
27339 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
27341 @endif target-gperf
27343 .PHONY: install-target-gperf maybe-install-target-gperf
27344 maybe-install-target-gperf:
27345 @if target-gperf
27346 maybe-install-target-gperf: install-target-gperf
27348 install-target-gperf: installdirs
27349 @r=`${PWD_COMMAND}`; export r; \
27350 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27351 $(SET_LIB_PATH) \
27352 $(NORMAL_TARGET_EXPORTS) \
27353 (cd $(TARGET_SUBDIR)/gperf && \
27354 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
27356 @endif target-gperf
27358 # Other targets (info, dvi, etc.)
27360 .PHONY: maybe-info-target-gperf info-target-gperf
27361 maybe-info-target-gperf:
27362 @if target-gperf
27363 maybe-info-target-gperf: info-target-gperf
27365 info-target-gperf: \
27366 configure-target-gperf
27367 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
27368 r=`${PWD_COMMAND}`; export r; \
27369 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27370 $(SET_LIB_PATH) \
27371 $(NORMAL_TARGET_EXPORTS) \
27372 echo "Doing info in $(TARGET_SUBDIR)/gperf" ; \
27373 for flag in $(EXTRA_TARGET_FLAGS); do \
27374 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27375 done; \
27376 (cd $(TARGET_SUBDIR)/gperf && \
27377 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27378 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27379 "RANLIB=$${RANLIB}" \
27380 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27381 info) \
27382 || exit 1
27384 @endif target-gperf
27386 .PHONY: maybe-dvi-target-gperf dvi-target-gperf
27387 maybe-dvi-target-gperf:
27388 @if target-gperf
27389 maybe-dvi-target-gperf: dvi-target-gperf
27391 dvi-target-gperf: \
27392 configure-target-gperf
27393 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
27394 r=`${PWD_COMMAND}`; export r; \
27395 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27396 $(SET_LIB_PATH) \
27397 $(NORMAL_TARGET_EXPORTS) \
27398 echo "Doing dvi in $(TARGET_SUBDIR)/gperf" ; \
27399 for flag in $(EXTRA_TARGET_FLAGS); do \
27400 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27401 done; \
27402 (cd $(TARGET_SUBDIR)/gperf && \
27403 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27404 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27405 "RANLIB=$${RANLIB}" \
27406 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27407 dvi) \
27408 || exit 1
27410 @endif target-gperf
27412 .PHONY: maybe-html-target-gperf html-target-gperf
27413 maybe-html-target-gperf:
27414 @if target-gperf
27415 maybe-html-target-gperf: html-target-gperf
27417 html-target-gperf: \
27418 configure-target-gperf
27419 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
27420 r=`${PWD_COMMAND}`; export r; \
27421 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27422 $(SET_LIB_PATH) \
27423 $(NORMAL_TARGET_EXPORTS) \
27424 echo "Doing html in $(TARGET_SUBDIR)/gperf" ; \
27425 for flag in $(EXTRA_TARGET_FLAGS); do \
27426 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27427 done; \
27428 (cd $(TARGET_SUBDIR)/gperf && \
27429 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27430 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27431 "RANLIB=$${RANLIB}" \
27432 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27433 html) \
27434 || exit 1
27436 @endif target-gperf
27438 .PHONY: maybe-TAGS-target-gperf TAGS-target-gperf
27439 maybe-TAGS-target-gperf:
27440 @if target-gperf
27441 maybe-TAGS-target-gperf: TAGS-target-gperf
27443 TAGS-target-gperf: \
27444 configure-target-gperf
27445 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
27446 r=`${PWD_COMMAND}`; export r; \
27447 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27448 $(SET_LIB_PATH) \
27449 $(NORMAL_TARGET_EXPORTS) \
27450 echo "Doing TAGS in $(TARGET_SUBDIR)/gperf" ; \
27451 for flag in $(EXTRA_TARGET_FLAGS); do \
27452 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27453 done; \
27454 (cd $(TARGET_SUBDIR)/gperf && \
27455 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27456 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27457 "RANLIB=$${RANLIB}" \
27458 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27459 TAGS) \
27460 || exit 1
27462 @endif target-gperf
27464 .PHONY: maybe-install-info-target-gperf install-info-target-gperf
27465 maybe-install-info-target-gperf:
27466 @if target-gperf
27467 maybe-install-info-target-gperf: install-info-target-gperf
27469 install-info-target-gperf: \
27470 configure-target-gperf \
27471 info-target-gperf
27472 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
27473 r=`${PWD_COMMAND}`; export r; \
27474 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27475 $(SET_LIB_PATH) \
27476 $(NORMAL_TARGET_EXPORTS) \
27477 echo "Doing install-info in $(TARGET_SUBDIR)/gperf" ; \
27478 for flag in $(EXTRA_TARGET_FLAGS); do \
27479 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27480 done; \
27481 (cd $(TARGET_SUBDIR)/gperf && \
27482 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27483 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27484 "RANLIB=$${RANLIB}" \
27485 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27486 install-info) \
27487 || exit 1
27489 @endif target-gperf
27491 .PHONY: maybe-installcheck-target-gperf installcheck-target-gperf
27492 maybe-installcheck-target-gperf:
27493 @if target-gperf
27494 maybe-installcheck-target-gperf: installcheck-target-gperf
27496 installcheck-target-gperf: \
27497 configure-target-gperf
27498 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
27499 r=`${PWD_COMMAND}`; export r; \
27500 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27501 $(SET_LIB_PATH) \
27502 $(NORMAL_TARGET_EXPORTS) \
27503 echo "Doing installcheck in $(TARGET_SUBDIR)/gperf" ; \
27504 for flag in $(EXTRA_TARGET_FLAGS); do \
27505 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27506 done; \
27507 (cd $(TARGET_SUBDIR)/gperf && \
27508 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27509 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27510 "RANLIB=$${RANLIB}" \
27511 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27512 installcheck) \
27513 || exit 1
27515 @endif target-gperf
27517 .PHONY: maybe-mostlyclean-target-gperf mostlyclean-target-gperf
27518 maybe-mostlyclean-target-gperf:
27519 @if target-gperf
27520 maybe-mostlyclean-target-gperf: mostlyclean-target-gperf
27522 mostlyclean-target-gperf:
27523 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
27524 r=`${PWD_COMMAND}`; export r; \
27525 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27526 $(SET_LIB_PATH) \
27527 $(NORMAL_TARGET_EXPORTS) \
27528 echo "Doing mostlyclean in $(TARGET_SUBDIR)/gperf" ; \
27529 for flag in $(EXTRA_TARGET_FLAGS); do \
27530 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27531 done; \
27532 (cd $(TARGET_SUBDIR)/gperf && \
27533 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27534 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27535 "RANLIB=$${RANLIB}" \
27536 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27537 mostlyclean) \
27538 || exit 1
27540 @endif target-gperf
27542 .PHONY: maybe-clean-target-gperf clean-target-gperf
27543 maybe-clean-target-gperf:
27544 @if target-gperf
27545 maybe-clean-target-gperf: clean-target-gperf
27547 clean-target-gperf:
27548 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
27549 r=`${PWD_COMMAND}`; export r; \
27550 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27551 $(SET_LIB_PATH) \
27552 $(NORMAL_TARGET_EXPORTS) \
27553 echo "Doing clean in $(TARGET_SUBDIR)/gperf" ; \
27554 for flag in $(EXTRA_TARGET_FLAGS); do \
27555 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27556 done; \
27557 (cd $(TARGET_SUBDIR)/gperf && \
27558 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27559 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27560 "RANLIB=$${RANLIB}" \
27561 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27562 clean) \
27563 || exit 1
27565 @endif target-gperf
27567 .PHONY: maybe-distclean-target-gperf distclean-target-gperf
27568 maybe-distclean-target-gperf:
27569 @if target-gperf
27570 maybe-distclean-target-gperf: distclean-target-gperf
27572 distclean-target-gperf:
27573 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
27574 r=`${PWD_COMMAND}`; export r; \
27575 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27576 $(SET_LIB_PATH) \
27577 $(NORMAL_TARGET_EXPORTS) \
27578 echo "Doing distclean in $(TARGET_SUBDIR)/gperf" ; \
27579 for flag in $(EXTRA_TARGET_FLAGS); do \
27580 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27581 done; \
27582 (cd $(TARGET_SUBDIR)/gperf && \
27583 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27584 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27585 "RANLIB=$${RANLIB}" \
27586 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27587 distclean) \
27588 || exit 1
27590 @endif target-gperf
27592 .PHONY: maybe-maintainer-clean-target-gperf maintainer-clean-target-gperf
27593 maybe-maintainer-clean-target-gperf:
27594 @if target-gperf
27595 maybe-maintainer-clean-target-gperf: maintainer-clean-target-gperf
27597 maintainer-clean-target-gperf:
27598 @[ -f $(TARGET_SUBDIR)/gperf/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 maintainer-clean in $(TARGET_SUBDIR)/gperf" ; \
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)/gperf && \
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 maintainer-clean) \
27613 || exit 1
27615 @endif target-gperf
27618 .PHONY: configure-target-examples maybe-configure-target-examples
27619 maybe-configure-target-examples:
27620 @if target-examples
27621 maybe-configure-target-examples: configure-target-examples
27623 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
27624 $(TARGET_SUBDIR)/examples/multilib.out: multilib.out
27625 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/examples ; \
27626 rm -f $(TARGET_SUBDIR)/examples/Makefile || : ; \
27627 cp multilib.out $(TARGET_SUBDIR)/examples/multilib.out
27629 configure-target-examples: $(TARGET_SUBDIR)/examples/multilib.out
27630 @test ! -f $(TARGET_SUBDIR)/examples/Makefile || exit 0; \
27631 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/examples ; \
27632 r=`${PWD_COMMAND}`; export r; \
27633 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27634 $(SET_LIB_PATH) \
27635 $(NORMAL_TARGET_EXPORTS) \
27636 echo Configuring in $(TARGET_SUBDIR)/examples; \
27637 cd "$(TARGET_SUBDIR)/examples" || exit 1; \
27638 case $(srcdir) in \
27639 /* | [A-Za-z]:[\\/]*) \
27640 topdir=$(srcdir) ;; \
27641 *) \
27642 case "$(TARGET_SUBDIR)" in \
27643 .) topdir="../$(srcdir)" ;; \
27644 *) topdir="../../$(srcdir)" ;; \
27645 esac ;; \
27646 esac; \
27647 srcdiroption="--srcdir=$${topdir}/examples"; \
27648 libsrcdir="$$s/examples"; \
27649 rm -f no-such-file || : ; \
27650 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
27651 $(TARGET_CONFIGARGS) $${srcdiroption} \
27652 --with-target-subdir="$(TARGET_SUBDIR)" \
27653 || exit 1
27654 @endif target-examples
27656 .PHONY: all-target-examples maybe-all-target-examples
27657 maybe-all-target-examples:
27658 @if target-examples
27659 TARGET-target-examples=all
27660 maybe-all-target-examples: all-target-examples
27661 all-target-examples: configure-target-examples
27662 @r=`${PWD_COMMAND}`; export r; \
27663 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27664 $(SET_LIB_PATH) \
27665 $(NORMAL_TARGET_EXPORTS) \
27666 (cd $(TARGET_SUBDIR)/examples && \
27667 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-examples))
27668 @endif target-examples
27670 .PHONY: check-target-examples maybe-check-target-examples
27671 maybe-check-target-examples:
27672 @if target-examples
27673 maybe-check-target-examples: check-target-examples
27675 # Dummy target for uncheckable module.
27676 check-target-examples:
27678 @endif target-examples
27680 .PHONY: install-target-examples maybe-install-target-examples
27681 maybe-install-target-examples:
27682 @if target-examples
27683 maybe-install-target-examples: install-target-examples
27685 # Dummy target for uninstallable.
27686 install-target-examples:
27688 @endif target-examples
27690 # Other targets (info, dvi, etc.)
27692 .PHONY: maybe-info-target-examples info-target-examples
27693 maybe-info-target-examples:
27694 @if target-examples
27695 maybe-info-target-examples: info-target-examples
27697 info-target-examples: \
27698 configure-target-examples
27699 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
27700 r=`${PWD_COMMAND}`; export r; \
27701 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27702 $(SET_LIB_PATH) \
27703 $(NORMAL_TARGET_EXPORTS) \
27704 echo "Doing info in $(TARGET_SUBDIR)/examples" ; \
27705 for flag in $(EXTRA_TARGET_FLAGS); do \
27706 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27707 done; \
27708 (cd $(TARGET_SUBDIR)/examples && \
27709 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27710 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27711 "RANLIB=$${RANLIB}" \
27712 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27713 info) \
27714 || exit 1
27716 @endif target-examples
27718 .PHONY: maybe-dvi-target-examples dvi-target-examples
27719 maybe-dvi-target-examples:
27720 @if target-examples
27721 maybe-dvi-target-examples: dvi-target-examples
27723 dvi-target-examples: \
27724 configure-target-examples
27725 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
27726 r=`${PWD_COMMAND}`; export r; \
27727 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27728 $(SET_LIB_PATH) \
27729 $(NORMAL_TARGET_EXPORTS) \
27730 echo "Doing dvi in $(TARGET_SUBDIR)/examples" ; \
27731 for flag in $(EXTRA_TARGET_FLAGS); do \
27732 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27733 done; \
27734 (cd $(TARGET_SUBDIR)/examples && \
27735 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27736 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27737 "RANLIB=$${RANLIB}" \
27738 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27739 dvi) \
27740 || exit 1
27742 @endif target-examples
27744 .PHONY: maybe-html-target-examples html-target-examples
27745 maybe-html-target-examples:
27746 @if target-examples
27747 maybe-html-target-examples: html-target-examples
27749 html-target-examples: \
27750 configure-target-examples
27751 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
27752 r=`${PWD_COMMAND}`; export r; \
27753 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27754 $(SET_LIB_PATH) \
27755 $(NORMAL_TARGET_EXPORTS) \
27756 echo "Doing html in $(TARGET_SUBDIR)/examples" ; \
27757 for flag in $(EXTRA_TARGET_FLAGS); do \
27758 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27759 done; \
27760 (cd $(TARGET_SUBDIR)/examples && \
27761 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27762 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27763 "RANLIB=$${RANLIB}" \
27764 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27765 html) \
27766 || exit 1
27768 @endif target-examples
27770 .PHONY: maybe-TAGS-target-examples TAGS-target-examples
27771 maybe-TAGS-target-examples:
27772 @if target-examples
27773 maybe-TAGS-target-examples: TAGS-target-examples
27775 TAGS-target-examples: \
27776 configure-target-examples
27777 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
27778 r=`${PWD_COMMAND}`; export r; \
27779 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27780 $(SET_LIB_PATH) \
27781 $(NORMAL_TARGET_EXPORTS) \
27782 echo "Doing TAGS in $(TARGET_SUBDIR)/examples" ; \
27783 for flag in $(EXTRA_TARGET_FLAGS); do \
27784 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27785 done; \
27786 (cd $(TARGET_SUBDIR)/examples && \
27787 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27788 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27789 "RANLIB=$${RANLIB}" \
27790 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27791 TAGS) \
27792 || exit 1
27794 @endif target-examples
27796 .PHONY: maybe-install-info-target-examples install-info-target-examples
27797 maybe-install-info-target-examples:
27798 @if target-examples
27799 maybe-install-info-target-examples: install-info-target-examples
27801 install-info-target-examples: \
27802 configure-target-examples \
27803 info-target-examples
27804 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
27805 r=`${PWD_COMMAND}`; export r; \
27806 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27807 $(SET_LIB_PATH) \
27808 $(NORMAL_TARGET_EXPORTS) \
27809 echo "Doing install-info in $(TARGET_SUBDIR)/examples" ; \
27810 for flag in $(EXTRA_TARGET_FLAGS); do \
27811 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27812 done; \
27813 (cd $(TARGET_SUBDIR)/examples && \
27814 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27815 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27816 "RANLIB=$${RANLIB}" \
27817 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27818 install-info) \
27819 || exit 1
27821 @endif target-examples
27823 .PHONY: maybe-installcheck-target-examples installcheck-target-examples
27824 maybe-installcheck-target-examples:
27825 @if target-examples
27826 maybe-installcheck-target-examples: installcheck-target-examples
27828 installcheck-target-examples: \
27829 configure-target-examples
27830 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
27831 r=`${PWD_COMMAND}`; export r; \
27832 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27833 $(SET_LIB_PATH) \
27834 $(NORMAL_TARGET_EXPORTS) \
27835 echo "Doing installcheck in $(TARGET_SUBDIR)/examples" ; \
27836 for flag in $(EXTRA_TARGET_FLAGS); do \
27837 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27838 done; \
27839 (cd $(TARGET_SUBDIR)/examples && \
27840 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27841 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27842 "RANLIB=$${RANLIB}" \
27843 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27844 installcheck) \
27845 || exit 1
27847 @endif target-examples
27849 .PHONY: maybe-mostlyclean-target-examples mostlyclean-target-examples
27850 maybe-mostlyclean-target-examples:
27851 @if target-examples
27852 maybe-mostlyclean-target-examples: mostlyclean-target-examples
27854 mostlyclean-target-examples:
27855 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
27856 r=`${PWD_COMMAND}`; export r; \
27857 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27858 $(SET_LIB_PATH) \
27859 $(NORMAL_TARGET_EXPORTS) \
27860 echo "Doing mostlyclean in $(TARGET_SUBDIR)/examples" ; \
27861 for flag in $(EXTRA_TARGET_FLAGS); do \
27862 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27863 done; \
27864 (cd $(TARGET_SUBDIR)/examples && \
27865 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27866 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27867 "RANLIB=$${RANLIB}" \
27868 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27869 mostlyclean) \
27870 || exit 1
27872 @endif target-examples
27874 .PHONY: maybe-clean-target-examples clean-target-examples
27875 maybe-clean-target-examples:
27876 @if target-examples
27877 maybe-clean-target-examples: clean-target-examples
27879 clean-target-examples:
27880 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
27881 r=`${PWD_COMMAND}`; export r; \
27882 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27883 $(SET_LIB_PATH) \
27884 $(NORMAL_TARGET_EXPORTS) \
27885 echo "Doing clean in $(TARGET_SUBDIR)/examples" ; \
27886 for flag in $(EXTRA_TARGET_FLAGS); do \
27887 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27888 done; \
27889 (cd $(TARGET_SUBDIR)/examples && \
27890 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27891 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27892 "RANLIB=$${RANLIB}" \
27893 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27894 clean) \
27895 || exit 1
27897 @endif target-examples
27899 .PHONY: maybe-distclean-target-examples distclean-target-examples
27900 maybe-distclean-target-examples:
27901 @if target-examples
27902 maybe-distclean-target-examples: distclean-target-examples
27904 distclean-target-examples:
27905 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
27906 r=`${PWD_COMMAND}`; export r; \
27907 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27908 $(SET_LIB_PATH) \
27909 $(NORMAL_TARGET_EXPORTS) \
27910 echo "Doing distclean in $(TARGET_SUBDIR)/examples" ; \
27911 for flag in $(EXTRA_TARGET_FLAGS); do \
27912 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27913 done; \
27914 (cd $(TARGET_SUBDIR)/examples && \
27915 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27916 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27917 "RANLIB=$${RANLIB}" \
27918 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27919 distclean) \
27920 || exit 1
27922 @endif target-examples
27924 .PHONY: maybe-maintainer-clean-target-examples maintainer-clean-target-examples
27925 maybe-maintainer-clean-target-examples:
27926 @if target-examples
27927 maybe-maintainer-clean-target-examples: maintainer-clean-target-examples
27929 maintainer-clean-target-examples:
27930 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
27931 r=`${PWD_COMMAND}`; export r; \
27932 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27933 $(SET_LIB_PATH) \
27934 $(NORMAL_TARGET_EXPORTS) \
27935 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/examples" ; \
27936 for flag in $(EXTRA_TARGET_FLAGS); do \
27937 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27938 done; \
27939 (cd $(TARGET_SUBDIR)/examples && \
27940 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27941 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27942 "RANLIB=$${RANLIB}" \
27943 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27944 maintainer-clean) \
27945 || exit 1
27947 @endif target-examples
27950 .PHONY: configure-target-libffi maybe-configure-target-libffi
27951 maybe-configure-target-libffi:
27952 @if target-libffi
27953 maybe-configure-target-libffi: configure-target-libffi
27955 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
27956 $(TARGET_SUBDIR)/libffi/multilib.out: multilib.out
27957 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libffi ; \
27958 rm -f $(TARGET_SUBDIR)/libffi/Makefile || : ; \
27959 cp multilib.out $(TARGET_SUBDIR)/libffi/multilib.out
27961 configure-target-libffi: $(TARGET_SUBDIR)/libffi/multilib.out
27962 @test ! -f $(TARGET_SUBDIR)/libffi/Makefile || exit 0; \
27963 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libffi ; \
27964 r=`${PWD_COMMAND}`; export r; \
27965 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27966 $(SET_LIB_PATH) \
27967 $(NORMAL_TARGET_EXPORTS) \
27968 echo Configuring in $(TARGET_SUBDIR)/libffi; \
27969 cd "$(TARGET_SUBDIR)/libffi" || exit 1; \
27970 case $(srcdir) in \
27971 /* | [A-Za-z]:[\\/]*) \
27972 topdir=$(srcdir) ;; \
27973 *) \
27974 case "$(TARGET_SUBDIR)" in \
27975 .) topdir="../$(srcdir)" ;; \
27976 *) topdir="../../$(srcdir)" ;; \
27977 esac ;; \
27978 esac; \
27979 srcdiroption="--srcdir=$${topdir}/libffi"; \
27980 libsrcdir="$$s/libffi"; \
27981 rm -f no-such-file || : ; \
27982 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
27983 $(TARGET_CONFIGARGS) $${srcdiroption} \
27984 --with-target-subdir="$(TARGET_SUBDIR)" \
27985 || exit 1
27986 @endif target-libffi
27988 .PHONY: all-target-libffi maybe-all-target-libffi
27989 maybe-all-target-libffi:
27990 @if target-libffi
27991 TARGET-target-libffi=all
27992 maybe-all-target-libffi: all-target-libffi
27993 all-target-libffi: configure-target-libffi
27994 @r=`${PWD_COMMAND}`; export r; \
27995 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27996 $(SET_LIB_PATH) \
27997 $(NORMAL_TARGET_EXPORTS) \
27998 (cd $(TARGET_SUBDIR)/libffi && \
27999 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libffi))
28000 @endif target-libffi
28002 .PHONY: check-target-libffi maybe-check-target-libffi
28003 maybe-check-target-libffi:
28004 @if target-libffi
28005 maybe-check-target-libffi: check-target-libffi
28007 check-target-libffi:
28008 @r=`${PWD_COMMAND}`; export r; \
28009 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28010 $(SET_LIB_PATH) \
28011 $(NORMAL_TARGET_EXPORTS) \
28012 (cd $(TARGET_SUBDIR)/libffi && \
28013 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
28015 @endif target-libffi
28017 .PHONY: install-target-libffi maybe-install-target-libffi
28018 maybe-install-target-libffi:
28019 @if target-libffi
28020 maybe-install-target-libffi: install-target-libffi
28022 install-target-libffi: installdirs
28023 @r=`${PWD_COMMAND}`; export r; \
28024 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28025 $(SET_LIB_PATH) \
28026 $(NORMAL_TARGET_EXPORTS) \
28027 (cd $(TARGET_SUBDIR)/libffi && \
28028 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
28030 @endif target-libffi
28032 # Other targets (info, dvi, etc.)
28034 .PHONY: maybe-info-target-libffi info-target-libffi
28035 maybe-info-target-libffi:
28036 @if target-libffi
28037 maybe-info-target-libffi: info-target-libffi
28039 info-target-libffi: \
28040 configure-target-libffi
28041 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
28042 r=`${PWD_COMMAND}`; export r; \
28043 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28044 $(SET_LIB_PATH) \
28045 $(NORMAL_TARGET_EXPORTS) \
28046 echo "Doing info in $(TARGET_SUBDIR)/libffi" ; \
28047 for flag in $(EXTRA_TARGET_FLAGS); do \
28048 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28049 done; \
28050 (cd $(TARGET_SUBDIR)/libffi && \
28051 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28052 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28053 "RANLIB=$${RANLIB}" \
28054 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28055 info) \
28056 || exit 1
28058 @endif target-libffi
28060 .PHONY: maybe-dvi-target-libffi dvi-target-libffi
28061 maybe-dvi-target-libffi:
28062 @if target-libffi
28063 maybe-dvi-target-libffi: dvi-target-libffi
28065 dvi-target-libffi: \
28066 configure-target-libffi
28067 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
28068 r=`${PWD_COMMAND}`; export r; \
28069 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28070 $(SET_LIB_PATH) \
28071 $(NORMAL_TARGET_EXPORTS) \
28072 echo "Doing dvi in $(TARGET_SUBDIR)/libffi" ; \
28073 for flag in $(EXTRA_TARGET_FLAGS); do \
28074 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28075 done; \
28076 (cd $(TARGET_SUBDIR)/libffi && \
28077 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28078 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28079 "RANLIB=$${RANLIB}" \
28080 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28081 dvi) \
28082 || exit 1
28084 @endif target-libffi
28086 .PHONY: maybe-html-target-libffi html-target-libffi
28087 maybe-html-target-libffi:
28088 @if target-libffi
28089 maybe-html-target-libffi: html-target-libffi
28091 html-target-libffi: \
28092 configure-target-libffi
28093 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
28094 r=`${PWD_COMMAND}`; export r; \
28095 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28096 $(SET_LIB_PATH) \
28097 $(NORMAL_TARGET_EXPORTS) \
28098 echo "Doing html in $(TARGET_SUBDIR)/libffi" ; \
28099 for flag in $(EXTRA_TARGET_FLAGS); do \
28100 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28101 done; \
28102 (cd $(TARGET_SUBDIR)/libffi && \
28103 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28104 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28105 "RANLIB=$${RANLIB}" \
28106 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28107 html) \
28108 || exit 1
28110 @endif target-libffi
28112 .PHONY: maybe-TAGS-target-libffi TAGS-target-libffi
28113 maybe-TAGS-target-libffi:
28114 @if target-libffi
28115 maybe-TAGS-target-libffi: TAGS-target-libffi
28117 TAGS-target-libffi: \
28118 configure-target-libffi
28119 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
28120 r=`${PWD_COMMAND}`; export r; \
28121 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28122 $(SET_LIB_PATH) \
28123 $(NORMAL_TARGET_EXPORTS) \
28124 echo "Doing TAGS in $(TARGET_SUBDIR)/libffi" ; \
28125 for flag in $(EXTRA_TARGET_FLAGS); do \
28126 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28127 done; \
28128 (cd $(TARGET_SUBDIR)/libffi && \
28129 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28130 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28131 "RANLIB=$${RANLIB}" \
28132 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28133 TAGS) \
28134 || exit 1
28136 @endif target-libffi
28138 .PHONY: maybe-install-info-target-libffi install-info-target-libffi
28139 maybe-install-info-target-libffi:
28140 @if target-libffi
28141 maybe-install-info-target-libffi: install-info-target-libffi
28143 install-info-target-libffi: \
28144 configure-target-libffi \
28145 info-target-libffi
28146 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
28147 r=`${PWD_COMMAND}`; export r; \
28148 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28149 $(SET_LIB_PATH) \
28150 $(NORMAL_TARGET_EXPORTS) \
28151 echo "Doing install-info in $(TARGET_SUBDIR)/libffi" ; \
28152 for flag in $(EXTRA_TARGET_FLAGS); do \
28153 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28154 done; \
28155 (cd $(TARGET_SUBDIR)/libffi && \
28156 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28157 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28158 "RANLIB=$${RANLIB}" \
28159 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28160 install-info) \
28161 || exit 1
28163 @endif target-libffi
28165 .PHONY: maybe-installcheck-target-libffi installcheck-target-libffi
28166 maybe-installcheck-target-libffi:
28167 @if target-libffi
28168 maybe-installcheck-target-libffi: installcheck-target-libffi
28170 installcheck-target-libffi: \
28171 configure-target-libffi
28172 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
28173 r=`${PWD_COMMAND}`; export r; \
28174 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28175 $(SET_LIB_PATH) \
28176 $(NORMAL_TARGET_EXPORTS) \
28177 echo "Doing installcheck in $(TARGET_SUBDIR)/libffi" ; \
28178 for flag in $(EXTRA_TARGET_FLAGS); do \
28179 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28180 done; \
28181 (cd $(TARGET_SUBDIR)/libffi && \
28182 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28183 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28184 "RANLIB=$${RANLIB}" \
28185 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28186 installcheck) \
28187 || exit 1
28189 @endif target-libffi
28191 .PHONY: maybe-mostlyclean-target-libffi mostlyclean-target-libffi
28192 maybe-mostlyclean-target-libffi:
28193 @if target-libffi
28194 maybe-mostlyclean-target-libffi: mostlyclean-target-libffi
28196 mostlyclean-target-libffi:
28197 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
28198 r=`${PWD_COMMAND}`; export r; \
28199 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28200 $(SET_LIB_PATH) \
28201 $(NORMAL_TARGET_EXPORTS) \
28202 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libffi" ; \
28203 for flag in $(EXTRA_TARGET_FLAGS); do \
28204 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28205 done; \
28206 (cd $(TARGET_SUBDIR)/libffi && \
28207 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28208 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28209 "RANLIB=$${RANLIB}" \
28210 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28211 mostlyclean) \
28212 || exit 1
28214 @endif target-libffi
28216 .PHONY: maybe-clean-target-libffi clean-target-libffi
28217 maybe-clean-target-libffi:
28218 @if target-libffi
28219 maybe-clean-target-libffi: clean-target-libffi
28221 clean-target-libffi:
28222 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
28223 r=`${PWD_COMMAND}`; export r; \
28224 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28225 $(SET_LIB_PATH) \
28226 $(NORMAL_TARGET_EXPORTS) \
28227 echo "Doing clean in $(TARGET_SUBDIR)/libffi" ; \
28228 for flag in $(EXTRA_TARGET_FLAGS); do \
28229 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28230 done; \
28231 (cd $(TARGET_SUBDIR)/libffi && \
28232 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28233 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28234 "RANLIB=$${RANLIB}" \
28235 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28236 clean) \
28237 || exit 1
28239 @endif target-libffi
28241 .PHONY: maybe-distclean-target-libffi distclean-target-libffi
28242 maybe-distclean-target-libffi:
28243 @if target-libffi
28244 maybe-distclean-target-libffi: distclean-target-libffi
28246 distclean-target-libffi:
28247 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
28248 r=`${PWD_COMMAND}`; export r; \
28249 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28250 $(SET_LIB_PATH) \
28251 $(NORMAL_TARGET_EXPORTS) \
28252 echo "Doing distclean in $(TARGET_SUBDIR)/libffi" ; \
28253 for flag in $(EXTRA_TARGET_FLAGS); do \
28254 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28255 done; \
28256 (cd $(TARGET_SUBDIR)/libffi && \
28257 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28258 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28259 "RANLIB=$${RANLIB}" \
28260 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28261 distclean) \
28262 || exit 1
28264 @endif target-libffi
28266 .PHONY: maybe-maintainer-clean-target-libffi maintainer-clean-target-libffi
28267 maybe-maintainer-clean-target-libffi:
28268 @if target-libffi
28269 maybe-maintainer-clean-target-libffi: maintainer-clean-target-libffi
28271 maintainer-clean-target-libffi:
28272 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
28273 r=`${PWD_COMMAND}`; export r; \
28274 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28275 $(SET_LIB_PATH) \
28276 $(NORMAL_TARGET_EXPORTS) \
28277 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libffi" ; \
28278 for flag in $(EXTRA_TARGET_FLAGS); do \
28279 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28280 done; \
28281 (cd $(TARGET_SUBDIR)/libffi && \
28282 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28283 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28284 "RANLIB=$${RANLIB}" \
28285 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28286 maintainer-clean) \
28287 || exit 1
28289 @endif target-libffi
28292 .PHONY: configure-target-libjava maybe-configure-target-libjava
28293 maybe-configure-target-libjava:
28294 @if target-libjava
28295 maybe-configure-target-libjava: configure-target-libjava
28297 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
28298 $(TARGET_SUBDIR)/libjava/multilib.out: multilib.out
28299 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libjava ; \
28300 rm -f $(TARGET_SUBDIR)/libjava/Makefile || : ; \
28301 cp multilib.out $(TARGET_SUBDIR)/libjava/multilib.out
28303 configure-target-libjava: $(TARGET_SUBDIR)/libjava/multilib.out
28304 @test ! -f $(TARGET_SUBDIR)/libjava/Makefile || exit 0; \
28305 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libjava ; \
28306 r=`${PWD_COMMAND}`; export r; \
28307 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28308 $(SET_LIB_PATH) \
28309 $(RAW_CXX_TARGET_EXPORTS) \
28310 echo Configuring in $(TARGET_SUBDIR)/libjava; \
28311 cd "$(TARGET_SUBDIR)/libjava" || exit 1; \
28312 case $(srcdir) in \
28313 /* | [A-Za-z]:[\\/]*) \
28314 topdir=$(srcdir) ;; \
28315 *) \
28316 case "$(TARGET_SUBDIR)" in \
28317 .) topdir="../$(srcdir)" ;; \
28318 *) topdir="../../$(srcdir)" ;; \
28319 esac ;; \
28320 esac; \
28321 srcdiroption="--srcdir=$${topdir}/libjava"; \
28322 libsrcdir="$$s/libjava"; \
28323 rm -f no-such-file || : ; \
28324 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
28325 $(TARGET_CONFIGARGS) $${srcdiroption} \
28326 --with-target-subdir="$(TARGET_SUBDIR)" \
28327 || exit 1
28328 @endif target-libjava
28330 .PHONY: all-target-libjava maybe-all-target-libjava
28331 maybe-all-target-libjava:
28332 @if target-libjava
28333 TARGET-target-libjava=all
28334 maybe-all-target-libjava: all-target-libjava
28335 all-target-libjava: configure-target-libjava
28336 @r=`${PWD_COMMAND}`; export r; \
28337 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28338 $(SET_LIB_PATH) \
28339 $(RAW_CXX_TARGET_EXPORTS) \
28340 (cd $(TARGET_SUBDIR)/libjava && \
28341 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' $(TARGET-target-libjava))
28342 @endif target-libjava
28344 .PHONY: check-target-libjava maybe-check-target-libjava
28345 maybe-check-target-libjava:
28346 @if target-libjava
28347 maybe-check-target-libjava: check-target-libjava
28349 check-target-libjava:
28350 @r=`${PWD_COMMAND}`; export r; \
28351 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28352 $(SET_LIB_PATH) \
28353 $(RAW_CXX_TARGET_EXPORTS) \
28354 (cd $(TARGET_SUBDIR)/libjava && \
28355 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' check)
28357 @endif target-libjava
28359 .PHONY: install-target-libjava maybe-install-target-libjava
28360 maybe-install-target-libjava:
28361 @if target-libjava
28362 maybe-install-target-libjava: install-target-libjava
28364 install-target-libjava: installdirs
28365 @r=`${PWD_COMMAND}`; export r; \
28366 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28367 $(SET_LIB_PATH) \
28368 $(RAW_CXX_TARGET_EXPORTS) \
28369 (cd $(TARGET_SUBDIR)/libjava && \
28370 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
28372 @endif target-libjava
28374 # Other targets (info, dvi, etc.)
28376 .PHONY: maybe-info-target-libjava info-target-libjava
28377 maybe-info-target-libjava:
28378 @if target-libjava
28379 maybe-info-target-libjava: info-target-libjava
28381 info-target-libjava: \
28382 configure-target-libjava
28383 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
28384 r=`${PWD_COMMAND}`; export r; \
28385 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28386 $(SET_LIB_PATH) \
28387 $(RAW_CXX_TARGET_EXPORTS) \
28388 echo "Doing info in $(TARGET_SUBDIR)/libjava" ; \
28389 for flag in $(EXTRA_TARGET_FLAGS); do \
28390 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28391 done; \
28392 (cd $(TARGET_SUBDIR)/libjava && \
28393 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28394 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28395 "RANLIB=$${RANLIB}" \
28396 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28397 info) \
28398 || exit 1
28400 @endif target-libjava
28402 .PHONY: maybe-dvi-target-libjava dvi-target-libjava
28403 maybe-dvi-target-libjava:
28404 @if target-libjava
28405 maybe-dvi-target-libjava: dvi-target-libjava
28407 dvi-target-libjava: \
28408 configure-target-libjava
28409 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
28410 r=`${PWD_COMMAND}`; export r; \
28411 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28412 $(SET_LIB_PATH) \
28413 $(RAW_CXX_TARGET_EXPORTS) \
28414 echo "Doing dvi in $(TARGET_SUBDIR)/libjava" ; \
28415 for flag in $(EXTRA_TARGET_FLAGS); do \
28416 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28417 done; \
28418 (cd $(TARGET_SUBDIR)/libjava && \
28419 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28420 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28421 "RANLIB=$${RANLIB}" \
28422 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28423 dvi) \
28424 || exit 1
28426 @endif target-libjava
28428 .PHONY: maybe-html-target-libjava html-target-libjava
28429 maybe-html-target-libjava:
28430 @if target-libjava
28431 maybe-html-target-libjava: html-target-libjava
28433 html-target-libjava: \
28434 configure-target-libjava
28435 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
28436 r=`${PWD_COMMAND}`; export r; \
28437 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28438 $(SET_LIB_PATH) \
28439 $(RAW_CXX_TARGET_EXPORTS) \
28440 echo "Doing html in $(TARGET_SUBDIR)/libjava" ; \
28441 for flag in $(EXTRA_TARGET_FLAGS); do \
28442 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28443 done; \
28444 (cd $(TARGET_SUBDIR)/libjava && \
28445 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28446 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28447 "RANLIB=$${RANLIB}" \
28448 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28449 html) \
28450 || exit 1
28452 @endif target-libjava
28454 .PHONY: maybe-TAGS-target-libjava TAGS-target-libjava
28455 maybe-TAGS-target-libjava:
28456 @if target-libjava
28457 maybe-TAGS-target-libjava: TAGS-target-libjava
28459 TAGS-target-libjava: \
28460 configure-target-libjava
28461 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
28462 r=`${PWD_COMMAND}`; export r; \
28463 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28464 $(SET_LIB_PATH) \
28465 $(RAW_CXX_TARGET_EXPORTS) \
28466 echo "Doing TAGS in $(TARGET_SUBDIR)/libjava" ; \
28467 for flag in $(EXTRA_TARGET_FLAGS); do \
28468 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28469 done; \
28470 (cd $(TARGET_SUBDIR)/libjava && \
28471 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28472 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28473 "RANLIB=$${RANLIB}" \
28474 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28475 TAGS) \
28476 || exit 1
28478 @endif target-libjava
28480 .PHONY: maybe-install-info-target-libjava install-info-target-libjava
28481 maybe-install-info-target-libjava:
28482 @if target-libjava
28483 maybe-install-info-target-libjava: install-info-target-libjava
28485 install-info-target-libjava: \
28486 configure-target-libjava \
28487 info-target-libjava
28488 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
28489 r=`${PWD_COMMAND}`; export r; \
28490 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28491 $(SET_LIB_PATH) \
28492 $(RAW_CXX_TARGET_EXPORTS) \
28493 echo "Doing install-info in $(TARGET_SUBDIR)/libjava" ; \
28494 for flag in $(EXTRA_TARGET_FLAGS); do \
28495 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28496 done; \
28497 (cd $(TARGET_SUBDIR)/libjava && \
28498 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28499 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28500 "RANLIB=$${RANLIB}" \
28501 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28502 install-info) \
28503 || exit 1
28505 @endif target-libjava
28507 .PHONY: maybe-installcheck-target-libjava installcheck-target-libjava
28508 maybe-installcheck-target-libjava:
28509 @if target-libjava
28510 maybe-installcheck-target-libjava: installcheck-target-libjava
28512 installcheck-target-libjava: \
28513 configure-target-libjava
28514 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
28515 r=`${PWD_COMMAND}`; export r; \
28516 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28517 $(SET_LIB_PATH) \
28518 $(RAW_CXX_TARGET_EXPORTS) \
28519 echo "Doing installcheck in $(TARGET_SUBDIR)/libjava" ; \
28520 for flag in $(EXTRA_TARGET_FLAGS); do \
28521 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28522 done; \
28523 (cd $(TARGET_SUBDIR)/libjava && \
28524 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28525 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28526 "RANLIB=$${RANLIB}" \
28527 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28528 installcheck) \
28529 || exit 1
28531 @endif target-libjava
28533 .PHONY: maybe-mostlyclean-target-libjava mostlyclean-target-libjava
28534 maybe-mostlyclean-target-libjava:
28535 @if target-libjava
28536 maybe-mostlyclean-target-libjava: mostlyclean-target-libjava
28538 mostlyclean-target-libjava:
28539 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
28540 r=`${PWD_COMMAND}`; export r; \
28541 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28542 $(SET_LIB_PATH) \
28543 $(RAW_CXX_TARGET_EXPORTS) \
28544 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libjava" ; \
28545 for flag in $(EXTRA_TARGET_FLAGS); do \
28546 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28547 done; \
28548 (cd $(TARGET_SUBDIR)/libjava && \
28549 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28550 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28551 "RANLIB=$${RANLIB}" \
28552 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28553 mostlyclean) \
28554 || exit 1
28556 @endif target-libjava
28558 .PHONY: maybe-clean-target-libjava clean-target-libjava
28559 maybe-clean-target-libjava:
28560 @if target-libjava
28561 maybe-clean-target-libjava: clean-target-libjava
28563 clean-target-libjava:
28564 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
28565 r=`${PWD_COMMAND}`; export r; \
28566 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28567 $(SET_LIB_PATH) \
28568 $(RAW_CXX_TARGET_EXPORTS) \
28569 echo "Doing clean in $(TARGET_SUBDIR)/libjava" ; \
28570 for flag in $(EXTRA_TARGET_FLAGS); do \
28571 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28572 done; \
28573 (cd $(TARGET_SUBDIR)/libjava && \
28574 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28575 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28576 "RANLIB=$${RANLIB}" \
28577 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28578 clean) \
28579 || exit 1
28581 @endif target-libjava
28583 .PHONY: maybe-distclean-target-libjava distclean-target-libjava
28584 maybe-distclean-target-libjava:
28585 @if target-libjava
28586 maybe-distclean-target-libjava: distclean-target-libjava
28588 distclean-target-libjava:
28589 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
28590 r=`${PWD_COMMAND}`; export r; \
28591 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28592 $(SET_LIB_PATH) \
28593 $(RAW_CXX_TARGET_EXPORTS) \
28594 echo "Doing distclean in $(TARGET_SUBDIR)/libjava" ; \
28595 for flag in $(EXTRA_TARGET_FLAGS); do \
28596 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28597 done; \
28598 (cd $(TARGET_SUBDIR)/libjava && \
28599 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28600 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28601 "RANLIB=$${RANLIB}" \
28602 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28603 distclean) \
28604 || exit 1
28606 @endif target-libjava
28608 .PHONY: maybe-maintainer-clean-target-libjava maintainer-clean-target-libjava
28609 maybe-maintainer-clean-target-libjava:
28610 @if target-libjava
28611 maybe-maintainer-clean-target-libjava: maintainer-clean-target-libjava
28613 maintainer-clean-target-libjava:
28614 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
28615 r=`${PWD_COMMAND}`; export r; \
28616 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28617 $(SET_LIB_PATH) \
28618 $(RAW_CXX_TARGET_EXPORTS) \
28619 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libjava" ; \
28620 for flag in $(EXTRA_TARGET_FLAGS); do \
28621 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28622 done; \
28623 (cd $(TARGET_SUBDIR)/libjava && \
28624 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28625 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28626 "RANLIB=$${RANLIB}" \
28627 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28628 maintainer-clean) \
28629 || exit 1
28631 @endif target-libjava
28634 .PHONY: configure-target-zlib maybe-configure-target-zlib
28635 maybe-configure-target-zlib:
28636 @if target-zlib
28637 maybe-configure-target-zlib: configure-target-zlib
28639 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
28640 $(TARGET_SUBDIR)/zlib/multilib.out: multilib.out
28641 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/zlib ; \
28642 rm -f $(TARGET_SUBDIR)/zlib/Makefile || : ; \
28643 cp multilib.out $(TARGET_SUBDIR)/zlib/multilib.out
28645 configure-target-zlib: $(TARGET_SUBDIR)/zlib/multilib.out
28646 @test ! -f $(TARGET_SUBDIR)/zlib/Makefile || exit 0; \
28647 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/zlib ; \
28648 r=`${PWD_COMMAND}`; export r; \
28649 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28650 $(SET_LIB_PATH) \
28651 $(NORMAL_TARGET_EXPORTS) \
28652 echo Configuring in $(TARGET_SUBDIR)/zlib; \
28653 cd "$(TARGET_SUBDIR)/zlib" || exit 1; \
28654 case $(srcdir) in \
28655 /* | [A-Za-z]:[\\/]*) \
28656 topdir=$(srcdir) ;; \
28657 *) \
28658 case "$(TARGET_SUBDIR)" in \
28659 .) topdir="../$(srcdir)" ;; \
28660 *) topdir="../../$(srcdir)" ;; \
28661 esac ;; \
28662 esac; \
28663 if [ "$(srcdir)" = "." ] ; then \
28664 if [ "$(TARGET_SUBDIR)" != "." ] ; then \
28665 if $(SHELL) $$s/symlink-tree $${topdir}/zlib "no-such-file" ; then \
28666 if [ -f Makefile ]; then \
28667 if $(MAKE) distclean; then \
28668 true; \
28669 else \
28670 exit 1; \
28671 fi; \
28672 else \
28673 true; \
28674 fi; \
28675 else \
28676 exit 1; \
28677 fi; \
28678 else \
28679 true; \
28680 fi; \
28681 srcdiroption="--srcdir=."; \
28682 libsrcdir="."; \
28683 else \
28684 srcdiroption="--srcdir=$${topdir}/zlib"; \
28685 libsrcdir="$$s/zlib"; \
28686 fi; \
28687 rm -f no-such-file || : ; \
28688 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
28689 $(TARGET_CONFIGARGS) $${srcdiroption} \
28690 --with-target-subdir="$(TARGET_SUBDIR)" \
28691 || exit 1
28692 @endif target-zlib
28694 .PHONY: all-target-zlib maybe-all-target-zlib
28695 maybe-all-target-zlib:
28696 @if target-zlib
28697 TARGET-target-zlib=all
28698 maybe-all-target-zlib: all-target-zlib
28699 all-target-zlib: configure-target-zlib
28700 @r=`${PWD_COMMAND}`; export r; \
28701 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28702 $(SET_LIB_PATH) \
28703 $(NORMAL_TARGET_EXPORTS) \
28704 (cd $(TARGET_SUBDIR)/zlib && \
28705 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-zlib))
28706 @endif target-zlib
28708 .PHONY: check-target-zlib maybe-check-target-zlib
28709 maybe-check-target-zlib:
28710 @if target-zlib
28711 maybe-check-target-zlib: check-target-zlib
28713 check-target-zlib:
28714 @r=`${PWD_COMMAND}`; export r; \
28715 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28716 $(SET_LIB_PATH) \
28717 $(NORMAL_TARGET_EXPORTS) \
28718 (cd $(TARGET_SUBDIR)/zlib && \
28719 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
28721 @endif target-zlib
28723 .PHONY: install-target-zlib maybe-install-target-zlib
28724 maybe-install-target-zlib:
28725 @if target-zlib
28726 maybe-install-target-zlib: install-target-zlib
28728 install-target-zlib: installdirs
28729 @r=`${PWD_COMMAND}`; export r; \
28730 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28731 $(SET_LIB_PATH) \
28732 $(NORMAL_TARGET_EXPORTS) \
28733 (cd $(TARGET_SUBDIR)/zlib && \
28734 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
28736 @endif target-zlib
28738 # Other targets (info, dvi, etc.)
28740 .PHONY: maybe-info-target-zlib info-target-zlib
28741 maybe-info-target-zlib:
28742 @if target-zlib
28743 maybe-info-target-zlib: info-target-zlib
28745 info-target-zlib: \
28746 configure-target-zlib
28747 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
28748 r=`${PWD_COMMAND}`; export r; \
28749 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28750 $(SET_LIB_PATH) \
28751 $(NORMAL_TARGET_EXPORTS) \
28752 echo "Doing info in $(TARGET_SUBDIR)/zlib" ; \
28753 for flag in $(EXTRA_TARGET_FLAGS); do \
28754 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28755 done; \
28756 (cd $(TARGET_SUBDIR)/zlib && \
28757 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28758 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28759 "RANLIB=$${RANLIB}" \
28760 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28761 info) \
28762 || exit 1
28764 @endif target-zlib
28766 .PHONY: maybe-dvi-target-zlib dvi-target-zlib
28767 maybe-dvi-target-zlib:
28768 @if target-zlib
28769 maybe-dvi-target-zlib: dvi-target-zlib
28771 dvi-target-zlib: \
28772 configure-target-zlib
28773 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
28774 r=`${PWD_COMMAND}`; export r; \
28775 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28776 $(SET_LIB_PATH) \
28777 $(NORMAL_TARGET_EXPORTS) \
28778 echo "Doing dvi in $(TARGET_SUBDIR)/zlib" ; \
28779 for flag in $(EXTRA_TARGET_FLAGS); do \
28780 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28781 done; \
28782 (cd $(TARGET_SUBDIR)/zlib && \
28783 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28784 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28785 "RANLIB=$${RANLIB}" \
28786 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28787 dvi) \
28788 || exit 1
28790 @endif target-zlib
28792 .PHONY: maybe-html-target-zlib html-target-zlib
28793 maybe-html-target-zlib:
28794 @if target-zlib
28795 maybe-html-target-zlib: html-target-zlib
28797 html-target-zlib: \
28798 configure-target-zlib
28799 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
28800 r=`${PWD_COMMAND}`; export r; \
28801 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28802 $(SET_LIB_PATH) \
28803 $(NORMAL_TARGET_EXPORTS) \
28804 echo "Doing html in $(TARGET_SUBDIR)/zlib" ; \
28805 for flag in $(EXTRA_TARGET_FLAGS); do \
28806 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28807 done; \
28808 (cd $(TARGET_SUBDIR)/zlib && \
28809 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28810 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28811 "RANLIB=$${RANLIB}" \
28812 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28813 html) \
28814 || exit 1
28816 @endif target-zlib
28818 .PHONY: maybe-TAGS-target-zlib TAGS-target-zlib
28819 maybe-TAGS-target-zlib:
28820 @if target-zlib
28821 maybe-TAGS-target-zlib: TAGS-target-zlib
28823 TAGS-target-zlib: \
28824 configure-target-zlib
28825 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
28826 r=`${PWD_COMMAND}`; export r; \
28827 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28828 $(SET_LIB_PATH) \
28829 $(NORMAL_TARGET_EXPORTS) \
28830 echo "Doing TAGS in $(TARGET_SUBDIR)/zlib" ; \
28831 for flag in $(EXTRA_TARGET_FLAGS); do \
28832 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28833 done; \
28834 (cd $(TARGET_SUBDIR)/zlib && \
28835 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28836 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28837 "RANLIB=$${RANLIB}" \
28838 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28839 TAGS) \
28840 || exit 1
28842 @endif target-zlib
28844 .PHONY: maybe-install-info-target-zlib install-info-target-zlib
28845 maybe-install-info-target-zlib:
28846 @if target-zlib
28847 maybe-install-info-target-zlib: install-info-target-zlib
28849 install-info-target-zlib: \
28850 configure-target-zlib \
28851 info-target-zlib
28852 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
28853 r=`${PWD_COMMAND}`; export r; \
28854 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28855 $(SET_LIB_PATH) \
28856 $(NORMAL_TARGET_EXPORTS) \
28857 echo "Doing install-info in $(TARGET_SUBDIR)/zlib" ; \
28858 for flag in $(EXTRA_TARGET_FLAGS); do \
28859 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28860 done; \
28861 (cd $(TARGET_SUBDIR)/zlib && \
28862 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28863 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28864 "RANLIB=$${RANLIB}" \
28865 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28866 install-info) \
28867 || exit 1
28869 @endif target-zlib
28871 .PHONY: maybe-installcheck-target-zlib installcheck-target-zlib
28872 maybe-installcheck-target-zlib:
28873 @if target-zlib
28874 maybe-installcheck-target-zlib: installcheck-target-zlib
28876 installcheck-target-zlib: \
28877 configure-target-zlib
28878 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
28879 r=`${PWD_COMMAND}`; export r; \
28880 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28881 $(SET_LIB_PATH) \
28882 $(NORMAL_TARGET_EXPORTS) \
28883 echo "Doing installcheck in $(TARGET_SUBDIR)/zlib" ; \
28884 for flag in $(EXTRA_TARGET_FLAGS); do \
28885 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28886 done; \
28887 (cd $(TARGET_SUBDIR)/zlib && \
28888 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28889 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28890 "RANLIB=$${RANLIB}" \
28891 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28892 installcheck) \
28893 || exit 1
28895 @endif target-zlib
28897 .PHONY: maybe-mostlyclean-target-zlib mostlyclean-target-zlib
28898 maybe-mostlyclean-target-zlib:
28899 @if target-zlib
28900 maybe-mostlyclean-target-zlib: mostlyclean-target-zlib
28902 mostlyclean-target-zlib:
28903 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
28904 r=`${PWD_COMMAND}`; export r; \
28905 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28906 $(SET_LIB_PATH) \
28907 $(NORMAL_TARGET_EXPORTS) \
28908 echo "Doing mostlyclean in $(TARGET_SUBDIR)/zlib" ; \
28909 for flag in $(EXTRA_TARGET_FLAGS); do \
28910 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28911 done; \
28912 (cd $(TARGET_SUBDIR)/zlib && \
28913 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28914 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28915 "RANLIB=$${RANLIB}" \
28916 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28917 mostlyclean) \
28918 || exit 1
28920 @endif target-zlib
28922 .PHONY: maybe-clean-target-zlib clean-target-zlib
28923 maybe-clean-target-zlib:
28924 @if target-zlib
28925 maybe-clean-target-zlib: clean-target-zlib
28927 clean-target-zlib:
28928 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
28929 r=`${PWD_COMMAND}`; export r; \
28930 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28931 $(SET_LIB_PATH) \
28932 $(NORMAL_TARGET_EXPORTS) \
28933 echo "Doing clean in $(TARGET_SUBDIR)/zlib" ; \
28934 for flag in $(EXTRA_TARGET_FLAGS); do \
28935 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28936 done; \
28937 (cd $(TARGET_SUBDIR)/zlib && \
28938 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28939 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28940 "RANLIB=$${RANLIB}" \
28941 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28942 clean) \
28943 || exit 1
28945 @endif target-zlib
28947 .PHONY: maybe-distclean-target-zlib distclean-target-zlib
28948 maybe-distclean-target-zlib:
28949 @if target-zlib
28950 maybe-distclean-target-zlib: distclean-target-zlib
28952 distclean-target-zlib:
28953 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
28954 r=`${PWD_COMMAND}`; export r; \
28955 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28956 $(SET_LIB_PATH) \
28957 $(NORMAL_TARGET_EXPORTS) \
28958 echo "Doing distclean in $(TARGET_SUBDIR)/zlib" ; \
28959 for flag in $(EXTRA_TARGET_FLAGS); do \
28960 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28961 done; \
28962 (cd $(TARGET_SUBDIR)/zlib && \
28963 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28964 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28965 "RANLIB=$${RANLIB}" \
28966 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28967 distclean) \
28968 || exit 1
28970 @endif target-zlib
28972 .PHONY: maybe-maintainer-clean-target-zlib maintainer-clean-target-zlib
28973 maybe-maintainer-clean-target-zlib:
28974 @if target-zlib
28975 maybe-maintainer-clean-target-zlib: maintainer-clean-target-zlib
28977 maintainer-clean-target-zlib:
28978 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
28979 r=`${PWD_COMMAND}`; export r; \
28980 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28981 $(SET_LIB_PATH) \
28982 $(NORMAL_TARGET_EXPORTS) \
28983 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/zlib" ; \
28984 for flag in $(EXTRA_TARGET_FLAGS); do \
28985 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28986 done; \
28987 (cd $(TARGET_SUBDIR)/zlib && \
28988 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28989 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28990 "RANLIB=$${RANLIB}" \
28991 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28992 maintainer-clean) \
28993 || exit 1
28995 @endif target-zlib
28998 .PHONY: configure-target-boehm-gc maybe-configure-target-boehm-gc
28999 maybe-configure-target-boehm-gc:
29000 @if target-boehm-gc
29001 maybe-configure-target-boehm-gc: configure-target-boehm-gc
29003 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
29004 $(TARGET_SUBDIR)/boehm-gc/multilib.out: multilib.out
29005 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/boehm-gc ; \
29006 rm -f $(TARGET_SUBDIR)/boehm-gc/Makefile || : ; \
29007 cp multilib.out $(TARGET_SUBDIR)/boehm-gc/multilib.out
29009 configure-target-boehm-gc: $(TARGET_SUBDIR)/boehm-gc/multilib.out
29010 @test ! -f $(TARGET_SUBDIR)/boehm-gc/Makefile || exit 0; \
29011 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/boehm-gc ; \
29012 r=`${PWD_COMMAND}`; export r; \
29013 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29014 $(SET_LIB_PATH) \
29015 $(NORMAL_TARGET_EXPORTS) \
29016 echo Configuring in $(TARGET_SUBDIR)/boehm-gc; \
29017 cd "$(TARGET_SUBDIR)/boehm-gc" || exit 1; \
29018 case $(srcdir) in \
29019 /* | [A-Za-z]:[\\/]*) \
29020 topdir=$(srcdir) ;; \
29021 *) \
29022 case "$(TARGET_SUBDIR)" in \
29023 .) topdir="../$(srcdir)" ;; \
29024 *) topdir="../../$(srcdir)" ;; \
29025 esac ;; \
29026 esac; \
29027 srcdiroption="--srcdir=$${topdir}/boehm-gc"; \
29028 libsrcdir="$$s/boehm-gc"; \
29029 rm -f no-such-file || : ; \
29030 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
29031 $(TARGET_CONFIGARGS) $${srcdiroption} \
29032 --with-target-subdir="$(TARGET_SUBDIR)" \
29033 || exit 1
29034 @endif target-boehm-gc
29036 .PHONY: all-target-boehm-gc maybe-all-target-boehm-gc
29037 maybe-all-target-boehm-gc:
29038 @if target-boehm-gc
29039 TARGET-target-boehm-gc=all
29040 maybe-all-target-boehm-gc: all-target-boehm-gc
29041 all-target-boehm-gc: configure-target-boehm-gc
29042 @r=`${PWD_COMMAND}`; export r; \
29043 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29044 $(SET_LIB_PATH) \
29045 $(NORMAL_TARGET_EXPORTS) \
29046 (cd $(TARGET_SUBDIR)/boehm-gc && \
29047 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-boehm-gc))
29048 @endif target-boehm-gc
29050 .PHONY: check-target-boehm-gc maybe-check-target-boehm-gc
29051 maybe-check-target-boehm-gc:
29052 @if target-boehm-gc
29053 maybe-check-target-boehm-gc: check-target-boehm-gc
29055 check-target-boehm-gc:
29056 @r=`${PWD_COMMAND}`; export r; \
29057 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29058 $(SET_LIB_PATH) \
29059 $(NORMAL_TARGET_EXPORTS) \
29060 (cd $(TARGET_SUBDIR)/boehm-gc && \
29061 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
29063 @endif target-boehm-gc
29065 .PHONY: install-target-boehm-gc maybe-install-target-boehm-gc
29066 maybe-install-target-boehm-gc:
29067 @if target-boehm-gc
29068 maybe-install-target-boehm-gc: install-target-boehm-gc
29070 install-target-boehm-gc: installdirs
29071 @r=`${PWD_COMMAND}`; export r; \
29072 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29073 $(SET_LIB_PATH) \
29074 $(NORMAL_TARGET_EXPORTS) \
29075 (cd $(TARGET_SUBDIR)/boehm-gc && \
29076 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
29078 @endif target-boehm-gc
29080 # Other targets (info, dvi, etc.)
29082 .PHONY: maybe-info-target-boehm-gc info-target-boehm-gc
29083 maybe-info-target-boehm-gc:
29084 @if target-boehm-gc
29085 maybe-info-target-boehm-gc: info-target-boehm-gc
29087 info-target-boehm-gc: \
29088 configure-target-boehm-gc
29089 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
29090 r=`${PWD_COMMAND}`; export r; \
29091 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29092 $(SET_LIB_PATH) \
29093 $(NORMAL_TARGET_EXPORTS) \
29094 echo "Doing info in $(TARGET_SUBDIR)/boehm-gc" ; \
29095 for flag in $(EXTRA_TARGET_FLAGS); do \
29096 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29097 done; \
29098 (cd $(TARGET_SUBDIR)/boehm-gc && \
29099 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29100 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29101 "RANLIB=$${RANLIB}" \
29102 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29103 info) \
29104 || exit 1
29106 @endif target-boehm-gc
29108 .PHONY: maybe-dvi-target-boehm-gc dvi-target-boehm-gc
29109 maybe-dvi-target-boehm-gc:
29110 @if target-boehm-gc
29111 maybe-dvi-target-boehm-gc: dvi-target-boehm-gc
29113 dvi-target-boehm-gc: \
29114 configure-target-boehm-gc
29115 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
29116 r=`${PWD_COMMAND}`; export r; \
29117 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29118 $(SET_LIB_PATH) \
29119 $(NORMAL_TARGET_EXPORTS) \
29120 echo "Doing dvi in $(TARGET_SUBDIR)/boehm-gc" ; \
29121 for flag in $(EXTRA_TARGET_FLAGS); do \
29122 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29123 done; \
29124 (cd $(TARGET_SUBDIR)/boehm-gc && \
29125 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29126 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29127 "RANLIB=$${RANLIB}" \
29128 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29129 dvi) \
29130 || exit 1
29132 @endif target-boehm-gc
29134 .PHONY: maybe-html-target-boehm-gc html-target-boehm-gc
29135 maybe-html-target-boehm-gc:
29136 @if target-boehm-gc
29137 maybe-html-target-boehm-gc: html-target-boehm-gc
29139 html-target-boehm-gc: \
29140 configure-target-boehm-gc
29141 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
29142 r=`${PWD_COMMAND}`; export r; \
29143 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29144 $(SET_LIB_PATH) \
29145 $(NORMAL_TARGET_EXPORTS) \
29146 echo "Doing html in $(TARGET_SUBDIR)/boehm-gc" ; \
29147 for flag in $(EXTRA_TARGET_FLAGS); do \
29148 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29149 done; \
29150 (cd $(TARGET_SUBDIR)/boehm-gc && \
29151 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29152 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29153 "RANLIB=$${RANLIB}" \
29154 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29155 html) \
29156 || exit 1
29158 @endif target-boehm-gc
29160 .PHONY: maybe-TAGS-target-boehm-gc TAGS-target-boehm-gc
29161 maybe-TAGS-target-boehm-gc:
29162 @if target-boehm-gc
29163 maybe-TAGS-target-boehm-gc: TAGS-target-boehm-gc
29165 TAGS-target-boehm-gc: \
29166 configure-target-boehm-gc
29167 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
29168 r=`${PWD_COMMAND}`; export r; \
29169 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29170 $(SET_LIB_PATH) \
29171 $(NORMAL_TARGET_EXPORTS) \
29172 echo "Doing TAGS in $(TARGET_SUBDIR)/boehm-gc" ; \
29173 for flag in $(EXTRA_TARGET_FLAGS); do \
29174 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29175 done; \
29176 (cd $(TARGET_SUBDIR)/boehm-gc && \
29177 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29178 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29179 "RANLIB=$${RANLIB}" \
29180 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29181 TAGS) \
29182 || exit 1
29184 @endif target-boehm-gc
29186 .PHONY: maybe-install-info-target-boehm-gc install-info-target-boehm-gc
29187 maybe-install-info-target-boehm-gc:
29188 @if target-boehm-gc
29189 maybe-install-info-target-boehm-gc: install-info-target-boehm-gc
29191 install-info-target-boehm-gc: \
29192 configure-target-boehm-gc \
29193 info-target-boehm-gc
29194 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
29195 r=`${PWD_COMMAND}`; export r; \
29196 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29197 $(SET_LIB_PATH) \
29198 $(NORMAL_TARGET_EXPORTS) \
29199 echo "Doing install-info in $(TARGET_SUBDIR)/boehm-gc" ; \
29200 for flag in $(EXTRA_TARGET_FLAGS); do \
29201 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29202 done; \
29203 (cd $(TARGET_SUBDIR)/boehm-gc && \
29204 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29205 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29206 "RANLIB=$${RANLIB}" \
29207 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29208 install-info) \
29209 || exit 1
29211 @endif target-boehm-gc
29213 .PHONY: maybe-installcheck-target-boehm-gc installcheck-target-boehm-gc
29214 maybe-installcheck-target-boehm-gc:
29215 @if target-boehm-gc
29216 maybe-installcheck-target-boehm-gc: installcheck-target-boehm-gc
29218 installcheck-target-boehm-gc: \
29219 configure-target-boehm-gc
29220 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
29221 r=`${PWD_COMMAND}`; export r; \
29222 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29223 $(SET_LIB_PATH) \
29224 $(NORMAL_TARGET_EXPORTS) \
29225 echo "Doing installcheck in $(TARGET_SUBDIR)/boehm-gc" ; \
29226 for flag in $(EXTRA_TARGET_FLAGS); do \
29227 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29228 done; \
29229 (cd $(TARGET_SUBDIR)/boehm-gc && \
29230 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29231 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29232 "RANLIB=$${RANLIB}" \
29233 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29234 installcheck) \
29235 || exit 1
29237 @endif target-boehm-gc
29239 .PHONY: maybe-mostlyclean-target-boehm-gc mostlyclean-target-boehm-gc
29240 maybe-mostlyclean-target-boehm-gc:
29241 @if target-boehm-gc
29242 maybe-mostlyclean-target-boehm-gc: mostlyclean-target-boehm-gc
29244 mostlyclean-target-boehm-gc:
29245 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
29246 r=`${PWD_COMMAND}`; export r; \
29247 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29248 $(SET_LIB_PATH) \
29249 $(NORMAL_TARGET_EXPORTS) \
29250 echo "Doing mostlyclean in $(TARGET_SUBDIR)/boehm-gc" ; \
29251 for flag in $(EXTRA_TARGET_FLAGS); do \
29252 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29253 done; \
29254 (cd $(TARGET_SUBDIR)/boehm-gc && \
29255 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29256 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29257 "RANLIB=$${RANLIB}" \
29258 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29259 mostlyclean) \
29260 || exit 1
29262 @endif target-boehm-gc
29264 .PHONY: maybe-clean-target-boehm-gc clean-target-boehm-gc
29265 maybe-clean-target-boehm-gc:
29266 @if target-boehm-gc
29267 maybe-clean-target-boehm-gc: clean-target-boehm-gc
29269 clean-target-boehm-gc:
29270 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
29271 r=`${PWD_COMMAND}`; export r; \
29272 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29273 $(SET_LIB_PATH) \
29274 $(NORMAL_TARGET_EXPORTS) \
29275 echo "Doing clean in $(TARGET_SUBDIR)/boehm-gc" ; \
29276 for flag in $(EXTRA_TARGET_FLAGS); do \
29277 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29278 done; \
29279 (cd $(TARGET_SUBDIR)/boehm-gc && \
29280 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29281 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29282 "RANLIB=$${RANLIB}" \
29283 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29284 clean) \
29285 || exit 1
29287 @endif target-boehm-gc
29289 .PHONY: maybe-distclean-target-boehm-gc distclean-target-boehm-gc
29290 maybe-distclean-target-boehm-gc:
29291 @if target-boehm-gc
29292 maybe-distclean-target-boehm-gc: distclean-target-boehm-gc
29294 distclean-target-boehm-gc:
29295 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
29296 r=`${PWD_COMMAND}`; export r; \
29297 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29298 $(SET_LIB_PATH) \
29299 $(NORMAL_TARGET_EXPORTS) \
29300 echo "Doing distclean in $(TARGET_SUBDIR)/boehm-gc" ; \
29301 for flag in $(EXTRA_TARGET_FLAGS); do \
29302 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29303 done; \
29304 (cd $(TARGET_SUBDIR)/boehm-gc && \
29305 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29306 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29307 "RANLIB=$${RANLIB}" \
29308 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29309 distclean) \
29310 || exit 1
29312 @endif target-boehm-gc
29314 .PHONY: maybe-maintainer-clean-target-boehm-gc maintainer-clean-target-boehm-gc
29315 maybe-maintainer-clean-target-boehm-gc:
29316 @if target-boehm-gc
29317 maybe-maintainer-clean-target-boehm-gc: maintainer-clean-target-boehm-gc
29319 maintainer-clean-target-boehm-gc:
29320 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
29321 r=`${PWD_COMMAND}`; export r; \
29322 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29323 $(SET_LIB_PATH) \
29324 $(NORMAL_TARGET_EXPORTS) \
29325 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/boehm-gc" ; \
29326 for flag in $(EXTRA_TARGET_FLAGS); do \
29327 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29328 done; \
29329 (cd $(TARGET_SUBDIR)/boehm-gc && \
29330 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29331 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29332 "RANLIB=$${RANLIB}" \
29333 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29334 maintainer-clean) \
29335 || exit 1
29337 @endif target-boehm-gc
29340 .PHONY: configure-target-qthreads maybe-configure-target-qthreads
29341 maybe-configure-target-qthreads:
29342 @if target-qthreads
29343 maybe-configure-target-qthreads: configure-target-qthreads
29345 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
29346 $(TARGET_SUBDIR)/qthreads/multilib.out: multilib.out
29347 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/qthreads ; \
29348 rm -f $(TARGET_SUBDIR)/qthreads/Makefile || : ; \
29349 cp multilib.out $(TARGET_SUBDIR)/qthreads/multilib.out
29351 configure-target-qthreads: $(TARGET_SUBDIR)/qthreads/multilib.out
29352 @test ! -f $(TARGET_SUBDIR)/qthreads/Makefile || exit 0; \
29353 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/qthreads ; \
29354 r=`${PWD_COMMAND}`; export r; \
29355 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29356 $(SET_LIB_PATH) \
29357 $(NORMAL_TARGET_EXPORTS) \
29358 echo Configuring in $(TARGET_SUBDIR)/qthreads; \
29359 cd "$(TARGET_SUBDIR)/qthreads" || exit 1; \
29360 case $(srcdir) in \
29361 /* | [A-Za-z]:[\\/]*) \
29362 topdir=$(srcdir) ;; \
29363 *) \
29364 case "$(TARGET_SUBDIR)" in \
29365 .) topdir="../$(srcdir)" ;; \
29366 *) topdir="../../$(srcdir)" ;; \
29367 esac ;; \
29368 esac; \
29369 srcdiroption="--srcdir=$${topdir}/qthreads"; \
29370 libsrcdir="$$s/qthreads"; \
29371 rm -f no-such-file || : ; \
29372 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
29373 $(TARGET_CONFIGARGS) $${srcdiroption} \
29374 --with-target-subdir="$(TARGET_SUBDIR)" \
29375 || exit 1
29376 @endif target-qthreads
29378 .PHONY: all-target-qthreads maybe-all-target-qthreads
29379 maybe-all-target-qthreads:
29380 @if target-qthreads
29381 TARGET-target-qthreads=all
29382 maybe-all-target-qthreads: all-target-qthreads
29383 all-target-qthreads: configure-target-qthreads
29384 @r=`${PWD_COMMAND}`; export r; \
29385 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29386 $(SET_LIB_PATH) \
29387 $(NORMAL_TARGET_EXPORTS) \
29388 (cd $(TARGET_SUBDIR)/qthreads && \
29389 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-qthreads))
29390 @endif target-qthreads
29392 .PHONY: check-target-qthreads maybe-check-target-qthreads
29393 maybe-check-target-qthreads:
29394 @if target-qthreads
29395 maybe-check-target-qthreads: check-target-qthreads
29397 check-target-qthreads:
29398 @r=`${PWD_COMMAND}`; export r; \
29399 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29400 $(SET_LIB_PATH) \
29401 $(NORMAL_TARGET_EXPORTS) \
29402 (cd $(TARGET_SUBDIR)/qthreads && \
29403 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
29405 @endif target-qthreads
29407 .PHONY: install-target-qthreads maybe-install-target-qthreads
29408 maybe-install-target-qthreads:
29409 @if target-qthreads
29410 maybe-install-target-qthreads: install-target-qthreads
29412 install-target-qthreads: installdirs
29413 @r=`${PWD_COMMAND}`; export r; \
29414 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29415 $(SET_LIB_PATH) \
29416 $(NORMAL_TARGET_EXPORTS) \
29417 (cd $(TARGET_SUBDIR)/qthreads && \
29418 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
29420 @endif target-qthreads
29422 # Other targets (info, dvi, etc.)
29424 .PHONY: maybe-info-target-qthreads info-target-qthreads
29425 maybe-info-target-qthreads:
29426 @if target-qthreads
29427 maybe-info-target-qthreads: info-target-qthreads
29429 info-target-qthreads: \
29430 configure-target-qthreads
29431 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
29432 r=`${PWD_COMMAND}`; export r; \
29433 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29434 $(SET_LIB_PATH) \
29435 $(NORMAL_TARGET_EXPORTS) \
29436 echo "Doing info in $(TARGET_SUBDIR)/qthreads" ; \
29437 for flag in $(EXTRA_TARGET_FLAGS); do \
29438 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29439 done; \
29440 (cd $(TARGET_SUBDIR)/qthreads && \
29441 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29442 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29443 "RANLIB=$${RANLIB}" \
29444 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29445 info) \
29446 || exit 1
29448 @endif target-qthreads
29450 .PHONY: maybe-dvi-target-qthreads dvi-target-qthreads
29451 maybe-dvi-target-qthreads:
29452 @if target-qthreads
29453 maybe-dvi-target-qthreads: dvi-target-qthreads
29455 dvi-target-qthreads: \
29456 configure-target-qthreads
29457 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
29458 r=`${PWD_COMMAND}`; export r; \
29459 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29460 $(SET_LIB_PATH) \
29461 $(NORMAL_TARGET_EXPORTS) \
29462 echo "Doing dvi in $(TARGET_SUBDIR)/qthreads" ; \
29463 for flag in $(EXTRA_TARGET_FLAGS); do \
29464 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29465 done; \
29466 (cd $(TARGET_SUBDIR)/qthreads && \
29467 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29468 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29469 "RANLIB=$${RANLIB}" \
29470 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29471 dvi) \
29472 || exit 1
29474 @endif target-qthreads
29476 .PHONY: maybe-html-target-qthreads html-target-qthreads
29477 maybe-html-target-qthreads:
29478 @if target-qthreads
29479 maybe-html-target-qthreads: html-target-qthreads
29481 html-target-qthreads: \
29482 configure-target-qthreads
29483 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
29484 r=`${PWD_COMMAND}`; export r; \
29485 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29486 $(SET_LIB_PATH) \
29487 $(NORMAL_TARGET_EXPORTS) \
29488 echo "Doing html in $(TARGET_SUBDIR)/qthreads" ; \
29489 for flag in $(EXTRA_TARGET_FLAGS); do \
29490 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29491 done; \
29492 (cd $(TARGET_SUBDIR)/qthreads && \
29493 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29494 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29495 "RANLIB=$${RANLIB}" \
29496 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29497 html) \
29498 || exit 1
29500 @endif target-qthreads
29502 .PHONY: maybe-TAGS-target-qthreads TAGS-target-qthreads
29503 maybe-TAGS-target-qthreads:
29504 @if target-qthreads
29505 maybe-TAGS-target-qthreads: TAGS-target-qthreads
29507 TAGS-target-qthreads: \
29508 configure-target-qthreads
29509 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
29510 r=`${PWD_COMMAND}`; export r; \
29511 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29512 $(SET_LIB_PATH) \
29513 $(NORMAL_TARGET_EXPORTS) \
29514 echo "Doing TAGS in $(TARGET_SUBDIR)/qthreads" ; \
29515 for flag in $(EXTRA_TARGET_FLAGS); do \
29516 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29517 done; \
29518 (cd $(TARGET_SUBDIR)/qthreads && \
29519 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29520 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29521 "RANLIB=$${RANLIB}" \
29522 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29523 TAGS) \
29524 || exit 1
29526 @endif target-qthreads
29528 .PHONY: maybe-install-info-target-qthreads install-info-target-qthreads
29529 maybe-install-info-target-qthreads:
29530 @if target-qthreads
29531 maybe-install-info-target-qthreads: install-info-target-qthreads
29533 install-info-target-qthreads: \
29534 configure-target-qthreads \
29535 info-target-qthreads
29536 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
29537 r=`${PWD_COMMAND}`; export r; \
29538 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29539 $(SET_LIB_PATH) \
29540 $(NORMAL_TARGET_EXPORTS) \
29541 echo "Doing install-info in $(TARGET_SUBDIR)/qthreads" ; \
29542 for flag in $(EXTRA_TARGET_FLAGS); do \
29543 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29544 done; \
29545 (cd $(TARGET_SUBDIR)/qthreads && \
29546 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29547 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29548 "RANLIB=$${RANLIB}" \
29549 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29550 install-info) \
29551 || exit 1
29553 @endif target-qthreads
29555 .PHONY: maybe-installcheck-target-qthreads installcheck-target-qthreads
29556 maybe-installcheck-target-qthreads:
29557 @if target-qthreads
29558 maybe-installcheck-target-qthreads: installcheck-target-qthreads
29560 installcheck-target-qthreads: \
29561 configure-target-qthreads
29562 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
29563 r=`${PWD_COMMAND}`; export r; \
29564 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29565 $(SET_LIB_PATH) \
29566 $(NORMAL_TARGET_EXPORTS) \
29567 echo "Doing installcheck in $(TARGET_SUBDIR)/qthreads" ; \
29568 for flag in $(EXTRA_TARGET_FLAGS); do \
29569 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29570 done; \
29571 (cd $(TARGET_SUBDIR)/qthreads && \
29572 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29573 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29574 "RANLIB=$${RANLIB}" \
29575 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29576 installcheck) \
29577 || exit 1
29579 @endif target-qthreads
29581 .PHONY: maybe-mostlyclean-target-qthreads mostlyclean-target-qthreads
29582 maybe-mostlyclean-target-qthreads:
29583 @if target-qthreads
29584 maybe-mostlyclean-target-qthreads: mostlyclean-target-qthreads
29586 mostlyclean-target-qthreads:
29587 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
29588 r=`${PWD_COMMAND}`; export r; \
29589 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29590 $(SET_LIB_PATH) \
29591 $(NORMAL_TARGET_EXPORTS) \
29592 echo "Doing mostlyclean in $(TARGET_SUBDIR)/qthreads" ; \
29593 for flag in $(EXTRA_TARGET_FLAGS); do \
29594 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29595 done; \
29596 (cd $(TARGET_SUBDIR)/qthreads && \
29597 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29598 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29599 "RANLIB=$${RANLIB}" \
29600 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29601 mostlyclean) \
29602 || exit 1
29604 @endif target-qthreads
29606 .PHONY: maybe-clean-target-qthreads clean-target-qthreads
29607 maybe-clean-target-qthreads:
29608 @if target-qthreads
29609 maybe-clean-target-qthreads: clean-target-qthreads
29611 clean-target-qthreads:
29612 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
29613 r=`${PWD_COMMAND}`; export r; \
29614 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29615 $(SET_LIB_PATH) \
29616 $(NORMAL_TARGET_EXPORTS) \
29617 echo "Doing clean in $(TARGET_SUBDIR)/qthreads" ; \
29618 for flag in $(EXTRA_TARGET_FLAGS); do \
29619 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29620 done; \
29621 (cd $(TARGET_SUBDIR)/qthreads && \
29622 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29623 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29624 "RANLIB=$${RANLIB}" \
29625 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29626 clean) \
29627 || exit 1
29629 @endif target-qthreads
29631 .PHONY: maybe-distclean-target-qthreads distclean-target-qthreads
29632 maybe-distclean-target-qthreads:
29633 @if target-qthreads
29634 maybe-distclean-target-qthreads: distclean-target-qthreads
29636 distclean-target-qthreads:
29637 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
29638 r=`${PWD_COMMAND}`; export r; \
29639 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29640 $(SET_LIB_PATH) \
29641 $(NORMAL_TARGET_EXPORTS) \
29642 echo "Doing distclean in $(TARGET_SUBDIR)/qthreads" ; \
29643 for flag in $(EXTRA_TARGET_FLAGS); do \
29644 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29645 done; \
29646 (cd $(TARGET_SUBDIR)/qthreads && \
29647 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29648 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29649 "RANLIB=$${RANLIB}" \
29650 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29651 distclean) \
29652 || exit 1
29654 @endif target-qthreads
29656 .PHONY: maybe-maintainer-clean-target-qthreads maintainer-clean-target-qthreads
29657 maybe-maintainer-clean-target-qthreads:
29658 @if target-qthreads
29659 maybe-maintainer-clean-target-qthreads: maintainer-clean-target-qthreads
29661 maintainer-clean-target-qthreads:
29662 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
29663 r=`${PWD_COMMAND}`; export r; \
29664 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29665 $(SET_LIB_PATH) \
29666 $(NORMAL_TARGET_EXPORTS) \
29667 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/qthreads" ; \
29668 for flag in $(EXTRA_TARGET_FLAGS); do \
29669 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29670 done; \
29671 (cd $(TARGET_SUBDIR)/qthreads && \
29672 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29673 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29674 "RANLIB=$${RANLIB}" \
29675 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29676 maintainer-clean) \
29677 || exit 1
29679 @endif target-qthreads
29682 .PHONY: configure-target-rda maybe-configure-target-rda
29683 maybe-configure-target-rda:
29684 @if target-rda
29685 maybe-configure-target-rda: configure-target-rda
29687 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
29688 $(TARGET_SUBDIR)/rda/multilib.out: multilib.out
29689 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/rda ; \
29690 rm -f $(TARGET_SUBDIR)/rda/Makefile || : ; \
29691 cp multilib.out $(TARGET_SUBDIR)/rda/multilib.out
29693 configure-target-rda: $(TARGET_SUBDIR)/rda/multilib.out
29694 @test ! -f $(TARGET_SUBDIR)/rda/Makefile || exit 0; \
29695 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/rda ; \
29696 r=`${PWD_COMMAND}`; export r; \
29697 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29698 $(SET_LIB_PATH) \
29699 $(NORMAL_TARGET_EXPORTS) \
29700 echo Configuring in $(TARGET_SUBDIR)/rda; \
29701 cd "$(TARGET_SUBDIR)/rda" || exit 1; \
29702 case $(srcdir) in \
29703 /* | [A-Za-z]:[\\/]*) \
29704 topdir=$(srcdir) ;; \
29705 *) \
29706 case "$(TARGET_SUBDIR)" in \
29707 .) topdir="../$(srcdir)" ;; \
29708 *) topdir="../../$(srcdir)" ;; \
29709 esac ;; \
29710 esac; \
29711 srcdiroption="--srcdir=$${topdir}/rda"; \
29712 libsrcdir="$$s/rda"; \
29713 rm -f no-such-file || : ; \
29714 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
29715 $(TARGET_CONFIGARGS) $${srcdiroption} \
29716 --with-target-subdir="$(TARGET_SUBDIR)" \
29717 || exit 1
29718 @endif target-rda
29720 .PHONY: all-target-rda maybe-all-target-rda
29721 maybe-all-target-rda:
29722 @if target-rda
29723 TARGET-target-rda=all
29724 maybe-all-target-rda: all-target-rda
29725 all-target-rda: configure-target-rda
29726 @r=`${PWD_COMMAND}`; export r; \
29727 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29728 $(SET_LIB_PATH) \
29729 $(NORMAL_TARGET_EXPORTS) \
29730 (cd $(TARGET_SUBDIR)/rda && \
29731 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-rda))
29732 @endif target-rda
29734 .PHONY: check-target-rda maybe-check-target-rda
29735 maybe-check-target-rda:
29736 @if target-rda
29737 maybe-check-target-rda: check-target-rda
29739 check-target-rda:
29740 @r=`${PWD_COMMAND}`; export r; \
29741 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29742 $(SET_LIB_PATH) \
29743 $(NORMAL_TARGET_EXPORTS) \
29744 (cd $(TARGET_SUBDIR)/rda && \
29745 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
29747 @endif target-rda
29749 .PHONY: install-target-rda maybe-install-target-rda
29750 maybe-install-target-rda:
29751 @if target-rda
29752 maybe-install-target-rda: install-target-rda
29754 install-target-rda: installdirs
29755 @r=`${PWD_COMMAND}`; export r; \
29756 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29757 $(SET_LIB_PATH) \
29758 $(NORMAL_TARGET_EXPORTS) \
29759 (cd $(TARGET_SUBDIR)/rda && \
29760 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
29762 @endif target-rda
29764 # Other targets (info, dvi, etc.)
29766 .PHONY: maybe-info-target-rda info-target-rda
29767 maybe-info-target-rda:
29768 @if target-rda
29769 maybe-info-target-rda: info-target-rda
29771 info-target-rda: \
29772 configure-target-rda
29773 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
29774 r=`${PWD_COMMAND}`; export r; \
29775 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29776 $(SET_LIB_PATH) \
29777 $(NORMAL_TARGET_EXPORTS) \
29778 echo "Doing info in $(TARGET_SUBDIR)/rda" ; \
29779 for flag in $(EXTRA_TARGET_FLAGS); do \
29780 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29781 done; \
29782 (cd $(TARGET_SUBDIR)/rda && \
29783 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29784 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29785 "RANLIB=$${RANLIB}" \
29786 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29787 info) \
29788 || exit 1
29790 @endif target-rda
29792 .PHONY: maybe-dvi-target-rda dvi-target-rda
29793 maybe-dvi-target-rda:
29794 @if target-rda
29795 maybe-dvi-target-rda: dvi-target-rda
29797 dvi-target-rda: \
29798 configure-target-rda
29799 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
29800 r=`${PWD_COMMAND}`; export r; \
29801 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29802 $(SET_LIB_PATH) \
29803 $(NORMAL_TARGET_EXPORTS) \
29804 echo "Doing dvi in $(TARGET_SUBDIR)/rda" ; \
29805 for flag in $(EXTRA_TARGET_FLAGS); do \
29806 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29807 done; \
29808 (cd $(TARGET_SUBDIR)/rda && \
29809 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29810 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29811 "RANLIB=$${RANLIB}" \
29812 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29813 dvi) \
29814 || exit 1
29816 @endif target-rda
29818 .PHONY: maybe-html-target-rda html-target-rda
29819 maybe-html-target-rda:
29820 @if target-rda
29821 maybe-html-target-rda: html-target-rda
29823 html-target-rda: \
29824 configure-target-rda
29825 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
29826 r=`${PWD_COMMAND}`; export r; \
29827 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29828 $(SET_LIB_PATH) \
29829 $(NORMAL_TARGET_EXPORTS) \
29830 echo "Doing html in $(TARGET_SUBDIR)/rda" ; \
29831 for flag in $(EXTRA_TARGET_FLAGS); do \
29832 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29833 done; \
29834 (cd $(TARGET_SUBDIR)/rda && \
29835 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29836 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29837 "RANLIB=$${RANLIB}" \
29838 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29839 html) \
29840 || exit 1
29842 @endif target-rda
29844 .PHONY: maybe-TAGS-target-rda TAGS-target-rda
29845 maybe-TAGS-target-rda:
29846 @if target-rda
29847 maybe-TAGS-target-rda: TAGS-target-rda
29849 TAGS-target-rda: \
29850 configure-target-rda
29851 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
29852 r=`${PWD_COMMAND}`; export r; \
29853 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29854 $(SET_LIB_PATH) \
29855 $(NORMAL_TARGET_EXPORTS) \
29856 echo "Doing TAGS in $(TARGET_SUBDIR)/rda" ; \
29857 for flag in $(EXTRA_TARGET_FLAGS); do \
29858 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29859 done; \
29860 (cd $(TARGET_SUBDIR)/rda && \
29861 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29862 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29863 "RANLIB=$${RANLIB}" \
29864 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29865 TAGS) \
29866 || exit 1
29868 @endif target-rda
29870 .PHONY: maybe-install-info-target-rda install-info-target-rda
29871 maybe-install-info-target-rda:
29872 @if target-rda
29873 maybe-install-info-target-rda: install-info-target-rda
29875 install-info-target-rda: \
29876 configure-target-rda \
29877 info-target-rda
29878 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
29879 r=`${PWD_COMMAND}`; export r; \
29880 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29881 $(SET_LIB_PATH) \
29882 $(NORMAL_TARGET_EXPORTS) \
29883 echo "Doing install-info in $(TARGET_SUBDIR)/rda" ; \
29884 for flag in $(EXTRA_TARGET_FLAGS); do \
29885 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29886 done; \
29887 (cd $(TARGET_SUBDIR)/rda && \
29888 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29889 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29890 "RANLIB=$${RANLIB}" \
29891 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29892 install-info) \
29893 || exit 1
29895 @endif target-rda
29897 .PHONY: maybe-installcheck-target-rda installcheck-target-rda
29898 maybe-installcheck-target-rda:
29899 @if target-rda
29900 maybe-installcheck-target-rda: installcheck-target-rda
29902 installcheck-target-rda: \
29903 configure-target-rda
29904 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
29905 r=`${PWD_COMMAND}`; export r; \
29906 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29907 $(SET_LIB_PATH) \
29908 $(NORMAL_TARGET_EXPORTS) \
29909 echo "Doing installcheck in $(TARGET_SUBDIR)/rda" ; \
29910 for flag in $(EXTRA_TARGET_FLAGS); do \
29911 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29912 done; \
29913 (cd $(TARGET_SUBDIR)/rda && \
29914 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29915 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29916 "RANLIB=$${RANLIB}" \
29917 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29918 installcheck) \
29919 || exit 1
29921 @endif target-rda
29923 .PHONY: maybe-mostlyclean-target-rda mostlyclean-target-rda
29924 maybe-mostlyclean-target-rda:
29925 @if target-rda
29926 maybe-mostlyclean-target-rda: mostlyclean-target-rda
29928 mostlyclean-target-rda:
29929 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
29930 r=`${PWD_COMMAND}`; export r; \
29931 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29932 $(SET_LIB_PATH) \
29933 $(NORMAL_TARGET_EXPORTS) \
29934 echo "Doing mostlyclean in $(TARGET_SUBDIR)/rda" ; \
29935 for flag in $(EXTRA_TARGET_FLAGS); do \
29936 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29937 done; \
29938 (cd $(TARGET_SUBDIR)/rda && \
29939 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29940 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29941 "RANLIB=$${RANLIB}" \
29942 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29943 mostlyclean) \
29944 || exit 1
29946 @endif target-rda
29948 .PHONY: maybe-clean-target-rda clean-target-rda
29949 maybe-clean-target-rda:
29950 @if target-rda
29951 maybe-clean-target-rda: clean-target-rda
29953 clean-target-rda:
29954 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
29955 r=`${PWD_COMMAND}`; export r; \
29956 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29957 $(SET_LIB_PATH) \
29958 $(NORMAL_TARGET_EXPORTS) \
29959 echo "Doing clean in $(TARGET_SUBDIR)/rda" ; \
29960 for flag in $(EXTRA_TARGET_FLAGS); do \
29961 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29962 done; \
29963 (cd $(TARGET_SUBDIR)/rda && \
29964 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29965 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29966 "RANLIB=$${RANLIB}" \
29967 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29968 clean) \
29969 || exit 1
29971 @endif target-rda
29973 .PHONY: maybe-distclean-target-rda distclean-target-rda
29974 maybe-distclean-target-rda:
29975 @if target-rda
29976 maybe-distclean-target-rda: distclean-target-rda
29978 distclean-target-rda:
29979 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
29980 r=`${PWD_COMMAND}`; export r; \
29981 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29982 $(SET_LIB_PATH) \
29983 $(NORMAL_TARGET_EXPORTS) \
29984 echo "Doing distclean in $(TARGET_SUBDIR)/rda" ; \
29985 for flag in $(EXTRA_TARGET_FLAGS); do \
29986 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29987 done; \
29988 (cd $(TARGET_SUBDIR)/rda && \
29989 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29990 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29991 "RANLIB=$${RANLIB}" \
29992 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29993 distclean) \
29994 || exit 1
29996 @endif target-rda
29998 .PHONY: maybe-maintainer-clean-target-rda maintainer-clean-target-rda
29999 maybe-maintainer-clean-target-rda:
30000 @if target-rda
30001 maybe-maintainer-clean-target-rda: maintainer-clean-target-rda
30003 maintainer-clean-target-rda:
30004 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
30005 r=`${PWD_COMMAND}`; export r; \
30006 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30007 $(SET_LIB_PATH) \
30008 $(NORMAL_TARGET_EXPORTS) \
30009 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/rda" ; \
30010 for flag in $(EXTRA_TARGET_FLAGS); do \
30011 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30012 done; \
30013 (cd $(TARGET_SUBDIR)/rda && \
30014 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30015 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30016 "RANLIB=$${RANLIB}" \
30017 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30018 maintainer-clean) \
30019 || exit 1
30021 @endif target-rda
30024 .PHONY: configure-target-libada maybe-configure-target-libada
30025 maybe-configure-target-libada:
30026 @if target-libada
30027 maybe-configure-target-libada: configure-target-libada
30029 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
30030 $(TARGET_SUBDIR)/libada/multilib.out: multilib.out
30031 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libada ; \
30032 rm -f $(TARGET_SUBDIR)/libada/Makefile || : ; \
30033 cp multilib.out $(TARGET_SUBDIR)/libada/multilib.out
30035 configure-target-libada: $(TARGET_SUBDIR)/libada/multilib.out
30036 @test ! -f $(TARGET_SUBDIR)/libada/Makefile || exit 0; \
30037 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libada ; \
30038 r=`${PWD_COMMAND}`; export r; \
30039 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30040 $(SET_LIB_PATH) \
30041 $(NORMAL_TARGET_EXPORTS) \
30042 echo Configuring in $(TARGET_SUBDIR)/libada; \
30043 cd "$(TARGET_SUBDIR)/libada" || exit 1; \
30044 case $(srcdir) in \
30045 /* | [A-Za-z]:[\\/]*) \
30046 topdir=$(srcdir) ;; \
30047 *) \
30048 case "$(TARGET_SUBDIR)" in \
30049 .) topdir="../$(srcdir)" ;; \
30050 *) topdir="../../$(srcdir)" ;; \
30051 esac ;; \
30052 esac; \
30053 srcdiroption="--srcdir=$${topdir}/libada"; \
30054 libsrcdir="$$s/libada"; \
30055 rm -f no-such-file || : ; \
30056 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
30057 $(TARGET_CONFIGARGS) $${srcdiroption} \
30058 --with-target-subdir="$(TARGET_SUBDIR)" \
30059 || exit 1
30060 @endif target-libada
30062 .PHONY: all-target-libada maybe-all-target-libada
30063 maybe-all-target-libada:
30064 @if target-libada
30065 TARGET-target-libada=all
30066 maybe-all-target-libada: all-target-libada
30067 all-target-libada: configure-target-libada
30068 @r=`${PWD_COMMAND}`; export r; \
30069 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30070 $(SET_LIB_PATH) \
30071 $(NORMAL_TARGET_EXPORTS) \
30072 (cd $(TARGET_SUBDIR)/libada && \
30073 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libada))
30074 @endif target-libada
30076 .PHONY: check-target-libada maybe-check-target-libada
30077 maybe-check-target-libada:
30078 @if target-libada
30079 maybe-check-target-libada: check-target-libada
30081 check-target-libada:
30082 @r=`${PWD_COMMAND}`; export r; \
30083 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30084 $(SET_LIB_PATH) \
30085 $(NORMAL_TARGET_EXPORTS) \
30086 (cd $(TARGET_SUBDIR)/libada && \
30087 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
30089 @endif target-libada
30091 .PHONY: install-target-libada maybe-install-target-libada
30092 maybe-install-target-libada:
30093 @if target-libada
30094 maybe-install-target-libada: install-target-libada
30096 install-target-libada: installdirs
30097 @r=`${PWD_COMMAND}`; export r; \
30098 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30099 $(SET_LIB_PATH) \
30100 $(NORMAL_TARGET_EXPORTS) \
30101 (cd $(TARGET_SUBDIR)/libada && \
30102 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
30104 @endif target-libada
30106 # Other targets (info, dvi, etc.)
30108 .PHONY: maybe-info-target-libada info-target-libada
30109 maybe-info-target-libada:
30110 @if target-libada
30111 maybe-info-target-libada: info-target-libada
30113 info-target-libada: \
30114 configure-target-libada
30115 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
30116 r=`${PWD_COMMAND}`; export r; \
30117 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30118 $(SET_LIB_PATH) \
30119 $(NORMAL_TARGET_EXPORTS) \
30120 echo "Doing info in $(TARGET_SUBDIR)/libada" ; \
30121 for flag in $(EXTRA_TARGET_FLAGS); do \
30122 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30123 done; \
30124 (cd $(TARGET_SUBDIR)/libada && \
30125 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30126 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30127 "RANLIB=$${RANLIB}" \
30128 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30129 info) \
30130 || exit 1
30132 @endif target-libada
30134 .PHONY: maybe-dvi-target-libada dvi-target-libada
30135 maybe-dvi-target-libada:
30136 @if target-libada
30137 maybe-dvi-target-libada: dvi-target-libada
30139 dvi-target-libada: \
30140 configure-target-libada
30141 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
30142 r=`${PWD_COMMAND}`; export r; \
30143 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30144 $(SET_LIB_PATH) \
30145 $(NORMAL_TARGET_EXPORTS) \
30146 echo "Doing dvi in $(TARGET_SUBDIR)/libada" ; \
30147 for flag in $(EXTRA_TARGET_FLAGS); do \
30148 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30149 done; \
30150 (cd $(TARGET_SUBDIR)/libada && \
30151 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30152 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30153 "RANLIB=$${RANLIB}" \
30154 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30155 dvi) \
30156 || exit 1
30158 @endif target-libada
30160 .PHONY: maybe-html-target-libada html-target-libada
30161 maybe-html-target-libada:
30162 @if target-libada
30163 maybe-html-target-libada: html-target-libada
30165 html-target-libada: \
30166 configure-target-libada
30167 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
30168 r=`${PWD_COMMAND}`; export r; \
30169 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30170 $(SET_LIB_PATH) \
30171 $(NORMAL_TARGET_EXPORTS) \
30172 echo "Doing html in $(TARGET_SUBDIR)/libada" ; \
30173 for flag in $(EXTRA_TARGET_FLAGS); do \
30174 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30175 done; \
30176 (cd $(TARGET_SUBDIR)/libada && \
30177 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30178 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30179 "RANLIB=$${RANLIB}" \
30180 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30181 html) \
30182 || exit 1
30184 @endif target-libada
30186 .PHONY: maybe-TAGS-target-libada TAGS-target-libada
30187 maybe-TAGS-target-libada:
30188 @if target-libada
30189 maybe-TAGS-target-libada: TAGS-target-libada
30191 TAGS-target-libada: \
30192 configure-target-libada
30193 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
30194 r=`${PWD_COMMAND}`; export r; \
30195 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30196 $(SET_LIB_PATH) \
30197 $(NORMAL_TARGET_EXPORTS) \
30198 echo "Doing TAGS in $(TARGET_SUBDIR)/libada" ; \
30199 for flag in $(EXTRA_TARGET_FLAGS); do \
30200 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30201 done; \
30202 (cd $(TARGET_SUBDIR)/libada && \
30203 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30204 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30205 "RANLIB=$${RANLIB}" \
30206 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30207 TAGS) \
30208 || exit 1
30210 @endif target-libada
30212 .PHONY: maybe-install-info-target-libada install-info-target-libada
30213 maybe-install-info-target-libada:
30214 @if target-libada
30215 maybe-install-info-target-libada: install-info-target-libada
30217 install-info-target-libada: \
30218 configure-target-libada \
30219 info-target-libada
30220 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
30221 r=`${PWD_COMMAND}`; export r; \
30222 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30223 $(SET_LIB_PATH) \
30224 $(NORMAL_TARGET_EXPORTS) \
30225 echo "Doing install-info in $(TARGET_SUBDIR)/libada" ; \
30226 for flag in $(EXTRA_TARGET_FLAGS); do \
30227 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30228 done; \
30229 (cd $(TARGET_SUBDIR)/libada && \
30230 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30231 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30232 "RANLIB=$${RANLIB}" \
30233 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30234 install-info) \
30235 || exit 1
30237 @endif target-libada
30239 .PHONY: maybe-installcheck-target-libada installcheck-target-libada
30240 maybe-installcheck-target-libada:
30241 @if target-libada
30242 maybe-installcheck-target-libada: installcheck-target-libada
30244 installcheck-target-libada: \
30245 configure-target-libada
30246 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
30247 r=`${PWD_COMMAND}`; export r; \
30248 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30249 $(SET_LIB_PATH) \
30250 $(NORMAL_TARGET_EXPORTS) \
30251 echo "Doing installcheck in $(TARGET_SUBDIR)/libada" ; \
30252 for flag in $(EXTRA_TARGET_FLAGS); do \
30253 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30254 done; \
30255 (cd $(TARGET_SUBDIR)/libada && \
30256 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30257 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30258 "RANLIB=$${RANLIB}" \
30259 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30260 installcheck) \
30261 || exit 1
30263 @endif target-libada
30265 .PHONY: maybe-mostlyclean-target-libada mostlyclean-target-libada
30266 maybe-mostlyclean-target-libada:
30267 @if target-libada
30268 maybe-mostlyclean-target-libada: mostlyclean-target-libada
30270 mostlyclean-target-libada:
30271 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
30272 r=`${PWD_COMMAND}`; export r; \
30273 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30274 $(SET_LIB_PATH) \
30275 $(NORMAL_TARGET_EXPORTS) \
30276 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libada" ; \
30277 for flag in $(EXTRA_TARGET_FLAGS); do \
30278 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30279 done; \
30280 (cd $(TARGET_SUBDIR)/libada && \
30281 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30282 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30283 "RANLIB=$${RANLIB}" \
30284 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30285 mostlyclean) \
30286 || exit 1
30288 @endif target-libada
30290 .PHONY: maybe-clean-target-libada clean-target-libada
30291 maybe-clean-target-libada:
30292 @if target-libada
30293 maybe-clean-target-libada: clean-target-libada
30295 clean-target-libada:
30296 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
30297 r=`${PWD_COMMAND}`; export r; \
30298 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30299 $(SET_LIB_PATH) \
30300 $(NORMAL_TARGET_EXPORTS) \
30301 echo "Doing clean in $(TARGET_SUBDIR)/libada" ; \
30302 for flag in $(EXTRA_TARGET_FLAGS); do \
30303 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30304 done; \
30305 (cd $(TARGET_SUBDIR)/libada && \
30306 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30307 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30308 "RANLIB=$${RANLIB}" \
30309 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30310 clean) \
30311 || exit 1
30313 @endif target-libada
30315 .PHONY: maybe-distclean-target-libada distclean-target-libada
30316 maybe-distclean-target-libada:
30317 @if target-libada
30318 maybe-distclean-target-libada: distclean-target-libada
30320 distclean-target-libada:
30321 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
30322 r=`${PWD_COMMAND}`; export r; \
30323 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30324 $(SET_LIB_PATH) \
30325 $(NORMAL_TARGET_EXPORTS) \
30326 echo "Doing distclean in $(TARGET_SUBDIR)/libada" ; \
30327 for flag in $(EXTRA_TARGET_FLAGS); do \
30328 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30329 done; \
30330 (cd $(TARGET_SUBDIR)/libada && \
30331 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30332 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30333 "RANLIB=$${RANLIB}" \
30334 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30335 distclean) \
30336 || exit 1
30338 @endif target-libada
30340 .PHONY: maybe-maintainer-clean-target-libada maintainer-clean-target-libada
30341 maybe-maintainer-clean-target-libada:
30342 @if target-libada
30343 maybe-maintainer-clean-target-libada: maintainer-clean-target-libada
30345 maintainer-clean-target-libada:
30346 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
30347 r=`${PWD_COMMAND}`; export r; \
30348 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30349 $(SET_LIB_PATH) \
30350 $(NORMAL_TARGET_EXPORTS) \
30351 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libada" ; \
30352 for flag in $(EXTRA_TARGET_FLAGS); do \
30353 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30354 done; \
30355 (cd $(TARGET_SUBDIR)/libada && \
30356 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30357 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30358 "RANLIB=$${RANLIB}" \
30359 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30360 maintainer-clean) \
30361 || exit 1
30363 @endif target-libada
30367 # ----------
30368 # GCC module
30369 # ----------
30371 @if gcc-no-bootstrap
30372 # GCC has some more recursive targets, which trigger the old
30373 # (but still current, until the toplevel bootstrap project
30374 # is finished) compiler bootstrapping rules.
30376 GCC_STRAP_TARGETS = bootstrap bootstrap-lean bootstrap2 bootstrap2-lean bootstrap3 bootstrap3-lean bootstrap4 bootstrap4-lean bubblestrap quickstrap cleanstrap restrap
30377 .PHONY: $(GCC_STRAP_TARGETS)
30378 $(GCC_STRAP_TARGETS): all-prebootstrap configure-gcc
30379 @r=`${PWD_COMMAND}`; export r; \
30380 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30381 $(SET_LIB_PATH) \
30382 $(HOST_EXPORTS) \
30383 echo "Bootstrapping the compiler"; \
30384 cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) $@
30385 @r=`${PWD_COMMAND}`; export r; \
30386 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30387 case "$@" in \
30388 *bootstrap4-lean ) \
30389 msg="Comparing stage3 and stage4 of the compiler"; \
30390 compare=compare3-lean ;; \
30391 *bootstrap4 ) \
30392 msg="Comparing stage3 and stage4 of the compiler"; \
30393 compare=compare3 ;; \
30394 *-lean ) \
30395 msg="Comparing stage2 and stage3 of the compiler"; \
30396 compare=compare-lean ;; \
30397 * ) \
30398 msg="Comparing stage2 and stage3 of the compiler"; \
30399 compare=compare ;; \
30400 esac; \
30401 $(SET_LIB_PATH) \
30402 $(HOST_EXPORTS) \
30403 echo "$$msg"; \
30404 cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) $$compare
30405 @r=`${PWD_COMMAND}`; export r; \
30406 s=`cd $(srcdir); ${PWD_COMMAND}` ; export s; \
30407 $(SET_LIB_PATH) \
30408 echo "Building runtime libraries"; \
30409 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all
30411 profiledbootstrap: all-prebootstrap configure-gcc
30412 @r=`${PWD_COMMAND}`; export r; \
30413 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30414 $(SET_LIB_PATH) \
30415 $(HOST_EXPORTS) \
30416 echo "Bootstrapping training compiler"; \
30417 cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) stageprofile_build
30418 @r=`${PWD_COMMAND}`; export r; \
30419 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30420 $(SET_LIB_PATH) \
30421 $(HOST_EXPORTS) \
30422 echo "Building feedback based compiler"; \
30423 cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) stagefeedback_build
30424 @r=`${PWD_COMMAND}`; export r; \
30425 s=`cd $(srcdir); ${PWD_COMMAND}` ; export s; \
30426 $(SET_LIB_PATH) \
30427 echo "Building runtime libraries"; \
30428 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all
30430 .PHONY: cross
30431 cross: all-build all-gas all-ld
30432 @r=`${PWD_COMMAND}`; export r; \
30433 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30434 $(SET_LIB_PATH) \
30435 $(HOST_EXPORTS) \
30436 echo "Building the C and C++ compiler"; \
30437 cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) LANGUAGES="c c++"
30438 @r=`${PWD_COMMAND}`; export r; \
30439 s=`cd $(srcdir); ${PWD_COMMAND}` ; export s; \
30440 $(SET_LIB_PATH) \
30441 echo "Building runtime libraries"; \
30442 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LANGUAGES="c c++" all
30443 @endif gcc-no-bootstrap
30445 @if gcc
30446 .PHONY: check-gcc-c++
30447 check-gcc-c++:
30448 @if [ -f ./gcc/Makefile ] ; then \
30449 r=`${PWD_COMMAND}`; export r; \
30450 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30451 $(SET_LIB_PATH) \
30452 $(HOST_EXPORTS) \
30453 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-c++); \
30454 else \
30455 true; \
30458 .PHONY: check-c++
30459 check-c++: check-target-libstdc++-v3 check-gcc-c++
30461 # Install the gcc headers files, but not the fixed include files,
30462 # which Cygnus is not allowed to distribute. This rule is very
30463 # dependent on the workings of the gcc Makefile.in.
30464 .PHONY: gcc-no-fixedincludes
30465 gcc-no-fixedincludes:
30466 @if [ -f ./gcc/Makefile ]; then \
30467 rm -rf gcc/tmp-include; \
30468 mv gcc/include gcc/tmp-include 2>/dev/null; \
30469 mkdir gcc/include; \
30470 cp $(srcdir)/gcc/gsyslimits.h gcc/include/syslimits.h; \
30471 touch gcc/stmp-fixinc gcc/include/fixed; \
30472 rm -f gcc/stmp-headers gcc/stmp-int-hdrs; \
30473 r=`${PWD_COMMAND}`; export r; \
30474 s=`cd $(srcdir); ${PWD_COMMAND}` ; export s; \
30475 $(SET_LIB_PATH) \
30476 $(HOST_EXPORTS) \
30477 (cd ./gcc && \
30478 $(MAKE) $(GCC_FLAGS_TO_PASS) install); \
30479 rm -rf gcc/include; \
30480 mv gcc/tmp-include gcc/include 2>/dev/null; \
30481 else true; fi
30482 @endif gcc
30484 # ---------------------
30485 # GCC bootstrap support
30486 # ---------------------
30488 # We track the current stage (the one in 'gcc') in the stage_current file.
30489 # stage_last instead tracks the stage that was built last. These targets
30490 # are dummy when toplevel bootstrap is not active.
30492 .PHONY: unstage
30493 unstage:
30494 @if gcc-bootstrap
30495 @[ -f stage_current ] || $(MAKE) `cat stage_last`-start
30496 @endif gcc-bootstrap
30498 .PHONY: stage
30499 stage:
30500 @if gcc-bootstrap
30501 @$(MAKE) `cat stage_current`-end
30502 @endif gcc-bootstrap
30504 # We name the build directories for the various stages "stage1-gcc",
30505 # "stage2-gcc","stage3-gcc", etc.
30507 # Since the 'compare' process will fail (on debugging information) if any
30508 # directory names are different, we need to link the gcc directory for
30509 # the previous stage to a constant name ('gcc-prev'), and to make the name of
30510 # the build directories constant as well. For the latter, we use naked names
30511 # like 'gcc', because the scripts in that directory assume it. We use
30512 # mv on platforms where symlinks to directories do not work or are not
30513 # reliable.
30515 # At the end of the bootstrap, a symlink to 'stage3-gcc' named 'gcc' must
30516 # be kept, so that libraries can find it. Ick!
30518 # It would be best to preinstall gcc into a staging area (and in the
30519 # future, gather there all prebootstrap packages). This would allow
30520 # assemblers and linkers can be bootstrapped as well as the compiler
30521 # (both in a combined tree, or separately). This however requires some
30522 # change to the gcc driver, again in order to avoid comparison failures.
30524 # Bugs: This is crippled when doing parallel make, the `make all-host'
30525 # and `make all-target' phases can be parallelized.
30528 # 'touch' doesn't work right on some platforms.
30529 STAMP = echo timestamp >
30531 # Only build the C compiler for stage1, because that is the only one that
30532 # we can guarantee will build with the native compiler, and also it is the
30533 # only thing useful for building stage2. STAGE1_CFLAGS (via CFLAGS),
30534 # MAKEINFO and MAKEINFOFLAGS are explicitly passed here to make them
30535 # overrideable (for a bootstrap build stage1 also builds gcc.info).
30537 STAGE1_CFLAGS=@stage1_cflags@
30538 STAGE1_LANGUAGES=@stage1_languages@
30540 # We only want to compare .o files, so set this!
30541 objext = .o
30543 # Flags to pass to stage2 and later makes.
30544 POSTSTAGE1_FLAGS_TO_PASS = \
30545 CC="$${CC}" CC_FOR_BUILD="$${CC_FOR_BUILD}" \
30546 STAGE_PREFIX=$$r/stage-gcc/ \
30547 CFLAGS="$(BOOT_CFLAGS)" \
30548 ADAC="\$$(CC)"
30550 # For stage 1:
30551 # * We force-disable intermodule optimizations, even if
30552 # --enable-intermodule was passed, since the installed compiler probably
30553 # can't handle them. Luckily, autoconf always respects
30554 # the last argument when conflicting --enable arguments are passed.
30555 # * Likewise, we force-disable coverage flags, since the installed compiler
30556 # probably has never heard of them.
30557 # * We build only C (and possibly Ada).
30560 .PHONY: stage1-start stage1-end
30562 stage1-start::
30563 @[ -f stage_current ] && $(MAKE) `cat stage_current`-end || : ; \
30564 echo stage1 > stage_current ; \
30565 echo stage1 > stage_last
30566 @if bfd
30567 @[ -d stage1-bfd ] || mkdir stage1-bfd; \
30568 set stage1-bfd bfd ; @CREATE_LINK_TO_DIR@
30569 @endif bfd
30570 @if opcodes
30571 @[ -d stage1-opcodes ] || mkdir stage1-opcodes; \
30572 set stage1-opcodes opcodes ; @CREATE_LINK_TO_DIR@
30573 @endif opcodes
30574 @if binutils
30575 @[ -d stage1-binutils ] || mkdir stage1-binutils; \
30576 set stage1-binutils binutils ; @CREATE_LINK_TO_DIR@
30577 @endif binutils
30578 @if gas
30579 @[ -d stage1-gas ] || mkdir stage1-gas; \
30580 set stage1-gas gas ; @CREATE_LINK_TO_DIR@
30581 @endif gas
30582 @if gcc
30583 @[ -d stage1-gcc ] || mkdir stage1-gcc; \
30584 set stage1-gcc gcc ; @CREATE_LINK_TO_DIR@
30585 @endif gcc
30586 @if intl
30587 @[ -d stage1-intl ] || mkdir stage1-intl; \
30588 set stage1-intl intl ; @CREATE_LINK_TO_DIR@
30589 @endif intl
30590 @if ld
30591 @[ -d stage1-ld ] || mkdir stage1-ld; \
30592 set stage1-ld ld ; @CREATE_LINK_TO_DIR@
30593 @endif ld
30594 @if libcpp
30595 @[ -d stage1-libcpp ] || mkdir stage1-libcpp; \
30596 set stage1-libcpp libcpp ; @CREATE_LINK_TO_DIR@
30597 @endif libcpp
30598 @if libiberty
30599 @[ -d stage1-libiberty ] || mkdir stage1-libiberty; \
30600 set stage1-libiberty libiberty ; @CREATE_LINK_TO_DIR@
30601 @endif libiberty
30602 @if zlib
30603 @[ -d stage1-zlib ] || mkdir stage1-zlib; \
30604 set stage1-zlib zlib ; @CREATE_LINK_TO_DIR@
30605 @endif zlib
30607 stage1-end::
30608 @rm -f stage_current
30609 @if bfd
30610 @set bfd stage1-bfd ; @UNDO_LINK_TO_DIR@
30611 @endif bfd
30612 @if opcodes
30613 @set opcodes stage1-opcodes ; @UNDO_LINK_TO_DIR@
30614 @endif opcodes
30615 @if binutils
30616 @set binutils stage1-binutils ; @UNDO_LINK_TO_DIR@
30617 @endif binutils
30618 @if gas
30619 @set gas stage1-gas ; @UNDO_LINK_TO_DIR@
30620 @endif gas
30621 @if gcc
30622 @set gcc stage1-gcc ; @UNDO_LINK_TO_DIR@
30623 @endif gcc
30624 @if intl
30625 @set intl stage1-intl ; @UNDO_LINK_TO_DIR@
30626 @endif intl
30627 @if ld
30628 @set ld stage1-ld ; @UNDO_LINK_TO_DIR@
30629 @endif ld
30630 @if libcpp
30631 @set libcpp stage1-libcpp ; @UNDO_LINK_TO_DIR@
30632 @endif libcpp
30633 @if libiberty
30634 @set libiberty stage1-libiberty ; @UNDO_LINK_TO_DIR@
30635 @endif libiberty
30636 @if zlib
30637 @set zlib stage1-zlib ; @UNDO_LINK_TO_DIR@
30638 @endif zlib
30640 # Bubble a bugfix through all the stages up to stage 1. They
30641 # are remade, but not reconfigured. The next stage (if any) will not
30642 # be reconfigured as well.
30643 .PHONY: stage1-bubble
30644 stage1-bubble::
30645 @if test -f stage1-lean ; then \
30646 echo Skipping rebuild of stage1 ; \
30647 else \
30648 $(MAKE) $(RECURSE_FLAGS_TO_PASS) NOTPARALLEL= all-stage1; \
30651 .PHONY: all-stage1 clean-stage1
30652 all-stage1: \
30653 maybe-all-stage1-bfd \
30654 maybe-all-stage1-opcodes \
30655 maybe-all-stage1-binutils \
30656 maybe-all-stage1-gas \
30657 maybe-all-stage1-gcc \
30658 maybe-all-stage1-intl \
30659 maybe-all-stage1-ld \
30660 maybe-all-stage1-libcpp \
30661 maybe-all-stage1-libiberty \
30662 maybe-all-stage1-zlib
30664 do-clean: clean-stage1
30665 clean-stage1: \
30666 maybe-clean-stage1-bfd \
30667 maybe-clean-stage1-opcodes \
30668 maybe-clean-stage1-binutils \
30669 maybe-clean-stage1-gas \
30670 maybe-clean-stage1-gcc \
30671 maybe-clean-stage1-intl \
30672 maybe-clean-stage1-ld \
30673 maybe-clean-stage1-libcpp \
30674 maybe-clean-stage1-libiberty \
30675 maybe-clean-stage1-zlib
30678 .PHONY: configure-stage1-bfd maybe-configure-stage1-bfd
30679 .PHONY: all-stage1-bfd maybe-all-stage1-bfd
30680 .PHONY: clean-stage1-bfd maybe-clean-stage1-bfd
30682 maybe-configure-stage1-bfd:
30683 maybe-all-stage1-bfd:
30684 maybe-clean-stage1-bfd:
30686 @if bfd-bootstrap
30687 maybe-configure-stage1-bfd: configure-stage1-bfd
30688 configure-stage1-bfd:
30689 @$(MAKE) stage1-start
30690 @[ -f bfd/Makefile ] && exit 0 || : ; \
30691 r=`${PWD_COMMAND}`; export r; \
30692 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30693 $(HOST_EXPORTS) \
30694 echo Configuring stage 1 in bfd ; \
30695 cd bfd || exit 1; \
30696 case $(srcdir) in \
30697 \.) \
30698 srcdiroption="--srcdir=."; \
30699 libsrcdir=".";; \
30700 /* | [A-Za-z]:[\\/]*) \
30701 srcdiroption="--srcdir=$(srcdir)/bfd"; \
30702 libsrcdir="$$s/bfd";; \
30703 *) \
30704 srcdiroption="--srcdir=../$(srcdir)/bfd"; \
30705 libsrcdir="$$s/bfd";; \
30706 esac; \
30707 $(SHELL) $${libsrcdir}/configure \
30708 $(HOST_CONFIGARGS) $${srcdiroption} \
30709 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
30711 maybe-all-stage1-bfd: all-stage1-bfd
30712 all-stage1-bfd: configure-stage1-bfd
30713 @$(MAKE) stage1-start
30714 @r=`${PWD_COMMAND}`; export r; \
30715 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30716 $(HOST_EXPORTS) \
30717 cd bfd && \
30718 $(MAKE) $(FLAGS_TO_PASS) \
30719 CFLAGS="$(STAGE1_CFLAGS)"
30721 maybe-clean-stage1-bfd: clean-stage1-bfd
30722 clean-stage1-bfd:
30723 @[ -f bfd/Makefile ] || [ -f stage1-bfd/Makefile ] \
30724 || exit 0 ; \
30725 [ -f bfd/Makefile ] || $(MAKE) stage1-start ; \
30726 cd bfd && \
30727 $(MAKE) $(FLAGS_TO_PASS) \
30728 CFLAGS="$(STAGE1_CFLAGS)" clean
30729 @endif bfd-bootstrap
30732 .PHONY: configure-stage1-opcodes maybe-configure-stage1-opcodes
30733 .PHONY: all-stage1-opcodes maybe-all-stage1-opcodes
30734 .PHONY: clean-stage1-opcodes maybe-clean-stage1-opcodes
30736 maybe-configure-stage1-opcodes:
30737 maybe-all-stage1-opcodes:
30738 maybe-clean-stage1-opcodes:
30740 @if opcodes-bootstrap
30741 maybe-configure-stage1-opcodes: configure-stage1-opcodes
30742 configure-stage1-opcodes:
30743 @$(MAKE) stage1-start
30744 @[ -f opcodes/Makefile ] && exit 0 || : ; \
30745 r=`${PWD_COMMAND}`; export r; \
30746 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30747 $(HOST_EXPORTS) \
30748 echo Configuring stage 1 in opcodes ; \
30749 cd opcodes || exit 1; \
30750 case $(srcdir) in \
30751 \.) \
30752 srcdiroption="--srcdir=."; \
30753 libsrcdir=".";; \
30754 /* | [A-Za-z]:[\\/]*) \
30755 srcdiroption="--srcdir=$(srcdir)/opcodes"; \
30756 libsrcdir="$$s/opcodes";; \
30757 *) \
30758 srcdiroption="--srcdir=../$(srcdir)/opcodes"; \
30759 libsrcdir="$$s/opcodes";; \
30760 esac; \
30761 $(SHELL) $${libsrcdir}/configure \
30762 $(HOST_CONFIGARGS) $${srcdiroption} \
30763 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
30765 maybe-all-stage1-opcodes: all-stage1-opcodes
30766 all-stage1-opcodes: configure-stage1-opcodes
30767 @$(MAKE) stage1-start
30768 @r=`${PWD_COMMAND}`; export r; \
30769 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30770 $(HOST_EXPORTS) \
30771 cd opcodes && \
30772 $(MAKE) $(FLAGS_TO_PASS) \
30773 CFLAGS="$(STAGE1_CFLAGS)"
30775 maybe-clean-stage1-opcodes: clean-stage1-opcodes
30776 clean-stage1-opcodes:
30777 @[ -f opcodes/Makefile ] || [ -f stage1-opcodes/Makefile ] \
30778 || exit 0 ; \
30779 [ -f opcodes/Makefile ] || $(MAKE) stage1-start ; \
30780 cd opcodes && \
30781 $(MAKE) $(FLAGS_TO_PASS) \
30782 CFLAGS="$(STAGE1_CFLAGS)" clean
30783 @endif opcodes-bootstrap
30786 .PHONY: configure-stage1-binutils maybe-configure-stage1-binutils
30787 .PHONY: all-stage1-binutils maybe-all-stage1-binutils
30788 .PHONY: clean-stage1-binutils maybe-clean-stage1-binutils
30790 maybe-configure-stage1-binutils:
30791 maybe-all-stage1-binutils:
30792 maybe-clean-stage1-binutils:
30794 @if binutils-bootstrap
30795 maybe-configure-stage1-binutils: configure-stage1-binutils
30796 configure-stage1-binutils:
30797 @$(MAKE) stage1-start
30798 @[ -f binutils/Makefile ] && exit 0 || : ; \
30799 r=`${PWD_COMMAND}`; export r; \
30800 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30801 $(HOST_EXPORTS) \
30802 echo Configuring stage 1 in binutils ; \
30803 cd binutils || exit 1; \
30804 case $(srcdir) in \
30805 \.) \
30806 srcdiroption="--srcdir=."; \
30807 libsrcdir=".";; \
30808 /* | [A-Za-z]:[\\/]*) \
30809 srcdiroption="--srcdir=$(srcdir)/binutils"; \
30810 libsrcdir="$$s/binutils";; \
30811 *) \
30812 srcdiroption="--srcdir=../$(srcdir)/binutils"; \
30813 libsrcdir="$$s/binutils";; \
30814 esac; \
30815 $(SHELL) $${libsrcdir}/configure \
30816 $(HOST_CONFIGARGS) $${srcdiroption} \
30817 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
30819 maybe-all-stage1-binutils: all-stage1-binutils
30820 all-stage1-binutils: configure-stage1-binutils
30821 @$(MAKE) stage1-start
30822 @r=`${PWD_COMMAND}`; export r; \
30823 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30824 $(HOST_EXPORTS) \
30825 cd binutils && \
30826 $(MAKE) $(FLAGS_TO_PASS) \
30827 CFLAGS="$(STAGE1_CFLAGS)"
30829 maybe-clean-stage1-binutils: clean-stage1-binutils
30830 clean-stage1-binutils:
30831 @[ -f binutils/Makefile ] || [ -f stage1-binutils/Makefile ] \
30832 || exit 0 ; \
30833 [ -f binutils/Makefile ] || $(MAKE) stage1-start ; \
30834 cd binutils && \
30835 $(MAKE) $(FLAGS_TO_PASS) \
30836 CFLAGS="$(STAGE1_CFLAGS)" clean
30837 @endif binutils-bootstrap
30840 .PHONY: configure-stage1-gas maybe-configure-stage1-gas
30841 .PHONY: all-stage1-gas maybe-all-stage1-gas
30842 .PHONY: clean-stage1-gas maybe-clean-stage1-gas
30844 maybe-configure-stage1-gas:
30845 maybe-all-stage1-gas:
30846 maybe-clean-stage1-gas:
30848 @if gas-bootstrap
30849 maybe-configure-stage1-gas: configure-stage1-gas
30850 configure-stage1-gas:
30851 @$(MAKE) stage1-start
30852 @[ -f gas/Makefile ] && exit 0 || : ; \
30853 r=`${PWD_COMMAND}`; export r; \
30854 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30855 $(HOST_EXPORTS) \
30856 echo Configuring stage 1 in gas ; \
30857 cd gas || exit 1; \
30858 case $(srcdir) in \
30859 \.) \
30860 srcdiroption="--srcdir=."; \
30861 libsrcdir=".";; \
30862 /* | [A-Za-z]:[\\/]*) \
30863 srcdiroption="--srcdir=$(srcdir)/gas"; \
30864 libsrcdir="$$s/gas";; \
30865 *) \
30866 srcdiroption="--srcdir=../$(srcdir)/gas"; \
30867 libsrcdir="$$s/gas";; \
30868 esac; \
30869 $(SHELL) $${libsrcdir}/configure \
30870 $(HOST_CONFIGARGS) $${srcdiroption} \
30871 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
30873 maybe-all-stage1-gas: all-stage1-gas
30874 all-stage1-gas: configure-stage1-gas
30875 @$(MAKE) stage1-start
30876 @r=`${PWD_COMMAND}`; export r; \
30877 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30878 $(HOST_EXPORTS) \
30879 cd gas && \
30880 $(MAKE) $(FLAGS_TO_PASS) \
30881 CFLAGS="$(STAGE1_CFLAGS)"
30883 maybe-clean-stage1-gas: clean-stage1-gas
30884 clean-stage1-gas:
30885 @[ -f gas/Makefile ] || [ -f stage1-gas/Makefile ] \
30886 || exit 0 ; \
30887 [ -f gas/Makefile ] || $(MAKE) stage1-start ; \
30888 cd gas && \
30889 $(MAKE) $(FLAGS_TO_PASS) \
30890 CFLAGS="$(STAGE1_CFLAGS)" clean
30891 @endif gas-bootstrap
30894 .PHONY: configure-stage1-gcc maybe-configure-stage1-gcc
30895 .PHONY: all-stage1-gcc maybe-all-stage1-gcc
30896 .PHONY: clean-stage1-gcc maybe-clean-stage1-gcc
30898 maybe-configure-stage1-gcc:
30899 maybe-all-stage1-gcc:
30900 maybe-clean-stage1-gcc:
30902 @if gcc-bootstrap
30903 maybe-configure-stage1-gcc: configure-stage1-gcc
30904 configure-stage1-gcc:
30905 @$(MAKE) stage1-start
30906 @[ -f gcc/Makefile ] && exit 0 || : ; \
30907 r=`${PWD_COMMAND}`; export r; \
30908 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30909 $(HOST_EXPORTS) \
30910 echo Configuring stage 1 in gcc ; \
30911 cd gcc || exit 1; \
30912 case $(srcdir) in \
30913 \.) \
30914 srcdiroption="--srcdir=."; \
30915 libsrcdir=".";; \
30916 /* | [A-Za-z]:[\\/]*) \
30917 srcdiroption="--srcdir=$(srcdir)/gcc"; \
30918 libsrcdir="$$s/gcc";; \
30919 *) \
30920 srcdiroption="--srcdir=../$(srcdir)/gcc"; \
30921 libsrcdir="$$s/gcc";; \
30922 esac; \
30923 $(SHELL) $${libsrcdir}/configure \
30924 $(HOST_CONFIGARGS) $${srcdiroption} \
30925 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
30927 maybe-all-stage1-gcc: all-stage1-gcc
30928 all-stage1-gcc: configure-stage1-gcc
30929 @$(MAKE) stage1-start
30930 @r=`${PWD_COMMAND}`; export r; \
30931 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30932 $(HOST_EXPORTS) \
30933 cd gcc && \
30934 $(MAKE) $(FLAGS_TO_PASS) \
30935 CFLAGS="$(STAGE1_CFLAGS)" $(EXTRA_GCC_FLAGS)
30937 maybe-clean-stage1-gcc: clean-stage1-gcc
30938 clean-stage1-gcc:
30939 @[ -f gcc/Makefile ] || [ -f stage1-gcc/Makefile ] \
30940 || exit 0 ; \
30941 [ -f gcc/Makefile ] || $(MAKE) stage1-start ; \
30942 cd gcc && \
30943 $(MAKE) $(FLAGS_TO_PASS) \
30944 CFLAGS="$(STAGE1_CFLAGS)" $(EXTRA_GCC_FLAGS) clean
30945 @endif gcc-bootstrap
30948 .PHONY: configure-stage1-intl maybe-configure-stage1-intl
30949 .PHONY: all-stage1-intl maybe-all-stage1-intl
30950 .PHONY: clean-stage1-intl maybe-clean-stage1-intl
30952 maybe-configure-stage1-intl:
30953 maybe-all-stage1-intl:
30954 maybe-clean-stage1-intl:
30956 @if intl-bootstrap
30957 maybe-configure-stage1-intl: configure-stage1-intl
30958 configure-stage1-intl:
30959 @$(MAKE) stage1-start
30960 @[ -f intl/Makefile ] && exit 0 || : ; \
30961 r=`${PWD_COMMAND}`; export r; \
30962 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30963 $(HOST_EXPORTS) \
30964 echo Configuring stage 1 in intl ; \
30965 cd intl || exit 1; \
30966 case $(srcdir) in \
30967 \.) \
30968 srcdiroption="--srcdir=."; \
30969 libsrcdir=".";; \
30970 /* | [A-Za-z]:[\\/]*) \
30971 srcdiroption="--srcdir=$(srcdir)/intl"; \
30972 libsrcdir="$$s/intl";; \
30973 *) \
30974 srcdiroption="--srcdir=../$(srcdir)/intl"; \
30975 libsrcdir="$$s/intl";; \
30976 esac; \
30977 $(SHELL) $${libsrcdir}/configure \
30978 $(HOST_CONFIGARGS) $${srcdiroption} \
30979 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
30981 maybe-all-stage1-intl: all-stage1-intl
30982 all-stage1-intl: configure-stage1-intl
30983 @$(MAKE) stage1-start
30984 @r=`${PWD_COMMAND}`; export r; \
30985 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30986 $(HOST_EXPORTS) \
30987 cd intl && \
30988 $(MAKE) $(FLAGS_TO_PASS) \
30989 CFLAGS="$(STAGE1_CFLAGS)"
30991 maybe-clean-stage1-intl: clean-stage1-intl
30992 clean-stage1-intl:
30993 @[ -f intl/Makefile ] || [ -f stage1-intl/Makefile ] \
30994 || exit 0 ; \
30995 [ -f intl/Makefile ] || $(MAKE) stage1-start ; \
30996 cd intl && \
30997 $(MAKE) $(FLAGS_TO_PASS) \
30998 CFLAGS="$(STAGE1_CFLAGS)" clean
30999 @endif intl-bootstrap
31002 .PHONY: configure-stage1-ld maybe-configure-stage1-ld
31003 .PHONY: all-stage1-ld maybe-all-stage1-ld
31004 .PHONY: clean-stage1-ld maybe-clean-stage1-ld
31006 maybe-configure-stage1-ld:
31007 maybe-all-stage1-ld:
31008 maybe-clean-stage1-ld:
31010 @if ld-bootstrap
31011 maybe-configure-stage1-ld: configure-stage1-ld
31012 configure-stage1-ld:
31013 @$(MAKE) stage1-start
31014 @[ -f ld/Makefile ] && exit 0 || : ; \
31015 r=`${PWD_COMMAND}`; export r; \
31016 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31017 $(HOST_EXPORTS) \
31018 echo Configuring stage 1 in ld ; \
31019 cd ld || exit 1; \
31020 case $(srcdir) in \
31021 \.) \
31022 srcdiroption="--srcdir=."; \
31023 libsrcdir=".";; \
31024 /* | [A-Za-z]:[\\/]*) \
31025 srcdiroption="--srcdir=$(srcdir)/ld"; \
31026 libsrcdir="$$s/ld";; \
31027 *) \
31028 srcdiroption="--srcdir=../$(srcdir)/ld"; \
31029 libsrcdir="$$s/ld";; \
31030 esac; \
31031 $(SHELL) $${libsrcdir}/configure \
31032 $(HOST_CONFIGARGS) $${srcdiroption} \
31033 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
31035 maybe-all-stage1-ld: all-stage1-ld
31036 all-stage1-ld: configure-stage1-ld
31037 @$(MAKE) stage1-start
31038 @r=`${PWD_COMMAND}`; export r; \
31039 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31040 $(HOST_EXPORTS) \
31041 cd ld && \
31042 $(MAKE) $(FLAGS_TO_PASS) \
31043 CFLAGS="$(STAGE1_CFLAGS)"
31045 maybe-clean-stage1-ld: clean-stage1-ld
31046 clean-stage1-ld:
31047 @[ -f ld/Makefile ] || [ -f stage1-ld/Makefile ] \
31048 || exit 0 ; \
31049 [ -f ld/Makefile ] || $(MAKE) stage1-start ; \
31050 cd ld && \
31051 $(MAKE) $(FLAGS_TO_PASS) \
31052 CFLAGS="$(STAGE1_CFLAGS)" clean
31053 @endif ld-bootstrap
31056 .PHONY: configure-stage1-libcpp maybe-configure-stage1-libcpp
31057 .PHONY: all-stage1-libcpp maybe-all-stage1-libcpp
31058 .PHONY: clean-stage1-libcpp maybe-clean-stage1-libcpp
31060 maybe-configure-stage1-libcpp:
31061 maybe-all-stage1-libcpp:
31062 maybe-clean-stage1-libcpp:
31064 @if libcpp-bootstrap
31065 maybe-configure-stage1-libcpp: configure-stage1-libcpp
31066 configure-stage1-libcpp:
31067 @$(MAKE) stage1-start
31068 @[ -f libcpp/Makefile ] && exit 0 || : ; \
31069 r=`${PWD_COMMAND}`; export r; \
31070 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31071 $(HOST_EXPORTS) \
31072 echo Configuring stage 1 in libcpp ; \
31073 cd libcpp || exit 1; \
31074 case $(srcdir) in \
31075 \.) \
31076 srcdiroption="--srcdir=."; \
31077 libsrcdir=".";; \
31078 /* | [A-Za-z]:[\\/]*) \
31079 srcdiroption="--srcdir=$(srcdir)/libcpp"; \
31080 libsrcdir="$$s/libcpp";; \
31081 *) \
31082 srcdiroption="--srcdir=../$(srcdir)/libcpp"; \
31083 libsrcdir="$$s/libcpp";; \
31084 esac; \
31085 $(SHELL) $${libsrcdir}/configure \
31086 $(HOST_CONFIGARGS) $${srcdiroption} \
31087 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
31089 maybe-all-stage1-libcpp: all-stage1-libcpp
31090 all-stage1-libcpp: configure-stage1-libcpp
31091 @$(MAKE) stage1-start
31092 @r=`${PWD_COMMAND}`; export r; \
31093 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31094 $(HOST_EXPORTS) \
31095 cd libcpp && \
31096 $(MAKE) $(FLAGS_TO_PASS) \
31097 CFLAGS="$(STAGE1_CFLAGS)"
31099 maybe-clean-stage1-libcpp: clean-stage1-libcpp
31100 clean-stage1-libcpp:
31101 @[ -f libcpp/Makefile ] || [ -f stage1-libcpp/Makefile ] \
31102 || exit 0 ; \
31103 [ -f libcpp/Makefile ] || $(MAKE) stage1-start ; \
31104 cd libcpp && \
31105 $(MAKE) $(FLAGS_TO_PASS) \
31106 CFLAGS="$(STAGE1_CFLAGS)" clean
31107 @endif libcpp-bootstrap
31110 .PHONY: configure-stage1-libiberty maybe-configure-stage1-libiberty
31111 .PHONY: all-stage1-libiberty maybe-all-stage1-libiberty
31112 .PHONY: clean-stage1-libiberty maybe-clean-stage1-libiberty
31114 maybe-configure-stage1-libiberty:
31115 maybe-all-stage1-libiberty:
31116 maybe-clean-stage1-libiberty:
31118 @if libiberty-bootstrap
31119 maybe-configure-stage1-libiberty: configure-stage1-libiberty
31120 configure-stage1-libiberty:
31121 @$(MAKE) stage1-start
31122 @[ -f libiberty/Makefile ] && exit 0 || : ; \
31123 r=`${PWD_COMMAND}`; export r; \
31124 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31125 $(HOST_EXPORTS) \
31126 echo Configuring stage 1 in libiberty ; \
31127 cd libiberty || exit 1; \
31128 case $(srcdir) in \
31129 \.) \
31130 srcdiroption="--srcdir=."; \
31131 libsrcdir=".";; \
31132 /* | [A-Za-z]:[\\/]*) \
31133 srcdiroption="--srcdir=$(srcdir)/libiberty"; \
31134 libsrcdir="$$s/libiberty";; \
31135 *) \
31136 srcdiroption="--srcdir=../$(srcdir)/libiberty"; \
31137 libsrcdir="$$s/libiberty";; \
31138 esac; \
31139 $(SHELL) $${libsrcdir}/configure \
31140 $(HOST_CONFIGARGS) $${srcdiroption} \
31141 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
31143 maybe-all-stage1-libiberty: all-stage1-libiberty
31144 all-stage1-libiberty: configure-stage1-libiberty
31145 @$(MAKE) stage1-start
31146 @r=`${PWD_COMMAND}`; export r; \
31147 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31148 $(HOST_EXPORTS) \
31149 cd libiberty && \
31150 $(MAKE) $(FLAGS_TO_PASS) \
31151 CFLAGS="$(STAGE1_CFLAGS)"
31153 maybe-clean-stage1-libiberty: clean-stage1-libiberty
31154 clean-stage1-libiberty:
31155 @[ -f libiberty/Makefile ] || [ -f stage1-libiberty/Makefile ] \
31156 || exit 0 ; \
31157 [ -f libiberty/Makefile ] || $(MAKE) stage1-start ; \
31158 cd libiberty && \
31159 $(MAKE) $(FLAGS_TO_PASS) \
31160 CFLAGS="$(STAGE1_CFLAGS)" clean
31161 @endif libiberty-bootstrap
31164 .PHONY: configure-stage1-zlib maybe-configure-stage1-zlib
31165 .PHONY: all-stage1-zlib maybe-all-stage1-zlib
31166 .PHONY: clean-stage1-zlib maybe-clean-stage1-zlib
31168 maybe-configure-stage1-zlib:
31169 maybe-all-stage1-zlib:
31170 maybe-clean-stage1-zlib:
31172 @if zlib-bootstrap
31173 maybe-configure-stage1-zlib: configure-stage1-zlib
31174 configure-stage1-zlib:
31175 @$(MAKE) stage1-start
31176 @[ -f zlib/Makefile ] && exit 0 || : ; \
31177 r=`${PWD_COMMAND}`; export r; \
31178 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31179 $(HOST_EXPORTS) \
31180 echo Configuring stage 1 in zlib ; \
31181 cd zlib || exit 1; \
31182 case $(srcdir) in \
31183 \.) \
31184 srcdiroption="--srcdir=."; \
31185 libsrcdir=".";; \
31186 /* | [A-Za-z]:[\\/]*) \
31187 srcdiroption="--srcdir=$(srcdir)/zlib"; \
31188 libsrcdir="$$s/zlib";; \
31189 *) \
31190 srcdiroption="--srcdir=../$(srcdir)/zlib"; \
31191 libsrcdir="$$s/zlib";; \
31192 esac; \
31193 $(SHELL) $${libsrcdir}/configure \
31194 $(HOST_CONFIGARGS) $${srcdiroption} \
31195 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
31197 maybe-all-stage1-zlib: all-stage1-zlib
31198 all-stage1-zlib: configure-stage1-zlib
31199 @$(MAKE) stage1-start
31200 @r=`${PWD_COMMAND}`; export r; \
31201 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31202 $(HOST_EXPORTS) \
31203 cd zlib && \
31204 $(MAKE) $(FLAGS_TO_PASS) \
31205 CFLAGS="$(STAGE1_CFLAGS)"
31207 maybe-clean-stage1-zlib: clean-stage1-zlib
31208 clean-stage1-zlib:
31209 @[ -f zlib/Makefile ] || [ -f stage1-zlib/Makefile ] \
31210 || exit 0 ; \
31211 [ -f zlib/Makefile ] || $(MAKE) stage1-start ; \
31212 cd zlib && \
31213 $(MAKE) $(FLAGS_TO_PASS) \
31214 CFLAGS="$(STAGE1_CFLAGS)" clean
31215 @endif zlib-bootstrap
31219 # FIXME: Will not need to be conditional when toplevel bootstrap is the
31220 # only possibility, but now it conflicts with no-bootstrap rules
31221 @if gcc-bootstrap
31226 # Rules to wipe a stage and all the following ones, also used for cleanstrap
31228 .PHONY: distclean-stage1
31229 distclean-stage1::
31230 [ -f stage_current ] && $(MAKE) `cat stage_current`-end || :
31231 rm -rf stage1-*
31234 @endif gcc-bootstrap
31237 .PHONY: stage2-start stage2-end
31239 stage2-start::
31240 @[ -f stage_current ] && $(MAKE) `cat stage_current`-end || : ; \
31241 echo stage2 > stage_current ; \
31242 echo stage2 > stage_last
31243 @if bfd
31244 @[ -d stage2-bfd ] || mkdir stage2-bfd; \
31245 set stage2-bfd bfd ; @CREATE_LINK_TO_DIR@ ; \
31246 set stage1-bfd prev-bfd ; @CREATE_LINK_TO_DIR@
31247 @endif bfd
31248 @if opcodes
31249 @[ -d stage2-opcodes ] || mkdir stage2-opcodes; \
31250 set stage2-opcodes opcodes ; @CREATE_LINK_TO_DIR@ ; \
31251 set stage1-opcodes prev-opcodes ; @CREATE_LINK_TO_DIR@
31252 @endif opcodes
31253 @if binutils
31254 @[ -d stage2-binutils ] || mkdir stage2-binutils; \
31255 set stage2-binutils binutils ; @CREATE_LINK_TO_DIR@ ; \
31256 set stage1-binutils prev-binutils ; @CREATE_LINK_TO_DIR@
31257 @endif binutils
31258 @if gas
31259 @[ -d stage2-gas ] || mkdir stage2-gas; \
31260 set stage2-gas gas ; @CREATE_LINK_TO_DIR@ ; \
31261 set stage1-gas prev-gas ; @CREATE_LINK_TO_DIR@
31262 @endif gas
31263 @if gcc
31264 @[ -d stage2-gcc ] || mkdir stage2-gcc; \
31265 set stage2-gcc gcc ; @CREATE_LINK_TO_DIR@ ; \
31266 set stage1-gcc prev-gcc ; @CREATE_LINK_TO_DIR@
31267 @endif gcc
31268 @if intl
31269 @[ -d stage2-intl ] || mkdir stage2-intl; \
31270 set stage2-intl intl ; @CREATE_LINK_TO_DIR@ ; \
31271 set stage1-intl prev-intl ; @CREATE_LINK_TO_DIR@
31272 @endif intl
31273 @if ld
31274 @[ -d stage2-ld ] || mkdir stage2-ld; \
31275 set stage2-ld ld ; @CREATE_LINK_TO_DIR@ ; \
31276 set stage1-ld prev-ld ; @CREATE_LINK_TO_DIR@
31277 @endif ld
31278 @if libcpp
31279 @[ -d stage2-libcpp ] || mkdir stage2-libcpp; \
31280 set stage2-libcpp libcpp ; @CREATE_LINK_TO_DIR@ ; \
31281 set stage1-libcpp prev-libcpp ; @CREATE_LINK_TO_DIR@
31282 @endif libcpp
31283 @if libiberty
31284 @[ -d stage2-libiberty ] || mkdir stage2-libiberty; \
31285 set stage2-libiberty libiberty ; @CREATE_LINK_TO_DIR@ ; \
31286 set stage1-libiberty prev-libiberty ; @CREATE_LINK_TO_DIR@
31287 @endif libiberty
31288 @if zlib
31289 @[ -d stage2-zlib ] || mkdir stage2-zlib; \
31290 set stage2-zlib zlib ; @CREATE_LINK_TO_DIR@ ; \
31291 set stage1-zlib prev-zlib ; @CREATE_LINK_TO_DIR@
31292 @endif zlib
31294 stage2-end::
31295 @rm -f stage_current
31296 @if bfd
31297 @set bfd stage2-bfd ; @UNDO_LINK_TO_DIR@ ; \
31298 set prev-bfd stage1-bfd ; @UNDO_LINK_TO_DIR@
31299 @endif bfd
31300 @if opcodes
31301 @set opcodes stage2-opcodes ; @UNDO_LINK_TO_DIR@ ; \
31302 set prev-opcodes stage1-opcodes ; @UNDO_LINK_TO_DIR@
31303 @endif opcodes
31304 @if binutils
31305 @set binutils stage2-binutils ; @UNDO_LINK_TO_DIR@ ; \
31306 set prev-binutils stage1-binutils ; @UNDO_LINK_TO_DIR@
31307 @endif binutils
31308 @if gas
31309 @set gas stage2-gas ; @UNDO_LINK_TO_DIR@ ; \
31310 set prev-gas stage1-gas ; @UNDO_LINK_TO_DIR@
31311 @endif gas
31312 @if gcc
31313 @set gcc stage2-gcc ; @UNDO_LINK_TO_DIR@ ; \
31314 set prev-gcc stage1-gcc ; @UNDO_LINK_TO_DIR@
31315 @endif gcc
31316 @if intl
31317 @set intl stage2-intl ; @UNDO_LINK_TO_DIR@ ; \
31318 set prev-intl stage1-intl ; @UNDO_LINK_TO_DIR@
31319 @endif intl
31320 @if ld
31321 @set ld stage2-ld ; @UNDO_LINK_TO_DIR@ ; \
31322 set prev-ld stage1-ld ; @UNDO_LINK_TO_DIR@
31323 @endif ld
31324 @if libcpp
31325 @set libcpp stage2-libcpp ; @UNDO_LINK_TO_DIR@ ; \
31326 set prev-libcpp stage1-libcpp ; @UNDO_LINK_TO_DIR@
31327 @endif libcpp
31328 @if libiberty
31329 @set libiberty stage2-libiberty ; @UNDO_LINK_TO_DIR@ ; \
31330 set prev-libiberty stage1-libiberty ; @UNDO_LINK_TO_DIR@
31331 @endif libiberty
31332 @if zlib
31333 @set zlib stage2-zlib ; @UNDO_LINK_TO_DIR@ ; \
31334 set prev-zlib stage1-zlib ; @UNDO_LINK_TO_DIR@
31335 @endif zlib
31337 # Bubble a bugfix through all the stages up to stage 2. They
31338 # are remade, but not reconfigured. The next stage (if any) will not
31339 # be reconfigured as well.
31340 .PHONY: stage2-bubble
31341 stage2-bubble:: stage1-bubble
31342 @if test -f stage2-lean || test -f stage1-lean ; then \
31343 echo Skipping rebuild of stage2 ; \
31344 else \
31345 $(MAKE) $(RECURSE_FLAGS_TO_PASS) NOTPARALLEL= all-stage2; \
31348 .PHONY: all-stage2 clean-stage2
31349 all-stage2: \
31350 maybe-all-stage2-bfd \
31351 maybe-all-stage2-opcodes \
31352 maybe-all-stage2-binutils \
31353 maybe-all-stage2-gas \
31354 maybe-all-stage2-gcc \
31355 maybe-all-stage2-intl \
31356 maybe-all-stage2-ld \
31357 maybe-all-stage2-libcpp \
31358 maybe-all-stage2-libiberty \
31359 maybe-all-stage2-zlib
31361 do-clean: clean-stage2
31362 clean-stage2: \
31363 maybe-clean-stage2-bfd \
31364 maybe-clean-stage2-opcodes \
31365 maybe-clean-stage2-binutils \
31366 maybe-clean-stage2-gas \
31367 maybe-clean-stage2-gcc \
31368 maybe-clean-stage2-intl \
31369 maybe-clean-stage2-ld \
31370 maybe-clean-stage2-libcpp \
31371 maybe-clean-stage2-libiberty \
31372 maybe-clean-stage2-zlib
31375 .PHONY: configure-stage2-bfd maybe-configure-stage2-bfd
31376 .PHONY: all-stage2-bfd maybe-all-stage2-bfd
31377 .PHONY: clean-stage2-bfd maybe-clean-stage2-bfd
31379 maybe-configure-stage2-bfd:
31380 maybe-all-stage2-bfd:
31381 maybe-clean-stage2-bfd:
31383 @if bfd-bootstrap
31384 maybe-configure-stage2-bfd: configure-stage2-bfd
31385 configure-stage2-bfd:
31386 @$(MAKE) stage2-start
31387 @[ -f bfd/Makefile ] && exit 0 || : ; \
31388 r=`${PWD_COMMAND}`; export r; \
31389 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31390 $(STAGE_HOST_EXPORTS) \
31391 echo Configuring stage 2 in bfd ; \
31392 cd bfd || exit 1; \
31393 case $(srcdir) in \
31394 \.) \
31395 srcdiroption="--srcdir=."; \
31396 libsrcdir=".";; \
31397 /* | [A-Za-z]:[\\/]*) \
31398 srcdiroption="--srcdir=$(srcdir)/bfd"; \
31399 libsrcdir="$$s/bfd";; \
31400 *) \
31401 srcdiroption="--srcdir=../$(srcdir)/bfd"; \
31402 libsrcdir="$$s/bfd";; \
31403 esac; \
31404 $(SHELL) $${libsrcdir}/configure \
31405 $(HOST_CONFIGARGS) $${srcdiroption} \
31406 @stage2_werror_flag@
31408 maybe-all-stage2-bfd: all-stage2-bfd
31409 all-stage2-bfd: configure-stage2-bfd
31410 @$(MAKE) stage2-start
31411 @r=`${PWD_COMMAND}`; export r; \
31412 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31413 $(STAGE_HOST_EXPORTS) \
31414 cd bfd && \
31415 $(MAKE) $(FLAGS_TO_PASS) \
31416 $(POSTSTAGE1_FLAGS_TO_PASS) \
31419 maybe-clean-stage2-bfd: clean-stage2-bfd
31420 clean-stage2-bfd:
31421 @[ -f bfd/Makefile ] || [ -f stage2-bfd/Makefile ] \
31422 || exit 0 ; \
31423 [ -f bfd/Makefile ] || $(MAKE) stage2-start ; \
31424 cd bfd && \
31425 $(MAKE) $(FLAGS_TO_PASS) \
31426 $(POSTSTAGE1_FLAGS_TO_PASS) \
31427 clean
31428 @endif bfd-bootstrap
31431 .PHONY: configure-stage2-opcodes maybe-configure-stage2-opcodes
31432 .PHONY: all-stage2-opcodes maybe-all-stage2-opcodes
31433 .PHONY: clean-stage2-opcodes maybe-clean-stage2-opcodes
31435 maybe-configure-stage2-opcodes:
31436 maybe-all-stage2-opcodes:
31437 maybe-clean-stage2-opcodes:
31439 @if opcodes-bootstrap
31440 maybe-configure-stage2-opcodes: configure-stage2-opcodes
31441 configure-stage2-opcodes:
31442 @$(MAKE) stage2-start
31443 @[ -f opcodes/Makefile ] && exit 0 || : ; \
31444 r=`${PWD_COMMAND}`; export r; \
31445 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31446 $(STAGE_HOST_EXPORTS) \
31447 echo Configuring stage 2 in opcodes ; \
31448 cd opcodes || exit 1; \
31449 case $(srcdir) in \
31450 \.) \
31451 srcdiroption="--srcdir=."; \
31452 libsrcdir=".";; \
31453 /* | [A-Za-z]:[\\/]*) \
31454 srcdiroption="--srcdir=$(srcdir)/opcodes"; \
31455 libsrcdir="$$s/opcodes";; \
31456 *) \
31457 srcdiroption="--srcdir=../$(srcdir)/opcodes"; \
31458 libsrcdir="$$s/opcodes";; \
31459 esac; \
31460 $(SHELL) $${libsrcdir}/configure \
31461 $(HOST_CONFIGARGS) $${srcdiroption} \
31462 @stage2_werror_flag@
31464 maybe-all-stage2-opcodes: all-stage2-opcodes
31465 all-stage2-opcodes: configure-stage2-opcodes
31466 @$(MAKE) stage2-start
31467 @r=`${PWD_COMMAND}`; export r; \
31468 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31469 $(STAGE_HOST_EXPORTS) \
31470 cd opcodes && \
31471 $(MAKE) $(FLAGS_TO_PASS) \
31472 $(POSTSTAGE1_FLAGS_TO_PASS) \
31475 maybe-clean-stage2-opcodes: clean-stage2-opcodes
31476 clean-stage2-opcodes:
31477 @[ -f opcodes/Makefile ] || [ -f stage2-opcodes/Makefile ] \
31478 || exit 0 ; \
31479 [ -f opcodes/Makefile ] || $(MAKE) stage2-start ; \
31480 cd opcodes && \
31481 $(MAKE) $(FLAGS_TO_PASS) \
31482 $(POSTSTAGE1_FLAGS_TO_PASS) \
31483 clean
31484 @endif opcodes-bootstrap
31487 .PHONY: configure-stage2-binutils maybe-configure-stage2-binutils
31488 .PHONY: all-stage2-binutils maybe-all-stage2-binutils
31489 .PHONY: clean-stage2-binutils maybe-clean-stage2-binutils
31491 maybe-configure-stage2-binutils:
31492 maybe-all-stage2-binutils:
31493 maybe-clean-stage2-binutils:
31495 @if binutils-bootstrap
31496 maybe-configure-stage2-binutils: configure-stage2-binutils
31497 configure-stage2-binutils:
31498 @$(MAKE) stage2-start
31499 @[ -f binutils/Makefile ] && exit 0 || : ; \
31500 r=`${PWD_COMMAND}`; export r; \
31501 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31502 $(STAGE_HOST_EXPORTS) \
31503 echo Configuring stage 2 in binutils ; \
31504 cd binutils || exit 1; \
31505 case $(srcdir) in \
31506 \.) \
31507 srcdiroption="--srcdir=."; \
31508 libsrcdir=".";; \
31509 /* | [A-Za-z]:[\\/]*) \
31510 srcdiroption="--srcdir=$(srcdir)/binutils"; \
31511 libsrcdir="$$s/binutils";; \
31512 *) \
31513 srcdiroption="--srcdir=../$(srcdir)/binutils"; \
31514 libsrcdir="$$s/binutils";; \
31515 esac; \
31516 $(SHELL) $${libsrcdir}/configure \
31517 $(HOST_CONFIGARGS) $${srcdiroption} \
31518 @stage2_werror_flag@
31520 maybe-all-stage2-binutils: all-stage2-binutils
31521 all-stage2-binutils: configure-stage2-binutils
31522 @$(MAKE) stage2-start
31523 @r=`${PWD_COMMAND}`; export r; \
31524 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31525 $(STAGE_HOST_EXPORTS) \
31526 cd binutils && \
31527 $(MAKE) $(FLAGS_TO_PASS) \
31528 $(POSTSTAGE1_FLAGS_TO_PASS) \
31531 maybe-clean-stage2-binutils: clean-stage2-binutils
31532 clean-stage2-binutils:
31533 @[ -f binutils/Makefile ] || [ -f stage2-binutils/Makefile ] \
31534 || exit 0 ; \
31535 [ -f binutils/Makefile ] || $(MAKE) stage2-start ; \
31536 cd binutils && \
31537 $(MAKE) $(FLAGS_TO_PASS) \
31538 $(POSTSTAGE1_FLAGS_TO_PASS) \
31539 clean
31540 @endif binutils-bootstrap
31543 .PHONY: configure-stage2-gas maybe-configure-stage2-gas
31544 .PHONY: all-stage2-gas maybe-all-stage2-gas
31545 .PHONY: clean-stage2-gas maybe-clean-stage2-gas
31547 maybe-configure-stage2-gas:
31548 maybe-all-stage2-gas:
31549 maybe-clean-stage2-gas:
31551 @if gas-bootstrap
31552 maybe-configure-stage2-gas: configure-stage2-gas
31553 configure-stage2-gas:
31554 @$(MAKE) stage2-start
31555 @[ -f gas/Makefile ] && exit 0 || : ; \
31556 r=`${PWD_COMMAND}`; export r; \
31557 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31558 $(STAGE_HOST_EXPORTS) \
31559 echo Configuring stage 2 in gas ; \
31560 cd gas || exit 1; \
31561 case $(srcdir) in \
31562 \.) \
31563 srcdiroption="--srcdir=."; \
31564 libsrcdir=".";; \
31565 /* | [A-Za-z]:[\\/]*) \
31566 srcdiroption="--srcdir=$(srcdir)/gas"; \
31567 libsrcdir="$$s/gas";; \
31568 *) \
31569 srcdiroption="--srcdir=../$(srcdir)/gas"; \
31570 libsrcdir="$$s/gas";; \
31571 esac; \
31572 $(SHELL) $${libsrcdir}/configure \
31573 $(HOST_CONFIGARGS) $${srcdiroption} \
31574 @stage2_werror_flag@
31576 maybe-all-stage2-gas: all-stage2-gas
31577 all-stage2-gas: configure-stage2-gas
31578 @$(MAKE) stage2-start
31579 @r=`${PWD_COMMAND}`; export r; \
31580 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31581 $(STAGE_HOST_EXPORTS) \
31582 cd gas && \
31583 $(MAKE) $(FLAGS_TO_PASS) \
31584 $(POSTSTAGE1_FLAGS_TO_PASS) \
31587 maybe-clean-stage2-gas: clean-stage2-gas
31588 clean-stage2-gas:
31589 @[ -f gas/Makefile ] || [ -f stage2-gas/Makefile ] \
31590 || exit 0 ; \
31591 [ -f gas/Makefile ] || $(MAKE) stage2-start ; \
31592 cd gas && \
31593 $(MAKE) $(FLAGS_TO_PASS) \
31594 $(POSTSTAGE1_FLAGS_TO_PASS) \
31595 clean
31596 @endif gas-bootstrap
31599 .PHONY: configure-stage2-gcc maybe-configure-stage2-gcc
31600 .PHONY: all-stage2-gcc maybe-all-stage2-gcc
31601 .PHONY: clean-stage2-gcc maybe-clean-stage2-gcc
31603 maybe-configure-stage2-gcc:
31604 maybe-all-stage2-gcc:
31605 maybe-clean-stage2-gcc:
31607 @if gcc-bootstrap
31608 maybe-configure-stage2-gcc: configure-stage2-gcc
31609 configure-stage2-gcc:
31610 @$(MAKE) stage2-start
31611 @[ -f gcc/Makefile ] && exit 0 || : ; \
31612 r=`${PWD_COMMAND}`; export r; \
31613 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31614 $(STAGE_HOST_EXPORTS) \
31615 echo Configuring stage 2 in gcc ; \
31616 cd gcc || exit 1; \
31617 case $(srcdir) in \
31618 \.) \
31619 srcdiroption="--srcdir=."; \
31620 libsrcdir=".";; \
31621 /* | [A-Za-z]:[\\/]*) \
31622 srcdiroption="--srcdir=$(srcdir)/gcc"; \
31623 libsrcdir="$$s/gcc";; \
31624 *) \
31625 srcdiroption="--srcdir=../$(srcdir)/gcc"; \
31626 libsrcdir="$$s/gcc";; \
31627 esac; \
31628 $(SHELL) $${libsrcdir}/configure \
31629 $(HOST_CONFIGARGS) $${srcdiroption} \
31630 @stage2_werror_flag@
31632 maybe-all-stage2-gcc: all-stage2-gcc
31633 all-stage2-gcc: configure-stage2-gcc
31634 @$(MAKE) stage2-start
31635 @r=`${PWD_COMMAND}`; export r; \
31636 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31637 $(STAGE_HOST_EXPORTS) \
31638 cd gcc && \
31639 $(MAKE) $(FLAGS_TO_PASS) \
31640 $(POSTSTAGE1_FLAGS_TO_PASS) \
31641 $(EXTRA_GCC_FLAGS)
31643 maybe-clean-stage2-gcc: clean-stage2-gcc
31644 clean-stage2-gcc:
31645 @[ -f gcc/Makefile ] || [ -f stage2-gcc/Makefile ] \
31646 || exit 0 ; \
31647 [ -f gcc/Makefile ] || $(MAKE) stage2-start ; \
31648 cd gcc && \
31649 $(MAKE) $(FLAGS_TO_PASS) \
31650 $(POSTSTAGE1_FLAGS_TO_PASS) \
31651 $(EXTRA_GCC_FLAGS) clean
31652 @endif gcc-bootstrap
31655 .PHONY: configure-stage2-intl maybe-configure-stage2-intl
31656 .PHONY: all-stage2-intl maybe-all-stage2-intl
31657 .PHONY: clean-stage2-intl maybe-clean-stage2-intl
31659 maybe-configure-stage2-intl:
31660 maybe-all-stage2-intl:
31661 maybe-clean-stage2-intl:
31663 @if intl-bootstrap
31664 maybe-configure-stage2-intl: configure-stage2-intl
31665 configure-stage2-intl:
31666 @$(MAKE) stage2-start
31667 @[ -f intl/Makefile ] && exit 0 || : ; \
31668 r=`${PWD_COMMAND}`; export r; \
31669 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31670 $(STAGE_HOST_EXPORTS) \
31671 echo Configuring stage 2 in intl ; \
31672 cd intl || exit 1; \
31673 case $(srcdir) in \
31674 \.) \
31675 srcdiroption="--srcdir=."; \
31676 libsrcdir=".";; \
31677 /* | [A-Za-z]:[\\/]*) \
31678 srcdiroption="--srcdir=$(srcdir)/intl"; \
31679 libsrcdir="$$s/intl";; \
31680 *) \
31681 srcdiroption="--srcdir=../$(srcdir)/intl"; \
31682 libsrcdir="$$s/intl";; \
31683 esac; \
31684 $(SHELL) $${libsrcdir}/configure \
31685 $(HOST_CONFIGARGS) $${srcdiroption} \
31686 @stage2_werror_flag@
31688 maybe-all-stage2-intl: all-stage2-intl
31689 all-stage2-intl: configure-stage2-intl
31690 @$(MAKE) stage2-start
31691 @r=`${PWD_COMMAND}`; export r; \
31692 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31693 $(STAGE_HOST_EXPORTS) \
31694 cd intl && \
31695 $(MAKE) $(FLAGS_TO_PASS) \
31696 $(POSTSTAGE1_FLAGS_TO_PASS) \
31699 maybe-clean-stage2-intl: clean-stage2-intl
31700 clean-stage2-intl:
31701 @[ -f intl/Makefile ] || [ -f stage2-intl/Makefile ] \
31702 || exit 0 ; \
31703 [ -f intl/Makefile ] || $(MAKE) stage2-start ; \
31704 cd intl && \
31705 $(MAKE) $(FLAGS_TO_PASS) \
31706 $(POSTSTAGE1_FLAGS_TO_PASS) \
31707 clean
31708 @endif intl-bootstrap
31711 .PHONY: configure-stage2-ld maybe-configure-stage2-ld
31712 .PHONY: all-stage2-ld maybe-all-stage2-ld
31713 .PHONY: clean-stage2-ld maybe-clean-stage2-ld
31715 maybe-configure-stage2-ld:
31716 maybe-all-stage2-ld:
31717 maybe-clean-stage2-ld:
31719 @if ld-bootstrap
31720 maybe-configure-stage2-ld: configure-stage2-ld
31721 configure-stage2-ld:
31722 @$(MAKE) stage2-start
31723 @[ -f ld/Makefile ] && exit 0 || : ; \
31724 r=`${PWD_COMMAND}`; export r; \
31725 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31726 $(STAGE_HOST_EXPORTS) \
31727 echo Configuring stage 2 in ld ; \
31728 cd ld || exit 1; \
31729 case $(srcdir) in \
31730 \.) \
31731 srcdiroption="--srcdir=."; \
31732 libsrcdir=".";; \
31733 /* | [A-Za-z]:[\\/]*) \
31734 srcdiroption="--srcdir=$(srcdir)/ld"; \
31735 libsrcdir="$$s/ld";; \
31736 *) \
31737 srcdiroption="--srcdir=../$(srcdir)/ld"; \
31738 libsrcdir="$$s/ld";; \
31739 esac; \
31740 $(SHELL) $${libsrcdir}/configure \
31741 $(HOST_CONFIGARGS) $${srcdiroption} \
31742 @stage2_werror_flag@
31744 maybe-all-stage2-ld: all-stage2-ld
31745 all-stage2-ld: configure-stage2-ld
31746 @$(MAKE) stage2-start
31747 @r=`${PWD_COMMAND}`; export r; \
31748 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31749 $(STAGE_HOST_EXPORTS) \
31750 cd ld && \
31751 $(MAKE) $(FLAGS_TO_PASS) \
31752 $(POSTSTAGE1_FLAGS_TO_PASS) \
31755 maybe-clean-stage2-ld: clean-stage2-ld
31756 clean-stage2-ld:
31757 @[ -f ld/Makefile ] || [ -f stage2-ld/Makefile ] \
31758 || exit 0 ; \
31759 [ -f ld/Makefile ] || $(MAKE) stage2-start ; \
31760 cd ld && \
31761 $(MAKE) $(FLAGS_TO_PASS) \
31762 $(POSTSTAGE1_FLAGS_TO_PASS) \
31763 clean
31764 @endif ld-bootstrap
31767 .PHONY: configure-stage2-libcpp maybe-configure-stage2-libcpp
31768 .PHONY: all-stage2-libcpp maybe-all-stage2-libcpp
31769 .PHONY: clean-stage2-libcpp maybe-clean-stage2-libcpp
31771 maybe-configure-stage2-libcpp:
31772 maybe-all-stage2-libcpp:
31773 maybe-clean-stage2-libcpp:
31775 @if libcpp-bootstrap
31776 maybe-configure-stage2-libcpp: configure-stage2-libcpp
31777 configure-stage2-libcpp:
31778 @$(MAKE) stage2-start
31779 @[ -f libcpp/Makefile ] && exit 0 || : ; \
31780 r=`${PWD_COMMAND}`; export r; \
31781 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31782 $(STAGE_HOST_EXPORTS) \
31783 echo Configuring stage 2 in libcpp ; \
31784 cd libcpp || exit 1; \
31785 case $(srcdir) in \
31786 \.) \
31787 srcdiroption="--srcdir=."; \
31788 libsrcdir=".";; \
31789 /* | [A-Za-z]:[\\/]*) \
31790 srcdiroption="--srcdir=$(srcdir)/libcpp"; \
31791 libsrcdir="$$s/libcpp";; \
31792 *) \
31793 srcdiroption="--srcdir=../$(srcdir)/libcpp"; \
31794 libsrcdir="$$s/libcpp";; \
31795 esac; \
31796 $(SHELL) $${libsrcdir}/configure \
31797 $(HOST_CONFIGARGS) $${srcdiroption} \
31798 @stage2_werror_flag@
31800 maybe-all-stage2-libcpp: all-stage2-libcpp
31801 all-stage2-libcpp: configure-stage2-libcpp
31802 @$(MAKE) stage2-start
31803 @r=`${PWD_COMMAND}`; export r; \
31804 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31805 $(STAGE_HOST_EXPORTS) \
31806 cd libcpp && \
31807 $(MAKE) $(FLAGS_TO_PASS) \
31808 $(POSTSTAGE1_FLAGS_TO_PASS) \
31811 maybe-clean-stage2-libcpp: clean-stage2-libcpp
31812 clean-stage2-libcpp:
31813 @[ -f libcpp/Makefile ] || [ -f stage2-libcpp/Makefile ] \
31814 || exit 0 ; \
31815 [ -f libcpp/Makefile ] || $(MAKE) stage2-start ; \
31816 cd libcpp && \
31817 $(MAKE) $(FLAGS_TO_PASS) \
31818 $(POSTSTAGE1_FLAGS_TO_PASS) \
31819 clean
31820 @endif libcpp-bootstrap
31823 .PHONY: configure-stage2-libiberty maybe-configure-stage2-libiberty
31824 .PHONY: all-stage2-libiberty maybe-all-stage2-libiberty
31825 .PHONY: clean-stage2-libiberty maybe-clean-stage2-libiberty
31827 maybe-configure-stage2-libiberty:
31828 maybe-all-stage2-libiberty:
31829 maybe-clean-stage2-libiberty:
31831 @if libiberty-bootstrap
31832 maybe-configure-stage2-libiberty: configure-stage2-libiberty
31833 configure-stage2-libiberty:
31834 @$(MAKE) stage2-start
31835 @[ -f libiberty/Makefile ] && exit 0 || : ; \
31836 r=`${PWD_COMMAND}`; export r; \
31837 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31838 $(STAGE_HOST_EXPORTS) \
31839 echo Configuring stage 2 in libiberty ; \
31840 cd libiberty || exit 1; \
31841 case $(srcdir) in \
31842 \.) \
31843 srcdiroption="--srcdir=."; \
31844 libsrcdir=".";; \
31845 /* | [A-Za-z]:[\\/]*) \
31846 srcdiroption="--srcdir=$(srcdir)/libiberty"; \
31847 libsrcdir="$$s/libiberty";; \
31848 *) \
31849 srcdiroption="--srcdir=../$(srcdir)/libiberty"; \
31850 libsrcdir="$$s/libiberty";; \
31851 esac; \
31852 $(SHELL) $${libsrcdir}/configure \
31853 $(HOST_CONFIGARGS) $${srcdiroption} \
31854 @stage2_werror_flag@
31856 maybe-all-stage2-libiberty: all-stage2-libiberty
31857 all-stage2-libiberty: configure-stage2-libiberty
31858 @$(MAKE) stage2-start
31859 @r=`${PWD_COMMAND}`; export r; \
31860 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31861 $(STAGE_HOST_EXPORTS) \
31862 cd libiberty && \
31863 $(MAKE) $(FLAGS_TO_PASS) \
31864 $(POSTSTAGE1_FLAGS_TO_PASS) \
31867 maybe-clean-stage2-libiberty: clean-stage2-libiberty
31868 clean-stage2-libiberty:
31869 @[ -f libiberty/Makefile ] || [ -f stage2-libiberty/Makefile ] \
31870 || exit 0 ; \
31871 [ -f libiberty/Makefile ] || $(MAKE) stage2-start ; \
31872 cd libiberty && \
31873 $(MAKE) $(FLAGS_TO_PASS) \
31874 $(POSTSTAGE1_FLAGS_TO_PASS) \
31875 clean
31876 @endif libiberty-bootstrap
31879 .PHONY: configure-stage2-zlib maybe-configure-stage2-zlib
31880 .PHONY: all-stage2-zlib maybe-all-stage2-zlib
31881 .PHONY: clean-stage2-zlib maybe-clean-stage2-zlib
31883 maybe-configure-stage2-zlib:
31884 maybe-all-stage2-zlib:
31885 maybe-clean-stage2-zlib:
31887 @if zlib-bootstrap
31888 maybe-configure-stage2-zlib: configure-stage2-zlib
31889 configure-stage2-zlib:
31890 @$(MAKE) stage2-start
31891 @[ -f zlib/Makefile ] && exit 0 || : ; \
31892 r=`${PWD_COMMAND}`; export r; \
31893 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31894 $(STAGE_HOST_EXPORTS) \
31895 echo Configuring stage 2 in zlib ; \
31896 cd zlib || exit 1; \
31897 case $(srcdir) in \
31898 \.) \
31899 srcdiroption="--srcdir=."; \
31900 libsrcdir=".";; \
31901 /* | [A-Za-z]:[\\/]*) \
31902 srcdiroption="--srcdir=$(srcdir)/zlib"; \
31903 libsrcdir="$$s/zlib";; \
31904 *) \
31905 srcdiroption="--srcdir=../$(srcdir)/zlib"; \
31906 libsrcdir="$$s/zlib";; \
31907 esac; \
31908 $(SHELL) $${libsrcdir}/configure \
31909 $(HOST_CONFIGARGS) $${srcdiroption} \
31910 @stage2_werror_flag@
31912 maybe-all-stage2-zlib: all-stage2-zlib
31913 all-stage2-zlib: configure-stage2-zlib
31914 @$(MAKE) stage2-start
31915 @r=`${PWD_COMMAND}`; export r; \
31916 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31917 $(STAGE_HOST_EXPORTS) \
31918 cd zlib && \
31919 $(MAKE) $(FLAGS_TO_PASS) \
31920 $(POSTSTAGE1_FLAGS_TO_PASS) \
31923 maybe-clean-stage2-zlib: clean-stage2-zlib
31924 clean-stage2-zlib:
31925 @[ -f zlib/Makefile ] || [ -f stage2-zlib/Makefile ] \
31926 || exit 0 ; \
31927 [ -f zlib/Makefile ] || $(MAKE) stage2-start ; \
31928 cd zlib && \
31929 $(MAKE) $(FLAGS_TO_PASS) \
31930 $(POSTSTAGE1_FLAGS_TO_PASS) \
31931 clean
31932 @endif zlib-bootstrap
31936 # FIXME: Will not need to be conditional when toplevel bootstrap is the
31937 # only possibility, but now it conflicts with no-bootstrap rules
31938 @if gcc-bootstrap
31942 .PHONY: bootstrap2
31943 bootstrap2: stage2-bubble all
31946 # Rules to wipe a stage and all the following ones, also used for cleanstrap
31947 distclean-stage1:: distclean-stage2
31948 .PHONY: distclean-stage2
31949 distclean-stage2::
31950 [ -f stage_current ] && $(MAKE) `cat stage_current`-end || :
31951 rm -rf stage2-*
31954 @endif gcc-bootstrap
31957 .PHONY: stage3-start stage3-end
31959 stage3-start::
31960 @[ -f stage_current ] && $(MAKE) `cat stage_current`-end || : ; \
31961 echo stage3 > stage_current ; \
31962 echo stage3 > stage_last
31963 @if bfd
31964 @[ -d stage3-bfd ] || mkdir stage3-bfd; \
31965 set stage3-bfd bfd ; @CREATE_LINK_TO_DIR@ ; \
31966 set stage2-bfd prev-bfd ; @CREATE_LINK_TO_DIR@
31967 @endif bfd
31968 @if opcodes
31969 @[ -d stage3-opcodes ] || mkdir stage3-opcodes; \
31970 set stage3-opcodes opcodes ; @CREATE_LINK_TO_DIR@ ; \
31971 set stage2-opcodes prev-opcodes ; @CREATE_LINK_TO_DIR@
31972 @endif opcodes
31973 @if binutils
31974 @[ -d stage3-binutils ] || mkdir stage3-binutils; \
31975 set stage3-binutils binutils ; @CREATE_LINK_TO_DIR@ ; \
31976 set stage2-binutils prev-binutils ; @CREATE_LINK_TO_DIR@
31977 @endif binutils
31978 @if gas
31979 @[ -d stage3-gas ] || mkdir stage3-gas; \
31980 set stage3-gas gas ; @CREATE_LINK_TO_DIR@ ; \
31981 set stage2-gas prev-gas ; @CREATE_LINK_TO_DIR@
31982 @endif gas
31983 @if gcc
31984 @[ -d stage3-gcc ] || mkdir stage3-gcc; \
31985 set stage3-gcc gcc ; @CREATE_LINK_TO_DIR@ ; \
31986 set stage2-gcc prev-gcc ; @CREATE_LINK_TO_DIR@
31987 @endif gcc
31988 @if intl
31989 @[ -d stage3-intl ] || mkdir stage3-intl; \
31990 set stage3-intl intl ; @CREATE_LINK_TO_DIR@ ; \
31991 set stage2-intl prev-intl ; @CREATE_LINK_TO_DIR@
31992 @endif intl
31993 @if ld
31994 @[ -d stage3-ld ] || mkdir stage3-ld; \
31995 set stage3-ld ld ; @CREATE_LINK_TO_DIR@ ; \
31996 set stage2-ld prev-ld ; @CREATE_LINK_TO_DIR@
31997 @endif ld
31998 @if libcpp
31999 @[ -d stage3-libcpp ] || mkdir stage3-libcpp; \
32000 set stage3-libcpp libcpp ; @CREATE_LINK_TO_DIR@ ; \
32001 set stage2-libcpp prev-libcpp ; @CREATE_LINK_TO_DIR@
32002 @endif libcpp
32003 @if libiberty
32004 @[ -d stage3-libiberty ] || mkdir stage3-libiberty; \
32005 set stage3-libiberty libiberty ; @CREATE_LINK_TO_DIR@ ; \
32006 set stage2-libiberty prev-libiberty ; @CREATE_LINK_TO_DIR@
32007 @endif libiberty
32008 @if zlib
32009 @[ -d stage3-zlib ] || mkdir stage3-zlib; \
32010 set stage3-zlib zlib ; @CREATE_LINK_TO_DIR@ ; \
32011 set stage2-zlib prev-zlib ; @CREATE_LINK_TO_DIR@
32012 @endif zlib
32014 stage3-end::
32015 @rm -f stage_current
32016 @if bfd
32017 @set bfd stage3-bfd ; @UNDO_LINK_TO_DIR@ ; \
32018 set prev-bfd stage2-bfd ; @UNDO_LINK_TO_DIR@
32019 @endif bfd
32020 @if opcodes
32021 @set opcodes stage3-opcodes ; @UNDO_LINK_TO_DIR@ ; \
32022 set prev-opcodes stage2-opcodes ; @UNDO_LINK_TO_DIR@
32023 @endif opcodes
32024 @if binutils
32025 @set binutils stage3-binutils ; @UNDO_LINK_TO_DIR@ ; \
32026 set prev-binutils stage2-binutils ; @UNDO_LINK_TO_DIR@
32027 @endif binutils
32028 @if gas
32029 @set gas stage3-gas ; @UNDO_LINK_TO_DIR@ ; \
32030 set prev-gas stage2-gas ; @UNDO_LINK_TO_DIR@
32031 @endif gas
32032 @if gcc
32033 @set gcc stage3-gcc ; @UNDO_LINK_TO_DIR@ ; \
32034 set prev-gcc stage2-gcc ; @UNDO_LINK_TO_DIR@
32035 @endif gcc
32036 @if intl
32037 @set intl stage3-intl ; @UNDO_LINK_TO_DIR@ ; \
32038 set prev-intl stage2-intl ; @UNDO_LINK_TO_DIR@
32039 @endif intl
32040 @if ld
32041 @set ld stage3-ld ; @UNDO_LINK_TO_DIR@ ; \
32042 set prev-ld stage2-ld ; @UNDO_LINK_TO_DIR@
32043 @endif ld
32044 @if libcpp
32045 @set libcpp stage3-libcpp ; @UNDO_LINK_TO_DIR@ ; \
32046 set prev-libcpp stage2-libcpp ; @UNDO_LINK_TO_DIR@
32047 @endif libcpp
32048 @if libiberty
32049 @set libiberty stage3-libiberty ; @UNDO_LINK_TO_DIR@ ; \
32050 set prev-libiberty stage2-libiberty ; @UNDO_LINK_TO_DIR@
32051 @endif libiberty
32052 @if zlib
32053 @set zlib stage3-zlib ; @UNDO_LINK_TO_DIR@ ; \
32054 set prev-zlib stage2-zlib ; @UNDO_LINK_TO_DIR@
32055 @endif zlib
32057 # Bubble a bugfix through all the stages up to stage 3. They
32058 # are remade, but not reconfigured. The next stage (if any) will not
32059 # be reconfigured as well.
32060 .PHONY: stage3-bubble
32061 stage3-bubble:: stage2-bubble
32062 @bootstrap_lean@-rm -rf stage1-* ; $(STAMP) stage1-lean
32063 @if test -f stage3-lean || test -f stage2-lean ; then \
32064 echo Skipping rebuild of stage3 ; \
32065 else \
32066 $(MAKE) $(RECURSE_FLAGS_TO_PASS) NOTPARALLEL= all-stage3; \
32069 .PHONY: all-stage3 clean-stage3
32070 all-stage3: \
32071 maybe-all-stage3-bfd \
32072 maybe-all-stage3-opcodes \
32073 maybe-all-stage3-binutils \
32074 maybe-all-stage3-gas \
32075 maybe-all-stage3-gcc \
32076 maybe-all-stage3-intl \
32077 maybe-all-stage3-ld \
32078 maybe-all-stage3-libcpp \
32079 maybe-all-stage3-libiberty \
32080 maybe-all-stage3-zlib
32082 do-clean: clean-stage3
32083 clean-stage3: \
32084 maybe-clean-stage3-bfd \
32085 maybe-clean-stage3-opcodes \
32086 maybe-clean-stage3-binutils \
32087 maybe-clean-stage3-gas \
32088 maybe-clean-stage3-gcc \
32089 maybe-clean-stage3-intl \
32090 maybe-clean-stage3-ld \
32091 maybe-clean-stage3-libcpp \
32092 maybe-clean-stage3-libiberty \
32093 maybe-clean-stage3-zlib
32096 .PHONY: configure-stage3-bfd maybe-configure-stage3-bfd
32097 .PHONY: all-stage3-bfd maybe-all-stage3-bfd
32098 .PHONY: clean-stage3-bfd maybe-clean-stage3-bfd
32100 maybe-configure-stage3-bfd:
32101 maybe-all-stage3-bfd:
32102 maybe-clean-stage3-bfd:
32104 @if bfd-bootstrap
32105 maybe-configure-stage3-bfd: configure-stage3-bfd
32106 configure-stage3-bfd:
32107 @$(MAKE) stage3-start
32108 @[ -f bfd/Makefile ] && exit 0 || : ; \
32109 r=`${PWD_COMMAND}`; export r; \
32110 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32111 $(STAGE_HOST_EXPORTS) \
32112 echo Configuring stage 3 in bfd ; \
32113 cd bfd || exit 1; \
32114 case $(srcdir) in \
32115 \.) \
32116 srcdiroption="--srcdir=."; \
32117 libsrcdir=".";; \
32118 /* | [A-Za-z]:[\\/]*) \
32119 srcdiroption="--srcdir=$(srcdir)/bfd"; \
32120 libsrcdir="$$s/bfd";; \
32121 *) \
32122 srcdiroption="--srcdir=../$(srcdir)/bfd"; \
32123 libsrcdir="$$s/bfd";; \
32124 esac; \
32125 $(SHELL) $${libsrcdir}/configure \
32126 $(HOST_CONFIGARGS) $${srcdiroption} \
32127 @stage2_werror_flag@
32129 maybe-all-stage3-bfd: all-stage3-bfd
32130 all-stage3-bfd: configure-stage3-bfd
32131 @$(MAKE) stage3-start
32132 @r=`${PWD_COMMAND}`; export r; \
32133 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32134 $(STAGE_HOST_EXPORTS) \
32135 cd bfd && \
32136 $(MAKE) $(FLAGS_TO_PASS) \
32137 $(POSTSTAGE1_FLAGS_TO_PASS) \
32140 maybe-clean-stage3-bfd: clean-stage3-bfd
32141 clean-stage3-bfd:
32142 @[ -f bfd/Makefile ] || [ -f stage3-bfd/Makefile ] \
32143 || exit 0 ; \
32144 [ -f bfd/Makefile ] || $(MAKE) stage3-start ; \
32145 cd bfd && \
32146 $(MAKE) $(FLAGS_TO_PASS) \
32147 $(POSTSTAGE1_FLAGS_TO_PASS) \
32148 clean
32149 @endif bfd-bootstrap
32152 .PHONY: configure-stage3-opcodes maybe-configure-stage3-opcodes
32153 .PHONY: all-stage3-opcodes maybe-all-stage3-opcodes
32154 .PHONY: clean-stage3-opcodes maybe-clean-stage3-opcodes
32156 maybe-configure-stage3-opcodes:
32157 maybe-all-stage3-opcodes:
32158 maybe-clean-stage3-opcodes:
32160 @if opcodes-bootstrap
32161 maybe-configure-stage3-opcodes: configure-stage3-opcodes
32162 configure-stage3-opcodes:
32163 @$(MAKE) stage3-start
32164 @[ -f opcodes/Makefile ] && exit 0 || : ; \
32165 r=`${PWD_COMMAND}`; export r; \
32166 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32167 $(STAGE_HOST_EXPORTS) \
32168 echo Configuring stage 3 in opcodes ; \
32169 cd opcodes || exit 1; \
32170 case $(srcdir) in \
32171 \.) \
32172 srcdiroption="--srcdir=."; \
32173 libsrcdir=".";; \
32174 /* | [A-Za-z]:[\\/]*) \
32175 srcdiroption="--srcdir=$(srcdir)/opcodes"; \
32176 libsrcdir="$$s/opcodes";; \
32177 *) \
32178 srcdiroption="--srcdir=../$(srcdir)/opcodes"; \
32179 libsrcdir="$$s/opcodes";; \
32180 esac; \
32181 $(SHELL) $${libsrcdir}/configure \
32182 $(HOST_CONFIGARGS) $${srcdiroption} \
32183 @stage2_werror_flag@
32185 maybe-all-stage3-opcodes: all-stage3-opcodes
32186 all-stage3-opcodes: configure-stage3-opcodes
32187 @$(MAKE) stage3-start
32188 @r=`${PWD_COMMAND}`; export r; \
32189 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32190 $(STAGE_HOST_EXPORTS) \
32191 cd opcodes && \
32192 $(MAKE) $(FLAGS_TO_PASS) \
32193 $(POSTSTAGE1_FLAGS_TO_PASS) \
32196 maybe-clean-stage3-opcodes: clean-stage3-opcodes
32197 clean-stage3-opcodes:
32198 @[ -f opcodes/Makefile ] || [ -f stage3-opcodes/Makefile ] \
32199 || exit 0 ; \
32200 [ -f opcodes/Makefile ] || $(MAKE) stage3-start ; \
32201 cd opcodes && \
32202 $(MAKE) $(FLAGS_TO_PASS) \
32203 $(POSTSTAGE1_FLAGS_TO_PASS) \
32204 clean
32205 @endif opcodes-bootstrap
32208 .PHONY: configure-stage3-binutils maybe-configure-stage3-binutils
32209 .PHONY: all-stage3-binutils maybe-all-stage3-binutils
32210 .PHONY: clean-stage3-binutils maybe-clean-stage3-binutils
32212 maybe-configure-stage3-binutils:
32213 maybe-all-stage3-binutils:
32214 maybe-clean-stage3-binutils:
32216 @if binutils-bootstrap
32217 maybe-configure-stage3-binutils: configure-stage3-binutils
32218 configure-stage3-binutils:
32219 @$(MAKE) stage3-start
32220 @[ -f binutils/Makefile ] && exit 0 || : ; \
32221 r=`${PWD_COMMAND}`; export r; \
32222 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32223 $(STAGE_HOST_EXPORTS) \
32224 echo Configuring stage 3 in binutils ; \
32225 cd binutils || exit 1; \
32226 case $(srcdir) in \
32227 \.) \
32228 srcdiroption="--srcdir=."; \
32229 libsrcdir=".";; \
32230 /* | [A-Za-z]:[\\/]*) \
32231 srcdiroption="--srcdir=$(srcdir)/binutils"; \
32232 libsrcdir="$$s/binutils";; \
32233 *) \
32234 srcdiroption="--srcdir=../$(srcdir)/binutils"; \
32235 libsrcdir="$$s/binutils";; \
32236 esac; \
32237 $(SHELL) $${libsrcdir}/configure \
32238 $(HOST_CONFIGARGS) $${srcdiroption} \
32239 @stage2_werror_flag@
32241 maybe-all-stage3-binutils: all-stage3-binutils
32242 all-stage3-binutils: configure-stage3-binutils
32243 @$(MAKE) stage3-start
32244 @r=`${PWD_COMMAND}`; export r; \
32245 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32246 $(STAGE_HOST_EXPORTS) \
32247 cd binutils && \
32248 $(MAKE) $(FLAGS_TO_PASS) \
32249 $(POSTSTAGE1_FLAGS_TO_PASS) \
32252 maybe-clean-stage3-binutils: clean-stage3-binutils
32253 clean-stage3-binutils:
32254 @[ -f binutils/Makefile ] || [ -f stage3-binutils/Makefile ] \
32255 || exit 0 ; \
32256 [ -f binutils/Makefile ] || $(MAKE) stage3-start ; \
32257 cd binutils && \
32258 $(MAKE) $(FLAGS_TO_PASS) \
32259 $(POSTSTAGE1_FLAGS_TO_PASS) \
32260 clean
32261 @endif binutils-bootstrap
32264 .PHONY: configure-stage3-gas maybe-configure-stage3-gas
32265 .PHONY: all-stage3-gas maybe-all-stage3-gas
32266 .PHONY: clean-stage3-gas maybe-clean-stage3-gas
32268 maybe-configure-stage3-gas:
32269 maybe-all-stage3-gas:
32270 maybe-clean-stage3-gas:
32272 @if gas-bootstrap
32273 maybe-configure-stage3-gas: configure-stage3-gas
32274 configure-stage3-gas:
32275 @$(MAKE) stage3-start
32276 @[ -f gas/Makefile ] && exit 0 || : ; \
32277 r=`${PWD_COMMAND}`; export r; \
32278 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32279 $(STAGE_HOST_EXPORTS) \
32280 echo Configuring stage 3 in gas ; \
32281 cd gas || exit 1; \
32282 case $(srcdir) in \
32283 \.) \
32284 srcdiroption="--srcdir=."; \
32285 libsrcdir=".";; \
32286 /* | [A-Za-z]:[\\/]*) \
32287 srcdiroption="--srcdir=$(srcdir)/gas"; \
32288 libsrcdir="$$s/gas";; \
32289 *) \
32290 srcdiroption="--srcdir=../$(srcdir)/gas"; \
32291 libsrcdir="$$s/gas";; \
32292 esac; \
32293 $(SHELL) $${libsrcdir}/configure \
32294 $(HOST_CONFIGARGS) $${srcdiroption} \
32295 @stage2_werror_flag@
32297 maybe-all-stage3-gas: all-stage3-gas
32298 all-stage3-gas: configure-stage3-gas
32299 @$(MAKE) stage3-start
32300 @r=`${PWD_COMMAND}`; export r; \
32301 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32302 $(STAGE_HOST_EXPORTS) \
32303 cd gas && \
32304 $(MAKE) $(FLAGS_TO_PASS) \
32305 $(POSTSTAGE1_FLAGS_TO_PASS) \
32308 maybe-clean-stage3-gas: clean-stage3-gas
32309 clean-stage3-gas:
32310 @[ -f gas/Makefile ] || [ -f stage3-gas/Makefile ] \
32311 || exit 0 ; \
32312 [ -f gas/Makefile ] || $(MAKE) stage3-start ; \
32313 cd gas && \
32314 $(MAKE) $(FLAGS_TO_PASS) \
32315 $(POSTSTAGE1_FLAGS_TO_PASS) \
32316 clean
32317 @endif gas-bootstrap
32320 .PHONY: configure-stage3-gcc maybe-configure-stage3-gcc
32321 .PHONY: all-stage3-gcc maybe-all-stage3-gcc
32322 .PHONY: clean-stage3-gcc maybe-clean-stage3-gcc
32324 maybe-configure-stage3-gcc:
32325 maybe-all-stage3-gcc:
32326 maybe-clean-stage3-gcc:
32328 @if gcc-bootstrap
32329 maybe-configure-stage3-gcc: configure-stage3-gcc
32330 configure-stage3-gcc:
32331 @$(MAKE) stage3-start
32332 @[ -f gcc/Makefile ] && exit 0 || : ; \
32333 r=`${PWD_COMMAND}`; export r; \
32334 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32335 $(STAGE_HOST_EXPORTS) \
32336 echo Configuring stage 3 in gcc ; \
32337 cd gcc || exit 1; \
32338 case $(srcdir) in \
32339 \.) \
32340 srcdiroption="--srcdir=."; \
32341 libsrcdir=".";; \
32342 /* | [A-Za-z]:[\\/]*) \
32343 srcdiroption="--srcdir=$(srcdir)/gcc"; \
32344 libsrcdir="$$s/gcc";; \
32345 *) \
32346 srcdiroption="--srcdir=../$(srcdir)/gcc"; \
32347 libsrcdir="$$s/gcc";; \
32348 esac; \
32349 $(SHELL) $${libsrcdir}/configure \
32350 $(HOST_CONFIGARGS) $${srcdiroption} \
32351 @stage2_werror_flag@
32353 maybe-all-stage3-gcc: all-stage3-gcc
32354 all-stage3-gcc: configure-stage3-gcc
32355 @$(MAKE) stage3-start
32356 @r=`${PWD_COMMAND}`; export r; \
32357 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32358 $(STAGE_HOST_EXPORTS) \
32359 cd gcc && \
32360 $(MAKE) $(FLAGS_TO_PASS) \
32361 $(POSTSTAGE1_FLAGS_TO_PASS) \
32362 $(EXTRA_GCC_FLAGS)
32364 maybe-clean-stage3-gcc: clean-stage3-gcc
32365 clean-stage3-gcc:
32366 @[ -f gcc/Makefile ] || [ -f stage3-gcc/Makefile ] \
32367 || exit 0 ; \
32368 [ -f gcc/Makefile ] || $(MAKE) stage3-start ; \
32369 cd gcc && \
32370 $(MAKE) $(FLAGS_TO_PASS) \
32371 $(POSTSTAGE1_FLAGS_TO_PASS) \
32372 $(EXTRA_GCC_FLAGS) clean
32373 @endif gcc-bootstrap
32376 .PHONY: configure-stage3-intl maybe-configure-stage3-intl
32377 .PHONY: all-stage3-intl maybe-all-stage3-intl
32378 .PHONY: clean-stage3-intl maybe-clean-stage3-intl
32380 maybe-configure-stage3-intl:
32381 maybe-all-stage3-intl:
32382 maybe-clean-stage3-intl:
32384 @if intl-bootstrap
32385 maybe-configure-stage3-intl: configure-stage3-intl
32386 configure-stage3-intl:
32387 @$(MAKE) stage3-start
32388 @[ -f intl/Makefile ] && exit 0 || : ; \
32389 r=`${PWD_COMMAND}`; export r; \
32390 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32391 $(STAGE_HOST_EXPORTS) \
32392 echo Configuring stage 3 in intl ; \
32393 cd intl || exit 1; \
32394 case $(srcdir) in \
32395 \.) \
32396 srcdiroption="--srcdir=."; \
32397 libsrcdir=".";; \
32398 /* | [A-Za-z]:[\\/]*) \
32399 srcdiroption="--srcdir=$(srcdir)/intl"; \
32400 libsrcdir="$$s/intl";; \
32401 *) \
32402 srcdiroption="--srcdir=../$(srcdir)/intl"; \
32403 libsrcdir="$$s/intl";; \
32404 esac; \
32405 $(SHELL) $${libsrcdir}/configure \
32406 $(HOST_CONFIGARGS) $${srcdiroption} \
32407 @stage2_werror_flag@
32409 maybe-all-stage3-intl: all-stage3-intl
32410 all-stage3-intl: configure-stage3-intl
32411 @$(MAKE) stage3-start
32412 @r=`${PWD_COMMAND}`; export r; \
32413 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32414 $(STAGE_HOST_EXPORTS) \
32415 cd intl && \
32416 $(MAKE) $(FLAGS_TO_PASS) \
32417 $(POSTSTAGE1_FLAGS_TO_PASS) \
32420 maybe-clean-stage3-intl: clean-stage3-intl
32421 clean-stage3-intl:
32422 @[ -f intl/Makefile ] || [ -f stage3-intl/Makefile ] \
32423 || exit 0 ; \
32424 [ -f intl/Makefile ] || $(MAKE) stage3-start ; \
32425 cd intl && \
32426 $(MAKE) $(FLAGS_TO_PASS) \
32427 $(POSTSTAGE1_FLAGS_TO_PASS) \
32428 clean
32429 @endif intl-bootstrap
32432 .PHONY: configure-stage3-ld maybe-configure-stage3-ld
32433 .PHONY: all-stage3-ld maybe-all-stage3-ld
32434 .PHONY: clean-stage3-ld maybe-clean-stage3-ld
32436 maybe-configure-stage3-ld:
32437 maybe-all-stage3-ld:
32438 maybe-clean-stage3-ld:
32440 @if ld-bootstrap
32441 maybe-configure-stage3-ld: configure-stage3-ld
32442 configure-stage3-ld:
32443 @$(MAKE) stage3-start
32444 @[ -f ld/Makefile ] && exit 0 || : ; \
32445 r=`${PWD_COMMAND}`; export r; \
32446 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32447 $(STAGE_HOST_EXPORTS) \
32448 echo Configuring stage 3 in ld ; \
32449 cd ld || exit 1; \
32450 case $(srcdir) in \
32451 \.) \
32452 srcdiroption="--srcdir=."; \
32453 libsrcdir=".";; \
32454 /* | [A-Za-z]:[\\/]*) \
32455 srcdiroption="--srcdir=$(srcdir)/ld"; \
32456 libsrcdir="$$s/ld";; \
32457 *) \
32458 srcdiroption="--srcdir=../$(srcdir)/ld"; \
32459 libsrcdir="$$s/ld";; \
32460 esac; \
32461 $(SHELL) $${libsrcdir}/configure \
32462 $(HOST_CONFIGARGS) $${srcdiroption} \
32463 @stage2_werror_flag@
32465 maybe-all-stage3-ld: all-stage3-ld
32466 all-stage3-ld: configure-stage3-ld
32467 @$(MAKE) stage3-start
32468 @r=`${PWD_COMMAND}`; export r; \
32469 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32470 $(STAGE_HOST_EXPORTS) \
32471 cd ld && \
32472 $(MAKE) $(FLAGS_TO_PASS) \
32473 $(POSTSTAGE1_FLAGS_TO_PASS) \
32476 maybe-clean-stage3-ld: clean-stage3-ld
32477 clean-stage3-ld:
32478 @[ -f ld/Makefile ] || [ -f stage3-ld/Makefile ] \
32479 || exit 0 ; \
32480 [ -f ld/Makefile ] || $(MAKE) stage3-start ; \
32481 cd ld && \
32482 $(MAKE) $(FLAGS_TO_PASS) \
32483 $(POSTSTAGE1_FLAGS_TO_PASS) \
32484 clean
32485 @endif ld-bootstrap
32488 .PHONY: configure-stage3-libcpp maybe-configure-stage3-libcpp
32489 .PHONY: all-stage3-libcpp maybe-all-stage3-libcpp
32490 .PHONY: clean-stage3-libcpp maybe-clean-stage3-libcpp
32492 maybe-configure-stage3-libcpp:
32493 maybe-all-stage3-libcpp:
32494 maybe-clean-stage3-libcpp:
32496 @if libcpp-bootstrap
32497 maybe-configure-stage3-libcpp: configure-stage3-libcpp
32498 configure-stage3-libcpp:
32499 @$(MAKE) stage3-start
32500 @[ -f libcpp/Makefile ] && exit 0 || : ; \
32501 r=`${PWD_COMMAND}`; export r; \
32502 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32503 $(STAGE_HOST_EXPORTS) \
32504 echo Configuring stage 3 in libcpp ; \
32505 cd libcpp || exit 1; \
32506 case $(srcdir) in \
32507 \.) \
32508 srcdiroption="--srcdir=."; \
32509 libsrcdir=".";; \
32510 /* | [A-Za-z]:[\\/]*) \
32511 srcdiroption="--srcdir=$(srcdir)/libcpp"; \
32512 libsrcdir="$$s/libcpp";; \
32513 *) \
32514 srcdiroption="--srcdir=../$(srcdir)/libcpp"; \
32515 libsrcdir="$$s/libcpp";; \
32516 esac; \
32517 $(SHELL) $${libsrcdir}/configure \
32518 $(HOST_CONFIGARGS) $${srcdiroption} \
32519 @stage2_werror_flag@
32521 maybe-all-stage3-libcpp: all-stage3-libcpp
32522 all-stage3-libcpp: configure-stage3-libcpp
32523 @$(MAKE) stage3-start
32524 @r=`${PWD_COMMAND}`; export r; \
32525 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32526 $(STAGE_HOST_EXPORTS) \
32527 cd libcpp && \
32528 $(MAKE) $(FLAGS_TO_PASS) \
32529 $(POSTSTAGE1_FLAGS_TO_PASS) \
32532 maybe-clean-stage3-libcpp: clean-stage3-libcpp
32533 clean-stage3-libcpp:
32534 @[ -f libcpp/Makefile ] || [ -f stage3-libcpp/Makefile ] \
32535 || exit 0 ; \
32536 [ -f libcpp/Makefile ] || $(MAKE) stage3-start ; \
32537 cd libcpp && \
32538 $(MAKE) $(FLAGS_TO_PASS) \
32539 $(POSTSTAGE1_FLAGS_TO_PASS) \
32540 clean
32541 @endif libcpp-bootstrap
32544 .PHONY: configure-stage3-libiberty maybe-configure-stage3-libiberty
32545 .PHONY: all-stage3-libiberty maybe-all-stage3-libiberty
32546 .PHONY: clean-stage3-libiberty maybe-clean-stage3-libiberty
32548 maybe-configure-stage3-libiberty:
32549 maybe-all-stage3-libiberty:
32550 maybe-clean-stage3-libiberty:
32552 @if libiberty-bootstrap
32553 maybe-configure-stage3-libiberty: configure-stage3-libiberty
32554 configure-stage3-libiberty:
32555 @$(MAKE) stage3-start
32556 @[ -f libiberty/Makefile ] && exit 0 || : ; \
32557 r=`${PWD_COMMAND}`; export r; \
32558 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32559 $(STAGE_HOST_EXPORTS) \
32560 echo Configuring stage 3 in libiberty ; \
32561 cd libiberty || exit 1; \
32562 case $(srcdir) in \
32563 \.) \
32564 srcdiroption="--srcdir=."; \
32565 libsrcdir=".";; \
32566 /* | [A-Za-z]:[\\/]*) \
32567 srcdiroption="--srcdir=$(srcdir)/libiberty"; \
32568 libsrcdir="$$s/libiberty";; \
32569 *) \
32570 srcdiroption="--srcdir=../$(srcdir)/libiberty"; \
32571 libsrcdir="$$s/libiberty";; \
32572 esac; \
32573 $(SHELL) $${libsrcdir}/configure \
32574 $(HOST_CONFIGARGS) $${srcdiroption} \
32575 @stage2_werror_flag@
32577 maybe-all-stage3-libiberty: all-stage3-libiberty
32578 all-stage3-libiberty: configure-stage3-libiberty
32579 @$(MAKE) stage3-start
32580 @r=`${PWD_COMMAND}`; export r; \
32581 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32582 $(STAGE_HOST_EXPORTS) \
32583 cd libiberty && \
32584 $(MAKE) $(FLAGS_TO_PASS) \
32585 $(POSTSTAGE1_FLAGS_TO_PASS) \
32588 maybe-clean-stage3-libiberty: clean-stage3-libiberty
32589 clean-stage3-libiberty:
32590 @[ -f libiberty/Makefile ] || [ -f stage3-libiberty/Makefile ] \
32591 || exit 0 ; \
32592 [ -f libiberty/Makefile ] || $(MAKE) stage3-start ; \
32593 cd libiberty && \
32594 $(MAKE) $(FLAGS_TO_PASS) \
32595 $(POSTSTAGE1_FLAGS_TO_PASS) \
32596 clean
32597 @endif libiberty-bootstrap
32600 .PHONY: configure-stage3-zlib maybe-configure-stage3-zlib
32601 .PHONY: all-stage3-zlib maybe-all-stage3-zlib
32602 .PHONY: clean-stage3-zlib maybe-clean-stage3-zlib
32604 maybe-configure-stage3-zlib:
32605 maybe-all-stage3-zlib:
32606 maybe-clean-stage3-zlib:
32608 @if zlib-bootstrap
32609 maybe-configure-stage3-zlib: configure-stage3-zlib
32610 configure-stage3-zlib:
32611 @$(MAKE) stage3-start
32612 @[ -f zlib/Makefile ] && exit 0 || : ; \
32613 r=`${PWD_COMMAND}`; export r; \
32614 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32615 $(STAGE_HOST_EXPORTS) \
32616 echo Configuring stage 3 in zlib ; \
32617 cd zlib || exit 1; \
32618 case $(srcdir) in \
32619 \.) \
32620 srcdiroption="--srcdir=."; \
32621 libsrcdir=".";; \
32622 /* | [A-Za-z]:[\\/]*) \
32623 srcdiroption="--srcdir=$(srcdir)/zlib"; \
32624 libsrcdir="$$s/zlib";; \
32625 *) \
32626 srcdiroption="--srcdir=../$(srcdir)/zlib"; \
32627 libsrcdir="$$s/zlib";; \
32628 esac; \
32629 $(SHELL) $${libsrcdir}/configure \
32630 $(HOST_CONFIGARGS) $${srcdiroption} \
32631 @stage2_werror_flag@
32633 maybe-all-stage3-zlib: all-stage3-zlib
32634 all-stage3-zlib: configure-stage3-zlib
32635 @$(MAKE) stage3-start
32636 @r=`${PWD_COMMAND}`; export r; \
32637 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32638 $(STAGE_HOST_EXPORTS) \
32639 cd zlib && \
32640 $(MAKE) $(FLAGS_TO_PASS) \
32641 $(POSTSTAGE1_FLAGS_TO_PASS) \
32644 maybe-clean-stage3-zlib: clean-stage3-zlib
32645 clean-stage3-zlib:
32646 @[ -f zlib/Makefile ] || [ -f stage3-zlib/Makefile ] \
32647 || exit 0 ; \
32648 [ -f zlib/Makefile ] || $(MAKE) stage3-start ; \
32649 cd zlib && \
32650 $(MAKE) $(FLAGS_TO_PASS) \
32651 $(POSTSTAGE1_FLAGS_TO_PASS) \
32652 clean
32653 @endif zlib-bootstrap
32657 # FIXME: Will not need to be conditional when toplevel bootstrap is the
32658 # only possibility, but now it conflicts with no-bootstrap rules
32659 @if gcc-bootstrap
32661 compare:
32662 @if test -f stage2-lean; then \
32663 echo Cannot compare object files as stage 2 was deleted. ; \
32664 exit 0 ; \
32665 fi; \
32666 [ -f stage_current ] && $(MAKE) `cat stage_current`-end || : ; \
32667 @r=`${PWD_COMMAND}`; export r; \
32668 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32669 rm -f .bad_compare ; \
32670 cd stage3-gcc; \
32671 files=`find . -name "*$(objext)" -print` ; \
32672 cd .. ; \
32673 for file in $${files} ; do \
32674 f1=$$r/stage2-gcc/$$file; f2=$$r/stage3-gcc/$$file; \
32675 @do_compare@ > /dev/null 2>&1; \
32676 test $$? -eq 1 && echo $$file differs >> .bad_compare || true; \
32677 done ; \
32678 if [ -f .bad_compare ]; then \
32679 echo "Bootstrap comparison failure!"; \
32680 cat .bad_compare; \
32681 exit 1; \
32682 else \
32683 true; \
32684 fi ; \
32685 $(STAMP) compare
32686 @bootstrap_lean@-rm -rf stage2-* ; $(STAMP) stage2-lean
32690 .PHONY: bootstrap
32691 bootstrap: stage3-bubble compare all
32694 # Rules to wipe a stage and all the following ones, also used for cleanstrap
32695 distclean-stage2:: distclean-stage3
32696 .PHONY: distclean-stage3
32697 distclean-stage3::
32698 [ -f stage_current ] && $(MAKE) `cat stage_current`-end || :
32699 rm -rf stage3-* compare
32702 .PHONY: cleanstrap
32703 cleanstrap: distclean bootstrap
32705 @endif gcc-bootstrap
32708 .PHONY: stage4-start stage4-end
32710 stage4-start::
32711 @[ -f stage_current ] && $(MAKE) `cat stage_current`-end || : ; \
32712 echo stage4 > stage_current ; \
32713 echo stage4 > stage_last
32714 @if bfd
32715 @[ -d stage4-bfd ] || mkdir stage4-bfd; \
32716 set stage4-bfd bfd ; @CREATE_LINK_TO_DIR@ ; \
32717 set stage3-bfd prev-bfd ; @CREATE_LINK_TO_DIR@
32718 @endif bfd
32719 @if opcodes
32720 @[ -d stage4-opcodes ] || mkdir stage4-opcodes; \
32721 set stage4-opcodes opcodes ; @CREATE_LINK_TO_DIR@ ; \
32722 set stage3-opcodes prev-opcodes ; @CREATE_LINK_TO_DIR@
32723 @endif opcodes
32724 @if binutils
32725 @[ -d stage4-binutils ] || mkdir stage4-binutils; \
32726 set stage4-binutils binutils ; @CREATE_LINK_TO_DIR@ ; \
32727 set stage3-binutils prev-binutils ; @CREATE_LINK_TO_DIR@
32728 @endif binutils
32729 @if gas
32730 @[ -d stage4-gas ] || mkdir stage4-gas; \
32731 set stage4-gas gas ; @CREATE_LINK_TO_DIR@ ; \
32732 set stage3-gas prev-gas ; @CREATE_LINK_TO_DIR@
32733 @endif gas
32734 @if gcc
32735 @[ -d stage4-gcc ] || mkdir stage4-gcc; \
32736 set stage4-gcc gcc ; @CREATE_LINK_TO_DIR@ ; \
32737 set stage3-gcc prev-gcc ; @CREATE_LINK_TO_DIR@
32738 @endif gcc
32739 @if intl
32740 @[ -d stage4-intl ] || mkdir stage4-intl; \
32741 set stage4-intl intl ; @CREATE_LINK_TO_DIR@ ; \
32742 set stage3-intl prev-intl ; @CREATE_LINK_TO_DIR@
32743 @endif intl
32744 @if ld
32745 @[ -d stage4-ld ] || mkdir stage4-ld; \
32746 set stage4-ld ld ; @CREATE_LINK_TO_DIR@ ; \
32747 set stage3-ld prev-ld ; @CREATE_LINK_TO_DIR@
32748 @endif ld
32749 @if libcpp
32750 @[ -d stage4-libcpp ] || mkdir stage4-libcpp; \
32751 set stage4-libcpp libcpp ; @CREATE_LINK_TO_DIR@ ; \
32752 set stage3-libcpp prev-libcpp ; @CREATE_LINK_TO_DIR@
32753 @endif libcpp
32754 @if libiberty
32755 @[ -d stage4-libiberty ] || mkdir stage4-libiberty; \
32756 set stage4-libiberty libiberty ; @CREATE_LINK_TO_DIR@ ; \
32757 set stage3-libiberty prev-libiberty ; @CREATE_LINK_TO_DIR@
32758 @endif libiberty
32759 @if zlib
32760 @[ -d stage4-zlib ] || mkdir stage4-zlib; \
32761 set stage4-zlib zlib ; @CREATE_LINK_TO_DIR@ ; \
32762 set stage3-zlib prev-zlib ; @CREATE_LINK_TO_DIR@
32763 @endif zlib
32765 stage4-end::
32766 @rm -f stage_current
32767 @if bfd
32768 @set bfd stage4-bfd ; @UNDO_LINK_TO_DIR@ ; \
32769 set prev-bfd stage3-bfd ; @UNDO_LINK_TO_DIR@
32770 @endif bfd
32771 @if opcodes
32772 @set opcodes stage4-opcodes ; @UNDO_LINK_TO_DIR@ ; \
32773 set prev-opcodes stage3-opcodes ; @UNDO_LINK_TO_DIR@
32774 @endif opcodes
32775 @if binutils
32776 @set binutils stage4-binutils ; @UNDO_LINK_TO_DIR@ ; \
32777 set prev-binutils stage3-binutils ; @UNDO_LINK_TO_DIR@
32778 @endif binutils
32779 @if gas
32780 @set gas stage4-gas ; @UNDO_LINK_TO_DIR@ ; \
32781 set prev-gas stage3-gas ; @UNDO_LINK_TO_DIR@
32782 @endif gas
32783 @if gcc
32784 @set gcc stage4-gcc ; @UNDO_LINK_TO_DIR@ ; \
32785 set prev-gcc stage3-gcc ; @UNDO_LINK_TO_DIR@
32786 @endif gcc
32787 @if intl
32788 @set intl stage4-intl ; @UNDO_LINK_TO_DIR@ ; \
32789 set prev-intl stage3-intl ; @UNDO_LINK_TO_DIR@
32790 @endif intl
32791 @if ld
32792 @set ld stage4-ld ; @UNDO_LINK_TO_DIR@ ; \
32793 set prev-ld stage3-ld ; @UNDO_LINK_TO_DIR@
32794 @endif ld
32795 @if libcpp
32796 @set libcpp stage4-libcpp ; @UNDO_LINK_TO_DIR@ ; \
32797 set prev-libcpp stage3-libcpp ; @UNDO_LINK_TO_DIR@
32798 @endif libcpp
32799 @if libiberty
32800 @set libiberty stage4-libiberty ; @UNDO_LINK_TO_DIR@ ; \
32801 set prev-libiberty stage3-libiberty ; @UNDO_LINK_TO_DIR@
32802 @endif libiberty
32803 @if zlib
32804 @set zlib stage4-zlib ; @UNDO_LINK_TO_DIR@ ; \
32805 set prev-zlib stage3-zlib ; @UNDO_LINK_TO_DIR@
32806 @endif zlib
32808 # Bubble a bugfix through all the stages up to stage 4. They
32809 # are remade, but not reconfigured. The next stage (if any) will not
32810 # be reconfigured as well.
32811 .PHONY: stage4-bubble
32812 stage4-bubble:: stage3-bubble
32813 @bootstrap_lean@-rm -rf stage2-* ; $(STAMP) stage2-lean
32814 @if test -f stage4-lean || test -f stage3-lean ; then \
32815 echo Skipping rebuild of stage4 ; \
32816 else \
32817 $(MAKE) $(RECURSE_FLAGS_TO_PASS) NOTPARALLEL= all-stage4; \
32820 .PHONY: all-stage4 clean-stage4
32821 all-stage4: \
32822 maybe-all-stage4-bfd \
32823 maybe-all-stage4-opcodes \
32824 maybe-all-stage4-binutils \
32825 maybe-all-stage4-gas \
32826 maybe-all-stage4-gcc \
32827 maybe-all-stage4-intl \
32828 maybe-all-stage4-ld \
32829 maybe-all-stage4-libcpp \
32830 maybe-all-stage4-libiberty \
32831 maybe-all-stage4-zlib
32833 do-clean: clean-stage4
32834 clean-stage4: \
32835 maybe-clean-stage4-bfd \
32836 maybe-clean-stage4-opcodes \
32837 maybe-clean-stage4-binutils \
32838 maybe-clean-stage4-gas \
32839 maybe-clean-stage4-gcc \
32840 maybe-clean-stage4-intl \
32841 maybe-clean-stage4-ld \
32842 maybe-clean-stage4-libcpp \
32843 maybe-clean-stage4-libiberty \
32844 maybe-clean-stage4-zlib
32847 .PHONY: configure-stage4-bfd maybe-configure-stage4-bfd
32848 .PHONY: all-stage4-bfd maybe-all-stage4-bfd
32849 .PHONY: clean-stage4-bfd maybe-clean-stage4-bfd
32851 maybe-configure-stage4-bfd:
32852 maybe-all-stage4-bfd:
32853 maybe-clean-stage4-bfd:
32855 @if bfd-bootstrap
32856 maybe-configure-stage4-bfd: configure-stage4-bfd
32857 configure-stage4-bfd:
32858 @$(MAKE) stage4-start
32859 @[ -f bfd/Makefile ] && exit 0 || : ; \
32860 r=`${PWD_COMMAND}`; export r; \
32861 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32862 $(STAGE_HOST_EXPORTS) \
32863 echo Configuring stage 4 in bfd ; \
32864 cd bfd || exit 1; \
32865 case $(srcdir) in \
32866 \.) \
32867 srcdiroption="--srcdir=."; \
32868 libsrcdir=".";; \
32869 /* | [A-Za-z]:[\\/]*) \
32870 srcdiroption="--srcdir=$(srcdir)/bfd"; \
32871 libsrcdir="$$s/bfd";; \
32872 *) \
32873 srcdiroption="--srcdir=../$(srcdir)/bfd"; \
32874 libsrcdir="$$s/bfd";; \
32875 esac; \
32876 $(SHELL) $${libsrcdir}/configure \
32877 $(HOST_CONFIGARGS) $${srcdiroption} \
32878 @stage2_werror_flag@
32880 maybe-all-stage4-bfd: all-stage4-bfd
32881 all-stage4-bfd: configure-stage4-bfd
32882 @$(MAKE) stage4-start
32883 @r=`${PWD_COMMAND}`; export r; \
32884 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32885 $(STAGE_HOST_EXPORTS) \
32886 cd bfd && \
32887 $(MAKE) $(FLAGS_TO_PASS) \
32888 $(POSTSTAGE1_FLAGS_TO_PASS) \
32891 maybe-clean-stage4-bfd: clean-stage4-bfd
32892 clean-stage4-bfd:
32893 @[ -f bfd/Makefile ] || [ -f stage4-bfd/Makefile ] \
32894 || exit 0 ; \
32895 [ -f bfd/Makefile ] || $(MAKE) stage4-start ; \
32896 cd bfd && \
32897 $(MAKE) $(FLAGS_TO_PASS) \
32898 $(POSTSTAGE1_FLAGS_TO_PASS) \
32899 clean
32900 @endif bfd-bootstrap
32903 .PHONY: configure-stage4-opcodes maybe-configure-stage4-opcodes
32904 .PHONY: all-stage4-opcodes maybe-all-stage4-opcodes
32905 .PHONY: clean-stage4-opcodes maybe-clean-stage4-opcodes
32907 maybe-configure-stage4-opcodes:
32908 maybe-all-stage4-opcodes:
32909 maybe-clean-stage4-opcodes:
32911 @if opcodes-bootstrap
32912 maybe-configure-stage4-opcodes: configure-stage4-opcodes
32913 configure-stage4-opcodes:
32914 @$(MAKE) stage4-start
32915 @[ -f opcodes/Makefile ] && exit 0 || : ; \
32916 r=`${PWD_COMMAND}`; export r; \
32917 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32918 $(STAGE_HOST_EXPORTS) \
32919 echo Configuring stage 4 in opcodes ; \
32920 cd opcodes || exit 1; \
32921 case $(srcdir) in \
32922 \.) \
32923 srcdiroption="--srcdir=."; \
32924 libsrcdir=".";; \
32925 /* | [A-Za-z]:[\\/]*) \
32926 srcdiroption="--srcdir=$(srcdir)/opcodes"; \
32927 libsrcdir="$$s/opcodes";; \
32928 *) \
32929 srcdiroption="--srcdir=../$(srcdir)/opcodes"; \
32930 libsrcdir="$$s/opcodes";; \
32931 esac; \
32932 $(SHELL) $${libsrcdir}/configure \
32933 $(HOST_CONFIGARGS) $${srcdiroption} \
32934 @stage2_werror_flag@
32936 maybe-all-stage4-opcodes: all-stage4-opcodes
32937 all-stage4-opcodes: configure-stage4-opcodes
32938 @$(MAKE) stage4-start
32939 @r=`${PWD_COMMAND}`; export r; \
32940 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32941 $(STAGE_HOST_EXPORTS) \
32942 cd opcodes && \
32943 $(MAKE) $(FLAGS_TO_PASS) \
32944 $(POSTSTAGE1_FLAGS_TO_PASS) \
32947 maybe-clean-stage4-opcodes: clean-stage4-opcodes
32948 clean-stage4-opcodes:
32949 @[ -f opcodes/Makefile ] || [ -f stage4-opcodes/Makefile ] \
32950 || exit 0 ; \
32951 [ -f opcodes/Makefile ] || $(MAKE) stage4-start ; \
32952 cd opcodes && \
32953 $(MAKE) $(FLAGS_TO_PASS) \
32954 $(POSTSTAGE1_FLAGS_TO_PASS) \
32955 clean
32956 @endif opcodes-bootstrap
32959 .PHONY: configure-stage4-binutils maybe-configure-stage4-binutils
32960 .PHONY: all-stage4-binutils maybe-all-stage4-binutils
32961 .PHONY: clean-stage4-binutils maybe-clean-stage4-binutils
32963 maybe-configure-stage4-binutils:
32964 maybe-all-stage4-binutils:
32965 maybe-clean-stage4-binutils:
32967 @if binutils-bootstrap
32968 maybe-configure-stage4-binutils: configure-stage4-binutils
32969 configure-stage4-binutils:
32970 @$(MAKE) stage4-start
32971 @[ -f binutils/Makefile ] && exit 0 || : ; \
32972 r=`${PWD_COMMAND}`; export r; \
32973 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32974 $(STAGE_HOST_EXPORTS) \
32975 echo Configuring stage 4 in binutils ; \
32976 cd binutils || exit 1; \
32977 case $(srcdir) in \
32978 \.) \
32979 srcdiroption="--srcdir=."; \
32980 libsrcdir=".";; \
32981 /* | [A-Za-z]:[\\/]*) \
32982 srcdiroption="--srcdir=$(srcdir)/binutils"; \
32983 libsrcdir="$$s/binutils";; \
32984 *) \
32985 srcdiroption="--srcdir=../$(srcdir)/binutils"; \
32986 libsrcdir="$$s/binutils";; \
32987 esac; \
32988 $(SHELL) $${libsrcdir}/configure \
32989 $(HOST_CONFIGARGS) $${srcdiroption} \
32990 @stage2_werror_flag@
32992 maybe-all-stage4-binutils: all-stage4-binutils
32993 all-stage4-binutils: configure-stage4-binutils
32994 @$(MAKE) stage4-start
32995 @r=`${PWD_COMMAND}`; export r; \
32996 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32997 $(STAGE_HOST_EXPORTS) \
32998 cd binutils && \
32999 $(MAKE) $(FLAGS_TO_PASS) \
33000 $(POSTSTAGE1_FLAGS_TO_PASS) \
33003 maybe-clean-stage4-binutils: clean-stage4-binutils
33004 clean-stage4-binutils:
33005 @[ -f binutils/Makefile ] || [ -f stage4-binutils/Makefile ] \
33006 || exit 0 ; \
33007 [ -f binutils/Makefile ] || $(MAKE) stage4-start ; \
33008 cd binutils && \
33009 $(MAKE) $(FLAGS_TO_PASS) \
33010 $(POSTSTAGE1_FLAGS_TO_PASS) \
33011 clean
33012 @endif binutils-bootstrap
33015 .PHONY: configure-stage4-gas maybe-configure-stage4-gas
33016 .PHONY: all-stage4-gas maybe-all-stage4-gas
33017 .PHONY: clean-stage4-gas maybe-clean-stage4-gas
33019 maybe-configure-stage4-gas:
33020 maybe-all-stage4-gas:
33021 maybe-clean-stage4-gas:
33023 @if gas-bootstrap
33024 maybe-configure-stage4-gas: configure-stage4-gas
33025 configure-stage4-gas:
33026 @$(MAKE) stage4-start
33027 @[ -f gas/Makefile ] && exit 0 || : ; \
33028 r=`${PWD_COMMAND}`; export r; \
33029 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33030 $(STAGE_HOST_EXPORTS) \
33031 echo Configuring stage 4 in gas ; \
33032 cd gas || exit 1; \
33033 case $(srcdir) in \
33034 \.) \
33035 srcdiroption="--srcdir=."; \
33036 libsrcdir=".";; \
33037 /* | [A-Za-z]:[\\/]*) \
33038 srcdiroption="--srcdir=$(srcdir)/gas"; \
33039 libsrcdir="$$s/gas";; \
33040 *) \
33041 srcdiroption="--srcdir=../$(srcdir)/gas"; \
33042 libsrcdir="$$s/gas";; \
33043 esac; \
33044 $(SHELL) $${libsrcdir}/configure \
33045 $(HOST_CONFIGARGS) $${srcdiroption} \
33046 @stage2_werror_flag@
33048 maybe-all-stage4-gas: all-stage4-gas
33049 all-stage4-gas: configure-stage4-gas
33050 @$(MAKE) stage4-start
33051 @r=`${PWD_COMMAND}`; export r; \
33052 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33053 $(STAGE_HOST_EXPORTS) \
33054 cd gas && \
33055 $(MAKE) $(FLAGS_TO_PASS) \
33056 $(POSTSTAGE1_FLAGS_TO_PASS) \
33059 maybe-clean-stage4-gas: clean-stage4-gas
33060 clean-stage4-gas:
33061 @[ -f gas/Makefile ] || [ -f stage4-gas/Makefile ] \
33062 || exit 0 ; \
33063 [ -f gas/Makefile ] || $(MAKE) stage4-start ; \
33064 cd gas && \
33065 $(MAKE) $(FLAGS_TO_PASS) \
33066 $(POSTSTAGE1_FLAGS_TO_PASS) \
33067 clean
33068 @endif gas-bootstrap
33071 .PHONY: configure-stage4-gcc maybe-configure-stage4-gcc
33072 .PHONY: all-stage4-gcc maybe-all-stage4-gcc
33073 .PHONY: clean-stage4-gcc maybe-clean-stage4-gcc
33075 maybe-configure-stage4-gcc:
33076 maybe-all-stage4-gcc:
33077 maybe-clean-stage4-gcc:
33079 @if gcc-bootstrap
33080 maybe-configure-stage4-gcc: configure-stage4-gcc
33081 configure-stage4-gcc:
33082 @$(MAKE) stage4-start
33083 @[ -f gcc/Makefile ] && exit 0 || : ; \
33084 r=`${PWD_COMMAND}`; export r; \
33085 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33086 $(STAGE_HOST_EXPORTS) \
33087 echo Configuring stage 4 in gcc ; \
33088 cd gcc || exit 1; \
33089 case $(srcdir) in \
33090 \.) \
33091 srcdiroption="--srcdir=."; \
33092 libsrcdir=".";; \
33093 /* | [A-Za-z]:[\\/]*) \
33094 srcdiroption="--srcdir=$(srcdir)/gcc"; \
33095 libsrcdir="$$s/gcc";; \
33096 *) \
33097 srcdiroption="--srcdir=../$(srcdir)/gcc"; \
33098 libsrcdir="$$s/gcc";; \
33099 esac; \
33100 $(SHELL) $${libsrcdir}/configure \
33101 $(HOST_CONFIGARGS) $${srcdiroption} \
33102 @stage2_werror_flag@
33104 maybe-all-stage4-gcc: all-stage4-gcc
33105 all-stage4-gcc: configure-stage4-gcc
33106 @$(MAKE) stage4-start
33107 @r=`${PWD_COMMAND}`; export r; \
33108 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33109 $(STAGE_HOST_EXPORTS) \
33110 cd gcc && \
33111 $(MAKE) $(FLAGS_TO_PASS) \
33112 $(POSTSTAGE1_FLAGS_TO_PASS) \
33113 $(EXTRA_GCC_FLAGS)
33115 maybe-clean-stage4-gcc: clean-stage4-gcc
33116 clean-stage4-gcc:
33117 @[ -f gcc/Makefile ] || [ -f stage4-gcc/Makefile ] \
33118 || exit 0 ; \
33119 [ -f gcc/Makefile ] || $(MAKE) stage4-start ; \
33120 cd gcc && \
33121 $(MAKE) $(FLAGS_TO_PASS) \
33122 $(POSTSTAGE1_FLAGS_TO_PASS) \
33123 $(EXTRA_GCC_FLAGS) clean
33124 @endif gcc-bootstrap
33127 .PHONY: configure-stage4-intl maybe-configure-stage4-intl
33128 .PHONY: all-stage4-intl maybe-all-stage4-intl
33129 .PHONY: clean-stage4-intl maybe-clean-stage4-intl
33131 maybe-configure-stage4-intl:
33132 maybe-all-stage4-intl:
33133 maybe-clean-stage4-intl:
33135 @if intl-bootstrap
33136 maybe-configure-stage4-intl: configure-stage4-intl
33137 configure-stage4-intl:
33138 @$(MAKE) stage4-start
33139 @[ -f intl/Makefile ] && exit 0 || : ; \
33140 r=`${PWD_COMMAND}`; export r; \
33141 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33142 $(STAGE_HOST_EXPORTS) \
33143 echo Configuring stage 4 in intl ; \
33144 cd intl || exit 1; \
33145 case $(srcdir) in \
33146 \.) \
33147 srcdiroption="--srcdir=."; \
33148 libsrcdir=".";; \
33149 /* | [A-Za-z]:[\\/]*) \
33150 srcdiroption="--srcdir=$(srcdir)/intl"; \
33151 libsrcdir="$$s/intl";; \
33152 *) \
33153 srcdiroption="--srcdir=../$(srcdir)/intl"; \
33154 libsrcdir="$$s/intl";; \
33155 esac; \
33156 $(SHELL) $${libsrcdir}/configure \
33157 $(HOST_CONFIGARGS) $${srcdiroption} \
33158 @stage2_werror_flag@
33160 maybe-all-stage4-intl: all-stage4-intl
33161 all-stage4-intl: configure-stage4-intl
33162 @$(MAKE) stage4-start
33163 @r=`${PWD_COMMAND}`; export r; \
33164 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33165 $(STAGE_HOST_EXPORTS) \
33166 cd intl && \
33167 $(MAKE) $(FLAGS_TO_PASS) \
33168 $(POSTSTAGE1_FLAGS_TO_PASS) \
33171 maybe-clean-stage4-intl: clean-stage4-intl
33172 clean-stage4-intl:
33173 @[ -f intl/Makefile ] || [ -f stage4-intl/Makefile ] \
33174 || exit 0 ; \
33175 [ -f intl/Makefile ] || $(MAKE) stage4-start ; \
33176 cd intl && \
33177 $(MAKE) $(FLAGS_TO_PASS) \
33178 $(POSTSTAGE1_FLAGS_TO_PASS) \
33179 clean
33180 @endif intl-bootstrap
33183 .PHONY: configure-stage4-ld maybe-configure-stage4-ld
33184 .PHONY: all-stage4-ld maybe-all-stage4-ld
33185 .PHONY: clean-stage4-ld maybe-clean-stage4-ld
33187 maybe-configure-stage4-ld:
33188 maybe-all-stage4-ld:
33189 maybe-clean-stage4-ld:
33191 @if ld-bootstrap
33192 maybe-configure-stage4-ld: configure-stage4-ld
33193 configure-stage4-ld:
33194 @$(MAKE) stage4-start
33195 @[ -f ld/Makefile ] && exit 0 || : ; \
33196 r=`${PWD_COMMAND}`; export r; \
33197 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33198 $(STAGE_HOST_EXPORTS) \
33199 echo Configuring stage 4 in ld ; \
33200 cd ld || exit 1; \
33201 case $(srcdir) in \
33202 \.) \
33203 srcdiroption="--srcdir=."; \
33204 libsrcdir=".";; \
33205 /* | [A-Za-z]:[\\/]*) \
33206 srcdiroption="--srcdir=$(srcdir)/ld"; \
33207 libsrcdir="$$s/ld";; \
33208 *) \
33209 srcdiroption="--srcdir=../$(srcdir)/ld"; \
33210 libsrcdir="$$s/ld";; \
33211 esac; \
33212 $(SHELL) $${libsrcdir}/configure \
33213 $(HOST_CONFIGARGS) $${srcdiroption} \
33214 @stage2_werror_flag@
33216 maybe-all-stage4-ld: all-stage4-ld
33217 all-stage4-ld: configure-stage4-ld
33218 @$(MAKE) stage4-start
33219 @r=`${PWD_COMMAND}`; export r; \
33220 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33221 $(STAGE_HOST_EXPORTS) \
33222 cd ld && \
33223 $(MAKE) $(FLAGS_TO_PASS) \
33224 $(POSTSTAGE1_FLAGS_TO_PASS) \
33227 maybe-clean-stage4-ld: clean-stage4-ld
33228 clean-stage4-ld:
33229 @[ -f ld/Makefile ] || [ -f stage4-ld/Makefile ] \
33230 || exit 0 ; \
33231 [ -f ld/Makefile ] || $(MAKE) stage4-start ; \
33232 cd ld && \
33233 $(MAKE) $(FLAGS_TO_PASS) \
33234 $(POSTSTAGE1_FLAGS_TO_PASS) \
33235 clean
33236 @endif ld-bootstrap
33239 .PHONY: configure-stage4-libcpp maybe-configure-stage4-libcpp
33240 .PHONY: all-stage4-libcpp maybe-all-stage4-libcpp
33241 .PHONY: clean-stage4-libcpp maybe-clean-stage4-libcpp
33243 maybe-configure-stage4-libcpp:
33244 maybe-all-stage4-libcpp:
33245 maybe-clean-stage4-libcpp:
33247 @if libcpp-bootstrap
33248 maybe-configure-stage4-libcpp: configure-stage4-libcpp
33249 configure-stage4-libcpp:
33250 @$(MAKE) stage4-start
33251 @[ -f libcpp/Makefile ] && exit 0 || : ; \
33252 r=`${PWD_COMMAND}`; export r; \
33253 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33254 $(STAGE_HOST_EXPORTS) \
33255 echo Configuring stage 4 in libcpp ; \
33256 cd libcpp || exit 1; \
33257 case $(srcdir) in \
33258 \.) \
33259 srcdiroption="--srcdir=."; \
33260 libsrcdir=".";; \
33261 /* | [A-Za-z]:[\\/]*) \
33262 srcdiroption="--srcdir=$(srcdir)/libcpp"; \
33263 libsrcdir="$$s/libcpp";; \
33264 *) \
33265 srcdiroption="--srcdir=../$(srcdir)/libcpp"; \
33266 libsrcdir="$$s/libcpp";; \
33267 esac; \
33268 $(SHELL) $${libsrcdir}/configure \
33269 $(HOST_CONFIGARGS) $${srcdiroption} \
33270 @stage2_werror_flag@
33272 maybe-all-stage4-libcpp: all-stage4-libcpp
33273 all-stage4-libcpp: configure-stage4-libcpp
33274 @$(MAKE) stage4-start
33275 @r=`${PWD_COMMAND}`; export r; \
33276 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33277 $(STAGE_HOST_EXPORTS) \
33278 cd libcpp && \
33279 $(MAKE) $(FLAGS_TO_PASS) \
33280 $(POSTSTAGE1_FLAGS_TO_PASS) \
33283 maybe-clean-stage4-libcpp: clean-stage4-libcpp
33284 clean-stage4-libcpp:
33285 @[ -f libcpp/Makefile ] || [ -f stage4-libcpp/Makefile ] \
33286 || exit 0 ; \
33287 [ -f libcpp/Makefile ] || $(MAKE) stage4-start ; \
33288 cd libcpp && \
33289 $(MAKE) $(FLAGS_TO_PASS) \
33290 $(POSTSTAGE1_FLAGS_TO_PASS) \
33291 clean
33292 @endif libcpp-bootstrap
33295 .PHONY: configure-stage4-libiberty maybe-configure-stage4-libiberty
33296 .PHONY: all-stage4-libiberty maybe-all-stage4-libiberty
33297 .PHONY: clean-stage4-libiberty maybe-clean-stage4-libiberty
33299 maybe-configure-stage4-libiberty:
33300 maybe-all-stage4-libiberty:
33301 maybe-clean-stage4-libiberty:
33303 @if libiberty-bootstrap
33304 maybe-configure-stage4-libiberty: configure-stage4-libiberty
33305 configure-stage4-libiberty:
33306 @$(MAKE) stage4-start
33307 @[ -f libiberty/Makefile ] && exit 0 || : ; \
33308 r=`${PWD_COMMAND}`; export r; \
33309 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33310 $(STAGE_HOST_EXPORTS) \
33311 echo Configuring stage 4 in libiberty ; \
33312 cd libiberty || exit 1; \
33313 case $(srcdir) in \
33314 \.) \
33315 srcdiroption="--srcdir=."; \
33316 libsrcdir=".";; \
33317 /* | [A-Za-z]:[\\/]*) \
33318 srcdiroption="--srcdir=$(srcdir)/libiberty"; \
33319 libsrcdir="$$s/libiberty";; \
33320 *) \
33321 srcdiroption="--srcdir=../$(srcdir)/libiberty"; \
33322 libsrcdir="$$s/libiberty";; \
33323 esac; \
33324 $(SHELL) $${libsrcdir}/configure \
33325 $(HOST_CONFIGARGS) $${srcdiroption} \
33326 @stage2_werror_flag@
33328 maybe-all-stage4-libiberty: all-stage4-libiberty
33329 all-stage4-libiberty: configure-stage4-libiberty
33330 @$(MAKE) stage4-start
33331 @r=`${PWD_COMMAND}`; export r; \
33332 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33333 $(STAGE_HOST_EXPORTS) \
33334 cd libiberty && \
33335 $(MAKE) $(FLAGS_TO_PASS) \
33336 $(POSTSTAGE1_FLAGS_TO_PASS) \
33339 maybe-clean-stage4-libiberty: clean-stage4-libiberty
33340 clean-stage4-libiberty:
33341 @[ -f libiberty/Makefile ] || [ -f stage4-libiberty/Makefile ] \
33342 || exit 0 ; \
33343 [ -f libiberty/Makefile ] || $(MAKE) stage4-start ; \
33344 cd libiberty && \
33345 $(MAKE) $(FLAGS_TO_PASS) \
33346 $(POSTSTAGE1_FLAGS_TO_PASS) \
33347 clean
33348 @endif libiberty-bootstrap
33351 .PHONY: configure-stage4-zlib maybe-configure-stage4-zlib
33352 .PHONY: all-stage4-zlib maybe-all-stage4-zlib
33353 .PHONY: clean-stage4-zlib maybe-clean-stage4-zlib
33355 maybe-configure-stage4-zlib:
33356 maybe-all-stage4-zlib:
33357 maybe-clean-stage4-zlib:
33359 @if zlib-bootstrap
33360 maybe-configure-stage4-zlib: configure-stage4-zlib
33361 configure-stage4-zlib:
33362 @$(MAKE) stage4-start
33363 @[ -f zlib/Makefile ] && exit 0 || : ; \
33364 r=`${PWD_COMMAND}`; export r; \
33365 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33366 $(STAGE_HOST_EXPORTS) \
33367 echo Configuring stage 4 in zlib ; \
33368 cd zlib || exit 1; \
33369 case $(srcdir) in \
33370 \.) \
33371 srcdiroption="--srcdir=."; \
33372 libsrcdir=".";; \
33373 /* | [A-Za-z]:[\\/]*) \
33374 srcdiroption="--srcdir=$(srcdir)/zlib"; \
33375 libsrcdir="$$s/zlib";; \
33376 *) \
33377 srcdiroption="--srcdir=../$(srcdir)/zlib"; \
33378 libsrcdir="$$s/zlib";; \
33379 esac; \
33380 $(SHELL) $${libsrcdir}/configure \
33381 $(HOST_CONFIGARGS) $${srcdiroption} \
33382 @stage2_werror_flag@
33384 maybe-all-stage4-zlib: all-stage4-zlib
33385 all-stage4-zlib: configure-stage4-zlib
33386 @$(MAKE) stage4-start
33387 @r=`${PWD_COMMAND}`; export r; \
33388 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33389 $(STAGE_HOST_EXPORTS) \
33390 cd zlib && \
33391 $(MAKE) $(FLAGS_TO_PASS) \
33392 $(POSTSTAGE1_FLAGS_TO_PASS) \
33395 maybe-clean-stage4-zlib: clean-stage4-zlib
33396 clean-stage4-zlib:
33397 @[ -f zlib/Makefile ] || [ -f stage4-zlib/Makefile ] \
33398 || exit 0 ; \
33399 [ -f zlib/Makefile ] || $(MAKE) stage4-start ; \
33400 cd zlib && \
33401 $(MAKE) $(FLAGS_TO_PASS) \
33402 $(POSTSTAGE1_FLAGS_TO_PASS) \
33403 clean
33404 @endif zlib-bootstrap
33408 # FIXME: Will not need to be conditional when toplevel bootstrap is the
33409 # only possibility, but now it conflicts with no-bootstrap rules
33410 @if gcc-bootstrap
33412 compare3:
33413 @if test -f stage3-lean; then \
33414 echo Cannot compare object files as stage 3 was deleted. ; \
33415 exit 0 ; \
33416 fi; \
33417 [ -f stage_current ] && $(MAKE) `cat stage_current`-end || : ; \
33418 @r=`${PWD_COMMAND}`; export r; \
33419 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33420 rm -f .bad_compare ; \
33421 cd stage4-gcc; \
33422 files=`find . -name "*$(objext)" -print` ; \
33423 cd .. ; \
33424 for file in $${files} ; do \
33425 f1=$$r/stage3-gcc/$$file; f2=$$r/stage4-gcc/$$file; \
33426 @do_compare@ > /dev/null 2>&1; \
33427 test $$? -eq 1 && echo $$file differs >> .bad_compare || true; \
33428 done ; \
33429 if [ -f .bad_compare ]; then \
33430 echo "Bootstrap comparison failure!"; \
33431 cat .bad_compare; \
33432 exit 1; \
33433 else \
33434 true; \
33435 fi ; \
33436 $(STAMP) compare3
33437 @bootstrap_lean@-rm -rf stage3-* ; $(STAMP) stage3-lean
33441 .PHONY: bootstrap4
33442 bootstrap4: stage4-bubble compare3 all
33445 # Rules to wipe a stage and all the following ones, also used for cleanstrap
33446 distclean-stage3:: distclean-stage4
33447 .PHONY: distclean-stage4
33448 distclean-stage4::
33449 [ -f stage_current ] && $(MAKE) `cat stage_current`-end || :
33450 rm -rf stage4-* compare3
33453 @endif gcc-bootstrap
33456 .PHONY: stageprofile-start stageprofile-end
33458 stageprofile-start::
33459 @[ -f stage_current ] && $(MAKE) `cat stage_current`-end || : ; \
33460 echo stageprofile > stage_current ; \
33461 echo stageprofile > stage_last
33462 @if bfd
33463 @[ -d stageprofile-bfd ] || mkdir stageprofile-bfd; \
33464 set stageprofile-bfd bfd ; @CREATE_LINK_TO_DIR@ ; \
33465 set stage1-bfd prev-bfd ; @CREATE_LINK_TO_DIR@
33466 @endif bfd
33467 @if opcodes
33468 @[ -d stageprofile-opcodes ] || mkdir stageprofile-opcodes; \
33469 set stageprofile-opcodes opcodes ; @CREATE_LINK_TO_DIR@ ; \
33470 set stage1-opcodes prev-opcodes ; @CREATE_LINK_TO_DIR@
33471 @endif opcodes
33472 @if binutils
33473 @[ -d stageprofile-binutils ] || mkdir stageprofile-binutils; \
33474 set stageprofile-binutils binutils ; @CREATE_LINK_TO_DIR@ ; \
33475 set stage1-binutils prev-binutils ; @CREATE_LINK_TO_DIR@
33476 @endif binutils
33477 @if gas
33478 @[ -d stageprofile-gas ] || mkdir stageprofile-gas; \
33479 set stageprofile-gas gas ; @CREATE_LINK_TO_DIR@ ; \
33480 set stage1-gas prev-gas ; @CREATE_LINK_TO_DIR@
33481 @endif gas
33482 @if gcc
33483 @[ -d stageprofile-gcc ] || mkdir stageprofile-gcc; \
33484 set stageprofile-gcc gcc ; @CREATE_LINK_TO_DIR@ ; \
33485 set stage1-gcc prev-gcc ; @CREATE_LINK_TO_DIR@
33486 @endif gcc
33487 @if intl
33488 @[ -d stageprofile-intl ] || mkdir stageprofile-intl; \
33489 set stageprofile-intl intl ; @CREATE_LINK_TO_DIR@ ; \
33490 set stage1-intl prev-intl ; @CREATE_LINK_TO_DIR@
33491 @endif intl
33492 @if ld
33493 @[ -d stageprofile-ld ] || mkdir stageprofile-ld; \
33494 set stageprofile-ld ld ; @CREATE_LINK_TO_DIR@ ; \
33495 set stage1-ld prev-ld ; @CREATE_LINK_TO_DIR@
33496 @endif ld
33497 @if libcpp
33498 @[ -d stageprofile-libcpp ] || mkdir stageprofile-libcpp; \
33499 set stageprofile-libcpp libcpp ; @CREATE_LINK_TO_DIR@ ; \
33500 set stage1-libcpp prev-libcpp ; @CREATE_LINK_TO_DIR@
33501 @endif libcpp
33502 @if libiberty
33503 @[ -d stageprofile-libiberty ] || mkdir stageprofile-libiberty; \
33504 set stageprofile-libiberty libiberty ; @CREATE_LINK_TO_DIR@ ; \
33505 set stage1-libiberty prev-libiberty ; @CREATE_LINK_TO_DIR@
33506 @endif libiberty
33507 @if zlib
33508 @[ -d stageprofile-zlib ] || mkdir stageprofile-zlib; \
33509 set stageprofile-zlib zlib ; @CREATE_LINK_TO_DIR@ ; \
33510 set stage1-zlib prev-zlib ; @CREATE_LINK_TO_DIR@
33511 @endif zlib
33513 stageprofile-end::
33514 @rm -f stage_current
33515 @if bfd
33516 @set bfd stageprofile-bfd ; @UNDO_LINK_TO_DIR@ ; \
33517 set prev-bfd stage1-bfd ; @UNDO_LINK_TO_DIR@
33518 @endif bfd
33519 @if opcodes
33520 @set opcodes stageprofile-opcodes ; @UNDO_LINK_TO_DIR@ ; \
33521 set prev-opcodes stage1-opcodes ; @UNDO_LINK_TO_DIR@
33522 @endif opcodes
33523 @if binutils
33524 @set binutils stageprofile-binutils ; @UNDO_LINK_TO_DIR@ ; \
33525 set prev-binutils stage1-binutils ; @UNDO_LINK_TO_DIR@
33526 @endif binutils
33527 @if gas
33528 @set gas stageprofile-gas ; @UNDO_LINK_TO_DIR@ ; \
33529 set prev-gas stage1-gas ; @UNDO_LINK_TO_DIR@
33530 @endif gas
33531 @if gcc
33532 @set gcc stageprofile-gcc ; @UNDO_LINK_TO_DIR@ ; \
33533 set prev-gcc stage1-gcc ; @UNDO_LINK_TO_DIR@
33534 @endif gcc
33535 @if intl
33536 @set intl stageprofile-intl ; @UNDO_LINK_TO_DIR@ ; \
33537 set prev-intl stage1-intl ; @UNDO_LINK_TO_DIR@
33538 @endif intl
33539 @if ld
33540 @set ld stageprofile-ld ; @UNDO_LINK_TO_DIR@ ; \
33541 set prev-ld stage1-ld ; @UNDO_LINK_TO_DIR@
33542 @endif ld
33543 @if libcpp
33544 @set libcpp stageprofile-libcpp ; @UNDO_LINK_TO_DIR@ ; \
33545 set prev-libcpp stage1-libcpp ; @UNDO_LINK_TO_DIR@
33546 @endif libcpp
33547 @if libiberty
33548 @set libiberty stageprofile-libiberty ; @UNDO_LINK_TO_DIR@ ; \
33549 set prev-libiberty stage1-libiberty ; @UNDO_LINK_TO_DIR@
33550 @endif libiberty
33551 @if zlib
33552 @set zlib stageprofile-zlib ; @UNDO_LINK_TO_DIR@ ; \
33553 set prev-zlib stage1-zlib ; @UNDO_LINK_TO_DIR@
33554 @endif zlib
33556 # Bubble a bugfix through all the stages up to stage profile. They
33557 # are remade, but not reconfigured. The next stage (if any) will not
33558 # be reconfigured as well.
33559 .PHONY: stageprofile-bubble
33560 stageprofile-bubble:: stage1-bubble
33561 @if test -f stageprofile-lean || test -f stage1-lean ; then \
33562 echo Skipping rebuild of stageprofile ; \
33563 else \
33564 $(MAKE) $(RECURSE_FLAGS_TO_PASS) NOTPARALLEL= all-stageprofile; \
33567 .PHONY: all-stageprofile clean-stageprofile
33568 all-stageprofile: \
33569 maybe-all-stageprofile-bfd \
33570 maybe-all-stageprofile-opcodes \
33571 maybe-all-stageprofile-binutils \
33572 maybe-all-stageprofile-gas \
33573 maybe-all-stageprofile-gcc \
33574 maybe-all-stageprofile-intl \
33575 maybe-all-stageprofile-ld \
33576 maybe-all-stageprofile-libcpp \
33577 maybe-all-stageprofile-libiberty \
33578 maybe-all-stageprofile-zlib
33580 do-clean: clean-stageprofile
33581 clean-stageprofile: \
33582 maybe-clean-stageprofile-bfd \
33583 maybe-clean-stageprofile-opcodes \
33584 maybe-clean-stageprofile-binutils \
33585 maybe-clean-stageprofile-gas \
33586 maybe-clean-stageprofile-gcc \
33587 maybe-clean-stageprofile-intl \
33588 maybe-clean-stageprofile-ld \
33589 maybe-clean-stageprofile-libcpp \
33590 maybe-clean-stageprofile-libiberty \
33591 maybe-clean-stageprofile-zlib
33594 .PHONY: configure-stageprofile-bfd maybe-configure-stageprofile-bfd
33595 .PHONY: all-stageprofile-bfd maybe-all-stageprofile-bfd
33596 .PHONY: clean-stageprofile-bfd maybe-clean-stageprofile-bfd
33598 maybe-configure-stageprofile-bfd:
33599 maybe-all-stageprofile-bfd:
33600 maybe-clean-stageprofile-bfd:
33602 @if bfd-bootstrap
33603 maybe-configure-stageprofile-bfd: configure-stageprofile-bfd
33604 configure-stageprofile-bfd:
33605 @$(MAKE) stageprofile-start
33606 @[ -f bfd/Makefile ] && exit 0 || : ; \
33607 r=`${PWD_COMMAND}`; export r; \
33608 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33609 $(STAGE_HOST_EXPORTS) \
33610 echo Configuring stage profile in bfd ; \
33611 cd bfd || exit 1; \
33612 case $(srcdir) in \
33613 \.) \
33614 srcdiroption="--srcdir=."; \
33615 libsrcdir=".";; \
33616 /* | [A-Za-z]:[\\/]*) \
33617 srcdiroption="--srcdir=$(srcdir)/bfd"; \
33618 libsrcdir="$$s/bfd";; \
33619 *) \
33620 srcdiroption="--srcdir=../$(srcdir)/bfd"; \
33621 libsrcdir="$$s/bfd";; \
33622 esac; \
33623 $(SHELL) $${libsrcdir}/configure \
33624 $(HOST_CONFIGARGS) $${srcdiroption} \
33625 @stage2_werror_flag@
33627 maybe-all-stageprofile-bfd: all-stageprofile-bfd
33628 all-stageprofile-bfd: configure-stageprofile-bfd
33629 @$(MAKE) stageprofile-start
33630 @r=`${PWD_COMMAND}`; export r; \
33631 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33632 $(STAGE_HOST_EXPORTS) \
33633 cd bfd && \
33634 $(MAKE) $(FLAGS_TO_PASS) \
33635 $(POSTSTAGE1_FLAGS_TO_PASS) \
33636 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate"
33638 maybe-clean-stageprofile-bfd: clean-stageprofile-bfd
33639 clean-stageprofile-bfd:
33640 @[ -f bfd/Makefile ] || [ -f stageprofile-bfd/Makefile ] \
33641 || exit 0 ; \
33642 [ -f bfd/Makefile ] || $(MAKE) stageprofile-start ; \
33643 cd bfd && \
33644 $(MAKE) $(FLAGS_TO_PASS) \
33645 $(POSTSTAGE1_FLAGS_TO_PASS) \
33646 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
33647 @endif bfd-bootstrap
33650 .PHONY: configure-stageprofile-opcodes maybe-configure-stageprofile-opcodes
33651 .PHONY: all-stageprofile-opcodes maybe-all-stageprofile-opcodes
33652 .PHONY: clean-stageprofile-opcodes maybe-clean-stageprofile-opcodes
33654 maybe-configure-stageprofile-opcodes:
33655 maybe-all-stageprofile-opcodes:
33656 maybe-clean-stageprofile-opcodes:
33658 @if opcodes-bootstrap
33659 maybe-configure-stageprofile-opcodes: configure-stageprofile-opcodes
33660 configure-stageprofile-opcodes:
33661 @$(MAKE) stageprofile-start
33662 @[ -f opcodes/Makefile ] && exit 0 || : ; \
33663 r=`${PWD_COMMAND}`; export r; \
33664 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33665 $(STAGE_HOST_EXPORTS) \
33666 echo Configuring stage profile in opcodes ; \
33667 cd opcodes || exit 1; \
33668 case $(srcdir) in \
33669 \.) \
33670 srcdiroption="--srcdir=."; \
33671 libsrcdir=".";; \
33672 /* | [A-Za-z]:[\\/]*) \
33673 srcdiroption="--srcdir=$(srcdir)/opcodes"; \
33674 libsrcdir="$$s/opcodes";; \
33675 *) \
33676 srcdiroption="--srcdir=../$(srcdir)/opcodes"; \
33677 libsrcdir="$$s/opcodes";; \
33678 esac; \
33679 $(SHELL) $${libsrcdir}/configure \
33680 $(HOST_CONFIGARGS) $${srcdiroption} \
33681 @stage2_werror_flag@
33683 maybe-all-stageprofile-opcodes: all-stageprofile-opcodes
33684 all-stageprofile-opcodes: configure-stageprofile-opcodes
33685 @$(MAKE) stageprofile-start
33686 @r=`${PWD_COMMAND}`; export r; \
33687 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33688 $(STAGE_HOST_EXPORTS) \
33689 cd opcodes && \
33690 $(MAKE) $(FLAGS_TO_PASS) \
33691 $(POSTSTAGE1_FLAGS_TO_PASS) \
33692 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate"
33694 maybe-clean-stageprofile-opcodes: clean-stageprofile-opcodes
33695 clean-stageprofile-opcodes:
33696 @[ -f opcodes/Makefile ] || [ -f stageprofile-opcodes/Makefile ] \
33697 || exit 0 ; \
33698 [ -f opcodes/Makefile ] || $(MAKE) stageprofile-start ; \
33699 cd opcodes && \
33700 $(MAKE) $(FLAGS_TO_PASS) \
33701 $(POSTSTAGE1_FLAGS_TO_PASS) \
33702 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
33703 @endif opcodes-bootstrap
33706 .PHONY: configure-stageprofile-binutils maybe-configure-stageprofile-binutils
33707 .PHONY: all-stageprofile-binutils maybe-all-stageprofile-binutils
33708 .PHONY: clean-stageprofile-binutils maybe-clean-stageprofile-binutils
33710 maybe-configure-stageprofile-binutils:
33711 maybe-all-stageprofile-binutils:
33712 maybe-clean-stageprofile-binutils:
33714 @if binutils-bootstrap
33715 maybe-configure-stageprofile-binutils: configure-stageprofile-binutils
33716 configure-stageprofile-binutils:
33717 @$(MAKE) stageprofile-start
33718 @[ -f binutils/Makefile ] && exit 0 || : ; \
33719 r=`${PWD_COMMAND}`; export r; \
33720 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33721 $(STAGE_HOST_EXPORTS) \
33722 echo Configuring stage profile in binutils ; \
33723 cd binutils || exit 1; \
33724 case $(srcdir) in \
33725 \.) \
33726 srcdiroption="--srcdir=."; \
33727 libsrcdir=".";; \
33728 /* | [A-Za-z]:[\\/]*) \
33729 srcdiroption="--srcdir=$(srcdir)/binutils"; \
33730 libsrcdir="$$s/binutils";; \
33731 *) \
33732 srcdiroption="--srcdir=../$(srcdir)/binutils"; \
33733 libsrcdir="$$s/binutils";; \
33734 esac; \
33735 $(SHELL) $${libsrcdir}/configure \
33736 $(HOST_CONFIGARGS) $${srcdiroption} \
33737 @stage2_werror_flag@
33739 maybe-all-stageprofile-binutils: all-stageprofile-binutils
33740 all-stageprofile-binutils: configure-stageprofile-binutils
33741 @$(MAKE) stageprofile-start
33742 @r=`${PWD_COMMAND}`; export r; \
33743 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33744 $(STAGE_HOST_EXPORTS) \
33745 cd binutils && \
33746 $(MAKE) $(FLAGS_TO_PASS) \
33747 $(POSTSTAGE1_FLAGS_TO_PASS) \
33748 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate"
33750 maybe-clean-stageprofile-binutils: clean-stageprofile-binutils
33751 clean-stageprofile-binutils:
33752 @[ -f binutils/Makefile ] || [ -f stageprofile-binutils/Makefile ] \
33753 || exit 0 ; \
33754 [ -f binutils/Makefile ] || $(MAKE) stageprofile-start ; \
33755 cd binutils && \
33756 $(MAKE) $(FLAGS_TO_PASS) \
33757 $(POSTSTAGE1_FLAGS_TO_PASS) \
33758 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
33759 @endif binutils-bootstrap
33762 .PHONY: configure-stageprofile-gas maybe-configure-stageprofile-gas
33763 .PHONY: all-stageprofile-gas maybe-all-stageprofile-gas
33764 .PHONY: clean-stageprofile-gas maybe-clean-stageprofile-gas
33766 maybe-configure-stageprofile-gas:
33767 maybe-all-stageprofile-gas:
33768 maybe-clean-stageprofile-gas:
33770 @if gas-bootstrap
33771 maybe-configure-stageprofile-gas: configure-stageprofile-gas
33772 configure-stageprofile-gas:
33773 @$(MAKE) stageprofile-start
33774 @[ -f gas/Makefile ] && exit 0 || : ; \
33775 r=`${PWD_COMMAND}`; export r; \
33776 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33777 $(STAGE_HOST_EXPORTS) \
33778 echo Configuring stage profile in gas ; \
33779 cd gas || exit 1; \
33780 case $(srcdir) in \
33781 \.) \
33782 srcdiroption="--srcdir=."; \
33783 libsrcdir=".";; \
33784 /* | [A-Za-z]:[\\/]*) \
33785 srcdiroption="--srcdir=$(srcdir)/gas"; \
33786 libsrcdir="$$s/gas";; \
33787 *) \
33788 srcdiroption="--srcdir=../$(srcdir)/gas"; \
33789 libsrcdir="$$s/gas";; \
33790 esac; \
33791 $(SHELL) $${libsrcdir}/configure \
33792 $(HOST_CONFIGARGS) $${srcdiroption} \
33793 @stage2_werror_flag@
33795 maybe-all-stageprofile-gas: all-stageprofile-gas
33796 all-stageprofile-gas: configure-stageprofile-gas
33797 @$(MAKE) stageprofile-start
33798 @r=`${PWD_COMMAND}`; export r; \
33799 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33800 $(STAGE_HOST_EXPORTS) \
33801 cd gas && \
33802 $(MAKE) $(FLAGS_TO_PASS) \
33803 $(POSTSTAGE1_FLAGS_TO_PASS) \
33804 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate"
33806 maybe-clean-stageprofile-gas: clean-stageprofile-gas
33807 clean-stageprofile-gas:
33808 @[ -f gas/Makefile ] || [ -f stageprofile-gas/Makefile ] \
33809 || exit 0 ; \
33810 [ -f gas/Makefile ] || $(MAKE) stageprofile-start ; \
33811 cd gas && \
33812 $(MAKE) $(FLAGS_TO_PASS) \
33813 $(POSTSTAGE1_FLAGS_TO_PASS) \
33814 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
33815 @endif gas-bootstrap
33818 .PHONY: configure-stageprofile-gcc maybe-configure-stageprofile-gcc
33819 .PHONY: all-stageprofile-gcc maybe-all-stageprofile-gcc
33820 .PHONY: clean-stageprofile-gcc maybe-clean-stageprofile-gcc
33822 maybe-configure-stageprofile-gcc:
33823 maybe-all-stageprofile-gcc:
33824 maybe-clean-stageprofile-gcc:
33826 @if gcc-bootstrap
33827 maybe-configure-stageprofile-gcc: configure-stageprofile-gcc
33828 configure-stageprofile-gcc:
33829 @$(MAKE) stageprofile-start
33830 @[ -f gcc/Makefile ] && exit 0 || : ; \
33831 r=`${PWD_COMMAND}`; export r; \
33832 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33833 $(STAGE_HOST_EXPORTS) \
33834 echo Configuring stage profile in gcc ; \
33835 cd gcc || exit 1; \
33836 case $(srcdir) in \
33837 \.) \
33838 srcdiroption="--srcdir=."; \
33839 libsrcdir=".";; \
33840 /* | [A-Za-z]:[\\/]*) \
33841 srcdiroption="--srcdir=$(srcdir)/gcc"; \
33842 libsrcdir="$$s/gcc";; \
33843 *) \
33844 srcdiroption="--srcdir=../$(srcdir)/gcc"; \
33845 libsrcdir="$$s/gcc";; \
33846 esac; \
33847 $(SHELL) $${libsrcdir}/configure \
33848 $(HOST_CONFIGARGS) $${srcdiroption} \
33849 @stage2_werror_flag@
33851 maybe-all-stageprofile-gcc: all-stageprofile-gcc
33852 all-stageprofile-gcc: configure-stageprofile-gcc
33853 @$(MAKE) stageprofile-start
33854 @r=`${PWD_COMMAND}`; export r; \
33855 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33856 $(STAGE_HOST_EXPORTS) \
33857 cd gcc && \
33858 $(MAKE) $(FLAGS_TO_PASS) \
33859 $(POSTSTAGE1_FLAGS_TO_PASS) \
33860 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" $(EXTRA_GCC_FLAGS)
33862 maybe-clean-stageprofile-gcc: clean-stageprofile-gcc
33863 clean-stageprofile-gcc:
33864 @[ -f gcc/Makefile ] || [ -f stageprofile-gcc/Makefile ] \
33865 || exit 0 ; \
33866 [ -f gcc/Makefile ] || $(MAKE) stageprofile-start ; \
33867 cd gcc && \
33868 $(MAKE) $(FLAGS_TO_PASS) \
33869 $(POSTSTAGE1_FLAGS_TO_PASS) \
33870 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" $(EXTRA_GCC_FLAGS) clean
33871 @endif gcc-bootstrap
33874 .PHONY: configure-stageprofile-intl maybe-configure-stageprofile-intl
33875 .PHONY: all-stageprofile-intl maybe-all-stageprofile-intl
33876 .PHONY: clean-stageprofile-intl maybe-clean-stageprofile-intl
33878 maybe-configure-stageprofile-intl:
33879 maybe-all-stageprofile-intl:
33880 maybe-clean-stageprofile-intl:
33882 @if intl-bootstrap
33883 maybe-configure-stageprofile-intl: configure-stageprofile-intl
33884 configure-stageprofile-intl:
33885 @$(MAKE) stageprofile-start
33886 @[ -f intl/Makefile ] && exit 0 || : ; \
33887 r=`${PWD_COMMAND}`; export r; \
33888 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33889 $(STAGE_HOST_EXPORTS) \
33890 echo Configuring stage profile in intl ; \
33891 cd intl || exit 1; \
33892 case $(srcdir) in \
33893 \.) \
33894 srcdiroption="--srcdir=."; \
33895 libsrcdir=".";; \
33896 /* | [A-Za-z]:[\\/]*) \
33897 srcdiroption="--srcdir=$(srcdir)/intl"; \
33898 libsrcdir="$$s/intl";; \
33899 *) \
33900 srcdiroption="--srcdir=../$(srcdir)/intl"; \
33901 libsrcdir="$$s/intl";; \
33902 esac; \
33903 $(SHELL) $${libsrcdir}/configure \
33904 $(HOST_CONFIGARGS) $${srcdiroption} \
33905 @stage2_werror_flag@
33907 maybe-all-stageprofile-intl: all-stageprofile-intl
33908 all-stageprofile-intl: configure-stageprofile-intl
33909 @$(MAKE) stageprofile-start
33910 @r=`${PWD_COMMAND}`; export r; \
33911 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33912 $(STAGE_HOST_EXPORTS) \
33913 cd intl && \
33914 $(MAKE) $(FLAGS_TO_PASS) \
33915 $(POSTSTAGE1_FLAGS_TO_PASS) \
33916 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate"
33918 maybe-clean-stageprofile-intl: clean-stageprofile-intl
33919 clean-stageprofile-intl:
33920 @[ -f intl/Makefile ] || [ -f stageprofile-intl/Makefile ] \
33921 || exit 0 ; \
33922 [ -f intl/Makefile ] || $(MAKE) stageprofile-start ; \
33923 cd intl && \
33924 $(MAKE) $(FLAGS_TO_PASS) \
33925 $(POSTSTAGE1_FLAGS_TO_PASS) \
33926 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
33927 @endif intl-bootstrap
33930 .PHONY: configure-stageprofile-ld maybe-configure-stageprofile-ld
33931 .PHONY: all-stageprofile-ld maybe-all-stageprofile-ld
33932 .PHONY: clean-stageprofile-ld maybe-clean-stageprofile-ld
33934 maybe-configure-stageprofile-ld:
33935 maybe-all-stageprofile-ld:
33936 maybe-clean-stageprofile-ld:
33938 @if ld-bootstrap
33939 maybe-configure-stageprofile-ld: configure-stageprofile-ld
33940 configure-stageprofile-ld:
33941 @$(MAKE) stageprofile-start
33942 @[ -f ld/Makefile ] && exit 0 || : ; \
33943 r=`${PWD_COMMAND}`; export r; \
33944 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33945 $(STAGE_HOST_EXPORTS) \
33946 echo Configuring stage profile in ld ; \
33947 cd ld || exit 1; \
33948 case $(srcdir) in \
33949 \.) \
33950 srcdiroption="--srcdir=."; \
33951 libsrcdir=".";; \
33952 /* | [A-Za-z]:[\\/]*) \
33953 srcdiroption="--srcdir=$(srcdir)/ld"; \
33954 libsrcdir="$$s/ld";; \
33955 *) \
33956 srcdiroption="--srcdir=../$(srcdir)/ld"; \
33957 libsrcdir="$$s/ld";; \
33958 esac; \
33959 $(SHELL) $${libsrcdir}/configure \
33960 $(HOST_CONFIGARGS) $${srcdiroption} \
33961 @stage2_werror_flag@
33963 maybe-all-stageprofile-ld: all-stageprofile-ld
33964 all-stageprofile-ld: configure-stageprofile-ld
33965 @$(MAKE) stageprofile-start
33966 @r=`${PWD_COMMAND}`; export r; \
33967 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33968 $(STAGE_HOST_EXPORTS) \
33969 cd ld && \
33970 $(MAKE) $(FLAGS_TO_PASS) \
33971 $(POSTSTAGE1_FLAGS_TO_PASS) \
33972 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate"
33974 maybe-clean-stageprofile-ld: clean-stageprofile-ld
33975 clean-stageprofile-ld:
33976 @[ -f ld/Makefile ] || [ -f stageprofile-ld/Makefile ] \
33977 || exit 0 ; \
33978 [ -f ld/Makefile ] || $(MAKE) stageprofile-start ; \
33979 cd ld && \
33980 $(MAKE) $(FLAGS_TO_PASS) \
33981 $(POSTSTAGE1_FLAGS_TO_PASS) \
33982 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
33983 @endif ld-bootstrap
33986 .PHONY: configure-stageprofile-libcpp maybe-configure-stageprofile-libcpp
33987 .PHONY: all-stageprofile-libcpp maybe-all-stageprofile-libcpp
33988 .PHONY: clean-stageprofile-libcpp maybe-clean-stageprofile-libcpp
33990 maybe-configure-stageprofile-libcpp:
33991 maybe-all-stageprofile-libcpp:
33992 maybe-clean-stageprofile-libcpp:
33994 @if libcpp-bootstrap
33995 maybe-configure-stageprofile-libcpp: configure-stageprofile-libcpp
33996 configure-stageprofile-libcpp:
33997 @$(MAKE) stageprofile-start
33998 @[ -f libcpp/Makefile ] && exit 0 || : ; \
33999 r=`${PWD_COMMAND}`; export r; \
34000 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34001 $(STAGE_HOST_EXPORTS) \
34002 echo Configuring stage profile in libcpp ; \
34003 cd libcpp || exit 1; \
34004 case $(srcdir) in \
34005 \.) \
34006 srcdiroption="--srcdir=."; \
34007 libsrcdir=".";; \
34008 /* | [A-Za-z]:[\\/]*) \
34009 srcdiroption="--srcdir=$(srcdir)/libcpp"; \
34010 libsrcdir="$$s/libcpp";; \
34011 *) \
34012 srcdiroption="--srcdir=../$(srcdir)/libcpp"; \
34013 libsrcdir="$$s/libcpp";; \
34014 esac; \
34015 $(SHELL) $${libsrcdir}/configure \
34016 $(HOST_CONFIGARGS) $${srcdiroption} \
34017 @stage2_werror_flag@
34019 maybe-all-stageprofile-libcpp: all-stageprofile-libcpp
34020 all-stageprofile-libcpp: configure-stageprofile-libcpp
34021 @$(MAKE) stageprofile-start
34022 @r=`${PWD_COMMAND}`; export r; \
34023 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34024 $(STAGE_HOST_EXPORTS) \
34025 cd libcpp && \
34026 $(MAKE) $(FLAGS_TO_PASS) \
34027 $(POSTSTAGE1_FLAGS_TO_PASS) \
34028 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate"
34030 maybe-clean-stageprofile-libcpp: clean-stageprofile-libcpp
34031 clean-stageprofile-libcpp:
34032 @[ -f libcpp/Makefile ] || [ -f stageprofile-libcpp/Makefile ] \
34033 || exit 0 ; \
34034 [ -f libcpp/Makefile ] || $(MAKE) stageprofile-start ; \
34035 cd libcpp && \
34036 $(MAKE) $(FLAGS_TO_PASS) \
34037 $(POSTSTAGE1_FLAGS_TO_PASS) \
34038 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
34039 @endif libcpp-bootstrap
34042 .PHONY: configure-stageprofile-libiberty maybe-configure-stageprofile-libiberty
34043 .PHONY: all-stageprofile-libiberty maybe-all-stageprofile-libiberty
34044 .PHONY: clean-stageprofile-libiberty maybe-clean-stageprofile-libiberty
34046 maybe-configure-stageprofile-libiberty:
34047 maybe-all-stageprofile-libiberty:
34048 maybe-clean-stageprofile-libiberty:
34050 @if libiberty-bootstrap
34051 maybe-configure-stageprofile-libiberty: configure-stageprofile-libiberty
34052 configure-stageprofile-libiberty:
34053 @$(MAKE) stageprofile-start
34054 @[ -f libiberty/Makefile ] && exit 0 || : ; \
34055 r=`${PWD_COMMAND}`; export r; \
34056 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34057 $(STAGE_HOST_EXPORTS) \
34058 echo Configuring stage profile in libiberty ; \
34059 cd libiberty || exit 1; \
34060 case $(srcdir) in \
34061 \.) \
34062 srcdiroption="--srcdir=."; \
34063 libsrcdir=".";; \
34064 /* | [A-Za-z]:[\\/]*) \
34065 srcdiroption="--srcdir=$(srcdir)/libiberty"; \
34066 libsrcdir="$$s/libiberty";; \
34067 *) \
34068 srcdiroption="--srcdir=../$(srcdir)/libiberty"; \
34069 libsrcdir="$$s/libiberty";; \
34070 esac; \
34071 $(SHELL) $${libsrcdir}/configure \
34072 $(HOST_CONFIGARGS) $${srcdiroption} \
34073 @stage2_werror_flag@
34075 maybe-all-stageprofile-libiberty: all-stageprofile-libiberty
34076 all-stageprofile-libiberty: configure-stageprofile-libiberty
34077 @$(MAKE) stageprofile-start
34078 @r=`${PWD_COMMAND}`; export r; \
34079 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34080 $(STAGE_HOST_EXPORTS) \
34081 cd libiberty && \
34082 $(MAKE) $(FLAGS_TO_PASS) \
34083 $(POSTSTAGE1_FLAGS_TO_PASS) \
34084 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate"
34086 maybe-clean-stageprofile-libiberty: clean-stageprofile-libiberty
34087 clean-stageprofile-libiberty:
34088 @[ -f libiberty/Makefile ] || [ -f stageprofile-libiberty/Makefile ] \
34089 || exit 0 ; \
34090 [ -f libiberty/Makefile ] || $(MAKE) stageprofile-start ; \
34091 cd libiberty && \
34092 $(MAKE) $(FLAGS_TO_PASS) \
34093 $(POSTSTAGE1_FLAGS_TO_PASS) \
34094 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
34095 @endif libiberty-bootstrap
34098 .PHONY: configure-stageprofile-zlib maybe-configure-stageprofile-zlib
34099 .PHONY: all-stageprofile-zlib maybe-all-stageprofile-zlib
34100 .PHONY: clean-stageprofile-zlib maybe-clean-stageprofile-zlib
34102 maybe-configure-stageprofile-zlib:
34103 maybe-all-stageprofile-zlib:
34104 maybe-clean-stageprofile-zlib:
34106 @if zlib-bootstrap
34107 maybe-configure-stageprofile-zlib: configure-stageprofile-zlib
34108 configure-stageprofile-zlib:
34109 @$(MAKE) stageprofile-start
34110 @[ -f zlib/Makefile ] && exit 0 || : ; \
34111 r=`${PWD_COMMAND}`; export r; \
34112 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34113 $(STAGE_HOST_EXPORTS) \
34114 echo Configuring stage profile in zlib ; \
34115 cd zlib || exit 1; \
34116 case $(srcdir) in \
34117 \.) \
34118 srcdiroption="--srcdir=."; \
34119 libsrcdir=".";; \
34120 /* | [A-Za-z]:[\\/]*) \
34121 srcdiroption="--srcdir=$(srcdir)/zlib"; \
34122 libsrcdir="$$s/zlib";; \
34123 *) \
34124 srcdiroption="--srcdir=../$(srcdir)/zlib"; \
34125 libsrcdir="$$s/zlib";; \
34126 esac; \
34127 $(SHELL) $${libsrcdir}/configure \
34128 $(HOST_CONFIGARGS) $${srcdiroption} \
34129 @stage2_werror_flag@
34131 maybe-all-stageprofile-zlib: all-stageprofile-zlib
34132 all-stageprofile-zlib: configure-stageprofile-zlib
34133 @$(MAKE) stageprofile-start
34134 @r=`${PWD_COMMAND}`; export r; \
34135 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34136 $(STAGE_HOST_EXPORTS) \
34137 cd zlib && \
34138 $(MAKE) $(FLAGS_TO_PASS) \
34139 $(POSTSTAGE1_FLAGS_TO_PASS) \
34140 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate"
34142 maybe-clean-stageprofile-zlib: clean-stageprofile-zlib
34143 clean-stageprofile-zlib:
34144 @[ -f zlib/Makefile ] || [ -f stageprofile-zlib/Makefile ] \
34145 || exit 0 ; \
34146 [ -f zlib/Makefile ] || $(MAKE) stageprofile-start ; \
34147 cd zlib && \
34148 $(MAKE) $(FLAGS_TO_PASS) \
34149 $(POSTSTAGE1_FLAGS_TO_PASS) \
34150 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
34151 @endif zlib-bootstrap
34155 # FIXME: Will not need to be conditional when toplevel bootstrap is the
34156 # only possibility, but now it conflicts with no-bootstrap rules
34157 @if gcc-bootstrap
34162 # Rules to wipe a stage and all the following ones, also used for cleanstrap
34163 distclean-stage1:: distclean-stageprofile
34164 .PHONY: distclean-stageprofile
34165 distclean-stageprofile::
34166 [ -f stage_current ] && $(MAKE) `cat stage_current`-end || :
34167 rm -rf stageprofile-*
34170 @endif gcc-bootstrap
34173 .PHONY: stagefeedback-start stagefeedback-end
34175 stagefeedback-start::
34176 @[ -f stage_current ] && $(MAKE) `cat stage_current`-end || : ; \
34177 echo stagefeedback > stage_current ; \
34178 echo stagefeedback > stage_last
34179 @if bfd
34180 @[ -d stagefeedback-bfd ] || mkdir stagefeedback-bfd; \
34181 set stagefeedback-bfd bfd ; @CREATE_LINK_TO_DIR@ ; \
34182 set stage1-bfd prev-bfd ; @CREATE_LINK_TO_DIR@
34183 @endif bfd
34184 @if opcodes
34185 @[ -d stagefeedback-opcodes ] || mkdir stagefeedback-opcodes; \
34186 set stagefeedback-opcodes opcodes ; @CREATE_LINK_TO_DIR@ ; \
34187 set stage1-opcodes prev-opcodes ; @CREATE_LINK_TO_DIR@
34188 @endif opcodes
34189 @if binutils
34190 @[ -d stagefeedback-binutils ] || mkdir stagefeedback-binutils; \
34191 set stagefeedback-binutils binutils ; @CREATE_LINK_TO_DIR@ ; \
34192 set stage1-binutils prev-binutils ; @CREATE_LINK_TO_DIR@
34193 @endif binutils
34194 @if gas
34195 @[ -d stagefeedback-gas ] || mkdir stagefeedback-gas; \
34196 set stagefeedback-gas gas ; @CREATE_LINK_TO_DIR@ ; \
34197 set stage1-gas prev-gas ; @CREATE_LINK_TO_DIR@
34198 @endif gas
34199 @if gcc
34200 @[ -d stagefeedback-gcc ] || mkdir stagefeedback-gcc; \
34201 set stagefeedback-gcc gcc ; @CREATE_LINK_TO_DIR@ ; \
34202 set stage1-gcc prev-gcc ; @CREATE_LINK_TO_DIR@
34203 @endif gcc
34204 @if intl
34205 @[ -d stagefeedback-intl ] || mkdir stagefeedback-intl; \
34206 set stagefeedback-intl intl ; @CREATE_LINK_TO_DIR@ ; \
34207 set stage1-intl prev-intl ; @CREATE_LINK_TO_DIR@
34208 @endif intl
34209 @if ld
34210 @[ -d stagefeedback-ld ] || mkdir stagefeedback-ld; \
34211 set stagefeedback-ld ld ; @CREATE_LINK_TO_DIR@ ; \
34212 set stage1-ld prev-ld ; @CREATE_LINK_TO_DIR@
34213 @endif ld
34214 @if libcpp
34215 @[ -d stagefeedback-libcpp ] || mkdir stagefeedback-libcpp; \
34216 set stagefeedback-libcpp libcpp ; @CREATE_LINK_TO_DIR@ ; \
34217 set stage1-libcpp prev-libcpp ; @CREATE_LINK_TO_DIR@
34218 @endif libcpp
34219 @if libiberty
34220 @[ -d stagefeedback-libiberty ] || mkdir stagefeedback-libiberty; \
34221 set stagefeedback-libiberty libiberty ; @CREATE_LINK_TO_DIR@ ; \
34222 set stage1-libiberty prev-libiberty ; @CREATE_LINK_TO_DIR@
34223 @endif libiberty
34224 @if zlib
34225 @[ -d stagefeedback-zlib ] || mkdir stagefeedback-zlib; \
34226 set stagefeedback-zlib zlib ; @CREATE_LINK_TO_DIR@ ; \
34227 set stage1-zlib prev-zlib ; @CREATE_LINK_TO_DIR@
34228 @endif zlib
34230 stagefeedback-end::
34231 @rm -f stage_current
34232 @if bfd
34233 @set bfd stagefeedback-bfd ; @UNDO_LINK_TO_DIR@ ; \
34234 set prev-bfd stage1-bfd ; @UNDO_LINK_TO_DIR@
34235 @endif bfd
34236 @if opcodes
34237 @set opcodes stagefeedback-opcodes ; @UNDO_LINK_TO_DIR@ ; \
34238 set prev-opcodes stage1-opcodes ; @UNDO_LINK_TO_DIR@
34239 @endif opcodes
34240 @if binutils
34241 @set binutils stagefeedback-binutils ; @UNDO_LINK_TO_DIR@ ; \
34242 set prev-binutils stage1-binutils ; @UNDO_LINK_TO_DIR@
34243 @endif binutils
34244 @if gas
34245 @set gas stagefeedback-gas ; @UNDO_LINK_TO_DIR@ ; \
34246 set prev-gas stage1-gas ; @UNDO_LINK_TO_DIR@
34247 @endif gas
34248 @if gcc
34249 @set gcc stagefeedback-gcc ; @UNDO_LINK_TO_DIR@ ; \
34250 set prev-gcc stage1-gcc ; @UNDO_LINK_TO_DIR@
34251 @endif gcc
34252 @if intl
34253 @set intl stagefeedback-intl ; @UNDO_LINK_TO_DIR@ ; \
34254 set prev-intl stage1-intl ; @UNDO_LINK_TO_DIR@
34255 @endif intl
34256 @if ld
34257 @set ld stagefeedback-ld ; @UNDO_LINK_TO_DIR@ ; \
34258 set prev-ld stage1-ld ; @UNDO_LINK_TO_DIR@
34259 @endif ld
34260 @if libcpp
34261 @set libcpp stagefeedback-libcpp ; @UNDO_LINK_TO_DIR@ ; \
34262 set prev-libcpp stage1-libcpp ; @UNDO_LINK_TO_DIR@
34263 @endif libcpp
34264 @if libiberty
34265 @set libiberty stagefeedback-libiberty ; @UNDO_LINK_TO_DIR@ ; \
34266 set prev-libiberty stage1-libiberty ; @UNDO_LINK_TO_DIR@
34267 @endif libiberty
34268 @if zlib
34269 @set zlib stagefeedback-zlib ; @UNDO_LINK_TO_DIR@ ; \
34270 set prev-zlib stage1-zlib ; @UNDO_LINK_TO_DIR@
34271 @endif zlib
34273 # Bubble a bugfix through all the stages up to stage feedback. They
34274 # are remade, but not reconfigured. The next stage (if any) will not
34275 # be reconfigured as well.
34276 .PHONY: stagefeedback-bubble
34277 stagefeedback-bubble:: stage1-bubble
34278 @if test -f stagefeedback-lean || test -f stage1-lean ; then \
34279 echo Skipping rebuild of stagefeedback ; \
34280 else \
34281 $(MAKE) $(RECURSE_FLAGS_TO_PASS) NOTPARALLEL= all-stagefeedback; \
34284 .PHONY: all-stagefeedback clean-stagefeedback
34285 all-stagefeedback: \
34286 maybe-all-stagefeedback-bfd \
34287 maybe-all-stagefeedback-opcodes \
34288 maybe-all-stagefeedback-binutils \
34289 maybe-all-stagefeedback-gas \
34290 maybe-all-stagefeedback-gcc \
34291 maybe-all-stagefeedback-intl \
34292 maybe-all-stagefeedback-ld \
34293 maybe-all-stagefeedback-libcpp \
34294 maybe-all-stagefeedback-libiberty \
34295 maybe-all-stagefeedback-zlib
34297 do-clean: clean-stagefeedback
34298 clean-stagefeedback: \
34299 maybe-clean-stagefeedback-bfd \
34300 maybe-clean-stagefeedback-opcodes \
34301 maybe-clean-stagefeedback-binutils \
34302 maybe-clean-stagefeedback-gas \
34303 maybe-clean-stagefeedback-gcc \
34304 maybe-clean-stagefeedback-intl \
34305 maybe-clean-stagefeedback-ld \
34306 maybe-clean-stagefeedback-libcpp \
34307 maybe-clean-stagefeedback-libiberty \
34308 maybe-clean-stagefeedback-zlib
34311 .PHONY: configure-stagefeedback-bfd maybe-configure-stagefeedback-bfd
34312 .PHONY: all-stagefeedback-bfd maybe-all-stagefeedback-bfd
34313 .PHONY: clean-stagefeedback-bfd maybe-clean-stagefeedback-bfd
34315 maybe-configure-stagefeedback-bfd:
34316 maybe-all-stagefeedback-bfd:
34317 maybe-clean-stagefeedback-bfd:
34319 @if bfd-bootstrap
34320 maybe-configure-stagefeedback-bfd: configure-stagefeedback-bfd
34321 configure-stagefeedback-bfd:
34322 @$(MAKE) stagefeedback-start
34323 @[ -f bfd/Makefile ] && exit 0 || : ; \
34324 r=`${PWD_COMMAND}`; export r; \
34325 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34326 $(STAGE_HOST_EXPORTS) \
34327 echo Configuring stage feedback in bfd ; \
34328 cd bfd || exit 1; \
34329 case $(srcdir) in \
34330 \.) \
34331 srcdiroption="--srcdir=."; \
34332 libsrcdir=".";; \
34333 /* | [A-Za-z]:[\\/]*) \
34334 srcdiroption="--srcdir=$(srcdir)/bfd"; \
34335 libsrcdir="$$s/bfd";; \
34336 *) \
34337 srcdiroption="--srcdir=../$(srcdir)/bfd"; \
34338 libsrcdir="$$s/bfd";; \
34339 esac; \
34340 $(SHELL) $${libsrcdir}/configure \
34341 $(HOST_CONFIGARGS) $${srcdiroption} \
34342 @stage2_werror_flag@
34344 maybe-all-stagefeedback-bfd: all-stagefeedback-bfd
34345 all-stagefeedback-bfd: configure-stagefeedback-bfd
34346 @$(MAKE) stagefeedback-start
34347 @r=`${PWD_COMMAND}`; export r; \
34348 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34349 $(STAGE_HOST_EXPORTS) \
34350 cd bfd && \
34351 $(MAKE) $(FLAGS_TO_PASS) \
34352 $(POSTSTAGE1_FLAGS_TO_PASS) \
34353 CFLAGS="$(BOOT_CFLAGS) -fprofile-use"
34355 maybe-clean-stagefeedback-bfd: clean-stagefeedback-bfd
34356 clean-stagefeedback-bfd:
34357 @[ -f bfd/Makefile ] || [ -f stagefeedback-bfd/Makefile ] \
34358 || exit 0 ; \
34359 [ -f bfd/Makefile ] || $(MAKE) stagefeedback-start ; \
34360 cd bfd && \
34361 $(MAKE) $(FLAGS_TO_PASS) \
34362 $(POSTSTAGE1_FLAGS_TO_PASS) \
34363 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
34364 @endif bfd-bootstrap
34367 .PHONY: configure-stagefeedback-opcodes maybe-configure-stagefeedback-opcodes
34368 .PHONY: all-stagefeedback-opcodes maybe-all-stagefeedback-opcodes
34369 .PHONY: clean-stagefeedback-opcodes maybe-clean-stagefeedback-opcodes
34371 maybe-configure-stagefeedback-opcodes:
34372 maybe-all-stagefeedback-opcodes:
34373 maybe-clean-stagefeedback-opcodes:
34375 @if opcodes-bootstrap
34376 maybe-configure-stagefeedback-opcodes: configure-stagefeedback-opcodes
34377 configure-stagefeedback-opcodes:
34378 @$(MAKE) stagefeedback-start
34379 @[ -f opcodes/Makefile ] && exit 0 || : ; \
34380 r=`${PWD_COMMAND}`; export r; \
34381 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34382 $(STAGE_HOST_EXPORTS) \
34383 echo Configuring stage feedback in opcodes ; \
34384 cd opcodes || exit 1; \
34385 case $(srcdir) in \
34386 \.) \
34387 srcdiroption="--srcdir=."; \
34388 libsrcdir=".";; \
34389 /* | [A-Za-z]:[\\/]*) \
34390 srcdiroption="--srcdir=$(srcdir)/opcodes"; \
34391 libsrcdir="$$s/opcodes";; \
34392 *) \
34393 srcdiroption="--srcdir=../$(srcdir)/opcodes"; \
34394 libsrcdir="$$s/opcodes";; \
34395 esac; \
34396 $(SHELL) $${libsrcdir}/configure \
34397 $(HOST_CONFIGARGS) $${srcdiroption} \
34398 @stage2_werror_flag@
34400 maybe-all-stagefeedback-opcodes: all-stagefeedback-opcodes
34401 all-stagefeedback-opcodes: configure-stagefeedback-opcodes
34402 @$(MAKE) stagefeedback-start
34403 @r=`${PWD_COMMAND}`; export r; \
34404 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34405 $(STAGE_HOST_EXPORTS) \
34406 cd opcodes && \
34407 $(MAKE) $(FLAGS_TO_PASS) \
34408 $(POSTSTAGE1_FLAGS_TO_PASS) \
34409 CFLAGS="$(BOOT_CFLAGS) -fprofile-use"
34411 maybe-clean-stagefeedback-opcodes: clean-stagefeedback-opcodes
34412 clean-stagefeedback-opcodes:
34413 @[ -f opcodes/Makefile ] || [ -f stagefeedback-opcodes/Makefile ] \
34414 || exit 0 ; \
34415 [ -f opcodes/Makefile ] || $(MAKE) stagefeedback-start ; \
34416 cd opcodes && \
34417 $(MAKE) $(FLAGS_TO_PASS) \
34418 $(POSTSTAGE1_FLAGS_TO_PASS) \
34419 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
34420 @endif opcodes-bootstrap
34423 .PHONY: configure-stagefeedback-binutils maybe-configure-stagefeedback-binutils
34424 .PHONY: all-stagefeedback-binutils maybe-all-stagefeedback-binutils
34425 .PHONY: clean-stagefeedback-binutils maybe-clean-stagefeedback-binutils
34427 maybe-configure-stagefeedback-binutils:
34428 maybe-all-stagefeedback-binutils:
34429 maybe-clean-stagefeedback-binutils:
34431 @if binutils-bootstrap
34432 maybe-configure-stagefeedback-binutils: configure-stagefeedback-binutils
34433 configure-stagefeedback-binutils:
34434 @$(MAKE) stagefeedback-start
34435 @[ -f binutils/Makefile ] && exit 0 || : ; \
34436 r=`${PWD_COMMAND}`; export r; \
34437 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34438 $(STAGE_HOST_EXPORTS) \
34439 echo Configuring stage feedback in binutils ; \
34440 cd binutils || exit 1; \
34441 case $(srcdir) in \
34442 \.) \
34443 srcdiroption="--srcdir=."; \
34444 libsrcdir=".";; \
34445 /* | [A-Za-z]:[\\/]*) \
34446 srcdiroption="--srcdir=$(srcdir)/binutils"; \
34447 libsrcdir="$$s/binutils";; \
34448 *) \
34449 srcdiroption="--srcdir=../$(srcdir)/binutils"; \
34450 libsrcdir="$$s/binutils";; \
34451 esac; \
34452 $(SHELL) $${libsrcdir}/configure \
34453 $(HOST_CONFIGARGS) $${srcdiroption} \
34454 @stage2_werror_flag@
34456 maybe-all-stagefeedback-binutils: all-stagefeedback-binutils
34457 all-stagefeedback-binutils: configure-stagefeedback-binutils
34458 @$(MAKE) stagefeedback-start
34459 @r=`${PWD_COMMAND}`; export r; \
34460 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34461 $(STAGE_HOST_EXPORTS) \
34462 cd binutils && \
34463 $(MAKE) $(FLAGS_TO_PASS) \
34464 $(POSTSTAGE1_FLAGS_TO_PASS) \
34465 CFLAGS="$(BOOT_CFLAGS) -fprofile-use"
34467 maybe-clean-stagefeedback-binutils: clean-stagefeedback-binutils
34468 clean-stagefeedback-binutils:
34469 @[ -f binutils/Makefile ] || [ -f stagefeedback-binutils/Makefile ] \
34470 || exit 0 ; \
34471 [ -f binutils/Makefile ] || $(MAKE) stagefeedback-start ; \
34472 cd binutils && \
34473 $(MAKE) $(FLAGS_TO_PASS) \
34474 $(POSTSTAGE1_FLAGS_TO_PASS) \
34475 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
34476 @endif binutils-bootstrap
34479 .PHONY: configure-stagefeedback-gas maybe-configure-stagefeedback-gas
34480 .PHONY: all-stagefeedback-gas maybe-all-stagefeedback-gas
34481 .PHONY: clean-stagefeedback-gas maybe-clean-stagefeedback-gas
34483 maybe-configure-stagefeedback-gas:
34484 maybe-all-stagefeedback-gas:
34485 maybe-clean-stagefeedback-gas:
34487 @if gas-bootstrap
34488 maybe-configure-stagefeedback-gas: configure-stagefeedback-gas
34489 configure-stagefeedback-gas:
34490 @$(MAKE) stagefeedback-start
34491 @[ -f gas/Makefile ] && exit 0 || : ; \
34492 r=`${PWD_COMMAND}`; export r; \
34493 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34494 $(STAGE_HOST_EXPORTS) \
34495 echo Configuring stage feedback in gas ; \
34496 cd gas || exit 1; \
34497 case $(srcdir) in \
34498 \.) \
34499 srcdiroption="--srcdir=."; \
34500 libsrcdir=".";; \
34501 /* | [A-Za-z]:[\\/]*) \
34502 srcdiroption="--srcdir=$(srcdir)/gas"; \
34503 libsrcdir="$$s/gas";; \
34504 *) \
34505 srcdiroption="--srcdir=../$(srcdir)/gas"; \
34506 libsrcdir="$$s/gas";; \
34507 esac; \
34508 $(SHELL) $${libsrcdir}/configure \
34509 $(HOST_CONFIGARGS) $${srcdiroption} \
34510 @stage2_werror_flag@
34512 maybe-all-stagefeedback-gas: all-stagefeedback-gas
34513 all-stagefeedback-gas: configure-stagefeedback-gas
34514 @$(MAKE) stagefeedback-start
34515 @r=`${PWD_COMMAND}`; export r; \
34516 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34517 $(STAGE_HOST_EXPORTS) \
34518 cd gas && \
34519 $(MAKE) $(FLAGS_TO_PASS) \
34520 $(POSTSTAGE1_FLAGS_TO_PASS) \
34521 CFLAGS="$(BOOT_CFLAGS) -fprofile-use"
34523 maybe-clean-stagefeedback-gas: clean-stagefeedback-gas
34524 clean-stagefeedback-gas:
34525 @[ -f gas/Makefile ] || [ -f stagefeedback-gas/Makefile ] \
34526 || exit 0 ; \
34527 [ -f gas/Makefile ] || $(MAKE) stagefeedback-start ; \
34528 cd gas && \
34529 $(MAKE) $(FLAGS_TO_PASS) \
34530 $(POSTSTAGE1_FLAGS_TO_PASS) \
34531 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
34532 @endif gas-bootstrap
34535 .PHONY: configure-stagefeedback-gcc maybe-configure-stagefeedback-gcc
34536 .PHONY: all-stagefeedback-gcc maybe-all-stagefeedback-gcc
34537 .PHONY: clean-stagefeedback-gcc maybe-clean-stagefeedback-gcc
34539 maybe-configure-stagefeedback-gcc:
34540 maybe-all-stagefeedback-gcc:
34541 maybe-clean-stagefeedback-gcc:
34543 @if gcc-bootstrap
34544 maybe-configure-stagefeedback-gcc: configure-stagefeedback-gcc
34545 configure-stagefeedback-gcc:
34546 @$(MAKE) stagefeedback-start
34547 @[ -f gcc/Makefile ] && exit 0 || : ; \
34548 r=`${PWD_COMMAND}`; export r; \
34549 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34550 $(STAGE_HOST_EXPORTS) \
34551 echo Configuring stage feedback in gcc ; \
34552 cd gcc || exit 1; \
34553 case $(srcdir) in \
34554 \.) \
34555 srcdiroption="--srcdir=."; \
34556 libsrcdir=".";; \
34557 /* | [A-Za-z]:[\\/]*) \
34558 srcdiroption="--srcdir=$(srcdir)/gcc"; \
34559 libsrcdir="$$s/gcc";; \
34560 *) \
34561 srcdiroption="--srcdir=../$(srcdir)/gcc"; \
34562 libsrcdir="$$s/gcc";; \
34563 esac; \
34564 $(SHELL) $${libsrcdir}/configure \
34565 $(HOST_CONFIGARGS) $${srcdiroption} \
34566 @stage2_werror_flag@
34568 maybe-all-stagefeedback-gcc: all-stagefeedback-gcc
34569 all-stagefeedback-gcc: configure-stagefeedback-gcc
34570 @$(MAKE) stagefeedback-start
34571 @r=`${PWD_COMMAND}`; export r; \
34572 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34573 $(STAGE_HOST_EXPORTS) \
34574 cd gcc && \
34575 $(MAKE) $(FLAGS_TO_PASS) \
34576 $(POSTSTAGE1_FLAGS_TO_PASS) \
34577 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" $(EXTRA_GCC_FLAGS)
34579 maybe-clean-stagefeedback-gcc: clean-stagefeedback-gcc
34580 clean-stagefeedback-gcc:
34581 @[ -f gcc/Makefile ] || [ -f stagefeedback-gcc/Makefile ] \
34582 || exit 0 ; \
34583 [ -f gcc/Makefile ] || $(MAKE) stagefeedback-start ; \
34584 cd gcc && \
34585 $(MAKE) $(FLAGS_TO_PASS) \
34586 $(POSTSTAGE1_FLAGS_TO_PASS) \
34587 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" $(EXTRA_GCC_FLAGS) clean
34588 @endif gcc-bootstrap
34591 .PHONY: configure-stagefeedback-intl maybe-configure-stagefeedback-intl
34592 .PHONY: all-stagefeedback-intl maybe-all-stagefeedback-intl
34593 .PHONY: clean-stagefeedback-intl maybe-clean-stagefeedback-intl
34595 maybe-configure-stagefeedback-intl:
34596 maybe-all-stagefeedback-intl:
34597 maybe-clean-stagefeedback-intl:
34599 @if intl-bootstrap
34600 maybe-configure-stagefeedback-intl: configure-stagefeedback-intl
34601 configure-stagefeedback-intl:
34602 @$(MAKE) stagefeedback-start
34603 @[ -f intl/Makefile ] && exit 0 || : ; \
34604 r=`${PWD_COMMAND}`; export r; \
34605 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34606 $(STAGE_HOST_EXPORTS) \
34607 echo Configuring stage feedback in intl ; \
34608 cd intl || exit 1; \
34609 case $(srcdir) in \
34610 \.) \
34611 srcdiroption="--srcdir=."; \
34612 libsrcdir=".";; \
34613 /* | [A-Za-z]:[\\/]*) \
34614 srcdiroption="--srcdir=$(srcdir)/intl"; \
34615 libsrcdir="$$s/intl";; \
34616 *) \
34617 srcdiroption="--srcdir=../$(srcdir)/intl"; \
34618 libsrcdir="$$s/intl";; \
34619 esac; \
34620 $(SHELL) $${libsrcdir}/configure \
34621 $(HOST_CONFIGARGS) $${srcdiroption} \
34622 @stage2_werror_flag@
34624 maybe-all-stagefeedback-intl: all-stagefeedback-intl
34625 all-stagefeedback-intl: configure-stagefeedback-intl
34626 @$(MAKE) stagefeedback-start
34627 @r=`${PWD_COMMAND}`; export r; \
34628 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34629 $(STAGE_HOST_EXPORTS) \
34630 cd intl && \
34631 $(MAKE) $(FLAGS_TO_PASS) \
34632 $(POSTSTAGE1_FLAGS_TO_PASS) \
34633 CFLAGS="$(BOOT_CFLAGS) -fprofile-use"
34635 maybe-clean-stagefeedback-intl: clean-stagefeedback-intl
34636 clean-stagefeedback-intl:
34637 @[ -f intl/Makefile ] || [ -f stagefeedback-intl/Makefile ] \
34638 || exit 0 ; \
34639 [ -f intl/Makefile ] || $(MAKE) stagefeedback-start ; \
34640 cd intl && \
34641 $(MAKE) $(FLAGS_TO_PASS) \
34642 $(POSTSTAGE1_FLAGS_TO_PASS) \
34643 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
34644 @endif intl-bootstrap
34647 .PHONY: configure-stagefeedback-ld maybe-configure-stagefeedback-ld
34648 .PHONY: all-stagefeedback-ld maybe-all-stagefeedback-ld
34649 .PHONY: clean-stagefeedback-ld maybe-clean-stagefeedback-ld
34651 maybe-configure-stagefeedback-ld:
34652 maybe-all-stagefeedback-ld:
34653 maybe-clean-stagefeedback-ld:
34655 @if ld-bootstrap
34656 maybe-configure-stagefeedback-ld: configure-stagefeedback-ld
34657 configure-stagefeedback-ld:
34658 @$(MAKE) stagefeedback-start
34659 @[ -f ld/Makefile ] && exit 0 || : ; \
34660 r=`${PWD_COMMAND}`; export r; \
34661 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34662 $(STAGE_HOST_EXPORTS) \
34663 echo Configuring stage feedback in ld ; \
34664 cd ld || exit 1; \
34665 case $(srcdir) in \
34666 \.) \
34667 srcdiroption="--srcdir=."; \
34668 libsrcdir=".";; \
34669 /* | [A-Za-z]:[\\/]*) \
34670 srcdiroption="--srcdir=$(srcdir)/ld"; \
34671 libsrcdir="$$s/ld";; \
34672 *) \
34673 srcdiroption="--srcdir=../$(srcdir)/ld"; \
34674 libsrcdir="$$s/ld";; \
34675 esac; \
34676 $(SHELL) $${libsrcdir}/configure \
34677 $(HOST_CONFIGARGS) $${srcdiroption} \
34678 @stage2_werror_flag@
34680 maybe-all-stagefeedback-ld: all-stagefeedback-ld
34681 all-stagefeedback-ld: configure-stagefeedback-ld
34682 @$(MAKE) stagefeedback-start
34683 @r=`${PWD_COMMAND}`; export r; \
34684 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34685 $(STAGE_HOST_EXPORTS) \
34686 cd ld && \
34687 $(MAKE) $(FLAGS_TO_PASS) \
34688 $(POSTSTAGE1_FLAGS_TO_PASS) \
34689 CFLAGS="$(BOOT_CFLAGS) -fprofile-use"
34691 maybe-clean-stagefeedback-ld: clean-stagefeedback-ld
34692 clean-stagefeedback-ld:
34693 @[ -f ld/Makefile ] || [ -f stagefeedback-ld/Makefile ] \
34694 || exit 0 ; \
34695 [ -f ld/Makefile ] || $(MAKE) stagefeedback-start ; \
34696 cd ld && \
34697 $(MAKE) $(FLAGS_TO_PASS) \
34698 $(POSTSTAGE1_FLAGS_TO_PASS) \
34699 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
34700 @endif ld-bootstrap
34703 .PHONY: configure-stagefeedback-libcpp maybe-configure-stagefeedback-libcpp
34704 .PHONY: all-stagefeedback-libcpp maybe-all-stagefeedback-libcpp
34705 .PHONY: clean-stagefeedback-libcpp maybe-clean-stagefeedback-libcpp
34707 maybe-configure-stagefeedback-libcpp:
34708 maybe-all-stagefeedback-libcpp:
34709 maybe-clean-stagefeedback-libcpp:
34711 @if libcpp-bootstrap
34712 maybe-configure-stagefeedback-libcpp: configure-stagefeedback-libcpp
34713 configure-stagefeedback-libcpp:
34714 @$(MAKE) stagefeedback-start
34715 @[ -f libcpp/Makefile ] && exit 0 || : ; \
34716 r=`${PWD_COMMAND}`; export r; \
34717 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34718 $(STAGE_HOST_EXPORTS) \
34719 echo Configuring stage feedback in libcpp ; \
34720 cd libcpp || exit 1; \
34721 case $(srcdir) in \
34722 \.) \
34723 srcdiroption="--srcdir=."; \
34724 libsrcdir=".";; \
34725 /* | [A-Za-z]:[\\/]*) \
34726 srcdiroption="--srcdir=$(srcdir)/libcpp"; \
34727 libsrcdir="$$s/libcpp";; \
34728 *) \
34729 srcdiroption="--srcdir=../$(srcdir)/libcpp"; \
34730 libsrcdir="$$s/libcpp";; \
34731 esac; \
34732 $(SHELL) $${libsrcdir}/configure \
34733 $(HOST_CONFIGARGS) $${srcdiroption} \
34734 @stage2_werror_flag@
34736 maybe-all-stagefeedback-libcpp: all-stagefeedback-libcpp
34737 all-stagefeedback-libcpp: configure-stagefeedback-libcpp
34738 @$(MAKE) stagefeedback-start
34739 @r=`${PWD_COMMAND}`; export r; \
34740 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34741 $(STAGE_HOST_EXPORTS) \
34742 cd libcpp && \
34743 $(MAKE) $(FLAGS_TO_PASS) \
34744 $(POSTSTAGE1_FLAGS_TO_PASS) \
34745 CFLAGS="$(BOOT_CFLAGS) -fprofile-use"
34747 maybe-clean-stagefeedback-libcpp: clean-stagefeedback-libcpp
34748 clean-stagefeedback-libcpp:
34749 @[ -f libcpp/Makefile ] || [ -f stagefeedback-libcpp/Makefile ] \
34750 || exit 0 ; \
34751 [ -f libcpp/Makefile ] || $(MAKE) stagefeedback-start ; \
34752 cd libcpp && \
34753 $(MAKE) $(FLAGS_TO_PASS) \
34754 $(POSTSTAGE1_FLAGS_TO_PASS) \
34755 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
34756 @endif libcpp-bootstrap
34759 .PHONY: configure-stagefeedback-libiberty maybe-configure-stagefeedback-libiberty
34760 .PHONY: all-stagefeedback-libiberty maybe-all-stagefeedback-libiberty
34761 .PHONY: clean-stagefeedback-libiberty maybe-clean-stagefeedback-libiberty
34763 maybe-configure-stagefeedback-libiberty:
34764 maybe-all-stagefeedback-libiberty:
34765 maybe-clean-stagefeedback-libiberty:
34767 @if libiberty-bootstrap
34768 maybe-configure-stagefeedback-libiberty: configure-stagefeedback-libiberty
34769 configure-stagefeedback-libiberty:
34770 @$(MAKE) stagefeedback-start
34771 @[ -f libiberty/Makefile ] && exit 0 || : ; \
34772 r=`${PWD_COMMAND}`; export r; \
34773 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34774 $(STAGE_HOST_EXPORTS) \
34775 echo Configuring stage feedback in libiberty ; \
34776 cd libiberty || exit 1; \
34777 case $(srcdir) in \
34778 \.) \
34779 srcdiroption="--srcdir=."; \
34780 libsrcdir=".";; \
34781 /* | [A-Za-z]:[\\/]*) \
34782 srcdiroption="--srcdir=$(srcdir)/libiberty"; \
34783 libsrcdir="$$s/libiberty";; \
34784 *) \
34785 srcdiroption="--srcdir=../$(srcdir)/libiberty"; \
34786 libsrcdir="$$s/libiberty";; \
34787 esac; \
34788 $(SHELL) $${libsrcdir}/configure \
34789 $(HOST_CONFIGARGS) $${srcdiroption} \
34790 @stage2_werror_flag@
34792 maybe-all-stagefeedback-libiberty: all-stagefeedback-libiberty
34793 all-stagefeedback-libiberty: configure-stagefeedback-libiberty
34794 @$(MAKE) stagefeedback-start
34795 @r=`${PWD_COMMAND}`; export r; \
34796 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34797 $(STAGE_HOST_EXPORTS) \
34798 cd libiberty && \
34799 $(MAKE) $(FLAGS_TO_PASS) \
34800 $(POSTSTAGE1_FLAGS_TO_PASS) \
34801 CFLAGS="$(BOOT_CFLAGS) -fprofile-use"
34803 maybe-clean-stagefeedback-libiberty: clean-stagefeedback-libiberty
34804 clean-stagefeedback-libiberty:
34805 @[ -f libiberty/Makefile ] || [ -f stagefeedback-libiberty/Makefile ] \
34806 || exit 0 ; \
34807 [ -f libiberty/Makefile ] || $(MAKE) stagefeedback-start ; \
34808 cd libiberty && \
34809 $(MAKE) $(FLAGS_TO_PASS) \
34810 $(POSTSTAGE1_FLAGS_TO_PASS) \
34811 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
34812 @endif libiberty-bootstrap
34815 .PHONY: configure-stagefeedback-zlib maybe-configure-stagefeedback-zlib
34816 .PHONY: all-stagefeedback-zlib maybe-all-stagefeedback-zlib
34817 .PHONY: clean-stagefeedback-zlib maybe-clean-stagefeedback-zlib
34819 maybe-configure-stagefeedback-zlib:
34820 maybe-all-stagefeedback-zlib:
34821 maybe-clean-stagefeedback-zlib:
34823 @if zlib-bootstrap
34824 maybe-configure-stagefeedback-zlib: configure-stagefeedback-zlib
34825 configure-stagefeedback-zlib:
34826 @$(MAKE) stagefeedback-start
34827 @[ -f zlib/Makefile ] && exit 0 || : ; \
34828 r=`${PWD_COMMAND}`; export r; \
34829 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34830 $(STAGE_HOST_EXPORTS) \
34831 echo Configuring stage feedback in zlib ; \
34832 cd zlib || exit 1; \
34833 case $(srcdir) in \
34834 \.) \
34835 srcdiroption="--srcdir=."; \
34836 libsrcdir=".";; \
34837 /* | [A-Za-z]:[\\/]*) \
34838 srcdiroption="--srcdir=$(srcdir)/zlib"; \
34839 libsrcdir="$$s/zlib";; \
34840 *) \
34841 srcdiroption="--srcdir=../$(srcdir)/zlib"; \
34842 libsrcdir="$$s/zlib";; \
34843 esac; \
34844 $(SHELL) $${libsrcdir}/configure \
34845 $(HOST_CONFIGARGS) $${srcdiroption} \
34846 @stage2_werror_flag@
34848 maybe-all-stagefeedback-zlib: all-stagefeedback-zlib
34849 all-stagefeedback-zlib: configure-stagefeedback-zlib
34850 @$(MAKE) stagefeedback-start
34851 @r=`${PWD_COMMAND}`; export r; \
34852 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34853 $(STAGE_HOST_EXPORTS) \
34854 cd zlib && \
34855 $(MAKE) $(FLAGS_TO_PASS) \
34856 $(POSTSTAGE1_FLAGS_TO_PASS) \
34857 CFLAGS="$(BOOT_CFLAGS) -fprofile-use"
34859 maybe-clean-stagefeedback-zlib: clean-stagefeedback-zlib
34860 clean-stagefeedback-zlib:
34861 @[ -f zlib/Makefile ] || [ -f stagefeedback-zlib/Makefile ] \
34862 || exit 0 ; \
34863 [ -f zlib/Makefile ] || $(MAKE) stagefeedback-start ; \
34864 cd zlib && \
34865 $(MAKE) $(FLAGS_TO_PASS) \
34866 $(POSTSTAGE1_FLAGS_TO_PASS) \
34867 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
34868 @endif zlib-bootstrap
34872 # FIXME: Will not need to be conditional when toplevel bootstrap is the
34873 # only possibility, but now it conflicts with no-bootstrap rules
34874 @if gcc-bootstrap
34879 # Rules to wipe a stage and all the following ones, also used for cleanstrap
34880 distclean-stage1:: distclean-stagefeedback
34881 .PHONY: distclean-stagefeedback
34882 distclean-stagefeedback::
34883 [ -f stage_current ] && $(MAKE) `cat stage_current`-end || :
34884 rm -rf stagefeedback-*
34887 @endif gcc-bootstrap
34891 stagefeedback-start::
34892 @r=`${PWD_COMMAND}`; export r; \
34893 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34894 cd stageprofile-gcc && \
34895 { find . -type d | sort | sed 's,.*,$(SHELL) '"$$s"'/mkinstalldirs "../gcc/&",' | $(SHELL); } && \
34896 { find . -name '*.*da' | sed 's,.*,$(LN) -f "&" "../gcc/&",' | $(SHELL); }
34898 # FIXME: Will not need to be conditional when toplevel bootstrap is the
34899 # only possibility, but now it conflicts with no-bootstrap rules
34900 @if gcc-bootstrap
34901 profiledbootstrap:
34902 @r=`${PWD_COMMAND}`; export r; \
34903 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34904 $(SET_LIB_PATH) \
34905 $(HOST_EXPORTS) \
34906 echo "Bootstrapping the compiler"; \
34907 $(MAKE) stageprofile-bubble distclean-stagefeedback
34908 @r=`${PWD_COMMAND}`; export r; \
34909 s=`cd $(srcdir); ${PWD_COMMAND}` ; export s; \
34910 $(SET_LIB_PATH) \
34911 echo "Building runtime libraries and training compiler"; \
34912 $(MAKE) $(BASE_FLAGS_TO_PASS) $(RECURSE_FLAGS) all
34913 @r=`${PWD_COMMAND}`; export r; \
34914 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34915 $(SET_LIB_PATH) \
34916 $(HOST_EXPORTS) \
34917 echo "Building feedback based compiler"; \
34918 $(MAKE) stagefeedback-bubble stagefeedback-end
34919 @endif gcc-bootstrap
34921 @if gcc-bootstrap
34922 NOTPARALLEL = .NOTPARALLEL
34923 $(NOTPARALLEL):
34924 do-distclean: distclean-stage1
34925 @endif gcc-bootstrap
34927 # --------------------------------------
34928 # Dependencies between different modules
34929 # --------------------------------------
34931 # Generic dependencies for target modules on host stuff, especially gcc
34933 configure-target-libstdc++-v3: maybe-all-gcc
34935 configure-target-libmudflap: maybe-all-gcc
34937 configure-target-newlib: maybe-all-gcc
34939 configure-target-libgfortran: maybe-all-gcc
34941 configure-target-libobjc: maybe-all-gcc
34943 configure-target-libtermcap: maybe-all-gcc
34945 configure-target-winsup: maybe-all-gcc
34947 configure-target-libgloss: maybe-all-gcc
34949 configure-target-libiberty: maybe-all-gcc
34951 configure-target-gperf: maybe-all-gcc
34953 configure-target-examples: maybe-all-gcc
34955 configure-target-libffi: maybe-all-gcc
34957 configure-target-libjava: maybe-all-gcc
34959 configure-target-zlib: maybe-all-gcc
34961 configure-target-boehm-gc: maybe-all-gcc
34963 configure-target-qthreads: maybe-all-gcc
34965 configure-target-rda: maybe-all-gcc
34967 configure-target-libada: maybe-all-gcc
34971 configure-target-boehm-gc: maybe-all-target-newlib maybe-all-target-libgloss
34973 configure-target-gperf: maybe-all-target-newlib maybe-all-target-libgloss
34974 configure-target-gperf: maybe-all-target-libstdc++-v3
34976 configure-target-libada: maybe-all-target-newlib maybe-all-target-libgloss
34978 configure-target-libgfortran: maybe-all-target-newlib maybe-all-target-libgloss
34980 configure-target-libffi: maybe-all-target-newlib maybe-all-target-libgloss
34982 configure-target-libjava: maybe-all-target-newlib maybe-all-target-libgloss
34983 configure-target-libjava: maybe-all-target-libstdc++-v3
34985 configure-target-libobjc: maybe-all-target-newlib maybe-all-target-libgloss
34987 configure-target-libstdc++-v3: maybe-all-target-newlib maybe-all-target-libgloss
34989 configure-target-zlib: maybe-all-target-newlib maybe-all-target-libgloss
34991 configure-target-examples: maybe-all-target-newlib maybe-all-target-libgloss
34993 configure-target-libtermcap: maybe-all-target-newlib maybe-all-target-libgloss
34995 configure-target-rda: maybe-all-target-newlib maybe-all-target-libgloss
34997 configure-target-winsup: maybe-all-target-newlib maybe-all-target-libgloss
34999 configure-target-qthreads: maybe-all-target-newlib maybe-all-target-libgloss
35002 # There are two types of dependencies here: 'hard' dependencies, where one
35003 # module simply won't build without the other; and 'soft' dependencies, where
35004 # if the depended-on module is missing, the depending module will do without
35005 # or find a substitute somewhere (perhaps installed). Soft dependencies
35006 # are made here to depend on a 'maybe-' target. If you're not sure,
35007 # it's safer to use a soft dependency.
35013 # With all the machinery above in place, it is pretty easy to generate
35014 # dependencies. Host dependencies are a bit more complex because we have
35015 # to check for bootstrap/prebootstrap dependencies. To resolve
35016 # prebootstrap dependencies, prebootstrap modules are gathered in
35017 # a hash table.
35018 all-build-bison: maybe-all-build-texinfo
35019 all-build-byacc: maybe-all-build-texinfo
35020 all-build-flex: maybe-all-build-texinfo
35021 all-build-flex: maybe-all-build-bison
35022 all-build-flex: maybe-all-build-byacc
35023 all-build-flex: maybe-all-build-m4
35024 all-build-libiberty: maybe-all-build-texinfo
35025 all-build-m4: maybe-all-build-texinfo
35026 all-build-fixincludes: maybe-all-build-libiberty
35027 configure-gcc: maybe-configure-intl
35029 configure-stage1-gcc: maybe-configure-stage1-intl
35030 configure-stage2-gcc: maybe-configure-stage2-intl
35031 configure-stage3-gcc: maybe-configure-stage3-intl
35032 configure-stage4-gcc: maybe-configure-stage4-intl
35033 configure-stageprofile-gcc: maybe-configure-stageprofile-intl
35034 configure-stagefeedback-gcc: maybe-configure-stagefeedback-intl
35035 configure-gcc: maybe-configure-binutils
35037 configure-stage1-gcc: maybe-configure-stage1-binutils
35038 configure-stage2-gcc: maybe-configure-stage2-binutils
35039 configure-stage3-gcc: maybe-configure-stage3-binutils
35040 configure-stage4-gcc: maybe-configure-stage4-binutils
35041 configure-stageprofile-gcc: maybe-configure-stageprofile-binutils
35042 configure-stagefeedback-gcc: maybe-configure-stagefeedback-binutils
35043 configure-gcc: maybe-configure-gas
35045 configure-stage1-gcc: maybe-configure-stage1-gas
35046 configure-stage2-gcc: maybe-configure-stage2-gas
35047 configure-stage3-gcc: maybe-configure-stage3-gas
35048 configure-stage4-gcc: maybe-configure-stage4-gas
35049 configure-stageprofile-gcc: maybe-configure-stageprofile-gas
35050 configure-stagefeedback-gcc: maybe-configure-stagefeedback-gas
35051 configure-gcc: maybe-configure-ld
35053 configure-stage1-gcc: maybe-configure-stage1-ld
35054 configure-stage2-gcc: maybe-configure-stage2-ld
35055 configure-stage3-gcc: maybe-configure-stage3-ld
35056 configure-stage4-gcc: maybe-configure-stage4-ld
35057 configure-stageprofile-gcc: maybe-configure-stageprofile-ld
35058 configure-stagefeedback-gcc: maybe-configure-stagefeedback-ld
35059 all-gcc: all-libiberty
35061 all-stage1-gcc: all-stage1-libiberty
35062 all-stage2-gcc: all-stage2-libiberty
35063 all-stage3-gcc: all-stage3-libiberty
35064 all-stage4-gcc: all-stage4-libiberty
35065 all-stageprofile-gcc: all-stageprofile-libiberty
35066 all-stagefeedback-gcc: all-stagefeedback-libiberty
35067 all-gcc: maybe-all-intl
35069 all-stage1-gcc: maybe-all-stage1-intl
35070 all-stage2-gcc: maybe-all-stage2-intl
35071 all-stage3-gcc: maybe-all-stage3-intl
35072 all-stage4-gcc: maybe-all-stage4-intl
35073 all-stageprofile-gcc: maybe-all-stageprofile-intl
35074 all-stagefeedback-gcc: maybe-all-stagefeedback-intl
35075 all-gcc: maybe-all-build-texinfo
35077 all-stage1-gcc: maybe-all-build-texinfo
35078 all-stage2-gcc: maybe-all-build-texinfo
35079 all-stage3-gcc: maybe-all-build-texinfo
35080 all-stage4-gcc: maybe-all-build-texinfo
35081 all-stageprofile-gcc: maybe-all-build-texinfo
35082 all-stagefeedback-gcc: maybe-all-build-texinfo
35083 all-prebootstrap: maybe-all-build-texinfo
35084 all-gcc: maybe-all-build-bison
35086 all-stage1-gcc: maybe-all-build-bison
35087 all-stage2-gcc: maybe-all-build-bison
35088 all-stage3-gcc: maybe-all-build-bison
35089 all-stage4-gcc: maybe-all-build-bison
35090 all-stageprofile-gcc: maybe-all-build-bison
35091 all-stagefeedback-gcc: maybe-all-build-bison
35092 all-prebootstrap: maybe-all-build-bison
35093 all-gcc: maybe-all-build-byacc
35095 all-stage1-gcc: maybe-all-build-byacc
35096 all-stage2-gcc: maybe-all-build-byacc
35097 all-stage3-gcc: maybe-all-build-byacc
35098 all-stage4-gcc: maybe-all-build-byacc
35099 all-stageprofile-gcc: maybe-all-build-byacc
35100 all-stagefeedback-gcc: maybe-all-build-byacc
35101 all-prebootstrap: maybe-all-build-byacc
35102 all-gcc: maybe-all-build-flex
35104 all-stage1-gcc: maybe-all-build-flex
35105 all-stage2-gcc: maybe-all-build-flex
35106 all-stage3-gcc: maybe-all-build-flex
35107 all-stage4-gcc: maybe-all-build-flex
35108 all-stageprofile-gcc: maybe-all-build-flex
35109 all-stagefeedback-gcc: maybe-all-build-flex
35110 all-prebootstrap: maybe-all-build-flex
35111 all-gcc: maybe-all-build-libiberty
35113 all-stage1-gcc: maybe-all-build-libiberty
35114 all-stage2-gcc: maybe-all-build-libiberty
35115 all-stage3-gcc: maybe-all-build-libiberty
35116 all-stage4-gcc: maybe-all-build-libiberty
35117 all-stageprofile-gcc: maybe-all-build-libiberty
35118 all-stagefeedback-gcc: maybe-all-build-libiberty
35119 all-prebootstrap: maybe-all-build-libiberty
35120 all-gcc: maybe-all-build-fixincludes
35122 all-stage1-gcc: maybe-all-build-fixincludes
35123 all-stage2-gcc: maybe-all-build-fixincludes
35124 all-stage3-gcc: maybe-all-build-fixincludes
35125 all-stage4-gcc: maybe-all-build-fixincludes
35126 all-stageprofile-gcc: maybe-all-build-fixincludes
35127 all-stagefeedback-gcc: maybe-all-build-fixincludes
35128 all-prebootstrap: maybe-all-build-fixincludes
35129 all-gcc: maybe-all-binutils
35131 all-stage1-gcc: maybe-all-stage1-binutils
35132 all-stage2-gcc: maybe-all-stage2-binutils
35133 all-stage3-gcc: maybe-all-stage3-binutils
35134 all-stage4-gcc: maybe-all-stage4-binutils
35135 all-stageprofile-gcc: maybe-all-stageprofile-binutils
35136 all-stagefeedback-gcc: maybe-all-stagefeedback-binutils
35137 all-gcc: maybe-all-gas
35139 all-stage1-gcc: maybe-all-stage1-gas
35140 all-stage2-gcc: maybe-all-stage2-gas
35141 all-stage3-gcc: maybe-all-stage3-gas
35142 all-stage4-gcc: maybe-all-stage4-gas
35143 all-stageprofile-gcc: maybe-all-stageprofile-gas
35144 all-stagefeedback-gcc: maybe-all-stagefeedback-gas
35145 all-gcc: maybe-all-ld
35147 all-stage1-gcc: maybe-all-stage1-ld
35148 all-stage2-gcc: maybe-all-stage2-ld
35149 all-stage3-gcc: maybe-all-stage3-ld
35150 all-stage4-gcc: maybe-all-stage4-ld
35151 all-stageprofile-gcc: maybe-all-stageprofile-ld
35152 all-stagefeedback-gcc: maybe-all-stagefeedback-ld
35153 all-gcc: maybe-all-zlib
35155 all-stage1-gcc: maybe-all-stage1-zlib
35156 all-stage2-gcc: maybe-all-stage2-zlib
35157 all-stage3-gcc: maybe-all-stage3-zlib
35158 all-stage4-gcc: maybe-all-stage4-zlib
35159 all-stageprofile-gcc: maybe-all-stageprofile-zlib
35160 all-stagefeedback-gcc: maybe-all-stagefeedback-zlib
35161 all-gcc: all-libcpp
35163 all-stage1-gcc: all-stage1-libcpp
35164 all-stage2-gcc: all-stage2-libcpp
35165 all-stage3-gcc: all-stage3-libcpp
35166 all-stage4-gcc: all-stage4-libcpp
35167 all-stageprofile-gcc: all-stageprofile-libcpp
35168 all-stagefeedback-gcc: all-stagefeedback-libcpp
35169 all-gcc: maybe-all-libiberty
35171 all-stage1-gcc: maybe-all-stage1-libiberty
35172 all-stage2-gcc: maybe-all-stage2-libiberty
35173 all-stage3-gcc: maybe-all-stage3-libiberty
35174 all-stage4-gcc: maybe-all-stage4-libiberty
35175 all-stageprofile-gcc: maybe-all-stageprofile-libiberty
35176 all-stagefeedback-gcc: maybe-all-stagefeedback-libiberty
35177 all-gcc: maybe-all-fixincludes
35178 install-gcc: maybe-install-fixincludes
35179 configure-libcpp: configure-libiberty
35181 configure-stage1-libcpp: configure-stage1-libiberty
35182 configure-stage2-libcpp: configure-stage2-libiberty
35183 configure-stage3-libcpp: configure-stage3-libiberty
35184 configure-stage4-libcpp: configure-stage4-libiberty
35185 configure-stageprofile-libcpp: configure-stageprofile-libiberty
35186 configure-stagefeedback-libcpp: configure-stagefeedback-libiberty
35187 configure-libcpp: maybe-configure-intl
35189 configure-stage1-libcpp: maybe-configure-stage1-intl
35190 configure-stage2-libcpp: maybe-configure-stage2-intl
35191 configure-stage3-libcpp: maybe-configure-stage3-intl
35192 configure-stage4-libcpp: maybe-configure-stage4-intl
35193 configure-stageprofile-libcpp: maybe-configure-stageprofile-intl
35194 configure-stagefeedback-libcpp: maybe-configure-stagefeedback-intl
35195 all-libcpp: all-libiberty
35197 all-stage1-libcpp: all-stage1-libiberty
35198 all-stage2-libcpp: all-stage2-libiberty
35199 all-stage3-libcpp: all-stage3-libiberty
35200 all-stage4-libcpp: all-stage4-libiberty
35201 all-stageprofile-libcpp: all-stageprofile-libiberty
35202 all-stagefeedback-libcpp: all-stagefeedback-libiberty
35203 all-libcpp: maybe-all-intl
35205 all-stage1-libcpp: maybe-all-stage1-intl
35206 all-stage2-libcpp: maybe-all-stage2-intl
35207 all-stage3-libcpp: maybe-all-stage3-intl
35208 all-stage4-libcpp: maybe-all-stage4-intl
35209 all-stageprofile-libcpp: maybe-all-stageprofile-intl
35210 all-stagefeedback-libcpp: maybe-all-stagefeedback-intl
35211 all-fixincludes: maybe-all-libiberty
35212 configure-gdb: maybe-configure-itcl
35213 configure-gdb: maybe-configure-tcl
35214 configure-gdb: maybe-configure-tk
35215 configure-gdb: maybe-configure-sim
35216 all-gdb: maybe-all-libiberty
35217 all-gdb: maybe-all-opcodes
35218 all-gdb: maybe-all-bfd
35219 all-gdb: maybe-all-readline
35220 all-gdb: maybe-all-build-bison
35221 all-gdb: maybe-all-build-byacc
35222 all-gdb: maybe-all-sim
35223 install-gdb: maybe-install-tcl
35224 install-gdb: maybe-install-tk
35225 install-gdb: maybe-install-itcl
35226 install-gdb: maybe-install-libgui
35227 configure-libgui: maybe-configure-tcl
35228 configure-libgui: maybe-configure-tk
35229 all-libgui: maybe-all-tcl
35230 all-libgui: maybe-all-tk
35231 all-libgui: maybe-all-itcl
35232 configure-bfd: configure-libiberty
35234 configure-stage1-bfd: configure-stage1-libiberty
35235 configure-stage2-bfd: configure-stage2-libiberty
35236 configure-stage3-bfd: configure-stage3-libiberty
35237 configure-stage4-bfd: configure-stage4-libiberty
35238 configure-stageprofile-bfd: configure-stageprofile-libiberty
35239 configure-stagefeedback-bfd: configure-stagefeedback-libiberty
35240 all-bfd: maybe-all-libiberty
35242 all-stage1-bfd: maybe-all-stage1-libiberty
35243 all-stage2-bfd: maybe-all-stage2-libiberty
35244 all-stage3-bfd: maybe-all-stage3-libiberty
35245 all-stage4-bfd: maybe-all-stage4-libiberty
35246 all-stageprofile-bfd: maybe-all-stageprofile-libiberty
35247 all-stagefeedback-bfd: maybe-all-stagefeedback-libiberty
35248 all-bfd: maybe-all-intl
35250 all-stage1-bfd: maybe-all-stage1-intl
35251 all-stage2-bfd: maybe-all-stage2-intl
35252 all-stage3-bfd: maybe-all-stage3-intl
35253 all-stage4-bfd: maybe-all-stage4-intl
35254 all-stageprofile-bfd: maybe-all-stageprofile-intl
35255 all-stagefeedback-bfd: maybe-all-stagefeedback-intl
35256 all-binutils: maybe-all-libiberty
35258 all-stage1-binutils: maybe-all-stage1-libiberty
35259 all-stage2-binutils: maybe-all-stage2-libiberty
35260 all-stage3-binutils: maybe-all-stage3-libiberty
35261 all-stage4-binutils: maybe-all-stage4-libiberty
35262 all-stageprofile-binutils: maybe-all-stageprofile-libiberty
35263 all-stagefeedback-binutils: maybe-all-stagefeedback-libiberty
35264 all-binutils: maybe-all-opcodes
35266 all-stage1-binutils: maybe-all-stage1-opcodes
35267 all-stage2-binutils: maybe-all-stage2-opcodes
35268 all-stage3-binutils: maybe-all-stage3-opcodes
35269 all-stage4-binutils: maybe-all-stage4-opcodes
35270 all-stageprofile-binutils: maybe-all-stageprofile-opcodes
35271 all-stagefeedback-binutils: maybe-all-stagefeedback-opcodes
35272 all-binutils: maybe-all-bfd
35274 all-stage1-binutils: maybe-all-stage1-bfd
35275 all-stage2-binutils: maybe-all-stage2-bfd
35276 all-stage3-binutils: maybe-all-stage3-bfd
35277 all-stage4-binutils: maybe-all-stage4-bfd
35278 all-stageprofile-binutils: maybe-all-stageprofile-bfd
35279 all-stagefeedback-binutils: maybe-all-stagefeedback-bfd
35280 all-binutils: maybe-all-build-flex
35282 all-stage1-binutils: maybe-all-build-flex
35283 all-stage2-binutils: maybe-all-build-flex
35284 all-stage3-binutils: maybe-all-build-flex
35285 all-stage4-binutils: maybe-all-build-flex
35286 all-stageprofile-binutils: maybe-all-build-flex
35287 all-stagefeedback-binutils: maybe-all-build-flex
35288 all-prebootstrap: maybe-all-build-flex
35289 all-binutils: maybe-all-build-bison
35291 all-stage1-binutils: maybe-all-build-bison
35292 all-stage2-binutils: maybe-all-build-bison
35293 all-stage3-binutils: maybe-all-build-bison
35294 all-stage4-binutils: maybe-all-build-bison
35295 all-stageprofile-binutils: maybe-all-build-bison
35296 all-stagefeedback-binutils: maybe-all-build-bison
35297 all-prebootstrap: maybe-all-build-bison
35298 all-binutils: maybe-all-build-byacc
35300 all-stage1-binutils: maybe-all-build-byacc
35301 all-stage2-binutils: maybe-all-build-byacc
35302 all-stage3-binutils: maybe-all-build-byacc
35303 all-stage4-binutils: maybe-all-build-byacc
35304 all-stageprofile-binutils: maybe-all-build-byacc
35305 all-stagefeedback-binutils: maybe-all-build-byacc
35306 all-prebootstrap: maybe-all-build-byacc
35307 all-binutils: maybe-all-intl
35309 all-stage1-binutils: maybe-all-stage1-intl
35310 all-stage2-binutils: maybe-all-stage2-intl
35311 all-stage3-binutils: maybe-all-stage3-intl
35312 all-stage4-binutils: maybe-all-stage4-intl
35313 all-stageprofile-binutils: maybe-all-stageprofile-intl
35314 all-stagefeedback-binutils: maybe-all-stagefeedback-intl
35315 install-binutils: maybe-install-opcodes
35316 install-opcodes: maybe-install-bfd
35317 all-gas: maybe-all-libiberty
35319 all-stage1-gas: maybe-all-stage1-libiberty
35320 all-stage2-gas: maybe-all-stage2-libiberty
35321 all-stage3-gas: maybe-all-stage3-libiberty
35322 all-stage4-gas: maybe-all-stage4-libiberty
35323 all-stageprofile-gas: maybe-all-stageprofile-libiberty
35324 all-stagefeedback-gas: maybe-all-stagefeedback-libiberty
35325 all-gas: maybe-all-opcodes
35327 all-stage1-gas: maybe-all-stage1-opcodes
35328 all-stage2-gas: maybe-all-stage2-opcodes
35329 all-stage3-gas: maybe-all-stage3-opcodes
35330 all-stage4-gas: maybe-all-stage4-opcodes
35331 all-stageprofile-gas: maybe-all-stageprofile-opcodes
35332 all-stagefeedback-gas: maybe-all-stagefeedback-opcodes
35333 all-gas: maybe-all-bfd
35335 all-stage1-gas: maybe-all-stage1-bfd
35336 all-stage2-gas: maybe-all-stage2-bfd
35337 all-stage3-gas: maybe-all-stage3-bfd
35338 all-stage4-gas: maybe-all-stage4-bfd
35339 all-stageprofile-gas: maybe-all-stageprofile-bfd
35340 all-stagefeedback-gas: maybe-all-stagefeedback-bfd
35341 all-gas: maybe-all-intl
35343 all-stage1-gas: maybe-all-stage1-intl
35344 all-stage2-gas: maybe-all-stage2-intl
35345 all-stage3-gas: maybe-all-stage3-intl
35346 all-stage4-gas: maybe-all-stage4-intl
35347 all-stageprofile-gas: maybe-all-stageprofile-intl
35348 all-stagefeedback-gas: maybe-all-stagefeedback-intl
35349 all-gprof: maybe-all-libiberty
35350 all-gprof: maybe-all-bfd
35351 all-gprof: maybe-all-opcodes
35352 all-gprof: maybe-all-intl
35353 all-ld: maybe-all-libiberty
35355 all-stage1-ld: maybe-all-stage1-libiberty
35356 all-stage2-ld: maybe-all-stage2-libiberty
35357 all-stage3-ld: maybe-all-stage3-libiberty
35358 all-stage4-ld: maybe-all-stage4-libiberty
35359 all-stageprofile-ld: maybe-all-stageprofile-libiberty
35360 all-stagefeedback-ld: maybe-all-stagefeedback-libiberty
35361 all-ld: maybe-all-bfd
35363 all-stage1-ld: maybe-all-stage1-bfd
35364 all-stage2-ld: maybe-all-stage2-bfd
35365 all-stage3-ld: maybe-all-stage3-bfd
35366 all-stage4-ld: maybe-all-stage4-bfd
35367 all-stageprofile-ld: maybe-all-stageprofile-bfd
35368 all-stagefeedback-ld: maybe-all-stagefeedback-bfd
35369 all-ld: maybe-all-opcodes
35371 all-stage1-ld: maybe-all-stage1-opcodes
35372 all-stage2-ld: maybe-all-stage2-opcodes
35373 all-stage3-ld: maybe-all-stage3-opcodes
35374 all-stage4-ld: maybe-all-stage4-opcodes
35375 all-stageprofile-ld: maybe-all-stageprofile-opcodes
35376 all-stagefeedback-ld: maybe-all-stagefeedback-opcodes
35377 all-ld: maybe-all-build-bison
35379 all-stage1-ld: maybe-all-build-bison
35380 all-stage2-ld: maybe-all-build-bison
35381 all-stage3-ld: maybe-all-build-bison
35382 all-stage4-ld: maybe-all-build-bison
35383 all-stageprofile-ld: maybe-all-build-bison
35384 all-stagefeedback-ld: maybe-all-build-bison
35385 all-prebootstrap: maybe-all-build-bison
35386 all-ld: maybe-all-build-byacc
35388 all-stage1-ld: maybe-all-build-byacc
35389 all-stage2-ld: maybe-all-build-byacc
35390 all-stage3-ld: maybe-all-build-byacc
35391 all-stage4-ld: maybe-all-build-byacc
35392 all-stageprofile-ld: maybe-all-build-byacc
35393 all-stagefeedback-ld: maybe-all-build-byacc
35394 all-prebootstrap: maybe-all-build-byacc
35395 all-ld: maybe-all-build-flex
35397 all-stage1-ld: maybe-all-build-flex
35398 all-stage2-ld: maybe-all-build-flex
35399 all-stage3-ld: maybe-all-build-flex
35400 all-stage4-ld: maybe-all-build-flex
35401 all-stageprofile-ld: maybe-all-build-flex
35402 all-stagefeedback-ld: maybe-all-build-flex
35403 all-prebootstrap: maybe-all-build-flex
35404 all-ld: maybe-all-intl
35406 all-stage1-ld: maybe-all-stage1-intl
35407 all-stage2-ld: maybe-all-stage2-intl
35408 all-stage3-ld: maybe-all-stage3-intl
35409 all-stage4-ld: maybe-all-stage4-intl
35410 all-stageprofile-ld: maybe-all-stageprofile-intl
35411 all-stagefeedback-ld: maybe-all-stagefeedback-intl
35412 all-opcodes: maybe-all-bfd
35414 all-stage1-opcodes: maybe-all-stage1-bfd
35415 all-stage2-opcodes: maybe-all-stage2-bfd
35416 all-stage3-opcodes: maybe-all-stage3-bfd
35417 all-stage4-opcodes: maybe-all-stage4-bfd
35418 all-stageprofile-opcodes: maybe-all-stageprofile-bfd
35419 all-stagefeedback-opcodes: maybe-all-stagefeedback-bfd
35420 all-opcodes: maybe-all-libiberty
35422 all-stage1-opcodes: maybe-all-stage1-libiberty
35423 all-stage2-opcodes: maybe-all-stage2-libiberty
35424 all-stage3-opcodes: maybe-all-stage3-libiberty
35425 all-stage4-opcodes: maybe-all-stage4-libiberty
35426 all-stageprofile-opcodes: maybe-all-stageprofile-libiberty
35427 all-stagefeedback-opcodes: maybe-all-stagefeedback-libiberty
35428 all-dejagnu: maybe-all-tcl
35429 all-dejagnu: maybe-all-expect
35430 all-dejagnu: maybe-all-tk
35431 configure-expect: maybe-configure-tcl
35432 configure-expect: maybe-configure-tk
35433 all-expect: maybe-all-tcl
35434 all-expect: maybe-all-tk
35435 configure-itcl: maybe-configure-tcl
35436 configure-itcl: maybe-configure-tk
35437 all-itcl: maybe-all-tcl
35438 all-itcl: maybe-all-tk
35439 install-itcl: maybe-install-tcl
35440 configure-tk: maybe-configure-tcl
35441 all-tk: maybe-all-tcl
35442 all-sid: maybe-all-libiberty
35443 all-sid: maybe-all-bfd
35444 all-sid: maybe-all-opcodes
35445 all-sid: maybe-all-tcl
35446 all-sid: maybe-all-tk
35447 install-sid: maybe-install-tcl
35448 install-sid: maybe-install-tk
35449 all-sim: maybe-all-libiberty
35450 all-sim: maybe-all-bfd
35451 all-sim: maybe-all-opcodes
35452 all-sim: maybe-all-readline
35453 all-sim: maybe-configure-gdb
35454 all-fastjar: maybe-all-zlib
35455 all-fastjar: maybe-all-build-texinfo
35456 all-fastjar: maybe-all-libiberty
35457 all-autoconf: maybe-all-m4
35458 all-autoconf: maybe-all-build-texinfo
35459 all-automake: maybe-all-m4
35460 all-automake: maybe-all-build-texinfo
35461 all-automake: maybe-all-autoconf
35462 all-bison: maybe-all-intl
35463 all-bison: maybe-all-build-texinfo
35464 all-diff: maybe-all-intl
35465 all-diff: maybe-all-build-texinfo
35466 all-fileutils: maybe-all-intl
35467 all-fileutils: maybe-all-build-texinfo
35468 all-flex: maybe-all-build-bison
35469 all-flex: maybe-all-build-byacc
35470 all-flex: maybe-all-intl
35471 all-flex: maybe-all-m4
35472 all-flex: maybe-all-build-texinfo
35473 all-gzip: maybe-all-intl
35474 all-gzip: maybe-all-zlib
35475 all-gzip: maybe-all-build-texinfo
35476 all-hello: maybe-all-intl
35477 all-hello: maybe-all-build-texinfo
35478 all-m4: maybe-all-intl
35479 all-m4: maybe-all-build-texinfo
35480 all-make: maybe-all-intl
35481 all-make: maybe-all-build-texinfo
35482 all-patch: maybe-all-build-texinfo
35483 all-make: maybe-all-build-texinfo
35484 all-prms: maybe-all-libiberty
35485 all-recode: maybe-all-build-texinfo
35486 all-sed: maybe-all-build-texinfo
35487 all-send-pr: maybe-all-prms
35488 all-tar: maybe-all-build-texinfo
35489 all-uudecode: maybe-all-build-texinfo
35490 configure-target-boehm-gc: maybe-configure-target-qthreads
35491 configure-target-fastjar: maybe-configure-target-zlib
35492 all-target-fastjar: maybe-all-target-zlib
35493 all-target-fastjar: maybe-all-target-libiberty
35494 configure-target-libjava: maybe-configure-target-zlib
35495 configure-target-libjava: maybe-configure-target-boehm-gc
35496 configure-target-libjava: maybe-configure-target-qthreads
35497 configure-target-libjava: maybe-configure-target-libffi
35498 all-target-libjava: maybe-all-fastjar
35499 all-target-libjava: maybe-all-target-zlib
35500 all-target-libjava: maybe-all-target-boehm-gc
35501 all-target-libjava: maybe-all-target-qthreads
35502 all-target-libjava: maybe-all-target-libffi
35503 all-target-libobjc: maybe-all-target-libiberty
35504 all-target-libstdc++-v3: maybe-all-target-libiberty
35505 all-target-libgloss: maybe-configure-target-newlib
35506 all-target-winsup: maybe-all-target-libiberty
35507 all-target-winsup: maybe-all-target-libtermcap
35510 # Non-toplevel bootstrap rules must depend on several packages, to be built
35511 # before gcc. Another wart that will go away, hopefully soon.
35512 @if gcc-no-bootstrap
35514 all-prebootstrap: maybe-all-bfd
35515 all-prebootstrap: maybe-all-opcodes
35516 all-prebootstrap: maybe-all-binutils
35517 all-prebootstrap: maybe-all-gas
35518 all-prebootstrap: maybe-all-intl
35519 all-prebootstrap: maybe-all-ld
35520 all-prebootstrap: maybe-all-libcpp
35521 all-prebootstrap: maybe-all-libiberty
35522 all-prebootstrap: maybe-all-zlib
35523 @endif gcc-no-bootstrap
35525 GDB_TK = @GDB_TK@
35526 all-gdb: $(gdbnlmrequirements) $(GDB_TK)
35528 # Serialization dependencies. Host configures don't work well in parallel to
35529 # each other, due to contention over config.cache. Target configures and
35530 # build configures are similar.
35531 @serialization_dependencies@
35533 # --------------------------------
35534 # Regenerating top level configury
35535 # --------------------------------
35537 # Multilib.out tells target dirs what multilibs they should build.
35538 # There is really only one copy. We use the 'timestamp' method to
35539 # work around various timestamp bugs on some systems.
35540 # We use move-if-change so that it's only considered updated when it
35541 # actually changes, because it has to depend on a phony target.
35542 multilib.out: maybe-all-gcc
35543 @r=`${PWD_COMMAND}`; export r; \
35544 echo "Checking multilib configuration..."; \
35545 $(CC_FOR_TARGET) --print-multi-lib > multilib.tmp 2> /dev/null ; \
35546 $(SHELL) $(srcdir)/move-if-change multilib.tmp multilib.out ; \
35548 # Rebuilding Makefile.in, using autogen.
35549 AUTOGEN = autogen
35550 $(srcdir)/Makefile.in: @MAINT@ $(srcdir)/Makefile.tpl $(srcdir)/Makefile.def
35551 cd $(srcdir) && $(AUTOGEN) Makefile.def
35553 # Rebuilding Makefile.
35554 Makefile: $(srcdir)/Makefile.in config.status
35555 CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
35557 config.status: configure $(gcc_version_trigger)
35558 CONFIG_SHELL="$(SHELL)" $(SHELL) ./config.status --recheck
35560 # Rebuilding configure.
35561 AUTOCONF = autoconf
35562 $(srcdir)/configure: @MAINT@ $(srcdir)/configure.in $(srcdir)/config/acx.m4
35563 cd $(srcdir) && $(AUTOCONF)
35565 # ------------------------------
35566 # Special directives to GNU Make
35567 # ------------------------------
35569 # Don't pass command-line variables to submakes.
35570 .NOEXPORT:
35571 MAKEOVERRIDES=
35573 # end of Makefile.in