bfd/
[binutils.git] / Makefile.in
blobe2c9a2b3f4f258b21af67760599c24fe2f3a990f
2 # Makefile.in is generated from Makefile.tpl by 'autogen Makefile.def'.
4 # Makefile for directory with subdirs to build.
5 # Copyright (C) 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998,
6 # 1999, 2000, 2001, 2002, 2003, 2004 Free Software Foundation
8 # This file is free software; you can redistribute it and/or modify
9 # it under the terms of the GNU General Public License as published by
10 # the Free Software Foundation; either version 2 of the License, or
11 # (at your option) any later version.
13 # This program is distributed in the hope that it will be useful,
14 # but WITHOUT ANY WARRANTY; without even the implied warranty of
15 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 # GNU General Public License for more details.
18 # You should have received a copy of the GNU General Public License
19 # along with this program; if not, write to the Free Software
20 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
23 # -------------------------------
24 # Standard Autoconf-set variables
25 # -------------------------------
26 VPATH=@srcdir@
28 build_alias=@build_alias@
29 build=@build@
30 host_alias=@host_alias@
31 host=@host@
32 target_alias=@target_alias@
33 target=@target@
35 program_transform_name = @program_transform_name@
37 prefix = @prefix@
38 exec_prefix = @exec_prefix@
40 srcdir = @srcdir@
42 bindir = @bindir@
43 sbindir = @sbindir@
44 libexecdir = @libexecdir@
45 datadir = @datadir@
46 sysconfdir = @sysconfdir@
47 sharedstatedir = @sharedstatedir@
48 localstatedir = @localstatedir@
49 libdir = @libdir@
50 includedir = @includedir@
51 oldincludedir = @oldincludedir@
52 infodir = @infodir@
53 mandir = @mandir@
54 man1dir = $(mandir)/man1
55 man2dir = $(mandir)/man2
56 man3dir = $(mandir)/man3
57 man4dir = $(mandir)/man4
58 man5dir = $(mandir)/man5
59 man6dir = $(mandir)/man6
60 man7dir = $(mandir)/man7
61 man8dir = $(mandir)/man8
62 man9dir = $(mandir)/man9
64 INSTALL = @INSTALL@
65 INSTALL_PROGRAM = @INSTALL_PROGRAM@
66 INSTALL_SCRIPT = @INSTALL_SCRIPT@
67 INSTALL_DATA = @INSTALL_DATA@
68 LN = @LN@
69 LN_S = @LN_S@
71 # -------------------------------------------------
72 # Miscellaneous non-standard autoconf-set variables
73 # -------------------------------------------------
75 # The file containing GCC's version number.
76 gcc_version_trigger = @gcc_version_trigger@
77 gcc_version = @gcc_version@
79 # The gcc driver likes to know the arguments it was configured with.
80 TOPLEVEL_CONFIGURE_ARGUMENTS=@TOPLEVEL_CONFIGURE_ARGUMENTS@
82 gxx_include_dir = @gxx_include_dir@
83 libstdcxx_incdir = @libstdcxx_incdir@
85 tooldir = @tooldir@
86 build_tooldir = @build_tooldir@
88 # Directory in which the compiler finds executables, libraries, etc.
89 libsubdir = $(libdir)/gcc/$(target_alias)/$(gcc_version)
90 GDB_NLM_DEPS =
92 # This is the name of the environment variable used for the path to
93 # the libraries.
94 RPATH_ENVVAR = @RPATH_ENVVAR@
96 # This is set by configure to REALLY_SET_LIB_PATH if --enable-shared
97 # was used.
98 SET_LIB_PATH = @SET_LIB_PATH@
100 # configure.in sets SET_LIB_PATH to this if --enable-shared was used.
101 # Some platforms don't like blank entries, so we remove duplicate,
102 # leading and trailing colons.
103 REALLY_SET_LIB_PATH = \
104 $(RPATH_ENVVAR)=`echo "$(HOST_LIB_PATH):$(TARGET_LIB_PATH):$$$(RPATH_ENVVAR)" | sed 's,::*,:,g;s,^:*,,;s,:*$$,,'`; export $(RPATH_ENVVAR);
106 # This is the list of directories to be built for the build system.
107 BUILD_CONFIGDIRS = libiberty libbanshee
108 # Build programs are put under this directory.
109 BUILD_SUBDIR = @build_subdir@
110 # This is set by the configure script to the arguments to use when configuring
111 # directories built for the build system.
112 BUILD_CONFIGARGS = @build_configargs@
114 # This is the list of variables to export in the environment when
115 # configuring any subdirectory. It must also be exported whenever
116 # recursing into a build directory in case that directory's Makefile
117 # re-runs configure.
118 BASE_EXPORTS = \
119 FLEX="$(FLEX)"; export FLEX; \
120 LEX="$(LEX)"; export LEX; \
121 BISON="$(BISON)"; export BISON; \
122 YACC="$(YACC)"; export YACC; \
123 M4="$(M4)"; export M4; \
124 MAKEINFO="$(MAKEINFO)"; export MAKEINFO;
126 # This is the list of variables to export in the environment when
127 # configuring subdirectories for the build system.
128 BUILD_EXPORTS = \
129 $(BASE_EXPORTS) \
130 AR="$(AR_FOR_BUILD)"; export AR; \
131 AS="$(AS_FOR_BUILD)"; export AS; \
132 CC="$(CC_FOR_BUILD)"; export CC; \
133 CFLAGS="$(CFLAGS_FOR_BUILD)"; export CFLAGS; \
134 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
135 CXX="$(CXX_FOR_BUILD)"; export CXX; \
136 CXXFLAGS="$(CXXFLAGS_FOR_BUILD)"; export CXXFLAGS; \
137 GCJ="$(GCJ_FOR_BUILD)"; export GCJ; \
138 GFORTRAN="$(GFORTRAN_FOR_BUILD)"; export GFORTRAN; \
139 DLLTOOL="$(DLLTOOL_FOR_BUILD)"; export DLLTOOL; \
140 LD="$(LD_FOR_BUILD)"; export LD; \
141 LDFLAGS="$(LDFLAGS_FOR_BUILD)"; export LDFLAGS; \
142 NM="$(NM_FOR_BUILD)"; export NM; \
143 RANLIB="$(RANLIB_FOR_BUILD)"; export RANLIB; \
144 WINDRES="$(WINDRES_FOR_BUILD)"; export WINDRES;
146 # This is the list of directories to built for the host system.
147 SUBDIRS = @configdirs@
148 # This is set by the configure script to the arguments to use when configuring
149 # directories built for the host system.
150 HOST_CONFIGARGS = @host_configargs@
151 # This is the list of variables to export in the environment when
152 # configuring subdirectories for the host system.
153 HOST_EXPORTS = \
154 $(BASE_EXPORTS) \
155 CC="$(CC)"; export CC; \
156 CFLAGS="$(CFLAGS)"; export CFLAGS; \
157 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
158 CXX="$(CXX)"; export CXX; \
159 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
160 AR="$(AR)"; export AR; \
161 AS="$(AS)"; export AS; \
162 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
163 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
164 LD="$(LD)"; export LD; \
165 LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
166 NM="$(NM)"; export NM; \
167 RANLIB="$(RANLIB)"; export RANLIB; \
168 WINDRES="$(WINDRES)"; export WINDRES; \
169 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
170 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
171 TOPLEVEL_CONFIGURE_ARGUMENTS="$(TOPLEVEL_CONFIGURE_ARGUMENTS)"; export TOPLEVEL_CONFIGURE_ARGUMENTS; \
172 GMPLIBS="$(HOST_GMPLIBS)"; export GMPLIBS; \
173 GMPINC="$(HOST_GMPINC)"; export GMPINC;
175 # Similar, for later GCC stages.
176 STAGE_HOST_EXPORTS = \
177 $(HOST_EXPORTS) \
178 CC="$(STAGE_CC_WRAPPER) $$r/prev-gcc/xgcc$(exeext) -B$$r/prev-gcc/ -B$(build_tooldir)/bin/"; export CC; \
179 CC_FOR_BUILD="$(STAGE_CC_WRAPPER) $$r/prev-gcc/xgcc$(exeext) -B$$r/prev-gcc/ -B$(build_tooldir)/bin/"; export CC_FOR_BUILD;
181 # This is set by the configure script to the list of directories which
182 # should be built using the target tools.
183 TARGET_CONFIGDIRS = @target_configdirs@
184 # Target libraries are put under this directory:
185 TARGET_SUBDIR = @target_subdir@
186 # This is set by the configure script to the arguments to use when configuring
187 # directories built for the target.
188 TARGET_CONFIGARGS = @target_configargs@
189 # This is the list of variables to export in the environment when
190 # configuring subdirectories for the host system.
191 BASE_TARGET_EXPORTS = \
192 $(BASE_EXPORTS) \
193 AR="$(AR_FOR_TARGET)"; export AR; \
194 AS="$(AS_FOR_TARGET)"; export AS; \
195 CC="$(CC_FOR_TARGET)"; export CC; \
196 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
197 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
198 CPPFLAGS="$(CFLAGS_FOR_TARGET)"; export CPPFLAGS; \
199 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
200 GCJ="$(GCJ_FOR_TARGET)"; export GCJ; \
201 GFORTRAN="$(GFORTRAN_FOR_TARGET)"; export GFORTRAN; \
202 DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \
203 LD="$(LD_FOR_TARGET)"; export LD; \
204 LDFLAGS="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS; \
205 NM="$(NM_FOR_TARGET)"; export NM; \
206 RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \
207 WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES;
209 RAW_CXX_TARGET_EXPORTS = \
210 $(BASE_TARGET_EXPORTS) \
211 CXX_FOR_TARGET="$(RAW_CXX_FOR_TARGET)"; export CXX_FOR_TARGET; \
212 CXX="$(RAW_CXX_FOR_TARGET)"; export CXX;
214 NORMAL_TARGET_EXPORTS = \
215 $(BASE_TARGET_EXPORTS) \
216 CXX="$(CXX_FOR_TARGET)"; export CXX;
218 # Where to find GMP
219 HOST_GMPLIBS = @gmplibs@
220 HOST_GMPINC = @gmpinc@
222 # ----------------------------------------------
223 # Programs producing files for the BUILD machine
224 # ----------------------------------------------
226 SHELL = @config_shell@
228 # pwd command to use. Allow user to override default by setting PWDCMD in
229 # the environment to account for automounters. The make variable must not
230 # be called PWDCMD, otherwise the value set here is passed to make
231 # subprocesses and overrides the setting from the user's environment.
232 # Don't use PWD since it is a common shell environment variable and we
233 # don't want to corrupt it.
234 PWD_COMMAND = $${PWDCMD-pwd}
236 # compilers to use to create programs which must be run in the build
237 # environment.
238 CC_FOR_BUILD = @CC_FOR_BUILD@
239 CFLAGS_FOR_BUILD = @CFLAGS_FOR_BUILD@
241 CXX_FOR_BUILD = $(CXX)
243 # Path to the build directory for a Canadian cross, empty otherwise.
244 BUILD_DIR_PREFIX = @BUILD_DIR_PREFIX@
246 # Special variables passed down in EXTRA_GCC_FLAGS. They are defined
247 # here so that they can be overridden by Makefile fragments.
248 BUILD_PREFIX = @BUILD_PREFIX@
249 BUILD_PREFIX_1 = @BUILD_PREFIX_1@
251 CONFIGURED_BISON = @CONFIGURED_BISON@
252 BISON = `if [ -f $$r/$(BUILD_DIR_PREFIX)/bison/bison ] ; then \
253 echo $$r/$(BUILD_DIR_PREFIX)/bison/bison -L $$s/bison/ ; \
254 else \
255 echo ${CONFIGURED_BISON} ; \
258 CONFIGURED_YACC = @CONFIGURED_YACC@
259 YACC = `if [ -f $$s/$(BUILD_DIR_PREFIX)/bison/bison ] ; then \
260 echo $$r/$(BUILD_DIR_PREFIX)/bison/bison -y -L $$s/bison/ ; \
261 elif [ -f $$s/$(BUILD_DIR_PREFIX)/byacc/byacc ] ; then \
262 echo $$r/$(BUILD_DIR_PREFIX)/byacc/byacc ; \
263 else \
264 echo ${CONFIGURED_YACC} ; \
267 CONFIGURED_FLEX = @CONFIGURED_FLEX@
268 FLEX = `if [ -f $$r/$(BUILD_DIR_PREFIX)/flex/flex ] ; \
269 then echo $$r/$(BUILD_DIR_PREFIX)/flex/flex ; \
270 else echo ${CONFIGURED_FLEX} ; fi`
272 CONFIGURED_LEX = @CONFIGURED_LEX@
273 LEX = `if [ -f $$r/$(BUILD_DIR_PREFIX)/flex/flex ] ; \
274 then echo $$r/$(BUILD_DIR_PREFIX)/flex/flex ; \
275 else echo ${CONFIGURED_LEX} ; fi`
277 CONFIGURED_M4 = @CONFIGURED_M4@
278 M4 = `if [ -f $$r/$(BUILD_DIR_PREFIX)/m4/m4 ] ; \
279 then echo $$r/$(BUILD_DIR_PREFIX)/m4/m4 ; \
280 else echo ${CONFIGURED_M4} ; fi`
282 # For an installed makeinfo, we require it to be from texinfo 4.2 or
283 # higher, else we use the "missing" dummy. We also pass the subdirectory
284 # makeinfo even if only the Makefile is there, because Texinfo builds its
285 # manual when made, and it requires its own version.
286 CONFIGURED_MAKEINFO = @CONFIGURED_MAKEINFO@
287 MAKEINFO = `if [ -f $$r/$(BUILD_DIR_PREFIX)/texinfo/makeinfo/Makefile ] ; \
288 then echo $$r/$(BUILD_DIR_PREFIX)/texinfo/makeinfo/makeinfo ; \
289 else if (${CONFIGURED_MAKEINFO} --version \
290 | egrep 'texinfo[^0-9]*([1-3][0-9]|4\.[2-9]|[5-9])') >/dev/null 2>&1; \
291 then echo ${CONFIGURED_MAKEINFO}; else echo $$s/missing makeinfo; fi; fi`
293 # This just becomes part of the MAKEINFO definition passed down to
294 # sub-makes. It lets flags be given on the command line while still
295 # using the makeinfo from the object tree.
296 # (Default to avoid splitting info files by setting the threshold high.)
297 MAKEINFOFLAGS = --split-size=5000000
299 EXPECT = `if [ -f $$r/expect/expect ] ; \
300 then echo $$r/expect/expect ; \
301 else echo expect ; fi`
303 RUNTEST = `if [ -f $$s/dejagnu/runtest ] ; \
304 then echo $$s/dejagnu/runtest ; \
305 else echo runtest ; fi`
307 # ---------------------------------------------
308 # Programs producing files for the HOST machine
309 # ---------------------------------------------
311 # This is the list of directories that may be needed in RPATH_ENVVAR
312 # so that programs built for the host machine work.
313 HOST_LIB_PATH = $$r/bfd:$$r/opcodes
315 AS = @AS@
317 AR = @AR@
318 AR_FLAGS = rc
320 CC = @CC@
321 CFLAGS = @CFLAGS@
322 LIBCFLAGS = $(CFLAGS)
324 CXX = @CXX@
325 CXXFLAGS = @CXXFLAGS@
326 LIBCXXFLAGS = $(CXXFLAGS) -fno-implicit-templates
328 DLLTOOL = @DLLTOOL@
330 NM = @NM@
332 LD = @LD@
333 LDFLAGS =
335 RANLIB = @RANLIB@
337 WINDRES = @WINDRES@
339 PICFLAG =
341 # -----------------------------------------------
342 # Programs producing files for the TARGET machine
343 # -----------------------------------------------
345 # This is the list of directories that may be needed in RPATH_ENVVAR
346 # so that prorgams built for the target machine work.
347 TARGET_LIB_PATH = $$r/$(TARGET_SUBDIR)/libstdc++-v3/src/.libs:$$r/$(TARGET_SUBDIR)/libmudflap/.libs
349 FLAGS_FOR_TARGET = @FLAGS_FOR_TARGET@
351 AR_FOR_TARGET=@AR_FOR_TARGET@
352 CONFIGURED_AR_FOR_TARGET=@CONFIGURED_AR_FOR_TARGET@
353 USUAL_AR_FOR_TARGET = ` \
354 if [ -f $$r/binutils/ar ] ; then \
355 echo $$r/binutils/ar ; \
356 else \
357 if [ '$(host)' = '$(target)' ] ; then \
358 echo $(AR); \
359 else \
360 echo $(CONFIGURED_AR_FOR_TARGET) ; \
361 fi; \
364 AS_FOR_TARGET=@AS_FOR_TARGET@
365 CONFIGURED_AS_FOR_TARGET=@CONFIGURED_AS_FOR_TARGET@
366 USUAL_AS_FOR_TARGET = ` \
367 if [ -f $$r/gas/as-new ] ; then \
368 echo $$r/gas/as-new ; \
369 elif [ -f $$r/gcc/xgcc ]; then \
370 $(CC_FOR_TARGET) -print-prog-name=as ; \
371 else \
372 if [ '$(host)' = '$(target)' ] ; then \
373 echo $(AS); \
374 else \
375 echo $(CONFIGURED_AS_FOR_TARGET) ; \
376 fi; \
379 CC_FOR_TARGET = @CC_FOR_TARGET@
380 # During gcc bootstrap, if we use some random cc for stage1 then
381 # CFLAGS will be just -g. We want to ensure that TARGET libraries
382 # (which we know are built with gcc) are built with optimizations so
383 # prepend -O2 when setting CFLAGS_FOR_TARGET.
384 CFLAGS_FOR_TARGET = -O2 $(CFLAGS)
385 # If GCC_FOR_TARGET is not overriden on the command line, then this
386 # variable is passed down to the gcc Makefile, where it is used to
387 # build libgcc2.a. We define it here so that it can itself be
388 # overridden on the command line.
389 GCC_FOR_TARGET=@GCC_FOR_TARGET@
390 USUAL_GCC_FOR_TARGET = $(STAGE_CC_WRAPPER) $$r/gcc/xgcc -B$$r/gcc/ $(FLAGS_FOR_TARGET)
391 LIBCFLAGS_FOR_TARGET = $(CFLAGS_FOR_TARGET)
393 CXX_FOR_TARGET = @CXX_FOR_TARGET@
394 RAW_CXX_FOR_TARGET = @RAW_CXX_FOR_TARGET@
395 CXX_FOR_TARGET_FOR_RECURSIVE_MAKE = @CXX_FOR_TARGET_FOR_RECURSIVE_MAKE@
396 RAW_CXX_FOR_TARGET_FOR_RECURSIVE_MAKE = @RAW_CXX_FOR_TARGET_FOR_RECURSIVE_MAKE@
397 CXXFLAGS_FOR_TARGET = $(CXXFLAGS)
398 LIBCXXFLAGS_FOR_TARGET = $(CXXFLAGS_FOR_TARGET) -fno-implicit-templates
400 DLLTOOL_FOR_TARGET=@DLLTOOL_FOR_TARGET@
401 CONFIGURED_DLLTOOL_FOR_TARGET=@CONFIGURED_DLLTOOL_FOR_TARGET@
402 USUAL_DLLTOOL_FOR_TARGET = ` \
403 if [ -f $$r/binutils/dlltool ] ; then \
404 echo $$r/binutils/dlltool ; \
405 else \
406 if [ '$(host)' = '$(target)' ] ; then \
407 echo $(DLLTOOL); \
408 else \
409 echo $(CONFIGURED_DLLTOOL_FOR_TARGET) ; \
410 fi; \
413 GCJ_FOR_TARGET = @GCJ_FOR_TARGET@
414 GFORTRAN_FOR_TARGET = @GFORTRAN_FOR_TARGET@
416 LD_FOR_TARGET=@LD_FOR_TARGET@
417 CONFIGURED_LD_FOR_TARGET=@CONFIGURED_LD_FOR_TARGET@
418 USUAL_LD_FOR_TARGET = ` \
419 if [ -f $$r/ld/ld-new ] ; then \
420 echo $$r/ld/ld-new ; \
421 elif [ -f $$r/gcc/xgcc ]; then \
422 $(CC_FOR_TARGET) -print-prog-name=ld ; \
423 else \
424 if [ '$(host)' = '$(target)' ] ; then \
425 echo $(LD); \
426 else \
427 echo $(CONFIGURED_LD_FOR_TARGET) ; \
428 fi; \
431 LDFLAGS_FOR_TARGET =
433 NM_FOR_TARGET=@NM_FOR_TARGET@
434 CONFIGURED_NM_FOR_TARGET=@CONFIGURED_NM_FOR_TARGET@
435 USUAL_NM_FOR_TARGET = ` \
436 if [ -f $$r/binutils/nm-new ] ; then \
437 echo $$r/binutils/nm-new ; \
438 elif [ -f $$r/gcc/xgcc ]; then \
439 $(CC_FOR_TARGET) -print-prog-name=nm ; \
440 else \
441 if [ '$(host)' = '$(target)' ] ; then \
442 echo $(NM); \
443 else \
444 echo $(CONFIGURED_NM_FOR_TARGET) ; \
445 fi; \
448 RANLIB_FOR_TARGET=@RANLIB_FOR_TARGET@
449 CONFIGURED_RANLIB_FOR_TARGET=@CONFIGURED_RANLIB_FOR_TARGET@
450 USUAL_RANLIB_FOR_TARGET = ` \
451 if [ -f $$r/binutils/ranlib ] ; then \
452 echo $$r/binutils/ranlib ; \
453 else \
454 if [ '$(host)' = '$(target)' ] ; then \
455 if [ x'$(RANLIB)' != x ]; then \
456 echo $(RANLIB); \
457 else \
458 echo ranlib; \
459 fi; \
460 else \
461 echo $(CONFIGURED_RANLIB_FOR_TARGET) ; \
462 fi; \
465 WINDRES_FOR_TARGET=@WINDRES_FOR_TARGET@
466 CONFIGURED_WINDRES_FOR_TARGET=@CONFIGURED_WINDRES_FOR_TARGET@
467 USUAL_WINDRES_FOR_TARGET = ` \
468 if [ -f $$r/binutils/windres ] ; then \
469 echo $$r/binutils/windres ; \
470 else \
471 if [ '$(host)' = '$(target)' ] ; then \
472 echo $(WINDRES); \
473 else \
474 echo $(CONFIGURED_WINDRES_FOR_TARGET) ; \
475 fi; \
478 PICFLAG_FOR_TARGET =
480 # ------------------------------------
481 # Miscellaneous targets and flag lists
482 # ------------------------------------
484 @if gcc-bootstrap
485 # Let's leave this as the first rule in the file until toplevel
486 # bootstrap is fleshed out completely.
487 sorry:
488 @echo Toplevel bootstrap temporarily out of commission.
489 @echo Please reconfigure without --enable-bootstrap
490 @endif gcc-bootstrap
492 # The first rule in the file had better be this one. Don't put any above it.
493 # This lives here to allow makefile fragments to contain dependencies.
494 @default_target@:
496 #### host and target specific makefile fragments come in here.
497 @target_makefile_frag@
498 @alphaieee_frag@
499 @ospace_frag@
500 @host_makefile_frag@
503 # Flags to pass down to all sub-makes.
504 BASE_FLAGS_TO_PASS = \
505 "DESTDIR=$(DESTDIR)" \
506 "RPATH_ENVVAR=$(RPATH_ENVVAR)" \
507 "TARGET_SUBDIR=$(TARGET_SUBDIR)" \
508 "bindir=$(bindir)" \
509 "datadir=$(datadir)" \
510 "exec_prefix=$(exec_prefix)" \
511 "includedir=$(includedir)" \
512 "infodir=$(infodir)" \
513 "libdir=$(libdir)" \
514 "libexecdir=$(libexecdir)" \
515 "lispdir=$(lispdir)" \
516 "libstdcxx_incdir=$(libstdcxx_incdir)" \
517 "libsubdir=$(libsubdir)" \
518 "localstatedir=$(localstatedir)" \
519 "mandir=$(mandir)" \
520 "oldincludedir=$(oldincludedir)" \
521 "prefix=$(prefix)" \
522 "sbindir=$(sbindir)" \
523 "sharedstatedir=$(sharedstatedir)" \
524 "sysconfdir=$(sysconfdir)" \
525 "tooldir=$(tooldir)" \
526 "build_tooldir=$(build_tooldir)" \
527 "gxx_include_dir=$(gxx_include_dir)" \
528 "gcc_version=$(gcc_version)" \
529 "gcc_version_trigger=$(gcc_version_trigger)" \
530 "target_alias=$(target_alias)" \
531 "BISON=$(BISON)" \
532 "CC_FOR_BUILD=$(CC_FOR_BUILD)" \
533 "CXX_FOR_BUILD=$(CXX_FOR_BUILD)" \
534 "EXPECT=$(EXPECT)" \
535 "FLEX=$(FLEX)" \
536 "INSTALL=$(INSTALL)" \
537 "INSTALL_DATA=$(INSTALL_DATA)" \
538 "INSTALL_PROGRAM=$(INSTALL_PROGRAM)" \
539 "INSTALL_SCRIPT=$(INSTALL_SCRIPT)" \
540 "LEX=$(LEX)" \
541 "M4=$(M4)" \
542 "MAKE=$(MAKE)" \
543 "RUNTEST=$(RUNTEST)" \
544 "RUNTESTFLAGS=$(RUNTESTFLAGS)" \
545 "SHELL=$(SHELL)" \
546 "YACC=$(YACC)" \
547 "AR_FLAGS=$(AR_FLAGS)" \
548 "CFLAGS=$(CFLAGS)" \
549 "CXXFLAGS=$(CXXFLAGS)" \
550 "LDFLAGS=$(LDFLAGS)" \
551 "LIBCFLAGS=$(LIBCFLAGS)" \
552 "LIBCXXFLAGS=$(LIBCXXFLAGS)" \
553 "AR_FOR_TARGET=$(AR_FOR_TARGET)" \
554 "AS_FOR_TARGET=$(AS_FOR_TARGET)" \
555 "CC_FOR_TARGET=$(CC_FOR_TARGET)" \
556 "CFLAGS_FOR_TARGET=$(CFLAGS_FOR_TARGET)" \
557 "CXX_FOR_TARGET=$(CXX_FOR_TARGET)" \
558 "CXXFLAGS_FOR_TARGET=$(CXXFLAGS_FOR_TARGET)" \
559 "DLLTOOL_FOR_TARGET=$(DLLTOOL_FOR_TARGET)" \
560 "GCJ_FOR_TARGET=$(GCJ_FOR_TARGET)" \
561 "GFORTRAN_FOR_TARGET=$(GFORTRAN_FOR_TARGET)" \
562 "LD_FOR_TARGET=$(LD_FOR_TARGET)" \
563 "LIBCFLAGS_FOR_TARGET=$(LIBCFLAGS_FOR_TARGET)" \
564 "LIBCXXFLAGS_FOR_TARGET=$(LIBCXXFLAGS_FOR_TARGET)" \
565 "NM_FOR_TARGET=$(NM_FOR_TARGET)" \
566 "RANLIB_FOR_TARGET=$(RANLIB_FOR_TARGET)" \
567 "WINDRES_FOR_TARGET=$(WINDRES_FOR_TARGET)" \
568 "CONFIG_SHELL=$(SHELL)" \
569 "MAKEINFO=$(MAKEINFO) $(MAKEINFOFLAGS)"
571 # For any flags above that may contain shell code that varies from one
572 # target library to another. When doing recursive invocations of the
573 # top-level Makefile, we don't want the outer make to evaluate them,
574 # so we pass these variables down unchanged. They must not contain
575 # single nor double quotes.
576 RECURSE_FLAGS = \
577 CXX_FOR_TARGET='$(CXX_FOR_TARGET_FOR_RECURSIVE_MAKE)' \
578 RAW_CXX_FOR_TARGET='$(RAW_CXX_FOR_TARGET_FOR_RECURSIVE_MAKE)' \
580 RECURSE_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(RECURSE_FLAGS)
582 # Flags to pass down to most sub-makes, in which we're building with
583 # the host environment.
584 EXTRA_HOST_FLAGS = \
585 'AR=$(AR)' \
586 'AS=$(AS)' \
587 'CC=$(CC)' \
588 'CXX=$(CXX)' \
589 'DLLTOOL=$(DLLTOOL)' \
590 'LD=$(LD)' \
591 'NM=$(NM)' \
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 'RANLIB=$$(RANLIB_FOR_TARGET)' \
625 'WINDRES=$$(WINDRES_FOR_TARGET)'
627 TARGET_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS)
629 # Flags to pass down to gcc. gcc builds a library, libgcc.a, so it
630 # unfortunately needs the native compiler and the target ar and
631 # ranlib.
632 # If any variables are added here, they must be added to do-*, below.
633 # The BUILD_* variables are a special case, which are used for the gcc
634 # cross-building scheme.
635 EXTRA_GCC_FLAGS = \
636 'BUILD_PREFIX=$(BUILD_PREFIX)' \
637 'BUILD_PREFIX_1=$(BUILD_PREFIX_1)' \
638 "GCC_FOR_TARGET=$(GCC_FOR_TARGET)" \
639 "CFLAGS_FOR_BUILD=$(CFLAGS_FOR_BUILD)" \
640 "`echo 'LANGUAGES=$(LANGUAGES)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
641 "`echo 'STMP_FIXPROTO=$(STMP_FIXPROTO)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
642 "`echo 'LIMITS_H_TEST=$(LIMITS_H_TEST)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
643 "`echo 'LIBGCC2_CFLAGS=$(LIBGCC2_CFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
644 "`echo 'LIBGCC2_DEBUG_CFLAGS=$(LIBGCC2_DEBUG_CFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
645 "`echo 'LIBGCC2_INCLUDES=$(LIBGCC2_INCLUDES)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
646 "`echo 'STAGE1_CFLAGS=$(STAGE1_CFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
647 "`echo 'BOOT_CFLAGS=$(BOOT_CFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
648 "`echo 'BOOT_ADAFLAGS=$(BOOT_ADAFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`"
650 GCC_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS)
652 .PHONY: configure-host
653 configure-host: \
654 maybe-configure-ash \
655 maybe-configure-autoconf \
656 maybe-configure-automake \
657 maybe-configure-bash \
658 maybe-configure-bfd \
659 maybe-configure-opcodes \
660 maybe-configure-binutils \
661 maybe-configure-bison \
662 maybe-configure-byacc \
663 maybe-configure-bzip2 \
664 maybe-configure-dejagnu \
665 maybe-configure-diff \
666 maybe-configure-dosutils \
667 maybe-configure-etc \
668 maybe-configure-fastjar \
669 maybe-configure-fileutils \
670 maybe-configure-findutils \
671 maybe-configure-find \
672 maybe-configure-flex \
673 maybe-configure-gas \
674 maybe-configure-gcc \
675 maybe-configure-gawk \
676 maybe-configure-gettext \
677 maybe-configure-gnuserv \
678 maybe-configure-gprof \
679 maybe-configure-gzip \
680 maybe-configure-hello \
681 maybe-configure-indent \
682 maybe-configure-intl \
683 maybe-configure-tcl \
684 maybe-configure-itcl \
685 maybe-configure-ld \
686 maybe-configure-libcpp \
687 maybe-configure-libgui \
688 maybe-configure-libbanshee \
689 maybe-configure-libiberty \
690 maybe-configure-libtool \
691 maybe-configure-m4 \
692 maybe-configure-make \
693 maybe-configure-mmalloc \
694 maybe-configure-patch \
695 maybe-configure-perl \
696 maybe-configure-prms \
697 maybe-configure-rcs \
698 maybe-configure-readline \
699 maybe-configure-release \
700 maybe-configure-recode \
701 maybe-configure-sed \
702 maybe-configure-send-pr \
703 maybe-configure-shellutils \
704 maybe-configure-sid \
705 maybe-configure-sim \
706 maybe-configure-tar \
707 maybe-configure-texinfo \
708 maybe-configure-textutils \
709 maybe-configure-time \
710 maybe-configure-uudecode \
711 maybe-configure-wdiff \
712 maybe-configure-zip \
713 maybe-configure-zlib \
714 maybe-configure-gdb \
715 maybe-configure-expect \
716 maybe-configure-guile \
717 maybe-configure-tk \
718 maybe-configure-libtermcap \
719 maybe-configure-utils
720 .PHONY: configure-target
721 configure-target: \
722 maybe-configure-target-libstdc++-v3 \
723 maybe-configure-target-libmudflap \
724 maybe-configure-target-newlib \
725 maybe-configure-target-libgfortran \
726 maybe-configure-target-libobjc \
727 maybe-configure-target-libtermcap \
728 maybe-configure-target-winsup \
729 maybe-configure-target-libgloss \
730 maybe-configure-target-libiberty \
731 maybe-configure-target-gperf \
732 maybe-configure-target-examples \
733 maybe-configure-target-libffi \
734 maybe-configure-target-libjava \
735 maybe-configure-target-zlib \
736 maybe-configure-target-boehm-gc \
737 maybe-configure-target-qthreads \
738 maybe-configure-target-rda \
739 maybe-configure-target-libada
741 # The target built for a native non-bootstrap build.
742 .PHONY: all
743 all: unstage all-build all-host all-target stage
745 .PHONY: all-build
746 all-build: \
747 maybe-all-build-libiberty \
748 maybe-all-build-libbanshee \
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 .PHONY: all-host
755 all-host: \
756 maybe-all-ash \
757 maybe-all-autoconf \
758 maybe-all-automake \
759 maybe-all-bash \
760 maybe-all-bfd \
761 maybe-all-opcodes \
762 maybe-all-binutils \
763 maybe-all-bison \
764 maybe-all-byacc \
765 maybe-all-bzip2 \
766 maybe-all-dejagnu \
767 maybe-all-diff \
768 maybe-all-dosutils \
769 maybe-all-etc \
770 maybe-all-fastjar \
771 maybe-all-fileutils \
772 maybe-all-findutils \
773 maybe-all-find \
774 maybe-all-flex \
775 maybe-all-gas \
776 maybe-all-gcc \
777 maybe-all-gawk \
778 maybe-all-gettext \
779 maybe-all-gnuserv \
780 maybe-all-gprof \
781 maybe-all-gzip \
782 maybe-all-hello \
783 maybe-all-indent \
784 maybe-all-intl \
785 maybe-all-tcl \
786 maybe-all-itcl \
787 maybe-all-ld \
788 maybe-all-libcpp \
789 maybe-all-libgui \
790 maybe-all-libbanshee \
791 maybe-all-libiberty \
792 maybe-all-libtool \
793 maybe-all-m4 \
794 maybe-all-make \
795 maybe-all-mmalloc \
796 maybe-all-patch \
797 maybe-all-perl \
798 maybe-all-prms \
799 maybe-all-rcs \
800 maybe-all-readline \
801 maybe-all-release \
802 maybe-all-recode \
803 maybe-all-sed \
804 maybe-all-send-pr \
805 maybe-all-shellutils \
806 maybe-all-sid \
807 maybe-all-sim \
808 maybe-all-tar \
809 maybe-all-texinfo \
810 maybe-all-textutils \
811 maybe-all-time \
812 maybe-all-uudecode \
813 maybe-all-wdiff \
814 maybe-all-zip \
815 maybe-all-zlib \
816 maybe-all-gdb \
817 maybe-all-expect \
818 maybe-all-guile \
819 maybe-all-tk \
820 maybe-all-libtermcap \
821 maybe-all-utils
822 .PHONY: all-target
823 all-target: \
824 maybe-all-target-libstdc++-v3 \
825 maybe-all-target-libmudflap \
826 maybe-all-target-newlib \
827 maybe-all-target-libgfortran \
828 maybe-all-target-libobjc \
829 maybe-all-target-libtermcap \
830 maybe-all-target-winsup \
831 maybe-all-target-libgloss \
832 maybe-all-target-libiberty \
833 maybe-all-target-gperf \
834 maybe-all-target-examples \
835 maybe-all-target-libffi \
836 maybe-all-target-libjava \
837 maybe-all-target-zlib \
838 maybe-all-target-boehm-gc \
839 maybe-all-target-qthreads \
840 maybe-all-target-rda \
841 maybe-all-target-libada
843 # Do a target for all the subdirectories. A ``make do-X'' will do a
844 # ``make X'' in all subdirectories (because, in general, there is a
845 # dependency (below) of X upon do-X, a ``make X'' will also do this,
846 # but it may do additional work as well).
848 .PHONY: do-info
849 do-info: unstage info-host info-target stage
851 .PHONY: info-host
852 info-host: \
853 maybe-info-ash \
854 maybe-info-autoconf \
855 maybe-info-automake \
856 maybe-info-bash \
857 maybe-info-bfd \
858 maybe-info-opcodes \
859 maybe-info-binutils \
860 maybe-info-bison \
861 maybe-info-byacc \
862 maybe-info-bzip2 \
863 maybe-info-dejagnu \
864 maybe-info-diff \
865 maybe-info-dosutils \
866 maybe-info-etc \
867 maybe-info-fastjar \
868 maybe-info-fileutils \
869 maybe-info-findutils \
870 maybe-info-find \
871 maybe-info-flex \
872 maybe-info-gas \
873 maybe-info-gcc \
874 maybe-info-gawk \
875 maybe-info-gettext \
876 maybe-info-gnuserv \
877 maybe-info-gprof \
878 maybe-info-gzip \
879 maybe-info-hello \
880 maybe-info-indent \
881 maybe-info-intl \
882 maybe-info-tcl \
883 maybe-info-itcl \
884 maybe-info-ld \
885 maybe-info-libcpp \
886 maybe-info-libgui \
887 maybe-info-libbanshee \
888 maybe-info-libiberty \
889 maybe-info-libtool \
890 maybe-info-m4 \
891 maybe-info-make \
892 maybe-info-mmalloc \
893 maybe-info-patch \
894 maybe-info-perl \
895 maybe-info-prms \
896 maybe-info-rcs \
897 maybe-info-readline \
898 maybe-info-release \
899 maybe-info-recode \
900 maybe-info-sed \
901 maybe-info-send-pr \
902 maybe-info-shellutils \
903 maybe-info-sid \
904 maybe-info-sim \
905 maybe-info-tar \
906 maybe-info-texinfo \
907 maybe-info-textutils \
908 maybe-info-time \
909 maybe-info-uudecode \
910 maybe-info-wdiff \
911 maybe-info-zip \
912 maybe-info-zlib \
913 maybe-info-gdb \
914 maybe-info-expect \
915 maybe-info-guile \
916 maybe-info-tk \
917 maybe-info-libtermcap \
918 maybe-info-utils
920 .PHONY: info-target
921 info-target: \
922 maybe-info-target-libstdc++-v3 \
923 maybe-info-target-libmudflap \
924 maybe-info-target-newlib \
925 maybe-info-target-libgfortran \
926 maybe-info-target-libobjc \
927 maybe-info-target-libtermcap \
928 maybe-info-target-winsup \
929 maybe-info-target-libgloss \
930 maybe-info-target-libiberty \
931 maybe-info-target-gperf \
932 maybe-info-target-examples \
933 maybe-info-target-libffi \
934 maybe-info-target-libjava \
935 maybe-info-target-zlib \
936 maybe-info-target-boehm-gc \
937 maybe-info-target-qthreads \
938 maybe-info-target-rda \
939 maybe-info-target-libada
941 .PHONY: do-dvi
942 do-dvi: unstage dvi-host dvi-target stage
944 .PHONY: dvi-host
945 dvi-host: \
946 maybe-dvi-ash \
947 maybe-dvi-autoconf \
948 maybe-dvi-automake \
949 maybe-dvi-bash \
950 maybe-dvi-bfd \
951 maybe-dvi-opcodes \
952 maybe-dvi-binutils \
953 maybe-dvi-bison \
954 maybe-dvi-byacc \
955 maybe-dvi-bzip2 \
956 maybe-dvi-dejagnu \
957 maybe-dvi-diff \
958 maybe-dvi-dosutils \
959 maybe-dvi-etc \
960 maybe-dvi-fastjar \
961 maybe-dvi-fileutils \
962 maybe-dvi-findutils \
963 maybe-dvi-find \
964 maybe-dvi-flex \
965 maybe-dvi-gas \
966 maybe-dvi-gcc \
967 maybe-dvi-gawk \
968 maybe-dvi-gettext \
969 maybe-dvi-gnuserv \
970 maybe-dvi-gprof \
971 maybe-dvi-gzip \
972 maybe-dvi-hello \
973 maybe-dvi-indent \
974 maybe-dvi-intl \
975 maybe-dvi-tcl \
976 maybe-dvi-itcl \
977 maybe-dvi-ld \
978 maybe-dvi-libcpp \
979 maybe-dvi-libgui \
980 maybe-dvi-libbanshee \
981 maybe-dvi-libiberty \
982 maybe-dvi-libtool \
983 maybe-dvi-m4 \
984 maybe-dvi-make \
985 maybe-dvi-mmalloc \
986 maybe-dvi-patch \
987 maybe-dvi-perl \
988 maybe-dvi-prms \
989 maybe-dvi-rcs \
990 maybe-dvi-readline \
991 maybe-dvi-release \
992 maybe-dvi-recode \
993 maybe-dvi-sed \
994 maybe-dvi-send-pr \
995 maybe-dvi-shellutils \
996 maybe-dvi-sid \
997 maybe-dvi-sim \
998 maybe-dvi-tar \
999 maybe-dvi-texinfo \
1000 maybe-dvi-textutils \
1001 maybe-dvi-time \
1002 maybe-dvi-uudecode \
1003 maybe-dvi-wdiff \
1004 maybe-dvi-zip \
1005 maybe-dvi-zlib \
1006 maybe-dvi-gdb \
1007 maybe-dvi-expect \
1008 maybe-dvi-guile \
1009 maybe-dvi-tk \
1010 maybe-dvi-libtermcap \
1011 maybe-dvi-utils
1013 .PHONY: dvi-target
1014 dvi-target: \
1015 maybe-dvi-target-libstdc++-v3 \
1016 maybe-dvi-target-libmudflap \
1017 maybe-dvi-target-newlib \
1018 maybe-dvi-target-libgfortran \
1019 maybe-dvi-target-libobjc \
1020 maybe-dvi-target-libtermcap \
1021 maybe-dvi-target-winsup \
1022 maybe-dvi-target-libgloss \
1023 maybe-dvi-target-libiberty \
1024 maybe-dvi-target-gperf \
1025 maybe-dvi-target-examples \
1026 maybe-dvi-target-libffi \
1027 maybe-dvi-target-libjava \
1028 maybe-dvi-target-zlib \
1029 maybe-dvi-target-boehm-gc \
1030 maybe-dvi-target-qthreads \
1031 maybe-dvi-target-rda \
1032 maybe-dvi-target-libada
1034 .PHONY: do-TAGS
1035 do-TAGS: unstage TAGS-host TAGS-target stage
1037 .PHONY: TAGS-host
1038 TAGS-host: \
1039 maybe-TAGS-ash \
1040 maybe-TAGS-autoconf \
1041 maybe-TAGS-automake \
1042 maybe-TAGS-bash \
1043 maybe-TAGS-bfd \
1044 maybe-TAGS-opcodes \
1045 maybe-TAGS-binutils \
1046 maybe-TAGS-bison \
1047 maybe-TAGS-byacc \
1048 maybe-TAGS-bzip2 \
1049 maybe-TAGS-dejagnu \
1050 maybe-TAGS-diff \
1051 maybe-TAGS-dosutils \
1052 maybe-TAGS-etc \
1053 maybe-TAGS-fastjar \
1054 maybe-TAGS-fileutils \
1055 maybe-TAGS-findutils \
1056 maybe-TAGS-find \
1057 maybe-TAGS-flex \
1058 maybe-TAGS-gas \
1059 maybe-TAGS-gcc \
1060 maybe-TAGS-gawk \
1061 maybe-TAGS-gettext \
1062 maybe-TAGS-gnuserv \
1063 maybe-TAGS-gprof \
1064 maybe-TAGS-gzip \
1065 maybe-TAGS-hello \
1066 maybe-TAGS-indent \
1067 maybe-TAGS-intl \
1068 maybe-TAGS-tcl \
1069 maybe-TAGS-itcl \
1070 maybe-TAGS-ld \
1071 maybe-TAGS-libcpp \
1072 maybe-TAGS-libgui \
1073 maybe-TAGS-libbanshee \
1074 maybe-TAGS-libiberty \
1075 maybe-TAGS-libtool \
1076 maybe-TAGS-m4 \
1077 maybe-TAGS-make \
1078 maybe-TAGS-mmalloc \
1079 maybe-TAGS-patch \
1080 maybe-TAGS-perl \
1081 maybe-TAGS-prms \
1082 maybe-TAGS-rcs \
1083 maybe-TAGS-readline \
1084 maybe-TAGS-release \
1085 maybe-TAGS-recode \
1086 maybe-TAGS-sed \
1087 maybe-TAGS-send-pr \
1088 maybe-TAGS-shellutils \
1089 maybe-TAGS-sid \
1090 maybe-TAGS-sim \
1091 maybe-TAGS-tar \
1092 maybe-TAGS-texinfo \
1093 maybe-TAGS-textutils \
1094 maybe-TAGS-time \
1095 maybe-TAGS-uudecode \
1096 maybe-TAGS-wdiff \
1097 maybe-TAGS-zip \
1098 maybe-TAGS-zlib \
1099 maybe-TAGS-gdb \
1100 maybe-TAGS-expect \
1101 maybe-TAGS-guile \
1102 maybe-TAGS-tk \
1103 maybe-TAGS-libtermcap \
1104 maybe-TAGS-utils
1106 .PHONY: TAGS-target
1107 TAGS-target: \
1108 maybe-TAGS-target-libstdc++-v3 \
1109 maybe-TAGS-target-libmudflap \
1110 maybe-TAGS-target-newlib \
1111 maybe-TAGS-target-libgfortran \
1112 maybe-TAGS-target-libobjc \
1113 maybe-TAGS-target-libtermcap \
1114 maybe-TAGS-target-winsup \
1115 maybe-TAGS-target-libgloss \
1116 maybe-TAGS-target-libiberty \
1117 maybe-TAGS-target-gperf \
1118 maybe-TAGS-target-examples \
1119 maybe-TAGS-target-libffi \
1120 maybe-TAGS-target-libjava \
1121 maybe-TAGS-target-zlib \
1122 maybe-TAGS-target-boehm-gc \
1123 maybe-TAGS-target-qthreads \
1124 maybe-TAGS-target-rda \
1125 maybe-TAGS-target-libada
1127 .PHONY: do-install-info
1128 do-install-info: unstage install-info-host install-info-target stage
1130 .PHONY: install-info-host
1131 install-info-host: \
1132 maybe-install-info-ash \
1133 maybe-install-info-autoconf \
1134 maybe-install-info-automake \
1135 maybe-install-info-bash \
1136 maybe-install-info-bfd \
1137 maybe-install-info-opcodes \
1138 maybe-install-info-binutils \
1139 maybe-install-info-bison \
1140 maybe-install-info-byacc \
1141 maybe-install-info-bzip2 \
1142 maybe-install-info-dejagnu \
1143 maybe-install-info-diff \
1144 maybe-install-info-dosutils \
1145 maybe-install-info-etc \
1146 maybe-install-info-fastjar \
1147 maybe-install-info-fileutils \
1148 maybe-install-info-findutils \
1149 maybe-install-info-find \
1150 maybe-install-info-flex \
1151 maybe-install-info-gas \
1152 maybe-install-info-gcc \
1153 maybe-install-info-gawk \
1154 maybe-install-info-gettext \
1155 maybe-install-info-gnuserv \
1156 maybe-install-info-gprof \
1157 maybe-install-info-gzip \
1158 maybe-install-info-hello \
1159 maybe-install-info-indent \
1160 maybe-install-info-intl \
1161 maybe-install-info-tcl \
1162 maybe-install-info-itcl \
1163 maybe-install-info-ld \
1164 maybe-install-info-libcpp \
1165 maybe-install-info-libgui \
1166 maybe-install-info-libbanshee \
1167 maybe-install-info-libiberty \
1168 maybe-install-info-libtool \
1169 maybe-install-info-m4 \
1170 maybe-install-info-make \
1171 maybe-install-info-mmalloc \
1172 maybe-install-info-patch \
1173 maybe-install-info-perl \
1174 maybe-install-info-prms \
1175 maybe-install-info-rcs \
1176 maybe-install-info-readline \
1177 maybe-install-info-release \
1178 maybe-install-info-recode \
1179 maybe-install-info-sed \
1180 maybe-install-info-send-pr \
1181 maybe-install-info-shellutils \
1182 maybe-install-info-sid \
1183 maybe-install-info-sim \
1184 maybe-install-info-tar \
1185 maybe-install-info-texinfo \
1186 maybe-install-info-textutils \
1187 maybe-install-info-time \
1188 maybe-install-info-uudecode \
1189 maybe-install-info-wdiff \
1190 maybe-install-info-zip \
1191 maybe-install-info-zlib \
1192 maybe-install-info-gdb \
1193 maybe-install-info-expect \
1194 maybe-install-info-guile \
1195 maybe-install-info-tk \
1196 maybe-install-info-libtermcap \
1197 maybe-install-info-utils
1199 .PHONY: install-info-target
1200 install-info-target: \
1201 maybe-install-info-target-libstdc++-v3 \
1202 maybe-install-info-target-libmudflap \
1203 maybe-install-info-target-newlib \
1204 maybe-install-info-target-libgfortran \
1205 maybe-install-info-target-libobjc \
1206 maybe-install-info-target-libtermcap \
1207 maybe-install-info-target-winsup \
1208 maybe-install-info-target-libgloss \
1209 maybe-install-info-target-libiberty \
1210 maybe-install-info-target-gperf \
1211 maybe-install-info-target-examples \
1212 maybe-install-info-target-libffi \
1213 maybe-install-info-target-libjava \
1214 maybe-install-info-target-zlib \
1215 maybe-install-info-target-boehm-gc \
1216 maybe-install-info-target-qthreads \
1217 maybe-install-info-target-rda \
1218 maybe-install-info-target-libada
1220 .PHONY: do-installcheck
1221 do-installcheck: unstage installcheck-host installcheck-target stage
1223 .PHONY: installcheck-host
1224 installcheck-host: \
1225 maybe-installcheck-ash \
1226 maybe-installcheck-autoconf \
1227 maybe-installcheck-automake \
1228 maybe-installcheck-bash \
1229 maybe-installcheck-bfd \
1230 maybe-installcheck-opcodes \
1231 maybe-installcheck-binutils \
1232 maybe-installcheck-bison \
1233 maybe-installcheck-byacc \
1234 maybe-installcheck-bzip2 \
1235 maybe-installcheck-dejagnu \
1236 maybe-installcheck-diff \
1237 maybe-installcheck-dosutils \
1238 maybe-installcheck-etc \
1239 maybe-installcheck-fastjar \
1240 maybe-installcheck-fileutils \
1241 maybe-installcheck-findutils \
1242 maybe-installcheck-find \
1243 maybe-installcheck-flex \
1244 maybe-installcheck-gas \
1245 maybe-installcheck-gcc \
1246 maybe-installcheck-gawk \
1247 maybe-installcheck-gettext \
1248 maybe-installcheck-gnuserv \
1249 maybe-installcheck-gprof \
1250 maybe-installcheck-gzip \
1251 maybe-installcheck-hello \
1252 maybe-installcheck-indent \
1253 maybe-installcheck-intl \
1254 maybe-installcheck-tcl \
1255 maybe-installcheck-itcl \
1256 maybe-installcheck-ld \
1257 maybe-installcheck-libcpp \
1258 maybe-installcheck-libgui \
1259 maybe-installcheck-libbanshee \
1260 maybe-installcheck-libiberty \
1261 maybe-installcheck-libtool \
1262 maybe-installcheck-m4 \
1263 maybe-installcheck-make \
1264 maybe-installcheck-mmalloc \
1265 maybe-installcheck-patch \
1266 maybe-installcheck-perl \
1267 maybe-installcheck-prms \
1268 maybe-installcheck-rcs \
1269 maybe-installcheck-readline \
1270 maybe-installcheck-release \
1271 maybe-installcheck-recode \
1272 maybe-installcheck-sed \
1273 maybe-installcheck-send-pr \
1274 maybe-installcheck-shellutils \
1275 maybe-installcheck-sid \
1276 maybe-installcheck-sim \
1277 maybe-installcheck-tar \
1278 maybe-installcheck-texinfo \
1279 maybe-installcheck-textutils \
1280 maybe-installcheck-time \
1281 maybe-installcheck-uudecode \
1282 maybe-installcheck-wdiff \
1283 maybe-installcheck-zip \
1284 maybe-installcheck-zlib \
1285 maybe-installcheck-gdb \
1286 maybe-installcheck-expect \
1287 maybe-installcheck-guile \
1288 maybe-installcheck-tk \
1289 maybe-installcheck-libtermcap \
1290 maybe-installcheck-utils
1292 .PHONY: installcheck-target
1293 installcheck-target: \
1294 maybe-installcheck-target-libstdc++-v3 \
1295 maybe-installcheck-target-libmudflap \
1296 maybe-installcheck-target-newlib \
1297 maybe-installcheck-target-libgfortran \
1298 maybe-installcheck-target-libobjc \
1299 maybe-installcheck-target-libtermcap \
1300 maybe-installcheck-target-winsup \
1301 maybe-installcheck-target-libgloss \
1302 maybe-installcheck-target-libiberty \
1303 maybe-installcheck-target-gperf \
1304 maybe-installcheck-target-examples \
1305 maybe-installcheck-target-libffi \
1306 maybe-installcheck-target-libjava \
1307 maybe-installcheck-target-zlib \
1308 maybe-installcheck-target-boehm-gc \
1309 maybe-installcheck-target-qthreads \
1310 maybe-installcheck-target-rda \
1311 maybe-installcheck-target-libada
1313 .PHONY: do-mostlyclean
1314 do-mostlyclean: unstage mostlyclean-host mostlyclean-target stage
1316 .PHONY: mostlyclean-host
1317 mostlyclean-host: \
1318 maybe-mostlyclean-ash \
1319 maybe-mostlyclean-autoconf \
1320 maybe-mostlyclean-automake \
1321 maybe-mostlyclean-bash \
1322 maybe-mostlyclean-bfd \
1323 maybe-mostlyclean-opcodes \
1324 maybe-mostlyclean-binutils \
1325 maybe-mostlyclean-bison \
1326 maybe-mostlyclean-byacc \
1327 maybe-mostlyclean-bzip2 \
1328 maybe-mostlyclean-dejagnu \
1329 maybe-mostlyclean-diff \
1330 maybe-mostlyclean-dosutils \
1331 maybe-mostlyclean-etc \
1332 maybe-mostlyclean-fastjar \
1333 maybe-mostlyclean-fileutils \
1334 maybe-mostlyclean-findutils \
1335 maybe-mostlyclean-find \
1336 maybe-mostlyclean-flex \
1337 maybe-mostlyclean-gas \
1338 maybe-mostlyclean-gcc \
1339 maybe-mostlyclean-gawk \
1340 maybe-mostlyclean-gettext \
1341 maybe-mostlyclean-gnuserv \
1342 maybe-mostlyclean-gprof \
1343 maybe-mostlyclean-gzip \
1344 maybe-mostlyclean-hello \
1345 maybe-mostlyclean-indent \
1346 maybe-mostlyclean-intl \
1347 maybe-mostlyclean-tcl \
1348 maybe-mostlyclean-itcl \
1349 maybe-mostlyclean-ld \
1350 maybe-mostlyclean-libcpp \
1351 maybe-mostlyclean-libgui \
1352 maybe-mostlyclean-libbanshee \
1353 maybe-mostlyclean-libiberty \
1354 maybe-mostlyclean-libtool \
1355 maybe-mostlyclean-m4 \
1356 maybe-mostlyclean-make \
1357 maybe-mostlyclean-mmalloc \
1358 maybe-mostlyclean-patch \
1359 maybe-mostlyclean-perl \
1360 maybe-mostlyclean-prms \
1361 maybe-mostlyclean-rcs \
1362 maybe-mostlyclean-readline \
1363 maybe-mostlyclean-release \
1364 maybe-mostlyclean-recode \
1365 maybe-mostlyclean-sed \
1366 maybe-mostlyclean-send-pr \
1367 maybe-mostlyclean-shellutils \
1368 maybe-mostlyclean-sid \
1369 maybe-mostlyclean-sim \
1370 maybe-mostlyclean-tar \
1371 maybe-mostlyclean-texinfo \
1372 maybe-mostlyclean-textutils \
1373 maybe-mostlyclean-time \
1374 maybe-mostlyclean-uudecode \
1375 maybe-mostlyclean-wdiff \
1376 maybe-mostlyclean-zip \
1377 maybe-mostlyclean-zlib \
1378 maybe-mostlyclean-gdb \
1379 maybe-mostlyclean-expect \
1380 maybe-mostlyclean-guile \
1381 maybe-mostlyclean-tk \
1382 maybe-mostlyclean-libtermcap \
1383 maybe-mostlyclean-utils
1385 .PHONY: mostlyclean-target
1386 mostlyclean-target: \
1387 maybe-mostlyclean-target-libstdc++-v3 \
1388 maybe-mostlyclean-target-libmudflap \
1389 maybe-mostlyclean-target-newlib \
1390 maybe-mostlyclean-target-libgfortran \
1391 maybe-mostlyclean-target-libobjc \
1392 maybe-mostlyclean-target-libtermcap \
1393 maybe-mostlyclean-target-winsup \
1394 maybe-mostlyclean-target-libgloss \
1395 maybe-mostlyclean-target-libiberty \
1396 maybe-mostlyclean-target-gperf \
1397 maybe-mostlyclean-target-examples \
1398 maybe-mostlyclean-target-libffi \
1399 maybe-mostlyclean-target-libjava \
1400 maybe-mostlyclean-target-zlib \
1401 maybe-mostlyclean-target-boehm-gc \
1402 maybe-mostlyclean-target-qthreads \
1403 maybe-mostlyclean-target-rda \
1404 maybe-mostlyclean-target-libada
1406 .PHONY: do-clean
1407 do-clean: unstage clean-host clean-target stage
1409 .PHONY: clean-host
1410 clean-host: \
1411 maybe-clean-ash \
1412 maybe-clean-autoconf \
1413 maybe-clean-automake \
1414 maybe-clean-bash \
1415 maybe-clean-bfd \
1416 maybe-clean-opcodes \
1417 maybe-clean-binutils \
1418 maybe-clean-bison \
1419 maybe-clean-byacc \
1420 maybe-clean-bzip2 \
1421 maybe-clean-dejagnu \
1422 maybe-clean-diff \
1423 maybe-clean-dosutils \
1424 maybe-clean-etc \
1425 maybe-clean-fastjar \
1426 maybe-clean-fileutils \
1427 maybe-clean-findutils \
1428 maybe-clean-find \
1429 maybe-clean-flex \
1430 maybe-clean-gas \
1431 maybe-clean-gcc \
1432 maybe-clean-gawk \
1433 maybe-clean-gettext \
1434 maybe-clean-gnuserv \
1435 maybe-clean-gprof \
1436 maybe-clean-gzip \
1437 maybe-clean-hello \
1438 maybe-clean-indent \
1439 maybe-clean-intl \
1440 maybe-clean-tcl \
1441 maybe-clean-itcl \
1442 maybe-clean-ld \
1443 maybe-clean-libcpp \
1444 maybe-clean-libgui \
1445 maybe-clean-libbanshee \
1446 maybe-clean-libiberty \
1447 maybe-clean-libtool \
1448 maybe-clean-m4 \
1449 maybe-clean-make \
1450 maybe-clean-mmalloc \
1451 maybe-clean-patch \
1452 maybe-clean-perl \
1453 maybe-clean-prms \
1454 maybe-clean-rcs \
1455 maybe-clean-readline \
1456 maybe-clean-release \
1457 maybe-clean-recode \
1458 maybe-clean-sed \
1459 maybe-clean-send-pr \
1460 maybe-clean-shellutils \
1461 maybe-clean-sid \
1462 maybe-clean-sim \
1463 maybe-clean-tar \
1464 maybe-clean-texinfo \
1465 maybe-clean-textutils \
1466 maybe-clean-time \
1467 maybe-clean-uudecode \
1468 maybe-clean-wdiff \
1469 maybe-clean-zip \
1470 maybe-clean-zlib \
1471 maybe-clean-gdb \
1472 maybe-clean-expect \
1473 maybe-clean-guile \
1474 maybe-clean-tk \
1475 maybe-clean-libtermcap \
1476 maybe-clean-utils
1478 .PHONY: clean-target
1479 clean-target: \
1480 maybe-clean-target-libstdc++-v3 \
1481 maybe-clean-target-libmudflap \
1482 maybe-clean-target-newlib \
1483 maybe-clean-target-libgfortran \
1484 maybe-clean-target-libobjc \
1485 maybe-clean-target-libtermcap \
1486 maybe-clean-target-winsup \
1487 maybe-clean-target-libgloss \
1488 maybe-clean-target-libiberty \
1489 maybe-clean-target-gperf \
1490 maybe-clean-target-examples \
1491 maybe-clean-target-libffi \
1492 maybe-clean-target-libjava \
1493 maybe-clean-target-zlib \
1494 maybe-clean-target-boehm-gc \
1495 maybe-clean-target-qthreads \
1496 maybe-clean-target-rda \
1497 maybe-clean-target-libada
1499 .PHONY: do-distclean
1500 do-distclean: unstage distclean-host distclean-target stage
1502 .PHONY: distclean-host
1503 distclean-host: \
1504 maybe-distclean-ash \
1505 maybe-distclean-autoconf \
1506 maybe-distclean-automake \
1507 maybe-distclean-bash \
1508 maybe-distclean-bfd \
1509 maybe-distclean-opcodes \
1510 maybe-distclean-binutils \
1511 maybe-distclean-bison \
1512 maybe-distclean-byacc \
1513 maybe-distclean-bzip2 \
1514 maybe-distclean-dejagnu \
1515 maybe-distclean-diff \
1516 maybe-distclean-dosutils \
1517 maybe-distclean-etc \
1518 maybe-distclean-fastjar \
1519 maybe-distclean-fileutils \
1520 maybe-distclean-findutils \
1521 maybe-distclean-find \
1522 maybe-distclean-flex \
1523 maybe-distclean-gas \
1524 maybe-distclean-gcc \
1525 maybe-distclean-gawk \
1526 maybe-distclean-gettext \
1527 maybe-distclean-gnuserv \
1528 maybe-distclean-gprof \
1529 maybe-distclean-gzip \
1530 maybe-distclean-hello \
1531 maybe-distclean-indent \
1532 maybe-distclean-intl \
1533 maybe-distclean-tcl \
1534 maybe-distclean-itcl \
1535 maybe-distclean-ld \
1536 maybe-distclean-libcpp \
1537 maybe-distclean-libgui \
1538 maybe-distclean-libbanshee \
1539 maybe-distclean-libiberty \
1540 maybe-distclean-libtool \
1541 maybe-distclean-m4 \
1542 maybe-distclean-make \
1543 maybe-distclean-mmalloc \
1544 maybe-distclean-patch \
1545 maybe-distclean-perl \
1546 maybe-distclean-prms \
1547 maybe-distclean-rcs \
1548 maybe-distclean-readline \
1549 maybe-distclean-release \
1550 maybe-distclean-recode \
1551 maybe-distclean-sed \
1552 maybe-distclean-send-pr \
1553 maybe-distclean-shellutils \
1554 maybe-distclean-sid \
1555 maybe-distclean-sim \
1556 maybe-distclean-tar \
1557 maybe-distclean-texinfo \
1558 maybe-distclean-textutils \
1559 maybe-distclean-time \
1560 maybe-distclean-uudecode \
1561 maybe-distclean-wdiff \
1562 maybe-distclean-zip \
1563 maybe-distclean-zlib \
1564 maybe-distclean-gdb \
1565 maybe-distclean-expect \
1566 maybe-distclean-guile \
1567 maybe-distclean-tk \
1568 maybe-distclean-libtermcap \
1569 maybe-distclean-utils
1571 .PHONY: distclean-target
1572 distclean-target: \
1573 maybe-distclean-target-libstdc++-v3 \
1574 maybe-distclean-target-libmudflap \
1575 maybe-distclean-target-newlib \
1576 maybe-distclean-target-libgfortran \
1577 maybe-distclean-target-libobjc \
1578 maybe-distclean-target-libtermcap \
1579 maybe-distclean-target-winsup \
1580 maybe-distclean-target-libgloss \
1581 maybe-distclean-target-libiberty \
1582 maybe-distclean-target-gperf \
1583 maybe-distclean-target-examples \
1584 maybe-distclean-target-libffi \
1585 maybe-distclean-target-libjava \
1586 maybe-distclean-target-zlib \
1587 maybe-distclean-target-boehm-gc \
1588 maybe-distclean-target-qthreads \
1589 maybe-distclean-target-rda \
1590 maybe-distclean-target-libada
1592 .PHONY: do-maintainer-clean
1593 do-maintainer-clean: unstage maintainer-clean-host maintainer-clean-target stage
1595 .PHONY: maintainer-clean-host
1596 maintainer-clean-host: \
1597 maybe-maintainer-clean-ash \
1598 maybe-maintainer-clean-autoconf \
1599 maybe-maintainer-clean-automake \
1600 maybe-maintainer-clean-bash \
1601 maybe-maintainer-clean-bfd \
1602 maybe-maintainer-clean-opcodes \
1603 maybe-maintainer-clean-binutils \
1604 maybe-maintainer-clean-bison \
1605 maybe-maintainer-clean-byacc \
1606 maybe-maintainer-clean-bzip2 \
1607 maybe-maintainer-clean-dejagnu \
1608 maybe-maintainer-clean-diff \
1609 maybe-maintainer-clean-dosutils \
1610 maybe-maintainer-clean-etc \
1611 maybe-maintainer-clean-fastjar \
1612 maybe-maintainer-clean-fileutils \
1613 maybe-maintainer-clean-findutils \
1614 maybe-maintainer-clean-find \
1615 maybe-maintainer-clean-flex \
1616 maybe-maintainer-clean-gas \
1617 maybe-maintainer-clean-gcc \
1618 maybe-maintainer-clean-gawk \
1619 maybe-maintainer-clean-gettext \
1620 maybe-maintainer-clean-gnuserv \
1621 maybe-maintainer-clean-gprof \
1622 maybe-maintainer-clean-gzip \
1623 maybe-maintainer-clean-hello \
1624 maybe-maintainer-clean-indent \
1625 maybe-maintainer-clean-intl \
1626 maybe-maintainer-clean-tcl \
1627 maybe-maintainer-clean-itcl \
1628 maybe-maintainer-clean-ld \
1629 maybe-maintainer-clean-libcpp \
1630 maybe-maintainer-clean-libgui \
1631 maybe-maintainer-clean-libbanshee \
1632 maybe-maintainer-clean-libiberty \
1633 maybe-maintainer-clean-libtool \
1634 maybe-maintainer-clean-m4 \
1635 maybe-maintainer-clean-make \
1636 maybe-maintainer-clean-mmalloc \
1637 maybe-maintainer-clean-patch \
1638 maybe-maintainer-clean-perl \
1639 maybe-maintainer-clean-prms \
1640 maybe-maintainer-clean-rcs \
1641 maybe-maintainer-clean-readline \
1642 maybe-maintainer-clean-release \
1643 maybe-maintainer-clean-recode \
1644 maybe-maintainer-clean-sed \
1645 maybe-maintainer-clean-send-pr \
1646 maybe-maintainer-clean-shellutils \
1647 maybe-maintainer-clean-sid \
1648 maybe-maintainer-clean-sim \
1649 maybe-maintainer-clean-tar \
1650 maybe-maintainer-clean-texinfo \
1651 maybe-maintainer-clean-textutils \
1652 maybe-maintainer-clean-time \
1653 maybe-maintainer-clean-uudecode \
1654 maybe-maintainer-clean-wdiff \
1655 maybe-maintainer-clean-zip \
1656 maybe-maintainer-clean-zlib \
1657 maybe-maintainer-clean-gdb \
1658 maybe-maintainer-clean-expect \
1659 maybe-maintainer-clean-guile \
1660 maybe-maintainer-clean-tk \
1661 maybe-maintainer-clean-libtermcap \
1662 maybe-maintainer-clean-utils
1664 .PHONY: maintainer-clean-target
1665 maintainer-clean-target: \
1666 maybe-maintainer-clean-target-libstdc++-v3 \
1667 maybe-maintainer-clean-target-libmudflap \
1668 maybe-maintainer-clean-target-newlib \
1669 maybe-maintainer-clean-target-libgfortran \
1670 maybe-maintainer-clean-target-libobjc \
1671 maybe-maintainer-clean-target-libtermcap \
1672 maybe-maintainer-clean-target-winsup \
1673 maybe-maintainer-clean-target-libgloss \
1674 maybe-maintainer-clean-target-libiberty \
1675 maybe-maintainer-clean-target-gperf \
1676 maybe-maintainer-clean-target-examples \
1677 maybe-maintainer-clean-target-libffi \
1678 maybe-maintainer-clean-target-libjava \
1679 maybe-maintainer-clean-target-zlib \
1680 maybe-maintainer-clean-target-boehm-gc \
1681 maybe-maintainer-clean-target-qthreads \
1682 maybe-maintainer-clean-target-rda \
1683 maybe-maintainer-clean-target-libada
1686 # Here are the targets which correspond to the do-X targets.
1688 .PHONY: info installcheck dvi install-info
1689 .PHONY: clean distclean mostlyclean maintainer-clean realclean
1690 .PHONY: local-clean local-distclean local-maintainer-clean
1691 info: do-info
1692 installcheck: do-installcheck
1693 dvi: do-dvi
1695 # Make sure makeinfo is built before we do a `make info', if we're
1696 # in fact building texinfo.
1697 do-info: maybe-all-texinfo
1699 install-info: do-install-info dir.info
1700 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1701 if [ -f dir.info ] ; then \
1702 $(INSTALL_DATA) dir.info $(DESTDIR)$(infodir)/dir.info ; \
1703 else true ; fi
1705 local-clean:
1706 -rm -f *.a TEMP errs core *.o *~ \#* TAGS *.E *.log
1708 local-distclean:
1709 -rm -f Makefile config.status config.cache mh-frag mt-frag
1710 -rm -f multilib.out multilib.tmp maybedep.tmp serdep.tmp
1711 -if [ "$(TARGET_SUBDIR)" != "." ]; then \
1712 rm -rf $(TARGET_SUBDIR); \
1713 else true; fi
1714 -rm -rf $(BUILD_SUBDIR)
1715 -rm -f texinfo/po/Makefile texinfo/po/Makefile.in texinfo/info/Makefile
1716 -rm -f texinfo/doc/Makefile texinfo/po/POTFILES
1717 -rmdir texinfo/doc texinfo/info texinfo/intl texinfo/lib 2>/dev/null
1718 -rmdir texinfo/makeinfo texinfo/po texinfo/util 2>/dev/null
1719 -rmdir fastjar gcc libiberty texinfo zlib 2>/dev/null
1721 local-maintainer-clean:
1722 @echo "This command is intended for maintainers to use;"
1723 @echo "it deletes files that may require special tools to rebuild."
1725 clean: do-clean local-clean
1726 mostlyclean: do-mostlyclean local-clean
1727 distclean: do-distclean local-clean local-distclean
1728 maintainer-clean: local-maintainer-clean do-maintainer-clean local-clean
1729 maintainer-clean: local-distclean
1730 realclean: maintainer-clean
1732 # Extra dependency for clean-target, owing to the mixed nature of gcc
1733 clean-target: clean-target-libgcc
1734 clean-target-libgcc:
1735 test ! -d gcc/libgcc || \
1736 (cd gcc/libgcc && find . -type d -print) | \
1737 while read d; do rm -f gcc/$$d/libgcc.a || : ; done
1738 -rm -rf gcc/libgcc
1740 # Check target.
1742 .PHONY: check do-check
1743 check: do-check
1745 # Only include modules actually being configured and built.
1746 do-check: unstage \
1747 maybe-check-ash \
1748 maybe-check-autoconf \
1749 maybe-check-automake \
1750 maybe-check-bash \
1751 maybe-check-bfd \
1752 maybe-check-opcodes \
1753 maybe-check-binutils \
1754 maybe-check-bison \
1755 maybe-check-byacc \
1756 maybe-check-bzip2 \
1757 maybe-check-dejagnu \
1758 maybe-check-diff \
1759 maybe-check-dosutils \
1760 maybe-check-etc \
1761 maybe-check-fastjar \
1762 maybe-check-fileutils \
1763 maybe-check-findutils \
1764 maybe-check-find \
1765 maybe-check-flex \
1766 maybe-check-gas \
1767 maybe-check-gcc \
1768 maybe-check-gawk \
1769 maybe-check-gettext \
1770 maybe-check-gnuserv \
1771 maybe-check-gprof \
1772 maybe-check-gzip \
1773 maybe-check-hello \
1774 maybe-check-indent \
1775 maybe-check-intl \
1776 maybe-check-tcl \
1777 maybe-check-itcl \
1778 maybe-check-ld \
1779 maybe-check-libcpp \
1780 maybe-check-libgui \
1781 maybe-check-libbanshee \
1782 maybe-check-libiberty \
1783 maybe-check-libtool \
1784 maybe-check-m4 \
1785 maybe-check-make \
1786 maybe-check-mmalloc \
1787 maybe-check-patch \
1788 maybe-check-perl \
1789 maybe-check-prms \
1790 maybe-check-rcs \
1791 maybe-check-readline \
1792 maybe-check-release \
1793 maybe-check-recode \
1794 maybe-check-sed \
1795 maybe-check-send-pr \
1796 maybe-check-shellutils \
1797 maybe-check-sid \
1798 maybe-check-sim \
1799 maybe-check-tar \
1800 maybe-check-texinfo \
1801 maybe-check-textutils \
1802 maybe-check-time \
1803 maybe-check-uudecode \
1804 maybe-check-wdiff \
1805 maybe-check-zip \
1806 maybe-check-zlib \
1807 maybe-check-gdb \
1808 maybe-check-expect \
1809 maybe-check-guile \
1810 maybe-check-tk \
1811 maybe-check-libtermcap \
1812 maybe-check-utils \
1813 maybe-check-target-libstdc++-v3 \
1814 maybe-check-target-libmudflap \
1815 maybe-check-target-newlib \
1816 maybe-check-target-libgfortran \
1817 maybe-check-target-libobjc \
1818 maybe-check-target-libtermcap \
1819 maybe-check-target-winsup \
1820 maybe-check-target-libgloss \
1821 maybe-check-target-libiberty \
1822 maybe-check-target-gperf \
1823 maybe-check-target-examples \
1824 maybe-check-target-libffi \
1825 maybe-check-target-libjava \
1826 maybe-check-target-zlib \
1827 maybe-check-target-boehm-gc \
1828 maybe-check-target-qthreads \
1829 maybe-check-target-rda \
1830 maybe-check-target-libada stage
1832 # Automated reporting of test results.
1834 warning.log: build.log
1835 $(srcdir)/contrib/warn_summary build.log > $@
1837 mail-report.log:
1838 if test x'$(BOOT_CFLAGS)' != x''; then \
1839 BOOT_CFLAGS='$(BOOT_CFLAGS)'; export BOOT_CFLAGS; \
1840 fi; \
1841 $(srcdir)/contrib/test_summary -t >$@
1842 chmod +x $@
1843 echo If you really want to send e-mail, run ./$@ now
1845 mail-report-with-warnings.log: warning.log
1846 if test x'$(BOOT_CFLAGS)' != x''; then \
1847 BOOT_CFLAGS='$(BOOT_CFLAGS)'; export BOOT_CFLAGS; \
1848 fi; \
1849 $(srcdir)/contrib/test_summary -t -i warning.log >$@
1850 chmod +x $@
1851 echo If you really want to send e-mail, run ./$@ now
1853 # Installation targets.
1855 .PHONY: install uninstall
1856 install: installdirs install-host install-target
1858 .PHONY: install-host-nogcc
1859 install-host-nogcc: \
1860 maybe-install-ash \
1861 maybe-install-autoconf \
1862 maybe-install-automake \
1863 maybe-install-bash \
1864 maybe-install-bfd \
1865 maybe-install-opcodes \
1866 maybe-install-binutils \
1867 maybe-install-bison \
1868 maybe-install-byacc \
1869 maybe-install-bzip2 \
1870 maybe-install-dejagnu \
1871 maybe-install-diff \
1872 maybe-install-dosutils \
1873 maybe-install-etc \
1874 maybe-install-fastjar \
1875 maybe-install-fileutils \
1876 maybe-install-findutils \
1877 maybe-install-find \
1878 maybe-install-flex \
1879 maybe-install-gas \
1880 maybe-install-gawk \
1881 maybe-install-gettext \
1882 maybe-install-gnuserv \
1883 maybe-install-gprof \
1884 maybe-install-gzip \
1885 maybe-install-hello \
1886 maybe-install-indent \
1887 maybe-install-intl \
1888 maybe-install-tcl \
1889 maybe-install-itcl \
1890 maybe-install-ld \
1891 maybe-install-libcpp \
1892 maybe-install-libgui \
1893 maybe-install-libbanshee \
1894 maybe-install-libiberty \
1895 maybe-install-libtool \
1896 maybe-install-m4 \
1897 maybe-install-make \
1898 maybe-install-mmalloc \
1899 maybe-install-patch \
1900 maybe-install-perl \
1901 maybe-install-prms \
1902 maybe-install-rcs \
1903 maybe-install-readline \
1904 maybe-install-release \
1905 maybe-install-recode \
1906 maybe-install-sed \
1907 maybe-install-send-pr \
1908 maybe-install-shellutils \
1909 maybe-install-sid \
1910 maybe-install-sim \
1911 maybe-install-tar \
1912 maybe-install-texinfo \
1913 maybe-install-textutils \
1914 maybe-install-time \
1915 maybe-install-uudecode \
1916 maybe-install-wdiff \
1917 maybe-install-zip \
1918 maybe-install-zlib \
1919 maybe-install-gdb \
1920 maybe-install-expect \
1921 maybe-install-guile \
1922 maybe-install-tk \
1923 maybe-install-libtermcap \
1924 maybe-install-utils
1926 .PHONY: install-host
1927 install-host: \
1928 maybe-install-ash \
1929 maybe-install-autoconf \
1930 maybe-install-automake \
1931 maybe-install-bash \
1932 maybe-install-bfd \
1933 maybe-install-opcodes \
1934 maybe-install-binutils \
1935 maybe-install-bison \
1936 maybe-install-byacc \
1937 maybe-install-bzip2 \
1938 maybe-install-dejagnu \
1939 maybe-install-diff \
1940 maybe-install-dosutils \
1941 maybe-install-etc \
1942 maybe-install-fastjar \
1943 maybe-install-fileutils \
1944 maybe-install-findutils \
1945 maybe-install-find \
1946 maybe-install-flex \
1947 maybe-install-gas \
1948 maybe-install-gcc \
1949 maybe-install-gawk \
1950 maybe-install-gettext \
1951 maybe-install-gnuserv \
1952 maybe-install-gprof \
1953 maybe-install-gzip \
1954 maybe-install-hello \
1955 maybe-install-indent \
1956 maybe-install-intl \
1957 maybe-install-tcl \
1958 maybe-install-itcl \
1959 maybe-install-ld \
1960 maybe-install-libcpp \
1961 maybe-install-libgui \
1962 maybe-install-libbanshee \
1963 maybe-install-libiberty \
1964 maybe-install-libtool \
1965 maybe-install-m4 \
1966 maybe-install-make \
1967 maybe-install-mmalloc \
1968 maybe-install-patch \
1969 maybe-install-perl \
1970 maybe-install-prms \
1971 maybe-install-rcs \
1972 maybe-install-readline \
1973 maybe-install-release \
1974 maybe-install-recode \
1975 maybe-install-sed \
1976 maybe-install-send-pr \
1977 maybe-install-shellutils \
1978 maybe-install-sid \
1979 maybe-install-sim \
1980 maybe-install-tar \
1981 maybe-install-texinfo \
1982 maybe-install-textutils \
1983 maybe-install-time \
1984 maybe-install-uudecode \
1985 maybe-install-wdiff \
1986 maybe-install-zip \
1987 maybe-install-zlib \
1988 maybe-install-gdb \
1989 maybe-install-expect \
1990 maybe-install-guile \
1991 maybe-install-tk \
1992 maybe-install-libtermcap \
1993 maybe-install-utils
1995 .PHONY: install-target
1996 install-target: \
1997 maybe-install-target-libstdc++-v3 \
1998 maybe-install-target-libmudflap \
1999 maybe-install-target-newlib \
2000 maybe-install-target-libgfortran \
2001 maybe-install-target-libobjc \
2002 maybe-install-target-libtermcap \
2003 maybe-install-target-winsup \
2004 maybe-install-target-libgloss \
2005 maybe-install-target-libiberty \
2006 maybe-install-target-gperf \
2007 maybe-install-target-examples \
2008 maybe-install-target-libffi \
2009 maybe-install-target-libjava \
2010 maybe-install-target-zlib \
2011 maybe-install-target-boehm-gc \
2012 maybe-install-target-qthreads \
2013 maybe-install-target-rda \
2014 maybe-install-target-libada
2016 uninstall:
2017 @echo "the uninstall target is not supported in this tree"
2019 .PHONY: install.all
2020 install.all: install-no-fixedincludes
2021 @if [ -f ./gcc/Makefile ] ; then \
2022 r=`${PWD_COMMAND}` ; export r ; \
2023 $(SET_LIB_PATH) \
2024 $(HOST_EXPORTS) \
2025 (cd ./gcc && \
2026 $(MAKE) $(FLAGS_TO_PASS) install-headers) ; \
2027 else \
2028 true ; \
2031 # install-no-fixedincludes is used because Cygnus can not distribute
2032 # the fixed header files.
2033 .PHONY: install-no-fixedincludes
2034 install-no-fixedincludes: installdirs install-host-nogcc \
2035 install-target gcc-no-fixedincludes
2037 ### other supporting targets
2039 MAKEDIRS= \
2040 $(DESTDIR)$(prefix) \
2041 $(DESTDIR)$(exec_prefix)
2042 .PHONY: installdirs
2043 installdirs: mkinstalldirs
2044 $(SHELL) $(srcdir)/mkinstalldirs $(MAKEDIRS)
2046 dir.info: do-install-info
2047 if [ -f $(srcdir)/texinfo/gen-info-dir ] ; then \
2048 $(srcdir)/texinfo/gen-info-dir $(DESTDIR)$(infodir) $(srcdir)/texinfo/dir.info-template > dir.info.new ; \
2049 mv -f dir.info.new dir.info ; \
2050 else true ; \
2053 dist:
2054 @echo "Building a full distribution of this tree isn't done"
2055 @echo "via 'make dist'. Check out the etc/ subdirectory"
2057 etags tags: TAGS
2059 # Right now this just builds TAGS in each subdirectory. emacs19 has the
2060 # ability to use several tags files at once, so there is probably no need
2061 # to combine them into one big TAGS file (like CVS 1.3 does). We could
2062 # (if we felt like it) have this Makefile write a piece of elisp which
2063 # the user could load to tell emacs19 where all the TAGS files we just
2064 # built are.
2065 TAGS: do-TAGS
2067 # --------------------------------------
2068 # Modules which run on the build machine
2069 # --------------------------------------
2071 .PHONY: configure-build-libiberty maybe-configure-build-libiberty
2072 maybe-configure-build-libiberty:
2073 @if build-libiberty
2074 maybe-configure-build-libiberty: configure-build-libiberty
2075 configure-build-libiberty:
2076 @test ! -f $(BUILD_SUBDIR)/libiberty/Makefile || exit 0; \
2077 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/libiberty ; \
2078 r=`${PWD_COMMAND}`; export r; \
2079 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2080 $(BUILD_EXPORTS) \
2081 echo Configuring in $(BUILD_SUBDIR)/libiberty; \
2082 cd "$(BUILD_SUBDIR)/libiberty" || exit 1; \
2083 case $(srcdir) in \
2084 /* | [A-Za-z]:[\\/]*) \
2085 topdir=$(srcdir) ;; \
2086 *) \
2087 case "$(BUILD_SUBDIR)" in \
2088 .) topdir="../$(srcdir)" ;; \
2089 *) topdir="../../$(srcdir)" ;; \
2090 esac ;; \
2091 esac; \
2092 if [ "$(srcdir)" = "." ] ; then \
2093 if [ "$(BUILD_SUBDIR)" != "." ] ; then \
2094 if $(SHELL) $$s/symlink-tree $${topdir}/libiberty "no-such-file" ; then \
2095 if [ -f Makefile ]; then \
2096 if $(MAKE) distclean; then \
2097 true; \
2098 else \
2099 exit 1; \
2100 fi; \
2101 else \
2102 true; \
2103 fi; \
2104 else \
2105 exit 1; \
2106 fi; \
2107 else \
2108 true; \
2109 fi; \
2110 srcdiroption="--srcdir=."; \
2111 libsrcdir="."; \
2112 else \
2113 srcdiroption="--srcdir=$${topdir}/libiberty"; \
2114 libsrcdir="$$s/libiberty"; \
2115 fi; \
2116 rm -f no-such-file || : ; \
2117 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2118 $(BUILD_CONFIGARGS) $${srcdiroption} \
2119 --with-build-subdir="$(BUILD_SUBDIR)" \
2120 || exit 1
2121 @endif build-libiberty
2123 .PHONY: all-build-libiberty maybe-all-build-libiberty
2124 maybe-all-build-libiberty:
2125 @if build-libiberty
2126 maybe-all-build-libiberty: all-build-libiberty
2127 all-build-libiberty: configure-build-libiberty
2128 @r=`${PWD_COMMAND}`; export r; \
2129 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2130 $(BUILD_EXPORTS) \
2131 (cd $(BUILD_SUBDIR)/libiberty && $(MAKE) all)
2132 @endif build-libiberty
2134 .PHONY: configure-build-libbanshee maybe-configure-build-libbanshee
2135 maybe-configure-build-libbanshee:
2136 @if build-libbanshee
2137 maybe-configure-build-libbanshee: configure-build-libbanshee
2138 configure-build-libbanshee:
2139 @test ! -f $(BUILD_SUBDIR)/libbanshee/Makefile || exit 0; \
2140 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/libbanshee ; \
2141 r=`${PWD_COMMAND}`; export r; \
2142 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2143 $(BUILD_EXPORTS) \
2144 echo Configuring in $(BUILD_SUBDIR)/libbanshee; \
2145 cd "$(BUILD_SUBDIR)/libbanshee" || exit 1; \
2146 case $(srcdir) in \
2147 /* | [A-Za-z]:[\\/]*) \
2148 topdir=$(srcdir) ;; \
2149 *) \
2150 case "$(BUILD_SUBDIR)" in \
2151 .) topdir="../$(srcdir)" ;; \
2152 *) topdir="../../$(srcdir)" ;; \
2153 esac ;; \
2154 esac; \
2155 if [ "$(srcdir)" = "." ] ; then \
2156 if [ "$(BUILD_SUBDIR)" != "." ] ; then \
2157 if $(SHELL) $$s/symlink-tree $${topdir}/libbanshee "no-such-file" ; then \
2158 if [ -f Makefile ]; then \
2159 if $(MAKE) distclean; then \
2160 true; \
2161 else \
2162 exit 1; \
2163 fi; \
2164 else \
2165 true; \
2166 fi; \
2167 else \
2168 exit 1; \
2169 fi; \
2170 else \
2171 true; \
2172 fi; \
2173 srcdiroption="--srcdir=."; \
2174 libsrcdir="."; \
2175 else \
2176 srcdiroption="--srcdir=$${topdir}/libbanshee"; \
2177 libsrcdir="$$s/libbanshee"; \
2178 fi; \
2179 rm -f no-such-file || : ; \
2180 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2181 $(BUILD_CONFIGARGS) $${srcdiroption} \
2182 --with-build-subdir="$(BUILD_SUBDIR)" \
2183 || exit 1
2184 @endif build-libbanshee
2186 .PHONY: all-build-libbanshee maybe-all-build-libbanshee
2187 maybe-all-build-libbanshee:
2188 @if build-libbanshee
2189 maybe-all-build-libbanshee: all-build-libbanshee
2190 all-build-libbanshee: configure-build-libbanshee
2191 @r=`${PWD_COMMAND}`; export r; \
2192 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2193 $(BUILD_EXPORTS) \
2194 (cd $(BUILD_SUBDIR)/libbanshee && $(MAKE) all)
2195 @endif build-libbanshee
2197 .PHONY: configure-build-bison maybe-configure-build-bison
2198 maybe-configure-build-bison:
2199 @if build-bison
2200 maybe-configure-build-bison: configure-build-bison
2201 configure-build-bison:
2202 @test ! -f $(BUILD_SUBDIR)/bison/Makefile || exit 0; \
2203 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/bison ; \
2204 r=`${PWD_COMMAND}`; export r; \
2205 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2206 $(BUILD_EXPORTS) \
2207 echo Configuring in $(BUILD_SUBDIR)/bison; \
2208 cd "$(BUILD_SUBDIR)/bison" || exit 1; \
2209 case $(srcdir) in \
2210 /* | [A-Za-z]:[\\/]*) \
2211 topdir=$(srcdir) ;; \
2212 *) \
2213 case "$(BUILD_SUBDIR)" in \
2214 .) topdir="../$(srcdir)" ;; \
2215 *) topdir="../../$(srcdir)" ;; \
2216 esac ;; \
2217 esac; \
2218 if [ "$(srcdir)" = "." ] ; then \
2219 if [ "$(BUILD_SUBDIR)" != "." ] ; then \
2220 if $(SHELL) $$s/symlink-tree $${topdir}/bison "no-such-file" ; then \
2221 if [ -f Makefile ]; then \
2222 if $(MAKE) distclean; then \
2223 true; \
2224 else \
2225 exit 1; \
2226 fi; \
2227 else \
2228 true; \
2229 fi; \
2230 else \
2231 exit 1; \
2232 fi; \
2233 else \
2234 true; \
2235 fi; \
2236 srcdiroption="--srcdir=."; \
2237 libsrcdir="."; \
2238 else \
2239 srcdiroption="--srcdir=$${topdir}/bison"; \
2240 libsrcdir="$$s/bison"; \
2241 fi; \
2242 rm -f no-such-file || : ; \
2243 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2244 $(BUILD_CONFIGARGS) $${srcdiroption} \
2245 --with-build-subdir="$(BUILD_SUBDIR)" \
2246 || exit 1
2247 @endif build-bison
2249 .PHONY: all-build-bison maybe-all-build-bison
2250 maybe-all-build-bison:
2251 @if build-bison
2252 maybe-all-build-bison: all-build-bison
2253 all-build-bison: configure-build-bison
2254 @r=`${PWD_COMMAND}`; export r; \
2255 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2256 $(BUILD_EXPORTS) \
2257 (cd $(BUILD_SUBDIR)/bison && $(MAKE) all)
2258 @endif build-bison
2260 .PHONY: configure-build-byacc maybe-configure-build-byacc
2261 maybe-configure-build-byacc:
2262 @if build-byacc
2263 maybe-configure-build-byacc: configure-build-byacc
2264 configure-build-byacc:
2265 @test ! -f $(BUILD_SUBDIR)/byacc/Makefile || exit 0; \
2266 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/byacc ; \
2267 r=`${PWD_COMMAND}`; export r; \
2268 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2269 $(BUILD_EXPORTS) \
2270 echo Configuring in $(BUILD_SUBDIR)/byacc; \
2271 cd "$(BUILD_SUBDIR)/byacc" || exit 1; \
2272 case $(srcdir) in \
2273 /* | [A-Za-z]:[\\/]*) \
2274 topdir=$(srcdir) ;; \
2275 *) \
2276 case "$(BUILD_SUBDIR)" in \
2277 .) topdir="../$(srcdir)" ;; \
2278 *) topdir="../../$(srcdir)" ;; \
2279 esac ;; \
2280 esac; \
2281 if [ "$(srcdir)" = "." ] ; then \
2282 if [ "$(BUILD_SUBDIR)" != "." ] ; then \
2283 if $(SHELL) $$s/symlink-tree $${topdir}/byacc "no-such-file" ; then \
2284 if [ -f Makefile ]; then \
2285 if $(MAKE) distclean; then \
2286 true; \
2287 else \
2288 exit 1; \
2289 fi; \
2290 else \
2291 true; \
2292 fi; \
2293 else \
2294 exit 1; \
2295 fi; \
2296 else \
2297 true; \
2298 fi; \
2299 srcdiroption="--srcdir=."; \
2300 libsrcdir="."; \
2301 else \
2302 srcdiroption="--srcdir=$${topdir}/byacc"; \
2303 libsrcdir="$$s/byacc"; \
2304 fi; \
2305 rm -f no-such-file || : ; \
2306 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2307 $(BUILD_CONFIGARGS) $${srcdiroption} \
2308 --with-build-subdir="$(BUILD_SUBDIR)" \
2309 || exit 1
2310 @endif build-byacc
2312 .PHONY: all-build-byacc maybe-all-build-byacc
2313 maybe-all-build-byacc:
2314 @if build-byacc
2315 maybe-all-build-byacc: all-build-byacc
2316 all-build-byacc: configure-build-byacc
2317 @r=`${PWD_COMMAND}`; export r; \
2318 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2319 $(BUILD_EXPORTS) \
2320 (cd $(BUILD_SUBDIR)/byacc && $(MAKE) all)
2321 @endif build-byacc
2323 .PHONY: configure-build-flex maybe-configure-build-flex
2324 maybe-configure-build-flex:
2325 @if build-flex
2326 maybe-configure-build-flex: configure-build-flex
2327 configure-build-flex:
2328 @test ! -f $(BUILD_SUBDIR)/flex/Makefile || exit 0; \
2329 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/flex ; \
2330 r=`${PWD_COMMAND}`; export r; \
2331 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2332 $(BUILD_EXPORTS) \
2333 echo Configuring in $(BUILD_SUBDIR)/flex; \
2334 cd "$(BUILD_SUBDIR)/flex" || exit 1; \
2335 case $(srcdir) in \
2336 /* | [A-Za-z]:[\\/]*) \
2337 topdir=$(srcdir) ;; \
2338 *) \
2339 case "$(BUILD_SUBDIR)" in \
2340 .) topdir="../$(srcdir)" ;; \
2341 *) topdir="../../$(srcdir)" ;; \
2342 esac ;; \
2343 esac; \
2344 if [ "$(srcdir)" = "." ] ; then \
2345 if [ "$(BUILD_SUBDIR)" != "." ] ; then \
2346 if $(SHELL) $$s/symlink-tree $${topdir}/flex "no-such-file" ; then \
2347 if [ -f Makefile ]; then \
2348 if $(MAKE) distclean; then \
2349 true; \
2350 else \
2351 exit 1; \
2352 fi; \
2353 else \
2354 true; \
2355 fi; \
2356 else \
2357 exit 1; \
2358 fi; \
2359 else \
2360 true; \
2361 fi; \
2362 srcdiroption="--srcdir=."; \
2363 libsrcdir="."; \
2364 else \
2365 srcdiroption="--srcdir=$${topdir}/flex"; \
2366 libsrcdir="$$s/flex"; \
2367 fi; \
2368 rm -f no-such-file || : ; \
2369 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2370 $(BUILD_CONFIGARGS) $${srcdiroption} \
2371 --with-build-subdir="$(BUILD_SUBDIR)" \
2372 || exit 1
2373 @endif build-flex
2375 .PHONY: all-build-flex maybe-all-build-flex
2376 maybe-all-build-flex:
2377 @if build-flex
2378 maybe-all-build-flex: all-build-flex
2379 all-build-flex: configure-build-flex
2380 @r=`${PWD_COMMAND}`; export r; \
2381 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2382 $(BUILD_EXPORTS) \
2383 (cd $(BUILD_SUBDIR)/flex && $(MAKE) all)
2384 @endif build-flex
2386 .PHONY: configure-build-m4 maybe-configure-build-m4
2387 maybe-configure-build-m4:
2388 @if build-m4
2389 maybe-configure-build-m4: configure-build-m4
2390 configure-build-m4:
2391 @test ! -f $(BUILD_SUBDIR)/m4/Makefile || exit 0; \
2392 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/m4 ; \
2393 r=`${PWD_COMMAND}`; export r; \
2394 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2395 $(BUILD_EXPORTS) \
2396 echo Configuring in $(BUILD_SUBDIR)/m4; \
2397 cd "$(BUILD_SUBDIR)/m4" || exit 1; \
2398 case $(srcdir) in \
2399 /* | [A-Za-z]:[\\/]*) \
2400 topdir=$(srcdir) ;; \
2401 *) \
2402 case "$(BUILD_SUBDIR)" in \
2403 .) topdir="../$(srcdir)" ;; \
2404 *) topdir="../../$(srcdir)" ;; \
2405 esac ;; \
2406 esac; \
2407 if [ "$(srcdir)" = "." ] ; then \
2408 if [ "$(BUILD_SUBDIR)" != "." ] ; then \
2409 if $(SHELL) $$s/symlink-tree $${topdir}/m4 "no-such-file" ; then \
2410 if [ -f Makefile ]; then \
2411 if $(MAKE) distclean; then \
2412 true; \
2413 else \
2414 exit 1; \
2415 fi; \
2416 else \
2417 true; \
2418 fi; \
2419 else \
2420 exit 1; \
2421 fi; \
2422 else \
2423 true; \
2424 fi; \
2425 srcdiroption="--srcdir=."; \
2426 libsrcdir="."; \
2427 else \
2428 srcdiroption="--srcdir=$${topdir}/m4"; \
2429 libsrcdir="$$s/m4"; \
2430 fi; \
2431 rm -f no-such-file || : ; \
2432 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2433 $(BUILD_CONFIGARGS) $${srcdiroption} \
2434 --with-build-subdir="$(BUILD_SUBDIR)" \
2435 || exit 1
2436 @endif build-m4
2438 .PHONY: all-build-m4 maybe-all-build-m4
2439 maybe-all-build-m4:
2440 @if build-m4
2441 maybe-all-build-m4: all-build-m4
2442 all-build-m4: configure-build-m4
2443 @r=`${PWD_COMMAND}`; export r; \
2444 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2445 $(BUILD_EXPORTS) \
2446 (cd $(BUILD_SUBDIR)/m4 && $(MAKE) all)
2447 @endif build-m4
2449 .PHONY: configure-build-texinfo maybe-configure-build-texinfo
2450 maybe-configure-build-texinfo:
2451 @if build-texinfo
2452 maybe-configure-build-texinfo: configure-build-texinfo
2453 configure-build-texinfo:
2454 @test ! -f $(BUILD_SUBDIR)/texinfo/Makefile || exit 0; \
2455 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/texinfo ; \
2456 r=`${PWD_COMMAND}`; export r; \
2457 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2458 $(BUILD_EXPORTS) \
2459 echo Configuring in $(BUILD_SUBDIR)/texinfo; \
2460 cd "$(BUILD_SUBDIR)/texinfo" || exit 1; \
2461 case $(srcdir) in \
2462 /* | [A-Za-z]:[\\/]*) \
2463 topdir=$(srcdir) ;; \
2464 *) \
2465 case "$(BUILD_SUBDIR)" in \
2466 .) topdir="../$(srcdir)" ;; \
2467 *) topdir="../../$(srcdir)" ;; \
2468 esac ;; \
2469 esac; \
2470 if [ "$(srcdir)" = "." ] ; then \
2471 if [ "$(BUILD_SUBDIR)" != "." ] ; then \
2472 if $(SHELL) $$s/symlink-tree $${topdir}/texinfo "no-such-file" ; then \
2473 if [ -f Makefile ]; then \
2474 if $(MAKE) distclean; then \
2475 true; \
2476 else \
2477 exit 1; \
2478 fi; \
2479 else \
2480 true; \
2481 fi; \
2482 else \
2483 exit 1; \
2484 fi; \
2485 else \
2486 true; \
2487 fi; \
2488 srcdiroption="--srcdir=."; \
2489 libsrcdir="."; \
2490 else \
2491 srcdiroption="--srcdir=$${topdir}/texinfo"; \
2492 libsrcdir="$$s/texinfo"; \
2493 fi; \
2494 rm -f no-such-file || : ; \
2495 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2496 $(BUILD_CONFIGARGS) $${srcdiroption} \
2497 --with-build-subdir="$(BUILD_SUBDIR)" \
2498 || exit 1
2499 @endif build-texinfo
2501 .PHONY: all-build-texinfo maybe-all-build-texinfo
2502 maybe-all-build-texinfo:
2503 @if build-texinfo
2504 maybe-all-build-texinfo: all-build-texinfo
2505 all-build-texinfo: configure-build-texinfo
2506 @r=`${PWD_COMMAND}`; export r; \
2507 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2508 $(BUILD_EXPORTS) \
2509 (cd $(BUILD_SUBDIR)/texinfo && $(MAKE) all)
2510 @endif build-texinfo
2513 # --------------------------------------
2514 # Modules which run on the host machine
2515 # --------------------------------------
2517 .PHONY: configure-ash maybe-configure-ash
2518 maybe-configure-ash:
2519 @if ash
2520 maybe-configure-ash: configure-ash
2521 configure-ash:
2522 @test ! -f ash/Makefile || exit 0; \
2523 [ -d ash ] || mkdir ash; \
2524 r=`${PWD_COMMAND}`; export r; \
2525 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2526 $(HOST_EXPORTS) \
2527 echo Configuring in ash; \
2528 cd ash || exit 1; \
2529 case $(srcdir) in \
2530 \.) \
2531 srcdiroption="--srcdir=."; \
2532 libsrcdir=".";; \
2533 /* | [A-Za-z]:[\\/]*) \
2534 srcdiroption="--srcdir=$(srcdir)/ash"; \
2535 libsrcdir="$$s/ash";; \
2536 *) \
2537 srcdiroption="--srcdir=../$(srcdir)/ash"; \
2538 libsrcdir="$$s/ash";; \
2539 esac; \
2540 $(SHELL) $${libsrcdir}/configure \
2541 $(HOST_CONFIGARGS) $${srcdiroption} \
2542 || exit 1
2543 @endif ash
2545 .PHONY: all-ash maybe-all-ash
2546 maybe-all-ash:
2547 @if ash
2548 maybe-all-ash: all-ash
2549 all-ash: configure-ash
2550 @r=`${PWD_COMMAND}`; export r; \
2551 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2552 $(SET_LIB_PATH) \
2553 $(HOST_EXPORTS) \
2554 (cd ash && $(MAKE) $(FLAGS_TO_PASS) all)
2555 @endif ash
2557 .PHONY: check-ash maybe-check-ash
2558 maybe-check-ash:
2559 @if ash
2560 maybe-check-ash: check-ash
2562 check-ash:
2563 @r=`${PWD_COMMAND}`; export r; \
2564 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2565 $(SET_LIB_PATH) \
2566 $(HOST_EXPORTS) \
2567 (cd ash && $(MAKE) $(FLAGS_TO_PASS) check)
2569 @endif ash
2571 .PHONY: install-ash maybe-install-ash
2572 maybe-install-ash:
2573 @if ash
2574 maybe-install-ash: install-ash
2576 install-ash: installdirs
2577 @r=`${PWD_COMMAND}`; export r; \
2578 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2579 $(SET_LIB_PATH) \
2580 $(HOST_EXPORTS) \
2581 (cd ash && $(MAKE) $(FLAGS_TO_PASS) install)
2583 @endif ash
2585 # Other targets (info, dvi, etc.)
2587 .PHONY: maybe-info-ash info-ash
2588 maybe-info-ash:
2589 @if ash
2590 maybe-info-ash: info-ash
2592 info-ash: \
2593 configure-ash
2594 @[ -f ./ash/Makefile ] || exit 0; \
2595 r=`${PWD_COMMAND}`; export r; \
2596 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2597 $(SET_LIB_PATH) \
2598 $(HOST_EXPORTS) \
2599 for flag in $(EXTRA_HOST_FLAGS) ; do \
2600 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2601 done; \
2602 echo "Doing info in ash" ; \
2603 (cd ash && \
2604 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2605 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2606 "RANLIB=$${RANLIB}" \
2607 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2608 info) \
2609 || exit 1
2611 @endif ash
2613 .PHONY: maybe-dvi-ash dvi-ash
2614 maybe-dvi-ash:
2615 @if ash
2616 maybe-dvi-ash: dvi-ash
2618 dvi-ash: \
2619 configure-ash
2620 @[ -f ./ash/Makefile ] || exit 0; \
2621 r=`${PWD_COMMAND}`; export r; \
2622 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2623 $(SET_LIB_PATH) \
2624 $(HOST_EXPORTS) \
2625 for flag in $(EXTRA_HOST_FLAGS) ; do \
2626 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2627 done; \
2628 echo "Doing dvi in ash" ; \
2629 (cd ash && \
2630 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2631 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2632 "RANLIB=$${RANLIB}" \
2633 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2634 dvi) \
2635 || exit 1
2637 @endif ash
2639 .PHONY: maybe-TAGS-ash TAGS-ash
2640 maybe-TAGS-ash:
2641 @if ash
2642 maybe-TAGS-ash: TAGS-ash
2644 TAGS-ash: \
2645 configure-ash
2646 @[ -f ./ash/Makefile ] || exit 0; \
2647 r=`${PWD_COMMAND}`; export r; \
2648 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2649 $(SET_LIB_PATH) \
2650 $(HOST_EXPORTS) \
2651 for flag in $(EXTRA_HOST_FLAGS) ; do \
2652 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2653 done; \
2654 echo "Doing TAGS in ash" ; \
2655 (cd ash && \
2656 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2657 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2658 "RANLIB=$${RANLIB}" \
2659 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2660 TAGS) \
2661 || exit 1
2663 @endif ash
2665 .PHONY: maybe-install-info-ash install-info-ash
2666 maybe-install-info-ash:
2667 @if ash
2668 maybe-install-info-ash: install-info-ash
2670 install-info-ash: \
2671 configure-ash \
2672 info-ash
2673 @[ -f ./ash/Makefile ] || exit 0; \
2674 r=`${PWD_COMMAND}`; export r; \
2675 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2676 $(SET_LIB_PATH) \
2677 $(HOST_EXPORTS) \
2678 for flag in $(EXTRA_HOST_FLAGS) ; do \
2679 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2680 done; \
2681 echo "Doing install-info in ash" ; \
2682 (cd ash && \
2683 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2684 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2685 "RANLIB=$${RANLIB}" \
2686 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2687 install-info) \
2688 || exit 1
2690 @endif ash
2692 .PHONY: maybe-installcheck-ash installcheck-ash
2693 maybe-installcheck-ash:
2694 @if ash
2695 maybe-installcheck-ash: installcheck-ash
2697 installcheck-ash: \
2698 configure-ash
2699 @[ -f ./ash/Makefile ] || exit 0; \
2700 r=`${PWD_COMMAND}`; export r; \
2701 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2702 $(SET_LIB_PATH) \
2703 $(HOST_EXPORTS) \
2704 for flag in $(EXTRA_HOST_FLAGS) ; do \
2705 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2706 done; \
2707 echo "Doing installcheck in ash" ; \
2708 (cd ash && \
2709 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2710 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2711 "RANLIB=$${RANLIB}" \
2712 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2713 installcheck) \
2714 || exit 1
2716 @endif ash
2718 .PHONY: maybe-mostlyclean-ash mostlyclean-ash
2719 maybe-mostlyclean-ash:
2720 @if ash
2721 maybe-mostlyclean-ash: mostlyclean-ash
2723 mostlyclean-ash:
2724 @[ -f ./ash/Makefile ] || exit 0; \
2725 r=`${PWD_COMMAND}`; export r; \
2726 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2727 $(SET_LIB_PATH) \
2728 $(HOST_EXPORTS) \
2729 for flag in $(EXTRA_HOST_FLAGS) ; do \
2730 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2731 done; \
2732 echo "Doing mostlyclean in ash" ; \
2733 (cd ash && \
2734 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2735 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2736 "RANLIB=$${RANLIB}" \
2737 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2738 mostlyclean) \
2739 || exit 1
2741 @endif ash
2743 .PHONY: maybe-clean-ash clean-ash
2744 maybe-clean-ash:
2745 @if ash
2746 maybe-clean-ash: clean-ash
2748 clean-ash:
2749 @[ -f ./ash/Makefile ] || exit 0; \
2750 r=`${PWD_COMMAND}`; export r; \
2751 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2752 $(SET_LIB_PATH) \
2753 $(HOST_EXPORTS) \
2754 for flag in $(EXTRA_HOST_FLAGS) ; do \
2755 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2756 done; \
2757 echo "Doing clean in ash" ; \
2758 (cd ash && \
2759 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2760 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2761 "RANLIB=$${RANLIB}" \
2762 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2763 clean) \
2764 || exit 1
2766 @endif ash
2768 .PHONY: maybe-distclean-ash distclean-ash
2769 maybe-distclean-ash:
2770 @if ash
2771 maybe-distclean-ash: distclean-ash
2773 distclean-ash:
2774 @[ -f ./ash/Makefile ] || exit 0; \
2775 r=`${PWD_COMMAND}`; export r; \
2776 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2777 $(SET_LIB_PATH) \
2778 $(HOST_EXPORTS) \
2779 for flag in $(EXTRA_HOST_FLAGS) ; do \
2780 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2781 done; \
2782 echo "Doing distclean in ash" ; \
2783 (cd ash && \
2784 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2785 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2786 "RANLIB=$${RANLIB}" \
2787 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2788 distclean) \
2789 || exit 1
2791 @endif ash
2793 .PHONY: maybe-maintainer-clean-ash maintainer-clean-ash
2794 maybe-maintainer-clean-ash:
2795 @if ash
2796 maybe-maintainer-clean-ash: maintainer-clean-ash
2798 maintainer-clean-ash:
2799 @[ -f ./ash/Makefile ] || exit 0; \
2800 r=`${PWD_COMMAND}`; export r; \
2801 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2802 $(SET_LIB_PATH) \
2803 $(HOST_EXPORTS) \
2804 for flag in $(EXTRA_HOST_FLAGS) ; do \
2805 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2806 done; \
2807 echo "Doing maintainer-clean in ash" ; \
2808 (cd ash && \
2809 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2810 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2811 "RANLIB=$${RANLIB}" \
2812 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2813 maintainer-clean) \
2814 || exit 1
2816 @endif ash
2819 .PHONY: configure-autoconf maybe-configure-autoconf
2820 maybe-configure-autoconf:
2821 @if autoconf
2822 maybe-configure-autoconf: configure-autoconf
2823 configure-autoconf:
2824 @test ! -f autoconf/Makefile || exit 0; \
2825 [ -d autoconf ] || mkdir autoconf; \
2826 r=`${PWD_COMMAND}`; export r; \
2827 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2828 $(HOST_EXPORTS) \
2829 echo Configuring in autoconf; \
2830 cd autoconf || exit 1; \
2831 case $(srcdir) in \
2832 \.) \
2833 srcdiroption="--srcdir=."; \
2834 libsrcdir=".";; \
2835 /* | [A-Za-z]:[\\/]*) \
2836 srcdiroption="--srcdir=$(srcdir)/autoconf"; \
2837 libsrcdir="$$s/autoconf";; \
2838 *) \
2839 srcdiroption="--srcdir=../$(srcdir)/autoconf"; \
2840 libsrcdir="$$s/autoconf";; \
2841 esac; \
2842 $(SHELL) $${libsrcdir}/configure \
2843 $(HOST_CONFIGARGS) $${srcdiroption} \
2844 || exit 1
2845 @endif autoconf
2847 .PHONY: all-autoconf maybe-all-autoconf
2848 maybe-all-autoconf:
2849 @if autoconf
2850 maybe-all-autoconf: all-autoconf
2851 all-autoconf: configure-autoconf
2852 @r=`${PWD_COMMAND}`; export r; \
2853 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2854 $(SET_LIB_PATH) \
2855 $(HOST_EXPORTS) \
2856 (cd autoconf && $(MAKE) $(FLAGS_TO_PASS) all)
2857 @endif autoconf
2859 .PHONY: check-autoconf maybe-check-autoconf
2860 maybe-check-autoconf:
2861 @if autoconf
2862 maybe-check-autoconf: check-autoconf
2864 check-autoconf:
2865 @r=`${PWD_COMMAND}`; export r; \
2866 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2867 $(SET_LIB_PATH) \
2868 $(HOST_EXPORTS) \
2869 (cd autoconf && $(MAKE) $(FLAGS_TO_PASS) check)
2871 @endif autoconf
2873 .PHONY: install-autoconf maybe-install-autoconf
2874 maybe-install-autoconf:
2875 @if autoconf
2876 maybe-install-autoconf: install-autoconf
2878 install-autoconf: installdirs
2879 @r=`${PWD_COMMAND}`; export r; \
2880 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2881 $(SET_LIB_PATH) \
2882 $(HOST_EXPORTS) \
2883 (cd autoconf && $(MAKE) $(FLAGS_TO_PASS) install)
2885 @endif autoconf
2887 # Other targets (info, dvi, etc.)
2889 .PHONY: maybe-info-autoconf info-autoconf
2890 maybe-info-autoconf:
2891 @if autoconf
2892 maybe-info-autoconf: info-autoconf
2894 info-autoconf: \
2895 configure-autoconf
2896 @[ -f ./autoconf/Makefile ] || exit 0; \
2897 r=`${PWD_COMMAND}`; export r; \
2898 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2899 $(SET_LIB_PATH) \
2900 $(HOST_EXPORTS) \
2901 for flag in $(EXTRA_HOST_FLAGS) ; do \
2902 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2903 done; \
2904 echo "Doing info in autoconf" ; \
2905 (cd autoconf && \
2906 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2907 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2908 "RANLIB=$${RANLIB}" \
2909 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2910 info) \
2911 || exit 1
2913 @endif autoconf
2915 .PHONY: maybe-dvi-autoconf dvi-autoconf
2916 maybe-dvi-autoconf:
2917 @if autoconf
2918 maybe-dvi-autoconf: dvi-autoconf
2920 dvi-autoconf: \
2921 configure-autoconf
2922 @[ -f ./autoconf/Makefile ] || exit 0; \
2923 r=`${PWD_COMMAND}`; export r; \
2924 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2925 $(SET_LIB_PATH) \
2926 $(HOST_EXPORTS) \
2927 for flag in $(EXTRA_HOST_FLAGS) ; do \
2928 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2929 done; \
2930 echo "Doing dvi in autoconf" ; \
2931 (cd autoconf && \
2932 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2933 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2934 "RANLIB=$${RANLIB}" \
2935 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2936 dvi) \
2937 || exit 1
2939 @endif autoconf
2941 .PHONY: maybe-TAGS-autoconf TAGS-autoconf
2942 maybe-TAGS-autoconf:
2943 @if autoconf
2944 maybe-TAGS-autoconf: TAGS-autoconf
2946 TAGS-autoconf: \
2947 configure-autoconf
2948 @[ -f ./autoconf/Makefile ] || exit 0; \
2949 r=`${PWD_COMMAND}`; export r; \
2950 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2951 $(SET_LIB_PATH) \
2952 $(HOST_EXPORTS) \
2953 for flag in $(EXTRA_HOST_FLAGS) ; do \
2954 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2955 done; \
2956 echo "Doing TAGS in autoconf" ; \
2957 (cd autoconf && \
2958 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2959 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2960 "RANLIB=$${RANLIB}" \
2961 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2962 TAGS) \
2963 || exit 1
2965 @endif autoconf
2967 .PHONY: maybe-install-info-autoconf install-info-autoconf
2968 maybe-install-info-autoconf:
2969 @if autoconf
2970 maybe-install-info-autoconf: install-info-autoconf
2972 install-info-autoconf: \
2973 configure-autoconf \
2974 info-autoconf
2975 @[ -f ./autoconf/Makefile ] || exit 0; \
2976 r=`${PWD_COMMAND}`; export r; \
2977 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2978 $(SET_LIB_PATH) \
2979 $(HOST_EXPORTS) \
2980 for flag in $(EXTRA_HOST_FLAGS) ; do \
2981 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2982 done; \
2983 echo "Doing install-info in autoconf" ; \
2984 (cd autoconf && \
2985 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2986 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2987 "RANLIB=$${RANLIB}" \
2988 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2989 install-info) \
2990 || exit 1
2992 @endif autoconf
2994 .PHONY: maybe-installcheck-autoconf installcheck-autoconf
2995 maybe-installcheck-autoconf:
2996 @if autoconf
2997 maybe-installcheck-autoconf: installcheck-autoconf
2999 installcheck-autoconf: \
3000 configure-autoconf
3001 @[ -f ./autoconf/Makefile ] || exit 0; \
3002 r=`${PWD_COMMAND}`; export r; \
3003 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3004 $(SET_LIB_PATH) \
3005 $(HOST_EXPORTS) \
3006 for flag in $(EXTRA_HOST_FLAGS) ; do \
3007 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3008 done; \
3009 echo "Doing installcheck in autoconf" ; \
3010 (cd autoconf && \
3011 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3012 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3013 "RANLIB=$${RANLIB}" \
3014 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3015 installcheck) \
3016 || exit 1
3018 @endif autoconf
3020 .PHONY: maybe-mostlyclean-autoconf mostlyclean-autoconf
3021 maybe-mostlyclean-autoconf:
3022 @if autoconf
3023 maybe-mostlyclean-autoconf: mostlyclean-autoconf
3025 mostlyclean-autoconf:
3026 @[ -f ./autoconf/Makefile ] || exit 0; \
3027 r=`${PWD_COMMAND}`; export r; \
3028 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3029 $(SET_LIB_PATH) \
3030 $(HOST_EXPORTS) \
3031 for flag in $(EXTRA_HOST_FLAGS) ; do \
3032 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3033 done; \
3034 echo "Doing mostlyclean in autoconf" ; \
3035 (cd autoconf && \
3036 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3037 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3038 "RANLIB=$${RANLIB}" \
3039 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3040 mostlyclean) \
3041 || exit 1
3043 @endif autoconf
3045 .PHONY: maybe-clean-autoconf clean-autoconf
3046 maybe-clean-autoconf:
3047 @if autoconf
3048 maybe-clean-autoconf: clean-autoconf
3050 clean-autoconf:
3051 @[ -f ./autoconf/Makefile ] || exit 0; \
3052 r=`${PWD_COMMAND}`; export r; \
3053 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3054 $(SET_LIB_PATH) \
3055 $(HOST_EXPORTS) \
3056 for flag in $(EXTRA_HOST_FLAGS) ; do \
3057 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3058 done; \
3059 echo "Doing clean in autoconf" ; \
3060 (cd autoconf && \
3061 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3062 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3063 "RANLIB=$${RANLIB}" \
3064 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3065 clean) \
3066 || exit 1
3068 @endif autoconf
3070 .PHONY: maybe-distclean-autoconf distclean-autoconf
3071 maybe-distclean-autoconf:
3072 @if autoconf
3073 maybe-distclean-autoconf: distclean-autoconf
3075 distclean-autoconf:
3076 @[ -f ./autoconf/Makefile ] || exit 0; \
3077 r=`${PWD_COMMAND}`; export r; \
3078 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3079 $(SET_LIB_PATH) \
3080 $(HOST_EXPORTS) \
3081 for flag in $(EXTRA_HOST_FLAGS) ; do \
3082 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3083 done; \
3084 echo "Doing distclean in autoconf" ; \
3085 (cd autoconf && \
3086 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3087 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3088 "RANLIB=$${RANLIB}" \
3089 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3090 distclean) \
3091 || exit 1
3093 @endif autoconf
3095 .PHONY: maybe-maintainer-clean-autoconf maintainer-clean-autoconf
3096 maybe-maintainer-clean-autoconf:
3097 @if autoconf
3098 maybe-maintainer-clean-autoconf: maintainer-clean-autoconf
3100 maintainer-clean-autoconf:
3101 @[ -f ./autoconf/Makefile ] || exit 0; \
3102 r=`${PWD_COMMAND}`; export r; \
3103 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3104 $(SET_LIB_PATH) \
3105 $(HOST_EXPORTS) \
3106 for flag in $(EXTRA_HOST_FLAGS) ; do \
3107 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3108 done; \
3109 echo "Doing maintainer-clean in autoconf" ; \
3110 (cd autoconf && \
3111 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3112 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3113 "RANLIB=$${RANLIB}" \
3114 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3115 maintainer-clean) \
3116 || exit 1
3118 @endif autoconf
3121 .PHONY: configure-automake maybe-configure-automake
3122 maybe-configure-automake:
3123 @if automake
3124 maybe-configure-automake: configure-automake
3125 configure-automake:
3126 @test ! -f automake/Makefile || exit 0; \
3127 [ -d automake ] || mkdir automake; \
3128 r=`${PWD_COMMAND}`; export r; \
3129 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3130 $(HOST_EXPORTS) \
3131 echo Configuring in automake; \
3132 cd automake || exit 1; \
3133 case $(srcdir) in \
3134 \.) \
3135 srcdiroption="--srcdir=."; \
3136 libsrcdir=".";; \
3137 /* | [A-Za-z]:[\\/]*) \
3138 srcdiroption="--srcdir=$(srcdir)/automake"; \
3139 libsrcdir="$$s/automake";; \
3140 *) \
3141 srcdiroption="--srcdir=../$(srcdir)/automake"; \
3142 libsrcdir="$$s/automake";; \
3143 esac; \
3144 $(SHELL) $${libsrcdir}/configure \
3145 $(HOST_CONFIGARGS) $${srcdiroption} \
3146 || exit 1
3147 @endif automake
3149 .PHONY: all-automake maybe-all-automake
3150 maybe-all-automake:
3151 @if automake
3152 maybe-all-automake: all-automake
3153 all-automake: configure-automake
3154 @r=`${PWD_COMMAND}`; export r; \
3155 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3156 $(SET_LIB_PATH) \
3157 $(HOST_EXPORTS) \
3158 (cd automake && $(MAKE) $(FLAGS_TO_PASS) all)
3159 @endif automake
3161 .PHONY: check-automake maybe-check-automake
3162 maybe-check-automake:
3163 @if automake
3164 maybe-check-automake: check-automake
3166 check-automake:
3167 @r=`${PWD_COMMAND}`; export r; \
3168 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3169 $(SET_LIB_PATH) \
3170 $(HOST_EXPORTS) \
3171 (cd automake && $(MAKE) $(FLAGS_TO_PASS) check)
3173 @endif automake
3175 .PHONY: install-automake maybe-install-automake
3176 maybe-install-automake:
3177 @if automake
3178 maybe-install-automake: install-automake
3180 install-automake: installdirs
3181 @r=`${PWD_COMMAND}`; export r; \
3182 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3183 $(SET_LIB_PATH) \
3184 $(HOST_EXPORTS) \
3185 (cd automake && $(MAKE) $(FLAGS_TO_PASS) install)
3187 @endif automake
3189 # Other targets (info, dvi, etc.)
3191 .PHONY: maybe-info-automake info-automake
3192 maybe-info-automake:
3193 @if automake
3194 maybe-info-automake: info-automake
3196 info-automake: \
3197 configure-automake
3198 @[ -f ./automake/Makefile ] || exit 0; \
3199 r=`${PWD_COMMAND}`; export r; \
3200 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3201 $(SET_LIB_PATH) \
3202 $(HOST_EXPORTS) \
3203 for flag in $(EXTRA_HOST_FLAGS) ; do \
3204 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3205 done; \
3206 echo "Doing info in automake" ; \
3207 (cd automake && \
3208 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3209 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3210 "RANLIB=$${RANLIB}" \
3211 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3212 info) \
3213 || exit 1
3215 @endif automake
3217 .PHONY: maybe-dvi-automake dvi-automake
3218 maybe-dvi-automake:
3219 @if automake
3220 maybe-dvi-automake: dvi-automake
3222 dvi-automake: \
3223 configure-automake
3224 @[ -f ./automake/Makefile ] || exit 0; \
3225 r=`${PWD_COMMAND}`; export r; \
3226 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3227 $(SET_LIB_PATH) \
3228 $(HOST_EXPORTS) \
3229 for flag in $(EXTRA_HOST_FLAGS) ; do \
3230 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3231 done; \
3232 echo "Doing dvi in automake" ; \
3233 (cd automake && \
3234 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3235 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3236 "RANLIB=$${RANLIB}" \
3237 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3238 dvi) \
3239 || exit 1
3241 @endif automake
3243 .PHONY: maybe-TAGS-automake TAGS-automake
3244 maybe-TAGS-automake:
3245 @if automake
3246 maybe-TAGS-automake: TAGS-automake
3248 TAGS-automake: \
3249 configure-automake
3250 @[ -f ./automake/Makefile ] || exit 0; \
3251 r=`${PWD_COMMAND}`; export r; \
3252 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3253 $(SET_LIB_PATH) \
3254 $(HOST_EXPORTS) \
3255 for flag in $(EXTRA_HOST_FLAGS) ; do \
3256 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3257 done; \
3258 echo "Doing TAGS in automake" ; \
3259 (cd automake && \
3260 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3261 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3262 "RANLIB=$${RANLIB}" \
3263 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3264 TAGS) \
3265 || exit 1
3267 @endif automake
3269 .PHONY: maybe-install-info-automake install-info-automake
3270 maybe-install-info-automake:
3271 @if automake
3272 maybe-install-info-automake: install-info-automake
3274 install-info-automake: \
3275 configure-automake \
3276 info-automake
3277 @[ -f ./automake/Makefile ] || exit 0; \
3278 r=`${PWD_COMMAND}`; export r; \
3279 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3280 $(SET_LIB_PATH) \
3281 $(HOST_EXPORTS) \
3282 for flag in $(EXTRA_HOST_FLAGS) ; do \
3283 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3284 done; \
3285 echo "Doing install-info in automake" ; \
3286 (cd automake && \
3287 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3288 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3289 "RANLIB=$${RANLIB}" \
3290 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3291 install-info) \
3292 || exit 1
3294 @endif automake
3296 .PHONY: maybe-installcheck-automake installcheck-automake
3297 maybe-installcheck-automake:
3298 @if automake
3299 maybe-installcheck-automake: installcheck-automake
3301 installcheck-automake: \
3302 configure-automake
3303 @[ -f ./automake/Makefile ] || exit 0; \
3304 r=`${PWD_COMMAND}`; export r; \
3305 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3306 $(SET_LIB_PATH) \
3307 $(HOST_EXPORTS) \
3308 for flag in $(EXTRA_HOST_FLAGS) ; do \
3309 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3310 done; \
3311 echo "Doing installcheck in automake" ; \
3312 (cd automake && \
3313 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3314 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3315 "RANLIB=$${RANLIB}" \
3316 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3317 installcheck) \
3318 || exit 1
3320 @endif automake
3322 .PHONY: maybe-mostlyclean-automake mostlyclean-automake
3323 maybe-mostlyclean-automake:
3324 @if automake
3325 maybe-mostlyclean-automake: mostlyclean-automake
3327 mostlyclean-automake:
3328 @[ -f ./automake/Makefile ] || exit 0; \
3329 r=`${PWD_COMMAND}`; export r; \
3330 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3331 $(SET_LIB_PATH) \
3332 $(HOST_EXPORTS) \
3333 for flag in $(EXTRA_HOST_FLAGS) ; do \
3334 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3335 done; \
3336 echo "Doing mostlyclean in automake" ; \
3337 (cd automake && \
3338 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3339 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3340 "RANLIB=$${RANLIB}" \
3341 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3342 mostlyclean) \
3343 || exit 1
3345 @endif automake
3347 .PHONY: maybe-clean-automake clean-automake
3348 maybe-clean-automake:
3349 @if automake
3350 maybe-clean-automake: clean-automake
3352 clean-automake:
3353 @[ -f ./automake/Makefile ] || exit 0; \
3354 r=`${PWD_COMMAND}`; export r; \
3355 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3356 $(SET_LIB_PATH) \
3357 $(HOST_EXPORTS) \
3358 for flag in $(EXTRA_HOST_FLAGS) ; do \
3359 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3360 done; \
3361 echo "Doing clean in automake" ; \
3362 (cd automake && \
3363 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3364 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3365 "RANLIB=$${RANLIB}" \
3366 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3367 clean) \
3368 || exit 1
3370 @endif automake
3372 .PHONY: maybe-distclean-automake distclean-automake
3373 maybe-distclean-automake:
3374 @if automake
3375 maybe-distclean-automake: distclean-automake
3377 distclean-automake:
3378 @[ -f ./automake/Makefile ] || exit 0; \
3379 r=`${PWD_COMMAND}`; export r; \
3380 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3381 $(SET_LIB_PATH) \
3382 $(HOST_EXPORTS) \
3383 for flag in $(EXTRA_HOST_FLAGS) ; do \
3384 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3385 done; \
3386 echo "Doing distclean in automake" ; \
3387 (cd automake && \
3388 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3389 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3390 "RANLIB=$${RANLIB}" \
3391 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3392 distclean) \
3393 || exit 1
3395 @endif automake
3397 .PHONY: maybe-maintainer-clean-automake maintainer-clean-automake
3398 maybe-maintainer-clean-automake:
3399 @if automake
3400 maybe-maintainer-clean-automake: maintainer-clean-automake
3402 maintainer-clean-automake:
3403 @[ -f ./automake/Makefile ] || exit 0; \
3404 r=`${PWD_COMMAND}`; export r; \
3405 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3406 $(SET_LIB_PATH) \
3407 $(HOST_EXPORTS) \
3408 for flag in $(EXTRA_HOST_FLAGS) ; do \
3409 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3410 done; \
3411 echo "Doing maintainer-clean in automake" ; \
3412 (cd automake && \
3413 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3414 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3415 "RANLIB=$${RANLIB}" \
3416 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3417 maintainer-clean) \
3418 || exit 1
3420 @endif automake
3423 .PHONY: configure-bash maybe-configure-bash
3424 maybe-configure-bash:
3425 @if bash
3426 maybe-configure-bash: configure-bash
3427 configure-bash:
3428 @test ! -f bash/Makefile || exit 0; \
3429 [ -d bash ] || mkdir bash; \
3430 r=`${PWD_COMMAND}`; export r; \
3431 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3432 $(HOST_EXPORTS) \
3433 echo Configuring in bash; \
3434 cd bash || exit 1; \
3435 case $(srcdir) in \
3436 \.) \
3437 srcdiroption="--srcdir=."; \
3438 libsrcdir=".";; \
3439 /* | [A-Za-z]:[\\/]*) \
3440 srcdiroption="--srcdir=$(srcdir)/bash"; \
3441 libsrcdir="$$s/bash";; \
3442 *) \
3443 srcdiroption="--srcdir=../$(srcdir)/bash"; \
3444 libsrcdir="$$s/bash";; \
3445 esac; \
3446 $(SHELL) $${libsrcdir}/configure \
3447 $(HOST_CONFIGARGS) $${srcdiroption} \
3448 || exit 1
3449 @endif bash
3451 .PHONY: all-bash maybe-all-bash
3452 maybe-all-bash:
3453 @if bash
3454 maybe-all-bash: all-bash
3455 all-bash: configure-bash
3456 @r=`${PWD_COMMAND}`; export r; \
3457 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3458 $(SET_LIB_PATH) \
3459 $(HOST_EXPORTS) \
3460 (cd bash && $(MAKE) $(FLAGS_TO_PASS) all)
3461 @endif bash
3463 .PHONY: check-bash maybe-check-bash
3464 maybe-check-bash:
3465 @if bash
3466 maybe-check-bash: check-bash
3468 check-bash:
3469 @r=`${PWD_COMMAND}`; export r; \
3470 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3471 $(SET_LIB_PATH) \
3472 $(HOST_EXPORTS) \
3473 (cd bash && $(MAKE) $(FLAGS_TO_PASS) check)
3475 @endif bash
3477 .PHONY: install-bash maybe-install-bash
3478 maybe-install-bash:
3479 @if bash
3480 maybe-install-bash: install-bash
3482 install-bash: installdirs
3483 @r=`${PWD_COMMAND}`; export r; \
3484 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3485 $(SET_LIB_PATH) \
3486 $(HOST_EXPORTS) \
3487 (cd bash && $(MAKE) $(FLAGS_TO_PASS) install)
3489 @endif bash
3491 # Other targets (info, dvi, etc.)
3493 .PHONY: maybe-info-bash info-bash
3494 maybe-info-bash:
3495 @if bash
3496 maybe-info-bash: info-bash
3498 info-bash: \
3499 configure-bash
3500 @[ -f ./bash/Makefile ] || exit 0; \
3501 r=`${PWD_COMMAND}`; export r; \
3502 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3503 $(SET_LIB_PATH) \
3504 $(HOST_EXPORTS) \
3505 for flag in $(EXTRA_HOST_FLAGS) ; do \
3506 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3507 done; \
3508 echo "Doing info in bash" ; \
3509 (cd bash && \
3510 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3511 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3512 "RANLIB=$${RANLIB}" \
3513 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3514 info) \
3515 || exit 1
3517 @endif bash
3519 .PHONY: maybe-dvi-bash dvi-bash
3520 maybe-dvi-bash:
3521 @if bash
3522 maybe-dvi-bash: dvi-bash
3524 dvi-bash: \
3525 configure-bash
3526 @[ -f ./bash/Makefile ] || exit 0; \
3527 r=`${PWD_COMMAND}`; export r; \
3528 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3529 $(SET_LIB_PATH) \
3530 $(HOST_EXPORTS) \
3531 for flag in $(EXTRA_HOST_FLAGS) ; do \
3532 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3533 done; \
3534 echo "Doing dvi in bash" ; \
3535 (cd bash && \
3536 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3537 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3538 "RANLIB=$${RANLIB}" \
3539 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3540 dvi) \
3541 || exit 1
3543 @endif bash
3545 .PHONY: maybe-TAGS-bash TAGS-bash
3546 maybe-TAGS-bash:
3547 @if bash
3548 maybe-TAGS-bash: TAGS-bash
3550 TAGS-bash: \
3551 configure-bash
3552 @[ -f ./bash/Makefile ] || exit 0; \
3553 r=`${PWD_COMMAND}`; export r; \
3554 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3555 $(SET_LIB_PATH) \
3556 $(HOST_EXPORTS) \
3557 for flag in $(EXTRA_HOST_FLAGS) ; do \
3558 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3559 done; \
3560 echo "Doing TAGS in bash" ; \
3561 (cd bash && \
3562 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3563 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3564 "RANLIB=$${RANLIB}" \
3565 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3566 TAGS) \
3567 || exit 1
3569 @endif bash
3571 .PHONY: maybe-install-info-bash install-info-bash
3572 maybe-install-info-bash:
3573 @if bash
3574 maybe-install-info-bash: install-info-bash
3576 install-info-bash: \
3577 configure-bash \
3578 info-bash
3579 @[ -f ./bash/Makefile ] || exit 0; \
3580 r=`${PWD_COMMAND}`; export r; \
3581 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3582 $(SET_LIB_PATH) \
3583 $(HOST_EXPORTS) \
3584 for flag in $(EXTRA_HOST_FLAGS) ; do \
3585 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3586 done; \
3587 echo "Doing install-info in bash" ; \
3588 (cd bash && \
3589 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3590 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3591 "RANLIB=$${RANLIB}" \
3592 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3593 install-info) \
3594 || exit 1
3596 @endif bash
3598 .PHONY: maybe-installcheck-bash installcheck-bash
3599 maybe-installcheck-bash:
3600 @if bash
3601 maybe-installcheck-bash: installcheck-bash
3603 installcheck-bash: \
3604 configure-bash
3605 @[ -f ./bash/Makefile ] || exit 0; \
3606 r=`${PWD_COMMAND}`; export r; \
3607 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3608 $(SET_LIB_PATH) \
3609 $(HOST_EXPORTS) \
3610 for flag in $(EXTRA_HOST_FLAGS) ; do \
3611 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3612 done; \
3613 echo "Doing installcheck in bash" ; \
3614 (cd bash && \
3615 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3616 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3617 "RANLIB=$${RANLIB}" \
3618 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3619 installcheck) \
3620 || exit 1
3622 @endif bash
3624 .PHONY: maybe-mostlyclean-bash mostlyclean-bash
3625 maybe-mostlyclean-bash:
3626 @if bash
3627 maybe-mostlyclean-bash: mostlyclean-bash
3629 mostlyclean-bash:
3630 @[ -f ./bash/Makefile ] || exit 0; \
3631 r=`${PWD_COMMAND}`; export r; \
3632 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3633 $(SET_LIB_PATH) \
3634 $(HOST_EXPORTS) \
3635 for flag in $(EXTRA_HOST_FLAGS) ; do \
3636 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3637 done; \
3638 echo "Doing mostlyclean in bash" ; \
3639 (cd bash && \
3640 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3641 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3642 "RANLIB=$${RANLIB}" \
3643 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3644 mostlyclean) \
3645 || exit 1
3647 @endif bash
3649 .PHONY: maybe-clean-bash clean-bash
3650 maybe-clean-bash:
3651 @if bash
3652 maybe-clean-bash: clean-bash
3654 clean-bash:
3655 @[ -f ./bash/Makefile ] || exit 0; \
3656 r=`${PWD_COMMAND}`; export r; \
3657 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3658 $(SET_LIB_PATH) \
3659 $(HOST_EXPORTS) \
3660 for flag in $(EXTRA_HOST_FLAGS) ; do \
3661 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3662 done; \
3663 echo "Doing clean in bash" ; \
3664 (cd bash && \
3665 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3666 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3667 "RANLIB=$${RANLIB}" \
3668 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3669 clean) \
3670 || exit 1
3672 @endif bash
3674 .PHONY: maybe-distclean-bash distclean-bash
3675 maybe-distclean-bash:
3676 @if bash
3677 maybe-distclean-bash: distclean-bash
3679 distclean-bash:
3680 @[ -f ./bash/Makefile ] || exit 0; \
3681 r=`${PWD_COMMAND}`; export r; \
3682 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3683 $(SET_LIB_PATH) \
3684 $(HOST_EXPORTS) \
3685 for flag in $(EXTRA_HOST_FLAGS) ; do \
3686 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3687 done; \
3688 echo "Doing distclean in bash" ; \
3689 (cd bash && \
3690 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3691 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3692 "RANLIB=$${RANLIB}" \
3693 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3694 distclean) \
3695 || exit 1
3697 @endif bash
3699 .PHONY: maybe-maintainer-clean-bash maintainer-clean-bash
3700 maybe-maintainer-clean-bash:
3701 @if bash
3702 maybe-maintainer-clean-bash: maintainer-clean-bash
3704 maintainer-clean-bash:
3705 @[ -f ./bash/Makefile ] || exit 0; \
3706 r=`${PWD_COMMAND}`; export r; \
3707 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3708 $(SET_LIB_PATH) \
3709 $(HOST_EXPORTS) \
3710 for flag in $(EXTRA_HOST_FLAGS) ; do \
3711 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3712 done; \
3713 echo "Doing maintainer-clean in bash" ; \
3714 (cd bash && \
3715 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3716 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3717 "RANLIB=$${RANLIB}" \
3718 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3719 maintainer-clean) \
3720 || exit 1
3722 @endif bash
3725 .PHONY: configure-bfd maybe-configure-bfd
3726 maybe-configure-bfd:
3727 @if bfd
3728 maybe-configure-bfd: configure-bfd
3729 configure-bfd:
3730 @test ! -f bfd/Makefile || exit 0; \
3731 [ -d bfd ] || mkdir bfd; \
3732 r=`${PWD_COMMAND}`; export r; \
3733 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3734 $(HOST_EXPORTS) \
3735 echo Configuring in bfd; \
3736 cd bfd || exit 1; \
3737 case $(srcdir) in \
3738 \.) \
3739 srcdiroption="--srcdir=."; \
3740 libsrcdir=".";; \
3741 /* | [A-Za-z]:[\\/]*) \
3742 srcdiroption="--srcdir=$(srcdir)/bfd"; \
3743 libsrcdir="$$s/bfd";; \
3744 *) \
3745 srcdiroption="--srcdir=../$(srcdir)/bfd"; \
3746 libsrcdir="$$s/bfd";; \
3747 esac; \
3748 $(SHELL) $${libsrcdir}/configure \
3749 $(HOST_CONFIGARGS) $${srcdiroption} \
3750 || exit 1
3751 @endif bfd
3753 .PHONY: all-bfd maybe-all-bfd
3754 maybe-all-bfd:
3755 @if bfd
3756 maybe-all-bfd: all-bfd
3757 all-bfd: configure-bfd
3758 @r=`${PWD_COMMAND}`; export r; \
3759 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3760 $(SET_LIB_PATH) \
3761 $(HOST_EXPORTS) \
3762 (cd bfd && $(MAKE) $(FLAGS_TO_PASS) all)
3763 @endif bfd
3765 .PHONY: check-bfd maybe-check-bfd
3766 maybe-check-bfd:
3767 @if bfd
3768 maybe-check-bfd: check-bfd
3770 check-bfd:
3771 @r=`${PWD_COMMAND}`; export r; \
3772 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3773 $(SET_LIB_PATH) \
3774 $(HOST_EXPORTS) \
3775 (cd bfd && $(MAKE) $(FLAGS_TO_PASS) check)
3777 @endif bfd
3779 .PHONY: install-bfd maybe-install-bfd
3780 maybe-install-bfd:
3781 @if bfd
3782 maybe-install-bfd: install-bfd
3784 install-bfd: installdirs
3785 @r=`${PWD_COMMAND}`; export r; \
3786 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3787 $(SET_LIB_PATH) \
3788 $(HOST_EXPORTS) \
3789 (cd bfd && $(MAKE) $(FLAGS_TO_PASS) install)
3791 @endif bfd
3793 # Other targets (info, dvi, etc.)
3795 .PHONY: maybe-info-bfd info-bfd
3796 maybe-info-bfd:
3797 @if bfd
3798 maybe-info-bfd: info-bfd
3800 info-bfd: \
3801 configure-bfd
3802 @[ -f ./bfd/Makefile ] || exit 0; \
3803 r=`${PWD_COMMAND}`; export r; \
3804 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3805 $(SET_LIB_PATH) \
3806 $(HOST_EXPORTS) \
3807 for flag in $(EXTRA_HOST_FLAGS) ; do \
3808 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3809 done; \
3810 echo "Doing info in bfd" ; \
3811 (cd bfd && \
3812 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3813 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3814 "RANLIB=$${RANLIB}" \
3815 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3816 info) \
3817 || exit 1
3819 @endif bfd
3821 .PHONY: maybe-dvi-bfd dvi-bfd
3822 maybe-dvi-bfd:
3823 @if bfd
3824 maybe-dvi-bfd: dvi-bfd
3826 dvi-bfd: \
3827 configure-bfd
3828 @[ -f ./bfd/Makefile ] || exit 0; \
3829 r=`${PWD_COMMAND}`; export r; \
3830 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3831 $(SET_LIB_PATH) \
3832 $(HOST_EXPORTS) \
3833 for flag in $(EXTRA_HOST_FLAGS) ; do \
3834 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3835 done; \
3836 echo "Doing dvi in bfd" ; \
3837 (cd bfd && \
3838 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3839 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3840 "RANLIB=$${RANLIB}" \
3841 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3842 dvi) \
3843 || exit 1
3845 @endif bfd
3847 .PHONY: maybe-TAGS-bfd TAGS-bfd
3848 maybe-TAGS-bfd:
3849 @if bfd
3850 maybe-TAGS-bfd: TAGS-bfd
3852 TAGS-bfd: \
3853 configure-bfd
3854 @[ -f ./bfd/Makefile ] || exit 0; \
3855 r=`${PWD_COMMAND}`; export r; \
3856 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3857 $(SET_LIB_PATH) \
3858 $(HOST_EXPORTS) \
3859 for flag in $(EXTRA_HOST_FLAGS) ; do \
3860 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3861 done; \
3862 echo "Doing TAGS in bfd" ; \
3863 (cd bfd && \
3864 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3865 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3866 "RANLIB=$${RANLIB}" \
3867 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3868 TAGS) \
3869 || exit 1
3871 @endif bfd
3873 .PHONY: maybe-install-info-bfd install-info-bfd
3874 maybe-install-info-bfd:
3875 @if bfd
3876 maybe-install-info-bfd: install-info-bfd
3878 install-info-bfd: \
3879 configure-bfd \
3880 info-bfd
3881 @[ -f ./bfd/Makefile ] || exit 0; \
3882 r=`${PWD_COMMAND}`; export r; \
3883 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3884 $(SET_LIB_PATH) \
3885 $(HOST_EXPORTS) \
3886 for flag in $(EXTRA_HOST_FLAGS) ; do \
3887 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3888 done; \
3889 echo "Doing install-info in bfd" ; \
3890 (cd bfd && \
3891 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3892 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3893 "RANLIB=$${RANLIB}" \
3894 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3895 install-info) \
3896 || exit 1
3898 @endif bfd
3900 .PHONY: maybe-installcheck-bfd installcheck-bfd
3901 maybe-installcheck-bfd:
3902 @if bfd
3903 maybe-installcheck-bfd: installcheck-bfd
3905 installcheck-bfd: \
3906 configure-bfd
3907 @[ -f ./bfd/Makefile ] || exit 0; \
3908 r=`${PWD_COMMAND}`; export r; \
3909 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3910 $(SET_LIB_PATH) \
3911 $(HOST_EXPORTS) \
3912 for flag in $(EXTRA_HOST_FLAGS) ; do \
3913 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3914 done; \
3915 echo "Doing installcheck in bfd" ; \
3916 (cd bfd && \
3917 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3918 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3919 "RANLIB=$${RANLIB}" \
3920 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3921 installcheck) \
3922 || exit 1
3924 @endif bfd
3926 .PHONY: maybe-mostlyclean-bfd mostlyclean-bfd
3927 maybe-mostlyclean-bfd:
3928 @if bfd
3929 maybe-mostlyclean-bfd: mostlyclean-bfd
3931 mostlyclean-bfd:
3932 @[ -f ./bfd/Makefile ] || exit 0; \
3933 r=`${PWD_COMMAND}`; export r; \
3934 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3935 $(SET_LIB_PATH) \
3936 $(HOST_EXPORTS) \
3937 for flag in $(EXTRA_HOST_FLAGS) ; do \
3938 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3939 done; \
3940 echo "Doing mostlyclean in bfd" ; \
3941 (cd bfd && \
3942 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3943 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3944 "RANLIB=$${RANLIB}" \
3945 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3946 mostlyclean) \
3947 || exit 1
3949 @endif bfd
3951 .PHONY: maybe-clean-bfd clean-bfd
3952 maybe-clean-bfd:
3953 @if bfd
3954 maybe-clean-bfd: clean-bfd
3956 clean-bfd:
3957 @[ -f ./bfd/Makefile ] || exit 0; \
3958 r=`${PWD_COMMAND}`; export r; \
3959 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3960 $(SET_LIB_PATH) \
3961 $(HOST_EXPORTS) \
3962 for flag in $(EXTRA_HOST_FLAGS) ; do \
3963 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3964 done; \
3965 echo "Doing clean in bfd" ; \
3966 (cd bfd && \
3967 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3968 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3969 "RANLIB=$${RANLIB}" \
3970 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3971 clean) \
3972 || exit 1
3974 @endif bfd
3976 .PHONY: maybe-distclean-bfd distclean-bfd
3977 maybe-distclean-bfd:
3978 @if bfd
3979 maybe-distclean-bfd: distclean-bfd
3981 distclean-bfd:
3982 @[ -f ./bfd/Makefile ] || exit 0; \
3983 r=`${PWD_COMMAND}`; export r; \
3984 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3985 $(SET_LIB_PATH) \
3986 $(HOST_EXPORTS) \
3987 for flag in $(EXTRA_HOST_FLAGS) ; do \
3988 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3989 done; \
3990 echo "Doing distclean in bfd" ; \
3991 (cd bfd && \
3992 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3993 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3994 "RANLIB=$${RANLIB}" \
3995 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3996 distclean) \
3997 || exit 1
3999 @endif bfd
4001 .PHONY: maybe-maintainer-clean-bfd maintainer-clean-bfd
4002 maybe-maintainer-clean-bfd:
4003 @if bfd
4004 maybe-maintainer-clean-bfd: maintainer-clean-bfd
4006 maintainer-clean-bfd:
4007 @[ -f ./bfd/Makefile ] || exit 0; \
4008 r=`${PWD_COMMAND}`; export r; \
4009 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4010 $(SET_LIB_PATH) \
4011 $(HOST_EXPORTS) \
4012 for flag in $(EXTRA_HOST_FLAGS) ; do \
4013 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4014 done; \
4015 echo "Doing maintainer-clean in bfd" ; \
4016 (cd bfd && \
4017 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4018 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4019 "RANLIB=$${RANLIB}" \
4020 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4021 maintainer-clean) \
4022 || exit 1
4024 @endif bfd
4027 .PHONY: configure-opcodes maybe-configure-opcodes
4028 maybe-configure-opcodes:
4029 @if opcodes
4030 maybe-configure-opcodes: configure-opcodes
4031 configure-opcodes:
4032 @test ! -f opcodes/Makefile || exit 0; \
4033 [ -d opcodes ] || mkdir opcodes; \
4034 r=`${PWD_COMMAND}`; export r; \
4035 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4036 $(HOST_EXPORTS) \
4037 echo Configuring in opcodes; \
4038 cd opcodes || exit 1; \
4039 case $(srcdir) in \
4040 \.) \
4041 srcdiroption="--srcdir=."; \
4042 libsrcdir=".";; \
4043 /* | [A-Za-z]:[\\/]*) \
4044 srcdiroption="--srcdir=$(srcdir)/opcodes"; \
4045 libsrcdir="$$s/opcodes";; \
4046 *) \
4047 srcdiroption="--srcdir=../$(srcdir)/opcodes"; \
4048 libsrcdir="$$s/opcodes";; \
4049 esac; \
4050 $(SHELL) $${libsrcdir}/configure \
4051 $(HOST_CONFIGARGS) $${srcdiroption} \
4052 || exit 1
4053 @endif opcodes
4055 .PHONY: all-opcodes maybe-all-opcodes
4056 maybe-all-opcodes:
4057 @if opcodes
4058 maybe-all-opcodes: all-opcodes
4059 all-opcodes: configure-opcodes
4060 @r=`${PWD_COMMAND}`; export r; \
4061 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4062 $(SET_LIB_PATH) \
4063 $(HOST_EXPORTS) \
4064 (cd opcodes && $(MAKE) $(FLAGS_TO_PASS) all)
4065 @endif opcodes
4067 .PHONY: check-opcodes maybe-check-opcodes
4068 maybe-check-opcodes:
4069 @if opcodes
4070 maybe-check-opcodes: check-opcodes
4072 check-opcodes:
4073 @r=`${PWD_COMMAND}`; export r; \
4074 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4075 $(SET_LIB_PATH) \
4076 $(HOST_EXPORTS) \
4077 (cd opcodes && $(MAKE) $(FLAGS_TO_PASS) check)
4079 @endif opcodes
4081 .PHONY: install-opcodes maybe-install-opcodes
4082 maybe-install-opcodes:
4083 @if opcodes
4084 maybe-install-opcodes: install-opcodes
4086 install-opcodes: installdirs
4087 @r=`${PWD_COMMAND}`; export r; \
4088 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4089 $(SET_LIB_PATH) \
4090 $(HOST_EXPORTS) \
4091 (cd opcodes && $(MAKE) $(FLAGS_TO_PASS) install)
4093 @endif opcodes
4095 # Other targets (info, dvi, etc.)
4097 .PHONY: maybe-info-opcodes info-opcodes
4098 maybe-info-opcodes:
4099 @if opcodes
4100 maybe-info-opcodes: info-opcodes
4102 info-opcodes: \
4103 configure-opcodes
4104 @[ -f ./opcodes/Makefile ] || exit 0; \
4105 r=`${PWD_COMMAND}`; export r; \
4106 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4107 $(SET_LIB_PATH) \
4108 $(HOST_EXPORTS) \
4109 for flag in $(EXTRA_HOST_FLAGS) ; do \
4110 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4111 done; \
4112 echo "Doing info in opcodes" ; \
4113 (cd opcodes && \
4114 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4115 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4116 "RANLIB=$${RANLIB}" \
4117 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4118 info) \
4119 || exit 1
4121 @endif opcodes
4123 .PHONY: maybe-dvi-opcodes dvi-opcodes
4124 maybe-dvi-opcodes:
4125 @if opcodes
4126 maybe-dvi-opcodes: dvi-opcodes
4128 dvi-opcodes: \
4129 configure-opcodes
4130 @[ -f ./opcodes/Makefile ] || exit 0; \
4131 r=`${PWD_COMMAND}`; export r; \
4132 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4133 $(SET_LIB_PATH) \
4134 $(HOST_EXPORTS) \
4135 for flag in $(EXTRA_HOST_FLAGS) ; do \
4136 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4137 done; \
4138 echo "Doing dvi in opcodes" ; \
4139 (cd opcodes && \
4140 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4141 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4142 "RANLIB=$${RANLIB}" \
4143 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4144 dvi) \
4145 || exit 1
4147 @endif opcodes
4149 .PHONY: maybe-TAGS-opcodes TAGS-opcodes
4150 maybe-TAGS-opcodes:
4151 @if opcodes
4152 maybe-TAGS-opcodes: TAGS-opcodes
4154 TAGS-opcodes: \
4155 configure-opcodes
4156 @[ -f ./opcodes/Makefile ] || exit 0; \
4157 r=`${PWD_COMMAND}`; export r; \
4158 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4159 $(SET_LIB_PATH) \
4160 $(HOST_EXPORTS) \
4161 for flag in $(EXTRA_HOST_FLAGS) ; do \
4162 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4163 done; \
4164 echo "Doing TAGS in opcodes" ; \
4165 (cd opcodes && \
4166 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4167 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4168 "RANLIB=$${RANLIB}" \
4169 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4170 TAGS) \
4171 || exit 1
4173 @endif opcodes
4175 .PHONY: maybe-install-info-opcodes install-info-opcodes
4176 maybe-install-info-opcodes:
4177 @if opcodes
4178 maybe-install-info-opcodes: install-info-opcodes
4180 install-info-opcodes: \
4181 configure-opcodes \
4182 info-opcodes
4183 @[ -f ./opcodes/Makefile ] || exit 0; \
4184 r=`${PWD_COMMAND}`; export r; \
4185 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4186 $(SET_LIB_PATH) \
4187 $(HOST_EXPORTS) \
4188 for flag in $(EXTRA_HOST_FLAGS) ; do \
4189 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4190 done; \
4191 echo "Doing install-info in opcodes" ; \
4192 (cd opcodes && \
4193 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4194 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4195 "RANLIB=$${RANLIB}" \
4196 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4197 install-info) \
4198 || exit 1
4200 @endif opcodes
4202 .PHONY: maybe-installcheck-opcodes installcheck-opcodes
4203 maybe-installcheck-opcodes:
4204 @if opcodes
4205 maybe-installcheck-opcodes: installcheck-opcodes
4207 installcheck-opcodes: \
4208 configure-opcodes
4209 @[ -f ./opcodes/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 installcheck in opcodes" ; \
4218 (cd opcodes && \
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 installcheck) \
4224 || exit 1
4226 @endif opcodes
4228 .PHONY: maybe-mostlyclean-opcodes mostlyclean-opcodes
4229 maybe-mostlyclean-opcodes:
4230 @if opcodes
4231 maybe-mostlyclean-opcodes: mostlyclean-opcodes
4233 mostlyclean-opcodes:
4234 @[ -f ./opcodes/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 mostlyclean in opcodes" ; \
4243 (cd opcodes && \
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 mostlyclean) \
4249 || exit 1
4251 @endif opcodes
4253 .PHONY: maybe-clean-opcodes clean-opcodes
4254 maybe-clean-opcodes:
4255 @if opcodes
4256 maybe-clean-opcodes: clean-opcodes
4258 clean-opcodes:
4259 @[ -f ./opcodes/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 clean in opcodes" ; \
4268 (cd opcodes && \
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 clean) \
4274 || exit 1
4276 @endif opcodes
4278 .PHONY: maybe-distclean-opcodes distclean-opcodes
4279 maybe-distclean-opcodes:
4280 @if opcodes
4281 maybe-distclean-opcodes: distclean-opcodes
4283 distclean-opcodes:
4284 @[ -f ./opcodes/Makefile ] || exit 0; \
4285 r=`${PWD_COMMAND}`; export r; \
4286 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4287 $(SET_LIB_PATH) \
4288 $(HOST_EXPORTS) \
4289 for flag in $(EXTRA_HOST_FLAGS) ; do \
4290 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4291 done; \
4292 echo "Doing distclean in opcodes" ; \
4293 (cd opcodes && \
4294 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4295 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4296 "RANLIB=$${RANLIB}" \
4297 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4298 distclean) \
4299 || exit 1
4301 @endif opcodes
4303 .PHONY: maybe-maintainer-clean-opcodes maintainer-clean-opcodes
4304 maybe-maintainer-clean-opcodes:
4305 @if opcodes
4306 maybe-maintainer-clean-opcodes: maintainer-clean-opcodes
4308 maintainer-clean-opcodes:
4309 @[ -f ./opcodes/Makefile ] || exit 0; \
4310 r=`${PWD_COMMAND}`; export r; \
4311 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4312 $(SET_LIB_PATH) \
4313 $(HOST_EXPORTS) \
4314 for flag in $(EXTRA_HOST_FLAGS) ; do \
4315 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4316 done; \
4317 echo "Doing maintainer-clean in opcodes" ; \
4318 (cd opcodes && \
4319 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4320 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4321 "RANLIB=$${RANLIB}" \
4322 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4323 maintainer-clean) \
4324 || exit 1
4326 @endif opcodes
4329 .PHONY: configure-binutils maybe-configure-binutils
4330 maybe-configure-binutils:
4331 @if binutils
4332 maybe-configure-binutils: configure-binutils
4333 configure-binutils:
4334 @test ! -f binutils/Makefile || exit 0; \
4335 [ -d binutils ] || mkdir binutils; \
4336 r=`${PWD_COMMAND}`; export r; \
4337 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4338 $(HOST_EXPORTS) \
4339 echo Configuring in binutils; \
4340 cd binutils || exit 1; \
4341 case $(srcdir) in \
4342 \.) \
4343 srcdiroption="--srcdir=."; \
4344 libsrcdir=".";; \
4345 /* | [A-Za-z]:[\\/]*) \
4346 srcdiroption="--srcdir=$(srcdir)/binutils"; \
4347 libsrcdir="$$s/binutils";; \
4348 *) \
4349 srcdiroption="--srcdir=../$(srcdir)/binutils"; \
4350 libsrcdir="$$s/binutils";; \
4351 esac; \
4352 $(SHELL) $${libsrcdir}/configure \
4353 $(HOST_CONFIGARGS) $${srcdiroption} \
4354 || exit 1
4355 @endif binutils
4357 .PHONY: all-binutils maybe-all-binutils
4358 maybe-all-binutils:
4359 @if binutils
4360 maybe-all-binutils: all-binutils
4361 all-binutils: configure-binutils
4362 @r=`${PWD_COMMAND}`; export r; \
4363 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4364 $(SET_LIB_PATH) \
4365 $(HOST_EXPORTS) \
4366 (cd binutils && $(MAKE) $(FLAGS_TO_PASS) all)
4367 @endif binutils
4369 .PHONY: check-binutils maybe-check-binutils
4370 maybe-check-binutils:
4371 @if binutils
4372 maybe-check-binutils: check-binutils
4374 check-binutils:
4375 @r=`${PWD_COMMAND}`; export r; \
4376 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4377 $(SET_LIB_PATH) \
4378 $(HOST_EXPORTS) \
4379 (cd binutils && $(MAKE) $(FLAGS_TO_PASS) check)
4381 @endif binutils
4383 .PHONY: install-binutils maybe-install-binutils
4384 maybe-install-binutils:
4385 @if binutils
4386 maybe-install-binutils: install-binutils
4388 install-binutils: installdirs
4389 @r=`${PWD_COMMAND}`; export r; \
4390 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4391 $(SET_LIB_PATH) \
4392 $(HOST_EXPORTS) \
4393 (cd binutils && $(MAKE) $(FLAGS_TO_PASS) install)
4395 @endif binutils
4397 # Other targets (info, dvi, etc.)
4399 .PHONY: maybe-info-binutils info-binutils
4400 maybe-info-binutils:
4401 @if binutils
4402 maybe-info-binutils: info-binutils
4404 info-binutils: \
4405 configure-binutils
4406 @[ -f ./binutils/Makefile ] || exit 0; \
4407 r=`${PWD_COMMAND}`; export r; \
4408 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4409 $(SET_LIB_PATH) \
4410 $(HOST_EXPORTS) \
4411 for flag in $(EXTRA_HOST_FLAGS) ; do \
4412 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4413 done; \
4414 echo "Doing info in binutils" ; \
4415 (cd binutils && \
4416 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4417 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4418 "RANLIB=$${RANLIB}" \
4419 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4420 info) \
4421 || exit 1
4423 @endif binutils
4425 .PHONY: maybe-dvi-binutils dvi-binutils
4426 maybe-dvi-binutils:
4427 @if binutils
4428 maybe-dvi-binutils: dvi-binutils
4430 dvi-binutils: \
4431 configure-binutils
4432 @[ -f ./binutils/Makefile ] || exit 0; \
4433 r=`${PWD_COMMAND}`; export r; \
4434 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4435 $(SET_LIB_PATH) \
4436 $(HOST_EXPORTS) \
4437 for flag in $(EXTRA_HOST_FLAGS) ; do \
4438 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4439 done; \
4440 echo "Doing dvi in binutils" ; \
4441 (cd binutils && \
4442 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4443 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4444 "RANLIB=$${RANLIB}" \
4445 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4446 dvi) \
4447 || exit 1
4449 @endif binutils
4451 .PHONY: maybe-TAGS-binutils TAGS-binutils
4452 maybe-TAGS-binutils:
4453 @if binutils
4454 maybe-TAGS-binutils: TAGS-binutils
4456 TAGS-binutils: \
4457 configure-binutils
4458 @[ -f ./binutils/Makefile ] || exit 0; \
4459 r=`${PWD_COMMAND}`; export r; \
4460 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4461 $(SET_LIB_PATH) \
4462 $(HOST_EXPORTS) \
4463 for flag in $(EXTRA_HOST_FLAGS) ; do \
4464 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4465 done; \
4466 echo "Doing TAGS in binutils" ; \
4467 (cd binutils && \
4468 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4469 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4470 "RANLIB=$${RANLIB}" \
4471 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4472 TAGS) \
4473 || exit 1
4475 @endif binutils
4477 .PHONY: maybe-install-info-binutils install-info-binutils
4478 maybe-install-info-binutils:
4479 @if binutils
4480 maybe-install-info-binutils: install-info-binutils
4482 install-info-binutils: \
4483 configure-binutils \
4484 info-binutils
4485 @[ -f ./binutils/Makefile ] || exit 0; \
4486 r=`${PWD_COMMAND}`; export r; \
4487 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4488 $(SET_LIB_PATH) \
4489 $(HOST_EXPORTS) \
4490 for flag in $(EXTRA_HOST_FLAGS) ; do \
4491 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4492 done; \
4493 echo "Doing install-info in binutils" ; \
4494 (cd binutils && \
4495 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4496 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4497 "RANLIB=$${RANLIB}" \
4498 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4499 install-info) \
4500 || exit 1
4502 @endif binutils
4504 .PHONY: maybe-installcheck-binutils installcheck-binutils
4505 maybe-installcheck-binutils:
4506 @if binutils
4507 maybe-installcheck-binutils: installcheck-binutils
4509 installcheck-binutils: \
4510 configure-binutils
4511 @[ -f ./binutils/Makefile ] || exit 0; \
4512 r=`${PWD_COMMAND}`; export r; \
4513 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4514 $(SET_LIB_PATH) \
4515 $(HOST_EXPORTS) \
4516 for flag in $(EXTRA_HOST_FLAGS) ; do \
4517 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4518 done; \
4519 echo "Doing installcheck in binutils" ; \
4520 (cd binutils && \
4521 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4522 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4523 "RANLIB=$${RANLIB}" \
4524 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4525 installcheck) \
4526 || exit 1
4528 @endif binutils
4530 .PHONY: maybe-mostlyclean-binutils mostlyclean-binutils
4531 maybe-mostlyclean-binutils:
4532 @if binutils
4533 maybe-mostlyclean-binutils: mostlyclean-binutils
4535 mostlyclean-binutils:
4536 @[ -f ./binutils/Makefile ] || exit 0; \
4537 r=`${PWD_COMMAND}`; export r; \
4538 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4539 $(SET_LIB_PATH) \
4540 $(HOST_EXPORTS) \
4541 for flag in $(EXTRA_HOST_FLAGS) ; do \
4542 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4543 done; \
4544 echo "Doing mostlyclean in binutils" ; \
4545 (cd binutils && \
4546 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4547 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4548 "RANLIB=$${RANLIB}" \
4549 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4550 mostlyclean) \
4551 || exit 1
4553 @endif binutils
4555 .PHONY: maybe-clean-binutils clean-binutils
4556 maybe-clean-binutils:
4557 @if binutils
4558 maybe-clean-binutils: clean-binutils
4560 clean-binutils:
4561 @[ -f ./binutils/Makefile ] || exit 0; \
4562 r=`${PWD_COMMAND}`; export r; \
4563 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4564 $(SET_LIB_PATH) \
4565 $(HOST_EXPORTS) \
4566 for flag in $(EXTRA_HOST_FLAGS) ; do \
4567 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4568 done; \
4569 echo "Doing clean in binutils" ; \
4570 (cd binutils && \
4571 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4572 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4573 "RANLIB=$${RANLIB}" \
4574 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4575 clean) \
4576 || exit 1
4578 @endif binutils
4580 .PHONY: maybe-distclean-binutils distclean-binutils
4581 maybe-distclean-binutils:
4582 @if binutils
4583 maybe-distclean-binutils: distclean-binutils
4585 distclean-binutils:
4586 @[ -f ./binutils/Makefile ] || exit 0; \
4587 r=`${PWD_COMMAND}`; export r; \
4588 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4589 $(SET_LIB_PATH) \
4590 $(HOST_EXPORTS) \
4591 for flag in $(EXTRA_HOST_FLAGS) ; do \
4592 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4593 done; \
4594 echo "Doing distclean in binutils" ; \
4595 (cd binutils && \
4596 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4597 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4598 "RANLIB=$${RANLIB}" \
4599 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4600 distclean) \
4601 || exit 1
4603 @endif binutils
4605 .PHONY: maybe-maintainer-clean-binutils maintainer-clean-binutils
4606 maybe-maintainer-clean-binutils:
4607 @if binutils
4608 maybe-maintainer-clean-binutils: maintainer-clean-binutils
4610 maintainer-clean-binutils:
4611 @[ -f ./binutils/Makefile ] || exit 0; \
4612 r=`${PWD_COMMAND}`; export r; \
4613 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4614 $(SET_LIB_PATH) \
4615 $(HOST_EXPORTS) \
4616 for flag in $(EXTRA_HOST_FLAGS) ; do \
4617 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4618 done; \
4619 echo "Doing maintainer-clean in binutils" ; \
4620 (cd binutils && \
4621 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4622 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4623 "RANLIB=$${RANLIB}" \
4624 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4625 maintainer-clean) \
4626 || exit 1
4628 @endif binutils
4631 .PHONY: configure-bison maybe-configure-bison
4632 maybe-configure-bison:
4633 @if bison
4634 maybe-configure-bison: configure-bison
4635 configure-bison:
4636 @test ! -f bison/Makefile || exit 0; \
4637 [ -d bison ] || mkdir bison; \
4638 r=`${PWD_COMMAND}`; export r; \
4639 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4640 $(HOST_EXPORTS) \
4641 echo Configuring in bison; \
4642 cd bison || exit 1; \
4643 case $(srcdir) in \
4644 \.) \
4645 srcdiroption="--srcdir=."; \
4646 libsrcdir=".";; \
4647 /* | [A-Za-z]:[\\/]*) \
4648 srcdiroption="--srcdir=$(srcdir)/bison"; \
4649 libsrcdir="$$s/bison";; \
4650 *) \
4651 srcdiroption="--srcdir=../$(srcdir)/bison"; \
4652 libsrcdir="$$s/bison";; \
4653 esac; \
4654 $(SHELL) $${libsrcdir}/configure \
4655 $(HOST_CONFIGARGS) $${srcdiroption} \
4656 || exit 1
4657 @endif bison
4659 .PHONY: all-bison maybe-all-bison
4660 maybe-all-bison:
4661 @if bison
4662 maybe-all-bison: all-bison
4663 all-bison: configure-bison
4664 @r=`${PWD_COMMAND}`; export r; \
4665 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4666 $(SET_LIB_PATH) \
4667 $(HOST_EXPORTS) \
4668 (cd bison && $(MAKE) $(FLAGS_TO_PASS) all)
4669 @endif bison
4671 .PHONY: check-bison maybe-check-bison
4672 maybe-check-bison:
4673 @if bison
4674 maybe-check-bison: check-bison
4676 # This module is only tested in a native toolchain.
4677 check-bison:
4678 @if [ '$(host)' = '$(target)' ] ; then \
4679 r=`${PWD_COMMAND}`; export r; \
4680 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4681 $(SET_LIB_PATH) \
4682 $(HOST_EXPORTS) \
4683 (cd bison && $(MAKE) $(FLAGS_TO_PASS) check); \
4686 @endif bison
4688 .PHONY: install-bison maybe-install-bison
4689 maybe-install-bison:
4690 @if bison
4691 maybe-install-bison: install-bison
4693 install-bison: installdirs
4694 @r=`${PWD_COMMAND}`; export r; \
4695 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4696 $(SET_LIB_PATH) \
4697 $(HOST_EXPORTS) \
4698 (cd bison && $(MAKE) $(FLAGS_TO_PASS) install)
4700 @endif bison
4702 # Other targets (info, dvi, etc.)
4704 .PHONY: maybe-info-bison info-bison
4705 maybe-info-bison:
4706 @if bison
4707 maybe-info-bison: info-bison
4709 info-bison: \
4710 configure-bison
4711 @[ -f ./bison/Makefile ] || exit 0; \
4712 r=`${PWD_COMMAND}`; export r; \
4713 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4714 $(SET_LIB_PATH) \
4715 $(HOST_EXPORTS) \
4716 for flag in $(EXTRA_HOST_FLAGS) ; do \
4717 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4718 done; \
4719 echo "Doing info in bison" ; \
4720 (cd bison && \
4721 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4722 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4723 "RANLIB=$${RANLIB}" \
4724 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4725 info) \
4726 || exit 1
4728 @endif bison
4730 .PHONY: maybe-dvi-bison dvi-bison
4731 maybe-dvi-bison:
4732 @if bison
4733 maybe-dvi-bison: dvi-bison
4735 dvi-bison: \
4736 configure-bison
4737 @[ -f ./bison/Makefile ] || exit 0; \
4738 r=`${PWD_COMMAND}`; export r; \
4739 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4740 $(SET_LIB_PATH) \
4741 $(HOST_EXPORTS) \
4742 for flag in $(EXTRA_HOST_FLAGS) ; do \
4743 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4744 done; \
4745 echo "Doing dvi in bison" ; \
4746 (cd bison && \
4747 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4748 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4749 "RANLIB=$${RANLIB}" \
4750 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4751 dvi) \
4752 || exit 1
4754 @endif bison
4756 .PHONY: maybe-TAGS-bison TAGS-bison
4757 maybe-TAGS-bison:
4758 @if bison
4759 maybe-TAGS-bison: TAGS-bison
4761 TAGS-bison: \
4762 configure-bison
4763 @[ -f ./bison/Makefile ] || exit 0; \
4764 r=`${PWD_COMMAND}`; export r; \
4765 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4766 $(SET_LIB_PATH) \
4767 $(HOST_EXPORTS) \
4768 for flag in $(EXTRA_HOST_FLAGS) ; do \
4769 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4770 done; \
4771 echo "Doing TAGS in bison" ; \
4772 (cd bison && \
4773 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4774 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4775 "RANLIB=$${RANLIB}" \
4776 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4777 TAGS) \
4778 || exit 1
4780 @endif bison
4782 .PHONY: maybe-install-info-bison install-info-bison
4783 maybe-install-info-bison:
4784 @if bison
4785 maybe-install-info-bison: install-info-bison
4787 install-info-bison: \
4788 configure-bison \
4789 info-bison
4790 @[ -f ./bison/Makefile ] || exit 0; \
4791 r=`${PWD_COMMAND}`; export r; \
4792 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4793 $(SET_LIB_PATH) \
4794 $(HOST_EXPORTS) \
4795 for flag in $(EXTRA_HOST_FLAGS) ; do \
4796 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4797 done; \
4798 echo "Doing install-info in bison" ; \
4799 (cd bison && \
4800 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4801 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4802 "RANLIB=$${RANLIB}" \
4803 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4804 install-info) \
4805 || exit 1
4807 @endif bison
4809 .PHONY: maybe-installcheck-bison installcheck-bison
4810 maybe-installcheck-bison:
4811 @if bison
4812 maybe-installcheck-bison: installcheck-bison
4814 installcheck-bison: \
4815 configure-bison
4816 @[ -f ./bison/Makefile ] || exit 0; \
4817 r=`${PWD_COMMAND}`; export r; \
4818 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4819 $(SET_LIB_PATH) \
4820 $(HOST_EXPORTS) \
4821 for flag in $(EXTRA_HOST_FLAGS) ; do \
4822 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4823 done; \
4824 echo "Doing installcheck in bison" ; \
4825 (cd bison && \
4826 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4827 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4828 "RANLIB=$${RANLIB}" \
4829 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4830 installcheck) \
4831 || exit 1
4833 @endif bison
4835 .PHONY: maybe-mostlyclean-bison mostlyclean-bison
4836 maybe-mostlyclean-bison:
4837 @if bison
4838 maybe-mostlyclean-bison: mostlyclean-bison
4840 mostlyclean-bison:
4841 @[ -f ./bison/Makefile ] || exit 0; \
4842 r=`${PWD_COMMAND}`; export r; \
4843 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4844 $(SET_LIB_PATH) \
4845 $(HOST_EXPORTS) \
4846 for flag in $(EXTRA_HOST_FLAGS) ; do \
4847 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4848 done; \
4849 echo "Doing mostlyclean in bison" ; \
4850 (cd bison && \
4851 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4852 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4853 "RANLIB=$${RANLIB}" \
4854 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4855 mostlyclean) \
4856 || exit 1
4858 @endif bison
4860 .PHONY: maybe-clean-bison clean-bison
4861 maybe-clean-bison:
4862 @if bison
4863 maybe-clean-bison: clean-bison
4865 clean-bison:
4866 @[ -f ./bison/Makefile ] || exit 0; \
4867 r=`${PWD_COMMAND}`; export r; \
4868 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4869 $(SET_LIB_PATH) \
4870 $(HOST_EXPORTS) \
4871 for flag in $(EXTRA_HOST_FLAGS) ; do \
4872 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4873 done; \
4874 echo "Doing clean in bison" ; \
4875 (cd bison && \
4876 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4877 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4878 "RANLIB=$${RANLIB}" \
4879 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4880 clean) \
4881 || exit 1
4883 @endif bison
4885 .PHONY: maybe-distclean-bison distclean-bison
4886 maybe-distclean-bison:
4887 @if bison
4888 maybe-distclean-bison: distclean-bison
4890 distclean-bison:
4891 @[ -f ./bison/Makefile ] || exit 0; \
4892 r=`${PWD_COMMAND}`; export r; \
4893 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4894 $(SET_LIB_PATH) \
4895 $(HOST_EXPORTS) \
4896 for flag in $(EXTRA_HOST_FLAGS) ; do \
4897 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4898 done; \
4899 echo "Doing distclean in bison" ; \
4900 (cd bison && \
4901 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4902 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4903 "RANLIB=$${RANLIB}" \
4904 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4905 distclean) \
4906 || exit 1
4908 @endif bison
4910 .PHONY: maybe-maintainer-clean-bison maintainer-clean-bison
4911 maybe-maintainer-clean-bison:
4912 @if bison
4913 maybe-maintainer-clean-bison: maintainer-clean-bison
4915 maintainer-clean-bison:
4916 @[ -f ./bison/Makefile ] || exit 0; \
4917 r=`${PWD_COMMAND}`; export r; \
4918 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4919 $(SET_LIB_PATH) \
4920 $(HOST_EXPORTS) \
4921 for flag in $(EXTRA_HOST_FLAGS) ; do \
4922 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4923 done; \
4924 echo "Doing maintainer-clean in bison" ; \
4925 (cd bison && \
4926 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4927 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4928 "RANLIB=$${RANLIB}" \
4929 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4930 maintainer-clean) \
4931 || exit 1
4933 @endif bison
4936 .PHONY: configure-byacc maybe-configure-byacc
4937 maybe-configure-byacc:
4938 @if byacc
4939 maybe-configure-byacc: configure-byacc
4940 configure-byacc:
4941 @test ! -f byacc/Makefile || exit 0; \
4942 [ -d byacc ] || mkdir byacc; \
4943 r=`${PWD_COMMAND}`; export r; \
4944 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4945 $(HOST_EXPORTS) \
4946 echo Configuring in byacc; \
4947 cd byacc || exit 1; \
4948 case $(srcdir) in \
4949 \.) \
4950 srcdiroption="--srcdir=."; \
4951 libsrcdir=".";; \
4952 /* | [A-Za-z]:[\\/]*) \
4953 srcdiroption="--srcdir=$(srcdir)/byacc"; \
4954 libsrcdir="$$s/byacc";; \
4955 *) \
4956 srcdiroption="--srcdir=../$(srcdir)/byacc"; \
4957 libsrcdir="$$s/byacc";; \
4958 esac; \
4959 $(SHELL) $${libsrcdir}/configure \
4960 $(HOST_CONFIGARGS) $${srcdiroption} \
4961 || exit 1
4962 @endif byacc
4964 .PHONY: all-byacc maybe-all-byacc
4965 maybe-all-byacc:
4966 @if byacc
4967 maybe-all-byacc: all-byacc
4968 all-byacc: configure-byacc
4969 @r=`${PWD_COMMAND}`; export r; \
4970 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4971 $(SET_LIB_PATH) \
4972 $(HOST_EXPORTS) \
4973 (cd byacc && $(MAKE) $(FLAGS_TO_PASS) all)
4974 @endif byacc
4976 .PHONY: check-byacc maybe-check-byacc
4977 maybe-check-byacc:
4978 @if byacc
4979 maybe-check-byacc: check-byacc
4981 # This module is only tested in a native toolchain.
4982 check-byacc:
4983 @if [ '$(host)' = '$(target)' ] ; then \
4984 r=`${PWD_COMMAND}`; export r; \
4985 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4986 $(SET_LIB_PATH) \
4987 $(HOST_EXPORTS) \
4988 (cd byacc && $(MAKE) $(FLAGS_TO_PASS) check); \
4991 @endif byacc
4993 .PHONY: install-byacc maybe-install-byacc
4994 maybe-install-byacc:
4995 @if byacc
4996 maybe-install-byacc: install-byacc
4998 install-byacc: installdirs
4999 @r=`${PWD_COMMAND}`; export r; \
5000 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5001 $(SET_LIB_PATH) \
5002 $(HOST_EXPORTS) \
5003 (cd byacc && $(MAKE) $(FLAGS_TO_PASS) install)
5005 @endif byacc
5007 # Other targets (info, dvi, etc.)
5009 .PHONY: maybe-info-byacc info-byacc
5010 maybe-info-byacc:
5011 @if byacc
5012 maybe-info-byacc: info-byacc
5014 info-byacc: \
5015 configure-byacc
5016 @[ -f ./byacc/Makefile ] || exit 0; \
5017 r=`${PWD_COMMAND}`; export r; \
5018 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5019 $(SET_LIB_PATH) \
5020 $(HOST_EXPORTS) \
5021 for flag in $(EXTRA_HOST_FLAGS) ; do \
5022 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5023 done; \
5024 echo "Doing info in byacc" ; \
5025 (cd byacc && \
5026 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5027 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5028 "RANLIB=$${RANLIB}" \
5029 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5030 info) \
5031 || exit 1
5033 @endif byacc
5035 .PHONY: maybe-dvi-byacc dvi-byacc
5036 maybe-dvi-byacc:
5037 @if byacc
5038 maybe-dvi-byacc: dvi-byacc
5040 dvi-byacc: \
5041 configure-byacc
5042 @[ -f ./byacc/Makefile ] || exit 0; \
5043 r=`${PWD_COMMAND}`; export r; \
5044 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5045 $(SET_LIB_PATH) \
5046 $(HOST_EXPORTS) \
5047 for flag in $(EXTRA_HOST_FLAGS) ; do \
5048 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5049 done; \
5050 echo "Doing dvi in byacc" ; \
5051 (cd byacc && \
5052 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5053 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5054 "RANLIB=$${RANLIB}" \
5055 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5056 dvi) \
5057 || exit 1
5059 @endif byacc
5061 .PHONY: maybe-TAGS-byacc TAGS-byacc
5062 maybe-TAGS-byacc:
5063 @if byacc
5064 maybe-TAGS-byacc: TAGS-byacc
5066 TAGS-byacc: \
5067 configure-byacc
5068 @[ -f ./byacc/Makefile ] || exit 0; \
5069 r=`${PWD_COMMAND}`; export r; \
5070 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5071 $(SET_LIB_PATH) \
5072 $(HOST_EXPORTS) \
5073 for flag in $(EXTRA_HOST_FLAGS) ; do \
5074 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5075 done; \
5076 echo "Doing TAGS in byacc" ; \
5077 (cd byacc && \
5078 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5079 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5080 "RANLIB=$${RANLIB}" \
5081 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5082 TAGS) \
5083 || exit 1
5085 @endif byacc
5087 .PHONY: maybe-install-info-byacc install-info-byacc
5088 maybe-install-info-byacc:
5089 @if byacc
5090 maybe-install-info-byacc: install-info-byacc
5092 install-info-byacc: \
5093 configure-byacc \
5094 info-byacc
5095 @[ -f ./byacc/Makefile ] || exit 0; \
5096 r=`${PWD_COMMAND}`; export r; \
5097 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5098 $(SET_LIB_PATH) \
5099 $(HOST_EXPORTS) \
5100 for flag in $(EXTRA_HOST_FLAGS) ; do \
5101 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5102 done; \
5103 echo "Doing install-info in byacc" ; \
5104 (cd byacc && \
5105 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5106 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5107 "RANLIB=$${RANLIB}" \
5108 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5109 install-info) \
5110 || exit 1
5112 @endif byacc
5114 .PHONY: maybe-installcheck-byacc installcheck-byacc
5115 maybe-installcheck-byacc:
5116 @if byacc
5117 maybe-installcheck-byacc: installcheck-byacc
5119 installcheck-byacc: \
5120 configure-byacc
5121 @[ -f ./byacc/Makefile ] || exit 0; \
5122 r=`${PWD_COMMAND}`; export r; \
5123 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5124 $(SET_LIB_PATH) \
5125 $(HOST_EXPORTS) \
5126 for flag in $(EXTRA_HOST_FLAGS) ; do \
5127 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5128 done; \
5129 echo "Doing installcheck in byacc" ; \
5130 (cd byacc && \
5131 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5132 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5133 "RANLIB=$${RANLIB}" \
5134 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5135 installcheck) \
5136 || exit 1
5138 @endif byacc
5140 .PHONY: maybe-mostlyclean-byacc mostlyclean-byacc
5141 maybe-mostlyclean-byacc:
5142 @if byacc
5143 maybe-mostlyclean-byacc: mostlyclean-byacc
5145 mostlyclean-byacc:
5146 @[ -f ./byacc/Makefile ] || exit 0; \
5147 r=`${PWD_COMMAND}`; export r; \
5148 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5149 $(SET_LIB_PATH) \
5150 $(HOST_EXPORTS) \
5151 for flag in $(EXTRA_HOST_FLAGS) ; do \
5152 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5153 done; \
5154 echo "Doing mostlyclean in byacc" ; \
5155 (cd byacc && \
5156 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5157 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5158 "RANLIB=$${RANLIB}" \
5159 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5160 mostlyclean) \
5161 || exit 1
5163 @endif byacc
5165 .PHONY: maybe-clean-byacc clean-byacc
5166 maybe-clean-byacc:
5167 @if byacc
5168 maybe-clean-byacc: clean-byacc
5170 clean-byacc:
5171 @[ -f ./byacc/Makefile ] || exit 0; \
5172 r=`${PWD_COMMAND}`; export r; \
5173 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5174 $(SET_LIB_PATH) \
5175 $(HOST_EXPORTS) \
5176 for flag in $(EXTRA_HOST_FLAGS) ; do \
5177 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5178 done; \
5179 echo "Doing clean in byacc" ; \
5180 (cd byacc && \
5181 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5182 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5183 "RANLIB=$${RANLIB}" \
5184 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5185 clean) \
5186 || exit 1
5188 @endif byacc
5190 .PHONY: maybe-distclean-byacc distclean-byacc
5191 maybe-distclean-byacc:
5192 @if byacc
5193 maybe-distclean-byacc: distclean-byacc
5195 distclean-byacc:
5196 @[ -f ./byacc/Makefile ] || exit 0; \
5197 r=`${PWD_COMMAND}`; export r; \
5198 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5199 $(SET_LIB_PATH) \
5200 $(HOST_EXPORTS) \
5201 for flag in $(EXTRA_HOST_FLAGS) ; do \
5202 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5203 done; \
5204 echo "Doing distclean in byacc" ; \
5205 (cd byacc && \
5206 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5207 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5208 "RANLIB=$${RANLIB}" \
5209 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5210 distclean) \
5211 || exit 1
5213 @endif byacc
5215 .PHONY: maybe-maintainer-clean-byacc maintainer-clean-byacc
5216 maybe-maintainer-clean-byacc:
5217 @if byacc
5218 maybe-maintainer-clean-byacc: maintainer-clean-byacc
5220 maintainer-clean-byacc:
5221 @[ -f ./byacc/Makefile ] || exit 0; \
5222 r=`${PWD_COMMAND}`; export r; \
5223 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5224 $(SET_LIB_PATH) \
5225 $(HOST_EXPORTS) \
5226 for flag in $(EXTRA_HOST_FLAGS) ; do \
5227 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5228 done; \
5229 echo "Doing maintainer-clean in byacc" ; \
5230 (cd byacc && \
5231 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5232 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5233 "RANLIB=$${RANLIB}" \
5234 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5235 maintainer-clean) \
5236 || exit 1
5238 @endif byacc
5241 .PHONY: configure-bzip2 maybe-configure-bzip2
5242 maybe-configure-bzip2:
5243 @if bzip2
5244 maybe-configure-bzip2: configure-bzip2
5245 configure-bzip2:
5246 @test ! -f bzip2/Makefile || exit 0; \
5247 [ -d bzip2 ] || mkdir bzip2; \
5248 r=`${PWD_COMMAND}`; export r; \
5249 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5250 $(HOST_EXPORTS) \
5251 echo Configuring in bzip2; \
5252 cd bzip2 || exit 1; \
5253 case $(srcdir) in \
5254 \.) \
5255 srcdiroption="--srcdir=."; \
5256 libsrcdir=".";; \
5257 /* | [A-Za-z]:[\\/]*) \
5258 srcdiroption="--srcdir=$(srcdir)/bzip2"; \
5259 libsrcdir="$$s/bzip2";; \
5260 *) \
5261 srcdiroption="--srcdir=../$(srcdir)/bzip2"; \
5262 libsrcdir="$$s/bzip2";; \
5263 esac; \
5264 $(SHELL) $${libsrcdir}/configure \
5265 $(HOST_CONFIGARGS) $${srcdiroption} \
5266 || exit 1
5267 @endif bzip2
5269 .PHONY: all-bzip2 maybe-all-bzip2
5270 maybe-all-bzip2:
5271 @if bzip2
5272 maybe-all-bzip2: all-bzip2
5273 all-bzip2: configure-bzip2
5274 @r=`${PWD_COMMAND}`; export r; \
5275 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5276 $(SET_LIB_PATH) \
5277 $(HOST_EXPORTS) \
5278 (cd bzip2 && $(MAKE) $(FLAGS_TO_PASS) all)
5279 @endif bzip2
5281 .PHONY: check-bzip2 maybe-check-bzip2
5282 maybe-check-bzip2:
5283 @if bzip2
5284 maybe-check-bzip2: check-bzip2
5286 check-bzip2:
5287 @r=`${PWD_COMMAND}`; export r; \
5288 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5289 $(SET_LIB_PATH) \
5290 $(HOST_EXPORTS) \
5291 (cd bzip2 && $(MAKE) $(FLAGS_TO_PASS) check)
5293 @endif bzip2
5295 .PHONY: install-bzip2 maybe-install-bzip2
5296 maybe-install-bzip2:
5297 @if bzip2
5298 maybe-install-bzip2: install-bzip2
5300 install-bzip2: installdirs
5301 @r=`${PWD_COMMAND}`; export r; \
5302 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5303 $(SET_LIB_PATH) \
5304 $(HOST_EXPORTS) \
5305 (cd bzip2 && $(MAKE) $(FLAGS_TO_PASS) install)
5307 @endif bzip2
5309 # Other targets (info, dvi, etc.)
5311 .PHONY: maybe-info-bzip2 info-bzip2
5312 maybe-info-bzip2:
5313 @if bzip2
5314 maybe-info-bzip2: info-bzip2
5316 info-bzip2: \
5317 configure-bzip2
5318 @[ -f ./bzip2/Makefile ] || exit 0; \
5319 r=`${PWD_COMMAND}`; export r; \
5320 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5321 $(SET_LIB_PATH) \
5322 $(HOST_EXPORTS) \
5323 for flag in $(EXTRA_HOST_FLAGS) ; do \
5324 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5325 done; \
5326 echo "Doing info in bzip2" ; \
5327 (cd bzip2 && \
5328 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5329 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5330 "RANLIB=$${RANLIB}" \
5331 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5332 info) \
5333 || exit 1
5335 @endif bzip2
5337 .PHONY: maybe-dvi-bzip2 dvi-bzip2
5338 maybe-dvi-bzip2:
5339 @if bzip2
5340 maybe-dvi-bzip2: dvi-bzip2
5342 dvi-bzip2: \
5343 configure-bzip2
5344 @[ -f ./bzip2/Makefile ] || exit 0; \
5345 r=`${PWD_COMMAND}`; export r; \
5346 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5347 $(SET_LIB_PATH) \
5348 $(HOST_EXPORTS) \
5349 for flag in $(EXTRA_HOST_FLAGS) ; do \
5350 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5351 done; \
5352 echo "Doing dvi in bzip2" ; \
5353 (cd bzip2 && \
5354 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5355 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5356 "RANLIB=$${RANLIB}" \
5357 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5358 dvi) \
5359 || exit 1
5361 @endif bzip2
5363 .PHONY: maybe-TAGS-bzip2 TAGS-bzip2
5364 maybe-TAGS-bzip2:
5365 @if bzip2
5366 maybe-TAGS-bzip2: TAGS-bzip2
5368 TAGS-bzip2: \
5369 configure-bzip2
5370 @[ -f ./bzip2/Makefile ] || exit 0; \
5371 r=`${PWD_COMMAND}`; export r; \
5372 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5373 $(SET_LIB_PATH) \
5374 $(HOST_EXPORTS) \
5375 for flag in $(EXTRA_HOST_FLAGS) ; do \
5376 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5377 done; \
5378 echo "Doing TAGS in bzip2" ; \
5379 (cd bzip2 && \
5380 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5381 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5382 "RANLIB=$${RANLIB}" \
5383 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5384 TAGS) \
5385 || exit 1
5387 @endif bzip2
5389 .PHONY: maybe-install-info-bzip2 install-info-bzip2
5390 maybe-install-info-bzip2:
5391 @if bzip2
5392 maybe-install-info-bzip2: install-info-bzip2
5394 install-info-bzip2: \
5395 configure-bzip2 \
5396 info-bzip2
5397 @[ -f ./bzip2/Makefile ] || exit 0; \
5398 r=`${PWD_COMMAND}`; export r; \
5399 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5400 $(SET_LIB_PATH) \
5401 $(HOST_EXPORTS) \
5402 for flag in $(EXTRA_HOST_FLAGS) ; do \
5403 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5404 done; \
5405 echo "Doing install-info in bzip2" ; \
5406 (cd bzip2 && \
5407 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5408 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5409 "RANLIB=$${RANLIB}" \
5410 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5411 install-info) \
5412 || exit 1
5414 @endif bzip2
5416 .PHONY: maybe-installcheck-bzip2 installcheck-bzip2
5417 maybe-installcheck-bzip2:
5418 @if bzip2
5419 maybe-installcheck-bzip2: installcheck-bzip2
5421 installcheck-bzip2: \
5422 configure-bzip2
5423 @[ -f ./bzip2/Makefile ] || exit 0; \
5424 r=`${PWD_COMMAND}`; export r; \
5425 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5426 $(SET_LIB_PATH) \
5427 $(HOST_EXPORTS) \
5428 for flag in $(EXTRA_HOST_FLAGS) ; do \
5429 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5430 done; \
5431 echo "Doing installcheck in bzip2" ; \
5432 (cd bzip2 && \
5433 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5434 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5435 "RANLIB=$${RANLIB}" \
5436 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5437 installcheck) \
5438 || exit 1
5440 @endif bzip2
5442 .PHONY: maybe-mostlyclean-bzip2 mostlyclean-bzip2
5443 maybe-mostlyclean-bzip2:
5444 @if bzip2
5445 maybe-mostlyclean-bzip2: mostlyclean-bzip2
5447 mostlyclean-bzip2:
5448 @[ -f ./bzip2/Makefile ] || exit 0; \
5449 r=`${PWD_COMMAND}`; export r; \
5450 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5451 $(SET_LIB_PATH) \
5452 $(HOST_EXPORTS) \
5453 for flag in $(EXTRA_HOST_FLAGS) ; do \
5454 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5455 done; \
5456 echo "Doing mostlyclean in bzip2" ; \
5457 (cd bzip2 && \
5458 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5459 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5460 "RANLIB=$${RANLIB}" \
5461 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5462 mostlyclean) \
5463 || exit 1
5465 @endif bzip2
5467 .PHONY: maybe-clean-bzip2 clean-bzip2
5468 maybe-clean-bzip2:
5469 @if bzip2
5470 maybe-clean-bzip2: clean-bzip2
5472 clean-bzip2:
5473 @[ -f ./bzip2/Makefile ] || exit 0; \
5474 r=`${PWD_COMMAND}`; export r; \
5475 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5476 $(SET_LIB_PATH) \
5477 $(HOST_EXPORTS) \
5478 for flag in $(EXTRA_HOST_FLAGS) ; do \
5479 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5480 done; \
5481 echo "Doing clean in bzip2" ; \
5482 (cd bzip2 && \
5483 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5484 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5485 "RANLIB=$${RANLIB}" \
5486 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5487 clean) \
5488 || exit 1
5490 @endif bzip2
5492 .PHONY: maybe-distclean-bzip2 distclean-bzip2
5493 maybe-distclean-bzip2:
5494 @if bzip2
5495 maybe-distclean-bzip2: distclean-bzip2
5497 distclean-bzip2:
5498 @[ -f ./bzip2/Makefile ] || exit 0; \
5499 r=`${PWD_COMMAND}`; export r; \
5500 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5501 $(SET_LIB_PATH) \
5502 $(HOST_EXPORTS) \
5503 for flag in $(EXTRA_HOST_FLAGS) ; do \
5504 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5505 done; \
5506 echo "Doing distclean in bzip2" ; \
5507 (cd bzip2 && \
5508 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5509 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5510 "RANLIB=$${RANLIB}" \
5511 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5512 distclean) \
5513 || exit 1
5515 @endif bzip2
5517 .PHONY: maybe-maintainer-clean-bzip2 maintainer-clean-bzip2
5518 maybe-maintainer-clean-bzip2:
5519 @if bzip2
5520 maybe-maintainer-clean-bzip2: maintainer-clean-bzip2
5522 maintainer-clean-bzip2:
5523 @[ -f ./bzip2/Makefile ] || exit 0; \
5524 r=`${PWD_COMMAND}`; export r; \
5525 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5526 $(SET_LIB_PATH) \
5527 $(HOST_EXPORTS) \
5528 for flag in $(EXTRA_HOST_FLAGS) ; do \
5529 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5530 done; \
5531 echo "Doing maintainer-clean in bzip2" ; \
5532 (cd bzip2 && \
5533 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5534 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5535 "RANLIB=$${RANLIB}" \
5536 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5537 maintainer-clean) \
5538 || exit 1
5540 @endif bzip2
5543 .PHONY: configure-dejagnu maybe-configure-dejagnu
5544 maybe-configure-dejagnu:
5545 @if dejagnu
5546 maybe-configure-dejagnu: configure-dejagnu
5547 configure-dejagnu:
5548 @test ! -f dejagnu/Makefile || exit 0; \
5549 [ -d dejagnu ] || mkdir dejagnu; \
5550 r=`${PWD_COMMAND}`; export r; \
5551 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5552 $(HOST_EXPORTS) \
5553 echo Configuring in dejagnu; \
5554 cd dejagnu || exit 1; \
5555 case $(srcdir) in \
5556 \.) \
5557 srcdiroption="--srcdir=."; \
5558 libsrcdir=".";; \
5559 /* | [A-Za-z]:[\\/]*) \
5560 srcdiroption="--srcdir=$(srcdir)/dejagnu"; \
5561 libsrcdir="$$s/dejagnu";; \
5562 *) \
5563 srcdiroption="--srcdir=../$(srcdir)/dejagnu"; \
5564 libsrcdir="$$s/dejagnu";; \
5565 esac; \
5566 $(SHELL) $${libsrcdir}/configure \
5567 $(HOST_CONFIGARGS) $${srcdiroption} \
5568 || exit 1
5569 @endif dejagnu
5571 .PHONY: all-dejagnu maybe-all-dejagnu
5572 maybe-all-dejagnu:
5573 @if dejagnu
5574 maybe-all-dejagnu: all-dejagnu
5575 all-dejagnu: configure-dejagnu
5576 @r=`${PWD_COMMAND}`; export r; \
5577 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5578 $(SET_LIB_PATH) \
5579 $(HOST_EXPORTS) \
5580 (cd dejagnu && $(MAKE) $(FLAGS_TO_PASS) all)
5581 @endif dejagnu
5583 .PHONY: check-dejagnu maybe-check-dejagnu
5584 maybe-check-dejagnu:
5585 @if dejagnu
5586 maybe-check-dejagnu: check-dejagnu
5588 check-dejagnu:
5589 @r=`${PWD_COMMAND}`; export r; \
5590 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5591 $(SET_LIB_PATH) \
5592 $(HOST_EXPORTS) \
5593 (cd dejagnu && $(MAKE) $(FLAGS_TO_PASS) check)
5595 @endif dejagnu
5597 .PHONY: install-dejagnu maybe-install-dejagnu
5598 maybe-install-dejagnu:
5599 @if dejagnu
5600 maybe-install-dejagnu: install-dejagnu
5602 install-dejagnu: installdirs
5603 @r=`${PWD_COMMAND}`; export r; \
5604 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5605 $(SET_LIB_PATH) \
5606 $(HOST_EXPORTS) \
5607 (cd dejagnu && $(MAKE) $(FLAGS_TO_PASS) install)
5609 @endif dejagnu
5611 # Other targets (info, dvi, etc.)
5613 .PHONY: maybe-info-dejagnu info-dejagnu
5614 maybe-info-dejagnu:
5615 @if dejagnu
5616 maybe-info-dejagnu: info-dejagnu
5618 info-dejagnu: \
5619 configure-dejagnu
5620 @[ -f ./dejagnu/Makefile ] || exit 0; \
5621 r=`${PWD_COMMAND}`; export r; \
5622 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5623 $(SET_LIB_PATH) \
5624 $(HOST_EXPORTS) \
5625 for flag in $(EXTRA_HOST_FLAGS) ; do \
5626 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5627 done; \
5628 echo "Doing info in dejagnu" ; \
5629 (cd dejagnu && \
5630 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5631 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5632 "RANLIB=$${RANLIB}" \
5633 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5634 info) \
5635 || exit 1
5637 @endif dejagnu
5639 .PHONY: maybe-dvi-dejagnu dvi-dejagnu
5640 maybe-dvi-dejagnu:
5641 @if dejagnu
5642 maybe-dvi-dejagnu: dvi-dejagnu
5644 dvi-dejagnu: \
5645 configure-dejagnu
5646 @[ -f ./dejagnu/Makefile ] || exit 0; \
5647 r=`${PWD_COMMAND}`; export r; \
5648 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5649 $(SET_LIB_PATH) \
5650 $(HOST_EXPORTS) \
5651 for flag in $(EXTRA_HOST_FLAGS) ; do \
5652 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5653 done; \
5654 echo "Doing dvi in dejagnu" ; \
5655 (cd dejagnu && \
5656 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5657 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5658 "RANLIB=$${RANLIB}" \
5659 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5660 dvi) \
5661 || exit 1
5663 @endif dejagnu
5665 .PHONY: maybe-TAGS-dejagnu TAGS-dejagnu
5666 maybe-TAGS-dejagnu:
5667 @if dejagnu
5668 maybe-TAGS-dejagnu: TAGS-dejagnu
5670 TAGS-dejagnu: \
5671 configure-dejagnu
5672 @[ -f ./dejagnu/Makefile ] || exit 0; \
5673 r=`${PWD_COMMAND}`; export r; \
5674 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5675 $(SET_LIB_PATH) \
5676 $(HOST_EXPORTS) \
5677 for flag in $(EXTRA_HOST_FLAGS) ; do \
5678 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5679 done; \
5680 echo "Doing TAGS in dejagnu" ; \
5681 (cd dejagnu && \
5682 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5683 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5684 "RANLIB=$${RANLIB}" \
5685 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5686 TAGS) \
5687 || exit 1
5689 @endif dejagnu
5691 .PHONY: maybe-install-info-dejagnu install-info-dejagnu
5692 maybe-install-info-dejagnu:
5693 @if dejagnu
5694 maybe-install-info-dejagnu: install-info-dejagnu
5696 install-info-dejagnu: \
5697 configure-dejagnu \
5698 info-dejagnu
5699 @[ -f ./dejagnu/Makefile ] || exit 0; \
5700 r=`${PWD_COMMAND}`; export r; \
5701 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5702 $(SET_LIB_PATH) \
5703 $(HOST_EXPORTS) \
5704 for flag in $(EXTRA_HOST_FLAGS) ; do \
5705 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5706 done; \
5707 echo "Doing install-info in dejagnu" ; \
5708 (cd dejagnu && \
5709 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5710 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5711 "RANLIB=$${RANLIB}" \
5712 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5713 install-info) \
5714 || exit 1
5716 @endif dejagnu
5718 .PHONY: maybe-installcheck-dejagnu installcheck-dejagnu
5719 maybe-installcheck-dejagnu:
5720 @if dejagnu
5721 maybe-installcheck-dejagnu: installcheck-dejagnu
5723 installcheck-dejagnu: \
5724 configure-dejagnu
5725 @[ -f ./dejagnu/Makefile ] || exit 0; \
5726 r=`${PWD_COMMAND}`; export r; \
5727 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5728 $(SET_LIB_PATH) \
5729 $(HOST_EXPORTS) \
5730 for flag in $(EXTRA_HOST_FLAGS) ; do \
5731 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5732 done; \
5733 echo "Doing installcheck in dejagnu" ; \
5734 (cd dejagnu && \
5735 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5736 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5737 "RANLIB=$${RANLIB}" \
5738 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5739 installcheck) \
5740 || exit 1
5742 @endif dejagnu
5744 .PHONY: maybe-mostlyclean-dejagnu mostlyclean-dejagnu
5745 maybe-mostlyclean-dejagnu:
5746 @if dejagnu
5747 maybe-mostlyclean-dejagnu: mostlyclean-dejagnu
5749 mostlyclean-dejagnu:
5750 @[ -f ./dejagnu/Makefile ] || exit 0; \
5751 r=`${PWD_COMMAND}`; export r; \
5752 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5753 $(SET_LIB_PATH) \
5754 $(HOST_EXPORTS) \
5755 for flag in $(EXTRA_HOST_FLAGS) ; do \
5756 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5757 done; \
5758 echo "Doing mostlyclean in dejagnu" ; \
5759 (cd dejagnu && \
5760 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5761 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5762 "RANLIB=$${RANLIB}" \
5763 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5764 mostlyclean) \
5765 || exit 1
5767 @endif dejagnu
5769 .PHONY: maybe-clean-dejagnu clean-dejagnu
5770 maybe-clean-dejagnu:
5771 @if dejagnu
5772 maybe-clean-dejagnu: clean-dejagnu
5774 clean-dejagnu:
5775 @[ -f ./dejagnu/Makefile ] || exit 0; \
5776 r=`${PWD_COMMAND}`; export r; \
5777 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5778 $(SET_LIB_PATH) \
5779 $(HOST_EXPORTS) \
5780 for flag in $(EXTRA_HOST_FLAGS) ; do \
5781 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5782 done; \
5783 echo "Doing clean in dejagnu" ; \
5784 (cd dejagnu && \
5785 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5786 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5787 "RANLIB=$${RANLIB}" \
5788 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5789 clean) \
5790 || exit 1
5792 @endif dejagnu
5794 .PHONY: maybe-distclean-dejagnu distclean-dejagnu
5795 maybe-distclean-dejagnu:
5796 @if dejagnu
5797 maybe-distclean-dejagnu: distclean-dejagnu
5799 distclean-dejagnu:
5800 @[ -f ./dejagnu/Makefile ] || exit 0; \
5801 r=`${PWD_COMMAND}`; export r; \
5802 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5803 $(SET_LIB_PATH) \
5804 $(HOST_EXPORTS) \
5805 for flag in $(EXTRA_HOST_FLAGS) ; do \
5806 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5807 done; \
5808 echo "Doing distclean in dejagnu" ; \
5809 (cd dejagnu && \
5810 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5811 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5812 "RANLIB=$${RANLIB}" \
5813 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5814 distclean) \
5815 || exit 1
5817 @endif dejagnu
5819 .PHONY: maybe-maintainer-clean-dejagnu maintainer-clean-dejagnu
5820 maybe-maintainer-clean-dejagnu:
5821 @if dejagnu
5822 maybe-maintainer-clean-dejagnu: maintainer-clean-dejagnu
5824 maintainer-clean-dejagnu:
5825 @[ -f ./dejagnu/Makefile ] || exit 0; \
5826 r=`${PWD_COMMAND}`; export r; \
5827 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5828 $(SET_LIB_PATH) \
5829 $(HOST_EXPORTS) \
5830 for flag in $(EXTRA_HOST_FLAGS) ; do \
5831 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5832 done; \
5833 echo "Doing maintainer-clean in dejagnu" ; \
5834 (cd dejagnu && \
5835 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5836 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5837 "RANLIB=$${RANLIB}" \
5838 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5839 maintainer-clean) \
5840 || exit 1
5842 @endif dejagnu
5845 .PHONY: configure-diff maybe-configure-diff
5846 maybe-configure-diff:
5847 @if diff
5848 maybe-configure-diff: configure-diff
5849 configure-diff:
5850 @test ! -f diff/Makefile || exit 0; \
5851 [ -d diff ] || mkdir diff; \
5852 r=`${PWD_COMMAND}`; export r; \
5853 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5854 $(HOST_EXPORTS) \
5855 echo Configuring in diff; \
5856 cd diff || exit 1; \
5857 case $(srcdir) in \
5858 \.) \
5859 srcdiroption="--srcdir=."; \
5860 libsrcdir=".";; \
5861 /* | [A-Za-z]:[\\/]*) \
5862 srcdiroption="--srcdir=$(srcdir)/diff"; \
5863 libsrcdir="$$s/diff";; \
5864 *) \
5865 srcdiroption="--srcdir=../$(srcdir)/diff"; \
5866 libsrcdir="$$s/diff";; \
5867 esac; \
5868 $(SHELL) $${libsrcdir}/configure \
5869 $(HOST_CONFIGARGS) $${srcdiroption} \
5870 || exit 1
5871 @endif diff
5873 .PHONY: all-diff maybe-all-diff
5874 maybe-all-diff:
5875 @if diff
5876 maybe-all-diff: all-diff
5877 all-diff: configure-diff
5878 @r=`${PWD_COMMAND}`; export r; \
5879 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5880 $(SET_LIB_PATH) \
5881 $(HOST_EXPORTS) \
5882 (cd diff && $(MAKE) $(FLAGS_TO_PASS) all)
5883 @endif diff
5885 .PHONY: check-diff maybe-check-diff
5886 maybe-check-diff:
5887 @if diff
5888 maybe-check-diff: check-diff
5890 check-diff:
5891 @r=`${PWD_COMMAND}`; export r; \
5892 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5893 $(SET_LIB_PATH) \
5894 $(HOST_EXPORTS) \
5895 (cd diff && $(MAKE) $(FLAGS_TO_PASS) check)
5897 @endif diff
5899 .PHONY: install-diff maybe-install-diff
5900 maybe-install-diff:
5901 @if diff
5902 maybe-install-diff: install-diff
5904 install-diff: installdirs
5905 @r=`${PWD_COMMAND}`; export r; \
5906 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5907 $(SET_LIB_PATH) \
5908 $(HOST_EXPORTS) \
5909 (cd diff && $(MAKE) $(FLAGS_TO_PASS) install)
5911 @endif diff
5913 # Other targets (info, dvi, etc.)
5915 .PHONY: maybe-info-diff info-diff
5916 maybe-info-diff:
5917 @if diff
5918 maybe-info-diff: info-diff
5920 info-diff: \
5921 configure-diff
5922 @[ -f ./diff/Makefile ] || exit 0; \
5923 r=`${PWD_COMMAND}`; export r; \
5924 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5925 $(SET_LIB_PATH) \
5926 $(HOST_EXPORTS) \
5927 for flag in $(EXTRA_HOST_FLAGS) ; do \
5928 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5929 done; \
5930 echo "Doing info in diff" ; \
5931 (cd diff && \
5932 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5933 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5934 "RANLIB=$${RANLIB}" \
5935 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5936 info) \
5937 || exit 1
5939 @endif diff
5941 .PHONY: maybe-dvi-diff dvi-diff
5942 maybe-dvi-diff:
5943 @if diff
5944 maybe-dvi-diff: dvi-diff
5946 dvi-diff: \
5947 configure-diff
5948 @[ -f ./diff/Makefile ] || exit 0; \
5949 r=`${PWD_COMMAND}`; export r; \
5950 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5951 $(SET_LIB_PATH) \
5952 $(HOST_EXPORTS) \
5953 for flag in $(EXTRA_HOST_FLAGS) ; do \
5954 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5955 done; \
5956 echo "Doing dvi in diff" ; \
5957 (cd diff && \
5958 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5959 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5960 "RANLIB=$${RANLIB}" \
5961 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5962 dvi) \
5963 || exit 1
5965 @endif diff
5967 .PHONY: maybe-TAGS-diff TAGS-diff
5968 maybe-TAGS-diff:
5969 @if diff
5970 maybe-TAGS-diff: TAGS-diff
5972 TAGS-diff: \
5973 configure-diff
5974 @[ -f ./diff/Makefile ] || exit 0; \
5975 r=`${PWD_COMMAND}`; export r; \
5976 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5977 $(SET_LIB_PATH) \
5978 $(HOST_EXPORTS) \
5979 for flag in $(EXTRA_HOST_FLAGS) ; do \
5980 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5981 done; \
5982 echo "Doing TAGS in diff" ; \
5983 (cd diff && \
5984 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5985 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5986 "RANLIB=$${RANLIB}" \
5987 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5988 TAGS) \
5989 || exit 1
5991 @endif diff
5993 .PHONY: maybe-install-info-diff install-info-diff
5994 maybe-install-info-diff:
5995 @if diff
5996 maybe-install-info-diff: install-info-diff
5998 install-info-diff: \
5999 configure-diff \
6000 info-diff
6001 @[ -f ./diff/Makefile ] || exit 0; \
6002 r=`${PWD_COMMAND}`; export r; \
6003 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6004 $(SET_LIB_PATH) \
6005 $(HOST_EXPORTS) \
6006 for flag in $(EXTRA_HOST_FLAGS) ; do \
6007 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6008 done; \
6009 echo "Doing install-info in diff" ; \
6010 (cd diff && \
6011 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6012 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6013 "RANLIB=$${RANLIB}" \
6014 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6015 install-info) \
6016 || exit 1
6018 @endif diff
6020 .PHONY: maybe-installcheck-diff installcheck-diff
6021 maybe-installcheck-diff:
6022 @if diff
6023 maybe-installcheck-diff: installcheck-diff
6025 installcheck-diff: \
6026 configure-diff
6027 @[ -f ./diff/Makefile ] || exit 0; \
6028 r=`${PWD_COMMAND}`; export r; \
6029 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6030 $(SET_LIB_PATH) \
6031 $(HOST_EXPORTS) \
6032 for flag in $(EXTRA_HOST_FLAGS) ; do \
6033 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6034 done; \
6035 echo "Doing installcheck in diff" ; \
6036 (cd diff && \
6037 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6038 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6039 "RANLIB=$${RANLIB}" \
6040 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6041 installcheck) \
6042 || exit 1
6044 @endif diff
6046 .PHONY: maybe-mostlyclean-diff mostlyclean-diff
6047 maybe-mostlyclean-diff:
6048 @if diff
6049 maybe-mostlyclean-diff: mostlyclean-diff
6051 mostlyclean-diff:
6052 @[ -f ./diff/Makefile ] || exit 0; \
6053 r=`${PWD_COMMAND}`; export r; \
6054 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6055 $(SET_LIB_PATH) \
6056 $(HOST_EXPORTS) \
6057 for flag in $(EXTRA_HOST_FLAGS) ; do \
6058 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6059 done; \
6060 echo "Doing mostlyclean in diff" ; \
6061 (cd diff && \
6062 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6063 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6064 "RANLIB=$${RANLIB}" \
6065 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6066 mostlyclean) \
6067 || exit 1
6069 @endif diff
6071 .PHONY: maybe-clean-diff clean-diff
6072 maybe-clean-diff:
6073 @if diff
6074 maybe-clean-diff: clean-diff
6076 clean-diff:
6077 @[ -f ./diff/Makefile ] || exit 0; \
6078 r=`${PWD_COMMAND}`; export r; \
6079 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6080 $(SET_LIB_PATH) \
6081 $(HOST_EXPORTS) \
6082 for flag in $(EXTRA_HOST_FLAGS) ; do \
6083 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6084 done; \
6085 echo "Doing clean in diff" ; \
6086 (cd diff && \
6087 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6088 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6089 "RANLIB=$${RANLIB}" \
6090 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6091 clean) \
6092 || exit 1
6094 @endif diff
6096 .PHONY: maybe-distclean-diff distclean-diff
6097 maybe-distclean-diff:
6098 @if diff
6099 maybe-distclean-diff: distclean-diff
6101 distclean-diff:
6102 @[ -f ./diff/Makefile ] || exit 0; \
6103 r=`${PWD_COMMAND}`; export r; \
6104 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6105 $(SET_LIB_PATH) \
6106 $(HOST_EXPORTS) \
6107 for flag in $(EXTRA_HOST_FLAGS) ; do \
6108 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6109 done; \
6110 echo "Doing distclean in diff" ; \
6111 (cd diff && \
6112 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6113 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6114 "RANLIB=$${RANLIB}" \
6115 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6116 distclean) \
6117 || exit 1
6119 @endif diff
6121 .PHONY: maybe-maintainer-clean-diff maintainer-clean-diff
6122 maybe-maintainer-clean-diff:
6123 @if diff
6124 maybe-maintainer-clean-diff: maintainer-clean-diff
6126 maintainer-clean-diff:
6127 @[ -f ./diff/Makefile ] || exit 0; \
6128 r=`${PWD_COMMAND}`; export r; \
6129 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6130 $(SET_LIB_PATH) \
6131 $(HOST_EXPORTS) \
6132 for flag in $(EXTRA_HOST_FLAGS) ; do \
6133 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6134 done; \
6135 echo "Doing maintainer-clean in diff" ; \
6136 (cd diff && \
6137 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6138 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6139 "RANLIB=$${RANLIB}" \
6140 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6141 maintainer-clean) \
6142 || exit 1
6144 @endif diff
6147 .PHONY: configure-dosutils maybe-configure-dosutils
6148 maybe-configure-dosutils:
6149 @if dosutils
6150 maybe-configure-dosutils: configure-dosutils
6151 configure-dosutils:
6152 @test ! -f dosutils/Makefile || exit 0; \
6153 [ -d dosutils ] || mkdir dosutils; \
6154 r=`${PWD_COMMAND}`; export r; \
6155 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6156 $(HOST_EXPORTS) \
6157 echo Configuring in dosutils; \
6158 cd dosutils || exit 1; \
6159 case $(srcdir) in \
6160 \.) \
6161 srcdiroption="--srcdir=."; \
6162 libsrcdir=".";; \
6163 /* | [A-Za-z]:[\\/]*) \
6164 srcdiroption="--srcdir=$(srcdir)/dosutils"; \
6165 libsrcdir="$$s/dosutils";; \
6166 *) \
6167 srcdiroption="--srcdir=../$(srcdir)/dosutils"; \
6168 libsrcdir="$$s/dosutils";; \
6169 esac; \
6170 $(SHELL) $${libsrcdir}/configure \
6171 $(HOST_CONFIGARGS) $${srcdiroption} \
6172 || exit 1
6173 @endif dosutils
6175 .PHONY: all-dosutils maybe-all-dosutils
6176 maybe-all-dosutils:
6177 @if dosutils
6178 maybe-all-dosutils: all-dosutils
6179 all-dosutils: configure-dosutils
6180 @r=`${PWD_COMMAND}`; export r; \
6181 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6182 $(SET_LIB_PATH) \
6183 $(HOST_EXPORTS) \
6184 (cd dosutils && $(MAKE) $(FLAGS_TO_PASS) all)
6185 @endif dosutils
6187 .PHONY: check-dosutils maybe-check-dosutils
6188 maybe-check-dosutils:
6189 @if dosutils
6190 maybe-check-dosutils: check-dosutils
6192 check-dosutils:
6194 @endif dosutils
6196 .PHONY: install-dosutils maybe-install-dosutils
6197 maybe-install-dosutils:
6198 @if dosutils
6199 maybe-install-dosutils: install-dosutils
6201 install-dosutils: installdirs
6202 @r=`${PWD_COMMAND}`; export r; \
6203 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6204 $(SET_LIB_PATH) \
6205 $(HOST_EXPORTS) \
6206 (cd dosutils && $(MAKE) $(FLAGS_TO_PASS) install)
6208 @endif dosutils
6210 # Other targets (info, dvi, etc.)
6212 .PHONY: maybe-info-dosutils info-dosutils
6213 maybe-info-dosutils:
6214 @if dosutils
6215 maybe-info-dosutils: info-dosutils
6217 info-dosutils: \
6218 configure-dosutils
6219 @[ -f ./dosutils/Makefile ] || exit 0; \
6220 r=`${PWD_COMMAND}`; export r; \
6221 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6222 $(SET_LIB_PATH) \
6223 $(HOST_EXPORTS) \
6224 for flag in $(EXTRA_HOST_FLAGS) ; do \
6225 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6226 done; \
6227 echo "Doing info in dosutils" ; \
6228 (cd dosutils && \
6229 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6230 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6231 "RANLIB=$${RANLIB}" \
6232 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6233 info) \
6234 || exit 1
6236 @endif dosutils
6238 .PHONY: maybe-dvi-dosutils dvi-dosutils
6239 maybe-dvi-dosutils:
6240 @if dosutils
6241 maybe-dvi-dosutils: dvi-dosutils
6243 dvi-dosutils: \
6244 configure-dosutils
6245 @[ -f ./dosutils/Makefile ] || exit 0; \
6246 r=`${PWD_COMMAND}`; export r; \
6247 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6248 $(SET_LIB_PATH) \
6249 $(HOST_EXPORTS) \
6250 for flag in $(EXTRA_HOST_FLAGS) ; do \
6251 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6252 done; \
6253 echo "Doing dvi in dosutils" ; \
6254 (cd dosutils && \
6255 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6256 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6257 "RANLIB=$${RANLIB}" \
6258 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6259 dvi) \
6260 || exit 1
6262 @endif dosutils
6264 .PHONY: maybe-TAGS-dosutils TAGS-dosutils
6265 maybe-TAGS-dosutils:
6266 @if dosutils
6267 maybe-TAGS-dosutils: TAGS-dosutils
6269 TAGS-dosutils: \
6270 configure-dosutils
6271 @[ -f ./dosutils/Makefile ] || exit 0; \
6272 r=`${PWD_COMMAND}`; export r; \
6273 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6274 $(SET_LIB_PATH) \
6275 $(HOST_EXPORTS) \
6276 for flag in $(EXTRA_HOST_FLAGS) ; do \
6277 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6278 done; \
6279 echo "Doing TAGS in dosutils" ; \
6280 (cd dosutils && \
6281 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6282 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6283 "RANLIB=$${RANLIB}" \
6284 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6285 TAGS) \
6286 || exit 1
6288 @endif dosutils
6290 .PHONY: maybe-install-info-dosutils install-info-dosutils
6291 maybe-install-info-dosutils:
6292 @if dosutils
6293 maybe-install-info-dosutils: install-info-dosutils
6295 install-info-dosutils: \
6296 configure-dosutils \
6297 info-dosutils
6298 @[ -f ./dosutils/Makefile ] || exit 0; \
6299 r=`${PWD_COMMAND}`; export r; \
6300 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6301 $(SET_LIB_PATH) \
6302 $(HOST_EXPORTS) \
6303 for flag in $(EXTRA_HOST_FLAGS) ; do \
6304 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6305 done; \
6306 echo "Doing install-info in dosutils" ; \
6307 (cd dosutils && \
6308 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6309 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6310 "RANLIB=$${RANLIB}" \
6311 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6312 install-info) \
6313 || exit 1
6315 @endif dosutils
6317 .PHONY: maybe-installcheck-dosutils installcheck-dosutils
6318 maybe-installcheck-dosutils:
6319 @if dosutils
6320 maybe-installcheck-dosutils: installcheck-dosutils
6322 installcheck-dosutils: \
6323 configure-dosutils
6324 @[ -f ./dosutils/Makefile ] || exit 0; \
6325 r=`${PWD_COMMAND}`; export r; \
6326 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6327 $(SET_LIB_PATH) \
6328 $(HOST_EXPORTS) \
6329 for flag in $(EXTRA_HOST_FLAGS) ; do \
6330 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6331 done; \
6332 echo "Doing installcheck in dosutils" ; \
6333 (cd dosutils && \
6334 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6335 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6336 "RANLIB=$${RANLIB}" \
6337 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6338 installcheck) \
6339 || exit 1
6341 @endif dosutils
6343 .PHONY: maybe-mostlyclean-dosutils mostlyclean-dosutils
6344 maybe-mostlyclean-dosutils:
6345 @if dosutils
6346 maybe-mostlyclean-dosutils: mostlyclean-dosutils
6348 mostlyclean-dosutils:
6349 @[ -f ./dosutils/Makefile ] || exit 0; \
6350 r=`${PWD_COMMAND}`; export r; \
6351 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6352 $(SET_LIB_PATH) \
6353 $(HOST_EXPORTS) \
6354 for flag in $(EXTRA_HOST_FLAGS) ; do \
6355 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6356 done; \
6357 echo "Doing mostlyclean in dosutils" ; \
6358 (cd dosutils && \
6359 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6360 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6361 "RANLIB=$${RANLIB}" \
6362 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6363 mostlyclean) \
6364 || exit 1
6366 @endif dosutils
6368 .PHONY: maybe-clean-dosutils clean-dosutils
6369 maybe-clean-dosutils:
6370 @if dosutils
6371 maybe-clean-dosutils: clean-dosutils
6373 clean-dosutils:
6374 @[ -f ./dosutils/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 clean in dosutils" ; \
6383 (cd dosutils && \
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 clean) \
6389 || exit 1
6391 @endif dosutils
6393 .PHONY: maybe-distclean-dosutils distclean-dosutils
6394 maybe-distclean-dosutils:
6395 @if dosutils
6396 maybe-distclean-dosutils: distclean-dosutils
6398 distclean-dosutils:
6399 @[ -f ./dosutils/Makefile ] || exit 0; \
6400 r=`${PWD_COMMAND}`; export r; \
6401 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6402 $(SET_LIB_PATH) \
6403 $(HOST_EXPORTS) \
6404 for flag in $(EXTRA_HOST_FLAGS) ; do \
6405 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6406 done; \
6407 echo "Doing distclean in dosutils" ; \
6408 (cd dosutils && \
6409 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6410 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6411 "RANLIB=$${RANLIB}" \
6412 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6413 distclean) \
6414 || exit 1
6416 @endif dosutils
6418 .PHONY: maybe-maintainer-clean-dosutils maintainer-clean-dosutils
6419 maybe-maintainer-clean-dosutils:
6420 @if dosutils
6421 maybe-maintainer-clean-dosutils: maintainer-clean-dosutils
6423 maintainer-clean-dosutils:
6424 @[ -f ./dosutils/Makefile ] || exit 0; \
6425 r=`${PWD_COMMAND}`; export r; \
6426 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6427 $(SET_LIB_PATH) \
6428 $(HOST_EXPORTS) \
6429 for flag in $(EXTRA_HOST_FLAGS) ; do \
6430 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6431 done; \
6432 echo "Doing maintainer-clean in dosutils" ; \
6433 (cd dosutils && \
6434 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6435 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6436 "RANLIB=$${RANLIB}" \
6437 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6438 maintainer-clean) \
6439 || exit 1
6441 @endif dosutils
6444 .PHONY: configure-etc maybe-configure-etc
6445 maybe-configure-etc:
6446 @if etc
6447 maybe-configure-etc: configure-etc
6448 configure-etc:
6449 @test ! -f etc/Makefile || exit 0; \
6450 [ -d etc ] || mkdir etc; \
6451 r=`${PWD_COMMAND}`; export r; \
6452 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6453 $(HOST_EXPORTS) \
6454 echo Configuring in etc; \
6455 cd etc || exit 1; \
6456 case $(srcdir) in \
6457 \.) \
6458 srcdiroption="--srcdir=."; \
6459 libsrcdir=".";; \
6460 /* | [A-Za-z]:[\\/]*) \
6461 srcdiroption="--srcdir=$(srcdir)/etc"; \
6462 libsrcdir="$$s/etc";; \
6463 *) \
6464 srcdiroption="--srcdir=../$(srcdir)/etc"; \
6465 libsrcdir="$$s/etc";; \
6466 esac; \
6467 $(SHELL) $${libsrcdir}/configure \
6468 $(HOST_CONFIGARGS) $${srcdiroption} \
6469 || exit 1
6470 @endif etc
6472 .PHONY: all-etc maybe-all-etc
6473 maybe-all-etc:
6474 @if etc
6475 maybe-all-etc: all-etc
6476 all-etc: configure-etc
6477 @r=`${PWD_COMMAND}`; export r; \
6478 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6479 $(SET_LIB_PATH) \
6480 $(HOST_EXPORTS) \
6481 (cd etc && $(MAKE) $(FLAGS_TO_PASS) all)
6482 @endif etc
6484 .PHONY: check-etc maybe-check-etc
6485 maybe-check-etc:
6486 @if etc
6487 maybe-check-etc: check-etc
6489 check-etc:
6490 @r=`${PWD_COMMAND}`; export r; \
6491 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6492 $(SET_LIB_PATH) \
6493 $(HOST_EXPORTS) \
6494 (cd etc && $(MAKE) $(FLAGS_TO_PASS) check)
6496 @endif etc
6498 .PHONY: install-etc maybe-install-etc
6499 maybe-install-etc:
6500 @if etc
6501 maybe-install-etc: install-etc
6503 install-etc: installdirs
6504 @r=`${PWD_COMMAND}`; export r; \
6505 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6506 $(SET_LIB_PATH) \
6507 $(HOST_EXPORTS) \
6508 (cd etc && $(MAKE) $(FLAGS_TO_PASS) install)
6510 @endif etc
6512 # Other targets (info, dvi, etc.)
6514 .PHONY: maybe-info-etc info-etc
6515 maybe-info-etc:
6516 @if etc
6517 maybe-info-etc: info-etc
6519 info-etc: \
6520 configure-etc
6521 @[ -f ./etc/Makefile ] || exit 0; \
6522 r=`${PWD_COMMAND}`; export r; \
6523 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6524 $(SET_LIB_PATH) \
6525 $(HOST_EXPORTS) \
6526 for flag in $(EXTRA_HOST_FLAGS) ; do \
6527 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6528 done; \
6529 echo "Doing info in etc" ; \
6530 (cd etc && \
6531 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6532 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6533 "RANLIB=$${RANLIB}" \
6534 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6535 info) \
6536 || exit 1
6538 @endif etc
6540 .PHONY: maybe-dvi-etc dvi-etc
6541 maybe-dvi-etc:
6542 @if etc
6543 maybe-dvi-etc: dvi-etc
6545 dvi-etc: \
6546 configure-etc
6547 @[ -f ./etc/Makefile ] || exit 0; \
6548 r=`${PWD_COMMAND}`; export r; \
6549 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6550 $(SET_LIB_PATH) \
6551 $(HOST_EXPORTS) \
6552 for flag in $(EXTRA_HOST_FLAGS) ; do \
6553 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6554 done; \
6555 echo "Doing dvi in etc" ; \
6556 (cd etc && \
6557 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6558 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6559 "RANLIB=$${RANLIB}" \
6560 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6561 dvi) \
6562 || exit 1
6564 @endif etc
6566 .PHONY: maybe-TAGS-etc TAGS-etc
6567 maybe-TAGS-etc:
6568 @if etc
6569 maybe-TAGS-etc: TAGS-etc
6571 TAGS-etc: \
6572 configure-etc
6573 @[ -f ./etc/Makefile ] || exit 0; \
6574 r=`${PWD_COMMAND}`; export r; \
6575 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6576 $(SET_LIB_PATH) \
6577 $(HOST_EXPORTS) \
6578 for flag in $(EXTRA_HOST_FLAGS) ; do \
6579 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6580 done; \
6581 echo "Doing TAGS in etc" ; \
6582 (cd etc && \
6583 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6584 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6585 "RANLIB=$${RANLIB}" \
6586 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6587 TAGS) \
6588 || exit 1
6590 @endif etc
6592 .PHONY: maybe-install-info-etc install-info-etc
6593 maybe-install-info-etc:
6594 @if etc
6595 maybe-install-info-etc: install-info-etc
6597 install-info-etc: \
6598 configure-etc \
6599 info-etc
6600 @[ -f ./etc/Makefile ] || exit 0; \
6601 r=`${PWD_COMMAND}`; export r; \
6602 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6603 $(SET_LIB_PATH) \
6604 $(HOST_EXPORTS) \
6605 for flag in $(EXTRA_HOST_FLAGS) ; do \
6606 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6607 done; \
6608 echo "Doing install-info in etc" ; \
6609 (cd etc && \
6610 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6611 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6612 "RANLIB=$${RANLIB}" \
6613 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6614 install-info) \
6615 || exit 1
6617 @endif etc
6619 .PHONY: maybe-installcheck-etc installcheck-etc
6620 maybe-installcheck-etc:
6621 @if etc
6622 maybe-installcheck-etc: installcheck-etc
6624 installcheck-etc: \
6625 configure-etc
6626 @[ -f ./etc/Makefile ] || exit 0; \
6627 r=`${PWD_COMMAND}`; export r; \
6628 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6629 $(SET_LIB_PATH) \
6630 $(HOST_EXPORTS) \
6631 for flag in $(EXTRA_HOST_FLAGS) ; do \
6632 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6633 done; \
6634 echo "Doing installcheck in etc" ; \
6635 (cd etc && \
6636 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6637 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6638 "RANLIB=$${RANLIB}" \
6639 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6640 installcheck) \
6641 || exit 1
6643 @endif etc
6645 .PHONY: maybe-mostlyclean-etc mostlyclean-etc
6646 maybe-mostlyclean-etc:
6647 @if etc
6648 maybe-mostlyclean-etc: mostlyclean-etc
6650 mostlyclean-etc:
6651 @[ -f ./etc/Makefile ] || exit 0; \
6652 r=`${PWD_COMMAND}`; export r; \
6653 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6654 $(SET_LIB_PATH) \
6655 $(HOST_EXPORTS) \
6656 for flag in $(EXTRA_HOST_FLAGS) ; do \
6657 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6658 done; \
6659 echo "Doing mostlyclean in etc" ; \
6660 (cd etc && \
6661 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6662 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6663 "RANLIB=$${RANLIB}" \
6664 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6665 mostlyclean) \
6666 || exit 1
6668 @endif etc
6670 .PHONY: maybe-clean-etc clean-etc
6671 maybe-clean-etc:
6672 @if etc
6673 maybe-clean-etc: clean-etc
6675 clean-etc:
6676 @[ -f ./etc/Makefile ] || exit 0; \
6677 r=`${PWD_COMMAND}`; export r; \
6678 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6679 $(SET_LIB_PATH) \
6680 $(HOST_EXPORTS) \
6681 for flag in $(EXTRA_HOST_FLAGS) ; do \
6682 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6683 done; \
6684 echo "Doing clean in etc" ; \
6685 (cd etc && \
6686 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6687 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6688 "RANLIB=$${RANLIB}" \
6689 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6690 clean) \
6691 || exit 1
6693 @endif etc
6695 .PHONY: maybe-distclean-etc distclean-etc
6696 maybe-distclean-etc:
6697 @if etc
6698 maybe-distclean-etc: distclean-etc
6700 distclean-etc:
6701 @[ -f ./etc/Makefile ] || exit 0; \
6702 r=`${PWD_COMMAND}`; export r; \
6703 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6704 $(SET_LIB_PATH) \
6705 $(HOST_EXPORTS) \
6706 for flag in $(EXTRA_HOST_FLAGS) ; do \
6707 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6708 done; \
6709 echo "Doing distclean in etc" ; \
6710 (cd etc && \
6711 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6712 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6713 "RANLIB=$${RANLIB}" \
6714 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6715 distclean) \
6716 || exit 1
6718 @endif etc
6720 .PHONY: maybe-maintainer-clean-etc maintainer-clean-etc
6721 maybe-maintainer-clean-etc:
6722 @if etc
6723 maybe-maintainer-clean-etc: maintainer-clean-etc
6725 maintainer-clean-etc:
6726 @[ -f ./etc/Makefile ] || exit 0; \
6727 r=`${PWD_COMMAND}`; export r; \
6728 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6729 $(SET_LIB_PATH) \
6730 $(HOST_EXPORTS) \
6731 for flag in $(EXTRA_HOST_FLAGS) ; do \
6732 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6733 done; \
6734 echo "Doing maintainer-clean in etc" ; \
6735 (cd etc && \
6736 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6737 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6738 "RANLIB=$${RANLIB}" \
6739 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6740 maintainer-clean) \
6741 || exit 1
6743 @endif etc
6746 .PHONY: configure-fastjar maybe-configure-fastjar
6747 maybe-configure-fastjar:
6748 @if fastjar
6749 maybe-configure-fastjar: configure-fastjar
6750 configure-fastjar:
6751 @test ! -f fastjar/Makefile || exit 0; \
6752 [ -d fastjar ] || mkdir fastjar; \
6753 r=`${PWD_COMMAND}`; export r; \
6754 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6755 $(HOST_EXPORTS) \
6756 echo Configuring in fastjar; \
6757 cd fastjar || exit 1; \
6758 case $(srcdir) in \
6759 \.) \
6760 srcdiroption="--srcdir=."; \
6761 libsrcdir=".";; \
6762 /* | [A-Za-z]:[\\/]*) \
6763 srcdiroption="--srcdir=$(srcdir)/fastjar"; \
6764 libsrcdir="$$s/fastjar";; \
6765 *) \
6766 srcdiroption="--srcdir=../$(srcdir)/fastjar"; \
6767 libsrcdir="$$s/fastjar";; \
6768 esac; \
6769 $(SHELL) $${libsrcdir}/configure \
6770 $(HOST_CONFIGARGS) $${srcdiroption} \
6771 || exit 1
6772 @endif fastjar
6774 .PHONY: all-fastjar maybe-all-fastjar
6775 maybe-all-fastjar:
6776 @if fastjar
6777 maybe-all-fastjar: all-fastjar
6778 all-fastjar: configure-fastjar
6779 @r=`${PWD_COMMAND}`; export r; \
6780 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6781 $(SET_LIB_PATH) \
6782 $(HOST_EXPORTS) \
6783 (cd fastjar && $(MAKE) $(FLAGS_TO_PASS) all)
6784 @endif fastjar
6786 .PHONY: check-fastjar maybe-check-fastjar
6787 maybe-check-fastjar:
6788 @if fastjar
6789 maybe-check-fastjar: check-fastjar
6791 # This module is only tested in a native toolchain.
6792 check-fastjar:
6793 @if [ '$(host)' = '$(target)' ] ; then \
6794 r=`${PWD_COMMAND}`; export r; \
6795 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6796 $(SET_LIB_PATH) \
6797 $(HOST_EXPORTS) \
6798 (cd fastjar && $(MAKE) $(FLAGS_TO_PASS) check); \
6801 @endif fastjar
6803 .PHONY: install-fastjar maybe-install-fastjar
6804 maybe-install-fastjar:
6805 @if fastjar
6806 maybe-install-fastjar: install-fastjar
6808 install-fastjar: installdirs
6809 @r=`${PWD_COMMAND}`; export r; \
6810 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6811 $(SET_LIB_PATH) \
6812 $(HOST_EXPORTS) \
6813 (cd fastjar && $(MAKE) $(FLAGS_TO_PASS) install)
6815 @endif fastjar
6817 # Other targets (info, dvi, etc.)
6819 .PHONY: maybe-info-fastjar info-fastjar
6820 maybe-info-fastjar:
6821 @if fastjar
6822 maybe-info-fastjar: info-fastjar
6824 info-fastjar: \
6825 configure-fastjar
6826 @[ -f ./fastjar/Makefile ] || exit 0; \
6827 r=`${PWD_COMMAND}`; export r; \
6828 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6829 $(SET_LIB_PATH) \
6830 $(HOST_EXPORTS) \
6831 for flag in $(EXTRA_HOST_FLAGS) ; do \
6832 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6833 done; \
6834 echo "Doing info in fastjar" ; \
6835 (cd fastjar && \
6836 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6837 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6838 "RANLIB=$${RANLIB}" \
6839 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6840 info) \
6841 || exit 1
6843 @endif fastjar
6845 .PHONY: maybe-dvi-fastjar dvi-fastjar
6846 maybe-dvi-fastjar:
6847 @if fastjar
6848 maybe-dvi-fastjar: dvi-fastjar
6850 dvi-fastjar: \
6851 configure-fastjar
6852 @[ -f ./fastjar/Makefile ] || exit 0; \
6853 r=`${PWD_COMMAND}`; export r; \
6854 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6855 $(SET_LIB_PATH) \
6856 $(HOST_EXPORTS) \
6857 for flag in $(EXTRA_HOST_FLAGS) ; do \
6858 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6859 done; \
6860 echo "Doing dvi in fastjar" ; \
6861 (cd fastjar && \
6862 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6863 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6864 "RANLIB=$${RANLIB}" \
6865 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6866 dvi) \
6867 || exit 1
6869 @endif fastjar
6871 .PHONY: maybe-TAGS-fastjar TAGS-fastjar
6872 maybe-TAGS-fastjar:
6873 @if fastjar
6874 maybe-TAGS-fastjar: TAGS-fastjar
6876 TAGS-fastjar: \
6877 configure-fastjar
6878 @[ -f ./fastjar/Makefile ] || exit 0; \
6879 r=`${PWD_COMMAND}`; export r; \
6880 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6881 $(SET_LIB_PATH) \
6882 $(HOST_EXPORTS) \
6883 for flag in $(EXTRA_HOST_FLAGS) ; do \
6884 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6885 done; \
6886 echo "Doing TAGS in fastjar" ; \
6887 (cd fastjar && \
6888 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6889 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6890 "RANLIB=$${RANLIB}" \
6891 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6892 TAGS) \
6893 || exit 1
6895 @endif fastjar
6897 .PHONY: maybe-install-info-fastjar install-info-fastjar
6898 maybe-install-info-fastjar:
6899 @if fastjar
6900 maybe-install-info-fastjar: install-info-fastjar
6902 install-info-fastjar: \
6903 configure-fastjar \
6904 info-fastjar
6905 @[ -f ./fastjar/Makefile ] || exit 0; \
6906 r=`${PWD_COMMAND}`; export r; \
6907 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6908 $(SET_LIB_PATH) \
6909 $(HOST_EXPORTS) \
6910 for flag in $(EXTRA_HOST_FLAGS) ; do \
6911 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6912 done; \
6913 echo "Doing install-info in fastjar" ; \
6914 (cd fastjar && \
6915 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6916 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6917 "RANLIB=$${RANLIB}" \
6918 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6919 install-info) \
6920 || exit 1
6922 @endif fastjar
6924 .PHONY: maybe-installcheck-fastjar installcheck-fastjar
6925 maybe-installcheck-fastjar:
6926 @if fastjar
6927 maybe-installcheck-fastjar: installcheck-fastjar
6929 installcheck-fastjar: \
6930 configure-fastjar
6931 @[ -f ./fastjar/Makefile ] || exit 0; \
6932 r=`${PWD_COMMAND}`; export r; \
6933 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6934 $(SET_LIB_PATH) \
6935 $(HOST_EXPORTS) \
6936 for flag in $(EXTRA_HOST_FLAGS) ; do \
6937 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6938 done; \
6939 echo "Doing installcheck in fastjar" ; \
6940 (cd fastjar && \
6941 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6942 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6943 "RANLIB=$${RANLIB}" \
6944 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6945 installcheck) \
6946 || exit 1
6948 @endif fastjar
6950 .PHONY: maybe-mostlyclean-fastjar mostlyclean-fastjar
6951 maybe-mostlyclean-fastjar:
6952 @if fastjar
6953 maybe-mostlyclean-fastjar: mostlyclean-fastjar
6955 mostlyclean-fastjar:
6956 @[ -f ./fastjar/Makefile ] || exit 0; \
6957 r=`${PWD_COMMAND}`; export r; \
6958 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6959 $(SET_LIB_PATH) \
6960 $(HOST_EXPORTS) \
6961 for flag in $(EXTRA_HOST_FLAGS) ; do \
6962 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6963 done; \
6964 echo "Doing mostlyclean in fastjar" ; \
6965 (cd fastjar && \
6966 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6967 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6968 "RANLIB=$${RANLIB}" \
6969 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6970 mostlyclean) \
6971 || exit 1
6973 @endif fastjar
6975 .PHONY: maybe-clean-fastjar clean-fastjar
6976 maybe-clean-fastjar:
6977 @if fastjar
6978 maybe-clean-fastjar: clean-fastjar
6980 clean-fastjar:
6981 @[ -f ./fastjar/Makefile ] || exit 0; \
6982 r=`${PWD_COMMAND}`; export r; \
6983 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6984 $(SET_LIB_PATH) \
6985 $(HOST_EXPORTS) \
6986 for flag in $(EXTRA_HOST_FLAGS) ; do \
6987 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6988 done; \
6989 echo "Doing clean in fastjar" ; \
6990 (cd fastjar && \
6991 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6992 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6993 "RANLIB=$${RANLIB}" \
6994 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6995 clean) \
6996 || exit 1
6998 @endif fastjar
7000 .PHONY: maybe-distclean-fastjar distclean-fastjar
7001 maybe-distclean-fastjar:
7002 @if fastjar
7003 maybe-distclean-fastjar: distclean-fastjar
7005 distclean-fastjar:
7006 @[ -f ./fastjar/Makefile ] || exit 0; \
7007 r=`${PWD_COMMAND}`; export r; \
7008 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7009 $(SET_LIB_PATH) \
7010 $(HOST_EXPORTS) \
7011 for flag in $(EXTRA_HOST_FLAGS) ; do \
7012 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7013 done; \
7014 echo "Doing distclean in fastjar" ; \
7015 (cd fastjar && \
7016 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7017 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7018 "RANLIB=$${RANLIB}" \
7019 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7020 distclean) \
7021 || exit 1
7023 @endif fastjar
7025 .PHONY: maybe-maintainer-clean-fastjar maintainer-clean-fastjar
7026 maybe-maintainer-clean-fastjar:
7027 @if fastjar
7028 maybe-maintainer-clean-fastjar: maintainer-clean-fastjar
7030 maintainer-clean-fastjar:
7031 @[ -f ./fastjar/Makefile ] || exit 0; \
7032 r=`${PWD_COMMAND}`; export r; \
7033 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7034 $(SET_LIB_PATH) \
7035 $(HOST_EXPORTS) \
7036 for flag in $(EXTRA_HOST_FLAGS) ; do \
7037 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7038 done; \
7039 echo "Doing maintainer-clean in fastjar" ; \
7040 (cd fastjar && \
7041 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7042 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7043 "RANLIB=$${RANLIB}" \
7044 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7045 maintainer-clean) \
7046 || exit 1
7048 @endif fastjar
7051 .PHONY: configure-fileutils maybe-configure-fileutils
7052 maybe-configure-fileutils:
7053 @if fileutils
7054 maybe-configure-fileutils: configure-fileutils
7055 configure-fileutils:
7056 @test ! -f fileutils/Makefile || exit 0; \
7057 [ -d fileutils ] || mkdir fileutils; \
7058 r=`${PWD_COMMAND}`; export r; \
7059 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7060 $(HOST_EXPORTS) \
7061 echo Configuring in fileutils; \
7062 cd fileutils || exit 1; \
7063 case $(srcdir) in \
7064 \.) \
7065 srcdiroption="--srcdir=."; \
7066 libsrcdir=".";; \
7067 /* | [A-Za-z]:[\\/]*) \
7068 srcdiroption="--srcdir=$(srcdir)/fileutils"; \
7069 libsrcdir="$$s/fileutils";; \
7070 *) \
7071 srcdiroption="--srcdir=../$(srcdir)/fileutils"; \
7072 libsrcdir="$$s/fileutils";; \
7073 esac; \
7074 $(SHELL) $${libsrcdir}/configure \
7075 $(HOST_CONFIGARGS) $${srcdiroption} \
7076 || exit 1
7077 @endif fileutils
7079 .PHONY: all-fileutils maybe-all-fileutils
7080 maybe-all-fileutils:
7081 @if fileutils
7082 maybe-all-fileutils: all-fileutils
7083 all-fileutils: configure-fileutils
7084 @r=`${PWD_COMMAND}`; export r; \
7085 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7086 $(SET_LIB_PATH) \
7087 $(HOST_EXPORTS) \
7088 (cd fileutils && $(MAKE) $(FLAGS_TO_PASS) all)
7089 @endif fileutils
7091 .PHONY: check-fileutils maybe-check-fileutils
7092 maybe-check-fileutils:
7093 @if fileutils
7094 maybe-check-fileutils: check-fileutils
7096 check-fileutils:
7097 @r=`${PWD_COMMAND}`; export r; \
7098 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7099 $(SET_LIB_PATH) \
7100 $(HOST_EXPORTS) \
7101 (cd fileutils && $(MAKE) $(FLAGS_TO_PASS) check)
7103 @endif fileutils
7105 .PHONY: install-fileutils maybe-install-fileutils
7106 maybe-install-fileutils:
7107 @if fileutils
7108 maybe-install-fileutils: install-fileutils
7110 install-fileutils: installdirs
7111 @r=`${PWD_COMMAND}`; export r; \
7112 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7113 $(SET_LIB_PATH) \
7114 $(HOST_EXPORTS) \
7115 (cd fileutils && $(MAKE) $(FLAGS_TO_PASS) install)
7117 @endif fileutils
7119 # Other targets (info, dvi, etc.)
7121 .PHONY: maybe-info-fileutils info-fileutils
7122 maybe-info-fileutils:
7123 @if fileutils
7124 maybe-info-fileutils: info-fileutils
7126 info-fileutils: \
7127 configure-fileutils
7128 @[ -f ./fileutils/Makefile ] || exit 0; \
7129 r=`${PWD_COMMAND}`; export r; \
7130 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7131 $(SET_LIB_PATH) \
7132 $(HOST_EXPORTS) \
7133 for flag in $(EXTRA_HOST_FLAGS) ; do \
7134 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7135 done; \
7136 echo "Doing info in fileutils" ; \
7137 (cd fileutils && \
7138 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7139 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7140 "RANLIB=$${RANLIB}" \
7141 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7142 info) \
7143 || exit 1
7145 @endif fileutils
7147 .PHONY: maybe-dvi-fileutils dvi-fileutils
7148 maybe-dvi-fileutils:
7149 @if fileutils
7150 maybe-dvi-fileutils: dvi-fileutils
7152 dvi-fileutils: \
7153 configure-fileutils
7154 @[ -f ./fileutils/Makefile ] || exit 0; \
7155 r=`${PWD_COMMAND}`; export r; \
7156 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7157 $(SET_LIB_PATH) \
7158 $(HOST_EXPORTS) \
7159 for flag in $(EXTRA_HOST_FLAGS) ; do \
7160 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7161 done; \
7162 echo "Doing dvi in fileutils" ; \
7163 (cd fileutils && \
7164 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7165 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7166 "RANLIB=$${RANLIB}" \
7167 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7168 dvi) \
7169 || exit 1
7171 @endif fileutils
7173 .PHONY: maybe-TAGS-fileutils TAGS-fileutils
7174 maybe-TAGS-fileutils:
7175 @if fileutils
7176 maybe-TAGS-fileutils: TAGS-fileutils
7178 TAGS-fileutils: \
7179 configure-fileutils
7180 @[ -f ./fileutils/Makefile ] || exit 0; \
7181 r=`${PWD_COMMAND}`; export r; \
7182 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7183 $(SET_LIB_PATH) \
7184 $(HOST_EXPORTS) \
7185 for flag in $(EXTRA_HOST_FLAGS) ; do \
7186 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7187 done; \
7188 echo "Doing TAGS in fileutils" ; \
7189 (cd fileutils && \
7190 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7191 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7192 "RANLIB=$${RANLIB}" \
7193 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7194 TAGS) \
7195 || exit 1
7197 @endif fileutils
7199 .PHONY: maybe-install-info-fileutils install-info-fileutils
7200 maybe-install-info-fileutils:
7201 @if fileutils
7202 maybe-install-info-fileutils: install-info-fileutils
7204 install-info-fileutils: \
7205 configure-fileutils \
7206 info-fileutils
7207 @[ -f ./fileutils/Makefile ] || exit 0; \
7208 r=`${PWD_COMMAND}`; export r; \
7209 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7210 $(SET_LIB_PATH) \
7211 $(HOST_EXPORTS) \
7212 for flag in $(EXTRA_HOST_FLAGS) ; do \
7213 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7214 done; \
7215 echo "Doing install-info in fileutils" ; \
7216 (cd fileutils && \
7217 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7218 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7219 "RANLIB=$${RANLIB}" \
7220 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7221 install-info) \
7222 || exit 1
7224 @endif fileutils
7226 .PHONY: maybe-installcheck-fileutils installcheck-fileutils
7227 maybe-installcheck-fileutils:
7228 @if fileutils
7229 maybe-installcheck-fileutils: installcheck-fileutils
7231 installcheck-fileutils: \
7232 configure-fileutils
7233 @[ -f ./fileutils/Makefile ] || exit 0; \
7234 r=`${PWD_COMMAND}`; export r; \
7235 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7236 $(SET_LIB_PATH) \
7237 $(HOST_EXPORTS) \
7238 for flag in $(EXTRA_HOST_FLAGS) ; do \
7239 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7240 done; \
7241 echo "Doing installcheck in fileutils" ; \
7242 (cd fileutils && \
7243 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7244 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7245 "RANLIB=$${RANLIB}" \
7246 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7247 installcheck) \
7248 || exit 1
7250 @endif fileutils
7252 .PHONY: maybe-mostlyclean-fileutils mostlyclean-fileutils
7253 maybe-mostlyclean-fileutils:
7254 @if fileutils
7255 maybe-mostlyclean-fileutils: mostlyclean-fileutils
7257 mostlyclean-fileutils:
7258 @[ -f ./fileutils/Makefile ] || exit 0; \
7259 r=`${PWD_COMMAND}`; export r; \
7260 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7261 $(SET_LIB_PATH) \
7262 $(HOST_EXPORTS) \
7263 for flag in $(EXTRA_HOST_FLAGS) ; do \
7264 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7265 done; \
7266 echo "Doing mostlyclean in fileutils" ; \
7267 (cd fileutils && \
7268 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7269 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7270 "RANLIB=$${RANLIB}" \
7271 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7272 mostlyclean) \
7273 || exit 1
7275 @endif fileutils
7277 .PHONY: maybe-clean-fileutils clean-fileutils
7278 maybe-clean-fileutils:
7279 @if fileutils
7280 maybe-clean-fileutils: clean-fileutils
7282 clean-fileutils:
7283 @[ -f ./fileutils/Makefile ] || exit 0; \
7284 r=`${PWD_COMMAND}`; export r; \
7285 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7286 $(SET_LIB_PATH) \
7287 $(HOST_EXPORTS) \
7288 for flag in $(EXTRA_HOST_FLAGS) ; do \
7289 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7290 done; \
7291 echo "Doing clean in fileutils" ; \
7292 (cd fileutils && \
7293 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7294 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7295 "RANLIB=$${RANLIB}" \
7296 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7297 clean) \
7298 || exit 1
7300 @endif fileutils
7302 .PHONY: maybe-distclean-fileutils distclean-fileutils
7303 maybe-distclean-fileutils:
7304 @if fileutils
7305 maybe-distclean-fileutils: distclean-fileutils
7307 distclean-fileutils:
7308 @[ -f ./fileutils/Makefile ] || exit 0; \
7309 r=`${PWD_COMMAND}`; export r; \
7310 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7311 $(SET_LIB_PATH) \
7312 $(HOST_EXPORTS) \
7313 for flag in $(EXTRA_HOST_FLAGS) ; do \
7314 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7315 done; \
7316 echo "Doing distclean in fileutils" ; \
7317 (cd fileutils && \
7318 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7319 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7320 "RANLIB=$${RANLIB}" \
7321 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7322 distclean) \
7323 || exit 1
7325 @endif fileutils
7327 .PHONY: maybe-maintainer-clean-fileutils maintainer-clean-fileutils
7328 maybe-maintainer-clean-fileutils:
7329 @if fileutils
7330 maybe-maintainer-clean-fileutils: maintainer-clean-fileutils
7332 maintainer-clean-fileutils:
7333 @[ -f ./fileutils/Makefile ] || exit 0; \
7334 r=`${PWD_COMMAND}`; export r; \
7335 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7336 $(SET_LIB_PATH) \
7337 $(HOST_EXPORTS) \
7338 for flag in $(EXTRA_HOST_FLAGS) ; do \
7339 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7340 done; \
7341 echo "Doing maintainer-clean in fileutils" ; \
7342 (cd fileutils && \
7343 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7344 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7345 "RANLIB=$${RANLIB}" \
7346 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7347 maintainer-clean) \
7348 || exit 1
7350 @endif fileutils
7353 .PHONY: configure-findutils maybe-configure-findutils
7354 maybe-configure-findutils:
7355 @if findutils
7356 maybe-configure-findutils: configure-findutils
7357 configure-findutils:
7358 @test ! -f findutils/Makefile || exit 0; \
7359 [ -d findutils ] || mkdir findutils; \
7360 r=`${PWD_COMMAND}`; export r; \
7361 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7362 $(HOST_EXPORTS) \
7363 echo Configuring in findutils; \
7364 cd findutils || exit 1; \
7365 case $(srcdir) in \
7366 \.) \
7367 srcdiroption="--srcdir=."; \
7368 libsrcdir=".";; \
7369 /* | [A-Za-z]:[\\/]*) \
7370 srcdiroption="--srcdir=$(srcdir)/findutils"; \
7371 libsrcdir="$$s/findutils";; \
7372 *) \
7373 srcdiroption="--srcdir=../$(srcdir)/findutils"; \
7374 libsrcdir="$$s/findutils";; \
7375 esac; \
7376 $(SHELL) $${libsrcdir}/configure \
7377 $(HOST_CONFIGARGS) $${srcdiroption} \
7378 || exit 1
7379 @endif findutils
7381 .PHONY: all-findutils maybe-all-findutils
7382 maybe-all-findutils:
7383 @if findutils
7384 maybe-all-findutils: all-findutils
7385 all-findutils: configure-findutils
7386 @r=`${PWD_COMMAND}`; export r; \
7387 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7388 $(SET_LIB_PATH) \
7389 $(HOST_EXPORTS) \
7390 (cd findutils && $(MAKE) $(FLAGS_TO_PASS) all)
7391 @endif findutils
7393 .PHONY: check-findutils maybe-check-findutils
7394 maybe-check-findutils:
7395 @if findutils
7396 maybe-check-findutils: check-findutils
7398 check-findutils:
7399 @r=`${PWD_COMMAND}`; export r; \
7400 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7401 $(SET_LIB_PATH) \
7402 $(HOST_EXPORTS) \
7403 (cd findutils && $(MAKE) $(FLAGS_TO_PASS) check)
7405 @endif findutils
7407 .PHONY: install-findutils maybe-install-findutils
7408 maybe-install-findutils:
7409 @if findutils
7410 maybe-install-findutils: install-findutils
7412 install-findutils: installdirs
7413 @r=`${PWD_COMMAND}`; export r; \
7414 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7415 $(SET_LIB_PATH) \
7416 $(HOST_EXPORTS) \
7417 (cd findutils && $(MAKE) $(FLAGS_TO_PASS) install)
7419 @endif findutils
7421 # Other targets (info, dvi, etc.)
7423 .PHONY: maybe-info-findutils info-findutils
7424 maybe-info-findutils:
7425 @if findutils
7426 maybe-info-findutils: info-findutils
7428 info-findutils: \
7429 configure-findutils
7430 @[ -f ./findutils/Makefile ] || exit 0; \
7431 r=`${PWD_COMMAND}`; export r; \
7432 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7433 $(SET_LIB_PATH) \
7434 $(HOST_EXPORTS) \
7435 for flag in $(EXTRA_HOST_FLAGS) ; do \
7436 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7437 done; \
7438 echo "Doing info in findutils" ; \
7439 (cd findutils && \
7440 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7441 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7442 "RANLIB=$${RANLIB}" \
7443 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7444 info) \
7445 || exit 1
7447 @endif findutils
7449 .PHONY: maybe-dvi-findutils dvi-findutils
7450 maybe-dvi-findutils:
7451 @if findutils
7452 maybe-dvi-findutils: dvi-findutils
7454 dvi-findutils: \
7455 configure-findutils
7456 @[ -f ./findutils/Makefile ] || exit 0; \
7457 r=`${PWD_COMMAND}`; export r; \
7458 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7459 $(SET_LIB_PATH) \
7460 $(HOST_EXPORTS) \
7461 for flag in $(EXTRA_HOST_FLAGS) ; do \
7462 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7463 done; \
7464 echo "Doing dvi in findutils" ; \
7465 (cd findutils && \
7466 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7467 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7468 "RANLIB=$${RANLIB}" \
7469 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7470 dvi) \
7471 || exit 1
7473 @endif findutils
7475 .PHONY: maybe-TAGS-findutils TAGS-findutils
7476 maybe-TAGS-findutils:
7477 @if findutils
7478 maybe-TAGS-findutils: TAGS-findutils
7480 TAGS-findutils: \
7481 configure-findutils
7482 @[ -f ./findutils/Makefile ] || exit 0; \
7483 r=`${PWD_COMMAND}`; export r; \
7484 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7485 $(SET_LIB_PATH) \
7486 $(HOST_EXPORTS) \
7487 for flag in $(EXTRA_HOST_FLAGS) ; do \
7488 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7489 done; \
7490 echo "Doing TAGS in findutils" ; \
7491 (cd findutils && \
7492 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7493 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7494 "RANLIB=$${RANLIB}" \
7495 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7496 TAGS) \
7497 || exit 1
7499 @endif findutils
7501 .PHONY: maybe-install-info-findutils install-info-findutils
7502 maybe-install-info-findutils:
7503 @if findutils
7504 maybe-install-info-findutils: install-info-findutils
7506 install-info-findutils: \
7507 configure-findutils \
7508 info-findutils
7509 @[ -f ./findutils/Makefile ] || exit 0; \
7510 r=`${PWD_COMMAND}`; export r; \
7511 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7512 $(SET_LIB_PATH) \
7513 $(HOST_EXPORTS) \
7514 for flag in $(EXTRA_HOST_FLAGS) ; do \
7515 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7516 done; \
7517 echo "Doing install-info in findutils" ; \
7518 (cd findutils && \
7519 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7520 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7521 "RANLIB=$${RANLIB}" \
7522 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7523 install-info) \
7524 || exit 1
7526 @endif findutils
7528 .PHONY: maybe-installcheck-findutils installcheck-findutils
7529 maybe-installcheck-findutils:
7530 @if findutils
7531 maybe-installcheck-findutils: installcheck-findutils
7533 installcheck-findutils: \
7534 configure-findutils
7535 @[ -f ./findutils/Makefile ] || exit 0; \
7536 r=`${PWD_COMMAND}`; export r; \
7537 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7538 $(SET_LIB_PATH) \
7539 $(HOST_EXPORTS) \
7540 for flag in $(EXTRA_HOST_FLAGS) ; do \
7541 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7542 done; \
7543 echo "Doing installcheck in findutils" ; \
7544 (cd findutils && \
7545 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7546 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7547 "RANLIB=$${RANLIB}" \
7548 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7549 installcheck) \
7550 || exit 1
7552 @endif findutils
7554 .PHONY: maybe-mostlyclean-findutils mostlyclean-findutils
7555 maybe-mostlyclean-findutils:
7556 @if findutils
7557 maybe-mostlyclean-findutils: mostlyclean-findutils
7559 mostlyclean-findutils:
7560 @[ -f ./findutils/Makefile ] || exit 0; \
7561 r=`${PWD_COMMAND}`; export r; \
7562 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7563 $(SET_LIB_PATH) \
7564 $(HOST_EXPORTS) \
7565 for flag in $(EXTRA_HOST_FLAGS) ; do \
7566 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7567 done; \
7568 echo "Doing mostlyclean in findutils" ; \
7569 (cd findutils && \
7570 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7571 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7572 "RANLIB=$${RANLIB}" \
7573 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7574 mostlyclean) \
7575 || exit 1
7577 @endif findutils
7579 .PHONY: maybe-clean-findutils clean-findutils
7580 maybe-clean-findutils:
7581 @if findutils
7582 maybe-clean-findutils: clean-findutils
7584 clean-findutils:
7585 @[ -f ./findutils/Makefile ] || exit 0; \
7586 r=`${PWD_COMMAND}`; export r; \
7587 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7588 $(SET_LIB_PATH) \
7589 $(HOST_EXPORTS) \
7590 for flag in $(EXTRA_HOST_FLAGS) ; do \
7591 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7592 done; \
7593 echo "Doing clean in findutils" ; \
7594 (cd findutils && \
7595 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7596 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7597 "RANLIB=$${RANLIB}" \
7598 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7599 clean) \
7600 || exit 1
7602 @endif findutils
7604 .PHONY: maybe-distclean-findutils distclean-findutils
7605 maybe-distclean-findutils:
7606 @if findutils
7607 maybe-distclean-findutils: distclean-findutils
7609 distclean-findutils:
7610 @[ -f ./findutils/Makefile ] || exit 0; \
7611 r=`${PWD_COMMAND}`; export r; \
7612 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7613 $(SET_LIB_PATH) \
7614 $(HOST_EXPORTS) \
7615 for flag in $(EXTRA_HOST_FLAGS) ; do \
7616 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7617 done; \
7618 echo "Doing distclean in findutils" ; \
7619 (cd findutils && \
7620 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7621 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7622 "RANLIB=$${RANLIB}" \
7623 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7624 distclean) \
7625 || exit 1
7627 @endif findutils
7629 .PHONY: maybe-maintainer-clean-findutils maintainer-clean-findutils
7630 maybe-maintainer-clean-findutils:
7631 @if findutils
7632 maybe-maintainer-clean-findutils: maintainer-clean-findutils
7634 maintainer-clean-findutils:
7635 @[ -f ./findutils/Makefile ] || exit 0; \
7636 r=`${PWD_COMMAND}`; export r; \
7637 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7638 $(SET_LIB_PATH) \
7639 $(HOST_EXPORTS) \
7640 for flag in $(EXTRA_HOST_FLAGS) ; do \
7641 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7642 done; \
7643 echo "Doing maintainer-clean in findutils" ; \
7644 (cd findutils && \
7645 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7646 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7647 "RANLIB=$${RANLIB}" \
7648 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7649 maintainer-clean) \
7650 || exit 1
7652 @endif findutils
7655 .PHONY: configure-find maybe-configure-find
7656 maybe-configure-find:
7657 @if find
7658 maybe-configure-find: configure-find
7659 configure-find:
7660 @test ! -f find/Makefile || exit 0; \
7661 [ -d find ] || mkdir find; \
7662 r=`${PWD_COMMAND}`; export r; \
7663 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7664 $(HOST_EXPORTS) \
7665 echo Configuring in find; \
7666 cd find || exit 1; \
7667 case $(srcdir) in \
7668 \.) \
7669 srcdiroption="--srcdir=."; \
7670 libsrcdir=".";; \
7671 /* | [A-Za-z]:[\\/]*) \
7672 srcdiroption="--srcdir=$(srcdir)/find"; \
7673 libsrcdir="$$s/find";; \
7674 *) \
7675 srcdiroption="--srcdir=../$(srcdir)/find"; \
7676 libsrcdir="$$s/find";; \
7677 esac; \
7678 $(SHELL) $${libsrcdir}/configure \
7679 $(HOST_CONFIGARGS) $${srcdiroption} \
7680 || exit 1
7681 @endif find
7683 .PHONY: all-find maybe-all-find
7684 maybe-all-find:
7685 @if find
7686 maybe-all-find: all-find
7687 all-find: configure-find
7688 @r=`${PWD_COMMAND}`; export r; \
7689 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7690 $(SET_LIB_PATH) \
7691 $(HOST_EXPORTS) \
7692 (cd find && $(MAKE) $(FLAGS_TO_PASS) all)
7693 @endif find
7695 .PHONY: check-find maybe-check-find
7696 maybe-check-find:
7697 @if find
7698 maybe-check-find: check-find
7700 check-find:
7701 @r=`${PWD_COMMAND}`; export r; \
7702 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7703 $(SET_LIB_PATH) \
7704 $(HOST_EXPORTS) \
7705 (cd find && $(MAKE) $(FLAGS_TO_PASS) check)
7707 @endif find
7709 .PHONY: install-find maybe-install-find
7710 maybe-install-find:
7711 @if find
7712 maybe-install-find: install-find
7714 install-find: installdirs
7715 @r=`${PWD_COMMAND}`; export r; \
7716 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7717 $(SET_LIB_PATH) \
7718 $(HOST_EXPORTS) \
7719 (cd find && $(MAKE) $(FLAGS_TO_PASS) install)
7721 @endif find
7723 # Other targets (info, dvi, etc.)
7725 .PHONY: maybe-info-find info-find
7726 maybe-info-find:
7727 @if find
7728 maybe-info-find: info-find
7730 info-find: \
7731 configure-find
7732 @[ -f ./find/Makefile ] || exit 0; \
7733 r=`${PWD_COMMAND}`; export r; \
7734 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7735 $(SET_LIB_PATH) \
7736 $(HOST_EXPORTS) \
7737 for flag in $(EXTRA_HOST_FLAGS) ; do \
7738 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7739 done; \
7740 echo "Doing info in find" ; \
7741 (cd find && \
7742 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7743 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7744 "RANLIB=$${RANLIB}" \
7745 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7746 info) \
7747 || exit 1
7749 @endif find
7751 .PHONY: maybe-dvi-find dvi-find
7752 maybe-dvi-find:
7753 @if find
7754 maybe-dvi-find: dvi-find
7756 dvi-find: \
7757 configure-find
7758 @[ -f ./find/Makefile ] || exit 0; \
7759 r=`${PWD_COMMAND}`; export r; \
7760 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7761 $(SET_LIB_PATH) \
7762 $(HOST_EXPORTS) \
7763 for flag in $(EXTRA_HOST_FLAGS) ; do \
7764 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7765 done; \
7766 echo "Doing dvi in find" ; \
7767 (cd find && \
7768 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7769 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7770 "RANLIB=$${RANLIB}" \
7771 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7772 dvi) \
7773 || exit 1
7775 @endif find
7777 .PHONY: maybe-TAGS-find TAGS-find
7778 maybe-TAGS-find:
7779 @if find
7780 maybe-TAGS-find: TAGS-find
7782 TAGS-find: \
7783 configure-find
7784 @[ -f ./find/Makefile ] || exit 0; \
7785 r=`${PWD_COMMAND}`; export r; \
7786 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7787 $(SET_LIB_PATH) \
7788 $(HOST_EXPORTS) \
7789 for flag in $(EXTRA_HOST_FLAGS) ; do \
7790 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7791 done; \
7792 echo "Doing TAGS in find" ; \
7793 (cd find && \
7794 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7795 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7796 "RANLIB=$${RANLIB}" \
7797 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7798 TAGS) \
7799 || exit 1
7801 @endif find
7803 .PHONY: maybe-install-info-find install-info-find
7804 maybe-install-info-find:
7805 @if find
7806 maybe-install-info-find: install-info-find
7808 install-info-find: \
7809 configure-find \
7810 info-find
7811 @[ -f ./find/Makefile ] || exit 0; \
7812 r=`${PWD_COMMAND}`; export r; \
7813 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7814 $(SET_LIB_PATH) \
7815 $(HOST_EXPORTS) \
7816 for flag in $(EXTRA_HOST_FLAGS) ; do \
7817 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7818 done; \
7819 echo "Doing install-info in find" ; \
7820 (cd find && \
7821 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7822 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7823 "RANLIB=$${RANLIB}" \
7824 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7825 install-info) \
7826 || exit 1
7828 @endif find
7830 .PHONY: maybe-installcheck-find installcheck-find
7831 maybe-installcheck-find:
7832 @if find
7833 maybe-installcheck-find: installcheck-find
7835 installcheck-find: \
7836 configure-find
7837 @[ -f ./find/Makefile ] || exit 0; \
7838 r=`${PWD_COMMAND}`; export r; \
7839 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7840 $(SET_LIB_PATH) \
7841 $(HOST_EXPORTS) \
7842 for flag in $(EXTRA_HOST_FLAGS) ; do \
7843 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7844 done; \
7845 echo "Doing installcheck in find" ; \
7846 (cd find && \
7847 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7848 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7849 "RANLIB=$${RANLIB}" \
7850 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7851 installcheck) \
7852 || exit 1
7854 @endif find
7856 .PHONY: maybe-mostlyclean-find mostlyclean-find
7857 maybe-mostlyclean-find:
7858 @if find
7859 maybe-mostlyclean-find: mostlyclean-find
7861 mostlyclean-find:
7862 @[ -f ./find/Makefile ] || exit 0; \
7863 r=`${PWD_COMMAND}`; export r; \
7864 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7865 $(SET_LIB_PATH) \
7866 $(HOST_EXPORTS) \
7867 for flag in $(EXTRA_HOST_FLAGS) ; do \
7868 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7869 done; \
7870 echo "Doing mostlyclean in find" ; \
7871 (cd find && \
7872 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7873 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7874 "RANLIB=$${RANLIB}" \
7875 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7876 mostlyclean) \
7877 || exit 1
7879 @endif find
7881 .PHONY: maybe-clean-find clean-find
7882 maybe-clean-find:
7883 @if find
7884 maybe-clean-find: clean-find
7886 clean-find:
7887 @[ -f ./find/Makefile ] || exit 0; \
7888 r=`${PWD_COMMAND}`; export r; \
7889 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7890 $(SET_LIB_PATH) \
7891 $(HOST_EXPORTS) \
7892 for flag in $(EXTRA_HOST_FLAGS) ; do \
7893 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7894 done; \
7895 echo "Doing clean in find" ; \
7896 (cd find && \
7897 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7898 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7899 "RANLIB=$${RANLIB}" \
7900 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7901 clean) \
7902 || exit 1
7904 @endif find
7906 .PHONY: maybe-distclean-find distclean-find
7907 maybe-distclean-find:
7908 @if find
7909 maybe-distclean-find: distclean-find
7911 distclean-find:
7912 @[ -f ./find/Makefile ] || exit 0; \
7913 r=`${PWD_COMMAND}`; export r; \
7914 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7915 $(SET_LIB_PATH) \
7916 $(HOST_EXPORTS) \
7917 for flag in $(EXTRA_HOST_FLAGS) ; do \
7918 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7919 done; \
7920 echo "Doing distclean in find" ; \
7921 (cd find && \
7922 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7923 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7924 "RANLIB=$${RANLIB}" \
7925 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7926 distclean) \
7927 || exit 1
7929 @endif find
7931 .PHONY: maybe-maintainer-clean-find maintainer-clean-find
7932 maybe-maintainer-clean-find:
7933 @if find
7934 maybe-maintainer-clean-find: maintainer-clean-find
7936 maintainer-clean-find:
7937 @[ -f ./find/Makefile ] || exit 0; \
7938 r=`${PWD_COMMAND}`; export r; \
7939 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7940 $(SET_LIB_PATH) \
7941 $(HOST_EXPORTS) \
7942 for flag in $(EXTRA_HOST_FLAGS) ; do \
7943 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7944 done; \
7945 echo "Doing maintainer-clean in find" ; \
7946 (cd find && \
7947 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7948 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7949 "RANLIB=$${RANLIB}" \
7950 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7951 maintainer-clean) \
7952 || exit 1
7954 @endif find
7957 .PHONY: configure-flex maybe-configure-flex
7958 maybe-configure-flex:
7959 @if flex
7960 maybe-configure-flex: configure-flex
7961 configure-flex:
7962 @test ! -f flex/Makefile || exit 0; \
7963 [ -d flex ] || mkdir flex; \
7964 r=`${PWD_COMMAND}`; export r; \
7965 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7966 $(HOST_EXPORTS) \
7967 echo Configuring in flex; \
7968 cd flex || exit 1; \
7969 case $(srcdir) in \
7970 \.) \
7971 srcdiroption="--srcdir=."; \
7972 libsrcdir=".";; \
7973 /* | [A-Za-z]:[\\/]*) \
7974 srcdiroption="--srcdir=$(srcdir)/flex"; \
7975 libsrcdir="$$s/flex";; \
7976 *) \
7977 srcdiroption="--srcdir=../$(srcdir)/flex"; \
7978 libsrcdir="$$s/flex";; \
7979 esac; \
7980 $(SHELL) $${libsrcdir}/configure \
7981 $(HOST_CONFIGARGS) $${srcdiroption} \
7982 || exit 1
7983 @endif flex
7985 .PHONY: all-flex maybe-all-flex
7986 maybe-all-flex:
7987 @if flex
7988 maybe-all-flex: all-flex
7989 all-flex: configure-flex
7990 @r=`${PWD_COMMAND}`; export r; \
7991 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7992 $(SET_LIB_PATH) \
7993 $(HOST_EXPORTS) \
7994 (cd flex && $(MAKE) $(FLAGS_TO_PASS) all)
7995 @endif flex
7997 .PHONY: check-flex maybe-check-flex
7998 maybe-check-flex:
7999 @if flex
8000 maybe-check-flex: check-flex
8002 # This module is only tested in a native toolchain.
8003 check-flex:
8004 @if [ '$(host)' = '$(target)' ] ; then \
8005 r=`${PWD_COMMAND}`; export r; \
8006 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8007 $(SET_LIB_PATH) \
8008 $(HOST_EXPORTS) \
8009 (cd flex && $(MAKE) $(FLAGS_TO_PASS) check); \
8012 @endif flex
8014 .PHONY: install-flex maybe-install-flex
8015 maybe-install-flex:
8016 @if flex
8017 maybe-install-flex: install-flex
8019 install-flex: installdirs
8020 @r=`${PWD_COMMAND}`; export r; \
8021 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8022 $(SET_LIB_PATH) \
8023 $(HOST_EXPORTS) \
8024 (cd flex && $(MAKE) $(FLAGS_TO_PASS) install)
8026 @endif flex
8028 # Other targets (info, dvi, etc.)
8030 .PHONY: maybe-info-flex info-flex
8031 maybe-info-flex:
8032 @if flex
8033 maybe-info-flex: info-flex
8035 info-flex: \
8036 configure-flex
8037 @[ -f ./flex/Makefile ] || exit 0; \
8038 r=`${PWD_COMMAND}`; export r; \
8039 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8040 $(SET_LIB_PATH) \
8041 $(HOST_EXPORTS) \
8042 for flag in $(EXTRA_HOST_FLAGS) ; do \
8043 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8044 done; \
8045 echo "Doing info in flex" ; \
8046 (cd flex && \
8047 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8048 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8049 "RANLIB=$${RANLIB}" \
8050 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8051 info) \
8052 || exit 1
8054 @endif flex
8056 .PHONY: maybe-dvi-flex dvi-flex
8057 maybe-dvi-flex:
8058 @if flex
8059 maybe-dvi-flex: dvi-flex
8061 dvi-flex: \
8062 configure-flex
8063 @[ -f ./flex/Makefile ] || exit 0; \
8064 r=`${PWD_COMMAND}`; export r; \
8065 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8066 $(SET_LIB_PATH) \
8067 $(HOST_EXPORTS) \
8068 for flag in $(EXTRA_HOST_FLAGS) ; do \
8069 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8070 done; \
8071 echo "Doing dvi in flex" ; \
8072 (cd flex && \
8073 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8074 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8075 "RANLIB=$${RANLIB}" \
8076 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8077 dvi) \
8078 || exit 1
8080 @endif flex
8082 .PHONY: maybe-TAGS-flex TAGS-flex
8083 maybe-TAGS-flex:
8084 @if flex
8085 maybe-TAGS-flex: TAGS-flex
8087 TAGS-flex: \
8088 configure-flex
8089 @[ -f ./flex/Makefile ] || exit 0; \
8090 r=`${PWD_COMMAND}`; export r; \
8091 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8092 $(SET_LIB_PATH) \
8093 $(HOST_EXPORTS) \
8094 for flag in $(EXTRA_HOST_FLAGS) ; do \
8095 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8096 done; \
8097 echo "Doing TAGS in flex" ; \
8098 (cd flex && \
8099 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8100 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8101 "RANLIB=$${RANLIB}" \
8102 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8103 TAGS) \
8104 || exit 1
8106 @endif flex
8108 .PHONY: maybe-install-info-flex install-info-flex
8109 maybe-install-info-flex:
8110 @if flex
8111 maybe-install-info-flex: install-info-flex
8113 install-info-flex: \
8114 configure-flex \
8115 info-flex
8116 @[ -f ./flex/Makefile ] || exit 0; \
8117 r=`${PWD_COMMAND}`; export r; \
8118 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8119 $(SET_LIB_PATH) \
8120 $(HOST_EXPORTS) \
8121 for flag in $(EXTRA_HOST_FLAGS) ; do \
8122 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8123 done; \
8124 echo "Doing install-info in flex" ; \
8125 (cd flex && \
8126 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8127 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8128 "RANLIB=$${RANLIB}" \
8129 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8130 install-info) \
8131 || exit 1
8133 @endif flex
8135 .PHONY: maybe-installcheck-flex installcheck-flex
8136 maybe-installcheck-flex:
8137 @if flex
8138 maybe-installcheck-flex: installcheck-flex
8140 installcheck-flex: \
8141 configure-flex
8142 @[ -f ./flex/Makefile ] || exit 0; \
8143 r=`${PWD_COMMAND}`; export r; \
8144 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8145 $(SET_LIB_PATH) \
8146 $(HOST_EXPORTS) \
8147 for flag in $(EXTRA_HOST_FLAGS) ; do \
8148 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8149 done; \
8150 echo "Doing installcheck in flex" ; \
8151 (cd flex && \
8152 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8153 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8154 "RANLIB=$${RANLIB}" \
8155 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8156 installcheck) \
8157 || exit 1
8159 @endif flex
8161 .PHONY: maybe-mostlyclean-flex mostlyclean-flex
8162 maybe-mostlyclean-flex:
8163 @if flex
8164 maybe-mostlyclean-flex: mostlyclean-flex
8166 mostlyclean-flex:
8167 @[ -f ./flex/Makefile ] || exit 0; \
8168 r=`${PWD_COMMAND}`; export r; \
8169 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8170 $(SET_LIB_PATH) \
8171 $(HOST_EXPORTS) \
8172 for flag in $(EXTRA_HOST_FLAGS) ; do \
8173 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8174 done; \
8175 echo "Doing mostlyclean in flex" ; \
8176 (cd flex && \
8177 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8178 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8179 "RANLIB=$${RANLIB}" \
8180 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8181 mostlyclean) \
8182 || exit 1
8184 @endif flex
8186 .PHONY: maybe-clean-flex clean-flex
8187 maybe-clean-flex:
8188 @if flex
8189 maybe-clean-flex: clean-flex
8191 clean-flex:
8192 @[ -f ./flex/Makefile ] || exit 0; \
8193 r=`${PWD_COMMAND}`; export r; \
8194 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8195 $(SET_LIB_PATH) \
8196 $(HOST_EXPORTS) \
8197 for flag in $(EXTRA_HOST_FLAGS) ; do \
8198 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8199 done; \
8200 echo "Doing clean in flex" ; \
8201 (cd flex && \
8202 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8203 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8204 "RANLIB=$${RANLIB}" \
8205 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8206 clean) \
8207 || exit 1
8209 @endif flex
8211 .PHONY: maybe-distclean-flex distclean-flex
8212 maybe-distclean-flex:
8213 @if flex
8214 maybe-distclean-flex: distclean-flex
8216 distclean-flex:
8217 @[ -f ./flex/Makefile ] || exit 0; \
8218 r=`${PWD_COMMAND}`; export r; \
8219 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8220 $(SET_LIB_PATH) \
8221 $(HOST_EXPORTS) \
8222 for flag in $(EXTRA_HOST_FLAGS) ; do \
8223 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8224 done; \
8225 echo "Doing distclean in flex" ; \
8226 (cd flex && \
8227 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8228 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8229 "RANLIB=$${RANLIB}" \
8230 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8231 distclean) \
8232 || exit 1
8234 @endif flex
8236 .PHONY: maybe-maintainer-clean-flex maintainer-clean-flex
8237 maybe-maintainer-clean-flex:
8238 @if flex
8239 maybe-maintainer-clean-flex: maintainer-clean-flex
8241 maintainer-clean-flex:
8242 @[ -f ./flex/Makefile ] || exit 0; \
8243 r=`${PWD_COMMAND}`; export r; \
8244 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8245 $(SET_LIB_PATH) \
8246 $(HOST_EXPORTS) \
8247 for flag in $(EXTRA_HOST_FLAGS) ; do \
8248 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8249 done; \
8250 echo "Doing maintainer-clean in flex" ; \
8251 (cd flex && \
8252 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8253 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8254 "RANLIB=$${RANLIB}" \
8255 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8256 maintainer-clean) \
8257 || exit 1
8259 @endif flex
8262 .PHONY: configure-gas maybe-configure-gas
8263 maybe-configure-gas:
8264 @if gas
8265 maybe-configure-gas: configure-gas
8266 configure-gas:
8267 @test ! -f gas/Makefile || exit 0; \
8268 [ -d gas ] || mkdir gas; \
8269 r=`${PWD_COMMAND}`; export r; \
8270 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8271 $(HOST_EXPORTS) \
8272 echo Configuring in gas; \
8273 cd gas || exit 1; \
8274 case $(srcdir) in \
8275 \.) \
8276 srcdiroption="--srcdir=."; \
8277 libsrcdir=".";; \
8278 /* | [A-Za-z]:[\\/]*) \
8279 srcdiroption="--srcdir=$(srcdir)/gas"; \
8280 libsrcdir="$$s/gas";; \
8281 *) \
8282 srcdiroption="--srcdir=../$(srcdir)/gas"; \
8283 libsrcdir="$$s/gas";; \
8284 esac; \
8285 $(SHELL) $${libsrcdir}/configure \
8286 $(HOST_CONFIGARGS) $${srcdiroption} \
8287 || exit 1
8288 @endif gas
8290 .PHONY: all-gas maybe-all-gas
8291 maybe-all-gas:
8292 @if gas
8293 maybe-all-gas: all-gas
8294 all-gas: configure-gas
8295 @r=`${PWD_COMMAND}`; export r; \
8296 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8297 $(SET_LIB_PATH) \
8298 $(HOST_EXPORTS) \
8299 (cd gas && $(MAKE) $(FLAGS_TO_PASS) all)
8300 @endif gas
8302 .PHONY: check-gas maybe-check-gas
8303 maybe-check-gas:
8304 @if gas
8305 maybe-check-gas: check-gas
8307 check-gas:
8308 @r=`${PWD_COMMAND}`; export r; \
8309 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8310 $(SET_LIB_PATH) \
8311 $(HOST_EXPORTS) \
8312 (cd gas && $(MAKE) $(FLAGS_TO_PASS) check)
8314 @endif gas
8316 .PHONY: install-gas maybe-install-gas
8317 maybe-install-gas:
8318 @if gas
8319 maybe-install-gas: install-gas
8321 install-gas: installdirs
8322 @r=`${PWD_COMMAND}`; export r; \
8323 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8324 $(SET_LIB_PATH) \
8325 $(HOST_EXPORTS) \
8326 (cd gas && $(MAKE) $(FLAGS_TO_PASS) install)
8328 @endif gas
8330 # Other targets (info, dvi, etc.)
8332 .PHONY: maybe-info-gas info-gas
8333 maybe-info-gas:
8334 @if gas
8335 maybe-info-gas: info-gas
8337 info-gas: \
8338 configure-gas
8339 @[ -f ./gas/Makefile ] || exit 0; \
8340 r=`${PWD_COMMAND}`; export r; \
8341 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8342 $(SET_LIB_PATH) \
8343 $(HOST_EXPORTS) \
8344 for flag in $(EXTRA_HOST_FLAGS) ; do \
8345 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8346 done; \
8347 echo "Doing info in gas" ; \
8348 (cd gas && \
8349 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8350 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8351 "RANLIB=$${RANLIB}" \
8352 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8353 info) \
8354 || exit 1
8356 @endif gas
8358 .PHONY: maybe-dvi-gas dvi-gas
8359 maybe-dvi-gas:
8360 @if gas
8361 maybe-dvi-gas: dvi-gas
8363 dvi-gas: \
8364 configure-gas
8365 @[ -f ./gas/Makefile ] || exit 0; \
8366 r=`${PWD_COMMAND}`; export r; \
8367 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8368 $(SET_LIB_PATH) \
8369 $(HOST_EXPORTS) \
8370 for flag in $(EXTRA_HOST_FLAGS) ; do \
8371 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8372 done; \
8373 echo "Doing dvi in gas" ; \
8374 (cd gas && \
8375 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8376 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8377 "RANLIB=$${RANLIB}" \
8378 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8379 dvi) \
8380 || exit 1
8382 @endif gas
8384 .PHONY: maybe-TAGS-gas TAGS-gas
8385 maybe-TAGS-gas:
8386 @if gas
8387 maybe-TAGS-gas: TAGS-gas
8389 TAGS-gas: \
8390 configure-gas
8391 @[ -f ./gas/Makefile ] || exit 0; \
8392 r=`${PWD_COMMAND}`; export r; \
8393 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8394 $(SET_LIB_PATH) \
8395 $(HOST_EXPORTS) \
8396 for flag in $(EXTRA_HOST_FLAGS) ; do \
8397 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8398 done; \
8399 echo "Doing TAGS in gas" ; \
8400 (cd gas && \
8401 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8402 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8403 "RANLIB=$${RANLIB}" \
8404 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8405 TAGS) \
8406 || exit 1
8408 @endif gas
8410 .PHONY: maybe-install-info-gas install-info-gas
8411 maybe-install-info-gas:
8412 @if gas
8413 maybe-install-info-gas: install-info-gas
8415 install-info-gas: \
8416 configure-gas \
8417 info-gas
8418 @[ -f ./gas/Makefile ] || exit 0; \
8419 r=`${PWD_COMMAND}`; export r; \
8420 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8421 $(SET_LIB_PATH) \
8422 $(HOST_EXPORTS) \
8423 for flag in $(EXTRA_HOST_FLAGS) ; do \
8424 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8425 done; \
8426 echo "Doing install-info in gas" ; \
8427 (cd gas && \
8428 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8429 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8430 "RANLIB=$${RANLIB}" \
8431 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8432 install-info) \
8433 || exit 1
8435 @endif gas
8437 .PHONY: maybe-installcheck-gas installcheck-gas
8438 maybe-installcheck-gas:
8439 @if gas
8440 maybe-installcheck-gas: installcheck-gas
8442 installcheck-gas: \
8443 configure-gas
8444 @[ -f ./gas/Makefile ] || exit 0; \
8445 r=`${PWD_COMMAND}`; export r; \
8446 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8447 $(SET_LIB_PATH) \
8448 $(HOST_EXPORTS) \
8449 for flag in $(EXTRA_HOST_FLAGS) ; do \
8450 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8451 done; \
8452 echo "Doing installcheck in gas" ; \
8453 (cd gas && \
8454 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8455 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8456 "RANLIB=$${RANLIB}" \
8457 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8458 installcheck) \
8459 || exit 1
8461 @endif gas
8463 .PHONY: maybe-mostlyclean-gas mostlyclean-gas
8464 maybe-mostlyclean-gas:
8465 @if gas
8466 maybe-mostlyclean-gas: mostlyclean-gas
8468 mostlyclean-gas:
8469 @[ -f ./gas/Makefile ] || exit 0; \
8470 r=`${PWD_COMMAND}`; export r; \
8471 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8472 $(SET_LIB_PATH) \
8473 $(HOST_EXPORTS) \
8474 for flag in $(EXTRA_HOST_FLAGS) ; do \
8475 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8476 done; \
8477 echo "Doing mostlyclean in gas" ; \
8478 (cd gas && \
8479 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8480 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8481 "RANLIB=$${RANLIB}" \
8482 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8483 mostlyclean) \
8484 || exit 1
8486 @endif gas
8488 .PHONY: maybe-clean-gas clean-gas
8489 maybe-clean-gas:
8490 @if gas
8491 maybe-clean-gas: clean-gas
8493 clean-gas:
8494 @[ -f ./gas/Makefile ] || exit 0; \
8495 r=`${PWD_COMMAND}`; export r; \
8496 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8497 $(SET_LIB_PATH) \
8498 $(HOST_EXPORTS) \
8499 for flag in $(EXTRA_HOST_FLAGS) ; do \
8500 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8501 done; \
8502 echo "Doing clean in gas" ; \
8503 (cd gas && \
8504 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8505 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8506 "RANLIB=$${RANLIB}" \
8507 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8508 clean) \
8509 || exit 1
8511 @endif gas
8513 .PHONY: maybe-distclean-gas distclean-gas
8514 maybe-distclean-gas:
8515 @if gas
8516 maybe-distclean-gas: distclean-gas
8518 distclean-gas:
8519 @[ -f ./gas/Makefile ] || exit 0; \
8520 r=`${PWD_COMMAND}`; export r; \
8521 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8522 $(SET_LIB_PATH) \
8523 $(HOST_EXPORTS) \
8524 for flag in $(EXTRA_HOST_FLAGS) ; do \
8525 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8526 done; \
8527 echo "Doing distclean in gas" ; \
8528 (cd gas && \
8529 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8530 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8531 "RANLIB=$${RANLIB}" \
8532 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8533 distclean) \
8534 || exit 1
8536 @endif gas
8538 .PHONY: maybe-maintainer-clean-gas maintainer-clean-gas
8539 maybe-maintainer-clean-gas:
8540 @if gas
8541 maybe-maintainer-clean-gas: maintainer-clean-gas
8543 maintainer-clean-gas:
8544 @[ -f ./gas/Makefile ] || exit 0; \
8545 r=`${PWD_COMMAND}`; export r; \
8546 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8547 $(SET_LIB_PATH) \
8548 $(HOST_EXPORTS) \
8549 for flag in $(EXTRA_HOST_FLAGS) ; do \
8550 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8551 done; \
8552 echo "Doing maintainer-clean in gas" ; \
8553 (cd gas && \
8554 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8555 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8556 "RANLIB=$${RANLIB}" \
8557 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8558 maintainer-clean) \
8559 || exit 1
8561 @endif gas
8564 .PHONY: configure-gcc maybe-configure-gcc
8565 maybe-configure-gcc:
8566 @if gcc
8567 maybe-configure-gcc: configure-gcc
8568 configure-gcc:
8569 @test ! -f gcc/Makefile || exit 0; \
8570 [ -d gcc ] || mkdir gcc; \
8571 r=`${PWD_COMMAND}`; export r; \
8572 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8573 $(HOST_EXPORTS) \
8574 echo Configuring in gcc; \
8575 cd gcc || exit 1; \
8576 case $(srcdir) in \
8577 \.) \
8578 srcdiroption="--srcdir=."; \
8579 libsrcdir=".";; \
8580 /* | [A-Za-z]:[\\/]*) \
8581 srcdiroption="--srcdir=$(srcdir)/gcc"; \
8582 libsrcdir="$$s/gcc";; \
8583 *) \
8584 srcdiroption="--srcdir=../$(srcdir)/gcc"; \
8585 libsrcdir="$$s/gcc";; \
8586 esac; \
8587 $(SHELL) $${libsrcdir}/configure \
8588 $(HOST_CONFIGARGS) $${srcdiroption} \
8589 || exit 1
8590 @endif gcc
8592 .PHONY: all-gcc maybe-all-gcc
8593 maybe-all-gcc:
8594 @if gcc
8595 maybe-all-gcc: all-gcc
8596 all-gcc: configure-gcc
8597 @r=`${PWD_COMMAND}`; export r; \
8598 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8599 $(SET_LIB_PATH) \
8600 $(HOST_EXPORTS) \
8601 (cd gcc && $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
8602 `if [ -f gcc/stage_last ]; then echo quickstrap ; else echo all; fi` )
8603 @endif gcc
8605 .PHONY: check-gcc maybe-check-gcc
8606 maybe-check-gcc:
8607 @if gcc
8608 maybe-check-gcc: check-gcc
8610 check-gcc:
8611 @r=`${PWD_COMMAND}`; export r; \
8612 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8613 $(SET_LIB_PATH) \
8614 $(HOST_EXPORTS) \
8615 (cd gcc && $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) check)
8617 @endif gcc
8619 .PHONY: install-gcc maybe-install-gcc
8620 maybe-install-gcc:
8621 @if gcc
8622 maybe-install-gcc: install-gcc
8624 install-gcc: installdirs
8625 @r=`${PWD_COMMAND}`; export r; \
8626 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8627 $(SET_LIB_PATH) \
8628 $(HOST_EXPORTS) \
8629 (cd gcc && $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) install)
8631 @endif gcc
8633 # Other targets (info, dvi, etc.)
8635 .PHONY: maybe-info-gcc info-gcc
8636 maybe-info-gcc:
8637 @if gcc
8638 maybe-info-gcc: info-gcc
8640 info-gcc: \
8641 configure-gcc
8642 @[ -f ./gcc/Makefile ] || exit 0; \
8643 r=`${PWD_COMMAND}`; export r; \
8644 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8645 $(SET_LIB_PATH) \
8646 $(HOST_EXPORTS) \
8647 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
8648 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8649 done; \
8650 echo "Doing info in gcc" ; \
8651 (cd gcc && \
8652 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8653 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8654 "RANLIB=$${RANLIB}" \
8655 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8656 info) \
8657 || exit 1
8659 @endif gcc
8661 .PHONY: maybe-dvi-gcc dvi-gcc
8662 maybe-dvi-gcc:
8663 @if gcc
8664 maybe-dvi-gcc: dvi-gcc
8666 dvi-gcc: \
8667 configure-gcc
8668 @[ -f ./gcc/Makefile ] || exit 0; \
8669 r=`${PWD_COMMAND}`; export r; \
8670 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8671 $(SET_LIB_PATH) \
8672 $(HOST_EXPORTS) \
8673 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
8674 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8675 done; \
8676 echo "Doing dvi in gcc" ; \
8677 (cd gcc && \
8678 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8679 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8680 "RANLIB=$${RANLIB}" \
8681 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8682 dvi) \
8683 || exit 1
8685 @endif gcc
8687 .PHONY: maybe-TAGS-gcc TAGS-gcc
8688 maybe-TAGS-gcc:
8689 @if gcc
8690 maybe-TAGS-gcc: TAGS-gcc
8692 TAGS-gcc: \
8693 configure-gcc
8694 @[ -f ./gcc/Makefile ] || exit 0; \
8695 r=`${PWD_COMMAND}`; export r; \
8696 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8697 $(SET_LIB_PATH) \
8698 $(HOST_EXPORTS) \
8699 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
8700 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8701 done; \
8702 echo "Doing TAGS in gcc" ; \
8703 (cd gcc && \
8704 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8705 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8706 "RANLIB=$${RANLIB}" \
8707 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8708 TAGS) \
8709 || exit 1
8711 @endif gcc
8713 .PHONY: maybe-install-info-gcc install-info-gcc
8714 maybe-install-info-gcc:
8715 @if gcc
8716 maybe-install-info-gcc: install-info-gcc
8718 install-info-gcc: \
8719 configure-gcc \
8720 info-gcc
8721 @[ -f ./gcc/Makefile ] || exit 0; \
8722 r=`${PWD_COMMAND}`; export r; \
8723 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8724 $(SET_LIB_PATH) \
8725 $(HOST_EXPORTS) \
8726 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
8727 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8728 done; \
8729 echo "Doing install-info in gcc" ; \
8730 (cd gcc && \
8731 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8732 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8733 "RANLIB=$${RANLIB}" \
8734 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8735 install-info) \
8736 || exit 1
8738 @endif gcc
8740 .PHONY: maybe-installcheck-gcc installcheck-gcc
8741 maybe-installcheck-gcc:
8742 @if gcc
8743 maybe-installcheck-gcc: installcheck-gcc
8745 installcheck-gcc: \
8746 configure-gcc
8747 @[ -f ./gcc/Makefile ] || exit 0; \
8748 r=`${PWD_COMMAND}`; export r; \
8749 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8750 $(SET_LIB_PATH) \
8751 $(HOST_EXPORTS) \
8752 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
8753 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8754 done; \
8755 echo "Doing installcheck in gcc" ; \
8756 (cd gcc && \
8757 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8758 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8759 "RANLIB=$${RANLIB}" \
8760 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8761 installcheck) \
8762 || exit 1
8764 @endif gcc
8766 .PHONY: maybe-mostlyclean-gcc mostlyclean-gcc
8767 maybe-mostlyclean-gcc:
8768 @if gcc
8769 maybe-mostlyclean-gcc: mostlyclean-gcc
8771 mostlyclean-gcc:
8772 @[ -f ./gcc/Makefile ] || exit 0; \
8773 r=`${PWD_COMMAND}`; export r; \
8774 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8775 $(SET_LIB_PATH) \
8776 $(HOST_EXPORTS) \
8777 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
8778 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8779 done; \
8780 echo "Doing mostlyclean in gcc" ; \
8781 (cd gcc && \
8782 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8783 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8784 "RANLIB=$${RANLIB}" \
8785 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8786 mostlyclean) \
8787 || exit 1
8789 @endif gcc
8791 .PHONY: maybe-clean-gcc clean-gcc
8792 maybe-clean-gcc:
8793 @if gcc
8794 maybe-clean-gcc: clean-gcc
8796 clean-gcc:
8797 @[ -f ./gcc/Makefile ] || exit 0; \
8798 r=`${PWD_COMMAND}`; export r; \
8799 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8800 $(SET_LIB_PATH) \
8801 $(HOST_EXPORTS) \
8802 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
8803 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8804 done; \
8805 echo "Doing clean in gcc" ; \
8806 (cd gcc && \
8807 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8808 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8809 "RANLIB=$${RANLIB}" \
8810 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8811 clean) \
8812 || exit 1
8814 @endif gcc
8816 .PHONY: maybe-distclean-gcc distclean-gcc
8817 maybe-distclean-gcc:
8818 @if gcc
8819 maybe-distclean-gcc: distclean-gcc
8821 distclean-gcc:
8822 @[ -f ./gcc/Makefile ] || exit 0; \
8823 r=`${PWD_COMMAND}`; export r; \
8824 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8825 $(SET_LIB_PATH) \
8826 $(HOST_EXPORTS) \
8827 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
8828 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8829 done; \
8830 echo "Doing distclean in gcc" ; \
8831 (cd gcc && \
8832 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8833 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8834 "RANLIB=$${RANLIB}" \
8835 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8836 distclean) \
8837 || exit 1
8839 @endif gcc
8841 .PHONY: maybe-maintainer-clean-gcc maintainer-clean-gcc
8842 maybe-maintainer-clean-gcc:
8843 @if gcc
8844 maybe-maintainer-clean-gcc: maintainer-clean-gcc
8846 maintainer-clean-gcc:
8847 @[ -f ./gcc/Makefile ] || exit 0; \
8848 r=`${PWD_COMMAND}`; export r; \
8849 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8850 $(SET_LIB_PATH) \
8851 $(HOST_EXPORTS) \
8852 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
8853 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8854 done; \
8855 echo "Doing maintainer-clean in gcc" ; \
8856 (cd gcc && \
8857 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8858 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8859 "RANLIB=$${RANLIB}" \
8860 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8861 maintainer-clean) \
8862 || exit 1
8864 @endif gcc
8867 .PHONY: configure-gawk maybe-configure-gawk
8868 maybe-configure-gawk:
8869 @if gawk
8870 maybe-configure-gawk: configure-gawk
8871 configure-gawk:
8872 @test ! -f gawk/Makefile || exit 0; \
8873 [ -d gawk ] || mkdir gawk; \
8874 r=`${PWD_COMMAND}`; export r; \
8875 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8876 $(HOST_EXPORTS) \
8877 echo Configuring in gawk; \
8878 cd gawk || exit 1; \
8879 case $(srcdir) in \
8880 \.) \
8881 srcdiroption="--srcdir=."; \
8882 libsrcdir=".";; \
8883 /* | [A-Za-z]:[\\/]*) \
8884 srcdiroption="--srcdir=$(srcdir)/gawk"; \
8885 libsrcdir="$$s/gawk";; \
8886 *) \
8887 srcdiroption="--srcdir=../$(srcdir)/gawk"; \
8888 libsrcdir="$$s/gawk";; \
8889 esac; \
8890 $(SHELL) $${libsrcdir}/configure \
8891 $(HOST_CONFIGARGS) $${srcdiroption} \
8892 || exit 1
8893 @endif gawk
8895 .PHONY: all-gawk maybe-all-gawk
8896 maybe-all-gawk:
8897 @if gawk
8898 maybe-all-gawk: all-gawk
8899 all-gawk: configure-gawk
8900 @r=`${PWD_COMMAND}`; export r; \
8901 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8902 $(SET_LIB_PATH) \
8903 $(HOST_EXPORTS) \
8904 (cd gawk && $(MAKE) $(FLAGS_TO_PASS) all)
8905 @endif gawk
8907 .PHONY: check-gawk maybe-check-gawk
8908 maybe-check-gawk:
8909 @if gawk
8910 maybe-check-gawk: check-gawk
8912 check-gawk:
8913 @r=`${PWD_COMMAND}`; export r; \
8914 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8915 $(SET_LIB_PATH) \
8916 $(HOST_EXPORTS) \
8917 (cd gawk && $(MAKE) $(FLAGS_TO_PASS) check)
8919 @endif gawk
8921 .PHONY: install-gawk maybe-install-gawk
8922 maybe-install-gawk:
8923 @if gawk
8924 maybe-install-gawk: install-gawk
8926 install-gawk: installdirs
8927 @r=`${PWD_COMMAND}`; export r; \
8928 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8929 $(SET_LIB_PATH) \
8930 $(HOST_EXPORTS) \
8931 (cd gawk && $(MAKE) $(FLAGS_TO_PASS) install)
8933 @endif gawk
8935 # Other targets (info, dvi, etc.)
8937 .PHONY: maybe-info-gawk info-gawk
8938 maybe-info-gawk:
8939 @if gawk
8940 maybe-info-gawk: info-gawk
8942 info-gawk: \
8943 configure-gawk
8944 @[ -f ./gawk/Makefile ] || exit 0; \
8945 r=`${PWD_COMMAND}`; export r; \
8946 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8947 $(SET_LIB_PATH) \
8948 $(HOST_EXPORTS) \
8949 for flag in $(EXTRA_HOST_FLAGS) ; do \
8950 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8951 done; \
8952 echo "Doing info in gawk" ; \
8953 (cd gawk && \
8954 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8955 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8956 "RANLIB=$${RANLIB}" \
8957 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8958 info) \
8959 || exit 1
8961 @endif gawk
8963 .PHONY: maybe-dvi-gawk dvi-gawk
8964 maybe-dvi-gawk:
8965 @if gawk
8966 maybe-dvi-gawk: dvi-gawk
8968 dvi-gawk: \
8969 configure-gawk
8970 @[ -f ./gawk/Makefile ] || exit 0; \
8971 r=`${PWD_COMMAND}`; export r; \
8972 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8973 $(SET_LIB_PATH) \
8974 $(HOST_EXPORTS) \
8975 for flag in $(EXTRA_HOST_FLAGS) ; do \
8976 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8977 done; \
8978 echo "Doing dvi in gawk" ; \
8979 (cd gawk && \
8980 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8981 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8982 "RANLIB=$${RANLIB}" \
8983 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8984 dvi) \
8985 || exit 1
8987 @endif gawk
8989 .PHONY: maybe-TAGS-gawk TAGS-gawk
8990 maybe-TAGS-gawk:
8991 @if gawk
8992 maybe-TAGS-gawk: TAGS-gawk
8994 TAGS-gawk: \
8995 configure-gawk
8996 @[ -f ./gawk/Makefile ] || exit 0; \
8997 r=`${PWD_COMMAND}`; export r; \
8998 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8999 $(SET_LIB_PATH) \
9000 $(HOST_EXPORTS) \
9001 for flag in $(EXTRA_HOST_FLAGS) ; do \
9002 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9003 done; \
9004 echo "Doing TAGS in gawk" ; \
9005 (cd gawk && \
9006 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9007 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9008 "RANLIB=$${RANLIB}" \
9009 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9010 TAGS) \
9011 || exit 1
9013 @endif gawk
9015 .PHONY: maybe-install-info-gawk install-info-gawk
9016 maybe-install-info-gawk:
9017 @if gawk
9018 maybe-install-info-gawk: install-info-gawk
9020 install-info-gawk: \
9021 configure-gawk \
9022 info-gawk
9023 @[ -f ./gawk/Makefile ] || exit 0; \
9024 r=`${PWD_COMMAND}`; export r; \
9025 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9026 $(SET_LIB_PATH) \
9027 $(HOST_EXPORTS) \
9028 for flag in $(EXTRA_HOST_FLAGS) ; do \
9029 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9030 done; \
9031 echo "Doing install-info in gawk" ; \
9032 (cd gawk && \
9033 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9034 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9035 "RANLIB=$${RANLIB}" \
9036 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9037 install-info) \
9038 || exit 1
9040 @endif gawk
9042 .PHONY: maybe-installcheck-gawk installcheck-gawk
9043 maybe-installcheck-gawk:
9044 @if gawk
9045 maybe-installcheck-gawk: installcheck-gawk
9047 installcheck-gawk: \
9048 configure-gawk
9049 @[ -f ./gawk/Makefile ] || exit 0; \
9050 r=`${PWD_COMMAND}`; export r; \
9051 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9052 $(SET_LIB_PATH) \
9053 $(HOST_EXPORTS) \
9054 for flag in $(EXTRA_HOST_FLAGS) ; do \
9055 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9056 done; \
9057 echo "Doing installcheck in gawk" ; \
9058 (cd gawk && \
9059 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9060 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9061 "RANLIB=$${RANLIB}" \
9062 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9063 installcheck) \
9064 || exit 1
9066 @endif gawk
9068 .PHONY: maybe-mostlyclean-gawk mostlyclean-gawk
9069 maybe-mostlyclean-gawk:
9070 @if gawk
9071 maybe-mostlyclean-gawk: mostlyclean-gawk
9073 mostlyclean-gawk:
9074 @[ -f ./gawk/Makefile ] || exit 0; \
9075 r=`${PWD_COMMAND}`; export r; \
9076 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9077 $(SET_LIB_PATH) \
9078 $(HOST_EXPORTS) \
9079 for flag in $(EXTRA_HOST_FLAGS) ; do \
9080 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9081 done; \
9082 echo "Doing mostlyclean in gawk" ; \
9083 (cd gawk && \
9084 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9085 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9086 "RANLIB=$${RANLIB}" \
9087 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9088 mostlyclean) \
9089 || exit 1
9091 @endif gawk
9093 .PHONY: maybe-clean-gawk clean-gawk
9094 maybe-clean-gawk:
9095 @if gawk
9096 maybe-clean-gawk: clean-gawk
9098 clean-gawk:
9099 @[ -f ./gawk/Makefile ] || exit 0; \
9100 r=`${PWD_COMMAND}`; export r; \
9101 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9102 $(SET_LIB_PATH) \
9103 $(HOST_EXPORTS) \
9104 for flag in $(EXTRA_HOST_FLAGS) ; do \
9105 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9106 done; \
9107 echo "Doing clean in gawk" ; \
9108 (cd gawk && \
9109 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9110 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9111 "RANLIB=$${RANLIB}" \
9112 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9113 clean) \
9114 || exit 1
9116 @endif gawk
9118 .PHONY: maybe-distclean-gawk distclean-gawk
9119 maybe-distclean-gawk:
9120 @if gawk
9121 maybe-distclean-gawk: distclean-gawk
9123 distclean-gawk:
9124 @[ -f ./gawk/Makefile ] || exit 0; \
9125 r=`${PWD_COMMAND}`; export r; \
9126 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9127 $(SET_LIB_PATH) \
9128 $(HOST_EXPORTS) \
9129 for flag in $(EXTRA_HOST_FLAGS) ; do \
9130 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9131 done; \
9132 echo "Doing distclean in gawk" ; \
9133 (cd gawk && \
9134 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9135 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9136 "RANLIB=$${RANLIB}" \
9137 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9138 distclean) \
9139 || exit 1
9141 @endif gawk
9143 .PHONY: maybe-maintainer-clean-gawk maintainer-clean-gawk
9144 maybe-maintainer-clean-gawk:
9145 @if gawk
9146 maybe-maintainer-clean-gawk: maintainer-clean-gawk
9148 maintainer-clean-gawk:
9149 @[ -f ./gawk/Makefile ] || exit 0; \
9150 r=`${PWD_COMMAND}`; export r; \
9151 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9152 $(SET_LIB_PATH) \
9153 $(HOST_EXPORTS) \
9154 for flag in $(EXTRA_HOST_FLAGS) ; do \
9155 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9156 done; \
9157 echo "Doing maintainer-clean in gawk" ; \
9158 (cd gawk && \
9159 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9160 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9161 "RANLIB=$${RANLIB}" \
9162 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9163 maintainer-clean) \
9164 || exit 1
9166 @endif gawk
9169 .PHONY: configure-gettext maybe-configure-gettext
9170 maybe-configure-gettext:
9171 @if gettext
9172 maybe-configure-gettext: configure-gettext
9173 configure-gettext:
9174 @test ! -f gettext/Makefile || exit 0; \
9175 [ -d gettext ] || mkdir gettext; \
9176 r=`${PWD_COMMAND}`; export r; \
9177 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9178 $(HOST_EXPORTS) \
9179 echo Configuring in gettext; \
9180 cd gettext || exit 1; \
9181 case $(srcdir) in \
9182 \.) \
9183 srcdiroption="--srcdir=."; \
9184 libsrcdir=".";; \
9185 /* | [A-Za-z]:[\\/]*) \
9186 srcdiroption="--srcdir=$(srcdir)/gettext"; \
9187 libsrcdir="$$s/gettext";; \
9188 *) \
9189 srcdiroption="--srcdir=../$(srcdir)/gettext"; \
9190 libsrcdir="$$s/gettext";; \
9191 esac; \
9192 $(SHELL) $${libsrcdir}/configure \
9193 $(HOST_CONFIGARGS) $${srcdiroption} \
9194 || exit 1
9195 @endif gettext
9197 .PHONY: all-gettext maybe-all-gettext
9198 maybe-all-gettext:
9199 @if gettext
9200 maybe-all-gettext: all-gettext
9201 all-gettext: configure-gettext
9202 @r=`${PWD_COMMAND}`; export r; \
9203 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9204 $(SET_LIB_PATH) \
9205 $(HOST_EXPORTS) \
9206 (cd gettext && $(MAKE) $(FLAGS_TO_PASS) all)
9207 @endif gettext
9209 .PHONY: check-gettext maybe-check-gettext
9210 maybe-check-gettext:
9211 @if gettext
9212 maybe-check-gettext: check-gettext
9214 check-gettext:
9215 @r=`${PWD_COMMAND}`; export r; \
9216 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9217 $(SET_LIB_PATH) \
9218 $(HOST_EXPORTS) \
9219 (cd gettext && $(MAKE) $(FLAGS_TO_PASS) check)
9221 @endif gettext
9223 .PHONY: install-gettext maybe-install-gettext
9224 maybe-install-gettext:
9225 @if gettext
9226 maybe-install-gettext: install-gettext
9228 install-gettext: installdirs
9229 @r=`${PWD_COMMAND}`; export r; \
9230 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9231 $(SET_LIB_PATH) \
9232 $(HOST_EXPORTS) \
9233 (cd gettext && $(MAKE) $(FLAGS_TO_PASS) install)
9235 @endif gettext
9237 # Other targets (info, dvi, etc.)
9239 .PHONY: maybe-info-gettext info-gettext
9240 maybe-info-gettext:
9241 @if gettext
9242 maybe-info-gettext: info-gettext
9244 info-gettext: \
9245 configure-gettext
9246 @[ -f ./gettext/Makefile ] || exit 0; \
9247 r=`${PWD_COMMAND}`; export r; \
9248 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9249 $(SET_LIB_PATH) \
9250 $(HOST_EXPORTS) \
9251 for flag in $(EXTRA_HOST_FLAGS) ; do \
9252 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9253 done; \
9254 echo "Doing info in gettext" ; \
9255 (cd gettext && \
9256 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9257 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9258 "RANLIB=$${RANLIB}" \
9259 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9260 info) \
9261 || exit 1
9263 @endif gettext
9265 .PHONY: maybe-dvi-gettext dvi-gettext
9266 maybe-dvi-gettext:
9267 @if gettext
9268 maybe-dvi-gettext: dvi-gettext
9270 dvi-gettext: \
9271 configure-gettext
9272 @[ -f ./gettext/Makefile ] || exit 0; \
9273 r=`${PWD_COMMAND}`; export r; \
9274 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9275 $(SET_LIB_PATH) \
9276 $(HOST_EXPORTS) \
9277 for flag in $(EXTRA_HOST_FLAGS) ; do \
9278 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9279 done; \
9280 echo "Doing dvi in gettext" ; \
9281 (cd gettext && \
9282 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9283 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9284 "RANLIB=$${RANLIB}" \
9285 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9286 dvi) \
9287 || exit 1
9289 @endif gettext
9291 .PHONY: maybe-TAGS-gettext TAGS-gettext
9292 maybe-TAGS-gettext:
9293 @if gettext
9294 maybe-TAGS-gettext: TAGS-gettext
9296 TAGS-gettext: \
9297 configure-gettext
9298 @[ -f ./gettext/Makefile ] || exit 0; \
9299 r=`${PWD_COMMAND}`; export r; \
9300 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9301 $(SET_LIB_PATH) \
9302 $(HOST_EXPORTS) \
9303 for flag in $(EXTRA_HOST_FLAGS) ; do \
9304 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9305 done; \
9306 echo "Doing TAGS in gettext" ; \
9307 (cd gettext && \
9308 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9309 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9310 "RANLIB=$${RANLIB}" \
9311 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9312 TAGS) \
9313 || exit 1
9315 @endif gettext
9317 .PHONY: maybe-install-info-gettext install-info-gettext
9318 maybe-install-info-gettext:
9319 @if gettext
9320 maybe-install-info-gettext: install-info-gettext
9322 install-info-gettext: \
9323 configure-gettext \
9324 info-gettext
9325 @[ -f ./gettext/Makefile ] || exit 0; \
9326 r=`${PWD_COMMAND}`; export r; \
9327 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9328 $(SET_LIB_PATH) \
9329 $(HOST_EXPORTS) \
9330 for flag in $(EXTRA_HOST_FLAGS) ; do \
9331 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9332 done; \
9333 echo "Doing install-info in gettext" ; \
9334 (cd gettext && \
9335 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9336 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9337 "RANLIB=$${RANLIB}" \
9338 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9339 install-info) \
9340 || exit 1
9342 @endif gettext
9344 .PHONY: maybe-installcheck-gettext installcheck-gettext
9345 maybe-installcheck-gettext:
9346 @if gettext
9347 maybe-installcheck-gettext: installcheck-gettext
9349 installcheck-gettext: \
9350 configure-gettext
9351 @[ -f ./gettext/Makefile ] || exit 0; \
9352 r=`${PWD_COMMAND}`; export r; \
9353 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9354 $(SET_LIB_PATH) \
9355 $(HOST_EXPORTS) \
9356 for flag in $(EXTRA_HOST_FLAGS) ; do \
9357 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9358 done; \
9359 echo "Doing installcheck in gettext" ; \
9360 (cd gettext && \
9361 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9362 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9363 "RANLIB=$${RANLIB}" \
9364 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9365 installcheck) \
9366 || exit 1
9368 @endif gettext
9370 .PHONY: maybe-mostlyclean-gettext mostlyclean-gettext
9371 maybe-mostlyclean-gettext:
9372 @if gettext
9373 maybe-mostlyclean-gettext: mostlyclean-gettext
9375 mostlyclean-gettext:
9376 @[ -f ./gettext/Makefile ] || exit 0; \
9377 r=`${PWD_COMMAND}`; export r; \
9378 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9379 $(SET_LIB_PATH) \
9380 $(HOST_EXPORTS) \
9381 for flag in $(EXTRA_HOST_FLAGS) ; do \
9382 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9383 done; \
9384 echo "Doing mostlyclean in gettext" ; \
9385 (cd gettext && \
9386 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9387 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9388 "RANLIB=$${RANLIB}" \
9389 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9390 mostlyclean) \
9391 || exit 1
9393 @endif gettext
9395 .PHONY: maybe-clean-gettext clean-gettext
9396 maybe-clean-gettext:
9397 @if gettext
9398 maybe-clean-gettext: clean-gettext
9400 clean-gettext:
9401 @[ -f ./gettext/Makefile ] || exit 0; \
9402 r=`${PWD_COMMAND}`; export r; \
9403 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9404 $(SET_LIB_PATH) \
9405 $(HOST_EXPORTS) \
9406 for flag in $(EXTRA_HOST_FLAGS) ; do \
9407 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9408 done; \
9409 echo "Doing clean in gettext" ; \
9410 (cd gettext && \
9411 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9412 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9413 "RANLIB=$${RANLIB}" \
9414 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9415 clean) \
9416 || exit 1
9418 @endif gettext
9420 .PHONY: maybe-distclean-gettext distclean-gettext
9421 maybe-distclean-gettext:
9422 @if gettext
9423 maybe-distclean-gettext: distclean-gettext
9425 distclean-gettext:
9426 @[ -f ./gettext/Makefile ] || exit 0; \
9427 r=`${PWD_COMMAND}`; export r; \
9428 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9429 $(SET_LIB_PATH) \
9430 $(HOST_EXPORTS) \
9431 for flag in $(EXTRA_HOST_FLAGS) ; do \
9432 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9433 done; \
9434 echo "Doing distclean in gettext" ; \
9435 (cd gettext && \
9436 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9437 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9438 "RANLIB=$${RANLIB}" \
9439 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9440 distclean) \
9441 || exit 1
9443 @endif gettext
9445 .PHONY: maybe-maintainer-clean-gettext maintainer-clean-gettext
9446 maybe-maintainer-clean-gettext:
9447 @if gettext
9448 maybe-maintainer-clean-gettext: maintainer-clean-gettext
9450 maintainer-clean-gettext:
9451 @[ -f ./gettext/Makefile ] || exit 0; \
9452 r=`${PWD_COMMAND}`; export r; \
9453 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9454 $(SET_LIB_PATH) \
9455 $(HOST_EXPORTS) \
9456 for flag in $(EXTRA_HOST_FLAGS) ; do \
9457 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9458 done; \
9459 echo "Doing maintainer-clean in gettext" ; \
9460 (cd gettext && \
9461 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9462 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9463 "RANLIB=$${RANLIB}" \
9464 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9465 maintainer-clean) \
9466 || exit 1
9468 @endif gettext
9471 .PHONY: configure-gnuserv maybe-configure-gnuserv
9472 maybe-configure-gnuserv:
9473 @if gnuserv
9474 maybe-configure-gnuserv: configure-gnuserv
9475 configure-gnuserv:
9476 @test ! -f gnuserv/Makefile || exit 0; \
9477 [ -d gnuserv ] || mkdir gnuserv; \
9478 r=`${PWD_COMMAND}`; export r; \
9479 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9480 $(HOST_EXPORTS) \
9481 echo Configuring in gnuserv; \
9482 cd gnuserv || exit 1; \
9483 case $(srcdir) in \
9484 \.) \
9485 srcdiroption="--srcdir=."; \
9486 libsrcdir=".";; \
9487 /* | [A-Za-z]:[\\/]*) \
9488 srcdiroption="--srcdir=$(srcdir)/gnuserv"; \
9489 libsrcdir="$$s/gnuserv";; \
9490 *) \
9491 srcdiroption="--srcdir=../$(srcdir)/gnuserv"; \
9492 libsrcdir="$$s/gnuserv";; \
9493 esac; \
9494 $(SHELL) $${libsrcdir}/configure \
9495 $(HOST_CONFIGARGS) $${srcdiroption} \
9496 || exit 1
9497 @endif gnuserv
9499 .PHONY: all-gnuserv maybe-all-gnuserv
9500 maybe-all-gnuserv:
9501 @if gnuserv
9502 maybe-all-gnuserv: all-gnuserv
9503 all-gnuserv: configure-gnuserv
9504 @r=`${PWD_COMMAND}`; export r; \
9505 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9506 $(SET_LIB_PATH) \
9507 $(HOST_EXPORTS) \
9508 (cd gnuserv && $(MAKE) $(FLAGS_TO_PASS) all)
9509 @endif gnuserv
9511 .PHONY: check-gnuserv maybe-check-gnuserv
9512 maybe-check-gnuserv:
9513 @if gnuserv
9514 maybe-check-gnuserv: check-gnuserv
9516 check-gnuserv:
9517 @r=`${PWD_COMMAND}`; export r; \
9518 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9519 $(SET_LIB_PATH) \
9520 $(HOST_EXPORTS) \
9521 (cd gnuserv && $(MAKE) $(FLAGS_TO_PASS) check)
9523 @endif gnuserv
9525 .PHONY: install-gnuserv maybe-install-gnuserv
9526 maybe-install-gnuserv:
9527 @if gnuserv
9528 maybe-install-gnuserv: install-gnuserv
9530 install-gnuserv: installdirs
9531 @r=`${PWD_COMMAND}`; export r; \
9532 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9533 $(SET_LIB_PATH) \
9534 $(HOST_EXPORTS) \
9535 (cd gnuserv && $(MAKE) $(FLAGS_TO_PASS) install)
9537 @endif gnuserv
9539 # Other targets (info, dvi, etc.)
9541 .PHONY: maybe-info-gnuserv info-gnuserv
9542 maybe-info-gnuserv:
9543 @if gnuserv
9544 maybe-info-gnuserv: info-gnuserv
9546 info-gnuserv: \
9547 configure-gnuserv
9548 @[ -f ./gnuserv/Makefile ] || exit 0; \
9549 r=`${PWD_COMMAND}`; export r; \
9550 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9551 $(SET_LIB_PATH) \
9552 $(HOST_EXPORTS) \
9553 for flag in $(EXTRA_HOST_FLAGS) ; do \
9554 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9555 done; \
9556 echo "Doing info in gnuserv" ; \
9557 (cd gnuserv && \
9558 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9559 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9560 "RANLIB=$${RANLIB}" \
9561 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9562 info) \
9563 || exit 1
9565 @endif gnuserv
9567 .PHONY: maybe-dvi-gnuserv dvi-gnuserv
9568 maybe-dvi-gnuserv:
9569 @if gnuserv
9570 maybe-dvi-gnuserv: dvi-gnuserv
9572 dvi-gnuserv: \
9573 configure-gnuserv
9574 @[ -f ./gnuserv/Makefile ] || exit 0; \
9575 r=`${PWD_COMMAND}`; export r; \
9576 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9577 $(SET_LIB_PATH) \
9578 $(HOST_EXPORTS) \
9579 for flag in $(EXTRA_HOST_FLAGS) ; do \
9580 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9581 done; \
9582 echo "Doing dvi in gnuserv" ; \
9583 (cd gnuserv && \
9584 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9585 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9586 "RANLIB=$${RANLIB}" \
9587 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9588 dvi) \
9589 || exit 1
9591 @endif gnuserv
9593 .PHONY: maybe-TAGS-gnuserv TAGS-gnuserv
9594 maybe-TAGS-gnuserv:
9595 @if gnuserv
9596 maybe-TAGS-gnuserv: TAGS-gnuserv
9598 TAGS-gnuserv: \
9599 configure-gnuserv
9600 @[ -f ./gnuserv/Makefile ] || exit 0; \
9601 r=`${PWD_COMMAND}`; export r; \
9602 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9603 $(SET_LIB_PATH) \
9604 $(HOST_EXPORTS) \
9605 for flag in $(EXTRA_HOST_FLAGS) ; do \
9606 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9607 done; \
9608 echo "Doing TAGS in gnuserv" ; \
9609 (cd gnuserv && \
9610 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9611 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9612 "RANLIB=$${RANLIB}" \
9613 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9614 TAGS) \
9615 || exit 1
9617 @endif gnuserv
9619 .PHONY: maybe-install-info-gnuserv install-info-gnuserv
9620 maybe-install-info-gnuserv:
9621 @if gnuserv
9622 maybe-install-info-gnuserv: install-info-gnuserv
9624 install-info-gnuserv: \
9625 configure-gnuserv \
9626 info-gnuserv
9627 @[ -f ./gnuserv/Makefile ] || exit 0; \
9628 r=`${PWD_COMMAND}`; export r; \
9629 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9630 $(SET_LIB_PATH) \
9631 $(HOST_EXPORTS) \
9632 for flag in $(EXTRA_HOST_FLAGS) ; do \
9633 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9634 done; \
9635 echo "Doing install-info in gnuserv" ; \
9636 (cd gnuserv && \
9637 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9638 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9639 "RANLIB=$${RANLIB}" \
9640 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9641 install-info) \
9642 || exit 1
9644 @endif gnuserv
9646 .PHONY: maybe-installcheck-gnuserv installcheck-gnuserv
9647 maybe-installcheck-gnuserv:
9648 @if gnuserv
9649 maybe-installcheck-gnuserv: installcheck-gnuserv
9651 installcheck-gnuserv: \
9652 configure-gnuserv
9653 @[ -f ./gnuserv/Makefile ] || exit 0; \
9654 r=`${PWD_COMMAND}`; export r; \
9655 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9656 $(SET_LIB_PATH) \
9657 $(HOST_EXPORTS) \
9658 for flag in $(EXTRA_HOST_FLAGS) ; do \
9659 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9660 done; \
9661 echo "Doing installcheck in gnuserv" ; \
9662 (cd gnuserv && \
9663 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9664 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9665 "RANLIB=$${RANLIB}" \
9666 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9667 installcheck) \
9668 || exit 1
9670 @endif gnuserv
9672 .PHONY: maybe-mostlyclean-gnuserv mostlyclean-gnuserv
9673 maybe-mostlyclean-gnuserv:
9674 @if gnuserv
9675 maybe-mostlyclean-gnuserv: mostlyclean-gnuserv
9677 mostlyclean-gnuserv:
9678 @[ -f ./gnuserv/Makefile ] || exit 0; \
9679 r=`${PWD_COMMAND}`; export r; \
9680 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9681 $(SET_LIB_PATH) \
9682 $(HOST_EXPORTS) \
9683 for flag in $(EXTRA_HOST_FLAGS) ; do \
9684 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9685 done; \
9686 echo "Doing mostlyclean in gnuserv" ; \
9687 (cd gnuserv && \
9688 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9689 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9690 "RANLIB=$${RANLIB}" \
9691 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9692 mostlyclean) \
9693 || exit 1
9695 @endif gnuserv
9697 .PHONY: maybe-clean-gnuserv clean-gnuserv
9698 maybe-clean-gnuserv:
9699 @if gnuserv
9700 maybe-clean-gnuserv: clean-gnuserv
9702 clean-gnuserv:
9703 @[ -f ./gnuserv/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) ; do \
9709 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9710 done; \
9711 echo "Doing clean in gnuserv" ; \
9712 (cd gnuserv && \
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 clean) \
9718 || exit 1
9720 @endif gnuserv
9722 .PHONY: maybe-distclean-gnuserv distclean-gnuserv
9723 maybe-distclean-gnuserv:
9724 @if gnuserv
9725 maybe-distclean-gnuserv: distclean-gnuserv
9727 distclean-gnuserv:
9728 @[ -f ./gnuserv/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) ; do \
9734 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9735 done; \
9736 echo "Doing distclean in gnuserv" ; \
9737 (cd gnuserv && \
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 distclean) \
9743 || exit 1
9745 @endif gnuserv
9747 .PHONY: maybe-maintainer-clean-gnuserv maintainer-clean-gnuserv
9748 maybe-maintainer-clean-gnuserv:
9749 @if gnuserv
9750 maybe-maintainer-clean-gnuserv: maintainer-clean-gnuserv
9752 maintainer-clean-gnuserv:
9753 @[ -f ./gnuserv/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) ; do \
9759 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9760 done; \
9761 echo "Doing maintainer-clean in gnuserv" ; \
9762 (cd gnuserv && \
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 maintainer-clean) \
9768 || exit 1
9770 @endif gnuserv
9773 .PHONY: configure-gprof maybe-configure-gprof
9774 maybe-configure-gprof:
9775 @if gprof
9776 maybe-configure-gprof: configure-gprof
9777 configure-gprof:
9778 @test ! -f gprof/Makefile || exit 0; \
9779 [ -d gprof ] || mkdir gprof; \
9780 r=`${PWD_COMMAND}`; export r; \
9781 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9782 $(HOST_EXPORTS) \
9783 echo Configuring in gprof; \
9784 cd gprof || exit 1; \
9785 case $(srcdir) in \
9786 \.) \
9787 srcdiroption="--srcdir=."; \
9788 libsrcdir=".";; \
9789 /* | [A-Za-z]:[\\/]*) \
9790 srcdiroption="--srcdir=$(srcdir)/gprof"; \
9791 libsrcdir="$$s/gprof";; \
9792 *) \
9793 srcdiroption="--srcdir=../$(srcdir)/gprof"; \
9794 libsrcdir="$$s/gprof";; \
9795 esac; \
9796 $(SHELL) $${libsrcdir}/configure \
9797 $(HOST_CONFIGARGS) $${srcdiroption} \
9798 || exit 1
9799 @endif gprof
9801 .PHONY: all-gprof maybe-all-gprof
9802 maybe-all-gprof:
9803 @if gprof
9804 maybe-all-gprof: all-gprof
9805 all-gprof: configure-gprof
9806 @r=`${PWD_COMMAND}`; export r; \
9807 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9808 $(SET_LIB_PATH) \
9809 $(HOST_EXPORTS) \
9810 (cd gprof && $(MAKE) $(FLAGS_TO_PASS) all)
9811 @endif gprof
9813 .PHONY: check-gprof maybe-check-gprof
9814 maybe-check-gprof:
9815 @if gprof
9816 maybe-check-gprof: check-gprof
9818 check-gprof:
9819 @r=`${PWD_COMMAND}`; export r; \
9820 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9821 $(SET_LIB_PATH) \
9822 $(HOST_EXPORTS) \
9823 (cd gprof && $(MAKE) $(FLAGS_TO_PASS) check)
9825 @endif gprof
9827 .PHONY: install-gprof maybe-install-gprof
9828 maybe-install-gprof:
9829 @if gprof
9830 maybe-install-gprof: install-gprof
9832 install-gprof: installdirs
9833 @r=`${PWD_COMMAND}`; export r; \
9834 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9835 $(SET_LIB_PATH) \
9836 $(HOST_EXPORTS) \
9837 (cd gprof && $(MAKE) $(FLAGS_TO_PASS) install)
9839 @endif gprof
9841 # Other targets (info, dvi, etc.)
9843 .PHONY: maybe-info-gprof info-gprof
9844 maybe-info-gprof:
9845 @if gprof
9846 maybe-info-gprof: info-gprof
9848 info-gprof: \
9849 configure-gprof
9850 @[ -f ./gprof/Makefile ] || exit 0; \
9851 r=`${PWD_COMMAND}`; export r; \
9852 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9853 $(SET_LIB_PATH) \
9854 $(HOST_EXPORTS) \
9855 for flag in $(EXTRA_HOST_FLAGS) ; do \
9856 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9857 done; \
9858 echo "Doing info in gprof" ; \
9859 (cd gprof && \
9860 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9861 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9862 "RANLIB=$${RANLIB}" \
9863 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9864 info) \
9865 || exit 1
9867 @endif gprof
9869 .PHONY: maybe-dvi-gprof dvi-gprof
9870 maybe-dvi-gprof:
9871 @if gprof
9872 maybe-dvi-gprof: dvi-gprof
9874 dvi-gprof: \
9875 configure-gprof
9876 @[ -f ./gprof/Makefile ] || exit 0; \
9877 r=`${PWD_COMMAND}`; export r; \
9878 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9879 $(SET_LIB_PATH) \
9880 $(HOST_EXPORTS) \
9881 for flag in $(EXTRA_HOST_FLAGS) ; do \
9882 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9883 done; \
9884 echo "Doing dvi in gprof" ; \
9885 (cd gprof && \
9886 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9887 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9888 "RANLIB=$${RANLIB}" \
9889 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9890 dvi) \
9891 || exit 1
9893 @endif gprof
9895 .PHONY: maybe-TAGS-gprof TAGS-gprof
9896 maybe-TAGS-gprof:
9897 @if gprof
9898 maybe-TAGS-gprof: TAGS-gprof
9900 TAGS-gprof: \
9901 configure-gprof
9902 @[ -f ./gprof/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 TAGS in gprof" ; \
9911 (cd gprof && \
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 TAGS) \
9917 || exit 1
9919 @endif gprof
9921 .PHONY: maybe-install-info-gprof install-info-gprof
9922 maybe-install-info-gprof:
9923 @if gprof
9924 maybe-install-info-gprof: install-info-gprof
9926 install-info-gprof: \
9927 configure-gprof \
9928 info-gprof
9929 @[ -f ./gprof/Makefile ] || exit 0; \
9930 r=`${PWD_COMMAND}`; export r; \
9931 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9932 $(SET_LIB_PATH) \
9933 $(HOST_EXPORTS) \
9934 for flag in $(EXTRA_HOST_FLAGS) ; do \
9935 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9936 done; \
9937 echo "Doing install-info in gprof" ; \
9938 (cd gprof && \
9939 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9940 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9941 "RANLIB=$${RANLIB}" \
9942 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9943 install-info) \
9944 || exit 1
9946 @endif gprof
9948 .PHONY: maybe-installcheck-gprof installcheck-gprof
9949 maybe-installcheck-gprof:
9950 @if gprof
9951 maybe-installcheck-gprof: installcheck-gprof
9953 installcheck-gprof: \
9954 configure-gprof
9955 @[ -f ./gprof/Makefile ] || exit 0; \
9956 r=`${PWD_COMMAND}`; export r; \
9957 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9958 $(SET_LIB_PATH) \
9959 $(HOST_EXPORTS) \
9960 for flag in $(EXTRA_HOST_FLAGS) ; do \
9961 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9962 done; \
9963 echo "Doing installcheck in gprof" ; \
9964 (cd gprof && \
9965 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9966 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9967 "RANLIB=$${RANLIB}" \
9968 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9969 installcheck) \
9970 || exit 1
9972 @endif gprof
9974 .PHONY: maybe-mostlyclean-gprof mostlyclean-gprof
9975 maybe-mostlyclean-gprof:
9976 @if gprof
9977 maybe-mostlyclean-gprof: mostlyclean-gprof
9979 mostlyclean-gprof:
9980 @[ -f ./gprof/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 mostlyclean in gprof" ; \
9989 (cd gprof && \
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 mostlyclean) \
9995 || exit 1
9997 @endif gprof
9999 .PHONY: maybe-clean-gprof clean-gprof
10000 maybe-clean-gprof:
10001 @if gprof
10002 maybe-clean-gprof: clean-gprof
10004 clean-gprof:
10005 @[ -f ./gprof/Makefile ] || exit 0; \
10006 r=`${PWD_COMMAND}`; export r; \
10007 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10008 $(SET_LIB_PATH) \
10009 $(HOST_EXPORTS) \
10010 for flag in $(EXTRA_HOST_FLAGS) ; do \
10011 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10012 done; \
10013 echo "Doing clean in gprof" ; \
10014 (cd gprof && \
10015 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10016 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10017 "RANLIB=$${RANLIB}" \
10018 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10019 clean) \
10020 || exit 1
10022 @endif gprof
10024 .PHONY: maybe-distclean-gprof distclean-gprof
10025 maybe-distclean-gprof:
10026 @if gprof
10027 maybe-distclean-gprof: distclean-gprof
10029 distclean-gprof:
10030 @[ -f ./gprof/Makefile ] || exit 0; \
10031 r=`${PWD_COMMAND}`; export r; \
10032 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10033 $(SET_LIB_PATH) \
10034 $(HOST_EXPORTS) \
10035 for flag in $(EXTRA_HOST_FLAGS) ; do \
10036 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10037 done; \
10038 echo "Doing distclean in gprof" ; \
10039 (cd gprof && \
10040 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10041 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10042 "RANLIB=$${RANLIB}" \
10043 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10044 distclean) \
10045 || exit 1
10047 @endif gprof
10049 .PHONY: maybe-maintainer-clean-gprof maintainer-clean-gprof
10050 maybe-maintainer-clean-gprof:
10051 @if gprof
10052 maybe-maintainer-clean-gprof: maintainer-clean-gprof
10054 maintainer-clean-gprof:
10055 @[ -f ./gprof/Makefile ] || exit 0; \
10056 r=`${PWD_COMMAND}`; export r; \
10057 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10058 $(SET_LIB_PATH) \
10059 $(HOST_EXPORTS) \
10060 for flag in $(EXTRA_HOST_FLAGS) ; do \
10061 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10062 done; \
10063 echo "Doing maintainer-clean in gprof" ; \
10064 (cd gprof && \
10065 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10066 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10067 "RANLIB=$${RANLIB}" \
10068 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10069 maintainer-clean) \
10070 || exit 1
10072 @endif gprof
10075 .PHONY: configure-gzip maybe-configure-gzip
10076 maybe-configure-gzip:
10077 @if gzip
10078 maybe-configure-gzip: configure-gzip
10079 configure-gzip:
10080 @test ! -f gzip/Makefile || exit 0; \
10081 [ -d gzip ] || mkdir gzip; \
10082 r=`${PWD_COMMAND}`; export r; \
10083 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10084 $(HOST_EXPORTS) \
10085 echo Configuring in gzip; \
10086 cd gzip || exit 1; \
10087 case $(srcdir) in \
10088 \.) \
10089 srcdiroption="--srcdir=."; \
10090 libsrcdir=".";; \
10091 /* | [A-Za-z]:[\\/]*) \
10092 srcdiroption="--srcdir=$(srcdir)/gzip"; \
10093 libsrcdir="$$s/gzip";; \
10094 *) \
10095 srcdiroption="--srcdir=../$(srcdir)/gzip"; \
10096 libsrcdir="$$s/gzip";; \
10097 esac; \
10098 $(SHELL) $${libsrcdir}/configure \
10099 $(HOST_CONFIGARGS) $${srcdiroption} \
10100 || exit 1
10101 @endif gzip
10103 .PHONY: all-gzip maybe-all-gzip
10104 maybe-all-gzip:
10105 @if gzip
10106 maybe-all-gzip: all-gzip
10107 all-gzip: configure-gzip
10108 @r=`${PWD_COMMAND}`; export r; \
10109 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10110 $(SET_LIB_PATH) \
10111 $(HOST_EXPORTS) \
10112 (cd gzip && $(MAKE) $(FLAGS_TO_PASS) all)
10113 @endif gzip
10115 .PHONY: check-gzip maybe-check-gzip
10116 maybe-check-gzip:
10117 @if gzip
10118 maybe-check-gzip: check-gzip
10120 check-gzip:
10121 @r=`${PWD_COMMAND}`; export r; \
10122 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10123 $(SET_LIB_PATH) \
10124 $(HOST_EXPORTS) \
10125 (cd gzip && $(MAKE) $(FLAGS_TO_PASS) check)
10127 @endif gzip
10129 .PHONY: install-gzip maybe-install-gzip
10130 maybe-install-gzip:
10131 @if gzip
10132 maybe-install-gzip: install-gzip
10134 install-gzip: installdirs
10135 @r=`${PWD_COMMAND}`; export r; \
10136 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10137 $(SET_LIB_PATH) \
10138 $(HOST_EXPORTS) \
10139 (cd gzip && $(MAKE) $(FLAGS_TO_PASS) install)
10141 @endif gzip
10143 # Other targets (info, dvi, etc.)
10145 .PHONY: maybe-info-gzip info-gzip
10146 maybe-info-gzip:
10147 @if gzip
10148 maybe-info-gzip: info-gzip
10150 info-gzip: \
10151 configure-gzip
10152 @[ -f ./gzip/Makefile ] || exit 0; \
10153 r=`${PWD_COMMAND}`; export r; \
10154 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10155 $(SET_LIB_PATH) \
10156 $(HOST_EXPORTS) \
10157 for flag in $(EXTRA_HOST_FLAGS) ; do \
10158 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10159 done; \
10160 echo "Doing info in gzip" ; \
10161 (cd gzip && \
10162 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10163 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10164 "RANLIB=$${RANLIB}" \
10165 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10166 info) \
10167 || exit 1
10169 @endif gzip
10171 .PHONY: maybe-dvi-gzip dvi-gzip
10172 maybe-dvi-gzip:
10173 @if gzip
10174 maybe-dvi-gzip: dvi-gzip
10176 dvi-gzip: \
10177 configure-gzip
10178 @[ -f ./gzip/Makefile ] || exit 0; \
10179 r=`${PWD_COMMAND}`; export r; \
10180 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10181 $(SET_LIB_PATH) \
10182 $(HOST_EXPORTS) \
10183 for flag in $(EXTRA_HOST_FLAGS) ; do \
10184 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10185 done; \
10186 echo "Doing dvi in gzip" ; \
10187 (cd gzip && \
10188 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10189 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10190 "RANLIB=$${RANLIB}" \
10191 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10192 dvi) \
10193 || exit 1
10195 @endif gzip
10197 .PHONY: maybe-TAGS-gzip TAGS-gzip
10198 maybe-TAGS-gzip:
10199 @if gzip
10200 maybe-TAGS-gzip: TAGS-gzip
10202 TAGS-gzip: \
10203 configure-gzip
10204 @[ -f ./gzip/Makefile ] || exit 0; \
10205 r=`${PWD_COMMAND}`; export r; \
10206 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10207 $(SET_LIB_PATH) \
10208 $(HOST_EXPORTS) \
10209 for flag in $(EXTRA_HOST_FLAGS) ; do \
10210 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10211 done; \
10212 echo "Doing TAGS in gzip" ; \
10213 (cd gzip && \
10214 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10215 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10216 "RANLIB=$${RANLIB}" \
10217 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10218 TAGS) \
10219 || exit 1
10221 @endif gzip
10223 .PHONY: maybe-install-info-gzip install-info-gzip
10224 maybe-install-info-gzip:
10225 @if gzip
10226 maybe-install-info-gzip: install-info-gzip
10228 install-info-gzip: \
10229 configure-gzip \
10230 info-gzip
10231 @[ -f ./gzip/Makefile ] || exit 0; \
10232 r=`${PWD_COMMAND}`; export r; \
10233 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10234 $(SET_LIB_PATH) \
10235 $(HOST_EXPORTS) \
10236 for flag in $(EXTRA_HOST_FLAGS) ; do \
10237 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10238 done; \
10239 echo "Doing install-info in gzip" ; \
10240 (cd gzip && \
10241 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10242 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10243 "RANLIB=$${RANLIB}" \
10244 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10245 install-info) \
10246 || exit 1
10248 @endif gzip
10250 .PHONY: maybe-installcheck-gzip installcheck-gzip
10251 maybe-installcheck-gzip:
10252 @if gzip
10253 maybe-installcheck-gzip: installcheck-gzip
10255 installcheck-gzip: \
10256 configure-gzip
10257 @[ -f ./gzip/Makefile ] || exit 0; \
10258 r=`${PWD_COMMAND}`; export r; \
10259 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10260 $(SET_LIB_PATH) \
10261 $(HOST_EXPORTS) \
10262 for flag in $(EXTRA_HOST_FLAGS) ; do \
10263 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10264 done; \
10265 echo "Doing installcheck in gzip" ; \
10266 (cd gzip && \
10267 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10268 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10269 "RANLIB=$${RANLIB}" \
10270 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10271 installcheck) \
10272 || exit 1
10274 @endif gzip
10276 .PHONY: maybe-mostlyclean-gzip mostlyclean-gzip
10277 maybe-mostlyclean-gzip:
10278 @if gzip
10279 maybe-mostlyclean-gzip: mostlyclean-gzip
10281 mostlyclean-gzip:
10282 @[ -f ./gzip/Makefile ] || exit 0; \
10283 r=`${PWD_COMMAND}`; export r; \
10284 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10285 $(SET_LIB_PATH) \
10286 $(HOST_EXPORTS) \
10287 for flag in $(EXTRA_HOST_FLAGS) ; do \
10288 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10289 done; \
10290 echo "Doing mostlyclean in gzip" ; \
10291 (cd gzip && \
10292 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10293 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10294 "RANLIB=$${RANLIB}" \
10295 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10296 mostlyclean) \
10297 || exit 1
10299 @endif gzip
10301 .PHONY: maybe-clean-gzip clean-gzip
10302 maybe-clean-gzip:
10303 @if gzip
10304 maybe-clean-gzip: clean-gzip
10306 clean-gzip:
10307 @[ -f ./gzip/Makefile ] || exit 0; \
10308 r=`${PWD_COMMAND}`; export r; \
10309 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10310 $(SET_LIB_PATH) \
10311 $(HOST_EXPORTS) \
10312 for flag in $(EXTRA_HOST_FLAGS) ; do \
10313 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10314 done; \
10315 echo "Doing clean in gzip" ; \
10316 (cd gzip && \
10317 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10318 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10319 "RANLIB=$${RANLIB}" \
10320 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10321 clean) \
10322 || exit 1
10324 @endif gzip
10326 .PHONY: maybe-distclean-gzip distclean-gzip
10327 maybe-distclean-gzip:
10328 @if gzip
10329 maybe-distclean-gzip: distclean-gzip
10331 distclean-gzip:
10332 @[ -f ./gzip/Makefile ] || exit 0; \
10333 r=`${PWD_COMMAND}`; export r; \
10334 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10335 $(SET_LIB_PATH) \
10336 $(HOST_EXPORTS) \
10337 for flag in $(EXTRA_HOST_FLAGS) ; do \
10338 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10339 done; \
10340 echo "Doing distclean in gzip" ; \
10341 (cd gzip && \
10342 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10343 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10344 "RANLIB=$${RANLIB}" \
10345 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10346 distclean) \
10347 || exit 1
10349 @endif gzip
10351 .PHONY: maybe-maintainer-clean-gzip maintainer-clean-gzip
10352 maybe-maintainer-clean-gzip:
10353 @if gzip
10354 maybe-maintainer-clean-gzip: maintainer-clean-gzip
10356 maintainer-clean-gzip:
10357 @[ -f ./gzip/Makefile ] || exit 0; \
10358 r=`${PWD_COMMAND}`; export r; \
10359 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10360 $(SET_LIB_PATH) \
10361 $(HOST_EXPORTS) \
10362 for flag in $(EXTRA_HOST_FLAGS) ; do \
10363 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10364 done; \
10365 echo "Doing maintainer-clean in gzip" ; \
10366 (cd gzip && \
10367 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10368 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10369 "RANLIB=$${RANLIB}" \
10370 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10371 maintainer-clean) \
10372 || exit 1
10374 @endif gzip
10377 .PHONY: configure-hello maybe-configure-hello
10378 maybe-configure-hello:
10379 @if hello
10380 maybe-configure-hello: configure-hello
10381 configure-hello:
10382 @test ! -f hello/Makefile || exit 0; \
10383 [ -d hello ] || mkdir hello; \
10384 r=`${PWD_COMMAND}`; export r; \
10385 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10386 $(HOST_EXPORTS) \
10387 echo Configuring in hello; \
10388 cd hello || exit 1; \
10389 case $(srcdir) in \
10390 \.) \
10391 srcdiroption="--srcdir=."; \
10392 libsrcdir=".";; \
10393 /* | [A-Za-z]:[\\/]*) \
10394 srcdiroption="--srcdir=$(srcdir)/hello"; \
10395 libsrcdir="$$s/hello";; \
10396 *) \
10397 srcdiroption="--srcdir=../$(srcdir)/hello"; \
10398 libsrcdir="$$s/hello";; \
10399 esac; \
10400 $(SHELL) $${libsrcdir}/configure \
10401 $(HOST_CONFIGARGS) $${srcdiroption} \
10402 || exit 1
10403 @endif hello
10405 .PHONY: all-hello maybe-all-hello
10406 maybe-all-hello:
10407 @if hello
10408 maybe-all-hello: all-hello
10409 all-hello: configure-hello
10410 @r=`${PWD_COMMAND}`; export r; \
10411 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10412 $(SET_LIB_PATH) \
10413 $(HOST_EXPORTS) \
10414 (cd hello && $(MAKE) $(FLAGS_TO_PASS) all)
10415 @endif hello
10417 .PHONY: check-hello maybe-check-hello
10418 maybe-check-hello:
10419 @if hello
10420 maybe-check-hello: check-hello
10422 check-hello:
10423 @r=`${PWD_COMMAND}`; export r; \
10424 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10425 $(SET_LIB_PATH) \
10426 $(HOST_EXPORTS) \
10427 (cd hello && $(MAKE) $(FLAGS_TO_PASS) check)
10429 @endif hello
10431 .PHONY: install-hello maybe-install-hello
10432 maybe-install-hello:
10433 @if hello
10434 maybe-install-hello: install-hello
10436 install-hello: installdirs
10437 @r=`${PWD_COMMAND}`; export r; \
10438 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10439 $(SET_LIB_PATH) \
10440 $(HOST_EXPORTS) \
10441 (cd hello && $(MAKE) $(FLAGS_TO_PASS) install)
10443 @endif hello
10445 # Other targets (info, dvi, etc.)
10447 .PHONY: maybe-info-hello info-hello
10448 maybe-info-hello:
10449 @if hello
10450 maybe-info-hello: info-hello
10452 info-hello: \
10453 configure-hello
10454 @[ -f ./hello/Makefile ] || exit 0; \
10455 r=`${PWD_COMMAND}`; export r; \
10456 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10457 $(SET_LIB_PATH) \
10458 $(HOST_EXPORTS) \
10459 for flag in $(EXTRA_HOST_FLAGS) ; do \
10460 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10461 done; \
10462 echo "Doing info in hello" ; \
10463 (cd hello && \
10464 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10465 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10466 "RANLIB=$${RANLIB}" \
10467 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10468 info) \
10469 || exit 1
10471 @endif hello
10473 .PHONY: maybe-dvi-hello dvi-hello
10474 maybe-dvi-hello:
10475 @if hello
10476 maybe-dvi-hello: dvi-hello
10478 dvi-hello: \
10479 configure-hello
10480 @[ -f ./hello/Makefile ] || exit 0; \
10481 r=`${PWD_COMMAND}`; export r; \
10482 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10483 $(SET_LIB_PATH) \
10484 $(HOST_EXPORTS) \
10485 for flag in $(EXTRA_HOST_FLAGS) ; do \
10486 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10487 done; \
10488 echo "Doing dvi in hello" ; \
10489 (cd hello && \
10490 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10491 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10492 "RANLIB=$${RANLIB}" \
10493 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10494 dvi) \
10495 || exit 1
10497 @endif hello
10499 .PHONY: maybe-TAGS-hello TAGS-hello
10500 maybe-TAGS-hello:
10501 @if hello
10502 maybe-TAGS-hello: TAGS-hello
10504 TAGS-hello: \
10505 configure-hello
10506 @[ -f ./hello/Makefile ] || exit 0; \
10507 r=`${PWD_COMMAND}`; export r; \
10508 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10509 $(SET_LIB_PATH) \
10510 $(HOST_EXPORTS) \
10511 for flag in $(EXTRA_HOST_FLAGS) ; do \
10512 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10513 done; \
10514 echo "Doing TAGS in hello" ; \
10515 (cd hello && \
10516 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10517 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10518 "RANLIB=$${RANLIB}" \
10519 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10520 TAGS) \
10521 || exit 1
10523 @endif hello
10525 .PHONY: maybe-install-info-hello install-info-hello
10526 maybe-install-info-hello:
10527 @if hello
10528 maybe-install-info-hello: install-info-hello
10530 install-info-hello: \
10531 configure-hello \
10532 info-hello
10533 @[ -f ./hello/Makefile ] || exit 0; \
10534 r=`${PWD_COMMAND}`; export r; \
10535 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10536 $(SET_LIB_PATH) \
10537 $(HOST_EXPORTS) \
10538 for flag in $(EXTRA_HOST_FLAGS) ; do \
10539 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10540 done; \
10541 echo "Doing install-info in hello" ; \
10542 (cd hello && \
10543 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10544 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10545 "RANLIB=$${RANLIB}" \
10546 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10547 install-info) \
10548 || exit 1
10550 @endif hello
10552 .PHONY: maybe-installcheck-hello installcheck-hello
10553 maybe-installcheck-hello:
10554 @if hello
10555 maybe-installcheck-hello: installcheck-hello
10557 installcheck-hello: \
10558 configure-hello
10559 @[ -f ./hello/Makefile ] || exit 0; \
10560 r=`${PWD_COMMAND}`; export r; \
10561 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10562 $(SET_LIB_PATH) \
10563 $(HOST_EXPORTS) \
10564 for flag in $(EXTRA_HOST_FLAGS) ; do \
10565 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10566 done; \
10567 echo "Doing installcheck in hello" ; \
10568 (cd hello && \
10569 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10570 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10571 "RANLIB=$${RANLIB}" \
10572 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10573 installcheck) \
10574 || exit 1
10576 @endif hello
10578 .PHONY: maybe-mostlyclean-hello mostlyclean-hello
10579 maybe-mostlyclean-hello:
10580 @if hello
10581 maybe-mostlyclean-hello: mostlyclean-hello
10583 mostlyclean-hello:
10584 @[ -f ./hello/Makefile ] || exit 0; \
10585 r=`${PWD_COMMAND}`; export r; \
10586 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10587 $(SET_LIB_PATH) \
10588 $(HOST_EXPORTS) \
10589 for flag in $(EXTRA_HOST_FLAGS) ; do \
10590 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10591 done; \
10592 echo "Doing mostlyclean in hello" ; \
10593 (cd hello && \
10594 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10595 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10596 "RANLIB=$${RANLIB}" \
10597 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10598 mostlyclean) \
10599 || exit 1
10601 @endif hello
10603 .PHONY: maybe-clean-hello clean-hello
10604 maybe-clean-hello:
10605 @if hello
10606 maybe-clean-hello: clean-hello
10608 clean-hello:
10609 @[ -f ./hello/Makefile ] || exit 0; \
10610 r=`${PWD_COMMAND}`; export r; \
10611 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10612 $(SET_LIB_PATH) \
10613 $(HOST_EXPORTS) \
10614 for flag in $(EXTRA_HOST_FLAGS) ; do \
10615 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10616 done; \
10617 echo "Doing clean in hello" ; \
10618 (cd hello && \
10619 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10620 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10621 "RANLIB=$${RANLIB}" \
10622 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10623 clean) \
10624 || exit 1
10626 @endif hello
10628 .PHONY: maybe-distclean-hello distclean-hello
10629 maybe-distclean-hello:
10630 @if hello
10631 maybe-distclean-hello: distclean-hello
10633 distclean-hello:
10634 @[ -f ./hello/Makefile ] || exit 0; \
10635 r=`${PWD_COMMAND}`; export r; \
10636 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10637 $(SET_LIB_PATH) \
10638 $(HOST_EXPORTS) \
10639 for flag in $(EXTRA_HOST_FLAGS) ; do \
10640 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10641 done; \
10642 echo "Doing distclean in hello" ; \
10643 (cd hello && \
10644 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10645 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10646 "RANLIB=$${RANLIB}" \
10647 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10648 distclean) \
10649 || exit 1
10651 @endif hello
10653 .PHONY: maybe-maintainer-clean-hello maintainer-clean-hello
10654 maybe-maintainer-clean-hello:
10655 @if hello
10656 maybe-maintainer-clean-hello: maintainer-clean-hello
10658 maintainer-clean-hello:
10659 @[ -f ./hello/Makefile ] || exit 0; \
10660 r=`${PWD_COMMAND}`; export r; \
10661 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10662 $(SET_LIB_PATH) \
10663 $(HOST_EXPORTS) \
10664 for flag in $(EXTRA_HOST_FLAGS) ; do \
10665 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10666 done; \
10667 echo "Doing maintainer-clean in hello" ; \
10668 (cd hello && \
10669 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10670 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10671 "RANLIB=$${RANLIB}" \
10672 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10673 maintainer-clean) \
10674 || exit 1
10676 @endif hello
10679 .PHONY: configure-indent maybe-configure-indent
10680 maybe-configure-indent:
10681 @if indent
10682 maybe-configure-indent: configure-indent
10683 configure-indent:
10684 @test ! -f indent/Makefile || exit 0; \
10685 [ -d indent ] || mkdir indent; \
10686 r=`${PWD_COMMAND}`; export r; \
10687 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10688 $(HOST_EXPORTS) \
10689 echo Configuring in indent; \
10690 cd indent || exit 1; \
10691 case $(srcdir) in \
10692 \.) \
10693 srcdiroption="--srcdir=."; \
10694 libsrcdir=".";; \
10695 /* | [A-Za-z]:[\\/]*) \
10696 srcdiroption="--srcdir=$(srcdir)/indent"; \
10697 libsrcdir="$$s/indent";; \
10698 *) \
10699 srcdiroption="--srcdir=../$(srcdir)/indent"; \
10700 libsrcdir="$$s/indent";; \
10701 esac; \
10702 $(SHELL) $${libsrcdir}/configure \
10703 $(HOST_CONFIGARGS) $${srcdiroption} \
10704 || exit 1
10705 @endif indent
10707 .PHONY: all-indent maybe-all-indent
10708 maybe-all-indent:
10709 @if indent
10710 maybe-all-indent: all-indent
10711 all-indent: configure-indent
10712 @r=`${PWD_COMMAND}`; export r; \
10713 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10714 $(SET_LIB_PATH) \
10715 $(HOST_EXPORTS) \
10716 (cd indent && $(MAKE) $(FLAGS_TO_PASS) all)
10717 @endif indent
10719 .PHONY: check-indent maybe-check-indent
10720 maybe-check-indent:
10721 @if indent
10722 maybe-check-indent: check-indent
10724 check-indent:
10725 @r=`${PWD_COMMAND}`; export r; \
10726 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10727 $(SET_LIB_PATH) \
10728 $(HOST_EXPORTS) \
10729 (cd indent && $(MAKE) $(FLAGS_TO_PASS) check)
10731 @endif indent
10733 .PHONY: install-indent maybe-install-indent
10734 maybe-install-indent:
10735 @if indent
10736 maybe-install-indent: install-indent
10738 install-indent: installdirs
10739 @r=`${PWD_COMMAND}`; export r; \
10740 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10741 $(SET_LIB_PATH) \
10742 $(HOST_EXPORTS) \
10743 (cd indent && $(MAKE) $(FLAGS_TO_PASS) install)
10745 @endif indent
10747 # Other targets (info, dvi, etc.)
10749 .PHONY: maybe-info-indent info-indent
10750 maybe-info-indent:
10751 @if indent
10752 maybe-info-indent: info-indent
10754 info-indent: \
10755 configure-indent
10756 @[ -f ./indent/Makefile ] || exit 0; \
10757 r=`${PWD_COMMAND}`; export r; \
10758 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10759 $(SET_LIB_PATH) \
10760 $(HOST_EXPORTS) \
10761 for flag in $(EXTRA_HOST_FLAGS) ; do \
10762 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10763 done; \
10764 echo "Doing info in indent" ; \
10765 (cd indent && \
10766 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10767 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10768 "RANLIB=$${RANLIB}" \
10769 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10770 info) \
10771 || exit 1
10773 @endif indent
10775 .PHONY: maybe-dvi-indent dvi-indent
10776 maybe-dvi-indent:
10777 @if indent
10778 maybe-dvi-indent: dvi-indent
10780 dvi-indent: \
10781 configure-indent
10782 @[ -f ./indent/Makefile ] || exit 0; \
10783 r=`${PWD_COMMAND}`; export r; \
10784 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10785 $(SET_LIB_PATH) \
10786 $(HOST_EXPORTS) \
10787 for flag in $(EXTRA_HOST_FLAGS) ; do \
10788 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10789 done; \
10790 echo "Doing dvi in indent" ; \
10791 (cd indent && \
10792 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10793 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10794 "RANLIB=$${RANLIB}" \
10795 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10796 dvi) \
10797 || exit 1
10799 @endif indent
10801 .PHONY: maybe-TAGS-indent TAGS-indent
10802 maybe-TAGS-indent:
10803 @if indent
10804 maybe-TAGS-indent: TAGS-indent
10806 TAGS-indent: \
10807 configure-indent
10808 @[ -f ./indent/Makefile ] || exit 0; \
10809 r=`${PWD_COMMAND}`; export r; \
10810 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10811 $(SET_LIB_PATH) \
10812 $(HOST_EXPORTS) \
10813 for flag in $(EXTRA_HOST_FLAGS) ; do \
10814 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10815 done; \
10816 echo "Doing TAGS in indent" ; \
10817 (cd indent && \
10818 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10819 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10820 "RANLIB=$${RANLIB}" \
10821 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10822 TAGS) \
10823 || exit 1
10825 @endif indent
10827 .PHONY: maybe-install-info-indent install-info-indent
10828 maybe-install-info-indent:
10829 @if indent
10830 maybe-install-info-indent: install-info-indent
10832 install-info-indent: \
10833 configure-indent \
10834 info-indent
10835 @[ -f ./indent/Makefile ] || exit 0; \
10836 r=`${PWD_COMMAND}`; export r; \
10837 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10838 $(SET_LIB_PATH) \
10839 $(HOST_EXPORTS) \
10840 for flag in $(EXTRA_HOST_FLAGS) ; do \
10841 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10842 done; \
10843 echo "Doing install-info in indent" ; \
10844 (cd indent && \
10845 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10846 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10847 "RANLIB=$${RANLIB}" \
10848 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10849 install-info) \
10850 || exit 1
10852 @endif indent
10854 .PHONY: maybe-installcheck-indent installcheck-indent
10855 maybe-installcheck-indent:
10856 @if indent
10857 maybe-installcheck-indent: installcheck-indent
10859 installcheck-indent: \
10860 configure-indent
10861 @[ -f ./indent/Makefile ] || exit 0; \
10862 r=`${PWD_COMMAND}`; export r; \
10863 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10864 $(SET_LIB_PATH) \
10865 $(HOST_EXPORTS) \
10866 for flag in $(EXTRA_HOST_FLAGS) ; do \
10867 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10868 done; \
10869 echo "Doing installcheck in indent" ; \
10870 (cd indent && \
10871 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10872 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10873 "RANLIB=$${RANLIB}" \
10874 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10875 installcheck) \
10876 || exit 1
10878 @endif indent
10880 .PHONY: maybe-mostlyclean-indent mostlyclean-indent
10881 maybe-mostlyclean-indent:
10882 @if indent
10883 maybe-mostlyclean-indent: mostlyclean-indent
10885 mostlyclean-indent:
10886 @[ -f ./indent/Makefile ] || exit 0; \
10887 r=`${PWD_COMMAND}`; export r; \
10888 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10889 $(SET_LIB_PATH) \
10890 $(HOST_EXPORTS) \
10891 for flag in $(EXTRA_HOST_FLAGS) ; do \
10892 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10893 done; \
10894 echo "Doing mostlyclean in indent" ; \
10895 (cd indent && \
10896 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10897 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10898 "RANLIB=$${RANLIB}" \
10899 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10900 mostlyclean) \
10901 || exit 1
10903 @endif indent
10905 .PHONY: maybe-clean-indent clean-indent
10906 maybe-clean-indent:
10907 @if indent
10908 maybe-clean-indent: clean-indent
10910 clean-indent:
10911 @[ -f ./indent/Makefile ] || exit 0; \
10912 r=`${PWD_COMMAND}`; export r; \
10913 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10914 $(SET_LIB_PATH) \
10915 $(HOST_EXPORTS) \
10916 for flag in $(EXTRA_HOST_FLAGS) ; do \
10917 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10918 done; \
10919 echo "Doing clean in indent" ; \
10920 (cd indent && \
10921 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10922 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10923 "RANLIB=$${RANLIB}" \
10924 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10925 clean) \
10926 || exit 1
10928 @endif indent
10930 .PHONY: maybe-distclean-indent distclean-indent
10931 maybe-distclean-indent:
10932 @if indent
10933 maybe-distclean-indent: distclean-indent
10935 distclean-indent:
10936 @[ -f ./indent/Makefile ] || exit 0; \
10937 r=`${PWD_COMMAND}`; export r; \
10938 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10939 $(SET_LIB_PATH) \
10940 $(HOST_EXPORTS) \
10941 for flag in $(EXTRA_HOST_FLAGS) ; do \
10942 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10943 done; \
10944 echo "Doing distclean in indent" ; \
10945 (cd indent && \
10946 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10947 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10948 "RANLIB=$${RANLIB}" \
10949 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10950 distclean) \
10951 || exit 1
10953 @endif indent
10955 .PHONY: maybe-maintainer-clean-indent maintainer-clean-indent
10956 maybe-maintainer-clean-indent:
10957 @if indent
10958 maybe-maintainer-clean-indent: maintainer-clean-indent
10960 maintainer-clean-indent:
10961 @[ -f ./indent/Makefile ] || exit 0; \
10962 r=`${PWD_COMMAND}`; export r; \
10963 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10964 $(SET_LIB_PATH) \
10965 $(HOST_EXPORTS) \
10966 for flag in $(EXTRA_HOST_FLAGS) ; do \
10967 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10968 done; \
10969 echo "Doing maintainer-clean in indent" ; \
10970 (cd indent && \
10971 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10972 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10973 "RANLIB=$${RANLIB}" \
10974 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10975 maintainer-clean) \
10976 || exit 1
10978 @endif indent
10981 .PHONY: configure-intl maybe-configure-intl
10982 maybe-configure-intl:
10983 @if intl
10984 maybe-configure-intl: configure-intl
10985 configure-intl:
10986 @test ! -f intl/Makefile || exit 0; \
10987 [ -d intl ] || mkdir intl; \
10988 r=`${PWD_COMMAND}`; export r; \
10989 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10990 $(HOST_EXPORTS) \
10991 echo Configuring in intl; \
10992 cd intl || exit 1; \
10993 case $(srcdir) in \
10994 \.) \
10995 srcdiroption="--srcdir=."; \
10996 libsrcdir=".";; \
10997 /* | [A-Za-z]:[\\/]*) \
10998 srcdiroption="--srcdir=$(srcdir)/intl"; \
10999 libsrcdir="$$s/intl";; \
11000 *) \
11001 srcdiroption="--srcdir=../$(srcdir)/intl"; \
11002 libsrcdir="$$s/intl";; \
11003 esac; \
11004 $(SHELL) $${libsrcdir}/configure \
11005 $(HOST_CONFIGARGS) $${srcdiroption} \
11006 || exit 1
11007 @endif intl
11009 .PHONY: all-intl maybe-all-intl
11010 maybe-all-intl:
11011 @if intl
11012 maybe-all-intl: all-intl
11013 all-intl: configure-intl
11014 @r=`${PWD_COMMAND}`; export r; \
11015 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11016 $(SET_LIB_PATH) \
11017 $(HOST_EXPORTS) \
11018 (cd intl && $(MAKE) $(FLAGS_TO_PASS) all)
11019 @endif intl
11021 .PHONY: check-intl maybe-check-intl
11022 maybe-check-intl:
11023 @if intl
11024 maybe-check-intl: check-intl
11026 check-intl:
11027 @r=`${PWD_COMMAND}`; export r; \
11028 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11029 $(SET_LIB_PATH) \
11030 $(HOST_EXPORTS) \
11031 (cd intl && $(MAKE) $(FLAGS_TO_PASS) check)
11033 @endif intl
11035 .PHONY: install-intl maybe-install-intl
11036 maybe-install-intl:
11037 @if intl
11038 maybe-install-intl: install-intl
11040 install-intl: installdirs
11041 @r=`${PWD_COMMAND}`; export r; \
11042 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11043 $(SET_LIB_PATH) \
11044 $(HOST_EXPORTS) \
11045 (cd intl && $(MAKE) $(FLAGS_TO_PASS) install)
11047 @endif intl
11049 # Other targets (info, dvi, etc.)
11051 .PHONY: maybe-info-intl info-intl
11052 maybe-info-intl:
11053 @if intl
11054 maybe-info-intl: info-intl
11056 info-intl: \
11057 configure-intl
11058 @[ -f ./intl/Makefile ] || exit 0; \
11059 r=`${PWD_COMMAND}`; export r; \
11060 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11061 $(SET_LIB_PATH) \
11062 $(HOST_EXPORTS) \
11063 for flag in $(EXTRA_HOST_FLAGS) ; do \
11064 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11065 done; \
11066 echo "Doing info in intl" ; \
11067 (cd intl && \
11068 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11069 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11070 "RANLIB=$${RANLIB}" \
11071 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11072 info) \
11073 || exit 1
11075 @endif intl
11077 .PHONY: maybe-dvi-intl dvi-intl
11078 maybe-dvi-intl:
11079 @if intl
11080 maybe-dvi-intl: dvi-intl
11082 dvi-intl: \
11083 configure-intl
11084 @[ -f ./intl/Makefile ] || exit 0; \
11085 r=`${PWD_COMMAND}`; export r; \
11086 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11087 $(SET_LIB_PATH) \
11088 $(HOST_EXPORTS) \
11089 for flag in $(EXTRA_HOST_FLAGS) ; do \
11090 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11091 done; \
11092 echo "Doing dvi in intl" ; \
11093 (cd intl && \
11094 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11095 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11096 "RANLIB=$${RANLIB}" \
11097 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11098 dvi) \
11099 || exit 1
11101 @endif intl
11103 .PHONY: maybe-TAGS-intl TAGS-intl
11104 maybe-TAGS-intl:
11105 @if intl
11106 maybe-TAGS-intl: TAGS-intl
11108 TAGS-intl: \
11109 configure-intl
11110 @[ -f ./intl/Makefile ] || exit 0; \
11111 r=`${PWD_COMMAND}`; export r; \
11112 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11113 $(SET_LIB_PATH) \
11114 $(HOST_EXPORTS) \
11115 for flag in $(EXTRA_HOST_FLAGS) ; do \
11116 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11117 done; \
11118 echo "Doing TAGS in intl" ; \
11119 (cd intl && \
11120 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11121 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11122 "RANLIB=$${RANLIB}" \
11123 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11124 TAGS) \
11125 || exit 1
11127 @endif intl
11129 .PHONY: maybe-install-info-intl install-info-intl
11130 maybe-install-info-intl:
11131 @if intl
11132 maybe-install-info-intl: install-info-intl
11134 install-info-intl: \
11135 configure-intl \
11136 info-intl
11137 @[ -f ./intl/Makefile ] || exit 0; \
11138 r=`${PWD_COMMAND}`; export r; \
11139 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11140 $(SET_LIB_PATH) \
11141 $(HOST_EXPORTS) \
11142 for flag in $(EXTRA_HOST_FLAGS) ; do \
11143 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11144 done; \
11145 echo "Doing install-info in intl" ; \
11146 (cd intl && \
11147 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11148 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11149 "RANLIB=$${RANLIB}" \
11150 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11151 install-info) \
11152 || exit 1
11154 @endif intl
11156 .PHONY: maybe-installcheck-intl installcheck-intl
11157 maybe-installcheck-intl:
11158 @if intl
11159 maybe-installcheck-intl: installcheck-intl
11161 installcheck-intl: \
11162 configure-intl
11163 @[ -f ./intl/Makefile ] || exit 0; \
11164 r=`${PWD_COMMAND}`; export r; \
11165 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11166 $(SET_LIB_PATH) \
11167 $(HOST_EXPORTS) \
11168 for flag in $(EXTRA_HOST_FLAGS) ; do \
11169 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11170 done; \
11171 echo "Doing installcheck in intl" ; \
11172 (cd intl && \
11173 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11174 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11175 "RANLIB=$${RANLIB}" \
11176 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11177 installcheck) \
11178 || exit 1
11180 @endif intl
11182 .PHONY: maybe-mostlyclean-intl mostlyclean-intl
11183 maybe-mostlyclean-intl:
11184 @if intl
11185 maybe-mostlyclean-intl: mostlyclean-intl
11187 mostlyclean-intl:
11188 @[ -f ./intl/Makefile ] || exit 0; \
11189 r=`${PWD_COMMAND}`; export r; \
11190 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11191 $(SET_LIB_PATH) \
11192 $(HOST_EXPORTS) \
11193 for flag in $(EXTRA_HOST_FLAGS) ; do \
11194 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11195 done; \
11196 echo "Doing mostlyclean in intl" ; \
11197 (cd intl && \
11198 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11199 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11200 "RANLIB=$${RANLIB}" \
11201 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11202 mostlyclean) \
11203 || exit 1
11205 @endif intl
11207 .PHONY: maybe-clean-intl clean-intl
11208 maybe-clean-intl:
11209 @if intl
11210 maybe-clean-intl: clean-intl
11212 clean-intl:
11213 @[ -f ./intl/Makefile ] || exit 0; \
11214 r=`${PWD_COMMAND}`; export r; \
11215 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11216 $(SET_LIB_PATH) \
11217 $(HOST_EXPORTS) \
11218 for flag in $(EXTRA_HOST_FLAGS) ; do \
11219 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11220 done; \
11221 echo "Doing clean in intl" ; \
11222 (cd intl && \
11223 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11224 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11225 "RANLIB=$${RANLIB}" \
11226 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11227 clean) \
11228 || exit 1
11230 @endif intl
11232 .PHONY: maybe-distclean-intl distclean-intl
11233 maybe-distclean-intl:
11234 @if intl
11235 maybe-distclean-intl: distclean-intl
11237 distclean-intl:
11238 @[ -f ./intl/Makefile ] || exit 0; \
11239 r=`${PWD_COMMAND}`; export r; \
11240 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11241 $(SET_LIB_PATH) \
11242 $(HOST_EXPORTS) \
11243 for flag in $(EXTRA_HOST_FLAGS) ; do \
11244 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11245 done; \
11246 echo "Doing distclean in intl" ; \
11247 (cd intl && \
11248 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11249 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11250 "RANLIB=$${RANLIB}" \
11251 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11252 distclean) \
11253 || exit 1
11255 @endif intl
11257 .PHONY: maybe-maintainer-clean-intl maintainer-clean-intl
11258 maybe-maintainer-clean-intl:
11259 @if intl
11260 maybe-maintainer-clean-intl: maintainer-clean-intl
11262 maintainer-clean-intl:
11263 @[ -f ./intl/Makefile ] || exit 0; \
11264 r=`${PWD_COMMAND}`; export r; \
11265 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11266 $(SET_LIB_PATH) \
11267 $(HOST_EXPORTS) \
11268 for flag in $(EXTRA_HOST_FLAGS) ; do \
11269 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11270 done; \
11271 echo "Doing maintainer-clean in intl" ; \
11272 (cd intl && \
11273 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11274 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11275 "RANLIB=$${RANLIB}" \
11276 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11277 maintainer-clean) \
11278 || exit 1
11280 @endif intl
11283 .PHONY: configure-tcl maybe-configure-tcl
11284 maybe-configure-tcl:
11285 @if tcl
11286 maybe-configure-tcl: configure-tcl
11287 configure-tcl:
11288 @test ! -f tcl/Makefile || exit 0; \
11289 [ -d tcl ] || mkdir tcl; \
11290 r=`${PWD_COMMAND}`; export r; \
11291 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11292 $(HOST_EXPORTS) \
11293 echo Configuring in tcl; \
11294 cd tcl || exit 1; \
11295 case $(srcdir) in \
11296 \.) \
11297 srcdiroption="--srcdir=."; \
11298 libsrcdir=".";; \
11299 /* | [A-Za-z]:[\\/]*) \
11300 srcdiroption="--srcdir=$(srcdir)/tcl"; \
11301 libsrcdir="$$s/tcl";; \
11302 *) \
11303 srcdiroption="--srcdir=../$(srcdir)/tcl"; \
11304 libsrcdir="$$s/tcl";; \
11305 esac; \
11306 $(SHELL) $${libsrcdir}/configure \
11307 $(HOST_CONFIGARGS) $${srcdiroption} \
11308 || exit 1
11309 @endif tcl
11311 .PHONY: all-tcl maybe-all-tcl
11312 maybe-all-tcl:
11313 @if tcl
11314 maybe-all-tcl: all-tcl
11315 all-tcl: configure-tcl
11316 @r=`${PWD_COMMAND}`; export r; \
11317 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11318 $(SET_LIB_PATH) \
11319 $(HOST_EXPORTS) \
11320 (cd tcl && $(MAKE) $(FLAGS_TO_PASS) all)
11321 @endif tcl
11323 .PHONY: check-tcl maybe-check-tcl
11324 maybe-check-tcl:
11325 @if tcl
11326 maybe-check-tcl: check-tcl
11328 check-tcl:
11329 @r=`${PWD_COMMAND}`; export r; \
11330 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11331 $(SET_LIB_PATH) \
11332 $(HOST_EXPORTS) \
11333 (cd tcl && $(MAKE) $(FLAGS_TO_PASS) check)
11335 @endif tcl
11337 .PHONY: install-tcl maybe-install-tcl
11338 maybe-install-tcl:
11339 @if tcl
11340 maybe-install-tcl: install-tcl
11342 install-tcl: installdirs
11343 @r=`${PWD_COMMAND}`; export r; \
11344 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11345 $(SET_LIB_PATH) \
11346 $(HOST_EXPORTS) \
11347 (cd tcl && $(MAKE) $(FLAGS_TO_PASS) install)
11349 @endif tcl
11351 # Other targets (info, dvi, etc.)
11353 .PHONY: maybe-info-tcl info-tcl
11354 maybe-info-tcl:
11355 @if tcl
11356 maybe-info-tcl: info-tcl
11358 info-tcl: \
11359 configure-tcl
11360 @[ -f ./tcl/Makefile ] || exit 0; \
11361 r=`${PWD_COMMAND}`; export r; \
11362 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11363 $(SET_LIB_PATH) \
11364 $(HOST_EXPORTS) \
11365 for flag in $(EXTRA_HOST_FLAGS) ; do \
11366 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11367 done; \
11368 echo "Doing info in tcl" ; \
11369 (cd tcl && \
11370 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11371 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11372 "RANLIB=$${RANLIB}" \
11373 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11374 info) \
11375 || exit 1
11377 @endif tcl
11379 .PHONY: maybe-dvi-tcl dvi-tcl
11380 maybe-dvi-tcl:
11381 @if tcl
11382 maybe-dvi-tcl: dvi-tcl
11384 dvi-tcl: \
11385 configure-tcl
11386 @[ -f ./tcl/Makefile ] || exit 0; \
11387 r=`${PWD_COMMAND}`; export r; \
11388 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11389 $(SET_LIB_PATH) \
11390 $(HOST_EXPORTS) \
11391 for flag in $(EXTRA_HOST_FLAGS) ; do \
11392 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11393 done; \
11394 echo "Doing dvi in tcl" ; \
11395 (cd tcl && \
11396 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11397 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11398 "RANLIB=$${RANLIB}" \
11399 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11400 dvi) \
11401 || exit 1
11403 @endif tcl
11405 .PHONY: maybe-TAGS-tcl TAGS-tcl
11406 maybe-TAGS-tcl:
11407 @if tcl
11408 maybe-TAGS-tcl: TAGS-tcl
11410 TAGS-tcl: \
11411 configure-tcl
11412 @[ -f ./tcl/Makefile ] || exit 0; \
11413 r=`${PWD_COMMAND}`; export r; \
11414 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11415 $(SET_LIB_PATH) \
11416 $(HOST_EXPORTS) \
11417 for flag in $(EXTRA_HOST_FLAGS) ; do \
11418 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11419 done; \
11420 echo "Doing TAGS in tcl" ; \
11421 (cd tcl && \
11422 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11423 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11424 "RANLIB=$${RANLIB}" \
11425 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11426 TAGS) \
11427 || exit 1
11429 @endif tcl
11431 .PHONY: maybe-install-info-tcl install-info-tcl
11432 maybe-install-info-tcl:
11433 @if tcl
11434 maybe-install-info-tcl: install-info-tcl
11436 install-info-tcl: \
11437 configure-tcl \
11438 info-tcl
11439 @[ -f ./tcl/Makefile ] || exit 0; \
11440 r=`${PWD_COMMAND}`; export r; \
11441 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11442 $(SET_LIB_PATH) \
11443 $(HOST_EXPORTS) \
11444 for flag in $(EXTRA_HOST_FLAGS) ; do \
11445 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11446 done; \
11447 echo "Doing install-info in tcl" ; \
11448 (cd tcl && \
11449 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11450 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11451 "RANLIB=$${RANLIB}" \
11452 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11453 install-info) \
11454 || exit 1
11456 @endif tcl
11458 .PHONY: maybe-installcheck-tcl installcheck-tcl
11459 maybe-installcheck-tcl:
11460 @if tcl
11461 maybe-installcheck-tcl: installcheck-tcl
11463 installcheck-tcl: \
11464 configure-tcl
11465 @[ -f ./tcl/Makefile ] || exit 0; \
11466 r=`${PWD_COMMAND}`; export r; \
11467 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11468 $(SET_LIB_PATH) \
11469 $(HOST_EXPORTS) \
11470 for flag in $(EXTRA_HOST_FLAGS) ; do \
11471 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11472 done; \
11473 echo "Doing installcheck in tcl" ; \
11474 (cd tcl && \
11475 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11476 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11477 "RANLIB=$${RANLIB}" \
11478 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11479 installcheck) \
11480 || exit 1
11482 @endif tcl
11484 .PHONY: maybe-mostlyclean-tcl mostlyclean-tcl
11485 maybe-mostlyclean-tcl:
11486 @if tcl
11487 maybe-mostlyclean-tcl: mostlyclean-tcl
11489 # tcl doesn't support mostlyclean.
11490 mostlyclean-tcl:
11492 @endif tcl
11494 .PHONY: maybe-clean-tcl clean-tcl
11495 maybe-clean-tcl:
11496 @if tcl
11497 maybe-clean-tcl: clean-tcl
11499 clean-tcl:
11500 @[ -f ./tcl/Makefile ] || exit 0; \
11501 r=`${PWD_COMMAND}`; export r; \
11502 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11503 $(SET_LIB_PATH) \
11504 $(HOST_EXPORTS) \
11505 for flag in $(EXTRA_HOST_FLAGS) ; do \
11506 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11507 done; \
11508 echo "Doing clean in tcl" ; \
11509 (cd tcl && \
11510 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11511 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11512 "RANLIB=$${RANLIB}" \
11513 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11514 clean) \
11515 || exit 1
11517 @endif tcl
11519 .PHONY: maybe-distclean-tcl distclean-tcl
11520 maybe-distclean-tcl:
11521 @if tcl
11522 maybe-distclean-tcl: distclean-tcl
11524 distclean-tcl:
11525 @[ -f ./tcl/Makefile ] || exit 0; \
11526 r=`${PWD_COMMAND}`; export r; \
11527 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11528 $(SET_LIB_PATH) \
11529 $(HOST_EXPORTS) \
11530 for flag in $(EXTRA_HOST_FLAGS) ; do \
11531 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11532 done; \
11533 echo "Doing distclean in tcl" ; \
11534 (cd tcl && \
11535 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11536 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11537 "RANLIB=$${RANLIB}" \
11538 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11539 distclean) \
11540 || exit 1
11542 @endif tcl
11544 .PHONY: maybe-maintainer-clean-tcl maintainer-clean-tcl
11545 maybe-maintainer-clean-tcl:
11546 @if tcl
11547 maybe-maintainer-clean-tcl: maintainer-clean-tcl
11549 maintainer-clean-tcl:
11550 @[ -f ./tcl/Makefile ] || exit 0; \
11551 r=`${PWD_COMMAND}`; export r; \
11552 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11553 $(SET_LIB_PATH) \
11554 $(HOST_EXPORTS) \
11555 for flag in $(EXTRA_HOST_FLAGS) ; do \
11556 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11557 done; \
11558 echo "Doing maintainer-clean in tcl" ; \
11559 (cd tcl && \
11560 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11561 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11562 "RANLIB=$${RANLIB}" \
11563 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11564 maintainer-clean) \
11565 || exit 1
11567 @endif tcl
11570 .PHONY: configure-itcl maybe-configure-itcl
11571 maybe-configure-itcl:
11572 @if itcl
11573 maybe-configure-itcl: configure-itcl
11574 configure-itcl:
11575 @test ! -f itcl/Makefile || exit 0; \
11576 [ -d itcl ] || mkdir itcl; \
11577 r=`${PWD_COMMAND}`; export r; \
11578 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11579 $(HOST_EXPORTS) \
11580 echo Configuring in itcl; \
11581 cd itcl || exit 1; \
11582 case $(srcdir) in \
11583 \.) \
11584 srcdiroption="--srcdir=."; \
11585 libsrcdir=".";; \
11586 /* | [A-Za-z]:[\\/]*) \
11587 srcdiroption="--srcdir=$(srcdir)/itcl"; \
11588 libsrcdir="$$s/itcl";; \
11589 *) \
11590 srcdiroption="--srcdir=../$(srcdir)/itcl"; \
11591 libsrcdir="$$s/itcl";; \
11592 esac; \
11593 $(SHELL) $${libsrcdir}/configure \
11594 $(HOST_CONFIGARGS) $${srcdiroption} \
11595 || exit 1
11596 @endif itcl
11598 .PHONY: all-itcl maybe-all-itcl
11599 maybe-all-itcl:
11600 @if itcl
11601 maybe-all-itcl: all-itcl
11602 all-itcl: configure-itcl
11603 @r=`${PWD_COMMAND}`; export r; \
11604 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11605 $(SET_LIB_PATH) \
11606 $(HOST_EXPORTS) \
11607 (cd itcl && $(MAKE) $(FLAGS_TO_PASS) all)
11608 @endif itcl
11610 .PHONY: check-itcl maybe-check-itcl
11611 maybe-check-itcl:
11612 @if itcl
11613 maybe-check-itcl: check-itcl
11615 check-itcl:
11616 @r=`${PWD_COMMAND}`; export r; \
11617 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11618 $(SET_LIB_PATH) \
11619 $(HOST_EXPORTS) \
11620 (cd itcl && $(MAKE) $(FLAGS_TO_PASS) check)
11622 @endif itcl
11624 .PHONY: install-itcl maybe-install-itcl
11625 maybe-install-itcl:
11626 @if itcl
11627 maybe-install-itcl: install-itcl
11629 install-itcl: installdirs
11630 @r=`${PWD_COMMAND}`; export r; \
11631 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11632 $(SET_LIB_PATH) \
11633 $(HOST_EXPORTS) \
11634 (cd itcl && $(MAKE) $(FLAGS_TO_PASS) install)
11636 @endif itcl
11638 # Other targets (info, dvi, etc.)
11640 .PHONY: maybe-info-itcl info-itcl
11641 maybe-info-itcl:
11642 @if itcl
11643 maybe-info-itcl: info-itcl
11645 info-itcl: \
11646 configure-itcl
11647 @[ -f ./itcl/Makefile ] || exit 0; \
11648 r=`${PWD_COMMAND}`; export r; \
11649 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11650 $(SET_LIB_PATH) \
11651 $(HOST_EXPORTS) \
11652 for flag in $(EXTRA_HOST_FLAGS) ; do \
11653 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11654 done; \
11655 echo "Doing info in itcl" ; \
11656 (cd itcl && \
11657 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11658 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11659 "RANLIB=$${RANLIB}" \
11660 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11661 info) \
11662 || exit 1
11664 @endif itcl
11666 .PHONY: maybe-dvi-itcl dvi-itcl
11667 maybe-dvi-itcl:
11668 @if itcl
11669 maybe-dvi-itcl: dvi-itcl
11671 dvi-itcl: \
11672 configure-itcl
11673 @[ -f ./itcl/Makefile ] || exit 0; \
11674 r=`${PWD_COMMAND}`; export r; \
11675 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11676 $(SET_LIB_PATH) \
11677 $(HOST_EXPORTS) \
11678 for flag in $(EXTRA_HOST_FLAGS) ; do \
11679 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11680 done; \
11681 echo "Doing dvi in itcl" ; \
11682 (cd itcl && \
11683 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11684 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11685 "RANLIB=$${RANLIB}" \
11686 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11687 dvi) \
11688 || exit 1
11690 @endif itcl
11692 .PHONY: maybe-TAGS-itcl TAGS-itcl
11693 maybe-TAGS-itcl:
11694 @if itcl
11695 maybe-TAGS-itcl: TAGS-itcl
11697 TAGS-itcl: \
11698 configure-itcl
11699 @[ -f ./itcl/Makefile ] || exit 0; \
11700 r=`${PWD_COMMAND}`; export r; \
11701 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11702 $(SET_LIB_PATH) \
11703 $(HOST_EXPORTS) \
11704 for flag in $(EXTRA_HOST_FLAGS) ; do \
11705 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11706 done; \
11707 echo "Doing TAGS in itcl" ; \
11708 (cd itcl && \
11709 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11710 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11711 "RANLIB=$${RANLIB}" \
11712 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11713 TAGS) \
11714 || exit 1
11716 @endif itcl
11718 .PHONY: maybe-install-info-itcl install-info-itcl
11719 maybe-install-info-itcl:
11720 @if itcl
11721 maybe-install-info-itcl: install-info-itcl
11723 install-info-itcl: \
11724 configure-itcl \
11725 info-itcl
11726 @[ -f ./itcl/Makefile ] || exit 0; \
11727 r=`${PWD_COMMAND}`; export r; \
11728 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11729 $(SET_LIB_PATH) \
11730 $(HOST_EXPORTS) \
11731 for flag in $(EXTRA_HOST_FLAGS) ; do \
11732 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11733 done; \
11734 echo "Doing install-info in itcl" ; \
11735 (cd itcl && \
11736 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11737 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11738 "RANLIB=$${RANLIB}" \
11739 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11740 install-info) \
11741 || exit 1
11743 @endif itcl
11745 .PHONY: maybe-installcheck-itcl installcheck-itcl
11746 maybe-installcheck-itcl:
11747 @if itcl
11748 maybe-installcheck-itcl: installcheck-itcl
11750 installcheck-itcl: \
11751 configure-itcl
11752 @[ -f ./itcl/Makefile ] || exit 0; \
11753 r=`${PWD_COMMAND}`; export r; \
11754 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11755 $(SET_LIB_PATH) \
11756 $(HOST_EXPORTS) \
11757 for flag in $(EXTRA_HOST_FLAGS) ; do \
11758 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11759 done; \
11760 echo "Doing installcheck in itcl" ; \
11761 (cd itcl && \
11762 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11763 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11764 "RANLIB=$${RANLIB}" \
11765 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11766 installcheck) \
11767 || exit 1
11769 @endif itcl
11771 .PHONY: maybe-mostlyclean-itcl mostlyclean-itcl
11772 maybe-mostlyclean-itcl:
11773 @if itcl
11774 maybe-mostlyclean-itcl: mostlyclean-itcl
11776 mostlyclean-itcl:
11777 @[ -f ./itcl/Makefile ] || exit 0; \
11778 r=`${PWD_COMMAND}`; export r; \
11779 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11780 $(SET_LIB_PATH) \
11781 $(HOST_EXPORTS) \
11782 for flag in $(EXTRA_HOST_FLAGS) ; do \
11783 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11784 done; \
11785 echo "Doing mostlyclean in itcl" ; \
11786 (cd itcl && \
11787 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11788 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11789 "RANLIB=$${RANLIB}" \
11790 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11791 mostlyclean) \
11792 || exit 1
11794 @endif itcl
11796 .PHONY: maybe-clean-itcl clean-itcl
11797 maybe-clean-itcl:
11798 @if itcl
11799 maybe-clean-itcl: clean-itcl
11801 clean-itcl:
11802 @[ -f ./itcl/Makefile ] || exit 0; \
11803 r=`${PWD_COMMAND}`; export r; \
11804 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11805 $(SET_LIB_PATH) \
11806 $(HOST_EXPORTS) \
11807 for flag in $(EXTRA_HOST_FLAGS) ; do \
11808 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11809 done; \
11810 echo "Doing clean in itcl" ; \
11811 (cd itcl && \
11812 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11813 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11814 "RANLIB=$${RANLIB}" \
11815 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11816 clean) \
11817 || exit 1
11819 @endif itcl
11821 .PHONY: maybe-distclean-itcl distclean-itcl
11822 maybe-distclean-itcl:
11823 @if itcl
11824 maybe-distclean-itcl: distclean-itcl
11826 distclean-itcl:
11827 @[ -f ./itcl/Makefile ] || exit 0; \
11828 r=`${PWD_COMMAND}`; export r; \
11829 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11830 $(SET_LIB_PATH) \
11831 $(HOST_EXPORTS) \
11832 for flag in $(EXTRA_HOST_FLAGS) ; do \
11833 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11834 done; \
11835 echo "Doing distclean in itcl" ; \
11836 (cd itcl && \
11837 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11838 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11839 "RANLIB=$${RANLIB}" \
11840 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11841 distclean) \
11842 || exit 1
11844 @endif itcl
11846 .PHONY: maybe-maintainer-clean-itcl maintainer-clean-itcl
11847 maybe-maintainer-clean-itcl:
11848 @if itcl
11849 maybe-maintainer-clean-itcl: maintainer-clean-itcl
11851 maintainer-clean-itcl:
11852 @[ -f ./itcl/Makefile ] || exit 0; \
11853 r=`${PWD_COMMAND}`; export r; \
11854 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11855 $(SET_LIB_PATH) \
11856 $(HOST_EXPORTS) \
11857 for flag in $(EXTRA_HOST_FLAGS) ; do \
11858 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11859 done; \
11860 echo "Doing maintainer-clean in itcl" ; \
11861 (cd itcl && \
11862 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11863 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11864 "RANLIB=$${RANLIB}" \
11865 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11866 maintainer-clean) \
11867 || exit 1
11869 @endif itcl
11872 .PHONY: configure-ld maybe-configure-ld
11873 maybe-configure-ld:
11874 @if ld
11875 maybe-configure-ld: configure-ld
11876 configure-ld:
11877 @test ! -f ld/Makefile || exit 0; \
11878 [ -d ld ] || mkdir ld; \
11879 r=`${PWD_COMMAND}`; export r; \
11880 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11881 $(HOST_EXPORTS) \
11882 echo Configuring in ld; \
11883 cd ld || exit 1; \
11884 case $(srcdir) in \
11885 \.) \
11886 srcdiroption="--srcdir=."; \
11887 libsrcdir=".";; \
11888 /* | [A-Za-z]:[\\/]*) \
11889 srcdiroption="--srcdir=$(srcdir)/ld"; \
11890 libsrcdir="$$s/ld";; \
11891 *) \
11892 srcdiroption="--srcdir=../$(srcdir)/ld"; \
11893 libsrcdir="$$s/ld";; \
11894 esac; \
11895 $(SHELL) $${libsrcdir}/configure \
11896 $(HOST_CONFIGARGS) $${srcdiroption} \
11897 || exit 1
11898 @endif ld
11900 .PHONY: all-ld maybe-all-ld
11901 maybe-all-ld:
11902 @if ld
11903 maybe-all-ld: all-ld
11904 all-ld: configure-ld
11905 @r=`${PWD_COMMAND}`; export r; \
11906 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11907 $(SET_LIB_PATH) \
11908 $(HOST_EXPORTS) \
11909 (cd ld && $(MAKE) $(FLAGS_TO_PASS) all)
11910 @endif ld
11912 .PHONY: check-ld maybe-check-ld
11913 maybe-check-ld:
11914 @if ld
11915 maybe-check-ld: check-ld
11917 check-ld:
11918 @r=`${PWD_COMMAND}`; export r; \
11919 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11920 $(SET_LIB_PATH) \
11921 $(HOST_EXPORTS) \
11922 (cd ld && $(MAKE) $(FLAGS_TO_PASS) check)
11924 @endif ld
11926 .PHONY: install-ld maybe-install-ld
11927 maybe-install-ld:
11928 @if ld
11929 maybe-install-ld: install-ld
11931 install-ld: installdirs
11932 @r=`${PWD_COMMAND}`; export r; \
11933 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11934 $(SET_LIB_PATH) \
11935 $(HOST_EXPORTS) \
11936 (cd ld && $(MAKE) $(FLAGS_TO_PASS) install)
11938 @endif ld
11940 # Other targets (info, dvi, etc.)
11942 .PHONY: maybe-info-ld info-ld
11943 maybe-info-ld:
11944 @if ld
11945 maybe-info-ld: info-ld
11947 info-ld: \
11948 configure-ld
11949 @[ -f ./ld/Makefile ] || exit 0; \
11950 r=`${PWD_COMMAND}`; export r; \
11951 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11952 $(SET_LIB_PATH) \
11953 $(HOST_EXPORTS) \
11954 for flag in $(EXTRA_HOST_FLAGS) ; do \
11955 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11956 done; \
11957 echo "Doing info in ld" ; \
11958 (cd ld && \
11959 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11960 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11961 "RANLIB=$${RANLIB}" \
11962 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11963 info) \
11964 || exit 1
11966 @endif ld
11968 .PHONY: maybe-dvi-ld dvi-ld
11969 maybe-dvi-ld:
11970 @if ld
11971 maybe-dvi-ld: dvi-ld
11973 dvi-ld: \
11974 configure-ld
11975 @[ -f ./ld/Makefile ] || exit 0; \
11976 r=`${PWD_COMMAND}`; export r; \
11977 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11978 $(SET_LIB_PATH) \
11979 $(HOST_EXPORTS) \
11980 for flag in $(EXTRA_HOST_FLAGS) ; do \
11981 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11982 done; \
11983 echo "Doing dvi in ld" ; \
11984 (cd ld && \
11985 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11986 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11987 "RANLIB=$${RANLIB}" \
11988 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11989 dvi) \
11990 || exit 1
11992 @endif ld
11994 .PHONY: maybe-TAGS-ld TAGS-ld
11995 maybe-TAGS-ld:
11996 @if ld
11997 maybe-TAGS-ld: TAGS-ld
11999 TAGS-ld: \
12000 configure-ld
12001 @[ -f ./ld/Makefile ] || exit 0; \
12002 r=`${PWD_COMMAND}`; export r; \
12003 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12004 $(SET_LIB_PATH) \
12005 $(HOST_EXPORTS) \
12006 for flag in $(EXTRA_HOST_FLAGS) ; do \
12007 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12008 done; \
12009 echo "Doing TAGS in ld" ; \
12010 (cd ld && \
12011 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12012 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12013 "RANLIB=$${RANLIB}" \
12014 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12015 TAGS) \
12016 || exit 1
12018 @endif ld
12020 .PHONY: maybe-install-info-ld install-info-ld
12021 maybe-install-info-ld:
12022 @if ld
12023 maybe-install-info-ld: install-info-ld
12025 install-info-ld: \
12026 configure-ld \
12027 info-ld
12028 @[ -f ./ld/Makefile ] || exit 0; \
12029 r=`${PWD_COMMAND}`; export r; \
12030 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12031 $(SET_LIB_PATH) \
12032 $(HOST_EXPORTS) \
12033 for flag in $(EXTRA_HOST_FLAGS) ; do \
12034 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12035 done; \
12036 echo "Doing install-info in ld" ; \
12037 (cd ld && \
12038 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12039 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12040 "RANLIB=$${RANLIB}" \
12041 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12042 install-info) \
12043 || exit 1
12045 @endif ld
12047 .PHONY: maybe-installcheck-ld installcheck-ld
12048 maybe-installcheck-ld:
12049 @if ld
12050 maybe-installcheck-ld: installcheck-ld
12052 installcheck-ld: \
12053 configure-ld
12054 @[ -f ./ld/Makefile ] || exit 0; \
12055 r=`${PWD_COMMAND}`; export r; \
12056 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12057 $(SET_LIB_PATH) \
12058 $(HOST_EXPORTS) \
12059 for flag in $(EXTRA_HOST_FLAGS) ; do \
12060 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12061 done; \
12062 echo "Doing installcheck in ld" ; \
12063 (cd ld && \
12064 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12065 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12066 "RANLIB=$${RANLIB}" \
12067 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12068 installcheck) \
12069 || exit 1
12071 @endif ld
12073 .PHONY: maybe-mostlyclean-ld mostlyclean-ld
12074 maybe-mostlyclean-ld:
12075 @if ld
12076 maybe-mostlyclean-ld: mostlyclean-ld
12078 mostlyclean-ld:
12079 @[ -f ./ld/Makefile ] || exit 0; \
12080 r=`${PWD_COMMAND}`; export r; \
12081 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12082 $(SET_LIB_PATH) \
12083 $(HOST_EXPORTS) \
12084 for flag in $(EXTRA_HOST_FLAGS) ; do \
12085 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12086 done; \
12087 echo "Doing mostlyclean in ld" ; \
12088 (cd ld && \
12089 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12090 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12091 "RANLIB=$${RANLIB}" \
12092 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12093 mostlyclean) \
12094 || exit 1
12096 @endif ld
12098 .PHONY: maybe-clean-ld clean-ld
12099 maybe-clean-ld:
12100 @if ld
12101 maybe-clean-ld: clean-ld
12103 clean-ld:
12104 @[ -f ./ld/Makefile ] || exit 0; \
12105 r=`${PWD_COMMAND}`; export r; \
12106 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12107 $(SET_LIB_PATH) \
12108 $(HOST_EXPORTS) \
12109 for flag in $(EXTRA_HOST_FLAGS) ; do \
12110 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12111 done; \
12112 echo "Doing clean in ld" ; \
12113 (cd ld && \
12114 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12115 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12116 "RANLIB=$${RANLIB}" \
12117 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12118 clean) \
12119 || exit 1
12121 @endif ld
12123 .PHONY: maybe-distclean-ld distclean-ld
12124 maybe-distclean-ld:
12125 @if ld
12126 maybe-distclean-ld: distclean-ld
12128 distclean-ld:
12129 @[ -f ./ld/Makefile ] || exit 0; \
12130 r=`${PWD_COMMAND}`; export r; \
12131 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12132 $(SET_LIB_PATH) \
12133 $(HOST_EXPORTS) \
12134 for flag in $(EXTRA_HOST_FLAGS) ; do \
12135 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12136 done; \
12137 echo "Doing distclean in ld" ; \
12138 (cd ld && \
12139 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12140 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12141 "RANLIB=$${RANLIB}" \
12142 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12143 distclean) \
12144 || exit 1
12146 @endif ld
12148 .PHONY: maybe-maintainer-clean-ld maintainer-clean-ld
12149 maybe-maintainer-clean-ld:
12150 @if ld
12151 maybe-maintainer-clean-ld: maintainer-clean-ld
12153 maintainer-clean-ld:
12154 @[ -f ./ld/Makefile ] || exit 0; \
12155 r=`${PWD_COMMAND}`; export r; \
12156 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12157 $(SET_LIB_PATH) \
12158 $(HOST_EXPORTS) \
12159 for flag in $(EXTRA_HOST_FLAGS) ; do \
12160 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12161 done; \
12162 echo "Doing maintainer-clean in ld" ; \
12163 (cd ld && \
12164 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12165 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12166 "RANLIB=$${RANLIB}" \
12167 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12168 maintainer-clean) \
12169 || exit 1
12171 @endif ld
12174 .PHONY: configure-libcpp maybe-configure-libcpp
12175 maybe-configure-libcpp:
12176 @if libcpp
12177 maybe-configure-libcpp: configure-libcpp
12178 configure-libcpp:
12179 @test ! -f libcpp/Makefile || exit 0; \
12180 [ -d libcpp ] || mkdir libcpp; \
12181 r=`${PWD_COMMAND}`; export r; \
12182 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12183 $(HOST_EXPORTS) \
12184 echo Configuring in libcpp; \
12185 cd libcpp || exit 1; \
12186 case $(srcdir) in \
12187 \.) \
12188 srcdiroption="--srcdir=."; \
12189 libsrcdir=".";; \
12190 /* | [A-Za-z]:[\\/]*) \
12191 srcdiroption="--srcdir=$(srcdir)/libcpp"; \
12192 libsrcdir="$$s/libcpp";; \
12193 *) \
12194 srcdiroption="--srcdir=../$(srcdir)/libcpp"; \
12195 libsrcdir="$$s/libcpp";; \
12196 esac; \
12197 $(SHELL) $${libsrcdir}/configure \
12198 $(HOST_CONFIGARGS) $${srcdiroption} \
12199 || exit 1
12200 @endif libcpp
12202 .PHONY: all-libcpp maybe-all-libcpp
12203 maybe-all-libcpp:
12204 @if libcpp
12205 maybe-all-libcpp: all-libcpp
12206 all-libcpp: configure-libcpp
12207 @r=`${PWD_COMMAND}`; export r; \
12208 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12209 $(SET_LIB_PATH) \
12210 $(HOST_EXPORTS) \
12211 (cd libcpp && $(MAKE) $(FLAGS_TO_PASS) all)
12212 @endif libcpp
12214 .PHONY: check-libcpp maybe-check-libcpp
12215 maybe-check-libcpp:
12216 @if libcpp
12217 maybe-check-libcpp: check-libcpp
12219 check-libcpp:
12220 @r=`${PWD_COMMAND}`; export r; \
12221 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12222 $(SET_LIB_PATH) \
12223 $(HOST_EXPORTS) \
12224 (cd libcpp && $(MAKE) $(FLAGS_TO_PASS) check)
12226 @endif libcpp
12228 .PHONY: install-libcpp maybe-install-libcpp
12229 maybe-install-libcpp:
12230 @if libcpp
12231 maybe-install-libcpp: install-libcpp
12233 install-libcpp: installdirs
12234 @r=`${PWD_COMMAND}`; export r; \
12235 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12236 $(SET_LIB_PATH) \
12237 $(HOST_EXPORTS) \
12238 (cd libcpp && $(MAKE) $(FLAGS_TO_PASS) install)
12240 @endif libcpp
12242 # Other targets (info, dvi, etc.)
12244 .PHONY: maybe-info-libcpp info-libcpp
12245 maybe-info-libcpp:
12246 @if libcpp
12247 maybe-info-libcpp: info-libcpp
12249 info-libcpp: \
12250 configure-libcpp
12251 @[ -f ./libcpp/Makefile ] || exit 0; \
12252 r=`${PWD_COMMAND}`; export r; \
12253 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12254 $(SET_LIB_PATH) \
12255 $(HOST_EXPORTS) \
12256 for flag in $(EXTRA_HOST_FLAGS) ; do \
12257 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12258 done; \
12259 echo "Doing info in libcpp" ; \
12260 (cd libcpp && \
12261 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12262 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12263 "RANLIB=$${RANLIB}" \
12264 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12265 info) \
12266 || exit 1
12268 @endif libcpp
12270 .PHONY: maybe-dvi-libcpp dvi-libcpp
12271 maybe-dvi-libcpp:
12272 @if libcpp
12273 maybe-dvi-libcpp: dvi-libcpp
12275 dvi-libcpp: \
12276 configure-libcpp
12277 @[ -f ./libcpp/Makefile ] || exit 0; \
12278 r=`${PWD_COMMAND}`; export r; \
12279 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12280 $(SET_LIB_PATH) \
12281 $(HOST_EXPORTS) \
12282 for flag in $(EXTRA_HOST_FLAGS) ; do \
12283 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12284 done; \
12285 echo "Doing dvi in libcpp" ; \
12286 (cd libcpp && \
12287 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12288 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12289 "RANLIB=$${RANLIB}" \
12290 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12291 dvi) \
12292 || exit 1
12294 @endif libcpp
12296 .PHONY: maybe-TAGS-libcpp TAGS-libcpp
12297 maybe-TAGS-libcpp:
12298 @if libcpp
12299 maybe-TAGS-libcpp: TAGS-libcpp
12301 TAGS-libcpp: \
12302 configure-libcpp
12303 @[ -f ./libcpp/Makefile ] || exit 0; \
12304 r=`${PWD_COMMAND}`; export r; \
12305 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12306 $(SET_LIB_PATH) \
12307 $(HOST_EXPORTS) \
12308 for flag in $(EXTRA_HOST_FLAGS) ; do \
12309 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12310 done; \
12311 echo "Doing TAGS in libcpp" ; \
12312 (cd libcpp && \
12313 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12314 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12315 "RANLIB=$${RANLIB}" \
12316 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12317 TAGS) \
12318 || exit 1
12320 @endif libcpp
12322 .PHONY: maybe-install-info-libcpp install-info-libcpp
12323 maybe-install-info-libcpp:
12324 @if libcpp
12325 maybe-install-info-libcpp: install-info-libcpp
12327 install-info-libcpp: \
12328 configure-libcpp \
12329 info-libcpp
12330 @[ -f ./libcpp/Makefile ] || exit 0; \
12331 r=`${PWD_COMMAND}`; export r; \
12332 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12333 $(SET_LIB_PATH) \
12334 $(HOST_EXPORTS) \
12335 for flag in $(EXTRA_HOST_FLAGS) ; do \
12336 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12337 done; \
12338 echo "Doing install-info in libcpp" ; \
12339 (cd libcpp && \
12340 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12341 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12342 "RANLIB=$${RANLIB}" \
12343 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12344 install-info) \
12345 || exit 1
12347 @endif libcpp
12349 .PHONY: maybe-installcheck-libcpp installcheck-libcpp
12350 maybe-installcheck-libcpp:
12351 @if libcpp
12352 maybe-installcheck-libcpp: installcheck-libcpp
12354 installcheck-libcpp: \
12355 configure-libcpp
12356 @[ -f ./libcpp/Makefile ] || exit 0; \
12357 r=`${PWD_COMMAND}`; export r; \
12358 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12359 $(SET_LIB_PATH) \
12360 $(HOST_EXPORTS) \
12361 for flag in $(EXTRA_HOST_FLAGS) ; do \
12362 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12363 done; \
12364 echo "Doing installcheck in libcpp" ; \
12365 (cd libcpp && \
12366 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12367 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12368 "RANLIB=$${RANLIB}" \
12369 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12370 installcheck) \
12371 || exit 1
12373 @endif libcpp
12375 .PHONY: maybe-mostlyclean-libcpp mostlyclean-libcpp
12376 maybe-mostlyclean-libcpp:
12377 @if libcpp
12378 maybe-mostlyclean-libcpp: mostlyclean-libcpp
12380 mostlyclean-libcpp:
12381 @[ -f ./libcpp/Makefile ] || exit 0; \
12382 r=`${PWD_COMMAND}`; export r; \
12383 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12384 $(SET_LIB_PATH) \
12385 $(HOST_EXPORTS) \
12386 for flag in $(EXTRA_HOST_FLAGS) ; do \
12387 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12388 done; \
12389 echo "Doing mostlyclean in libcpp" ; \
12390 (cd libcpp && \
12391 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12392 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12393 "RANLIB=$${RANLIB}" \
12394 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12395 mostlyclean) \
12396 || exit 1
12398 @endif libcpp
12400 .PHONY: maybe-clean-libcpp clean-libcpp
12401 maybe-clean-libcpp:
12402 @if libcpp
12403 maybe-clean-libcpp: clean-libcpp
12405 clean-libcpp:
12406 @[ -f ./libcpp/Makefile ] || exit 0; \
12407 r=`${PWD_COMMAND}`; export r; \
12408 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12409 $(SET_LIB_PATH) \
12410 $(HOST_EXPORTS) \
12411 for flag in $(EXTRA_HOST_FLAGS) ; do \
12412 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12413 done; \
12414 echo "Doing clean in libcpp" ; \
12415 (cd libcpp && \
12416 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12417 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12418 "RANLIB=$${RANLIB}" \
12419 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12420 clean) \
12421 || exit 1
12423 @endif libcpp
12425 .PHONY: maybe-distclean-libcpp distclean-libcpp
12426 maybe-distclean-libcpp:
12427 @if libcpp
12428 maybe-distclean-libcpp: distclean-libcpp
12430 distclean-libcpp:
12431 @[ -f ./libcpp/Makefile ] || exit 0; \
12432 r=`${PWD_COMMAND}`; export r; \
12433 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12434 $(SET_LIB_PATH) \
12435 $(HOST_EXPORTS) \
12436 for flag in $(EXTRA_HOST_FLAGS) ; do \
12437 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12438 done; \
12439 echo "Doing distclean in libcpp" ; \
12440 (cd libcpp && \
12441 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12442 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12443 "RANLIB=$${RANLIB}" \
12444 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12445 distclean) \
12446 || exit 1
12448 @endif libcpp
12450 .PHONY: maybe-maintainer-clean-libcpp maintainer-clean-libcpp
12451 maybe-maintainer-clean-libcpp:
12452 @if libcpp
12453 maybe-maintainer-clean-libcpp: maintainer-clean-libcpp
12455 maintainer-clean-libcpp:
12456 @[ -f ./libcpp/Makefile ] || exit 0; \
12457 r=`${PWD_COMMAND}`; export r; \
12458 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12459 $(SET_LIB_PATH) \
12460 $(HOST_EXPORTS) \
12461 for flag in $(EXTRA_HOST_FLAGS) ; do \
12462 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12463 done; \
12464 echo "Doing maintainer-clean in libcpp" ; \
12465 (cd libcpp && \
12466 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12467 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12468 "RANLIB=$${RANLIB}" \
12469 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12470 maintainer-clean) \
12471 || exit 1
12473 @endif libcpp
12476 .PHONY: configure-libgui maybe-configure-libgui
12477 maybe-configure-libgui:
12478 @if libgui
12479 maybe-configure-libgui: configure-libgui
12480 configure-libgui:
12481 @test ! -f libgui/Makefile || exit 0; \
12482 [ -d libgui ] || mkdir libgui; \
12483 r=`${PWD_COMMAND}`; export r; \
12484 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12485 $(HOST_EXPORTS) \
12486 echo Configuring in libgui; \
12487 cd libgui || exit 1; \
12488 case $(srcdir) in \
12489 \.) \
12490 srcdiroption="--srcdir=."; \
12491 libsrcdir=".";; \
12492 /* | [A-Za-z]:[\\/]*) \
12493 srcdiroption="--srcdir=$(srcdir)/libgui"; \
12494 libsrcdir="$$s/libgui";; \
12495 *) \
12496 srcdiroption="--srcdir=../$(srcdir)/libgui"; \
12497 libsrcdir="$$s/libgui";; \
12498 esac; \
12499 $(SHELL) $${libsrcdir}/configure \
12500 $(HOST_CONFIGARGS) $${srcdiroption} \
12501 || exit 1
12502 @endif libgui
12504 .PHONY: all-libgui maybe-all-libgui
12505 maybe-all-libgui:
12506 @if libgui
12507 maybe-all-libgui: all-libgui
12508 all-libgui: configure-libgui
12509 @r=`${PWD_COMMAND}`; export r; \
12510 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12511 $(SET_LIB_PATH) \
12512 $(HOST_EXPORTS) \
12513 (cd libgui && $(MAKE) $(FLAGS_TO_PASS) all)
12514 @endif libgui
12516 .PHONY: check-libgui maybe-check-libgui
12517 maybe-check-libgui:
12518 @if libgui
12519 maybe-check-libgui: check-libgui
12521 check-libgui:
12522 @r=`${PWD_COMMAND}`; export r; \
12523 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12524 $(SET_LIB_PATH) \
12525 $(HOST_EXPORTS) \
12526 (cd libgui && $(MAKE) $(FLAGS_TO_PASS) check)
12528 @endif libgui
12530 .PHONY: install-libgui maybe-install-libgui
12531 maybe-install-libgui:
12532 @if libgui
12533 maybe-install-libgui: install-libgui
12535 install-libgui: installdirs
12536 @r=`${PWD_COMMAND}`; export r; \
12537 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12538 $(SET_LIB_PATH) \
12539 $(HOST_EXPORTS) \
12540 (cd libgui && $(MAKE) $(FLAGS_TO_PASS) install)
12542 @endif libgui
12544 # Other targets (info, dvi, etc.)
12546 .PHONY: maybe-info-libgui info-libgui
12547 maybe-info-libgui:
12548 @if libgui
12549 maybe-info-libgui: info-libgui
12551 info-libgui: \
12552 configure-libgui
12553 @[ -f ./libgui/Makefile ] || exit 0; \
12554 r=`${PWD_COMMAND}`; export r; \
12555 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12556 $(SET_LIB_PATH) \
12557 $(HOST_EXPORTS) \
12558 for flag in $(EXTRA_HOST_FLAGS) ; do \
12559 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12560 done; \
12561 echo "Doing info in libgui" ; \
12562 (cd libgui && \
12563 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12564 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12565 "RANLIB=$${RANLIB}" \
12566 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12567 info) \
12568 || exit 1
12570 @endif libgui
12572 .PHONY: maybe-dvi-libgui dvi-libgui
12573 maybe-dvi-libgui:
12574 @if libgui
12575 maybe-dvi-libgui: dvi-libgui
12577 dvi-libgui: \
12578 configure-libgui
12579 @[ -f ./libgui/Makefile ] || exit 0; \
12580 r=`${PWD_COMMAND}`; export r; \
12581 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12582 $(SET_LIB_PATH) \
12583 $(HOST_EXPORTS) \
12584 for flag in $(EXTRA_HOST_FLAGS) ; do \
12585 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12586 done; \
12587 echo "Doing dvi in libgui" ; \
12588 (cd libgui && \
12589 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12590 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12591 "RANLIB=$${RANLIB}" \
12592 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12593 dvi) \
12594 || exit 1
12596 @endif libgui
12598 .PHONY: maybe-TAGS-libgui TAGS-libgui
12599 maybe-TAGS-libgui:
12600 @if libgui
12601 maybe-TAGS-libgui: TAGS-libgui
12603 TAGS-libgui: \
12604 configure-libgui
12605 @[ -f ./libgui/Makefile ] || exit 0; \
12606 r=`${PWD_COMMAND}`; export r; \
12607 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12608 $(SET_LIB_PATH) \
12609 $(HOST_EXPORTS) \
12610 for flag in $(EXTRA_HOST_FLAGS) ; do \
12611 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12612 done; \
12613 echo "Doing TAGS in libgui" ; \
12614 (cd libgui && \
12615 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12616 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12617 "RANLIB=$${RANLIB}" \
12618 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12619 TAGS) \
12620 || exit 1
12622 @endif libgui
12624 .PHONY: maybe-install-info-libgui install-info-libgui
12625 maybe-install-info-libgui:
12626 @if libgui
12627 maybe-install-info-libgui: install-info-libgui
12629 install-info-libgui: \
12630 configure-libgui \
12631 info-libgui
12632 @[ -f ./libgui/Makefile ] || exit 0; \
12633 r=`${PWD_COMMAND}`; export r; \
12634 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12635 $(SET_LIB_PATH) \
12636 $(HOST_EXPORTS) \
12637 for flag in $(EXTRA_HOST_FLAGS) ; do \
12638 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12639 done; \
12640 echo "Doing install-info in libgui" ; \
12641 (cd libgui && \
12642 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12643 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12644 "RANLIB=$${RANLIB}" \
12645 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12646 install-info) \
12647 || exit 1
12649 @endif libgui
12651 .PHONY: maybe-installcheck-libgui installcheck-libgui
12652 maybe-installcheck-libgui:
12653 @if libgui
12654 maybe-installcheck-libgui: installcheck-libgui
12656 installcheck-libgui: \
12657 configure-libgui
12658 @[ -f ./libgui/Makefile ] || exit 0; \
12659 r=`${PWD_COMMAND}`; export r; \
12660 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12661 $(SET_LIB_PATH) \
12662 $(HOST_EXPORTS) \
12663 for flag in $(EXTRA_HOST_FLAGS) ; do \
12664 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12665 done; \
12666 echo "Doing installcheck in libgui" ; \
12667 (cd libgui && \
12668 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12669 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12670 "RANLIB=$${RANLIB}" \
12671 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12672 installcheck) \
12673 || exit 1
12675 @endif libgui
12677 .PHONY: maybe-mostlyclean-libgui mostlyclean-libgui
12678 maybe-mostlyclean-libgui:
12679 @if libgui
12680 maybe-mostlyclean-libgui: mostlyclean-libgui
12682 mostlyclean-libgui:
12683 @[ -f ./libgui/Makefile ] || exit 0; \
12684 r=`${PWD_COMMAND}`; export r; \
12685 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12686 $(SET_LIB_PATH) \
12687 $(HOST_EXPORTS) \
12688 for flag in $(EXTRA_HOST_FLAGS) ; do \
12689 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12690 done; \
12691 echo "Doing mostlyclean in libgui" ; \
12692 (cd libgui && \
12693 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12694 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12695 "RANLIB=$${RANLIB}" \
12696 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12697 mostlyclean) \
12698 || exit 1
12700 @endif libgui
12702 .PHONY: maybe-clean-libgui clean-libgui
12703 maybe-clean-libgui:
12704 @if libgui
12705 maybe-clean-libgui: clean-libgui
12707 clean-libgui:
12708 @[ -f ./libgui/Makefile ] || exit 0; \
12709 r=`${PWD_COMMAND}`; export r; \
12710 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12711 $(SET_LIB_PATH) \
12712 $(HOST_EXPORTS) \
12713 for flag in $(EXTRA_HOST_FLAGS) ; do \
12714 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12715 done; \
12716 echo "Doing clean in libgui" ; \
12717 (cd libgui && \
12718 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12719 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12720 "RANLIB=$${RANLIB}" \
12721 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12722 clean) \
12723 || exit 1
12725 @endif libgui
12727 .PHONY: maybe-distclean-libgui distclean-libgui
12728 maybe-distclean-libgui:
12729 @if libgui
12730 maybe-distclean-libgui: distclean-libgui
12732 distclean-libgui:
12733 @[ -f ./libgui/Makefile ] || exit 0; \
12734 r=`${PWD_COMMAND}`; export r; \
12735 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12736 $(SET_LIB_PATH) \
12737 $(HOST_EXPORTS) \
12738 for flag in $(EXTRA_HOST_FLAGS) ; do \
12739 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12740 done; \
12741 echo "Doing distclean in libgui" ; \
12742 (cd libgui && \
12743 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12744 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12745 "RANLIB=$${RANLIB}" \
12746 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12747 distclean) \
12748 || exit 1
12750 @endif libgui
12752 .PHONY: maybe-maintainer-clean-libgui maintainer-clean-libgui
12753 maybe-maintainer-clean-libgui:
12754 @if libgui
12755 maybe-maintainer-clean-libgui: maintainer-clean-libgui
12757 maintainer-clean-libgui:
12758 @[ -f ./libgui/Makefile ] || exit 0; \
12759 r=`${PWD_COMMAND}`; export r; \
12760 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12761 $(SET_LIB_PATH) \
12762 $(HOST_EXPORTS) \
12763 for flag in $(EXTRA_HOST_FLAGS) ; do \
12764 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12765 done; \
12766 echo "Doing maintainer-clean in libgui" ; \
12767 (cd libgui && \
12768 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12769 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12770 "RANLIB=$${RANLIB}" \
12771 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12772 maintainer-clean) \
12773 || exit 1
12775 @endif libgui
12778 .PHONY: configure-libbanshee maybe-configure-libbanshee
12779 maybe-configure-libbanshee:
12780 @if libbanshee
12781 maybe-configure-libbanshee: configure-libbanshee
12782 configure-libbanshee:
12783 @test ! -f libbanshee/Makefile || exit 0; \
12784 [ -d libbanshee ] || mkdir libbanshee; \
12785 r=`${PWD_COMMAND}`; export r; \
12786 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12787 $(HOST_EXPORTS) \
12788 echo Configuring in libbanshee; \
12789 cd libbanshee || exit 1; \
12790 case $(srcdir) in \
12791 \.) \
12792 srcdiroption="--srcdir=."; \
12793 libsrcdir=".";; \
12794 /* | [A-Za-z]:[\\/]*) \
12795 srcdiroption="--srcdir=$(srcdir)/libbanshee"; \
12796 libsrcdir="$$s/libbanshee";; \
12797 *) \
12798 srcdiroption="--srcdir=../$(srcdir)/libbanshee"; \
12799 libsrcdir="$$s/libbanshee";; \
12800 esac; \
12801 $(SHELL) $${libsrcdir}/configure \
12802 $(HOST_CONFIGARGS) $${srcdiroption} \
12803 || exit 1
12804 @endif libbanshee
12806 .PHONY: all-libbanshee maybe-all-libbanshee
12807 maybe-all-libbanshee:
12808 @if libbanshee
12809 maybe-all-libbanshee: all-libbanshee
12810 all-libbanshee: configure-libbanshee
12811 @r=`${PWD_COMMAND}`; export r; \
12812 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12813 $(SET_LIB_PATH) \
12814 $(HOST_EXPORTS) \
12815 (cd libbanshee && $(MAKE) $(FLAGS_TO_PASS) all)
12816 @endif libbanshee
12818 .PHONY: check-libbanshee maybe-check-libbanshee
12819 maybe-check-libbanshee:
12820 @if libbanshee
12821 maybe-check-libbanshee: check-libbanshee
12823 check-libbanshee:
12824 @r=`${PWD_COMMAND}`; export r; \
12825 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12826 $(SET_LIB_PATH) \
12827 $(HOST_EXPORTS) \
12828 (cd libbanshee && $(MAKE) $(FLAGS_TO_PASS) check)
12830 @endif libbanshee
12832 .PHONY: install-libbanshee maybe-install-libbanshee
12833 maybe-install-libbanshee:
12834 @if libbanshee
12835 maybe-install-libbanshee: install-libbanshee
12837 install-libbanshee:
12839 @endif libbanshee
12841 # Other targets (info, dvi, etc.)
12843 .PHONY: maybe-info-libbanshee info-libbanshee
12844 maybe-info-libbanshee:
12845 @if libbanshee
12846 maybe-info-libbanshee: info-libbanshee
12848 info-libbanshee: \
12849 configure-libbanshee
12850 @[ -f ./libbanshee/Makefile ] || exit 0; \
12851 r=`${PWD_COMMAND}`; export r; \
12852 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12853 $(SET_LIB_PATH) \
12854 $(HOST_EXPORTS) \
12855 for flag in $(EXTRA_HOST_FLAGS) ; do \
12856 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12857 done; \
12858 echo "Doing info in libbanshee" ; \
12859 (cd libbanshee && \
12860 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12861 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12862 "RANLIB=$${RANLIB}" \
12863 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12864 info) \
12865 || exit 1
12867 @endif libbanshee
12869 .PHONY: maybe-dvi-libbanshee dvi-libbanshee
12870 maybe-dvi-libbanshee:
12871 @if libbanshee
12872 maybe-dvi-libbanshee: dvi-libbanshee
12874 dvi-libbanshee: \
12875 configure-libbanshee
12876 @[ -f ./libbanshee/Makefile ] || exit 0; \
12877 r=`${PWD_COMMAND}`; export r; \
12878 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12879 $(SET_LIB_PATH) \
12880 $(HOST_EXPORTS) \
12881 for flag in $(EXTRA_HOST_FLAGS) ; do \
12882 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12883 done; \
12884 echo "Doing dvi in libbanshee" ; \
12885 (cd libbanshee && \
12886 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12887 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12888 "RANLIB=$${RANLIB}" \
12889 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12890 dvi) \
12891 || exit 1
12893 @endif libbanshee
12895 .PHONY: maybe-TAGS-libbanshee TAGS-libbanshee
12896 maybe-TAGS-libbanshee:
12897 @if libbanshee
12898 maybe-TAGS-libbanshee: TAGS-libbanshee
12900 TAGS-libbanshee: \
12901 configure-libbanshee
12902 @[ -f ./libbanshee/Makefile ] || exit 0; \
12903 r=`${PWD_COMMAND}`; export r; \
12904 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12905 $(SET_LIB_PATH) \
12906 $(HOST_EXPORTS) \
12907 for flag in $(EXTRA_HOST_FLAGS) ; do \
12908 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12909 done; \
12910 echo "Doing TAGS in libbanshee" ; \
12911 (cd libbanshee && \
12912 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12913 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12914 "RANLIB=$${RANLIB}" \
12915 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12916 TAGS) \
12917 || exit 1
12919 @endif libbanshee
12921 .PHONY: maybe-install-info-libbanshee install-info-libbanshee
12922 maybe-install-info-libbanshee:
12923 @if libbanshee
12924 maybe-install-info-libbanshee: install-info-libbanshee
12926 install-info-libbanshee: \
12927 configure-libbanshee \
12928 info-libbanshee
12929 @[ -f ./libbanshee/Makefile ] || exit 0; \
12930 r=`${PWD_COMMAND}`; export r; \
12931 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12932 $(SET_LIB_PATH) \
12933 $(HOST_EXPORTS) \
12934 for flag in $(EXTRA_HOST_FLAGS) ; do \
12935 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12936 done; \
12937 echo "Doing install-info in libbanshee" ; \
12938 (cd libbanshee && \
12939 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12940 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12941 "RANLIB=$${RANLIB}" \
12942 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12943 install-info) \
12944 || exit 1
12946 @endif libbanshee
12948 .PHONY: maybe-installcheck-libbanshee installcheck-libbanshee
12949 maybe-installcheck-libbanshee:
12950 @if libbanshee
12951 maybe-installcheck-libbanshee: installcheck-libbanshee
12953 installcheck-libbanshee: \
12954 configure-libbanshee
12955 @[ -f ./libbanshee/Makefile ] || exit 0; \
12956 r=`${PWD_COMMAND}`; export r; \
12957 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12958 $(SET_LIB_PATH) \
12959 $(HOST_EXPORTS) \
12960 for flag in $(EXTRA_HOST_FLAGS) ; do \
12961 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12962 done; \
12963 echo "Doing installcheck in libbanshee" ; \
12964 (cd libbanshee && \
12965 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12966 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12967 "RANLIB=$${RANLIB}" \
12968 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12969 installcheck) \
12970 || exit 1
12972 @endif libbanshee
12974 .PHONY: maybe-mostlyclean-libbanshee mostlyclean-libbanshee
12975 maybe-mostlyclean-libbanshee:
12976 @if libbanshee
12977 maybe-mostlyclean-libbanshee: mostlyclean-libbanshee
12979 mostlyclean-libbanshee:
12980 @[ -f ./libbanshee/Makefile ] || exit 0; \
12981 r=`${PWD_COMMAND}`; export r; \
12982 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12983 $(SET_LIB_PATH) \
12984 $(HOST_EXPORTS) \
12985 for flag in $(EXTRA_HOST_FLAGS) ; do \
12986 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12987 done; \
12988 echo "Doing mostlyclean in libbanshee" ; \
12989 (cd libbanshee && \
12990 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12991 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12992 "RANLIB=$${RANLIB}" \
12993 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12994 mostlyclean) \
12995 || exit 1
12997 @endif libbanshee
12999 .PHONY: maybe-clean-libbanshee clean-libbanshee
13000 maybe-clean-libbanshee:
13001 @if libbanshee
13002 maybe-clean-libbanshee: clean-libbanshee
13004 clean-libbanshee:
13005 @[ -f ./libbanshee/Makefile ] || exit 0; \
13006 r=`${PWD_COMMAND}`; export r; \
13007 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13008 $(SET_LIB_PATH) \
13009 $(HOST_EXPORTS) \
13010 for flag in $(EXTRA_HOST_FLAGS) ; do \
13011 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13012 done; \
13013 echo "Doing clean in libbanshee" ; \
13014 (cd libbanshee && \
13015 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13016 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13017 "RANLIB=$${RANLIB}" \
13018 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13019 clean) \
13020 || exit 1
13022 @endif libbanshee
13024 .PHONY: maybe-distclean-libbanshee distclean-libbanshee
13025 maybe-distclean-libbanshee:
13026 @if libbanshee
13027 maybe-distclean-libbanshee: distclean-libbanshee
13029 distclean-libbanshee:
13030 @[ -f ./libbanshee/Makefile ] || exit 0; \
13031 r=`${PWD_COMMAND}`; export r; \
13032 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13033 $(SET_LIB_PATH) \
13034 $(HOST_EXPORTS) \
13035 for flag in $(EXTRA_HOST_FLAGS) ; do \
13036 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13037 done; \
13038 echo "Doing distclean in libbanshee" ; \
13039 (cd libbanshee && \
13040 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13041 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13042 "RANLIB=$${RANLIB}" \
13043 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13044 distclean) \
13045 || exit 1
13047 @endif libbanshee
13049 .PHONY: maybe-maintainer-clean-libbanshee maintainer-clean-libbanshee
13050 maybe-maintainer-clean-libbanshee:
13051 @if libbanshee
13052 maybe-maintainer-clean-libbanshee: maintainer-clean-libbanshee
13054 maintainer-clean-libbanshee:
13055 @[ -f ./libbanshee/Makefile ] || exit 0; \
13056 r=`${PWD_COMMAND}`; export r; \
13057 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13058 $(SET_LIB_PATH) \
13059 $(HOST_EXPORTS) \
13060 for flag in $(EXTRA_HOST_FLAGS) ; do \
13061 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13062 done; \
13063 echo "Doing maintainer-clean in libbanshee" ; \
13064 (cd libbanshee && \
13065 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13066 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13067 "RANLIB=$${RANLIB}" \
13068 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13069 maintainer-clean) \
13070 || exit 1
13072 @endif libbanshee
13075 .PHONY: configure-libiberty maybe-configure-libiberty
13076 maybe-configure-libiberty:
13077 @if libiberty
13078 maybe-configure-libiberty: configure-libiberty
13079 configure-libiberty:
13080 @test ! -f libiberty/Makefile || exit 0; \
13081 [ -d libiberty ] || mkdir libiberty; \
13082 r=`${PWD_COMMAND}`; export r; \
13083 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13084 $(HOST_EXPORTS) \
13085 echo Configuring in libiberty; \
13086 cd libiberty || exit 1; \
13087 case $(srcdir) in \
13088 \.) \
13089 srcdiroption="--srcdir=."; \
13090 libsrcdir=".";; \
13091 /* | [A-Za-z]:[\\/]*) \
13092 srcdiroption="--srcdir=$(srcdir)/libiberty"; \
13093 libsrcdir="$$s/libiberty";; \
13094 *) \
13095 srcdiroption="--srcdir=../$(srcdir)/libiberty"; \
13096 libsrcdir="$$s/libiberty";; \
13097 esac; \
13098 $(SHELL) $${libsrcdir}/configure \
13099 $(HOST_CONFIGARGS) $${srcdiroption} \
13100 || exit 1
13101 @endif libiberty
13103 .PHONY: all-libiberty maybe-all-libiberty
13104 maybe-all-libiberty:
13105 @if libiberty
13106 maybe-all-libiberty: all-libiberty
13107 all-libiberty: configure-libiberty
13108 @r=`${PWD_COMMAND}`; export r; \
13109 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13110 $(SET_LIB_PATH) \
13111 $(HOST_EXPORTS) \
13112 (cd libiberty && $(MAKE) $(FLAGS_TO_PASS) all)
13113 @endif libiberty
13115 .PHONY: check-libiberty maybe-check-libiberty
13116 maybe-check-libiberty:
13117 @if libiberty
13118 maybe-check-libiberty: check-libiberty
13120 check-libiberty:
13121 @r=`${PWD_COMMAND}`; export r; \
13122 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13123 $(SET_LIB_PATH) \
13124 $(HOST_EXPORTS) \
13125 (cd libiberty && $(MAKE) $(FLAGS_TO_PASS) check)
13127 @endif libiberty
13129 .PHONY: install-libiberty maybe-install-libiberty
13130 maybe-install-libiberty:
13131 @if libiberty
13132 maybe-install-libiberty: install-libiberty
13134 install-libiberty: installdirs
13135 @r=`${PWD_COMMAND}`; export r; \
13136 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13137 $(SET_LIB_PATH) \
13138 $(HOST_EXPORTS) \
13139 (cd libiberty && $(MAKE) $(FLAGS_TO_PASS) install)
13141 @endif libiberty
13143 # Other targets (info, dvi, etc.)
13145 .PHONY: maybe-info-libiberty info-libiberty
13146 maybe-info-libiberty:
13147 @if libiberty
13148 maybe-info-libiberty: info-libiberty
13150 info-libiberty: \
13151 configure-libiberty
13152 @[ -f ./libiberty/Makefile ] || exit 0; \
13153 r=`${PWD_COMMAND}`; export r; \
13154 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13155 $(SET_LIB_PATH) \
13156 $(HOST_EXPORTS) \
13157 for flag in $(EXTRA_HOST_FLAGS) ; do \
13158 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13159 done; \
13160 echo "Doing info in libiberty" ; \
13161 (cd libiberty && \
13162 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13163 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13164 "RANLIB=$${RANLIB}" \
13165 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13166 info) \
13167 || exit 1
13169 @endif libiberty
13171 .PHONY: maybe-dvi-libiberty dvi-libiberty
13172 maybe-dvi-libiberty:
13173 @if libiberty
13174 maybe-dvi-libiberty: dvi-libiberty
13176 dvi-libiberty: \
13177 configure-libiberty
13178 @[ -f ./libiberty/Makefile ] || exit 0; \
13179 r=`${PWD_COMMAND}`; export r; \
13180 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13181 $(SET_LIB_PATH) \
13182 $(HOST_EXPORTS) \
13183 for flag in $(EXTRA_HOST_FLAGS) ; do \
13184 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13185 done; \
13186 echo "Doing dvi in libiberty" ; \
13187 (cd libiberty && \
13188 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13189 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13190 "RANLIB=$${RANLIB}" \
13191 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13192 dvi) \
13193 || exit 1
13195 @endif libiberty
13197 .PHONY: maybe-TAGS-libiberty TAGS-libiberty
13198 maybe-TAGS-libiberty:
13199 @if libiberty
13200 maybe-TAGS-libiberty: TAGS-libiberty
13202 TAGS-libiberty: \
13203 configure-libiberty
13204 @[ -f ./libiberty/Makefile ] || exit 0; \
13205 r=`${PWD_COMMAND}`; export r; \
13206 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13207 $(SET_LIB_PATH) \
13208 $(HOST_EXPORTS) \
13209 for flag in $(EXTRA_HOST_FLAGS) ; do \
13210 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13211 done; \
13212 echo "Doing TAGS in libiberty" ; \
13213 (cd libiberty && \
13214 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13215 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13216 "RANLIB=$${RANLIB}" \
13217 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13218 TAGS) \
13219 || exit 1
13221 @endif libiberty
13223 .PHONY: maybe-install-info-libiberty install-info-libiberty
13224 maybe-install-info-libiberty:
13225 @if libiberty
13226 maybe-install-info-libiberty: install-info-libiberty
13228 install-info-libiberty: \
13229 configure-libiberty \
13230 info-libiberty
13231 @[ -f ./libiberty/Makefile ] || exit 0; \
13232 r=`${PWD_COMMAND}`; export r; \
13233 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13234 $(SET_LIB_PATH) \
13235 $(HOST_EXPORTS) \
13236 for flag in $(EXTRA_HOST_FLAGS) ; do \
13237 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13238 done; \
13239 echo "Doing install-info in libiberty" ; \
13240 (cd libiberty && \
13241 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13242 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13243 "RANLIB=$${RANLIB}" \
13244 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13245 install-info) \
13246 || exit 1
13248 @endif libiberty
13250 .PHONY: maybe-installcheck-libiberty installcheck-libiberty
13251 maybe-installcheck-libiberty:
13252 @if libiberty
13253 maybe-installcheck-libiberty: installcheck-libiberty
13255 installcheck-libiberty: \
13256 configure-libiberty
13257 @[ -f ./libiberty/Makefile ] || exit 0; \
13258 r=`${PWD_COMMAND}`; export r; \
13259 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13260 $(SET_LIB_PATH) \
13261 $(HOST_EXPORTS) \
13262 for flag in $(EXTRA_HOST_FLAGS) ; do \
13263 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13264 done; \
13265 echo "Doing installcheck in libiberty" ; \
13266 (cd libiberty && \
13267 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13268 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13269 "RANLIB=$${RANLIB}" \
13270 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13271 installcheck) \
13272 || exit 1
13274 @endif libiberty
13276 .PHONY: maybe-mostlyclean-libiberty mostlyclean-libiberty
13277 maybe-mostlyclean-libiberty:
13278 @if libiberty
13279 maybe-mostlyclean-libiberty: mostlyclean-libiberty
13281 mostlyclean-libiberty:
13282 @[ -f ./libiberty/Makefile ] || exit 0; \
13283 r=`${PWD_COMMAND}`; export r; \
13284 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13285 $(SET_LIB_PATH) \
13286 $(HOST_EXPORTS) \
13287 for flag in $(EXTRA_HOST_FLAGS) ; do \
13288 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13289 done; \
13290 echo "Doing mostlyclean in libiberty" ; \
13291 (cd libiberty && \
13292 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13293 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13294 "RANLIB=$${RANLIB}" \
13295 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13296 mostlyclean) \
13297 || exit 1
13299 @endif libiberty
13301 .PHONY: maybe-clean-libiberty clean-libiberty
13302 maybe-clean-libiberty:
13303 @if libiberty
13304 maybe-clean-libiberty: clean-libiberty
13306 clean-libiberty:
13307 @[ -f ./libiberty/Makefile ] || exit 0; \
13308 r=`${PWD_COMMAND}`; export r; \
13309 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13310 $(SET_LIB_PATH) \
13311 $(HOST_EXPORTS) \
13312 for flag in $(EXTRA_HOST_FLAGS) ; do \
13313 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13314 done; \
13315 echo "Doing clean in libiberty" ; \
13316 (cd libiberty && \
13317 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13318 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13319 "RANLIB=$${RANLIB}" \
13320 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13321 clean) \
13322 || exit 1
13324 @endif libiberty
13326 .PHONY: maybe-distclean-libiberty distclean-libiberty
13327 maybe-distclean-libiberty:
13328 @if libiberty
13329 maybe-distclean-libiberty: distclean-libiberty
13331 distclean-libiberty:
13332 @[ -f ./libiberty/Makefile ] || exit 0; \
13333 r=`${PWD_COMMAND}`; export r; \
13334 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13335 $(SET_LIB_PATH) \
13336 $(HOST_EXPORTS) \
13337 for flag in $(EXTRA_HOST_FLAGS) ; do \
13338 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13339 done; \
13340 echo "Doing distclean in libiberty" ; \
13341 (cd libiberty && \
13342 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13343 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13344 "RANLIB=$${RANLIB}" \
13345 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13346 distclean) \
13347 || exit 1
13349 @endif libiberty
13351 .PHONY: maybe-maintainer-clean-libiberty maintainer-clean-libiberty
13352 maybe-maintainer-clean-libiberty:
13353 @if libiberty
13354 maybe-maintainer-clean-libiberty: maintainer-clean-libiberty
13356 maintainer-clean-libiberty:
13357 @[ -f ./libiberty/Makefile ] || exit 0; \
13358 r=`${PWD_COMMAND}`; export r; \
13359 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13360 $(SET_LIB_PATH) \
13361 $(HOST_EXPORTS) \
13362 for flag in $(EXTRA_HOST_FLAGS) ; do \
13363 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13364 done; \
13365 echo "Doing maintainer-clean in libiberty" ; \
13366 (cd libiberty && \
13367 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13368 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13369 "RANLIB=$${RANLIB}" \
13370 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13371 maintainer-clean) \
13372 || exit 1
13374 @endif libiberty
13377 .PHONY: configure-libtool maybe-configure-libtool
13378 maybe-configure-libtool:
13379 @if libtool
13380 maybe-configure-libtool: configure-libtool
13381 configure-libtool:
13382 @test ! -f libtool/Makefile || exit 0; \
13383 [ -d libtool ] || mkdir libtool; \
13384 r=`${PWD_COMMAND}`; export r; \
13385 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13386 $(HOST_EXPORTS) \
13387 echo Configuring in libtool; \
13388 cd libtool || exit 1; \
13389 case $(srcdir) in \
13390 \.) \
13391 srcdiroption="--srcdir=."; \
13392 libsrcdir=".";; \
13393 /* | [A-Za-z]:[\\/]*) \
13394 srcdiroption="--srcdir=$(srcdir)/libtool"; \
13395 libsrcdir="$$s/libtool";; \
13396 *) \
13397 srcdiroption="--srcdir=../$(srcdir)/libtool"; \
13398 libsrcdir="$$s/libtool";; \
13399 esac; \
13400 $(SHELL) $${libsrcdir}/configure \
13401 $(HOST_CONFIGARGS) $${srcdiroption} \
13402 || exit 1
13403 @endif libtool
13405 .PHONY: all-libtool maybe-all-libtool
13406 maybe-all-libtool:
13407 @if libtool
13408 maybe-all-libtool: all-libtool
13409 all-libtool: configure-libtool
13410 @r=`${PWD_COMMAND}`; export r; \
13411 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13412 $(SET_LIB_PATH) \
13413 $(HOST_EXPORTS) \
13414 (cd libtool && $(MAKE) $(FLAGS_TO_PASS) all)
13415 @endif libtool
13417 .PHONY: check-libtool maybe-check-libtool
13418 maybe-check-libtool:
13419 @if libtool
13420 maybe-check-libtool: check-libtool
13422 check-libtool:
13423 @r=`${PWD_COMMAND}`; export r; \
13424 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13425 $(SET_LIB_PATH) \
13426 $(HOST_EXPORTS) \
13427 (cd libtool && $(MAKE) $(FLAGS_TO_PASS) check)
13429 @endif libtool
13431 .PHONY: install-libtool maybe-install-libtool
13432 maybe-install-libtool:
13433 @if libtool
13434 maybe-install-libtool: install-libtool
13436 install-libtool: installdirs
13437 @r=`${PWD_COMMAND}`; export r; \
13438 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13439 $(SET_LIB_PATH) \
13440 $(HOST_EXPORTS) \
13441 (cd libtool && $(MAKE) $(FLAGS_TO_PASS) install)
13443 @endif libtool
13445 # Other targets (info, dvi, etc.)
13447 .PHONY: maybe-info-libtool info-libtool
13448 maybe-info-libtool:
13449 @if libtool
13450 maybe-info-libtool: info-libtool
13452 info-libtool: \
13453 configure-libtool
13454 @[ -f ./libtool/Makefile ] || exit 0; \
13455 r=`${PWD_COMMAND}`; export r; \
13456 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13457 $(SET_LIB_PATH) \
13458 $(HOST_EXPORTS) \
13459 for flag in $(EXTRA_HOST_FLAGS) ; do \
13460 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13461 done; \
13462 echo "Doing info in libtool" ; \
13463 (cd libtool && \
13464 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13465 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13466 "RANLIB=$${RANLIB}" \
13467 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13468 info) \
13469 || exit 1
13471 @endif libtool
13473 .PHONY: maybe-dvi-libtool dvi-libtool
13474 maybe-dvi-libtool:
13475 @if libtool
13476 maybe-dvi-libtool: dvi-libtool
13478 dvi-libtool: \
13479 configure-libtool
13480 @[ -f ./libtool/Makefile ] || exit 0; \
13481 r=`${PWD_COMMAND}`; export r; \
13482 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13483 $(SET_LIB_PATH) \
13484 $(HOST_EXPORTS) \
13485 for flag in $(EXTRA_HOST_FLAGS) ; do \
13486 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13487 done; \
13488 echo "Doing dvi in libtool" ; \
13489 (cd libtool && \
13490 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13491 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13492 "RANLIB=$${RANLIB}" \
13493 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13494 dvi) \
13495 || exit 1
13497 @endif libtool
13499 .PHONY: maybe-TAGS-libtool TAGS-libtool
13500 maybe-TAGS-libtool:
13501 @if libtool
13502 maybe-TAGS-libtool: TAGS-libtool
13504 TAGS-libtool: \
13505 configure-libtool
13506 @[ -f ./libtool/Makefile ] || exit 0; \
13507 r=`${PWD_COMMAND}`; export r; \
13508 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13509 $(SET_LIB_PATH) \
13510 $(HOST_EXPORTS) \
13511 for flag in $(EXTRA_HOST_FLAGS) ; do \
13512 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13513 done; \
13514 echo "Doing TAGS in libtool" ; \
13515 (cd libtool && \
13516 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13517 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13518 "RANLIB=$${RANLIB}" \
13519 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13520 TAGS) \
13521 || exit 1
13523 @endif libtool
13525 .PHONY: maybe-install-info-libtool install-info-libtool
13526 maybe-install-info-libtool:
13527 @if libtool
13528 maybe-install-info-libtool: install-info-libtool
13530 install-info-libtool: \
13531 configure-libtool \
13532 info-libtool
13533 @[ -f ./libtool/Makefile ] || exit 0; \
13534 r=`${PWD_COMMAND}`; export r; \
13535 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13536 $(SET_LIB_PATH) \
13537 $(HOST_EXPORTS) \
13538 for flag in $(EXTRA_HOST_FLAGS) ; do \
13539 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13540 done; \
13541 echo "Doing install-info in libtool" ; \
13542 (cd libtool && \
13543 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13544 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13545 "RANLIB=$${RANLIB}" \
13546 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13547 install-info) \
13548 || exit 1
13550 @endif libtool
13552 .PHONY: maybe-installcheck-libtool installcheck-libtool
13553 maybe-installcheck-libtool:
13554 @if libtool
13555 maybe-installcheck-libtool: installcheck-libtool
13557 installcheck-libtool: \
13558 configure-libtool
13559 @[ -f ./libtool/Makefile ] || exit 0; \
13560 r=`${PWD_COMMAND}`; export r; \
13561 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13562 $(SET_LIB_PATH) \
13563 $(HOST_EXPORTS) \
13564 for flag in $(EXTRA_HOST_FLAGS) ; do \
13565 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13566 done; \
13567 echo "Doing installcheck in libtool" ; \
13568 (cd libtool && \
13569 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13570 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13571 "RANLIB=$${RANLIB}" \
13572 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13573 installcheck) \
13574 || exit 1
13576 @endif libtool
13578 .PHONY: maybe-mostlyclean-libtool mostlyclean-libtool
13579 maybe-mostlyclean-libtool:
13580 @if libtool
13581 maybe-mostlyclean-libtool: mostlyclean-libtool
13583 mostlyclean-libtool:
13584 @[ -f ./libtool/Makefile ] || exit 0; \
13585 r=`${PWD_COMMAND}`; export r; \
13586 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13587 $(SET_LIB_PATH) \
13588 $(HOST_EXPORTS) \
13589 for flag in $(EXTRA_HOST_FLAGS) ; do \
13590 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13591 done; \
13592 echo "Doing mostlyclean in libtool" ; \
13593 (cd libtool && \
13594 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13595 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13596 "RANLIB=$${RANLIB}" \
13597 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13598 mostlyclean) \
13599 || exit 1
13601 @endif libtool
13603 .PHONY: maybe-clean-libtool clean-libtool
13604 maybe-clean-libtool:
13605 @if libtool
13606 maybe-clean-libtool: clean-libtool
13608 clean-libtool:
13609 @[ -f ./libtool/Makefile ] || exit 0; \
13610 r=`${PWD_COMMAND}`; export r; \
13611 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13612 $(SET_LIB_PATH) \
13613 $(HOST_EXPORTS) \
13614 for flag in $(EXTRA_HOST_FLAGS) ; do \
13615 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13616 done; \
13617 echo "Doing clean in libtool" ; \
13618 (cd libtool && \
13619 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13620 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13621 "RANLIB=$${RANLIB}" \
13622 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13623 clean) \
13624 || exit 1
13626 @endif libtool
13628 .PHONY: maybe-distclean-libtool distclean-libtool
13629 maybe-distclean-libtool:
13630 @if libtool
13631 maybe-distclean-libtool: distclean-libtool
13633 distclean-libtool:
13634 @[ -f ./libtool/Makefile ] || exit 0; \
13635 r=`${PWD_COMMAND}`; export r; \
13636 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13637 $(SET_LIB_PATH) \
13638 $(HOST_EXPORTS) \
13639 for flag in $(EXTRA_HOST_FLAGS) ; do \
13640 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13641 done; \
13642 echo "Doing distclean in libtool" ; \
13643 (cd libtool && \
13644 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13645 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13646 "RANLIB=$${RANLIB}" \
13647 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13648 distclean) \
13649 || exit 1
13651 @endif libtool
13653 .PHONY: maybe-maintainer-clean-libtool maintainer-clean-libtool
13654 maybe-maintainer-clean-libtool:
13655 @if libtool
13656 maybe-maintainer-clean-libtool: maintainer-clean-libtool
13658 maintainer-clean-libtool:
13659 @[ -f ./libtool/Makefile ] || exit 0; \
13660 r=`${PWD_COMMAND}`; export r; \
13661 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13662 $(SET_LIB_PATH) \
13663 $(HOST_EXPORTS) \
13664 for flag in $(EXTRA_HOST_FLAGS) ; do \
13665 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13666 done; \
13667 echo "Doing maintainer-clean in libtool" ; \
13668 (cd libtool && \
13669 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13670 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13671 "RANLIB=$${RANLIB}" \
13672 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13673 maintainer-clean) \
13674 || exit 1
13676 @endif libtool
13679 .PHONY: configure-m4 maybe-configure-m4
13680 maybe-configure-m4:
13681 @if m4
13682 maybe-configure-m4: configure-m4
13683 configure-m4:
13684 @test ! -f m4/Makefile || exit 0; \
13685 [ -d m4 ] || mkdir m4; \
13686 r=`${PWD_COMMAND}`; export r; \
13687 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13688 $(HOST_EXPORTS) \
13689 echo Configuring in m4; \
13690 cd m4 || exit 1; \
13691 case $(srcdir) in \
13692 \.) \
13693 srcdiroption="--srcdir=."; \
13694 libsrcdir=".";; \
13695 /* | [A-Za-z]:[\\/]*) \
13696 srcdiroption="--srcdir=$(srcdir)/m4"; \
13697 libsrcdir="$$s/m4";; \
13698 *) \
13699 srcdiroption="--srcdir=../$(srcdir)/m4"; \
13700 libsrcdir="$$s/m4";; \
13701 esac; \
13702 $(SHELL) $${libsrcdir}/configure \
13703 $(HOST_CONFIGARGS) $${srcdiroption} \
13704 || exit 1
13705 @endif m4
13707 .PHONY: all-m4 maybe-all-m4
13708 maybe-all-m4:
13709 @if m4
13710 maybe-all-m4: all-m4
13711 all-m4: configure-m4
13712 @r=`${PWD_COMMAND}`; export r; \
13713 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13714 $(SET_LIB_PATH) \
13715 $(HOST_EXPORTS) \
13716 (cd m4 && $(MAKE) $(FLAGS_TO_PASS) all)
13717 @endif m4
13719 .PHONY: check-m4 maybe-check-m4
13720 maybe-check-m4:
13721 @if m4
13722 maybe-check-m4: check-m4
13724 check-m4:
13725 @r=`${PWD_COMMAND}`; export r; \
13726 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13727 $(SET_LIB_PATH) \
13728 $(HOST_EXPORTS) \
13729 (cd m4 && $(MAKE) $(FLAGS_TO_PASS) check)
13731 @endif m4
13733 .PHONY: install-m4 maybe-install-m4
13734 maybe-install-m4:
13735 @if m4
13736 maybe-install-m4: install-m4
13738 install-m4: installdirs
13739 @r=`${PWD_COMMAND}`; export r; \
13740 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13741 $(SET_LIB_PATH) \
13742 $(HOST_EXPORTS) \
13743 (cd m4 && $(MAKE) $(FLAGS_TO_PASS) install)
13745 @endif m4
13747 # Other targets (info, dvi, etc.)
13749 .PHONY: maybe-info-m4 info-m4
13750 maybe-info-m4:
13751 @if m4
13752 maybe-info-m4: info-m4
13754 info-m4: \
13755 configure-m4
13756 @[ -f ./m4/Makefile ] || exit 0; \
13757 r=`${PWD_COMMAND}`; export r; \
13758 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13759 $(SET_LIB_PATH) \
13760 $(HOST_EXPORTS) \
13761 for flag in $(EXTRA_HOST_FLAGS) ; do \
13762 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13763 done; \
13764 echo "Doing info in m4" ; \
13765 (cd m4 && \
13766 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13767 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13768 "RANLIB=$${RANLIB}" \
13769 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13770 info) \
13771 || exit 1
13773 @endif m4
13775 .PHONY: maybe-dvi-m4 dvi-m4
13776 maybe-dvi-m4:
13777 @if m4
13778 maybe-dvi-m4: dvi-m4
13780 dvi-m4: \
13781 configure-m4
13782 @[ -f ./m4/Makefile ] || exit 0; \
13783 r=`${PWD_COMMAND}`; export r; \
13784 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13785 $(SET_LIB_PATH) \
13786 $(HOST_EXPORTS) \
13787 for flag in $(EXTRA_HOST_FLAGS) ; do \
13788 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13789 done; \
13790 echo "Doing dvi in m4" ; \
13791 (cd m4 && \
13792 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13793 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13794 "RANLIB=$${RANLIB}" \
13795 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13796 dvi) \
13797 || exit 1
13799 @endif m4
13801 .PHONY: maybe-TAGS-m4 TAGS-m4
13802 maybe-TAGS-m4:
13803 @if m4
13804 maybe-TAGS-m4: TAGS-m4
13806 TAGS-m4: \
13807 configure-m4
13808 @[ -f ./m4/Makefile ] || exit 0; \
13809 r=`${PWD_COMMAND}`; export r; \
13810 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13811 $(SET_LIB_PATH) \
13812 $(HOST_EXPORTS) \
13813 for flag in $(EXTRA_HOST_FLAGS) ; do \
13814 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13815 done; \
13816 echo "Doing TAGS in m4" ; \
13817 (cd m4 && \
13818 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13819 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13820 "RANLIB=$${RANLIB}" \
13821 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13822 TAGS) \
13823 || exit 1
13825 @endif m4
13827 .PHONY: maybe-install-info-m4 install-info-m4
13828 maybe-install-info-m4:
13829 @if m4
13830 maybe-install-info-m4: install-info-m4
13832 install-info-m4: \
13833 configure-m4 \
13834 info-m4
13835 @[ -f ./m4/Makefile ] || exit 0; \
13836 r=`${PWD_COMMAND}`; export r; \
13837 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13838 $(SET_LIB_PATH) \
13839 $(HOST_EXPORTS) \
13840 for flag in $(EXTRA_HOST_FLAGS) ; do \
13841 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13842 done; \
13843 echo "Doing install-info in m4" ; \
13844 (cd m4 && \
13845 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13846 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13847 "RANLIB=$${RANLIB}" \
13848 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13849 install-info) \
13850 || exit 1
13852 @endif m4
13854 .PHONY: maybe-installcheck-m4 installcheck-m4
13855 maybe-installcheck-m4:
13856 @if m4
13857 maybe-installcheck-m4: installcheck-m4
13859 installcheck-m4: \
13860 configure-m4
13861 @[ -f ./m4/Makefile ] || exit 0; \
13862 r=`${PWD_COMMAND}`; export r; \
13863 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13864 $(SET_LIB_PATH) \
13865 $(HOST_EXPORTS) \
13866 for flag in $(EXTRA_HOST_FLAGS) ; do \
13867 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13868 done; \
13869 echo "Doing installcheck in m4" ; \
13870 (cd m4 && \
13871 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13872 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13873 "RANLIB=$${RANLIB}" \
13874 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13875 installcheck) \
13876 || exit 1
13878 @endif m4
13880 .PHONY: maybe-mostlyclean-m4 mostlyclean-m4
13881 maybe-mostlyclean-m4:
13882 @if m4
13883 maybe-mostlyclean-m4: mostlyclean-m4
13885 mostlyclean-m4:
13886 @[ -f ./m4/Makefile ] || exit 0; \
13887 r=`${PWD_COMMAND}`; export r; \
13888 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13889 $(SET_LIB_PATH) \
13890 $(HOST_EXPORTS) \
13891 for flag in $(EXTRA_HOST_FLAGS) ; do \
13892 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13893 done; \
13894 echo "Doing mostlyclean in m4" ; \
13895 (cd m4 && \
13896 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13897 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13898 "RANLIB=$${RANLIB}" \
13899 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13900 mostlyclean) \
13901 || exit 1
13903 @endif m4
13905 .PHONY: maybe-clean-m4 clean-m4
13906 maybe-clean-m4:
13907 @if m4
13908 maybe-clean-m4: clean-m4
13910 clean-m4:
13911 @[ -f ./m4/Makefile ] || exit 0; \
13912 r=`${PWD_COMMAND}`; export r; \
13913 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13914 $(SET_LIB_PATH) \
13915 $(HOST_EXPORTS) \
13916 for flag in $(EXTRA_HOST_FLAGS) ; do \
13917 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13918 done; \
13919 echo "Doing clean in m4" ; \
13920 (cd m4 && \
13921 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13922 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13923 "RANLIB=$${RANLIB}" \
13924 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13925 clean) \
13926 || exit 1
13928 @endif m4
13930 .PHONY: maybe-distclean-m4 distclean-m4
13931 maybe-distclean-m4:
13932 @if m4
13933 maybe-distclean-m4: distclean-m4
13935 distclean-m4:
13936 @[ -f ./m4/Makefile ] || exit 0; \
13937 r=`${PWD_COMMAND}`; export r; \
13938 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13939 $(SET_LIB_PATH) \
13940 $(HOST_EXPORTS) \
13941 for flag in $(EXTRA_HOST_FLAGS) ; do \
13942 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13943 done; \
13944 echo "Doing distclean in m4" ; \
13945 (cd m4 && \
13946 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13947 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13948 "RANLIB=$${RANLIB}" \
13949 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13950 distclean) \
13951 || exit 1
13953 @endif m4
13955 .PHONY: maybe-maintainer-clean-m4 maintainer-clean-m4
13956 maybe-maintainer-clean-m4:
13957 @if m4
13958 maybe-maintainer-clean-m4: maintainer-clean-m4
13960 maintainer-clean-m4:
13961 @[ -f ./m4/Makefile ] || exit 0; \
13962 r=`${PWD_COMMAND}`; export r; \
13963 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13964 $(SET_LIB_PATH) \
13965 $(HOST_EXPORTS) \
13966 for flag in $(EXTRA_HOST_FLAGS) ; do \
13967 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13968 done; \
13969 echo "Doing maintainer-clean in m4" ; \
13970 (cd m4 && \
13971 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13972 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13973 "RANLIB=$${RANLIB}" \
13974 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13975 maintainer-clean) \
13976 || exit 1
13978 @endif m4
13981 .PHONY: configure-make maybe-configure-make
13982 maybe-configure-make:
13983 @if make
13984 maybe-configure-make: configure-make
13985 configure-make:
13986 @test ! -f make/Makefile || exit 0; \
13987 [ -d make ] || mkdir make; \
13988 r=`${PWD_COMMAND}`; export r; \
13989 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13990 $(HOST_EXPORTS) \
13991 echo Configuring in make; \
13992 cd make || exit 1; \
13993 case $(srcdir) in \
13994 \.) \
13995 srcdiroption="--srcdir=."; \
13996 libsrcdir=".";; \
13997 /* | [A-Za-z]:[\\/]*) \
13998 srcdiroption="--srcdir=$(srcdir)/make"; \
13999 libsrcdir="$$s/make";; \
14000 *) \
14001 srcdiroption="--srcdir=../$(srcdir)/make"; \
14002 libsrcdir="$$s/make";; \
14003 esac; \
14004 $(SHELL) $${libsrcdir}/configure \
14005 $(HOST_CONFIGARGS) $${srcdiroption} \
14006 || exit 1
14007 @endif make
14009 .PHONY: all-make maybe-all-make
14010 maybe-all-make:
14011 @if make
14012 maybe-all-make: all-make
14013 all-make: configure-make
14014 @r=`${PWD_COMMAND}`; export r; \
14015 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14016 $(SET_LIB_PATH) \
14017 $(HOST_EXPORTS) \
14018 (cd make && $(MAKE) $(FLAGS_TO_PASS) all)
14019 @endif make
14021 .PHONY: check-make maybe-check-make
14022 maybe-check-make:
14023 @if make
14024 maybe-check-make: check-make
14026 check-make:
14027 @r=`${PWD_COMMAND}`; export r; \
14028 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14029 $(SET_LIB_PATH) \
14030 $(HOST_EXPORTS) \
14031 (cd make && $(MAKE) $(FLAGS_TO_PASS) check)
14033 @endif make
14035 .PHONY: install-make maybe-install-make
14036 maybe-install-make:
14037 @if make
14038 maybe-install-make: install-make
14040 install-make: installdirs
14041 @r=`${PWD_COMMAND}`; export r; \
14042 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14043 $(SET_LIB_PATH) \
14044 $(HOST_EXPORTS) \
14045 (cd make && $(MAKE) $(FLAGS_TO_PASS) install)
14047 @endif make
14049 # Other targets (info, dvi, etc.)
14051 .PHONY: maybe-info-make info-make
14052 maybe-info-make:
14053 @if make
14054 maybe-info-make: info-make
14056 info-make: \
14057 configure-make
14058 @[ -f ./make/Makefile ] || exit 0; \
14059 r=`${PWD_COMMAND}`; export r; \
14060 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14061 $(SET_LIB_PATH) \
14062 $(HOST_EXPORTS) \
14063 for flag in $(EXTRA_HOST_FLAGS) ; do \
14064 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14065 done; \
14066 echo "Doing info in make" ; \
14067 (cd make && \
14068 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14069 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14070 "RANLIB=$${RANLIB}" \
14071 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14072 info) \
14073 || exit 1
14075 @endif make
14077 .PHONY: maybe-dvi-make dvi-make
14078 maybe-dvi-make:
14079 @if make
14080 maybe-dvi-make: dvi-make
14082 dvi-make: \
14083 configure-make
14084 @[ -f ./make/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 dvi in make" ; \
14093 (cd make && \
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 dvi) \
14099 || exit 1
14101 @endif make
14103 .PHONY: maybe-TAGS-make TAGS-make
14104 maybe-TAGS-make:
14105 @if make
14106 maybe-TAGS-make: TAGS-make
14108 TAGS-make: \
14109 configure-make
14110 @[ -f ./make/Makefile ] || exit 0; \
14111 r=`${PWD_COMMAND}`; export r; \
14112 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14113 $(SET_LIB_PATH) \
14114 $(HOST_EXPORTS) \
14115 for flag in $(EXTRA_HOST_FLAGS) ; do \
14116 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14117 done; \
14118 echo "Doing TAGS in make" ; \
14119 (cd make && \
14120 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14121 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14122 "RANLIB=$${RANLIB}" \
14123 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14124 TAGS) \
14125 || exit 1
14127 @endif make
14129 .PHONY: maybe-install-info-make install-info-make
14130 maybe-install-info-make:
14131 @if make
14132 maybe-install-info-make: install-info-make
14134 install-info-make: \
14135 configure-make \
14136 info-make
14137 @[ -f ./make/Makefile ] || exit 0; \
14138 r=`${PWD_COMMAND}`; export r; \
14139 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14140 $(SET_LIB_PATH) \
14141 $(HOST_EXPORTS) \
14142 for flag in $(EXTRA_HOST_FLAGS) ; do \
14143 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14144 done; \
14145 echo "Doing install-info in make" ; \
14146 (cd make && \
14147 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14148 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14149 "RANLIB=$${RANLIB}" \
14150 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14151 install-info) \
14152 || exit 1
14154 @endif make
14156 .PHONY: maybe-installcheck-make installcheck-make
14157 maybe-installcheck-make:
14158 @if make
14159 maybe-installcheck-make: installcheck-make
14161 installcheck-make: \
14162 configure-make
14163 @[ -f ./make/Makefile ] || exit 0; \
14164 r=`${PWD_COMMAND}`; export r; \
14165 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14166 $(SET_LIB_PATH) \
14167 $(HOST_EXPORTS) \
14168 for flag in $(EXTRA_HOST_FLAGS) ; do \
14169 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14170 done; \
14171 echo "Doing installcheck in make" ; \
14172 (cd make && \
14173 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14174 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14175 "RANLIB=$${RANLIB}" \
14176 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14177 installcheck) \
14178 || exit 1
14180 @endif make
14182 .PHONY: maybe-mostlyclean-make mostlyclean-make
14183 maybe-mostlyclean-make:
14184 @if make
14185 maybe-mostlyclean-make: mostlyclean-make
14187 mostlyclean-make:
14188 @[ -f ./make/Makefile ] || exit 0; \
14189 r=`${PWD_COMMAND}`; export r; \
14190 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14191 $(SET_LIB_PATH) \
14192 $(HOST_EXPORTS) \
14193 for flag in $(EXTRA_HOST_FLAGS) ; do \
14194 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14195 done; \
14196 echo "Doing mostlyclean in make" ; \
14197 (cd make && \
14198 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14199 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14200 "RANLIB=$${RANLIB}" \
14201 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14202 mostlyclean) \
14203 || exit 1
14205 @endif make
14207 .PHONY: maybe-clean-make clean-make
14208 maybe-clean-make:
14209 @if make
14210 maybe-clean-make: clean-make
14212 clean-make:
14213 @[ -f ./make/Makefile ] || exit 0; \
14214 r=`${PWD_COMMAND}`; export r; \
14215 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14216 $(SET_LIB_PATH) \
14217 $(HOST_EXPORTS) \
14218 for flag in $(EXTRA_HOST_FLAGS) ; do \
14219 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14220 done; \
14221 echo "Doing clean in make" ; \
14222 (cd make && \
14223 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14224 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14225 "RANLIB=$${RANLIB}" \
14226 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14227 clean) \
14228 || exit 1
14230 @endif make
14232 .PHONY: maybe-distclean-make distclean-make
14233 maybe-distclean-make:
14234 @if make
14235 maybe-distclean-make: distclean-make
14237 distclean-make:
14238 @[ -f ./make/Makefile ] || exit 0; \
14239 r=`${PWD_COMMAND}`; export r; \
14240 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14241 $(SET_LIB_PATH) \
14242 $(HOST_EXPORTS) \
14243 for flag in $(EXTRA_HOST_FLAGS) ; do \
14244 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14245 done; \
14246 echo "Doing distclean in make" ; \
14247 (cd make && \
14248 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14249 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14250 "RANLIB=$${RANLIB}" \
14251 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14252 distclean) \
14253 || exit 1
14255 @endif make
14257 .PHONY: maybe-maintainer-clean-make maintainer-clean-make
14258 maybe-maintainer-clean-make:
14259 @if make
14260 maybe-maintainer-clean-make: maintainer-clean-make
14262 maintainer-clean-make:
14263 @[ -f ./make/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 maintainer-clean in make" ; \
14272 (cd make && \
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 maintainer-clean) \
14278 || exit 1
14280 @endif make
14283 .PHONY: configure-mmalloc maybe-configure-mmalloc
14284 maybe-configure-mmalloc:
14285 @if mmalloc
14286 maybe-configure-mmalloc: configure-mmalloc
14287 configure-mmalloc:
14288 @test ! -f mmalloc/Makefile || exit 0; \
14289 [ -d mmalloc ] || mkdir mmalloc; \
14290 r=`${PWD_COMMAND}`; export r; \
14291 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14292 $(HOST_EXPORTS) \
14293 echo Configuring in mmalloc; \
14294 cd mmalloc || exit 1; \
14295 case $(srcdir) in \
14296 \.) \
14297 srcdiroption="--srcdir=."; \
14298 libsrcdir=".";; \
14299 /* | [A-Za-z]:[\\/]*) \
14300 srcdiroption="--srcdir=$(srcdir)/mmalloc"; \
14301 libsrcdir="$$s/mmalloc";; \
14302 *) \
14303 srcdiroption="--srcdir=../$(srcdir)/mmalloc"; \
14304 libsrcdir="$$s/mmalloc";; \
14305 esac; \
14306 $(SHELL) $${libsrcdir}/configure \
14307 $(HOST_CONFIGARGS) $${srcdiroption} \
14308 || exit 1
14309 @endif mmalloc
14311 .PHONY: all-mmalloc maybe-all-mmalloc
14312 maybe-all-mmalloc:
14313 @if mmalloc
14314 maybe-all-mmalloc: all-mmalloc
14315 all-mmalloc: configure-mmalloc
14316 @r=`${PWD_COMMAND}`; export r; \
14317 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14318 $(SET_LIB_PATH) \
14319 $(HOST_EXPORTS) \
14320 (cd mmalloc && $(MAKE) $(FLAGS_TO_PASS) all)
14321 @endif mmalloc
14323 .PHONY: check-mmalloc maybe-check-mmalloc
14324 maybe-check-mmalloc:
14325 @if mmalloc
14326 maybe-check-mmalloc: check-mmalloc
14328 check-mmalloc:
14330 @endif mmalloc
14332 .PHONY: install-mmalloc maybe-install-mmalloc
14333 maybe-install-mmalloc:
14334 @if mmalloc
14335 maybe-install-mmalloc: install-mmalloc
14337 install-mmalloc: installdirs
14338 @r=`${PWD_COMMAND}`; export r; \
14339 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14340 $(SET_LIB_PATH) \
14341 $(HOST_EXPORTS) \
14342 (cd mmalloc && $(MAKE) $(FLAGS_TO_PASS) install)
14344 @endif mmalloc
14346 # Other targets (info, dvi, etc.)
14348 .PHONY: maybe-info-mmalloc info-mmalloc
14349 maybe-info-mmalloc:
14350 @if mmalloc
14351 maybe-info-mmalloc: info-mmalloc
14353 info-mmalloc: \
14354 configure-mmalloc
14355 @[ -f ./mmalloc/Makefile ] || exit 0; \
14356 r=`${PWD_COMMAND}`; export r; \
14357 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14358 $(SET_LIB_PATH) \
14359 $(HOST_EXPORTS) \
14360 for flag in $(EXTRA_HOST_FLAGS) ; do \
14361 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14362 done; \
14363 echo "Doing info in mmalloc" ; \
14364 (cd mmalloc && \
14365 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14366 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14367 "RANLIB=$${RANLIB}" \
14368 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14369 info) \
14370 || exit 1
14372 @endif mmalloc
14374 .PHONY: maybe-dvi-mmalloc dvi-mmalloc
14375 maybe-dvi-mmalloc:
14376 @if mmalloc
14377 maybe-dvi-mmalloc: dvi-mmalloc
14379 dvi-mmalloc: \
14380 configure-mmalloc
14381 @[ -f ./mmalloc/Makefile ] || exit 0; \
14382 r=`${PWD_COMMAND}`; export r; \
14383 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14384 $(SET_LIB_PATH) \
14385 $(HOST_EXPORTS) \
14386 for flag in $(EXTRA_HOST_FLAGS) ; do \
14387 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14388 done; \
14389 echo "Doing dvi in mmalloc" ; \
14390 (cd mmalloc && \
14391 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14392 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14393 "RANLIB=$${RANLIB}" \
14394 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14395 dvi) \
14396 || exit 1
14398 @endif mmalloc
14400 .PHONY: maybe-TAGS-mmalloc TAGS-mmalloc
14401 maybe-TAGS-mmalloc:
14402 @if mmalloc
14403 maybe-TAGS-mmalloc: TAGS-mmalloc
14405 TAGS-mmalloc: \
14406 configure-mmalloc
14407 @[ -f ./mmalloc/Makefile ] || exit 0; \
14408 r=`${PWD_COMMAND}`; export r; \
14409 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14410 $(SET_LIB_PATH) \
14411 $(HOST_EXPORTS) \
14412 for flag in $(EXTRA_HOST_FLAGS) ; do \
14413 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14414 done; \
14415 echo "Doing TAGS in mmalloc" ; \
14416 (cd mmalloc && \
14417 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14418 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14419 "RANLIB=$${RANLIB}" \
14420 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14421 TAGS) \
14422 || exit 1
14424 @endif mmalloc
14426 .PHONY: maybe-install-info-mmalloc install-info-mmalloc
14427 maybe-install-info-mmalloc:
14428 @if mmalloc
14429 maybe-install-info-mmalloc: install-info-mmalloc
14431 install-info-mmalloc: \
14432 configure-mmalloc \
14433 info-mmalloc
14434 @[ -f ./mmalloc/Makefile ] || exit 0; \
14435 r=`${PWD_COMMAND}`; export r; \
14436 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14437 $(SET_LIB_PATH) \
14438 $(HOST_EXPORTS) \
14439 for flag in $(EXTRA_HOST_FLAGS) ; do \
14440 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14441 done; \
14442 echo "Doing install-info in mmalloc" ; \
14443 (cd mmalloc && \
14444 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14445 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14446 "RANLIB=$${RANLIB}" \
14447 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14448 install-info) \
14449 || exit 1
14451 @endif mmalloc
14453 .PHONY: maybe-installcheck-mmalloc installcheck-mmalloc
14454 maybe-installcheck-mmalloc:
14455 @if mmalloc
14456 maybe-installcheck-mmalloc: installcheck-mmalloc
14458 installcheck-mmalloc: \
14459 configure-mmalloc
14460 @[ -f ./mmalloc/Makefile ] || exit 0; \
14461 r=`${PWD_COMMAND}`; export r; \
14462 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14463 $(SET_LIB_PATH) \
14464 $(HOST_EXPORTS) \
14465 for flag in $(EXTRA_HOST_FLAGS) ; do \
14466 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14467 done; \
14468 echo "Doing installcheck in mmalloc" ; \
14469 (cd mmalloc && \
14470 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14471 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14472 "RANLIB=$${RANLIB}" \
14473 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14474 installcheck) \
14475 || exit 1
14477 @endif mmalloc
14479 .PHONY: maybe-mostlyclean-mmalloc mostlyclean-mmalloc
14480 maybe-mostlyclean-mmalloc:
14481 @if mmalloc
14482 maybe-mostlyclean-mmalloc: mostlyclean-mmalloc
14484 mostlyclean-mmalloc:
14485 @[ -f ./mmalloc/Makefile ] || exit 0; \
14486 r=`${PWD_COMMAND}`; export r; \
14487 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14488 $(SET_LIB_PATH) \
14489 $(HOST_EXPORTS) \
14490 for flag in $(EXTRA_HOST_FLAGS) ; do \
14491 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14492 done; \
14493 echo "Doing mostlyclean in mmalloc" ; \
14494 (cd mmalloc && \
14495 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14496 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14497 "RANLIB=$${RANLIB}" \
14498 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14499 mostlyclean) \
14500 || exit 1
14502 @endif mmalloc
14504 .PHONY: maybe-clean-mmalloc clean-mmalloc
14505 maybe-clean-mmalloc:
14506 @if mmalloc
14507 maybe-clean-mmalloc: clean-mmalloc
14509 clean-mmalloc:
14510 @[ -f ./mmalloc/Makefile ] || exit 0; \
14511 r=`${PWD_COMMAND}`; export r; \
14512 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14513 $(SET_LIB_PATH) \
14514 $(HOST_EXPORTS) \
14515 for flag in $(EXTRA_HOST_FLAGS) ; do \
14516 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14517 done; \
14518 echo "Doing clean in mmalloc" ; \
14519 (cd mmalloc && \
14520 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14521 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14522 "RANLIB=$${RANLIB}" \
14523 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14524 clean) \
14525 || exit 1
14527 @endif mmalloc
14529 .PHONY: maybe-distclean-mmalloc distclean-mmalloc
14530 maybe-distclean-mmalloc:
14531 @if mmalloc
14532 maybe-distclean-mmalloc: distclean-mmalloc
14534 distclean-mmalloc:
14535 @[ -f ./mmalloc/Makefile ] || exit 0; \
14536 r=`${PWD_COMMAND}`; export r; \
14537 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14538 $(SET_LIB_PATH) \
14539 $(HOST_EXPORTS) \
14540 for flag in $(EXTRA_HOST_FLAGS) ; do \
14541 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14542 done; \
14543 echo "Doing distclean in mmalloc" ; \
14544 (cd mmalloc && \
14545 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14546 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14547 "RANLIB=$${RANLIB}" \
14548 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14549 distclean) \
14550 || exit 1
14552 @endif mmalloc
14554 .PHONY: maybe-maintainer-clean-mmalloc maintainer-clean-mmalloc
14555 maybe-maintainer-clean-mmalloc:
14556 @if mmalloc
14557 maybe-maintainer-clean-mmalloc: maintainer-clean-mmalloc
14559 maintainer-clean-mmalloc:
14560 @[ -f ./mmalloc/Makefile ] || exit 0; \
14561 r=`${PWD_COMMAND}`; export r; \
14562 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14563 $(SET_LIB_PATH) \
14564 $(HOST_EXPORTS) \
14565 for flag in $(EXTRA_HOST_FLAGS) ; do \
14566 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14567 done; \
14568 echo "Doing maintainer-clean in mmalloc" ; \
14569 (cd mmalloc && \
14570 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14571 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14572 "RANLIB=$${RANLIB}" \
14573 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14574 maintainer-clean) \
14575 || exit 1
14577 @endif mmalloc
14580 .PHONY: configure-patch maybe-configure-patch
14581 maybe-configure-patch:
14582 @if patch
14583 maybe-configure-patch: configure-patch
14584 configure-patch:
14585 @test ! -f patch/Makefile || exit 0; \
14586 [ -d patch ] || mkdir patch; \
14587 r=`${PWD_COMMAND}`; export r; \
14588 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14589 $(HOST_EXPORTS) \
14590 echo Configuring in patch; \
14591 cd patch || exit 1; \
14592 case $(srcdir) in \
14593 \.) \
14594 srcdiroption="--srcdir=."; \
14595 libsrcdir=".";; \
14596 /* | [A-Za-z]:[\\/]*) \
14597 srcdiroption="--srcdir=$(srcdir)/patch"; \
14598 libsrcdir="$$s/patch";; \
14599 *) \
14600 srcdiroption="--srcdir=../$(srcdir)/patch"; \
14601 libsrcdir="$$s/patch";; \
14602 esac; \
14603 $(SHELL) $${libsrcdir}/configure \
14604 $(HOST_CONFIGARGS) $${srcdiroption} \
14605 || exit 1
14606 @endif patch
14608 .PHONY: all-patch maybe-all-patch
14609 maybe-all-patch:
14610 @if patch
14611 maybe-all-patch: all-patch
14612 all-patch: configure-patch
14613 @r=`${PWD_COMMAND}`; export r; \
14614 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14615 $(SET_LIB_PATH) \
14616 $(HOST_EXPORTS) \
14617 (cd patch && $(MAKE) $(FLAGS_TO_PASS) all)
14618 @endif patch
14620 .PHONY: check-patch maybe-check-patch
14621 maybe-check-patch:
14622 @if patch
14623 maybe-check-patch: check-patch
14625 check-patch:
14626 @r=`${PWD_COMMAND}`; export r; \
14627 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14628 $(SET_LIB_PATH) \
14629 $(HOST_EXPORTS) \
14630 (cd patch && $(MAKE) $(FLAGS_TO_PASS) check)
14632 @endif patch
14634 .PHONY: install-patch maybe-install-patch
14635 maybe-install-patch:
14636 @if patch
14637 maybe-install-patch: install-patch
14639 install-patch: installdirs
14640 @r=`${PWD_COMMAND}`; export r; \
14641 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14642 $(SET_LIB_PATH) \
14643 $(HOST_EXPORTS) \
14644 (cd patch && $(MAKE) $(FLAGS_TO_PASS) install)
14646 @endif patch
14648 # Other targets (info, dvi, etc.)
14650 .PHONY: maybe-info-patch info-patch
14651 maybe-info-patch:
14652 @if patch
14653 maybe-info-patch: info-patch
14655 info-patch: \
14656 configure-patch
14657 @[ -f ./patch/Makefile ] || exit 0; \
14658 r=`${PWD_COMMAND}`; export r; \
14659 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14660 $(SET_LIB_PATH) \
14661 $(HOST_EXPORTS) \
14662 for flag in $(EXTRA_HOST_FLAGS) ; do \
14663 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14664 done; \
14665 echo "Doing info in patch" ; \
14666 (cd patch && \
14667 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14668 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14669 "RANLIB=$${RANLIB}" \
14670 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14671 info) \
14672 || exit 1
14674 @endif patch
14676 .PHONY: maybe-dvi-patch dvi-patch
14677 maybe-dvi-patch:
14678 @if patch
14679 maybe-dvi-patch: dvi-patch
14681 dvi-patch: \
14682 configure-patch
14683 @[ -f ./patch/Makefile ] || exit 0; \
14684 r=`${PWD_COMMAND}`; export r; \
14685 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14686 $(SET_LIB_PATH) \
14687 $(HOST_EXPORTS) \
14688 for flag in $(EXTRA_HOST_FLAGS) ; do \
14689 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14690 done; \
14691 echo "Doing dvi in patch" ; \
14692 (cd patch && \
14693 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14694 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14695 "RANLIB=$${RANLIB}" \
14696 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14697 dvi) \
14698 || exit 1
14700 @endif patch
14702 .PHONY: maybe-TAGS-patch TAGS-patch
14703 maybe-TAGS-patch:
14704 @if patch
14705 maybe-TAGS-patch: TAGS-patch
14707 TAGS-patch: \
14708 configure-patch
14709 @[ -f ./patch/Makefile ] || exit 0; \
14710 r=`${PWD_COMMAND}`; export r; \
14711 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14712 $(SET_LIB_PATH) \
14713 $(HOST_EXPORTS) \
14714 for flag in $(EXTRA_HOST_FLAGS) ; do \
14715 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14716 done; \
14717 echo "Doing TAGS in patch" ; \
14718 (cd patch && \
14719 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14720 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14721 "RANLIB=$${RANLIB}" \
14722 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14723 TAGS) \
14724 || exit 1
14726 @endif patch
14728 .PHONY: maybe-install-info-patch install-info-patch
14729 maybe-install-info-patch:
14730 @if patch
14731 maybe-install-info-patch: install-info-patch
14733 install-info-patch: \
14734 configure-patch \
14735 info-patch
14736 @[ -f ./patch/Makefile ] || exit 0; \
14737 r=`${PWD_COMMAND}`; export r; \
14738 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14739 $(SET_LIB_PATH) \
14740 $(HOST_EXPORTS) \
14741 for flag in $(EXTRA_HOST_FLAGS) ; do \
14742 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14743 done; \
14744 echo "Doing install-info in patch" ; \
14745 (cd patch && \
14746 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14747 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14748 "RANLIB=$${RANLIB}" \
14749 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14750 install-info) \
14751 || exit 1
14753 @endif patch
14755 .PHONY: maybe-installcheck-patch installcheck-patch
14756 maybe-installcheck-patch:
14757 @if patch
14758 maybe-installcheck-patch: installcheck-patch
14760 installcheck-patch: \
14761 configure-patch
14762 @[ -f ./patch/Makefile ] || exit 0; \
14763 r=`${PWD_COMMAND}`; export r; \
14764 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14765 $(SET_LIB_PATH) \
14766 $(HOST_EXPORTS) \
14767 for flag in $(EXTRA_HOST_FLAGS) ; do \
14768 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14769 done; \
14770 echo "Doing installcheck in patch" ; \
14771 (cd patch && \
14772 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14773 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14774 "RANLIB=$${RANLIB}" \
14775 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14776 installcheck) \
14777 || exit 1
14779 @endif patch
14781 .PHONY: maybe-mostlyclean-patch mostlyclean-patch
14782 maybe-mostlyclean-patch:
14783 @if patch
14784 maybe-mostlyclean-patch: mostlyclean-patch
14786 mostlyclean-patch:
14787 @[ -f ./patch/Makefile ] || exit 0; \
14788 r=`${PWD_COMMAND}`; export r; \
14789 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14790 $(SET_LIB_PATH) \
14791 $(HOST_EXPORTS) \
14792 for flag in $(EXTRA_HOST_FLAGS) ; do \
14793 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14794 done; \
14795 echo "Doing mostlyclean in patch" ; \
14796 (cd patch && \
14797 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14798 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14799 "RANLIB=$${RANLIB}" \
14800 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14801 mostlyclean) \
14802 || exit 1
14804 @endif patch
14806 .PHONY: maybe-clean-patch clean-patch
14807 maybe-clean-patch:
14808 @if patch
14809 maybe-clean-patch: clean-patch
14811 clean-patch:
14812 @[ -f ./patch/Makefile ] || exit 0; \
14813 r=`${PWD_COMMAND}`; export r; \
14814 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14815 $(SET_LIB_PATH) \
14816 $(HOST_EXPORTS) \
14817 for flag in $(EXTRA_HOST_FLAGS) ; do \
14818 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14819 done; \
14820 echo "Doing clean in patch" ; \
14821 (cd patch && \
14822 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14823 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14824 "RANLIB=$${RANLIB}" \
14825 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14826 clean) \
14827 || exit 1
14829 @endif patch
14831 .PHONY: maybe-distclean-patch distclean-patch
14832 maybe-distclean-patch:
14833 @if patch
14834 maybe-distclean-patch: distclean-patch
14836 distclean-patch:
14837 @[ -f ./patch/Makefile ] || exit 0; \
14838 r=`${PWD_COMMAND}`; export r; \
14839 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14840 $(SET_LIB_PATH) \
14841 $(HOST_EXPORTS) \
14842 for flag in $(EXTRA_HOST_FLAGS) ; do \
14843 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14844 done; \
14845 echo "Doing distclean in patch" ; \
14846 (cd patch && \
14847 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14848 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14849 "RANLIB=$${RANLIB}" \
14850 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14851 distclean) \
14852 || exit 1
14854 @endif patch
14856 .PHONY: maybe-maintainer-clean-patch maintainer-clean-patch
14857 maybe-maintainer-clean-patch:
14858 @if patch
14859 maybe-maintainer-clean-patch: maintainer-clean-patch
14861 maintainer-clean-patch:
14862 @[ -f ./patch/Makefile ] || exit 0; \
14863 r=`${PWD_COMMAND}`; export r; \
14864 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14865 $(SET_LIB_PATH) \
14866 $(HOST_EXPORTS) \
14867 for flag in $(EXTRA_HOST_FLAGS) ; do \
14868 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14869 done; \
14870 echo "Doing maintainer-clean in patch" ; \
14871 (cd patch && \
14872 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14873 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14874 "RANLIB=$${RANLIB}" \
14875 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14876 maintainer-clean) \
14877 || exit 1
14879 @endif patch
14882 .PHONY: configure-perl maybe-configure-perl
14883 maybe-configure-perl:
14884 @if perl
14885 maybe-configure-perl: configure-perl
14886 configure-perl:
14887 @test ! -f perl/Makefile || exit 0; \
14888 [ -d perl ] || mkdir perl; \
14889 r=`${PWD_COMMAND}`; export r; \
14890 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14891 $(HOST_EXPORTS) \
14892 echo Configuring in perl; \
14893 cd perl || exit 1; \
14894 case $(srcdir) in \
14895 \.) \
14896 srcdiroption="--srcdir=."; \
14897 libsrcdir=".";; \
14898 /* | [A-Za-z]:[\\/]*) \
14899 srcdiroption="--srcdir=$(srcdir)/perl"; \
14900 libsrcdir="$$s/perl";; \
14901 *) \
14902 srcdiroption="--srcdir=../$(srcdir)/perl"; \
14903 libsrcdir="$$s/perl";; \
14904 esac; \
14905 $(SHELL) $${libsrcdir}/configure \
14906 $(HOST_CONFIGARGS) $${srcdiroption} \
14907 || exit 1
14908 @endif perl
14910 .PHONY: all-perl maybe-all-perl
14911 maybe-all-perl:
14912 @if perl
14913 maybe-all-perl: all-perl
14914 all-perl: configure-perl
14915 @r=`${PWD_COMMAND}`; export r; \
14916 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14917 $(SET_LIB_PATH) \
14918 $(HOST_EXPORTS) \
14919 (cd perl && $(MAKE) $(FLAGS_TO_PASS) all)
14920 @endif perl
14922 .PHONY: check-perl maybe-check-perl
14923 maybe-check-perl:
14924 @if perl
14925 maybe-check-perl: check-perl
14927 check-perl:
14928 @r=`${PWD_COMMAND}`; export r; \
14929 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14930 $(SET_LIB_PATH) \
14931 $(HOST_EXPORTS) \
14932 (cd perl && $(MAKE) $(FLAGS_TO_PASS) check)
14934 @endif perl
14936 .PHONY: install-perl maybe-install-perl
14937 maybe-install-perl:
14938 @if perl
14939 maybe-install-perl: install-perl
14941 install-perl: installdirs
14942 @r=`${PWD_COMMAND}`; export r; \
14943 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14944 $(SET_LIB_PATH) \
14945 $(HOST_EXPORTS) \
14946 (cd perl && $(MAKE) $(FLAGS_TO_PASS) install)
14948 @endif perl
14950 # Other targets (info, dvi, etc.)
14952 .PHONY: maybe-info-perl info-perl
14953 maybe-info-perl:
14954 @if perl
14955 maybe-info-perl: info-perl
14957 info-perl: \
14958 configure-perl
14959 @[ -f ./perl/Makefile ] || exit 0; \
14960 r=`${PWD_COMMAND}`; export r; \
14961 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14962 $(SET_LIB_PATH) \
14963 $(HOST_EXPORTS) \
14964 for flag in $(EXTRA_HOST_FLAGS) ; do \
14965 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14966 done; \
14967 echo "Doing info in perl" ; \
14968 (cd perl && \
14969 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14970 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14971 "RANLIB=$${RANLIB}" \
14972 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14973 info) \
14974 || exit 1
14976 @endif perl
14978 .PHONY: maybe-dvi-perl dvi-perl
14979 maybe-dvi-perl:
14980 @if perl
14981 maybe-dvi-perl: dvi-perl
14983 dvi-perl: \
14984 configure-perl
14985 @[ -f ./perl/Makefile ] || exit 0; \
14986 r=`${PWD_COMMAND}`; export r; \
14987 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14988 $(SET_LIB_PATH) \
14989 $(HOST_EXPORTS) \
14990 for flag in $(EXTRA_HOST_FLAGS) ; do \
14991 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14992 done; \
14993 echo "Doing dvi in perl" ; \
14994 (cd perl && \
14995 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14996 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14997 "RANLIB=$${RANLIB}" \
14998 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14999 dvi) \
15000 || exit 1
15002 @endif perl
15004 .PHONY: maybe-TAGS-perl TAGS-perl
15005 maybe-TAGS-perl:
15006 @if perl
15007 maybe-TAGS-perl: TAGS-perl
15009 TAGS-perl: \
15010 configure-perl
15011 @[ -f ./perl/Makefile ] || exit 0; \
15012 r=`${PWD_COMMAND}`; export r; \
15013 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15014 $(SET_LIB_PATH) \
15015 $(HOST_EXPORTS) \
15016 for flag in $(EXTRA_HOST_FLAGS) ; do \
15017 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15018 done; \
15019 echo "Doing TAGS in perl" ; \
15020 (cd perl && \
15021 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15022 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15023 "RANLIB=$${RANLIB}" \
15024 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15025 TAGS) \
15026 || exit 1
15028 @endif perl
15030 .PHONY: maybe-install-info-perl install-info-perl
15031 maybe-install-info-perl:
15032 @if perl
15033 maybe-install-info-perl: install-info-perl
15035 install-info-perl: \
15036 configure-perl \
15037 info-perl
15038 @[ -f ./perl/Makefile ] || exit 0; \
15039 r=`${PWD_COMMAND}`; export r; \
15040 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15041 $(SET_LIB_PATH) \
15042 $(HOST_EXPORTS) \
15043 for flag in $(EXTRA_HOST_FLAGS) ; do \
15044 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15045 done; \
15046 echo "Doing install-info in perl" ; \
15047 (cd perl && \
15048 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15049 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15050 "RANLIB=$${RANLIB}" \
15051 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15052 install-info) \
15053 || exit 1
15055 @endif perl
15057 .PHONY: maybe-installcheck-perl installcheck-perl
15058 maybe-installcheck-perl:
15059 @if perl
15060 maybe-installcheck-perl: installcheck-perl
15062 installcheck-perl: \
15063 configure-perl
15064 @[ -f ./perl/Makefile ] || exit 0; \
15065 r=`${PWD_COMMAND}`; export r; \
15066 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15067 $(SET_LIB_PATH) \
15068 $(HOST_EXPORTS) \
15069 for flag in $(EXTRA_HOST_FLAGS) ; do \
15070 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15071 done; \
15072 echo "Doing installcheck in perl" ; \
15073 (cd perl && \
15074 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15075 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15076 "RANLIB=$${RANLIB}" \
15077 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15078 installcheck) \
15079 || exit 1
15081 @endif perl
15083 .PHONY: maybe-mostlyclean-perl mostlyclean-perl
15084 maybe-mostlyclean-perl:
15085 @if perl
15086 maybe-mostlyclean-perl: mostlyclean-perl
15088 mostlyclean-perl:
15089 @[ -f ./perl/Makefile ] || exit 0; \
15090 r=`${PWD_COMMAND}`; export r; \
15091 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15092 $(SET_LIB_PATH) \
15093 $(HOST_EXPORTS) \
15094 for flag in $(EXTRA_HOST_FLAGS) ; do \
15095 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15096 done; \
15097 echo "Doing mostlyclean in perl" ; \
15098 (cd perl && \
15099 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15100 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15101 "RANLIB=$${RANLIB}" \
15102 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15103 mostlyclean) \
15104 || exit 1
15106 @endif perl
15108 .PHONY: maybe-clean-perl clean-perl
15109 maybe-clean-perl:
15110 @if perl
15111 maybe-clean-perl: clean-perl
15113 clean-perl:
15114 @[ -f ./perl/Makefile ] || exit 0; \
15115 r=`${PWD_COMMAND}`; export r; \
15116 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15117 $(SET_LIB_PATH) \
15118 $(HOST_EXPORTS) \
15119 for flag in $(EXTRA_HOST_FLAGS) ; do \
15120 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15121 done; \
15122 echo "Doing clean in perl" ; \
15123 (cd perl && \
15124 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15125 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15126 "RANLIB=$${RANLIB}" \
15127 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15128 clean) \
15129 || exit 1
15131 @endif perl
15133 .PHONY: maybe-distclean-perl distclean-perl
15134 maybe-distclean-perl:
15135 @if perl
15136 maybe-distclean-perl: distclean-perl
15138 distclean-perl:
15139 @[ -f ./perl/Makefile ] || exit 0; \
15140 r=`${PWD_COMMAND}`; export r; \
15141 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15142 $(SET_LIB_PATH) \
15143 $(HOST_EXPORTS) \
15144 for flag in $(EXTRA_HOST_FLAGS) ; do \
15145 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15146 done; \
15147 echo "Doing distclean in perl" ; \
15148 (cd perl && \
15149 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15150 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15151 "RANLIB=$${RANLIB}" \
15152 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15153 distclean) \
15154 || exit 1
15156 @endif perl
15158 .PHONY: maybe-maintainer-clean-perl maintainer-clean-perl
15159 maybe-maintainer-clean-perl:
15160 @if perl
15161 maybe-maintainer-clean-perl: maintainer-clean-perl
15163 maintainer-clean-perl:
15164 @[ -f ./perl/Makefile ] || exit 0; \
15165 r=`${PWD_COMMAND}`; export r; \
15166 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15167 $(SET_LIB_PATH) \
15168 $(HOST_EXPORTS) \
15169 for flag in $(EXTRA_HOST_FLAGS) ; do \
15170 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15171 done; \
15172 echo "Doing maintainer-clean in perl" ; \
15173 (cd perl && \
15174 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15175 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15176 "RANLIB=$${RANLIB}" \
15177 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15178 maintainer-clean) \
15179 || exit 1
15181 @endif perl
15184 .PHONY: configure-prms maybe-configure-prms
15185 maybe-configure-prms:
15186 @if prms
15187 maybe-configure-prms: configure-prms
15188 configure-prms:
15189 @test ! -f prms/Makefile || exit 0; \
15190 [ -d prms ] || mkdir prms; \
15191 r=`${PWD_COMMAND}`; export r; \
15192 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15193 $(HOST_EXPORTS) \
15194 echo Configuring in prms; \
15195 cd prms || exit 1; \
15196 case $(srcdir) in \
15197 \.) \
15198 srcdiroption="--srcdir=."; \
15199 libsrcdir=".";; \
15200 /* | [A-Za-z]:[\\/]*) \
15201 srcdiroption="--srcdir=$(srcdir)/prms"; \
15202 libsrcdir="$$s/prms";; \
15203 *) \
15204 srcdiroption="--srcdir=../$(srcdir)/prms"; \
15205 libsrcdir="$$s/prms";; \
15206 esac; \
15207 $(SHELL) $${libsrcdir}/configure \
15208 $(HOST_CONFIGARGS) $${srcdiroption} \
15209 || exit 1
15210 @endif prms
15212 .PHONY: all-prms maybe-all-prms
15213 maybe-all-prms:
15214 @if prms
15215 maybe-all-prms: all-prms
15216 all-prms: configure-prms
15217 @r=`${PWD_COMMAND}`; export r; \
15218 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15219 $(SET_LIB_PATH) \
15220 $(HOST_EXPORTS) \
15221 (cd prms && $(MAKE) $(FLAGS_TO_PASS) all)
15222 @endif prms
15224 .PHONY: check-prms maybe-check-prms
15225 maybe-check-prms:
15226 @if prms
15227 maybe-check-prms: check-prms
15229 check-prms:
15230 @r=`${PWD_COMMAND}`; export r; \
15231 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15232 $(SET_LIB_PATH) \
15233 $(HOST_EXPORTS) \
15234 (cd prms && $(MAKE) $(FLAGS_TO_PASS) check)
15236 @endif prms
15238 .PHONY: install-prms maybe-install-prms
15239 maybe-install-prms:
15240 @if prms
15241 maybe-install-prms: install-prms
15243 install-prms: installdirs
15244 @r=`${PWD_COMMAND}`; export r; \
15245 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15246 $(SET_LIB_PATH) \
15247 $(HOST_EXPORTS) \
15248 (cd prms && $(MAKE) $(FLAGS_TO_PASS) install)
15250 @endif prms
15252 # Other targets (info, dvi, etc.)
15254 .PHONY: maybe-info-prms info-prms
15255 maybe-info-prms:
15256 @if prms
15257 maybe-info-prms: info-prms
15259 info-prms: \
15260 configure-prms
15261 @[ -f ./prms/Makefile ] || exit 0; \
15262 r=`${PWD_COMMAND}`; export r; \
15263 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15264 $(SET_LIB_PATH) \
15265 $(HOST_EXPORTS) \
15266 for flag in $(EXTRA_HOST_FLAGS) ; do \
15267 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15268 done; \
15269 echo "Doing info in prms" ; \
15270 (cd prms && \
15271 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15272 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15273 "RANLIB=$${RANLIB}" \
15274 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15275 info) \
15276 || exit 1
15278 @endif prms
15280 .PHONY: maybe-dvi-prms dvi-prms
15281 maybe-dvi-prms:
15282 @if prms
15283 maybe-dvi-prms: dvi-prms
15285 dvi-prms: \
15286 configure-prms
15287 @[ -f ./prms/Makefile ] || exit 0; \
15288 r=`${PWD_COMMAND}`; export r; \
15289 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15290 $(SET_LIB_PATH) \
15291 $(HOST_EXPORTS) \
15292 for flag in $(EXTRA_HOST_FLAGS) ; do \
15293 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15294 done; \
15295 echo "Doing dvi in prms" ; \
15296 (cd prms && \
15297 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15298 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15299 "RANLIB=$${RANLIB}" \
15300 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15301 dvi) \
15302 || exit 1
15304 @endif prms
15306 .PHONY: maybe-TAGS-prms TAGS-prms
15307 maybe-TAGS-prms:
15308 @if prms
15309 maybe-TAGS-prms: TAGS-prms
15311 TAGS-prms: \
15312 configure-prms
15313 @[ -f ./prms/Makefile ] || exit 0; \
15314 r=`${PWD_COMMAND}`; export r; \
15315 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15316 $(SET_LIB_PATH) \
15317 $(HOST_EXPORTS) \
15318 for flag in $(EXTRA_HOST_FLAGS) ; do \
15319 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15320 done; \
15321 echo "Doing TAGS in prms" ; \
15322 (cd prms && \
15323 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15324 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15325 "RANLIB=$${RANLIB}" \
15326 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15327 TAGS) \
15328 || exit 1
15330 @endif prms
15332 .PHONY: maybe-install-info-prms install-info-prms
15333 maybe-install-info-prms:
15334 @if prms
15335 maybe-install-info-prms: install-info-prms
15337 install-info-prms: \
15338 configure-prms \
15339 info-prms
15340 @[ -f ./prms/Makefile ] || exit 0; \
15341 r=`${PWD_COMMAND}`; export r; \
15342 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15343 $(SET_LIB_PATH) \
15344 $(HOST_EXPORTS) \
15345 for flag in $(EXTRA_HOST_FLAGS) ; do \
15346 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15347 done; \
15348 echo "Doing install-info in prms" ; \
15349 (cd prms && \
15350 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15351 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15352 "RANLIB=$${RANLIB}" \
15353 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15354 install-info) \
15355 || exit 1
15357 @endif prms
15359 .PHONY: maybe-installcheck-prms installcheck-prms
15360 maybe-installcheck-prms:
15361 @if prms
15362 maybe-installcheck-prms: installcheck-prms
15364 installcheck-prms: \
15365 configure-prms
15366 @[ -f ./prms/Makefile ] || exit 0; \
15367 r=`${PWD_COMMAND}`; export r; \
15368 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15369 $(SET_LIB_PATH) \
15370 $(HOST_EXPORTS) \
15371 for flag in $(EXTRA_HOST_FLAGS) ; do \
15372 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15373 done; \
15374 echo "Doing installcheck in prms" ; \
15375 (cd prms && \
15376 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15377 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15378 "RANLIB=$${RANLIB}" \
15379 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15380 installcheck) \
15381 || exit 1
15383 @endif prms
15385 .PHONY: maybe-mostlyclean-prms mostlyclean-prms
15386 maybe-mostlyclean-prms:
15387 @if prms
15388 maybe-mostlyclean-prms: mostlyclean-prms
15390 mostlyclean-prms:
15391 @[ -f ./prms/Makefile ] || exit 0; \
15392 r=`${PWD_COMMAND}`; export r; \
15393 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15394 $(SET_LIB_PATH) \
15395 $(HOST_EXPORTS) \
15396 for flag in $(EXTRA_HOST_FLAGS) ; do \
15397 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15398 done; \
15399 echo "Doing mostlyclean in prms" ; \
15400 (cd prms && \
15401 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15402 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15403 "RANLIB=$${RANLIB}" \
15404 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15405 mostlyclean) \
15406 || exit 1
15408 @endif prms
15410 .PHONY: maybe-clean-prms clean-prms
15411 maybe-clean-prms:
15412 @if prms
15413 maybe-clean-prms: clean-prms
15415 clean-prms:
15416 @[ -f ./prms/Makefile ] || exit 0; \
15417 r=`${PWD_COMMAND}`; export r; \
15418 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15419 $(SET_LIB_PATH) \
15420 $(HOST_EXPORTS) \
15421 for flag in $(EXTRA_HOST_FLAGS) ; do \
15422 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15423 done; \
15424 echo "Doing clean in prms" ; \
15425 (cd prms && \
15426 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15427 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15428 "RANLIB=$${RANLIB}" \
15429 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15430 clean) \
15431 || exit 1
15433 @endif prms
15435 .PHONY: maybe-distclean-prms distclean-prms
15436 maybe-distclean-prms:
15437 @if prms
15438 maybe-distclean-prms: distclean-prms
15440 distclean-prms:
15441 @[ -f ./prms/Makefile ] || exit 0; \
15442 r=`${PWD_COMMAND}`; export r; \
15443 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15444 $(SET_LIB_PATH) \
15445 $(HOST_EXPORTS) \
15446 for flag in $(EXTRA_HOST_FLAGS) ; do \
15447 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15448 done; \
15449 echo "Doing distclean in prms" ; \
15450 (cd prms && \
15451 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15452 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15453 "RANLIB=$${RANLIB}" \
15454 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15455 distclean) \
15456 || exit 1
15458 @endif prms
15460 .PHONY: maybe-maintainer-clean-prms maintainer-clean-prms
15461 maybe-maintainer-clean-prms:
15462 @if prms
15463 maybe-maintainer-clean-prms: maintainer-clean-prms
15465 maintainer-clean-prms:
15466 @[ -f ./prms/Makefile ] || exit 0; \
15467 r=`${PWD_COMMAND}`; export r; \
15468 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15469 $(SET_LIB_PATH) \
15470 $(HOST_EXPORTS) \
15471 for flag in $(EXTRA_HOST_FLAGS) ; do \
15472 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15473 done; \
15474 echo "Doing maintainer-clean in prms" ; \
15475 (cd prms && \
15476 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15477 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15478 "RANLIB=$${RANLIB}" \
15479 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15480 maintainer-clean) \
15481 || exit 1
15483 @endif prms
15486 .PHONY: configure-rcs maybe-configure-rcs
15487 maybe-configure-rcs:
15488 @if rcs
15489 maybe-configure-rcs: configure-rcs
15490 configure-rcs:
15491 @test ! -f rcs/Makefile || exit 0; \
15492 [ -d rcs ] || mkdir rcs; \
15493 r=`${PWD_COMMAND}`; export r; \
15494 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15495 $(HOST_EXPORTS) \
15496 echo Configuring in rcs; \
15497 cd rcs || exit 1; \
15498 case $(srcdir) in \
15499 \.) \
15500 srcdiroption="--srcdir=."; \
15501 libsrcdir=".";; \
15502 /* | [A-Za-z]:[\\/]*) \
15503 srcdiroption="--srcdir=$(srcdir)/rcs"; \
15504 libsrcdir="$$s/rcs";; \
15505 *) \
15506 srcdiroption="--srcdir=../$(srcdir)/rcs"; \
15507 libsrcdir="$$s/rcs";; \
15508 esac; \
15509 $(SHELL) $${libsrcdir}/configure \
15510 $(HOST_CONFIGARGS) $${srcdiroption} \
15511 || exit 1
15512 @endif rcs
15514 .PHONY: all-rcs maybe-all-rcs
15515 maybe-all-rcs:
15516 @if rcs
15517 maybe-all-rcs: all-rcs
15518 all-rcs: configure-rcs
15519 @r=`${PWD_COMMAND}`; export r; \
15520 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15521 $(SET_LIB_PATH) \
15522 $(HOST_EXPORTS) \
15523 (cd rcs && $(MAKE) $(FLAGS_TO_PASS) all)
15524 @endif rcs
15526 .PHONY: check-rcs maybe-check-rcs
15527 maybe-check-rcs:
15528 @if rcs
15529 maybe-check-rcs: check-rcs
15531 check-rcs:
15532 @r=`${PWD_COMMAND}`; export r; \
15533 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15534 $(SET_LIB_PATH) \
15535 $(HOST_EXPORTS) \
15536 (cd rcs && $(MAKE) $(FLAGS_TO_PASS) check)
15538 @endif rcs
15540 .PHONY: install-rcs maybe-install-rcs
15541 maybe-install-rcs:
15542 @if rcs
15543 maybe-install-rcs: install-rcs
15545 install-rcs: installdirs
15546 @r=`${PWD_COMMAND}`; export r; \
15547 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15548 $(SET_LIB_PATH) \
15549 $(HOST_EXPORTS) \
15550 (cd rcs && $(MAKE) $(FLAGS_TO_PASS) install)
15552 @endif rcs
15554 # Other targets (info, dvi, etc.)
15556 .PHONY: maybe-info-rcs info-rcs
15557 maybe-info-rcs:
15558 @if rcs
15559 maybe-info-rcs: info-rcs
15561 info-rcs: \
15562 configure-rcs
15563 @[ -f ./rcs/Makefile ] || exit 0; \
15564 r=`${PWD_COMMAND}`; export r; \
15565 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15566 $(SET_LIB_PATH) \
15567 $(HOST_EXPORTS) \
15568 for flag in $(EXTRA_HOST_FLAGS) ; do \
15569 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15570 done; \
15571 echo "Doing info in rcs" ; \
15572 (cd rcs && \
15573 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15574 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15575 "RANLIB=$${RANLIB}" \
15576 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15577 info) \
15578 || exit 1
15580 @endif rcs
15582 .PHONY: maybe-dvi-rcs dvi-rcs
15583 maybe-dvi-rcs:
15584 @if rcs
15585 maybe-dvi-rcs: dvi-rcs
15587 dvi-rcs: \
15588 configure-rcs
15589 @[ -f ./rcs/Makefile ] || exit 0; \
15590 r=`${PWD_COMMAND}`; export r; \
15591 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15592 $(SET_LIB_PATH) \
15593 $(HOST_EXPORTS) \
15594 for flag in $(EXTRA_HOST_FLAGS) ; do \
15595 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15596 done; \
15597 echo "Doing dvi in rcs" ; \
15598 (cd rcs && \
15599 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15600 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15601 "RANLIB=$${RANLIB}" \
15602 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15603 dvi) \
15604 || exit 1
15606 @endif rcs
15608 .PHONY: maybe-TAGS-rcs TAGS-rcs
15609 maybe-TAGS-rcs:
15610 @if rcs
15611 maybe-TAGS-rcs: TAGS-rcs
15613 TAGS-rcs: \
15614 configure-rcs
15615 @[ -f ./rcs/Makefile ] || exit 0; \
15616 r=`${PWD_COMMAND}`; export r; \
15617 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15618 $(SET_LIB_PATH) \
15619 $(HOST_EXPORTS) \
15620 for flag in $(EXTRA_HOST_FLAGS) ; do \
15621 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15622 done; \
15623 echo "Doing TAGS in rcs" ; \
15624 (cd rcs && \
15625 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15626 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15627 "RANLIB=$${RANLIB}" \
15628 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15629 TAGS) \
15630 || exit 1
15632 @endif rcs
15634 .PHONY: maybe-install-info-rcs install-info-rcs
15635 maybe-install-info-rcs:
15636 @if rcs
15637 maybe-install-info-rcs: install-info-rcs
15639 install-info-rcs: \
15640 configure-rcs \
15641 info-rcs
15642 @[ -f ./rcs/Makefile ] || exit 0; \
15643 r=`${PWD_COMMAND}`; export r; \
15644 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15645 $(SET_LIB_PATH) \
15646 $(HOST_EXPORTS) \
15647 for flag in $(EXTRA_HOST_FLAGS) ; do \
15648 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15649 done; \
15650 echo "Doing install-info in rcs" ; \
15651 (cd rcs && \
15652 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15653 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15654 "RANLIB=$${RANLIB}" \
15655 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15656 install-info) \
15657 || exit 1
15659 @endif rcs
15661 .PHONY: maybe-installcheck-rcs installcheck-rcs
15662 maybe-installcheck-rcs:
15663 @if rcs
15664 maybe-installcheck-rcs: installcheck-rcs
15666 installcheck-rcs: \
15667 configure-rcs
15668 @[ -f ./rcs/Makefile ] || exit 0; \
15669 r=`${PWD_COMMAND}`; export r; \
15670 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15671 $(SET_LIB_PATH) \
15672 $(HOST_EXPORTS) \
15673 for flag in $(EXTRA_HOST_FLAGS) ; do \
15674 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15675 done; \
15676 echo "Doing installcheck in rcs" ; \
15677 (cd rcs && \
15678 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15679 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15680 "RANLIB=$${RANLIB}" \
15681 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15682 installcheck) \
15683 || exit 1
15685 @endif rcs
15687 .PHONY: maybe-mostlyclean-rcs mostlyclean-rcs
15688 maybe-mostlyclean-rcs:
15689 @if rcs
15690 maybe-mostlyclean-rcs: mostlyclean-rcs
15692 mostlyclean-rcs:
15693 @[ -f ./rcs/Makefile ] || exit 0; \
15694 r=`${PWD_COMMAND}`; export r; \
15695 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15696 $(SET_LIB_PATH) \
15697 $(HOST_EXPORTS) \
15698 for flag in $(EXTRA_HOST_FLAGS) ; do \
15699 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15700 done; \
15701 echo "Doing mostlyclean in rcs" ; \
15702 (cd rcs && \
15703 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15704 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15705 "RANLIB=$${RANLIB}" \
15706 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15707 mostlyclean) \
15708 || exit 1
15710 @endif rcs
15712 .PHONY: maybe-clean-rcs clean-rcs
15713 maybe-clean-rcs:
15714 @if rcs
15715 maybe-clean-rcs: clean-rcs
15717 clean-rcs:
15718 @[ -f ./rcs/Makefile ] || exit 0; \
15719 r=`${PWD_COMMAND}`; export r; \
15720 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15721 $(SET_LIB_PATH) \
15722 $(HOST_EXPORTS) \
15723 for flag in $(EXTRA_HOST_FLAGS) ; do \
15724 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15725 done; \
15726 echo "Doing clean in rcs" ; \
15727 (cd rcs && \
15728 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15729 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15730 "RANLIB=$${RANLIB}" \
15731 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15732 clean) \
15733 || exit 1
15735 @endif rcs
15737 .PHONY: maybe-distclean-rcs distclean-rcs
15738 maybe-distclean-rcs:
15739 @if rcs
15740 maybe-distclean-rcs: distclean-rcs
15742 distclean-rcs:
15743 @[ -f ./rcs/Makefile ] || exit 0; \
15744 r=`${PWD_COMMAND}`; export r; \
15745 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15746 $(SET_LIB_PATH) \
15747 $(HOST_EXPORTS) \
15748 for flag in $(EXTRA_HOST_FLAGS) ; do \
15749 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15750 done; \
15751 echo "Doing distclean in rcs" ; \
15752 (cd rcs && \
15753 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15754 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15755 "RANLIB=$${RANLIB}" \
15756 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15757 distclean) \
15758 || exit 1
15760 @endif rcs
15762 .PHONY: maybe-maintainer-clean-rcs maintainer-clean-rcs
15763 maybe-maintainer-clean-rcs:
15764 @if rcs
15765 maybe-maintainer-clean-rcs: maintainer-clean-rcs
15767 maintainer-clean-rcs:
15768 @[ -f ./rcs/Makefile ] || exit 0; \
15769 r=`${PWD_COMMAND}`; export r; \
15770 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15771 $(SET_LIB_PATH) \
15772 $(HOST_EXPORTS) \
15773 for flag in $(EXTRA_HOST_FLAGS) ; do \
15774 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15775 done; \
15776 echo "Doing maintainer-clean in rcs" ; \
15777 (cd rcs && \
15778 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15779 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15780 "RANLIB=$${RANLIB}" \
15781 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15782 maintainer-clean) \
15783 || exit 1
15785 @endif rcs
15788 .PHONY: configure-readline maybe-configure-readline
15789 maybe-configure-readline:
15790 @if readline
15791 maybe-configure-readline: configure-readline
15792 configure-readline:
15793 @test ! -f readline/Makefile || exit 0; \
15794 [ -d readline ] || mkdir readline; \
15795 r=`${PWD_COMMAND}`; export r; \
15796 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15797 $(HOST_EXPORTS) \
15798 echo Configuring in readline; \
15799 cd readline || exit 1; \
15800 case $(srcdir) in \
15801 \.) \
15802 srcdiroption="--srcdir=."; \
15803 libsrcdir=".";; \
15804 /* | [A-Za-z]:[\\/]*) \
15805 srcdiroption="--srcdir=$(srcdir)/readline"; \
15806 libsrcdir="$$s/readline";; \
15807 *) \
15808 srcdiroption="--srcdir=../$(srcdir)/readline"; \
15809 libsrcdir="$$s/readline";; \
15810 esac; \
15811 $(SHELL) $${libsrcdir}/configure \
15812 $(HOST_CONFIGARGS) $${srcdiroption} \
15813 || exit 1
15814 @endif readline
15816 .PHONY: all-readline maybe-all-readline
15817 maybe-all-readline:
15818 @if readline
15819 maybe-all-readline: all-readline
15820 all-readline: configure-readline
15821 @r=`${PWD_COMMAND}`; export r; \
15822 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15823 $(SET_LIB_PATH) \
15824 $(HOST_EXPORTS) \
15825 (cd readline && $(MAKE) $(FLAGS_TO_PASS) all)
15826 @endif readline
15828 .PHONY: check-readline maybe-check-readline
15829 maybe-check-readline:
15830 @if readline
15831 maybe-check-readline: check-readline
15833 check-readline:
15834 @r=`${PWD_COMMAND}`; export r; \
15835 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15836 $(SET_LIB_PATH) \
15837 $(HOST_EXPORTS) \
15838 (cd readline && $(MAKE) $(FLAGS_TO_PASS) check)
15840 @endif readline
15842 .PHONY: install-readline maybe-install-readline
15843 maybe-install-readline:
15844 @if readline
15845 maybe-install-readline: install-readline
15847 install-readline: installdirs
15848 @r=`${PWD_COMMAND}`; export r; \
15849 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15850 $(SET_LIB_PATH) \
15851 $(HOST_EXPORTS) \
15852 (cd readline && $(MAKE) $(FLAGS_TO_PASS) install)
15854 @endif readline
15856 # Other targets (info, dvi, etc.)
15858 .PHONY: maybe-info-readline info-readline
15859 maybe-info-readline:
15860 @if readline
15861 maybe-info-readline: info-readline
15863 info-readline: \
15864 configure-readline
15865 @[ -f ./readline/Makefile ] || exit 0; \
15866 r=`${PWD_COMMAND}`; export r; \
15867 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15868 $(SET_LIB_PATH) \
15869 $(HOST_EXPORTS) \
15870 for flag in $(EXTRA_HOST_FLAGS) ; do \
15871 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15872 done; \
15873 echo "Doing info in readline" ; \
15874 (cd readline && \
15875 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15876 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15877 "RANLIB=$${RANLIB}" \
15878 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15879 info) \
15880 || exit 1
15882 @endif readline
15884 .PHONY: maybe-dvi-readline dvi-readline
15885 maybe-dvi-readline:
15886 @if readline
15887 maybe-dvi-readline: dvi-readline
15889 dvi-readline: \
15890 configure-readline
15891 @[ -f ./readline/Makefile ] || exit 0; \
15892 r=`${PWD_COMMAND}`; export r; \
15893 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15894 $(SET_LIB_PATH) \
15895 $(HOST_EXPORTS) \
15896 for flag in $(EXTRA_HOST_FLAGS) ; do \
15897 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15898 done; \
15899 echo "Doing dvi in readline" ; \
15900 (cd readline && \
15901 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15902 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15903 "RANLIB=$${RANLIB}" \
15904 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15905 dvi) \
15906 || exit 1
15908 @endif readline
15910 .PHONY: maybe-TAGS-readline TAGS-readline
15911 maybe-TAGS-readline:
15912 @if readline
15913 maybe-TAGS-readline: TAGS-readline
15915 TAGS-readline: \
15916 configure-readline
15917 @[ -f ./readline/Makefile ] || exit 0; \
15918 r=`${PWD_COMMAND}`; export r; \
15919 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15920 $(SET_LIB_PATH) \
15921 $(HOST_EXPORTS) \
15922 for flag in $(EXTRA_HOST_FLAGS) ; do \
15923 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15924 done; \
15925 echo "Doing TAGS in readline" ; \
15926 (cd readline && \
15927 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15928 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15929 "RANLIB=$${RANLIB}" \
15930 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15931 TAGS) \
15932 || exit 1
15934 @endif readline
15936 .PHONY: maybe-install-info-readline install-info-readline
15937 maybe-install-info-readline:
15938 @if readline
15939 maybe-install-info-readline: install-info-readline
15941 install-info-readline: \
15942 configure-readline \
15943 info-readline
15944 @[ -f ./readline/Makefile ] || exit 0; \
15945 r=`${PWD_COMMAND}`; export r; \
15946 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15947 $(SET_LIB_PATH) \
15948 $(HOST_EXPORTS) \
15949 for flag in $(EXTRA_HOST_FLAGS) ; do \
15950 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15951 done; \
15952 echo "Doing install-info in readline" ; \
15953 (cd readline && \
15954 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15955 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15956 "RANLIB=$${RANLIB}" \
15957 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15958 install-info) \
15959 || exit 1
15961 @endif readline
15963 .PHONY: maybe-installcheck-readline installcheck-readline
15964 maybe-installcheck-readline:
15965 @if readline
15966 maybe-installcheck-readline: installcheck-readline
15968 installcheck-readline: \
15969 configure-readline
15970 @[ -f ./readline/Makefile ] || exit 0; \
15971 r=`${PWD_COMMAND}`; export r; \
15972 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15973 $(SET_LIB_PATH) \
15974 $(HOST_EXPORTS) \
15975 for flag in $(EXTRA_HOST_FLAGS) ; do \
15976 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15977 done; \
15978 echo "Doing installcheck in readline" ; \
15979 (cd readline && \
15980 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15981 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15982 "RANLIB=$${RANLIB}" \
15983 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15984 installcheck) \
15985 || exit 1
15987 @endif readline
15989 .PHONY: maybe-mostlyclean-readline mostlyclean-readline
15990 maybe-mostlyclean-readline:
15991 @if readline
15992 maybe-mostlyclean-readline: mostlyclean-readline
15994 mostlyclean-readline:
15995 @[ -f ./readline/Makefile ] || exit 0; \
15996 r=`${PWD_COMMAND}`; export r; \
15997 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15998 $(SET_LIB_PATH) \
15999 $(HOST_EXPORTS) \
16000 for flag in $(EXTRA_HOST_FLAGS) ; do \
16001 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16002 done; \
16003 echo "Doing mostlyclean in readline" ; \
16004 (cd readline && \
16005 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16006 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16007 "RANLIB=$${RANLIB}" \
16008 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16009 mostlyclean) \
16010 || exit 1
16012 @endif readline
16014 .PHONY: maybe-clean-readline clean-readline
16015 maybe-clean-readline:
16016 @if readline
16017 maybe-clean-readline: clean-readline
16019 clean-readline:
16020 @[ -f ./readline/Makefile ] || exit 0; \
16021 r=`${PWD_COMMAND}`; export r; \
16022 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16023 $(SET_LIB_PATH) \
16024 $(HOST_EXPORTS) \
16025 for flag in $(EXTRA_HOST_FLAGS) ; do \
16026 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16027 done; \
16028 echo "Doing clean in readline" ; \
16029 (cd readline && \
16030 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16031 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16032 "RANLIB=$${RANLIB}" \
16033 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16034 clean) \
16035 || exit 1
16037 @endif readline
16039 .PHONY: maybe-distclean-readline distclean-readline
16040 maybe-distclean-readline:
16041 @if readline
16042 maybe-distclean-readline: distclean-readline
16044 distclean-readline:
16045 @[ -f ./readline/Makefile ] || exit 0; \
16046 r=`${PWD_COMMAND}`; export r; \
16047 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16048 $(SET_LIB_PATH) \
16049 $(HOST_EXPORTS) \
16050 for flag in $(EXTRA_HOST_FLAGS) ; do \
16051 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16052 done; \
16053 echo "Doing distclean in readline" ; \
16054 (cd readline && \
16055 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16056 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16057 "RANLIB=$${RANLIB}" \
16058 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16059 distclean) \
16060 || exit 1
16062 @endif readline
16064 .PHONY: maybe-maintainer-clean-readline maintainer-clean-readline
16065 maybe-maintainer-clean-readline:
16066 @if readline
16067 maybe-maintainer-clean-readline: maintainer-clean-readline
16069 maintainer-clean-readline:
16070 @[ -f ./readline/Makefile ] || exit 0; \
16071 r=`${PWD_COMMAND}`; export r; \
16072 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16073 $(SET_LIB_PATH) \
16074 $(HOST_EXPORTS) \
16075 for flag in $(EXTRA_HOST_FLAGS) ; do \
16076 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16077 done; \
16078 echo "Doing maintainer-clean in readline" ; \
16079 (cd readline && \
16080 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16081 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16082 "RANLIB=$${RANLIB}" \
16083 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16084 maintainer-clean) \
16085 || exit 1
16087 @endif readline
16090 .PHONY: configure-release maybe-configure-release
16091 maybe-configure-release:
16092 @if release
16093 maybe-configure-release: configure-release
16094 configure-release:
16095 @test ! -f release/Makefile || exit 0; \
16096 [ -d release ] || mkdir release; \
16097 r=`${PWD_COMMAND}`; export r; \
16098 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16099 $(HOST_EXPORTS) \
16100 echo Configuring in release; \
16101 cd release || exit 1; \
16102 case $(srcdir) in \
16103 \.) \
16104 srcdiroption="--srcdir=."; \
16105 libsrcdir=".";; \
16106 /* | [A-Za-z]:[\\/]*) \
16107 srcdiroption="--srcdir=$(srcdir)/release"; \
16108 libsrcdir="$$s/release";; \
16109 *) \
16110 srcdiroption="--srcdir=../$(srcdir)/release"; \
16111 libsrcdir="$$s/release";; \
16112 esac; \
16113 $(SHELL) $${libsrcdir}/configure \
16114 $(HOST_CONFIGARGS) $${srcdiroption} \
16115 || exit 1
16116 @endif release
16118 .PHONY: all-release maybe-all-release
16119 maybe-all-release:
16120 @if release
16121 maybe-all-release: all-release
16122 all-release: configure-release
16123 @r=`${PWD_COMMAND}`; export r; \
16124 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16125 $(SET_LIB_PATH) \
16126 $(HOST_EXPORTS) \
16127 (cd release && $(MAKE) $(FLAGS_TO_PASS) all)
16128 @endif release
16130 .PHONY: check-release maybe-check-release
16131 maybe-check-release:
16132 @if release
16133 maybe-check-release: check-release
16135 check-release:
16137 @endif release
16139 .PHONY: install-release maybe-install-release
16140 maybe-install-release:
16141 @if release
16142 maybe-install-release: install-release
16144 install-release:
16146 @endif release
16148 # Other targets (info, dvi, etc.)
16150 .PHONY: maybe-info-release info-release
16151 maybe-info-release:
16152 @if release
16153 maybe-info-release: info-release
16155 info-release: \
16156 configure-release
16157 @[ -f ./release/Makefile ] || exit 0; \
16158 r=`${PWD_COMMAND}`; export r; \
16159 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16160 $(SET_LIB_PATH) \
16161 $(HOST_EXPORTS) \
16162 for flag in $(EXTRA_HOST_FLAGS) ; do \
16163 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16164 done; \
16165 echo "Doing info in release" ; \
16166 (cd release && \
16167 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16168 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16169 "RANLIB=$${RANLIB}" \
16170 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16171 info) \
16172 || exit 1
16174 @endif release
16176 .PHONY: maybe-dvi-release dvi-release
16177 maybe-dvi-release:
16178 @if release
16179 maybe-dvi-release: dvi-release
16181 dvi-release: \
16182 configure-release
16183 @[ -f ./release/Makefile ] || exit 0; \
16184 r=`${PWD_COMMAND}`; export r; \
16185 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16186 $(SET_LIB_PATH) \
16187 $(HOST_EXPORTS) \
16188 for flag in $(EXTRA_HOST_FLAGS) ; do \
16189 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16190 done; \
16191 echo "Doing dvi in release" ; \
16192 (cd release && \
16193 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16194 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16195 "RANLIB=$${RANLIB}" \
16196 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16197 dvi) \
16198 || exit 1
16200 @endif release
16202 .PHONY: maybe-TAGS-release TAGS-release
16203 maybe-TAGS-release:
16204 @if release
16205 maybe-TAGS-release: TAGS-release
16207 TAGS-release: \
16208 configure-release
16209 @[ -f ./release/Makefile ] || exit 0; \
16210 r=`${PWD_COMMAND}`; export r; \
16211 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16212 $(SET_LIB_PATH) \
16213 $(HOST_EXPORTS) \
16214 for flag in $(EXTRA_HOST_FLAGS) ; do \
16215 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16216 done; \
16217 echo "Doing TAGS in release" ; \
16218 (cd release && \
16219 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16220 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16221 "RANLIB=$${RANLIB}" \
16222 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16223 TAGS) \
16224 || exit 1
16226 @endif release
16228 .PHONY: maybe-install-info-release install-info-release
16229 maybe-install-info-release:
16230 @if release
16231 maybe-install-info-release: install-info-release
16233 install-info-release: \
16234 configure-release \
16235 info-release
16236 @[ -f ./release/Makefile ] || exit 0; \
16237 r=`${PWD_COMMAND}`; export r; \
16238 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16239 $(SET_LIB_PATH) \
16240 $(HOST_EXPORTS) \
16241 for flag in $(EXTRA_HOST_FLAGS) ; do \
16242 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16243 done; \
16244 echo "Doing install-info in release" ; \
16245 (cd release && \
16246 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16247 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16248 "RANLIB=$${RANLIB}" \
16249 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16250 install-info) \
16251 || exit 1
16253 @endif release
16255 .PHONY: maybe-installcheck-release installcheck-release
16256 maybe-installcheck-release:
16257 @if release
16258 maybe-installcheck-release: installcheck-release
16260 installcheck-release: \
16261 configure-release
16262 @[ -f ./release/Makefile ] || exit 0; \
16263 r=`${PWD_COMMAND}`; export r; \
16264 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16265 $(SET_LIB_PATH) \
16266 $(HOST_EXPORTS) \
16267 for flag in $(EXTRA_HOST_FLAGS) ; do \
16268 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16269 done; \
16270 echo "Doing installcheck in release" ; \
16271 (cd release && \
16272 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16273 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16274 "RANLIB=$${RANLIB}" \
16275 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16276 installcheck) \
16277 || exit 1
16279 @endif release
16281 .PHONY: maybe-mostlyclean-release mostlyclean-release
16282 maybe-mostlyclean-release:
16283 @if release
16284 maybe-mostlyclean-release: mostlyclean-release
16286 mostlyclean-release:
16287 @[ -f ./release/Makefile ] || exit 0; \
16288 r=`${PWD_COMMAND}`; export r; \
16289 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16290 $(SET_LIB_PATH) \
16291 $(HOST_EXPORTS) \
16292 for flag in $(EXTRA_HOST_FLAGS) ; do \
16293 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16294 done; \
16295 echo "Doing mostlyclean in release" ; \
16296 (cd release && \
16297 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16298 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16299 "RANLIB=$${RANLIB}" \
16300 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16301 mostlyclean) \
16302 || exit 1
16304 @endif release
16306 .PHONY: maybe-clean-release clean-release
16307 maybe-clean-release:
16308 @if release
16309 maybe-clean-release: clean-release
16311 clean-release:
16312 @[ -f ./release/Makefile ] || exit 0; \
16313 r=`${PWD_COMMAND}`; export r; \
16314 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16315 $(SET_LIB_PATH) \
16316 $(HOST_EXPORTS) \
16317 for flag in $(EXTRA_HOST_FLAGS) ; do \
16318 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16319 done; \
16320 echo "Doing clean in release" ; \
16321 (cd release && \
16322 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16323 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16324 "RANLIB=$${RANLIB}" \
16325 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16326 clean) \
16327 || exit 1
16329 @endif release
16331 .PHONY: maybe-distclean-release distclean-release
16332 maybe-distclean-release:
16333 @if release
16334 maybe-distclean-release: distclean-release
16336 distclean-release:
16337 @[ -f ./release/Makefile ] || exit 0; \
16338 r=`${PWD_COMMAND}`; export r; \
16339 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16340 $(SET_LIB_PATH) \
16341 $(HOST_EXPORTS) \
16342 for flag in $(EXTRA_HOST_FLAGS) ; do \
16343 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16344 done; \
16345 echo "Doing distclean in release" ; \
16346 (cd release && \
16347 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16348 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16349 "RANLIB=$${RANLIB}" \
16350 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16351 distclean) \
16352 || exit 1
16354 @endif release
16356 .PHONY: maybe-maintainer-clean-release maintainer-clean-release
16357 maybe-maintainer-clean-release:
16358 @if release
16359 maybe-maintainer-clean-release: maintainer-clean-release
16361 maintainer-clean-release:
16362 @[ -f ./release/Makefile ] || exit 0; \
16363 r=`${PWD_COMMAND}`; export r; \
16364 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16365 $(SET_LIB_PATH) \
16366 $(HOST_EXPORTS) \
16367 for flag in $(EXTRA_HOST_FLAGS) ; do \
16368 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16369 done; \
16370 echo "Doing maintainer-clean in release" ; \
16371 (cd release && \
16372 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16373 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16374 "RANLIB=$${RANLIB}" \
16375 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16376 maintainer-clean) \
16377 || exit 1
16379 @endif release
16382 .PHONY: configure-recode maybe-configure-recode
16383 maybe-configure-recode:
16384 @if recode
16385 maybe-configure-recode: configure-recode
16386 configure-recode:
16387 @test ! -f recode/Makefile || exit 0; \
16388 [ -d recode ] || mkdir recode; \
16389 r=`${PWD_COMMAND}`; export r; \
16390 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16391 $(HOST_EXPORTS) \
16392 echo Configuring in recode; \
16393 cd recode || exit 1; \
16394 case $(srcdir) in \
16395 \.) \
16396 srcdiroption="--srcdir=."; \
16397 libsrcdir=".";; \
16398 /* | [A-Za-z]:[\\/]*) \
16399 srcdiroption="--srcdir=$(srcdir)/recode"; \
16400 libsrcdir="$$s/recode";; \
16401 *) \
16402 srcdiroption="--srcdir=../$(srcdir)/recode"; \
16403 libsrcdir="$$s/recode";; \
16404 esac; \
16405 $(SHELL) $${libsrcdir}/configure \
16406 $(HOST_CONFIGARGS) $${srcdiroption} \
16407 || exit 1
16408 @endif recode
16410 .PHONY: all-recode maybe-all-recode
16411 maybe-all-recode:
16412 @if recode
16413 maybe-all-recode: all-recode
16414 all-recode: configure-recode
16415 @r=`${PWD_COMMAND}`; export r; \
16416 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16417 $(SET_LIB_PATH) \
16418 $(HOST_EXPORTS) \
16419 (cd recode && $(MAKE) $(FLAGS_TO_PASS) all)
16420 @endif recode
16422 .PHONY: check-recode maybe-check-recode
16423 maybe-check-recode:
16424 @if recode
16425 maybe-check-recode: check-recode
16427 check-recode:
16428 @r=`${PWD_COMMAND}`; export r; \
16429 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16430 $(SET_LIB_PATH) \
16431 $(HOST_EXPORTS) \
16432 (cd recode && $(MAKE) $(FLAGS_TO_PASS) check)
16434 @endif recode
16436 .PHONY: install-recode maybe-install-recode
16437 maybe-install-recode:
16438 @if recode
16439 maybe-install-recode: install-recode
16441 install-recode: installdirs
16442 @r=`${PWD_COMMAND}`; export r; \
16443 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16444 $(SET_LIB_PATH) \
16445 $(HOST_EXPORTS) \
16446 (cd recode && $(MAKE) $(FLAGS_TO_PASS) install)
16448 @endif recode
16450 # Other targets (info, dvi, etc.)
16452 .PHONY: maybe-info-recode info-recode
16453 maybe-info-recode:
16454 @if recode
16455 maybe-info-recode: info-recode
16457 info-recode: \
16458 configure-recode
16459 @[ -f ./recode/Makefile ] || exit 0; \
16460 r=`${PWD_COMMAND}`; export r; \
16461 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16462 $(SET_LIB_PATH) \
16463 $(HOST_EXPORTS) \
16464 for flag in $(EXTRA_HOST_FLAGS) ; do \
16465 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16466 done; \
16467 echo "Doing info in recode" ; \
16468 (cd recode && \
16469 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16470 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16471 "RANLIB=$${RANLIB}" \
16472 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16473 info) \
16474 || exit 1
16476 @endif recode
16478 .PHONY: maybe-dvi-recode dvi-recode
16479 maybe-dvi-recode:
16480 @if recode
16481 maybe-dvi-recode: dvi-recode
16483 dvi-recode: \
16484 configure-recode
16485 @[ -f ./recode/Makefile ] || exit 0; \
16486 r=`${PWD_COMMAND}`; export r; \
16487 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16488 $(SET_LIB_PATH) \
16489 $(HOST_EXPORTS) \
16490 for flag in $(EXTRA_HOST_FLAGS) ; do \
16491 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16492 done; \
16493 echo "Doing dvi in recode" ; \
16494 (cd recode && \
16495 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16496 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16497 "RANLIB=$${RANLIB}" \
16498 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16499 dvi) \
16500 || exit 1
16502 @endif recode
16504 .PHONY: maybe-TAGS-recode TAGS-recode
16505 maybe-TAGS-recode:
16506 @if recode
16507 maybe-TAGS-recode: TAGS-recode
16509 TAGS-recode: \
16510 configure-recode
16511 @[ -f ./recode/Makefile ] || exit 0; \
16512 r=`${PWD_COMMAND}`; export r; \
16513 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16514 $(SET_LIB_PATH) \
16515 $(HOST_EXPORTS) \
16516 for flag in $(EXTRA_HOST_FLAGS) ; do \
16517 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16518 done; \
16519 echo "Doing TAGS in recode" ; \
16520 (cd recode && \
16521 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16522 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16523 "RANLIB=$${RANLIB}" \
16524 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16525 TAGS) \
16526 || exit 1
16528 @endif recode
16530 .PHONY: maybe-install-info-recode install-info-recode
16531 maybe-install-info-recode:
16532 @if recode
16533 maybe-install-info-recode: install-info-recode
16535 install-info-recode: \
16536 configure-recode \
16537 info-recode
16538 @[ -f ./recode/Makefile ] || exit 0; \
16539 r=`${PWD_COMMAND}`; export r; \
16540 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16541 $(SET_LIB_PATH) \
16542 $(HOST_EXPORTS) \
16543 for flag in $(EXTRA_HOST_FLAGS) ; do \
16544 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16545 done; \
16546 echo "Doing install-info in recode" ; \
16547 (cd recode && \
16548 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16549 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16550 "RANLIB=$${RANLIB}" \
16551 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16552 install-info) \
16553 || exit 1
16555 @endif recode
16557 .PHONY: maybe-installcheck-recode installcheck-recode
16558 maybe-installcheck-recode:
16559 @if recode
16560 maybe-installcheck-recode: installcheck-recode
16562 installcheck-recode: \
16563 configure-recode
16564 @[ -f ./recode/Makefile ] || exit 0; \
16565 r=`${PWD_COMMAND}`; export r; \
16566 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16567 $(SET_LIB_PATH) \
16568 $(HOST_EXPORTS) \
16569 for flag in $(EXTRA_HOST_FLAGS) ; do \
16570 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16571 done; \
16572 echo "Doing installcheck in recode" ; \
16573 (cd recode && \
16574 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16575 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16576 "RANLIB=$${RANLIB}" \
16577 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16578 installcheck) \
16579 || exit 1
16581 @endif recode
16583 .PHONY: maybe-mostlyclean-recode mostlyclean-recode
16584 maybe-mostlyclean-recode:
16585 @if recode
16586 maybe-mostlyclean-recode: mostlyclean-recode
16588 mostlyclean-recode:
16589 @[ -f ./recode/Makefile ] || exit 0; \
16590 r=`${PWD_COMMAND}`; export r; \
16591 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16592 $(SET_LIB_PATH) \
16593 $(HOST_EXPORTS) \
16594 for flag in $(EXTRA_HOST_FLAGS) ; do \
16595 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16596 done; \
16597 echo "Doing mostlyclean in recode" ; \
16598 (cd recode && \
16599 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16600 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16601 "RANLIB=$${RANLIB}" \
16602 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16603 mostlyclean) \
16604 || exit 1
16606 @endif recode
16608 .PHONY: maybe-clean-recode clean-recode
16609 maybe-clean-recode:
16610 @if recode
16611 maybe-clean-recode: clean-recode
16613 clean-recode:
16614 @[ -f ./recode/Makefile ] || exit 0; \
16615 r=`${PWD_COMMAND}`; export r; \
16616 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16617 $(SET_LIB_PATH) \
16618 $(HOST_EXPORTS) \
16619 for flag in $(EXTRA_HOST_FLAGS) ; do \
16620 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16621 done; \
16622 echo "Doing clean in recode" ; \
16623 (cd recode && \
16624 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16625 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16626 "RANLIB=$${RANLIB}" \
16627 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16628 clean) \
16629 || exit 1
16631 @endif recode
16633 .PHONY: maybe-distclean-recode distclean-recode
16634 maybe-distclean-recode:
16635 @if recode
16636 maybe-distclean-recode: distclean-recode
16638 distclean-recode:
16639 @[ -f ./recode/Makefile ] || exit 0; \
16640 r=`${PWD_COMMAND}`; export r; \
16641 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16642 $(SET_LIB_PATH) \
16643 $(HOST_EXPORTS) \
16644 for flag in $(EXTRA_HOST_FLAGS) ; do \
16645 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16646 done; \
16647 echo "Doing distclean in recode" ; \
16648 (cd recode && \
16649 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16650 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16651 "RANLIB=$${RANLIB}" \
16652 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16653 distclean) \
16654 || exit 1
16656 @endif recode
16658 .PHONY: maybe-maintainer-clean-recode maintainer-clean-recode
16659 maybe-maintainer-clean-recode:
16660 @if recode
16661 maybe-maintainer-clean-recode: maintainer-clean-recode
16663 maintainer-clean-recode:
16664 @[ -f ./recode/Makefile ] || exit 0; \
16665 r=`${PWD_COMMAND}`; export r; \
16666 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16667 $(SET_LIB_PATH) \
16668 $(HOST_EXPORTS) \
16669 for flag in $(EXTRA_HOST_FLAGS) ; do \
16670 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16671 done; \
16672 echo "Doing maintainer-clean in recode" ; \
16673 (cd recode && \
16674 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16675 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16676 "RANLIB=$${RANLIB}" \
16677 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16678 maintainer-clean) \
16679 || exit 1
16681 @endif recode
16684 .PHONY: configure-sed maybe-configure-sed
16685 maybe-configure-sed:
16686 @if sed
16687 maybe-configure-sed: configure-sed
16688 configure-sed:
16689 @test ! -f sed/Makefile || exit 0; \
16690 [ -d sed ] || mkdir sed; \
16691 r=`${PWD_COMMAND}`; export r; \
16692 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16693 $(HOST_EXPORTS) \
16694 echo Configuring in sed; \
16695 cd sed || exit 1; \
16696 case $(srcdir) in \
16697 \.) \
16698 srcdiroption="--srcdir=."; \
16699 libsrcdir=".";; \
16700 /* | [A-Za-z]:[\\/]*) \
16701 srcdiroption="--srcdir=$(srcdir)/sed"; \
16702 libsrcdir="$$s/sed";; \
16703 *) \
16704 srcdiroption="--srcdir=../$(srcdir)/sed"; \
16705 libsrcdir="$$s/sed";; \
16706 esac; \
16707 $(SHELL) $${libsrcdir}/configure \
16708 $(HOST_CONFIGARGS) $${srcdiroption} \
16709 || exit 1
16710 @endif sed
16712 .PHONY: all-sed maybe-all-sed
16713 maybe-all-sed:
16714 @if sed
16715 maybe-all-sed: all-sed
16716 all-sed: configure-sed
16717 @r=`${PWD_COMMAND}`; export r; \
16718 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16719 $(SET_LIB_PATH) \
16720 $(HOST_EXPORTS) \
16721 (cd sed && $(MAKE) $(FLAGS_TO_PASS) all)
16722 @endif sed
16724 .PHONY: check-sed maybe-check-sed
16725 maybe-check-sed:
16726 @if sed
16727 maybe-check-sed: check-sed
16729 check-sed:
16730 @r=`${PWD_COMMAND}`; export r; \
16731 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16732 $(SET_LIB_PATH) \
16733 $(HOST_EXPORTS) \
16734 (cd sed && $(MAKE) $(FLAGS_TO_PASS) check)
16736 @endif sed
16738 .PHONY: install-sed maybe-install-sed
16739 maybe-install-sed:
16740 @if sed
16741 maybe-install-sed: install-sed
16743 install-sed: installdirs
16744 @r=`${PWD_COMMAND}`; export r; \
16745 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16746 $(SET_LIB_PATH) \
16747 $(HOST_EXPORTS) \
16748 (cd sed && $(MAKE) $(FLAGS_TO_PASS) install)
16750 @endif sed
16752 # Other targets (info, dvi, etc.)
16754 .PHONY: maybe-info-sed info-sed
16755 maybe-info-sed:
16756 @if sed
16757 maybe-info-sed: info-sed
16759 info-sed: \
16760 configure-sed
16761 @[ -f ./sed/Makefile ] || exit 0; \
16762 r=`${PWD_COMMAND}`; export r; \
16763 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16764 $(SET_LIB_PATH) \
16765 $(HOST_EXPORTS) \
16766 for flag in $(EXTRA_HOST_FLAGS) ; do \
16767 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16768 done; \
16769 echo "Doing info in sed" ; \
16770 (cd sed && \
16771 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16772 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16773 "RANLIB=$${RANLIB}" \
16774 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16775 info) \
16776 || exit 1
16778 @endif sed
16780 .PHONY: maybe-dvi-sed dvi-sed
16781 maybe-dvi-sed:
16782 @if sed
16783 maybe-dvi-sed: dvi-sed
16785 dvi-sed: \
16786 configure-sed
16787 @[ -f ./sed/Makefile ] || exit 0; \
16788 r=`${PWD_COMMAND}`; export r; \
16789 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16790 $(SET_LIB_PATH) \
16791 $(HOST_EXPORTS) \
16792 for flag in $(EXTRA_HOST_FLAGS) ; do \
16793 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16794 done; \
16795 echo "Doing dvi in sed" ; \
16796 (cd sed && \
16797 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16798 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16799 "RANLIB=$${RANLIB}" \
16800 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16801 dvi) \
16802 || exit 1
16804 @endif sed
16806 .PHONY: maybe-TAGS-sed TAGS-sed
16807 maybe-TAGS-sed:
16808 @if sed
16809 maybe-TAGS-sed: TAGS-sed
16811 TAGS-sed: \
16812 configure-sed
16813 @[ -f ./sed/Makefile ] || exit 0; \
16814 r=`${PWD_COMMAND}`; export r; \
16815 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16816 $(SET_LIB_PATH) \
16817 $(HOST_EXPORTS) \
16818 for flag in $(EXTRA_HOST_FLAGS) ; do \
16819 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16820 done; \
16821 echo "Doing TAGS in sed" ; \
16822 (cd sed && \
16823 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16824 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16825 "RANLIB=$${RANLIB}" \
16826 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16827 TAGS) \
16828 || exit 1
16830 @endif sed
16832 .PHONY: maybe-install-info-sed install-info-sed
16833 maybe-install-info-sed:
16834 @if sed
16835 maybe-install-info-sed: install-info-sed
16837 install-info-sed: \
16838 configure-sed \
16839 info-sed
16840 @[ -f ./sed/Makefile ] || exit 0; \
16841 r=`${PWD_COMMAND}`; export r; \
16842 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16843 $(SET_LIB_PATH) \
16844 $(HOST_EXPORTS) \
16845 for flag in $(EXTRA_HOST_FLAGS) ; do \
16846 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16847 done; \
16848 echo "Doing install-info in sed" ; \
16849 (cd sed && \
16850 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16851 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16852 "RANLIB=$${RANLIB}" \
16853 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16854 install-info) \
16855 || exit 1
16857 @endif sed
16859 .PHONY: maybe-installcheck-sed installcheck-sed
16860 maybe-installcheck-sed:
16861 @if sed
16862 maybe-installcheck-sed: installcheck-sed
16864 installcheck-sed: \
16865 configure-sed
16866 @[ -f ./sed/Makefile ] || exit 0; \
16867 r=`${PWD_COMMAND}`; export r; \
16868 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16869 $(SET_LIB_PATH) \
16870 $(HOST_EXPORTS) \
16871 for flag in $(EXTRA_HOST_FLAGS) ; do \
16872 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16873 done; \
16874 echo "Doing installcheck in sed" ; \
16875 (cd sed && \
16876 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16877 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16878 "RANLIB=$${RANLIB}" \
16879 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16880 installcheck) \
16881 || exit 1
16883 @endif sed
16885 .PHONY: maybe-mostlyclean-sed mostlyclean-sed
16886 maybe-mostlyclean-sed:
16887 @if sed
16888 maybe-mostlyclean-sed: mostlyclean-sed
16890 mostlyclean-sed:
16891 @[ -f ./sed/Makefile ] || exit 0; \
16892 r=`${PWD_COMMAND}`; export r; \
16893 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16894 $(SET_LIB_PATH) \
16895 $(HOST_EXPORTS) \
16896 for flag in $(EXTRA_HOST_FLAGS) ; do \
16897 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16898 done; \
16899 echo "Doing mostlyclean in sed" ; \
16900 (cd sed && \
16901 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16902 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16903 "RANLIB=$${RANLIB}" \
16904 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16905 mostlyclean) \
16906 || exit 1
16908 @endif sed
16910 .PHONY: maybe-clean-sed clean-sed
16911 maybe-clean-sed:
16912 @if sed
16913 maybe-clean-sed: clean-sed
16915 clean-sed:
16916 @[ -f ./sed/Makefile ] || exit 0; \
16917 r=`${PWD_COMMAND}`; export r; \
16918 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16919 $(SET_LIB_PATH) \
16920 $(HOST_EXPORTS) \
16921 for flag in $(EXTRA_HOST_FLAGS) ; do \
16922 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16923 done; \
16924 echo "Doing clean in sed" ; \
16925 (cd sed && \
16926 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16927 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16928 "RANLIB=$${RANLIB}" \
16929 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16930 clean) \
16931 || exit 1
16933 @endif sed
16935 .PHONY: maybe-distclean-sed distclean-sed
16936 maybe-distclean-sed:
16937 @if sed
16938 maybe-distclean-sed: distclean-sed
16940 distclean-sed:
16941 @[ -f ./sed/Makefile ] || exit 0; \
16942 r=`${PWD_COMMAND}`; export r; \
16943 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16944 $(SET_LIB_PATH) \
16945 $(HOST_EXPORTS) \
16946 for flag in $(EXTRA_HOST_FLAGS) ; do \
16947 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16948 done; \
16949 echo "Doing distclean in sed" ; \
16950 (cd sed && \
16951 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16952 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16953 "RANLIB=$${RANLIB}" \
16954 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16955 distclean) \
16956 || exit 1
16958 @endif sed
16960 .PHONY: maybe-maintainer-clean-sed maintainer-clean-sed
16961 maybe-maintainer-clean-sed:
16962 @if sed
16963 maybe-maintainer-clean-sed: maintainer-clean-sed
16965 maintainer-clean-sed:
16966 @[ -f ./sed/Makefile ] || exit 0; \
16967 r=`${PWD_COMMAND}`; export r; \
16968 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16969 $(SET_LIB_PATH) \
16970 $(HOST_EXPORTS) \
16971 for flag in $(EXTRA_HOST_FLAGS) ; do \
16972 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16973 done; \
16974 echo "Doing maintainer-clean in sed" ; \
16975 (cd sed && \
16976 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16977 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16978 "RANLIB=$${RANLIB}" \
16979 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16980 maintainer-clean) \
16981 || exit 1
16983 @endif sed
16986 .PHONY: configure-send-pr maybe-configure-send-pr
16987 maybe-configure-send-pr:
16988 @if send-pr
16989 maybe-configure-send-pr: configure-send-pr
16990 configure-send-pr:
16991 @test ! -f send-pr/Makefile || exit 0; \
16992 [ -d send-pr ] || mkdir send-pr; \
16993 r=`${PWD_COMMAND}`; export r; \
16994 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16995 $(HOST_EXPORTS) \
16996 echo Configuring in send-pr; \
16997 cd send-pr || exit 1; \
16998 case $(srcdir) in \
16999 \.) \
17000 srcdiroption="--srcdir=."; \
17001 libsrcdir=".";; \
17002 /* | [A-Za-z]:[\\/]*) \
17003 srcdiroption="--srcdir=$(srcdir)/send-pr"; \
17004 libsrcdir="$$s/send-pr";; \
17005 *) \
17006 srcdiroption="--srcdir=../$(srcdir)/send-pr"; \
17007 libsrcdir="$$s/send-pr";; \
17008 esac; \
17009 $(SHELL) $${libsrcdir}/configure \
17010 $(HOST_CONFIGARGS) $${srcdiroption} \
17011 || exit 1
17012 @endif send-pr
17014 .PHONY: all-send-pr maybe-all-send-pr
17015 maybe-all-send-pr:
17016 @if send-pr
17017 maybe-all-send-pr: all-send-pr
17018 all-send-pr: configure-send-pr
17019 @r=`${PWD_COMMAND}`; export r; \
17020 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17021 $(SET_LIB_PATH) \
17022 $(HOST_EXPORTS) \
17023 (cd send-pr && $(MAKE) $(FLAGS_TO_PASS) all)
17024 @endif send-pr
17026 .PHONY: check-send-pr maybe-check-send-pr
17027 maybe-check-send-pr:
17028 @if send-pr
17029 maybe-check-send-pr: check-send-pr
17031 check-send-pr:
17032 @r=`${PWD_COMMAND}`; export r; \
17033 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17034 $(SET_LIB_PATH) \
17035 $(HOST_EXPORTS) \
17036 (cd send-pr && $(MAKE) $(FLAGS_TO_PASS) check)
17038 @endif send-pr
17040 .PHONY: install-send-pr maybe-install-send-pr
17041 maybe-install-send-pr:
17042 @if send-pr
17043 maybe-install-send-pr: install-send-pr
17045 install-send-pr: installdirs
17046 @r=`${PWD_COMMAND}`; export r; \
17047 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17048 $(SET_LIB_PATH) \
17049 $(HOST_EXPORTS) \
17050 (cd send-pr && $(MAKE) $(FLAGS_TO_PASS) install)
17052 @endif send-pr
17054 # Other targets (info, dvi, etc.)
17056 .PHONY: maybe-info-send-pr info-send-pr
17057 maybe-info-send-pr:
17058 @if send-pr
17059 maybe-info-send-pr: info-send-pr
17061 info-send-pr: \
17062 configure-send-pr
17063 @[ -f ./send-pr/Makefile ] || exit 0; \
17064 r=`${PWD_COMMAND}`; export r; \
17065 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17066 $(SET_LIB_PATH) \
17067 $(HOST_EXPORTS) \
17068 for flag in $(EXTRA_HOST_FLAGS) ; do \
17069 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17070 done; \
17071 echo "Doing info in send-pr" ; \
17072 (cd send-pr && \
17073 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17074 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17075 "RANLIB=$${RANLIB}" \
17076 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17077 info) \
17078 || exit 1
17080 @endif send-pr
17082 .PHONY: maybe-dvi-send-pr dvi-send-pr
17083 maybe-dvi-send-pr:
17084 @if send-pr
17085 maybe-dvi-send-pr: dvi-send-pr
17087 dvi-send-pr: \
17088 configure-send-pr
17089 @[ -f ./send-pr/Makefile ] || exit 0; \
17090 r=`${PWD_COMMAND}`; export r; \
17091 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17092 $(SET_LIB_PATH) \
17093 $(HOST_EXPORTS) \
17094 for flag in $(EXTRA_HOST_FLAGS) ; do \
17095 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17096 done; \
17097 echo "Doing dvi in send-pr" ; \
17098 (cd send-pr && \
17099 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17100 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17101 "RANLIB=$${RANLIB}" \
17102 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17103 dvi) \
17104 || exit 1
17106 @endif send-pr
17108 .PHONY: maybe-TAGS-send-pr TAGS-send-pr
17109 maybe-TAGS-send-pr:
17110 @if send-pr
17111 maybe-TAGS-send-pr: TAGS-send-pr
17113 TAGS-send-pr: \
17114 configure-send-pr
17115 @[ -f ./send-pr/Makefile ] || exit 0; \
17116 r=`${PWD_COMMAND}`; export r; \
17117 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17118 $(SET_LIB_PATH) \
17119 $(HOST_EXPORTS) \
17120 for flag in $(EXTRA_HOST_FLAGS) ; do \
17121 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17122 done; \
17123 echo "Doing TAGS in send-pr" ; \
17124 (cd send-pr && \
17125 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17126 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17127 "RANLIB=$${RANLIB}" \
17128 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17129 TAGS) \
17130 || exit 1
17132 @endif send-pr
17134 .PHONY: maybe-install-info-send-pr install-info-send-pr
17135 maybe-install-info-send-pr:
17136 @if send-pr
17137 maybe-install-info-send-pr: install-info-send-pr
17139 install-info-send-pr: \
17140 configure-send-pr \
17141 info-send-pr
17142 @[ -f ./send-pr/Makefile ] || exit 0; \
17143 r=`${PWD_COMMAND}`; export r; \
17144 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17145 $(SET_LIB_PATH) \
17146 $(HOST_EXPORTS) \
17147 for flag in $(EXTRA_HOST_FLAGS) ; do \
17148 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17149 done; \
17150 echo "Doing install-info in send-pr" ; \
17151 (cd send-pr && \
17152 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17153 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17154 "RANLIB=$${RANLIB}" \
17155 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17156 install-info) \
17157 || exit 1
17159 @endif send-pr
17161 .PHONY: maybe-installcheck-send-pr installcheck-send-pr
17162 maybe-installcheck-send-pr:
17163 @if send-pr
17164 maybe-installcheck-send-pr: installcheck-send-pr
17166 installcheck-send-pr: \
17167 configure-send-pr
17168 @[ -f ./send-pr/Makefile ] || exit 0; \
17169 r=`${PWD_COMMAND}`; export r; \
17170 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17171 $(SET_LIB_PATH) \
17172 $(HOST_EXPORTS) \
17173 for flag in $(EXTRA_HOST_FLAGS) ; do \
17174 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17175 done; \
17176 echo "Doing installcheck in send-pr" ; \
17177 (cd send-pr && \
17178 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17179 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17180 "RANLIB=$${RANLIB}" \
17181 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17182 installcheck) \
17183 || exit 1
17185 @endif send-pr
17187 .PHONY: maybe-mostlyclean-send-pr mostlyclean-send-pr
17188 maybe-mostlyclean-send-pr:
17189 @if send-pr
17190 maybe-mostlyclean-send-pr: mostlyclean-send-pr
17192 mostlyclean-send-pr:
17193 @[ -f ./send-pr/Makefile ] || exit 0; \
17194 r=`${PWD_COMMAND}`; export r; \
17195 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17196 $(SET_LIB_PATH) \
17197 $(HOST_EXPORTS) \
17198 for flag in $(EXTRA_HOST_FLAGS) ; do \
17199 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17200 done; \
17201 echo "Doing mostlyclean in send-pr" ; \
17202 (cd send-pr && \
17203 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17204 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17205 "RANLIB=$${RANLIB}" \
17206 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17207 mostlyclean) \
17208 || exit 1
17210 @endif send-pr
17212 .PHONY: maybe-clean-send-pr clean-send-pr
17213 maybe-clean-send-pr:
17214 @if send-pr
17215 maybe-clean-send-pr: clean-send-pr
17217 clean-send-pr:
17218 @[ -f ./send-pr/Makefile ] || exit 0; \
17219 r=`${PWD_COMMAND}`; export r; \
17220 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17221 $(SET_LIB_PATH) \
17222 $(HOST_EXPORTS) \
17223 for flag in $(EXTRA_HOST_FLAGS) ; do \
17224 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17225 done; \
17226 echo "Doing clean in send-pr" ; \
17227 (cd send-pr && \
17228 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17229 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17230 "RANLIB=$${RANLIB}" \
17231 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17232 clean) \
17233 || exit 1
17235 @endif send-pr
17237 .PHONY: maybe-distclean-send-pr distclean-send-pr
17238 maybe-distclean-send-pr:
17239 @if send-pr
17240 maybe-distclean-send-pr: distclean-send-pr
17242 distclean-send-pr:
17243 @[ -f ./send-pr/Makefile ] || exit 0; \
17244 r=`${PWD_COMMAND}`; export r; \
17245 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17246 $(SET_LIB_PATH) \
17247 $(HOST_EXPORTS) \
17248 for flag in $(EXTRA_HOST_FLAGS) ; do \
17249 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17250 done; \
17251 echo "Doing distclean in send-pr" ; \
17252 (cd send-pr && \
17253 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17254 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17255 "RANLIB=$${RANLIB}" \
17256 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17257 distclean) \
17258 || exit 1
17260 @endif send-pr
17262 .PHONY: maybe-maintainer-clean-send-pr maintainer-clean-send-pr
17263 maybe-maintainer-clean-send-pr:
17264 @if send-pr
17265 maybe-maintainer-clean-send-pr: maintainer-clean-send-pr
17267 maintainer-clean-send-pr:
17268 @[ -f ./send-pr/Makefile ] || exit 0; \
17269 r=`${PWD_COMMAND}`; export r; \
17270 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17271 $(SET_LIB_PATH) \
17272 $(HOST_EXPORTS) \
17273 for flag in $(EXTRA_HOST_FLAGS) ; do \
17274 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17275 done; \
17276 echo "Doing maintainer-clean in send-pr" ; \
17277 (cd send-pr && \
17278 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17279 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17280 "RANLIB=$${RANLIB}" \
17281 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17282 maintainer-clean) \
17283 || exit 1
17285 @endif send-pr
17288 .PHONY: configure-shellutils maybe-configure-shellutils
17289 maybe-configure-shellutils:
17290 @if shellutils
17291 maybe-configure-shellutils: configure-shellutils
17292 configure-shellutils:
17293 @test ! -f shellutils/Makefile || exit 0; \
17294 [ -d shellutils ] || mkdir shellutils; \
17295 r=`${PWD_COMMAND}`; export r; \
17296 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17297 $(HOST_EXPORTS) \
17298 echo Configuring in shellutils; \
17299 cd shellutils || exit 1; \
17300 case $(srcdir) in \
17301 \.) \
17302 srcdiroption="--srcdir=."; \
17303 libsrcdir=".";; \
17304 /* | [A-Za-z]:[\\/]*) \
17305 srcdiroption="--srcdir=$(srcdir)/shellutils"; \
17306 libsrcdir="$$s/shellutils";; \
17307 *) \
17308 srcdiroption="--srcdir=../$(srcdir)/shellutils"; \
17309 libsrcdir="$$s/shellutils";; \
17310 esac; \
17311 $(SHELL) $${libsrcdir}/configure \
17312 $(HOST_CONFIGARGS) $${srcdiroption} \
17313 || exit 1
17314 @endif shellutils
17316 .PHONY: all-shellutils maybe-all-shellutils
17317 maybe-all-shellutils:
17318 @if shellutils
17319 maybe-all-shellutils: all-shellutils
17320 all-shellutils: configure-shellutils
17321 @r=`${PWD_COMMAND}`; export r; \
17322 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17323 $(SET_LIB_PATH) \
17324 $(HOST_EXPORTS) \
17325 (cd shellutils && $(MAKE) $(FLAGS_TO_PASS) all)
17326 @endif shellutils
17328 .PHONY: check-shellutils maybe-check-shellutils
17329 maybe-check-shellutils:
17330 @if shellutils
17331 maybe-check-shellutils: check-shellutils
17333 check-shellutils:
17334 @r=`${PWD_COMMAND}`; export r; \
17335 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17336 $(SET_LIB_PATH) \
17337 $(HOST_EXPORTS) \
17338 (cd shellutils && $(MAKE) $(FLAGS_TO_PASS) check)
17340 @endif shellutils
17342 .PHONY: install-shellutils maybe-install-shellutils
17343 maybe-install-shellutils:
17344 @if shellutils
17345 maybe-install-shellutils: install-shellutils
17347 install-shellutils: installdirs
17348 @r=`${PWD_COMMAND}`; export r; \
17349 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17350 $(SET_LIB_PATH) \
17351 $(HOST_EXPORTS) \
17352 (cd shellutils && $(MAKE) $(FLAGS_TO_PASS) install)
17354 @endif shellutils
17356 # Other targets (info, dvi, etc.)
17358 .PHONY: maybe-info-shellutils info-shellutils
17359 maybe-info-shellutils:
17360 @if shellutils
17361 maybe-info-shellutils: info-shellutils
17363 info-shellutils: \
17364 configure-shellutils
17365 @[ -f ./shellutils/Makefile ] || exit 0; \
17366 r=`${PWD_COMMAND}`; export r; \
17367 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17368 $(SET_LIB_PATH) \
17369 $(HOST_EXPORTS) \
17370 for flag in $(EXTRA_HOST_FLAGS) ; do \
17371 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17372 done; \
17373 echo "Doing info in shellutils" ; \
17374 (cd shellutils && \
17375 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17376 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17377 "RANLIB=$${RANLIB}" \
17378 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17379 info) \
17380 || exit 1
17382 @endif shellutils
17384 .PHONY: maybe-dvi-shellutils dvi-shellutils
17385 maybe-dvi-shellutils:
17386 @if shellutils
17387 maybe-dvi-shellutils: dvi-shellutils
17389 dvi-shellutils: \
17390 configure-shellutils
17391 @[ -f ./shellutils/Makefile ] || exit 0; \
17392 r=`${PWD_COMMAND}`; export r; \
17393 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17394 $(SET_LIB_PATH) \
17395 $(HOST_EXPORTS) \
17396 for flag in $(EXTRA_HOST_FLAGS) ; do \
17397 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17398 done; \
17399 echo "Doing dvi in shellutils" ; \
17400 (cd shellutils && \
17401 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17402 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17403 "RANLIB=$${RANLIB}" \
17404 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17405 dvi) \
17406 || exit 1
17408 @endif shellutils
17410 .PHONY: maybe-TAGS-shellutils TAGS-shellutils
17411 maybe-TAGS-shellutils:
17412 @if shellutils
17413 maybe-TAGS-shellutils: TAGS-shellutils
17415 TAGS-shellutils: \
17416 configure-shellutils
17417 @[ -f ./shellutils/Makefile ] || exit 0; \
17418 r=`${PWD_COMMAND}`; export r; \
17419 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17420 $(SET_LIB_PATH) \
17421 $(HOST_EXPORTS) \
17422 for flag in $(EXTRA_HOST_FLAGS) ; do \
17423 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17424 done; \
17425 echo "Doing TAGS in shellutils" ; \
17426 (cd shellutils && \
17427 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17428 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17429 "RANLIB=$${RANLIB}" \
17430 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17431 TAGS) \
17432 || exit 1
17434 @endif shellutils
17436 .PHONY: maybe-install-info-shellutils install-info-shellutils
17437 maybe-install-info-shellutils:
17438 @if shellutils
17439 maybe-install-info-shellutils: install-info-shellutils
17441 install-info-shellutils: \
17442 configure-shellutils \
17443 info-shellutils
17444 @[ -f ./shellutils/Makefile ] || exit 0; \
17445 r=`${PWD_COMMAND}`; export r; \
17446 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17447 $(SET_LIB_PATH) \
17448 $(HOST_EXPORTS) \
17449 for flag in $(EXTRA_HOST_FLAGS) ; do \
17450 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17451 done; \
17452 echo "Doing install-info in shellutils" ; \
17453 (cd shellutils && \
17454 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17455 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17456 "RANLIB=$${RANLIB}" \
17457 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17458 install-info) \
17459 || exit 1
17461 @endif shellutils
17463 .PHONY: maybe-installcheck-shellutils installcheck-shellutils
17464 maybe-installcheck-shellutils:
17465 @if shellutils
17466 maybe-installcheck-shellutils: installcheck-shellutils
17468 installcheck-shellutils: \
17469 configure-shellutils
17470 @[ -f ./shellutils/Makefile ] || exit 0; \
17471 r=`${PWD_COMMAND}`; export r; \
17472 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17473 $(SET_LIB_PATH) \
17474 $(HOST_EXPORTS) \
17475 for flag in $(EXTRA_HOST_FLAGS) ; do \
17476 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17477 done; \
17478 echo "Doing installcheck in shellutils" ; \
17479 (cd shellutils && \
17480 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17481 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17482 "RANLIB=$${RANLIB}" \
17483 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17484 installcheck) \
17485 || exit 1
17487 @endif shellutils
17489 .PHONY: maybe-mostlyclean-shellutils mostlyclean-shellutils
17490 maybe-mostlyclean-shellutils:
17491 @if shellutils
17492 maybe-mostlyclean-shellutils: mostlyclean-shellutils
17494 mostlyclean-shellutils:
17495 @[ -f ./shellutils/Makefile ] || exit 0; \
17496 r=`${PWD_COMMAND}`; export r; \
17497 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17498 $(SET_LIB_PATH) \
17499 $(HOST_EXPORTS) \
17500 for flag in $(EXTRA_HOST_FLAGS) ; do \
17501 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17502 done; \
17503 echo "Doing mostlyclean in shellutils" ; \
17504 (cd shellutils && \
17505 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17506 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17507 "RANLIB=$${RANLIB}" \
17508 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17509 mostlyclean) \
17510 || exit 1
17512 @endif shellutils
17514 .PHONY: maybe-clean-shellutils clean-shellutils
17515 maybe-clean-shellutils:
17516 @if shellutils
17517 maybe-clean-shellutils: clean-shellutils
17519 clean-shellutils:
17520 @[ -f ./shellutils/Makefile ] || exit 0; \
17521 r=`${PWD_COMMAND}`; export r; \
17522 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17523 $(SET_LIB_PATH) \
17524 $(HOST_EXPORTS) \
17525 for flag in $(EXTRA_HOST_FLAGS) ; do \
17526 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17527 done; \
17528 echo "Doing clean in shellutils" ; \
17529 (cd shellutils && \
17530 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17531 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17532 "RANLIB=$${RANLIB}" \
17533 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17534 clean) \
17535 || exit 1
17537 @endif shellutils
17539 .PHONY: maybe-distclean-shellutils distclean-shellutils
17540 maybe-distclean-shellutils:
17541 @if shellutils
17542 maybe-distclean-shellutils: distclean-shellutils
17544 distclean-shellutils:
17545 @[ -f ./shellutils/Makefile ] || exit 0; \
17546 r=`${PWD_COMMAND}`; export r; \
17547 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17548 $(SET_LIB_PATH) \
17549 $(HOST_EXPORTS) \
17550 for flag in $(EXTRA_HOST_FLAGS) ; do \
17551 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17552 done; \
17553 echo "Doing distclean in shellutils" ; \
17554 (cd shellutils && \
17555 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17556 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17557 "RANLIB=$${RANLIB}" \
17558 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17559 distclean) \
17560 || exit 1
17562 @endif shellutils
17564 .PHONY: maybe-maintainer-clean-shellutils maintainer-clean-shellutils
17565 maybe-maintainer-clean-shellutils:
17566 @if shellutils
17567 maybe-maintainer-clean-shellutils: maintainer-clean-shellutils
17569 maintainer-clean-shellutils:
17570 @[ -f ./shellutils/Makefile ] || exit 0; \
17571 r=`${PWD_COMMAND}`; export r; \
17572 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17573 $(SET_LIB_PATH) \
17574 $(HOST_EXPORTS) \
17575 for flag in $(EXTRA_HOST_FLAGS) ; do \
17576 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17577 done; \
17578 echo "Doing maintainer-clean in shellutils" ; \
17579 (cd shellutils && \
17580 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17581 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17582 "RANLIB=$${RANLIB}" \
17583 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17584 maintainer-clean) \
17585 || exit 1
17587 @endif shellutils
17590 .PHONY: configure-sid maybe-configure-sid
17591 maybe-configure-sid:
17592 @if sid
17593 maybe-configure-sid: configure-sid
17594 configure-sid:
17595 @test ! -f sid/Makefile || exit 0; \
17596 [ -d sid ] || mkdir sid; \
17597 r=`${PWD_COMMAND}`; export r; \
17598 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17599 $(HOST_EXPORTS) \
17600 echo Configuring in sid; \
17601 cd sid || exit 1; \
17602 case $(srcdir) in \
17603 \.) \
17604 srcdiroption="--srcdir=."; \
17605 libsrcdir=".";; \
17606 /* | [A-Za-z]:[\\/]*) \
17607 srcdiroption="--srcdir=$(srcdir)/sid"; \
17608 libsrcdir="$$s/sid";; \
17609 *) \
17610 srcdiroption="--srcdir=../$(srcdir)/sid"; \
17611 libsrcdir="$$s/sid";; \
17612 esac; \
17613 $(SHELL) $${libsrcdir}/configure \
17614 $(HOST_CONFIGARGS) $${srcdiroption} \
17615 || exit 1
17616 @endif sid
17618 .PHONY: all-sid maybe-all-sid
17619 maybe-all-sid:
17620 @if sid
17621 maybe-all-sid: all-sid
17622 all-sid: configure-sid
17623 @r=`${PWD_COMMAND}`; export r; \
17624 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17625 $(SET_LIB_PATH) \
17626 $(HOST_EXPORTS) \
17627 (cd sid && $(MAKE) $(FLAGS_TO_PASS) all)
17628 @endif sid
17630 .PHONY: check-sid maybe-check-sid
17631 maybe-check-sid:
17632 @if sid
17633 maybe-check-sid: check-sid
17635 check-sid:
17636 @r=`${PWD_COMMAND}`; export r; \
17637 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17638 $(SET_LIB_PATH) \
17639 $(HOST_EXPORTS) \
17640 (cd sid && $(MAKE) $(FLAGS_TO_PASS) check)
17642 @endif sid
17644 .PHONY: install-sid maybe-install-sid
17645 maybe-install-sid:
17646 @if sid
17647 maybe-install-sid: install-sid
17649 install-sid: installdirs
17650 @r=`${PWD_COMMAND}`; export r; \
17651 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17652 $(SET_LIB_PATH) \
17653 $(HOST_EXPORTS) \
17654 (cd sid && $(MAKE) $(FLAGS_TO_PASS) install)
17656 @endif sid
17658 # Other targets (info, dvi, etc.)
17660 .PHONY: maybe-info-sid info-sid
17661 maybe-info-sid:
17662 @if sid
17663 maybe-info-sid: info-sid
17665 info-sid: \
17666 configure-sid
17667 @[ -f ./sid/Makefile ] || exit 0; \
17668 r=`${PWD_COMMAND}`; export r; \
17669 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17670 $(SET_LIB_PATH) \
17671 $(HOST_EXPORTS) \
17672 for flag in $(EXTRA_HOST_FLAGS) ; do \
17673 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17674 done; \
17675 echo "Doing info in sid" ; \
17676 (cd sid && \
17677 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17678 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17679 "RANLIB=$${RANLIB}" \
17680 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17681 info) \
17682 || exit 1
17684 @endif sid
17686 .PHONY: maybe-dvi-sid dvi-sid
17687 maybe-dvi-sid:
17688 @if sid
17689 maybe-dvi-sid: dvi-sid
17691 dvi-sid: \
17692 configure-sid
17693 @[ -f ./sid/Makefile ] || exit 0; \
17694 r=`${PWD_COMMAND}`; export r; \
17695 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17696 $(SET_LIB_PATH) \
17697 $(HOST_EXPORTS) \
17698 for flag in $(EXTRA_HOST_FLAGS) ; do \
17699 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17700 done; \
17701 echo "Doing dvi in sid" ; \
17702 (cd sid && \
17703 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17704 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17705 "RANLIB=$${RANLIB}" \
17706 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17707 dvi) \
17708 || exit 1
17710 @endif sid
17712 .PHONY: maybe-TAGS-sid TAGS-sid
17713 maybe-TAGS-sid:
17714 @if sid
17715 maybe-TAGS-sid: TAGS-sid
17717 TAGS-sid: \
17718 configure-sid
17719 @[ -f ./sid/Makefile ] || exit 0; \
17720 r=`${PWD_COMMAND}`; export r; \
17721 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17722 $(SET_LIB_PATH) \
17723 $(HOST_EXPORTS) \
17724 for flag in $(EXTRA_HOST_FLAGS) ; do \
17725 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17726 done; \
17727 echo "Doing TAGS in sid" ; \
17728 (cd sid && \
17729 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17730 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17731 "RANLIB=$${RANLIB}" \
17732 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17733 TAGS) \
17734 || exit 1
17736 @endif sid
17738 .PHONY: maybe-install-info-sid install-info-sid
17739 maybe-install-info-sid:
17740 @if sid
17741 maybe-install-info-sid: install-info-sid
17743 install-info-sid: \
17744 configure-sid \
17745 info-sid
17746 @[ -f ./sid/Makefile ] || exit 0; \
17747 r=`${PWD_COMMAND}`; export r; \
17748 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17749 $(SET_LIB_PATH) \
17750 $(HOST_EXPORTS) \
17751 for flag in $(EXTRA_HOST_FLAGS) ; do \
17752 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17753 done; \
17754 echo "Doing install-info in sid" ; \
17755 (cd sid && \
17756 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17757 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17758 "RANLIB=$${RANLIB}" \
17759 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17760 install-info) \
17761 || exit 1
17763 @endif sid
17765 .PHONY: maybe-installcheck-sid installcheck-sid
17766 maybe-installcheck-sid:
17767 @if sid
17768 maybe-installcheck-sid: installcheck-sid
17770 installcheck-sid: \
17771 configure-sid
17772 @[ -f ./sid/Makefile ] || exit 0; \
17773 r=`${PWD_COMMAND}`; export r; \
17774 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17775 $(SET_LIB_PATH) \
17776 $(HOST_EXPORTS) \
17777 for flag in $(EXTRA_HOST_FLAGS) ; do \
17778 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17779 done; \
17780 echo "Doing installcheck in sid" ; \
17781 (cd sid && \
17782 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17783 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17784 "RANLIB=$${RANLIB}" \
17785 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17786 installcheck) \
17787 || exit 1
17789 @endif sid
17791 .PHONY: maybe-mostlyclean-sid mostlyclean-sid
17792 maybe-mostlyclean-sid:
17793 @if sid
17794 maybe-mostlyclean-sid: mostlyclean-sid
17796 mostlyclean-sid:
17797 @[ -f ./sid/Makefile ] || exit 0; \
17798 r=`${PWD_COMMAND}`; export r; \
17799 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17800 $(SET_LIB_PATH) \
17801 $(HOST_EXPORTS) \
17802 for flag in $(EXTRA_HOST_FLAGS) ; do \
17803 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17804 done; \
17805 echo "Doing mostlyclean in sid" ; \
17806 (cd sid && \
17807 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17808 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17809 "RANLIB=$${RANLIB}" \
17810 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17811 mostlyclean) \
17812 || exit 1
17814 @endif sid
17816 .PHONY: maybe-clean-sid clean-sid
17817 maybe-clean-sid:
17818 @if sid
17819 maybe-clean-sid: clean-sid
17821 clean-sid:
17822 @[ -f ./sid/Makefile ] || exit 0; \
17823 r=`${PWD_COMMAND}`; export r; \
17824 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17825 $(SET_LIB_PATH) \
17826 $(HOST_EXPORTS) \
17827 for flag in $(EXTRA_HOST_FLAGS) ; do \
17828 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17829 done; \
17830 echo "Doing clean in sid" ; \
17831 (cd sid && \
17832 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17833 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17834 "RANLIB=$${RANLIB}" \
17835 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17836 clean) \
17837 || exit 1
17839 @endif sid
17841 .PHONY: maybe-distclean-sid distclean-sid
17842 maybe-distclean-sid:
17843 @if sid
17844 maybe-distclean-sid: distclean-sid
17846 distclean-sid:
17847 @[ -f ./sid/Makefile ] || exit 0; \
17848 r=`${PWD_COMMAND}`; export r; \
17849 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17850 $(SET_LIB_PATH) \
17851 $(HOST_EXPORTS) \
17852 for flag in $(EXTRA_HOST_FLAGS) ; do \
17853 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17854 done; \
17855 echo "Doing distclean in sid" ; \
17856 (cd sid && \
17857 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17858 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17859 "RANLIB=$${RANLIB}" \
17860 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17861 distclean) \
17862 || exit 1
17864 @endif sid
17866 .PHONY: maybe-maintainer-clean-sid maintainer-clean-sid
17867 maybe-maintainer-clean-sid:
17868 @if sid
17869 maybe-maintainer-clean-sid: maintainer-clean-sid
17871 maintainer-clean-sid:
17872 @[ -f ./sid/Makefile ] || exit 0; \
17873 r=`${PWD_COMMAND}`; export r; \
17874 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17875 $(SET_LIB_PATH) \
17876 $(HOST_EXPORTS) \
17877 for flag in $(EXTRA_HOST_FLAGS) ; do \
17878 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17879 done; \
17880 echo "Doing maintainer-clean in sid" ; \
17881 (cd sid && \
17882 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17883 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17884 "RANLIB=$${RANLIB}" \
17885 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17886 maintainer-clean) \
17887 || exit 1
17889 @endif sid
17892 .PHONY: configure-sim maybe-configure-sim
17893 maybe-configure-sim:
17894 @if sim
17895 maybe-configure-sim: configure-sim
17896 configure-sim:
17897 @test ! -f sim/Makefile || exit 0; \
17898 [ -d sim ] || mkdir sim; \
17899 r=`${PWD_COMMAND}`; export r; \
17900 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17901 $(HOST_EXPORTS) \
17902 echo Configuring in sim; \
17903 cd sim || exit 1; \
17904 case $(srcdir) in \
17905 \.) \
17906 srcdiroption="--srcdir=."; \
17907 libsrcdir=".";; \
17908 /* | [A-Za-z]:[\\/]*) \
17909 srcdiroption="--srcdir=$(srcdir)/sim"; \
17910 libsrcdir="$$s/sim";; \
17911 *) \
17912 srcdiroption="--srcdir=../$(srcdir)/sim"; \
17913 libsrcdir="$$s/sim";; \
17914 esac; \
17915 $(SHELL) $${libsrcdir}/configure \
17916 $(HOST_CONFIGARGS) $${srcdiroption} \
17917 || exit 1
17918 @endif sim
17920 .PHONY: all-sim maybe-all-sim
17921 maybe-all-sim:
17922 @if sim
17923 maybe-all-sim: all-sim
17924 all-sim: configure-sim
17925 @r=`${PWD_COMMAND}`; export r; \
17926 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17927 $(SET_LIB_PATH) \
17928 $(HOST_EXPORTS) \
17929 (cd sim && $(MAKE) $(FLAGS_TO_PASS) all)
17930 @endif sim
17932 .PHONY: check-sim maybe-check-sim
17933 maybe-check-sim:
17934 @if sim
17935 maybe-check-sim: check-sim
17937 check-sim:
17938 @r=`${PWD_COMMAND}`; export r; \
17939 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17940 $(SET_LIB_PATH) \
17941 $(HOST_EXPORTS) \
17942 (cd sim && $(MAKE) $(FLAGS_TO_PASS) check)
17944 @endif sim
17946 .PHONY: install-sim maybe-install-sim
17947 maybe-install-sim:
17948 @if sim
17949 maybe-install-sim: install-sim
17951 install-sim: installdirs
17952 @r=`${PWD_COMMAND}`; export r; \
17953 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17954 $(SET_LIB_PATH) \
17955 $(HOST_EXPORTS) \
17956 (cd sim && $(MAKE) $(FLAGS_TO_PASS) install)
17958 @endif sim
17960 # Other targets (info, dvi, etc.)
17962 .PHONY: maybe-info-sim info-sim
17963 maybe-info-sim:
17964 @if sim
17965 maybe-info-sim: info-sim
17967 info-sim: \
17968 configure-sim
17969 @[ -f ./sim/Makefile ] || exit 0; \
17970 r=`${PWD_COMMAND}`; export r; \
17971 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17972 $(SET_LIB_PATH) \
17973 $(HOST_EXPORTS) \
17974 for flag in $(EXTRA_HOST_FLAGS) ; do \
17975 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17976 done; \
17977 echo "Doing info in sim" ; \
17978 (cd sim && \
17979 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17980 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17981 "RANLIB=$${RANLIB}" \
17982 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17983 info) \
17984 || exit 1
17986 @endif sim
17988 .PHONY: maybe-dvi-sim dvi-sim
17989 maybe-dvi-sim:
17990 @if sim
17991 maybe-dvi-sim: dvi-sim
17993 dvi-sim: \
17994 configure-sim
17995 @[ -f ./sim/Makefile ] || exit 0; \
17996 r=`${PWD_COMMAND}`; export r; \
17997 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17998 $(SET_LIB_PATH) \
17999 $(HOST_EXPORTS) \
18000 for flag in $(EXTRA_HOST_FLAGS) ; do \
18001 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18002 done; \
18003 echo "Doing dvi in sim" ; \
18004 (cd sim && \
18005 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18006 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18007 "RANLIB=$${RANLIB}" \
18008 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18009 dvi) \
18010 || exit 1
18012 @endif sim
18014 .PHONY: maybe-TAGS-sim TAGS-sim
18015 maybe-TAGS-sim:
18016 @if sim
18017 maybe-TAGS-sim: TAGS-sim
18019 TAGS-sim: \
18020 configure-sim
18021 @[ -f ./sim/Makefile ] || exit 0; \
18022 r=`${PWD_COMMAND}`; export r; \
18023 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18024 $(SET_LIB_PATH) \
18025 $(HOST_EXPORTS) \
18026 for flag in $(EXTRA_HOST_FLAGS) ; do \
18027 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18028 done; \
18029 echo "Doing TAGS in sim" ; \
18030 (cd sim && \
18031 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18032 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18033 "RANLIB=$${RANLIB}" \
18034 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18035 TAGS) \
18036 || exit 1
18038 @endif sim
18040 .PHONY: maybe-install-info-sim install-info-sim
18041 maybe-install-info-sim:
18042 @if sim
18043 maybe-install-info-sim: install-info-sim
18045 install-info-sim: \
18046 configure-sim \
18047 info-sim
18048 @[ -f ./sim/Makefile ] || exit 0; \
18049 r=`${PWD_COMMAND}`; export r; \
18050 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18051 $(SET_LIB_PATH) \
18052 $(HOST_EXPORTS) \
18053 for flag in $(EXTRA_HOST_FLAGS) ; do \
18054 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18055 done; \
18056 echo "Doing install-info in sim" ; \
18057 (cd sim && \
18058 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18059 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18060 "RANLIB=$${RANLIB}" \
18061 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18062 install-info) \
18063 || exit 1
18065 @endif sim
18067 .PHONY: maybe-installcheck-sim installcheck-sim
18068 maybe-installcheck-sim:
18069 @if sim
18070 maybe-installcheck-sim: installcheck-sim
18072 installcheck-sim: \
18073 configure-sim
18074 @[ -f ./sim/Makefile ] || exit 0; \
18075 r=`${PWD_COMMAND}`; export r; \
18076 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18077 $(SET_LIB_PATH) \
18078 $(HOST_EXPORTS) \
18079 for flag in $(EXTRA_HOST_FLAGS) ; do \
18080 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18081 done; \
18082 echo "Doing installcheck in sim" ; \
18083 (cd sim && \
18084 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18085 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18086 "RANLIB=$${RANLIB}" \
18087 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18088 installcheck) \
18089 || exit 1
18091 @endif sim
18093 .PHONY: maybe-mostlyclean-sim mostlyclean-sim
18094 maybe-mostlyclean-sim:
18095 @if sim
18096 maybe-mostlyclean-sim: mostlyclean-sim
18098 mostlyclean-sim:
18099 @[ -f ./sim/Makefile ] || exit 0; \
18100 r=`${PWD_COMMAND}`; export r; \
18101 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18102 $(SET_LIB_PATH) \
18103 $(HOST_EXPORTS) \
18104 for flag in $(EXTRA_HOST_FLAGS) ; do \
18105 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18106 done; \
18107 echo "Doing mostlyclean in sim" ; \
18108 (cd sim && \
18109 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18110 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18111 "RANLIB=$${RANLIB}" \
18112 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18113 mostlyclean) \
18114 || exit 1
18116 @endif sim
18118 .PHONY: maybe-clean-sim clean-sim
18119 maybe-clean-sim:
18120 @if sim
18121 maybe-clean-sim: clean-sim
18123 clean-sim:
18124 @[ -f ./sim/Makefile ] || exit 0; \
18125 r=`${PWD_COMMAND}`; export r; \
18126 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18127 $(SET_LIB_PATH) \
18128 $(HOST_EXPORTS) \
18129 for flag in $(EXTRA_HOST_FLAGS) ; do \
18130 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18131 done; \
18132 echo "Doing clean in sim" ; \
18133 (cd sim && \
18134 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18135 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18136 "RANLIB=$${RANLIB}" \
18137 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18138 clean) \
18139 || exit 1
18141 @endif sim
18143 .PHONY: maybe-distclean-sim distclean-sim
18144 maybe-distclean-sim:
18145 @if sim
18146 maybe-distclean-sim: distclean-sim
18148 distclean-sim:
18149 @[ -f ./sim/Makefile ] || exit 0; \
18150 r=`${PWD_COMMAND}`; export r; \
18151 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18152 $(SET_LIB_PATH) \
18153 $(HOST_EXPORTS) \
18154 for flag in $(EXTRA_HOST_FLAGS) ; do \
18155 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18156 done; \
18157 echo "Doing distclean in sim" ; \
18158 (cd sim && \
18159 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18160 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18161 "RANLIB=$${RANLIB}" \
18162 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18163 distclean) \
18164 || exit 1
18166 @endif sim
18168 .PHONY: maybe-maintainer-clean-sim maintainer-clean-sim
18169 maybe-maintainer-clean-sim:
18170 @if sim
18171 maybe-maintainer-clean-sim: maintainer-clean-sim
18173 maintainer-clean-sim:
18174 @[ -f ./sim/Makefile ] || exit 0; \
18175 r=`${PWD_COMMAND}`; export r; \
18176 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18177 $(SET_LIB_PATH) \
18178 $(HOST_EXPORTS) \
18179 for flag in $(EXTRA_HOST_FLAGS) ; do \
18180 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18181 done; \
18182 echo "Doing maintainer-clean in sim" ; \
18183 (cd sim && \
18184 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18185 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18186 "RANLIB=$${RANLIB}" \
18187 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18188 maintainer-clean) \
18189 || exit 1
18191 @endif sim
18194 .PHONY: configure-tar maybe-configure-tar
18195 maybe-configure-tar:
18196 @if tar
18197 maybe-configure-tar: configure-tar
18198 configure-tar:
18199 @test ! -f tar/Makefile || exit 0; \
18200 [ -d tar ] || mkdir tar; \
18201 r=`${PWD_COMMAND}`; export r; \
18202 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18203 $(HOST_EXPORTS) \
18204 echo Configuring in tar; \
18205 cd tar || exit 1; \
18206 case $(srcdir) in \
18207 \.) \
18208 srcdiroption="--srcdir=."; \
18209 libsrcdir=".";; \
18210 /* | [A-Za-z]:[\\/]*) \
18211 srcdiroption="--srcdir=$(srcdir)/tar"; \
18212 libsrcdir="$$s/tar";; \
18213 *) \
18214 srcdiroption="--srcdir=../$(srcdir)/tar"; \
18215 libsrcdir="$$s/tar";; \
18216 esac; \
18217 $(SHELL) $${libsrcdir}/configure \
18218 $(HOST_CONFIGARGS) $${srcdiroption} \
18219 || exit 1
18220 @endif tar
18222 .PHONY: all-tar maybe-all-tar
18223 maybe-all-tar:
18224 @if tar
18225 maybe-all-tar: all-tar
18226 all-tar: configure-tar
18227 @r=`${PWD_COMMAND}`; export r; \
18228 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18229 $(SET_LIB_PATH) \
18230 $(HOST_EXPORTS) \
18231 (cd tar && $(MAKE) $(FLAGS_TO_PASS) all)
18232 @endif tar
18234 .PHONY: check-tar maybe-check-tar
18235 maybe-check-tar:
18236 @if tar
18237 maybe-check-tar: check-tar
18239 check-tar:
18240 @r=`${PWD_COMMAND}`; export r; \
18241 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18242 $(SET_LIB_PATH) \
18243 $(HOST_EXPORTS) \
18244 (cd tar && $(MAKE) $(FLAGS_TO_PASS) check)
18246 @endif tar
18248 .PHONY: install-tar maybe-install-tar
18249 maybe-install-tar:
18250 @if tar
18251 maybe-install-tar: install-tar
18253 install-tar: installdirs
18254 @r=`${PWD_COMMAND}`; export r; \
18255 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18256 $(SET_LIB_PATH) \
18257 $(HOST_EXPORTS) \
18258 (cd tar && $(MAKE) $(FLAGS_TO_PASS) install)
18260 @endif tar
18262 # Other targets (info, dvi, etc.)
18264 .PHONY: maybe-info-tar info-tar
18265 maybe-info-tar:
18266 @if tar
18267 maybe-info-tar: info-tar
18269 info-tar: \
18270 configure-tar
18271 @[ -f ./tar/Makefile ] || exit 0; \
18272 r=`${PWD_COMMAND}`; export r; \
18273 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18274 $(SET_LIB_PATH) \
18275 $(HOST_EXPORTS) \
18276 for flag in $(EXTRA_HOST_FLAGS) ; do \
18277 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18278 done; \
18279 echo "Doing info in tar" ; \
18280 (cd tar && \
18281 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18282 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18283 "RANLIB=$${RANLIB}" \
18284 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18285 info) \
18286 || exit 1
18288 @endif tar
18290 .PHONY: maybe-dvi-tar dvi-tar
18291 maybe-dvi-tar:
18292 @if tar
18293 maybe-dvi-tar: dvi-tar
18295 dvi-tar: \
18296 configure-tar
18297 @[ -f ./tar/Makefile ] || exit 0; \
18298 r=`${PWD_COMMAND}`; export r; \
18299 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18300 $(SET_LIB_PATH) \
18301 $(HOST_EXPORTS) \
18302 for flag in $(EXTRA_HOST_FLAGS) ; do \
18303 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18304 done; \
18305 echo "Doing dvi in tar" ; \
18306 (cd tar && \
18307 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18308 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18309 "RANLIB=$${RANLIB}" \
18310 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18311 dvi) \
18312 || exit 1
18314 @endif tar
18316 .PHONY: maybe-TAGS-tar TAGS-tar
18317 maybe-TAGS-tar:
18318 @if tar
18319 maybe-TAGS-tar: TAGS-tar
18321 TAGS-tar: \
18322 configure-tar
18323 @[ -f ./tar/Makefile ] || exit 0; \
18324 r=`${PWD_COMMAND}`; export r; \
18325 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18326 $(SET_LIB_PATH) \
18327 $(HOST_EXPORTS) \
18328 for flag in $(EXTRA_HOST_FLAGS) ; do \
18329 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18330 done; \
18331 echo "Doing TAGS in tar" ; \
18332 (cd tar && \
18333 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18334 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18335 "RANLIB=$${RANLIB}" \
18336 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18337 TAGS) \
18338 || exit 1
18340 @endif tar
18342 .PHONY: maybe-install-info-tar install-info-tar
18343 maybe-install-info-tar:
18344 @if tar
18345 maybe-install-info-tar: install-info-tar
18347 install-info-tar: \
18348 configure-tar \
18349 info-tar
18350 @[ -f ./tar/Makefile ] || exit 0; \
18351 r=`${PWD_COMMAND}`; export r; \
18352 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18353 $(SET_LIB_PATH) \
18354 $(HOST_EXPORTS) \
18355 for flag in $(EXTRA_HOST_FLAGS) ; do \
18356 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18357 done; \
18358 echo "Doing install-info in tar" ; \
18359 (cd tar && \
18360 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18361 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18362 "RANLIB=$${RANLIB}" \
18363 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18364 install-info) \
18365 || exit 1
18367 @endif tar
18369 .PHONY: maybe-installcheck-tar installcheck-tar
18370 maybe-installcheck-tar:
18371 @if tar
18372 maybe-installcheck-tar: installcheck-tar
18374 installcheck-tar: \
18375 configure-tar
18376 @[ -f ./tar/Makefile ] || exit 0; \
18377 r=`${PWD_COMMAND}`; export r; \
18378 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18379 $(SET_LIB_PATH) \
18380 $(HOST_EXPORTS) \
18381 for flag in $(EXTRA_HOST_FLAGS) ; do \
18382 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18383 done; \
18384 echo "Doing installcheck in tar" ; \
18385 (cd tar && \
18386 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18387 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18388 "RANLIB=$${RANLIB}" \
18389 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18390 installcheck) \
18391 || exit 1
18393 @endif tar
18395 .PHONY: maybe-mostlyclean-tar mostlyclean-tar
18396 maybe-mostlyclean-tar:
18397 @if tar
18398 maybe-mostlyclean-tar: mostlyclean-tar
18400 mostlyclean-tar:
18401 @[ -f ./tar/Makefile ] || exit 0; \
18402 r=`${PWD_COMMAND}`; export r; \
18403 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18404 $(SET_LIB_PATH) \
18405 $(HOST_EXPORTS) \
18406 for flag in $(EXTRA_HOST_FLAGS) ; do \
18407 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18408 done; \
18409 echo "Doing mostlyclean in tar" ; \
18410 (cd tar && \
18411 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18412 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18413 "RANLIB=$${RANLIB}" \
18414 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18415 mostlyclean) \
18416 || exit 1
18418 @endif tar
18420 .PHONY: maybe-clean-tar clean-tar
18421 maybe-clean-tar:
18422 @if tar
18423 maybe-clean-tar: clean-tar
18425 clean-tar:
18426 @[ -f ./tar/Makefile ] || exit 0; \
18427 r=`${PWD_COMMAND}`; export r; \
18428 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18429 $(SET_LIB_PATH) \
18430 $(HOST_EXPORTS) \
18431 for flag in $(EXTRA_HOST_FLAGS) ; do \
18432 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18433 done; \
18434 echo "Doing clean in tar" ; \
18435 (cd tar && \
18436 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18437 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18438 "RANLIB=$${RANLIB}" \
18439 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18440 clean) \
18441 || exit 1
18443 @endif tar
18445 .PHONY: maybe-distclean-tar distclean-tar
18446 maybe-distclean-tar:
18447 @if tar
18448 maybe-distclean-tar: distclean-tar
18450 distclean-tar:
18451 @[ -f ./tar/Makefile ] || exit 0; \
18452 r=`${PWD_COMMAND}`; export r; \
18453 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18454 $(SET_LIB_PATH) \
18455 $(HOST_EXPORTS) \
18456 for flag in $(EXTRA_HOST_FLAGS) ; do \
18457 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18458 done; \
18459 echo "Doing distclean in tar" ; \
18460 (cd tar && \
18461 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18462 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18463 "RANLIB=$${RANLIB}" \
18464 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18465 distclean) \
18466 || exit 1
18468 @endif tar
18470 .PHONY: maybe-maintainer-clean-tar maintainer-clean-tar
18471 maybe-maintainer-clean-tar:
18472 @if tar
18473 maybe-maintainer-clean-tar: maintainer-clean-tar
18475 maintainer-clean-tar:
18476 @[ -f ./tar/Makefile ] || exit 0; \
18477 r=`${PWD_COMMAND}`; export r; \
18478 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18479 $(SET_LIB_PATH) \
18480 $(HOST_EXPORTS) \
18481 for flag in $(EXTRA_HOST_FLAGS) ; do \
18482 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18483 done; \
18484 echo "Doing maintainer-clean in tar" ; \
18485 (cd tar && \
18486 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18487 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18488 "RANLIB=$${RANLIB}" \
18489 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18490 maintainer-clean) \
18491 || exit 1
18493 @endif tar
18496 .PHONY: configure-texinfo maybe-configure-texinfo
18497 maybe-configure-texinfo:
18498 @if texinfo
18499 maybe-configure-texinfo: configure-texinfo
18500 configure-texinfo:
18501 @test ! -f texinfo/Makefile || exit 0; \
18502 [ -d texinfo ] || mkdir texinfo; \
18503 r=`${PWD_COMMAND}`; export r; \
18504 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18505 $(HOST_EXPORTS) \
18506 echo Configuring in texinfo; \
18507 cd texinfo || exit 1; \
18508 case $(srcdir) in \
18509 \.) \
18510 srcdiroption="--srcdir=."; \
18511 libsrcdir=".";; \
18512 /* | [A-Za-z]:[\\/]*) \
18513 srcdiroption="--srcdir=$(srcdir)/texinfo"; \
18514 libsrcdir="$$s/texinfo";; \
18515 *) \
18516 srcdiroption="--srcdir=../$(srcdir)/texinfo"; \
18517 libsrcdir="$$s/texinfo";; \
18518 esac; \
18519 $(SHELL) $${libsrcdir}/configure \
18520 $(HOST_CONFIGARGS) $${srcdiroption} \
18521 || exit 1
18522 @endif texinfo
18524 .PHONY: all-texinfo maybe-all-texinfo
18525 maybe-all-texinfo:
18526 @if texinfo
18527 maybe-all-texinfo: all-texinfo
18528 all-texinfo: configure-texinfo
18529 @r=`${PWD_COMMAND}`; export r; \
18530 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18531 $(SET_LIB_PATH) \
18532 $(HOST_EXPORTS) \
18533 (cd texinfo && $(MAKE) $(FLAGS_TO_PASS) all)
18534 @endif texinfo
18536 .PHONY: check-texinfo maybe-check-texinfo
18537 maybe-check-texinfo:
18538 @if texinfo
18539 maybe-check-texinfo: check-texinfo
18541 check-texinfo:
18542 @r=`${PWD_COMMAND}`; export r; \
18543 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18544 $(SET_LIB_PATH) \
18545 $(HOST_EXPORTS) \
18546 (cd texinfo && $(MAKE) $(FLAGS_TO_PASS) check)
18548 @endif texinfo
18550 .PHONY: install-texinfo maybe-install-texinfo
18551 maybe-install-texinfo:
18552 @if texinfo
18553 maybe-install-texinfo: install-texinfo
18555 install-texinfo:
18557 @endif texinfo
18559 # Other targets (info, dvi, etc.)
18561 .PHONY: maybe-info-texinfo info-texinfo
18562 maybe-info-texinfo:
18563 @if texinfo
18564 maybe-info-texinfo: info-texinfo
18566 info-texinfo: \
18567 configure-texinfo
18568 @[ -f ./texinfo/Makefile ] || exit 0; \
18569 r=`${PWD_COMMAND}`; export r; \
18570 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18571 $(SET_LIB_PATH) \
18572 $(HOST_EXPORTS) \
18573 for flag in $(EXTRA_HOST_FLAGS) ; do \
18574 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18575 done; \
18576 echo "Doing info in texinfo" ; \
18577 (cd texinfo && \
18578 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18579 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18580 "RANLIB=$${RANLIB}" \
18581 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18582 info) \
18583 || exit 1
18585 @endif texinfo
18587 .PHONY: maybe-dvi-texinfo dvi-texinfo
18588 maybe-dvi-texinfo:
18589 @if texinfo
18590 maybe-dvi-texinfo: dvi-texinfo
18592 dvi-texinfo: \
18593 configure-texinfo
18594 @[ -f ./texinfo/Makefile ] || exit 0; \
18595 r=`${PWD_COMMAND}`; export r; \
18596 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18597 $(SET_LIB_PATH) \
18598 $(HOST_EXPORTS) \
18599 for flag in $(EXTRA_HOST_FLAGS) ; do \
18600 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18601 done; \
18602 echo "Doing dvi in texinfo" ; \
18603 (cd texinfo && \
18604 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18605 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18606 "RANLIB=$${RANLIB}" \
18607 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18608 dvi) \
18609 || exit 1
18611 @endif texinfo
18613 .PHONY: maybe-TAGS-texinfo TAGS-texinfo
18614 maybe-TAGS-texinfo:
18615 @if texinfo
18616 maybe-TAGS-texinfo: TAGS-texinfo
18618 TAGS-texinfo: \
18619 configure-texinfo
18620 @[ -f ./texinfo/Makefile ] || exit 0; \
18621 r=`${PWD_COMMAND}`; export r; \
18622 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18623 $(SET_LIB_PATH) \
18624 $(HOST_EXPORTS) \
18625 for flag in $(EXTRA_HOST_FLAGS) ; do \
18626 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18627 done; \
18628 echo "Doing TAGS in texinfo" ; \
18629 (cd texinfo && \
18630 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18631 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18632 "RANLIB=$${RANLIB}" \
18633 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18634 TAGS) \
18635 || exit 1
18637 @endif texinfo
18639 .PHONY: maybe-install-info-texinfo install-info-texinfo
18640 maybe-install-info-texinfo:
18641 @if texinfo
18642 maybe-install-info-texinfo: install-info-texinfo
18644 install-info-texinfo: \
18645 configure-texinfo \
18646 info-texinfo
18647 @[ -f ./texinfo/Makefile ] || exit 0; \
18648 r=`${PWD_COMMAND}`; export r; \
18649 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18650 $(SET_LIB_PATH) \
18651 $(HOST_EXPORTS) \
18652 for flag in $(EXTRA_HOST_FLAGS) ; do \
18653 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18654 done; \
18655 echo "Doing install-info in texinfo" ; \
18656 (cd texinfo && \
18657 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18658 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18659 "RANLIB=$${RANLIB}" \
18660 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18661 install-info) \
18662 || exit 1
18664 @endif texinfo
18666 .PHONY: maybe-installcheck-texinfo installcheck-texinfo
18667 maybe-installcheck-texinfo:
18668 @if texinfo
18669 maybe-installcheck-texinfo: installcheck-texinfo
18671 installcheck-texinfo: \
18672 configure-texinfo
18673 @[ -f ./texinfo/Makefile ] || exit 0; \
18674 r=`${PWD_COMMAND}`; export r; \
18675 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18676 $(SET_LIB_PATH) \
18677 $(HOST_EXPORTS) \
18678 for flag in $(EXTRA_HOST_FLAGS) ; do \
18679 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18680 done; \
18681 echo "Doing installcheck in texinfo" ; \
18682 (cd texinfo && \
18683 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18684 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18685 "RANLIB=$${RANLIB}" \
18686 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18687 installcheck) \
18688 || exit 1
18690 @endif texinfo
18692 .PHONY: maybe-mostlyclean-texinfo mostlyclean-texinfo
18693 maybe-mostlyclean-texinfo:
18694 @if texinfo
18695 maybe-mostlyclean-texinfo: mostlyclean-texinfo
18697 mostlyclean-texinfo:
18698 @[ -f ./texinfo/Makefile ] || exit 0; \
18699 r=`${PWD_COMMAND}`; export r; \
18700 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18701 $(SET_LIB_PATH) \
18702 $(HOST_EXPORTS) \
18703 for flag in $(EXTRA_HOST_FLAGS) ; do \
18704 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18705 done; \
18706 echo "Doing mostlyclean in texinfo" ; \
18707 (cd texinfo && \
18708 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18709 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18710 "RANLIB=$${RANLIB}" \
18711 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18712 mostlyclean) \
18713 || exit 1
18715 @endif texinfo
18717 .PHONY: maybe-clean-texinfo clean-texinfo
18718 maybe-clean-texinfo:
18719 @if texinfo
18720 maybe-clean-texinfo: clean-texinfo
18722 clean-texinfo:
18723 @[ -f ./texinfo/Makefile ] || exit 0; \
18724 r=`${PWD_COMMAND}`; export r; \
18725 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18726 $(SET_LIB_PATH) \
18727 $(HOST_EXPORTS) \
18728 for flag in $(EXTRA_HOST_FLAGS) ; do \
18729 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18730 done; \
18731 echo "Doing clean in texinfo" ; \
18732 (cd texinfo && \
18733 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18734 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18735 "RANLIB=$${RANLIB}" \
18736 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18737 clean) \
18738 || exit 1
18740 @endif texinfo
18742 .PHONY: maybe-distclean-texinfo distclean-texinfo
18743 maybe-distclean-texinfo:
18744 @if texinfo
18745 maybe-distclean-texinfo: distclean-texinfo
18747 distclean-texinfo:
18748 @[ -f ./texinfo/Makefile ] || exit 0; \
18749 r=`${PWD_COMMAND}`; export r; \
18750 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18751 $(SET_LIB_PATH) \
18752 $(HOST_EXPORTS) \
18753 for flag in $(EXTRA_HOST_FLAGS) ; do \
18754 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18755 done; \
18756 echo "Doing distclean in texinfo" ; \
18757 (cd texinfo && \
18758 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18759 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18760 "RANLIB=$${RANLIB}" \
18761 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18762 distclean) \
18763 || exit 1
18765 @endif texinfo
18767 .PHONY: maybe-maintainer-clean-texinfo maintainer-clean-texinfo
18768 maybe-maintainer-clean-texinfo:
18769 @if texinfo
18770 maybe-maintainer-clean-texinfo: maintainer-clean-texinfo
18772 maintainer-clean-texinfo:
18773 @[ -f ./texinfo/Makefile ] || exit 0; \
18774 r=`${PWD_COMMAND}`; export r; \
18775 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18776 $(SET_LIB_PATH) \
18777 $(HOST_EXPORTS) \
18778 for flag in $(EXTRA_HOST_FLAGS) ; do \
18779 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18780 done; \
18781 echo "Doing maintainer-clean in texinfo" ; \
18782 (cd texinfo && \
18783 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18784 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18785 "RANLIB=$${RANLIB}" \
18786 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18787 maintainer-clean) \
18788 || exit 1
18790 @endif texinfo
18793 .PHONY: configure-textutils maybe-configure-textutils
18794 maybe-configure-textutils:
18795 @if textutils
18796 maybe-configure-textutils: configure-textutils
18797 configure-textutils:
18798 @test ! -f textutils/Makefile || exit 0; \
18799 [ -d textutils ] || mkdir textutils; \
18800 r=`${PWD_COMMAND}`; export r; \
18801 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18802 $(HOST_EXPORTS) \
18803 echo Configuring in textutils; \
18804 cd textutils || exit 1; \
18805 case $(srcdir) in \
18806 \.) \
18807 srcdiroption="--srcdir=."; \
18808 libsrcdir=".";; \
18809 /* | [A-Za-z]:[\\/]*) \
18810 srcdiroption="--srcdir=$(srcdir)/textutils"; \
18811 libsrcdir="$$s/textutils";; \
18812 *) \
18813 srcdiroption="--srcdir=../$(srcdir)/textutils"; \
18814 libsrcdir="$$s/textutils";; \
18815 esac; \
18816 $(SHELL) $${libsrcdir}/configure \
18817 $(HOST_CONFIGARGS) $${srcdiroption} \
18818 || exit 1
18819 @endif textutils
18821 .PHONY: all-textutils maybe-all-textutils
18822 maybe-all-textutils:
18823 @if textutils
18824 maybe-all-textutils: all-textutils
18825 all-textutils: configure-textutils
18826 @r=`${PWD_COMMAND}`; export r; \
18827 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18828 $(SET_LIB_PATH) \
18829 $(HOST_EXPORTS) \
18830 (cd textutils && $(MAKE) $(FLAGS_TO_PASS) all)
18831 @endif textutils
18833 .PHONY: check-textutils maybe-check-textutils
18834 maybe-check-textutils:
18835 @if textutils
18836 maybe-check-textutils: check-textutils
18838 check-textutils:
18839 @r=`${PWD_COMMAND}`; export r; \
18840 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18841 $(SET_LIB_PATH) \
18842 $(HOST_EXPORTS) \
18843 (cd textutils && $(MAKE) $(FLAGS_TO_PASS) check)
18845 @endif textutils
18847 .PHONY: install-textutils maybe-install-textutils
18848 maybe-install-textutils:
18849 @if textutils
18850 maybe-install-textutils: install-textutils
18852 install-textutils: installdirs
18853 @r=`${PWD_COMMAND}`; export r; \
18854 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18855 $(SET_LIB_PATH) \
18856 $(HOST_EXPORTS) \
18857 (cd textutils && $(MAKE) $(FLAGS_TO_PASS) install)
18859 @endif textutils
18861 # Other targets (info, dvi, etc.)
18863 .PHONY: maybe-info-textutils info-textutils
18864 maybe-info-textutils:
18865 @if textutils
18866 maybe-info-textutils: info-textutils
18868 info-textutils: \
18869 configure-textutils
18870 @[ -f ./textutils/Makefile ] || exit 0; \
18871 r=`${PWD_COMMAND}`; export r; \
18872 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18873 $(SET_LIB_PATH) \
18874 $(HOST_EXPORTS) \
18875 for flag in $(EXTRA_HOST_FLAGS) ; do \
18876 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18877 done; \
18878 echo "Doing info in textutils" ; \
18879 (cd textutils && \
18880 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18881 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18882 "RANLIB=$${RANLIB}" \
18883 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18884 info) \
18885 || exit 1
18887 @endif textutils
18889 .PHONY: maybe-dvi-textutils dvi-textutils
18890 maybe-dvi-textutils:
18891 @if textutils
18892 maybe-dvi-textutils: dvi-textutils
18894 dvi-textutils: \
18895 configure-textutils
18896 @[ -f ./textutils/Makefile ] || exit 0; \
18897 r=`${PWD_COMMAND}`; export r; \
18898 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18899 $(SET_LIB_PATH) \
18900 $(HOST_EXPORTS) \
18901 for flag in $(EXTRA_HOST_FLAGS) ; do \
18902 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18903 done; \
18904 echo "Doing dvi in textutils" ; \
18905 (cd textutils && \
18906 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18907 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18908 "RANLIB=$${RANLIB}" \
18909 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18910 dvi) \
18911 || exit 1
18913 @endif textutils
18915 .PHONY: maybe-TAGS-textutils TAGS-textutils
18916 maybe-TAGS-textutils:
18917 @if textutils
18918 maybe-TAGS-textutils: TAGS-textutils
18920 TAGS-textutils: \
18921 configure-textutils
18922 @[ -f ./textutils/Makefile ] || exit 0; \
18923 r=`${PWD_COMMAND}`; export r; \
18924 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18925 $(SET_LIB_PATH) \
18926 $(HOST_EXPORTS) \
18927 for flag in $(EXTRA_HOST_FLAGS) ; do \
18928 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18929 done; \
18930 echo "Doing TAGS in textutils" ; \
18931 (cd textutils && \
18932 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18933 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18934 "RANLIB=$${RANLIB}" \
18935 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18936 TAGS) \
18937 || exit 1
18939 @endif textutils
18941 .PHONY: maybe-install-info-textutils install-info-textutils
18942 maybe-install-info-textutils:
18943 @if textutils
18944 maybe-install-info-textutils: install-info-textutils
18946 install-info-textutils: \
18947 configure-textutils \
18948 info-textutils
18949 @[ -f ./textutils/Makefile ] || exit 0; \
18950 r=`${PWD_COMMAND}`; export r; \
18951 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18952 $(SET_LIB_PATH) \
18953 $(HOST_EXPORTS) \
18954 for flag in $(EXTRA_HOST_FLAGS) ; do \
18955 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18956 done; \
18957 echo "Doing install-info in textutils" ; \
18958 (cd textutils && \
18959 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18960 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18961 "RANLIB=$${RANLIB}" \
18962 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18963 install-info) \
18964 || exit 1
18966 @endif textutils
18968 .PHONY: maybe-installcheck-textutils installcheck-textutils
18969 maybe-installcheck-textutils:
18970 @if textutils
18971 maybe-installcheck-textutils: installcheck-textutils
18973 installcheck-textutils: \
18974 configure-textutils
18975 @[ -f ./textutils/Makefile ] || exit 0; \
18976 r=`${PWD_COMMAND}`; export r; \
18977 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18978 $(SET_LIB_PATH) \
18979 $(HOST_EXPORTS) \
18980 for flag in $(EXTRA_HOST_FLAGS) ; do \
18981 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18982 done; \
18983 echo "Doing installcheck in textutils" ; \
18984 (cd textutils && \
18985 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18986 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18987 "RANLIB=$${RANLIB}" \
18988 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18989 installcheck) \
18990 || exit 1
18992 @endif textutils
18994 .PHONY: maybe-mostlyclean-textutils mostlyclean-textutils
18995 maybe-mostlyclean-textutils:
18996 @if textutils
18997 maybe-mostlyclean-textutils: mostlyclean-textutils
18999 mostlyclean-textutils:
19000 @[ -f ./textutils/Makefile ] || exit 0; \
19001 r=`${PWD_COMMAND}`; export r; \
19002 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19003 $(SET_LIB_PATH) \
19004 $(HOST_EXPORTS) \
19005 for flag in $(EXTRA_HOST_FLAGS) ; do \
19006 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19007 done; \
19008 echo "Doing mostlyclean in textutils" ; \
19009 (cd textutils && \
19010 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19011 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19012 "RANLIB=$${RANLIB}" \
19013 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19014 mostlyclean) \
19015 || exit 1
19017 @endif textutils
19019 .PHONY: maybe-clean-textutils clean-textutils
19020 maybe-clean-textutils:
19021 @if textutils
19022 maybe-clean-textutils: clean-textutils
19024 clean-textutils:
19025 @[ -f ./textutils/Makefile ] || exit 0; \
19026 r=`${PWD_COMMAND}`; export r; \
19027 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19028 $(SET_LIB_PATH) \
19029 $(HOST_EXPORTS) \
19030 for flag in $(EXTRA_HOST_FLAGS) ; do \
19031 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19032 done; \
19033 echo "Doing clean in textutils" ; \
19034 (cd textutils && \
19035 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19036 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19037 "RANLIB=$${RANLIB}" \
19038 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19039 clean) \
19040 || exit 1
19042 @endif textutils
19044 .PHONY: maybe-distclean-textutils distclean-textutils
19045 maybe-distclean-textutils:
19046 @if textutils
19047 maybe-distclean-textutils: distclean-textutils
19049 distclean-textutils:
19050 @[ -f ./textutils/Makefile ] || exit 0; \
19051 r=`${PWD_COMMAND}`; export r; \
19052 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19053 $(SET_LIB_PATH) \
19054 $(HOST_EXPORTS) \
19055 for flag in $(EXTRA_HOST_FLAGS) ; do \
19056 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19057 done; \
19058 echo "Doing distclean in textutils" ; \
19059 (cd textutils && \
19060 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19061 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19062 "RANLIB=$${RANLIB}" \
19063 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19064 distclean) \
19065 || exit 1
19067 @endif textutils
19069 .PHONY: maybe-maintainer-clean-textutils maintainer-clean-textutils
19070 maybe-maintainer-clean-textutils:
19071 @if textutils
19072 maybe-maintainer-clean-textutils: maintainer-clean-textutils
19074 maintainer-clean-textutils:
19075 @[ -f ./textutils/Makefile ] || exit 0; \
19076 r=`${PWD_COMMAND}`; export r; \
19077 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19078 $(SET_LIB_PATH) \
19079 $(HOST_EXPORTS) \
19080 for flag in $(EXTRA_HOST_FLAGS) ; do \
19081 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19082 done; \
19083 echo "Doing maintainer-clean in textutils" ; \
19084 (cd textutils && \
19085 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19086 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19087 "RANLIB=$${RANLIB}" \
19088 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19089 maintainer-clean) \
19090 || exit 1
19092 @endif textutils
19095 .PHONY: configure-time maybe-configure-time
19096 maybe-configure-time:
19097 @if time
19098 maybe-configure-time: configure-time
19099 configure-time:
19100 @test ! -f time/Makefile || exit 0; \
19101 [ -d time ] || mkdir time; \
19102 r=`${PWD_COMMAND}`; export r; \
19103 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19104 $(HOST_EXPORTS) \
19105 echo Configuring in time; \
19106 cd time || exit 1; \
19107 case $(srcdir) in \
19108 \.) \
19109 srcdiroption="--srcdir=."; \
19110 libsrcdir=".";; \
19111 /* | [A-Za-z]:[\\/]*) \
19112 srcdiroption="--srcdir=$(srcdir)/time"; \
19113 libsrcdir="$$s/time";; \
19114 *) \
19115 srcdiroption="--srcdir=../$(srcdir)/time"; \
19116 libsrcdir="$$s/time";; \
19117 esac; \
19118 $(SHELL) $${libsrcdir}/configure \
19119 $(HOST_CONFIGARGS) $${srcdiroption} \
19120 || exit 1
19121 @endif time
19123 .PHONY: all-time maybe-all-time
19124 maybe-all-time:
19125 @if time
19126 maybe-all-time: all-time
19127 all-time: configure-time
19128 @r=`${PWD_COMMAND}`; export r; \
19129 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19130 $(SET_LIB_PATH) \
19131 $(HOST_EXPORTS) \
19132 (cd time && $(MAKE) $(FLAGS_TO_PASS) all)
19133 @endif time
19135 .PHONY: check-time maybe-check-time
19136 maybe-check-time:
19137 @if time
19138 maybe-check-time: check-time
19140 check-time:
19141 @r=`${PWD_COMMAND}`; export r; \
19142 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19143 $(SET_LIB_PATH) \
19144 $(HOST_EXPORTS) \
19145 (cd time && $(MAKE) $(FLAGS_TO_PASS) check)
19147 @endif time
19149 .PHONY: install-time maybe-install-time
19150 maybe-install-time:
19151 @if time
19152 maybe-install-time: install-time
19154 install-time: installdirs
19155 @r=`${PWD_COMMAND}`; export r; \
19156 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19157 $(SET_LIB_PATH) \
19158 $(HOST_EXPORTS) \
19159 (cd time && $(MAKE) $(FLAGS_TO_PASS) install)
19161 @endif time
19163 # Other targets (info, dvi, etc.)
19165 .PHONY: maybe-info-time info-time
19166 maybe-info-time:
19167 @if time
19168 maybe-info-time: info-time
19170 info-time: \
19171 configure-time
19172 @[ -f ./time/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 info in time" ; \
19181 (cd time && \
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 info) \
19187 || exit 1
19189 @endif time
19191 .PHONY: maybe-dvi-time dvi-time
19192 maybe-dvi-time:
19193 @if time
19194 maybe-dvi-time: dvi-time
19196 dvi-time: \
19197 configure-time
19198 @[ -f ./time/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 dvi in time" ; \
19207 (cd time && \
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 dvi) \
19213 || exit 1
19215 @endif time
19217 .PHONY: maybe-TAGS-time TAGS-time
19218 maybe-TAGS-time:
19219 @if time
19220 maybe-TAGS-time: TAGS-time
19222 TAGS-time: \
19223 configure-time
19224 @[ -f ./time/Makefile ] || exit 0; \
19225 r=`${PWD_COMMAND}`; export r; \
19226 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19227 $(SET_LIB_PATH) \
19228 $(HOST_EXPORTS) \
19229 for flag in $(EXTRA_HOST_FLAGS) ; do \
19230 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19231 done; \
19232 echo "Doing TAGS in time" ; \
19233 (cd time && \
19234 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19235 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19236 "RANLIB=$${RANLIB}" \
19237 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19238 TAGS) \
19239 || exit 1
19241 @endif time
19243 .PHONY: maybe-install-info-time install-info-time
19244 maybe-install-info-time:
19245 @if time
19246 maybe-install-info-time: install-info-time
19248 install-info-time: \
19249 configure-time \
19250 info-time
19251 @[ -f ./time/Makefile ] || exit 0; \
19252 r=`${PWD_COMMAND}`; export r; \
19253 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19254 $(SET_LIB_PATH) \
19255 $(HOST_EXPORTS) \
19256 for flag in $(EXTRA_HOST_FLAGS) ; do \
19257 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19258 done; \
19259 echo "Doing install-info in time" ; \
19260 (cd time && \
19261 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19262 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19263 "RANLIB=$${RANLIB}" \
19264 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19265 install-info) \
19266 || exit 1
19268 @endif time
19270 .PHONY: maybe-installcheck-time installcheck-time
19271 maybe-installcheck-time:
19272 @if time
19273 maybe-installcheck-time: installcheck-time
19275 installcheck-time: \
19276 configure-time
19277 @[ -f ./time/Makefile ] || exit 0; \
19278 r=`${PWD_COMMAND}`; export r; \
19279 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19280 $(SET_LIB_PATH) \
19281 $(HOST_EXPORTS) \
19282 for flag in $(EXTRA_HOST_FLAGS) ; do \
19283 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19284 done; \
19285 echo "Doing installcheck in time" ; \
19286 (cd time && \
19287 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19288 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19289 "RANLIB=$${RANLIB}" \
19290 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19291 installcheck) \
19292 || exit 1
19294 @endif time
19296 .PHONY: maybe-mostlyclean-time mostlyclean-time
19297 maybe-mostlyclean-time:
19298 @if time
19299 maybe-mostlyclean-time: mostlyclean-time
19301 mostlyclean-time:
19302 @[ -f ./time/Makefile ] || exit 0; \
19303 r=`${PWD_COMMAND}`; export r; \
19304 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19305 $(SET_LIB_PATH) \
19306 $(HOST_EXPORTS) \
19307 for flag in $(EXTRA_HOST_FLAGS) ; do \
19308 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19309 done; \
19310 echo "Doing mostlyclean in time" ; \
19311 (cd time && \
19312 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19313 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19314 "RANLIB=$${RANLIB}" \
19315 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19316 mostlyclean) \
19317 || exit 1
19319 @endif time
19321 .PHONY: maybe-clean-time clean-time
19322 maybe-clean-time:
19323 @if time
19324 maybe-clean-time: clean-time
19326 clean-time:
19327 @[ -f ./time/Makefile ] || exit 0; \
19328 r=`${PWD_COMMAND}`; export r; \
19329 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19330 $(SET_LIB_PATH) \
19331 $(HOST_EXPORTS) \
19332 for flag in $(EXTRA_HOST_FLAGS) ; do \
19333 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19334 done; \
19335 echo "Doing clean in time" ; \
19336 (cd time && \
19337 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19338 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19339 "RANLIB=$${RANLIB}" \
19340 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19341 clean) \
19342 || exit 1
19344 @endif time
19346 .PHONY: maybe-distclean-time distclean-time
19347 maybe-distclean-time:
19348 @if time
19349 maybe-distclean-time: distclean-time
19351 distclean-time:
19352 @[ -f ./time/Makefile ] || exit 0; \
19353 r=`${PWD_COMMAND}`; export r; \
19354 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19355 $(SET_LIB_PATH) \
19356 $(HOST_EXPORTS) \
19357 for flag in $(EXTRA_HOST_FLAGS) ; do \
19358 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19359 done; \
19360 echo "Doing distclean in time" ; \
19361 (cd time && \
19362 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19363 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19364 "RANLIB=$${RANLIB}" \
19365 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19366 distclean) \
19367 || exit 1
19369 @endif time
19371 .PHONY: maybe-maintainer-clean-time maintainer-clean-time
19372 maybe-maintainer-clean-time:
19373 @if time
19374 maybe-maintainer-clean-time: maintainer-clean-time
19376 maintainer-clean-time:
19377 @[ -f ./time/Makefile ] || exit 0; \
19378 r=`${PWD_COMMAND}`; export r; \
19379 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19380 $(SET_LIB_PATH) \
19381 $(HOST_EXPORTS) \
19382 for flag in $(EXTRA_HOST_FLAGS) ; do \
19383 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19384 done; \
19385 echo "Doing maintainer-clean in time" ; \
19386 (cd time && \
19387 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19388 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19389 "RANLIB=$${RANLIB}" \
19390 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19391 maintainer-clean) \
19392 || exit 1
19394 @endif time
19397 .PHONY: configure-uudecode maybe-configure-uudecode
19398 maybe-configure-uudecode:
19399 @if uudecode
19400 maybe-configure-uudecode: configure-uudecode
19401 configure-uudecode:
19402 @test ! -f uudecode/Makefile || exit 0; \
19403 [ -d uudecode ] || mkdir uudecode; \
19404 r=`${PWD_COMMAND}`; export r; \
19405 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19406 $(HOST_EXPORTS) \
19407 echo Configuring in uudecode; \
19408 cd uudecode || exit 1; \
19409 case $(srcdir) in \
19410 \.) \
19411 srcdiroption="--srcdir=."; \
19412 libsrcdir=".";; \
19413 /* | [A-Za-z]:[\\/]*) \
19414 srcdiroption="--srcdir=$(srcdir)/uudecode"; \
19415 libsrcdir="$$s/uudecode";; \
19416 *) \
19417 srcdiroption="--srcdir=../$(srcdir)/uudecode"; \
19418 libsrcdir="$$s/uudecode";; \
19419 esac; \
19420 $(SHELL) $${libsrcdir}/configure \
19421 $(HOST_CONFIGARGS) $${srcdiroption} \
19422 || exit 1
19423 @endif uudecode
19425 .PHONY: all-uudecode maybe-all-uudecode
19426 maybe-all-uudecode:
19427 @if uudecode
19428 maybe-all-uudecode: all-uudecode
19429 all-uudecode: configure-uudecode
19430 @r=`${PWD_COMMAND}`; export r; \
19431 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19432 $(SET_LIB_PATH) \
19433 $(HOST_EXPORTS) \
19434 (cd uudecode && $(MAKE) $(FLAGS_TO_PASS) all)
19435 @endif uudecode
19437 .PHONY: check-uudecode maybe-check-uudecode
19438 maybe-check-uudecode:
19439 @if uudecode
19440 maybe-check-uudecode: check-uudecode
19442 check-uudecode:
19443 @r=`${PWD_COMMAND}`; export r; \
19444 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19445 $(SET_LIB_PATH) \
19446 $(HOST_EXPORTS) \
19447 (cd uudecode && $(MAKE) $(FLAGS_TO_PASS) check)
19449 @endif uudecode
19451 .PHONY: install-uudecode maybe-install-uudecode
19452 maybe-install-uudecode:
19453 @if uudecode
19454 maybe-install-uudecode: install-uudecode
19456 install-uudecode: installdirs
19457 @r=`${PWD_COMMAND}`; export r; \
19458 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19459 $(SET_LIB_PATH) \
19460 $(HOST_EXPORTS) \
19461 (cd uudecode && $(MAKE) $(FLAGS_TO_PASS) install)
19463 @endif uudecode
19465 # Other targets (info, dvi, etc.)
19467 .PHONY: maybe-info-uudecode info-uudecode
19468 maybe-info-uudecode:
19469 @if uudecode
19470 maybe-info-uudecode: info-uudecode
19472 info-uudecode: \
19473 configure-uudecode
19474 @[ -f ./uudecode/Makefile ] || exit 0; \
19475 r=`${PWD_COMMAND}`; export r; \
19476 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19477 $(SET_LIB_PATH) \
19478 $(HOST_EXPORTS) \
19479 for flag in $(EXTRA_HOST_FLAGS) ; do \
19480 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19481 done; \
19482 echo "Doing info in uudecode" ; \
19483 (cd uudecode && \
19484 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19485 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19486 "RANLIB=$${RANLIB}" \
19487 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19488 info) \
19489 || exit 1
19491 @endif uudecode
19493 .PHONY: maybe-dvi-uudecode dvi-uudecode
19494 maybe-dvi-uudecode:
19495 @if uudecode
19496 maybe-dvi-uudecode: dvi-uudecode
19498 dvi-uudecode: \
19499 configure-uudecode
19500 @[ -f ./uudecode/Makefile ] || exit 0; \
19501 r=`${PWD_COMMAND}`; export r; \
19502 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19503 $(SET_LIB_PATH) \
19504 $(HOST_EXPORTS) \
19505 for flag in $(EXTRA_HOST_FLAGS) ; do \
19506 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19507 done; \
19508 echo "Doing dvi in uudecode" ; \
19509 (cd uudecode && \
19510 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19511 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19512 "RANLIB=$${RANLIB}" \
19513 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19514 dvi) \
19515 || exit 1
19517 @endif uudecode
19519 .PHONY: maybe-TAGS-uudecode TAGS-uudecode
19520 maybe-TAGS-uudecode:
19521 @if uudecode
19522 maybe-TAGS-uudecode: TAGS-uudecode
19524 TAGS-uudecode: \
19525 configure-uudecode
19526 @[ -f ./uudecode/Makefile ] || exit 0; \
19527 r=`${PWD_COMMAND}`; export r; \
19528 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19529 $(SET_LIB_PATH) \
19530 $(HOST_EXPORTS) \
19531 for flag in $(EXTRA_HOST_FLAGS) ; do \
19532 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19533 done; \
19534 echo "Doing TAGS in uudecode" ; \
19535 (cd uudecode && \
19536 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19537 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19538 "RANLIB=$${RANLIB}" \
19539 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19540 TAGS) \
19541 || exit 1
19543 @endif uudecode
19545 .PHONY: maybe-install-info-uudecode install-info-uudecode
19546 maybe-install-info-uudecode:
19547 @if uudecode
19548 maybe-install-info-uudecode: install-info-uudecode
19550 install-info-uudecode: \
19551 configure-uudecode \
19552 info-uudecode
19553 @[ -f ./uudecode/Makefile ] || exit 0; \
19554 r=`${PWD_COMMAND}`; export r; \
19555 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19556 $(SET_LIB_PATH) \
19557 $(HOST_EXPORTS) \
19558 for flag in $(EXTRA_HOST_FLAGS) ; do \
19559 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19560 done; \
19561 echo "Doing install-info in uudecode" ; \
19562 (cd uudecode && \
19563 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19564 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19565 "RANLIB=$${RANLIB}" \
19566 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19567 install-info) \
19568 || exit 1
19570 @endif uudecode
19572 .PHONY: maybe-installcheck-uudecode installcheck-uudecode
19573 maybe-installcheck-uudecode:
19574 @if uudecode
19575 maybe-installcheck-uudecode: installcheck-uudecode
19577 installcheck-uudecode: \
19578 configure-uudecode
19579 @[ -f ./uudecode/Makefile ] || exit 0; \
19580 r=`${PWD_COMMAND}`; export r; \
19581 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19582 $(SET_LIB_PATH) \
19583 $(HOST_EXPORTS) \
19584 for flag in $(EXTRA_HOST_FLAGS) ; do \
19585 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19586 done; \
19587 echo "Doing installcheck in uudecode" ; \
19588 (cd uudecode && \
19589 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19590 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19591 "RANLIB=$${RANLIB}" \
19592 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19593 installcheck) \
19594 || exit 1
19596 @endif uudecode
19598 .PHONY: maybe-mostlyclean-uudecode mostlyclean-uudecode
19599 maybe-mostlyclean-uudecode:
19600 @if uudecode
19601 maybe-mostlyclean-uudecode: mostlyclean-uudecode
19603 mostlyclean-uudecode:
19604 @[ -f ./uudecode/Makefile ] || exit 0; \
19605 r=`${PWD_COMMAND}`; export r; \
19606 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19607 $(SET_LIB_PATH) \
19608 $(HOST_EXPORTS) \
19609 for flag in $(EXTRA_HOST_FLAGS) ; do \
19610 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19611 done; \
19612 echo "Doing mostlyclean in uudecode" ; \
19613 (cd uudecode && \
19614 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19615 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19616 "RANLIB=$${RANLIB}" \
19617 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19618 mostlyclean) \
19619 || exit 1
19621 @endif uudecode
19623 .PHONY: maybe-clean-uudecode clean-uudecode
19624 maybe-clean-uudecode:
19625 @if uudecode
19626 maybe-clean-uudecode: clean-uudecode
19628 clean-uudecode:
19629 @[ -f ./uudecode/Makefile ] || exit 0; \
19630 r=`${PWD_COMMAND}`; export r; \
19631 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19632 $(SET_LIB_PATH) \
19633 $(HOST_EXPORTS) \
19634 for flag in $(EXTRA_HOST_FLAGS) ; do \
19635 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19636 done; \
19637 echo "Doing clean in uudecode" ; \
19638 (cd uudecode && \
19639 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19640 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19641 "RANLIB=$${RANLIB}" \
19642 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19643 clean) \
19644 || exit 1
19646 @endif uudecode
19648 .PHONY: maybe-distclean-uudecode distclean-uudecode
19649 maybe-distclean-uudecode:
19650 @if uudecode
19651 maybe-distclean-uudecode: distclean-uudecode
19653 distclean-uudecode:
19654 @[ -f ./uudecode/Makefile ] || exit 0; \
19655 r=`${PWD_COMMAND}`; export r; \
19656 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19657 $(SET_LIB_PATH) \
19658 $(HOST_EXPORTS) \
19659 for flag in $(EXTRA_HOST_FLAGS) ; do \
19660 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19661 done; \
19662 echo "Doing distclean in uudecode" ; \
19663 (cd uudecode && \
19664 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19665 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19666 "RANLIB=$${RANLIB}" \
19667 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19668 distclean) \
19669 || exit 1
19671 @endif uudecode
19673 .PHONY: maybe-maintainer-clean-uudecode maintainer-clean-uudecode
19674 maybe-maintainer-clean-uudecode:
19675 @if uudecode
19676 maybe-maintainer-clean-uudecode: maintainer-clean-uudecode
19678 maintainer-clean-uudecode:
19679 @[ -f ./uudecode/Makefile ] || exit 0; \
19680 r=`${PWD_COMMAND}`; export r; \
19681 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19682 $(SET_LIB_PATH) \
19683 $(HOST_EXPORTS) \
19684 for flag in $(EXTRA_HOST_FLAGS) ; do \
19685 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19686 done; \
19687 echo "Doing maintainer-clean in uudecode" ; \
19688 (cd uudecode && \
19689 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19690 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19691 "RANLIB=$${RANLIB}" \
19692 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19693 maintainer-clean) \
19694 || exit 1
19696 @endif uudecode
19699 .PHONY: configure-wdiff maybe-configure-wdiff
19700 maybe-configure-wdiff:
19701 @if wdiff
19702 maybe-configure-wdiff: configure-wdiff
19703 configure-wdiff:
19704 @test ! -f wdiff/Makefile || exit 0; \
19705 [ -d wdiff ] || mkdir wdiff; \
19706 r=`${PWD_COMMAND}`; export r; \
19707 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19708 $(HOST_EXPORTS) \
19709 echo Configuring in wdiff; \
19710 cd wdiff || exit 1; \
19711 case $(srcdir) in \
19712 \.) \
19713 srcdiroption="--srcdir=."; \
19714 libsrcdir=".";; \
19715 /* | [A-Za-z]:[\\/]*) \
19716 srcdiroption="--srcdir=$(srcdir)/wdiff"; \
19717 libsrcdir="$$s/wdiff";; \
19718 *) \
19719 srcdiroption="--srcdir=../$(srcdir)/wdiff"; \
19720 libsrcdir="$$s/wdiff";; \
19721 esac; \
19722 $(SHELL) $${libsrcdir}/configure \
19723 $(HOST_CONFIGARGS) $${srcdiroption} \
19724 || exit 1
19725 @endif wdiff
19727 .PHONY: all-wdiff maybe-all-wdiff
19728 maybe-all-wdiff:
19729 @if wdiff
19730 maybe-all-wdiff: all-wdiff
19731 all-wdiff: configure-wdiff
19732 @r=`${PWD_COMMAND}`; export r; \
19733 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19734 $(SET_LIB_PATH) \
19735 $(HOST_EXPORTS) \
19736 (cd wdiff && $(MAKE) $(FLAGS_TO_PASS) all)
19737 @endif wdiff
19739 .PHONY: check-wdiff maybe-check-wdiff
19740 maybe-check-wdiff:
19741 @if wdiff
19742 maybe-check-wdiff: check-wdiff
19744 check-wdiff:
19745 @r=`${PWD_COMMAND}`; export r; \
19746 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19747 $(SET_LIB_PATH) \
19748 $(HOST_EXPORTS) \
19749 (cd wdiff && $(MAKE) $(FLAGS_TO_PASS) check)
19751 @endif wdiff
19753 .PHONY: install-wdiff maybe-install-wdiff
19754 maybe-install-wdiff:
19755 @if wdiff
19756 maybe-install-wdiff: install-wdiff
19758 install-wdiff: installdirs
19759 @r=`${PWD_COMMAND}`; export r; \
19760 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19761 $(SET_LIB_PATH) \
19762 $(HOST_EXPORTS) \
19763 (cd wdiff && $(MAKE) $(FLAGS_TO_PASS) install)
19765 @endif wdiff
19767 # Other targets (info, dvi, etc.)
19769 .PHONY: maybe-info-wdiff info-wdiff
19770 maybe-info-wdiff:
19771 @if wdiff
19772 maybe-info-wdiff: info-wdiff
19774 info-wdiff: \
19775 configure-wdiff
19776 @[ -f ./wdiff/Makefile ] || exit 0; \
19777 r=`${PWD_COMMAND}`; export r; \
19778 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19779 $(SET_LIB_PATH) \
19780 $(HOST_EXPORTS) \
19781 for flag in $(EXTRA_HOST_FLAGS) ; do \
19782 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19783 done; \
19784 echo "Doing info in wdiff" ; \
19785 (cd wdiff && \
19786 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19787 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19788 "RANLIB=$${RANLIB}" \
19789 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19790 info) \
19791 || exit 1
19793 @endif wdiff
19795 .PHONY: maybe-dvi-wdiff dvi-wdiff
19796 maybe-dvi-wdiff:
19797 @if wdiff
19798 maybe-dvi-wdiff: dvi-wdiff
19800 dvi-wdiff: \
19801 configure-wdiff
19802 @[ -f ./wdiff/Makefile ] || exit 0; \
19803 r=`${PWD_COMMAND}`; export r; \
19804 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19805 $(SET_LIB_PATH) \
19806 $(HOST_EXPORTS) \
19807 for flag in $(EXTRA_HOST_FLAGS) ; do \
19808 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19809 done; \
19810 echo "Doing dvi in wdiff" ; \
19811 (cd wdiff && \
19812 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19813 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19814 "RANLIB=$${RANLIB}" \
19815 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19816 dvi) \
19817 || exit 1
19819 @endif wdiff
19821 .PHONY: maybe-TAGS-wdiff TAGS-wdiff
19822 maybe-TAGS-wdiff:
19823 @if wdiff
19824 maybe-TAGS-wdiff: TAGS-wdiff
19826 TAGS-wdiff: \
19827 configure-wdiff
19828 @[ -f ./wdiff/Makefile ] || exit 0; \
19829 r=`${PWD_COMMAND}`; export r; \
19830 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19831 $(SET_LIB_PATH) \
19832 $(HOST_EXPORTS) \
19833 for flag in $(EXTRA_HOST_FLAGS) ; do \
19834 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19835 done; \
19836 echo "Doing TAGS in wdiff" ; \
19837 (cd wdiff && \
19838 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19839 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19840 "RANLIB=$${RANLIB}" \
19841 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19842 TAGS) \
19843 || exit 1
19845 @endif wdiff
19847 .PHONY: maybe-install-info-wdiff install-info-wdiff
19848 maybe-install-info-wdiff:
19849 @if wdiff
19850 maybe-install-info-wdiff: install-info-wdiff
19852 install-info-wdiff: \
19853 configure-wdiff \
19854 info-wdiff
19855 @[ -f ./wdiff/Makefile ] || exit 0; \
19856 r=`${PWD_COMMAND}`; export r; \
19857 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19858 $(SET_LIB_PATH) \
19859 $(HOST_EXPORTS) \
19860 for flag in $(EXTRA_HOST_FLAGS) ; do \
19861 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19862 done; \
19863 echo "Doing install-info in wdiff" ; \
19864 (cd wdiff && \
19865 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19866 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19867 "RANLIB=$${RANLIB}" \
19868 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19869 install-info) \
19870 || exit 1
19872 @endif wdiff
19874 .PHONY: maybe-installcheck-wdiff installcheck-wdiff
19875 maybe-installcheck-wdiff:
19876 @if wdiff
19877 maybe-installcheck-wdiff: installcheck-wdiff
19879 installcheck-wdiff: \
19880 configure-wdiff
19881 @[ -f ./wdiff/Makefile ] || exit 0; \
19882 r=`${PWD_COMMAND}`; export r; \
19883 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19884 $(SET_LIB_PATH) \
19885 $(HOST_EXPORTS) \
19886 for flag in $(EXTRA_HOST_FLAGS) ; do \
19887 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19888 done; \
19889 echo "Doing installcheck in wdiff" ; \
19890 (cd wdiff && \
19891 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19892 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19893 "RANLIB=$${RANLIB}" \
19894 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19895 installcheck) \
19896 || exit 1
19898 @endif wdiff
19900 .PHONY: maybe-mostlyclean-wdiff mostlyclean-wdiff
19901 maybe-mostlyclean-wdiff:
19902 @if wdiff
19903 maybe-mostlyclean-wdiff: mostlyclean-wdiff
19905 mostlyclean-wdiff:
19906 @[ -f ./wdiff/Makefile ] || exit 0; \
19907 r=`${PWD_COMMAND}`; export r; \
19908 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19909 $(SET_LIB_PATH) \
19910 $(HOST_EXPORTS) \
19911 for flag in $(EXTRA_HOST_FLAGS) ; do \
19912 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19913 done; \
19914 echo "Doing mostlyclean in wdiff" ; \
19915 (cd wdiff && \
19916 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19917 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19918 "RANLIB=$${RANLIB}" \
19919 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19920 mostlyclean) \
19921 || exit 1
19923 @endif wdiff
19925 .PHONY: maybe-clean-wdiff clean-wdiff
19926 maybe-clean-wdiff:
19927 @if wdiff
19928 maybe-clean-wdiff: clean-wdiff
19930 clean-wdiff:
19931 @[ -f ./wdiff/Makefile ] || exit 0; \
19932 r=`${PWD_COMMAND}`; export r; \
19933 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19934 $(SET_LIB_PATH) \
19935 $(HOST_EXPORTS) \
19936 for flag in $(EXTRA_HOST_FLAGS) ; do \
19937 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19938 done; \
19939 echo "Doing clean in wdiff" ; \
19940 (cd wdiff && \
19941 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19942 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19943 "RANLIB=$${RANLIB}" \
19944 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19945 clean) \
19946 || exit 1
19948 @endif wdiff
19950 .PHONY: maybe-distclean-wdiff distclean-wdiff
19951 maybe-distclean-wdiff:
19952 @if wdiff
19953 maybe-distclean-wdiff: distclean-wdiff
19955 distclean-wdiff:
19956 @[ -f ./wdiff/Makefile ] || exit 0; \
19957 r=`${PWD_COMMAND}`; export r; \
19958 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19959 $(SET_LIB_PATH) \
19960 $(HOST_EXPORTS) \
19961 for flag in $(EXTRA_HOST_FLAGS) ; do \
19962 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19963 done; \
19964 echo "Doing distclean in wdiff" ; \
19965 (cd wdiff && \
19966 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19967 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19968 "RANLIB=$${RANLIB}" \
19969 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19970 distclean) \
19971 || exit 1
19973 @endif wdiff
19975 .PHONY: maybe-maintainer-clean-wdiff maintainer-clean-wdiff
19976 maybe-maintainer-clean-wdiff:
19977 @if wdiff
19978 maybe-maintainer-clean-wdiff: maintainer-clean-wdiff
19980 maintainer-clean-wdiff:
19981 @[ -f ./wdiff/Makefile ] || exit 0; \
19982 r=`${PWD_COMMAND}`; export r; \
19983 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19984 $(SET_LIB_PATH) \
19985 $(HOST_EXPORTS) \
19986 for flag in $(EXTRA_HOST_FLAGS) ; do \
19987 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19988 done; \
19989 echo "Doing maintainer-clean in wdiff" ; \
19990 (cd wdiff && \
19991 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19992 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19993 "RANLIB=$${RANLIB}" \
19994 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19995 maintainer-clean) \
19996 || exit 1
19998 @endif wdiff
20001 .PHONY: configure-zip maybe-configure-zip
20002 maybe-configure-zip:
20003 @if zip
20004 maybe-configure-zip: configure-zip
20005 configure-zip:
20006 @test ! -f zip/Makefile || exit 0; \
20007 [ -d zip ] || mkdir zip; \
20008 r=`${PWD_COMMAND}`; export r; \
20009 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20010 $(HOST_EXPORTS) \
20011 echo Configuring in zip; \
20012 cd zip || exit 1; \
20013 case $(srcdir) in \
20014 \.) \
20015 srcdiroption="--srcdir=."; \
20016 libsrcdir=".";; \
20017 /* | [A-Za-z]:[\\/]*) \
20018 srcdiroption="--srcdir=$(srcdir)/zip"; \
20019 libsrcdir="$$s/zip";; \
20020 *) \
20021 srcdiroption="--srcdir=../$(srcdir)/zip"; \
20022 libsrcdir="$$s/zip";; \
20023 esac; \
20024 $(SHELL) $${libsrcdir}/configure \
20025 $(HOST_CONFIGARGS) $${srcdiroption} \
20026 || exit 1
20027 @endif zip
20029 .PHONY: all-zip maybe-all-zip
20030 maybe-all-zip:
20031 @if zip
20032 maybe-all-zip: all-zip
20033 all-zip: configure-zip
20034 @r=`${PWD_COMMAND}`; export r; \
20035 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20036 $(SET_LIB_PATH) \
20037 $(HOST_EXPORTS) \
20038 (cd zip && $(MAKE) $(FLAGS_TO_PASS) all)
20039 @endif zip
20041 .PHONY: check-zip maybe-check-zip
20042 maybe-check-zip:
20043 @if zip
20044 maybe-check-zip: check-zip
20046 # This module is only tested in a native toolchain.
20047 check-zip:
20048 @if [ '$(host)' = '$(target)' ] ; then \
20049 r=`${PWD_COMMAND}`; export r; \
20050 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20051 $(SET_LIB_PATH) \
20052 $(HOST_EXPORTS) \
20053 (cd zip && $(MAKE) $(FLAGS_TO_PASS) check); \
20056 @endif zip
20058 .PHONY: install-zip maybe-install-zip
20059 maybe-install-zip:
20060 @if zip
20061 maybe-install-zip: install-zip
20063 install-zip: installdirs
20064 @r=`${PWD_COMMAND}`; export r; \
20065 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20066 $(SET_LIB_PATH) \
20067 $(HOST_EXPORTS) \
20068 (cd zip && $(MAKE) $(FLAGS_TO_PASS) install)
20070 @endif zip
20072 # Other targets (info, dvi, etc.)
20074 .PHONY: maybe-info-zip info-zip
20075 maybe-info-zip:
20076 @if zip
20077 maybe-info-zip: info-zip
20079 info-zip: \
20080 configure-zip
20081 @[ -f ./zip/Makefile ] || exit 0; \
20082 r=`${PWD_COMMAND}`; export r; \
20083 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20084 $(SET_LIB_PATH) \
20085 $(HOST_EXPORTS) \
20086 for flag in $(EXTRA_HOST_FLAGS) ; do \
20087 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20088 done; \
20089 echo "Doing info in zip" ; \
20090 (cd zip && \
20091 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20092 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20093 "RANLIB=$${RANLIB}" \
20094 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20095 info) \
20096 || exit 1
20098 @endif zip
20100 .PHONY: maybe-dvi-zip dvi-zip
20101 maybe-dvi-zip:
20102 @if zip
20103 maybe-dvi-zip: dvi-zip
20105 dvi-zip: \
20106 configure-zip
20107 @[ -f ./zip/Makefile ] || exit 0; \
20108 r=`${PWD_COMMAND}`; export r; \
20109 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20110 $(SET_LIB_PATH) \
20111 $(HOST_EXPORTS) \
20112 for flag in $(EXTRA_HOST_FLAGS) ; do \
20113 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20114 done; \
20115 echo "Doing dvi in zip" ; \
20116 (cd zip && \
20117 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20118 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20119 "RANLIB=$${RANLIB}" \
20120 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20121 dvi) \
20122 || exit 1
20124 @endif zip
20126 .PHONY: maybe-TAGS-zip TAGS-zip
20127 maybe-TAGS-zip:
20128 @if zip
20129 maybe-TAGS-zip: TAGS-zip
20131 TAGS-zip: \
20132 configure-zip
20133 @[ -f ./zip/Makefile ] || exit 0; \
20134 r=`${PWD_COMMAND}`; export r; \
20135 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20136 $(SET_LIB_PATH) \
20137 $(HOST_EXPORTS) \
20138 for flag in $(EXTRA_HOST_FLAGS) ; do \
20139 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20140 done; \
20141 echo "Doing TAGS in zip" ; \
20142 (cd zip && \
20143 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20144 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20145 "RANLIB=$${RANLIB}" \
20146 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20147 TAGS) \
20148 || exit 1
20150 @endif zip
20152 .PHONY: maybe-install-info-zip install-info-zip
20153 maybe-install-info-zip:
20154 @if zip
20155 maybe-install-info-zip: install-info-zip
20157 install-info-zip: \
20158 configure-zip \
20159 info-zip
20160 @[ -f ./zip/Makefile ] || exit 0; \
20161 r=`${PWD_COMMAND}`; export r; \
20162 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20163 $(SET_LIB_PATH) \
20164 $(HOST_EXPORTS) \
20165 for flag in $(EXTRA_HOST_FLAGS) ; do \
20166 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20167 done; \
20168 echo "Doing install-info in zip" ; \
20169 (cd zip && \
20170 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20171 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20172 "RANLIB=$${RANLIB}" \
20173 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20174 install-info) \
20175 || exit 1
20177 @endif zip
20179 .PHONY: maybe-installcheck-zip installcheck-zip
20180 maybe-installcheck-zip:
20181 @if zip
20182 maybe-installcheck-zip: installcheck-zip
20184 installcheck-zip: \
20185 configure-zip
20186 @[ -f ./zip/Makefile ] || exit 0; \
20187 r=`${PWD_COMMAND}`; export r; \
20188 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20189 $(SET_LIB_PATH) \
20190 $(HOST_EXPORTS) \
20191 for flag in $(EXTRA_HOST_FLAGS) ; do \
20192 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20193 done; \
20194 echo "Doing installcheck in zip" ; \
20195 (cd zip && \
20196 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20197 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20198 "RANLIB=$${RANLIB}" \
20199 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20200 installcheck) \
20201 || exit 1
20203 @endif zip
20205 .PHONY: maybe-mostlyclean-zip mostlyclean-zip
20206 maybe-mostlyclean-zip:
20207 @if zip
20208 maybe-mostlyclean-zip: mostlyclean-zip
20210 mostlyclean-zip:
20211 @[ -f ./zip/Makefile ] || exit 0; \
20212 r=`${PWD_COMMAND}`; export r; \
20213 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20214 $(SET_LIB_PATH) \
20215 $(HOST_EXPORTS) \
20216 for flag in $(EXTRA_HOST_FLAGS) ; do \
20217 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20218 done; \
20219 echo "Doing mostlyclean in zip" ; \
20220 (cd zip && \
20221 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20222 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20223 "RANLIB=$${RANLIB}" \
20224 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20225 mostlyclean) \
20226 || exit 1
20228 @endif zip
20230 .PHONY: maybe-clean-zip clean-zip
20231 maybe-clean-zip:
20232 @if zip
20233 maybe-clean-zip: clean-zip
20235 clean-zip:
20236 @[ -f ./zip/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 clean in zip" ; \
20245 (cd zip && \
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 clean) \
20251 || exit 1
20253 @endif zip
20255 .PHONY: maybe-distclean-zip distclean-zip
20256 maybe-distclean-zip:
20257 @if zip
20258 maybe-distclean-zip: distclean-zip
20260 distclean-zip:
20261 @[ -f ./zip/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 distclean in zip" ; \
20270 (cd zip && \
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 distclean) \
20276 || exit 1
20278 @endif zip
20280 .PHONY: maybe-maintainer-clean-zip maintainer-clean-zip
20281 maybe-maintainer-clean-zip:
20282 @if zip
20283 maybe-maintainer-clean-zip: maintainer-clean-zip
20285 maintainer-clean-zip:
20286 @[ -f ./zip/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 maintainer-clean in zip" ; \
20295 (cd zip && \
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 maintainer-clean) \
20301 || exit 1
20303 @endif zip
20306 .PHONY: configure-zlib maybe-configure-zlib
20307 maybe-configure-zlib:
20308 @if zlib
20309 maybe-configure-zlib: configure-zlib
20310 configure-zlib:
20311 @test ! -f zlib/Makefile || exit 0; \
20312 [ -d zlib ] || mkdir zlib; \
20313 r=`${PWD_COMMAND}`; export r; \
20314 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20315 $(HOST_EXPORTS) \
20316 echo Configuring in zlib; \
20317 cd zlib || exit 1; \
20318 case $(srcdir) in \
20319 \.) \
20320 srcdiroption="--srcdir=."; \
20321 libsrcdir=".";; \
20322 /* | [A-Za-z]:[\\/]*) \
20323 srcdiroption="--srcdir=$(srcdir)/zlib"; \
20324 libsrcdir="$$s/zlib";; \
20325 *) \
20326 srcdiroption="--srcdir=../$(srcdir)/zlib"; \
20327 libsrcdir="$$s/zlib";; \
20328 esac; \
20329 $(SHELL) $${libsrcdir}/configure \
20330 $(HOST_CONFIGARGS) $${srcdiroption} \
20331 || exit 1
20332 @endif zlib
20334 .PHONY: all-zlib maybe-all-zlib
20335 maybe-all-zlib:
20336 @if zlib
20337 maybe-all-zlib: all-zlib
20338 all-zlib: configure-zlib
20339 @r=`${PWD_COMMAND}`; export r; \
20340 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20341 $(SET_LIB_PATH) \
20342 $(HOST_EXPORTS) \
20343 (cd zlib && $(MAKE) $(FLAGS_TO_PASS) all)
20344 @endif zlib
20346 .PHONY: check-zlib maybe-check-zlib
20347 maybe-check-zlib:
20348 @if zlib
20349 maybe-check-zlib: check-zlib
20351 check-zlib:
20353 @endif zlib
20355 .PHONY: install-zlib maybe-install-zlib
20356 maybe-install-zlib:
20357 @if zlib
20358 maybe-install-zlib: install-zlib
20360 install-zlib:
20362 @endif zlib
20364 # Other targets (info, dvi, etc.)
20366 .PHONY: maybe-info-zlib info-zlib
20367 maybe-info-zlib:
20368 @if zlib
20369 maybe-info-zlib: info-zlib
20371 info-zlib: \
20372 configure-zlib
20373 @[ -f ./zlib/Makefile ] || exit 0; \
20374 r=`${PWD_COMMAND}`; export r; \
20375 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20376 $(SET_LIB_PATH) \
20377 $(HOST_EXPORTS) \
20378 for flag in $(EXTRA_HOST_FLAGS) ; do \
20379 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20380 done; \
20381 echo "Doing info in zlib" ; \
20382 (cd zlib && \
20383 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20384 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20385 "RANLIB=$${RANLIB}" \
20386 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20387 info) \
20388 || exit 1
20390 @endif zlib
20392 .PHONY: maybe-dvi-zlib dvi-zlib
20393 maybe-dvi-zlib:
20394 @if zlib
20395 maybe-dvi-zlib: dvi-zlib
20397 dvi-zlib: \
20398 configure-zlib
20399 @[ -f ./zlib/Makefile ] || exit 0; \
20400 r=`${PWD_COMMAND}`; export r; \
20401 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20402 $(SET_LIB_PATH) \
20403 $(HOST_EXPORTS) \
20404 for flag in $(EXTRA_HOST_FLAGS) ; do \
20405 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20406 done; \
20407 echo "Doing dvi in zlib" ; \
20408 (cd zlib && \
20409 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20410 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20411 "RANLIB=$${RANLIB}" \
20412 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20413 dvi) \
20414 || exit 1
20416 @endif zlib
20418 .PHONY: maybe-TAGS-zlib TAGS-zlib
20419 maybe-TAGS-zlib:
20420 @if zlib
20421 maybe-TAGS-zlib: TAGS-zlib
20423 TAGS-zlib: \
20424 configure-zlib
20425 @[ -f ./zlib/Makefile ] || exit 0; \
20426 r=`${PWD_COMMAND}`; export r; \
20427 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20428 $(SET_LIB_PATH) \
20429 $(HOST_EXPORTS) \
20430 for flag in $(EXTRA_HOST_FLAGS) ; do \
20431 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20432 done; \
20433 echo "Doing TAGS in zlib" ; \
20434 (cd zlib && \
20435 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20436 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20437 "RANLIB=$${RANLIB}" \
20438 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20439 TAGS) \
20440 || exit 1
20442 @endif zlib
20444 .PHONY: maybe-install-info-zlib install-info-zlib
20445 maybe-install-info-zlib:
20446 @if zlib
20447 maybe-install-info-zlib: install-info-zlib
20449 install-info-zlib: \
20450 configure-zlib \
20451 info-zlib
20452 @[ -f ./zlib/Makefile ] || exit 0; \
20453 r=`${PWD_COMMAND}`; export r; \
20454 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20455 $(SET_LIB_PATH) \
20456 $(HOST_EXPORTS) \
20457 for flag in $(EXTRA_HOST_FLAGS) ; do \
20458 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20459 done; \
20460 echo "Doing install-info in zlib" ; \
20461 (cd zlib && \
20462 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20463 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20464 "RANLIB=$${RANLIB}" \
20465 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20466 install-info) \
20467 || exit 1
20469 @endif zlib
20471 .PHONY: maybe-installcheck-zlib installcheck-zlib
20472 maybe-installcheck-zlib:
20473 @if zlib
20474 maybe-installcheck-zlib: installcheck-zlib
20476 installcheck-zlib: \
20477 configure-zlib
20478 @[ -f ./zlib/Makefile ] || exit 0; \
20479 r=`${PWD_COMMAND}`; export r; \
20480 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20481 $(SET_LIB_PATH) \
20482 $(HOST_EXPORTS) \
20483 for flag in $(EXTRA_HOST_FLAGS) ; do \
20484 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20485 done; \
20486 echo "Doing installcheck in zlib" ; \
20487 (cd zlib && \
20488 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20489 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20490 "RANLIB=$${RANLIB}" \
20491 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20492 installcheck) \
20493 || exit 1
20495 @endif zlib
20497 .PHONY: maybe-mostlyclean-zlib mostlyclean-zlib
20498 maybe-mostlyclean-zlib:
20499 @if zlib
20500 maybe-mostlyclean-zlib: mostlyclean-zlib
20502 mostlyclean-zlib:
20503 @[ -f ./zlib/Makefile ] || exit 0; \
20504 r=`${PWD_COMMAND}`; export r; \
20505 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20506 $(SET_LIB_PATH) \
20507 $(HOST_EXPORTS) \
20508 for flag in $(EXTRA_HOST_FLAGS) ; do \
20509 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20510 done; \
20511 echo "Doing mostlyclean in zlib" ; \
20512 (cd zlib && \
20513 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20514 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20515 "RANLIB=$${RANLIB}" \
20516 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20517 mostlyclean) \
20518 || exit 1
20520 @endif zlib
20522 .PHONY: maybe-clean-zlib clean-zlib
20523 maybe-clean-zlib:
20524 @if zlib
20525 maybe-clean-zlib: clean-zlib
20527 clean-zlib:
20528 @[ -f ./zlib/Makefile ] || exit 0; \
20529 r=`${PWD_COMMAND}`; export r; \
20530 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20531 $(SET_LIB_PATH) \
20532 $(HOST_EXPORTS) \
20533 for flag in $(EXTRA_HOST_FLAGS) ; do \
20534 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20535 done; \
20536 echo "Doing clean in zlib" ; \
20537 (cd zlib && \
20538 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20539 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20540 "RANLIB=$${RANLIB}" \
20541 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20542 clean) \
20543 || exit 1
20545 @endif zlib
20547 .PHONY: maybe-distclean-zlib distclean-zlib
20548 maybe-distclean-zlib:
20549 @if zlib
20550 maybe-distclean-zlib: distclean-zlib
20552 distclean-zlib:
20553 @[ -f ./zlib/Makefile ] || exit 0; \
20554 r=`${PWD_COMMAND}`; export r; \
20555 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20556 $(SET_LIB_PATH) \
20557 $(HOST_EXPORTS) \
20558 for flag in $(EXTRA_HOST_FLAGS) ; do \
20559 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20560 done; \
20561 echo "Doing distclean in zlib" ; \
20562 (cd zlib && \
20563 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20564 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20565 "RANLIB=$${RANLIB}" \
20566 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20567 distclean) \
20568 || exit 1
20570 @endif zlib
20572 .PHONY: maybe-maintainer-clean-zlib maintainer-clean-zlib
20573 maybe-maintainer-clean-zlib:
20574 @if zlib
20575 maybe-maintainer-clean-zlib: maintainer-clean-zlib
20577 maintainer-clean-zlib:
20578 @[ -f ./zlib/Makefile ] || exit 0; \
20579 r=`${PWD_COMMAND}`; export r; \
20580 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20581 $(SET_LIB_PATH) \
20582 $(HOST_EXPORTS) \
20583 for flag in $(EXTRA_HOST_FLAGS) ; do \
20584 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20585 done; \
20586 echo "Doing maintainer-clean in zlib" ; \
20587 (cd zlib && \
20588 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20589 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20590 "RANLIB=$${RANLIB}" \
20591 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20592 maintainer-clean) \
20593 || exit 1
20595 @endif zlib
20598 .PHONY: configure-gdb maybe-configure-gdb
20599 maybe-configure-gdb:
20600 @if gdb
20601 maybe-configure-gdb: configure-gdb
20602 configure-gdb:
20603 @test ! -f gdb/Makefile || exit 0; \
20604 [ -d gdb ] || mkdir gdb; \
20605 r=`${PWD_COMMAND}`; export r; \
20606 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20607 $(HOST_EXPORTS) \
20608 echo Configuring in gdb; \
20609 cd gdb || exit 1; \
20610 case $(srcdir) in \
20611 \.) \
20612 srcdiroption="--srcdir=."; \
20613 libsrcdir=".";; \
20614 /* | [A-Za-z]:[\\/]*) \
20615 srcdiroption="--srcdir=$(srcdir)/gdb"; \
20616 libsrcdir="$$s/gdb";; \
20617 *) \
20618 srcdiroption="--srcdir=../$(srcdir)/gdb"; \
20619 libsrcdir="$$s/gdb";; \
20620 esac; \
20621 $(SHELL) $${libsrcdir}/configure \
20622 $(HOST_CONFIGARGS) $${srcdiroption} \
20623 || exit 1
20624 @endif gdb
20626 .PHONY: all-gdb maybe-all-gdb
20627 maybe-all-gdb:
20628 @if gdb
20629 maybe-all-gdb: all-gdb
20630 all-gdb: configure-gdb
20631 @r=`${PWD_COMMAND}`; export r; \
20632 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20633 $(SET_LIB_PATH) \
20634 $(HOST_EXPORTS) \
20635 (cd gdb && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) all)
20636 @endif gdb
20638 .PHONY: check-gdb maybe-check-gdb
20639 maybe-check-gdb:
20640 @if gdb
20641 maybe-check-gdb: check-gdb
20643 check-gdb:
20644 @r=`${PWD_COMMAND}`; export r; \
20645 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20646 $(SET_LIB_PATH) \
20647 $(HOST_EXPORTS) \
20648 (cd gdb && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) check)
20650 @endif gdb
20652 .PHONY: install-gdb maybe-install-gdb
20653 maybe-install-gdb:
20654 @if gdb
20655 maybe-install-gdb: install-gdb
20657 install-gdb: installdirs
20658 @r=`${PWD_COMMAND}`; export r; \
20659 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20660 $(SET_LIB_PATH) \
20661 $(HOST_EXPORTS) \
20662 (cd gdb && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) install)
20664 @endif gdb
20666 # Other targets (info, dvi, etc.)
20668 .PHONY: maybe-info-gdb info-gdb
20669 maybe-info-gdb:
20670 @if gdb
20671 maybe-info-gdb: info-gdb
20673 info-gdb: \
20674 configure-gdb
20675 @[ -f ./gdb/Makefile ] || exit 0; \
20676 r=`${PWD_COMMAND}`; export r; \
20677 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20678 $(SET_LIB_PATH) \
20679 $(HOST_EXPORTS) \
20680 for flag in $(EXTRA_HOST_FLAGS) ; do \
20681 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20682 done; \
20683 echo "Doing info in gdb" ; \
20684 (cd gdb && \
20685 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20686 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20687 "RANLIB=$${RANLIB}" \
20688 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20689 info) \
20690 || exit 1
20692 @endif gdb
20694 .PHONY: maybe-dvi-gdb dvi-gdb
20695 maybe-dvi-gdb:
20696 @if gdb
20697 maybe-dvi-gdb: dvi-gdb
20699 dvi-gdb: \
20700 configure-gdb
20701 @[ -f ./gdb/Makefile ] || exit 0; \
20702 r=`${PWD_COMMAND}`; export r; \
20703 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20704 $(SET_LIB_PATH) \
20705 $(HOST_EXPORTS) \
20706 for flag in $(EXTRA_HOST_FLAGS) ; do \
20707 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20708 done; \
20709 echo "Doing dvi in gdb" ; \
20710 (cd gdb && \
20711 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20712 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20713 "RANLIB=$${RANLIB}" \
20714 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20715 dvi) \
20716 || exit 1
20718 @endif gdb
20720 .PHONY: maybe-TAGS-gdb TAGS-gdb
20721 maybe-TAGS-gdb:
20722 @if gdb
20723 maybe-TAGS-gdb: TAGS-gdb
20725 TAGS-gdb: \
20726 configure-gdb
20727 @[ -f ./gdb/Makefile ] || exit 0; \
20728 r=`${PWD_COMMAND}`; export r; \
20729 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20730 $(SET_LIB_PATH) \
20731 $(HOST_EXPORTS) \
20732 for flag in $(EXTRA_HOST_FLAGS) ; do \
20733 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20734 done; \
20735 echo "Doing TAGS in gdb" ; \
20736 (cd gdb && \
20737 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20738 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20739 "RANLIB=$${RANLIB}" \
20740 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20741 TAGS) \
20742 || exit 1
20744 @endif gdb
20746 .PHONY: maybe-install-info-gdb install-info-gdb
20747 maybe-install-info-gdb:
20748 @if gdb
20749 maybe-install-info-gdb: install-info-gdb
20751 install-info-gdb: \
20752 configure-gdb \
20753 info-gdb
20754 @[ -f ./gdb/Makefile ] || exit 0; \
20755 r=`${PWD_COMMAND}`; export r; \
20756 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20757 $(SET_LIB_PATH) \
20758 $(HOST_EXPORTS) \
20759 for flag in $(EXTRA_HOST_FLAGS) ; do \
20760 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20761 done; \
20762 echo "Doing install-info in gdb" ; \
20763 (cd gdb && \
20764 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20765 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20766 "RANLIB=$${RANLIB}" \
20767 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20768 install-info) \
20769 || exit 1
20771 @endif gdb
20773 .PHONY: maybe-installcheck-gdb installcheck-gdb
20774 maybe-installcheck-gdb:
20775 @if gdb
20776 maybe-installcheck-gdb: installcheck-gdb
20778 installcheck-gdb: \
20779 configure-gdb
20780 @[ -f ./gdb/Makefile ] || exit 0; \
20781 r=`${PWD_COMMAND}`; export r; \
20782 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20783 $(SET_LIB_PATH) \
20784 $(HOST_EXPORTS) \
20785 for flag in $(EXTRA_HOST_FLAGS) ; do \
20786 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20787 done; \
20788 echo "Doing installcheck in gdb" ; \
20789 (cd gdb && \
20790 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20791 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20792 "RANLIB=$${RANLIB}" \
20793 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20794 installcheck) \
20795 || exit 1
20797 @endif gdb
20799 .PHONY: maybe-mostlyclean-gdb mostlyclean-gdb
20800 maybe-mostlyclean-gdb:
20801 @if gdb
20802 maybe-mostlyclean-gdb: mostlyclean-gdb
20804 mostlyclean-gdb:
20805 @[ -f ./gdb/Makefile ] || exit 0; \
20806 r=`${PWD_COMMAND}`; export r; \
20807 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20808 $(SET_LIB_PATH) \
20809 $(HOST_EXPORTS) \
20810 for flag in $(EXTRA_HOST_FLAGS) ; do \
20811 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20812 done; \
20813 echo "Doing mostlyclean in gdb" ; \
20814 (cd gdb && \
20815 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20816 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20817 "RANLIB=$${RANLIB}" \
20818 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20819 mostlyclean) \
20820 || exit 1
20822 @endif gdb
20824 .PHONY: maybe-clean-gdb clean-gdb
20825 maybe-clean-gdb:
20826 @if gdb
20827 maybe-clean-gdb: clean-gdb
20829 clean-gdb:
20830 @[ -f ./gdb/Makefile ] || exit 0; \
20831 r=`${PWD_COMMAND}`; export r; \
20832 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20833 $(SET_LIB_PATH) \
20834 $(HOST_EXPORTS) \
20835 for flag in $(EXTRA_HOST_FLAGS) ; do \
20836 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20837 done; \
20838 echo "Doing clean in gdb" ; \
20839 (cd gdb && \
20840 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20841 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20842 "RANLIB=$${RANLIB}" \
20843 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20844 clean) \
20845 || exit 1
20847 @endif gdb
20849 .PHONY: maybe-distclean-gdb distclean-gdb
20850 maybe-distclean-gdb:
20851 @if gdb
20852 maybe-distclean-gdb: distclean-gdb
20854 distclean-gdb:
20855 @[ -f ./gdb/Makefile ] || exit 0; \
20856 r=`${PWD_COMMAND}`; export r; \
20857 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20858 $(SET_LIB_PATH) \
20859 $(HOST_EXPORTS) \
20860 for flag in $(EXTRA_HOST_FLAGS) ; do \
20861 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20862 done; \
20863 echo "Doing distclean in gdb" ; \
20864 (cd gdb && \
20865 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20866 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20867 "RANLIB=$${RANLIB}" \
20868 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20869 distclean) \
20870 || exit 1
20872 @endif gdb
20874 .PHONY: maybe-maintainer-clean-gdb maintainer-clean-gdb
20875 maybe-maintainer-clean-gdb:
20876 @if gdb
20877 maybe-maintainer-clean-gdb: maintainer-clean-gdb
20879 maintainer-clean-gdb:
20880 @[ -f ./gdb/Makefile ] || exit 0; \
20881 r=`${PWD_COMMAND}`; export r; \
20882 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20883 $(SET_LIB_PATH) \
20884 $(HOST_EXPORTS) \
20885 for flag in $(EXTRA_HOST_FLAGS) ; do \
20886 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20887 done; \
20888 echo "Doing maintainer-clean in gdb" ; \
20889 (cd gdb && \
20890 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20891 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20892 "RANLIB=$${RANLIB}" \
20893 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20894 maintainer-clean) \
20895 || exit 1
20897 @endif gdb
20900 .PHONY: configure-expect maybe-configure-expect
20901 maybe-configure-expect:
20902 @if expect
20903 maybe-configure-expect: configure-expect
20904 configure-expect:
20905 @test ! -f expect/Makefile || exit 0; \
20906 [ -d expect ] || mkdir expect; \
20907 r=`${PWD_COMMAND}`; export r; \
20908 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20909 $(HOST_EXPORTS) \
20910 echo Configuring in expect; \
20911 cd expect || exit 1; \
20912 case $(srcdir) in \
20913 \.) \
20914 srcdiroption="--srcdir=."; \
20915 libsrcdir=".";; \
20916 /* | [A-Za-z]:[\\/]*) \
20917 srcdiroption="--srcdir=$(srcdir)/expect"; \
20918 libsrcdir="$$s/expect";; \
20919 *) \
20920 srcdiroption="--srcdir=../$(srcdir)/expect"; \
20921 libsrcdir="$$s/expect";; \
20922 esac; \
20923 $(SHELL) $${libsrcdir}/configure \
20924 $(HOST_CONFIGARGS) $${srcdiroption} \
20925 || exit 1
20926 @endif expect
20928 .PHONY: all-expect maybe-all-expect
20929 maybe-all-expect:
20930 @if expect
20931 maybe-all-expect: all-expect
20932 all-expect: configure-expect
20933 @r=`${PWD_COMMAND}`; export r; \
20934 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20935 $(SET_LIB_PATH) \
20936 $(HOST_EXPORTS) \
20937 (cd expect && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) all)
20938 @endif expect
20940 .PHONY: check-expect maybe-check-expect
20941 maybe-check-expect:
20942 @if expect
20943 maybe-check-expect: check-expect
20945 check-expect:
20946 @r=`${PWD_COMMAND}`; export r; \
20947 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20948 $(SET_LIB_PATH) \
20949 $(HOST_EXPORTS) \
20950 (cd expect && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) check)
20952 @endif expect
20954 .PHONY: install-expect maybe-install-expect
20955 maybe-install-expect:
20956 @if expect
20957 maybe-install-expect: install-expect
20959 install-expect: installdirs
20960 @r=`${PWD_COMMAND}`; export r; \
20961 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20962 $(SET_LIB_PATH) \
20963 $(HOST_EXPORTS) \
20964 (cd expect && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) install)
20966 @endif expect
20968 # Other targets (info, dvi, etc.)
20970 .PHONY: maybe-info-expect info-expect
20971 maybe-info-expect:
20972 @if expect
20973 maybe-info-expect: info-expect
20975 info-expect: \
20976 configure-expect
20977 @[ -f ./expect/Makefile ] || exit 0; \
20978 r=`${PWD_COMMAND}`; export r; \
20979 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20980 $(SET_LIB_PATH) \
20981 $(HOST_EXPORTS) \
20982 for flag in $(EXTRA_HOST_FLAGS) ; do \
20983 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20984 done; \
20985 echo "Doing info in expect" ; \
20986 (cd expect && \
20987 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20988 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20989 "RANLIB=$${RANLIB}" \
20990 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20991 info) \
20992 || exit 1
20994 @endif expect
20996 .PHONY: maybe-dvi-expect dvi-expect
20997 maybe-dvi-expect:
20998 @if expect
20999 maybe-dvi-expect: dvi-expect
21001 dvi-expect: \
21002 configure-expect
21003 @[ -f ./expect/Makefile ] || exit 0; \
21004 r=`${PWD_COMMAND}`; export r; \
21005 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21006 $(SET_LIB_PATH) \
21007 $(HOST_EXPORTS) \
21008 for flag in $(EXTRA_HOST_FLAGS) ; do \
21009 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21010 done; \
21011 echo "Doing dvi in expect" ; \
21012 (cd expect && \
21013 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21014 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21015 "RANLIB=$${RANLIB}" \
21016 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21017 dvi) \
21018 || exit 1
21020 @endif expect
21022 .PHONY: maybe-TAGS-expect TAGS-expect
21023 maybe-TAGS-expect:
21024 @if expect
21025 maybe-TAGS-expect: TAGS-expect
21027 TAGS-expect: \
21028 configure-expect
21029 @[ -f ./expect/Makefile ] || exit 0; \
21030 r=`${PWD_COMMAND}`; export r; \
21031 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21032 $(SET_LIB_PATH) \
21033 $(HOST_EXPORTS) \
21034 for flag in $(EXTRA_HOST_FLAGS) ; do \
21035 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21036 done; \
21037 echo "Doing TAGS in expect" ; \
21038 (cd expect && \
21039 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21040 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21041 "RANLIB=$${RANLIB}" \
21042 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21043 TAGS) \
21044 || exit 1
21046 @endif expect
21048 .PHONY: maybe-install-info-expect install-info-expect
21049 maybe-install-info-expect:
21050 @if expect
21051 maybe-install-info-expect: install-info-expect
21053 install-info-expect: \
21054 configure-expect \
21055 info-expect
21056 @[ -f ./expect/Makefile ] || exit 0; \
21057 r=`${PWD_COMMAND}`; export r; \
21058 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21059 $(SET_LIB_PATH) \
21060 $(HOST_EXPORTS) \
21061 for flag in $(EXTRA_HOST_FLAGS) ; do \
21062 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21063 done; \
21064 echo "Doing install-info in expect" ; \
21065 (cd expect && \
21066 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21067 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21068 "RANLIB=$${RANLIB}" \
21069 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21070 install-info) \
21071 || exit 1
21073 @endif expect
21075 .PHONY: maybe-installcheck-expect installcheck-expect
21076 maybe-installcheck-expect:
21077 @if expect
21078 maybe-installcheck-expect: installcheck-expect
21080 installcheck-expect: \
21081 configure-expect
21082 @[ -f ./expect/Makefile ] || exit 0; \
21083 r=`${PWD_COMMAND}`; export r; \
21084 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21085 $(SET_LIB_PATH) \
21086 $(HOST_EXPORTS) \
21087 for flag in $(EXTRA_HOST_FLAGS) ; do \
21088 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21089 done; \
21090 echo "Doing installcheck in expect" ; \
21091 (cd expect && \
21092 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21093 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21094 "RANLIB=$${RANLIB}" \
21095 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21096 installcheck) \
21097 || exit 1
21099 @endif expect
21101 .PHONY: maybe-mostlyclean-expect mostlyclean-expect
21102 maybe-mostlyclean-expect:
21103 @if expect
21104 maybe-mostlyclean-expect: mostlyclean-expect
21106 mostlyclean-expect:
21107 @[ -f ./expect/Makefile ] || exit 0; \
21108 r=`${PWD_COMMAND}`; export r; \
21109 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21110 $(SET_LIB_PATH) \
21111 $(HOST_EXPORTS) \
21112 for flag in $(EXTRA_HOST_FLAGS) ; do \
21113 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21114 done; \
21115 echo "Doing mostlyclean in expect" ; \
21116 (cd expect && \
21117 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21118 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21119 "RANLIB=$${RANLIB}" \
21120 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21121 mostlyclean) \
21122 || exit 1
21124 @endif expect
21126 .PHONY: maybe-clean-expect clean-expect
21127 maybe-clean-expect:
21128 @if expect
21129 maybe-clean-expect: clean-expect
21131 clean-expect:
21132 @[ -f ./expect/Makefile ] || exit 0; \
21133 r=`${PWD_COMMAND}`; export r; \
21134 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21135 $(SET_LIB_PATH) \
21136 $(HOST_EXPORTS) \
21137 for flag in $(EXTRA_HOST_FLAGS) ; do \
21138 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21139 done; \
21140 echo "Doing clean in expect" ; \
21141 (cd expect && \
21142 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21143 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21144 "RANLIB=$${RANLIB}" \
21145 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21146 clean) \
21147 || exit 1
21149 @endif expect
21151 .PHONY: maybe-distclean-expect distclean-expect
21152 maybe-distclean-expect:
21153 @if expect
21154 maybe-distclean-expect: distclean-expect
21156 distclean-expect:
21157 @[ -f ./expect/Makefile ] || exit 0; \
21158 r=`${PWD_COMMAND}`; export r; \
21159 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21160 $(SET_LIB_PATH) \
21161 $(HOST_EXPORTS) \
21162 for flag in $(EXTRA_HOST_FLAGS) ; do \
21163 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21164 done; \
21165 echo "Doing distclean in expect" ; \
21166 (cd expect && \
21167 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21168 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21169 "RANLIB=$${RANLIB}" \
21170 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21171 distclean) \
21172 || exit 1
21174 @endif expect
21176 .PHONY: maybe-maintainer-clean-expect maintainer-clean-expect
21177 maybe-maintainer-clean-expect:
21178 @if expect
21179 maybe-maintainer-clean-expect: maintainer-clean-expect
21181 maintainer-clean-expect:
21182 @[ -f ./expect/Makefile ] || exit 0; \
21183 r=`${PWD_COMMAND}`; export r; \
21184 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21185 $(SET_LIB_PATH) \
21186 $(HOST_EXPORTS) \
21187 for flag in $(EXTRA_HOST_FLAGS) ; do \
21188 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21189 done; \
21190 echo "Doing maintainer-clean in expect" ; \
21191 (cd expect && \
21192 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21193 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21194 "RANLIB=$${RANLIB}" \
21195 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21196 maintainer-clean) \
21197 || exit 1
21199 @endif expect
21202 .PHONY: configure-guile maybe-configure-guile
21203 maybe-configure-guile:
21204 @if guile
21205 maybe-configure-guile: configure-guile
21206 configure-guile:
21207 @test ! -f guile/Makefile || exit 0; \
21208 [ -d guile ] || mkdir guile; \
21209 r=`${PWD_COMMAND}`; export r; \
21210 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21211 $(HOST_EXPORTS) \
21212 echo Configuring in guile; \
21213 cd guile || exit 1; \
21214 case $(srcdir) in \
21215 \.) \
21216 srcdiroption="--srcdir=."; \
21217 libsrcdir=".";; \
21218 /* | [A-Za-z]:[\\/]*) \
21219 srcdiroption="--srcdir=$(srcdir)/guile"; \
21220 libsrcdir="$$s/guile";; \
21221 *) \
21222 srcdiroption="--srcdir=../$(srcdir)/guile"; \
21223 libsrcdir="$$s/guile";; \
21224 esac; \
21225 $(SHELL) $${libsrcdir}/configure \
21226 $(HOST_CONFIGARGS) $${srcdiroption} \
21227 || exit 1
21228 @endif guile
21230 .PHONY: all-guile maybe-all-guile
21231 maybe-all-guile:
21232 @if guile
21233 maybe-all-guile: all-guile
21234 all-guile: configure-guile
21235 @r=`${PWD_COMMAND}`; export r; \
21236 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21237 $(SET_LIB_PATH) \
21238 $(HOST_EXPORTS) \
21239 (cd guile && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) all)
21240 @endif guile
21242 .PHONY: check-guile maybe-check-guile
21243 maybe-check-guile:
21244 @if guile
21245 maybe-check-guile: check-guile
21247 check-guile:
21248 @r=`${PWD_COMMAND}`; export r; \
21249 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21250 $(SET_LIB_PATH) \
21251 $(HOST_EXPORTS) \
21252 (cd guile && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) check)
21254 @endif guile
21256 .PHONY: install-guile maybe-install-guile
21257 maybe-install-guile:
21258 @if guile
21259 maybe-install-guile: install-guile
21261 install-guile: installdirs
21262 @r=`${PWD_COMMAND}`; export r; \
21263 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21264 $(SET_LIB_PATH) \
21265 $(HOST_EXPORTS) \
21266 (cd guile && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) install)
21268 @endif guile
21270 # Other targets (info, dvi, etc.)
21272 .PHONY: maybe-info-guile info-guile
21273 maybe-info-guile:
21274 @if guile
21275 maybe-info-guile: info-guile
21277 info-guile: \
21278 configure-guile
21279 @[ -f ./guile/Makefile ] || exit 0; \
21280 r=`${PWD_COMMAND}`; export r; \
21281 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21282 $(SET_LIB_PATH) \
21283 $(HOST_EXPORTS) \
21284 for flag in $(EXTRA_HOST_FLAGS) ; do \
21285 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21286 done; \
21287 echo "Doing info in guile" ; \
21288 (cd guile && \
21289 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21290 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21291 "RANLIB=$${RANLIB}" \
21292 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21293 info) \
21294 || exit 1
21296 @endif guile
21298 .PHONY: maybe-dvi-guile dvi-guile
21299 maybe-dvi-guile:
21300 @if guile
21301 maybe-dvi-guile: dvi-guile
21303 dvi-guile: \
21304 configure-guile
21305 @[ -f ./guile/Makefile ] || exit 0; \
21306 r=`${PWD_COMMAND}`; export r; \
21307 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21308 $(SET_LIB_PATH) \
21309 $(HOST_EXPORTS) \
21310 for flag in $(EXTRA_HOST_FLAGS) ; do \
21311 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21312 done; \
21313 echo "Doing dvi in guile" ; \
21314 (cd guile && \
21315 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21316 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21317 "RANLIB=$${RANLIB}" \
21318 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21319 dvi) \
21320 || exit 1
21322 @endif guile
21324 .PHONY: maybe-TAGS-guile TAGS-guile
21325 maybe-TAGS-guile:
21326 @if guile
21327 maybe-TAGS-guile: TAGS-guile
21329 TAGS-guile: \
21330 configure-guile
21331 @[ -f ./guile/Makefile ] || exit 0; \
21332 r=`${PWD_COMMAND}`; export r; \
21333 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21334 $(SET_LIB_PATH) \
21335 $(HOST_EXPORTS) \
21336 for flag in $(EXTRA_HOST_FLAGS) ; do \
21337 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21338 done; \
21339 echo "Doing TAGS in guile" ; \
21340 (cd guile && \
21341 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21342 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21343 "RANLIB=$${RANLIB}" \
21344 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21345 TAGS) \
21346 || exit 1
21348 @endif guile
21350 .PHONY: maybe-install-info-guile install-info-guile
21351 maybe-install-info-guile:
21352 @if guile
21353 maybe-install-info-guile: install-info-guile
21355 install-info-guile: \
21356 configure-guile \
21357 info-guile
21358 @[ -f ./guile/Makefile ] || exit 0; \
21359 r=`${PWD_COMMAND}`; export r; \
21360 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21361 $(SET_LIB_PATH) \
21362 $(HOST_EXPORTS) \
21363 for flag in $(EXTRA_HOST_FLAGS) ; do \
21364 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21365 done; \
21366 echo "Doing install-info in guile" ; \
21367 (cd guile && \
21368 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21369 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21370 "RANLIB=$${RANLIB}" \
21371 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21372 install-info) \
21373 || exit 1
21375 @endif guile
21377 .PHONY: maybe-installcheck-guile installcheck-guile
21378 maybe-installcheck-guile:
21379 @if guile
21380 maybe-installcheck-guile: installcheck-guile
21382 installcheck-guile: \
21383 configure-guile
21384 @[ -f ./guile/Makefile ] || exit 0; \
21385 r=`${PWD_COMMAND}`; export r; \
21386 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21387 $(SET_LIB_PATH) \
21388 $(HOST_EXPORTS) \
21389 for flag in $(EXTRA_HOST_FLAGS) ; do \
21390 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21391 done; \
21392 echo "Doing installcheck in guile" ; \
21393 (cd guile && \
21394 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21395 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21396 "RANLIB=$${RANLIB}" \
21397 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21398 installcheck) \
21399 || exit 1
21401 @endif guile
21403 .PHONY: maybe-mostlyclean-guile mostlyclean-guile
21404 maybe-mostlyclean-guile:
21405 @if guile
21406 maybe-mostlyclean-guile: mostlyclean-guile
21408 mostlyclean-guile:
21409 @[ -f ./guile/Makefile ] || exit 0; \
21410 r=`${PWD_COMMAND}`; export r; \
21411 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21412 $(SET_LIB_PATH) \
21413 $(HOST_EXPORTS) \
21414 for flag in $(EXTRA_HOST_FLAGS) ; do \
21415 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21416 done; \
21417 echo "Doing mostlyclean in guile" ; \
21418 (cd guile && \
21419 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21420 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21421 "RANLIB=$${RANLIB}" \
21422 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21423 mostlyclean) \
21424 || exit 1
21426 @endif guile
21428 .PHONY: maybe-clean-guile clean-guile
21429 maybe-clean-guile:
21430 @if guile
21431 maybe-clean-guile: clean-guile
21433 clean-guile:
21434 @[ -f ./guile/Makefile ] || exit 0; \
21435 r=`${PWD_COMMAND}`; export r; \
21436 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21437 $(SET_LIB_PATH) \
21438 $(HOST_EXPORTS) \
21439 for flag in $(EXTRA_HOST_FLAGS) ; do \
21440 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21441 done; \
21442 echo "Doing clean in guile" ; \
21443 (cd guile && \
21444 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21445 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21446 "RANLIB=$${RANLIB}" \
21447 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21448 clean) \
21449 || exit 1
21451 @endif guile
21453 .PHONY: maybe-distclean-guile distclean-guile
21454 maybe-distclean-guile:
21455 @if guile
21456 maybe-distclean-guile: distclean-guile
21458 distclean-guile:
21459 @[ -f ./guile/Makefile ] || exit 0; \
21460 r=`${PWD_COMMAND}`; export r; \
21461 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21462 $(SET_LIB_PATH) \
21463 $(HOST_EXPORTS) \
21464 for flag in $(EXTRA_HOST_FLAGS) ; do \
21465 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21466 done; \
21467 echo "Doing distclean in guile" ; \
21468 (cd guile && \
21469 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21470 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21471 "RANLIB=$${RANLIB}" \
21472 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21473 distclean) \
21474 || exit 1
21476 @endif guile
21478 .PHONY: maybe-maintainer-clean-guile maintainer-clean-guile
21479 maybe-maintainer-clean-guile:
21480 @if guile
21481 maybe-maintainer-clean-guile: maintainer-clean-guile
21483 maintainer-clean-guile:
21484 @[ -f ./guile/Makefile ] || exit 0; \
21485 r=`${PWD_COMMAND}`; export r; \
21486 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21487 $(SET_LIB_PATH) \
21488 $(HOST_EXPORTS) \
21489 for flag in $(EXTRA_HOST_FLAGS) ; do \
21490 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21491 done; \
21492 echo "Doing maintainer-clean in guile" ; \
21493 (cd guile && \
21494 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21495 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21496 "RANLIB=$${RANLIB}" \
21497 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21498 maintainer-clean) \
21499 || exit 1
21501 @endif guile
21504 .PHONY: configure-tk maybe-configure-tk
21505 maybe-configure-tk:
21506 @if tk
21507 maybe-configure-tk: configure-tk
21508 configure-tk:
21509 @test ! -f tk/Makefile || exit 0; \
21510 [ -d tk ] || mkdir tk; \
21511 r=`${PWD_COMMAND}`; export r; \
21512 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21513 $(HOST_EXPORTS) \
21514 echo Configuring in tk; \
21515 cd tk || exit 1; \
21516 case $(srcdir) in \
21517 \.) \
21518 srcdiroption="--srcdir=."; \
21519 libsrcdir=".";; \
21520 /* | [A-Za-z]:[\\/]*) \
21521 srcdiroption="--srcdir=$(srcdir)/tk"; \
21522 libsrcdir="$$s/tk";; \
21523 *) \
21524 srcdiroption="--srcdir=../$(srcdir)/tk"; \
21525 libsrcdir="$$s/tk";; \
21526 esac; \
21527 $(SHELL) $${libsrcdir}/configure \
21528 $(HOST_CONFIGARGS) $${srcdiroption} \
21529 || exit 1
21530 @endif tk
21532 .PHONY: all-tk maybe-all-tk
21533 maybe-all-tk:
21534 @if tk
21535 maybe-all-tk: all-tk
21536 all-tk: configure-tk
21537 @r=`${PWD_COMMAND}`; export r; \
21538 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21539 $(SET_LIB_PATH) \
21540 $(HOST_EXPORTS) \
21541 (cd tk && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) all)
21542 @endif tk
21544 .PHONY: check-tk maybe-check-tk
21545 maybe-check-tk:
21546 @if tk
21547 maybe-check-tk: check-tk
21549 check-tk:
21550 @r=`${PWD_COMMAND}`; export r; \
21551 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21552 $(SET_LIB_PATH) \
21553 $(HOST_EXPORTS) \
21554 (cd tk && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) check)
21556 @endif tk
21558 .PHONY: install-tk maybe-install-tk
21559 maybe-install-tk:
21560 @if tk
21561 maybe-install-tk: install-tk
21563 install-tk: installdirs
21564 @r=`${PWD_COMMAND}`; export r; \
21565 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21566 $(SET_LIB_PATH) \
21567 $(HOST_EXPORTS) \
21568 (cd tk && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) install)
21570 @endif tk
21572 # Other targets (info, dvi, etc.)
21574 .PHONY: maybe-info-tk info-tk
21575 maybe-info-tk:
21576 @if tk
21577 maybe-info-tk: info-tk
21579 info-tk: \
21580 configure-tk
21581 @[ -f ./tk/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 info in tk" ; \
21590 (cd tk && \
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 info) \
21596 || exit 1
21598 @endif tk
21600 .PHONY: maybe-dvi-tk dvi-tk
21601 maybe-dvi-tk:
21602 @if tk
21603 maybe-dvi-tk: dvi-tk
21605 dvi-tk: \
21606 configure-tk
21607 @[ -f ./tk/Makefile ] || exit 0; \
21608 r=`${PWD_COMMAND}`; export r; \
21609 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21610 $(SET_LIB_PATH) \
21611 $(HOST_EXPORTS) \
21612 for flag in $(EXTRA_HOST_FLAGS) ; do \
21613 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21614 done; \
21615 echo "Doing dvi in tk" ; \
21616 (cd tk && \
21617 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21618 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21619 "RANLIB=$${RANLIB}" \
21620 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21621 dvi) \
21622 || exit 1
21624 @endif tk
21626 .PHONY: maybe-TAGS-tk TAGS-tk
21627 maybe-TAGS-tk:
21628 @if tk
21629 maybe-TAGS-tk: TAGS-tk
21631 TAGS-tk: \
21632 configure-tk
21633 @[ -f ./tk/Makefile ] || exit 0; \
21634 r=`${PWD_COMMAND}`; export r; \
21635 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21636 $(SET_LIB_PATH) \
21637 $(HOST_EXPORTS) \
21638 for flag in $(EXTRA_HOST_FLAGS) ; do \
21639 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21640 done; \
21641 echo "Doing TAGS in tk" ; \
21642 (cd tk && \
21643 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21644 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21645 "RANLIB=$${RANLIB}" \
21646 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21647 TAGS) \
21648 || exit 1
21650 @endif tk
21652 .PHONY: maybe-install-info-tk install-info-tk
21653 maybe-install-info-tk:
21654 @if tk
21655 maybe-install-info-tk: install-info-tk
21657 install-info-tk: \
21658 configure-tk \
21659 info-tk
21660 @[ -f ./tk/Makefile ] || exit 0; \
21661 r=`${PWD_COMMAND}`; export r; \
21662 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21663 $(SET_LIB_PATH) \
21664 $(HOST_EXPORTS) \
21665 for flag in $(EXTRA_HOST_FLAGS) ; do \
21666 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21667 done; \
21668 echo "Doing install-info in tk" ; \
21669 (cd tk && \
21670 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21671 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21672 "RANLIB=$${RANLIB}" \
21673 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21674 install-info) \
21675 || exit 1
21677 @endif tk
21679 .PHONY: maybe-installcheck-tk installcheck-tk
21680 maybe-installcheck-tk:
21681 @if tk
21682 maybe-installcheck-tk: installcheck-tk
21684 installcheck-tk: \
21685 configure-tk
21686 @[ -f ./tk/Makefile ] || exit 0; \
21687 r=`${PWD_COMMAND}`; export r; \
21688 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21689 $(SET_LIB_PATH) \
21690 $(HOST_EXPORTS) \
21691 for flag in $(EXTRA_HOST_FLAGS) ; do \
21692 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21693 done; \
21694 echo "Doing installcheck in tk" ; \
21695 (cd tk && \
21696 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21697 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21698 "RANLIB=$${RANLIB}" \
21699 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21700 installcheck) \
21701 || exit 1
21703 @endif tk
21705 .PHONY: maybe-mostlyclean-tk mostlyclean-tk
21706 maybe-mostlyclean-tk:
21707 @if tk
21708 maybe-mostlyclean-tk: mostlyclean-tk
21710 mostlyclean-tk:
21711 @[ -f ./tk/Makefile ] || exit 0; \
21712 r=`${PWD_COMMAND}`; export r; \
21713 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21714 $(SET_LIB_PATH) \
21715 $(HOST_EXPORTS) \
21716 for flag in $(EXTRA_HOST_FLAGS) ; do \
21717 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21718 done; \
21719 echo "Doing mostlyclean in tk" ; \
21720 (cd tk && \
21721 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21722 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21723 "RANLIB=$${RANLIB}" \
21724 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21725 mostlyclean) \
21726 || exit 1
21728 @endif tk
21730 .PHONY: maybe-clean-tk clean-tk
21731 maybe-clean-tk:
21732 @if tk
21733 maybe-clean-tk: clean-tk
21735 clean-tk:
21736 @[ -f ./tk/Makefile ] || exit 0; \
21737 r=`${PWD_COMMAND}`; export r; \
21738 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21739 $(SET_LIB_PATH) \
21740 $(HOST_EXPORTS) \
21741 for flag in $(EXTRA_HOST_FLAGS) ; do \
21742 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21743 done; \
21744 echo "Doing clean in tk" ; \
21745 (cd tk && \
21746 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21747 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21748 "RANLIB=$${RANLIB}" \
21749 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21750 clean) \
21751 || exit 1
21753 @endif tk
21755 .PHONY: maybe-distclean-tk distclean-tk
21756 maybe-distclean-tk:
21757 @if tk
21758 maybe-distclean-tk: distclean-tk
21760 distclean-tk:
21761 @[ -f ./tk/Makefile ] || exit 0; \
21762 r=`${PWD_COMMAND}`; export r; \
21763 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21764 $(SET_LIB_PATH) \
21765 $(HOST_EXPORTS) \
21766 for flag in $(EXTRA_HOST_FLAGS) ; do \
21767 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21768 done; \
21769 echo "Doing distclean in tk" ; \
21770 (cd tk && \
21771 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21772 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21773 "RANLIB=$${RANLIB}" \
21774 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21775 distclean) \
21776 || exit 1
21778 @endif tk
21780 .PHONY: maybe-maintainer-clean-tk maintainer-clean-tk
21781 maybe-maintainer-clean-tk:
21782 @if tk
21783 maybe-maintainer-clean-tk: maintainer-clean-tk
21785 maintainer-clean-tk:
21786 @[ -f ./tk/Makefile ] || exit 0; \
21787 r=`${PWD_COMMAND}`; export r; \
21788 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21789 $(SET_LIB_PATH) \
21790 $(HOST_EXPORTS) \
21791 for flag in $(EXTRA_HOST_FLAGS) ; do \
21792 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21793 done; \
21794 echo "Doing maintainer-clean in tk" ; \
21795 (cd tk && \
21796 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21797 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21798 "RANLIB=$${RANLIB}" \
21799 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21800 maintainer-clean) \
21801 || exit 1
21803 @endif tk
21806 .PHONY: configure-libtermcap maybe-configure-libtermcap
21807 maybe-configure-libtermcap:
21808 @if libtermcap
21809 maybe-configure-libtermcap: configure-libtermcap
21810 configure-libtermcap:
21811 @test ! -f libtermcap/Makefile || exit 0; \
21812 [ -d libtermcap ] || mkdir libtermcap; \
21813 r=`${PWD_COMMAND}`; export r; \
21814 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21815 $(HOST_EXPORTS) \
21816 echo Configuring in libtermcap; \
21817 cd libtermcap || exit 1; \
21818 case $(srcdir) in \
21819 \.) \
21820 srcdiroption="--srcdir=."; \
21821 libsrcdir=".";; \
21822 /* | [A-Za-z]:[\\/]*) \
21823 srcdiroption="--srcdir=$(srcdir)/libtermcap"; \
21824 libsrcdir="$$s/libtermcap";; \
21825 *) \
21826 srcdiroption="--srcdir=../$(srcdir)/libtermcap"; \
21827 libsrcdir="$$s/libtermcap";; \
21828 esac; \
21829 $(SHELL) $${libsrcdir}/configure \
21830 $(HOST_CONFIGARGS) $${srcdiroption} \
21831 || exit 1
21832 @endif libtermcap
21834 .PHONY: all-libtermcap maybe-all-libtermcap
21835 maybe-all-libtermcap:
21836 @if libtermcap
21837 maybe-all-libtermcap: all-libtermcap
21838 all-libtermcap: configure-libtermcap
21839 @r=`${PWD_COMMAND}`; export r; \
21840 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21841 $(SET_LIB_PATH) \
21842 $(HOST_EXPORTS) \
21843 (cd libtermcap && $(MAKE) $(FLAGS_TO_PASS) all)
21844 @endif libtermcap
21846 .PHONY: check-libtermcap maybe-check-libtermcap
21847 maybe-check-libtermcap:
21848 @if libtermcap
21849 maybe-check-libtermcap: check-libtermcap
21851 check-libtermcap:
21853 @endif libtermcap
21855 .PHONY: install-libtermcap maybe-install-libtermcap
21856 maybe-install-libtermcap:
21857 @if libtermcap
21858 maybe-install-libtermcap: install-libtermcap
21860 install-libtermcap: installdirs
21861 @r=`${PWD_COMMAND}`; export r; \
21862 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21863 $(SET_LIB_PATH) \
21864 $(HOST_EXPORTS) \
21865 (cd libtermcap && $(MAKE) $(FLAGS_TO_PASS) install)
21867 @endif libtermcap
21869 # Other targets (info, dvi, etc.)
21871 .PHONY: maybe-info-libtermcap info-libtermcap
21872 maybe-info-libtermcap:
21873 @if libtermcap
21874 maybe-info-libtermcap: info-libtermcap
21876 info-libtermcap: \
21877 configure-libtermcap
21878 @[ -f ./libtermcap/Makefile ] || exit 0; \
21879 r=`${PWD_COMMAND}`; export r; \
21880 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21881 $(SET_LIB_PATH) \
21882 $(HOST_EXPORTS) \
21883 for flag in $(EXTRA_HOST_FLAGS) ; do \
21884 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21885 done; \
21886 echo "Doing info in libtermcap" ; \
21887 (cd libtermcap && \
21888 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21889 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21890 "RANLIB=$${RANLIB}" \
21891 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21892 info) \
21893 || exit 1
21895 @endif libtermcap
21897 .PHONY: maybe-dvi-libtermcap dvi-libtermcap
21898 maybe-dvi-libtermcap:
21899 @if libtermcap
21900 maybe-dvi-libtermcap: dvi-libtermcap
21902 dvi-libtermcap: \
21903 configure-libtermcap
21904 @[ -f ./libtermcap/Makefile ] || exit 0; \
21905 r=`${PWD_COMMAND}`; export r; \
21906 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21907 $(SET_LIB_PATH) \
21908 $(HOST_EXPORTS) \
21909 for flag in $(EXTRA_HOST_FLAGS) ; do \
21910 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21911 done; \
21912 echo "Doing dvi in libtermcap" ; \
21913 (cd libtermcap && \
21914 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21915 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21916 "RANLIB=$${RANLIB}" \
21917 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21918 dvi) \
21919 || exit 1
21921 @endif libtermcap
21923 .PHONY: maybe-TAGS-libtermcap TAGS-libtermcap
21924 maybe-TAGS-libtermcap:
21925 @if libtermcap
21926 maybe-TAGS-libtermcap: TAGS-libtermcap
21928 TAGS-libtermcap: \
21929 configure-libtermcap
21930 @[ -f ./libtermcap/Makefile ] || exit 0; \
21931 r=`${PWD_COMMAND}`; export r; \
21932 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21933 $(SET_LIB_PATH) \
21934 $(HOST_EXPORTS) \
21935 for flag in $(EXTRA_HOST_FLAGS) ; do \
21936 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21937 done; \
21938 echo "Doing TAGS in libtermcap" ; \
21939 (cd libtermcap && \
21940 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21941 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21942 "RANLIB=$${RANLIB}" \
21943 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21944 TAGS) \
21945 || exit 1
21947 @endif libtermcap
21949 .PHONY: maybe-install-info-libtermcap install-info-libtermcap
21950 maybe-install-info-libtermcap:
21951 @if libtermcap
21952 maybe-install-info-libtermcap: install-info-libtermcap
21954 install-info-libtermcap: \
21955 configure-libtermcap \
21956 info-libtermcap
21957 @[ -f ./libtermcap/Makefile ] || exit 0; \
21958 r=`${PWD_COMMAND}`; export r; \
21959 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21960 $(SET_LIB_PATH) \
21961 $(HOST_EXPORTS) \
21962 for flag in $(EXTRA_HOST_FLAGS) ; do \
21963 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21964 done; \
21965 echo "Doing install-info in libtermcap" ; \
21966 (cd libtermcap && \
21967 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21968 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21969 "RANLIB=$${RANLIB}" \
21970 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21971 install-info) \
21972 || exit 1
21974 @endif libtermcap
21976 .PHONY: maybe-installcheck-libtermcap installcheck-libtermcap
21977 maybe-installcheck-libtermcap:
21978 @if libtermcap
21979 maybe-installcheck-libtermcap: installcheck-libtermcap
21981 installcheck-libtermcap: \
21982 configure-libtermcap
21983 @[ -f ./libtermcap/Makefile ] || exit 0; \
21984 r=`${PWD_COMMAND}`; export r; \
21985 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21986 $(SET_LIB_PATH) \
21987 $(HOST_EXPORTS) \
21988 for flag in $(EXTRA_HOST_FLAGS) ; do \
21989 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21990 done; \
21991 echo "Doing installcheck in libtermcap" ; \
21992 (cd libtermcap && \
21993 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21994 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21995 "RANLIB=$${RANLIB}" \
21996 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21997 installcheck) \
21998 || exit 1
22000 @endif libtermcap
22002 .PHONY: maybe-mostlyclean-libtermcap mostlyclean-libtermcap
22003 maybe-mostlyclean-libtermcap:
22004 @if libtermcap
22005 maybe-mostlyclean-libtermcap: mostlyclean-libtermcap
22007 # libtermcap doesn't support mostlyclean.
22008 mostlyclean-libtermcap:
22010 @endif libtermcap
22012 .PHONY: maybe-clean-libtermcap clean-libtermcap
22013 maybe-clean-libtermcap:
22014 @if libtermcap
22015 maybe-clean-libtermcap: clean-libtermcap
22017 # libtermcap doesn't support clean.
22018 clean-libtermcap:
22020 @endif libtermcap
22022 .PHONY: maybe-distclean-libtermcap distclean-libtermcap
22023 maybe-distclean-libtermcap:
22024 @if libtermcap
22025 maybe-distclean-libtermcap: distclean-libtermcap
22027 # libtermcap doesn't support distclean.
22028 distclean-libtermcap:
22030 @endif libtermcap
22032 .PHONY: maybe-maintainer-clean-libtermcap maintainer-clean-libtermcap
22033 maybe-maintainer-clean-libtermcap:
22034 @if libtermcap
22035 maybe-maintainer-clean-libtermcap: maintainer-clean-libtermcap
22037 # libtermcap doesn't support maintainer-clean.
22038 maintainer-clean-libtermcap:
22040 @endif libtermcap
22043 .PHONY: configure-utils maybe-configure-utils
22044 maybe-configure-utils:
22045 @if utils
22046 maybe-configure-utils: configure-utils
22047 configure-utils:
22048 @test ! -f utils/Makefile || exit 0; \
22049 [ -d utils ] || mkdir utils; \
22050 r=`${PWD_COMMAND}`; export r; \
22051 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22052 $(HOST_EXPORTS) \
22053 echo Configuring in utils; \
22054 cd utils || exit 1; \
22055 case $(srcdir) in \
22056 \.) \
22057 srcdiroption="--srcdir=."; \
22058 libsrcdir=".";; \
22059 /* | [A-Za-z]:[\\/]*) \
22060 srcdiroption="--srcdir=$(srcdir)/utils"; \
22061 libsrcdir="$$s/utils";; \
22062 *) \
22063 srcdiroption="--srcdir=../$(srcdir)/utils"; \
22064 libsrcdir="$$s/utils";; \
22065 esac; \
22066 $(SHELL) $${libsrcdir}/configure \
22067 $(HOST_CONFIGARGS) $${srcdiroption} \
22068 || exit 1
22069 @endif utils
22071 .PHONY: all-utils maybe-all-utils
22072 maybe-all-utils:
22073 @if utils
22074 maybe-all-utils: all-utils
22075 all-utils: configure-utils
22076 @r=`${PWD_COMMAND}`; export r; \
22077 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22078 $(SET_LIB_PATH) \
22079 $(HOST_EXPORTS) \
22080 (cd utils && $(MAKE) $(FLAGS_TO_PASS) all)
22081 @endif utils
22083 .PHONY: check-utils maybe-check-utils
22084 maybe-check-utils:
22085 @if utils
22086 maybe-check-utils: check-utils
22088 check-utils:
22090 @endif utils
22092 .PHONY: install-utils maybe-install-utils
22093 maybe-install-utils:
22094 @if utils
22095 maybe-install-utils: install-utils
22097 install-utils: installdirs
22098 @r=`${PWD_COMMAND}`; export r; \
22099 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22100 $(SET_LIB_PATH) \
22101 $(HOST_EXPORTS) \
22102 (cd utils && $(MAKE) $(FLAGS_TO_PASS) install)
22104 @endif utils
22106 # Other targets (info, dvi, etc.)
22108 .PHONY: maybe-info-utils info-utils
22109 maybe-info-utils:
22110 @if utils
22111 maybe-info-utils: info-utils
22113 info-utils: \
22114 configure-utils
22115 @[ -f ./utils/Makefile ] || exit 0; \
22116 r=`${PWD_COMMAND}`; export r; \
22117 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22118 $(SET_LIB_PATH) \
22119 $(HOST_EXPORTS) \
22120 for flag in $(EXTRA_HOST_FLAGS) ; do \
22121 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22122 done; \
22123 echo "Doing info in utils" ; \
22124 (cd utils && \
22125 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22126 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22127 "RANLIB=$${RANLIB}" \
22128 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22129 info) \
22130 || exit 1
22132 @endif utils
22134 .PHONY: maybe-dvi-utils dvi-utils
22135 maybe-dvi-utils:
22136 @if utils
22137 maybe-dvi-utils: dvi-utils
22139 dvi-utils: \
22140 configure-utils
22141 @[ -f ./utils/Makefile ] || exit 0; \
22142 r=`${PWD_COMMAND}`; export r; \
22143 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22144 $(SET_LIB_PATH) \
22145 $(HOST_EXPORTS) \
22146 for flag in $(EXTRA_HOST_FLAGS) ; do \
22147 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22148 done; \
22149 echo "Doing dvi in utils" ; \
22150 (cd utils && \
22151 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22152 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22153 "RANLIB=$${RANLIB}" \
22154 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22155 dvi) \
22156 || exit 1
22158 @endif utils
22160 .PHONY: maybe-TAGS-utils TAGS-utils
22161 maybe-TAGS-utils:
22162 @if utils
22163 maybe-TAGS-utils: TAGS-utils
22165 TAGS-utils: \
22166 configure-utils
22167 @[ -f ./utils/Makefile ] || exit 0; \
22168 r=`${PWD_COMMAND}`; export r; \
22169 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22170 $(SET_LIB_PATH) \
22171 $(HOST_EXPORTS) \
22172 for flag in $(EXTRA_HOST_FLAGS) ; do \
22173 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22174 done; \
22175 echo "Doing TAGS in utils" ; \
22176 (cd utils && \
22177 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22178 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22179 "RANLIB=$${RANLIB}" \
22180 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22181 TAGS) \
22182 || exit 1
22184 @endif utils
22186 .PHONY: maybe-install-info-utils install-info-utils
22187 maybe-install-info-utils:
22188 @if utils
22189 maybe-install-info-utils: install-info-utils
22191 install-info-utils: \
22192 configure-utils \
22193 info-utils
22194 @[ -f ./utils/Makefile ] || exit 0; \
22195 r=`${PWD_COMMAND}`; export r; \
22196 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22197 $(SET_LIB_PATH) \
22198 $(HOST_EXPORTS) \
22199 for flag in $(EXTRA_HOST_FLAGS) ; do \
22200 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22201 done; \
22202 echo "Doing install-info in utils" ; \
22203 (cd utils && \
22204 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22205 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22206 "RANLIB=$${RANLIB}" \
22207 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22208 install-info) \
22209 || exit 1
22211 @endif utils
22213 .PHONY: maybe-installcheck-utils installcheck-utils
22214 maybe-installcheck-utils:
22215 @if utils
22216 maybe-installcheck-utils: installcheck-utils
22218 installcheck-utils: \
22219 configure-utils
22220 @[ -f ./utils/Makefile ] || exit 0; \
22221 r=`${PWD_COMMAND}`; export r; \
22222 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22223 $(SET_LIB_PATH) \
22224 $(HOST_EXPORTS) \
22225 for flag in $(EXTRA_HOST_FLAGS) ; do \
22226 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22227 done; \
22228 echo "Doing installcheck in utils" ; \
22229 (cd utils && \
22230 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22231 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22232 "RANLIB=$${RANLIB}" \
22233 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22234 installcheck) \
22235 || exit 1
22237 @endif utils
22239 .PHONY: maybe-mostlyclean-utils mostlyclean-utils
22240 maybe-mostlyclean-utils:
22241 @if utils
22242 maybe-mostlyclean-utils: mostlyclean-utils
22244 mostlyclean-utils:
22245 @[ -f ./utils/Makefile ] || exit 0; \
22246 r=`${PWD_COMMAND}`; export r; \
22247 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22248 $(SET_LIB_PATH) \
22249 $(HOST_EXPORTS) \
22250 for flag in $(EXTRA_HOST_FLAGS) ; do \
22251 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22252 done; \
22253 echo "Doing mostlyclean in utils" ; \
22254 (cd utils && \
22255 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22256 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22257 "RANLIB=$${RANLIB}" \
22258 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22259 mostlyclean) \
22260 || exit 1
22262 @endif utils
22264 .PHONY: maybe-clean-utils clean-utils
22265 maybe-clean-utils:
22266 @if utils
22267 maybe-clean-utils: clean-utils
22269 clean-utils:
22270 @[ -f ./utils/Makefile ] || exit 0; \
22271 r=`${PWD_COMMAND}`; export r; \
22272 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22273 $(SET_LIB_PATH) \
22274 $(HOST_EXPORTS) \
22275 for flag in $(EXTRA_HOST_FLAGS) ; do \
22276 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22277 done; \
22278 echo "Doing clean in utils" ; \
22279 (cd utils && \
22280 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22281 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22282 "RANLIB=$${RANLIB}" \
22283 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22284 clean) \
22285 || exit 1
22287 @endif utils
22289 .PHONY: maybe-distclean-utils distclean-utils
22290 maybe-distclean-utils:
22291 @if utils
22292 maybe-distclean-utils: distclean-utils
22294 distclean-utils:
22295 @[ -f ./utils/Makefile ] || exit 0; \
22296 r=`${PWD_COMMAND}`; export r; \
22297 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22298 $(SET_LIB_PATH) \
22299 $(HOST_EXPORTS) \
22300 for flag in $(EXTRA_HOST_FLAGS) ; do \
22301 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22302 done; \
22303 echo "Doing distclean in utils" ; \
22304 (cd utils && \
22305 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22306 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22307 "RANLIB=$${RANLIB}" \
22308 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22309 distclean) \
22310 || exit 1
22312 @endif utils
22314 .PHONY: maybe-maintainer-clean-utils maintainer-clean-utils
22315 maybe-maintainer-clean-utils:
22316 @if utils
22317 maybe-maintainer-clean-utils: maintainer-clean-utils
22319 maintainer-clean-utils:
22320 @[ -f ./utils/Makefile ] || exit 0; \
22321 r=`${PWD_COMMAND}`; export r; \
22322 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22323 $(SET_LIB_PATH) \
22324 $(HOST_EXPORTS) \
22325 for flag in $(EXTRA_HOST_FLAGS) ; do \
22326 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22327 done; \
22328 echo "Doing maintainer-clean in utils" ; \
22329 (cd utils && \
22330 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22331 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22332 "RANLIB=$${RANLIB}" \
22333 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22334 maintainer-clean) \
22335 || exit 1
22337 @endif utils
22341 # ---------------------------------------
22342 # Modules which run on the target machine
22343 # ---------------------------------------
22345 .PHONY: configure-target-libstdc++-v3 maybe-configure-target-libstdc++-v3
22346 maybe-configure-target-libstdc++-v3:
22347 @if target-libstdc++-v3
22348 maybe-configure-target-libstdc++-v3: configure-target-libstdc++-v3
22350 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
22351 $(TARGET_SUBDIR)/libstdc++-v3/multilib.out: multilib.out
22352 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \
22353 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || : ; \
22354 cp multilib.out $(TARGET_SUBDIR)/libstdc++-v3/multilib.out
22356 configure-target-libstdc++-v3: $(TARGET_SUBDIR)/libstdc++-v3/multilib.out
22357 @test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
22358 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \
22359 r=`${PWD_COMMAND}`; export r; \
22360 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22361 $(SET_LIB_PATH) \
22362 $(RAW_CXX_TARGET_EXPORTS) \
22363 echo Configuring in $(TARGET_SUBDIR)/libstdc++-v3; \
22364 cd "$(TARGET_SUBDIR)/libstdc++-v3" || exit 1; \
22365 case $(srcdir) in \
22366 /* | [A-Za-z]:[\\/]*) \
22367 topdir=$(srcdir) ;; \
22368 *) \
22369 case "$(TARGET_SUBDIR)" in \
22370 .) topdir="../$(srcdir)" ;; \
22371 *) topdir="../../$(srcdir)" ;; \
22372 esac ;; \
22373 esac; \
22374 srcdiroption="--srcdir=$${topdir}/libstdc++-v3"; \
22375 libsrcdir="$$s/libstdc++-v3"; \
22376 rm -f no-such-file || : ; \
22377 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
22378 $(TARGET_CONFIGARGS) $${srcdiroption} \
22379 --with-target-subdir="$(TARGET_SUBDIR)" \
22380 || exit 1
22381 @endif target-libstdc++-v3
22383 .PHONY: all-target-libstdc++-v3 maybe-all-target-libstdc++-v3
22384 maybe-all-target-libstdc++-v3:
22385 @if target-libstdc++-v3
22386 maybe-all-target-libstdc++-v3: all-target-libstdc++-v3
22387 all-target-libstdc++-v3: configure-target-libstdc++-v3
22388 @r=`${PWD_COMMAND}`; export r; \
22389 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22390 $(SET_LIB_PATH) \
22391 $(RAW_CXX_TARGET_EXPORTS) \
22392 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
22393 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' all)
22394 @endif target-libstdc++-v3
22396 .PHONY: check-target-libstdc++-v3 maybe-check-target-libstdc++-v3
22397 maybe-check-target-libstdc++-v3:
22398 @if target-libstdc++-v3
22399 maybe-check-target-libstdc++-v3: check-target-libstdc++-v3
22401 check-target-libstdc++-v3:
22402 @r=`${PWD_COMMAND}`; export r; \
22403 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22404 $(SET_LIB_PATH) \
22405 $(RAW_CXX_TARGET_EXPORTS) \
22406 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
22407 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' check)
22409 @endif target-libstdc++-v3
22411 .PHONY: install-target-libstdc++-v3 maybe-install-target-libstdc++-v3
22412 maybe-install-target-libstdc++-v3:
22413 @if target-libstdc++-v3
22414 maybe-install-target-libstdc++-v3: install-target-libstdc++-v3
22416 install-target-libstdc++-v3: installdirs
22417 @r=`${PWD_COMMAND}`; export r; \
22418 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22419 $(SET_LIB_PATH) \
22420 $(RAW_CXX_TARGET_EXPORTS) \
22421 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
22422 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
22424 @endif target-libstdc++-v3
22426 # Other targets (info, dvi, etc.)
22428 .PHONY: maybe-info-target-libstdc++-v3 info-target-libstdc++-v3
22429 maybe-info-target-libstdc++-v3:
22430 @if target-libstdc++-v3
22431 maybe-info-target-libstdc++-v3: info-target-libstdc++-v3
22433 info-target-libstdc++-v3: \
22434 configure-target-libstdc++-v3
22435 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
22436 r=`${PWD_COMMAND}`; export r; \
22437 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22438 $(SET_LIB_PATH) \
22439 $(RAW_CXX_TARGET_EXPORTS) \
22440 echo "Doing info in $(TARGET_SUBDIR)/libstdc++-v3" ; \
22441 for flag in $(EXTRA_TARGET_FLAGS); do \
22442 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22443 done; \
22444 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
22445 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22446 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22447 "RANLIB=$${RANLIB}" \
22448 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22449 info) \
22450 || exit 1
22452 @endif target-libstdc++-v3
22454 .PHONY: maybe-dvi-target-libstdc++-v3 dvi-target-libstdc++-v3
22455 maybe-dvi-target-libstdc++-v3:
22456 @if target-libstdc++-v3
22457 maybe-dvi-target-libstdc++-v3: dvi-target-libstdc++-v3
22459 dvi-target-libstdc++-v3: \
22460 configure-target-libstdc++-v3
22461 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
22462 r=`${PWD_COMMAND}`; export r; \
22463 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22464 $(SET_LIB_PATH) \
22465 $(RAW_CXX_TARGET_EXPORTS) \
22466 echo "Doing dvi in $(TARGET_SUBDIR)/libstdc++-v3" ; \
22467 for flag in $(EXTRA_TARGET_FLAGS); do \
22468 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22469 done; \
22470 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
22471 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22472 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22473 "RANLIB=$${RANLIB}" \
22474 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22475 dvi) \
22476 || exit 1
22478 @endif target-libstdc++-v3
22480 .PHONY: maybe-TAGS-target-libstdc++-v3 TAGS-target-libstdc++-v3
22481 maybe-TAGS-target-libstdc++-v3:
22482 @if target-libstdc++-v3
22483 maybe-TAGS-target-libstdc++-v3: TAGS-target-libstdc++-v3
22485 TAGS-target-libstdc++-v3: \
22486 configure-target-libstdc++-v3
22487 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
22488 r=`${PWD_COMMAND}`; export r; \
22489 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22490 $(SET_LIB_PATH) \
22491 $(RAW_CXX_TARGET_EXPORTS) \
22492 echo "Doing TAGS in $(TARGET_SUBDIR)/libstdc++-v3" ; \
22493 for flag in $(EXTRA_TARGET_FLAGS); do \
22494 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22495 done; \
22496 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
22497 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22498 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22499 "RANLIB=$${RANLIB}" \
22500 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22501 TAGS) \
22502 || exit 1
22504 @endif target-libstdc++-v3
22506 .PHONY: maybe-install-info-target-libstdc++-v3 install-info-target-libstdc++-v3
22507 maybe-install-info-target-libstdc++-v3:
22508 @if target-libstdc++-v3
22509 maybe-install-info-target-libstdc++-v3: install-info-target-libstdc++-v3
22511 install-info-target-libstdc++-v3: \
22512 configure-target-libstdc++-v3 \
22513 info-target-libstdc++-v3
22514 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
22515 r=`${PWD_COMMAND}`; export r; \
22516 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22517 $(SET_LIB_PATH) \
22518 $(RAW_CXX_TARGET_EXPORTS) \
22519 echo "Doing install-info in $(TARGET_SUBDIR)/libstdc++-v3" ; \
22520 for flag in $(EXTRA_TARGET_FLAGS); do \
22521 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22522 done; \
22523 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
22524 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22525 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22526 "RANLIB=$${RANLIB}" \
22527 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22528 install-info) \
22529 || exit 1
22531 @endif target-libstdc++-v3
22533 .PHONY: maybe-installcheck-target-libstdc++-v3 installcheck-target-libstdc++-v3
22534 maybe-installcheck-target-libstdc++-v3:
22535 @if target-libstdc++-v3
22536 maybe-installcheck-target-libstdc++-v3: installcheck-target-libstdc++-v3
22538 installcheck-target-libstdc++-v3: \
22539 configure-target-libstdc++-v3
22540 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
22541 r=`${PWD_COMMAND}`; export r; \
22542 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22543 $(SET_LIB_PATH) \
22544 $(RAW_CXX_TARGET_EXPORTS) \
22545 echo "Doing installcheck in $(TARGET_SUBDIR)/libstdc++-v3" ; \
22546 for flag in $(EXTRA_TARGET_FLAGS); do \
22547 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22548 done; \
22549 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
22550 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22551 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22552 "RANLIB=$${RANLIB}" \
22553 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22554 installcheck) \
22555 || exit 1
22557 @endif target-libstdc++-v3
22559 .PHONY: maybe-mostlyclean-target-libstdc++-v3 mostlyclean-target-libstdc++-v3
22560 maybe-mostlyclean-target-libstdc++-v3:
22561 @if target-libstdc++-v3
22562 maybe-mostlyclean-target-libstdc++-v3: mostlyclean-target-libstdc++-v3
22564 mostlyclean-target-libstdc++-v3:
22565 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
22566 r=`${PWD_COMMAND}`; export r; \
22567 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22568 $(SET_LIB_PATH) \
22569 $(RAW_CXX_TARGET_EXPORTS) \
22570 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
22571 for flag in $(EXTRA_TARGET_FLAGS); do \
22572 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22573 done; \
22574 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
22575 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22576 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22577 "RANLIB=$${RANLIB}" \
22578 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22579 mostlyclean) \
22580 || exit 1
22582 @endif target-libstdc++-v3
22584 .PHONY: maybe-clean-target-libstdc++-v3 clean-target-libstdc++-v3
22585 maybe-clean-target-libstdc++-v3:
22586 @if target-libstdc++-v3
22587 maybe-clean-target-libstdc++-v3: clean-target-libstdc++-v3
22589 clean-target-libstdc++-v3:
22590 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
22591 r=`${PWD_COMMAND}`; export r; \
22592 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22593 $(SET_LIB_PATH) \
22594 $(RAW_CXX_TARGET_EXPORTS) \
22595 echo "Doing clean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
22596 for flag in $(EXTRA_TARGET_FLAGS); do \
22597 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22598 done; \
22599 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
22600 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22601 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22602 "RANLIB=$${RANLIB}" \
22603 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22604 clean) \
22605 || exit 1
22607 @endif target-libstdc++-v3
22609 .PHONY: maybe-distclean-target-libstdc++-v3 distclean-target-libstdc++-v3
22610 maybe-distclean-target-libstdc++-v3:
22611 @if target-libstdc++-v3
22612 maybe-distclean-target-libstdc++-v3: distclean-target-libstdc++-v3
22614 distclean-target-libstdc++-v3:
22615 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
22616 r=`${PWD_COMMAND}`; export r; \
22617 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22618 $(SET_LIB_PATH) \
22619 $(RAW_CXX_TARGET_EXPORTS) \
22620 echo "Doing distclean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
22621 for flag in $(EXTRA_TARGET_FLAGS); do \
22622 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22623 done; \
22624 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
22625 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22626 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22627 "RANLIB=$${RANLIB}" \
22628 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22629 distclean) \
22630 || exit 1
22632 @endif target-libstdc++-v3
22634 .PHONY: maybe-maintainer-clean-target-libstdc++-v3 maintainer-clean-target-libstdc++-v3
22635 maybe-maintainer-clean-target-libstdc++-v3:
22636 @if target-libstdc++-v3
22637 maybe-maintainer-clean-target-libstdc++-v3: maintainer-clean-target-libstdc++-v3
22639 maintainer-clean-target-libstdc++-v3:
22640 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
22641 r=`${PWD_COMMAND}`; export r; \
22642 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22643 $(SET_LIB_PATH) \
22644 $(RAW_CXX_TARGET_EXPORTS) \
22645 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
22646 for flag in $(EXTRA_TARGET_FLAGS); do \
22647 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22648 done; \
22649 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
22650 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22651 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22652 "RANLIB=$${RANLIB}" \
22653 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22654 maintainer-clean) \
22655 || exit 1
22657 @endif target-libstdc++-v3
22660 .PHONY: configure-target-libmudflap maybe-configure-target-libmudflap
22661 maybe-configure-target-libmudflap:
22662 @if target-libmudflap
22663 maybe-configure-target-libmudflap: configure-target-libmudflap
22665 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
22666 $(TARGET_SUBDIR)/libmudflap/multilib.out: multilib.out
22667 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libmudflap ; \
22668 rm -f $(TARGET_SUBDIR)/libmudflap/Makefile || : ; \
22669 cp multilib.out $(TARGET_SUBDIR)/libmudflap/multilib.out
22671 configure-target-libmudflap: $(TARGET_SUBDIR)/libmudflap/multilib.out
22672 @test ! -f $(TARGET_SUBDIR)/libmudflap/Makefile || exit 0; \
22673 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libmudflap ; \
22674 r=`${PWD_COMMAND}`; export r; \
22675 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22676 $(SET_LIB_PATH) \
22677 $(NORMAL_TARGET_EXPORTS) \
22678 echo Configuring in $(TARGET_SUBDIR)/libmudflap; \
22679 cd "$(TARGET_SUBDIR)/libmudflap" || exit 1; \
22680 case $(srcdir) in \
22681 /* | [A-Za-z]:[\\/]*) \
22682 topdir=$(srcdir) ;; \
22683 *) \
22684 case "$(TARGET_SUBDIR)" in \
22685 .) topdir="../$(srcdir)" ;; \
22686 *) topdir="../../$(srcdir)" ;; \
22687 esac ;; \
22688 esac; \
22689 srcdiroption="--srcdir=$${topdir}/libmudflap"; \
22690 libsrcdir="$$s/libmudflap"; \
22691 rm -f no-such-file || : ; \
22692 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
22693 $(TARGET_CONFIGARGS) $${srcdiroption} \
22694 --with-target-subdir="$(TARGET_SUBDIR)" \
22695 || exit 1
22696 @endif target-libmudflap
22698 .PHONY: all-target-libmudflap maybe-all-target-libmudflap
22699 maybe-all-target-libmudflap:
22700 @if target-libmudflap
22701 maybe-all-target-libmudflap: all-target-libmudflap
22702 all-target-libmudflap: configure-target-libmudflap
22703 @r=`${PWD_COMMAND}`; export r; \
22704 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22705 $(SET_LIB_PATH) \
22706 $(NORMAL_TARGET_EXPORTS) \
22707 (cd $(TARGET_SUBDIR)/libmudflap && \
22708 $(MAKE) $(TARGET_FLAGS_TO_PASS) all)
22709 @endif target-libmudflap
22711 .PHONY: check-target-libmudflap maybe-check-target-libmudflap
22712 maybe-check-target-libmudflap:
22713 @if target-libmudflap
22714 maybe-check-target-libmudflap: check-target-libmudflap
22716 check-target-libmudflap:
22717 @r=`${PWD_COMMAND}`; export r; \
22718 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22719 $(SET_LIB_PATH) \
22720 $(NORMAL_TARGET_EXPORTS) \
22721 (cd $(TARGET_SUBDIR)/libmudflap && \
22722 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
22724 @endif target-libmudflap
22726 .PHONY: install-target-libmudflap maybe-install-target-libmudflap
22727 maybe-install-target-libmudflap:
22728 @if target-libmudflap
22729 maybe-install-target-libmudflap: install-target-libmudflap
22731 install-target-libmudflap: installdirs
22732 @r=`${PWD_COMMAND}`; export r; \
22733 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22734 $(SET_LIB_PATH) \
22735 $(NORMAL_TARGET_EXPORTS) \
22736 (cd $(TARGET_SUBDIR)/libmudflap && \
22737 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
22739 @endif target-libmudflap
22741 # Other targets (info, dvi, etc.)
22743 .PHONY: maybe-info-target-libmudflap info-target-libmudflap
22744 maybe-info-target-libmudflap:
22745 @if target-libmudflap
22746 maybe-info-target-libmudflap: info-target-libmudflap
22748 info-target-libmudflap: \
22749 configure-target-libmudflap
22750 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
22751 r=`${PWD_COMMAND}`; export r; \
22752 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22753 $(SET_LIB_PATH) \
22754 $(NORMAL_TARGET_EXPORTS) \
22755 echo "Doing info in $(TARGET_SUBDIR)/libmudflap" ; \
22756 for flag in $(EXTRA_TARGET_FLAGS); do \
22757 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22758 done; \
22759 (cd $(TARGET_SUBDIR)/libmudflap && \
22760 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22761 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22762 "RANLIB=$${RANLIB}" \
22763 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22764 info) \
22765 || exit 1
22767 @endif target-libmudflap
22769 .PHONY: maybe-dvi-target-libmudflap dvi-target-libmudflap
22770 maybe-dvi-target-libmudflap:
22771 @if target-libmudflap
22772 maybe-dvi-target-libmudflap: dvi-target-libmudflap
22774 dvi-target-libmudflap: \
22775 configure-target-libmudflap
22776 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
22777 r=`${PWD_COMMAND}`; export r; \
22778 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22779 $(SET_LIB_PATH) \
22780 $(NORMAL_TARGET_EXPORTS) \
22781 echo "Doing dvi in $(TARGET_SUBDIR)/libmudflap" ; \
22782 for flag in $(EXTRA_TARGET_FLAGS); do \
22783 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22784 done; \
22785 (cd $(TARGET_SUBDIR)/libmudflap && \
22786 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22787 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22788 "RANLIB=$${RANLIB}" \
22789 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22790 dvi) \
22791 || exit 1
22793 @endif target-libmudflap
22795 .PHONY: maybe-TAGS-target-libmudflap TAGS-target-libmudflap
22796 maybe-TAGS-target-libmudflap:
22797 @if target-libmudflap
22798 maybe-TAGS-target-libmudflap: TAGS-target-libmudflap
22800 TAGS-target-libmudflap: \
22801 configure-target-libmudflap
22802 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
22803 r=`${PWD_COMMAND}`; export r; \
22804 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22805 $(SET_LIB_PATH) \
22806 $(NORMAL_TARGET_EXPORTS) \
22807 echo "Doing TAGS in $(TARGET_SUBDIR)/libmudflap" ; \
22808 for flag in $(EXTRA_TARGET_FLAGS); do \
22809 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22810 done; \
22811 (cd $(TARGET_SUBDIR)/libmudflap && \
22812 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22813 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22814 "RANLIB=$${RANLIB}" \
22815 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22816 TAGS) \
22817 || exit 1
22819 @endif target-libmudflap
22821 .PHONY: maybe-install-info-target-libmudflap install-info-target-libmudflap
22822 maybe-install-info-target-libmudflap:
22823 @if target-libmudflap
22824 maybe-install-info-target-libmudflap: install-info-target-libmudflap
22826 install-info-target-libmudflap: \
22827 configure-target-libmudflap \
22828 info-target-libmudflap
22829 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
22830 r=`${PWD_COMMAND}`; export r; \
22831 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22832 $(SET_LIB_PATH) \
22833 $(NORMAL_TARGET_EXPORTS) \
22834 echo "Doing install-info in $(TARGET_SUBDIR)/libmudflap" ; \
22835 for flag in $(EXTRA_TARGET_FLAGS); do \
22836 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22837 done; \
22838 (cd $(TARGET_SUBDIR)/libmudflap && \
22839 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22840 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22841 "RANLIB=$${RANLIB}" \
22842 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22843 install-info) \
22844 || exit 1
22846 @endif target-libmudflap
22848 .PHONY: maybe-installcheck-target-libmudflap installcheck-target-libmudflap
22849 maybe-installcheck-target-libmudflap:
22850 @if target-libmudflap
22851 maybe-installcheck-target-libmudflap: installcheck-target-libmudflap
22853 installcheck-target-libmudflap: \
22854 configure-target-libmudflap
22855 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
22856 r=`${PWD_COMMAND}`; export r; \
22857 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22858 $(SET_LIB_PATH) \
22859 $(NORMAL_TARGET_EXPORTS) \
22860 echo "Doing installcheck in $(TARGET_SUBDIR)/libmudflap" ; \
22861 for flag in $(EXTRA_TARGET_FLAGS); do \
22862 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22863 done; \
22864 (cd $(TARGET_SUBDIR)/libmudflap && \
22865 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22866 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22867 "RANLIB=$${RANLIB}" \
22868 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22869 installcheck) \
22870 || exit 1
22872 @endif target-libmudflap
22874 .PHONY: maybe-mostlyclean-target-libmudflap mostlyclean-target-libmudflap
22875 maybe-mostlyclean-target-libmudflap:
22876 @if target-libmudflap
22877 maybe-mostlyclean-target-libmudflap: mostlyclean-target-libmudflap
22879 mostlyclean-target-libmudflap:
22880 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
22881 r=`${PWD_COMMAND}`; export r; \
22882 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22883 $(SET_LIB_PATH) \
22884 $(NORMAL_TARGET_EXPORTS) \
22885 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libmudflap" ; \
22886 for flag in $(EXTRA_TARGET_FLAGS); do \
22887 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22888 done; \
22889 (cd $(TARGET_SUBDIR)/libmudflap && \
22890 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22891 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22892 "RANLIB=$${RANLIB}" \
22893 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22894 mostlyclean) \
22895 || exit 1
22897 @endif target-libmudflap
22899 .PHONY: maybe-clean-target-libmudflap clean-target-libmudflap
22900 maybe-clean-target-libmudflap:
22901 @if target-libmudflap
22902 maybe-clean-target-libmudflap: clean-target-libmudflap
22904 clean-target-libmudflap:
22905 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
22906 r=`${PWD_COMMAND}`; export r; \
22907 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22908 $(SET_LIB_PATH) \
22909 $(NORMAL_TARGET_EXPORTS) \
22910 echo "Doing clean in $(TARGET_SUBDIR)/libmudflap" ; \
22911 for flag in $(EXTRA_TARGET_FLAGS); do \
22912 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22913 done; \
22914 (cd $(TARGET_SUBDIR)/libmudflap && \
22915 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22916 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22917 "RANLIB=$${RANLIB}" \
22918 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22919 clean) \
22920 || exit 1
22922 @endif target-libmudflap
22924 .PHONY: maybe-distclean-target-libmudflap distclean-target-libmudflap
22925 maybe-distclean-target-libmudflap:
22926 @if target-libmudflap
22927 maybe-distclean-target-libmudflap: distclean-target-libmudflap
22929 distclean-target-libmudflap:
22930 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
22931 r=`${PWD_COMMAND}`; export r; \
22932 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22933 $(SET_LIB_PATH) \
22934 $(NORMAL_TARGET_EXPORTS) \
22935 echo "Doing distclean in $(TARGET_SUBDIR)/libmudflap" ; \
22936 for flag in $(EXTRA_TARGET_FLAGS); do \
22937 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22938 done; \
22939 (cd $(TARGET_SUBDIR)/libmudflap && \
22940 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22941 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22942 "RANLIB=$${RANLIB}" \
22943 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22944 distclean) \
22945 || exit 1
22947 @endif target-libmudflap
22949 .PHONY: maybe-maintainer-clean-target-libmudflap maintainer-clean-target-libmudflap
22950 maybe-maintainer-clean-target-libmudflap:
22951 @if target-libmudflap
22952 maybe-maintainer-clean-target-libmudflap: maintainer-clean-target-libmudflap
22954 maintainer-clean-target-libmudflap:
22955 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
22956 r=`${PWD_COMMAND}`; export r; \
22957 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22958 $(SET_LIB_PATH) \
22959 $(NORMAL_TARGET_EXPORTS) \
22960 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libmudflap" ; \
22961 for flag in $(EXTRA_TARGET_FLAGS); do \
22962 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22963 done; \
22964 (cd $(TARGET_SUBDIR)/libmudflap && \
22965 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22966 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22967 "RANLIB=$${RANLIB}" \
22968 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22969 maintainer-clean) \
22970 || exit 1
22972 @endif target-libmudflap
22975 .PHONY: configure-target-newlib maybe-configure-target-newlib
22976 maybe-configure-target-newlib:
22977 @if target-newlib
22978 maybe-configure-target-newlib: configure-target-newlib
22980 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
22981 $(TARGET_SUBDIR)/newlib/multilib.out: multilib.out
22982 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/newlib ; \
22983 rm -f $(TARGET_SUBDIR)/newlib/Makefile || : ; \
22984 cp multilib.out $(TARGET_SUBDIR)/newlib/multilib.out
22986 configure-target-newlib: $(TARGET_SUBDIR)/newlib/multilib.out
22987 @test ! -f $(TARGET_SUBDIR)/newlib/Makefile || exit 0; \
22988 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/newlib ; \
22989 r=`${PWD_COMMAND}`; export r; \
22990 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22991 $(SET_LIB_PATH) \
22992 $(NORMAL_TARGET_EXPORTS) \
22993 echo Configuring in $(TARGET_SUBDIR)/newlib; \
22994 cd "$(TARGET_SUBDIR)/newlib" || exit 1; \
22995 case $(srcdir) in \
22996 /* | [A-Za-z]:[\\/]*) \
22997 topdir=$(srcdir) ;; \
22998 *) \
22999 case "$(TARGET_SUBDIR)" in \
23000 .) topdir="../$(srcdir)" ;; \
23001 *) topdir="../../$(srcdir)" ;; \
23002 esac ;; \
23003 esac; \
23004 srcdiroption="--srcdir=$${topdir}/newlib"; \
23005 libsrcdir="$$s/newlib"; \
23006 rm -f no-such-file || : ; \
23007 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
23008 $(TARGET_CONFIGARGS) $${srcdiroption} \
23009 --with-target-subdir="$(TARGET_SUBDIR)" \
23010 || exit 1
23011 @endif target-newlib
23013 .PHONY: all-target-newlib maybe-all-target-newlib
23014 maybe-all-target-newlib:
23015 @if target-newlib
23016 maybe-all-target-newlib: all-target-newlib
23017 all-target-newlib: configure-target-newlib
23018 @r=`${PWD_COMMAND}`; export r; \
23019 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23020 $(SET_LIB_PATH) \
23021 $(NORMAL_TARGET_EXPORTS) \
23022 (cd $(TARGET_SUBDIR)/newlib && \
23023 $(MAKE) $(TARGET_FLAGS_TO_PASS) all)
23024 @endif target-newlib
23026 .PHONY: check-target-newlib maybe-check-target-newlib
23027 maybe-check-target-newlib:
23028 @if target-newlib
23029 maybe-check-target-newlib: check-target-newlib
23031 check-target-newlib:
23032 @r=`${PWD_COMMAND}`; export r; \
23033 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23034 $(SET_LIB_PATH) \
23035 $(NORMAL_TARGET_EXPORTS) \
23036 (cd $(TARGET_SUBDIR)/newlib && \
23037 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
23039 @endif target-newlib
23041 .PHONY: install-target-newlib maybe-install-target-newlib
23042 maybe-install-target-newlib:
23043 @if target-newlib
23044 maybe-install-target-newlib: install-target-newlib
23046 install-target-newlib: installdirs
23047 @r=`${PWD_COMMAND}`; export r; \
23048 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23049 $(SET_LIB_PATH) \
23050 $(NORMAL_TARGET_EXPORTS) \
23051 (cd $(TARGET_SUBDIR)/newlib && \
23052 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
23054 @endif target-newlib
23056 # Other targets (info, dvi, etc.)
23058 .PHONY: maybe-info-target-newlib info-target-newlib
23059 maybe-info-target-newlib:
23060 @if target-newlib
23061 maybe-info-target-newlib: info-target-newlib
23063 info-target-newlib: \
23064 configure-target-newlib
23065 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
23066 r=`${PWD_COMMAND}`; export r; \
23067 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23068 $(SET_LIB_PATH) \
23069 $(NORMAL_TARGET_EXPORTS) \
23070 echo "Doing info in $(TARGET_SUBDIR)/newlib" ; \
23071 for flag in $(EXTRA_TARGET_FLAGS); do \
23072 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23073 done; \
23074 (cd $(TARGET_SUBDIR)/newlib && \
23075 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23076 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23077 "RANLIB=$${RANLIB}" \
23078 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23079 info) \
23080 || exit 1
23082 @endif target-newlib
23084 .PHONY: maybe-dvi-target-newlib dvi-target-newlib
23085 maybe-dvi-target-newlib:
23086 @if target-newlib
23087 maybe-dvi-target-newlib: dvi-target-newlib
23089 dvi-target-newlib: \
23090 configure-target-newlib
23091 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
23092 r=`${PWD_COMMAND}`; export r; \
23093 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23094 $(SET_LIB_PATH) \
23095 $(NORMAL_TARGET_EXPORTS) \
23096 echo "Doing dvi in $(TARGET_SUBDIR)/newlib" ; \
23097 for flag in $(EXTRA_TARGET_FLAGS); do \
23098 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23099 done; \
23100 (cd $(TARGET_SUBDIR)/newlib && \
23101 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23102 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23103 "RANLIB=$${RANLIB}" \
23104 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23105 dvi) \
23106 || exit 1
23108 @endif target-newlib
23110 .PHONY: maybe-TAGS-target-newlib TAGS-target-newlib
23111 maybe-TAGS-target-newlib:
23112 @if target-newlib
23113 maybe-TAGS-target-newlib: TAGS-target-newlib
23115 TAGS-target-newlib: \
23116 configure-target-newlib
23117 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
23118 r=`${PWD_COMMAND}`; export r; \
23119 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23120 $(SET_LIB_PATH) \
23121 $(NORMAL_TARGET_EXPORTS) \
23122 echo "Doing TAGS in $(TARGET_SUBDIR)/newlib" ; \
23123 for flag in $(EXTRA_TARGET_FLAGS); do \
23124 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23125 done; \
23126 (cd $(TARGET_SUBDIR)/newlib && \
23127 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23128 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23129 "RANLIB=$${RANLIB}" \
23130 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23131 TAGS) \
23132 || exit 1
23134 @endif target-newlib
23136 .PHONY: maybe-install-info-target-newlib install-info-target-newlib
23137 maybe-install-info-target-newlib:
23138 @if target-newlib
23139 maybe-install-info-target-newlib: install-info-target-newlib
23141 install-info-target-newlib: \
23142 configure-target-newlib \
23143 info-target-newlib
23144 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
23145 r=`${PWD_COMMAND}`; export r; \
23146 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23147 $(SET_LIB_PATH) \
23148 $(NORMAL_TARGET_EXPORTS) \
23149 echo "Doing install-info in $(TARGET_SUBDIR)/newlib" ; \
23150 for flag in $(EXTRA_TARGET_FLAGS); do \
23151 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23152 done; \
23153 (cd $(TARGET_SUBDIR)/newlib && \
23154 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23155 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23156 "RANLIB=$${RANLIB}" \
23157 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23158 install-info) \
23159 || exit 1
23161 @endif target-newlib
23163 .PHONY: maybe-installcheck-target-newlib installcheck-target-newlib
23164 maybe-installcheck-target-newlib:
23165 @if target-newlib
23166 maybe-installcheck-target-newlib: installcheck-target-newlib
23168 installcheck-target-newlib: \
23169 configure-target-newlib
23170 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
23171 r=`${PWD_COMMAND}`; export r; \
23172 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23173 $(SET_LIB_PATH) \
23174 $(NORMAL_TARGET_EXPORTS) \
23175 echo "Doing installcheck in $(TARGET_SUBDIR)/newlib" ; \
23176 for flag in $(EXTRA_TARGET_FLAGS); do \
23177 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23178 done; \
23179 (cd $(TARGET_SUBDIR)/newlib && \
23180 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23181 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23182 "RANLIB=$${RANLIB}" \
23183 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23184 installcheck) \
23185 || exit 1
23187 @endif target-newlib
23189 .PHONY: maybe-mostlyclean-target-newlib mostlyclean-target-newlib
23190 maybe-mostlyclean-target-newlib:
23191 @if target-newlib
23192 maybe-mostlyclean-target-newlib: mostlyclean-target-newlib
23194 mostlyclean-target-newlib:
23195 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
23196 r=`${PWD_COMMAND}`; export r; \
23197 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23198 $(SET_LIB_PATH) \
23199 $(NORMAL_TARGET_EXPORTS) \
23200 echo "Doing mostlyclean in $(TARGET_SUBDIR)/newlib" ; \
23201 for flag in $(EXTRA_TARGET_FLAGS); do \
23202 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23203 done; \
23204 (cd $(TARGET_SUBDIR)/newlib && \
23205 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23206 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23207 "RANLIB=$${RANLIB}" \
23208 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23209 mostlyclean) \
23210 || exit 1
23212 @endif target-newlib
23214 .PHONY: maybe-clean-target-newlib clean-target-newlib
23215 maybe-clean-target-newlib:
23216 @if target-newlib
23217 maybe-clean-target-newlib: clean-target-newlib
23219 clean-target-newlib:
23220 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
23221 r=`${PWD_COMMAND}`; export r; \
23222 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23223 $(SET_LIB_PATH) \
23224 $(NORMAL_TARGET_EXPORTS) \
23225 echo "Doing clean in $(TARGET_SUBDIR)/newlib" ; \
23226 for flag in $(EXTRA_TARGET_FLAGS); do \
23227 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23228 done; \
23229 (cd $(TARGET_SUBDIR)/newlib && \
23230 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23231 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23232 "RANLIB=$${RANLIB}" \
23233 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23234 clean) \
23235 || exit 1
23237 @endif target-newlib
23239 .PHONY: maybe-distclean-target-newlib distclean-target-newlib
23240 maybe-distclean-target-newlib:
23241 @if target-newlib
23242 maybe-distclean-target-newlib: distclean-target-newlib
23244 distclean-target-newlib:
23245 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
23246 r=`${PWD_COMMAND}`; export r; \
23247 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23248 $(SET_LIB_PATH) \
23249 $(NORMAL_TARGET_EXPORTS) \
23250 echo "Doing distclean in $(TARGET_SUBDIR)/newlib" ; \
23251 for flag in $(EXTRA_TARGET_FLAGS); do \
23252 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23253 done; \
23254 (cd $(TARGET_SUBDIR)/newlib && \
23255 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23256 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23257 "RANLIB=$${RANLIB}" \
23258 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23259 distclean) \
23260 || exit 1
23262 @endif target-newlib
23264 .PHONY: maybe-maintainer-clean-target-newlib maintainer-clean-target-newlib
23265 maybe-maintainer-clean-target-newlib:
23266 @if target-newlib
23267 maybe-maintainer-clean-target-newlib: maintainer-clean-target-newlib
23269 maintainer-clean-target-newlib:
23270 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
23271 r=`${PWD_COMMAND}`; export r; \
23272 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23273 $(SET_LIB_PATH) \
23274 $(NORMAL_TARGET_EXPORTS) \
23275 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/newlib" ; \
23276 for flag in $(EXTRA_TARGET_FLAGS); do \
23277 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23278 done; \
23279 (cd $(TARGET_SUBDIR)/newlib && \
23280 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23281 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23282 "RANLIB=$${RANLIB}" \
23283 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23284 maintainer-clean) \
23285 || exit 1
23287 @endif target-newlib
23290 .PHONY: configure-target-libgfortran maybe-configure-target-libgfortran
23291 maybe-configure-target-libgfortran:
23292 @if target-libgfortran
23293 maybe-configure-target-libgfortran: configure-target-libgfortran
23295 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
23296 $(TARGET_SUBDIR)/libgfortran/multilib.out: multilib.out
23297 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgfortran ; \
23298 rm -f $(TARGET_SUBDIR)/libgfortran/Makefile || : ; \
23299 cp multilib.out $(TARGET_SUBDIR)/libgfortran/multilib.out
23301 configure-target-libgfortran: $(TARGET_SUBDIR)/libgfortran/multilib.out
23302 @test ! -f $(TARGET_SUBDIR)/libgfortran/Makefile || exit 0; \
23303 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgfortran ; \
23304 r=`${PWD_COMMAND}`; export r; \
23305 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23306 $(SET_LIB_PATH) \
23307 $(NORMAL_TARGET_EXPORTS) \
23308 echo Configuring in $(TARGET_SUBDIR)/libgfortran; \
23309 cd "$(TARGET_SUBDIR)/libgfortran" || exit 1; \
23310 case $(srcdir) in \
23311 /* | [A-Za-z]:[\\/]*) \
23312 topdir=$(srcdir) ;; \
23313 *) \
23314 case "$(TARGET_SUBDIR)" in \
23315 .) topdir="../$(srcdir)" ;; \
23316 *) topdir="../../$(srcdir)" ;; \
23317 esac ;; \
23318 esac; \
23319 srcdiroption="--srcdir=$${topdir}/libgfortran"; \
23320 libsrcdir="$$s/libgfortran"; \
23321 rm -f no-such-file || : ; \
23322 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
23323 $(TARGET_CONFIGARGS) $${srcdiroption} \
23324 --with-target-subdir="$(TARGET_SUBDIR)" \
23325 || exit 1
23326 @endif target-libgfortran
23328 .PHONY: all-target-libgfortran maybe-all-target-libgfortran
23329 maybe-all-target-libgfortran:
23330 @if target-libgfortran
23331 maybe-all-target-libgfortran: all-target-libgfortran
23332 all-target-libgfortran: configure-target-libgfortran
23333 @r=`${PWD_COMMAND}`; export r; \
23334 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23335 $(SET_LIB_PATH) \
23336 $(NORMAL_TARGET_EXPORTS) \
23337 (cd $(TARGET_SUBDIR)/libgfortran && \
23338 $(MAKE) $(TARGET_FLAGS_TO_PASS) all)
23339 @endif target-libgfortran
23341 .PHONY: check-target-libgfortran maybe-check-target-libgfortran
23342 maybe-check-target-libgfortran:
23343 @if target-libgfortran
23344 maybe-check-target-libgfortran: check-target-libgfortran
23346 check-target-libgfortran:
23347 @r=`${PWD_COMMAND}`; export r; \
23348 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23349 $(SET_LIB_PATH) \
23350 $(NORMAL_TARGET_EXPORTS) \
23351 (cd $(TARGET_SUBDIR)/libgfortran && \
23352 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
23354 @endif target-libgfortran
23356 .PHONY: install-target-libgfortran maybe-install-target-libgfortran
23357 maybe-install-target-libgfortran:
23358 @if target-libgfortran
23359 maybe-install-target-libgfortran: install-target-libgfortran
23361 install-target-libgfortran: installdirs
23362 @r=`${PWD_COMMAND}`; export r; \
23363 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23364 $(SET_LIB_PATH) \
23365 $(NORMAL_TARGET_EXPORTS) \
23366 (cd $(TARGET_SUBDIR)/libgfortran && \
23367 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
23369 @endif target-libgfortran
23371 # Other targets (info, dvi, etc.)
23373 .PHONY: maybe-info-target-libgfortran info-target-libgfortran
23374 maybe-info-target-libgfortran:
23375 @if target-libgfortran
23376 maybe-info-target-libgfortran: info-target-libgfortran
23378 info-target-libgfortran: \
23379 configure-target-libgfortran
23380 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
23381 r=`${PWD_COMMAND}`; export r; \
23382 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23383 $(SET_LIB_PATH) \
23384 $(NORMAL_TARGET_EXPORTS) \
23385 echo "Doing info in $(TARGET_SUBDIR)/libgfortran" ; \
23386 for flag in $(EXTRA_TARGET_FLAGS); do \
23387 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23388 done; \
23389 (cd $(TARGET_SUBDIR)/libgfortran && \
23390 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23391 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23392 "RANLIB=$${RANLIB}" \
23393 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23394 info) \
23395 || exit 1
23397 @endif target-libgfortran
23399 .PHONY: maybe-dvi-target-libgfortran dvi-target-libgfortran
23400 maybe-dvi-target-libgfortran:
23401 @if target-libgfortran
23402 maybe-dvi-target-libgfortran: dvi-target-libgfortran
23404 dvi-target-libgfortran: \
23405 configure-target-libgfortran
23406 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
23407 r=`${PWD_COMMAND}`; export r; \
23408 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23409 $(SET_LIB_PATH) \
23410 $(NORMAL_TARGET_EXPORTS) \
23411 echo "Doing dvi in $(TARGET_SUBDIR)/libgfortran" ; \
23412 for flag in $(EXTRA_TARGET_FLAGS); do \
23413 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23414 done; \
23415 (cd $(TARGET_SUBDIR)/libgfortran && \
23416 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23417 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23418 "RANLIB=$${RANLIB}" \
23419 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23420 dvi) \
23421 || exit 1
23423 @endif target-libgfortran
23425 .PHONY: maybe-TAGS-target-libgfortran TAGS-target-libgfortran
23426 maybe-TAGS-target-libgfortran:
23427 @if target-libgfortran
23428 maybe-TAGS-target-libgfortran: TAGS-target-libgfortran
23430 TAGS-target-libgfortran: \
23431 configure-target-libgfortran
23432 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
23433 r=`${PWD_COMMAND}`; export r; \
23434 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23435 $(SET_LIB_PATH) \
23436 $(NORMAL_TARGET_EXPORTS) \
23437 echo "Doing TAGS in $(TARGET_SUBDIR)/libgfortran" ; \
23438 for flag in $(EXTRA_TARGET_FLAGS); do \
23439 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23440 done; \
23441 (cd $(TARGET_SUBDIR)/libgfortran && \
23442 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23443 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23444 "RANLIB=$${RANLIB}" \
23445 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23446 TAGS) \
23447 || exit 1
23449 @endif target-libgfortran
23451 .PHONY: maybe-install-info-target-libgfortran install-info-target-libgfortran
23452 maybe-install-info-target-libgfortran:
23453 @if target-libgfortran
23454 maybe-install-info-target-libgfortran: install-info-target-libgfortran
23456 install-info-target-libgfortran: \
23457 configure-target-libgfortran \
23458 info-target-libgfortran
23459 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
23460 r=`${PWD_COMMAND}`; export r; \
23461 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23462 $(SET_LIB_PATH) \
23463 $(NORMAL_TARGET_EXPORTS) \
23464 echo "Doing install-info in $(TARGET_SUBDIR)/libgfortran" ; \
23465 for flag in $(EXTRA_TARGET_FLAGS); do \
23466 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23467 done; \
23468 (cd $(TARGET_SUBDIR)/libgfortran && \
23469 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23470 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23471 "RANLIB=$${RANLIB}" \
23472 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23473 install-info) \
23474 || exit 1
23476 @endif target-libgfortran
23478 .PHONY: maybe-installcheck-target-libgfortran installcheck-target-libgfortran
23479 maybe-installcheck-target-libgfortran:
23480 @if target-libgfortran
23481 maybe-installcheck-target-libgfortran: installcheck-target-libgfortran
23483 installcheck-target-libgfortran: \
23484 configure-target-libgfortran
23485 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
23486 r=`${PWD_COMMAND}`; export r; \
23487 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23488 $(SET_LIB_PATH) \
23489 $(NORMAL_TARGET_EXPORTS) \
23490 echo "Doing installcheck in $(TARGET_SUBDIR)/libgfortran" ; \
23491 for flag in $(EXTRA_TARGET_FLAGS); do \
23492 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23493 done; \
23494 (cd $(TARGET_SUBDIR)/libgfortran && \
23495 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23496 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23497 "RANLIB=$${RANLIB}" \
23498 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23499 installcheck) \
23500 || exit 1
23502 @endif target-libgfortran
23504 .PHONY: maybe-mostlyclean-target-libgfortran mostlyclean-target-libgfortran
23505 maybe-mostlyclean-target-libgfortran:
23506 @if target-libgfortran
23507 maybe-mostlyclean-target-libgfortran: mostlyclean-target-libgfortran
23509 mostlyclean-target-libgfortran:
23510 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
23511 r=`${PWD_COMMAND}`; export r; \
23512 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23513 $(SET_LIB_PATH) \
23514 $(NORMAL_TARGET_EXPORTS) \
23515 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgfortran" ; \
23516 for flag in $(EXTRA_TARGET_FLAGS); do \
23517 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23518 done; \
23519 (cd $(TARGET_SUBDIR)/libgfortran && \
23520 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23521 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23522 "RANLIB=$${RANLIB}" \
23523 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23524 mostlyclean) \
23525 || exit 1
23527 @endif target-libgfortran
23529 .PHONY: maybe-clean-target-libgfortran clean-target-libgfortran
23530 maybe-clean-target-libgfortran:
23531 @if target-libgfortran
23532 maybe-clean-target-libgfortran: clean-target-libgfortran
23534 clean-target-libgfortran:
23535 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
23536 r=`${PWD_COMMAND}`; export r; \
23537 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23538 $(SET_LIB_PATH) \
23539 $(NORMAL_TARGET_EXPORTS) \
23540 echo "Doing clean in $(TARGET_SUBDIR)/libgfortran" ; \
23541 for flag in $(EXTRA_TARGET_FLAGS); do \
23542 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23543 done; \
23544 (cd $(TARGET_SUBDIR)/libgfortran && \
23545 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23546 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23547 "RANLIB=$${RANLIB}" \
23548 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23549 clean) \
23550 || exit 1
23552 @endif target-libgfortran
23554 .PHONY: maybe-distclean-target-libgfortran distclean-target-libgfortran
23555 maybe-distclean-target-libgfortran:
23556 @if target-libgfortran
23557 maybe-distclean-target-libgfortran: distclean-target-libgfortran
23559 distclean-target-libgfortran:
23560 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
23561 r=`${PWD_COMMAND}`; export r; \
23562 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23563 $(SET_LIB_PATH) \
23564 $(NORMAL_TARGET_EXPORTS) \
23565 echo "Doing distclean in $(TARGET_SUBDIR)/libgfortran" ; \
23566 for flag in $(EXTRA_TARGET_FLAGS); do \
23567 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23568 done; \
23569 (cd $(TARGET_SUBDIR)/libgfortran && \
23570 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23571 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23572 "RANLIB=$${RANLIB}" \
23573 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23574 distclean) \
23575 || exit 1
23577 @endif target-libgfortran
23579 .PHONY: maybe-maintainer-clean-target-libgfortran maintainer-clean-target-libgfortran
23580 maybe-maintainer-clean-target-libgfortran:
23581 @if target-libgfortran
23582 maybe-maintainer-clean-target-libgfortran: maintainer-clean-target-libgfortran
23584 maintainer-clean-target-libgfortran:
23585 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
23586 r=`${PWD_COMMAND}`; export r; \
23587 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23588 $(SET_LIB_PATH) \
23589 $(NORMAL_TARGET_EXPORTS) \
23590 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgfortran" ; \
23591 for flag in $(EXTRA_TARGET_FLAGS); do \
23592 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23593 done; \
23594 (cd $(TARGET_SUBDIR)/libgfortran && \
23595 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23596 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23597 "RANLIB=$${RANLIB}" \
23598 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23599 maintainer-clean) \
23600 || exit 1
23602 @endif target-libgfortran
23605 .PHONY: configure-target-libobjc maybe-configure-target-libobjc
23606 maybe-configure-target-libobjc:
23607 @if target-libobjc
23608 maybe-configure-target-libobjc: configure-target-libobjc
23610 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
23611 $(TARGET_SUBDIR)/libobjc/multilib.out: multilib.out
23612 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libobjc ; \
23613 rm -f $(TARGET_SUBDIR)/libobjc/Makefile || : ; \
23614 cp multilib.out $(TARGET_SUBDIR)/libobjc/multilib.out
23616 configure-target-libobjc: $(TARGET_SUBDIR)/libobjc/multilib.out
23617 @test ! -f $(TARGET_SUBDIR)/libobjc/Makefile || exit 0; \
23618 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libobjc ; \
23619 r=`${PWD_COMMAND}`; export r; \
23620 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23621 $(SET_LIB_PATH) \
23622 $(NORMAL_TARGET_EXPORTS) \
23623 echo Configuring in $(TARGET_SUBDIR)/libobjc; \
23624 cd "$(TARGET_SUBDIR)/libobjc" || exit 1; \
23625 case $(srcdir) in \
23626 /* | [A-Za-z]:[\\/]*) \
23627 topdir=$(srcdir) ;; \
23628 *) \
23629 case "$(TARGET_SUBDIR)" in \
23630 .) topdir="../$(srcdir)" ;; \
23631 *) topdir="../../$(srcdir)" ;; \
23632 esac ;; \
23633 esac; \
23634 srcdiroption="--srcdir=$${topdir}/libobjc"; \
23635 libsrcdir="$$s/libobjc"; \
23636 rm -f no-such-file || : ; \
23637 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
23638 $(TARGET_CONFIGARGS) $${srcdiroption} \
23639 --with-target-subdir="$(TARGET_SUBDIR)" \
23640 || exit 1
23641 @endif target-libobjc
23643 .PHONY: all-target-libobjc maybe-all-target-libobjc
23644 maybe-all-target-libobjc:
23645 @if target-libobjc
23646 maybe-all-target-libobjc: all-target-libobjc
23647 all-target-libobjc: configure-target-libobjc
23648 @r=`${PWD_COMMAND}`; export r; \
23649 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23650 $(SET_LIB_PATH) \
23651 $(NORMAL_TARGET_EXPORTS) \
23652 (cd $(TARGET_SUBDIR)/libobjc && \
23653 $(MAKE) $(TARGET_FLAGS_TO_PASS) all)
23654 @endif target-libobjc
23656 .PHONY: check-target-libobjc maybe-check-target-libobjc
23657 maybe-check-target-libobjc:
23658 @if target-libobjc
23659 maybe-check-target-libobjc: check-target-libobjc
23661 check-target-libobjc:
23662 @r=`${PWD_COMMAND}`; export r; \
23663 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23664 $(SET_LIB_PATH) \
23665 $(NORMAL_TARGET_EXPORTS) \
23666 (cd $(TARGET_SUBDIR)/libobjc && \
23667 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
23669 @endif target-libobjc
23671 .PHONY: install-target-libobjc maybe-install-target-libobjc
23672 maybe-install-target-libobjc:
23673 @if target-libobjc
23674 maybe-install-target-libobjc: install-target-libobjc
23676 install-target-libobjc: installdirs
23677 @r=`${PWD_COMMAND}`; export r; \
23678 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23679 $(SET_LIB_PATH) \
23680 $(NORMAL_TARGET_EXPORTS) \
23681 (cd $(TARGET_SUBDIR)/libobjc && \
23682 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
23684 @endif target-libobjc
23686 # Other targets (info, dvi, etc.)
23688 .PHONY: maybe-info-target-libobjc info-target-libobjc
23689 maybe-info-target-libobjc:
23690 @if target-libobjc
23691 maybe-info-target-libobjc: info-target-libobjc
23693 info-target-libobjc: \
23694 configure-target-libobjc
23695 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
23696 r=`${PWD_COMMAND}`; export r; \
23697 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23698 $(SET_LIB_PATH) \
23699 $(NORMAL_TARGET_EXPORTS) \
23700 echo "Doing info in $(TARGET_SUBDIR)/libobjc" ; \
23701 for flag in $(EXTRA_TARGET_FLAGS); do \
23702 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23703 done; \
23704 (cd $(TARGET_SUBDIR)/libobjc && \
23705 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23706 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23707 "RANLIB=$${RANLIB}" \
23708 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23709 info) \
23710 || exit 1
23712 @endif target-libobjc
23714 .PHONY: maybe-dvi-target-libobjc dvi-target-libobjc
23715 maybe-dvi-target-libobjc:
23716 @if target-libobjc
23717 maybe-dvi-target-libobjc: dvi-target-libobjc
23719 dvi-target-libobjc: \
23720 configure-target-libobjc
23721 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
23722 r=`${PWD_COMMAND}`; export r; \
23723 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23724 $(SET_LIB_PATH) \
23725 $(NORMAL_TARGET_EXPORTS) \
23726 echo "Doing dvi in $(TARGET_SUBDIR)/libobjc" ; \
23727 for flag in $(EXTRA_TARGET_FLAGS); do \
23728 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23729 done; \
23730 (cd $(TARGET_SUBDIR)/libobjc && \
23731 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23732 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23733 "RANLIB=$${RANLIB}" \
23734 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23735 dvi) \
23736 || exit 1
23738 @endif target-libobjc
23740 .PHONY: maybe-TAGS-target-libobjc TAGS-target-libobjc
23741 maybe-TAGS-target-libobjc:
23742 @if target-libobjc
23743 maybe-TAGS-target-libobjc: TAGS-target-libobjc
23745 TAGS-target-libobjc: \
23746 configure-target-libobjc
23747 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
23748 r=`${PWD_COMMAND}`; export r; \
23749 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23750 $(SET_LIB_PATH) \
23751 $(NORMAL_TARGET_EXPORTS) \
23752 echo "Doing TAGS in $(TARGET_SUBDIR)/libobjc" ; \
23753 for flag in $(EXTRA_TARGET_FLAGS); do \
23754 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23755 done; \
23756 (cd $(TARGET_SUBDIR)/libobjc && \
23757 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23758 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23759 "RANLIB=$${RANLIB}" \
23760 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23761 TAGS) \
23762 || exit 1
23764 @endif target-libobjc
23766 .PHONY: maybe-install-info-target-libobjc install-info-target-libobjc
23767 maybe-install-info-target-libobjc:
23768 @if target-libobjc
23769 maybe-install-info-target-libobjc: install-info-target-libobjc
23771 install-info-target-libobjc: \
23772 configure-target-libobjc \
23773 info-target-libobjc
23774 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
23775 r=`${PWD_COMMAND}`; export r; \
23776 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23777 $(SET_LIB_PATH) \
23778 $(NORMAL_TARGET_EXPORTS) \
23779 echo "Doing install-info in $(TARGET_SUBDIR)/libobjc" ; \
23780 for flag in $(EXTRA_TARGET_FLAGS); do \
23781 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23782 done; \
23783 (cd $(TARGET_SUBDIR)/libobjc && \
23784 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23785 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23786 "RANLIB=$${RANLIB}" \
23787 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23788 install-info) \
23789 || exit 1
23791 @endif target-libobjc
23793 .PHONY: maybe-installcheck-target-libobjc installcheck-target-libobjc
23794 maybe-installcheck-target-libobjc:
23795 @if target-libobjc
23796 maybe-installcheck-target-libobjc: installcheck-target-libobjc
23798 installcheck-target-libobjc: \
23799 configure-target-libobjc
23800 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
23801 r=`${PWD_COMMAND}`; export r; \
23802 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23803 $(SET_LIB_PATH) \
23804 $(NORMAL_TARGET_EXPORTS) \
23805 echo "Doing installcheck in $(TARGET_SUBDIR)/libobjc" ; \
23806 for flag in $(EXTRA_TARGET_FLAGS); do \
23807 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23808 done; \
23809 (cd $(TARGET_SUBDIR)/libobjc && \
23810 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23811 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23812 "RANLIB=$${RANLIB}" \
23813 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23814 installcheck) \
23815 || exit 1
23817 @endif target-libobjc
23819 .PHONY: maybe-mostlyclean-target-libobjc mostlyclean-target-libobjc
23820 maybe-mostlyclean-target-libobjc:
23821 @if target-libobjc
23822 maybe-mostlyclean-target-libobjc: mostlyclean-target-libobjc
23824 mostlyclean-target-libobjc:
23825 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
23826 r=`${PWD_COMMAND}`; export r; \
23827 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23828 $(SET_LIB_PATH) \
23829 $(NORMAL_TARGET_EXPORTS) \
23830 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libobjc" ; \
23831 for flag in $(EXTRA_TARGET_FLAGS); do \
23832 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23833 done; \
23834 (cd $(TARGET_SUBDIR)/libobjc && \
23835 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23836 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23837 "RANLIB=$${RANLIB}" \
23838 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23839 mostlyclean) \
23840 || exit 1
23842 @endif target-libobjc
23844 .PHONY: maybe-clean-target-libobjc clean-target-libobjc
23845 maybe-clean-target-libobjc:
23846 @if target-libobjc
23847 maybe-clean-target-libobjc: clean-target-libobjc
23849 clean-target-libobjc:
23850 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
23851 r=`${PWD_COMMAND}`; export r; \
23852 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23853 $(SET_LIB_PATH) \
23854 $(NORMAL_TARGET_EXPORTS) \
23855 echo "Doing clean in $(TARGET_SUBDIR)/libobjc" ; \
23856 for flag in $(EXTRA_TARGET_FLAGS); do \
23857 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23858 done; \
23859 (cd $(TARGET_SUBDIR)/libobjc && \
23860 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23861 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23862 "RANLIB=$${RANLIB}" \
23863 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23864 clean) \
23865 || exit 1
23867 @endif target-libobjc
23869 .PHONY: maybe-distclean-target-libobjc distclean-target-libobjc
23870 maybe-distclean-target-libobjc:
23871 @if target-libobjc
23872 maybe-distclean-target-libobjc: distclean-target-libobjc
23874 distclean-target-libobjc:
23875 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
23876 r=`${PWD_COMMAND}`; export r; \
23877 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23878 $(SET_LIB_PATH) \
23879 $(NORMAL_TARGET_EXPORTS) \
23880 echo "Doing distclean in $(TARGET_SUBDIR)/libobjc" ; \
23881 for flag in $(EXTRA_TARGET_FLAGS); do \
23882 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23883 done; \
23884 (cd $(TARGET_SUBDIR)/libobjc && \
23885 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23886 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23887 "RANLIB=$${RANLIB}" \
23888 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23889 distclean) \
23890 || exit 1
23892 @endif target-libobjc
23894 .PHONY: maybe-maintainer-clean-target-libobjc maintainer-clean-target-libobjc
23895 maybe-maintainer-clean-target-libobjc:
23896 @if target-libobjc
23897 maybe-maintainer-clean-target-libobjc: maintainer-clean-target-libobjc
23899 maintainer-clean-target-libobjc:
23900 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
23901 r=`${PWD_COMMAND}`; export r; \
23902 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23903 $(SET_LIB_PATH) \
23904 $(NORMAL_TARGET_EXPORTS) \
23905 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libobjc" ; \
23906 for flag in $(EXTRA_TARGET_FLAGS); do \
23907 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23908 done; \
23909 (cd $(TARGET_SUBDIR)/libobjc && \
23910 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23911 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23912 "RANLIB=$${RANLIB}" \
23913 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23914 maintainer-clean) \
23915 || exit 1
23917 @endif target-libobjc
23920 .PHONY: configure-target-libtermcap maybe-configure-target-libtermcap
23921 maybe-configure-target-libtermcap:
23922 @if target-libtermcap
23923 maybe-configure-target-libtermcap: configure-target-libtermcap
23925 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
23926 $(TARGET_SUBDIR)/libtermcap/multilib.out: multilib.out
23927 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libtermcap ; \
23928 rm -f $(TARGET_SUBDIR)/libtermcap/Makefile || : ; \
23929 cp multilib.out $(TARGET_SUBDIR)/libtermcap/multilib.out
23931 configure-target-libtermcap: $(TARGET_SUBDIR)/libtermcap/multilib.out
23932 @test ! -f $(TARGET_SUBDIR)/libtermcap/Makefile || exit 0; \
23933 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libtermcap ; \
23934 r=`${PWD_COMMAND}`; export r; \
23935 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23936 $(SET_LIB_PATH) \
23937 $(NORMAL_TARGET_EXPORTS) \
23938 echo Configuring in $(TARGET_SUBDIR)/libtermcap; \
23939 cd "$(TARGET_SUBDIR)/libtermcap" || exit 1; \
23940 case $(srcdir) in \
23941 /* | [A-Za-z]:[\\/]*) \
23942 topdir=$(srcdir) ;; \
23943 *) \
23944 case "$(TARGET_SUBDIR)" in \
23945 .) topdir="../$(srcdir)" ;; \
23946 *) topdir="../../$(srcdir)" ;; \
23947 esac ;; \
23948 esac; \
23949 if [ "$(srcdir)" = "." ] ; then \
23950 if [ "$(TARGET_SUBDIR)" != "." ] ; then \
23951 if $(SHELL) $$s/symlink-tree $${topdir}/libtermcap "no-such-file" ; then \
23952 if [ -f Makefile ]; then \
23953 if $(MAKE) distclean; then \
23954 true; \
23955 else \
23956 exit 1; \
23957 fi; \
23958 else \
23959 true; \
23960 fi; \
23961 else \
23962 exit 1; \
23963 fi; \
23964 else \
23965 true; \
23966 fi; \
23967 srcdiroption="--srcdir=."; \
23968 libsrcdir="."; \
23969 else \
23970 srcdiroption="--srcdir=$${topdir}/libtermcap"; \
23971 libsrcdir="$$s/libtermcap"; \
23972 fi; \
23973 rm -f no-such-file || : ; \
23974 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
23975 $(TARGET_CONFIGARGS) $${srcdiroption} \
23976 --with-target-subdir="$(TARGET_SUBDIR)" \
23977 || exit 1
23978 @endif target-libtermcap
23980 .PHONY: all-target-libtermcap maybe-all-target-libtermcap
23981 maybe-all-target-libtermcap:
23982 @if target-libtermcap
23983 maybe-all-target-libtermcap: all-target-libtermcap
23984 all-target-libtermcap: configure-target-libtermcap
23985 @r=`${PWD_COMMAND}`; export r; \
23986 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23987 $(SET_LIB_PATH) \
23988 $(NORMAL_TARGET_EXPORTS) \
23989 (cd $(TARGET_SUBDIR)/libtermcap && \
23990 $(MAKE) $(TARGET_FLAGS_TO_PASS) all)
23991 @endif target-libtermcap
23993 .PHONY: check-target-libtermcap maybe-check-target-libtermcap
23994 maybe-check-target-libtermcap:
23995 @if target-libtermcap
23996 maybe-check-target-libtermcap: check-target-libtermcap
23998 # Dummy target for uncheckable module.
23999 check-target-libtermcap:
24001 @endif target-libtermcap
24003 .PHONY: install-target-libtermcap maybe-install-target-libtermcap
24004 maybe-install-target-libtermcap:
24005 @if target-libtermcap
24006 maybe-install-target-libtermcap: install-target-libtermcap
24008 install-target-libtermcap: installdirs
24009 @r=`${PWD_COMMAND}`; export r; \
24010 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24011 $(SET_LIB_PATH) \
24012 $(NORMAL_TARGET_EXPORTS) \
24013 (cd $(TARGET_SUBDIR)/libtermcap && \
24014 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
24016 @endif target-libtermcap
24018 # Other targets (info, dvi, etc.)
24020 .PHONY: maybe-info-target-libtermcap info-target-libtermcap
24021 maybe-info-target-libtermcap:
24022 @if target-libtermcap
24023 maybe-info-target-libtermcap: info-target-libtermcap
24025 info-target-libtermcap: \
24026 configure-target-libtermcap
24027 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
24028 r=`${PWD_COMMAND}`; export r; \
24029 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24030 $(SET_LIB_PATH) \
24031 $(NORMAL_TARGET_EXPORTS) \
24032 echo "Doing info in $(TARGET_SUBDIR)/libtermcap" ; \
24033 for flag in $(EXTRA_TARGET_FLAGS); do \
24034 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24035 done; \
24036 (cd $(TARGET_SUBDIR)/libtermcap && \
24037 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24038 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24039 "RANLIB=$${RANLIB}" \
24040 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24041 info) \
24042 || exit 1
24044 @endif target-libtermcap
24046 .PHONY: maybe-dvi-target-libtermcap dvi-target-libtermcap
24047 maybe-dvi-target-libtermcap:
24048 @if target-libtermcap
24049 maybe-dvi-target-libtermcap: dvi-target-libtermcap
24051 dvi-target-libtermcap: \
24052 configure-target-libtermcap
24053 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
24054 r=`${PWD_COMMAND}`; export r; \
24055 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24056 $(SET_LIB_PATH) \
24057 $(NORMAL_TARGET_EXPORTS) \
24058 echo "Doing dvi in $(TARGET_SUBDIR)/libtermcap" ; \
24059 for flag in $(EXTRA_TARGET_FLAGS); do \
24060 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24061 done; \
24062 (cd $(TARGET_SUBDIR)/libtermcap && \
24063 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24064 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24065 "RANLIB=$${RANLIB}" \
24066 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24067 dvi) \
24068 || exit 1
24070 @endif target-libtermcap
24072 .PHONY: maybe-TAGS-target-libtermcap TAGS-target-libtermcap
24073 maybe-TAGS-target-libtermcap:
24074 @if target-libtermcap
24075 maybe-TAGS-target-libtermcap: TAGS-target-libtermcap
24077 TAGS-target-libtermcap: \
24078 configure-target-libtermcap
24079 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
24080 r=`${PWD_COMMAND}`; export r; \
24081 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24082 $(SET_LIB_PATH) \
24083 $(NORMAL_TARGET_EXPORTS) \
24084 echo "Doing TAGS in $(TARGET_SUBDIR)/libtermcap" ; \
24085 for flag in $(EXTRA_TARGET_FLAGS); do \
24086 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24087 done; \
24088 (cd $(TARGET_SUBDIR)/libtermcap && \
24089 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24090 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24091 "RANLIB=$${RANLIB}" \
24092 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24093 TAGS) \
24094 || exit 1
24096 @endif target-libtermcap
24098 .PHONY: maybe-install-info-target-libtermcap install-info-target-libtermcap
24099 maybe-install-info-target-libtermcap:
24100 @if target-libtermcap
24101 maybe-install-info-target-libtermcap: install-info-target-libtermcap
24103 install-info-target-libtermcap: \
24104 configure-target-libtermcap \
24105 info-target-libtermcap
24106 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
24107 r=`${PWD_COMMAND}`; export r; \
24108 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24109 $(SET_LIB_PATH) \
24110 $(NORMAL_TARGET_EXPORTS) \
24111 echo "Doing install-info in $(TARGET_SUBDIR)/libtermcap" ; \
24112 for flag in $(EXTRA_TARGET_FLAGS); do \
24113 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24114 done; \
24115 (cd $(TARGET_SUBDIR)/libtermcap && \
24116 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24117 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24118 "RANLIB=$${RANLIB}" \
24119 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24120 install-info) \
24121 || exit 1
24123 @endif target-libtermcap
24125 .PHONY: maybe-installcheck-target-libtermcap installcheck-target-libtermcap
24126 maybe-installcheck-target-libtermcap:
24127 @if target-libtermcap
24128 maybe-installcheck-target-libtermcap: installcheck-target-libtermcap
24130 installcheck-target-libtermcap: \
24131 configure-target-libtermcap
24132 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
24133 r=`${PWD_COMMAND}`; export r; \
24134 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24135 $(SET_LIB_PATH) \
24136 $(NORMAL_TARGET_EXPORTS) \
24137 echo "Doing installcheck in $(TARGET_SUBDIR)/libtermcap" ; \
24138 for flag in $(EXTRA_TARGET_FLAGS); do \
24139 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24140 done; \
24141 (cd $(TARGET_SUBDIR)/libtermcap && \
24142 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24143 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24144 "RANLIB=$${RANLIB}" \
24145 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24146 installcheck) \
24147 || exit 1
24149 @endif target-libtermcap
24151 .PHONY: maybe-mostlyclean-target-libtermcap mostlyclean-target-libtermcap
24152 maybe-mostlyclean-target-libtermcap:
24153 @if target-libtermcap
24154 maybe-mostlyclean-target-libtermcap: mostlyclean-target-libtermcap
24156 # libtermcap doesn't support mostlyclean.
24157 mostlyclean-target-libtermcap:
24159 @endif target-libtermcap
24161 .PHONY: maybe-clean-target-libtermcap clean-target-libtermcap
24162 maybe-clean-target-libtermcap:
24163 @if target-libtermcap
24164 maybe-clean-target-libtermcap: clean-target-libtermcap
24166 # libtermcap doesn't support clean.
24167 clean-target-libtermcap:
24169 @endif target-libtermcap
24171 .PHONY: maybe-distclean-target-libtermcap distclean-target-libtermcap
24172 maybe-distclean-target-libtermcap:
24173 @if target-libtermcap
24174 maybe-distclean-target-libtermcap: distclean-target-libtermcap
24176 # libtermcap doesn't support distclean.
24177 distclean-target-libtermcap:
24179 @endif target-libtermcap
24181 .PHONY: maybe-maintainer-clean-target-libtermcap maintainer-clean-target-libtermcap
24182 maybe-maintainer-clean-target-libtermcap:
24183 @if target-libtermcap
24184 maybe-maintainer-clean-target-libtermcap: maintainer-clean-target-libtermcap
24186 # libtermcap doesn't support maintainer-clean.
24187 maintainer-clean-target-libtermcap:
24189 @endif target-libtermcap
24192 .PHONY: configure-target-winsup maybe-configure-target-winsup
24193 maybe-configure-target-winsup:
24194 @if target-winsup
24195 maybe-configure-target-winsup: configure-target-winsup
24197 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
24198 $(TARGET_SUBDIR)/winsup/multilib.out: multilib.out
24199 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/winsup ; \
24200 rm -f $(TARGET_SUBDIR)/winsup/Makefile || : ; \
24201 cp multilib.out $(TARGET_SUBDIR)/winsup/multilib.out
24203 configure-target-winsup: $(TARGET_SUBDIR)/winsup/multilib.out
24204 @test ! -f $(TARGET_SUBDIR)/winsup/Makefile || exit 0; \
24205 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/winsup ; \
24206 r=`${PWD_COMMAND}`; export r; \
24207 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24208 $(SET_LIB_PATH) \
24209 $(NORMAL_TARGET_EXPORTS) \
24210 echo Configuring in $(TARGET_SUBDIR)/winsup; \
24211 cd "$(TARGET_SUBDIR)/winsup" || exit 1; \
24212 case $(srcdir) in \
24213 /* | [A-Za-z]:[\\/]*) \
24214 topdir=$(srcdir) ;; \
24215 *) \
24216 case "$(TARGET_SUBDIR)" in \
24217 .) topdir="../$(srcdir)" ;; \
24218 *) topdir="../../$(srcdir)" ;; \
24219 esac ;; \
24220 esac; \
24221 srcdiroption="--srcdir=$${topdir}/winsup"; \
24222 libsrcdir="$$s/winsup"; \
24223 rm -f no-such-file || : ; \
24224 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
24225 $(TARGET_CONFIGARGS) $${srcdiroption} \
24226 --with-target-subdir="$(TARGET_SUBDIR)" \
24227 || exit 1
24228 @endif target-winsup
24230 .PHONY: all-target-winsup maybe-all-target-winsup
24231 maybe-all-target-winsup:
24232 @if target-winsup
24233 maybe-all-target-winsup: all-target-winsup
24234 all-target-winsup: configure-target-winsup
24235 @r=`${PWD_COMMAND}`; export r; \
24236 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24237 $(SET_LIB_PATH) \
24238 $(NORMAL_TARGET_EXPORTS) \
24239 (cd $(TARGET_SUBDIR)/winsup && \
24240 $(MAKE) $(TARGET_FLAGS_TO_PASS) all)
24241 @endif target-winsup
24243 .PHONY: check-target-winsup maybe-check-target-winsup
24244 maybe-check-target-winsup:
24245 @if target-winsup
24246 maybe-check-target-winsup: check-target-winsup
24248 check-target-winsup:
24249 @r=`${PWD_COMMAND}`; export r; \
24250 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24251 $(SET_LIB_PATH) \
24252 $(NORMAL_TARGET_EXPORTS) \
24253 (cd $(TARGET_SUBDIR)/winsup && \
24254 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
24256 @endif target-winsup
24258 .PHONY: install-target-winsup maybe-install-target-winsup
24259 maybe-install-target-winsup:
24260 @if target-winsup
24261 maybe-install-target-winsup: install-target-winsup
24263 install-target-winsup: installdirs
24264 @r=`${PWD_COMMAND}`; export r; \
24265 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24266 $(SET_LIB_PATH) \
24267 $(NORMAL_TARGET_EXPORTS) \
24268 (cd $(TARGET_SUBDIR)/winsup && \
24269 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
24271 @endif target-winsup
24273 # Other targets (info, dvi, etc.)
24275 .PHONY: maybe-info-target-winsup info-target-winsup
24276 maybe-info-target-winsup:
24277 @if target-winsup
24278 maybe-info-target-winsup: info-target-winsup
24280 info-target-winsup: \
24281 configure-target-winsup
24282 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
24283 r=`${PWD_COMMAND}`; export r; \
24284 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24285 $(SET_LIB_PATH) \
24286 $(NORMAL_TARGET_EXPORTS) \
24287 echo "Doing info in $(TARGET_SUBDIR)/winsup" ; \
24288 for flag in $(EXTRA_TARGET_FLAGS); do \
24289 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24290 done; \
24291 (cd $(TARGET_SUBDIR)/winsup && \
24292 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24293 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24294 "RANLIB=$${RANLIB}" \
24295 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24296 info) \
24297 || exit 1
24299 @endif target-winsup
24301 .PHONY: maybe-dvi-target-winsup dvi-target-winsup
24302 maybe-dvi-target-winsup:
24303 @if target-winsup
24304 maybe-dvi-target-winsup: dvi-target-winsup
24306 dvi-target-winsup: \
24307 configure-target-winsup
24308 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
24309 r=`${PWD_COMMAND}`; export r; \
24310 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24311 $(SET_LIB_PATH) \
24312 $(NORMAL_TARGET_EXPORTS) \
24313 echo "Doing dvi in $(TARGET_SUBDIR)/winsup" ; \
24314 for flag in $(EXTRA_TARGET_FLAGS); do \
24315 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24316 done; \
24317 (cd $(TARGET_SUBDIR)/winsup && \
24318 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24319 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24320 "RANLIB=$${RANLIB}" \
24321 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24322 dvi) \
24323 || exit 1
24325 @endif target-winsup
24327 .PHONY: maybe-TAGS-target-winsup TAGS-target-winsup
24328 maybe-TAGS-target-winsup:
24329 @if target-winsup
24330 maybe-TAGS-target-winsup: TAGS-target-winsup
24332 TAGS-target-winsup: \
24333 configure-target-winsup
24334 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
24335 r=`${PWD_COMMAND}`; export r; \
24336 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24337 $(SET_LIB_PATH) \
24338 $(NORMAL_TARGET_EXPORTS) \
24339 echo "Doing TAGS in $(TARGET_SUBDIR)/winsup" ; \
24340 for flag in $(EXTRA_TARGET_FLAGS); do \
24341 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24342 done; \
24343 (cd $(TARGET_SUBDIR)/winsup && \
24344 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24345 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24346 "RANLIB=$${RANLIB}" \
24347 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24348 TAGS) \
24349 || exit 1
24351 @endif target-winsup
24353 .PHONY: maybe-install-info-target-winsup install-info-target-winsup
24354 maybe-install-info-target-winsup:
24355 @if target-winsup
24356 maybe-install-info-target-winsup: install-info-target-winsup
24358 install-info-target-winsup: \
24359 configure-target-winsup \
24360 info-target-winsup
24361 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
24362 r=`${PWD_COMMAND}`; export r; \
24363 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24364 $(SET_LIB_PATH) \
24365 $(NORMAL_TARGET_EXPORTS) \
24366 echo "Doing install-info in $(TARGET_SUBDIR)/winsup" ; \
24367 for flag in $(EXTRA_TARGET_FLAGS); do \
24368 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24369 done; \
24370 (cd $(TARGET_SUBDIR)/winsup && \
24371 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24372 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24373 "RANLIB=$${RANLIB}" \
24374 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24375 install-info) \
24376 || exit 1
24378 @endif target-winsup
24380 .PHONY: maybe-installcheck-target-winsup installcheck-target-winsup
24381 maybe-installcheck-target-winsup:
24382 @if target-winsup
24383 maybe-installcheck-target-winsup: installcheck-target-winsup
24385 installcheck-target-winsup: \
24386 configure-target-winsup
24387 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
24388 r=`${PWD_COMMAND}`; export r; \
24389 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24390 $(SET_LIB_PATH) \
24391 $(NORMAL_TARGET_EXPORTS) \
24392 echo "Doing installcheck in $(TARGET_SUBDIR)/winsup" ; \
24393 for flag in $(EXTRA_TARGET_FLAGS); do \
24394 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24395 done; \
24396 (cd $(TARGET_SUBDIR)/winsup && \
24397 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24398 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24399 "RANLIB=$${RANLIB}" \
24400 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24401 installcheck) \
24402 || exit 1
24404 @endif target-winsup
24406 .PHONY: maybe-mostlyclean-target-winsup mostlyclean-target-winsup
24407 maybe-mostlyclean-target-winsup:
24408 @if target-winsup
24409 maybe-mostlyclean-target-winsup: mostlyclean-target-winsup
24411 mostlyclean-target-winsup:
24412 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
24413 r=`${PWD_COMMAND}`; export r; \
24414 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24415 $(SET_LIB_PATH) \
24416 $(NORMAL_TARGET_EXPORTS) \
24417 echo "Doing mostlyclean in $(TARGET_SUBDIR)/winsup" ; \
24418 for flag in $(EXTRA_TARGET_FLAGS); do \
24419 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24420 done; \
24421 (cd $(TARGET_SUBDIR)/winsup && \
24422 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24423 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24424 "RANLIB=$${RANLIB}" \
24425 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24426 mostlyclean) \
24427 || exit 1
24429 @endif target-winsup
24431 .PHONY: maybe-clean-target-winsup clean-target-winsup
24432 maybe-clean-target-winsup:
24433 @if target-winsup
24434 maybe-clean-target-winsup: clean-target-winsup
24436 clean-target-winsup:
24437 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
24438 r=`${PWD_COMMAND}`; export r; \
24439 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24440 $(SET_LIB_PATH) \
24441 $(NORMAL_TARGET_EXPORTS) \
24442 echo "Doing clean in $(TARGET_SUBDIR)/winsup" ; \
24443 for flag in $(EXTRA_TARGET_FLAGS); do \
24444 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24445 done; \
24446 (cd $(TARGET_SUBDIR)/winsup && \
24447 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24448 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24449 "RANLIB=$${RANLIB}" \
24450 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24451 clean) \
24452 || exit 1
24454 @endif target-winsup
24456 .PHONY: maybe-distclean-target-winsup distclean-target-winsup
24457 maybe-distclean-target-winsup:
24458 @if target-winsup
24459 maybe-distclean-target-winsup: distclean-target-winsup
24461 distclean-target-winsup:
24462 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
24463 r=`${PWD_COMMAND}`; export r; \
24464 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24465 $(SET_LIB_PATH) \
24466 $(NORMAL_TARGET_EXPORTS) \
24467 echo "Doing distclean in $(TARGET_SUBDIR)/winsup" ; \
24468 for flag in $(EXTRA_TARGET_FLAGS); do \
24469 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24470 done; \
24471 (cd $(TARGET_SUBDIR)/winsup && \
24472 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24473 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24474 "RANLIB=$${RANLIB}" \
24475 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24476 distclean) \
24477 || exit 1
24479 @endif target-winsup
24481 .PHONY: maybe-maintainer-clean-target-winsup maintainer-clean-target-winsup
24482 maybe-maintainer-clean-target-winsup:
24483 @if target-winsup
24484 maybe-maintainer-clean-target-winsup: maintainer-clean-target-winsup
24486 maintainer-clean-target-winsup:
24487 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
24488 r=`${PWD_COMMAND}`; export r; \
24489 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24490 $(SET_LIB_PATH) \
24491 $(NORMAL_TARGET_EXPORTS) \
24492 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/winsup" ; \
24493 for flag in $(EXTRA_TARGET_FLAGS); do \
24494 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24495 done; \
24496 (cd $(TARGET_SUBDIR)/winsup && \
24497 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24498 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24499 "RANLIB=$${RANLIB}" \
24500 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24501 maintainer-clean) \
24502 || exit 1
24504 @endif target-winsup
24507 .PHONY: configure-target-libgloss maybe-configure-target-libgloss
24508 maybe-configure-target-libgloss:
24509 @if target-libgloss
24510 maybe-configure-target-libgloss: configure-target-libgloss
24512 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
24513 $(TARGET_SUBDIR)/libgloss/multilib.out: multilib.out
24514 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgloss ; \
24515 rm -f $(TARGET_SUBDIR)/libgloss/Makefile || : ; \
24516 cp multilib.out $(TARGET_SUBDIR)/libgloss/multilib.out
24518 configure-target-libgloss: $(TARGET_SUBDIR)/libgloss/multilib.out
24519 @test ! -f $(TARGET_SUBDIR)/libgloss/Makefile || exit 0; \
24520 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgloss ; \
24521 r=`${PWD_COMMAND}`; export r; \
24522 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24523 $(SET_LIB_PATH) \
24524 $(NORMAL_TARGET_EXPORTS) \
24525 echo Configuring in $(TARGET_SUBDIR)/libgloss; \
24526 cd "$(TARGET_SUBDIR)/libgloss" || exit 1; \
24527 case $(srcdir) in \
24528 /* | [A-Za-z]:[\\/]*) \
24529 topdir=$(srcdir) ;; \
24530 *) \
24531 case "$(TARGET_SUBDIR)" in \
24532 .) topdir="../$(srcdir)" ;; \
24533 *) topdir="../../$(srcdir)" ;; \
24534 esac ;; \
24535 esac; \
24536 srcdiroption="--srcdir=$${topdir}/libgloss"; \
24537 libsrcdir="$$s/libgloss"; \
24538 rm -f no-such-file || : ; \
24539 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
24540 $(TARGET_CONFIGARGS) $${srcdiroption} \
24541 --with-target-subdir="$(TARGET_SUBDIR)" \
24542 || exit 1
24543 @endif target-libgloss
24545 .PHONY: all-target-libgloss maybe-all-target-libgloss
24546 maybe-all-target-libgloss:
24547 @if target-libgloss
24548 maybe-all-target-libgloss: all-target-libgloss
24549 all-target-libgloss: configure-target-libgloss
24550 @r=`${PWD_COMMAND}`; export r; \
24551 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24552 $(SET_LIB_PATH) \
24553 $(NORMAL_TARGET_EXPORTS) \
24554 (cd $(TARGET_SUBDIR)/libgloss && \
24555 $(MAKE) $(TARGET_FLAGS_TO_PASS) all)
24556 @endif target-libgloss
24558 .PHONY: check-target-libgloss maybe-check-target-libgloss
24559 maybe-check-target-libgloss:
24560 @if target-libgloss
24561 maybe-check-target-libgloss: check-target-libgloss
24563 # Dummy target for uncheckable module.
24564 check-target-libgloss:
24566 @endif target-libgloss
24568 .PHONY: install-target-libgloss maybe-install-target-libgloss
24569 maybe-install-target-libgloss:
24570 @if target-libgloss
24571 maybe-install-target-libgloss: install-target-libgloss
24573 install-target-libgloss: installdirs
24574 @r=`${PWD_COMMAND}`; export r; \
24575 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24576 $(SET_LIB_PATH) \
24577 $(NORMAL_TARGET_EXPORTS) \
24578 (cd $(TARGET_SUBDIR)/libgloss && \
24579 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
24581 @endif target-libgloss
24583 # Other targets (info, dvi, etc.)
24585 .PHONY: maybe-info-target-libgloss info-target-libgloss
24586 maybe-info-target-libgloss:
24587 @if target-libgloss
24588 maybe-info-target-libgloss: info-target-libgloss
24590 info-target-libgloss: \
24591 configure-target-libgloss
24592 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
24593 r=`${PWD_COMMAND}`; export r; \
24594 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24595 $(SET_LIB_PATH) \
24596 $(NORMAL_TARGET_EXPORTS) \
24597 echo "Doing info in $(TARGET_SUBDIR)/libgloss" ; \
24598 for flag in $(EXTRA_TARGET_FLAGS); do \
24599 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24600 done; \
24601 (cd $(TARGET_SUBDIR)/libgloss && \
24602 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24603 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24604 "RANLIB=$${RANLIB}" \
24605 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24606 info) \
24607 || exit 1
24609 @endif target-libgloss
24611 .PHONY: maybe-dvi-target-libgloss dvi-target-libgloss
24612 maybe-dvi-target-libgloss:
24613 @if target-libgloss
24614 maybe-dvi-target-libgloss: dvi-target-libgloss
24616 dvi-target-libgloss: \
24617 configure-target-libgloss
24618 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
24619 r=`${PWD_COMMAND}`; export r; \
24620 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24621 $(SET_LIB_PATH) \
24622 $(NORMAL_TARGET_EXPORTS) \
24623 echo "Doing dvi in $(TARGET_SUBDIR)/libgloss" ; \
24624 for flag in $(EXTRA_TARGET_FLAGS); do \
24625 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24626 done; \
24627 (cd $(TARGET_SUBDIR)/libgloss && \
24628 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24629 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24630 "RANLIB=$${RANLIB}" \
24631 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24632 dvi) \
24633 || exit 1
24635 @endif target-libgloss
24637 .PHONY: maybe-TAGS-target-libgloss TAGS-target-libgloss
24638 maybe-TAGS-target-libgloss:
24639 @if target-libgloss
24640 maybe-TAGS-target-libgloss: TAGS-target-libgloss
24642 TAGS-target-libgloss: \
24643 configure-target-libgloss
24644 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
24645 r=`${PWD_COMMAND}`; export r; \
24646 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24647 $(SET_LIB_PATH) \
24648 $(NORMAL_TARGET_EXPORTS) \
24649 echo "Doing TAGS in $(TARGET_SUBDIR)/libgloss" ; \
24650 for flag in $(EXTRA_TARGET_FLAGS); do \
24651 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24652 done; \
24653 (cd $(TARGET_SUBDIR)/libgloss && \
24654 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24655 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24656 "RANLIB=$${RANLIB}" \
24657 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24658 TAGS) \
24659 || exit 1
24661 @endif target-libgloss
24663 .PHONY: maybe-install-info-target-libgloss install-info-target-libgloss
24664 maybe-install-info-target-libgloss:
24665 @if target-libgloss
24666 maybe-install-info-target-libgloss: install-info-target-libgloss
24668 install-info-target-libgloss: \
24669 configure-target-libgloss \
24670 info-target-libgloss
24671 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
24672 r=`${PWD_COMMAND}`; export r; \
24673 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24674 $(SET_LIB_PATH) \
24675 $(NORMAL_TARGET_EXPORTS) \
24676 echo "Doing install-info in $(TARGET_SUBDIR)/libgloss" ; \
24677 for flag in $(EXTRA_TARGET_FLAGS); do \
24678 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24679 done; \
24680 (cd $(TARGET_SUBDIR)/libgloss && \
24681 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24682 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24683 "RANLIB=$${RANLIB}" \
24684 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24685 install-info) \
24686 || exit 1
24688 @endif target-libgloss
24690 .PHONY: maybe-installcheck-target-libgloss installcheck-target-libgloss
24691 maybe-installcheck-target-libgloss:
24692 @if target-libgloss
24693 maybe-installcheck-target-libgloss: installcheck-target-libgloss
24695 installcheck-target-libgloss: \
24696 configure-target-libgloss
24697 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
24698 r=`${PWD_COMMAND}`; export r; \
24699 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24700 $(SET_LIB_PATH) \
24701 $(NORMAL_TARGET_EXPORTS) \
24702 echo "Doing installcheck in $(TARGET_SUBDIR)/libgloss" ; \
24703 for flag in $(EXTRA_TARGET_FLAGS); do \
24704 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24705 done; \
24706 (cd $(TARGET_SUBDIR)/libgloss && \
24707 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24708 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24709 "RANLIB=$${RANLIB}" \
24710 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24711 installcheck) \
24712 || exit 1
24714 @endif target-libgloss
24716 .PHONY: maybe-mostlyclean-target-libgloss mostlyclean-target-libgloss
24717 maybe-mostlyclean-target-libgloss:
24718 @if target-libgloss
24719 maybe-mostlyclean-target-libgloss: mostlyclean-target-libgloss
24721 mostlyclean-target-libgloss:
24722 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
24723 r=`${PWD_COMMAND}`; export r; \
24724 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24725 $(SET_LIB_PATH) \
24726 $(NORMAL_TARGET_EXPORTS) \
24727 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgloss" ; \
24728 for flag in $(EXTRA_TARGET_FLAGS); do \
24729 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24730 done; \
24731 (cd $(TARGET_SUBDIR)/libgloss && \
24732 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24733 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24734 "RANLIB=$${RANLIB}" \
24735 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24736 mostlyclean) \
24737 || exit 1
24739 @endif target-libgloss
24741 .PHONY: maybe-clean-target-libgloss clean-target-libgloss
24742 maybe-clean-target-libgloss:
24743 @if target-libgloss
24744 maybe-clean-target-libgloss: clean-target-libgloss
24746 clean-target-libgloss:
24747 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
24748 r=`${PWD_COMMAND}`; export r; \
24749 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24750 $(SET_LIB_PATH) \
24751 $(NORMAL_TARGET_EXPORTS) \
24752 echo "Doing clean in $(TARGET_SUBDIR)/libgloss" ; \
24753 for flag in $(EXTRA_TARGET_FLAGS); do \
24754 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24755 done; \
24756 (cd $(TARGET_SUBDIR)/libgloss && \
24757 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24758 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24759 "RANLIB=$${RANLIB}" \
24760 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24761 clean) \
24762 || exit 1
24764 @endif target-libgloss
24766 .PHONY: maybe-distclean-target-libgloss distclean-target-libgloss
24767 maybe-distclean-target-libgloss:
24768 @if target-libgloss
24769 maybe-distclean-target-libgloss: distclean-target-libgloss
24771 distclean-target-libgloss:
24772 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
24773 r=`${PWD_COMMAND}`; export r; \
24774 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24775 $(SET_LIB_PATH) \
24776 $(NORMAL_TARGET_EXPORTS) \
24777 echo "Doing distclean in $(TARGET_SUBDIR)/libgloss" ; \
24778 for flag in $(EXTRA_TARGET_FLAGS); do \
24779 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24780 done; \
24781 (cd $(TARGET_SUBDIR)/libgloss && \
24782 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24783 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24784 "RANLIB=$${RANLIB}" \
24785 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24786 distclean) \
24787 || exit 1
24789 @endif target-libgloss
24791 .PHONY: maybe-maintainer-clean-target-libgloss maintainer-clean-target-libgloss
24792 maybe-maintainer-clean-target-libgloss:
24793 @if target-libgloss
24794 maybe-maintainer-clean-target-libgloss: maintainer-clean-target-libgloss
24796 maintainer-clean-target-libgloss:
24797 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
24798 r=`${PWD_COMMAND}`; export r; \
24799 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24800 $(SET_LIB_PATH) \
24801 $(NORMAL_TARGET_EXPORTS) \
24802 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgloss" ; \
24803 for flag in $(EXTRA_TARGET_FLAGS); do \
24804 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24805 done; \
24806 (cd $(TARGET_SUBDIR)/libgloss && \
24807 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24808 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24809 "RANLIB=$${RANLIB}" \
24810 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24811 maintainer-clean) \
24812 || exit 1
24814 @endif target-libgloss
24817 .PHONY: configure-target-libiberty maybe-configure-target-libiberty
24818 maybe-configure-target-libiberty:
24819 @if target-libiberty
24820 maybe-configure-target-libiberty: configure-target-libiberty
24822 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
24823 $(TARGET_SUBDIR)/libiberty/multilib.out: multilib.out
24824 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libiberty ; \
24825 rm -f $(TARGET_SUBDIR)/libiberty/Makefile || : ; \
24826 cp multilib.out $(TARGET_SUBDIR)/libiberty/multilib.out
24828 configure-target-libiberty: $(TARGET_SUBDIR)/libiberty/multilib.out
24829 @test ! -f $(TARGET_SUBDIR)/libiberty/Makefile || exit 0; \
24830 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libiberty ; \
24831 r=`${PWD_COMMAND}`; export r; \
24832 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24833 $(SET_LIB_PATH) \
24834 $(NORMAL_TARGET_EXPORTS) \
24835 echo Configuring in $(TARGET_SUBDIR)/libiberty; \
24836 cd "$(TARGET_SUBDIR)/libiberty" || exit 1; \
24837 case $(srcdir) in \
24838 /* | [A-Za-z]:[\\/]*) \
24839 topdir=$(srcdir) ;; \
24840 *) \
24841 case "$(TARGET_SUBDIR)" in \
24842 .) topdir="../$(srcdir)" ;; \
24843 *) topdir="../../$(srcdir)" ;; \
24844 esac ;; \
24845 esac; \
24846 srcdiroption="--srcdir=$${topdir}/libiberty"; \
24847 libsrcdir="$$s/libiberty"; \
24848 rm -f no-such-file || : ; \
24849 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
24850 $(TARGET_CONFIGARGS) $${srcdiroption} \
24851 --with-target-subdir="$(TARGET_SUBDIR)" \
24852 || exit 1
24853 @endif target-libiberty
24855 .PHONY: all-target-libiberty maybe-all-target-libiberty
24856 maybe-all-target-libiberty:
24857 @if target-libiberty
24858 maybe-all-target-libiberty: all-target-libiberty
24859 all-target-libiberty: configure-target-libiberty
24860 @r=`${PWD_COMMAND}`; export r; \
24861 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24862 $(SET_LIB_PATH) \
24863 $(NORMAL_TARGET_EXPORTS) \
24864 (cd $(TARGET_SUBDIR)/libiberty && \
24865 $(MAKE) $(TARGET_FLAGS_TO_PASS) all)
24866 @endif target-libiberty
24868 .PHONY: check-target-libiberty maybe-check-target-libiberty
24869 maybe-check-target-libiberty:
24870 @if target-libiberty
24871 maybe-check-target-libiberty: check-target-libiberty
24873 check-target-libiberty:
24874 @r=`${PWD_COMMAND}`; export r; \
24875 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24876 $(SET_LIB_PATH) \
24877 $(NORMAL_TARGET_EXPORTS) \
24878 (cd $(TARGET_SUBDIR)/libiberty && \
24879 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
24881 @endif target-libiberty
24883 .PHONY: install-target-libiberty maybe-install-target-libiberty
24884 maybe-install-target-libiberty:
24885 @if target-libiberty
24886 maybe-install-target-libiberty: install-target-libiberty
24888 install-target-libiberty: installdirs
24889 @r=`${PWD_COMMAND}`; export r; \
24890 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24891 $(SET_LIB_PATH) \
24892 $(NORMAL_TARGET_EXPORTS) \
24893 (cd $(TARGET_SUBDIR)/libiberty && \
24894 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
24896 @endif target-libiberty
24898 # Other targets (info, dvi, etc.)
24900 .PHONY: maybe-info-target-libiberty info-target-libiberty
24901 maybe-info-target-libiberty:
24902 @if target-libiberty
24903 maybe-info-target-libiberty: info-target-libiberty
24905 info-target-libiberty: \
24906 configure-target-libiberty
24907 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
24908 r=`${PWD_COMMAND}`; export r; \
24909 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24910 $(SET_LIB_PATH) \
24911 $(NORMAL_TARGET_EXPORTS) \
24912 echo "Doing info in $(TARGET_SUBDIR)/libiberty" ; \
24913 for flag in $(EXTRA_TARGET_FLAGS); do \
24914 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24915 done; \
24916 (cd $(TARGET_SUBDIR)/libiberty && \
24917 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24918 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24919 "RANLIB=$${RANLIB}" \
24920 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24921 info) \
24922 || exit 1
24924 @endif target-libiberty
24926 .PHONY: maybe-dvi-target-libiberty dvi-target-libiberty
24927 maybe-dvi-target-libiberty:
24928 @if target-libiberty
24929 maybe-dvi-target-libiberty: dvi-target-libiberty
24931 dvi-target-libiberty: \
24932 configure-target-libiberty
24933 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
24934 r=`${PWD_COMMAND}`; export r; \
24935 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24936 $(SET_LIB_PATH) \
24937 $(NORMAL_TARGET_EXPORTS) \
24938 echo "Doing dvi in $(TARGET_SUBDIR)/libiberty" ; \
24939 for flag in $(EXTRA_TARGET_FLAGS); do \
24940 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24941 done; \
24942 (cd $(TARGET_SUBDIR)/libiberty && \
24943 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24944 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24945 "RANLIB=$${RANLIB}" \
24946 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24947 dvi) \
24948 || exit 1
24950 @endif target-libiberty
24952 .PHONY: maybe-TAGS-target-libiberty TAGS-target-libiberty
24953 maybe-TAGS-target-libiberty:
24954 @if target-libiberty
24955 maybe-TAGS-target-libiberty: TAGS-target-libiberty
24957 TAGS-target-libiberty: \
24958 configure-target-libiberty
24959 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
24960 r=`${PWD_COMMAND}`; export r; \
24961 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24962 $(SET_LIB_PATH) \
24963 $(NORMAL_TARGET_EXPORTS) \
24964 echo "Doing TAGS in $(TARGET_SUBDIR)/libiberty" ; \
24965 for flag in $(EXTRA_TARGET_FLAGS); do \
24966 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24967 done; \
24968 (cd $(TARGET_SUBDIR)/libiberty && \
24969 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24970 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24971 "RANLIB=$${RANLIB}" \
24972 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24973 TAGS) \
24974 || exit 1
24976 @endif target-libiberty
24978 .PHONY: maybe-install-info-target-libiberty install-info-target-libiberty
24979 maybe-install-info-target-libiberty:
24980 @if target-libiberty
24981 maybe-install-info-target-libiberty: install-info-target-libiberty
24983 install-info-target-libiberty: \
24984 configure-target-libiberty \
24985 info-target-libiberty
24986 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
24987 r=`${PWD_COMMAND}`; export r; \
24988 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24989 $(SET_LIB_PATH) \
24990 $(NORMAL_TARGET_EXPORTS) \
24991 echo "Doing install-info in $(TARGET_SUBDIR)/libiberty" ; \
24992 for flag in $(EXTRA_TARGET_FLAGS); do \
24993 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24994 done; \
24995 (cd $(TARGET_SUBDIR)/libiberty && \
24996 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24997 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24998 "RANLIB=$${RANLIB}" \
24999 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25000 install-info) \
25001 || exit 1
25003 @endif target-libiberty
25005 .PHONY: maybe-installcheck-target-libiberty installcheck-target-libiberty
25006 maybe-installcheck-target-libiberty:
25007 @if target-libiberty
25008 maybe-installcheck-target-libiberty: installcheck-target-libiberty
25010 installcheck-target-libiberty: \
25011 configure-target-libiberty
25012 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
25013 r=`${PWD_COMMAND}`; export r; \
25014 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25015 $(SET_LIB_PATH) \
25016 $(NORMAL_TARGET_EXPORTS) \
25017 echo "Doing installcheck in $(TARGET_SUBDIR)/libiberty" ; \
25018 for flag in $(EXTRA_TARGET_FLAGS); do \
25019 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25020 done; \
25021 (cd $(TARGET_SUBDIR)/libiberty && \
25022 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25023 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25024 "RANLIB=$${RANLIB}" \
25025 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25026 installcheck) \
25027 || exit 1
25029 @endif target-libiberty
25031 .PHONY: maybe-mostlyclean-target-libiberty mostlyclean-target-libiberty
25032 maybe-mostlyclean-target-libiberty:
25033 @if target-libiberty
25034 maybe-mostlyclean-target-libiberty: mostlyclean-target-libiberty
25036 mostlyclean-target-libiberty:
25037 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
25038 r=`${PWD_COMMAND}`; export r; \
25039 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25040 $(SET_LIB_PATH) \
25041 $(NORMAL_TARGET_EXPORTS) \
25042 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libiberty" ; \
25043 for flag in $(EXTRA_TARGET_FLAGS); do \
25044 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25045 done; \
25046 (cd $(TARGET_SUBDIR)/libiberty && \
25047 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25048 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25049 "RANLIB=$${RANLIB}" \
25050 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25051 mostlyclean) \
25052 || exit 1
25054 @endif target-libiberty
25056 .PHONY: maybe-clean-target-libiberty clean-target-libiberty
25057 maybe-clean-target-libiberty:
25058 @if target-libiberty
25059 maybe-clean-target-libiberty: clean-target-libiberty
25061 clean-target-libiberty:
25062 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
25063 r=`${PWD_COMMAND}`; export r; \
25064 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25065 $(SET_LIB_PATH) \
25066 $(NORMAL_TARGET_EXPORTS) \
25067 echo "Doing clean in $(TARGET_SUBDIR)/libiberty" ; \
25068 for flag in $(EXTRA_TARGET_FLAGS); do \
25069 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25070 done; \
25071 (cd $(TARGET_SUBDIR)/libiberty && \
25072 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25073 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25074 "RANLIB=$${RANLIB}" \
25075 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25076 clean) \
25077 || exit 1
25079 @endif target-libiberty
25081 .PHONY: maybe-distclean-target-libiberty distclean-target-libiberty
25082 maybe-distclean-target-libiberty:
25083 @if target-libiberty
25084 maybe-distclean-target-libiberty: distclean-target-libiberty
25086 distclean-target-libiberty:
25087 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
25088 r=`${PWD_COMMAND}`; export r; \
25089 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25090 $(SET_LIB_PATH) \
25091 $(NORMAL_TARGET_EXPORTS) \
25092 echo "Doing distclean in $(TARGET_SUBDIR)/libiberty" ; \
25093 for flag in $(EXTRA_TARGET_FLAGS); do \
25094 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25095 done; \
25096 (cd $(TARGET_SUBDIR)/libiberty && \
25097 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25098 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25099 "RANLIB=$${RANLIB}" \
25100 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25101 distclean) \
25102 || exit 1
25104 @endif target-libiberty
25106 .PHONY: maybe-maintainer-clean-target-libiberty maintainer-clean-target-libiberty
25107 maybe-maintainer-clean-target-libiberty:
25108 @if target-libiberty
25109 maybe-maintainer-clean-target-libiberty: maintainer-clean-target-libiberty
25111 maintainer-clean-target-libiberty:
25112 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
25113 r=`${PWD_COMMAND}`; export r; \
25114 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25115 $(SET_LIB_PATH) \
25116 $(NORMAL_TARGET_EXPORTS) \
25117 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libiberty" ; \
25118 for flag in $(EXTRA_TARGET_FLAGS); do \
25119 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25120 done; \
25121 (cd $(TARGET_SUBDIR)/libiberty && \
25122 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25123 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25124 "RANLIB=$${RANLIB}" \
25125 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25126 maintainer-clean) \
25127 || exit 1
25129 @endif target-libiberty
25132 .PHONY: configure-target-gperf maybe-configure-target-gperf
25133 maybe-configure-target-gperf:
25134 @if target-gperf
25135 maybe-configure-target-gperf: configure-target-gperf
25137 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
25138 $(TARGET_SUBDIR)/gperf/multilib.out: multilib.out
25139 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/gperf ; \
25140 rm -f $(TARGET_SUBDIR)/gperf/Makefile || : ; \
25141 cp multilib.out $(TARGET_SUBDIR)/gperf/multilib.out
25143 configure-target-gperf: $(TARGET_SUBDIR)/gperf/multilib.out
25144 @test ! -f $(TARGET_SUBDIR)/gperf/Makefile || exit 0; \
25145 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/gperf ; \
25146 r=`${PWD_COMMAND}`; export r; \
25147 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25148 $(SET_LIB_PATH) \
25149 $(NORMAL_TARGET_EXPORTS) \
25150 echo Configuring in $(TARGET_SUBDIR)/gperf; \
25151 cd "$(TARGET_SUBDIR)/gperf" || exit 1; \
25152 case $(srcdir) in \
25153 /* | [A-Za-z]:[\\/]*) \
25154 topdir=$(srcdir) ;; \
25155 *) \
25156 case "$(TARGET_SUBDIR)" in \
25157 .) topdir="../$(srcdir)" ;; \
25158 *) topdir="../../$(srcdir)" ;; \
25159 esac ;; \
25160 esac; \
25161 srcdiroption="--srcdir=$${topdir}/gperf"; \
25162 libsrcdir="$$s/gperf"; \
25163 rm -f no-such-file || : ; \
25164 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
25165 $(TARGET_CONFIGARGS) $${srcdiroption} \
25166 --with-target-subdir="$(TARGET_SUBDIR)" \
25167 || exit 1
25168 @endif target-gperf
25170 .PHONY: all-target-gperf maybe-all-target-gperf
25171 maybe-all-target-gperf:
25172 @if target-gperf
25173 maybe-all-target-gperf: all-target-gperf
25174 all-target-gperf: configure-target-gperf
25175 @r=`${PWD_COMMAND}`; export r; \
25176 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25177 $(SET_LIB_PATH) \
25178 $(NORMAL_TARGET_EXPORTS) \
25179 (cd $(TARGET_SUBDIR)/gperf && \
25180 $(MAKE) $(TARGET_FLAGS_TO_PASS) all)
25181 @endif target-gperf
25183 .PHONY: check-target-gperf maybe-check-target-gperf
25184 maybe-check-target-gperf:
25185 @if target-gperf
25186 maybe-check-target-gperf: check-target-gperf
25188 check-target-gperf:
25189 @r=`${PWD_COMMAND}`; export r; \
25190 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25191 $(SET_LIB_PATH) \
25192 $(NORMAL_TARGET_EXPORTS) \
25193 (cd $(TARGET_SUBDIR)/gperf && \
25194 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
25196 @endif target-gperf
25198 .PHONY: install-target-gperf maybe-install-target-gperf
25199 maybe-install-target-gperf:
25200 @if target-gperf
25201 maybe-install-target-gperf: install-target-gperf
25203 install-target-gperf: installdirs
25204 @r=`${PWD_COMMAND}`; export r; \
25205 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25206 $(SET_LIB_PATH) \
25207 $(NORMAL_TARGET_EXPORTS) \
25208 (cd $(TARGET_SUBDIR)/gperf && \
25209 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
25211 @endif target-gperf
25213 # Other targets (info, dvi, etc.)
25215 .PHONY: maybe-info-target-gperf info-target-gperf
25216 maybe-info-target-gperf:
25217 @if target-gperf
25218 maybe-info-target-gperf: info-target-gperf
25220 info-target-gperf: \
25221 configure-target-gperf
25222 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
25223 r=`${PWD_COMMAND}`; export r; \
25224 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25225 $(SET_LIB_PATH) \
25226 $(NORMAL_TARGET_EXPORTS) \
25227 echo "Doing info in $(TARGET_SUBDIR)/gperf" ; \
25228 for flag in $(EXTRA_TARGET_FLAGS); do \
25229 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25230 done; \
25231 (cd $(TARGET_SUBDIR)/gperf && \
25232 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25233 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25234 "RANLIB=$${RANLIB}" \
25235 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25236 info) \
25237 || exit 1
25239 @endif target-gperf
25241 .PHONY: maybe-dvi-target-gperf dvi-target-gperf
25242 maybe-dvi-target-gperf:
25243 @if target-gperf
25244 maybe-dvi-target-gperf: dvi-target-gperf
25246 dvi-target-gperf: \
25247 configure-target-gperf
25248 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
25249 r=`${PWD_COMMAND}`; export r; \
25250 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25251 $(SET_LIB_PATH) \
25252 $(NORMAL_TARGET_EXPORTS) \
25253 echo "Doing dvi in $(TARGET_SUBDIR)/gperf" ; \
25254 for flag in $(EXTRA_TARGET_FLAGS); do \
25255 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25256 done; \
25257 (cd $(TARGET_SUBDIR)/gperf && \
25258 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25259 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25260 "RANLIB=$${RANLIB}" \
25261 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25262 dvi) \
25263 || exit 1
25265 @endif target-gperf
25267 .PHONY: maybe-TAGS-target-gperf TAGS-target-gperf
25268 maybe-TAGS-target-gperf:
25269 @if target-gperf
25270 maybe-TAGS-target-gperf: TAGS-target-gperf
25272 TAGS-target-gperf: \
25273 configure-target-gperf
25274 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
25275 r=`${PWD_COMMAND}`; export r; \
25276 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25277 $(SET_LIB_PATH) \
25278 $(NORMAL_TARGET_EXPORTS) \
25279 echo "Doing TAGS in $(TARGET_SUBDIR)/gperf" ; \
25280 for flag in $(EXTRA_TARGET_FLAGS); do \
25281 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25282 done; \
25283 (cd $(TARGET_SUBDIR)/gperf && \
25284 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25285 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25286 "RANLIB=$${RANLIB}" \
25287 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25288 TAGS) \
25289 || exit 1
25291 @endif target-gperf
25293 .PHONY: maybe-install-info-target-gperf install-info-target-gperf
25294 maybe-install-info-target-gperf:
25295 @if target-gperf
25296 maybe-install-info-target-gperf: install-info-target-gperf
25298 install-info-target-gperf: \
25299 configure-target-gperf \
25300 info-target-gperf
25301 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
25302 r=`${PWD_COMMAND}`; export r; \
25303 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25304 $(SET_LIB_PATH) \
25305 $(NORMAL_TARGET_EXPORTS) \
25306 echo "Doing install-info in $(TARGET_SUBDIR)/gperf" ; \
25307 for flag in $(EXTRA_TARGET_FLAGS); do \
25308 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25309 done; \
25310 (cd $(TARGET_SUBDIR)/gperf && \
25311 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25312 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25313 "RANLIB=$${RANLIB}" \
25314 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25315 install-info) \
25316 || exit 1
25318 @endif target-gperf
25320 .PHONY: maybe-installcheck-target-gperf installcheck-target-gperf
25321 maybe-installcheck-target-gperf:
25322 @if target-gperf
25323 maybe-installcheck-target-gperf: installcheck-target-gperf
25325 installcheck-target-gperf: \
25326 configure-target-gperf
25327 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
25328 r=`${PWD_COMMAND}`; export r; \
25329 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25330 $(SET_LIB_PATH) \
25331 $(NORMAL_TARGET_EXPORTS) \
25332 echo "Doing installcheck in $(TARGET_SUBDIR)/gperf" ; \
25333 for flag in $(EXTRA_TARGET_FLAGS); do \
25334 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25335 done; \
25336 (cd $(TARGET_SUBDIR)/gperf && \
25337 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25338 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25339 "RANLIB=$${RANLIB}" \
25340 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25341 installcheck) \
25342 || exit 1
25344 @endif target-gperf
25346 .PHONY: maybe-mostlyclean-target-gperf mostlyclean-target-gperf
25347 maybe-mostlyclean-target-gperf:
25348 @if target-gperf
25349 maybe-mostlyclean-target-gperf: mostlyclean-target-gperf
25351 mostlyclean-target-gperf:
25352 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
25353 r=`${PWD_COMMAND}`; export r; \
25354 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25355 $(SET_LIB_PATH) \
25356 $(NORMAL_TARGET_EXPORTS) \
25357 echo "Doing mostlyclean in $(TARGET_SUBDIR)/gperf" ; \
25358 for flag in $(EXTRA_TARGET_FLAGS); do \
25359 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25360 done; \
25361 (cd $(TARGET_SUBDIR)/gperf && \
25362 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25363 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25364 "RANLIB=$${RANLIB}" \
25365 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25366 mostlyclean) \
25367 || exit 1
25369 @endif target-gperf
25371 .PHONY: maybe-clean-target-gperf clean-target-gperf
25372 maybe-clean-target-gperf:
25373 @if target-gperf
25374 maybe-clean-target-gperf: clean-target-gperf
25376 clean-target-gperf:
25377 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
25378 r=`${PWD_COMMAND}`; export r; \
25379 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25380 $(SET_LIB_PATH) \
25381 $(NORMAL_TARGET_EXPORTS) \
25382 echo "Doing clean in $(TARGET_SUBDIR)/gperf" ; \
25383 for flag in $(EXTRA_TARGET_FLAGS); do \
25384 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25385 done; \
25386 (cd $(TARGET_SUBDIR)/gperf && \
25387 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25388 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25389 "RANLIB=$${RANLIB}" \
25390 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25391 clean) \
25392 || exit 1
25394 @endif target-gperf
25396 .PHONY: maybe-distclean-target-gperf distclean-target-gperf
25397 maybe-distclean-target-gperf:
25398 @if target-gperf
25399 maybe-distclean-target-gperf: distclean-target-gperf
25401 distclean-target-gperf:
25402 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
25403 r=`${PWD_COMMAND}`; export r; \
25404 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25405 $(SET_LIB_PATH) \
25406 $(NORMAL_TARGET_EXPORTS) \
25407 echo "Doing distclean in $(TARGET_SUBDIR)/gperf" ; \
25408 for flag in $(EXTRA_TARGET_FLAGS); do \
25409 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25410 done; \
25411 (cd $(TARGET_SUBDIR)/gperf && \
25412 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25413 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25414 "RANLIB=$${RANLIB}" \
25415 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25416 distclean) \
25417 || exit 1
25419 @endif target-gperf
25421 .PHONY: maybe-maintainer-clean-target-gperf maintainer-clean-target-gperf
25422 maybe-maintainer-clean-target-gperf:
25423 @if target-gperf
25424 maybe-maintainer-clean-target-gperf: maintainer-clean-target-gperf
25426 maintainer-clean-target-gperf:
25427 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
25428 r=`${PWD_COMMAND}`; export r; \
25429 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25430 $(SET_LIB_PATH) \
25431 $(NORMAL_TARGET_EXPORTS) \
25432 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/gperf" ; \
25433 for flag in $(EXTRA_TARGET_FLAGS); do \
25434 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25435 done; \
25436 (cd $(TARGET_SUBDIR)/gperf && \
25437 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25438 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25439 "RANLIB=$${RANLIB}" \
25440 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25441 maintainer-clean) \
25442 || exit 1
25444 @endif target-gperf
25447 .PHONY: configure-target-examples maybe-configure-target-examples
25448 maybe-configure-target-examples:
25449 @if target-examples
25450 maybe-configure-target-examples: configure-target-examples
25452 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
25453 $(TARGET_SUBDIR)/examples/multilib.out: multilib.out
25454 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/examples ; \
25455 rm -f $(TARGET_SUBDIR)/examples/Makefile || : ; \
25456 cp multilib.out $(TARGET_SUBDIR)/examples/multilib.out
25458 configure-target-examples: $(TARGET_SUBDIR)/examples/multilib.out
25459 @test ! -f $(TARGET_SUBDIR)/examples/Makefile || exit 0; \
25460 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/examples ; \
25461 r=`${PWD_COMMAND}`; export r; \
25462 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25463 $(SET_LIB_PATH) \
25464 $(NORMAL_TARGET_EXPORTS) \
25465 echo Configuring in $(TARGET_SUBDIR)/examples; \
25466 cd "$(TARGET_SUBDIR)/examples" || exit 1; \
25467 case $(srcdir) in \
25468 /* | [A-Za-z]:[\\/]*) \
25469 topdir=$(srcdir) ;; \
25470 *) \
25471 case "$(TARGET_SUBDIR)" in \
25472 .) topdir="../$(srcdir)" ;; \
25473 *) topdir="../../$(srcdir)" ;; \
25474 esac ;; \
25475 esac; \
25476 srcdiroption="--srcdir=$${topdir}/examples"; \
25477 libsrcdir="$$s/examples"; \
25478 rm -f no-such-file || : ; \
25479 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
25480 $(TARGET_CONFIGARGS) $${srcdiroption} \
25481 --with-target-subdir="$(TARGET_SUBDIR)" \
25482 || exit 1
25483 @endif target-examples
25485 .PHONY: all-target-examples maybe-all-target-examples
25486 maybe-all-target-examples:
25487 @if target-examples
25488 maybe-all-target-examples: all-target-examples
25489 all-target-examples: configure-target-examples
25490 @r=`${PWD_COMMAND}`; export r; \
25491 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25492 $(SET_LIB_PATH) \
25493 $(NORMAL_TARGET_EXPORTS) \
25494 (cd $(TARGET_SUBDIR)/examples && \
25495 $(MAKE) $(TARGET_FLAGS_TO_PASS) all)
25496 @endif target-examples
25498 .PHONY: check-target-examples maybe-check-target-examples
25499 maybe-check-target-examples:
25500 @if target-examples
25501 maybe-check-target-examples: check-target-examples
25503 # Dummy target for uncheckable module.
25504 check-target-examples:
25506 @endif target-examples
25508 .PHONY: install-target-examples maybe-install-target-examples
25509 maybe-install-target-examples:
25510 @if target-examples
25511 maybe-install-target-examples: install-target-examples
25513 # Dummy target for uninstallable.
25514 install-target-examples:
25516 @endif target-examples
25518 # Other targets (info, dvi, etc.)
25520 .PHONY: maybe-info-target-examples info-target-examples
25521 maybe-info-target-examples:
25522 @if target-examples
25523 maybe-info-target-examples: info-target-examples
25525 info-target-examples: \
25526 configure-target-examples
25527 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
25528 r=`${PWD_COMMAND}`; export r; \
25529 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25530 $(SET_LIB_PATH) \
25531 $(NORMAL_TARGET_EXPORTS) \
25532 echo "Doing info in $(TARGET_SUBDIR)/examples" ; \
25533 for flag in $(EXTRA_TARGET_FLAGS); do \
25534 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25535 done; \
25536 (cd $(TARGET_SUBDIR)/examples && \
25537 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25538 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25539 "RANLIB=$${RANLIB}" \
25540 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25541 info) \
25542 || exit 1
25544 @endif target-examples
25546 .PHONY: maybe-dvi-target-examples dvi-target-examples
25547 maybe-dvi-target-examples:
25548 @if target-examples
25549 maybe-dvi-target-examples: dvi-target-examples
25551 dvi-target-examples: \
25552 configure-target-examples
25553 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
25554 r=`${PWD_COMMAND}`; export r; \
25555 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25556 $(SET_LIB_PATH) \
25557 $(NORMAL_TARGET_EXPORTS) \
25558 echo "Doing dvi in $(TARGET_SUBDIR)/examples" ; \
25559 for flag in $(EXTRA_TARGET_FLAGS); do \
25560 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25561 done; \
25562 (cd $(TARGET_SUBDIR)/examples && \
25563 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25564 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25565 "RANLIB=$${RANLIB}" \
25566 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25567 dvi) \
25568 || exit 1
25570 @endif target-examples
25572 .PHONY: maybe-TAGS-target-examples TAGS-target-examples
25573 maybe-TAGS-target-examples:
25574 @if target-examples
25575 maybe-TAGS-target-examples: TAGS-target-examples
25577 TAGS-target-examples: \
25578 configure-target-examples
25579 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
25580 r=`${PWD_COMMAND}`; export r; \
25581 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25582 $(SET_LIB_PATH) \
25583 $(NORMAL_TARGET_EXPORTS) \
25584 echo "Doing TAGS in $(TARGET_SUBDIR)/examples" ; \
25585 for flag in $(EXTRA_TARGET_FLAGS); do \
25586 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25587 done; \
25588 (cd $(TARGET_SUBDIR)/examples && \
25589 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25590 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25591 "RANLIB=$${RANLIB}" \
25592 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25593 TAGS) \
25594 || exit 1
25596 @endif target-examples
25598 .PHONY: maybe-install-info-target-examples install-info-target-examples
25599 maybe-install-info-target-examples:
25600 @if target-examples
25601 maybe-install-info-target-examples: install-info-target-examples
25603 install-info-target-examples: \
25604 configure-target-examples \
25605 info-target-examples
25606 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
25607 r=`${PWD_COMMAND}`; export r; \
25608 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25609 $(SET_LIB_PATH) \
25610 $(NORMAL_TARGET_EXPORTS) \
25611 echo "Doing install-info in $(TARGET_SUBDIR)/examples" ; \
25612 for flag in $(EXTRA_TARGET_FLAGS); do \
25613 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25614 done; \
25615 (cd $(TARGET_SUBDIR)/examples && \
25616 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25617 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25618 "RANLIB=$${RANLIB}" \
25619 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25620 install-info) \
25621 || exit 1
25623 @endif target-examples
25625 .PHONY: maybe-installcheck-target-examples installcheck-target-examples
25626 maybe-installcheck-target-examples:
25627 @if target-examples
25628 maybe-installcheck-target-examples: installcheck-target-examples
25630 installcheck-target-examples: \
25631 configure-target-examples
25632 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
25633 r=`${PWD_COMMAND}`; export r; \
25634 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25635 $(SET_LIB_PATH) \
25636 $(NORMAL_TARGET_EXPORTS) \
25637 echo "Doing installcheck in $(TARGET_SUBDIR)/examples" ; \
25638 for flag in $(EXTRA_TARGET_FLAGS); do \
25639 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25640 done; \
25641 (cd $(TARGET_SUBDIR)/examples && \
25642 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25643 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25644 "RANLIB=$${RANLIB}" \
25645 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25646 installcheck) \
25647 || exit 1
25649 @endif target-examples
25651 .PHONY: maybe-mostlyclean-target-examples mostlyclean-target-examples
25652 maybe-mostlyclean-target-examples:
25653 @if target-examples
25654 maybe-mostlyclean-target-examples: mostlyclean-target-examples
25656 mostlyclean-target-examples:
25657 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
25658 r=`${PWD_COMMAND}`; export r; \
25659 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25660 $(SET_LIB_PATH) \
25661 $(NORMAL_TARGET_EXPORTS) \
25662 echo "Doing mostlyclean in $(TARGET_SUBDIR)/examples" ; \
25663 for flag in $(EXTRA_TARGET_FLAGS); do \
25664 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25665 done; \
25666 (cd $(TARGET_SUBDIR)/examples && \
25667 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25668 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25669 "RANLIB=$${RANLIB}" \
25670 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25671 mostlyclean) \
25672 || exit 1
25674 @endif target-examples
25676 .PHONY: maybe-clean-target-examples clean-target-examples
25677 maybe-clean-target-examples:
25678 @if target-examples
25679 maybe-clean-target-examples: clean-target-examples
25681 clean-target-examples:
25682 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
25683 r=`${PWD_COMMAND}`; export r; \
25684 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25685 $(SET_LIB_PATH) \
25686 $(NORMAL_TARGET_EXPORTS) \
25687 echo "Doing clean in $(TARGET_SUBDIR)/examples" ; \
25688 for flag in $(EXTRA_TARGET_FLAGS); do \
25689 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25690 done; \
25691 (cd $(TARGET_SUBDIR)/examples && \
25692 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25693 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25694 "RANLIB=$${RANLIB}" \
25695 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25696 clean) \
25697 || exit 1
25699 @endif target-examples
25701 .PHONY: maybe-distclean-target-examples distclean-target-examples
25702 maybe-distclean-target-examples:
25703 @if target-examples
25704 maybe-distclean-target-examples: distclean-target-examples
25706 distclean-target-examples:
25707 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
25708 r=`${PWD_COMMAND}`; export r; \
25709 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25710 $(SET_LIB_PATH) \
25711 $(NORMAL_TARGET_EXPORTS) \
25712 echo "Doing distclean in $(TARGET_SUBDIR)/examples" ; \
25713 for flag in $(EXTRA_TARGET_FLAGS); do \
25714 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25715 done; \
25716 (cd $(TARGET_SUBDIR)/examples && \
25717 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25718 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25719 "RANLIB=$${RANLIB}" \
25720 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25721 distclean) \
25722 || exit 1
25724 @endif target-examples
25726 .PHONY: maybe-maintainer-clean-target-examples maintainer-clean-target-examples
25727 maybe-maintainer-clean-target-examples:
25728 @if target-examples
25729 maybe-maintainer-clean-target-examples: maintainer-clean-target-examples
25731 maintainer-clean-target-examples:
25732 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
25733 r=`${PWD_COMMAND}`; export r; \
25734 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25735 $(SET_LIB_PATH) \
25736 $(NORMAL_TARGET_EXPORTS) \
25737 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/examples" ; \
25738 for flag in $(EXTRA_TARGET_FLAGS); do \
25739 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25740 done; \
25741 (cd $(TARGET_SUBDIR)/examples && \
25742 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25743 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25744 "RANLIB=$${RANLIB}" \
25745 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25746 maintainer-clean) \
25747 || exit 1
25749 @endif target-examples
25752 .PHONY: configure-target-libffi maybe-configure-target-libffi
25753 maybe-configure-target-libffi:
25754 @if target-libffi
25755 maybe-configure-target-libffi: configure-target-libffi
25757 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
25758 $(TARGET_SUBDIR)/libffi/multilib.out: multilib.out
25759 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libffi ; \
25760 rm -f $(TARGET_SUBDIR)/libffi/Makefile || : ; \
25761 cp multilib.out $(TARGET_SUBDIR)/libffi/multilib.out
25763 configure-target-libffi: $(TARGET_SUBDIR)/libffi/multilib.out
25764 @test ! -f $(TARGET_SUBDIR)/libffi/Makefile || exit 0; \
25765 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libffi ; \
25766 r=`${PWD_COMMAND}`; export r; \
25767 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25768 $(SET_LIB_PATH) \
25769 $(NORMAL_TARGET_EXPORTS) \
25770 echo Configuring in $(TARGET_SUBDIR)/libffi; \
25771 cd "$(TARGET_SUBDIR)/libffi" || exit 1; \
25772 case $(srcdir) in \
25773 /* | [A-Za-z]:[\\/]*) \
25774 topdir=$(srcdir) ;; \
25775 *) \
25776 case "$(TARGET_SUBDIR)" in \
25777 .) topdir="../$(srcdir)" ;; \
25778 *) topdir="../../$(srcdir)" ;; \
25779 esac ;; \
25780 esac; \
25781 srcdiroption="--srcdir=$${topdir}/libffi"; \
25782 libsrcdir="$$s/libffi"; \
25783 rm -f no-such-file || : ; \
25784 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
25785 $(TARGET_CONFIGARGS) $${srcdiroption} \
25786 --with-target-subdir="$(TARGET_SUBDIR)" \
25787 || exit 1
25788 @endif target-libffi
25790 .PHONY: all-target-libffi maybe-all-target-libffi
25791 maybe-all-target-libffi:
25792 @if target-libffi
25793 maybe-all-target-libffi: all-target-libffi
25794 all-target-libffi: configure-target-libffi
25795 @r=`${PWD_COMMAND}`; export r; \
25796 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25797 $(SET_LIB_PATH) \
25798 $(NORMAL_TARGET_EXPORTS) \
25799 (cd $(TARGET_SUBDIR)/libffi && \
25800 $(MAKE) $(TARGET_FLAGS_TO_PASS) all)
25801 @endif target-libffi
25803 .PHONY: check-target-libffi maybe-check-target-libffi
25804 maybe-check-target-libffi:
25805 @if target-libffi
25806 maybe-check-target-libffi: check-target-libffi
25808 check-target-libffi:
25809 @r=`${PWD_COMMAND}`; export r; \
25810 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25811 $(SET_LIB_PATH) \
25812 $(NORMAL_TARGET_EXPORTS) \
25813 (cd $(TARGET_SUBDIR)/libffi && \
25814 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
25816 @endif target-libffi
25818 .PHONY: install-target-libffi maybe-install-target-libffi
25819 maybe-install-target-libffi:
25820 @if target-libffi
25821 maybe-install-target-libffi: install-target-libffi
25823 install-target-libffi: installdirs
25824 @r=`${PWD_COMMAND}`; export r; \
25825 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25826 $(SET_LIB_PATH) \
25827 $(NORMAL_TARGET_EXPORTS) \
25828 (cd $(TARGET_SUBDIR)/libffi && \
25829 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
25831 @endif target-libffi
25833 # Other targets (info, dvi, etc.)
25835 .PHONY: maybe-info-target-libffi info-target-libffi
25836 maybe-info-target-libffi:
25837 @if target-libffi
25838 maybe-info-target-libffi: info-target-libffi
25840 info-target-libffi: \
25841 configure-target-libffi
25842 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
25843 r=`${PWD_COMMAND}`; export r; \
25844 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25845 $(SET_LIB_PATH) \
25846 $(NORMAL_TARGET_EXPORTS) \
25847 echo "Doing info in $(TARGET_SUBDIR)/libffi" ; \
25848 for flag in $(EXTRA_TARGET_FLAGS); do \
25849 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25850 done; \
25851 (cd $(TARGET_SUBDIR)/libffi && \
25852 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25853 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25854 "RANLIB=$${RANLIB}" \
25855 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25856 info) \
25857 || exit 1
25859 @endif target-libffi
25861 .PHONY: maybe-dvi-target-libffi dvi-target-libffi
25862 maybe-dvi-target-libffi:
25863 @if target-libffi
25864 maybe-dvi-target-libffi: dvi-target-libffi
25866 dvi-target-libffi: \
25867 configure-target-libffi
25868 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
25869 r=`${PWD_COMMAND}`; export r; \
25870 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25871 $(SET_LIB_PATH) \
25872 $(NORMAL_TARGET_EXPORTS) \
25873 echo "Doing dvi in $(TARGET_SUBDIR)/libffi" ; \
25874 for flag in $(EXTRA_TARGET_FLAGS); do \
25875 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25876 done; \
25877 (cd $(TARGET_SUBDIR)/libffi && \
25878 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25879 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25880 "RANLIB=$${RANLIB}" \
25881 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25882 dvi) \
25883 || exit 1
25885 @endif target-libffi
25887 .PHONY: maybe-TAGS-target-libffi TAGS-target-libffi
25888 maybe-TAGS-target-libffi:
25889 @if target-libffi
25890 maybe-TAGS-target-libffi: TAGS-target-libffi
25892 TAGS-target-libffi: \
25893 configure-target-libffi
25894 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
25895 r=`${PWD_COMMAND}`; export r; \
25896 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25897 $(SET_LIB_PATH) \
25898 $(NORMAL_TARGET_EXPORTS) \
25899 echo "Doing TAGS in $(TARGET_SUBDIR)/libffi" ; \
25900 for flag in $(EXTRA_TARGET_FLAGS); do \
25901 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25902 done; \
25903 (cd $(TARGET_SUBDIR)/libffi && \
25904 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25905 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25906 "RANLIB=$${RANLIB}" \
25907 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25908 TAGS) \
25909 || exit 1
25911 @endif target-libffi
25913 .PHONY: maybe-install-info-target-libffi install-info-target-libffi
25914 maybe-install-info-target-libffi:
25915 @if target-libffi
25916 maybe-install-info-target-libffi: install-info-target-libffi
25918 install-info-target-libffi: \
25919 configure-target-libffi \
25920 info-target-libffi
25921 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
25922 r=`${PWD_COMMAND}`; export r; \
25923 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25924 $(SET_LIB_PATH) \
25925 $(NORMAL_TARGET_EXPORTS) \
25926 echo "Doing install-info in $(TARGET_SUBDIR)/libffi" ; \
25927 for flag in $(EXTRA_TARGET_FLAGS); do \
25928 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25929 done; \
25930 (cd $(TARGET_SUBDIR)/libffi && \
25931 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25932 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25933 "RANLIB=$${RANLIB}" \
25934 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25935 install-info) \
25936 || exit 1
25938 @endif target-libffi
25940 .PHONY: maybe-installcheck-target-libffi installcheck-target-libffi
25941 maybe-installcheck-target-libffi:
25942 @if target-libffi
25943 maybe-installcheck-target-libffi: installcheck-target-libffi
25945 installcheck-target-libffi: \
25946 configure-target-libffi
25947 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
25948 r=`${PWD_COMMAND}`; export r; \
25949 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25950 $(SET_LIB_PATH) \
25951 $(NORMAL_TARGET_EXPORTS) \
25952 echo "Doing installcheck in $(TARGET_SUBDIR)/libffi" ; \
25953 for flag in $(EXTRA_TARGET_FLAGS); do \
25954 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25955 done; \
25956 (cd $(TARGET_SUBDIR)/libffi && \
25957 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25958 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25959 "RANLIB=$${RANLIB}" \
25960 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25961 installcheck) \
25962 || exit 1
25964 @endif target-libffi
25966 .PHONY: maybe-mostlyclean-target-libffi mostlyclean-target-libffi
25967 maybe-mostlyclean-target-libffi:
25968 @if target-libffi
25969 maybe-mostlyclean-target-libffi: mostlyclean-target-libffi
25971 mostlyclean-target-libffi:
25972 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
25973 r=`${PWD_COMMAND}`; export r; \
25974 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25975 $(SET_LIB_PATH) \
25976 $(NORMAL_TARGET_EXPORTS) \
25977 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libffi" ; \
25978 for flag in $(EXTRA_TARGET_FLAGS); do \
25979 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25980 done; \
25981 (cd $(TARGET_SUBDIR)/libffi && \
25982 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25983 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25984 "RANLIB=$${RANLIB}" \
25985 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25986 mostlyclean) \
25987 || exit 1
25989 @endif target-libffi
25991 .PHONY: maybe-clean-target-libffi clean-target-libffi
25992 maybe-clean-target-libffi:
25993 @if target-libffi
25994 maybe-clean-target-libffi: clean-target-libffi
25996 clean-target-libffi:
25997 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
25998 r=`${PWD_COMMAND}`; export r; \
25999 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26000 $(SET_LIB_PATH) \
26001 $(NORMAL_TARGET_EXPORTS) \
26002 echo "Doing clean in $(TARGET_SUBDIR)/libffi" ; \
26003 for flag in $(EXTRA_TARGET_FLAGS); do \
26004 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26005 done; \
26006 (cd $(TARGET_SUBDIR)/libffi && \
26007 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26008 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26009 "RANLIB=$${RANLIB}" \
26010 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26011 clean) \
26012 || exit 1
26014 @endif target-libffi
26016 .PHONY: maybe-distclean-target-libffi distclean-target-libffi
26017 maybe-distclean-target-libffi:
26018 @if target-libffi
26019 maybe-distclean-target-libffi: distclean-target-libffi
26021 distclean-target-libffi:
26022 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
26023 r=`${PWD_COMMAND}`; export r; \
26024 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26025 $(SET_LIB_PATH) \
26026 $(NORMAL_TARGET_EXPORTS) \
26027 echo "Doing distclean in $(TARGET_SUBDIR)/libffi" ; \
26028 for flag in $(EXTRA_TARGET_FLAGS); do \
26029 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26030 done; \
26031 (cd $(TARGET_SUBDIR)/libffi && \
26032 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26033 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26034 "RANLIB=$${RANLIB}" \
26035 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26036 distclean) \
26037 || exit 1
26039 @endif target-libffi
26041 .PHONY: maybe-maintainer-clean-target-libffi maintainer-clean-target-libffi
26042 maybe-maintainer-clean-target-libffi:
26043 @if target-libffi
26044 maybe-maintainer-clean-target-libffi: maintainer-clean-target-libffi
26046 maintainer-clean-target-libffi:
26047 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
26048 r=`${PWD_COMMAND}`; export r; \
26049 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26050 $(SET_LIB_PATH) \
26051 $(NORMAL_TARGET_EXPORTS) \
26052 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libffi" ; \
26053 for flag in $(EXTRA_TARGET_FLAGS); do \
26054 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26055 done; \
26056 (cd $(TARGET_SUBDIR)/libffi && \
26057 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26058 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26059 "RANLIB=$${RANLIB}" \
26060 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26061 maintainer-clean) \
26062 || exit 1
26064 @endif target-libffi
26067 .PHONY: configure-target-libjava maybe-configure-target-libjava
26068 maybe-configure-target-libjava:
26069 @if target-libjava
26070 maybe-configure-target-libjava: configure-target-libjava
26072 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
26073 $(TARGET_SUBDIR)/libjava/multilib.out: multilib.out
26074 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libjava ; \
26075 rm -f $(TARGET_SUBDIR)/libjava/Makefile || : ; \
26076 cp multilib.out $(TARGET_SUBDIR)/libjava/multilib.out
26078 configure-target-libjava: $(TARGET_SUBDIR)/libjava/multilib.out
26079 @test ! -f $(TARGET_SUBDIR)/libjava/Makefile || exit 0; \
26080 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libjava ; \
26081 r=`${PWD_COMMAND}`; export r; \
26082 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26083 $(SET_LIB_PATH) \
26084 $(RAW_CXX_TARGET_EXPORTS) \
26085 echo Configuring in $(TARGET_SUBDIR)/libjava; \
26086 cd "$(TARGET_SUBDIR)/libjava" || exit 1; \
26087 case $(srcdir) in \
26088 /* | [A-Za-z]:[\\/]*) \
26089 topdir=$(srcdir) ;; \
26090 *) \
26091 case "$(TARGET_SUBDIR)" in \
26092 .) topdir="../$(srcdir)" ;; \
26093 *) topdir="../../$(srcdir)" ;; \
26094 esac ;; \
26095 esac; \
26096 srcdiroption="--srcdir=$${topdir}/libjava"; \
26097 libsrcdir="$$s/libjava"; \
26098 rm -f no-such-file || : ; \
26099 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
26100 $(TARGET_CONFIGARGS) $${srcdiroption} \
26101 --with-target-subdir="$(TARGET_SUBDIR)" \
26102 || exit 1
26103 @endif target-libjava
26105 .PHONY: all-target-libjava maybe-all-target-libjava
26106 maybe-all-target-libjava:
26107 @if target-libjava
26108 maybe-all-target-libjava: all-target-libjava
26109 all-target-libjava: configure-target-libjava
26110 @r=`${PWD_COMMAND}`; export r; \
26111 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26112 $(SET_LIB_PATH) \
26113 $(RAW_CXX_TARGET_EXPORTS) \
26114 (cd $(TARGET_SUBDIR)/libjava && \
26115 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' all)
26116 @endif target-libjava
26118 .PHONY: check-target-libjava maybe-check-target-libjava
26119 maybe-check-target-libjava:
26120 @if target-libjava
26121 maybe-check-target-libjava: check-target-libjava
26123 check-target-libjava:
26124 @r=`${PWD_COMMAND}`; export r; \
26125 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26126 $(SET_LIB_PATH) \
26127 $(RAW_CXX_TARGET_EXPORTS) \
26128 (cd $(TARGET_SUBDIR)/libjava && \
26129 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' check)
26131 @endif target-libjava
26133 .PHONY: install-target-libjava maybe-install-target-libjava
26134 maybe-install-target-libjava:
26135 @if target-libjava
26136 maybe-install-target-libjava: install-target-libjava
26138 install-target-libjava: installdirs
26139 @r=`${PWD_COMMAND}`; export r; \
26140 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26141 $(SET_LIB_PATH) \
26142 $(RAW_CXX_TARGET_EXPORTS) \
26143 (cd $(TARGET_SUBDIR)/libjava && \
26144 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
26146 @endif target-libjava
26148 # Other targets (info, dvi, etc.)
26150 .PHONY: maybe-info-target-libjava info-target-libjava
26151 maybe-info-target-libjava:
26152 @if target-libjava
26153 maybe-info-target-libjava: info-target-libjava
26155 info-target-libjava: \
26156 configure-target-libjava
26157 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
26158 r=`${PWD_COMMAND}`; export r; \
26159 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26160 $(SET_LIB_PATH) \
26161 $(RAW_CXX_TARGET_EXPORTS) \
26162 echo "Doing info in $(TARGET_SUBDIR)/libjava" ; \
26163 for flag in $(EXTRA_TARGET_FLAGS); do \
26164 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26165 done; \
26166 (cd $(TARGET_SUBDIR)/libjava && \
26167 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26168 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26169 "RANLIB=$${RANLIB}" \
26170 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26171 info) \
26172 || exit 1
26174 @endif target-libjava
26176 .PHONY: maybe-dvi-target-libjava dvi-target-libjava
26177 maybe-dvi-target-libjava:
26178 @if target-libjava
26179 maybe-dvi-target-libjava: dvi-target-libjava
26181 dvi-target-libjava: \
26182 configure-target-libjava
26183 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
26184 r=`${PWD_COMMAND}`; export r; \
26185 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26186 $(SET_LIB_PATH) \
26187 $(RAW_CXX_TARGET_EXPORTS) \
26188 echo "Doing dvi in $(TARGET_SUBDIR)/libjava" ; \
26189 for flag in $(EXTRA_TARGET_FLAGS); do \
26190 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26191 done; \
26192 (cd $(TARGET_SUBDIR)/libjava && \
26193 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26194 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26195 "RANLIB=$${RANLIB}" \
26196 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26197 dvi) \
26198 || exit 1
26200 @endif target-libjava
26202 .PHONY: maybe-TAGS-target-libjava TAGS-target-libjava
26203 maybe-TAGS-target-libjava:
26204 @if target-libjava
26205 maybe-TAGS-target-libjava: TAGS-target-libjava
26207 TAGS-target-libjava: \
26208 configure-target-libjava
26209 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
26210 r=`${PWD_COMMAND}`; export r; \
26211 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26212 $(SET_LIB_PATH) \
26213 $(RAW_CXX_TARGET_EXPORTS) \
26214 echo "Doing TAGS in $(TARGET_SUBDIR)/libjava" ; \
26215 for flag in $(EXTRA_TARGET_FLAGS); do \
26216 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26217 done; \
26218 (cd $(TARGET_SUBDIR)/libjava && \
26219 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26220 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26221 "RANLIB=$${RANLIB}" \
26222 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26223 TAGS) \
26224 || exit 1
26226 @endif target-libjava
26228 .PHONY: maybe-install-info-target-libjava install-info-target-libjava
26229 maybe-install-info-target-libjava:
26230 @if target-libjava
26231 maybe-install-info-target-libjava: install-info-target-libjava
26233 install-info-target-libjava: \
26234 configure-target-libjava \
26235 info-target-libjava
26236 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
26237 r=`${PWD_COMMAND}`; export r; \
26238 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26239 $(SET_LIB_PATH) \
26240 $(RAW_CXX_TARGET_EXPORTS) \
26241 echo "Doing install-info in $(TARGET_SUBDIR)/libjava" ; \
26242 for flag in $(EXTRA_TARGET_FLAGS); do \
26243 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26244 done; \
26245 (cd $(TARGET_SUBDIR)/libjava && \
26246 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26247 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26248 "RANLIB=$${RANLIB}" \
26249 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26250 install-info) \
26251 || exit 1
26253 @endif target-libjava
26255 .PHONY: maybe-installcheck-target-libjava installcheck-target-libjava
26256 maybe-installcheck-target-libjava:
26257 @if target-libjava
26258 maybe-installcheck-target-libjava: installcheck-target-libjava
26260 installcheck-target-libjava: \
26261 configure-target-libjava
26262 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
26263 r=`${PWD_COMMAND}`; export r; \
26264 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26265 $(SET_LIB_PATH) \
26266 $(RAW_CXX_TARGET_EXPORTS) \
26267 echo "Doing installcheck in $(TARGET_SUBDIR)/libjava" ; \
26268 for flag in $(EXTRA_TARGET_FLAGS); do \
26269 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26270 done; \
26271 (cd $(TARGET_SUBDIR)/libjava && \
26272 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26273 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26274 "RANLIB=$${RANLIB}" \
26275 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26276 installcheck) \
26277 || exit 1
26279 @endif target-libjava
26281 .PHONY: maybe-mostlyclean-target-libjava mostlyclean-target-libjava
26282 maybe-mostlyclean-target-libjava:
26283 @if target-libjava
26284 maybe-mostlyclean-target-libjava: mostlyclean-target-libjava
26286 mostlyclean-target-libjava:
26287 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
26288 r=`${PWD_COMMAND}`; export r; \
26289 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26290 $(SET_LIB_PATH) \
26291 $(RAW_CXX_TARGET_EXPORTS) \
26292 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libjava" ; \
26293 for flag in $(EXTRA_TARGET_FLAGS); do \
26294 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26295 done; \
26296 (cd $(TARGET_SUBDIR)/libjava && \
26297 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26298 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26299 "RANLIB=$${RANLIB}" \
26300 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26301 mostlyclean) \
26302 || exit 1
26304 @endif target-libjava
26306 .PHONY: maybe-clean-target-libjava clean-target-libjava
26307 maybe-clean-target-libjava:
26308 @if target-libjava
26309 maybe-clean-target-libjava: clean-target-libjava
26311 clean-target-libjava:
26312 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
26313 r=`${PWD_COMMAND}`; export r; \
26314 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26315 $(SET_LIB_PATH) \
26316 $(RAW_CXX_TARGET_EXPORTS) \
26317 echo "Doing clean in $(TARGET_SUBDIR)/libjava" ; \
26318 for flag in $(EXTRA_TARGET_FLAGS); do \
26319 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26320 done; \
26321 (cd $(TARGET_SUBDIR)/libjava && \
26322 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26323 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26324 "RANLIB=$${RANLIB}" \
26325 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26326 clean) \
26327 || exit 1
26329 @endif target-libjava
26331 .PHONY: maybe-distclean-target-libjava distclean-target-libjava
26332 maybe-distclean-target-libjava:
26333 @if target-libjava
26334 maybe-distclean-target-libjava: distclean-target-libjava
26336 distclean-target-libjava:
26337 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
26338 r=`${PWD_COMMAND}`; export r; \
26339 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26340 $(SET_LIB_PATH) \
26341 $(RAW_CXX_TARGET_EXPORTS) \
26342 echo "Doing distclean in $(TARGET_SUBDIR)/libjava" ; \
26343 for flag in $(EXTRA_TARGET_FLAGS); do \
26344 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26345 done; \
26346 (cd $(TARGET_SUBDIR)/libjava && \
26347 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26348 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26349 "RANLIB=$${RANLIB}" \
26350 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26351 distclean) \
26352 || exit 1
26354 @endif target-libjava
26356 .PHONY: maybe-maintainer-clean-target-libjava maintainer-clean-target-libjava
26357 maybe-maintainer-clean-target-libjava:
26358 @if target-libjava
26359 maybe-maintainer-clean-target-libjava: maintainer-clean-target-libjava
26361 maintainer-clean-target-libjava:
26362 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
26363 r=`${PWD_COMMAND}`; export r; \
26364 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26365 $(SET_LIB_PATH) \
26366 $(RAW_CXX_TARGET_EXPORTS) \
26367 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libjava" ; \
26368 for flag in $(EXTRA_TARGET_FLAGS); do \
26369 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26370 done; \
26371 (cd $(TARGET_SUBDIR)/libjava && \
26372 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26373 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26374 "RANLIB=$${RANLIB}" \
26375 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26376 maintainer-clean) \
26377 || exit 1
26379 @endif target-libjava
26382 .PHONY: configure-target-zlib maybe-configure-target-zlib
26383 maybe-configure-target-zlib:
26384 @if target-zlib
26385 maybe-configure-target-zlib: configure-target-zlib
26387 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
26388 $(TARGET_SUBDIR)/zlib/multilib.out: multilib.out
26389 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/zlib ; \
26390 rm -f $(TARGET_SUBDIR)/zlib/Makefile || : ; \
26391 cp multilib.out $(TARGET_SUBDIR)/zlib/multilib.out
26393 configure-target-zlib: $(TARGET_SUBDIR)/zlib/multilib.out
26394 @test ! -f $(TARGET_SUBDIR)/zlib/Makefile || exit 0; \
26395 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/zlib ; \
26396 r=`${PWD_COMMAND}`; export r; \
26397 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26398 $(SET_LIB_PATH) \
26399 $(NORMAL_TARGET_EXPORTS) \
26400 echo Configuring in $(TARGET_SUBDIR)/zlib; \
26401 cd "$(TARGET_SUBDIR)/zlib" || exit 1; \
26402 case $(srcdir) in \
26403 /* | [A-Za-z]:[\\/]*) \
26404 topdir=$(srcdir) ;; \
26405 *) \
26406 case "$(TARGET_SUBDIR)" in \
26407 .) topdir="../$(srcdir)" ;; \
26408 *) topdir="../../$(srcdir)" ;; \
26409 esac ;; \
26410 esac; \
26411 if [ "$(srcdir)" = "." ] ; then \
26412 if [ "$(TARGET_SUBDIR)" != "." ] ; then \
26413 if $(SHELL) $$s/symlink-tree $${topdir}/zlib "no-such-file" ; then \
26414 if [ -f Makefile ]; then \
26415 if $(MAKE) distclean; then \
26416 true; \
26417 else \
26418 exit 1; \
26419 fi; \
26420 else \
26421 true; \
26422 fi; \
26423 else \
26424 exit 1; \
26425 fi; \
26426 else \
26427 true; \
26428 fi; \
26429 srcdiroption="--srcdir=."; \
26430 libsrcdir="."; \
26431 else \
26432 srcdiroption="--srcdir=$${topdir}/zlib"; \
26433 libsrcdir="$$s/zlib"; \
26434 fi; \
26435 rm -f no-such-file || : ; \
26436 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
26437 $(TARGET_CONFIGARGS) $${srcdiroption} \
26438 --with-target-subdir="$(TARGET_SUBDIR)" \
26439 || exit 1
26440 @endif target-zlib
26442 .PHONY: all-target-zlib maybe-all-target-zlib
26443 maybe-all-target-zlib:
26444 @if target-zlib
26445 maybe-all-target-zlib: all-target-zlib
26446 all-target-zlib: configure-target-zlib
26447 @r=`${PWD_COMMAND}`; export r; \
26448 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26449 $(SET_LIB_PATH) \
26450 $(NORMAL_TARGET_EXPORTS) \
26451 (cd $(TARGET_SUBDIR)/zlib && \
26452 $(MAKE) $(TARGET_FLAGS_TO_PASS) all)
26453 @endif target-zlib
26455 .PHONY: check-target-zlib maybe-check-target-zlib
26456 maybe-check-target-zlib:
26457 @if target-zlib
26458 maybe-check-target-zlib: check-target-zlib
26460 check-target-zlib:
26461 @r=`${PWD_COMMAND}`; export r; \
26462 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26463 $(SET_LIB_PATH) \
26464 $(NORMAL_TARGET_EXPORTS) \
26465 (cd $(TARGET_SUBDIR)/zlib && \
26466 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
26468 @endif target-zlib
26470 .PHONY: install-target-zlib maybe-install-target-zlib
26471 maybe-install-target-zlib:
26472 @if target-zlib
26473 maybe-install-target-zlib: install-target-zlib
26475 install-target-zlib: installdirs
26476 @r=`${PWD_COMMAND}`; export r; \
26477 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26478 $(SET_LIB_PATH) \
26479 $(NORMAL_TARGET_EXPORTS) \
26480 (cd $(TARGET_SUBDIR)/zlib && \
26481 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
26483 @endif target-zlib
26485 # Other targets (info, dvi, etc.)
26487 .PHONY: maybe-info-target-zlib info-target-zlib
26488 maybe-info-target-zlib:
26489 @if target-zlib
26490 maybe-info-target-zlib: info-target-zlib
26492 info-target-zlib: \
26493 configure-target-zlib
26494 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
26495 r=`${PWD_COMMAND}`; export r; \
26496 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26497 $(SET_LIB_PATH) \
26498 $(NORMAL_TARGET_EXPORTS) \
26499 echo "Doing info in $(TARGET_SUBDIR)/zlib" ; \
26500 for flag in $(EXTRA_TARGET_FLAGS); do \
26501 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26502 done; \
26503 (cd $(TARGET_SUBDIR)/zlib && \
26504 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26505 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26506 "RANLIB=$${RANLIB}" \
26507 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26508 info) \
26509 || exit 1
26511 @endif target-zlib
26513 .PHONY: maybe-dvi-target-zlib dvi-target-zlib
26514 maybe-dvi-target-zlib:
26515 @if target-zlib
26516 maybe-dvi-target-zlib: dvi-target-zlib
26518 dvi-target-zlib: \
26519 configure-target-zlib
26520 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
26521 r=`${PWD_COMMAND}`; export r; \
26522 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26523 $(SET_LIB_PATH) \
26524 $(NORMAL_TARGET_EXPORTS) \
26525 echo "Doing dvi in $(TARGET_SUBDIR)/zlib" ; \
26526 for flag in $(EXTRA_TARGET_FLAGS); do \
26527 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26528 done; \
26529 (cd $(TARGET_SUBDIR)/zlib && \
26530 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26531 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26532 "RANLIB=$${RANLIB}" \
26533 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26534 dvi) \
26535 || exit 1
26537 @endif target-zlib
26539 .PHONY: maybe-TAGS-target-zlib TAGS-target-zlib
26540 maybe-TAGS-target-zlib:
26541 @if target-zlib
26542 maybe-TAGS-target-zlib: TAGS-target-zlib
26544 TAGS-target-zlib: \
26545 configure-target-zlib
26546 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
26547 r=`${PWD_COMMAND}`; export r; \
26548 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26549 $(SET_LIB_PATH) \
26550 $(NORMAL_TARGET_EXPORTS) \
26551 echo "Doing TAGS in $(TARGET_SUBDIR)/zlib" ; \
26552 for flag in $(EXTRA_TARGET_FLAGS); do \
26553 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26554 done; \
26555 (cd $(TARGET_SUBDIR)/zlib && \
26556 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26557 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26558 "RANLIB=$${RANLIB}" \
26559 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26560 TAGS) \
26561 || exit 1
26563 @endif target-zlib
26565 .PHONY: maybe-install-info-target-zlib install-info-target-zlib
26566 maybe-install-info-target-zlib:
26567 @if target-zlib
26568 maybe-install-info-target-zlib: install-info-target-zlib
26570 install-info-target-zlib: \
26571 configure-target-zlib \
26572 info-target-zlib
26573 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
26574 r=`${PWD_COMMAND}`; export r; \
26575 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26576 $(SET_LIB_PATH) \
26577 $(NORMAL_TARGET_EXPORTS) \
26578 echo "Doing install-info in $(TARGET_SUBDIR)/zlib" ; \
26579 for flag in $(EXTRA_TARGET_FLAGS); do \
26580 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26581 done; \
26582 (cd $(TARGET_SUBDIR)/zlib && \
26583 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26584 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26585 "RANLIB=$${RANLIB}" \
26586 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26587 install-info) \
26588 || exit 1
26590 @endif target-zlib
26592 .PHONY: maybe-installcheck-target-zlib installcheck-target-zlib
26593 maybe-installcheck-target-zlib:
26594 @if target-zlib
26595 maybe-installcheck-target-zlib: installcheck-target-zlib
26597 installcheck-target-zlib: \
26598 configure-target-zlib
26599 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
26600 r=`${PWD_COMMAND}`; export r; \
26601 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26602 $(SET_LIB_PATH) \
26603 $(NORMAL_TARGET_EXPORTS) \
26604 echo "Doing installcheck in $(TARGET_SUBDIR)/zlib" ; \
26605 for flag in $(EXTRA_TARGET_FLAGS); do \
26606 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26607 done; \
26608 (cd $(TARGET_SUBDIR)/zlib && \
26609 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26610 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26611 "RANLIB=$${RANLIB}" \
26612 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26613 installcheck) \
26614 || exit 1
26616 @endif target-zlib
26618 .PHONY: maybe-mostlyclean-target-zlib mostlyclean-target-zlib
26619 maybe-mostlyclean-target-zlib:
26620 @if target-zlib
26621 maybe-mostlyclean-target-zlib: mostlyclean-target-zlib
26623 mostlyclean-target-zlib:
26624 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
26625 r=`${PWD_COMMAND}`; export r; \
26626 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26627 $(SET_LIB_PATH) \
26628 $(NORMAL_TARGET_EXPORTS) \
26629 echo "Doing mostlyclean in $(TARGET_SUBDIR)/zlib" ; \
26630 for flag in $(EXTRA_TARGET_FLAGS); do \
26631 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26632 done; \
26633 (cd $(TARGET_SUBDIR)/zlib && \
26634 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26635 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26636 "RANLIB=$${RANLIB}" \
26637 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26638 mostlyclean) \
26639 || exit 1
26641 @endif target-zlib
26643 .PHONY: maybe-clean-target-zlib clean-target-zlib
26644 maybe-clean-target-zlib:
26645 @if target-zlib
26646 maybe-clean-target-zlib: clean-target-zlib
26648 clean-target-zlib:
26649 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
26650 r=`${PWD_COMMAND}`; export r; \
26651 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26652 $(SET_LIB_PATH) \
26653 $(NORMAL_TARGET_EXPORTS) \
26654 echo "Doing clean in $(TARGET_SUBDIR)/zlib" ; \
26655 for flag in $(EXTRA_TARGET_FLAGS); do \
26656 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26657 done; \
26658 (cd $(TARGET_SUBDIR)/zlib && \
26659 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26660 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26661 "RANLIB=$${RANLIB}" \
26662 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26663 clean) \
26664 || exit 1
26666 @endif target-zlib
26668 .PHONY: maybe-distclean-target-zlib distclean-target-zlib
26669 maybe-distclean-target-zlib:
26670 @if target-zlib
26671 maybe-distclean-target-zlib: distclean-target-zlib
26673 distclean-target-zlib:
26674 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
26675 r=`${PWD_COMMAND}`; export r; \
26676 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26677 $(SET_LIB_PATH) \
26678 $(NORMAL_TARGET_EXPORTS) \
26679 echo "Doing distclean in $(TARGET_SUBDIR)/zlib" ; \
26680 for flag in $(EXTRA_TARGET_FLAGS); do \
26681 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26682 done; \
26683 (cd $(TARGET_SUBDIR)/zlib && \
26684 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26685 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26686 "RANLIB=$${RANLIB}" \
26687 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26688 distclean) \
26689 || exit 1
26691 @endif target-zlib
26693 .PHONY: maybe-maintainer-clean-target-zlib maintainer-clean-target-zlib
26694 maybe-maintainer-clean-target-zlib:
26695 @if target-zlib
26696 maybe-maintainer-clean-target-zlib: maintainer-clean-target-zlib
26698 maintainer-clean-target-zlib:
26699 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
26700 r=`${PWD_COMMAND}`; export r; \
26701 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26702 $(SET_LIB_PATH) \
26703 $(NORMAL_TARGET_EXPORTS) \
26704 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/zlib" ; \
26705 for flag in $(EXTRA_TARGET_FLAGS); do \
26706 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26707 done; \
26708 (cd $(TARGET_SUBDIR)/zlib && \
26709 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26710 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26711 "RANLIB=$${RANLIB}" \
26712 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26713 maintainer-clean) \
26714 || exit 1
26716 @endif target-zlib
26719 .PHONY: configure-target-boehm-gc maybe-configure-target-boehm-gc
26720 maybe-configure-target-boehm-gc:
26721 @if target-boehm-gc
26722 maybe-configure-target-boehm-gc: configure-target-boehm-gc
26724 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
26725 $(TARGET_SUBDIR)/boehm-gc/multilib.out: multilib.out
26726 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/boehm-gc ; \
26727 rm -f $(TARGET_SUBDIR)/boehm-gc/Makefile || : ; \
26728 cp multilib.out $(TARGET_SUBDIR)/boehm-gc/multilib.out
26730 configure-target-boehm-gc: $(TARGET_SUBDIR)/boehm-gc/multilib.out
26731 @test ! -f $(TARGET_SUBDIR)/boehm-gc/Makefile || exit 0; \
26732 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/boehm-gc ; \
26733 r=`${PWD_COMMAND}`; export r; \
26734 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26735 $(SET_LIB_PATH) \
26736 $(NORMAL_TARGET_EXPORTS) \
26737 echo Configuring in $(TARGET_SUBDIR)/boehm-gc; \
26738 cd "$(TARGET_SUBDIR)/boehm-gc" || exit 1; \
26739 case $(srcdir) in \
26740 /* | [A-Za-z]:[\\/]*) \
26741 topdir=$(srcdir) ;; \
26742 *) \
26743 case "$(TARGET_SUBDIR)" in \
26744 .) topdir="../$(srcdir)" ;; \
26745 *) topdir="../../$(srcdir)" ;; \
26746 esac ;; \
26747 esac; \
26748 srcdiroption="--srcdir=$${topdir}/boehm-gc"; \
26749 libsrcdir="$$s/boehm-gc"; \
26750 rm -f no-such-file || : ; \
26751 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
26752 $(TARGET_CONFIGARGS) $${srcdiroption} \
26753 --with-target-subdir="$(TARGET_SUBDIR)" \
26754 || exit 1
26755 @endif target-boehm-gc
26757 .PHONY: all-target-boehm-gc maybe-all-target-boehm-gc
26758 maybe-all-target-boehm-gc:
26759 @if target-boehm-gc
26760 maybe-all-target-boehm-gc: all-target-boehm-gc
26761 all-target-boehm-gc: configure-target-boehm-gc
26762 @r=`${PWD_COMMAND}`; export r; \
26763 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26764 $(SET_LIB_PATH) \
26765 $(NORMAL_TARGET_EXPORTS) \
26766 (cd $(TARGET_SUBDIR)/boehm-gc && \
26767 $(MAKE) $(TARGET_FLAGS_TO_PASS) all)
26768 @endif target-boehm-gc
26770 .PHONY: check-target-boehm-gc maybe-check-target-boehm-gc
26771 maybe-check-target-boehm-gc:
26772 @if target-boehm-gc
26773 maybe-check-target-boehm-gc: check-target-boehm-gc
26775 check-target-boehm-gc:
26776 @r=`${PWD_COMMAND}`; export r; \
26777 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26778 $(SET_LIB_PATH) \
26779 $(NORMAL_TARGET_EXPORTS) \
26780 (cd $(TARGET_SUBDIR)/boehm-gc && \
26781 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
26783 @endif target-boehm-gc
26785 .PHONY: install-target-boehm-gc maybe-install-target-boehm-gc
26786 maybe-install-target-boehm-gc:
26787 @if target-boehm-gc
26788 maybe-install-target-boehm-gc: install-target-boehm-gc
26790 install-target-boehm-gc: installdirs
26791 @r=`${PWD_COMMAND}`; export r; \
26792 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26793 $(SET_LIB_PATH) \
26794 $(NORMAL_TARGET_EXPORTS) \
26795 (cd $(TARGET_SUBDIR)/boehm-gc && \
26796 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
26798 @endif target-boehm-gc
26800 # Other targets (info, dvi, etc.)
26802 .PHONY: maybe-info-target-boehm-gc info-target-boehm-gc
26803 maybe-info-target-boehm-gc:
26804 @if target-boehm-gc
26805 maybe-info-target-boehm-gc: info-target-boehm-gc
26807 info-target-boehm-gc: \
26808 configure-target-boehm-gc
26809 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
26810 r=`${PWD_COMMAND}`; export r; \
26811 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26812 $(SET_LIB_PATH) \
26813 $(NORMAL_TARGET_EXPORTS) \
26814 echo "Doing info in $(TARGET_SUBDIR)/boehm-gc" ; \
26815 for flag in $(EXTRA_TARGET_FLAGS); do \
26816 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26817 done; \
26818 (cd $(TARGET_SUBDIR)/boehm-gc && \
26819 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26820 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26821 "RANLIB=$${RANLIB}" \
26822 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26823 info) \
26824 || exit 1
26826 @endif target-boehm-gc
26828 .PHONY: maybe-dvi-target-boehm-gc dvi-target-boehm-gc
26829 maybe-dvi-target-boehm-gc:
26830 @if target-boehm-gc
26831 maybe-dvi-target-boehm-gc: dvi-target-boehm-gc
26833 dvi-target-boehm-gc: \
26834 configure-target-boehm-gc
26835 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
26836 r=`${PWD_COMMAND}`; export r; \
26837 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26838 $(SET_LIB_PATH) \
26839 $(NORMAL_TARGET_EXPORTS) \
26840 echo "Doing dvi in $(TARGET_SUBDIR)/boehm-gc" ; \
26841 for flag in $(EXTRA_TARGET_FLAGS); do \
26842 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26843 done; \
26844 (cd $(TARGET_SUBDIR)/boehm-gc && \
26845 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26846 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26847 "RANLIB=$${RANLIB}" \
26848 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26849 dvi) \
26850 || exit 1
26852 @endif target-boehm-gc
26854 .PHONY: maybe-TAGS-target-boehm-gc TAGS-target-boehm-gc
26855 maybe-TAGS-target-boehm-gc:
26856 @if target-boehm-gc
26857 maybe-TAGS-target-boehm-gc: TAGS-target-boehm-gc
26859 TAGS-target-boehm-gc: \
26860 configure-target-boehm-gc
26861 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
26862 r=`${PWD_COMMAND}`; export r; \
26863 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26864 $(SET_LIB_PATH) \
26865 $(NORMAL_TARGET_EXPORTS) \
26866 echo "Doing TAGS in $(TARGET_SUBDIR)/boehm-gc" ; \
26867 for flag in $(EXTRA_TARGET_FLAGS); do \
26868 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26869 done; \
26870 (cd $(TARGET_SUBDIR)/boehm-gc && \
26871 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26872 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26873 "RANLIB=$${RANLIB}" \
26874 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26875 TAGS) \
26876 || exit 1
26878 @endif target-boehm-gc
26880 .PHONY: maybe-install-info-target-boehm-gc install-info-target-boehm-gc
26881 maybe-install-info-target-boehm-gc:
26882 @if target-boehm-gc
26883 maybe-install-info-target-boehm-gc: install-info-target-boehm-gc
26885 install-info-target-boehm-gc: \
26886 configure-target-boehm-gc \
26887 info-target-boehm-gc
26888 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
26889 r=`${PWD_COMMAND}`; export r; \
26890 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26891 $(SET_LIB_PATH) \
26892 $(NORMAL_TARGET_EXPORTS) \
26893 echo "Doing install-info in $(TARGET_SUBDIR)/boehm-gc" ; \
26894 for flag in $(EXTRA_TARGET_FLAGS); do \
26895 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26896 done; \
26897 (cd $(TARGET_SUBDIR)/boehm-gc && \
26898 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26899 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26900 "RANLIB=$${RANLIB}" \
26901 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26902 install-info) \
26903 || exit 1
26905 @endif target-boehm-gc
26907 .PHONY: maybe-installcheck-target-boehm-gc installcheck-target-boehm-gc
26908 maybe-installcheck-target-boehm-gc:
26909 @if target-boehm-gc
26910 maybe-installcheck-target-boehm-gc: installcheck-target-boehm-gc
26912 installcheck-target-boehm-gc: \
26913 configure-target-boehm-gc
26914 @[ -f $(TARGET_SUBDIR)/boehm-gc/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 installcheck in $(TARGET_SUBDIR)/boehm-gc" ; \
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)/boehm-gc && \
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 installcheck) \
26929 || exit 1
26931 @endif target-boehm-gc
26933 .PHONY: maybe-mostlyclean-target-boehm-gc mostlyclean-target-boehm-gc
26934 maybe-mostlyclean-target-boehm-gc:
26935 @if target-boehm-gc
26936 maybe-mostlyclean-target-boehm-gc: mostlyclean-target-boehm-gc
26938 mostlyclean-target-boehm-gc:
26939 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
26940 r=`${PWD_COMMAND}`; export r; \
26941 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26942 $(SET_LIB_PATH) \
26943 $(NORMAL_TARGET_EXPORTS) \
26944 echo "Doing mostlyclean in $(TARGET_SUBDIR)/boehm-gc" ; \
26945 for flag in $(EXTRA_TARGET_FLAGS); do \
26946 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26947 done; \
26948 (cd $(TARGET_SUBDIR)/boehm-gc && \
26949 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26950 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26951 "RANLIB=$${RANLIB}" \
26952 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26953 mostlyclean) \
26954 || exit 1
26956 @endif target-boehm-gc
26958 .PHONY: maybe-clean-target-boehm-gc clean-target-boehm-gc
26959 maybe-clean-target-boehm-gc:
26960 @if target-boehm-gc
26961 maybe-clean-target-boehm-gc: clean-target-boehm-gc
26963 clean-target-boehm-gc:
26964 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
26965 r=`${PWD_COMMAND}`; export r; \
26966 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26967 $(SET_LIB_PATH) \
26968 $(NORMAL_TARGET_EXPORTS) \
26969 echo "Doing clean in $(TARGET_SUBDIR)/boehm-gc" ; \
26970 for flag in $(EXTRA_TARGET_FLAGS); do \
26971 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26972 done; \
26973 (cd $(TARGET_SUBDIR)/boehm-gc && \
26974 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26975 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26976 "RANLIB=$${RANLIB}" \
26977 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26978 clean) \
26979 || exit 1
26981 @endif target-boehm-gc
26983 .PHONY: maybe-distclean-target-boehm-gc distclean-target-boehm-gc
26984 maybe-distclean-target-boehm-gc:
26985 @if target-boehm-gc
26986 maybe-distclean-target-boehm-gc: distclean-target-boehm-gc
26988 distclean-target-boehm-gc:
26989 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
26990 r=`${PWD_COMMAND}`; export r; \
26991 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26992 $(SET_LIB_PATH) \
26993 $(NORMAL_TARGET_EXPORTS) \
26994 echo "Doing distclean in $(TARGET_SUBDIR)/boehm-gc" ; \
26995 for flag in $(EXTRA_TARGET_FLAGS); do \
26996 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26997 done; \
26998 (cd $(TARGET_SUBDIR)/boehm-gc && \
26999 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27000 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27001 "RANLIB=$${RANLIB}" \
27002 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27003 distclean) \
27004 || exit 1
27006 @endif target-boehm-gc
27008 .PHONY: maybe-maintainer-clean-target-boehm-gc maintainer-clean-target-boehm-gc
27009 maybe-maintainer-clean-target-boehm-gc:
27010 @if target-boehm-gc
27011 maybe-maintainer-clean-target-boehm-gc: maintainer-clean-target-boehm-gc
27013 maintainer-clean-target-boehm-gc:
27014 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
27015 r=`${PWD_COMMAND}`; export r; \
27016 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27017 $(SET_LIB_PATH) \
27018 $(NORMAL_TARGET_EXPORTS) \
27019 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/boehm-gc" ; \
27020 for flag in $(EXTRA_TARGET_FLAGS); do \
27021 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27022 done; \
27023 (cd $(TARGET_SUBDIR)/boehm-gc && \
27024 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27025 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27026 "RANLIB=$${RANLIB}" \
27027 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27028 maintainer-clean) \
27029 || exit 1
27031 @endif target-boehm-gc
27034 .PHONY: configure-target-qthreads maybe-configure-target-qthreads
27035 maybe-configure-target-qthreads:
27036 @if target-qthreads
27037 maybe-configure-target-qthreads: configure-target-qthreads
27039 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
27040 $(TARGET_SUBDIR)/qthreads/multilib.out: multilib.out
27041 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/qthreads ; \
27042 rm -f $(TARGET_SUBDIR)/qthreads/Makefile || : ; \
27043 cp multilib.out $(TARGET_SUBDIR)/qthreads/multilib.out
27045 configure-target-qthreads: $(TARGET_SUBDIR)/qthreads/multilib.out
27046 @test ! -f $(TARGET_SUBDIR)/qthreads/Makefile || exit 0; \
27047 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/qthreads ; \
27048 r=`${PWD_COMMAND}`; export r; \
27049 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27050 $(SET_LIB_PATH) \
27051 $(NORMAL_TARGET_EXPORTS) \
27052 echo Configuring in $(TARGET_SUBDIR)/qthreads; \
27053 cd "$(TARGET_SUBDIR)/qthreads" || exit 1; \
27054 case $(srcdir) in \
27055 /* | [A-Za-z]:[\\/]*) \
27056 topdir=$(srcdir) ;; \
27057 *) \
27058 case "$(TARGET_SUBDIR)" in \
27059 .) topdir="../$(srcdir)" ;; \
27060 *) topdir="../../$(srcdir)" ;; \
27061 esac ;; \
27062 esac; \
27063 srcdiroption="--srcdir=$${topdir}/qthreads"; \
27064 libsrcdir="$$s/qthreads"; \
27065 rm -f no-such-file || : ; \
27066 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
27067 $(TARGET_CONFIGARGS) $${srcdiroption} \
27068 --with-target-subdir="$(TARGET_SUBDIR)" \
27069 || exit 1
27070 @endif target-qthreads
27072 .PHONY: all-target-qthreads maybe-all-target-qthreads
27073 maybe-all-target-qthreads:
27074 @if target-qthreads
27075 maybe-all-target-qthreads: all-target-qthreads
27076 all-target-qthreads: configure-target-qthreads
27077 @r=`${PWD_COMMAND}`; export r; \
27078 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27079 $(SET_LIB_PATH) \
27080 $(NORMAL_TARGET_EXPORTS) \
27081 (cd $(TARGET_SUBDIR)/qthreads && \
27082 $(MAKE) $(TARGET_FLAGS_TO_PASS) all)
27083 @endif target-qthreads
27085 .PHONY: check-target-qthreads maybe-check-target-qthreads
27086 maybe-check-target-qthreads:
27087 @if target-qthreads
27088 maybe-check-target-qthreads: check-target-qthreads
27090 check-target-qthreads:
27091 @r=`${PWD_COMMAND}`; export r; \
27092 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27093 $(SET_LIB_PATH) \
27094 $(NORMAL_TARGET_EXPORTS) \
27095 (cd $(TARGET_SUBDIR)/qthreads && \
27096 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
27098 @endif target-qthreads
27100 .PHONY: install-target-qthreads maybe-install-target-qthreads
27101 maybe-install-target-qthreads:
27102 @if target-qthreads
27103 maybe-install-target-qthreads: install-target-qthreads
27105 install-target-qthreads: installdirs
27106 @r=`${PWD_COMMAND}`; export r; \
27107 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27108 $(SET_LIB_PATH) \
27109 $(NORMAL_TARGET_EXPORTS) \
27110 (cd $(TARGET_SUBDIR)/qthreads && \
27111 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
27113 @endif target-qthreads
27115 # Other targets (info, dvi, etc.)
27117 .PHONY: maybe-info-target-qthreads info-target-qthreads
27118 maybe-info-target-qthreads:
27119 @if target-qthreads
27120 maybe-info-target-qthreads: info-target-qthreads
27122 info-target-qthreads: \
27123 configure-target-qthreads
27124 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
27125 r=`${PWD_COMMAND}`; export r; \
27126 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27127 $(SET_LIB_PATH) \
27128 $(NORMAL_TARGET_EXPORTS) \
27129 echo "Doing info in $(TARGET_SUBDIR)/qthreads" ; \
27130 for flag in $(EXTRA_TARGET_FLAGS); do \
27131 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27132 done; \
27133 (cd $(TARGET_SUBDIR)/qthreads && \
27134 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27135 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27136 "RANLIB=$${RANLIB}" \
27137 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27138 info) \
27139 || exit 1
27141 @endif target-qthreads
27143 .PHONY: maybe-dvi-target-qthreads dvi-target-qthreads
27144 maybe-dvi-target-qthreads:
27145 @if target-qthreads
27146 maybe-dvi-target-qthreads: dvi-target-qthreads
27148 dvi-target-qthreads: \
27149 configure-target-qthreads
27150 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
27151 r=`${PWD_COMMAND}`; export r; \
27152 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27153 $(SET_LIB_PATH) \
27154 $(NORMAL_TARGET_EXPORTS) \
27155 echo "Doing dvi in $(TARGET_SUBDIR)/qthreads" ; \
27156 for flag in $(EXTRA_TARGET_FLAGS); do \
27157 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27158 done; \
27159 (cd $(TARGET_SUBDIR)/qthreads && \
27160 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27161 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27162 "RANLIB=$${RANLIB}" \
27163 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27164 dvi) \
27165 || exit 1
27167 @endif target-qthreads
27169 .PHONY: maybe-TAGS-target-qthreads TAGS-target-qthreads
27170 maybe-TAGS-target-qthreads:
27171 @if target-qthreads
27172 maybe-TAGS-target-qthreads: TAGS-target-qthreads
27174 TAGS-target-qthreads: \
27175 configure-target-qthreads
27176 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
27177 r=`${PWD_COMMAND}`; export r; \
27178 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27179 $(SET_LIB_PATH) \
27180 $(NORMAL_TARGET_EXPORTS) \
27181 echo "Doing TAGS in $(TARGET_SUBDIR)/qthreads" ; \
27182 for flag in $(EXTRA_TARGET_FLAGS); do \
27183 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27184 done; \
27185 (cd $(TARGET_SUBDIR)/qthreads && \
27186 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27187 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27188 "RANLIB=$${RANLIB}" \
27189 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27190 TAGS) \
27191 || exit 1
27193 @endif target-qthreads
27195 .PHONY: maybe-install-info-target-qthreads install-info-target-qthreads
27196 maybe-install-info-target-qthreads:
27197 @if target-qthreads
27198 maybe-install-info-target-qthreads: install-info-target-qthreads
27200 install-info-target-qthreads: \
27201 configure-target-qthreads \
27202 info-target-qthreads
27203 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
27204 r=`${PWD_COMMAND}`; export r; \
27205 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27206 $(SET_LIB_PATH) \
27207 $(NORMAL_TARGET_EXPORTS) \
27208 echo "Doing install-info in $(TARGET_SUBDIR)/qthreads" ; \
27209 for flag in $(EXTRA_TARGET_FLAGS); do \
27210 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27211 done; \
27212 (cd $(TARGET_SUBDIR)/qthreads && \
27213 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27214 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27215 "RANLIB=$${RANLIB}" \
27216 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27217 install-info) \
27218 || exit 1
27220 @endif target-qthreads
27222 .PHONY: maybe-installcheck-target-qthreads installcheck-target-qthreads
27223 maybe-installcheck-target-qthreads:
27224 @if target-qthreads
27225 maybe-installcheck-target-qthreads: installcheck-target-qthreads
27227 installcheck-target-qthreads: \
27228 configure-target-qthreads
27229 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
27230 r=`${PWD_COMMAND}`; export r; \
27231 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27232 $(SET_LIB_PATH) \
27233 $(NORMAL_TARGET_EXPORTS) \
27234 echo "Doing installcheck in $(TARGET_SUBDIR)/qthreads" ; \
27235 for flag in $(EXTRA_TARGET_FLAGS); do \
27236 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27237 done; \
27238 (cd $(TARGET_SUBDIR)/qthreads && \
27239 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27240 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27241 "RANLIB=$${RANLIB}" \
27242 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27243 installcheck) \
27244 || exit 1
27246 @endif target-qthreads
27248 .PHONY: maybe-mostlyclean-target-qthreads mostlyclean-target-qthreads
27249 maybe-mostlyclean-target-qthreads:
27250 @if target-qthreads
27251 maybe-mostlyclean-target-qthreads: mostlyclean-target-qthreads
27253 mostlyclean-target-qthreads:
27254 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
27255 r=`${PWD_COMMAND}`; export r; \
27256 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27257 $(SET_LIB_PATH) \
27258 $(NORMAL_TARGET_EXPORTS) \
27259 echo "Doing mostlyclean in $(TARGET_SUBDIR)/qthreads" ; \
27260 for flag in $(EXTRA_TARGET_FLAGS); do \
27261 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27262 done; \
27263 (cd $(TARGET_SUBDIR)/qthreads && \
27264 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27265 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27266 "RANLIB=$${RANLIB}" \
27267 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27268 mostlyclean) \
27269 || exit 1
27271 @endif target-qthreads
27273 .PHONY: maybe-clean-target-qthreads clean-target-qthreads
27274 maybe-clean-target-qthreads:
27275 @if target-qthreads
27276 maybe-clean-target-qthreads: clean-target-qthreads
27278 clean-target-qthreads:
27279 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
27280 r=`${PWD_COMMAND}`; export r; \
27281 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27282 $(SET_LIB_PATH) \
27283 $(NORMAL_TARGET_EXPORTS) \
27284 echo "Doing clean in $(TARGET_SUBDIR)/qthreads" ; \
27285 for flag in $(EXTRA_TARGET_FLAGS); do \
27286 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27287 done; \
27288 (cd $(TARGET_SUBDIR)/qthreads && \
27289 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27290 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27291 "RANLIB=$${RANLIB}" \
27292 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27293 clean) \
27294 || exit 1
27296 @endif target-qthreads
27298 .PHONY: maybe-distclean-target-qthreads distclean-target-qthreads
27299 maybe-distclean-target-qthreads:
27300 @if target-qthreads
27301 maybe-distclean-target-qthreads: distclean-target-qthreads
27303 distclean-target-qthreads:
27304 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
27305 r=`${PWD_COMMAND}`; export r; \
27306 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27307 $(SET_LIB_PATH) \
27308 $(NORMAL_TARGET_EXPORTS) \
27309 echo "Doing distclean in $(TARGET_SUBDIR)/qthreads" ; \
27310 for flag in $(EXTRA_TARGET_FLAGS); do \
27311 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27312 done; \
27313 (cd $(TARGET_SUBDIR)/qthreads && \
27314 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27315 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27316 "RANLIB=$${RANLIB}" \
27317 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27318 distclean) \
27319 || exit 1
27321 @endif target-qthreads
27323 .PHONY: maybe-maintainer-clean-target-qthreads maintainer-clean-target-qthreads
27324 maybe-maintainer-clean-target-qthreads:
27325 @if target-qthreads
27326 maybe-maintainer-clean-target-qthreads: maintainer-clean-target-qthreads
27328 maintainer-clean-target-qthreads:
27329 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
27330 r=`${PWD_COMMAND}`; export r; \
27331 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27332 $(SET_LIB_PATH) \
27333 $(NORMAL_TARGET_EXPORTS) \
27334 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/qthreads" ; \
27335 for flag in $(EXTRA_TARGET_FLAGS); do \
27336 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27337 done; \
27338 (cd $(TARGET_SUBDIR)/qthreads && \
27339 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27340 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27341 "RANLIB=$${RANLIB}" \
27342 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27343 maintainer-clean) \
27344 || exit 1
27346 @endif target-qthreads
27349 .PHONY: configure-target-rda maybe-configure-target-rda
27350 maybe-configure-target-rda:
27351 @if target-rda
27352 maybe-configure-target-rda: configure-target-rda
27354 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
27355 $(TARGET_SUBDIR)/rda/multilib.out: multilib.out
27356 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/rda ; \
27357 rm -f $(TARGET_SUBDIR)/rda/Makefile || : ; \
27358 cp multilib.out $(TARGET_SUBDIR)/rda/multilib.out
27360 configure-target-rda: $(TARGET_SUBDIR)/rda/multilib.out
27361 @test ! -f $(TARGET_SUBDIR)/rda/Makefile || exit 0; \
27362 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/rda ; \
27363 r=`${PWD_COMMAND}`; export r; \
27364 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27365 $(SET_LIB_PATH) \
27366 $(NORMAL_TARGET_EXPORTS) \
27367 echo Configuring in $(TARGET_SUBDIR)/rda; \
27368 cd "$(TARGET_SUBDIR)/rda" || exit 1; \
27369 case $(srcdir) in \
27370 /* | [A-Za-z]:[\\/]*) \
27371 topdir=$(srcdir) ;; \
27372 *) \
27373 case "$(TARGET_SUBDIR)" in \
27374 .) topdir="../$(srcdir)" ;; \
27375 *) topdir="../../$(srcdir)" ;; \
27376 esac ;; \
27377 esac; \
27378 srcdiroption="--srcdir=$${topdir}/rda"; \
27379 libsrcdir="$$s/rda"; \
27380 rm -f no-such-file || : ; \
27381 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
27382 $(TARGET_CONFIGARGS) $${srcdiroption} \
27383 --with-target-subdir="$(TARGET_SUBDIR)" \
27384 || exit 1
27385 @endif target-rda
27387 .PHONY: all-target-rda maybe-all-target-rda
27388 maybe-all-target-rda:
27389 @if target-rda
27390 maybe-all-target-rda: all-target-rda
27391 all-target-rda: configure-target-rda
27392 @r=`${PWD_COMMAND}`; export r; \
27393 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27394 $(SET_LIB_PATH) \
27395 $(NORMAL_TARGET_EXPORTS) \
27396 (cd $(TARGET_SUBDIR)/rda && \
27397 $(MAKE) $(TARGET_FLAGS_TO_PASS) all)
27398 @endif target-rda
27400 .PHONY: check-target-rda maybe-check-target-rda
27401 maybe-check-target-rda:
27402 @if target-rda
27403 maybe-check-target-rda: check-target-rda
27405 check-target-rda:
27406 @r=`${PWD_COMMAND}`; export r; \
27407 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27408 $(SET_LIB_PATH) \
27409 $(NORMAL_TARGET_EXPORTS) \
27410 (cd $(TARGET_SUBDIR)/rda && \
27411 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
27413 @endif target-rda
27415 .PHONY: install-target-rda maybe-install-target-rda
27416 maybe-install-target-rda:
27417 @if target-rda
27418 maybe-install-target-rda: install-target-rda
27420 install-target-rda: installdirs
27421 @r=`${PWD_COMMAND}`; export r; \
27422 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27423 $(SET_LIB_PATH) \
27424 $(NORMAL_TARGET_EXPORTS) \
27425 (cd $(TARGET_SUBDIR)/rda && \
27426 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
27428 @endif target-rda
27430 # Other targets (info, dvi, etc.)
27432 .PHONY: maybe-info-target-rda info-target-rda
27433 maybe-info-target-rda:
27434 @if target-rda
27435 maybe-info-target-rda: info-target-rda
27437 info-target-rda: \
27438 configure-target-rda
27439 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
27440 r=`${PWD_COMMAND}`; export r; \
27441 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27442 $(SET_LIB_PATH) \
27443 $(NORMAL_TARGET_EXPORTS) \
27444 echo "Doing info in $(TARGET_SUBDIR)/rda" ; \
27445 for flag in $(EXTRA_TARGET_FLAGS); do \
27446 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27447 done; \
27448 (cd $(TARGET_SUBDIR)/rda && \
27449 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27450 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27451 "RANLIB=$${RANLIB}" \
27452 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27453 info) \
27454 || exit 1
27456 @endif target-rda
27458 .PHONY: maybe-dvi-target-rda dvi-target-rda
27459 maybe-dvi-target-rda:
27460 @if target-rda
27461 maybe-dvi-target-rda: dvi-target-rda
27463 dvi-target-rda: \
27464 configure-target-rda
27465 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
27466 r=`${PWD_COMMAND}`; export r; \
27467 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27468 $(SET_LIB_PATH) \
27469 $(NORMAL_TARGET_EXPORTS) \
27470 echo "Doing dvi in $(TARGET_SUBDIR)/rda" ; \
27471 for flag in $(EXTRA_TARGET_FLAGS); do \
27472 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27473 done; \
27474 (cd $(TARGET_SUBDIR)/rda && \
27475 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27476 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27477 "RANLIB=$${RANLIB}" \
27478 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27479 dvi) \
27480 || exit 1
27482 @endif target-rda
27484 .PHONY: maybe-TAGS-target-rda TAGS-target-rda
27485 maybe-TAGS-target-rda:
27486 @if target-rda
27487 maybe-TAGS-target-rda: TAGS-target-rda
27489 TAGS-target-rda: \
27490 configure-target-rda
27491 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
27492 r=`${PWD_COMMAND}`; export r; \
27493 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27494 $(SET_LIB_PATH) \
27495 $(NORMAL_TARGET_EXPORTS) \
27496 echo "Doing TAGS in $(TARGET_SUBDIR)/rda" ; \
27497 for flag in $(EXTRA_TARGET_FLAGS); do \
27498 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27499 done; \
27500 (cd $(TARGET_SUBDIR)/rda && \
27501 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27502 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27503 "RANLIB=$${RANLIB}" \
27504 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27505 TAGS) \
27506 || exit 1
27508 @endif target-rda
27510 .PHONY: maybe-install-info-target-rda install-info-target-rda
27511 maybe-install-info-target-rda:
27512 @if target-rda
27513 maybe-install-info-target-rda: install-info-target-rda
27515 install-info-target-rda: \
27516 configure-target-rda \
27517 info-target-rda
27518 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
27519 r=`${PWD_COMMAND}`; export r; \
27520 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27521 $(SET_LIB_PATH) \
27522 $(NORMAL_TARGET_EXPORTS) \
27523 echo "Doing install-info in $(TARGET_SUBDIR)/rda" ; \
27524 for flag in $(EXTRA_TARGET_FLAGS); do \
27525 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27526 done; \
27527 (cd $(TARGET_SUBDIR)/rda && \
27528 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27529 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27530 "RANLIB=$${RANLIB}" \
27531 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27532 install-info) \
27533 || exit 1
27535 @endif target-rda
27537 .PHONY: maybe-installcheck-target-rda installcheck-target-rda
27538 maybe-installcheck-target-rda:
27539 @if target-rda
27540 maybe-installcheck-target-rda: installcheck-target-rda
27542 installcheck-target-rda: \
27543 configure-target-rda
27544 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
27545 r=`${PWD_COMMAND}`; export r; \
27546 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27547 $(SET_LIB_PATH) \
27548 $(NORMAL_TARGET_EXPORTS) \
27549 echo "Doing installcheck in $(TARGET_SUBDIR)/rda" ; \
27550 for flag in $(EXTRA_TARGET_FLAGS); do \
27551 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27552 done; \
27553 (cd $(TARGET_SUBDIR)/rda && \
27554 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27555 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27556 "RANLIB=$${RANLIB}" \
27557 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27558 installcheck) \
27559 || exit 1
27561 @endif target-rda
27563 .PHONY: maybe-mostlyclean-target-rda mostlyclean-target-rda
27564 maybe-mostlyclean-target-rda:
27565 @if target-rda
27566 maybe-mostlyclean-target-rda: mostlyclean-target-rda
27568 mostlyclean-target-rda:
27569 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
27570 r=`${PWD_COMMAND}`; export r; \
27571 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27572 $(SET_LIB_PATH) \
27573 $(NORMAL_TARGET_EXPORTS) \
27574 echo "Doing mostlyclean in $(TARGET_SUBDIR)/rda" ; \
27575 for flag in $(EXTRA_TARGET_FLAGS); do \
27576 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27577 done; \
27578 (cd $(TARGET_SUBDIR)/rda && \
27579 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27580 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27581 "RANLIB=$${RANLIB}" \
27582 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27583 mostlyclean) \
27584 || exit 1
27586 @endif target-rda
27588 .PHONY: maybe-clean-target-rda clean-target-rda
27589 maybe-clean-target-rda:
27590 @if target-rda
27591 maybe-clean-target-rda: clean-target-rda
27593 clean-target-rda:
27594 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
27595 r=`${PWD_COMMAND}`; export r; \
27596 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27597 $(SET_LIB_PATH) \
27598 $(NORMAL_TARGET_EXPORTS) \
27599 echo "Doing clean in $(TARGET_SUBDIR)/rda" ; \
27600 for flag in $(EXTRA_TARGET_FLAGS); do \
27601 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27602 done; \
27603 (cd $(TARGET_SUBDIR)/rda && \
27604 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27605 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27606 "RANLIB=$${RANLIB}" \
27607 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27608 clean) \
27609 || exit 1
27611 @endif target-rda
27613 .PHONY: maybe-distclean-target-rda distclean-target-rda
27614 maybe-distclean-target-rda:
27615 @if target-rda
27616 maybe-distclean-target-rda: distclean-target-rda
27618 distclean-target-rda:
27619 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
27620 r=`${PWD_COMMAND}`; export r; \
27621 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27622 $(SET_LIB_PATH) \
27623 $(NORMAL_TARGET_EXPORTS) \
27624 echo "Doing distclean in $(TARGET_SUBDIR)/rda" ; \
27625 for flag in $(EXTRA_TARGET_FLAGS); do \
27626 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27627 done; \
27628 (cd $(TARGET_SUBDIR)/rda && \
27629 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27630 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27631 "RANLIB=$${RANLIB}" \
27632 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27633 distclean) \
27634 || exit 1
27636 @endif target-rda
27638 .PHONY: maybe-maintainer-clean-target-rda maintainer-clean-target-rda
27639 maybe-maintainer-clean-target-rda:
27640 @if target-rda
27641 maybe-maintainer-clean-target-rda: maintainer-clean-target-rda
27643 maintainer-clean-target-rda:
27644 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
27645 r=`${PWD_COMMAND}`; export r; \
27646 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27647 $(SET_LIB_PATH) \
27648 $(NORMAL_TARGET_EXPORTS) \
27649 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/rda" ; \
27650 for flag in $(EXTRA_TARGET_FLAGS); do \
27651 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27652 done; \
27653 (cd $(TARGET_SUBDIR)/rda && \
27654 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27655 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27656 "RANLIB=$${RANLIB}" \
27657 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27658 maintainer-clean) \
27659 || exit 1
27661 @endif target-rda
27664 .PHONY: configure-target-libada maybe-configure-target-libada
27665 maybe-configure-target-libada:
27666 @if target-libada
27667 maybe-configure-target-libada: configure-target-libada
27669 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
27670 $(TARGET_SUBDIR)/libada/multilib.out: multilib.out
27671 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libada ; \
27672 rm -f $(TARGET_SUBDIR)/libada/Makefile || : ; \
27673 cp multilib.out $(TARGET_SUBDIR)/libada/multilib.out
27675 configure-target-libada: $(TARGET_SUBDIR)/libada/multilib.out
27676 @test ! -f $(TARGET_SUBDIR)/libada/Makefile || exit 0; \
27677 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libada ; \
27678 r=`${PWD_COMMAND}`; export r; \
27679 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27680 $(SET_LIB_PATH) \
27681 $(NORMAL_TARGET_EXPORTS) \
27682 echo Configuring in $(TARGET_SUBDIR)/libada; \
27683 cd "$(TARGET_SUBDIR)/libada" || exit 1; \
27684 case $(srcdir) in \
27685 /* | [A-Za-z]:[\\/]*) \
27686 topdir=$(srcdir) ;; \
27687 *) \
27688 case "$(TARGET_SUBDIR)" in \
27689 .) topdir="../$(srcdir)" ;; \
27690 *) topdir="../../$(srcdir)" ;; \
27691 esac ;; \
27692 esac; \
27693 srcdiroption="--srcdir=$${topdir}/libada"; \
27694 libsrcdir="$$s/libada"; \
27695 rm -f no-such-file || : ; \
27696 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
27697 $(TARGET_CONFIGARGS) $${srcdiroption} \
27698 --with-target-subdir="$(TARGET_SUBDIR)" \
27699 || exit 1
27700 @endif target-libada
27702 .PHONY: all-target-libada maybe-all-target-libada
27703 maybe-all-target-libada:
27704 @if target-libada
27705 maybe-all-target-libada: all-target-libada
27706 all-target-libada: configure-target-libada
27707 @r=`${PWD_COMMAND}`; export r; \
27708 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27709 $(SET_LIB_PATH) \
27710 $(NORMAL_TARGET_EXPORTS) \
27711 (cd $(TARGET_SUBDIR)/libada && \
27712 $(MAKE) $(TARGET_FLAGS_TO_PASS) all)
27713 @endif target-libada
27715 .PHONY: check-target-libada maybe-check-target-libada
27716 maybe-check-target-libada:
27717 @if target-libada
27718 maybe-check-target-libada: check-target-libada
27720 check-target-libada:
27721 @r=`${PWD_COMMAND}`; export r; \
27722 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27723 $(SET_LIB_PATH) \
27724 $(NORMAL_TARGET_EXPORTS) \
27725 (cd $(TARGET_SUBDIR)/libada && \
27726 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
27728 @endif target-libada
27730 .PHONY: install-target-libada maybe-install-target-libada
27731 maybe-install-target-libada:
27732 @if target-libada
27733 maybe-install-target-libada: install-target-libada
27735 install-target-libada: installdirs
27736 @r=`${PWD_COMMAND}`; export r; \
27737 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27738 $(SET_LIB_PATH) \
27739 $(NORMAL_TARGET_EXPORTS) \
27740 (cd $(TARGET_SUBDIR)/libada && \
27741 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
27743 @endif target-libada
27745 # Other targets (info, dvi, etc.)
27747 .PHONY: maybe-info-target-libada info-target-libada
27748 maybe-info-target-libada:
27749 @if target-libada
27750 maybe-info-target-libada: info-target-libada
27752 info-target-libada: \
27753 configure-target-libada
27754 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
27755 r=`${PWD_COMMAND}`; export r; \
27756 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27757 $(SET_LIB_PATH) \
27758 $(NORMAL_TARGET_EXPORTS) \
27759 echo "Doing info in $(TARGET_SUBDIR)/libada" ; \
27760 for flag in $(EXTRA_TARGET_FLAGS); do \
27761 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27762 done; \
27763 (cd $(TARGET_SUBDIR)/libada && \
27764 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27765 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27766 "RANLIB=$${RANLIB}" \
27767 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27768 info) \
27769 || exit 1
27771 @endif target-libada
27773 .PHONY: maybe-dvi-target-libada dvi-target-libada
27774 maybe-dvi-target-libada:
27775 @if target-libada
27776 maybe-dvi-target-libada: dvi-target-libada
27778 dvi-target-libada: \
27779 configure-target-libada
27780 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
27781 r=`${PWD_COMMAND}`; export r; \
27782 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27783 $(SET_LIB_PATH) \
27784 $(NORMAL_TARGET_EXPORTS) \
27785 echo "Doing dvi in $(TARGET_SUBDIR)/libada" ; \
27786 for flag in $(EXTRA_TARGET_FLAGS); do \
27787 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27788 done; \
27789 (cd $(TARGET_SUBDIR)/libada && \
27790 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27791 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27792 "RANLIB=$${RANLIB}" \
27793 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27794 dvi) \
27795 || exit 1
27797 @endif target-libada
27799 .PHONY: maybe-TAGS-target-libada TAGS-target-libada
27800 maybe-TAGS-target-libada:
27801 @if target-libada
27802 maybe-TAGS-target-libada: TAGS-target-libada
27804 TAGS-target-libada: \
27805 configure-target-libada
27806 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
27807 r=`${PWD_COMMAND}`; export r; \
27808 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27809 $(SET_LIB_PATH) \
27810 $(NORMAL_TARGET_EXPORTS) \
27811 echo "Doing TAGS in $(TARGET_SUBDIR)/libada" ; \
27812 for flag in $(EXTRA_TARGET_FLAGS); do \
27813 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27814 done; \
27815 (cd $(TARGET_SUBDIR)/libada && \
27816 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27817 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27818 "RANLIB=$${RANLIB}" \
27819 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27820 TAGS) \
27821 || exit 1
27823 @endif target-libada
27825 .PHONY: maybe-install-info-target-libada install-info-target-libada
27826 maybe-install-info-target-libada:
27827 @if target-libada
27828 maybe-install-info-target-libada: install-info-target-libada
27830 install-info-target-libada: \
27831 configure-target-libada \
27832 info-target-libada
27833 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
27834 r=`${PWD_COMMAND}`; export r; \
27835 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27836 $(SET_LIB_PATH) \
27837 $(NORMAL_TARGET_EXPORTS) \
27838 echo "Doing install-info in $(TARGET_SUBDIR)/libada" ; \
27839 for flag in $(EXTRA_TARGET_FLAGS); do \
27840 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27841 done; \
27842 (cd $(TARGET_SUBDIR)/libada && \
27843 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27844 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27845 "RANLIB=$${RANLIB}" \
27846 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27847 install-info) \
27848 || exit 1
27850 @endif target-libada
27852 .PHONY: maybe-installcheck-target-libada installcheck-target-libada
27853 maybe-installcheck-target-libada:
27854 @if target-libada
27855 maybe-installcheck-target-libada: installcheck-target-libada
27857 installcheck-target-libada: \
27858 configure-target-libada
27859 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
27860 r=`${PWD_COMMAND}`; export r; \
27861 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27862 $(SET_LIB_PATH) \
27863 $(NORMAL_TARGET_EXPORTS) \
27864 echo "Doing installcheck in $(TARGET_SUBDIR)/libada" ; \
27865 for flag in $(EXTRA_TARGET_FLAGS); do \
27866 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27867 done; \
27868 (cd $(TARGET_SUBDIR)/libada && \
27869 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27870 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27871 "RANLIB=$${RANLIB}" \
27872 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27873 installcheck) \
27874 || exit 1
27876 @endif target-libada
27878 .PHONY: maybe-mostlyclean-target-libada mostlyclean-target-libada
27879 maybe-mostlyclean-target-libada:
27880 @if target-libada
27881 maybe-mostlyclean-target-libada: mostlyclean-target-libada
27883 mostlyclean-target-libada:
27884 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
27885 r=`${PWD_COMMAND}`; export r; \
27886 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27887 $(SET_LIB_PATH) \
27888 $(NORMAL_TARGET_EXPORTS) \
27889 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libada" ; \
27890 for flag in $(EXTRA_TARGET_FLAGS); do \
27891 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27892 done; \
27893 (cd $(TARGET_SUBDIR)/libada && \
27894 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27895 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27896 "RANLIB=$${RANLIB}" \
27897 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27898 mostlyclean) \
27899 || exit 1
27901 @endif target-libada
27903 .PHONY: maybe-clean-target-libada clean-target-libada
27904 maybe-clean-target-libada:
27905 @if target-libada
27906 maybe-clean-target-libada: clean-target-libada
27908 clean-target-libada:
27909 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
27910 r=`${PWD_COMMAND}`; export r; \
27911 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27912 $(SET_LIB_PATH) \
27913 $(NORMAL_TARGET_EXPORTS) \
27914 echo "Doing clean in $(TARGET_SUBDIR)/libada" ; \
27915 for flag in $(EXTRA_TARGET_FLAGS); do \
27916 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27917 done; \
27918 (cd $(TARGET_SUBDIR)/libada && \
27919 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27920 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27921 "RANLIB=$${RANLIB}" \
27922 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27923 clean) \
27924 || exit 1
27926 @endif target-libada
27928 .PHONY: maybe-distclean-target-libada distclean-target-libada
27929 maybe-distclean-target-libada:
27930 @if target-libada
27931 maybe-distclean-target-libada: distclean-target-libada
27933 distclean-target-libada:
27934 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
27935 r=`${PWD_COMMAND}`; export r; \
27936 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27937 $(SET_LIB_PATH) \
27938 $(NORMAL_TARGET_EXPORTS) \
27939 echo "Doing distclean in $(TARGET_SUBDIR)/libada" ; \
27940 for flag in $(EXTRA_TARGET_FLAGS); do \
27941 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27942 done; \
27943 (cd $(TARGET_SUBDIR)/libada && \
27944 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27945 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27946 "RANLIB=$${RANLIB}" \
27947 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27948 distclean) \
27949 || exit 1
27951 @endif target-libada
27953 .PHONY: maybe-maintainer-clean-target-libada maintainer-clean-target-libada
27954 maybe-maintainer-clean-target-libada:
27955 @if target-libada
27956 maybe-maintainer-clean-target-libada: maintainer-clean-target-libada
27958 maintainer-clean-target-libada:
27959 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
27960 r=`${PWD_COMMAND}`; export r; \
27961 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27962 $(SET_LIB_PATH) \
27963 $(NORMAL_TARGET_EXPORTS) \
27964 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libada" ; \
27965 for flag in $(EXTRA_TARGET_FLAGS); do \
27966 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27967 done; \
27968 (cd $(TARGET_SUBDIR)/libada && \
27969 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27970 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27971 "RANLIB=$${RANLIB}" \
27972 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27973 maintainer-clean) \
27974 || exit 1
27976 @endif target-libada
27980 # ----------
27981 # GCC module
27982 # ----------
27984 @if gcc-no-bootstrap
27985 # GCC has some more recursive targets, which trigger the old
27986 # (but still current, until the toplevel bootstrap project
27987 # is finished) compiler bootstrapping rules.
27989 GCC_STRAP_TARGETS = bootstrap bootstrap-lean bootstrap2 bootstrap2-lean bootstrap3 bootstrap3-lean bootstrap4 bootstrap4-lean bubblestrap quickstrap cleanstrap restrap
27990 .PHONY: $(GCC_STRAP_TARGETS)
27991 $(GCC_STRAP_TARGETS): all-prebootstrap configure-gcc
27992 @r=`${PWD_COMMAND}`; export r; \
27993 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27994 $(SET_LIB_PATH) \
27995 $(HOST_EXPORTS) \
27996 echo "Bootstrapping the compiler"; \
27997 cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) $@
27998 @r=`${PWD_COMMAND}`; export r; \
27999 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28000 case "$@" in \
28001 *bootstrap4-lean ) \
28002 msg="Comparing stage3 and stage4 of the compiler"; \
28003 compare=compare3-lean ;; \
28004 *bootstrap4 ) \
28005 msg="Comparing stage3 and stage4 of the compiler"; \
28006 compare=compare3 ;; \
28007 *-lean ) \
28008 msg="Comparing stage2 and stage3 of the compiler"; \
28009 compare=compare-lean ;; \
28010 * ) \
28011 msg="Comparing stage2 and stage3 of the compiler"; \
28012 compare=compare ;; \
28013 esac; \
28014 $(SET_LIB_PATH) \
28015 $(HOST_EXPORTS) \
28016 echo "$$msg"; \
28017 cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) $$compare
28018 @r=`${PWD_COMMAND}`; export r; \
28019 s=`cd $(srcdir); ${PWD_COMMAND}` ; export s; \
28020 $(SET_LIB_PATH) \
28021 echo "Building runtime libraries"; \
28022 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all
28024 profiledbootstrap: all-prebootstrap configure-gcc
28025 @r=`${PWD_COMMAND}`; export r; \
28026 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28027 $(SET_LIB_PATH) \
28028 $(HOST_EXPORTS) \
28029 echo "Bootstrapping training compiler"; \
28030 cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) stageprofile_build
28031 @r=`${PWD_COMMAND}`; export r; \
28032 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28033 $(SET_LIB_PATH) \
28034 $(HOST_EXPORTS) \
28035 echo "Building feedback based compiler"; \
28036 cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) stagefeedback_build
28037 @r=`${PWD_COMMAND}`; export r; \
28038 s=`cd $(srcdir); ${PWD_COMMAND}` ; export s; \
28039 $(SET_LIB_PATH) \
28040 echo "Building runtime libraries"; \
28041 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all
28043 .PHONY: cross
28044 cross: all-texinfo all-bison all-byacc all-binutils all-gas all-ld
28045 @r=`${PWD_COMMAND}`; export r; \
28046 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28047 $(SET_LIB_PATH) \
28048 $(HOST_EXPORTS) \
28049 echo "Building the C and C++ compiler"; \
28050 cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) LANGUAGES="c c++"
28051 @r=`${PWD_COMMAND}`; export r; \
28052 s=`cd $(srcdir); ${PWD_COMMAND}` ; export s; \
28053 $(SET_LIB_PATH) \
28054 echo "Building runtime libraries"; \
28055 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LANGUAGES="c c++" all
28056 @endif gcc-no-bootstrap
28058 @if gcc
28059 .PHONY: check-gcc-c++
28060 check-gcc-c++:
28061 @if [ -f ./gcc/Makefile ] ; then \
28062 r=`${PWD_COMMAND}`; export r; \
28063 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28064 $(SET_LIB_PATH) \
28065 $(HOST_EXPORTS) \
28066 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-c++); \
28067 else \
28068 true; \
28071 .PHONY: check-c++
28072 check-c++: check-target-libstdc++-v3 check-gcc-c++
28074 # Install the gcc headers files, but not the fixed include files,
28075 # which Cygnus is not allowed to distribute. This rule is very
28076 # dependent on the workings of the gcc Makefile.in.
28077 .PHONY: gcc-no-fixedincludes
28078 gcc-no-fixedincludes:
28079 @if [ -f ./gcc/Makefile ]; then \
28080 rm -rf gcc/tmp-include; \
28081 mv gcc/include gcc/tmp-include 2>/dev/null; \
28082 mkdir gcc/include; \
28083 cp $(srcdir)/gcc/gsyslimits.h gcc/include/syslimits.h; \
28084 touch gcc/stmp-fixinc gcc/include/fixed; \
28085 rm -f gcc/stmp-headers gcc/stmp-int-hdrs; \
28086 r=`${PWD_COMMAND}`; export r; \
28087 s=`cd $(srcdir); ${PWD_COMMAND}` ; export s; \
28088 $(SET_LIB_PATH) \
28089 $(HOST_EXPORTS) \
28090 (cd ./gcc && \
28091 $(MAKE) $(GCC_FLAGS_TO_PASS) install); \
28092 rm -rf gcc/include; \
28093 mv gcc/tmp-include gcc/include 2>/dev/null; \
28094 else true; fi
28095 @endif gcc
28097 # ---------------------
28098 # GCC bootstrap support
28099 # ---------------------
28101 # We track the current stage (the one in 'gcc') in the stage_current file.
28102 # stage_last instead tracks the stage that was built last. These targets
28103 # are dummy when toplevel bootstrap is not active.
28105 .PHONY: unstage
28106 unstage:
28107 @if gcc-bootstrap
28108 @[ -f stage_current ] || $(MAKE) `cat stage_last`-start
28109 @endif gcc-bootstrap
28111 .PHONY: stage
28112 stage:
28113 @if gcc-bootstrap
28114 @$(MAKE) `cat stage_current`-end
28115 @endif gcc-bootstrap
28117 @if gcc-bootstrap
28118 # We name the build directories for the various stages "stage1-gcc",
28119 # "stage2-gcc","stage3-gcc", etc.
28121 # Since the 'compare' process will fail (on debugging information) if any
28122 # directory names are different, we need to link the gcc directory for
28123 # the previous stage to a constant name ('gcc-prev'), and to make the name of
28124 # the build directories constant as well. For the latter, we use naked names
28125 # like 'gcc', because the scripts in that directory assume it. We use
28126 # mv on platforms where symlinks to directories do not work or are not
28127 # reliable.
28129 # At the end of the bootstrap, a symlink to 'stage3-gcc' named 'gcc' must
28130 # be kept, so that libraries can find it. Ick!
28132 # It would be best to preinstall gcc into a staging area (and in the
28133 # future, gather there all prebootstrap packages). This would allow
28134 # assemblers and linkers can be bootstrapped as well as the compiler
28135 # (both in a combined tree, or separately). This however requires some
28136 # change to the gcc driver, again in order to avoid comparison failures.
28138 # Bugs: This is almost certainly not parallel-make safe.
28140 # 'touch' doesn't work right on some platforms.
28141 STAMP = echo timestamp >
28143 # Only build the C compiler for stage1, because that is the only one that
28144 # we can guarantee will build with the native compiler, and also it is the
28145 # only thing useful for building stage2. STAGE1_CFLAGS (via CFLAGS),
28146 # MAKEINFO and MAKEINFOFLAGS are explicitly passed here to make them
28147 # overrideable (for a bootstrap build stage1 also builds gcc.info).
28149 STAGE1_CFLAGS=@stage1_cflags@
28150 STAGE1_LANGUAGES=@stage1_languages@
28152 # We only want to compare .o files, so set this!
28153 objext = .o
28155 # Real targets act phony if they depend on phony targets; this hack
28156 # prevents gratuitous rebuilding of stage 1.
28157 prebootstrap:
28158 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-prebootstrap
28159 $(STAMP) prebootstrap
28161 # Flags to pass to stage2 and later makes.
28162 BOOT_CFLAGS= -g -O2
28163 POSTSTAGE1_FLAGS_TO_PASS = \
28164 CC="$${CC}" CC_FOR_BUILD="$${CC_FOR_BUILD}" \
28165 STAGE_PREFIX=$$r/stage-gcc/ \
28166 CFLAGS="$(BOOT_CFLAGS)" \
28167 ADAC="\$$(CC)"
28169 # For stage 1:
28170 # * We force-disable intermodule optimizations, even if
28171 # --enable-intermodule was passed, since the installed compiler probably
28172 # can't handle them. Luckily, autoconf always respects
28173 # the last argument when conflicting --enable arguments are passed.
28174 # * Likewise, we force-disable coverage flags, since the installed compiler
28175 # probably has never heard of them.
28176 # * We build only C (and possibly Ada).
28179 .PHONY: stage1-start stage1-end
28181 stage1-start::
28182 [ -f stage_current ] && $(MAKE) `cat stage_current`-end || :
28183 echo stage1 > stage_current ; \
28184 echo stage1 > stage_last ; \
28185 [ -d stage1-gcc ] || mkdir stage1-gcc; \
28186 set stage1-gcc gcc ; @CREATE_LINK_TO_DIR@
28188 stage1-end::
28189 rm -f stage_current ; \
28190 set gcc stage1-gcc ; @UNDO_LINK_TO_DIR@
28192 # Bubble a bugfix through all the stages up to stage 1. They
28193 # are remade, but not reconfigured. The next stage (if any) will not
28194 # be reconfigured as well.
28195 .PHONY: stage1-bubble
28196 stage1-bubble::
28197 @if [ -f all-stage1-gcc ] ; then \
28198 echo Remaking stage 1 ; \
28199 rm -f all-stage1-gcc ; \
28200 fi ; \
28201 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stage1-gcc
28205 configure-stage1-gcc: prebootstrap
28206 $(MAKE) stage1-start
28207 @if [ -f stage1-gcc/Makefile ] ; then \
28208 $(STAMP) configure-stage1-gcc ; \
28209 exit 0; \
28210 else \
28211 true ; \
28212 fi ; \
28213 r=`${PWD_COMMAND}`; export r; \
28214 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28215 $(HOST_EXPORTS) \
28216 echo Configuring stage 1 in gcc ; \
28217 cd gcc || exit 1; \
28218 case $(srcdir) in \
28219 \.) \
28220 srcdiroption="--srcdir=."; \
28221 libsrcdir=".";; \
28222 /* | [A-Za-z]:[\\/]*) \
28223 srcdiroption="--srcdir=$(srcdir)/gcc"; \
28224 libsrcdir="$$s/gcc";; \
28225 *) \
28226 srcdiroption="--srcdir=../$(srcdir)/gcc"; \
28227 libsrcdir="$$s/gcc";; \
28228 esac; \
28229 $(SHELL) $${libsrcdir}/configure \
28230 $(HOST_CONFIGARGS) $${srcdiroption} \
28231 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)" && \
28232 $(STAMP) ../configure-stage1-gcc
28234 all-stage1-gcc: configure-stage1-gcc
28235 $(MAKE) stage1-start
28236 @r=`${PWD_COMMAND}`; export r; \
28237 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28238 $(HOST_EXPORTS) \
28239 cd gcc && \
28240 $(MAKE) $(GCC_FLAGS_TO_PASS) \
28241 CFLAGS="$(STAGE1_CFLAGS)" && $(STAMP) ../all-stage1-gcc
28247 .PHONY: restage1 touch-stage1 distclean-stage1
28249 # Rules to wipe a stage and all the following ones, used for cleanstrap
28251 distclean-stage1::
28252 [ -f stage_current ] && $(MAKE) `cat stage_current`-end || :
28253 rm -rf configure-stage1-gcc all-stage1-gcc stage1-gcc
28255 # Rules to renew the timestamp on a stage and all the following ones
28257 touch-stage1::
28258 @[ -f configure-stage1-gcc ] && \
28259 echo '$(STAMP) configure-stage1-gcc' && \
28260 $(STAMP) configure-stage1-gcc; \
28261 [ -f all-stage1-gcc ] && \
28262 echo '$(STAMP) all-stage1-gcc' && \
28263 $(STAMP) all-stage1-gcc; \
28266 # After building a stage, touch the following ones
28268 restage1::
28269 rm -rf all-stage1-gcc
28270 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stage1-gcc
28275 .PHONY: stage2-start stage2-end
28277 stage2-start::
28278 [ -f stage_current ] && $(MAKE) `cat stage_current`-end || :
28279 echo stage2 > stage_current ; \
28280 echo stage2 > stage_last ; \
28281 [ -d stage2-gcc ] || mkdir stage2-gcc; \
28282 set stage2-gcc gcc ; @CREATE_LINK_TO_DIR@ ; \
28283 set stage1-gcc prev-gcc ; @CREATE_LINK_TO_DIR@
28285 stage2-end::
28286 rm -f stage_current ; \
28287 set gcc stage2-gcc ; @UNDO_LINK_TO_DIR@ ; \
28288 set prev-gcc stage1-gcc ; @UNDO_LINK_TO_DIR@
28290 # Bubble a bugfix through all the stages up to stage 2. They
28291 # are remade, but not reconfigured. The next stage (if any) will not
28292 # be reconfigured as well.
28293 .PHONY: stage2-bubble
28294 stage2-bubble:: stage1-bubble
28295 @if [ -f all-stage2-gcc ] ; then \
28296 echo Remaking stage 2 ; \
28297 rm -f all-stage2-gcc ; \
28298 fi ; \
28299 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stage2-gcc
28302 stage1-bubble::
28303 @if [ -f configure-stage2-gcc ] ; then \
28304 $(STAMP) configure-stage2-gcc ; \
28308 configure-stage2-gcc: all-stage1-gcc
28309 $(MAKE) stage2-start
28310 @if [ -f stage2-gcc/Makefile ] ; then \
28311 $(STAMP) configure-stage2-gcc ; \
28312 exit 0; \
28313 else \
28314 true ; \
28315 fi ; \
28316 r=`${PWD_COMMAND}`; export r; \
28317 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28318 $(STAGE_HOST_EXPORTS) \
28319 echo Configuring stage 2 in gcc ; \
28320 cd gcc || exit 1; \
28321 case $(srcdir) in \
28322 \.) \
28323 srcdiroption="--srcdir=."; \
28324 libsrcdir=".";; \
28325 /* | [A-Za-z]:[\\/]*) \
28326 srcdiroption="--srcdir=$(srcdir)/gcc"; \
28327 libsrcdir="$$s/gcc";; \
28328 *) \
28329 srcdiroption="--srcdir=../$(srcdir)/gcc"; \
28330 libsrcdir="$$s/gcc";; \
28331 esac; \
28332 $(SHELL) $${libsrcdir}/configure \
28333 $(HOST_CONFIGARGS) $${srcdiroption} \
28334 @stage2_werror_flag@ && \
28335 $(STAMP) ../configure-stage2-gcc
28337 all-stage2-gcc: configure-stage2-gcc
28338 $(MAKE) stage2-start
28339 @r=`${PWD_COMMAND}`; export r; \
28340 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28341 $(STAGE_HOST_EXPORTS) \
28342 cd gcc && \
28343 $(MAKE) $(GCC_FLAGS_TO_PASS) \
28344 $(POSTSTAGE1_FLAGS_TO_PASS) \
28345 && $(STAMP) ../all-stage2-gcc
28350 .PHONY: bootstrap2
28351 bootstrap2:
28352 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stage2-bubble all
28355 .PHONY: restage2 touch-stage2 distclean-stage2
28357 # Rules to wipe a stage and all the following ones, used for cleanstrap
28358 distclean-stage1:: distclean-stage2
28359 distclean-stage2::
28360 [ -f stage_current ] && $(MAKE) `cat stage_current`-end || :
28361 rm -rf configure-stage2-gcc all-stage2-gcc stage2-gcc
28363 # Rules to renew the timestamp on a stage and all the following ones
28364 touch-stage1:: touch-stage2
28365 touch-stage2::
28366 @[ -f configure-stage2-gcc ] && \
28367 echo '$(STAMP) configure-stage2-gcc' && \
28368 $(STAMP) configure-stage2-gcc; \
28369 [ -f all-stage2-gcc ] && \
28370 echo '$(STAMP) all-stage2-gcc' && \
28371 $(STAMP) all-stage2-gcc; \
28374 # After building a stage, touch the following ones
28375 restage1:: touch-stage2
28376 restage2::
28377 rm -rf all-stage2-gcc
28378 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stage2-gcc
28383 .PHONY: stage3-start stage3-end
28385 stage3-start::
28386 [ -f stage_current ] && $(MAKE) `cat stage_current`-end || :
28387 echo stage3 > stage_current ; \
28388 echo stage3 > stage_last ; \
28389 [ -d stage3-gcc ] || mkdir stage3-gcc; \
28390 set stage3-gcc gcc ; @CREATE_LINK_TO_DIR@ ; \
28391 set stage2-gcc prev-gcc ; @CREATE_LINK_TO_DIR@
28393 stage3-end::
28394 rm -f stage_current ; \
28395 set gcc stage3-gcc ; @UNDO_LINK_TO_DIR@ ; \
28396 set prev-gcc stage2-gcc ; @UNDO_LINK_TO_DIR@
28398 # Bubble a bugfix through all the stages up to stage 3. They
28399 # are remade, but not reconfigured. The next stage (if any) will not
28400 # be reconfigured as well.
28401 .PHONY: stage3-bubble
28402 stage3-bubble:: stage2-bubble
28403 @if [ -f all-stage3-gcc ] ; then \
28404 echo Remaking stage 3 ; \
28405 rm -f all-stage3-gcc ; \
28406 fi ; \
28407 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stage3-gcc
28410 stage2-bubble::
28411 @if [ -f configure-stage3-gcc ] ; then \
28412 $(STAMP) configure-stage3-gcc ; \
28416 configure-stage3-gcc: all-stage2-gcc
28417 $(MAKE) stage3-start
28418 @if [ -f stage3-gcc/Makefile ] ; then \
28419 $(STAMP) configure-stage3-gcc ; \
28420 exit 0; \
28421 else \
28422 true ; \
28423 fi ; \
28424 r=`${PWD_COMMAND}`; export r; \
28425 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28426 $(STAGE_HOST_EXPORTS) \
28427 echo Configuring stage 3 in gcc ; \
28428 cd gcc || exit 1; \
28429 case $(srcdir) in \
28430 \.) \
28431 srcdiroption="--srcdir=."; \
28432 libsrcdir=".";; \
28433 /* | [A-Za-z]:[\\/]*) \
28434 srcdiroption="--srcdir=$(srcdir)/gcc"; \
28435 libsrcdir="$$s/gcc";; \
28436 *) \
28437 srcdiroption="--srcdir=../$(srcdir)/gcc"; \
28438 libsrcdir="$$s/gcc";; \
28439 esac; \
28440 $(SHELL) $${libsrcdir}/configure \
28441 $(HOST_CONFIGARGS) $${srcdiroption} \
28442 @stage2_werror_flag@ && \
28443 $(STAMP) ../configure-stage3-gcc
28445 all-stage3-gcc: configure-stage3-gcc
28446 $(MAKE) stage3-start
28447 @r=`${PWD_COMMAND}`; export r; \
28448 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28449 $(STAGE_HOST_EXPORTS) \
28450 cd gcc && \
28451 $(MAKE) $(GCC_FLAGS_TO_PASS) \
28452 $(POSTSTAGE1_FLAGS_TO_PASS) \
28453 && $(STAMP) ../all-stage3-gcc
28456 compare: all-stage3-gcc
28457 [ -f stage_current ] && $(MAKE) `cat stage_current`-end || :
28458 @r=`${PWD_COMMAND}`; export r; \
28459 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28460 rm -f .bad_compare ; \
28461 cd stage3-gcc; \
28462 files=`find . -name "*$(objext)" -print` ; \
28463 cd .. ; \
28464 for file in $${files} ; do \
28465 f1=$$r/stage2-gcc/$$file; f2=$$r/stage3-gcc/$$file; \
28466 @do_compare@ > /dev/null 2>&1; \
28467 test $$? -eq 1 && echo $$file differs >> .bad_compare || true; \
28468 done ; \
28469 if [ -f .bad_compare ]; then \
28470 echo "Bootstrap comparison failure!"; \
28471 cat .bad_compare; \
28472 exit 1; \
28473 else \
28474 true; \
28475 fi ; \
28476 $(STAMP) compare
28480 .PHONY: bootstrap
28481 bootstrap:
28482 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stage3-bubble compare all
28485 .PHONY: restage3 touch-stage3 distclean-stage3
28487 # Rules to wipe a stage and all the following ones, used for cleanstrap
28488 distclean-stage2:: distclean-stage3
28489 distclean-stage3::
28490 [ -f stage_current ] && $(MAKE) `cat stage_current`-end || :
28491 rm -rf configure-stage3-gcc all-stage3-gcc stage3-gcc compare
28493 # Rules to renew the timestamp on a stage and all the following ones
28494 touch-stage2:: touch-stage3
28495 touch-stage3::
28496 @[ -f configure-stage3-gcc ] && \
28497 echo '$(STAMP) configure-stage3-gcc' && \
28498 $(STAMP) configure-stage3-gcc; \
28499 [ -f all-stage3-gcc ] && \
28500 echo '$(STAMP) all-stage3-gcc' && \
28501 $(STAMP) all-stage3-gcc; \
28504 # After building a stage, touch the following ones
28505 restage2:: touch-stage3
28506 restage3::
28507 rm -rf all-stage3-gcc compare
28508 $(MAKE) $(RECURSE_FLAGS_TO_PASS) compare
28511 .PHONY: cleanstrap
28512 cleanstrap: distclean-stage1 bootstrap
28516 .PHONY: stage4-start stage4-end
28518 stage4-start::
28519 [ -f stage_current ] && $(MAKE) `cat stage_current`-end || :
28520 echo stage4 > stage_current ; \
28521 echo stage4 > stage_last ; \
28522 [ -d stage4-gcc ] || mkdir stage4-gcc; \
28523 set stage4-gcc gcc ; @CREATE_LINK_TO_DIR@ ; \
28524 set stage3-gcc prev-gcc ; @CREATE_LINK_TO_DIR@
28526 stage4-end::
28527 rm -f stage_current ; \
28528 set gcc stage4-gcc ; @UNDO_LINK_TO_DIR@ ; \
28529 set prev-gcc stage3-gcc ; @UNDO_LINK_TO_DIR@
28531 # Bubble a bugfix through all the stages up to stage 4. They
28532 # are remade, but not reconfigured. The next stage (if any) will not
28533 # be reconfigured as well.
28534 .PHONY: stage4-bubble
28535 stage4-bubble:: stage3-bubble
28536 @if [ -f all-stage4-gcc ] ; then \
28537 echo Remaking stage 4 ; \
28538 rm -f all-stage4-gcc ; \
28539 fi ; \
28540 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stage4-gcc
28543 stage3-bubble::
28544 @if [ -f configure-stage4-gcc ] ; then \
28545 $(STAMP) configure-stage4-gcc ; \
28549 configure-stage4-gcc: all-stage3-gcc
28550 $(MAKE) stage4-start
28551 @if [ -f stage4-gcc/Makefile ] ; then \
28552 $(STAMP) configure-stage4-gcc ; \
28553 exit 0; \
28554 else \
28555 true ; \
28556 fi ; \
28557 r=`${PWD_COMMAND}`; export r; \
28558 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28559 $(STAGE_HOST_EXPORTS) \
28560 echo Configuring stage 4 in gcc ; \
28561 cd gcc || exit 1; \
28562 case $(srcdir) in \
28563 \.) \
28564 srcdiroption="--srcdir=."; \
28565 libsrcdir=".";; \
28566 /* | [A-Za-z]:[\\/]*) \
28567 srcdiroption="--srcdir=$(srcdir)/gcc"; \
28568 libsrcdir="$$s/gcc";; \
28569 *) \
28570 srcdiroption="--srcdir=../$(srcdir)/gcc"; \
28571 libsrcdir="$$s/gcc";; \
28572 esac; \
28573 $(SHELL) $${libsrcdir}/configure \
28574 $(HOST_CONFIGARGS) $${srcdiroption} \
28575 @stage2_werror_flag@ && \
28576 $(STAMP) ../configure-stage4-gcc
28578 all-stage4-gcc: configure-stage4-gcc
28579 $(MAKE) stage4-start
28580 @r=`${PWD_COMMAND}`; export r; \
28581 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28582 $(STAGE_HOST_EXPORTS) \
28583 cd gcc && \
28584 $(MAKE) $(GCC_FLAGS_TO_PASS) \
28585 $(POSTSTAGE1_FLAGS_TO_PASS) \
28586 && $(STAMP) ../all-stage4-gcc
28589 compare3: all-stage4-gcc
28590 [ -f stage_current ] && $(MAKE) `cat stage_current`-end || :
28591 @r=`${PWD_COMMAND}`; export r; \
28592 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28593 rm -f .bad_compare ; \
28594 cd stage4-gcc; \
28595 files=`find . -name "*$(objext)" -print` ; \
28596 cd .. ; \
28597 for file in $${files} ; do \
28598 f1=$$r/stage3-gcc/$$file; f2=$$r/stage4-gcc/$$file; \
28599 @do_compare@ > /dev/null 2>&1; \
28600 test $$? -eq 1 && echo $$file differs >> .bad_compare || true; \
28601 done ; \
28602 if [ -f .bad_compare ]; then \
28603 echo "Bootstrap comparison failure!"; \
28604 cat .bad_compare; \
28605 exit 1; \
28606 else \
28607 true; \
28608 fi ; \
28609 $(STAMP) compare3
28613 .PHONY: bootstrap4
28614 bootstrap4:
28615 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stage4-bubble compare3 all
28618 .PHONY: restage4 touch-stage4 distclean-stage4
28620 # Rules to wipe a stage and all the following ones, used for cleanstrap
28621 distclean-stage3:: distclean-stage4
28622 distclean-stage4::
28623 [ -f stage_current ] && $(MAKE) `cat stage_current`-end || :
28624 rm -rf configure-stage4-gcc all-stage4-gcc stage4-gcc compare3
28626 # Rules to renew the timestamp on a stage and all the following ones
28627 touch-stage3:: touch-stage4
28628 touch-stage4::
28629 @[ -f configure-stage4-gcc ] && \
28630 echo '$(STAMP) configure-stage4-gcc' && \
28631 $(STAMP) configure-stage4-gcc; \
28632 [ -f all-stage4-gcc ] && \
28633 echo '$(STAMP) all-stage4-gcc' && \
28634 $(STAMP) all-stage4-gcc; \
28637 # After building a stage, touch the following ones
28638 restage3:: touch-stage4
28639 restage4::
28640 rm -rf all-stage4-gcc compare3
28641 $(MAKE) $(RECURSE_FLAGS_TO_PASS) compare3
28646 .PHONY: stageprofile-start stageprofile-end
28648 stageprofile-start::
28649 [ -f stage_current ] && $(MAKE) `cat stage_current`-end || :
28650 echo stageprofile > stage_current ; \
28651 echo stageprofile > stage_last ; \
28652 [ -d stageprofile-gcc ] || mkdir stageprofile-gcc; \
28653 set stageprofile-gcc gcc ; @CREATE_LINK_TO_DIR@ ; \
28654 set stage1-gcc prev-gcc ; @CREATE_LINK_TO_DIR@
28656 stageprofile-end::
28657 rm -f stage_current ; \
28658 set gcc stageprofile-gcc ; @UNDO_LINK_TO_DIR@ ; \
28659 set prev-gcc stage1-gcc ; @UNDO_LINK_TO_DIR@
28661 # Bubble a bugfix through all the stages up to stage profile. They
28662 # are remade, but not reconfigured. The next stage (if any) will not
28663 # be reconfigured as well.
28664 .PHONY: stageprofile-bubble
28665 stageprofile-bubble:: stage1-bubble
28666 @if [ -f all-stageprofile-gcc ] ; then \
28667 echo Remaking stage profile ; \
28668 rm -f all-stageprofile-gcc ; \
28669 fi ; \
28670 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stageprofile-gcc
28673 stage1-bubble::
28674 @if [ -f configure-stageprofile-gcc ] ; then \
28675 $(STAMP) configure-stageprofile-gcc ; \
28679 configure-stageprofile-gcc: all-stage1-gcc
28680 $(MAKE) stageprofile-start
28681 @if [ -f stageprofile-gcc/Makefile ] ; then \
28682 $(STAMP) configure-stageprofile-gcc ; \
28683 exit 0; \
28684 else \
28685 true ; \
28686 fi ; \
28687 r=`${PWD_COMMAND}`; export r; \
28688 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28689 $(STAGE_HOST_EXPORTS) \
28690 echo Configuring stage profile in gcc ; \
28691 cd gcc || exit 1; \
28692 case $(srcdir) in \
28693 \.) \
28694 srcdiroption="--srcdir=."; \
28695 libsrcdir=".";; \
28696 /* | [A-Za-z]:[\\/]*) \
28697 srcdiroption="--srcdir=$(srcdir)/gcc"; \
28698 libsrcdir="$$s/gcc";; \
28699 *) \
28700 srcdiroption="--srcdir=../$(srcdir)/gcc"; \
28701 libsrcdir="$$s/gcc";; \
28702 esac; \
28703 $(SHELL) $${libsrcdir}/configure \
28704 $(HOST_CONFIGARGS) $${srcdiroption} \
28705 @stage2_werror_flag@ && \
28706 $(STAMP) ../configure-stageprofile-gcc
28708 all-stageprofile-gcc: configure-stageprofile-gcc
28709 $(MAKE) stageprofile-start
28710 @r=`${PWD_COMMAND}`; export r; \
28711 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28712 $(STAGE_HOST_EXPORTS) \
28713 cd gcc && \
28714 $(MAKE) $(GCC_FLAGS_TO_PASS) \
28715 $(POSTSTAGE1_FLAGS_TO_PASS) \
28716 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" && $(STAMP) ../all-stageprofile-gcc
28722 .PHONY: restageprofile touch-stageprofile distclean-stageprofile
28724 # Rules to wipe a stage and all the following ones, used for cleanstrap
28725 distclean-stage1:: distclean-stageprofile
28726 distclean-stageprofile::
28727 [ -f stage_current ] && $(MAKE) `cat stage_current`-end || :
28728 rm -rf configure-stageprofile-gcc all-stageprofile-gcc stageprofile-gcc
28730 # Rules to renew the timestamp on a stage and all the following ones
28731 touch-stage1:: touch-stageprofile
28732 touch-stageprofile::
28733 @[ -f configure-stageprofile-gcc ] && \
28734 echo '$(STAMP) configure-stageprofile-gcc' && \
28735 $(STAMP) configure-stageprofile-gcc; \
28736 [ -f all-stageprofile-gcc ] && \
28737 echo '$(STAMP) all-stageprofile-gcc' && \
28738 $(STAMP) all-stageprofile-gcc; \
28741 # After building a stage, touch the following ones
28742 restage1:: touch-stageprofile
28743 restageprofile::
28744 rm -rf all-stageprofile-gcc
28745 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stageprofile-gcc
28750 .PHONY: stagefeedback-start stagefeedback-end
28752 stagefeedback-start::
28753 [ -f stage_current ] && $(MAKE) `cat stage_current`-end || :
28754 echo stagefeedback > stage_current ; \
28755 echo stagefeedback > stage_last ; \
28756 [ -d stagefeedback-gcc ] || mkdir stagefeedback-gcc; \
28757 set stagefeedback-gcc gcc ; @CREATE_LINK_TO_DIR@ ; \
28758 set stage1-gcc prev-gcc ; @CREATE_LINK_TO_DIR@
28760 stagefeedback-end::
28761 rm -f stage_current ; \
28762 set gcc stagefeedback-gcc ; @UNDO_LINK_TO_DIR@ ; \
28763 set prev-gcc stage1-gcc ; @UNDO_LINK_TO_DIR@
28765 # Bubble a bugfix through all the stages up to stage feedback. They
28766 # are remade, but not reconfigured. The next stage (if any) will not
28767 # be reconfigured as well.
28768 .PHONY: stagefeedback-bubble
28769 stagefeedback-bubble:: stage1-bubble
28770 @if [ -f all-stagefeedback-gcc ] ; then \
28771 echo Remaking stage feedback ; \
28772 rm -f all-stagefeedback-gcc ; \
28773 fi ; \
28774 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stagefeedback-gcc
28777 stage1-bubble::
28778 @if [ -f configure-stagefeedback-gcc ] ; then \
28779 $(STAMP) configure-stagefeedback-gcc ; \
28783 configure-stagefeedback-gcc: all-stage1-gcc
28784 $(MAKE) stagefeedback-start
28785 @if [ -f stagefeedback-gcc/Makefile ] ; then \
28786 $(STAMP) configure-stagefeedback-gcc ; \
28787 exit 0; \
28788 else \
28789 true ; \
28790 fi ; \
28791 r=`${PWD_COMMAND}`; export r; \
28792 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28793 $(STAGE_HOST_EXPORTS) \
28794 echo Configuring stage feedback in gcc ; \
28795 cd gcc || exit 1; \
28796 case $(srcdir) in \
28797 \.) \
28798 srcdiroption="--srcdir=."; \
28799 libsrcdir=".";; \
28800 /* | [A-Za-z]:[\\/]*) \
28801 srcdiroption="--srcdir=$(srcdir)/gcc"; \
28802 libsrcdir="$$s/gcc";; \
28803 *) \
28804 srcdiroption="--srcdir=../$(srcdir)/gcc"; \
28805 libsrcdir="$$s/gcc";; \
28806 esac; \
28807 $(SHELL) $${libsrcdir}/configure \
28808 $(HOST_CONFIGARGS) $${srcdiroption} \
28809 @stage2_werror_flag@ && \
28810 $(STAMP) ../configure-stagefeedback-gcc
28812 all-stagefeedback-gcc: configure-stagefeedback-gcc
28813 $(MAKE) stagefeedback-start
28814 @r=`${PWD_COMMAND}`; export r; \
28815 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28816 $(STAGE_HOST_EXPORTS) \
28817 cd gcc && \
28818 $(MAKE) $(GCC_FLAGS_TO_PASS) \
28819 $(POSTSTAGE1_FLAGS_TO_PASS) \
28820 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" && $(STAMP) ../all-stagefeedback-gcc
28826 .PHONY: restagefeedback touch-stagefeedback distclean-stagefeedback
28828 # Rules to wipe a stage and all the following ones, used for cleanstrap
28829 distclean-stage1:: distclean-stagefeedback
28830 distclean-stagefeedback::
28831 [ -f stage_current ] && $(MAKE) `cat stage_current`-end || :
28832 rm -rf configure-stagefeedback-gcc all-stagefeedback-gcc stagefeedback-gcc
28834 # Rules to renew the timestamp on a stage and all the following ones
28835 touch-stage1:: touch-stagefeedback
28836 touch-stagefeedback::
28837 @[ -f configure-stagefeedback-gcc ] && \
28838 echo '$(STAMP) configure-stagefeedback-gcc' && \
28839 $(STAMP) configure-stagefeedback-gcc; \
28840 [ -f all-stagefeedback-gcc ] && \
28841 echo '$(STAMP) all-stagefeedback-gcc' && \
28842 $(STAMP) all-stagefeedback-gcc; \
28845 # After building a stage, touch the following ones
28846 restage1:: touch-stagefeedback
28847 restagefeedback::
28848 rm -rf all-stagefeedback-gcc
28849 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stagefeedback-gcc
28855 stagefeedback-start::
28856 @r=`${PWD_COMMAND}`; export r; \
28857 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28858 cd stageprofile-gcc && \
28859 { find . -type d | sort | sed 's,.*,$(SHELL) '"$$s"'/mkinstalldirs "../gcc/&",' | $(SHELL); } && \
28860 { find . -name '*.*da' | sed 's,.*,$(LN) -f "&" "../gcc/&",' | $(SHELL); }
28862 profiledbootstrap: all-prebootstrap configure-gcc
28863 @r=`${PWD_COMMAND}`; export r; \
28864 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28865 $(SET_LIB_PATH) \
28866 $(HOST_EXPORTS) \
28867 echo "Bootstrapping the compiler"; \
28868 $(MAKE) stageprofile-bubble distclean-stagefeedback
28869 @r=`${PWD_COMMAND}`; export r; \
28870 s=`cd $(srcdir); ${PWD_COMMAND}` ; export s; \
28871 $(SET_LIB_PATH) \
28872 echo "Building runtime libraries and training compiler"; \
28873 $(MAKE) $(BASE_FLAGS_TO_PASS) $(RECURSE_FLAGS) all
28874 @r=`${PWD_COMMAND}`; export r; \
28875 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28876 $(SET_LIB_PATH) \
28877 $(HOST_EXPORTS) \
28878 echo "Building feedback based compiler"; \
28879 $(MAKE) stagefeedback-bubble stagefeedback-end
28881 @endif gcc-bootstrap
28883 # --------------------------------------
28884 # Dependencies between different modules
28885 # --------------------------------------
28887 # Generic dependencies for target modules on host stuff, especially gcc
28889 configure-target-libstdc++-v3: maybe-all-gcc
28891 configure-target-libmudflap: maybe-all-gcc
28893 configure-target-newlib: maybe-all-gcc
28895 configure-target-libgfortran: maybe-all-gcc
28897 configure-target-libobjc: maybe-all-gcc
28899 configure-target-libtermcap: maybe-all-gcc
28901 configure-target-winsup: maybe-all-gcc
28903 configure-target-libgloss: maybe-all-gcc
28905 configure-target-libiberty: maybe-all-gcc
28907 configure-target-gperf: maybe-all-gcc
28909 configure-target-examples: maybe-all-gcc
28911 configure-target-libffi: maybe-all-gcc
28913 configure-target-libjava: maybe-all-gcc
28915 configure-target-zlib: maybe-all-gcc
28917 configure-target-boehm-gc: maybe-all-gcc
28919 configure-target-qthreads: maybe-all-gcc
28921 configure-target-rda: maybe-all-gcc
28923 configure-target-libada: maybe-all-gcc
28927 configure-target-boehm-gc: maybe-all-target-newlib maybe-all-target-libgloss
28929 configure-target-gperf: maybe-all-target-newlib maybe-all-target-libgloss
28930 configure-target-gperf: maybe-all-target-libstdc++-v3
28932 configure-target-libada: maybe-all-target-newlib maybe-all-target-libgloss
28934 configure-target-libgfortran: maybe-all-target-newlib maybe-all-target-libgloss
28936 configure-target-libffi: maybe-all-target-newlib maybe-all-target-libgloss
28938 configure-target-libjava: maybe-all-target-newlib maybe-all-target-libgloss
28939 configure-target-libjava: maybe-all-target-libstdc++-v3
28941 configure-target-libobjc: maybe-all-target-newlib maybe-all-target-libgloss
28943 configure-target-libstdc++-v3: maybe-all-target-newlib maybe-all-target-libgloss
28945 configure-target-zlib: maybe-all-target-newlib maybe-all-target-libgloss
28947 configure-target-examples: maybe-all-target-newlib maybe-all-target-libgloss
28949 configure-target-libtermcap: maybe-all-target-newlib maybe-all-target-libgloss
28951 configure-target-rda: maybe-all-target-newlib maybe-all-target-libgloss
28953 configure-target-winsup: maybe-all-target-newlib maybe-all-target-libgloss
28955 configure-target-qthreads: maybe-all-target-newlib maybe-all-target-libgloss
28958 # There are two types of dependencies here: 'hard' dependencies, where one
28959 # module simply won't build without the other; and 'soft' dependencies, where
28960 # if the depended-on module is missing, the depending module will do without
28961 # or find a substitute somewhere (perhaps installed). Soft dependencies
28962 # are made here to depend on a 'maybe-' target. If you're not sure,
28963 # it's safer to use a soft dependency.
28969 # With all the machinery above in place, it is pretty easy to generate
28970 # dependencies. Host dependencies are a bit more complex because we have
28971 # to check for bootstrap/prebootstrap dependencies. To resolve
28972 # prebootstrap dependencies, prebootstrap modules are gathered in
28973 # a hash table.
28974 all-build-bison: maybe-all-build-texinfo
28975 all-build-byacc: maybe-all-build-texinfo
28976 all-build-flex: maybe-all-build-texinfo
28977 all-build-flex: maybe-all-build-bison
28978 all-build-flex: maybe-all-build-byacc
28979 all-build-flex: maybe-all-build-m4
28980 all-build-libiberty: maybe-all-build-texinfo
28981 all-build-m4: maybe-all-build-texinfo
28982 configure-gcc: maybe-configure-intl
28984 configure-stage1-gcc: maybe-configure-stage1-intl
28985 configure-stage2-gcc: maybe-configure-stage2-intl
28986 configure-stage3-gcc: maybe-configure-stage3-intl
28987 configure-stage4-gcc: maybe-configure-stage4-intl
28988 configure-stageprofile-gcc: maybe-configure-stageprofile-intl
28989 configure-stagefeedback-gcc: maybe-configure-stagefeedback-intl
28990 configure-gcc: maybe-configure-binutils
28992 configure-stage1-gcc: maybe-configure-stage1-binutils
28993 configure-stage2-gcc: maybe-configure-stage2-binutils
28994 configure-stage3-gcc: maybe-configure-stage3-binutils
28995 configure-stage4-gcc: maybe-configure-stage4-binutils
28996 configure-stageprofile-gcc: maybe-configure-stageprofile-binutils
28997 configure-stagefeedback-gcc: maybe-configure-stagefeedback-binutils
28998 configure-gcc: maybe-configure-gas
29000 configure-stage1-gcc: maybe-configure-stage1-gas
29001 configure-stage2-gcc: maybe-configure-stage2-gas
29002 configure-stage3-gcc: maybe-configure-stage3-gas
29003 configure-stage4-gcc: maybe-configure-stage4-gas
29004 configure-stageprofile-gcc: maybe-configure-stageprofile-gas
29005 configure-stagefeedback-gcc: maybe-configure-stagefeedback-gas
29006 configure-gcc: maybe-configure-ld
29008 configure-stage1-gcc: maybe-configure-stage1-ld
29009 configure-stage2-gcc: maybe-configure-stage2-ld
29010 configure-stage3-gcc: maybe-configure-stage3-ld
29011 configure-stage4-gcc: maybe-configure-stage4-ld
29012 configure-stageprofile-gcc: maybe-configure-stageprofile-ld
29013 configure-stagefeedback-gcc: maybe-configure-stagefeedback-ld
29014 configure-gcc: maybe-configure-bison
29015 configure-gcc: maybe-configure-flex
29016 all-gcc: all-libiberty
29018 all-stage1-gcc: all-stage1-libiberty
29019 all-stage2-gcc: all-stage2-libiberty
29020 all-stage3-gcc: all-stage3-libiberty
29021 all-stage4-gcc: all-stage4-libiberty
29022 all-stageprofile-gcc: all-stageprofile-libiberty
29023 all-stagefeedback-gcc: all-stagefeedback-libiberty
29024 all-gcc: maybe-all-intl
29026 all-stage1-gcc: maybe-all-stage1-intl
29027 all-stage2-gcc: maybe-all-stage2-intl
29028 all-stage3-gcc: maybe-all-stage3-intl
29029 all-stage4-gcc: maybe-all-stage4-intl
29030 all-stageprofile-gcc: maybe-all-stageprofile-intl
29031 all-stagefeedback-gcc: maybe-all-stagefeedback-intl
29032 all-gcc: maybe-all-texinfo
29033 all-gcc: maybe-all-bison
29034 all-gcc: maybe-all-byacc
29035 all-gcc: maybe-all-flex
29036 all-gcc: maybe-all-binutils
29038 all-stage1-gcc: maybe-all-stage1-binutils
29039 all-stage2-gcc: maybe-all-stage2-binutils
29040 all-stage3-gcc: maybe-all-stage3-binutils
29041 all-stage4-gcc: maybe-all-stage4-binutils
29042 all-stageprofile-gcc: maybe-all-stageprofile-binutils
29043 all-stagefeedback-gcc: maybe-all-stagefeedback-binutils
29044 all-gcc: maybe-all-gas
29046 all-stage1-gcc: maybe-all-stage1-gas
29047 all-stage2-gcc: maybe-all-stage2-gas
29048 all-stage3-gcc: maybe-all-stage3-gas
29049 all-stage4-gcc: maybe-all-stage4-gas
29050 all-stageprofile-gcc: maybe-all-stageprofile-gas
29051 all-stagefeedback-gcc: maybe-all-stagefeedback-gas
29052 all-gcc: maybe-all-ld
29054 all-stage1-gcc: maybe-all-stage1-ld
29055 all-stage2-gcc: maybe-all-stage2-ld
29056 all-stage3-gcc: maybe-all-stage3-ld
29057 all-stage4-gcc: maybe-all-stage4-ld
29058 all-stageprofile-gcc: maybe-all-stageprofile-ld
29059 all-stagefeedback-gcc: maybe-all-stagefeedback-ld
29060 all-gcc: maybe-all-zlib
29062 all-stage1-gcc: maybe-all-stage1-zlib
29063 all-stage2-gcc: maybe-all-stage2-zlib
29064 all-stage3-gcc: maybe-all-stage3-zlib
29065 all-stage4-gcc: maybe-all-stage4-zlib
29066 all-stageprofile-gcc: maybe-all-stageprofile-zlib
29067 all-stagefeedback-gcc: maybe-all-stagefeedback-zlib
29068 all-gcc: maybe-all-libbanshee
29070 all-stage1-gcc: maybe-all-stage1-libbanshee
29071 all-stage2-gcc: maybe-all-stage2-libbanshee
29072 all-stage3-gcc: maybe-all-stage3-libbanshee
29073 all-stage4-gcc: maybe-all-stage4-libbanshee
29074 all-stageprofile-gcc: maybe-all-stageprofile-libbanshee
29075 all-stagefeedback-gcc: maybe-all-stagefeedback-libbanshee
29076 all-gcc: all-libcpp
29078 all-stage1-gcc: all-stage1-libcpp
29079 all-stage2-gcc: all-stage2-libcpp
29080 all-stage3-gcc: all-stage3-libcpp
29081 all-stage4-gcc: all-stage4-libcpp
29082 all-stageprofile-gcc: all-stageprofile-libcpp
29083 all-stagefeedback-gcc: all-stagefeedback-libcpp
29084 all-gcc: maybe-all-build-libiberty
29085 configure-libcpp: configure-libiberty
29087 configure-stage1-libcpp: configure-stage1-libiberty
29088 configure-stage2-libcpp: configure-stage2-libiberty
29089 configure-stage3-libcpp: configure-stage3-libiberty
29090 configure-stage4-libcpp: configure-stage4-libiberty
29091 configure-stageprofile-libcpp: configure-stageprofile-libiberty
29092 configure-stagefeedback-libcpp: configure-stagefeedback-libiberty
29093 configure-libcpp: maybe-configure-intl
29095 configure-stage1-libcpp: maybe-configure-stage1-intl
29096 configure-stage2-libcpp: maybe-configure-stage2-intl
29097 configure-stage3-libcpp: maybe-configure-stage3-intl
29098 configure-stage4-libcpp: maybe-configure-stage4-intl
29099 configure-stageprofile-libcpp: maybe-configure-stageprofile-intl
29100 configure-stagefeedback-libcpp: maybe-configure-stagefeedback-intl
29101 all-libcpp: all-libiberty
29103 all-stage1-libcpp: all-stage1-libiberty
29104 all-stage2-libcpp: all-stage2-libiberty
29105 all-stage3-libcpp: all-stage3-libiberty
29106 all-stage4-libcpp: all-stage4-libiberty
29107 all-stageprofile-libcpp: all-stageprofile-libiberty
29108 all-stagefeedback-libcpp: all-stagefeedback-libiberty
29109 all-libcpp: maybe-all-intl
29111 all-stage1-libcpp: maybe-all-stage1-intl
29112 all-stage2-libcpp: maybe-all-stage2-intl
29113 all-stage3-libcpp: maybe-all-stage3-intl
29114 all-stage4-libcpp: maybe-all-stage4-intl
29115 all-stageprofile-libcpp: maybe-all-stageprofile-intl
29116 all-stagefeedback-libcpp: maybe-all-stagefeedback-intl
29117 configure-gdb: maybe-configure-itcl
29118 configure-gdb: maybe-configure-tcl
29119 configure-gdb: maybe-configure-tk
29120 configure-gdb: maybe-configure-sim
29121 all-gdb: maybe-all-libiberty
29122 all-gdb: maybe-all-opcodes
29123 all-gdb: maybe-all-bfd
29124 all-gdb: maybe-all-readline
29125 all-gdb: maybe-all-bison
29126 all-gdb: maybe-all-byacc
29127 all-gdb: maybe-all-sim
29128 install-gdb: maybe-install-tcl
29129 install-gdb: maybe-install-tk
29130 install-gdb: maybe-install-itcl
29131 install-gdb: maybe-install-libgui
29132 configure-libgui: maybe-configure-tcl
29133 configure-libgui: maybe-configure-tk
29134 all-libgui: maybe-all-tcl
29135 all-libgui: maybe-all-tk
29136 all-libgui: maybe-all-itcl
29137 configure-bfd: configure-libiberty
29139 configure-stage1-bfd: configure-stage1-libiberty
29140 configure-stage2-bfd: configure-stage2-libiberty
29141 configure-stage3-bfd: configure-stage3-libiberty
29142 configure-stage4-bfd: configure-stage4-libiberty
29143 configure-stageprofile-bfd: configure-stageprofile-libiberty
29144 configure-stagefeedback-bfd: configure-stagefeedback-libiberty
29145 all-bfd: maybe-all-libiberty
29147 all-stage1-bfd: maybe-all-stage1-libiberty
29148 all-stage2-bfd: maybe-all-stage2-libiberty
29149 all-stage3-bfd: maybe-all-stage3-libiberty
29150 all-stage4-bfd: maybe-all-stage4-libiberty
29151 all-stageprofile-bfd: maybe-all-stageprofile-libiberty
29152 all-stagefeedback-bfd: maybe-all-stagefeedback-libiberty
29153 all-bfd: maybe-all-intl
29155 all-stage1-bfd: maybe-all-stage1-intl
29156 all-stage2-bfd: maybe-all-stage2-intl
29157 all-stage3-bfd: maybe-all-stage3-intl
29158 all-stage4-bfd: maybe-all-stage4-intl
29159 all-stageprofile-bfd: maybe-all-stageprofile-intl
29160 all-stagefeedback-bfd: maybe-all-stagefeedback-intl
29161 all-binutils: maybe-all-libiberty
29163 all-stage1-binutils: maybe-all-stage1-libiberty
29164 all-stage2-binutils: maybe-all-stage2-libiberty
29165 all-stage3-binutils: maybe-all-stage3-libiberty
29166 all-stage4-binutils: maybe-all-stage4-libiberty
29167 all-stageprofile-binutils: maybe-all-stageprofile-libiberty
29168 all-stagefeedback-binutils: maybe-all-stagefeedback-libiberty
29169 all-binutils: maybe-all-opcodes
29171 all-stage1-binutils: maybe-all-stage1-opcodes
29172 all-stage2-binutils: maybe-all-stage2-opcodes
29173 all-stage3-binutils: maybe-all-stage3-opcodes
29174 all-stage4-binutils: maybe-all-stage4-opcodes
29175 all-stageprofile-binutils: maybe-all-stageprofile-opcodes
29176 all-stagefeedback-binutils: maybe-all-stagefeedback-opcodes
29177 all-binutils: maybe-all-bfd
29179 all-stage1-binutils: maybe-all-stage1-bfd
29180 all-stage2-binutils: maybe-all-stage2-bfd
29181 all-stage3-binutils: maybe-all-stage3-bfd
29182 all-stage4-binutils: maybe-all-stage4-bfd
29183 all-stageprofile-binutils: maybe-all-stageprofile-bfd
29184 all-stagefeedback-binutils: maybe-all-stagefeedback-bfd
29185 all-binutils: maybe-all-flex
29186 all-binutils: maybe-all-bison
29187 all-binutils: maybe-all-byacc
29188 all-binutils: maybe-all-intl
29190 all-stage1-binutils: maybe-all-stage1-intl
29191 all-stage2-binutils: maybe-all-stage2-intl
29192 all-stage3-binutils: maybe-all-stage3-intl
29193 all-stage4-binutils: maybe-all-stage4-intl
29194 all-stageprofile-binutils: maybe-all-stageprofile-intl
29195 all-stagefeedback-binutils: maybe-all-stagefeedback-intl
29196 install-binutils: maybe-install-opcodes
29197 install-opcodes: maybe-install-bfd
29198 all-gas: maybe-all-libiberty
29200 all-stage1-gas: maybe-all-stage1-libiberty
29201 all-stage2-gas: maybe-all-stage2-libiberty
29202 all-stage3-gas: maybe-all-stage3-libiberty
29203 all-stage4-gas: maybe-all-stage4-libiberty
29204 all-stageprofile-gas: maybe-all-stageprofile-libiberty
29205 all-stagefeedback-gas: maybe-all-stagefeedback-libiberty
29206 all-gas: maybe-all-opcodes
29208 all-stage1-gas: maybe-all-stage1-opcodes
29209 all-stage2-gas: maybe-all-stage2-opcodes
29210 all-stage3-gas: maybe-all-stage3-opcodes
29211 all-stage4-gas: maybe-all-stage4-opcodes
29212 all-stageprofile-gas: maybe-all-stageprofile-opcodes
29213 all-stagefeedback-gas: maybe-all-stagefeedback-opcodes
29214 all-gas: maybe-all-bfd
29216 all-stage1-gas: maybe-all-stage1-bfd
29217 all-stage2-gas: maybe-all-stage2-bfd
29218 all-stage3-gas: maybe-all-stage3-bfd
29219 all-stage4-gas: maybe-all-stage4-bfd
29220 all-stageprofile-gas: maybe-all-stageprofile-bfd
29221 all-stagefeedback-gas: maybe-all-stagefeedback-bfd
29222 all-gas: maybe-all-intl
29224 all-stage1-gas: maybe-all-stage1-intl
29225 all-stage2-gas: maybe-all-stage2-intl
29226 all-stage3-gas: maybe-all-stage3-intl
29227 all-stage4-gas: maybe-all-stage4-intl
29228 all-stageprofile-gas: maybe-all-stageprofile-intl
29229 all-stagefeedback-gas: maybe-all-stagefeedback-intl
29230 all-gprof: maybe-all-libiberty
29231 all-gprof: maybe-all-bfd
29232 all-gprof: maybe-all-opcodes
29233 all-gprof: maybe-all-intl
29234 all-ld: maybe-all-libiberty
29236 all-stage1-ld: maybe-all-stage1-libiberty
29237 all-stage2-ld: maybe-all-stage2-libiberty
29238 all-stage3-ld: maybe-all-stage3-libiberty
29239 all-stage4-ld: maybe-all-stage4-libiberty
29240 all-stageprofile-ld: maybe-all-stageprofile-libiberty
29241 all-stagefeedback-ld: maybe-all-stagefeedback-libiberty
29242 all-ld: maybe-all-bfd
29244 all-stage1-ld: maybe-all-stage1-bfd
29245 all-stage2-ld: maybe-all-stage2-bfd
29246 all-stage3-ld: maybe-all-stage3-bfd
29247 all-stage4-ld: maybe-all-stage4-bfd
29248 all-stageprofile-ld: maybe-all-stageprofile-bfd
29249 all-stagefeedback-ld: maybe-all-stagefeedback-bfd
29250 all-ld: maybe-all-opcodes
29252 all-stage1-ld: maybe-all-stage1-opcodes
29253 all-stage2-ld: maybe-all-stage2-opcodes
29254 all-stage3-ld: maybe-all-stage3-opcodes
29255 all-stage4-ld: maybe-all-stage4-opcodes
29256 all-stageprofile-ld: maybe-all-stageprofile-opcodes
29257 all-stagefeedback-ld: maybe-all-stagefeedback-opcodes
29258 all-ld: maybe-all-bison
29259 all-ld: maybe-all-byacc
29260 all-ld: maybe-all-flex
29261 all-ld: maybe-all-intl
29263 all-stage1-ld: maybe-all-stage1-intl
29264 all-stage2-ld: maybe-all-stage2-intl
29265 all-stage3-ld: maybe-all-stage3-intl
29266 all-stage4-ld: maybe-all-stage4-intl
29267 all-stageprofile-ld: maybe-all-stageprofile-intl
29268 all-stagefeedback-ld: maybe-all-stagefeedback-intl
29269 all-opcodes: maybe-all-bfd
29271 all-stage1-opcodes: maybe-all-stage1-bfd
29272 all-stage2-opcodes: maybe-all-stage2-bfd
29273 all-stage3-opcodes: maybe-all-stage3-bfd
29274 all-stage4-opcodes: maybe-all-stage4-bfd
29275 all-stageprofile-opcodes: maybe-all-stageprofile-bfd
29276 all-stagefeedback-opcodes: maybe-all-stagefeedback-bfd
29277 all-opcodes: maybe-all-libiberty
29279 all-stage1-opcodes: maybe-all-stage1-libiberty
29280 all-stage2-opcodes: maybe-all-stage2-libiberty
29281 all-stage3-opcodes: maybe-all-stage3-libiberty
29282 all-stage4-opcodes: maybe-all-stage4-libiberty
29283 all-stageprofile-opcodes: maybe-all-stageprofile-libiberty
29284 all-stagefeedback-opcodes: maybe-all-stagefeedback-libiberty
29285 all-dejagnu: maybe-all-tcl
29286 all-dejagnu: maybe-all-expect
29287 all-dejagnu: maybe-all-tk
29288 configure-expect: maybe-configure-tcl
29289 configure-expect: maybe-configure-tk
29290 all-expect: maybe-all-tcl
29291 all-expect: maybe-all-tk
29292 configure-itcl: maybe-configure-tcl
29293 configure-itcl: maybe-configure-tk
29294 all-itcl: maybe-all-tcl
29295 all-itcl: maybe-all-tk
29296 install-itcl: maybe-install-tcl
29297 configure-tk: maybe-configure-tcl
29298 all-tk: maybe-all-tcl
29299 all-sid: maybe-all-libiberty
29300 all-sid: maybe-all-bfd
29301 all-sid: maybe-all-opcodes
29302 all-sid: maybe-all-tcl
29303 all-sid: maybe-all-tk
29304 install-sid: maybe-install-tcl
29305 install-sid: maybe-install-tk
29306 all-sim: maybe-all-libiberty
29307 all-sim: maybe-all-bfd
29308 all-sim: maybe-all-opcodes
29309 all-sim: maybe-all-readline
29310 all-sim: maybe-configure-gdb
29311 all-fastjar: maybe-all-zlib
29312 all-fastjar: maybe-all-texinfo
29313 all-fastjar: maybe-all-libiberty
29314 all-autoconf: maybe-all-m4
29315 all-autoconf: maybe-all-texinfo
29316 all-automake: maybe-all-m4
29317 all-automake: maybe-all-texinfo
29318 all-automake: maybe-all-autoconf
29319 all-bison: maybe-all-intl
29320 all-bison: maybe-all-texinfo
29321 all-diff: maybe-all-intl
29322 all-diff: maybe-all-texinfo
29323 all-fileutils: maybe-all-intl
29324 all-fileutils: maybe-all-texinfo
29325 all-flex: maybe-all-bison
29326 all-flex: maybe-all-byacc
29327 all-flex: maybe-all-intl
29328 all-flex: maybe-all-m4
29329 all-flex: maybe-all-texinfo
29330 all-gzip: maybe-all-intl
29331 all-gzip: maybe-all-zlib
29332 all-gzip: maybe-all-texinfo
29333 all-hello: maybe-all-intl
29334 all-hello: maybe-all-texinfo
29335 all-m4: maybe-all-intl
29336 all-m4: maybe-all-texinfo
29337 all-make: maybe-all-intl
29338 all-make: maybe-all-texinfo
29339 all-patch: maybe-all-texinfo
29340 all-make: maybe-all-texinfo
29341 all-prms: maybe-all-libiberty
29342 all-recode: maybe-all-texinfo
29343 all-sed: maybe-all-texinfo
29344 all-send-pr: maybe-all-prms
29345 all-tar: maybe-all-texinfo
29346 all-uudecode: maybe-all-texinfo
29347 configure-target-boehm-gc: maybe-configure-target-qthreads
29348 configure-target-fastjar: maybe-configure-target-zlib
29349 all-target-fastjar: maybe-all-target-zlib
29350 all-target-fastjar: maybe-all-target-libiberty
29351 configure-target-libjava: maybe-configure-target-zlib
29352 configure-target-libjava: maybe-configure-target-boehm-gc
29353 configure-target-libjava: maybe-configure-target-qthreads
29354 configure-target-libjava: maybe-configure-target-libffi
29355 all-target-libjava: maybe-all-fastjar
29356 all-target-libjava: maybe-all-target-zlib
29357 all-target-libjava: maybe-all-target-boehm-gc
29358 all-target-libjava: maybe-all-target-qthreads
29359 all-target-libjava: maybe-all-target-libffi
29360 all-target-libobjc: maybe-all-target-libiberty
29361 all-target-libstdc++-v3: maybe-all-target-libiberty
29362 all-target-libgloss: maybe-configure-target-newlib
29363 all-target-winsup: maybe-all-target-libiberty
29364 all-target-winsup: maybe-all-target-libtermcap
29367 # Now build the prebootstrap dependencies.
29369 all-prebootstrap: maybe-all-bison
29370 all-prebootstrap: maybe-all-byacc
29371 all-prebootstrap: maybe-all-flex
29372 all-prebootstrap: maybe-all-texinfo
29374 # Unless toplevel bootstrap is going, bootstrapped packages are actually
29375 # prebootstrapped, with the exception of gcc. Another wart that will go
29376 # away with toplevel bootstrap.
29377 @if gcc-no-bootstrap
29379 all-prebootstrap: maybe-all-bfd
29380 all-prebootstrap: maybe-all-opcodes
29381 all-prebootstrap: maybe-all-binutils
29382 all-prebootstrap: maybe-all-gas
29383 all-prebootstrap: maybe-all-intl
29384 all-prebootstrap: maybe-all-ld
29385 all-prebootstrap: maybe-all-libcpp
29386 all-prebootstrap: maybe-all-libbanshee
29387 all-prebootstrap: maybe-all-libiberty
29388 all-prebootstrap: maybe-all-zlib
29389 @endif gcc-no-bootstrap
29391 GDB_TK = @GDB_TK@
29392 all-gdb: $(gdbnlmrequirements) $(GDB_TK)
29394 # Serialization dependencies. Host configures don't work well in parallel to
29395 # each other, due to contention over config.cache. Target configures and
29396 # build configures are similar.
29397 @serialization_dependencies@
29399 # --------------------------------
29400 # Regenerating top level configury
29401 # --------------------------------
29403 # Multilib.out tells target dirs what multilibs they should build.
29404 # There is really only one copy. We use the 'timestamp' method to
29405 # work around various timestamp bugs on some systems.
29406 # We use move-if-change so that it's only considered updated when it
29407 # actually changes, because it has to depend on a phony target.
29408 multilib.out: maybe-all-gcc
29409 @r=`${PWD_COMMAND}`; export r; \
29410 echo "Checking multilib configuration..."; \
29411 $(CC_FOR_TARGET) --print-multi-lib > multilib.tmp 2> /dev/null ; \
29412 $(SHELL) $(srcdir)/move-if-change multilib.tmp multilib.out ; \
29414 # Rebuilding Makefile.in, using autogen.
29415 AUTOGEN = autogen
29416 $(srcdir)/Makefile.in: @MAINT@ $(srcdir)/Makefile.tpl $(srcdir)/Makefile.def
29417 cd $(srcdir) && $(AUTOGEN) Makefile.def
29419 # Rebuilding Makefile.
29420 Makefile: $(srcdir)/Makefile.in config.status
29421 CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
29423 config.status: configure $(gcc_version_trigger)
29424 CONFIG_SHELL="$(SHELL)" $(SHELL) ./config.status --recheck
29426 # Rebuilding configure.
29427 AUTOCONF = autoconf
29428 $(srcdir)/configure: @MAINT@ $(srcdir)/configure.in $(srcdir)/config/acx.m4
29429 cd $(srcdir) && $(AUTOCONF)
29431 # ------------------------------
29432 # Special directives to GNU Make
29433 # ------------------------------
29435 # Don't pass command-line variables to submakes.
29436 .NOEXPORT:
29437 MAKEOVERRIDES=
29439 # end of Makefile.in