PR tree-optimization/16864
[official-gcc.git] / Makefile.in
blob1b19b21ea4b5e6e99723d4cad456e13b65e57415
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-tix \
719 maybe-configure-libtermcap \
720 maybe-configure-utils
721 .PHONY: configure-target
722 configure-target: \
723 maybe-configure-target-libstdc++-v3 \
724 maybe-configure-target-libmudflap \
725 maybe-configure-target-newlib \
726 maybe-configure-target-libgfortran \
727 maybe-configure-target-libobjc \
728 maybe-configure-target-libtermcap \
729 maybe-configure-target-winsup \
730 maybe-configure-target-libgloss \
731 maybe-configure-target-libiberty \
732 maybe-configure-target-gperf \
733 maybe-configure-target-examples \
734 maybe-configure-target-libffi \
735 maybe-configure-target-libjava \
736 maybe-configure-target-zlib \
737 maybe-configure-target-boehm-gc \
738 maybe-configure-target-qthreads \
739 maybe-configure-target-rda \
740 maybe-configure-target-libada
742 # The target built for a native non-bootstrap build.
743 .PHONY: all
744 all: unstage all-build all-host all-target stage
746 .PHONY: all-build
747 all-build: \
748 maybe-all-build-libiberty \
749 maybe-all-build-libbanshee \
750 maybe-all-build-bison \
751 maybe-all-build-byacc \
752 maybe-all-build-flex \
753 maybe-all-build-m4 \
754 maybe-all-build-texinfo
755 .PHONY: all-host
756 all-host: \
757 maybe-all-ash \
758 maybe-all-autoconf \
759 maybe-all-automake \
760 maybe-all-bash \
761 maybe-all-bfd \
762 maybe-all-opcodes \
763 maybe-all-binutils \
764 maybe-all-bison \
765 maybe-all-byacc \
766 maybe-all-bzip2 \
767 maybe-all-dejagnu \
768 maybe-all-diff \
769 maybe-all-dosutils \
770 maybe-all-etc \
771 maybe-all-fastjar \
772 maybe-all-fileutils \
773 maybe-all-findutils \
774 maybe-all-find \
775 maybe-all-flex \
776 maybe-all-gas \
777 maybe-all-gcc \
778 maybe-all-gawk \
779 maybe-all-gettext \
780 maybe-all-gnuserv \
781 maybe-all-gprof \
782 maybe-all-gzip \
783 maybe-all-hello \
784 maybe-all-indent \
785 maybe-all-intl \
786 maybe-all-tcl \
787 maybe-all-itcl \
788 maybe-all-ld \
789 maybe-all-libcpp \
790 maybe-all-libgui \
791 maybe-all-libbanshee \
792 maybe-all-libiberty \
793 maybe-all-libtool \
794 maybe-all-m4 \
795 maybe-all-make \
796 maybe-all-mmalloc \
797 maybe-all-patch \
798 maybe-all-perl \
799 maybe-all-prms \
800 maybe-all-rcs \
801 maybe-all-readline \
802 maybe-all-release \
803 maybe-all-recode \
804 maybe-all-sed \
805 maybe-all-send-pr \
806 maybe-all-shellutils \
807 maybe-all-sid \
808 maybe-all-sim \
809 maybe-all-tar \
810 maybe-all-texinfo \
811 maybe-all-textutils \
812 maybe-all-time \
813 maybe-all-uudecode \
814 maybe-all-wdiff \
815 maybe-all-zip \
816 maybe-all-zlib \
817 maybe-all-gdb \
818 maybe-all-expect \
819 maybe-all-guile \
820 maybe-all-tk \
821 maybe-all-tix \
822 maybe-all-libtermcap \
823 maybe-all-utils
824 .PHONY: all-target
825 all-target: \
826 maybe-all-target-libstdc++-v3 \
827 maybe-all-target-libmudflap \
828 maybe-all-target-newlib \
829 maybe-all-target-libgfortran \
830 maybe-all-target-libobjc \
831 maybe-all-target-libtermcap \
832 maybe-all-target-winsup \
833 maybe-all-target-libgloss \
834 maybe-all-target-libiberty \
835 maybe-all-target-gperf \
836 maybe-all-target-examples \
837 maybe-all-target-libffi \
838 maybe-all-target-libjava \
839 maybe-all-target-zlib \
840 maybe-all-target-boehm-gc \
841 maybe-all-target-qthreads \
842 maybe-all-target-rda \
843 maybe-all-target-libada
845 # Do a target for all the subdirectories. A ``make do-X'' will do a
846 # ``make X'' in all subdirectories (because, in general, there is a
847 # dependency (below) of X upon do-X, a ``make X'' will also do this,
848 # but it may do additional work as well).
850 .PHONY: do-info
851 do-info: unstage info-host info-target stage
853 .PHONY: info-host
854 info-host: \
855 maybe-info-ash \
856 maybe-info-autoconf \
857 maybe-info-automake \
858 maybe-info-bash \
859 maybe-info-bfd \
860 maybe-info-opcodes \
861 maybe-info-binutils \
862 maybe-info-bison \
863 maybe-info-byacc \
864 maybe-info-bzip2 \
865 maybe-info-dejagnu \
866 maybe-info-diff \
867 maybe-info-dosutils \
868 maybe-info-etc \
869 maybe-info-fastjar \
870 maybe-info-fileutils \
871 maybe-info-findutils \
872 maybe-info-find \
873 maybe-info-flex \
874 maybe-info-gas \
875 maybe-info-gcc \
876 maybe-info-gawk \
877 maybe-info-gettext \
878 maybe-info-gnuserv \
879 maybe-info-gprof \
880 maybe-info-gzip \
881 maybe-info-hello \
882 maybe-info-indent \
883 maybe-info-intl \
884 maybe-info-tcl \
885 maybe-info-itcl \
886 maybe-info-ld \
887 maybe-info-libcpp \
888 maybe-info-libgui \
889 maybe-info-libbanshee \
890 maybe-info-libiberty \
891 maybe-info-libtool \
892 maybe-info-m4 \
893 maybe-info-make \
894 maybe-info-mmalloc \
895 maybe-info-patch \
896 maybe-info-perl \
897 maybe-info-prms \
898 maybe-info-rcs \
899 maybe-info-readline \
900 maybe-info-release \
901 maybe-info-recode \
902 maybe-info-sed \
903 maybe-info-send-pr \
904 maybe-info-shellutils \
905 maybe-info-sid \
906 maybe-info-sim \
907 maybe-info-tar \
908 maybe-info-texinfo \
909 maybe-info-textutils \
910 maybe-info-time \
911 maybe-info-uudecode \
912 maybe-info-wdiff \
913 maybe-info-zip \
914 maybe-info-zlib \
915 maybe-info-gdb \
916 maybe-info-expect \
917 maybe-info-guile \
918 maybe-info-tk \
919 maybe-info-tix \
920 maybe-info-libtermcap \
921 maybe-info-utils
923 .PHONY: info-target
924 info-target: \
925 maybe-info-target-libstdc++-v3 \
926 maybe-info-target-libmudflap \
927 maybe-info-target-newlib \
928 maybe-info-target-libgfortran \
929 maybe-info-target-libobjc \
930 maybe-info-target-libtermcap \
931 maybe-info-target-winsup \
932 maybe-info-target-libgloss \
933 maybe-info-target-libiberty \
934 maybe-info-target-gperf \
935 maybe-info-target-examples \
936 maybe-info-target-libffi \
937 maybe-info-target-libjava \
938 maybe-info-target-zlib \
939 maybe-info-target-boehm-gc \
940 maybe-info-target-qthreads \
941 maybe-info-target-rda \
942 maybe-info-target-libada
944 .PHONY: do-dvi
945 do-dvi: unstage dvi-host dvi-target stage
947 .PHONY: dvi-host
948 dvi-host: \
949 maybe-dvi-ash \
950 maybe-dvi-autoconf \
951 maybe-dvi-automake \
952 maybe-dvi-bash \
953 maybe-dvi-bfd \
954 maybe-dvi-opcodes \
955 maybe-dvi-binutils \
956 maybe-dvi-bison \
957 maybe-dvi-byacc \
958 maybe-dvi-bzip2 \
959 maybe-dvi-dejagnu \
960 maybe-dvi-diff \
961 maybe-dvi-dosutils \
962 maybe-dvi-etc \
963 maybe-dvi-fastjar \
964 maybe-dvi-fileutils \
965 maybe-dvi-findutils \
966 maybe-dvi-find \
967 maybe-dvi-flex \
968 maybe-dvi-gas \
969 maybe-dvi-gcc \
970 maybe-dvi-gawk \
971 maybe-dvi-gettext \
972 maybe-dvi-gnuserv \
973 maybe-dvi-gprof \
974 maybe-dvi-gzip \
975 maybe-dvi-hello \
976 maybe-dvi-indent \
977 maybe-dvi-intl \
978 maybe-dvi-tcl \
979 maybe-dvi-itcl \
980 maybe-dvi-ld \
981 maybe-dvi-libcpp \
982 maybe-dvi-libgui \
983 maybe-dvi-libbanshee \
984 maybe-dvi-libiberty \
985 maybe-dvi-libtool \
986 maybe-dvi-m4 \
987 maybe-dvi-make \
988 maybe-dvi-mmalloc \
989 maybe-dvi-patch \
990 maybe-dvi-perl \
991 maybe-dvi-prms \
992 maybe-dvi-rcs \
993 maybe-dvi-readline \
994 maybe-dvi-release \
995 maybe-dvi-recode \
996 maybe-dvi-sed \
997 maybe-dvi-send-pr \
998 maybe-dvi-shellutils \
999 maybe-dvi-sid \
1000 maybe-dvi-sim \
1001 maybe-dvi-tar \
1002 maybe-dvi-texinfo \
1003 maybe-dvi-textutils \
1004 maybe-dvi-time \
1005 maybe-dvi-uudecode \
1006 maybe-dvi-wdiff \
1007 maybe-dvi-zip \
1008 maybe-dvi-zlib \
1009 maybe-dvi-gdb \
1010 maybe-dvi-expect \
1011 maybe-dvi-guile \
1012 maybe-dvi-tk \
1013 maybe-dvi-tix \
1014 maybe-dvi-libtermcap \
1015 maybe-dvi-utils
1017 .PHONY: dvi-target
1018 dvi-target: \
1019 maybe-dvi-target-libstdc++-v3 \
1020 maybe-dvi-target-libmudflap \
1021 maybe-dvi-target-newlib \
1022 maybe-dvi-target-libgfortran \
1023 maybe-dvi-target-libobjc \
1024 maybe-dvi-target-libtermcap \
1025 maybe-dvi-target-winsup \
1026 maybe-dvi-target-libgloss \
1027 maybe-dvi-target-libiberty \
1028 maybe-dvi-target-gperf \
1029 maybe-dvi-target-examples \
1030 maybe-dvi-target-libffi \
1031 maybe-dvi-target-libjava \
1032 maybe-dvi-target-zlib \
1033 maybe-dvi-target-boehm-gc \
1034 maybe-dvi-target-qthreads \
1035 maybe-dvi-target-rda \
1036 maybe-dvi-target-libada
1038 .PHONY: do-TAGS
1039 do-TAGS: unstage TAGS-host TAGS-target stage
1041 .PHONY: TAGS-host
1042 TAGS-host: \
1043 maybe-TAGS-ash \
1044 maybe-TAGS-autoconf \
1045 maybe-TAGS-automake \
1046 maybe-TAGS-bash \
1047 maybe-TAGS-bfd \
1048 maybe-TAGS-opcodes \
1049 maybe-TAGS-binutils \
1050 maybe-TAGS-bison \
1051 maybe-TAGS-byacc \
1052 maybe-TAGS-bzip2 \
1053 maybe-TAGS-dejagnu \
1054 maybe-TAGS-diff \
1055 maybe-TAGS-dosutils \
1056 maybe-TAGS-etc \
1057 maybe-TAGS-fastjar \
1058 maybe-TAGS-fileutils \
1059 maybe-TAGS-findutils \
1060 maybe-TAGS-find \
1061 maybe-TAGS-flex \
1062 maybe-TAGS-gas \
1063 maybe-TAGS-gcc \
1064 maybe-TAGS-gawk \
1065 maybe-TAGS-gettext \
1066 maybe-TAGS-gnuserv \
1067 maybe-TAGS-gprof \
1068 maybe-TAGS-gzip \
1069 maybe-TAGS-hello \
1070 maybe-TAGS-indent \
1071 maybe-TAGS-intl \
1072 maybe-TAGS-tcl \
1073 maybe-TAGS-itcl \
1074 maybe-TAGS-ld \
1075 maybe-TAGS-libcpp \
1076 maybe-TAGS-libgui \
1077 maybe-TAGS-libbanshee \
1078 maybe-TAGS-libiberty \
1079 maybe-TAGS-libtool \
1080 maybe-TAGS-m4 \
1081 maybe-TAGS-make \
1082 maybe-TAGS-mmalloc \
1083 maybe-TAGS-patch \
1084 maybe-TAGS-perl \
1085 maybe-TAGS-prms \
1086 maybe-TAGS-rcs \
1087 maybe-TAGS-readline \
1088 maybe-TAGS-release \
1089 maybe-TAGS-recode \
1090 maybe-TAGS-sed \
1091 maybe-TAGS-send-pr \
1092 maybe-TAGS-shellutils \
1093 maybe-TAGS-sid \
1094 maybe-TAGS-sim \
1095 maybe-TAGS-tar \
1096 maybe-TAGS-texinfo \
1097 maybe-TAGS-textutils \
1098 maybe-TAGS-time \
1099 maybe-TAGS-uudecode \
1100 maybe-TAGS-wdiff \
1101 maybe-TAGS-zip \
1102 maybe-TAGS-zlib \
1103 maybe-TAGS-gdb \
1104 maybe-TAGS-expect \
1105 maybe-TAGS-guile \
1106 maybe-TAGS-tk \
1107 maybe-TAGS-tix \
1108 maybe-TAGS-libtermcap \
1109 maybe-TAGS-utils
1111 .PHONY: TAGS-target
1112 TAGS-target: \
1113 maybe-TAGS-target-libstdc++-v3 \
1114 maybe-TAGS-target-libmudflap \
1115 maybe-TAGS-target-newlib \
1116 maybe-TAGS-target-libgfortran \
1117 maybe-TAGS-target-libobjc \
1118 maybe-TAGS-target-libtermcap \
1119 maybe-TAGS-target-winsup \
1120 maybe-TAGS-target-libgloss \
1121 maybe-TAGS-target-libiberty \
1122 maybe-TAGS-target-gperf \
1123 maybe-TAGS-target-examples \
1124 maybe-TAGS-target-libffi \
1125 maybe-TAGS-target-libjava \
1126 maybe-TAGS-target-zlib \
1127 maybe-TAGS-target-boehm-gc \
1128 maybe-TAGS-target-qthreads \
1129 maybe-TAGS-target-rda \
1130 maybe-TAGS-target-libada
1132 .PHONY: do-install-info
1133 do-install-info: unstage install-info-host install-info-target stage
1135 .PHONY: install-info-host
1136 install-info-host: \
1137 maybe-install-info-ash \
1138 maybe-install-info-autoconf \
1139 maybe-install-info-automake \
1140 maybe-install-info-bash \
1141 maybe-install-info-bfd \
1142 maybe-install-info-opcodes \
1143 maybe-install-info-binutils \
1144 maybe-install-info-bison \
1145 maybe-install-info-byacc \
1146 maybe-install-info-bzip2 \
1147 maybe-install-info-dejagnu \
1148 maybe-install-info-diff \
1149 maybe-install-info-dosutils \
1150 maybe-install-info-etc \
1151 maybe-install-info-fastjar \
1152 maybe-install-info-fileutils \
1153 maybe-install-info-findutils \
1154 maybe-install-info-find \
1155 maybe-install-info-flex \
1156 maybe-install-info-gas \
1157 maybe-install-info-gcc \
1158 maybe-install-info-gawk \
1159 maybe-install-info-gettext \
1160 maybe-install-info-gnuserv \
1161 maybe-install-info-gprof \
1162 maybe-install-info-gzip \
1163 maybe-install-info-hello \
1164 maybe-install-info-indent \
1165 maybe-install-info-intl \
1166 maybe-install-info-tcl \
1167 maybe-install-info-itcl \
1168 maybe-install-info-ld \
1169 maybe-install-info-libcpp \
1170 maybe-install-info-libgui \
1171 maybe-install-info-libbanshee \
1172 maybe-install-info-libiberty \
1173 maybe-install-info-libtool \
1174 maybe-install-info-m4 \
1175 maybe-install-info-make \
1176 maybe-install-info-mmalloc \
1177 maybe-install-info-patch \
1178 maybe-install-info-perl \
1179 maybe-install-info-prms \
1180 maybe-install-info-rcs \
1181 maybe-install-info-readline \
1182 maybe-install-info-release \
1183 maybe-install-info-recode \
1184 maybe-install-info-sed \
1185 maybe-install-info-send-pr \
1186 maybe-install-info-shellutils \
1187 maybe-install-info-sid \
1188 maybe-install-info-sim \
1189 maybe-install-info-tar \
1190 maybe-install-info-texinfo \
1191 maybe-install-info-textutils \
1192 maybe-install-info-time \
1193 maybe-install-info-uudecode \
1194 maybe-install-info-wdiff \
1195 maybe-install-info-zip \
1196 maybe-install-info-zlib \
1197 maybe-install-info-gdb \
1198 maybe-install-info-expect \
1199 maybe-install-info-guile \
1200 maybe-install-info-tk \
1201 maybe-install-info-tix \
1202 maybe-install-info-libtermcap \
1203 maybe-install-info-utils
1205 .PHONY: install-info-target
1206 install-info-target: \
1207 maybe-install-info-target-libstdc++-v3 \
1208 maybe-install-info-target-libmudflap \
1209 maybe-install-info-target-newlib \
1210 maybe-install-info-target-libgfortran \
1211 maybe-install-info-target-libobjc \
1212 maybe-install-info-target-libtermcap \
1213 maybe-install-info-target-winsup \
1214 maybe-install-info-target-libgloss \
1215 maybe-install-info-target-libiberty \
1216 maybe-install-info-target-gperf \
1217 maybe-install-info-target-examples \
1218 maybe-install-info-target-libffi \
1219 maybe-install-info-target-libjava \
1220 maybe-install-info-target-zlib \
1221 maybe-install-info-target-boehm-gc \
1222 maybe-install-info-target-qthreads \
1223 maybe-install-info-target-rda \
1224 maybe-install-info-target-libada
1226 .PHONY: do-installcheck
1227 do-installcheck: unstage installcheck-host installcheck-target stage
1229 .PHONY: installcheck-host
1230 installcheck-host: \
1231 maybe-installcheck-ash \
1232 maybe-installcheck-autoconf \
1233 maybe-installcheck-automake \
1234 maybe-installcheck-bash \
1235 maybe-installcheck-bfd \
1236 maybe-installcheck-opcodes \
1237 maybe-installcheck-binutils \
1238 maybe-installcheck-bison \
1239 maybe-installcheck-byacc \
1240 maybe-installcheck-bzip2 \
1241 maybe-installcheck-dejagnu \
1242 maybe-installcheck-diff \
1243 maybe-installcheck-dosutils \
1244 maybe-installcheck-etc \
1245 maybe-installcheck-fastjar \
1246 maybe-installcheck-fileutils \
1247 maybe-installcheck-findutils \
1248 maybe-installcheck-find \
1249 maybe-installcheck-flex \
1250 maybe-installcheck-gas \
1251 maybe-installcheck-gcc \
1252 maybe-installcheck-gawk \
1253 maybe-installcheck-gettext \
1254 maybe-installcheck-gnuserv \
1255 maybe-installcheck-gprof \
1256 maybe-installcheck-gzip \
1257 maybe-installcheck-hello \
1258 maybe-installcheck-indent \
1259 maybe-installcheck-intl \
1260 maybe-installcheck-tcl \
1261 maybe-installcheck-itcl \
1262 maybe-installcheck-ld \
1263 maybe-installcheck-libcpp \
1264 maybe-installcheck-libgui \
1265 maybe-installcheck-libbanshee \
1266 maybe-installcheck-libiberty \
1267 maybe-installcheck-libtool \
1268 maybe-installcheck-m4 \
1269 maybe-installcheck-make \
1270 maybe-installcheck-mmalloc \
1271 maybe-installcheck-patch \
1272 maybe-installcheck-perl \
1273 maybe-installcheck-prms \
1274 maybe-installcheck-rcs \
1275 maybe-installcheck-readline \
1276 maybe-installcheck-release \
1277 maybe-installcheck-recode \
1278 maybe-installcheck-sed \
1279 maybe-installcheck-send-pr \
1280 maybe-installcheck-shellutils \
1281 maybe-installcheck-sid \
1282 maybe-installcheck-sim \
1283 maybe-installcheck-tar \
1284 maybe-installcheck-texinfo \
1285 maybe-installcheck-textutils \
1286 maybe-installcheck-time \
1287 maybe-installcheck-uudecode \
1288 maybe-installcheck-wdiff \
1289 maybe-installcheck-zip \
1290 maybe-installcheck-zlib \
1291 maybe-installcheck-gdb \
1292 maybe-installcheck-expect \
1293 maybe-installcheck-guile \
1294 maybe-installcheck-tk \
1295 maybe-installcheck-tix \
1296 maybe-installcheck-libtermcap \
1297 maybe-installcheck-utils
1299 .PHONY: installcheck-target
1300 installcheck-target: \
1301 maybe-installcheck-target-libstdc++-v3 \
1302 maybe-installcheck-target-libmudflap \
1303 maybe-installcheck-target-newlib \
1304 maybe-installcheck-target-libgfortran \
1305 maybe-installcheck-target-libobjc \
1306 maybe-installcheck-target-libtermcap \
1307 maybe-installcheck-target-winsup \
1308 maybe-installcheck-target-libgloss \
1309 maybe-installcheck-target-libiberty \
1310 maybe-installcheck-target-gperf \
1311 maybe-installcheck-target-examples \
1312 maybe-installcheck-target-libffi \
1313 maybe-installcheck-target-libjava \
1314 maybe-installcheck-target-zlib \
1315 maybe-installcheck-target-boehm-gc \
1316 maybe-installcheck-target-qthreads \
1317 maybe-installcheck-target-rda \
1318 maybe-installcheck-target-libada
1320 .PHONY: do-mostlyclean
1321 do-mostlyclean: unstage mostlyclean-host mostlyclean-target stage
1323 .PHONY: mostlyclean-host
1324 mostlyclean-host: \
1325 maybe-mostlyclean-ash \
1326 maybe-mostlyclean-autoconf \
1327 maybe-mostlyclean-automake \
1328 maybe-mostlyclean-bash \
1329 maybe-mostlyclean-bfd \
1330 maybe-mostlyclean-opcodes \
1331 maybe-mostlyclean-binutils \
1332 maybe-mostlyclean-bison \
1333 maybe-mostlyclean-byacc \
1334 maybe-mostlyclean-bzip2 \
1335 maybe-mostlyclean-dejagnu \
1336 maybe-mostlyclean-diff \
1337 maybe-mostlyclean-dosutils \
1338 maybe-mostlyclean-etc \
1339 maybe-mostlyclean-fastjar \
1340 maybe-mostlyclean-fileutils \
1341 maybe-mostlyclean-findutils \
1342 maybe-mostlyclean-find \
1343 maybe-mostlyclean-flex \
1344 maybe-mostlyclean-gas \
1345 maybe-mostlyclean-gcc \
1346 maybe-mostlyclean-gawk \
1347 maybe-mostlyclean-gettext \
1348 maybe-mostlyclean-gnuserv \
1349 maybe-mostlyclean-gprof \
1350 maybe-mostlyclean-gzip \
1351 maybe-mostlyclean-hello \
1352 maybe-mostlyclean-indent \
1353 maybe-mostlyclean-intl \
1354 maybe-mostlyclean-tcl \
1355 maybe-mostlyclean-itcl \
1356 maybe-mostlyclean-ld \
1357 maybe-mostlyclean-libcpp \
1358 maybe-mostlyclean-libgui \
1359 maybe-mostlyclean-libbanshee \
1360 maybe-mostlyclean-libiberty \
1361 maybe-mostlyclean-libtool \
1362 maybe-mostlyclean-m4 \
1363 maybe-mostlyclean-make \
1364 maybe-mostlyclean-mmalloc \
1365 maybe-mostlyclean-patch \
1366 maybe-mostlyclean-perl \
1367 maybe-mostlyclean-prms \
1368 maybe-mostlyclean-rcs \
1369 maybe-mostlyclean-readline \
1370 maybe-mostlyclean-release \
1371 maybe-mostlyclean-recode \
1372 maybe-mostlyclean-sed \
1373 maybe-mostlyclean-send-pr \
1374 maybe-mostlyclean-shellutils \
1375 maybe-mostlyclean-sid \
1376 maybe-mostlyclean-sim \
1377 maybe-mostlyclean-tar \
1378 maybe-mostlyclean-texinfo \
1379 maybe-mostlyclean-textutils \
1380 maybe-mostlyclean-time \
1381 maybe-mostlyclean-uudecode \
1382 maybe-mostlyclean-wdiff \
1383 maybe-mostlyclean-zip \
1384 maybe-mostlyclean-zlib \
1385 maybe-mostlyclean-gdb \
1386 maybe-mostlyclean-expect \
1387 maybe-mostlyclean-guile \
1388 maybe-mostlyclean-tk \
1389 maybe-mostlyclean-tix \
1390 maybe-mostlyclean-libtermcap \
1391 maybe-mostlyclean-utils
1393 .PHONY: mostlyclean-target
1394 mostlyclean-target: \
1395 maybe-mostlyclean-target-libstdc++-v3 \
1396 maybe-mostlyclean-target-libmudflap \
1397 maybe-mostlyclean-target-newlib \
1398 maybe-mostlyclean-target-libgfortran \
1399 maybe-mostlyclean-target-libobjc \
1400 maybe-mostlyclean-target-libtermcap \
1401 maybe-mostlyclean-target-winsup \
1402 maybe-mostlyclean-target-libgloss \
1403 maybe-mostlyclean-target-libiberty \
1404 maybe-mostlyclean-target-gperf \
1405 maybe-mostlyclean-target-examples \
1406 maybe-mostlyclean-target-libffi \
1407 maybe-mostlyclean-target-libjava \
1408 maybe-mostlyclean-target-zlib \
1409 maybe-mostlyclean-target-boehm-gc \
1410 maybe-mostlyclean-target-qthreads \
1411 maybe-mostlyclean-target-rda \
1412 maybe-mostlyclean-target-libada
1414 .PHONY: do-clean
1415 do-clean: unstage clean-host clean-target stage
1417 .PHONY: clean-host
1418 clean-host: \
1419 maybe-clean-ash \
1420 maybe-clean-autoconf \
1421 maybe-clean-automake \
1422 maybe-clean-bash \
1423 maybe-clean-bfd \
1424 maybe-clean-opcodes \
1425 maybe-clean-binutils \
1426 maybe-clean-bison \
1427 maybe-clean-byacc \
1428 maybe-clean-bzip2 \
1429 maybe-clean-dejagnu \
1430 maybe-clean-diff \
1431 maybe-clean-dosutils \
1432 maybe-clean-etc \
1433 maybe-clean-fastjar \
1434 maybe-clean-fileutils \
1435 maybe-clean-findutils \
1436 maybe-clean-find \
1437 maybe-clean-flex \
1438 maybe-clean-gas \
1439 maybe-clean-gcc \
1440 maybe-clean-gawk \
1441 maybe-clean-gettext \
1442 maybe-clean-gnuserv \
1443 maybe-clean-gprof \
1444 maybe-clean-gzip \
1445 maybe-clean-hello \
1446 maybe-clean-indent \
1447 maybe-clean-intl \
1448 maybe-clean-tcl \
1449 maybe-clean-itcl \
1450 maybe-clean-ld \
1451 maybe-clean-libcpp \
1452 maybe-clean-libgui \
1453 maybe-clean-libbanshee \
1454 maybe-clean-libiberty \
1455 maybe-clean-libtool \
1456 maybe-clean-m4 \
1457 maybe-clean-make \
1458 maybe-clean-mmalloc \
1459 maybe-clean-patch \
1460 maybe-clean-perl \
1461 maybe-clean-prms \
1462 maybe-clean-rcs \
1463 maybe-clean-readline \
1464 maybe-clean-release \
1465 maybe-clean-recode \
1466 maybe-clean-sed \
1467 maybe-clean-send-pr \
1468 maybe-clean-shellutils \
1469 maybe-clean-sid \
1470 maybe-clean-sim \
1471 maybe-clean-tar \
1472 maybe-clean-texinfo \
1473 maybe-clean-textutils \
1474 maybe-clean-time \
1475 maybe-clean-uudecode \
1476 maybe-clean-wdiff \
1477 maybe-clean-zip \
1478 maybe-clean-zlib \
1479 maybe-clean-gdb \
1480 maybe-clean-expect \
1481 maybe-clean-guile \
1482 maybe-clean-tk \
1483 maybe-clean-tix \
1484 maybe-clean-libtermcap \
1485 maybe-clean-utils
1487 .PHONY: clean-target
1488 clean-target: \
1489 maybe-clean-target-libstdc++-v3 \
1490 maybe-clean-target-libmudflap \
1491 maybe-clean-target-newlib \
1492 maybe-clean-target-libgfortran \
1493 maybe-clean-target-libobjc \
1494 maybe-clean-target-libtermcap \
1495 maybe-clean-target-winsup \
1496 maybe-clean-target-libgloss \
1497 maybe-clean-target-libiberty \
1498 maybe-clean-target-gperf \
1499 maybe-clean-target-examples \
1500 maybe-clean-target-libffi \
1501 maybe-clean-target-libjava \
1502 maybe-clean-target-zlib \
1503 maybe-clean-target-boehm-gc \
1504 maybe-clean-target-qthreads \
1505 maybe-clean-target-rda \
1506 maybe-clean-target-libada
1508 .PHONY: do-distclean
1509 do-distclean: unstage distclean-host distclean-target stage
1511 .PHONY: distclean-host
1512 distclean-host: \
1513 maybe-distclean-ash \
1514 maybe-distclean-autoconf \
1515 maybe-distclean-automake \
1516 maybe-distclean-bash \
1517 maybe-distclean-bfd \
1518 maybe-distclean-opcodes \
1519 maybe-distclean-binutils \
1520 maybe-distclean-bison \
1521 maybe-distclean-byacc \
1522 maybe-distclean-bzip2 \
1523 maybe-distclean-dejagnu \
1524 maybe-distclean-diff \
1525 maybe-distclean-dosutils \
1526 maybe-distclean-etc \
1527 maybe-distclean-fastjar \
1528 maybe-distclean-fileutils \
1529 maybe-distclean-findutils \
1530 maybe-distclean-find \
1531 maybe-distclean-flex \
1532 maybe-distclean-gas \
1533 maybe-distclean-gcc \
1534 maybe-distclean-gawk \
1535 maybe-distclean-gettext \
1536 maybe-distclean-gnuserv \
1537 maybe-distclean-gprof \
1538 maybe-distclean-gzip \
1539 maybe-distclean-hello \
1540 maybe-distclean-indent \
1541 maybe-distclean-intl \
1542 maybe-distclean-tcl \
1543 maybe-distclean-itcl \
1544 maybe-distclean-ld \
1545 maybe-distclean-libcpp \
1546 maybe-distclean-libgui \
1547 maybe-distclean-libbanshee \
1548 maybe-distclean-libiberty \
1549 maybe-distclean-libtool \
1550 maybe-distclean-m4 \
1551 maybe-distclean-make \
1552 maybe-distclean-mmalloc \
1553 maybe-distclean-patch \
1554 maybe-distclean-perl \
1555 maybe-distclean-prms \
1556 maybe-distclean-rcs \
1557 maybe-distclean-readline \
1558 maybe-distclean-release \
1559 maybe-distclean-recode \
1560 maybe-distclean-sed \
1561 maybe-distclean-send-pr \
1562 maybe-distclean-shellutils \
1563 maybe-distclean-sid \
1564 maybe-distclean-sim \
1565 maybe-distclean-tar \
1566 maybe-distclean-texinfo \
1567 maybe-distclean-textutils \
1568 maybe-distclean-time \
1569 maybe-distclean-uudecode \
1570 maybe-distclean-wdiff \
1571 maybe-distclean-zip \
1572 maybe-distclean-zlib \
1573 maybe-distclean-gdb \
1574 maybe-distclean-expect \
1575 maybe-distclean-guile \
1576 maybe-distclean-tk \
1577 maybe-distclean-tix \
1578 maybe-distclean-libtermcap \
1579 maybe-distclean-utils
1581 .PHONY: distclean-target
1582 distclean-target: \
1583 maybe-distclean-target-libstdc++-v3 \
1584 maybe-distclean-target-libmudflap \
1585 maybe-distclean-target-newlib \
1586 maybe-distclean-target-libgfortran \
1587 maybe-distclean-target-libobjc \
1588 maybe-distclean-target-libtermcap \
1589 maybe-distclean-target-winsup \
1590 maybe-distclean-target-libgloss \
1591 maybe-distclean-target-libiberty \
1592 maybe-distclean-target-gperf \
1593 maybe-distclean-target-examples \
1594 maybe-distclean-target-libffi \
1595 maybe-distclean-target-libjava \
1596 maybe-distclean-target-zlib \
1597 maybe-distclean-target-boehm-gc \
1598 maybe-distclean-target-qthreads \
1599 maybe-distclean-target-rda \
1600 maybe-distclean-target-libada
1602 .PHONY: do-maintainer-clean
1603 do-maintainer-clean: unstage maintainer-clean-host maintainer-clean-target stage
1605 .PHONY: maintainer-clean-host
1606 maintainer-clean-host: \
1607 maybe-maintainer-clean-ash \
1608 maybe-maintainer-clean-autoconf \
1609 maybe-maintainer-clean-automake \
1610 maybe-maintainer-clean-bash \
1611 maybe-maintainer-clean-bfd \
1612 maybe-maintainer-clean-opcodes \
1613 maybe-maintainer-clean-binutils \
1614 maybe-maintainer-clean-bison \
1615 maybe-maintainer-clean-byacc \
1616 maybe-maintainer-clean-bzip2 \
1617 maybe-maintainer-clean-dejagnu \
1618 maybe-maintainer-clean-diff \
1619 maybe-maintainer-clean-dosutils \
1620 maybe-maintainer-clean-etc \
1621 maybe-maintainer-clean-fastjar \
1622 maybe-maintainer-clean-fileutils \
1623 maybe-maintainer-clean-findutils \
1624 maybe-maintainer-clean-find \
1625 maybe-maintainer-clean-flex \
1626 maybe-maintainer-clean-gas \
1627 maybe-maintainer-clean-gcc \
1628 maybe-maintainer-clean-gawk \
1629 maybe-maintainer-clean-gettext \
1630 maybe-maintainer-clean-gnuserv \
1631 maybe-maintainer-clean-gprof \
1632 maybe-maintainer-clean-gzip \
1633 maybe-maintainer-clean-hello \
1634 maybe-maintainer-clean-indent \
1635 maybe-maintainer-clean-intl \
1636 maybe-maintainer-clean-tcl \
1637 maybe-maintainer-clean-itcl \
1638 maybe-maintainer-clean-ld \
1639 maybe-maintainer-clean-libcpp \
1640 maybe-maintainer-clean-libgui \
1641 maybe-maintainer-clean-libbanshee \
1642 maybe-maintainer-clean-libiberty \
1643 maybe-maintainer-clean-libtool \
1644 maybe-maintainer-clean-m4 \
1645 maybe-maintainer-clean-make \
1646 maybe-maintainer-clean-mmalloc \
1647 maybe-maintainer-clean-patch \
1648 maybe-maintainer-clean-perl \
1649 maybe-maintainer-clean-prms \
1650 maybe-maintainer-clean-rcs \
1651 maybe-maintainer-clean-readline \
1652 maybe-maintainer-clean-release \
1653 maybe-maintainer-clean-recode \
1654 maybe-maintainer-clean-sed \
1655 maybe-maintainer-clean-send-pr \
1656 maybe-maintainer-clean-shellutils \
1657 maybe-maintainer-clean-sid \
1658 maybe-maintainer-clean-sim \
1659 maybe-maintainer-clean-tar \
1660 maybe-maintainer-clean-texinfo \
1661 maybe-maintainer-clean-textutils \
1662 maybe-maintainer-clean-time \
1663 maybe-maintainer-clean-uudecode \
1664 maybe-maintainer-clean-wdiff \
1665 maybe-maintainer-clean-zip \
1666 maybe-maintainer-clean-zlib \
1667 maybe-maintainer-clean-gdb \
1668 maybe-maintainer-clean-expect \
1669 maybe-maintainer-clean-guile \
1670 maybe-maintainer-clean-tk \
1671 maybe-maintainer-clean-tix \
1672 maybe-maintainer-clean-libtermcap \
1673 maybe-maintainer-clean-utils
1675 .PHONY: maintainer-clean-target
1676 maintainer-clean-target: \
1677 maybe-maintainer-clean-target-libstdc++-v3 \
1678 maybe-maintainer-clean-target-libmudflap \
1679 maybe-maintainer-clean-target-newlib \
1680 maybe-maintainer-clean-target-libgfortran \
1681 maybe-maintainer-clean-target-libobjc \
1682 maybe-maintainer-clean-target-libtermcap \
1683 maybe-maintainer-clean-target-winsup \
1684 maybe-maintainer-clean-target-libgloss \
1685 maybe-maintainer-clean-target-libiberty \
1686 maybe-maintainer-clean-target-gperf \
1687 maybe-maintainer-clean-target-examples \
1688 maybe-maintainer-clean-target-libffi \
1689 maybe-maintainer-clean-target-libjava \
1690 maybe-maintainer-clean-target-zlib \
1691 maybe-maintainer-clean-target-boehm-gc \
1692 maybe-maintainer-clean-target-qthreads \
1693 maybe-maintainer-clean-target-rda \
1694 maybe-maintainer-clean-target-libada
1697 # Here are the targets which correspond to the do-X targets.
1699 .PHONY: info installcheck dvi install-info
1700 .PHONY: clean distclean mostlyclean maintainer-clean realclean
1701 .PHONY: local-clean local-distclean local-maintainer-clean
1702 info: do-info
1703 installcheck: do-installcheck
1704 dvi: do-dvi
1706 # Make sure makeinfo is built before we do a `make info', if we're
1707 # in fact building texinfo.
1708 do-info: maybe-all-texinfo
1710 install-info: do-install-info dir.info
1711 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1712 if [ -f dir.info ] ; then \
1713 $(INSTALL_DATA) dir.info $(DESTDIR)$(infodir)/dir.info ; \
1714 else true ; fi
1716 local-clean:
1717 -rm -f *.a TEMP errs core *.o *~ \#* TAGS *.E *.log
1719 local-distclean:
1720 -rm -f Makefile config.status config.cache mh-frag mt-frag
1721 -rm -f multilib.out multilib.tmp maybedep.tmp serdep.tmp
1722 -if [ "$(TARGET_SUBDIR)" != "." ]; then \
1723 rm -rf $(TARGET_SUBDIR); \
1724 else true; fi
1725 -rm -rf $(BUILD_SUBDIR)
1726 -rm -f texinfo/po/Makefile texinfo/po/Makefile.in texinfo/info/Makefile
1727 -rm -f texinfo/doc/Makefile texinfo/po/POTFILES
1728 -rmdir texinfo/doc texinfo/info texinfo/intl texinfo/lib 2>/dev/null
1729 -rmdir texinfo/makeinfo texinfo/po texinfo/util 2>/dev/null
1730 -rmdir fastjar gcc libiberty texinfo zlib 2>/dev/null
1732 local-maintainer-clean:
1733 @echo "This command is intended for maintainers to use;"
1734 @echo "it deletes files that may require special tools to rebuild."
1736 clean: do-clean local-clean
1737 mostlyclean: do-mostlyclean local-clean
1738 distclean: do-distclean local-clean local-distclean
1739 maintainer-clean: local-maintainer-clean do-maintainer-clean local-clean
1740 maintainer-clean: local-distclean
1741 realclean: maintainer-clean
1743 # Extra dependency for clean-target, owing to the mixed nature of gcc
1744 clean-target: clean-target-libgcc
1745 clean-target-libgcc:
1746 test ! -d gcc/libgcc || \
1747 (cd gcc/libgcc && find . -type d -print) | \
1748 while read d; do rm -f gcc/$$d/libgcc.a || : ; done
1749 -rm -rf gcc/libgcc
1751 # Check target.
1753 .PHONY: check do-check
1754 check: do-check
1756 # Only include modules actually being configured and built.
1757 do-check: unstage \
1758 maybe-check-ash \
1759 maybe-check-autoconf \
1760 maybe-check-automake \
1761 maybe-check-bash \
1762 maybe-check-bfd \
1763 maybe-check-opcodes \
1764 maybe-check-binutils \
1765 maybe-check-bison \
1766 maybe-check-byacc \
1767 maybe-check-bzip2 \
1768 maybe-check-dejagnu \
1769 maybe-check-diff \
1770 maybe-check-dosutils \
1771 maybe-check-etc \
1772 maybe-check-fastjar \
1773 maybe-check-fileutils \
1774 maybe-check-findutils \
1775 maybe-check-find \
1776 maybe-check-flex \
1777 maybe-check-gas \
1778 maybe-check-gcc \
1779 maybe-check-gawk \
1780 maybe-check-gettext \
1781 maybe-check-gnuserv \
1782 maybe-check-gprof \
1783 maybe-check-gzip \
1784 maybe-check-hello \
1785 maybe-check-indent \
1786 maybe-check-intl \
1787 maybe-check-tcl \
1788 maybe-check-itcl \
1789 maybe-check-ld \
1790 maybe-check-libcpp \
1791 maybe-check-libgui \
1792 maybe-check-libbanshee \
1793 maybe-check-libiberty \
1794 maybe-check-libtool \
1795 maybe-check-m4 \
1796 maybe-check-make \
1797 maybe-check-mmalloc \
1798 maybe-check-patch \
1799 maybe-check-perl \
1800 maybe-check-prms \
1801 maybe-check-rcs \
1802 maybe-check-readline \
1803 maybe-check-release \
1804 maybe-check-recode \
1805 maybe-check-sed \
1806 maybe-check-send-pr \
1807 maybe-check-shellutils \
1808 maybe-check-sid \
1809 maybe-check-sim \
1810 maybe-check-tar \
1811 maybe-check-texinfo \
1812 maybe-check-textutils \
1813 maybe-check-time \
1814 maybe-check-uudecode \
1815 maybe-check-wdiff \
1816 maybe-check-zip \
1817 maybe-check-zlib \
1818 maybe-check-gdb \
1819 maybe-check-expect \
1820 maybe-check-guile \
1821 maybe-check-tk \
1822 maybe-check-tix \
1823 maybe-check-libtermcap \
1824 maybe-check-utils \
1825 maybe-check-target-libstdc++-v3 \
1826 maybe-check-target-libmudflap \
1827 maybe-check-target-newlib \
1828 maybe-check-target-libgfortran \
1829 maybe-check-target-libobjc \
1830 maybe-check-target-libtermcap \
1831 maybe-check-target-winsup \
1832 maybe-check-target-libgloss \
1833 maybe-check-target-libiberty \
1834 maybe-check-target-gperf \
1835 maybe-check-target-examples \
1836 maybe-check-target-libffi \
1837 maybe-check-target-libjava \
1838 maybe-check-target-zlib \
1839 maybe-check-target-boehm-gc \
1840 maybe-check-target-qthreads \
1841 maybe-check-target-rda \
1842 maybe-check-target-libada stage
1844 # Automated reporting of test results.
1846 warning.log: build.log
1847 $(srcdir)/contrib/warn_summary build.log > $@
1849 mail-report.log:
1850 if test x'$(BOOT_CFLAGS)' != x''; then \
1851 BOOT_CFLAGS='$(BOOT_CFLAGS)'; export BOOT_CFLAGS; \
1852 fi; \
1853 $(srcdir)/contrib/test_summary -t >$@
1854 chmod +x $@
1855 echo If you really want to send e-mail, run ./$@ now
1857 mail-report-with-warnings.log: warning.log
1858 if test x'$(BOOT_CFLAGS)' != x''; then \
1859 BOOT_CFLAGS='$(BOOT_CFLAGS)'; export BOOT_CFLAGS; \
1860 fi; \
1861 $(srcdir)/contrib/test_summary -t -i warning.log >$@
1862 chmod +x $@
1863 echo If you really want to send e-mail, run ./$@ now
1865 # Installation targets.
1867 .PHONY: install uninstall
1868 install: installdirs install-host install-target
1870 .PHONY: install-host-nogcc
1871 install-host-nogcc: \
1872 maybe-install-ash \
1873 maybe-install-autoconf \
1874 maybe-install-automake \
1875 maybe-install-bash \
1876 maybe-install-bfd \
1877 maybe-install-opcodes \
1878 maybe-install-binutils \
1879 maybe-install-bison \
1880 maybe-install-byacc \
1881 maybe-install-bzip2 \
1882 maybe-install-dejagnu \
1883 maybe-install-diff \
1884 maybe-install-dosutils \
1885 maybe-install-etc \
1886 maybe-install-fastjar \
1887 maybe-install-fileutils \
1888 maybe-install-findutils \
1889 maybe-install-find \
1890 maybe-install-flex \
1891 maybe-install-gas \
1892 maybe-install-gcc \
1893 maybe-install-gawk \
1894 maybe-install-gettext \
1895 maybe-install-gnuserv \
1896 maybe-install-gprof \
1897 maybe-install-gzip \
1898 maybe-install-hello \
1899 maybe-install-indent \
1900 maybe-install-intl \
1901 maybe-install-tcl \
1902 maybe-install-itcl \
1903 maybe-install-ld \
1904 maybe-install-libcpp \
1905 maybe-install-libgui \
1906 maybe-install-libbanshee \
1907 maybe-install-libiberty \
1908 maybe-install-libtool \
1909 maybe-install-m4 \
1910 maybe-install-make \
1911 maybe-install-mmalloc \
1912 maybe-install-patch \
1913 maybe-install-perl \
1914 maybe-install-prms \
1915 maybe-install-rcs \
1916 maybe-install-readline \
1917 maybe-install-release \
1918 maybe-install-recode \
1919 maybe-install-sed \
1920 maybe-install-send-pr \
1921 maybe-install-shellutils \
1922 maybe-install-sid \
1923 maybe-install-sim \
1924 maybe-install-tar \
1925 maybe-install-texinfo \
1926 maybe-install-textutils \
1927 maybe-install-time \
1928 maybe-install-uudecode \
1929 maybe-install-wdiff \
1930 maybe-install-zip \
1931 maybe-install-zlib \
1932 maybe-install-gdb \
1933 maybe-install-expect \
1934 maybe-install-guile \
1935 maybe-install-tk \
1936 maybe-install-tix \
1937 maybe-install-libtermcap \
1938 maybe-install-utils
1940 .PHONY: install-host
1941 install-host: \
1942 maybe-install-ash \
1943 maybe-install-autoconf \
1944 maybe-install-automake \
1945 maybe-install-bash \
1946 maybe-install-bfd \
1947 maybe-install-opcodes \
1948 maybe-install-binutils \
1949 maybe-install-bison \
1950 maybe-install-byacc \
1951 maybe-install-bzip2 \
1952 maybe-install-dejagnu \
1953 maybe-install-diff \
1954 maybe-install-dosutils \
1955 maybe-install-etc \
1956 maybe-install-fastjar \
1957 maybe-install-fileutils \
1958 maybe-install-findutils \
1959 maybe-install-find \
1960 maybe-install-flex \
1961 maybe-install-gas \
1962 maybe-install-gcc \
1963 maybe-install-gawk \
1964 maybe-install-gettext \
1965 maybe-install-gnuserv \
1966 maybe-install-gprof \
1967 maybe-install-gzip \
1968 maybe-install-hello \
1969 maybe-install-indent \
1970 maybe-install-intl \
1971 maybe-install-tcl \
1972 maybe-install-itcl \
1973 maybe-install-ld \
1974 maybe-install-libcpp \
1975 maybe-install-libgui \
1976 maybe-install-libbanshee \
1977 maybe-install-libiberty \
1978 maybe-install-libtool \
1979 maybe-install-m4 \
1980 maybe-install-make \
1981 maybe-install-mmalloc \
1982 maybe-install-patch \
1983 maybe-install-perl \
1984 maybe-install-prms \
1985 maybe-install-rcs \
1986 maybe-install-readline \
1987 maybe-install-release \
1988 maybe-install-recode \
1989 maybe-install-sed \
1990 maybe-install-send-pr \
1991 maybe-install-shellutils \
1992 maybe-install-sid \
1993 maybe-install-sim \
1994 maybe-install-tar \
1995 maybe-install-texinfo \
1996 maybe-install-textutils \
1997 maybe-install-time \
1998 maybe-install-uudecode \
1999 maybe-install-wdiff \
2000 maybe-install-zip \
2001 maybe-install-zlib \
2002 maybe-install-gdb \
2003 maybe-install-expect \
2004 maybe-install-guile \
2005 maybe-install-tk \
2006 maybe-install-tix \
2007 maybe-install-libtermcap \
2008 maybe-install-utils
2010 .PHONY: install-target
2011 install-target: \
2012 maybe-install-target-libstdc++-v3 \
2013 maybe-install-target-libmudflap \
2014 maybe-install-target-newlib \
2015 maybe-install-target-libgfortran \
2016 maybe-install-target-libobjc \
2017 maybe-install-target-libtermcap \
2018 maybe-install-target-winsup \
2019 maybe-install-target-libgloss \
2020 maybe-install-target-libiberty \
2021 maybe-install-target-gperf \
2022 maybe-install-target-examples \
2023 maybe-install-target-libffi \
2024 maybe-install-target-libjava \
2025 maybe-install-target-zlib \
2026 maybe-install-target-boehm-gc \
2027 maybe-install-target-qthreads \
2028 maybe-install-target-rda \
2029 maybe-install-target-libada
2031 uninstall:
2032 @echo "the uninstall target is not supported in this tree"
2034 .PHONY: install.all
2035 install.all: install-no-fixedincludes
2036 @if [ -f ./gcc/Makefile ] ; then \
2037 r=`${PWD_COMMAND}` ; export r ; \
2038 $(SET_LIB_PATH) \
2039 $(HOST_EXPORTS) \
2040 (cd ./gcc && \
2041 $(MAKE) $(FLAGS_TO_PASS) install-headers) ; \
2042 else \
2043 true ; \
2046 # install-no-fixedincludes is used because Cygnus can not distribute
2047 # the fixed header files.
2048 .PHONY: install-no-fixedincludes
2049 install-no-fixedincludes: installdirs install-host-nogcc \
2050 install-target gcc-no-fixedincludes
2052 ### other supporting targets
2054 MAKEDIRS= \
2055 $(DESTDIR)$(prefix) \
2056 $(DESTDIR)$(exec_prefix)
2057 .PHONY: installdirs
2058 installdirs: mkinstalldirs
2059 $(SHELL) $(srcdir)/mkinstalldirs $(MAKEDIRS)
2061 dir.info: do-install-info
2062 if [ -f $(srcdir)/texinfo/gen-info-dir ] ; then \
2063 $(srcdir)/texinfo/gen-info-dir $(DESTDIR)$(infodir) $(srcdir)/texinfo/dir.info-template > dir.info.new ; \
2064 mv -f dir.info.new dir.info ; \
2065 else true ; \
2068 dist:
2069 @echo "Building a full distribution of this tree isn't done"
2070 @echo "via 'make dist'. Check out the etc/ subdirectory"
2072 etags tags: TAGS
2074 # Right now this just builds TAGS in each subdirectory. emacs19 has the
2075 # ability to use several tags files at once, so there is probably no need
2076 # to combine them into one big TAGS file (like CVS 1.3 does). We could
2077 # (if we felt like it) have this Makefile write a piece of elisp which
2078 # the user could load to tell emacs19 where all the TAGS files we just
2079 # built are.
2080 TAGS: do-TAGS
2082 # --------------------------------------
2083 # Modules which run on the build machine
2084 # --------------------------------------
2086 .PHONY: configure-build-libiberty maybe-configure-build-libiberty
2087 maybe-configure-build-libiberty:
2088 @if build-libiberty
2089 maybe-configure-build-libiberty: configure-build-libiberty
2090 configure-build-libiberty:
2091 @test ! -f $(BUILD_SUBDIR)/libiberty/Makefile || exit 0; \
2092 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/libiberty ; \
2093 r=`${PWD_COMMAND}`; export r; \
2094 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2095 $(BUILD_EXPORTS) \
2096 echo Configuring in $(BUILD_SUBDIR)/libiberty; \
2097 cd "$(BUILD_SUBDIR)/libiberty" || exit 1; \
2098 case $(srcdir) in \
2099 /* | [A-Za-z]:[\\/]*) \
2100 topdir=$(srcdir) ;; \
2101 *) \
2102 case "$(BUILD_SUBDIR)" in \
2103 .) topdir="../$(srcdir)" ;; \
2104 *) topdir="../../$(srcdir)" ;; \
2105 esac ;; \
2106 esac; \
2107 if [ "$(srcdir)" = "." ] ; then \
2108 if [ "$(BUILD_SUBDIR)" != "." ] ; then \
2109 if $(SHELL) $$s/symlink-tree $${topdir}/libiberty "no-such-file" ; then \
2110 if [ -f Makefile ]; then \
2111 if $(MAKE) distclean; then \
2112 true; \
2113 else \
2114 exit 1; \
2115 fi; \
2116 else \
2117 true; \
2118 fi; \
2119 else \
2120 exit 1; \
2121 fi; \
2122 else \
2123 true; \
2124 fi; \
2125 srcdiroption="--srcdir=."; \
2126 libsrcdir="."; \
2127 else \
2128 srcdiroption="--srcdir=$${topdir}/libiberty"; \
2129 libsrcdir="$$s/libiberty"; \
2130 fi; \
2131 rm -f no-such-file || : ; \
2132 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2133 $(BUILD_CONFIGARGS) $${srcdiroption} \
2134 --with-build-subdir="$(BUILD_SUBDIR)" \
2135 || exit 1
2136 @endif build-libiberty
2138 .PHONY: all-build-libiberty maybe-all-build-libiberty
2139 maybe-all-build-libiberty:
2140 @if build-libiberty
2141 maybe-all-build-libiberty: all-build-libiberty
2142 all-build-libiberty: configure-build-libiberty
2143 @r=`${PWD_COMMAND}`; export r; \
2144 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2145 $(BUILD_EXPORTS) \
2146 (cd $(BUILD_SUBDIR)/libiberty && $(MAKE) all)
2147 @endif build-libiberty
2149 .PHONY: configure-build-libbanshee maybe-configure-build-libbanshee
2150 maybe-configure-build-libbanshee:
2151 @if build-libbanshee
2152 maybe-configure-build-libbanshee: configure-build-libbanshee
2153 configure-build-libbanshee:
2154 @test ! -f $(BUILD_SUBDIR)/libbanshee/Makefile || exit 0; \
2155 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/libbanshee ; \
2156 r=`${PWD_COMMAND}`; export r; \
2157 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2158 $(BUILD_EXPORTS) \
2159 echo Configuring in $(BUILD_SUBDIR)/libbanshee; \
2160 cd "$(BUILD_SUBDIR)/libbanshee" || exit 1; \
2161 case $(srcdir) in \
2162 /* | [A-Za-z]:[\\/]*) \
2163 topdir=$(srcdir) ;; \
2164 *) \
2165 case "$(BUILD_SUBDIR)" in \
2166 .) topdir="../$(srcdir)" ;; \
2167 *) topdir="../../$(srcdir)" ;; \
2168 esac ;; \
2169 esac; \
2170 if [ "$(srcdir)" = "." ] ; then \
2171 if [ "$(BUILD_SUBDIR)" != "." ] ; then \
2172 if $(SHELL) $$s/symlink-tree $${topdir}/libbanshee "no-such-file" ; then \
2173 if [ -f Makefile ]; then \
2174 if $(MAKE) distclean; then \
2175 true; \
2176 else \
2177 exit 1; \
2178 fi; \
2179 else \
2180 true; \
2181 fi; \
2182 else \
2183 exit 1; \
2184 fi; \
2185 else \
2186 true; \
2187 fi; \
2188 srcdiroption="--srcdir=."; \
2189 libsrcdir="."; \
2190 else \
2191 srcdiroption="--srcdir=$${topdir}/libbanshee"; \
2192 libsrcdir="$$s/libbanshee"; \
2193 fi; \
2194 rm -f no-such-file || : ; \
2195 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2196 $(BUILD_CONFIGARGS) $${srcdiroption} \
2197 --with-build-subdir="$(BUILD_SUBDIR)" \
2198 || exit 1
2199 @endif build-libbanshee
2201 .PHONY: all-build-libbanshee maybe-all-build-libbanshee
2202 maybe-all-build-libbanshee:
2203 @if build-libbanshee
2204 maybe-all-build-libbanshee: all-build-libbanshee
2205 all-build-libbanshee: configure-build-libbanshee
2206 @r=`${PWD_COMMAND}`; export r; \
2207 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2208 $(BUILD_EXPORTS) \
2209 (cd $(BUILD_SUBDIR)/libbanshee && $(MAKE) all)
2210 @endif build-libbanshee
2212 .PHONY: configure-build-bison maybe-configure-build-bison
2213 maybe-configure-build-bison:
2214 @if build-bison
2215 maybe-configure-build-bison: configure-build-bison
2216 configure-build-bison:
2217 @test ! -f $(BUILD_SUBDIR)/bison/Makefile || exit 0; \
2218 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/bison ; \
2219 r=`${PWD_COMMAND}`; export r; \
2220 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2221 $(BUILD_EXPORTS) \
2222 echo Configuring in $(BUILD_SUBDIR)/bison; \
2223 cd "$(BUILD_SUBDIR)/bison" || exit 1; \
2224 case $(srcdir) in \
2225 /* | [A-Za-z]:[\\/]*) \
2226 topdir=$(srcdir) ;; \
2227 *) \
2228 case "$(BUILD_SUBDIR)" in \
2229 .) topdir="../$(srcdir)" ;; \
2230 *) topdir="../../$(srcdir)" ;; \
2231 esac ;; \
2232 esac; \
2233 if [ "$(srcdir)" = "." ] ; then \
2234 if [ "$(BUILD_SUBDIR)" != "." ] ; then \
2235 if $(SHELL) $$s/symlink-tree $${topdir}/bison "no-such-file" ; then \
2236 if [ -f Makefile ]; then \
2237 if $(MAKE) distclean; then \
2238 true; \
2239 else \
2240 exit 1; \
2241 fi; \
2242 else \
2243 true; \
2244 fi; \
2245 else \
2246 exit 1; \
2247 fi; \
2248 else \
2249 true; \
2250 fi; \
2251 srcdiroption="--srcdir=."; \
2252 libsrcdir="."; \
2253 else \
2254 srcdiroption="--srcdir=$${topdir}/bison"; \
2255 libsrcdir="$$s/bison"; \
2256 fi; \
2257 rm -f no-such-file || : ; \
2258 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2259 $(BUILD_CONFIGARGS) $${srcdiroption} \
2260 --with-build-subdir="$(BUILD_SUBDIR)" \
2261 || exit 1
2262 @endif build-bison
2264 .PHONY: all-build-bison maybe-all-build-bison
2265 maybe-all-build-bison:
2266 @if build-bison
2267 maybe-all-build-bison: all-build-bison
2268 all-build-bison: configure-build-bison
2269 @r=`${PWD_COMMAND}`; export r; \
2270 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2271 $(BUILD_EXPORTS) \
2272 (cd $(BUILD_SUBDIR)/bison && $(MAKE) all)
2273 @endif build-bison
2275 .PHONY: configure-build-byacc maybe-configure-build-byacc
2276 maybe-configure-build-byacc:
2277 @if build-byacc
2278 maybe-configure-build-byacc: configure-build-byacc
2279 configure-build-byacc:
2280 @test ! -f $(BUILD_SUBDIR)/byacc/Makefile || exit 0; \
2281 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/byacc ; \
2282 r=`${PWD_COMMAND}`; export r; \
2283 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2284 $(BUILD_EXPORTS) \
2285 echo Configuring in $(BUILD_SUBDIR)/byacc; \
2286 cd "$(BUILD_SUBDIR)/byacc" || exit 1; \
2287 case $(srcdir) in \
2288 /* | [A-Za-z]:[\\/]*) \
2289 topdir=$(srcdir) ;; \
2290 *) \
2291 case "$(BUILD_SUBDIR)" in \
2292 .) topdir="../$(srcdir)" ;; \
2293 *) topdir="../../$(srcdir)" ;; \
2294 esac ;; \
2295 esac; \
2296 if [ "$(srcdir)" = "." ] ; then \
2297 if [ "$(BUILD_SUBDIR)" != "." ] ; then \
2298 if $(SHELL) $$s/symlink-tree $${topdir}/byacc "no-such-file" ; then \
2299 if [ -f Makefile ]; then \
2300 if $(MAKE) distclean; then \
2301 true; \
2302 else \
2303 exit 1; \
2304 fi; \
2305 else \
2306 true; \
2307 fi; \
2308 else \
2309 exit 1; \
2310 fi; \
2311 else \
2312 true; \
2313 fi; \
2314 srcdiroption="--srcdir=."; \
2315 libsrcdir="."; \
2316 else \
2317 srcdiroption="--srcdir=$${topdir}/byacc"; \
2318 libsrcdir="$$s/byacc"; \
2319 fi; \
2320 rm -f no-such-file || : ; \
2321 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2322 $(BUILD_CONFIGARGS) $${srcdiroption} \
2323 --with-build-subdir="$(BUILD_SUBDIR)" \
2324 || exit 1
2325 @endif build-byacc
2327 .PHONY: all-build-byacc maybe-all-build-byacc
2328 maybe-all-build-byacc:
2329 @if build-byacc
2330 maybe-all-build-byacc: all-build-byacc
2331 all-build-byacc: configure-build-byacc
2332 @r=`${PWD_COMMAND}`; export r; \
2333 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2334 $(BUILD_EXPORTS) \
2335 (cd $(BUILD_SUBDIR)/byacc && $(MAKE) all)
2336 @endif build-byacc
2338 .PHONY: configure-build-flex maybe-configure-build-flex
2339 maybe-configure-build-flex:
2340 @if build-flex
2341 maybe-configure-build-flex: configure-build-flex
2342 configure-build-flex:
2343 @test ! -f $(BUILD_SUBDIR)/flex/Makefile || exit 0; \
2344 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/flex ; \
2345 r=`${PWD_COMMAND}`; export r; \
2346 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2347 $(BUILD_EXPORTS) \
2348 echo Configuring in $(BUILD_SUBDIR)/flex; \
2349 cd "$(BUILD_SUBDIR)/flex" || exit 1; \
2350 case $(srcdir) in \
2351 /* | [A-Za-z]:[\\/]*) \
2352 topdir=$(srcdir) ;; \
2353 *) \
2354 case "$(BUILD_SUBDIR)" in \
2355 .) topdir="../$(srcdir)" ;; \
2356 *) topdir="../../$(srcdir)" ;; \
2357 esac ;; \
2358 esac; \
2359 if [ "$(srcdir)" = "." ] ; then \
2360 if [ "$(BUILD_SUBDIR)" != "." ] ; then \
2361 if $(SHELL) $$s/symlink-tree $${topdir}/flex "no-such-file" ; then \
2362 if [ -f Makefile ]; then \
2363 if $(MAKE) distclean; then \
2364 true; \
2365 else \
2366 exit 1; \
2367 fi; \
2368 else \
2369 true; \
2370 fi; \
2371 else \
2372 exit 1; \
2373 fi; \
2374 else \
2375 true; \
2376 fi; \
2377 srcdiroption="--srcdir=."; \
2378 libsrcdir="."; \
2379 else \
2380 srcdiroption="--srcdir=$${topdir}/flex"; \
2381 libsrcdir="$$s/flex"; \
2382 fi; \
2383 rm -f no-such-file || : ; \
2384 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2385 $(BUILD_CONFIGARGS) $${srcdiroption} \
2386 --with-build-subdir="$(BUILD_SUBDIR)" \
2387 || exit 1
2388 @endif build-flex
2390 .PHONY: all-build-flex maybe-all-build-flex
2391 maybe-all-build-flex:
2392 @if build-flex
2393 maybe-all-build-flex: all-build-flex
2394 all-build-flex: configure-build-flex
2395 @r=`${PWD_COMMAND}`; export r; \
2396 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2397 $(BUILD_EXPORTS) \
2398 (cd $(BUILD_SUBDIR)/flex && $(MAKE) all)
2399 @endif build-flex
2401 .PHONY: configure-build-m4 maybe-configure-build-m4
2402 maybe-configure-build-m4:
2403 @if build-m4
2404 maybe-configure-build-m4: configure-build-m4
2405 configure-build-m4:
2406 @test ! -f $(BUILD_SUBDIR)/m4/Makefile || exit 0; \
2407 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/m4 ; \
2408 r=`${PWD_COMMAND}`; export r; \
2409 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2410 $(BUILD_EXPORTS) \
2411 echo Configuring in $(BUILD_SUBDIR)/m4; \
2412 cd "$(BUILD_SUBDIR)/m4" || exit 1; \
2413 case $(srcdir) in \
2414 /* | [A-Za-z]:[\\/]*) \
2415 topdir=$(srcdir) ;; \
2416 *) \
2417 case "$(BUILD_SUBDIR)" in \
2418 .) topdir="../$(srcdir)" ;; \
2419 *) topdir="../../$(srcdir)" ;; \
2420 esac ;; \
2421 esac; \
2422 if [ "$(srcdir)" = "." ] ; then \
2423 if [ "$(BUILD_SUBDIR)" != "." ] ; then \
2424 if $(SHELL) $$s/symlink-tree $${topdir}/m4 "no-such-file" ; then \
2425 if [ -f Makefile ]; then \
2426 if $(MAKE) distclean; then \
2427 true; \
2428 else \
2429 exit 1; \
2430 fi; \
2431 else \
2432 true; \
2433 fi; \
2434 else \
2435 exit 1; \
2436 fi; \
2437 else \
2438 true; \
2439 fi; \
2440 srcdiroption="--srcdir=."; \
2441 libsrcdir="."; \
2442 else \
2443 srcdiroption="--srcdir=$${topdir}/m4"; \
2444 libsrcdir="$$s/m4"; \
2445 fi; \
2446 rm -f no-such-file || : ; \
2447 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2448 $(BUILD_CONFIGARGS) $${srcdiroption} \
2449 --with-build-subdir="$(BUILD_SUBDIR)" \
2450 || exit 1
2451 @endif build-m4
2453 .PHONY: all-build-m4 maybe-all-build-m4
2454 maybe-all-build-m4:
2455 @if build-m4
2456 maybe-all-build-m4: all-build-m4
2457 all-build-m4: configure-build-m4
2458 @r=`${PWD_COMMAND}`; export r; \
2459 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2460 $(BUILD_EXPORTS) \
2461 (cd $(BUILD_SUBDIR)/m4 && $(MAKE) all)
2462 @endif build-m4
2464 .PHONY: configure-build-texinfo maybe-configure-build-texinfo
2465 maybe-configure-build-texinfo:
2466 @if build-texinfo
2467 maybe-configure-build-texinfo: configure-build-texinfo
2468 configure-build-texinfo:
2469 @test ! -f $(BUILD_SUBDIR)/texinfo/Makefile || exit 0; \
2470 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/texinfo ; \
2471 r=`${PWD_COMMAND}`; export r; \
2472 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2473 $(BUILD_EXPORTS) \
2474 echo Configuring in $(BUILD_SUBDIR)/texinfo; \
2475 cd "$(BUILD_SUBDIR)/texinfo" || exit 1; \
2476 case $(srcdir) in \
2477 /* | [A-Za-z]:[\\/]*) \
2478 topdir=$(srcdir) ;; \
2479 *) \
2480 case "$(BUILD_SUBDIR)" in \
2481 .) topdir="../$(srcdir)" ;; \
2482 *) topdir="../../$(srcdir)" ;; \
2483 esac ;; \
2484 esac; \
2485 if [ "$(srcdir)" = "." ] ; then \
2486 if [ "$(BUILD_SUBDIR)" != "." ] ; then \
2487 if $(SHELL) $$s/symlink-tree $${topdir}/texinfo "no-such-file" ; then \
2488 if [ -f Makefile ]; then \
2489 if $(MAKE) distclean; then \
2490 true; \
2491 else \
2492 exit 1; \
2493 fi; \
2494 else \
2495 true; \
2496 fi; \
2497 else \
2498 exit 1; \
2499 fi; \
2500 else \
2501 true; \
2502 fi; \
2503 srcdiroption="--srcdir=."; \
2504 libsrcdir="."; \
2505 else \
2506 srcdiroption="--srcdir=$${topdir}/texinfo"; \
2507 libsrcdir="$$s/texinfo"; \
2508 fi; \
2509 rm -f no-such-file || : ; \
2510 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2511 $(BUILD_CONFIGARGS) $${srcdiroption} \
2512 --with-build-subdir="$(BUILD_SUBDIR)" \
2513 || exit 1
2514 @endif build-texinfo
2516 .PHONY: all-build-texinfo maybe-all-build-texinfo
2517 maybe-all-build-texinfo:
2518 @if build-texinfo
2519 maybe-all-build-texinfo: all-build-texinfo
2520 all-build-texinfo: configure-build-texinfo
2521 @r=`${PWD_COMMAND}`; export r; \
2522 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2523 $(BUILD_EXPORTS) \
2524 (cd $(BUILD_SUBDIR)/texinfo && $(MAKE) all)
2525 @endif build-texinfo
2528 # --------------------------------------
2529 # Modules which run on the host machine
2530 # --------------------------------------
2532 .PHONY: configure-ash maybe-configure-ash
2533 maybe-configure-ash:
2534 @if ash
2535 maybe-configure-ash: configure-ash
2536 configure-ash:
2537 @test ! -f ash/Makefile || exit 0; \
2538 [ -d ash ] || mkdir ash; \
2539 r=`${PWD_COMMAND}`; export r; \
2540 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2541 $(HOST_EXPORTS) \
2542 echo Configuring in ash; \
2543 cd ash || exit 1; \
2544 case $(srcdir) in \
2545 \.) \
2546 srcdiroption="--srcdir=."; \
2547 libsrcdir=".";; \
2548 /* | [A-Za-z]:[\\/]*) \
2549 srcdiroption="--srcdir=$(srcdir)/ash"; \
2550 libsrcdir="$$s/ash";; \
2551 *) \
2552 srcdiroption="--srcdir=../$(srcdir)/ash"; \
2553 libsrcdir="$$s/ash";; \
2554 esac; \
2555 $(SHELL) $${libsrcdir}/configure \
2556 $(HOST_CONFIGARGS) $${srcdiroption} \
2557 || exit 1
2558 @endif ash
2560 .PHONY: all-ash maybe-all-ash
2561 maybe-all-ash:
2562 @if ash
2563 maybe-all-ash: all-ash
2564 all-ash: configure-ash
2565 @r=`${PWD_COMMAND}`; export r; \
2566 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2567 $(SET_LIB_PATH) \
2568 $(HOST_EXPORTS) \
2569 (cd ash && $(MAKE) $(FLAGS_TO_PASS) all)
2570 @endif ash
2572 .PHONY: check-ash maybe-check-ash
2573 maybe-check-ash:
2574 @if ash
2575 maybe-check-ash: check-ash
2577 check-ash:
2578 @r=`${PWD_COMMAND}`; export r; \
2579 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2580 $(SET_LIB_PATH) \
2581 $(HOST_EXPORTS) \
2582 (cd ash && $(MAKE) $(FLAGS_TO_PASS) check)
2584 @endif ash
2586 .PHONY: install-ash maybe-install-ash
2587 maybe-install-ash:
2588 @if ash
2589 maybe-install-ash: install-ash
2591 install-ash: installdirs
2592 @r=`${PWD_COMMAND}`; export r; \
2593 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2594 $(SET_LIB_PATH) \
2595 $(HOST_EXPORTS) \
2596 (cd ash && $(MAKE) $(FLAGS_TO_PASS) install)
2598 @endif ash
2600 # Other targets (info, dvi, etc.)
2602 .PHONY: maybe-info-ash info-ash
2603 maybe-info-ash:
2604 @if ash
2605 maybe-info-ash: info-ash
2607 info-ash: \
2608 configure-ash
2609 @[ -f ./ash/Makefile ] || exit 0; \
2610 r=`${PWD_COMMAND}`; export r; \
2611 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2612 $(SET_LIB_PATH) \
2613 $(HOST_EXPORTS) \
2614 for flag in $(EXTRA_HOST_FLAGS) ; do \
2615 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2616 done; \
2617 echo "Doing info in ash" ; \
2618 (cd ash && \
2619 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2620 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2621 "RANLIB=$${RANLIB}" \
2622 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2623 info) \
2624 || exit 1
2626 @endif ash
2628 .PHONY: maybe-dvi-ash dvi-ash
2629 maybe-dvi-ash:
2630 @if ash
2631 maybe-dvi-ash: dvi-ash
2633 dvi-ash: \
2634 configure-ash
2635 @[ -f ./ash/Makefile ] || exit 0; \
2636 r=`${PWD_COMMAND}`; export r; \
2637 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2638 $(SET_LIB_PATH) \
2639 $(HOST_EXPORTS) \
2640 for flag in $(EXTRA_HOST_FLAGS) ; do \
2641 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2642 done; \
2643 echo "Doing dvi in ash" ; \
2644 (cd ash && \
2645 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2646 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2647 "RANLIB=$${RANLIB}" \
2648 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2649 dvi) \
2650 || exit 1
2652 @endif ash
2654 .PHONY: maybe-TAGS-ash TAGS-ash
2655 maybe-TAGS-ash:
2656 @if ash
2657 maybe-TAGS-ash: TAGS-ash
2659 TAGS-ash: \
2660 configure-ash
2661 @[ -f ./ash/Makefile ] || exit 0; \
2662 r=`${PWD_COMMAND}`; export r; \
2663 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2664 $(SET_LIB_PATH) \
2665 $(HOST_EXPORTS) \
2666 for flag in $(EXTRA_HOST_FLAGS) ; do \
2667 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2668 done; \
2669 echo "Doing TAGS in ash" ; \
2670 (cd ash && \
2671 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2672 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2673 "RANLIB=$${RANLIB}" \
2674 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2675 TAGS) \
2676 || exit 1
2678 @endif ash
2680 .PHONY: maybe-install-info-ash install-info-ash
2681 maybe-install-info-ash:
2682 @if ash
2683 maybe-install-info-ash: install-info-ash
2685 install-info-ash: \
2686 configure-ash \
2687 info-ash
2688 @[ -f ./ash/Makefile ] || exit 0; \
2689 r=`${PWD_COMMAND}`; export r; \
2690 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2691 $(SET_LIB_PATH) \
2692 $(HOST_EXPORTS) \
2693 for flag in $(EXTRA_HOST_FLAGS) ; do \
2694 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2695 done; \
2696 echo "Doing install-info in ash" ; \
2697 (cd ash && \
2698 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2699 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2700 "RANLIB=$${RANLIB}" \
2701 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2702 install-info) \
2703 || exit 1
2705 @endif ash
2707 .PHONY: maybe-installcheck-ash installcheck-ash
2708 maybe-installcheck-ash:
2709 @if ash
2710 maybe-installcheck-ash: installcheck-ash
2712 installcheck-ash: \
2713 configure-ash
2714 @[ -f ./ash/Makefile ] || exit 0; \
2715 r=`${PWD_COMMAND}`; export r; \
2716 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2717 $(SET_LIB_PATH) \
2718 $(HOST_EXPORTS) \
2719 for flag in $(EXTRA_HOST_FLAGS) ; do \
2720 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2721 done; \
2722 echo "Doing installcheck in ash" ; \
2723 (cd ash && \
2724 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2725 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2726 "RANLIB=$${RANLIB}" \
2727 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2728 installcheck) \
2729 || exit 1
2731 @endif ash
2733 .PHONY: maybe-mostlyclean-ash mostlyclean-ash
2734 maybe-mostlyclean-ash:
2735 @if ash
2736 maybe-mostlyclean-ash: mostlyclean-ash
2738 mostlyclean-ash:
2739 @[ -f ./ash/Makefile ] || exit 0; \
2740 r=`${PWD_COMMAND}`; export r; \
2741 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2742 $(SET_LIB_PATH) \
2743 $(HOST_EXPORTS) \
2744 for flag in $(EXTRA_HOST_FLAGS) ; do \
2745 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2746 done; \
2747 echo "Doing mostlyclean in ash" ; \
2748 (cd ash && \
2749 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2750 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2751 "RANLIB=$${RANLIB}" \
2752 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2753 mostlyclean) \
2754 || exit 1
2756 @endif ash
2758 .PHONY: maybe-clean-ash clean-ash
2759 maybe-clean-ash:
2760 @if ash
2761 maybe-clean-ash: clean-ash
2763 clean-ash:
2764 @[ -f ./ash/Makefile ] || exit 0; \
2765 r=`${PWD_COMMAND}`; export r; \
2766 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2767 $(SET_LIB_PATH) \
2768 $(HOST_EXPORTS) \
2769 for flag in $(EXTRA_HOST_FLAGS) ; do \
2770 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2771 done; \
2772 echo "Doing clean in ash" ; \
2773 (cd ash && \
2774 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2775 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2776 "RANLIB=$${RANLIB}" \
2777 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2778 clean) \
2779 || exit 1
2781 @endif ash
2783 .PHONY: maybe-distclean-ash distclean-ash
2784 maybe-distclean-ash:
2785 @if ash
2786 maybe-distclean-ash: distclean-ash
2788 distclean-ash:
2789 @[ -f ./ash/Makefile ] || exit 0; \
2790 r=`${PWD_COMMAND}`; export r; \
2791 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2792 $(SET_LIB_PATH) \
2793 $(HOST_EXPORTS) \
2794 for flag in $(EXTRA_HOST_FLAGS) ; do \
2795 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2796 done; \
2797 echo "Doing distclean in ash" ; \
2798 (cd ash && \
2799 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2800 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2801 "RANLIB=$${RANLIB}" \
2802 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2803 distclean) \
2804 || exit 1
2806 @endif ash
2808 .PHONY: maybe-maintainer-clean-ash maintainer-clean-ash
2809 maybe-maintainer-clean-ash:
2810 @if ash
2811 maybe-maintainer-clean-ash: maintainer-clean-ash
2813 maintainer-clean-ash:
2814 @[ -f ./ash/Makefile ] || exit 0; \
2815 r=`${PWD_COMMAND}`; export r; \
2816 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2817 $(SET_LIB_PATH) \
2818 $(HOST_EXPORTS) \
2819 for flag in $(EXTRA_HOST_FLAGS) ; do \
2820 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2821 done; \
2822 echo "Doing maintainer-clean in ash" ; \
2823 (cd ash && \
2824 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2825 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2826 "RANLIB=$${RANLIB}" \
2827 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2828 maintainer-clean) \
2829 || exit 1
2831 @endif ash
2834 .PHONY: configure-autoconf maybe-configure-autoconf
2835 maybe-configure-autoconf:
2836 @if autoconf
2837 maybe-configure-autoconf: configure-autoconf
2838 configure-autoconf:
2839 @test ! -f autoconf/Makefile || exit 0; \
2840 [ -d autoconf ] || mkdir autoconf; \
2841 r=`${PWD_COMMAND}`; export r; \
2842 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2843 $(HOST_EXPORTS) \
2844 echo Configuring in autoconf; \
2845 cd autoconf || exit 1; \
2846 case $(srcdir) in \
2847 \.) \
2848 srcdiroption="--srcdir=."; \
2849 libsrcdir=".";; \
2850 /* | [A-Za-z]:[\\/]*) \
2851 srcdiroption="--srcdir=$(srcdir)/autoconf"; \
2852 libsrcdir="$$s/autoconf";; \
2853 *) \
2854 srcdiroption="--srcdir=../$(srcdir)/autoconf"; \
2855 libsrcdir="$$s/autoconf";; \
2856 esac; \
2857 $(SHELL) $${libsrcdir}/configure \
2858 $(HOST_CONFIGARGS) $${srcdiroption} \
2859 || exit 1
2860 @endif autoconf
2862 .PHONY: all-autoconf maybe-all-autoconf
2863 maybe-all-autoconf:
2864 @if autoconf
2865 maybe-all-autoconf: all-autoconf
2866 all-autoconf: configure-autoconf
2867 @r=`${PWD_COMMAND}`; export r; \
2868 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2869 $(SET_LIB_PATH) \
2870 $(HOST_EXPORTS) \
2871 (cd autoconf && $(MAKE) $(FLAGS_TO_PASS) all)
2872 @endif autoconf
2874 .PHONY: check-autoconf maybe-check-autoconf
2875 maybe-check-autoconf:
2876 @if autoconf
2877 maybe-check-autoconf: check-autoconf
2879 check-autoconf:
2880 @r=`${PWD_COMMAND}`; export r; \
2881 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2882 $(SET_LIB_PATH) \
2883 $(HOST_EXPORTS) \
2884 (cd autoconf && $(MAKE) $(FLAGS_TO_PASS) check)
2886 @endif autoconf
2888 .PHONY: install-autoconf maybe-install-autoconf
2889 maybe-install-autoconf:
2890 @if autoconf
2891 maybe-install-autoconf: install-autoconf
2893 install-autoconf: installdirs
2894 @r=`${PWD_COMMAND}`; export r; \
2895 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2896 $(SET_LIB_PATH) \
2897 $(HOST_EXPORTS) \
2898 (cd autoconf && $(MAKE) $(FLAGS_TO_PASS) install)
2900 @endif autoconf
2902 # Other targets (info, dvi, etc.)
2904 .PHONY: maybe-info-autoconf info-autoconf
2905 maybe-info-autoconf:
2906 @if autoconf
2907 maybe-info-autoconf: info-autoconf
2909 info-autoconf: \
2910 configure-autoconf
2911 @[ -f ./autoconf/Makefile ] || exit 0; \
2912 r=`${PWD_COMMAND}`; export r; \
2913 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2914 $(SET_LIB_PATH) \
2915 $(HOST_EXPORTS) \
2916 for flag in $(EXTRA_HOST_FLAGS) ; do \
2917 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2918 done; \
2919 echo "Doing info in autoconf" ; \
2920 (cd autoconf && \
2921 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2922 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2923 "RANLIB=$${RANLIB}" \
2924 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2925 info) \
2926 || exit 1
2928 @endif autoconf
2930 .PHONY: maybe-dvi-autoconf dvi-autoconf
2931 maybe-dvi-autoconf:
2932 @if autoconf
2933 maybe-dvi-autoconf: dvi-autoconf
2935 dvi-autoconf: \
2936 configure-autoconf
2937 @[ -f ./autoconf/Makefile ] || exit 0; \
2938 r=`${PWD_COMMAND}`; export r; \
2939 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2940 $(SET_LIB_PATH) \
2941 $(HOST_EXPORTS) \
2942 for flag in $(EXTRA_HOST_FLAGS) ; do \
2943 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2944 done; \
2945 echo "Doing dvi in autoconf" ; \
2946 (cd autoconf && \
2947 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2948 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2949 "RANLIB=$${RANLIB}" \
2950 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2951 dvi) \
2952 || exit 1
2954 @endif autoconf
2956 .PHONY: maybe-TAGS-autoconf TAGS-autoconf
2957 maybe-TAGS-autoconf:
2958 @if autoconf
2959 maybe-TAGS-autoconf: TAGS-autoconf
2961 TAGS-autoconf: \
2962 configure-autoconf
2963 @[ -f ./autoconf/Makefile ] || exit 0; \
2964 r=`${PWD_COMMAND}`; export r; \
2965 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2966 $(SET_LIB_PATH) \
2967 $(HOST_EXPORTS) \
2968 for flag in $(EXTRA_HOST_FLAGS) ; do \
2969 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2970 done; \
2971 echo "Doing TAGS in autoconf" ; \
2972 (cd autoconf && \
2973 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2974 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2975 "RANLIB=$${RANLIB}" \
2976 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2977 TAGS) \
2978 || exit 1
2980 @endif autoconf
2982 .PHONY: maybe-install-info-autoconf install-info-autoconf
2983 maybe-install-info-autoconf:
2984 @if autoconf
2985 maybe-install-info-autoconf: install-info-autoconf
2987 install-info-autoconf: \
2988 configure-autoconf \
2989 info-autoconf
2990 @[ -f ./autoconf/Makefile ] || exit 0; \
2991 r=`${PWD_COMMAND}`; export r; \
2992 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2993 $(SET_LIB_PATH) \
2994 $(HOST_EXPORTS) \
2995 for flag in $(EXTRA_HOST_FLAGS) ; do \
2996 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2997 done; \
2998 echo "Doing install-info in autoconf" ; \
2999 (cd autoconf && \
3000 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3001 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3002 "RANLIB=$${RANLIB}" \
3003 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3004 install-info) \
3005 || exit 1
3007 @endif autoconf
3009 .PHONY: maybe-installcheck-autoconf installcheck-autoconf
3010 maybe-installcheck-autoconf:
3011 @if autoconf
3012 maybe-installcheck-autoconf: installcheck-autoconf
3014 installcheck-autoconf: \
3015 configure-autoconf
3016 @[ -f ./autoconf/Makefile ] || exit 0; \
3017 r=`${PWD_COMMAND}`; export r; \
3018 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3019 $(SET_LIB_PATH) \
3020 $(HOST_EXPORTS) \
3021 for flag in $(EXTRA_HOST_FLAGS) ; do \
3022 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3023 done; \
3024 echo "Doing installcheck in autoconf" ; \
3025 (cd autoconf && \
3026 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3027 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3028 "RANLIB=$${RANLIB}" \
3029 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3030 installcheck) \
3031 || exit 1
3033 @endif autoconf
3035 .PHONY: maybe-mostlyclean-autoconf mostlyclean-autoconf
3036 maybe-mostlyclean-autoconf:
3037 @if autoconf
3038 maybe-mostlyclean-autoconf: mostlyclean-autoconf
3040 mostlyclean-autoconf:
3041 @[ -f ./autoconf/Makefile ] || exit 0; \
3042 r=`${PWD_COMMAND}`; export r; \
3043 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3044 $(SET_LIB_PATH) \
3045 $(HOST_EXPORTS) \
3046 for flag in $(EXTRA_HOST_FLAGS) ; do \
3047 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3048 done; \
3049 echo "Doing mostlyclean in autoconf" ; \
3050 (cd autoconf && \
3051 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3052 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3053 "RANLIB=$${RANLIB}" \
3054 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3055 mostlyclean) \
3056 || exit 1
3058 @endif autoconf
3060 .PHONY: maybe-clean-autoconf clean-autoconf
3061 maybe-clean-autoconf:
3062 @if autoconf
3063 maybe-clean-autoconf: clean-autoconf
3065 clean-autoconf:
3066 @[ -f ./autoconf/Makefile ] || exit 0; \
3067 r=`${PWD_COMMAND}`; export r; \
3068 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3069 $(SET_LIB_PATH) \
3070 $(HOST_EXPORTS) \
3071 for flag in $(EXTRA_HOST_FLAGS) ; do \
3072 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3073 done; \
3074 echo "Doing clean in autoconf" ; \
3075 (cd autoconf && \
3076 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3077 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3078 "RANLIB=$${RANLIB}" \
3079 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3080 clean) \
3081 || exit 1
3083 @endif autoconf
3085 .PHONY: maybe-distclean-autoconf distclean-autoconf
3086 maybe-distclean-autoconf:
3087 @if autoconf
3088 maybe-distclean-autoconf: distclean-autoconf
3090 distclean-autoconf:
3091 @[ -f ./autoconf/Makefile ] || exit 0; \
3092 r=`${PWD_COMMAND}`; export r; \
3093 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3094 $(SET_LIB_PATH) \
3095 $(HOST_EXPORTS) \
3096 for flag in $(EXTRA_HOST_FLAGS) ; do \
3097 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3098 done; \
3099 echo "Doing distclean in autoconf" ; \
3100 (cd autoconf && \
3101 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3102 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3103 "RANLIB=$${RANLIB}" \
3104 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3105 distclean) \
3106 || exit 1
3108 @endif autoconf
3110 .PHONY: maybe-maintainer-clean-autoconf maintainer-clean-autoconf
3111 maybe-maintainer-clean-autoconf:
3112 @if autoconf
3113 maybe-maintainer-clean-autoconf: maintainer-clean-autoconf
3115 maintainer-clean-autoconf:
3116 @[ -f ./autoconf/Makefile ] || exit 0; \
3117 r=`${PWD_COMMAND}`; export r; \
3118 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3119 $(SET_LIB_PATH) \
3120 $(HOST_EXPORTS) \
3121 for flag in $(EXTRA_HOST_FLAGS) ; do \
3122 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3123 done; \
3124 echo "Doing maintainer-clean in autoconf" ; \
3125 (cd autoconf && \
3126 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3127 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3128 "RANLIB=$${RANLIB}" \
3129 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3130 maintainer-clean) \
3131 || exit 1
3133 @endif autoconf
3136 .PHONY: configure-automake maybe-configure-automake
3137 maybe-configure-automake:
3138 @if automake
3139 maybe-configure-automake: configure-automake
3140 configure-automake:
3141 @test ! -f automake/Makefile || exit 0; \
3142 [ -d automake ] || mkdir automake; \
3143 r=`${PWD_COMMAND}`; export r; \
3144 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3145 $(HOST_EXPORTS) \
3146 echo Configuring in automake; \
3147 cd automake || exit 1; \
3148 case $(srcdir) in \
3149 \.) \
3150 srcdiroption="--srcdir=."; \
3151 libsrcdir=".";; \
3152 /* | [A-Za-z]:[\\/]*) \
3153 srcdiroption="--srcdir=$(srcdir)/automake"; \
3154 libsrcdir="$$s/automake";; \
3155 *) \
3156 srcdiroption="--srcdir=../$(srcdir)/automake"; \
3157 libsrcdir="$$s/automake";; \
3158 esac; \
3159 $(SHELL) $${libsrcdir}/configure \
3160 $(HOST_CONFIGARGS) $${srcdiroption} \
3161 || exit 1
3162 @endif automake
3164 .PHONY: all-automake maybe-all-automake
3165 maybe-all-automake:
3166 @if automake
3167 maybe-all-automake: all-automake
3168 all-automake: configure-automake
3169 @r=`${PWD_COMMAND}`; export r; \
3170 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3171 $(SET_LIB_PATH) \
3172 $(HOST_EXPORTS) \
3173 (cd automake && $(MAKE) $(FLAGS_TO_PASS) all)
3174 @endif automake
3176 .PHONY: check-automake maybe-check-automake
3177 maybe-check-automake:
3178 @if automake
3179 maybe-check-automake: check-automake
3181 check-automake:
3182 @r=`${PWD_COMMAND}`; export r; \
3183 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3184 $(SET_LIB_PATH) \
3185 $(HOST_EXPORTS) \
3186 (cd automake && $(MAKE) $(FLAGS_TO_PASS) check)
3188 @endif automake
3190 .PHONY: install-automake maybe-install-automake
3191 maybe-install-automake:
3192 @if automake
3193 maybe-install-automake: install-automake
3195 install-automake: installdirs
3196 @r=`${PWD_COMMAND}`; export r; \
3197 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3198 $(SET_LIB_PATH) \
3199 $(HOST_EXPORTS) \
3200 (cd automake && $(MAKE) $(FLAGS_TO_PASS) install)
3202 @endif automake
3204 # Other targets (info, dvi, etc.)
3206 .PHONY: maybe-info-automake info-automake
3207 maybe-info-automake:
3208 @if automake
3209 maybe-info-automake: info-automake
3211 info-automake: \
3212 configure-automake
3213 @[ -f ./automake/Makefile ] || exit 0; \
3214 r=`${PWD_COMMAND}`; export r; \
3215 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3216 $(SET_LIB_PATH) \
3217 $(HOST_EXPORTS) \
3218 for flag in $(EXTRA_HOST_FLAGS) ; do \
3219 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3220 done; \
3221 echo "Doing info in automake" ; \
3222 (cd automake && \
3223 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3224 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3225 "RANLIB=$${RANLIB}" \
3226 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3227 info) \
3228 || exit 1
3230 @endif automake
3232 .PHONY: maybe-dvi-automake dvi-automake
3233 maybe-dvi-automake:
3234 @if automake
3235 maybe-dvi-automake: dvi-automake
3237 dvi-automake: \
3238 configure-automake
3239 @[ -f ./automake/Makefile ] || exit 0; \
3240 r=`${PWD_COMMAND}`; export r; \
3241 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3242 $(SET_LIB_PATH) \
3243 $(HOST_EXPORTS) \
3244 for flag in $(EXTRA_HOST_FLAGS) ; do \
3245 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3246 done; \
3247 echo "Doing dvi in automake" ; \
3248 (cd automake && \
3249 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3250 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3251 "RANLIB=$${RANLIB}" \
3252 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3253 dvi) \
3254 || exit 1
3256 @endif automake
3258 .PHONY: maybe-TAGS-automake TAGS-automake
3259 maybe-TAGS-automake:
3260 @if automake
3261 maybe-TAGS-automake: TAGS-automake
3263 TAGS-automake: \
3264 configure-automake
3265 @[ -f ./automake/Makefile ] || exit 0; \
3266 r=`${PWD_COMMAND}`; export r; \
3267 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3268 $(SET_LIB_PATH) \
3269 $(HOST_EXPORTS) \
3270 for flag in $(EXTRA_HOST_FLAGS) ; do \
3271 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3272 done; \
3273 echo "Doing TAGS in automake" ; \
3274 (cd automake && \
3275 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3276 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3277 "RANLIB=$${RANLIB}" \
3278 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3279 TAGS) \
3280 || exit 1
3282 @endif automake
3284 .PHONY: maybe-install-info-automake install-info-automake
3285 maybe-install-info-automake:
3286 @if automake
3287 maybe-install-info-automake: install-info-automake
3289 install-info-automake: \
3290 configure-automake \
3291 info-automake
3292 @[ -f ./automake/Makefile ] || exit 0; \
3293 r=`${PWD_COMMAND}`; export r; \
3294 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3295 $(SET_LIB_PATH) \
3296 $(HOST_EXPORTS) \
3297 for flag in $(EXTRA_HOST_FLAGS) ; do \
3298 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3299 done; \
3300 echo "Doing install-info in automake" ; \
3301 (cd automake && \
3302 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3303 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3304 "RANLIB=$${RANLIB}" \
3305 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3306 install-info) \
3307 || exit 1
3309 @endif automake
3311 .PHONY: maybe-installcheck-automake installcheck-automake
3312 maybe-installcheck-automake:
3313 @if automake
3314 maybe-installcheck-automake: installcheck-automake
3316 installcheck-automake: \
3317 configure-automake
3318 @[ -f ./automake/Makefile ] || exit 0; \
3319 r=`${PWD_COMMAND}`; export r; \
3320 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3321 $(SET_LIB_PATH) \
3322 $(HOST_EXPORTS) \
3323 for flag in $(EXTRA_HOST_FLAGS) ; do \
3324 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3325 done; \
3326 echo "Doing installcheck in automake" ; \
3327 (cd automake && \
3328 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3329 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3330 "RANLIB=$${RANLIB}" \
3331 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3332 installcheck) \
3333 || exit 1
3335 @endif automake
3337 .PHONY: maybe-mostlyclean-automake mostlyclean-automake
3338 maybe-mostlyclean-automake:
3339 @if automake
3340 maybe-mostlyclean-automake: mostlyclean-automake
3342 mostlyclean-automake:
3343 @[ -f ./automake/Makefile ] || exit 0; \
3344 r=`${PWD_COMMAND}`; export r; \
3345 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3346 $(SET_LIB_PATH) \
3347 $(HOST_EXPORTS) \
3348 for flag in $(EXTRA_HOST_FLAGS) ; do \
3349 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3350 done; \
3351 echo "Doing mostlyclean in automake" ; \
3352 (cd automake && \
3353 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3354 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3355 "RANLIB=$${RANLIB}" \
3356 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3357 mostlyclean) \
3358 || exit 1
3360 @endif automake
3362 .PHONY: maybe-clean-automake clean-automake
3363 maybe-clean-automake:
3364 @if automake
3365 maybe-clean-automake: clean-automake
3367 clean-automake:
3368 @[ -f ./automake/Makefile ] || exit 0; \
3369 r=`${PWD_COMMAND}`; export r; \
3370 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3371 $(SET_LIB_PATH) \
3372 $(HOST_EXPORTS) \
3373 for flag in $(EXTRA_HOST_FLAGS) ; do \
3374 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3375 done; \
3376 echo "Doing clean in automake" ; \
3377 (cd automake && \
3378 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3379 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3380 "RANLIB=$${RANLIB}" \
3381 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3382 clean) \
3383 || exit 1
3385 @endif automake
3387 .PHONY: maybe-distclean-automake distclean-automake
3388 maybe-distclean-automake:
3389 @if automake
3390 maybe-distclean-automake: distclean-automake
3392 distclean-automake:
3393 @[ -f ./automake/Makefile ] || exit 0; \
3394 r=`${PWD_COMMAND}`; export r; \
3395 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3396 $(SET_LIB_PATH) \
3397 $(HOST_EXPORTS) \
3398 for flag in $(EXTRA_HOST_FLAGS) ; do \
3399 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3400 done; \
3401 echo "Doing distclean in automake" ; \
3402 (cd automake && \
3403 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3404 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3405 "RANLIB=$${RANLIB}" \
3406 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3407 distclean) \
3408 || exit 1
3410 @endif automake
3412 .PHONY: maybe-maintainer-clean-automake maintainer-clean-automake
3413 maybe-maintainer-clean-automake:
3414 @if automake
3415 maybe-maintainer-clean-automake: maintainer-clean-automake
3417 maintainer-clean-automake:
3418 @[ -f ./automake/Makefile ] || exit 0; \
3419 r=`${PWD_COMMAND}`; export r; \
3420 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3421 $(SET_LIB_PATH) \
3422 $(HOST_EXPORTS) \
3423 for flag in $(EXTRA_HOST_FLAGS) ; do \
3424 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3425 done; \
3426 echo "Doing maintainer-clean in automake" ; \
3427 (cd automake && \
3428 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3429 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3430 "RANLIB=$${RANLIB}" \
3431 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3432 maintainer-clean) \
3433 || exit 1
3435 @endif automake
3438 .PHONY: configure-bash maybe-configure-bash
3439 maybe-configure-bash:
3440 @if bash
3441 maybe-configure-bash: configure-bash
3442 configure-bash:
3443 @test ! -f bash/Makefile || exit 0; \
3444 [ -d bash ] || mkdir bash; \
3445 r=`${PWD_COMMAND}`; export r; \
3446 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3447 $(HOST_EXPORTS) \
3448 echo Configuring in bash; \
3449 cd bash || exit 1; \
3450 case $(srcdir) in \
3451 \.) \
3452 srcdiroption="--srcdir=."; \
3453 libsrcdir=".";; \
3454 /* | [A-Za-z]:[\\/]*) \
3455 srcdiroption="--srcdir=$(srcdir)/bash"; \
3456 libsrcdir="$$s/bash";; \
3457 *) \
3458 srcdiroption="--srcdir=../$(srcdir)/bash"; \
3459 libsrcdir="$$s/bash";; \
3460 esac; \
3461 $(SHELL) $${libsrcdir}/configure \
3462 $(HOST_CONFIGARGS) $${srcdiroption} \
3463 || exit 1
3464 @endif bash
3466 .PHONY: all-bash maybe-all-bash
3467 maybe-all-bash:
3468 @if bash
3469 maybe-all-bash: all-bash
3470 all-bash: configure-bash
3471 @r=`${PWD_COMMAND}`; export r; \
3472 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3473 $(SET_LIB_PATH) \
3474 $(HOST_EXPORTS) \
3475 (cd bash && $(MAKE) $(FLAGS_TO_PASS) all)
3476 @endif bash
3478 .PHONY: check-bash maybe-check-bash
3479 maybe-check-bash:
3480 @if bash
3481 maybe-check-bash: check-bash
3483 check-bash:
3484 @r=`${PWD_COMMAND}`; export r; \
3485 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3486 $(SET_LIB_PATH) \
3487 $(HOST_EXPORTS) \
3488 (cd bash && $(MAKE) $(FLAGS_TO_PASS) check)
3490 @endif bash
3492 .PHONY: install-bash maybe-install-bash
3493 maybe-install-bash:
3494 @if bash
3495 maybe-install-bash: install-bash
3497 install-bash: installdirs
3498 @r=`${PWD_COMMAND}`; export r; \
3499 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3500 $(SET_LIB_PATH) \
3501 $(HOST_EXPORTS) \
3502 (cd bash && $(MAKE) $(FLAGS_TO_PASS) install)
3504 @endif bash
3506 # Other targets (info, dvi, etc.)
3508 .PHONY: maybe-info-bash info-bash
3509 maybe-info-bash:
3510 @if bash
3511 maybe-info-bash: info-bash
3513 info-bash: \
3514 configure-bash
3515 @[ -f ./bash/Makefile ] || exit 0; \
3516 r=`${PWD_COMMAND}`; export r; \
3517 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3518 $(SET_LIB_PATH) \
3519 $(HOST_EXPORTS) \
3520 for flag in $(EXTRA_HOST_FLAGS) ; do \
3521 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3522 done; \
3523 echo "Doing info in bash" ; \
3524 (cd bash && \
3525 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3526 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3527 "RANLIB=$${RANLIB}" \
3528 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3529 info) \
3530 || exit 1
3532 @endif bash
3534 .PHONY: maybe-dvi-bash dvi-bash
3535 maybe-dvi-bash:
3536 @if bash
3537 maybe-dvi-bash: dvi-bash
3539 dvi-bash: \
3540 configure-bash
3541 @[ -f ./bash/Makefile ] || exit 0; \
3542 r=`${PWD_COMMAND}`; export r; \
3543 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3544 $(SET_LIB_PATH) \
3545 $(HOST_EXPORTS) \
3546 for flag in $(EXTRA_HOST_FLAGS) ; do \
3547 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3548 done; \
3549 echo "Doing dvi in bash" ; \
3550 (cd bash && \
3551 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3552 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3553 "RANLIB=$${RANLIB}" \
3554 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3555 dvi) \
3556 || exit 1
3558 @endif bash
3560 .PHONY: maybe-TAGS-bash TAGS-bash
3561 maybe-TAGS-bash:
3562 @if bash
3563 maybe-TAGS-bash: TAGS-bash
3565 TAGS-bash: \
3566 configure-bash
3567 @[ -f ./bash/Makefile ] || exit 0; \
3568 r=`${PWD_COMMAND}`; export r; \
3569 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3570 $(SET_LIB_PATH) \
3571 $(HOST_EXPORTS) \
3572 for flag in $(EXTRA_HOST_FLAGS) ; do \
3573 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3574 done; \
3575 echo "Doing TAGS in bash" ; \
3576 (cd bash && \
3577 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3578 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3579 "RANLIB=$${RANLIB}" \
3580 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3581 TAGS) \
3582 || exit 1
3584 @endif bash
3586 .PHONY: maybe-install-info-bash install-info-bash
3587 maybe-install-info-bash:
3588 @if bash
3589 maybe-install-info-bash: install-info-bash
3591 install-info-bash: \
3592 configure-bash \
3593 info-bash
3594 @[ -f ./bash/Makefile ] || exit 0; \
3595 r=`${PWD_COMMAND}`; export r; \
3596 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3597 $(SET_LIB_PATH) \
3598 $(HOST_EXPORTS) \
3599 for flag in $(EXTRA_HOST_FLAGS) ; do \
3600 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3601 done; \
3602 echo "Doing install-info in bash" ; \
3603 (cd bash && \
3604 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3605 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3606 "RANLIB=$${RANLIB}" \
3607 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3608 install-info) \
3609 || exit 1
3611 @endif bash
3613 .PHONY: maybe-installcheck-bash installcheck-bash
3614 maybe-installcheck-bash:
3615 @if bash
3616 maybe-installcheck-bash: installcheck-bash
3618 installcheck-bash: \
3619 configure-bash
3620 @[ -f ./bash/Makefile ] || exit 0; \
3621 r=`${PWD_COMMAND}`; export r; \
3622 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3623 $(SET_LIB_PATH) \
3624 $(HOST_EXPORTS) \
3625 for flag in $(EXTRA_HOST_FLAGS) ; do \
3626 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3627 done; \
3628 echo "Doing installcheck in bash" ; \
3629 (cd bash && \
3630 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3631 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3632 "RANLIB=$${RANLIB}" \
3633 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3634 installcheck) \
3635 || exit 1
3637 @endif bash
3639 .PHONY: maybe-mostlyclean-bash mostlyclean-bash
3640 maybe-mostlyclean-bash:
3641 @if bash
3642 maybe-mostlyclean-bash: mostlyclean-bash
3644 mostlyclean-bash:
3645 @[ -f ./bash/Makefile ] || exit 0; \
3646 r=`${PWD_COMMAND}`; export r; \
3647 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3648 $(SET_LIB_PATH) \
3649 $(HOST_EXPORTS) \
3650 for flag in $(EXTRA_HOST_FLAGS) ; do \
3651 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3652 done; \
3653 echo "Doing mostlyclean in bash" ; \
3654 (cd bash && \
3655 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3656 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3657 "RANLIB=$${RANLIB}" \
3658 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3659 mostlyclean) \
3660 || exit 1
3662 @endif bash
3664 .PHONY: maybe-clean-bash clean-bash
3665 maybe-clean-bash:
3666 @if bash
3667 maybe-clean-bash: clean-bash
3669 clean-bash:
3670 @[ -f ./bash/Makefile ] || exit 0; \
3671 r=`${PWD_COMMAND}`; export r; \
3672 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3673 $(SET_LIB_PATH) \
3674 $(HOST_EXPORTS) \
3675 for flag in $(EXTRA_HOST_FLAGS) ; do \
3676 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3677 done; \
3678 echo "Doing clean in bash" ; \
3679 (cd bash && \
3680 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3681 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3682 "RANLIB=$${RANLIB}" \
3683 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3684 clean) \
3685 || exit 1
3687 @endif bash
3689 .PHONY: maybe-distclean-bash distclean-bash
3690 maybe-distclean-bash:
3691 @if bash
3692 maybe-distclean-bash: distclean-bash
3694 distclean-bash:
3695 @[ -f ./bash/Makefile ] || exit 0; \
3696 r=`${PWD_COMMAND}`; export r; \
3697 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3698 $(SET_LIB_PATH) \
3699 $(HOST_EXPORTS) \
3700 for flag in $(EXTRA_HOST_FLAGS) ; do \
3701 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3702 done; \
3703 echo "Doing distclean in bash" ; \
3704 (cd bash && \
3705 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3706 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3707 "RANLIB=$${RANLIB}" \
3708 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3709 distclean) \
3710 || exit 1
3712 @endif bash
3714 .PHONY: maybe-maintainer-clean-bash maintainer-clean-bash
3715 maybe-maintainer-clean-bash:
3716 @if bash
3717 maybe-maintainer-clean-bash: maintainer-clean-bash
3719 maintainer-clean-bash:
3720 @[ -f ./bash/Makefile ] || exit 0; \
3721 r=`${PWD_COMMAND}`; export r; \
3722 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3723 $(SET_LIB_PATH) \
3724 $(HOST_EXPORTS) \
3725 for flag in $(EXTRA_HOST_FLAGS) ; do \
3726 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3727 done; \
3728 echo "Doing maintainer-clean in bash" ; \
3729 (cd bash && \
3730 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3731 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3732 "RANLIB=$${RANLIB}" \
3733 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3734 maintainer-clean) \
3735 || exit 1
3737 @endif bash
3740 .PHONY: configure-bfd maybe-configure-bfd
3741 maybe-configure-bfd:
3742 @if bfd
3743 maybe-configure-bfd: configure-bfd
3744 configure-bfd:
3745 @test ! -f bfd/Makefile || exit 0; \
3746 [ -d bfd ] || mkdir bfd; \
3747 r=`${PWD_COMMAND}`; export r; \
3748 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3749 $(HOST_EXPORTS) \
3750 echo Configuring in bfd; \
3751 cd bfd || exit 1; \
3752 case $(srcdir) in \
3753 \.) \
3754 srcdiroption="--srcdir=."; \
3755 libsrcdir=".";; \
3756 /* | [A-Za-z]:[\\/]*) \
3757 srcdiroption="--srcdir=$(srcdir)/bfd"; \
3758 libsrcdir="$$s/bfd";; \
3759 *) \
3760 srcdiroption="--srcdir=../$(srcdir)/bfd"; \
3761 libsrcdir="$$s/bfd";; \
3762 esac; \
3763 $(SHELL) $${libsrcdir}/configure \
3764 $(HOST_CONFIGARGS) $${srcdiroption} \
3765 || exit 1
3766 @endif bfd
3768 .PHONY: all-bfd maybe-all-bfd
3769 maybe-all-bfd:
3770 @if bfd
3771 maybe-all-bfd: all-bfd
3772 all-bfd: configure-bfd
3773 @r=`${PWD_COMMAND}`; export r; \
3774 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3775 $(SET_LIB_PATH) \
3776 $(HOST_EXPORTS) \
3777 (cd bfd && $(MAKE) $(FLAGS_TO_PASS) all)
3778 @endif bfd
3780 .PHONY: check-bfd maybe-check-bfd
3781 maybe-check-bfd:
3782 @if bfd
3783 maybe-check-bfd: check-bfd
3785 check-bfd:
3786 @r=`${PWD_COMMAND}`; export r; \
3787 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3788 $(SET_LIB_PATH) \
3789 $(HOST_EXPORTS) \
3790 (cd bfd && $(MAKE) $(FLAGS_TO_PASS) check)
3792 @endif bfd
3794 .PHONY: install-bfd maybe-install-bfd
3795 maybe-install-bfd:
3796 @if bfd
3797 maybe-install-bfd: install-bfd
3799 install-bfd: installdirs
3800 @r=`${PWD_COMMAND}`; export r; \
3801 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3802 $(SET_LIB_PATH) \
3803 $(HOST_EXPORTS) \
3804 (cd bfd && $(MAKE) $(FLAGS_TO_PASS) install)
3806 @endif bfd
3808 # Other targets (info, dvi, etc.)
3810 .PHONY: maybe-info-bfd info-bfd
3811 maybe-info-bfd:
3812 @if bfd
3813 maybe-info-bfd: info-bfd
3815 info-bfd: \
3816 configure-bfd
3817 @[ -f ./bfd/Makefile ] || exit 0; \
3818 r=`${PWD_COMMAND}`; export r; \
3819 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3820 $(SET_LIB_PATH) \
3821 $(HOST_EXPORTS) \
3822 for flag in $(EXTRA_HOST_FLAGS) ; do \
3823 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3824 done; \
3825 echo "Doing info in bfd" ; \
3826 (cd bfd && \
3827 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3828 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3829 "RANLIB=$${RANLIB}" \
3830 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3831 info) \
3832 || exit 1
3834 @endif bfd
3836 .PHONY: maybe-dvi-bfd dvi-bfd
3837 maybe-dvi-bfd:
3838 @if bfd
3839 maybe-dvi-bfd: dvi-bfd
3841 dvi-bfd: \
3842 configure-bfd
3843 @[ -f ./bfd/Makefile ] || exit 0; \
3844 r=`${PWD_COMMAND}`; export r; \
3845 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3846 $(SET_LIB_PATH) \
3847 $(HOST_EXPORTS) \
3848 for flag in $(EXTRA_HOST_FLAGS) ; do \
3849 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3850 done; \
3851 echo "Doing dvi in bfd" ; \
3852 (cd bfd && \
3853 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3854 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3855 "RANLIB=$${RANLIB}" \
3856 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3857 dvi) \
3858 || exit 1
3860 @endif bfd
3862 .PHONY: maybe-TAGS-bfd TAGS-bfd
3863 maybe-TAGS-bfd:
3864 @if bfd
3865 maybe-TAGS-bfd: TAGS-bfd
3867 TAGS-bfd: \
3868 configure-bfd
3869 @[ -f ./bfd/Makefile ] || exit 0; \
3870 r=`${PWD_COMMAND}`; export r; \
3871 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3872 $(SET_LIB_PATH) \
3873 $(HOST_EXPORTS) \
3874 for flag in $(EXTRA_HOST_FLAGS) ; do \
3875 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3876 done; \
3877 echo "Doing TAGS in bfd" ; \
3878 (cd bfd && \
3879 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3880 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3881 "RANLIB=$${RANLIB}" \
3882 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3883 TAGS) \
3884 || exit 1
3886 @endif bfd
3888 .PHONY: maybe-install-info-bfd install-info-bfd
3889 maybe-install-info-bfd:
3890 @if bfd
3891 maybe-install-info-bfd: install-info-bfd
3893 install-info-bfd: \
3894 configure-bfd \
3895 info-bfd
3896 @[ -f ./bfd/Makefile ] || exit 0; \
3897 r=`${PWD_COMMAND}`; export r; \
3898 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3899 $(SET_LIB_PATH) \
3900 $(HOST_EXPORTS) \
3901 for flag in $(EXTRA_HOST_FLAGS) ; do \
3902 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3903 done; \
3904 echo "Doing install-info in bfd" ; \
3905 (cd bfd && \
3906 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3907 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3908 "RANLIB=$${RANLIB}" \
3909 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3910 install-info) \
3911 || exit 1
3913 @endif bfd
3915 .PHONY: maybe-installcheck-bfd installcheck-bfd
3916 maybe-installcheck-bfd:
3917 @if bfd
3918 maybe-installcheck-bfd: installcheck-bfd
3920 installcheck-bfd: \
3921 configure-bfd
3922 @[ -f ./bfd/Makefile ] || exit 0; \
3923 r=`${PWD_COMMAND}`; export r; \
3924 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3925 $(SET_LIB_PATH) \
3926 $(HOST_EXPORTS) \
3927 for flag in $(EXTRA_HOST_FLAGS) ; do \
3928 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3929 done; \
3930 echo "Doing installcheck in bfd" ; \
3931 (cd bfd && \
3932 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3933 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3934 "RANLIB=$${RANLIB}" \
3935 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3936 installcheck) \
3937 || exit 1
3939 @endif bfd
3941 .PHONY: maybe-mostlyclean-bfd mostlyclean-bfd
3942 maybe-mostlyclean-bfd:
3943 @if bfd
3944 maybe-mostlyclean-bfd: mostlyclean-bfd
3946 mostlyclean-bfd:
3947 @[ -f ./bfd/Makefile ] || exit 0; \
3948 r=`${PWD_COMMAND}`; export r; \
3949 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3950 $(SET_LIB_PATH) \
3951 $(HOST_EXPORTS) \
3952 for flag in $(EXTRA_HOST_FLAGS) ; do \
3953 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3954 done; \
3955 echo "Doing mostlyclean in bfd" ; \
3956 (cd bfd && \
3957 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3958 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3959 "RANLIB=$${RANLIB}" \
3960 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3961 mostlyclean) \
3962 || exit 1
3964 @endif bfd
3966 .PHONY: maybe-clean-bfd clean-bfd
3967 maybe-clean-bfd:
3968 @if bfd
3969 maybe-clean-bfd: clean-bfd
3971 clean-bfd:
3972 @[ -f ./bfd/Makefile ] || exit 0; \
3973 r=`${PWD_COMMAND}`; export r; \
3974 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3975 $(SET_LIB_PATH) \
3976 $(HOST_EXPORTS) \
3977 for flag in $(EXTRA_HOST_FLAGS) ; do \
3978 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3979 done; \
3980 echo "Doing clean in bfd" ; \
3981 (cd bfd && \
3982 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3983 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3984 "RANLIB=$${RANLIB}" \
3985 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3986 clean) \
3987 || exit 1
3989 @endif bfd
3991 .PHONY: maybe-distclean-bfd distclean-bfd
3992 maybe-distclean-bfd:
3993 @if bfd
3994 maybe-distclean-bfd: distclean-bfd
3996 distclean-bfd:
3997 @[ -f ./bfd/Makefile ] || exit 0; \
3998 r=`${PWD_COMMAND}`; export r; \
3999 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4000 $(SET_LIB_PATH) \
4001 $(HOST_EXPORTS) \
4002 for flag in $(EXTRA_HOST_FLAGS) ; do \
4003 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4004 done; \
4005 echo "Doing distclean in bfd" ; \
4006 (cd bfd && \
4007 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4008 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4009 "RANLIB=$${RANLIB}" \
4010 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4011 distclean) \
4012 || exit 1
4014 @endif bfd
4016 .PHONY: maybe-maintainer-clean-bfd maintainer-clean-bfd
4017 maybe-maintainer-clean-bfd:
4018 @if bfd
4019 maybe-maintainer-clean-bfd: maintainer-clean-bfd
4021 maintainer-clean-bfd:
4022 @[ -f ./bfd/Makefile ] || exit 0; \
4023 r=`${PWD_COMMAND}`; export r; \
4024 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4025 $(SET_LIB_PATH) \
4026 $(HOST_EXPORTS) \
4027 for flag in $(EXTRA_HOST_FLAGS) ; do \
4028 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4029 done; \
4030 echo "Doing maintainer-clean in bfd" ; \
4031 (cd bfd && \
4032 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4033 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4034 "RANLIB=$${RANLIB}" \
4035 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4036 maintainer-clean) \
4037 || exit 1
4039 @endif bfd
4042 .PHONY: configure-opcodes maybe-configure-opcodes
4043 maybe-configure-opcodes:
4044 @if opcodes
4045 maybe-configure-opcodes: configure-opcodes
4046 configure-opcodes:
4047 @test ! -f opcodes/Makefile || exit 0; \
4048 [ -d opcodes ] || mkdir opcodes; \
4049 r=`${PWD_COMMAND}`; export r; \
4050 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4051 $(HOST_EXPORTS) \
4052 echo Configuring in opcodes; \
4053 cd opcodes || exit 1; \
4054 case $(srcdir) in \
4055 \.) \
4056 srcdiroption="--srcdir=."; \
4057 libsrcdir=".";; \
4058 /* | [A-Za-z]:[\\/]*) \
4059 srcdiroption="--srcdir=$(srcdir)/opcodes"; \
4060 libsrcdir="$$s/opcodes";; \
4061 *) \
4062 srcdiroption="--srcdir=../$(srcdir)/opcodes"; \
4063 libsrcdir="$$s/opcodes";; \
4064 esac; \
4065 $(SHELL) $${libsrcdir}/configure \
4066 $(HOST_CONFIGARGS) $${srcdiroption} \
4067 || exit 1
4068 @endif opcodes
4070 .PHONY: all-opcodes maybe-all-opcodes
4071 maybe-all-opcodes:
4072 @if opcodes
4073 maybe-all-opcodes: all-opcodes
4074 all-opcodes: configure-opcodes
4075 @r=`${PWD_COMMAND}`; export r; \
4076 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4077 $(SET_LIB_PATH) \
4078 $(HOST_EXPORTS) \
4079 (cd opcodes && $(MAKE) $(FLAGS_TO_PASS) all)
4080 @endif opcodes
4082 .PHONY: check-opcodes maybe-check-opcodes
4083 maybe-check-opcodes:
4084 @if opcodes
4085 maybe-check-opcodes: check-opcodes
4087 check-opcodes:
4088 @r=`${PWD_COMMAND}`; export r; \
4089 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4090 $(SET_LIB_PATH) \
4091 $(HOST_EXPORTS) \
4092 (cd opcodes && $(MAKE) $(FLAGS_TO_PASS) check)
4094 @endif opcodes
4096 .PHONY: install-opcodes maybe-install-opcodes
4097 maybe-install-opcodes:
4098 @if opcodes
4099 maybe-install-opcodes: install-opcodes
4101 install-opcodes: installdirs
4102 @r=`${PWD_COMMAND}`; export r; \
4103 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4104 $(SET_LIB_PATH) \
4105 $(HOST_EXPORTS) \
4106 (cd opcodes && $(MAKE) $(FLAGS_TO_PASS) install)
4108 @endif opcodes
4110 # Other targets (info, dvi, etc.)
4112 .PHONY: maybe-info-opcodes info-opcodes
4113 maybe-info-opcodes:
4114 @if opcodes
4115 maybe-info-opcodes: info-opcodes
4117 info-opcodes: \
4118 configure-opcodes
4119 @[ -f ./opcodes/Makefile ] || exit 0; \
4120 r=`${PWD_COMMAND}`; export r; \
4121 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4122 $(SET_LIB_PATH) \
4123 $(HOST_EXPORTS) \
4124 for flag in $(EXTRA_HOST_FLAGS) ; do \
4125 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4126 done; \
4127 echo "Doing info in opcodes" ; \
4128 (cd opcodes && \
4129 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4130 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4131 "RANLIB=$${RANLIB}" \
4132 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4133 info) \
4134 || exit 1
4136 @endif opcodes
4138 .PHONY: maybe-dvi-opcodes dvi-opcodes
4139 maybe-dvi-opcodes:
4140 @if opcodes
4141 maybe-dvi-opcodes: dvi-opcodes
4143 dvi-opcodes: \
4144 configure-opcodes
4145 @[ -f ./opcodes/Makefile ] || exit 0; \
4146 r=`${PWD_COMMAND}`; export r; \
4147 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4148 $(SET_LIB_PATH) \
4149 $(HOST_EXPORTS) \
4150 for flag in $(EXTRA_HOST_FLAGS) ; do \
4151 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4152 done; \
4153 echo "Doing dvi in opcodes" ; \
4154 (cd opcodes && \
4155 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4156 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4157 "RANLIB=$${RANLIB}" \
4158 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4159 dvi) \
4160 || exit 1
4162 @endif opcodes
4164 .PHONY: maybe-TAGS-opcodes TAGS-opcodes
4165 maybe-TAGS-opcodes:
4166 @if opcodes
4167 maybe-TAGS-opcodes: TAGS-opcodes
4169 TAGS-opcodes: \
4170 configure-opcodes
4171 @[ -f ./opcodes/Makefile ] || exit 0; \
4172 r=`${PWD_COMMAND}`; export r; \
4173 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4174 $(SET_LIB_PATH) \
4175 $(HOST_EXPORTS) \
4176 for flag in $(EXTRA_HOST_FLAGS) ; do \
4177 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4178 done; \
4179 echo "Doing TAGS in opcodes" ; \
4180 (cd opcodes && \
4181 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4182 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4183 "RANLIB=$${RANLIB}" \
4184 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4185 TAGS) \
4186 || exit 1
4188 @endif opcodes
4190 .PHONY: maybe-install-info-opcodes install-info-opcodes
4191 maybe-install-info-opcodes:
4192 @if opcodes
4193 maybe-install-info-opcodes: install-info-opcodes
4195 install-info-opcodes: \
4196 configure-opcodes \
4197 info-opcodes
4198 @[ -f ./opcodes/Makefile ] || exit 0; \
4199 r=`${PWD_COMMAND}`; export r; \
4200 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4201 $(SET_LIB_PATH) \
4202 $(HOST_EXPORTS) \
4203 for flag in $(EXTRA_HOST_FLAGS) ; do \
4204 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4205 done; \
4206 echo "Doing install-info in opcodes" ; \
4207 (cd opcodes && \
4208 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4209 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4210 "RANLIB=$${RANLIB}" \
4211 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4212 install-info) \
4213 || exit 1
4215 @endif opcodes
4217 .PHONY: maybe-installcheck-opcodes installcheck-opcodes
4218 maybe-installcheck-opcodes:
4219 @if opcodes
4220 maybe-installcheck-opcodes: installcheck-opcodes
4222 installcheck-opcodes: \
4223 configure-opcodes
4224 @[ -f ./opcodes/Makefile ] || exit 0; \
4225 r=`${PWD_COMMAND}`; export r; \
4226 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4227 $(SET_LIB_PATH) \
4228 $(HOST_EXPORTS) \
4229 for flag in $(EXTRA_HOST_FLAGS) ; do \
4230 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4231 done; \
4232 echo "Doing installcheck in opcodes" ; \
4233 (cd opcodes && \
4234 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4235 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4236 "RANLIB=$${RANLIB}" \
4237 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4238 installcheck) \
4239 || exit 1
4241 @endif opcodes
4243 .PHONY: maybe-mostlyclean-opcodes mostlyclean-opcodes
4244 maybe-mostlyclean-opcodes:
4245 @if opcodes
4246 maybe-mostlyclean-opcodes: mostlyclean-opcodes
4248 mostlyclean-opcodes:
4249 @[ -f ./opcodes/Makefile ] || exit 0; \
4250 r=`${PWD_COMMAND}`; export r; \
4251 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4252 $(SET_LIB_PATH) \
4253 $(HOST_EXPORTS) \
4254 for flag in $(EXTRA_HOST_FLAGS) ; do \
4255 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4256 done; \
4257 echo "Doing mostlyclean in opcodes" ; \
4258 (cd opcodes && \
4259 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4260 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4261 "RANLIB=$${RANLIB}" \
4262 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4263 mostlyclean) \
4264 || exit 1
4266 @endif opcodes
4268 .PHONY: maybe-clean-opcodes clean-opcodes
4269 maybe-clean-opcodes:
4270 @if opcodes
4271 maybe-clean-opcodes: clean-opcodes
4273 clean-opcodes:
4274 @[ -f ./opcodes/Makefile ] || exit 0; \
4275 r=`${PWD_COMMAND}`; export r; \
4276 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4277 $(SET_LIB_PATH) \
4278 $(HOST_EXPORTS) \
4279 for flag in $(EXTRA_HOST_FLAGS) ; do \
4280 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4281 done; \
4282 echo "Doing clean in opcodes" ; \
4283 (cd opcodes && \
4284 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4285 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4286 "RANLIB=$${RANLIB}" \
4287 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4288 clean) \
4289 || exit 1
4291 @endif opcodes
4293 .PHONY: maybe-distclean-opcodes distclean-opcodes
4294 maybe-distclean-opcodes:
4295 @if opcodes
4296 maybe-distclean-opcodes: distclean-opcodes
4298 distclean-opcodes:
4299 @[ -f ./opcodes/Makefile ] || exit 0; \
4300 r=`${PWD_COMMAND}`; export r; \
4301 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4302 $(SET_LIB_PATH) \
4303 $(HOST_EXPORTS) \
4304 for flag in $(EXTRA_HOST_FLAGS) ; do \
4305 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4306 done; \
4307 echo "Doing distclean in opcodes" ; \
4308 (cd opcodes && \
4309 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4310 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4311 "RANLIB=$${RANLIB}" \
4312 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4313 distclean) \
4314 || exit 1
4316 @endif opcodes
4318 .PHONY: maybe-maintainer-clean-opcodes maintainer-clean-opcodes
4319 maybe-maintainer-clean-opcodes:
4320 @if opcodes
4321 maybe-maintainer-clean-opcodes: maintainer-clean-opcodes
4323 maintainer-clean-opcodes:
4324 @[ -f ./opcodes/Makefile ] || exit 0; \
4325 r=`${PWD_COMMAND}`; export r; \
4326 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4327 $(SET_LIB_PATH) \
4328 $(HOST_EXPORTS) \
4329 for flag in $(EXTRA_HOST_FLAGS) ; do \
4330 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4331 done; \
4332 echo "Doing maintainer-clean in opcodes" ; \
4333 (cd opcodes && \
4334 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4335 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4336 "RANLIB=$${RANLIB}" \
4337 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4338 maintainer-clean) \
4339 || exit 1
4341 @endif opcodes
4344 .PHONY: configure-binutils maybe-configure-binutils
4345 maybe-configure-binutils:
4346 @if binutils
4347 maybe-configure-binutils: configure-binutils
4348 configure-binutils:
4349 @test ! -f binutils/Makefile || exit 0; \
4350 [ -d binutils ] || mkdir binutils; \
4351 r=`${PWD_COMMAND}`; export r; \
4352 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4353 $(HOST_EXPORTS) \
4354 echo Configuring in binutils; \
4355 cd binutils || exit 1; \
4356 case $(srcdir) in \
4357 \.) \
4358 srcdiroption="--srcdir=."; \
4359 libsrcdir=".";; \
4360 /* | [A-Za-z]:[\\/]*) \
4361 srcdiroption="--srcdir=$(srcdir)/binutils"; \
4362 libsrcdir="$$s/binutils";; \
4363 *) \
4364 srcdiroption="--srcdir=../$(srcdir)/binutils"; \
4365 libsrcdir="$$s/binutils";; \
4366 esac; \
4367 $(SHELL) $${libsrcdir}/configure \
4368 $(HOST_CONFIGARGS) $${srcdiroption} \
4369 || exit 1
4370 @endif binutils
4372 .PHONY: all-binutils maybe-all-binutils
4373 maybe-all-binutils:
4374 @if binutils
4375 maybe-all-binutils: all-binutils
4376 all-binutils: configure-binutils
4377 @r=`${PWD_COMMAND}`; export r; \
4378 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4379 $(SET_LIB_PATH) \
4380 $(HOST_EXPORTS) \
4381 (cd binutils && $(MAKE) $(FLAGS_TO_PASS) all)
4382 @endif binutils
4384 .PHONY: check-binutils maybe-check-binutils
4385 maybe-check-binutils:
4386 @if binutils
4387 maybe-check-binutils: check-binutils
4389 check-binutils:
4390 @r=`${PWD_COMMAND}`; export r; \
4391 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4392 $(SET_LIB_PATH) \
4393 $(HOST_EXPORTS) \
4394 (cd binutils && $(MAKE) $(FLAGS_TO_PASS) check)
4396 @endif binutils
4398 .PHONY: install-binutils maybe-install-binutils
4399 maybe-install-binutils:
4400 @if binutils
4401 maybe-install-binutils: install-binutils
4403 install-binutils: installdirs
4404 @r=`${PWD_COMMAND}`; export r; \
4405 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4406 $(SET_LIB_PATH) \
4407 $(HOST_EXPORTS) \
4408 (cd binutils && $(MAKE) $(FLAGS_TO_PASS) install)
4410 @endif binutils
4412 # Other targets (info, dvi, etc.)
4414 .PHONY: maybe-info-binutils info-binutils
4415 maybe-info-binutils:
4416 @if binutils
4417 maybe-info-binutils: info-binutils
4419 info-binutils: \
4420 configure-binutils
4421 @[ -f ./binutils/Makefile ] || exit 0; \
4422 r=`${PWD_COMMAND}`; export r; \
4423 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4424 $(SET_LIB_PATH) \
4425 $(HOST_EXPORTS) \
4426 for flag in $(EXTRA_HOST_FLAGS) ; do \
4427 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4428 done; \
4429 echo "Doing info in binutils" ; \
4430 (cd binutils && \
4431 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4432 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4433 "RANLIB=$${RANLIB}" \
4434 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4435 info) \
4436 || exit 1
4438 @endif binutils
4440 .PHONY: maybe-dvi-binutils dvi-binutils
4441 maybe-dvi-binutils:
4442 @if binutils
4443 maybe-dvi-binutils: dvi-binutils
4445 dvi-binutils: \
4446 configure-binutils
4447 @[ -f ./binutils/Makefile ] || exit 0; \
4448 r=`${PWD_COMMAND}`; export r; \
4449 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4450 $(SET_LIB_PATH) \
4451 $(HOST_EXPORTS) \
4452 for flag in $(EXTRA_HOST_FLAGS) ; do \
4453 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4454 done; \
4455 echo "Doing dvi in binutils" ; \
4456 (cd binutils && \
4457 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4458 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4459 "RANLIB=$${RANLIB}" \
4460 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4461 dvi) \
4462 || exit 1
4464 @endif binutils
4466 .PHONY: maybe-TAGS-binutils TAGS-binutils
4467 maybe-TAGS-binutils:
4468 @if binutils
4469 maybe-TAGS-binutils: TAGS-binutils
4471 TAGS-binutils: \
4472 configure-binutils
4473 @[ -f ./binutils/Makefile ] || exit 0; \
4474 r=`${PWD_COMMAND}`; export r; \
4475 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4476 $(SET_LIB_PATH) \
4477 $(HOST_EXPORTS) \
4478 for flag in $(EXTRA_HOST_FLAGS) ; do \
4479 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4480 done; \
4481 echo "Doing TAGS in binutils" ; \
4482 (cd binutils && \
4483 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4484 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4485 "RANLIB=$${RANLIB}" \
4486 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4487 TAGS) \
4488 || exit 1
4490 @endif binutils
4492 .PHONY: maybe-install-info-binutils install-info-binutils
4493 maybe-install-info-binutils:
4494 @if binutils
4495 maybe-install-info-binutils: install-info-binutils
4497 install-info-binutils: \
4498 configure-binutils \
4499 info-binutils
4500 @[ -f ./binutils/Makefile ] || exit 0; \
4501 r=`${PWD_COMMAND}`; export r; \
4502 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4503 $(SET_LIB_PATH) \
4504 $(HOST_EXPORTS) \
4505 for flag in $(EXTRA_HOST_FLAGS) ; do \
4506 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4507 done; \
4508 echo "Doing install-info in binutils" ; \
4509 (cd binutils && \
4510 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4511 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4512 "RANLIB=$${RANLIB}" \
4513 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4514 install-info) \
4515 || exit 1
4517 @endif binutils
4519 .PHONY: maybe-installcheck-binutils installcheck-binutils
4520 maybe-installcheck-binutils:
4521 @if binutils
4522 maybe-installcheck-binutils: installcheck-binutils
4524 installcheck-binutils: \
4525 configure-binutils
4526 @[ -f ./binutils/Makefile ] || exit 0; \
4527 r=`${PWD_COMMAND}`; export r; \
4528 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4529 $(SET_LIB_PATH) \
4530 $(HOST_EXPORTS) \
4531 for flag in $(EXTRA_HOST_FLAGS) ; do \
4532 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4533 done; \
4534 echo "Doing installcheck in binutils" ; \
4535 (cd binutils && \
4536 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4537 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4538 "RANLIB=$${RANLIB}" \
4539 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4540 installcheck) \
4541 || exit 1
4543 @endif binutils
4545 .PHONY: maybe-mostlyclean-binutils mostlyclean-binutils
4546 maybe-mostlyclean-binutils:
4547 @if binutils
4548 maybe-mostlyclean-binutils: mostlyclean-binutils
4550 mostlyclean-binutils:
4551 @[ -f ./binutils/Makefile ] || exit 0; \
4552 r=`${PWD_COMMAND}`; export r; \
4553 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4554 $(SET_LIB_PATH) \
4555 $(HOST_EXPORTS) \
4556 for flag in $(EXTRA_HOST_FLAGS) ; do \
4557 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4558 done; \
4559 echo "Doing mostlyclean in binutils" ; \
4560 (cd binutils && \
4561 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4562 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4563 "RANLIB=$${RANLIB}" \
4564 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4565 mostlyclean) \
4566 || exit 1
4568 @endif binutils
4570 .PHONY: maybe-clean-binutils clean-binutils
4571 maybe-clean-binutils:
4572 @if binutils
4573 maybe-clean-binutils: clean-binutils
4575 clean-binutils:
4576 @[ -f ./binutils/Makefile ] || exit 0; \
4577 r=`${PWD_COMMAND}`; export r; \
4578 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4579 $(SET_LIB_PATH) \
4580 $(HOST_EXPORTS) \
4581 for flag in $(EXTRA_HOST_FLAGS) ; do \
4582 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4583 done; \
4584 echo "Doing clean in binutils" ; \
4585 (cd binutils && \
4586 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4587 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4588 "RANLIB=$${RANLIB}" \
4589 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4590 clean) \
4591 || exit 1
4593 @endif binutils
4595 .PHONY: maybe-distclean-binutils distclean-binutils
4596 maybe-distclean-binutils:
4597 @if binutils
4598 maybe-distclean-binutils: distclean-binutils
4600 distclean-binutils:
4601 @[ -f ./binutils/Makefile ] || exit 0; \
4602 r=`${PWD_COMMAND}`; export r; \
4603 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4604 $(SET_LIB_PATH) \
4605 $(HOST_EXPORTS) \
4606 for flag in $(EXTRA_HOST_FLAGS) ; do \
4607 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4608 done; \
4609 echo "Doing distclean in binutils" ; \
4610 (cd binutils && \
4611 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4612 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4613 "RANLIB=$${RANLIB}" \
4614 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4615 distclean) \
4616 || exit 1
4618 @endif binutils
4620 .PHONY: maybe-maintainer-clean-binutils maintainer-clean-binutils
4621 maybe-maintainer-clean-binutils:
4622 @if binutils
4623 maybe-maintainer-clean-binutils: maintainer-clean-binutils
4625 maintainer-clean-binutils:
4626 @[ -f ./binutils/Makefile ] || exit 0; \
4627 r=`${PWD_COMMAND}`; export r; \
4628 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4629 $(SET_LIB_PATH) \
4630 $(HOST_EXPORTS) \
4631 for flag in $(EXTRA_HOST_FLAGS) ; do \
4632 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4633 done; \
4634 echo "Doing maintainer-clean in binutils" ; \
4635 (cd binutils && \
4636 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4637 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4638 "RANLIB=$${RANLIB}" \
4639 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4640 maintainer-clean) \
4641 || exit 1
4643 @endif binutils
4646 .PHONY: configure-bison maybe-configure-bison
4647 maybe-configure-bison:
4648 @if bison
4649 maybe-configure-bison: configure-bison
4650 configure-bison:
4651 @test ! -f bison/Makefile || exit 0; \
4652 [ -d bison ] || mkdir bison; \
4653 r=`${PWD_COMMAND}`; export r; \
4654 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4655 $(HOST_EXPORTS) \
4656 echo Configuring in bison; \
4657 cd bison || exit 1; \
4658 case $(srcdir) in \
4659 \.) \
4660 srcdiroption="--srcdir=."; \
4661 libsrcdir=".";; \
4662 /* | [A-Za-z]:[\\/]*) \
4663 srcdiroption="--srcdir=$(srcdir)/bison"; \
4664 libsrcdir="$$s/bison";; \
4665 *) \
4666 srcdiroption="--srcdir=../$(srcdir)/bison"; \
4667 libsrcdir="$$s/bison";; \
4668 esac; \
4669 $(SHELL) $${libsrcdir}/configure \
4670 $(HOST_CONFIGARGS) $${srcdiroption} \
4671 || exit 1
4672 @endif bison
4674 .PHONY: all-bison maybe-all-bison
4675 maybe-all-bison:
4676 @if bison
4677 maybe-all-bison: all-bison
4678 all-bison: configure-bison
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) all)
4684 @endif bison
4686 .PHONY: check-bison maybe-check-bison
4687 maybe-check-bison:
4688 @if bison
4689 maybe-check-bison: check-bison
4691 # This module is only tested in a native toolchain.
4692 check-bison:
4693 @if [ '$(host)' = '$(target)' ] ; then \
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) check); \
4701 @endif bison
4703 .PHONY: install-bison maybe-install-bison
4704 maybe-install-bison:
4705 @if bison
4706 maybe-install-bison: install-bison
4708 install-bison: installdirs
4709 @r=`${PWD_COMMAND}`; export r; \
4710 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4711 $(SET_LIB_PATH) \
4712 $(HOST_EXPORTS) \
4713 (cd bison && $(MAKE) $(FLAGS_TO_PASS) install)
4715 @endif bison
4717 # Other targets (info, dvi, etc.)
4719 .PHONY: maybe-info-bison info-bison
4720 maybe-info-bison:
4721 @if bison
4722 maybe-info-bison: info-bison
4724 info-bison: \
4725 configure-bison
4726 @[ -f ./bison/Makefile ] || exit 0; \
4727 r=`${PWD_COMMAND}`; export r; \
4728 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4729 $(SET_LIB_PATH) \
4730 $(HOST_EXPORTS) \
4731 for flag in $(EXTRA_HOST_FLAGS) ; do \
4732 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4733 done; \
4734 echo "Doing info in bison" ; \
4735 (cd bison && \
4736 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4737 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4738 "RANLIB=$${RANLIB}" \
4739 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4740 info) \
4741 || exit 1
4743 @endif bison
4745 .PHONY: maybe-dvi-bison dvi-bison
4746 maybe-dvi-bison:
4747 @if bison
4748 maybe-dvi-bison: dvi-bison
4750 dvi-bison: \
4751 configure-bison
4752 @[ -f ./bison/Makefile ] || exit 0; \
4753 r=`${PWD_COMMAND}`; export r; \
4754 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4755 $(SET_LIB_PATH) \
4756 $(HOST_EXPORTS) \
4757 for flag in $(EXTRA_HOST_FLAGS) ; do \
4758 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4759 done; \
4760 echo "Doing dvi in bison" ; \
4761 (cd bison && \
4762 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4763 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4764 "RANLIB=$${RANLIB}" \
4765 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4766 dvi) \
4767 || exit 1
4769 @endif bison
4771 .PHONY: maybe-TAGS-bison TAGS-bison
4772 maybe-TAGS-bison:
4773 @if bison
4774 maybe-TAGS-bison: TAGS-bison
4776 TAGS-bison: \
4777 configure-bison
4778 @[ -f ./bison/Makefile ] || exit 0; \
4779 r=`${PWD_COMMAND}`; export r; \
4780 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4781 $(SET_LIB_PATH) \
4782 $(HOST_EXPORTS) \
4783 for flag in $(EXTRA_HOST_FLAGS) ; do \
4784 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4785 done; \
4786 echo "Doing TAGS in bison" ; \
4787 (cd bison && \
4788 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4789 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4790 "RANLIB=$${RANLIB}" \
4791 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4792 TAGS) \
4793 || exit 1
4795 @endif bison
4797 .PHONY: maybe-install-info-bison install-info-bison
4798 maybe-install-info-bison:
4799 @if bison
4800 maybe-install-info-bison: install-info-bison
4802 install-info-bison: \
4803 configure-bison \
4804 info-bison
4805 @[ -f ./bison/Makefile ] || exit 0; \
4806 r=`${PWD_COMMAND}`; export r; \
4807 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4808 $(SET_LIB_PATH) \
4809 $(HOST_EXPORTS) \
4810 for flag in $(EXTRA_HOST_FLAGS) ; do \
4811 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4812 done; \
4813 echo "Doing install-info in bison" ; \
4814 (cd bison && \
4815 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4816 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4817 "RANLIB=$${RANLIB}" \
4818 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4819 install-info) \
4820 || exit 1
4822 @endif bison
4824 .PHONY: maybe-installcheck-bison installcheck-bison
4825 maybe-installcheck-bison:
4826 @if bison
4827 maybe-installcheck-bison: installcheck-bison
4829 installcheck-bison: \
4830 configure-bison
4831 @[ -f ./bison/Makefile ] || exit 0; \
4832 r=`${PWD_COMMAND}`; export r; \
4833 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4834 $(SET_LIB_PATH) \
4835 $(HOST_EXPORTS) \
4836 for flag in $(EXTRA_HOST_FLAGS) ; do \
4837 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4838 done; \
4839 echo "Doing installcheck in bison" ; \
4840 (cd bison && \
4841 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4842 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4843 "RANLIB=$${RANLIB}" \
4844 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4845 installcheck) \
4846 || exit 1
4848 @endif bison
4850 .PHONY: maybe-mostlyclean-bison mostlyclean-bison
4851 maybe-mostlyclean-bison:
4852 @if bison
4853 maybe-mostlyclean-bison: mostlyclean-bison
4855 mostlyclean-bison:
4856 @[ -f ./bison/Makefile ] || exit 0; \
4857 r=`${PWD_COMMAND}`; export r; \
4858 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4859 $(SET_LIB_PATH) \
4860 $(HOST_EXPORTS) \
4861 for flag in $(EXTRA_HOST_FLAGS) ; do \
4862 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4863 done; \
4864 echo "Doing mostlyclean in bison" ; \
4865 (cd bison && \
4866 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4867 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4868 "RANLIB=$${RANLIB}" \
4869 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4870 mostlyclean) \
4871 || exit 1
4873 @endif bison
4875 .PHONY: maybe-clean-bison clean-bison
4876 maybe-clean-bison:
4877 @if bison
4878 maybe-clean-bison: clean-bison
4880 clean-bison:
4881 @[ -f ./bison/Makefile ] || exit 0; \
4882 r=`${PWD_COMMAND}`; export r; \
4883 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4884 $(SET_LIB_PATH) \
4885 $(HOST_EXPORTS) \
4886 for flag in $(EXTRA_HOST_FLAGS) ; do \
4887 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4888 done; \
4889 echo "Doing clean in bison" ; \
4890 (cd bison && \
4891 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4892 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4893 "RANLIB=$${RANLIB}" \
4894 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4895 clean) \
4896 || exit 1
4898 @endif bison
4900 .PHONY: maybe-distclean-bison distclean-bison
4901 maybe-distclean-bison:
4902 @if bison
4903 maybe-distclean-bison: distclean-bison
4905 distclean-bison:
4906 @[ -f ./bison/Makefile ] || exit 0; \
4907 r=`${PWD_COMMAND}`; export r; \
4908 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4909 $(SET_LIB_PATH) \
4910 $(HOST_EXPORTS) \
4911 for flag in $(EXTRA_HOST_FLAGS) ; do \
4912 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4913 done; \
4914 echo "Doing distclean in bison" ; \
4915 (cd bison && \
4916 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4917 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4918 "RANLIB=$${RANLIB}" \
4919 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4920 distclean) \
4921 || exit 1
4923 @endif bison
4925 .PHONY: maybe-maintainer-clean-bison maintainer-clean-bison
4926 maybe-maintainer-clean-bison:
4927 @if bison
4928 maybe-maintainer-clean-bison: maintainer-clean-bison
4930 maintainer-clean-bison:
4931 @[ -f ./bison/Makefile ] || exit 0; \
4932 r=`${PWD_COMMAND}`; export r; \
4933 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4934 $(SET_LIB_PATH) \
4935 $(HOST_EXPORTS) \
4936 for flag in $(EXTRA_HOST_FLAGS) ; do \
4937 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4938 done; \
4939 echo "Doing maintainer-clean in bison" ; \
4940 (cd bison && \
4941 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4942 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4943 "RANLIB=$${RANLIB}" \
4944 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4945 maintainer-clean) \
4946 || exit 1
4948 @endif bison
4951 .PHONY: configure-byacc maybe-configure-byacc
4952 maybe-configure-byacc:
4953 @if byacc
4954 maybe-configure-byacc: configure-byacc
4955 configure-byacc:
4956 @test ! -f byacc/Makefile || exit 0; \
4957 [ -d byacc ] || mkdir byacc; \
4958 r=`${PWD_COMMAND}`; export r; \
4959 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4960 $(HOST_EXPORTS) \
4961 echo Configuring in byacc; \
4962 cd byacc || exit 1; \
4963 case $(srcdir) in \
4964 \.) \
4965 srcdiroption="--srcdir=."; \
4966 libsrcdir=".";; \
4967 /* | [A-Za-z]:[\\/]*) \
4968 srcdiroption="--srcdir=$(srcdir)/byacc"; \
4969 libsrcdir="$$s/byacc";; \
4970 *) \
4971 srcdiroption="--srcdir=../$(srcdir)/byacc"; \
4972 libsrcdir="$$s/byacc";; \
4973 esac; \
4974 $(SHELL) $${libsrcdir}/configure \
4975 $(HOST_CONFIGARGS) $${srcdiroption} \
4976 || exit 1
4977 @endif byacc
4979 .PHONY: all-byacc maybe-all-byacc
4980 maybe-all-byacc:
4981 @if byacc
4982 maybe-all-byacc: all-byacc
4983 all-byacc: configure-byacc
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) all)
4989 @endif byacc
4991 .PHONY: check-byacc maybe-check-byacc
4992 maybe-check-byacc:
4993 @if byacc
4994 maybe-check-byacc: check-byacc
4996 # This module is only tested in a native toolchain.
4997 check-byacc:
4998 @if [ '$(host)' = '$(target)' ] ; then \
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) check); \
5006 @endif byacc
5008 .PHONY: install-byacc maybe-install-byacc
5009 maybe-install-byacc:
5010 @if byacc
5011 maybe-install-byacc: install-byacc
5013 install-byacc: installdirs
5014 @r=`${PWD_COMMAND}`; export r; \
5015 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5016 $(SET_LIB_PATH) \
5017 $(HOST_EXPORTS) \
5018 (cd byacc && $(MAKE) $(FLAGS_TO_PASS) install)
5020 @endif byacc
5022 # Other targets (info, dvi, etc.)
5024 .PHONY: maybe-info-byacc info-byacc
5025 maybe-info-byacc:
5026 @if byacc
5027 maybe-info-byacc: info-byacc
5029 info-byacc: \
5030 configure-byacc
5031 @[ -f ./byacc/Makefile ] || exit 0; \
5032 r=`${PWD_COMMAND}`; export r; \
5033 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5034 $(SET_LIB_PATH) \
5035 $(HOST_EXPORTS) \
5036 for flag in $(EXTRA_HOST_FLAGS) ; do \
5037 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5038 done; \
5039 echo "Doing info in byacc" ; \
5040 (cd byacc && \
5041 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5042 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5043 "RANLIB=$${RANLIB}" \
5044 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5045 info) \
5046 || exit 1
5048 @endif byacc
5050 .PHONY: maybe-dvi-byacc dvi-byacc
5051 maybe-dvi-byacc:
5052 @if byacc
5053 maybe-dvi-byacc: dvi-byacc
5055 dvi-byacc: \
5056 configure-byacc
5057 @[ -f ./byacc/Makefile ] || exit 0; \
5058 r=`${PWD_COMMAND}`; export r; \
5059 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5060 $(SET_LIB_PATH) \
5061 $(HOST_EXPORTS) \
5062 for flag in $(EXTRA_HOST_FLAGS) ; do \
5063 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5064 done; \
5065 echo "Doing dvi in byacc" ; \
5066 (cd byacc && \
5067 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5068 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5069 "RANLIB=$${RANLIB}" \
5070 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5071 dvi) \
5072 || exit 1
5074 @endif byacc
5076 .PHONY: maybe-TAGS-byacc TAGS-byacc
5077 maybe-TAGS-byacc:
5078 @if byacc
5079 maybe-TAGS-byacc: TAGS-byacc
5081 TAGS-byacc: \
5082 configure-byacc
5083 @[ -f ./byacc/Makefile ] || exit 0; \
5084 r=`${PWD_COMMAND}`; export r; \
5085 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5086 $(SET_LIB_PATH) \
5087 $(HOST_EXPORTS) \
5088 for flag in $(EXTRA_HOST_FLAGS) ; do \
5089 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5090 done; \
5091 echo "Doing TAGS in byacc" ; \
5092 (cd byacc && \
5093 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5094 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5095 "RANLIB=$${RANLIB}" \
5096 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5097 TAGS) \
5098 || exit 1
5100 @endif byacc
5102 .PHONY: maybe-install-info-byacc install-info-byacc
5103 maybe-install-info-byacc:
5104 @if byacc
5105 maybe-install-info-byacc: install-info-byacc
5107 install-info-byacc: \
5108 configure-byacc \
5109 info-byacc
5110 @[ -f ./byacc/Makefile ] || exit 0; \
5111 r=`${PWD_COMMAND}`; export r; \
5112 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5113 $(SET_LIB_PATH) \
5114 $(HOST_EXPORTS) \
5115 for flag in $(EXTRA_HOST_FLAGS) ; do \
5116 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5117 done; \
5118 echo "Doing install-info in byacc" ; \
5119 (cd byacc && \
5120 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5121 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5122 "RANLIB=$${RANLIB}" \
5123 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5124 install-info) \
5125 || exit 1
5127 @endif byacc
5129 .PHONY: maybe-installcheck-byacc installcheck-byacc
5130 maybe-installcheck-byacc:
5131 @if byacc
5132 maybe-installcheck-byacc: installcheck-byacc
5134 installcheck-byacc: \
5135 configure-byacc
5136 @[ -f ./byacc/Makefile ] || exit 0; \
5137 r=`${PWD_COMMAND}`; export r; \
5138 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5139 $(SET_LIB_PATH) \
5140 $(HOST_EXPORTS) \
5141 for flag in $(EXTRA_HOST_FLAGS) ; do \
5142 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5143 done; \
5144 echo "Doing installcheck in byacc" ; \
5145 (cd byacc && \
5146 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5147 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5148 "RANLIB=$${RANLIB}" \
5149 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5150 installcheck) \
5151 || exit 1
5153 @endif byacc
5155 .PHONY: maybe-mostlyclean-byacc mostlyclean-byacc
5156 maybe-mostlyclean-byacc:
5157 @if byacc
5158 maybe-mostlyclean-byacc: mostlyclean-byacc
5160 mostlyclean-byacc:
5161 @[ -f ./byacc/Makefile ] || exit 0; \
5162 r=`${PWD_COMMAND}`; export r; \
5163 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5164 $(SET_LIB_PATH) \
5165 $(HOST_EXPORTS) \
5166 for flag in $(EXTRA_HOST_FLAGS) ; do \
5167 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5168 done; \
5169 echo "Doing mostlyclean in byacc" ; \
5170 (cd byacc && \
5171 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5172 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5173 "RANLIB=$${RANLIB}" \
5174 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5175 mostlyclean) \
5176 || exit 1
5178 @endif byacc
5180 .PHONY: maybe-clean-byacc clean-byacc
5181 maybe-clean-byacc:
5182 @if byacc
5183 maybe-clean-byacc: clean-byacc
5185 clean-byacc:
5186 @[ -f ./byacc/Makefile ] || exit 0; \
5187 r=`${PWD_COMMAND}`; export r; \
5188 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5189 $(SET_LIB_PATH) \
5190 $(HOST_EXPORTS) \
5191 for flag in $(EXTRA_HOST_FLAGS) ; do \
5192 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5193 done; \
5194 echo "Doing clean in byacc" ; \
5195 (cd byacc && \
5196 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5197 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5198 "RANLIB=$${RANLIB}" \
5199 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5200 clean) \
5201 || exit 1
5203 @endif byacc
5205 .PHONY: maybe-distclean-byacc distclean-byacc
5206 maybe-distclean-byacc:
5207 @if byacc
5208 maybe-distclean-byacc: distclean-byacc
5210 distclean-byacc:
5211 @[ -f ./byacc/Makefile ] || exit 0; \
5212 r=`${PWD_COMMAND}`; export r; \
5213 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5214 $(SET_LIB_PATH) \
5215 $(HOST_EXPORTS) \
5216 for flag in $(EXTRA_HOST_FLAGS) ; do \
5217 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5218 done; \
5219 echo "Doing distclean in byacc" ; \
5220 (cd byacc && \
5221 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5222 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5223 "RANLIB=$${RANLIB}" \
5224 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5225 distclean) \
5226 || exit 1
5228 @endif byacc
5230 .PHONY: maybe-maintainer-clean-byacc maintainer-clean-byacc
5231 maybe-maintainer-clean-byacc:
5232 @if byacc
5233 maybe-maintainer-clean-byacc: maintainer-clean-byacc
5235 maintainer-clean-byacc:
5236 @[ -f ./byacc/Makefile ] || exit 0; \
5237 r=`${PWD_COMMAND}`; export r; \
5238 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5239 $(SET_LIB_PATH) \
5240 $(HOST_EXPORTS) \
5241 for flag in $(EXTRA_HOST_FLAGS) ; do \
5242 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5243 done; \
5244 echo "Doing maintainer-clean in byacc" ; \
5245 (cd byacc && \
5246 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5247 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5248 "RANLIB=$${RANLIB}" \
5249 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5250 maintainer-clean) \
5251 || exit 1
5253 @endif byacc
5256 .PHONY: configure-bzip2 maybe-configure-bzip2
5257 maybe-configure-bzip2:
5258 @if bzip2
5259 maybe-configure-bzip2: configure-bzip2
5260 configure-bzip2:
5261 @test ! -f bzip2/Makefile || exit 0; \
5262 [ -d bzip2 ] || mkdir bzip2; \
5263 r=`${PWD_COMMAND}`; export r; \
5264 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5265 $(HOST_EXPORTS) \
5266 echo Configuring in bzip2; \
5267 cd bzip2 || exit 1; \
5268 case $(srcdir) in \
5269 \.) \
5270 srcdiroption="--srcdir=."; \
5271 libsrcdir=".";; \
5272 /* | [A-Za-z]:[\\/]*) \
5273 srcdiroption="--srcdir=$(srcdir)/bzip2"; \
5274 libsrcdir="$$s/bzip2";; \
5275 *) \
5276 srcdiroption="--srcdir=../$(srcdir)/bzip2"; \
5277 libsrcdir="$$s/bzip2";; \
5278 esac; \
5279 $(SHELL) $${libsrcdir}/configure \
5280 $(HOST_CONFIGARGS) $${srcdiroption} \
5281 || exit 1
5282 @endif bzip2
5284 .PHONY: all-bzip2 maybe-all-bzip2
5285 maybe-all-bzip2:
5286 @if bzip2
5287 maybe-all-bzip2: all-bzip2
5288 all-bzip2: configure-bzip2
5289 @r=`${PWD_COMMAND}`; export r; \
5290 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5291 $(SET_LIB_PATH) \
5292 $(HOST_EXPORTS) \
5293 (cd bzip2 && $(MAKE) $(FLAGS_TO_PASS) all)
5294 @endif bzip2
5296 .PHONY: check-bzip2 maybe-check-bzip2
5297 maybe-check-bzip2:
5298 @if bzip2
5299 maybe-check-bzip2: check-bzip2
5301 check-bzip2:
5302 @r=`${PWD_COMMAND}`; export r; \
5303 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5304 $(SET_LIB_PATH) \
5305 $(HOST_EXPORTS) \
5306 (cd bzip2 && $(MAKE) $(FLAGS_TO_PASS) check)
5308 @endif bzip2
5310 .PHONY: install-bzip2 maybe-install-bzip2
5311 maybe-install-bzip2:
5312 @if bzip2
5313 maybe-install-bzip2: install-bzip2
5315 install-bzip2: installdirs
5316 @r=`${PWD_COMMAND}`; export r; \
5317 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5318 $(SET_LIB_PATH) \
5319 $(HOST_EXPORTS) \
5320 (cd bzip2 && $(MAKE) $(FLAGS_TO_PASS) install)
5322 @endif bzip2
5324 # Other targets (info, dvi, etc.)
5326 .PHONY: maybe-info-bzip2 info-bzip2
5327 maybe-info-bzip2:
5328 @if bzip2
5329 maybe-info-bzip2: info-bzip2
5331 info-bzip2: \
5332 configure-bzip2
5333 @[ -f ./bzip2/Makefile ] || exit 0; \
5334 r=`${PWD_COMMAND}`; export r; \
5335 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5336 $(SET_LIB_PATH) \
5337 $(HOST_EXPORTS) \
5338 for flag in $(EXTRA_HOST_FLAGS) ; do \
5339 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5340 done; \
5341 echo "Doing info in bzip2" ; \
5342 (cd bzip2 && \
5343 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5344 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5345 "RANLIB=$${RANLIB}" \
5346 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5347 info) \
5348 || exit 1
5350 @endif bzip2
5352 .PHONY: maybe-dvi-bzip2 dvi-bzip2
5353 maybe-dvi-bzip2:
5354 @if bzip2
5355 maybe-dvi-bzip2: dvi-bzip2
5357 dvi-bzip2: \
5358 configure-bzip2
5359 @[ -f ./bzip2/Makefile ] || exit 0; \
5360 r=`${PWD_COMMAND}`; export r; \
5361 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5362 $(SET_LIB_PATH) \
5363 $(HOST_EXPORTS) \
5364 for flag in $(EXTRA_HOST_FLAGS) ; do \
5365 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5366 done; \
5367 echo "Doing dvi in bzip2" ; \
5368 (cd bzip2 && \
5369 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5370 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5371 "RANLIB=$${RANLIB}" \
5372 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5373 dvi) \
5374 || exit 1
5376 @endif bzip2
5378 .PHONY: maybe-TAGS-bzip2 TAGS-bzip2
5379 maybe-TAGS-bzip2:
5380 @if bzip2
5381 maybe-TAGS-bzip2: TAGS-bzip2
5383 TAGS-bzip2: \
5384 configure-bzip2
5385 @[ -f ./bzip2/Makefile ] || exit 0; \
5386 r=`${PWD_COMMAND}`; export r; \
5387 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5388 $(SET_LIB_PATH) \
5389 $(HOST_EXPORTS) \
5390 for flag in $(EXTRA_HOST_FLAGS) ; do \
5391 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5392 done; \
5393 echo "Doing TAGS in bzip2" ; \
5394 (cd bzip2 && \
5395 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5396 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5397 "RANLIB=$${RANLIB}" \
5398 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5399 TAGS) \
5400 || exit 1
5402 @endif bzip2
5404 .PHONY: maybe-install-info-bzip2 install-info-bzip2
5405 maybe-install-info-bzip2:
5406 @if bzip2
5407 maybe-install-info-bzip2: install-info-bzip2
5409 install-info-bzip2: \
5410 configure-bzip2 \
5411 info-bzip2
5412 @[ -f ./bzip2/Makefile ] || exit 0; \
5413 r=`${PWD_COMMAND}`; export r; \
5414 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5415 $(SET_LIB_PATH) \
5416 $(HOST_EXPORTS) \
5417 for flag in $(EXTRA_HOST_FLAGS) ; do \
5418 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5419 done; \
5420 echo "Doing install-info in bzip2" ; \
5421 (cd bzip2 && \
5422 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5423 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5424 "RANLIB=$${RANLIB}" \
5425 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5426 install-info) \
5427 || exit 1
5429 @endif bzip2
5431 .PHONY: maybe-installcheck-bzip2 installcheck-bzip2
5432 maybe-installcheck-bzip2:
5433 @if bzip2
5434 maybe-installcheck-bzip2: installcheck-bzip2
5436 installcheck-bzip2: \
5437 configure-bzip2
5438 @[ -f ./bzip2/Makefile ] || exit 0; \
5439 r=`${PWD_COMMAND}`; export r; \
5440 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5441 $(SET_LIB_PATH) \
5442 $(HOST_EXPORTS) \
5443 for flag in $(EXTRA_HOST_FLAGS) ; do \
5444 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5445 done; \
5446 echo "Doing installcheck in bzip2" ; \
5447 (cd bzip2 && \
5448 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5449 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5450 "RANLIB=$${RANLIB}" \
5451 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5452 installcheck) \
5453 || exit 1
5455 @endif bzip2
5457 .PHONY: maybe-mostlyclean-bzip2 mostlyclean-bzip2
5458 maybe-mostlyclean-bzip2:
5459 @if bzip2
5460 maybe-mostlyclean-bzip2: mostlyclean-bzip2
5462 mostlyclean-bzip2:
5463 @[ -f ./bzip2/Makefile ] || exit 0; \
5464 r=`${PWD_COMMAND}`; export r; \
5465 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5466 $(SET_LIB_PATH) \
5467 $(HOST_EXPORTS) \
5468 for flag in $(EXTRA_HOST_FLAGS) ; do \
5469 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5470 done; \
5471 echo "Doing mostlyclean in bzip2" ; \
5472 (cd bzip2 && \
5473 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5474 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5475 "RANLIB=$${RANLIB}" \
5476 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5477 mostlyclean) \
5478 || exit 1
5480 @endif bzip2
5482 .PHONY: maybe-clean-bzip2 clean-bzip2
5483 maybe-clean-bzip2:
5484 @if bzip2
5485 maybe-clean-bzip2: clean-bzip2
5487 clean-bzip2:
5488 @[ -f ./bzip2/Makefile ] || exit 0; \
5489 r=`${PWD_COMMAND}`; export r; \
5490 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5491 $(SET_LIB_PATH) \
5492 $(HOST_EXPORTS) \
5493 for flag in $(EXTRA_HOST_FLAGS) ; do \
5494 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5495 done; \
5496 echo "Doing clean in bzip2" ; \
5497 (cd bzip2 && \
5498 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5499 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5500 "RANLIB=$${RANLIB}" \
5501 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5502 clean) \
5503 || exit 1
5505 @endif bzip2
5507 .PHONY: maybe-distclean-bzip2 distclean-bzip2
5508 maybe-distclean-bzip2:
5509 @if bzip2
5510 maybe-distclean-bzip2: distclean-bzip2
5512 distclean-bzip2:
5513 @[ -f ./bzip2/Makefile ] || exit 0; \
5514 r=`${PWD_COMMAND}`; export r; \
5515 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5516 $(SET_LIB_PATH) \
5517 $(HOST_EXPORTS) \
5518 for flag in $(EXTRA_HOST_FLAGS) ; do \
5519 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5520 done; \
5521 echo "Doing distclean in bzip2" ; \
5522 (cd bzip2 && \
5523 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5524 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5525 "RANLIB=$${RANLIB}" \
5526 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5527 distclean) \
5528 || exit 1
5530 @endif bzip2
5532 .PHONY: maybe-maintainer-clean-bzip2 maintainer-clean-bzip2
5533 maybe-maintainer-clean-bzip2:
5534 @if bzip2
5535 maybe-maintainer-clean-bzip2: maintainer-clean-bzip2
5537 maintainer-clean-bzip2:
5538 @[ -f ./bzip2/Makefile ] || exit 0; \
5539 r=`${PWD_COMMAND}`; export r; \
5540 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5541 $(SET_LIB_PATH) \
5542 $(HOST_EXPORTS) \
5543 for flag in $(EXTRA_HOST_FLAGS) ; do \
5544 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5545 done; \
5546 echo "Doing maintainer-clean in bzip2" ; \
5547 (cd bzip2 && \
5548 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5549 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5550 "RANLIB=$${RANLIB}" \
5551 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5552 maintainer-clean) \
5553 || exit 1
5555 @endif bzip2
5558 .PHONY: configure-dejagnu maybe-configure-dejagnu
5559 maybe-configure-dejagnu:
5560 @if dejagnu
5561 maybe-configure-dejagnu: configure-dejagnu
5562 configure-dejagnu:
5563 @test ! -f dejagnu/Makefile || exit 0; \
5564 [ -d dejagnu ] || mkdir dejagnu; \
5565 r=`${PWD_COMMAND}`; export r; \
5566 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5567 $(HOST_EXPORTS) \
5568 echo Configuring in dejagnu; \
5569 cd dejagnu || exit 1; \
5570 case $(srcdir) in \
5571 \.) \
5572 srcdiroption="--srcdir=."; \
5573 libsrcdir=".";; \
5574 /* | [A-Za-z]:[\\/]*) \
5575 srcdiroption="--srcdir=$(srcdir)/dejagnu"; \
5576 libsrcdir="$$s/dejagnu";; \
5577 *) \
5578 srcdiroption="--srcdir=../$(srcdir)/dejagnu"; \
5579 libsrcdir="$$s/dejagnu";; \
5580 esac; \
5581 $(SHELL) $${libsrcdir}/configure \
5582 $(HOST_CONFIGARGS) $${srcdiroption} \
5583 || exit 1
5584 @endif dejagnu
5586 .PHONY: all-dejagnu maybe-all-dejagnu
5587 maybe-all-dejagnu:
5588 @if dejagnu
5589 maybe-all-dejagnu: all-dejagnu
5590 all-dejagnu: configure-dejagnu
5591 @r=`${PWD_COMMAND}`; export r; \
5592 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5593 $(SET_LIB_PATH) \
5594 $(HOST_EXPORTS) \
5595 (cd dejagnu && $(MAKE) $(FLAGS_TO_PASS) all)
5596 @endif dejagnu
5598 .PHONY: check-dejagnu maybe-check-dejagnu
5599 maybe-check-dejagnu:
5600 @if dejagnu
5601 maybe-check-dejagnu: check-dejagnu
5603 check-dejagnu:
5604 @r=`${PWD_COMMAND}`; export r; \
5605 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5606 $(SET_LIB_PATH) \
5607 $(HOST_EXPORTS) \
5608 (cd dejagnu && $(MAKE) $(FLAGS_TO_PASS) check)
5610 @endif dejagnu
5612 .PHONY: install-dejagnu maybe-install-dejagnu
5613 maybe-install-dejagnu:
5614 @if dejagnu
5615 maybe-install-dejagnu: install-dejagnu
5617 install-dejagnu: installdirs
5618 @r=`${PWD_COMMAND}`; export r; \
5619 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5620 $(SET_LIB_PATH) \
5621 $(HOST_EXPORTS) \
5622 (cd dejagnu && $(MAKE) $(FLAGS_TO_PASS) install)
5624 @endif dejagnu
5626 # Other targets (info, dvi, etc.)
5628 .PHONY: maybe-info-dejagnu info-dejagnu
5629 maybe-info-dejagnu:
5630 @if dejagnu
5631 maybe-info-dejagnu: info-dejagnu
5633 info-dejagnu: \
5634 configure-dejagnu
5635 @[ -f ./dejagnu/Makefile ] || exit 0; \
5636 r=`${PWD_COMMAND}`; export r; \
5637 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5638 $(SET_LIB_PATH) \
5639 $(HOST_EXPORTS) \
5640 for flag in $(EXTRA_HOST_FLAGS) ; do \
5641 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5642 done; \
5643 echo "Doing info in dejagnu" ; \
5644 (cd dejagnu && \
5645 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5646 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5647 "RANLIB=$${RANLIB}" \
5648 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5649 info) \
5650 || exit 1
5652 @endif dejagnu
5654 .PHONY: maybe-dvi-dejagnu dvi-dejagnu
5655 maybe-dvi-dejagnu:
5656 @if dejagnu
5657 maybe-dvi-dejagnu: dvi-dejagnu
5659 dvi-dejagnu: \
5660 configure-dejagnu
5661 @[ -f ./dejagnu/Makefile ] || exit 0; \
5662 r=`${PWD_COMMAND}`; export r; \
5663 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5664 $(SET_LIB_PATH) \
5665 $(HOST_EXPORTS) \
5666 for flag in $(EXTRA_HOST_FLAGS) ; do \
5667 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5668 done; \
5669 echo "Doing dvi in dejagnu" ; \
5670 (cd dejagnu && \
5671 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5672 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5673 "RANLIB=$${RANLIB}" \
5674 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5675 dvi) \
5676 || exit 1
5678 @endif dejagnu
5680 .PHONY: maybe-TAGS-dejagnu TAGS-dejagnu
5681 maybe-TAGS-dejagnu:
5682 @if dejagnu
5683 maybe-TAGS-dejagnu: TAGS-dejagnu
5685 TAGS-dejagnu: \
5686 configure-dejagnu
5687 @[ -f ./dejagnu/Makefile ] || exit 0; \
5688 r=`${PWD_COMMAND}`; export r; \
5689 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5690 $(SET_LIB_PATH) \
5691 $(HOST_EXPORTS) \
5692 for flag in $(EXTRA_HOST_FLAGS) ; do \
5693 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5694 done; \
5695 echo "Doing TAGS in dejagnu" ; \
5696 (cd dejagnu && \
5697 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5698 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5699 "RANLIB=$${RANLIB}" \
5700 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5701 TAGS) \
5702 || exit 1
5704 @endif dejagnu
5706 .PHONY: maybe-install-info-dejagnu install-info-dejagnu
5707 maybe-install-info-dejagnu:
5708 @if dejagnu
5709 maybe-install-info-dejagnu: install-info-dejagnu
5711 install-info-dejagnu: \
5712 configure-dejagnu \
5713 info-dejagnu
5714 @[ -f ./dejagnu/Makefile ] || exit 0; \
5715 r=`${PWD_COMMAND}`; export r; \
5716 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5717 $(SET_LIB_PATH) \
5718 $(HOST_EXPORTS) \
5719 for flag in $(EXTRA_HOST_FLAGS) ; do \
5720 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5721 done; \
5722 echo "Doing install-info in dejagnu" ; \
5723 (cd dejagnu && \
5724 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5725 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5726 "RANLIB=$${RANLIB}" \
5727 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5728 install-info) \
5729 || exit 1
5731 @endif dejagnu
5733 .PHONY: maybe-installcheck-dejagnu installcheck-dejagnu
5734 maybe-installcheck-dejagnu:
5735 @if dejagnu
5736 maybe-installcheck-dejagnu: installcheck-dejagnu
5738 installcheck-dejagnu: \
5739 configure-dejagnu
5740 @[ -f ./dejagnu/Makefile ] || exit 0; \
5741 r=`${PWD_COMMAND}`; export r; \
5742 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5743 $(SET_LIB_PATH) \
5744 $(HOST_EXPORTS) \
5745 for flag in $(EXTRA_HOST_FLAGS) ; do \
5746 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5747 done; \
5748 echo "Doing installcheck in dejagnu" ; \
5749 (cd dejagnu && \
5750 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5751 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5752 "RANLIB=$${RANLIB}" \
5753 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5754 installcheck) \
5755 || exit 1
5757 @endif dejagnu
5759 .PHONY: maybe-mostlyclean-dejagnu mostlyclean-dejagnu
5760 maybe-mostlyclean-dejagnu:
5761 @if dejagnu
5762 maybe-mostlyclean-dejagnu: mostlyclean-dejagnu
5764 mostlyclean-dejagnu:
5765 @[ -f ./dejagnu/Makefile ] || exit 0; \
5766 r=`${PWD_COMMAND}`; export r; \
5767 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5768 $(SET_LIB_PATH) \
5769 $(HOST_EXPORTS) \
5770 for flag in $(EXTRA_HOST_FLAGS) ; do \
5771 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5772 done; \
5773 echo "Doing mostlyclean in dejagnu" ; \
5774 (cd dejagnu && \
5775 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5776 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5777 "RANLIB=$${RANLIB}" \
5778 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5779 mostlyclean) \
5780 || exit 1
5782 @endif dejagnu
5784 .PHONY: maybe-clean-dejagnu clean-dejagnu
5785 maybe-clean-dejagnu:
5786 @if dejagnu
5787 maybe-clean-dejagnu: clean-dejagnu
5789 clean-dejagnu:
5790 @[ -f ./dejagnu/Makefile ] || exit 0; \
5791 r=`${PWD_COMMAND}`; export r; \
5792 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5793 $(SET_LIB_PATH) \
5794 $(HOST_EXPORTS) \
5795 for flag in $(EXTRA_HOST_FLAGS) ; do \
5796 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5797 done; \
5798 echo "Doing clean in dejagnu" ; \
5799 (cd dejagnu && \
5800 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5801 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5802 "RANLIB=$${RANLIB}" \
5803 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5804 clean) \
5805 || exit 1
5807 @endif dejagnu
5809 .PHONY: maybe-distclean-dejagnu distclean-dejagnu
5810 maybe-distclean-dejagnu:
5811 @if dejagnu
5812 maybe-distclean-dejagnu: distclean-dejagnu
5814 distclean-dejagnu:
5815 @[ -f ./dejagnu/Makefile ] || exit 0; \
5816 r=`${PWD_COMMAND}`; export r; \
5817 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5818 $(SET_LIB_PATH) \
5819 $(HOST_EXPORTS) \
5820 for flag in $(EXTRA_HOST_FLAGS) ; do \
5821 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5822 done; \
5823 echo "Doing distclean in dejagnu" ; \
5824 (cd dejagnu && \
5825 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5826 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5827 "RANLIB=$${RANLIB}" \
5828 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5829 distclean) \
5830 || exit 1
5832 @endif dejagnu
5834 .PHONY: maybe-maintainer-clean-dejagnu maintainer-clean-dejagnu
5835 maybe-maintainer-clean-dejagnu:
5836 @if dejagnu
5837 maybe-maintainer-clean-dejagnu: maintainer-clean-dejagnu
5839 maintainer-clean-dejagnu:
5840 @[ -f ./dejagnu/Makefile ] || exit 0; \
5841 r=`${PWD_COMMAND}`; export r; \
5842 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5843 $(SET_LIB_PATH) \
5844 $(HOST_EXPORTS) \
5845 for flag in $(EXTRA_HOST_FLAGS) ; do \
5846 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5847 done; \
5848 echo "Doing maintainer-clean in dejagnu" ; \
5849 (cd dejagnu && \
5850 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5851 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5852 "RANLIB=$${RANLIB}" \
5853 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5854 maintainer-clean) \
5855 || exit 1
5857 @endif dejagnu
5860 .PHONY: configure-diff maybe-configure-diff
5861 maybe-configure-diff:
5862 @if diff
5863 maybe-configure-diff: configure-diff
5864 configure-diff:
5865 @test ! -f diff/Makefile || exit 0; \
5866 [ -d diff ] || mkdir diff; \
5867 r=`${PWD_COMMAND}`; export r; \
5868 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5869 $(HOST_EXPORTS) \
5870 echo Configuring in diff; \
5871 cd diff || exit 1; \
5872 case $(srcdir) in \
5873 \.) \
5874 srcdiroption="--srcdir=."; \
5875 libsrcdir=".";; \
5876 /* | [A-Za-z]:[\\/]*) \
5877 srcdiroption="--srcdir=$(srcdir)/diff"; \
5878 libsrcdir="$$s/diff";; \
5879 *) \
5880 srcdiroption="--srcdir=../$(srcdir)/diff"; \
5881 libsrcdir="$$s/diff";; \
5882 esac; \
5883 $(SHELL) $${libsrcdir}/configure \
5884 $(HOST_CONFIGARGS) $${srcdiroption} \
5885 || exit 1
5886 @endif diff
5888 .PHONY: all-diff maybe-all-diff
5889 maybe-all-diff:
5890 @if diff
5891 maybe-all-diff: all-diff
5892 all-diff: configure-diff
5893 @r=`${PWD_COMMAND}`; export r; \
5894 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5895 $(SET_LIB_PATH) \
5896 $(HOST_EXPORTS) \
5897 (cd diff && $(MAKE) $(FLAGS_TO_PASS) all)
5898 @endif diff
5900 .PHONY: check-diff maybe-check-diff
5901 maybe-check-diff:
5902 @if diff
5903 maybe-check-diff: check-diff
5905 check-diff:
5906 @r=`${PWD_COMMAND}`; export r; \
5907 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5908 $(SET_LIB_PATH) \
5909 $(HOST_EXPORTS) \
5910 (cd diff && $(MAKE) $(FLAGS_TO_PASS) check)
5912 @endif diff
5914 .PHONY: install-diff maybe-install-diff
5915 maybe-install-diff:
5916 @if diff
5917 maybe-install-diff: install-diff
5919 install-diff: installdirs
5920 @r=`${PWD_COMMAND}`; export r; \
5921 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5922 $(SET_LIB_PATH) \
5923 $(HOST_EXPORTS) \
5924 (cd diff && $(MAKE) $(FLAGS_TO_PASS) install)
5926 @endif diff
5928 # Other targets (info, dvi, etc.)
5930 .PHONY: maybe-info-diff info-diff
5931 maybe-info-diff:
5932 @if diff
5933 maybe-info-diff: info-diff
5935 info-diff: \
5936 configure-diff
5937 @[ -f ./diff/Makefile ] || exit 0; \
5938 r=`${PWD_COMMAND}`; export r; \
5939 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5940 $(SET_LIB_PATH) \
5941 $(HOST_EXPORTS) \
5942 for flag in $(EXTRA_HOST_FLAGS) ; do \
5943 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5944 done; \
5945 echo "Doing info in diff" ; \
5946 (cd diff && \
5947 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5948 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5949 "RANLIB=$${RANLIB}" \
5950 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5951 info) \
5952 || exit 1
5954 @endif diff
5956 .PHONY: maybe-dvi-diff dvi-diff
5957 maybe-dvi-diff:
5958 @if diff
5959 maybe-dvi-diff: dvi-diff
5961 dvi-diff: \
5962 configure-diff
5963 @[ -f ./diff/Makefile ] || exit 0; \
5964 r=`${PWD_COMMAND}`; export r; \
5965 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5966 $(SET_LIB_PATH) \
5967 $(HOST_EXPORTS) \
5968 for flag in $(EXTRA_HOST_FLAGS) ; do \
5969 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5970 done; \
5971 echo "Doing dvi in diff" ; \
5972 (cd diff && \
5973 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5974 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5975 "RANLIB=$${RANLIB}" \
5976 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5977 dvi) \
5978 || exit 1
5980 @endif diff
5982 .PHONY: maybe-TAGS-diff TAGS-diff
5983 maybe-TAGS-diff:
5984 @if diff
5985 maybe-TAGS-diff: TAGS-diff
5987 TAGS-diff: \
5988 configure-diff
5989 @[ -f ./diff/Makefile ] || exit 0; \
5990 r=`${PWD_COMMAND}`; export r; \
5991 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5992 $(SET_LIB_PATH) \
5993 $(HOST_EXPORTS) \
5994 for flag in $(EXTRA_HOST_FLAGS) ; do \
5995 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5996 done; \
5997 echo "Doing TAGS in diff" ; \
5998 (cd diff && \
5999 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6000 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6001 "RANLIB=$${RANLIB}" \
6002 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6003 TAGS) \
6004 || exit 1
6006 @endif diff
6008 .PHONY: maybe-install-info-diff install-info-diff
6009 maybe-install-info-diff:
6010 @if diff
6011 maybe-install-info-diff: install-info-diff
6013 install-info-diff: \
6014 configure-diff \
6015 info-diff
6016 @[ -f ./diff/Makefile ] || exit 0; \
6017 r=`${PWD_COMMAND}`; export r; \
6018 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6019 $(SET_LIB_PATH) \
6020 $(HOST_EXPORTS) \
6021 for flag in $(EXTRA_HOST_FLAGS) ; do \
6022 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6023 done; \
6024 echo "Doing install-info in diff" ; \
6025 (cd diff && \
6026 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6027 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6028 "RANLIB=$${RANLIB}" \
6029 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6030 install-info) \
6031 || exit 1
6033 @endif diff
6035 .PHONY: maybe-installcheck-diff installcheck-diff
6036 maybe-installcheck-diff:
6037 @if diff
6038 maybe-installcheck-diff: installcheck-diff
6040 installcheck-diff: \
6041 configure-diff
6042 @[ -f ./diff/Makefile ] || exit 0; \
6043 r=`${PWD_COMMAND}`; export r; \
6044 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6045 $(SET_LIB_PATH) \
6046 $(HOST_EXPORTS) \
6047 for flag in $(EXTRA_HOST_FLAGS) ; do \
6048 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6049 done; \
6050 echo "Doing installcheck in diff" ; \
6051 (cd diff && \
6052 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6053 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6054 "RANLIB=$${RANLIB}" \
6055 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6056 installcheck) \
6057 || exit 1
6059 @endif diff
6061 .PHONY: maybe-mostlyclean-diff mostlyclean-diff
6062 maybe-mostlyclean-diff:
6063 @if diff
6064 maybe-mostlyclean-diff: mostlyclean-diff
6066 mostlyclean-diff:
6067 @[ -f ./diff/Makefile ] || exit 0; \
6068 r=`${PWD_COMMAND}`; export r; \
6069 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6070 $(SET_LIB_PATH) \
6071 $(HOST_EXPORTS) \
6072 for flag in $(EXTRA_HOST_FLAGS) ; do \
6073 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6074 done; \
6075 echo "Doing mostlyclean in diff" ; \
6076 (cd diff && \
6077 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6078 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6079 "RANLIB=$${RANLIB}" \
6080 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6081 mostlyclean) \
6082 || exit 1
6084 @endif diff
6086 .PHONY: maybe-clean-diff clean-diff
6087 maybe-clean-diff:
6088 @if diff
6089 maybe-clean-diff: clean-diff
6091 clean-diff:
6092 @[ -f ./diff/Makefile ] || exit 0; \
6093 r=`${PWD_COMMAND}`; export r; \
6094 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6095 $(SET_LIB_PATH) \
6096 $(HOST_EXPORTS) \
6097 for flag in $(EXTRA_HOST_FLAGS) ; do \
6098 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6099 done; \
6100 echo "Doing clean in diff" ; \
6101 (cd diff && \
6102 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6103 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6104 "RANLIB=$${RANLIB}" \
6105 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6106 clean) \
6107 || exit 1
6109 @endif diff
6111 .PHONY: maybe-distclean-diff distclean-diff
6112 maybe-distclean-diff:
6113 @if diff
6114 maybe-distclean-diff: distclean-diff
6116 distclean-diff:
6117 @[ -f ./diff/Makefile ] || exit 0; \
6118 r=`${PWD_COMMAND}`; export r; \
6119 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6120 $(SET_LIB_PATH) \
6121 $(HOST_EXPORTS) \
6122 for flag in $(EXTRA_HOST_FLAGS) ; do \
6123 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6124 done; \
6125 echo "Doing distclean in diff" ; \
6126 (cd diff && \
6127 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6128 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6129 "RANLIB=$${RANLIB}" \
6130 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6131 distclean) \
6132 || exit 1
6134 @endif diff
6136 .PHONY: maybe-maintainer-clean-diff maintainer-clean-diff
6137 maybe-maintainer-clean-diff:
6138 @if diff
6139 maybe-maintainer-clean-diff: maintainer-clean-diff
6141 maintainer-clean-diff:
6142 @[ -f ./diff/Makefile ] || exit 0; \
6143 r=`${PWD_COMMAND}`; export r; \
6144 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6145 $(SET_LIB_PATH) \
6146 $(HOST_EXPORTS) \
6147 for flag in $(EXTRA_HOST_FLAGS) ; do \
6148 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6149 done; \
6150 echo "Doing maintainer-clean in diff" ; \
6151 (cd diff && \
6152 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6153 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6154 "RANLIB=$${RANLIB}" \
6155 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6156 maintainer-clean) \
6157 || exit 1
6159 @endif diff
6162 .PHONY: configure-dosutils maybe-configure-dosutils
6163 maybe-configure-dosutils:
6164 @if dosutils
6165 maybe-configure-dosutils: configure-dosutils
6166 configure-dosutils:
6167 @test ! -f dosutils/Makefile || exit 0; \
6168 [ -d dosutils ] || mkdir dosutils; \
6169 r=`${PWD_COMMAND}`; export r; \
6170 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6171 $(HOST_EXPORTS) \
6172 echo Configuring in dosutils; \
6173 cd dosutils || exit 1; \
6174 case $(srcdir) in \
6175 \.) \
6176 srcdiroption="--srcdir=."; \
6177 libsrcdir=".";; \
6178 /* | [A-Za-z]:[\\/]*) \
6179 srcdiroption="--srcdir=$(srcdir)/dosutils"; \
6180 libsrcdir="$$s/dosutils";; \
6181 *) \
6182 srcdiroption="--srcdir=../$(srcdir)/dosutils"; \
6183 libsrcdir="$$s/dosutils";; \
6184 esac; \
6185 $(SHELL) $${libsrcdir}/configure \
6186 $(HOST_CONFIGARGS) $${srcdiroption} \
6187 || exit 1
6188 @endif dosutils
6190 .PHONY: all-dosutils maybe-all-dosutils
6191 maybe-all-dosutils:
6192 @if dosutils
6193 maybe-all-dosutils: all-dosutils
6194 all-dosutils: configure-dosutils
6195 @r=`${PWD_COMMAND}`; export r; \
6196 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6197 $(SET_LIB_PATH) \
6198 $(HOST_EXPORTS) \
6199 (cd dosutils && $(MAKE) $(FLAGS_TO_PASS) all)
6200 @endif dosutils
6202 .PHONY: check-dosutils maybe-check-dosutils
6203 maybe-check-dosutils:
6204 @if dosutils
6205 maybe-check-dosutils: check-dosutils
6207 check-dosutils:
6209 @endif dosutils
6211 .PHONY: install-dosutils maybe-install-dosutils
6212 maybe-install-dosutils:
6213 @if dosutils
6214 maybe-install-dosutils: install-dosutils
6216 install-dosutils: installdirs
6217 @r=`${PWD_COMMAND}`; export r; \
6218 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6219 $(SET_LIB_PATH) \
6220 $(HOST_EXPORTS) \
6221 (cd dosutils && $(MAKE) $(FLAGS_TO_PASS) install)
6223 @endif dosutils
6225 # Other targets (info, dvi, etc.)
6227 .PHONY: maybe-info-dosutils info-dosutils
6228 maybe-info-dosutils:
6229 @if dosutils
6230 maybe-info-dosutils: info-dosutils
6232 info-dosutils: \
6233 configure-dosutils
6234 @[ -f ./dosutils/Makefile ] || exit 0; \
6235 r=`${PWD_COMMAND}`; export r; \
6236 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6237 $(SET_LIB_PATH) \
6238 $(HOST_EXPORTS) \
6239 for flag in $(EXTRA_HOST_FLAGS) ; do \
6240 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6241 done; \
6242 echo "Doing info in dosutils" ; \
6243 (cd dosutils && \
6244 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6245 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6246 "RANLIB=$${RANLIB}" \
6247 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6248 info) \
6249 || exit 1
6251 @endif dosutils
6253 .PHONY: maybe-dvi-dosutils dvi-dosutils
6254 maybe-dvi-dosutils:
6255 @if dosutils
6256 maybe-dvi-dosutils: dvi-dosutils
6258 dvi-dosutils: \
6259 configure-dosutils
6260 @[ -f ./dosutils/Makefile ] || exit 0; \
6261 r=`${PWD_COMMAND}`; export r; \
6262 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6263 $(SET_LIB_PATH) \
6264 $(HOST_EXPORTS) \
6265 for flag in $(EXTRA_HOST_FLAGS) ; do \
6266 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6267 done; \
6268 echo "Doing dvi in dosutils" ; \
6269 (cd dosutils && \
6270 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6271 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6272 "RANLIB=$${RANLIB}" \
6273 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6274 dvi) \
6275 || exit 1
6277 @endif dosutils
6279 .PHONY: maybe-TAGS-dosutils TAGS-dosutils
6280 maybe-TAGS-dosutils:
6281 @if dosutils
6282 maybe-TAGS-dosutils: TAGS-dosutils
6284 TAGS-dosutils: \
6285 configure-dosutils
6286 @[ -f ./dosutils/Makefile ] || exit 0; \
6287 r=`${PWD_COMMAND}`; export r; \
6288 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6289 $(SET_LIB_PATH) \
6290 $(HOST_EXPORTS) \
6291 for flag in $(EXTRA_HOST_FLAGS) ; do \
6292 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6293 done; \
6294 echo "Doing TAGS in dosutils" ; \
6295 (cd dosutils && \
6296 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6297 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6298 "RANLIB=$${RANLIB}" \
6299 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6300 TAGS) \
6301 || exit 1
6303 @endif dosutils
6305 .PHONY: maybe-install-info-dosutils install-info-dosutils
6306 maybe-install-info-dosutils:
6307 @if dosutils
6308 maybe-install-info-dosutils: install-info-dosutils
6310 install-info-dosutils: \
6311 configure-dosutils \
6312 info-dosutils
6313 @[ -f ./dosutils/Makefile ] || exit 0; \
6314 r=`${PWD_COMMAND}`; export r; \
6315 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6316 $(SET_LIB_PATH) \
6317 $(HOST_EXPORTS) \
6318 for flag in $(EXTRA_HOST_FLAGS) ; do \
6319 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6320 done; \
6321 echo "Doing install-info in dosutils" ; \
6322 (cd dosutils && \
6323 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6324 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6325 "RANLIB=$${RANLIB}" \
6326 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6327 install-info) \
6328 || exit 1
6330 @endif dosutils
6332 .PHONY: maybe-installcheck-dosutils installcheck-dosutils
6333 maybe-installcheck-dosutils:
6334 @if dosutils
6335 maybe-installcheck-dosutils: installcheck-dosutils
6337 installcheck-dosutils: \
6338 configure-dosutils
6339 @[ -f ./dosutils/Makefile ] || exit 0; \
6340 r=`${PWD_COMMAND}`; export r; \
6341 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6342 $(SET_LIB_PATH) \
6343 $(HOST_EXPORTS) \
6344 for flag in $(EXTRA_HOST_FLAGS) ; do \
6345 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6346 done; \
6347 echo "Doing installcheck in dosutils" ; \
6348 (cd dosutils && \
6349 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6350 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6351 "RANLIB=$${RANLIB}" \
6352 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6353 installcheck) \
6354 || exit 1
6356 @endif dosutils
6358 .PHONY: maybe-mostlyclean-dosutils mostlyclean-dosutils
6359 maybe-mostlyclean-dosutils:
6360 @if dosutils
6361 maybe-mostlyclean-dosutils: mostlyclean-dosutils
6363 mostlyclean-dosutils:
6364 @[ -f ./dosutils/Makefile ] || exit 0; \
6365 r=`${PWD_COMMAND}`; export r; \
6366 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6367 $(SET_LIB_PATH) \
6368 $(HOST_EXPORTS) \
6369 for flag in $(EXTRA_HOST_FLAGS) ; do \
6370 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6371 done; \
6372 echo "Doing mostlyclean in dosutils" ; \
6373 (cd dosutils && \
6374 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6375 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6376 "RANLIB=$${RANLIB}" \
6377 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6378 mostlyclean) \
6379 || exit 1
6381 @endif dosutils
6383 .PHONY: maybe-clean-dosutils clean-dosutils
6384 maybe-clean-dosutils:
6385 @if dosutils
6386 maybe-clean-dosutils: clean-dosutils
6388 clean-dosutils:
6389 @[ -f ./dosutils/Makefile ] || exit 0; \
6390 r=`${PWD_COMMAND}`; export r; \
6391 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6392 $(SET_LIB_PATH) \
6393 $(HOST_EXPORTS) \
6394 for flag in $(EXTRA_HOST_FLAGS) ; do \
6395 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6396 done; \
6397 echo "Doing clean in dosutils" ; \
6398 (cd dosutils && \
6399 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6400 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6401 "RANLIB=$${RANLIB}" \
6402 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6403 clean) \
6404 || exit 1
6406 @endif dosutils
6408 .PHONY: maybe-distclean-dosutils distclean-dosutils
6409 maybe-distclean-dosutils:
6410 @if dosutils
6411 maybe-distclean-dosutils: distclean-dosutils
6413 distclean-dosutils:
6414 @[ -f ./dosutils/Makefile ] || exit 0; \
6415 r=`${PWD_COMMAND}`; export r; \
6416 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6417 $(SET_LIB_PATH) \
6418 $(HOST_EXPORTS) \
6419 for flag in $(EXTRA_HOST_FLAGS) ; do \
6420 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6421 done; \
6422 echo "Doing distclean in dosutils" ; \
6423 (cd dosutils && \
6424 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6425 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6426 "RANLIB=$${RANLIB}" \
6427 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6428 distclean) \
6429 || exit 1
6431 @endif dosutils
6433 .PHONY: maybe-maintainer-clean-dosutils maintainer-clean-dosutils
6434 maybe-maintainer-clean-dosutils:
6435 @if dosutils
6436 maybe-maintainer-clean-dosutils: maintainer-clean-dosutils
6438 maintainer-clean-dosutils:
6439 @[ -f ./dosutils/Makefile ] || exit 0; \
6440 r=`${PWD_COMMAND}`; export r; \
6441 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6442 $(SET_LIB_PATH) \
6443 $(HOST_EXPORTS) \
6444 for flag in $(EXTRA_HOST_FLAGS) ; do \
6445 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6446 done; \
6447 echo "Doing maintainer-clean in dosutils" ; \
6448 (cd dosutils && \
6449 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6450 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6451 "RANLIB=$${RANLIB}" \
6452 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6453 maintainer-clean) \
6454 || exit 1
6456 @endif dosutils
6459 .PHONY: configure-etc maybe-configure-etc
6460 maybe-configure-etc:
6461 @if etc
6462 maybe-configure-etc: configure-etc
6463 configure-etc:
6464 @test ! -f etc/Makefile || exit 0; \
6465 [ -d etc ] || mkdir etc; \
6466 r=`${PWD_COMMAND}`; export r; \
6467 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6468 $(HOST_EXPORTS) \
6469 echo Configuring in etc; \
6470 cd etc || exit 1; \
6471 case $(srcdir) in \
6472 \.) \
6473 srcdiroption="--srcdir=."; \
6474 libsrcdir=".";; \
6475 /* | [A-Za-z]:[\\/]*) \
6476 srcdiroption="--srcdir=$(srcdir)/etc"; \
6477 libsrcdir="$$s/etc";; \
6478 *) \
6479 srcdiroption="--srcdir=../$(srcdir)/etc"; \
6480 libsrcdir="$$s/etc";; \
6481 esac; \
6482 $(SHELL) $${libsrcdir}/configure \
6483 $(HOST_CONFIGARGS) $${srcdiroption} \
6484 || exit 1
6485 @endif etc
6487 .PHONY: all-etc maybe-all-etc
6488 maybe-all-etc:
6489 @if etc
6490 maybe-all-etc: all-etc
6491 all-etc: configure-etc
6492 @r=`${PWD_COMMAND}`; export r; \
6493 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6494 $(SET_LIB_PATH) \
6495 $(HOST_EXPORTS) \
6496 (cd etc && $(MAKE) $(FLAGS_TO_PASS) all)
6497 @endif etc
6499 .PHONY: check-etc maybe-check-etc
6500 maybe-check-etc:
6501 @if etc
6502 maybe-check-etc: check-etc
6504 check-etc:
6505 @r=`${PWD_COMMAND}`; export r; \
6506 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6507 $(SET_LIB_PATH) \
6508 $(HOST_EXPORTS) \
6509 (cd etc && $(MAKE) $(FLAGS_TO_PASS) check)
6511 @endif etc
6513 .PHONY: install-etc maybe-install-etc
6514 maybe-install-etc:
6515 @if etc
6516 maybe-install-etc: install-etc
6518 install-etc: installdirs
6519 @r=`${PWD_COMMAND}`; export r; \
6520 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6521 $(SET_LIB_PATH) \
6522 $(HOST_EXPORTS) \
6523 (cd etc && $(MAKE) $(FLAGS_TO_PASS) install)
6525 @endif etc
6527 # Other targets (info, dvi, etc.)
6529 .PHONY: maybe-info-etc info-etc
6530 maybe-info-etc:
6531 @if etc
6532 maybe-info-etc: info-etc
6534 info-etc: \
6535 configure-etc
6536 @[ -f ./etc/Makefile ] || exit 0; \
6537 r=`${PWD_COMMAND}`; export r; \
6538 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6539 $(SET_LIB_PATH) \
6540 $(HOST_EXPORTS) \
6541 for flag in $(EXTRA_HOST_FLAGS) ; do \
6542 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6543 done; \
6544 echo "Doing info in etc" ; \
6545 (cd etc && \
6546 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6547 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6548 "RANLIB=$${RANLIB}" \
6549 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6550 info) \
6551 || exit 1
6553 @endif etc
6555 .PHONY: maybe-dvi-etc dvi-etc
6556 maybe-dvi-etc:
6557 @if etc
6558 maybe-dvi-etc: dvi-etc
6560 dvi-etc: \
6561 configure-etc
6562 @[ -f ./etc/Makefile ] || exit 0; \
6563 r=`${PWD_COMMAND}`; export r; \
6564 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6565 $(SET_LIB_PATH) \
6566 $(HOST_EXPORTS) \
6567 for flag in $(EXTRA_HOST_FLAGS) ; do \
6568 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6569 done; \
6570 echo "Doing dvi in etc" ; \
6571 (cd etc && \
6572 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6573 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6574 "RANLIB=$${RANLIB}" \
6575 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6576 dvi) \
6577 || exit 1
6579 @endif etc
6581 .PHONY: maybe-TAGS-etc TAGS-etc
6582 maybe-TAGS-etc:
6583 @if etc
6584 maybe-TAGS-etc: TAGS-etc
6586 TAGS-etc: \
6587 configure-etc
6588 @[ -f ./etc/Makefile ] || exit 0; \
6589 r=`${PWD_COMMAND}`; export r; \
6590 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6591 $(SET_LIB_PATH) \
6592 $(HOST_EXPORTS) \
6593 for flag in $(EXTRA_HOST_FLAGS) ; do \
6594 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6595 done; \
6596 echo "Doing TAGS in etc" ; \
6597 (cd etc && \
6598 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6599 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6600 "RANLIB=$${RANLIB}" \
6601 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6602 TAGS) \
6603 || exit 1
6605 @endif etc
6607 .PHONY: maybe-install-info-etc install-info-etc
6608 maybe-install-info-etc:
6609 @if etc
6610 maybe-install-info-etc: install-info-etc
6612 install-info-etc: \
6613 configure-etc \
6614 info-etc
6615 @[ -f ./etc/Makefile ] || exit 0; \
6616 r=`${PWD_COMMAND}`; export r; \
6617 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6618 $(SET_LIB_PATH) \
6619 $(HOST_EXPORTS) \
6620 for flag in $(EXTRA_HOST_FLAGS) ; do \
6621 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6622 done; \
6623 echo "Doing install-info in etc" ; \
6624 (cd etc && \
6625 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6626 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6627 "RANLIB=$${RANLIB}" \
6628 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6629 install-info) \
6630 || exit 1
6632 @endif etc
6634 .PHONY: maybe-installcheck-etc installcheck-etc
6635 maybe-installcheck-etc:
6636 @if etc
6637 maybe-installcheck-etc: installcheck-etc
6639 installcheck-etc: \
6640 configure-etc
6641 @[ -f ./etc/Makefile ] || exit 0; \
6642 r=`${PWD_COMMAND}`; export r; \
6643 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6644 $(SET_LIB_PATH) \
6645 $(HOST_EXPORTS) \
6646 for flag in $(EXTRA_HOST_FLAGS) ; do \
6647 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6648 done; \
6649 echo "Doing installcheck in etc" ; \
6650 (cd etc && \
6651 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6652 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6653 "RANLIB=$${RANLIB}" \
6654 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6655 installcheck) \
6656 || exit 1
6658 @endif etc
6660 .PHONY: maybe-mostlyclean-etc mostlyclean-etc
6661 maybe-mostlyclean-etc:
6662 @if etc
6663 maybe-mostlyclean-etc: mostlyclean-etc
6665 mostlyclean-etc:
6666 @[ -f ./etc/Makefile ] || exit 0; \
6667 r=`${PWD_COMMAND}`; export r; \
6668 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6669 $(SET_LIB_PATH) \
6670 $(HOST_EXPORTS) \
6671 for flag in $(EXTRA_HOST_FLAGS) ; do \
6672 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6673 done; \
6674 echo "Doing mostlyclean in etc" ; \
6675 (cd etc && \
6676 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6677 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6678 "RANLIB=$${RANLIB}" \
6679 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6680 mostlyclean) \
6681 || exit 1
6683 @endif etc
6685 .PHONY: maybe-clean-etc clean-etc
6686 maybe-clean-etc:
6687 @if etc
6688 maybe-clean-etc: clean-etc
6690 clean-etc:
6691 @[ -f ./etc/Makefile ] || exit 0; \
6692 r=`${PWD_COMMAND}`; export r; \
6693 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6694 $(SET_LIB_PATH) \
6695 $(HOST_EXPORTS) \
6696 for flag in $(EXTRA_HOST_FLAGS) ; do \
6697 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6698 done; \
6699 echo "Doing clean in etc" ; \
6700 (cd etc && \
6701 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6702 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6703 "RANLIB=$${RANLIB}" \
6704 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6705 clean) \
6706 || exit 1
6708 @endif etc
6710 .PHONY: maybe-distclean-etc distclean-etc
6711 maybe-distclean-etc:
6712 @if etc
6713 maybe-distclean-etc: distclean-etc
6715 distclean-etc:
6716 @[ -f ./etc/Makefile ] || exit 0; \
6717 r=`${PWD_COMMAND}`; export r; \
6718 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6719 $(SET_LIB_PATH) \
6720 $(HOST_EXPORTS) \
6721 for flag in $(EXTRA_HOST_FLAGS) ; do \
6722 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6723 done; \
6724 echo "Doing distclean in etc" ; \
6725 (cd etc && \
6726 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6727 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6728 "RANLIB=$${RANLIB}" \
6729 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6730 distclean) \
6731 || exit 1
6733 @endif etc
6735 .PHONY: maybe-maintainer-clean-etc maintainer-clean-etc
6736 maybe-maintainer-clean-etc:
6737 @if etc
6738 maybe-maintainer-clean-etc: maintainer-clean-etc
6740 maintainer-clean-etc:
6741 @[ -f ./etc/Makefile ] || exit 0; \
6742 r=`${PWD_COMMAND}`; export r; \
6743 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6744 $(SET_LIB_PATH) \
6745 $(HOST_EXPORTS) \
6746 for flag in $(EXTRA_HOST_FLAGS) ; do \
6747 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6748 done; \
6749 echo "Doing maintainer-clean in etc" ; \
6750 (cd etc && \
6751 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6752 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6753 "RANLIB=$${RANLIB}" \
6754 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6755 maintainer-clean) \
6756 || exit 1
6758 @endif etc
6761 .PHONY: configure-fastjar maybe-configure-fastjar
6762 maybe-configure-fastjar:
6763 @if fastjar
6764 maybe-configure-fastjar: configure-fastjar
6765 configure-fastjar:
6766 @test ! -f fastjar/Makefile || exit 0; \
6767 [ -d fastjar ] || mkdir fastjar; \
6768 r=`${PWD_COMMAND}`; export r; \
6769 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6770 $(HOST_EXPORTS) \
6771 echo Configuring in fastjar; \
6772 cd fastjar || exit 1; \
6773 case $(srcdir) in \
6774 \.) \
6775 srcdiroption="--srcdir=."; \
6776 libsrcdir=".";; \
6777 /* | [A-Za-z]:[\\/]*) \
6778 srcdiroption="--srcdir=$(srcdir)/fastjar"; \
6779 libsrcdir="$$s/fastjar";; \
6780 *) \
6781 srcdiroption="--srcdir=../$(srcdir)/fastjar"; \
6782 libsrcdir="$$s/fastjar";; \
6783 esac; \
6784 $(SHELL) $${libsrcdir}/configure \
6785 $(HOST_CONFIGARGS) $${srcdiroption} \
6786 || exit 1
6787 @endif fastjar
6789 .PHONY: all-fastjar maybe-all-fastjar
6790 maybe-all-fastjar:
6791 @if fastjar
6792 maybe-all-fastjar: all-fastjar
6793 all-fastjar: configure-fastjar
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) all)
6799 @endif fastjar
6801 .PHONY: check-fastjar maybe-check-fastjar
6802 maybe-check-fastjar:
6803 @if fastjar
6804 maybe-check-fastjar: check-fastjar
6806 # This module is only tested in a native toolchain.
6807 check-fastjar:
6808 @if [ '$(host)' = '$(target)' ] ; then \
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) check); \
6816 @endif fastjar
6818 .PHONY: install-fastjar maybe-install-fastjar
6819 maybe-install-fastjar:
6820 @if fastjar
6821 maybe-install-fastjar: install-fastjar
6823 install-fastjar: installdirs
6824 @r=`${PWD_COMMAND}`; export r; \
6825 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6826 $(SET_LIB_PATH) \
6827 $(HOST_EXPORTS) \
6828 (cd fastjar && $(MAKE) $(FLAGS_TO_PASS) install)
6830 @endif fastjar
6832 # Other targets (info, dvi, etc.)
6834 .PHONY: maybe-info-fastjar info-fastjar
6835 maybe-info-fastjar:
6836 @if fastjar
6837 maybe-info-fastjar: info-fastjar
6839 info-fastjar: \
6840 configure-fastjar
6841 @[ -f ./fastjar/Makefile ] || exit 0; \
6842 r=`${PWD_COMMAND}`; export r; \
6843 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6844 $(SET_LIB_PATH) \
6845 $(HOST_EXPORTS) \
6846 for flag in $(EXTRA_HOST_FLAGS) ; do \
6847 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6848 done; \
6849 echo "Doing info in fastjar" ; \
6850 (cd fastjar && \
6851 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6852 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6853 "RANLIB=$${RANLIB}" \
6854 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6855 info) \
6856 || exit 1
6858 @endif fastjar
6860 .PHONY: maybe-dvi-fastjar dvi-fastjar
6861 maybe-dvi-fastjar:
6862 @if fastjar
6863 maybe-dvi-fastjar: dvi-fastjar
6865 dvi-fastjar: \
6866 configure-fastjar
6867 @[ -f ./fastjar/Makefile ] || exit 0; \
6868 r=`${PWD_COMMAND}`; export r; \
6869 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6870 $(SET_LIB_PATH) \
6871 $(HOST_EXPORTS) \
6872 for flag in $(EXTRA_HOST_FLAGS) ; do \
6873 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6874 done; \
6875 echo "Doing dvi in fastjar" ; \
6876 (cd fastjar && \
6877 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6878 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6879 "RANLIB=$${RANLIB}" \
6880 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6881 dvi) \
6882 || exit 1
6884 @endif fastjar
6886 .PHONY: maybe-TAGS-fastjar TAGS-fastjar
6887 maybe-TAGS-fastjar:
6888 @if fastjar
6889 maybe-TAGS-fastjar: TAGS-fastjar
6891 TAGS-fastjar: \
6892 configure-fastjar
6893 @[ -f ./fastjar/Makefile ] || exit 0; \
6894 r=`${PWD_COMMAND}`; export r; \
6895 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6896 $(SET_LIB_PATH) \
6897 $(HOST_EXPORTS) \
6898 for flag in $(EXTRA_HOST_FLAGS) ; do \
6899 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6900 done; \
6901 echo "Doing TAGS in fastjar" ; \
6902 (cd fastjar && \
6903 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6904 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6905 "RANLIB=$${RANLIB}" \
6906 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6907 TAGS) \
6908 || exit 1
6910 @endif fastjar
6912 .PHONY: maybe-install-info-fastjar install-info-fastjar
6913 maybe-install-info-fastjar:
6914 @if fastjar
6915 maybe-install-info-fastjar: install-info-fastjar
6917 install-info-fastjar: \
6918 configure-fastjar \
6919 info-fastjar
6920 @[ -f ./fastjar/Makefile ] || exit 0; \
6921 r=`${PWD_COMMAND}`; export r; \
6922 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6923 $(SET_LIB_PATH) \
6924 $(HOST_EXPORTS) \
6925 for flag in $(EXTRA_HOST_FLAGS) ; do \
6926 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6927 done; \
6928 echo "Doing install-info in fastjar" ; \
6929 (cd fastjar && \
6930 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6931 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6932 "RANLIB=$${RANLIB}" \
6933 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6934 install-info) \
6935 || exit 1
6937 @endif fastjar
6939 .PHONY: maybe-installcheck-fastjar installcheck-fastjar
6940 maybe-installcheck-fastjar:
6941 @if fastjar
6942 maybe-installcheck-fastjar: installcheck-fastjar
6944 installcheck-fastjar: \
6945 configure-fastjar
6946 @[ -f ./fastjar/Makefile ] || exit 0; \
6947 r=`${PWD_COMMAND}`; export r; \
6948 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6949 $(SET_LIB_PATH) \
6950 $(HOST_EXPORTS) \
6951 for flag in $(EXTRA_HOST_FLAGS) ; do \
6952 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6953 done; \
6954 echo "Doing installcheck in fastjar" ; \
6955 (cd fastjar && \
6956 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6957 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6958 "RANLIB=$${RANLIB}" \
6959 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6960 installcheck) \
6961 || exit 1
6963 @endif fastjar
6965 .PHONY: maybe-mostlyclean-fastjar mostlyclean-fastjar
6966 maybe-mostlyclean-fastjar:
6967 @if fastjar
6968 maybe-mostlyclean-fastjar: mostlyclean-fastjar
6970 mostlyclean-fastjar:
6971 @[ -f ./fastjar/Makefile ] || exit 0; \
6972 r=`${PWD_COMMAND}`; export r; \
6973 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6974 $(SET_LIB_PATH) \
6975 $(HOST_EXPORTS) \
6976 for flag in $(EXTRA_HOST_FLAGS) ; do \
6977 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6978 done; \
6979 echo "Doing mostlyclean in fastjar" ; \
6980 (cd fastjar && \
6981 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6982 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6983 "RANLIB=$${RANLIB}" \
6984 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6985 mostlyclean) \
6986 || exit 1
6988 @endif fastjar
6990 .PHONY: maybe-clean-fastjar clean-fastjar
6991 maybe-clean-fastjar:
6992 @if fastjar
6993 maybe-clean-fastjar: clean-fastjar
6995 clean-fastjar:
6996 @[ -f ./fastjar/Makefile ] || exit 0; \
6997 r=`${PWD_COMMAND}`; export r; \
6998 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6999 $(SET_LIB_PATH) \
7000 $(HOST_EXPORTS) \
7001 for flag in $(EXTRA_HOST_FLAGS) ; do \
7002 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7003 done; \
7004 echo "Doing clean in fastjar" ; \
7005 (cd fastjar && \
7006 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7007 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7008 "RANLIB=$${RANLIB}" \
7009 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7010 clean) \
7011 || exit 1
7013 @endif fastjar
7015 .PHONY: maybe-distclean-fastjar distclean-fastjar
7016 maybe-distclean-fastjar:
7017 @if fastjar
7018 maybe-distclean-fastjar: distclean-fastjar
7020 distclean-fastjar:
7021 @[ -f ./fastjar/Makefile ] || exit 0; \
7022 r=`${PWD_COMMAND}`; export r; \
7023 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7024 $(SET_LIB_PATH) \
7025 $(HOST_EXPORTS) \
7026 for flag in $(EXTRA_HOST_FLAGS) ; do \
7027 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7028 done; \
7029 echo "Doing distclean in fastjar" ; \
7030 (cd fastjar && \
7031 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7032 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7033 "RANLIB=$${RANLIB}" \
7034 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7035 distclean) \
7036 || exit 1
7038 @endif fastjar
7040 .PHONY: maybe-maintainer-clean-fastjar maintainer-clean-fastjar
7041 maybe-maintainer-clean-fastjar:
7042 @if fastjar
7043 maybe-maintainer-clean-fastjar: maintainer-clean-fastjar
7045 maintainer-clean-fastjar:
7046 @[ -f ./fastjar/Makefile ] || exit 0; \
7047 r=`${PWD_COMMAND}`; export r; \
7048 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7049 $(SET_LIB_PATH) \
7050 $(HOST_EXPORTS) \
7051 for flag in $(EXTRA_HOST_FLAGS) ; do \
7052 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7053 done; \
7054 echo "Doing maintainer-clean in fastjar" ; \
7055 (cd fastjar && \
7056 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7057 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7058 "RANLIB=$${RANLIB}" \
7059 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7060 maintainer-clean) \
7061 || exit 1
7063 @endif fastjar
7066 .PHONY: configure-fileutils maybe-configure-fileutils
7067 maybe-configure-fileutils:
7068 @if fileutils
7069 maybe-configure-fileutils: configure-fileutils
7070 configure-fileutils:
7071 @test ! -f fileutils/Makefile || exit 0; \
7072 [ -d fileutils ] || mkdir fileutils; \
7073 r=`${PWD_COMMAND}`; export r; \
7074 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7075 $(HOST_EXPORTS) \
7076 echo Configuring in fileutils; \
7077 cd fileutils || exit 1; \
7078 case $(srcdir) in \
7079 \.) \
7080 srcdiroption="--srcdir=."; \
7081 libsrcdir=".";; \
7082 /* | [A-Za-z]:[\\/]*) \
7083 srcdiroption="--srcdir=$(srcdir)/fileutils"; \
7084 libsrcdir="$$s/fileutils";; \
7085 *) \
7086 srcdiroption="--srcdir=../$(srcdir)/fileutils"; \
7087 libsrcdir="$$s/fileutils";; \
7088 esac; \
7089 $(SHELL) $${libsrcdir}/configure \
7090 $(HOST_CONFIGARGS) $${srcdiroption} \
7091 || exit 1
7092 @endif fileutils
7094 .PHONY: all-fileutils maybe-all-fileutils
7095 maybe-all-fileutils:
7096 @if fileutils
7097 maybe-all-fileutils: all-fileutils
7098 all-fileutils: configure-fileutils
7099 @r=`${PWD_COMMAND}`; export r; \
7100 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7101 $(SET_LIB_PATH) \
7102 $(HOST_EXPORTS) \
7103 (cd fileutils && $(MAKE) $(FLAGS_TO_PASS) all)
7104 @endif fileutils
7106 .PHONY: check-fileutils maybe-check-fileutils
7107 maybe-check-fileutils:
7108 @if fileutils
7109 maybe-check-fileutils: check-fileutils
7111 check-fileutils:
7112 @r=`${PWD_COMMAND}`; export r; \
7113 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7114 $(SET_LIB_PATH) \
7115 $(HOST_EXPORTS) \
7116 (cd fileutils && $(MAKE) $(FLAGS_TO_PASS) check)
7118 @endif fileutils
7120 .PHONY: install-fileutils maybe-install-fileutils
7121 maybe-install-fileutils:
7122 @if fileutils
7123 maybe-install-fileutils: install-fileutils
7125 install-fileutils: installdirs
7126 @r=`${PWD_COMMAND}`; export r; \
7127 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7128 $(SET_LIB_PATH) \
7129 $(HOST_EXPORTS) \
7130 (cd fileutils && $(MAKE) $(FLAGS_TO_PASS) install)
7132 @endif fileutils
7134 # Other targets (info, dvi, etc.)
7136 .PHONY: maybe-info-fileutils info-fileutils
7137 maybe-info-fileutils:
7138 @if fileutils
7139 maybe-info-fileutils: info-fileutils
7141 info-fileutils: \
7142 configure-fileutils
7143 @[ -f ./fileutils/Makefile ] || exit 0; \
7144 r=`${PWD_COMMAND}`; export r; \
7145 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7146 $(SET_LIB_PATH) \
7147 $(HOST_EXPORTS) \
7148 for flag in $(EXTRA_HOST_FLAGS) ; do \
7149 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7150 done; \
7151 echo "Doing info in fileutils" ; \
7152 (cd fileutils && \
7153 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7154 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7155 "RANLIB=$${RANLIB}" \
7156 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7157 info) \
7158 || exit 1
7160 @endif fileutils
7162 .PHONY: maybe-dvi-fileutils dvi-fileutils
7163 maybe-dvi-fileutils:
7164 @if fileutils
7165 maybe-dvi-fileutils: dvi-fileutils
7167 dvi-fileutils: \
7168 configure-fileutils
7169 @[ -f ./fileutils/Makefile ] || exit 0; \
7170 r=`${PWD_COMMAND}`; export r; \
7171 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7172 $(SET_LIB_PATH) \
7173 $(HOST_EXPORTS) \
7174 for flag in $(EXTRA_HOST_FLAGS) ; do \
7175 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7176 done; \
7177 echo "Doing dvi in fileutils" ; \
7178 (cd fileutils && \
7179 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7180 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7181 "RANLIB=$${RANLIB}" \
7182 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7183 dvi) \
7184 || exit 1
7186 @endif fileutils
7188 .PHONY: maybe-TAGS-fileutils TAGS-fileutils
7189 maybe-TAGS-fileutils:
7190 @if fileutils
7191 maybe-TAGS-fileutils: TAGS-fileutils
7193 TAGS-fileutils: \
7194 configure-fileutils
7195 @[ -f ./fileutils/Makefile ] || exit 0; \
7196 r=`${PWD_COMMAND}`; export r; \
7197 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7198 $(SET_LIB_PATH) \
7199 $(HOST_EXPORTS) \
7200 for flag in $(EXTRA_HOST_FLAGS) ; do \
7201 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7202 done; \
7203 echo "Doing TAGS in fileutils" ; \
7204 (cd fileutils && \
7205 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7206 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7207 "RANLIB=$${RANLIB}" \
7208 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7209 TAGS) \
7210 || exit 1
7212 @endif fileutils
7214 .PHONY: maybe-install-info-fileutils install-info-fileutils
7215 maybe-install-info-fileutils:
7216 @if fileutils
7217 maybe-install-info-fileutils: install-info-fileutils
7219 install-info-fileutils: \
7220 configure-fileutils \
7221 info-fileutils
7222 @[ -f ./fileutils/Makefile ] || exit 0; \
7223 r=`${PWD_COMMAND}`; export r; \
7224 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7225 $(SET_LIB_PATH) \
7226 $(HOST_EXPORTS) \
7227 for flag in $(EXTRA_HOST_FLAGS) ; do \
7228 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7229 done; \
7230 echo "Doing install-info in fileutils" ; \
7231 (cd fileutils && \
7232 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7233 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7234 "RANLIB=$${RANLIB}" \
7235 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7236 install-info) \
7237 || exit 1
7239 @endif fileutils
7241 .PHONY: maybe-installcheck-fileutils installcheck-fileutils
7242 maybe-installcheck-fileutils:
7243 @if fileutils
7244 maybe-installcheck-fileutils: installcheck-fileutils
7246 installcheck-fileutils: \
7247 configure-fileutils
7248 @[ -f ./fileutils/Makefile ] || exit 0; \
7249 r=`${PWD_COMMAND}`; export r; \
7250 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7251 $(SET_LIB_PATH) \
7252 $(HOST_EXPORTS) \
7253 for flag in $(EXTRA_HOST_FLAGS) ; do \
7254 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7255 done; \
7256 echo "Doing installcheck in fileutils" ; \
7257 (cd fileutils && \
7258 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7259 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7260 "RANLIB=$${RANLIB}" \
7261 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7262 installcheck) \
7263 || exit 1
7265 @endif fileutils
7267 .PHONY: maybe-mostlyclean-fileutils mostlyclean-fileutils
7268 maybe-mostlyclean-fileutils:
7269 @if fileutils
7270 maybe-mostlyclean-fileutils: mostlyclean-fileutils
7272 mostlyclean-fileutils:
7273 @[ -f ./fileutils/Makefile ] || exit 0; \
7274 r=`${PWD_COMMAND}`; export r; \
7275 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7276 $(SET_LIB_PATH) \
7277 $(HOST_EXPORTS) \
7278 for flag in $(EXTRA_HOST_FLAGS) ; do \
7279 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7280 done; \
7281 echo "Doing mostlyclean in fileutils" ; \
7282 (cd fileutils && \
7283 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7284 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7285 "RANLIB=$${RANLIB}" \
7286 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7287 mostlyclean) \
7288 || exit 1
7290 @endif fileutils
7292 .PHONY: maybe-clean-fileutils clean-fileutils
7293 maybe-clean-fileutils:
7294 @if fileutils
7295 maybe-clean-fileutils: clean-fileutils
7297 clean-fileutils:
7298 @[ -f ./fileutils/Makefile ] || exit 0; \
7299 r=`${PWD_COMMAND}`; export r; \
7300 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7301 $(SET_LIB_PATH) \
7302 $(HOST_EXPORTS) \
7303 for flag in $(EXTRA_HOST_FLAGS) ; do \
7304 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7305 done; \
7306 echo "Doing clean in fileutils" ; \
7307 (cd fileutils && \
7308 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7309 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7310 "RANLIB=$${RANLIB}" \
7311 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7312 clean) \
7313 || exit 1
7315 @endif fileutils
7317 .PHONY: maybe-distclean-fileutils distclean-fileutils
7318 maybe-distclean-fileutils:
7319 @if fileutils
7320 maybe-distclean-fileutils: distclean-fileutils
7322 distclean-fileutils:
7323 @[ -f ./fileutils/Makefile ] || exit 0; \
7324 r=`${PWD_COMMAND}`; export r; \
7325 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7326 $(SET_LIB_PATH) \
7327 $(HOST_EXPORTS) \
7328 for flag in $(EXTRA_HOST_FLAGS) ; do \
7329 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7330 done; \
7331 echo "Doing distclean in fileutils" ; \
7332 (cd fileutils && \
7333 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7334 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7335 "RANLIB=$${RANLIB}" \
7336 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7337 distclean) \
7338 || exit 1
7340 @endif fileutils
7342 .PHONY: maybe-maintainer-clean-fileutils maintainer-clean-fileutils
7343 maybe-maintainer-clean-fileutils:
7344 @if fileutils
7345 maybe-maintainer-clean-fileutils: maintainer-clean-fileutils
7347 maintainer-clean-fileutils:
7348 @[ -f ./fileutils/Makefile ] || exit 0; \
7349 r=`${PWD_COMMAND}`; export r; \
7350 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7351 $(SET_LIB_PATH) \
7352 $(HOST_EXPORTS) \
7353 for flag in $(EXTRA_HOST_FLAGS) ; do \
7354 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7355 done; \
7356 echo "Doing maintainer-clean in fileutils" ; \
7357 (cd fileutils && \
7358 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7359 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7360 "RANLIB=$${RANLIB}" \
7361 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7362 maintainer-clean) \
7363 || exit 1
7365 @endif fileutils
7368 .PHONY: configure-findutils maybe-configure-findutils
7369 maybe-configure-findutils:
7370 @if findutils
7371 maybe-configure-findutils: configure-findutils
7372 configure-findutils:
7373 @test ! -f findutils/Makefile || exit 0; \
7374 [ -d findutils ] || mkdir findutils; \
7375 r=`${PWD_COMMAND}`; export r; \
7376 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7377 $(HOST_EXPORTS) \
7378 echo Configuring in findutils; \
7379 cd findutils || exit 1; \
7380 case $(srcdir) in \
7381 \.) \
7382 srcdiroption="--srcdir=."; \
7383 libsrcdir=".";; \
7384 /* | [A-Za-z]:[\\/]*) \
7385 srcdiroption="--srcdir=$(srcdir)/findutils"; \
7386 libsrcdir="$$s/findutils";; \
7387 *) \
7388 srcdiroption="--srcdir=../$(srcdir)/findutils"; \
7389 libsrcdir="$$s/findutils";; \
7390 esac; \
7391 $(SHELL) $${libsrcdir}/configure \
7392 $(HOST_CONFIGARGS) $${srcdiroption} \
7393 || exit 1
7394 @endif findutils
7396 .PHONY: all-findutils maybe-all-findutils
7397 maybe-all-findutils:
7398 @if findutils
7399 maybe-all-findutils: all-findutils
7400 all-findutils: configure-findutils
7401 @r=`${PWD_COMMAND}`; export r; \
7402 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7403 $(SET_LIB_PATH) \
7404 $(HOST_EXPORTS) \
7405 (cd findutils && $(MAKE) $(FLAGS_TO_PASS) all)
7406 @endif findutils
7408 .PHONY: check-findutils maybe-check-findutils
7409 maybe-check-findutils:
7410 @if findutils
7411 maybe-check-findutils: check-findutils
7413 check-findutils:
7414 @r=`${PWD_COMMAND}`; export r; \
7415 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7416 $(SET_LIB_PATH) \
7417 $(HOST_EXPORTS) \
7418 (cd findutils && $(MAKE) $(FLAGS_TO_PASS) check)
7420 @endif findutils
7422 .PHONY: install-findutils maybe-install-findutils
7423 maybe-install-findutils:
7424 @if findutils
7425 maybe-install-findutils: install-findutils
7427 install-findutils: installdirs
7428 @r=`${PWD_COMMAND}`; export r; \
7429 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7430 $(SET_LIB_PATH) \
7431 $(HOST_EXPORTS) \
7432 (cd findutils && $(MAKE) $(FLAGS_TO_PASS) install)
7434 @endif findutils
7436 # Other targets (info, dvi, etc.)
7438 .PHONY: maybe-info-findutils info-findutils
7439 maybe-info-findutils:
7440 @if findutils
7441 maybe-info-findutils: info-findutils
7443 info-findutils: \
7444 configure-findutils
7445 @[ -f ./findutils/Makefile ] || exit 0; \
7446 r=`${PWD_COMMAND}`; export r; \
7447 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7448 $(SET_LIB_PATH) \
7449 $(HOST_EXPORTS) \
7450 for flag in $(EXTRA_HOST_FLAGS) ; do \
7451 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7452 done; \
7453 echo "Doing info in findutils" ; \
7454 (cd findutils && \
7455 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7456 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7457 "RANLIB=$${RANLIB}" \
7458 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7459 info) \
7460 || exit 1
7462 @endif findutils
7464 .PHONY: maybe-dvi-findutils dvi-findutils
7465 maybe-dvi-findutils:
7466 @if findutils
7467 maybe-dvi-findutils: dvi-findutils
7469 dvi-findutils: \
7470 configure-findutils
7471 @[ -f ./findutils/Makefile ] || exit 0; \
7472 r=`${PWD_COMMAND}`; export r; \
7473 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7474 $(SET_LIB_PATH) \
7475 $(HOST_EXPORTS) \
7476 for flag in $(EXTRA_HOST_FLAGS) ; do \
7477 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7478 done; \
7479 echo "Doing dvi in findutils" ; \
7480 (cd findutils && \
7481 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7482 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7483 "RANLIB=$${RANLIB}" \
7484 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7485 dvi) \
7486 || exit 1
7488 @endif findutils
7490 .PHONY: maybe-TAGS-findutils TAGS-findutils
7491 maybe-TAGS-findutils:
7492 @if findutils
7493 maybe-TAGS-findutils: TAGS-findutils
7495 TAGS-findutils: \
7496 configure-findutils
7497 @[ -f ./findutils/Makefile ] || exit 0; \
7498 r=`${PWD_COMMAND}`; export r; \
7499 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7500 $(SET_LIB_PATH) \
7501 $(HOST_EXPORTS) \
7502 for flag in $(EXTRA_HOST_FLAGS) ; do \
7503 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7504 done; \
7505 echo "Doing TAGS in findutils" ; \
7506 (cd findutils && \
7507 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7508 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7509 "RANLIB=$${RANLIB}" \
7510 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7511 TAGS) \
7512 || exit 1
7514 @endif findutils
7516 .PHONY: maybe-install-info-findutils install-info-findutils
7517 maybe-install-info-findutils:
7518 @if findutils
7519 maybe-install-info-findutils: install-info-findutils
7521 install-info-findutils: \
7522 configure-findutils \
7523 info-findutils
7524 @[ -f ./findutils/Makefile ] || exit 0; \
7525 r=`${PWD_COMMAND}`; export r; \
7526 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7527 $(SET_LIB_PATH) \
7528 $(HOST_EXPORTS) \
7529 for flag in $(EXTRA_HOST_FLAGS) ; do \
7530 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7531 done; \
7532 echo "Doing install-info in findutils" ; \
7533 (cd findutils && \
7534 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7535 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7536 "RANLIB=$${RANLIB}" \
7537 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7538 install-info) \
7539 || exit 1
7541 @endif findutils
7543 .PHONY: maybe-installcheck-findutils installcheck-findutils
7544 maybe-installcheck-findutils:
7545 @if findutils
7546 maybe-installcheck-findutils: installcheck-findutils
7548 installcheck-findutils: \
7549 configure-findutils
7550 @[ -f ./findutils/Makefile ] || exit 0; \
7551 r=`${PWD_COMMAND}`; export r; \
7552 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7553 $(SET_LIB_PATH) \
7554 $(HOST_EXPORTS) \
7555 for flag in $(EXTRA_HOST_FLAGS) ; do \
7556 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7557 done; \
7558 echo "Doing installcheck in findutils" ; \
7559 (cd findutils && \
7560 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7561 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7562 "RANLIB=$${RANLIB}" \
7563 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7564 installcheck) \
7565 || exit 1
7567 @endif findutils
7569 .PHONY: maybe-mostlyclean-findutils mostlyclean-findutils
7570 maybe-mostlyclean-findutils:
7571 @if findutils
7572 maybe-mostlyclean-findutils: mostlyclean-findutils
7574 mostlyclean-findutils:
7575 @[ -f ./findutils/Makefile ] || exit 0; \
7576 r=`${PWD_COMMAND}`; export r; \
7577 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7578 $(SET_LIB_PATH) \
7579 $(HOST_EXPORTS) \
7580 for flag in $(EXTRA_HOST_FLAGS) ; do \
7581 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7582 done; \
7583 echo "Doing mostlyclean in findutils" ; \
7584 (cd findutils && \
7585 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7586 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7587 "RANLIB=$${RANLIB}" \
7588 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7589 mostlyclean) \
7590 || exit 1
7592 @endif findutils
7594 .PHONY: maybe-clean-findutils clean-findutils
7595 maybe-clean-findutils:
7596 @if findutils
7597 maybe-clean-findutils: clean-findutils
7599 clean-findutils:
7600 @[ -f ./findutils/Makefile ] || exit 0; \
7601 r=`${PWD_COMMAND}`; export r; \
7602 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7603 $(SET_LIB_PATH) \
7604 $(HOST_EXPORTS) \
7605 for flag in $(EXTRA_HOST_FLAGS) ; do \
7606 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7607 done; \
7608 echo "Doing clean in findutils" ; \
7609 (cd findutils && \
7610 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7611 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7612 "RANLIB=$${RANLIB}" \
7613 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7614 clean) \
7615 || exit 1
7617 @endif findutils
7619 .PHONY: maybe-distclean-findutils distclean-findutils
7620 maybe-distclean-findutils:
7621 @if findutils
7622 maybe-distclean-findutils: distclean-findutils
7624 distclean-findutils:
7625 @[ -f ./findutils/Makefile ] || exit 0; \
7626 r=`${PWD_COMMAND}`; export r; \
7627 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7628 $(SET_LIB_PATH) \
7629 $(HOST_EXPORTS) \
7630 for flag in $(EXTRA_HOST_FLAGS) ; do \
7631 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7632 done; \
7633 echo "Doing distclean in findutils" ; \
7634 (cd findutils && \
7635 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7636 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7637 "RANLIB=$${RANLIB}" \
7638 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7639 distclean) \
7640 || exit 1
7642 @endif findutils
7644 .PHONY: maybe-maintainer-clean-findutils maintainer-clean-findutils
7645 maybe-maintainer-clean-findutils:
7646 @if findutils
7647 maybe-maintainer-clean-findutils: maintainer-clean-findutils
7649 maintainer-clean-findutils:
7650 @[ -f ./findutils/Makefile ] || exit 0; \
7651 r=`${PWD_COMMAND}`; export r; \
7652 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7653 $(SET_LIB_PATH) \
7654 $(HOST_EXPORTS) \
7655 for flag in $(EXTRA_HOST_FLAGS) ; do \
7656 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7657 done; \
7658 echo "Doing maintainer-clean in findutils" ; \
7659 (cd findutils && \
7660 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7661 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7662 "RANLIB=$${RANLIB}" \
7663 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7664 maintainer-clean) \
7665 || exit 1
7667 @endif findutils
7670 .PHONY: configure-find maybe-configure-find
7671 maybe-configure-find:
7672 @if find
7673 maybe-configure-find: configure-find
7674 configure-find:
7675 @test ! -f find/Makefile || exit 0; \
7676 [ -d find ] || mkdir find; \
7677 r=`${PWD_COMMAND}`; export r; \
7678 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7679 $(HOST_EXPORTS) \
7680 echo Configuring in find; \
7681 cd find || exit 1; \
7682 case $(srcdir) in \
7683 \.) \
7684 srcdiroption="--srcdir=."; \
7685 libsrcdir=".";; \
7686 /* | [A-Za-z]:[\\/]*) \
7687 srcdiroption="--srcdir=$(srcdir)/find"; \
7688 libsrcdir="$$s/find";; \
7689 *) \
7690 srcdiroption="--srcdir=../$(srcdir)/find"; \
7691 libsrcdir="$$s/find";; \
7692 esac; \
7693 $(SHELL) $${libsrcdir}/configure \
7694 $(HOST_CONFIGARGS) $${srcdiroption} \
7695 || exit 1
7696 @endif find
7698 .PHONY: all-find maybe-all-find
7699 maybe-all-find:
7700 @if find
7701 maybe-all-find: all-find
7702 all-find: configure-find
7703 @r=`${PWD_COMMAND}`; export r; \
7704 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7705 $(SET_LIB_PATH) \
7706 $(HOST_EXPORTS) \
7707 (cd find && $(MAKE) $(FLAGS_TO_PASS) all)
7708 @endif find
7710 .PHONY: check-find maybe-check-find
7711 maybe-check-find:
7712 @if find
7713 maybe-check-find: check-find
7715 check-find:
7716 @r=`${PWD_COMMAND}`; export r; \
7717 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7718 $(SET_LIB_PATH) \
7719 $(HOST_EXPORTS) \
7720 (cd find && $(MAKE) $(FLAGS_TO_PASS) check)
7722 @endif find
7724 .PHONY: install-find maybe-install-find
7725 maybe-install-find:
7726 @if find
7727 maybe-install-find: install-find
7729 install-find: installdirs
7730 @r=`${PWD_COMMAND}`; export r; \
7731 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7732 $(SET_LIB_PATH) \
7733 $(HOST_EXPORTS) \
7734 (cd find && $(MAKE) $(FLAGS_TO_PASS) install)
7736 @endif find
7738 # Other targets (info, dvi, etc.)
7740 .PHONY: maybe-info-find info-find
7741 maybe-info-find:
7742 @if find
7743 maybe-info-find: info-find
7745 info-find: \
7746 configure-find
7747 @[ -f ./find/Makefile ] || exit 0; \
7748 r=`${PWD_COMMAND}`; export r; \
7749 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7750 $(SET_LIB_PATH) \
7751 $(HOST_EXPORTS) \
7752 for flag in $(EXTRA_HOST_FLAGS) ; do \
7753 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7754 done; \
7755 echo "Doing info in find" ; \
7756 (cd find && \
7757 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7758 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7759 "RANLIB=$${RANLIB}" \
7760 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7761 info) \
7762 || exit 1
7764 @endif find
7766 .PHONY: maybe-dvi-find dvi-find
7767 maybe-dvi-find:
7768 @if find
7769 maybe-dvi-find: dvi-find
7771 dvi-find: \
7772 configure-find
7773 @[ -f ./find/Makefile ] || exit 0; \
7774 r=`${PWD_COMMAND}`; export r; \
7775 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7776 $(SET_LIB_PATH) \
7777 $(HOST_EXPORTS) \
7778 for flag in $(EXTRA_HOST_FLAGS) ; do \
7779 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7780 done; \
7781 echo "Doing dvi in find" ; \
7782 (cd find && \
7783 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7784 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7785 "RANLIB=$${RANLIB}" \
7786 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7787 dvi) \
7788 || exit 1
7790 @endif find
7792 .PHONY: maybe-TAGS-find TAGS-find
7793 maybe-TAGS-find:
7794 @if find
7795 maybe-TAGS-find: TAGS-find
7797 TAGS-find: \
7798 configure-find
7799 @[ -f ./find/Makefile ] || exit 0; \
7800 r=`${PWD_COMMAND}`; export r; \
7801 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7802 $(SET_LIB_PATH) \
7803 $(HOST_EXPORTS) \
7804 for flag in $(EXTRA_HOST_FLAGS) ; do \
7805 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7806 done; \
7807 echo "Doing TAGS in find" ; \
7808 (cd find && \
7809 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7810 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7811 "RANLIB=$${RANLIB}" \
7812 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7813 TAGS) \
7814 || exit 1
7816 @endif find
7818 .PHONY: maybe-install-info-find install-info-find
7819 maybe-install-info-find:
7820 @if find
7821 maybe-install-info-find: install-info-find
7823 install-info-find: \
7824 configure-find \
7825 info-find
7826 @[ -f ./find/Makefile ] || exit 0; \
7827 r=`${PWD_COMMAND}`; export r; \
7828 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7829 $(SET_LIB_PATH) \
7830 $(HOST_EXPORTS) \
7831 for flag in $(EXTRA_HOST_FLAGS) ; do \
7832 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7833 done; \
7834 echo "Doing install-info in find" ; \
7835 (cd find && \
7836 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7837 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7838 "RANLIB=$${RANLIB}" \
7839 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7840 install-info) \
7841 || exit 1
7843 @endif find
7845 .PHONY: maybe-installcheck-find installcheck-find
7846 maybe-installcheck-find:
7847 @if find
7848 maybe-installcheck-find: installcheck-find
7850 installcheck-find: \
7851 configure-find
7852 @[ -f ./find/Makefile ] || exit 0; \
7853 r=`${PWD_COMMAND}`; export r; \
7854 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7855 $(SET_LIB_PATH) \
7856 $(HOST_EXPORTS) \
7857 for flag in $(EXTRA_HOST_FLAGS) ; do \
7858 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7859 done; \
7860 echo "Doing installcheck in find" ; \
7861 (cd find && \
7862 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7863 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7864 "RANLIB=$${RANLIB}" \
7865 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7866 installcheck) \
7867 || exit 1
7869 @endif find
7871 .PHONY: maybe-mostlyclean-find mostlyclean-find
7872 maybe-mostlyclean-find:
7873 @if find
7874 maybe-mostlyclean-find: mostlyclean-find
7876 mostlyclean-find:
7877 @[ -f ./find/Makefile ] || exit 0; \
7878 r=`${PWD_COMMAND}`; export r; \
7879 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7880 $(SET_LIB_PATH) \
7881 $(HOST_EXPORTS) \
7882 for flag in $(EXTRA_HOST_FLAGS) ; do \
7883 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7884 done; \
7885 echo "Doing mostlyclean in find" ; \
7886 (cd find && \
7887 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7888 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7889 "RANLIB=$${RANLIB}" \
7890 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7891 mostlyclean) \
7892 || exit 1
7894 @endif find
7896 .PHONY: maybe-clean-find clean-find
7897 maybe-clean-find:
7898 @if find
7899 maybe-clean-find: clean-find
7901 clean-find:
7902 @[ -f ./find/Makefile ] || exit 0; \
7903 r=`${PWD_COMMAND}`; export r; \
7904 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7905 $(SET_LIB_PATH) \
7906 $(HOST_EXPORTS) \
7907 for flag in $(EXTRA_HOST_FLAGS) ; do \
7908 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7909 done; \
7910 echo "Doing clean in find" ; \
7911 (cd find && \
7912 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7913 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7914 "RANLIB=$${RANLIB}" \
7915 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7916 clean) \
7917 || exit 1
7919 @endif find
7921 .PHONY: maybe-distclean-find distclean-find
7922 maybe-distclean-find:
7923 @if find
7924 maybe-distclean-find: distclean-find
7926 distclean-find:
7927 @[ -f ./find/Makefile ] || exit 0; \
7928 r=`${PWD_COMMAND}`; export r; \
7929 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7930 $(SET_LIB_PATH) \
7931 $(HOST_EXPORTS) \
7932 for flag in $(EXTRA_HOST_FLAGS) ; do \
7933 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7934 done; \
7935 echo "Doing distclean in find" ; \
7936 (cd find && \
7937 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7938 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7939 "RANLIB=$${RANLIB}" \
7940 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7941 distclean) \
7942 || exit 1
7944 @endif find
7946 .PHONY: maybe-maintainer-clean-find maintainer-clean-find
7947 maybe-maintainer-clean-find:
7948 @if find
7949 maybe-maintainer-clean-find: maintainer-clean-find
7951 maintainer-clean-find:
7952 @[ -f ./find/Makefile ] || exit 0; \
7953 r=`${PWD_COMMAND}`; export r; \
7954 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7955 $(SET_LIB_PATH) \
7956 $(HOST_EXPORTS) \
7957 for flag in $(EXTRA_HOST_FLAGS) ; do \
7958 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7959 done; \
7960 echo "Doing maintainer-clean in find" ; \
7961 (cd find && \
7962 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7963 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7964 "RANLIB=$${RANLIB}" \
7965 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7966 maintainer-clean) \
7967 || exit 1
7969 @endif find
7972 .PHONY: configure-flex maybe-configure-flex
7973 maybe-configure-flex:
7974 @if flex
7975 maybe-configure-flex: configure-flex
7976 configure-flex:
7977 @test ! -f flex/Makefile || exit 0; \
7978 [ -d flex ] || mkdir flex; \
7979 r=`${PWD_COMMAND}`; export r; \
7980 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7981 $(HOST_EXPORTS) \
7982 echo Configuring in flex; \
7983 cd flex || exit 1; \
7984 case $(srcdir) in \
7985 \.) \
7986 srcdiroption="--srcdir=."; \
7987 libsrcdir=".";; \
7988 /* | [A-Za-z]:[\\/]*) \
7989 srcdiroption="--srcdir=$(srcdir)/flex"; \
7990 libsrcdir="$$s/flex";; \
7991 *) \
7992 srcdiroption="--srcdir=../$(srcdir)/flex"; \
7993 libsrcdir="$$s/flex";; \
7994 esac; \
7995 $(SHELL) $${libsrcdir}/configure \
7996 $(HOST_CONFIGARGS) $${srcdiroption} \
7997 || exit 1
7998 @endif flex
8000 .PHONY: all-flex maybe-all-flex
8001 maybe-all-flex:
8002 @if flex
8003 maybe-all-flex: all-flex
8004 all-flex: configure-flex
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) all)
8010 @endif flex
8012 .PHONY: check-flex maybe-check-flex
8013 maybe-check-flex:
8014 @if flex
8015 maybe-check-flex: check-flex
8017 # This module is only tested in a native toolchain.
8018 check-flex:
8019 @if [ '$(host)' = '$(target)' ] ; then \
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) check); \
8027 @endif flex
8029 .PHONY: install-flex maybe-install-flex
8030 maybe-install-flex:
8031 @if flex
8032 maybe-install-flex: install-flex
8034 install-flex: installdirs
8035 @r=`${PWD_COMMAND}`; export r; \
8036 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8037 $(SET_LIB_PATH) \
8038 $(HOST_EXPORTS) \
8039 (cd flex && $(MAKE) $(FLAGS_TO_PASS) install)
8041 @endif flex
8043 # Other targets (info, dvi, etc.)
8045 .PHONY: maybe-info-flex info-flex
8046 maybe-info-flex:
8047 @if flex
8048 maybe-info-flex: info-flex
8050 info-flex: \
8051 configure-flex
8052 @[ -f ./flex/Makefile ] || exit 0; \
8053 r=`${PWD_COMMAND}`; export r; \
8054 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8055 $(SET_LIB_PATH) \
8056 $(HOST_EXPORTS) \
8057 for flag in $(EXTRA_HOST_FLAGS) ; do \
8058 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8059 done; \
8060 echo "Doing info in flex" ; \
8061 (cd flex && \
8062 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8063 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8064 "RANLIB=$${RANLIB}" \
8065 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8066 info) \
8067 || exit 1
8069 @endif flex
8071 .PHONY: maybe-dvi-flex dvi-flex
8072 maybe-dvi-flex:
8073 @if flex
8074 maybe-dvi-flex: dvi-flex
8076 dvi-flex: \
8077 configure-flex
8078 @[ -f ./flex/Makefile ] || exit 0; \
8079 r=`${PWD_COMMAND}`; export r; \
8080 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8081 $(SET_LIB_PATH) \
8082 $(HOST_EXPORTS) \
8083 for flag in $(EXTRA_HOST_FLAGS) ; do \
8084 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8085 done; \
8086 echo "Doing dvi in flex" ; \
8087 (cd flex && \
8088 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8089 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8090 "RANLIB=$${RANLIB}" \
8091 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8092 dvi) \
8093 || exit 1
8095 @endif flex
8097 .PHONY: maybe-TAGS-flex TAGS-flex
8098 maybe-TAGS-flex:
8099 @if flex
8100 maybe-TAGS-flex: TAGS-flex
8102 TAGS-flex: \
8103 configure-flex
8104 @[ -f ./flex/Makefile ] || exit 0; \
8105 r=`${PWD_COMMAND}`; export r; \
8106 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8107 $(SET_LIB_PATH) \
8108 $(HOST_EXPORTS) \
8109 for flag in $(EXTRA_HOST_FLAGS) ; do \
8110 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8111 done; \
8112 echo "Doing TAGS in flex" ; \
8113 (cd flex && \
8114 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8115 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8116 "RANLIB=$${RANLIB}" \
8117 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8118 TAGS) \
8119 || exit 1
8121 @endif flex
8123 .PHONY: maybe-install-info-flex install-info-flex
8124 maybe-install-info-flex:
8125 @if flex
8126 maybe-install-info-flex: install-info-flex
8128 install-info-flex: \
8129 configure-flex \
8130 info-flex
8131 @[ -f ./flex/Makefile ] || exit 0; \
8132 r=`${PWD_COMMAND}`; export r; \
8133 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8134 $(SET_LIB_PATH) \
8135 $(HOST_EXPORTS) \
8136 for flag in $(EXTRA_HOST_FLAGS) ; do \
8137 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8138 done; \
8139 echo "Doing install-info in flex" ; \
8140 (cd flex && \
8141 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8142 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8143 "RANLIB=$${RANLIB}" \
8144 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8145 install-info) \
8146 || exit 1
8148 @endif flex
8150 .PHONY: maybe-installcheck-flex installcheck-flex
8151 maybe-installcheck-flex:
8152 @if flex
8153 maybe-installcheck-flex: installcheck-flex
8155 installcheck-flex: \
8156 configure-flex
8157 @[ -f ./flex/Makefile ] || exit 0; \
8158 r=`${PWD_COMMAND}`; export r; \
8159 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8160 $(SET_LIB_PATH) \
8161 $(HOST_EXPORTS) \
8162 for flag in $(EXTRA_HOST_FLAGS) ; do \
8163 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8164 done; \
8165 echo "Doing installcheck in flex" ; \
8166 (cd flex && \
8167 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8168 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8169 "RANLIB=$${RANLIB}" \
8170 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8171 installcheck) \
8172 || exit 1
8174 @endif flex
8176 .PHONY: maybe-mostlyclean-flex mostlyclean-flex
8177 maybe-mostlyclean-flex:
8178 @if flex
8179 maybe-mostlyclean-flex: mostlyclean-flex
8181 mostlyclean-flex:
8182 @[ -f ./flex/Makefile ] || exit 0; \
8183 r=`${PWD_COMMAND}`; export r; \
8184 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8185 $(SET_LIB_PATH) \
8186 $(HOST_EXPORTS) \
8187 for flag in $(EXTRA_HOST_FLAGS) ; do \
8188 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8189 done; \
8190 echo "Doing mostlyclean in flex" ; \
8191 (cd flex && \
8192 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8193 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8194 "RANLIB=$${RANLIB}" \
8195 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8196 mostlyclean) \
8197 || exit 1
8199 @endif flex
8201 .PHONY: maybe-clean-flex clean-flex
8202 maybe-clean-flex:
8203 @if flex
8204 maybe-clean-flex: clean-flex
8206 clean-flex:
8207 @[ -f ./flex/Makefile ] || exit 0; \
8208 r=`${PWD_COMMAND}`; export r; \
8209 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8210 $(SET_LIB_PATH) \
8211 $(HOST_EXPORTS) \
8212 for flag in $(EXTRA_HOST_FLAGS) ; do \
8213 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8214 done; \
8215 echo "Doing clean in flex" ; \
8216 (cd flex && \
8217 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8218 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8219 "RANLIB=$${RANLIB}" \
8220 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8221 clean) \
8222 || exit 1
8224 @endif flex
8226 .PHONY: maybe-distclean-flex distclean-flex
8227 maybe-distclean-flex:
8228 @if flex
8229 maybe-distclean-flex: distclean-flex
8231 distclean-flex:
8232 @[ -f ./flex/Makefile ] || exit 0; \
8233 r=`${PWD_COMMAND}`; export r; \
8234 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8235 $(SET_LIB_PATH) \
8236 $(HOST_EXPORTS) \
8237 for flag in $(EXTRA_HOST_FLAGS) ; do \
8238 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8239 done; \
8240 echo "Doing distclean in flex" ; \
8241 (cd flex && \
8242 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8243 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8244 "RANLIB=$${RANLIB}" \
8245 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8246 distclean) \
8247 || exit 1
8249 @endif flex
8251 .PHONY: maybe-maintainer-clean-flex maintainer-clean-flex
8252 maybe-maintainer-clean-flex:
8253 @if flex
8254 maybe-maintainer-clean-flex: maintainer-clean-flex
8256 maintainer-clean-flex:
8257 @[ -f ./flex/Makefile ] || exit 0; \
8258 r=`${PWD_COMMAND}`; export r; \
8259 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8260 $(SET_LIB_PATH) \
8261 $(HOST_EXPORTS) \
8262 for flag in $(EXTRA_HOST_FLAGS) ; do \
8263 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8264 done; \
8265 echo "Doing maintainer-clean in flex" ; \
8266 (cd flex && \
8267 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8268 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8269 "RANLIB=$${RANLIB}" \
8270 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8271 maintainer-clean) \
8272 || exit 1
8274 @endif flex
8277 .PHONY: configure-gas maybe-configure-gas
8278 maybe-configure-gas:
8279 @if gas
8280 maybe-configure-gas: configure-gas
8281 configure-gas:
8282 @test ! -f gas/Makefile || exit 0; \
8283 [ -d gas ] || mkdir gas; \
8284 r=`${PWD_COMMAND}`; export r; \
8285 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8286 $(HOST_EXPORTS) \
8287 echo Configuring in gas; \
8288 cd gas || exit 1; \
8289 case $(srcdir) in \
8290 \.) \
8291 srcdiroption="--srcdir=."; \
8292 libsrcdir=".";; \
8293 /* | [A-Za-z]:[\\/]*) \
8294 srcdiroption="--srcdir=$(srcdir)/gas"; \
8295 libsrcdir="$$s/gas";; \
8296 *) \
8297 srcdiroption="--srcdir=../$(srcdir)/gas"; \
8298 libsrcdir="$$s/gas";; \
8299 esac; \
8300 $(SHELL) $${libsrcdir}/configure \
8301 $(HOST_CONFIGARGS) $${srcdiroption} \
8302 || exit 1
8303 @endif gas
8305 .PHONY: all-gas maybe-all-gas
8306 maybe-all-gas:
8307 @if gas
8308 maybe-all-gas: all-gas
8309 all-gas: configure-gas
8310 @r=`${PWD_COMMAND}`; export r; \
8311 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8312 $(SET_LIB_PATH) \
8313 $(HOST_EXPORTS) \
8314 (cd gas && $(MAKE) $(FLAGS_TO_PASS) all)
8315 @endif gas
8317 .PHONY: check-gas maybe-check-gas
8318 maybe-check-gas:
8319 @if gas
8320 maybe-check-gas: check-gas
8322 check-gas:
8323 @r=`${PWD_COMMAND}`; export r; \
8324 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8325 $(SET_LIB_PATH) \
8326 $(HOST_EXPORTS) \
8327 (cd gas && $(MAKE) $(FLAGS_TO_PASS) check)
8329 @endif gas
8331 .PHONY: install-gas maybe-install-gas
8332 maybe-install-gas:
8333 @if gas
8334 maybe-install-gas: install-gas
8336 install-gas: installdirs
8337 @r=`${PWD_COMMAND}`; export r; \
8338 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8339 $(SET_LIB_PATH) \
8340 $(HOST_EXPORTS) \
8341 (cd gas && $(MAKE) $(FLAGS_TO_PASS) install)
8343 @endif gas
8345 # Other targets (info, dvi, etc.)
8347 .PHONY: maybe-info-gas info-gas
8348 maybe-info-gas:
8349 @if gas
8350 maybe-info-gas: info-gas
8352 info-gas: \
8353 configure-gas
8354 @[ -f ./gas/Makefile ] || exit 0; \
8355 r=`${PWD_COMMAND}`; export r; \
8356 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8357 $(SET_LIB_PATH) \
8358 $(HOST_EXPORTS) \
8359 for flag in $(EXTRA_HOST_FLAGS) ; do \
8360 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8361 done; \
8362 echo "Doing info in gas" ; \
8363 (cd gas && \
8364 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8365 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8366 "RANLIB=$${RANLIB}" \
8367 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8368 info) \
8369 || exit 1
8371 @endif gas
8373 .PHONY: maybe-dvi-gas dvi-gas
8374 maybe-dvi-gas:
8375 @if gas
8376 maybe-dvi-gas: dvi-gas
8378 dvi-gas: \
8379 configure-gas
8380 @[ -f ./gas/Makefile ] || exit 0; \
8381 r=`${PWD_COMMAND}`; export r; \
8382 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8383 $(SET_LIB_PATH) \
8384 $(HOST_EXPORTS) \
8385 for flag in $(EXTRA_HOST_FLAGS) ; do \
8386 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8387 done; \
8388 echo "Doing dvi in gas" ; \
8389 (cd gas && \
8390 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8391 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8392 "RANLIB=$${RANLIB}" \
8393 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8394 dvi) \
8395 || exit 1
8397 @endif gas
8399 .PHONY: maybe-TAGS-gas TAGS-gas
8400 maybe-TAGS-gas:
8401 @if gas
8402 maybe-TAGS-gas: TAGS-gas
8404 TAGS-gas: \
8405 configure-gas
8406 @[ -f ./gas/Makefile ] || exit 0; \
8407 r=`${PWD_COMMAND}`; export r; \
8408 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8409 $(SET_LIB_PATH) \
8410 $(HOST_EXPORTS) \
8411 for flag in $(EXTRA_HOST_FLAGS) ; do \
8412 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8413 done; \
8414 echo "Doing TAGS in gas" ; \
8415 (cd gas && \
8416 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8417 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8418 "RANLIB=$${RANLIB}" \
8419 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8420 TAGS) \
8421 || exit 1
8423 @endif gas
8425 .PHONY: maybe-install-info-gas install-info-gas
8426 maybe-install-info-gas:
8427 @if gas
8428 maybe-install-info-gas: install-info-gas
8430 install-info-gas: \
8431 configure-gas \
8432 info-gas
8433 @[ -f ./gas/Makefile ] || exit 0; \
8434 r=`${PWD_COMMAND}`; export r; \
8435 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8436 $(SET_LIB_PATH) \
8437 $(HOST_EXPORTS) \
8438 for flag in $(EXTRA_HOST_FLAGS) ; do \
8439 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8440 done; \
8441 echo "Doing install-info in gas" ; \
8442 (cd gas && \
8443 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8444 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8445 "RANLIB=$${RANLIB}" \
8446 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8447 install-info) \
8448 || exit 1
8450 @endif gas
8452 .PHONY: maybe-installcheck-gas installcheck-gas
8453 maybe-installcheck-gas:
8454 @if gas
8455 maybe-installcheck-gas: installcheck-gas
8457 installcheck-gas: \
8458 configure-gas
8459 @[ -f ./gas/Makefile ] || exit 0; \
8460 r=`${PWD_COMMAND}`; export r; \
8461 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8462 $(SET_LIB_PATH) \
8463 $(HOST_EXPORTS) \
8464 for flag in $(EXTRA_HOST_FLAGS) ; do \
8465 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8466 done; \
8467 echo "Doing installcheck in gas" ; \
8468 (cd gas && \
8469 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8470 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8471 "RANLIB=$${RANLIB}" \
8472 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8473 installcheck) \
8474 || exit 1
8476 @endif gas
8478 .PHONY: maybe-mostlyclean-gas mostlyclean-gas
8479 maybe-mostlyclean-gas:
8480 @if gas
8481 maybe-mostlyclean-gas: mostlyclean-gas
8483 mostlyclean-gas:
8484 @[ -f ./gas/Makefile ] || exit 0; \
8485 r=`${PWD_COMMAND}`; export r; \
8486 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8487 $(SET_LIB_PATH) \
8488 $(HOST_EXPORTS) \
8489 for flag in $(EXTRA_HOST_FLAGS) ; do \
8490 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8491 done; \
8492 echo "Doing mostlyclean in gas" ; \
8493 (cd gas && \
8494 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8495 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8496 "RANLIB=$${RANLIB}" \
8497 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8498 mostlyclean) \
8499 || exit 1
8501 @endif gas
8503 .PHONY: maybe-clean-gas clean-gas
8504 maybe-clean-gas:
8505 @if gas
8506 maybe-clean-gas: clean-gas
8508 clean-gas:
8509 @[ -f ./gas/Makefile ] || exit 0; \
8510 r=`${PWD_COMMAND}`; export r; \
8511 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8512 $(SET_LIB_PATH) \
8513 $(HOST_EXPORTS) \
8514 for flag in $(EXTRA_HOST_FLAGS) ; do \
8515 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8516 done; \
8517 echo "Doing clean in gas" ; \
8518 (cd gas && \
8519 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8520 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8521 "RANLIB=$${RANLIB}" \
8522 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8523 clean) \
8524 || exit 1
8526 @endif gas
8528 .PHONY: maybe-distclean-gas distclean-gas
8529 maybe-distclean-gas:
8530 @if gas
8531 maybe-distclean-gas: distclean-gas
8533 distclean-gas:
8534 @[ -f ./gas/Makefile ] || exit 0; \
8535 r=`${PWD_COMMAND}`; export r; \
8536 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8537 $(SET_LIB_PATH) \
8538 $(HOST_EXPORTS) \
8539 for flag in $(EXTRA_HOST_FLAGS) ; do \
8540 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8541 done; \
8542 echo "Doing distclean in gas" ; \
8543 (cd gas && \
8544 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8545 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8546 "RANLIB=$${RANLIB}" \
8547 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8548 distclean) \
8549 || exit 1
8551 @endif gas
8553 .PHONY: maybe-maintainer-clean-gas maintainer-clean-gas
8554 maybe-maintainer-clean-gas:
8555 @if gas
8556 maybe-maintainer-clean-gas: maintainer-clean-gas
8558 maintainer-clean-gas:
8559 @[ -f ./gas/Makefile ] || exit 0; \
8560 r=`${PWD_COMMAND}`; export r; \
8561 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8562 $(SET_LIB_PATH) \
8563 $(HOST_EXPORTS) \
8564 for flag in $(EXTRA_HOST_FLAGS) ; do \
8565 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8566 done; \
8567 echo "Doing maintainer-clean in gas" ; \
8568 (cd gas && \
8569 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8570 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8571 "RANLIB=$${RANLIB}" \
8572 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8573 maintainer-clean) \
8574 || exit 1
8576 @endif gas
8579 .PHONY: configure-gcc maybe-configure-gcc
8580 maybe-configure-gcc:
8581 @if gcc
8582 maybe-configure-gcc: configure-gcc
8583 configure-gcc:
8584 @test ! -f gcc/Makefile || exit 0; \
8585 [ -d gcc ] || mkdir gcc; \
8586 r=`${PWD_COMMAND}`; export r; \
8587 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8588 $(HOST_EXPORTS) \
8589 echo Configuring in gcc; \
8590 cd gcc || exit 1; \
8591 case $(srcdir) in \
8592 \.) \
8593 srcdiroption="--srcdir=."; \
8594 libsrcdir=".";; \
8595 /* | [A-Za-z]:[\\/]*) \
8596 srcdiroption="--srcdir=$(srcdir)/gcc"; \
8597 libsrcdir="$$s/gcc";; \
8598 *) \
8599 srcdiroption="--srcdir=../$(srcdir)/gcc"; \
8600 libsrcdir="$$s/gcc";; \
8601 esac; \
8602 $(SHELL) $${libsrcdir}/configure \
8603 $(HOST_CONFIGARGS) $${srcdiroption} \
8604 || exit 1
8605 @endif gcc
8607 .PHONY: all-gcc maybe-all-gcc
8608 maybe-all-gcc:
8609 @if gcc
8610 maybe-all-gcc: all-gcc
8611 all-gcc: configure-gcc
8612 @r=`${PWD_COMMAND}`; export r; \
8613 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8614 $(SET_LIB_PATH) \
8615 $(HOST_EXPORTS) \
8616 (cd gcc && $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
8617 `if [ -f gcc/stage_last ]; then echo quickstrap ; else echo all; fi` )
8618 @endif gcc
8620 .PHONY: check-gcc maybe-check-gcc
8621 maybe-check-gcc:
8622 @if gcc
8623 maybe-check-gcc: check-gcc
8625 check-gcc:
8626 @r=`${PWD_COMMAND}`; export r; \
8627 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8628 $(SET_LIB_PATH) \
8629 $(HOST_EXPORTS) \
8630 (cd gcc && $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) check)
8632 @endif gcc
8634 .PHONY: install-gcc maybe-install-gcc
8635 maybe-install-gcc:
8636 @if gcc
8637 maybe-install-gcc: install-gcc
8639 install-gcc: installdirs
8640 @r=`${PWD_COMMAND}`; export r; \
8641 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8642 $(SET_LIB_PATH) \
8643 $(HOST_EXPORTS) \
8644 (cd gcc && $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) install)
8646 @endif gcc
8648 # Other targets (info, dvi, etc.)
8650 .PHONY: maybe-info-gcc info-gcc
8651 maybe-info-gcc:
8652 @if gcc
8653 maybe-info-gcc: info-gcc
8655 info-gcc: \
8656 configure-gcc
8657 @[ -f ./gcc/Makefile ] || exit 0; \
8658 r=`${PWD_COMMAND}`; export r; \
8659 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8660 $(SET_LIB_PATH) \
8661 $(HOST_EXPORTS) \
8662 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
8663 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8664 done; \
8665 echo "Doing info in gcc" ; \
8666 (cd gcc && \
8667 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8668 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8669 "RANLIB=$${RANLIB}" \
8670 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8671 info) \
8672 || exit 1
8674 @endif gcc
8676 .PHONY: maybe-dvi-gcc dvi-gcc
8677 maybe-dvi-gcc:
8678 @if gcc
8679 maybe-dvi-gcc: dvi-gcc
8681 dvi-gcc: \
8682 configure-gcc
8683 @[ -f ./gcc/Makefile ] || exit 0; \
8684 r=`${PWD_COMMAND}`; export r; \
8685 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8686 $(SET_LIB_PATH) \
8687 $(HOST_EXPORTS) \
8688 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
8689 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8690 done; \
8691 echo "Doing dvi in gcc" ; \
8692 (cd gcc && \
8693 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8694 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8695 "RANLIB=$${RANLIB}" \
8696 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8697 dvi) \
8698 || exit 1
8700 @endif gcc
8702 .PHONY: maybe-TAGS-gcc TAGS-gcc
8703 maybe-TAGS-gcc:
8704 @if gcc
8705 maybe-TAGS-gcc: TAGS-gcc
8707 TAGS-gcc: \
8708 configure-gcc
8709 @[ -f ./gcc/Makefile ] || exit 0; \
8710 r=`${PWD_COMMAND}`; export r; \
8711 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8712 $(SET_LIB_PATH) \
8713 $(HOST_EXPORTS) \
8714 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
8715 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8716 done; \
8717 echo "Doing TAGS in gcc" ; \
8718 (cd gcc && \
8719 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8720 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8721 "RANLIB=$${RANLIB}" \
8722 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8723 TAGS) \
8724 || exit 1
8726 @endif gcc
8728 .PHONY: maybe-install-info-gcc install-info-gcc
8729 maybe-install-info-gcc:
8730 @if gcc
8731 maybe-install-info-gcc: install-info-gcc
8733 install-info-gcc: \
8734 configure-gcc \
8735 info-gcc
8736 @[ -f ./gcc/Makefile ] || exit 0; \
8737 r=`${PWD_COMMAND}`; export r; \
8738 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8739 $(SET_LIB_PATH) \
8740 $(HOST_EXPORTS) \
8741 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
8742 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8743 done; \
8744 echo "Doing install-info in gcc" ; \
8745 (cd gcc && \
8746 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8747 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8748 "RANLIB=$${RANLIB}" \
8749 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8750 install-info) \
8751 || exit 1
8753 @endif gcc
8755 .PHONY: maybe-installcheck-gcc installcheck-gcc
8756 maybe-installcheck-gcc:
8757 @if gcc
8758 maybe-installcheck-gcc: installcheck-gcc
8760 installcheck-gcc: \
8761 configure-gcc
8762 @[ -f ./gcc/Makefile ] || exit 0; \
8763 r=`${PWD_COMMAND}`; export r; \
8764 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8765 $(SET_LIB_PATH) \
8766 $(HOST_EXPORTS) \
8767 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
8768 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8769 done; \
8770 echo "Doing installcheck in gcc" ; \
8771 (cd gcc && \
8772 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8773 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8774 "RANLIB=$${RANLIB}" \
8775 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8776 installcheck) \
8777 || exit 1
8779 @endif gcc
8781 .PHONY: maybe-mostlyclean-gcc mostlyclean-gcc
8782 maybe-mostlyclean-gcc:
8783 @if gcc
8784 maybe-mostlyclean-gcc: mostlyclean-gcc
8786 mostlyclean-gcc:
8787 @[ -f ./gcc/Makefile ] || exit 0; \
8788 r=`${PWD_COMMAND}`; export r; \
8789 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8790 $(SET_LIB_PATH) \
8791 $(HOST_EXPORTS) \
8792 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
8793 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8794 done; \
8795 echo "Doing mostlyclean in gcc" ; \
8796 (cd gcc && \
8797 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8798 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8799 "RANLIB=$${RANLIB}" \
8800 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8801 mostlyclean) \
8802 || exit 1
8804 @endif gcc
8806 .PHONY: maybe-clean-gcc clean-gcc
8807 maybe-clean-gcc:
8808 @if gcc
8809 maybe-clean-gcc: clean-gcc
8811 clean-gcc:
8812 @[ -f ./gcc/Makefile ] || exit 0; \
8813 r=`${PWD_COMMAND}`; export r; \
8814 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8815 $(SET_LIB_PATH) \
8816 $(HOST_EXPORTS) \
8817 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
8818 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8819 done; \
8820 echo "Doing clean in gcc" ; \
8821 (cd gcc && \
8822 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8823 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8824 "RANLIB=$${RANLIB}" \
8825 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8826 clean) \
8827 || exit 1
8829 @endif gcc
8831 .PHONY: maybe-distclean-gcc distclean-gcc
8832 maybe-distclean-gcc:
8833 @if gcc
8834 maybe-distclean-gcc: distclean-gcc
8836 distclean-gcc:
8837 @[ -f ./gcc/Makefile ] || exit 0; \
8838 r=`${PWD_COMMAND}`; export r; \
8839 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8840 $(SET_LIB_PATH) \
8841 $(HOST_EXPORTS) \
8842 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
8843 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8844 done; \
8845 echo "Doing distclean in gcc" ; \
8846 (cd gcc && \
8847 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8848 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8849 "RANLIB=$${RANLIB}" \
8850 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8851 distclean) \
8852 || exit 1
8854 @endif gcc
8856 .PHONY: maybe-maintainer-clean-gcc maintainer-clean-gcc
8857 maybe-maintainer-clean-gcc:
8858 @if gcc
8859 maybe-maintainer-clean-gcc: maintainer-clean-gcc
8861 maintainer-clean-gcc:
8862 @[ -f ./gcc/Makefile ] || exit 0; \
8863 r=`${PWD_COMMAND}`; export r; \
8864 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8865 $(SET_LIB_PATH) \
8866 $(HOST_EXPORTS) \
8867 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
8868 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8869 done; \
8870 echo "Doing maintainer-clean in gcc" ; \
8871 (cd gcc && \
8872 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8873 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8874 "RANLIB=$${RANLIB}" \
8875 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8876 maintainer-clean) \
8877 || exit 1
8879 @endif gcc
8882 .PHONY: configure-gawk maybe-configure-gawk
8883 maybe-configure-gawk:
8884 @if gawk
8885 maybe-configure-gawk: configure-gawk
8886 configure-gawk:
8887 @test ! -f gawk/Makefile || exit 0; \
8888 [ -d gawk ] || mkdir gawk; \
8889 r=`${PWD_COMMAND}`; export r; \
8890 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8891 $(HOST_EXPORTS) \
8892 echo Configuring in gawk; \
8893 cd gawk || exit 1; \
8894 case $(srcdir) in \
8895 \.) \
8896 srcdiroption="--srcdir=."; \
8897 libsrcdir=".";; \
8898 /* | [A-Za-z]:[\\/]*) \
8899 srcdiroption="--srcdir=$(srcdir)/gawk"; \
8900 libsrcdir="$$s/gawk";; \
8901 *) \
8902 srcdiroption="--srcdir=../$(srcdir)/gawk"; \
8903 libsrcdir="$$s/gawk";; \
8904 esac; \
8905 $(SHELL) $${libsrcdir}/configure \
8906 $(HOST_CONFIGARGS) $${srcdiroption} \
8907 || exit 1
8908 @endif gawk
8910 .PHONY: all-gawk maybe-all-gawk
8911 maybe-all-gawk:
8912 @if gawk
8913 maybe-all-gawk: all-gawk
8914 all-gawk: configure-gawk
8915 @r=`${PWD_COMMAND}`; export r; \
8916 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8917 $(SET_LIB_PATH) \
8918 $(HOST_EXPORTS) \
8919 (cd gawk && $(MAKE) $(FLAGS_TO_PASS) all)
8920 @endif gawk
8922 .PHONY: check-gawk maybe-check-gawk
8923 maybe-check-gawk:
8924 @if gawk
8925 maybe-check-gawk: check-gawk
8927 check-gawk:
8928 @r=`${PWD_COMMAND}`; export r; \
8929 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8930 $(SET_LIB_PATH) \
8931 $(HOST_EXPORTS) \
8932 (cd gawk && $(MAKE) $(FLAGS_TO_PASS) check)
8934 @endif gawk
8936 .PHONY: install-gawk maybe-install-gawk
8937 maybe-install-gawk:
8938 @if gawk
8939 maybe-install-gawk: install-gawk
8941 install-gawk: installdirs
8942 @r=`${PWD_COMMAND}`; export r; \
8943 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8944 $(SET_LIB_PATH) \
8945 $(HOST_EXPORTS) \
8946 (cd gawk && $(MAKE) $(FLAGS_TO_PASS) install)
8948 @endif gawk
8950 # Other targets (info, dvi, etc.)
8952 .PHONY: maybe-info-gawk info-gawk
8953 maybe-info-gawk:
8954 @if gawk
8955 maybe-info-gawk: info-gawk
8957 info-gawk: \
8958 configure-gawk
8959 @[ -f ./gawk/Makefile ] || exit 0; \
8960 r=`${PWD_COMMAND}`; export r; \
8961 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8962 $(SET_LIB_PATH) \
8963 $(HOST_EXPORTS) \
8964 for flag in $(EXTRA_HOST_FLAGS) ; do \
8965 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8966 done; \
8967 echo "Doing info in gawk" ; \
8968 (cd gawk && \
8969 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8970 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8971 "RANLIB=$${RANLIB}" \
8972 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8973 info) \
8974 || exit 1
8976 @endif gawk
8978 .PHONY: maybe-dvi-gawk dvi-gawk
8979 maybe-dvi-gawk:
8980 @if gawk
8981 maybe-dvi-gawk: dvi-gawk
8983 dvi-gawk: \
8984 configure-gawk
8985 @[ -f ./gawk/Makefile ] || exit 0; \
8986 r=`${PWD_COMMAND}`; export r; \
8987 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8988 $(SET_LIB_PATH) \
8989 $(HOST_EXPORTS) \
8990 for flag in $(EXTRA_HOST_FLAGS) ; do \
8991 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8992 done; \
8993 echo "Doing dvi in gawk" ; \
8994 (cd gawk && \
8995 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8996 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8997 "RANLIB=$${RANLIB}" \
8998 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8999 dvi) \
9000 || exit 1
9002 @endif gawk
9004 .PHONY: maybe-TAGS-gawk TAGS-gawk
9005 maybe-TAGS-gawk:
9006 @if gawk
9007 maybe-TAGS-gawk: TAGS-gawk
9009 TAGS-gawk: \
9010 configure-gawk
9011 @[ -f ./gawk/Makefile ] || exit 0; \
9012 r=`${PWD_COMMAND}`; export r; \
9013 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9014 $(SET_LIB_PATH) \
9015 $(HOST_EXPORTS) \
9016 for flag in $(EXTRA_HOST_FLAGS) ; do \
9017 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9018 done; \
9019 echo "Doing TAGS in gawk" ; \
9020 (cd gawk && \
9021 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9022 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9023 "RANLIB=$${RANLIB}" \
9024 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9025 TAGS) \
9026 || exit 1
9028 @endif gawk
9030 .PHONY: maybe-install-info-gawk install-info-gawk
9031 maybe-install-info-gawk:
9032 @if gawk
9033 maybe-install-info-gawk: install-info-gawk
9035 install-info-gawk: \
9036 configure-gawk \
9037 info-gawk
9038 @[ -f ./gawk/Makefile ] || exit 0; \
9039 r=`${PWD_COMMAND}`; export r; \
9040 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9041 $(SET_LIB_PATH) \
9042 $(HOST_EXPORTS) \
9043 for flag in $(EXTRA_HOST_FLAGS) ; do \
9044 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9045 done; \
9046 echo "Doing install-info in gawk" ; \
9047 (cd gawk && \
9048 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9049 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9050 "RANLIB=$${RANLIB}" \
9051 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9052 install-info) \
9053 || exit 1
9055 @endif gawk
9057 .PHONY: maybe-installcheck-gawk installcheck-gawk
9058 maybe-installcheck-gawk:
9059 @if gawk
9060 maybe-installcheck-gawk: installcheck-gawk
9062 installcheck-gawk: \
9063 configure-gawk
9064 @[ -f ./gawk/Makefile ] || exit 0; \
9065 r=`${PWD_COMMAND}`; export r; \
9066 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9067 $(SET_LIB_PATH) \
9068 $(HOST_EXPORTS) \
9069 for flag in $(EXTRA_HOST_FLAGS) ; do \
9070 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9071 done; \
9072 echo "Doing installcheck in gawk" ; \
9073 (cd gawk && \
9074 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9075 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9076 "RANLIB=$${RANLIB}" \
9077 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9078 installcheck) \
9079 || exit 1
9081 @endif gawk
9083 .PHONY: maybe-mostlyclean-gawk mostlyclean-gawk
9084 maybe-mostlyclean-gawk:
9085 @if gawk
9086 maybe-mostlyclean-gawk: mostlyclean-gawk
9088 mostlyclean-gawk:
9089 @[ -f ./gawk/Makefile ] || exit 0; \
9090 r=`${PWD_COMMAND}`; export r; \
9091 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9092 $(SET_LIB_PATH) \
9093 $(HOST_EXPORTS) \
9094 for flag in $(EXTRA_HOST_FLAGS) ; do \
9095 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9096 done; \
9097 echo "Doing mostlyclean in gawk" ; \
9098 (cd gawk && \
9099 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9100 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9101 "RANLIB=$${RANLIB}" \
9102 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9103 mostlyclean) \
9104 || exit 1
9106 @endif gawk
9108 .PHONY: maybe-clean-gawk clean-gawk
9109 maybe-clean-gawk:
9110 @if gawk
9111 maybe-clean-gawk: clean-gawk
9113 clean-gawk:
9114 @[ -f ./gawk/Makefile ] || exit 0; \
9115 r=`${PWD_COMMAND}`; export r; \
9116 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9117 $(SET_LIB_PATH) \
9118 $(HOST_EXPORTS) \
9119 for flag in $(EXTRA_HOST_FLAGS) ; do \
9120 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9121 done; \
9122 echo "Doing clean in gawk" ; \
9123 (cd gawk && \
9124 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9125 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9126 "RANLIB=$${RANLIB}" \
9127 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9128 clean) \
9129 || exit 1
9131 @endif gawk
9133 .PHONY: maybe-distclean-gawk distclean-gawk
9134 maybe-distclean-gawk:
9135 @if gawk
9136 maybe-distclean-gawk: distclean-gawk
9138 distclean-gawk:
9139 @[ -f ./gawk/Makefile ] || exit 0; \
9140 r=`${PWD_COMMAND}`; export r; \
9141 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9142 $(SET_LIB_PATH) \
9143 $(HOST_EXPORTS) \
9144 for flag in $(EXTRA_HOST_FLAGS) ; do \
9145 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9146 done; \
9147 echo "Doing distclean in gawk" ; \
9148 (cd gawk && \
9149 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9150 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9151 "RANLIB=$${RANLIB}" \
9152 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9153 distclean) \
9154 || exit 1
9156 @endif gawk
9158 .PHONY: maybe-maintainer-clean-gawk maintainer-clean-gawk
9159 maybe-maintainer-clean-gawk:
9160 @if gawk
9161 maybe-maintainer-clean-gawk: maintainer-clean-gawk
9163 maintainer-clean-gawk:
9164 @[ -f ./gawk/Makefile ] || exit 0; \
9165 r=`${PWD_COMMAND}`; export r; \
9166 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9167 $(SET_LIB_PATH) \
9168 $(HOST_EXPORTS) \
9169 for flag in $(EXTRA_HOST_FLAGS) ; do \
9170 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9171 done; \
9172 echo "Doing maintainer-clean in gawk" ; \
9173 (cd gawk && \
9174 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9175 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9176 "RANLIB=$${RANLIB}" \
9177 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9178 maintainer-clean) \
9179 || exit 1
9181 @endif gawk
9184 .PHONY: configure-gettext maybe-configure-gettext
9185 maybe-configure-gettext:
9186 @if gettext
9187 maybe-configure-gettext: configure-gettext
9188 configure-gettext:
9189 @test ! -f gettext/Makefile || exit 0; \
9190 [ -d gettext ] || mkdir gettext; \
9191 r=`${PWD_COMMAND}`; export r; \
9192 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9193 $(HOST_EXPORTS) \
9194 echo Configuring in gettext; \
9195 cd gettext || exit 1; \
9196 case $(srcdir) in \
9197 \.) \
9198 srcdiroption="--srcdir=."; \
9199 libsrcdir=".";; \
9200 /* | [A-Za-z]:[\\/]*) \
9201 srcdiroption="--srcdir=$(srcdir)/gettext"; \
9202 libsrcdir="$$s/gettext";; \
9203 *) \
9204 srcdiroption="--srcdir=../$(srcdir)/gettext"; \
9205 libsrcdir="$$s/gettext";; \
9206 esac; \
9207 $(SHELL) $${libsrcdir}/configure \
9208 $(HOST_CONFIGARGS) $${srcdiroption} \
9209 || exit 1
9210 @endif gettext
9212 .PHONY: all-gettext maybe-all-gettext
9213 maybe-all-gettext:
9214 @if gettext
9215 maybe-all-gettext: all-gettext
9216 all-gettext: configure-gettext
9217 @r=`${PWD_COMMAND}`; export r; \
9218 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9219 $(SET_LIB_PATH) \
9220 $(HOST_EXPORTS) \
9221 (cd gettext && $(MAKE) $(FLAGS_TO_PASS) all)
9222 @endif gettext
9224 .PHONY: check-gettext maybe-check-gettext
9225 maybe-check-gettext:
9226 @if gettext
9227 maybe-check-gettext: check-gettext
9229 check-gettext:
9230 @r=`${PWD_COMMAND}`; export r; \
9231 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9232 $(SET_LIB_PATH) \
9233 $(HOST_EXPORTS) \
9234 (cd gettext && $(MAKE) $(FLAGS_TO_PASS) check)
9236 @endif gettext
9238 .PHONY: install-gettext maybe-install-gettext
9239 maybe-install-gettext:
9240 @if gettext
9241 maybe-install-gettext: install-gettext
9243 install-gettext: installdirs
9244 @r=`${PWD_COMMAND}`; export r; \
9245 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9246 $(SET_LIB_PATH) \
9247 $(HOST_EXPORTS) \
9248 (cd gettext && $(MAKE) $(FLAGS_TO_PASS) install)
9250 @endif gettext
9252 # Other targets (info, dvi, etc.)
9254 .PHONY: maybe-info-gettext info-gettext
9255 maybe-info-gettext:
9256 @if gettext
9257 maybe-info-gettext: info-gettext
9259 info-gettext: \
9260 configure-gettext
9261 @[ -f ./gettext/Makefile ] || exit 0; \
9262 r=`${PWD_COMMAND}`; export r; \
9263 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9264 $(SET_LIB_PATH) \
9265 $(HOST_EXPORTS) \
9266 for flag in $(EXTRA_HOST_FLAGS) ; do \
9267 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9268 done; \
9269 echo "Doing info in gettext" ; \
9270 (cd gettext && \
9271 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9272 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9273 "RANLIB=$${RANLIB}" \
9274 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9275 info) \
9276 || exit 1
9278 @endif gettext
9280 .PHONY: maybe-dvi-gettext dvi-gettext
9281 maybe-dvi-gettext:
9282 @if gettext
9283 maybe-dvi-gettext: dvi-gettext
9285 dvi-gettext: \
9286 configure-gettext
9287 @[ -f ./gettext/Makefile ] || exit 0; \
9288 r=`${PWD_COMMAND}`; export r; \
9289 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9290 $(SET_LIB_PATH) \
9291 $(HOST_EXPORTS) \
9292 for flag in $(EXTRA_HOST_FLAGS) ; do \
9293 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9294 done; \
9295 echo "Doing dvi in gettext" ; \
9296 (cd gettext && \
9297 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9298 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9299 "RANLIB=$${RANLIB}" \
9300 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9301 dvi) \
9302 || exit 1
9304 @endif gettext
9306 .PHONY: maybe-TAGS-gettext TAGS-gettext
9307 maybe-TAGS-gettext:
9308 @if gettext
9309 maybe-TAGS-gettext: TAGS-gettext
9311 TAGS-gettext: \
9312 configure-gettext
9313 @[ -f ./gettext/Makefile ] || exit 0; \
9314 r=`${PWD_COMMAND}`; export r; \
9315 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9316 $(SET_LIB_PATH) \
9317 $(HOST_EXPORTS) \
9318 for flag in $(EXTRA_HOST_FLAGS) ; do \
9319 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9320 done; \
9321 echo "Doing TAGS in gettext" ; \
9322 (cd gettext && \
9323 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9324 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9325 "RANLIB=$${RANLIB}" \
9326 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9327 TAGS) \
9328 || exit 1
9330 @endif gettext
9332 .PHONY: maybe-install-info-gettext install-info-gettext
9333 maybe-install-info-gettext:
9334 @if gettext
9335 maybe-install-info-gettext: install-info-gettext
9337 install-info-gettext: \
9338 configure-gettext \
9339 info-gettext
9340 @[ -f ./gettext/Makefile ] || exit 0; \
9341 r=`${PWD_COMMAND}`; export r; \
9342 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9343 $(SET_LIB_PATH) \
9344 $(HOST_EXPORTS) \
9345 for flag in $(EXTRA_HOST_FLAGS) ; do \
9346 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9347 done; \
9348 echo "Doing install-info in gettext" ; \
9349 (cd gettext && \
9350 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9351 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9352 "RANLIB=$${RANLIB}" \
9353 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9354 install-info) \
9355 || exit 1
9357 @endif gettext
9359 .PHONY: maybe-installcheck-gettext installcheck-gettext
9360 maybe-installcheck-gettext:
9361 @if gettext
9362 maybe-installcheck-gettext: installcheck-gettext
9364 installcheck-gettext: \
9365 configure-gettext
9366 @[ -f ./gettext/Makefile ] || exit 0; \
9367 r=`${PWD_COMMAND}`; export r; \
9368 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9369 $(SET_LIB_PATH) \
9370 $(HOST_EXPORTS) \
9371 for flag in $(EXTRA_HOST_FLAGS) ; do \
9372 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9373 done; \
9374 echo "Doing installcheck in gettext" ; \
9375 (cd gettext && \
9376 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9377 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9378 "RANLIB=$${RANLIB}" \
9379 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9380 installcheck) \
9381 || exit 1
9383 @endif gettext
9385 .PHONY: maybe-mostlyclean-gettext mostlyclean-gettext
9386 maybe-mostlyclean-gettext:
9387 @if gettext
9388 maybe-mostlyclean-gettext: mostlyclean-gettext
9390 mostlyclean-gettext:
9391 @[ -f ./gettext/Makefile ] || exit 0; \
9392 r=`${PWD_COMMAND}`; export r; \
9393 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9394 $(SET_LIB_PATH) \
9395 $(HOST_EXPORTS) \
9396 for flag in $(EXTRA_HOST_FLAGS) ; do \
9397 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9398 done; \
9399 echo "Doing mostlyclean in gettext" ; \
9400 (cd gettext && \
9401 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9402 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9403 "RANLIB=$${RANLIB}" \
9404 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9405 mostlyclean) \
9406 || exit 1
9408 @endif gettext
9410 .PHONY: maybe-clean-gettext clean-gettext
9411 maybe-clean-gettext:
9412 @if gettext
9413 maybe-clean-gettext: clean-gettext
9415 clean-gettext:
9416 @[ -f ./gettext/Makefile ] || exit 0; \
9417 r=`${PWD_COMMAND}`; export r; \
9418 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9419 $(SET_LIB_PATH) \
9420 $(HOST_EXPORTS) \
9421 for flag in $(EXTRA_HOST_FLAGS) ; do \
9422 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9423 done; \
9424 echo "Doing clean in gettext" ; \
9425 (cd gettext && \
9426 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9427 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9428 "RANLIB=$${RANLIB}" \
9429 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9430 clean) \
9431 || exit 1
9433 @endif gettext
9435 .PHONY: maybe-distclean-gettext distclean-gettext
9436 maybe-distclean-gettext:
9437 @if gettext
9438 maybe-distclean-gettext: distclean-gettext
9440 distclean-gettext:
9441 @[ -f ./gettext/Makefile ] || exit 0; \
9442 r=`${PWD_COMMAND}`; export r; \
9443 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9444 $(SET_LIB_PATH) \
9445 $(HOST_EXPORTS) \
9446 for flag in $(EXTRA_HOST_FLAGS) ; do \
9447 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9448 done; \
9449 echo "Doing distclean in gettext" ; \
9450 (cd gettext && \
9451 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9452 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9453 "RANLIB=$${RANLIB}" \
9454 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9455 distclean) \
9456 || exit 1
9458 @endif gettext
9460 .PHONY: maybe-maintainer-clean-gettext maintainer-clean-gettext
9461 maybe-maintainer-clean-gettext:
9462 @if gettext
9463 maybe-maintainer-clean-gettext: maintainer-clean-gettext
9465 maintainer-clean-gettext:
9466 @[ -f ./gettext/Makefile ] || exit 0; \
9467 r=`${PWD_COMMAND}`; export r; \
9468 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9469 $(SET_LIB_PATH) \
9470 $(HOST_EXPORTS) \
9471 for flag in $(EXTRA_HOST_FLAGS) ; do \
9472 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9473 done; \
9474 echo "Doing maintainer-clean in gettext" ; \
9475 (cd gettext && \
9476 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9477 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9478 "RANLIB=$${RANLIB}" \
9479 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9480 maintainer-clean) \
9481 || exit 1
9483 @endif gettext
9486 .PHONY: configure-gnuserv maybe-configure-gnuserv
9487 maybe-configure-gnuserv:
9488 @if gnuserv
9489 maybe-configure-gnuserv: configure-gnuserv
9490 configure-gnuserv:
9491 @test ! -f gnuserv/Makefile || exit 0; \
9492 [ -d gnuserv ] || mkdir gnuserv; \
9493 r=`${PWD_COMMAND}`; export r; \
9494 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9495 $(HOST_EXPORTS) \
9496 echo Configuring in gnuserv; \
9497 cd gnuserv || exit 1; \
9498 case $(srcdir) in \
9499 \.) \
9500 srcdiroption="--srcdir=."; \
9501 libsrcdir=".";; \
9502 /* | [A-Za-z]:[\\/]*) \
9503 srcdiroption="--srcdir=$(srcdir)/gnuserv"; \
9504 libsrcdir="$$s/gnuserv";; \
9505 *) \
9506 srcdiroption="--srcdir=../$(srcdir)/gnuserv"; \
9507 libsrcdir="$$s/gnuserv";; \
9508 esac; \
9509 $(SHELL) $${libsrcdir}/configure \
9510 $(HOST_CONFIGARGS) $${srcdiroption} \
9511 || exit 1
9512 @endif gnuserv
9514 .PHONY: all-gnuserv maybe-all-gnuserv
9515 maybe-all-gnuserv:
9516 @if gnuserv
9517 maybe-all-gnuserv: all-gnuserv
9518 all-gnuserv: configure-gnuserv
9519 @r=`${PWD_COMMAND}`; export r; \
9520 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9521 $(SET_LIB_PATH) \
9522 $(HOST_EXPORTS) \
9523 (cd gnuserv && $(MAKE) $(FLAGS_TO_PASS) all)
9524 @endif gnuserv
9526 .PHONY: check-gnuserv maybe-check-gnuserv
9527 maybe-check-gnuserv:
9528 @if gnuserv
9529 maybe-check-gnuserv: check-gnuserv
9531 check-gnuserv:
9532 @r=`${PWD_COMMAND}`; export r; \
9533 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9534 $(SET_LIB_PATH) \
9535 $(HOST_EXPORTS) \
9536 (cd gnuserv && $(MAKE) $(FLAGS_TO_PASS) check)
9538 @endif gnuserv
9540 .PHONY: install-gnuserv maybe-install-gnuserv
9541 maybe-install-gnuserv:
9542 @if gnuserv
9543 maybe-install-gnuserv: install-gnuserv
9545 install-gnuserv: installdirs
9546 @r=`${PWD_COMMAND}`; export r; \
9547 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9548 $(SET_LIB_PATH) \
9549 $(HOST_EXPORTS) \
9550 (cd gnuserv && $(MAKE) $(FLAGS_TO_PASS) install)
9552 @endif gnuserv
9554 # Other targets (info, dvi, etc.)
9556 .PHONY: maybe-info-gnuserv info-gnuserv
9557 maybe-info-gnuserv:
9558 @if gnuserv
9559 maybe-info-gnuserv: info-gnuserv
9561 info-gnuserv: \
9562 configure-gnuserv
9563 @[ -f ./gnuserv/Makefile ] || exit 0; \
9564 r=`${PWD_COMMAND}`; export r; \
9565 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9566 $(SET_LIB_PATH) \
9567 $(HOST_EXPORTS) \
9568 for flag in $(EXTRA_HOST_FLAGS) ; do \
9569 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9570 done; \
9571 echo "Doing info in gnuserv" ; \
9572 (cd gnuserv && \
9573 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9574 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9575 "RANLIB=$${RANLIB}" \
9576 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9577 info) \
9578 || exit 1
9580 @endif gnuserv
9582 .PHONY: maybe-dvi-gnuserv dvi-gnuserv
9583 maybe-dvi-gnuserv:
9584 @if gnuserv
9585 maybe-dvi-gnuserv: dvi-gnuserv
9587 dvi-gnuserv: \
9588 configure-gnuserv
9589 @[ -f ./gnuserv/Makefile ] || exit 0; \
9590 r=`${PWD_COMMAND}`; export r; \
9591 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9592 $(SET_LIB_PATH) \
9593 $(HOST_EXPORTS) \
9594 for flag in $(EXTRA_HOST_FLAGS) ; do \
9595 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9596 done; \
9597 echo "Doing dvi in gnuserv" ; \
9598 (cd gnuserv && \
9599 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9600 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9601 "RANLIB=$${RANLIB}" \
9602 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9603 dvi) \
9604 || exit 1
9606 @endif gnuserv
9608 .PHONY: maybe-TAGS-gnuserv TAGS-gnuserv
9609 maybe-TAGS-gnuserv:
9610 @if gnuserv
9611 maybe-TAGS-gnuserv: TAGS-gnuserv
9613 TAGS-gnuserv: \
9614 configure-gnuserv
9615 @[ -f ./gnuserv/Makefile ] || exit 0; \
9616 r=`${PWD_COMMAND}`; export r; \
9617 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9618 $(SET_LIB_PATH) \
9619 $(HOST_EXPORTS) \
9620 for flag in $(EXTRA_HOST_FLAGS) ; do \
9621 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9622 done; \
9623 echo "Doing TAGS in gnuserv" ; \
9624 (cd gnuserv && \
9625 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9626 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9627 "RANLIB=$${RANLIB}" \
9628 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9629 TAGS) \
9630 || exit 1
9632 @endif gnuserv
9634 .PHONY: maybe-install-info-gnuserv install-info-gnuserv
9635 maybe-install-info-gnuserv:
9636 @if gnuserv
9637 maybe-install-info-gnuserv: install-info-gnuserv
9639 install-info-gnuserv: \
9640 configure-gnuserv \
9641 info-gnuserv
9642 @[ -f ./gnuserv/Makefile ] || exit 0; \
9643 r=`${PWD_COMMAND}`; export r; \
9644 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9645 $(SET_LIB_PATH) \
9646 $(HOST_EXPORTS) \
9647 for flag in $(EXTRA_HOST_FLAGS) ; do \
9648 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9649 done; \
9650 echo "Doing install-info in gnuserv" ; \
9651 (cd gnuserv && \
9652 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9653 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9654 "RANLIB=$${RANLIB}" \
9655 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9656 install-info) \
9657 || exit 1
9659 @endif gnuserv
9661 .PHONY: maybe-installcheck-gnuserv installcheck-gnuserv
9662 maybe-installcheck-gnuserv:
9663 @if gnuserv
9664 maybe-installcheck-gnuserv: installcheck-gnuserv
9666 installcheck-gnuserv: \
9667 configure-gnuserv
9668 @[ -f ./gnuserv/Makefile ] || exit 0; \
9669 r=`${PWD_COMMAND}`; export r; \
9670 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9671 $(SET_LIB_PATH) \
9672 $(HOST_EXPORTS) \
9673 for flag in $(EXTRA_HOST_FLAGS) ; do \
9674 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9675 done; \
9676 echo "Doing installcheck in gnuserv" ; \
9677 (cd gnuserv && \
9678 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9679 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9680 "RANLIB=$${RANLIB}" \
9681 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9682 installcheck) \
9683 || exit 1
9685 @endif gnuserv
9687 .PHONY: maybe-mostlyclean-gnuserv mostlyclean-gnuserv
9688 maybe-mostlyclean-gnuserv:
9689 @if gnuserv
9690 maybe-mostlyclean-gnuserv: mostlyclean-gnuserv
9692 mostlyclean-gnuserv:
9693 @[ -f ./gnuserv/Makefile ] || exit 0; \
9694 r=`${PWD_COMMAND}`; export r; \
9695 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9696 $(SET_LIB_PATH) \
9697 $(HOST_EXPORTS) \
9698 for flag in $(EXTRA_HOST_FLAGS) ; do \
9699 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9700 done; \
9701 echo "Doing mostlyclean in gnuserv" ; \
9702 (cd gnuserv && \
9703 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9704 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9705 "RANLIB=$${RANLIB}" \
9706 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9707 mostlyclean) \
9708 || exit 1
9710 @endif gnuserv
9712 .PHONY: maybe-clean-gnuserv clean-gnuserv
9713 maybe-clean-gnuserv:
9714 @if gnuserv
9715 maybe-clean-gnuserv: clean-gnuserv
9717 clean-gnuserv:
9718 @[ -f ./gnuserv/Makefile ] || exit 0; \
9719 r=`${PWD_COMMAND}`; export r; \
9720 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9721 $(SET_LIB_PATH) \
9722 $(HOST_EXPORTS) \
9723 for flag in $(EXTRA_HOST_FLAGS) ; do \
9724 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9725 done; \
9726 echo "Doing clean in gnuserv" ; \
9727 (cd gnuserv && \
9728 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9729 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9730 "RANLIB=$${RANLIB}" \
9731 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9732 clean) \
9733 || exit 1
9735 @endif gnuserv
9737 .PHONY: maybe-distclean-gnuserv distclean-gnuserv
9738 maybe-distclean-gnuserv:
9739 @if gnuserv
9740 maybe-distclean-gnuserv: distclean-gnuserv
9742 distclean-gnuserv:
9743 @[ -f ./gnuserv/Makefile ] || exit 0; \
9744 r=`${PWD_COMMAND}`; export r; \
9745 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9746 $(SET_LIB_PATH) \
9747 $(HOST_EXPORTS) \
9748 for flag in $(EXTRA_HOST_FLAGS) ; do \
9749 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9750 done; \
9751 echo "Doing distclean in gnuserv" ; \
9752 (cd gnuserv && \
9753 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9754 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9755 "RANLIB=$${RANLIB}" \
9756 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9757 distclean) \
9758 || exit 1
9760 @endif gnuserv
9762 .PHONY: maybe-maintainer-clean-gnuserv maintainer-clean-gnuserv
9763 maybe-maintainer-clean-gnuserv:
9764 @if gnuserv
9765 maybe-maintainer-clean-gnuserv: maintainer-clean-gnuserv
9767 maintainer-clean-gnuserv:
9768 @[ -f ./gnuserv/Makefile ] || exit 0; \
9769 r=`${PWD_COMMAND}`; export r; \
9770 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9771 $(SET_LIB_PATH) \
9772 $(HOST_EXPORTS) \
9773 for flag in $(EXTRA_HOST_FLAGS) ; do \
9774 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9775 done; \
9776 echo "Doing maintainer-clean in gnuserv" ; \
9777 (cd gnuserv && \
9778 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9779 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9780 "RANLIB=$${RANLIB}" \
9781 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9782 maintainer-clean) \
9783 || exit 1
9785 @endif gnuserv
9788 .PHONY: configure-gprof maybe-configure-gprof
9789 maybe-configure-gprof:
9790 @if gprof
9791 maybe-configure-gprof: configure-gprof
9792 configure-gprof:
9793 @test ! -f gprof/Makefile || exit 0; \
9794 [ -d gprof ] || mkdir gprof; \
9795 r=`${PWD_COMMAND}`; export r; \
9796 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9797 $(HOST_EXPORTS) \
9798 echo Configuring in gprof; \
9799 cd gprof || exit 1; \
9800 case $(srcdir) in \
9801 \.) \
9802 srcdiroption="--srcdir=."; \
9803 libsrcdir=".";; \
9804 /* | [A-Za-z]:[\\/]*) \
9805 srcdiroption="--srcdir=$(srcdir)/gprof"; \
9806 libsrcdir="$$s/gprof";; \
9807 *) \
9808 srcdiroption="--srcdir=../$(srcdir)/gprof"; \
9809 libsrcdir="$$s/gprof";; \
9810 esac; \
9811 $(SHELL) $${libsrcdir}/configure \
9812 $(HOST_CONFIGARGS) $${srcdiroption} \
9813 || exit 1
9814 @endif gprof
9816 .PHONY: all-gprof maybe-all-gprof
9817 maybe-all-gprof:
9818 @if gprof
9819 maybe-all-gprof: all-gprof
9820 all-gprof: configure-gprof
9821 @r=`${PWD_COMMAND}`; export r; \
9822 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9823 $(SET_LIB_PATH) \
9824 $(HOST_EXPORTS) \
9825 (cd gprof && $(MAKE) $(FLAGS_TO_PASS) all)
9826 @endif gprof
9828 .PHONY: check-gprof maybe-check-gprof
9829 maybe-check-gprof:
9830 @if gprof
9831 maybe-check-gprof: check-gprof
9833 check-gprof:
9834 @r=`${PWD_COMMAND}`; export r; \
9835 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9836 $(SET_LIB_PATH) \
9837 $(HOST_EXPORTS) \
9838 (cd gprof && $(MAKE) $(FLAGS_TO_PASS) check)
9840 @endif gprof
9842 .PHONY: install-gprof maybe-install-gprof
9843 maybe-install-gprof:
9844 @if gprof
9845 maybe-install-gprof: install-gprof
9847 install-gprof: installdirs
9848 @r=`${PWD_COMMAND}`; export r; \
9849 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9850 $(SET_LIB_PATH) \
9851 $(HOST_EXPORTS) \
9852 (cd gprof && $(MAKE) $(FLAGS_TO_PASS) install)
9854 @endif gprof
9856 # Other targets (info, dvi, etc.)
9858 .PHONY: maybe-info-gprof info-gprof
9859 maybe-info-gprof:
9860 @if gprof
9861 maybe-info-gprof: info-gprof
9863 info-gprof: \
9864 configure-gprof
9865 @[ -f ./gprof/Makefile ] || exit 0; \
9866 r=`${PWD_COMMAND}`; export r; \
9867 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9868 $(SET_LIB_PATH) \
9869 $(HOST_EXPORTS) \
9870 for flag in $(EXTRA_HOST_FLAGS) ; do \
9871 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9872 done; \
9873 echo "Doing info in gprof" ; \
9874 (cd gprof && \
9875 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9876 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9877 "RANLIB=$${RANLIB}" \
9878 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9879 info) \
9880 || exit 1
9882 @endif gprof
9884 .PHONY: maybe-dvi-gprof dvi-gprof
9885 maybe-dvi-gprof:
9886 @if gprof
9887 maybe-dvi-gprof: dvi-gprof
9889 dvi-gprof: \
9890 configure-gprof
9891 @[ -f ./gprof/Makefile ] || exit 0; \
9892 r=`${PWD_COMMAND}`; export r; \
9893 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9894 $(SET_LIB_PATH) \
9895 $(HOST_EXPORTS) \
9896 for flag in $(EXTRA_HOST_FLAGS) ; do \
9897 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9898 done; \
9899 echo "Doing dvi in gprof" ; \
9900 (cd gprof && \
9901 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9902 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9903 "RANLIB=$${RANLIB}" \
9904 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9905 dvi) \
9906 || exit 1
9908 @endif gprof
9910 .PHONY: maybe-TAGS-gprof TAGS-gprof
9911 maybe-TAGS-gprof:
9912 @if gprof
9913 maybe-TAGS-gprof: TAGS-gprof
9915 TAGS-gprof: \
9916 configure-gprof
9917 @[ -f ./gprof/Makefile ] || exit 0; \
9918 r=`${PWD_COMMAND}`; export r; \
9919 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9920 $(SET_LIB_PATH) \
9921 $(HOST_EXPORTS) \
9922 for flag in $(EXTRA_HOST_FLAGS) ; do \
9923 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9924 done; \
9925 echo "Doing TAGS in gprof" ; \
9926 (cd gprof && \
9927 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9928 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9929 "RANLIB=$${RANLIB}" \
9930 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9931 TAGS) \
9932 || exit 1
9934 @endif gprof
9936 .PHONY: maybe-install-info-gprof install-info-gprof
9937 maybe-install-info-gprof:
9938 @if gprof
9939 maybe-install-info-gprof: install-info-gprof
9941 install-info-gprof: \
9942 configure-gprof \
9943 info-gprof
9944 @[ -f ./gprof/Makefile ] || exit 0; \
9945 r=`${PWD_COMMAND}`; export r; \
9946 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9947 $(SET_LIB_PATH) \
9948 $(HOST_EXPORTS) \
9949 for flag in $(EXTRA_HOST_FLAGS) ; do \
9950 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9951 done; \
9952 echo "Doing install-info in gprof" ; \
9953 (cd gprof && \
9954 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9955 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9956 "RANLIB=$${RANLIB}" \
9957 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9958 install-info) \
9959 || exit 1
9961 @endif gprof
9963 .PHONY: maybe-installcheck-gprof installcheck-gprof
9964 maybe-installcheck-gprof:
9965 @if gprof
9966 maybe-installcheck-gprof: installcheck-gprof
9968 installcheck-gprof: \
9969 configure-gprof
9970 @[ -f ./gprof/Makefile ] || exit 0; \
9971 r=`${PWD_COMMAND}`; export r; \
9972 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9973 $(SET_LIB_PATH) \
9974 $(HOST_EXPORTS) \
9975 for flag in $(EXTRA_HOST_FLAGS) ; do \
9976 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9977 done; \
9978 echo "Doing installcheck in gprof" ; \
9979 (cd gprof && \
9980 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9981 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9982 "RANLIB=$${RANLIB}" \
9983 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9984 installcheck) \
9985 || exit 1
9987 @endif gprof
9989 .PHONY: maybe-mostlyclean-gprof mostlyclean-gprof
9990 maybe-mostlyclean-gprof:
9991 @if gprof
9992 maybe-mostlyclean-gprof: mostlyclean-gprof
9994 mostlyclean-gprof:
9995 @[ -f ./gprof/Makefile ] || exit 0; \
9996 r=`${PWD_COMMAND}`; export r; \
9997 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9998 $(SET_LIB_PATH) \
9999 $(HOST_EXPORTS) \
10000 for flag in $(EXTRA_HOST_FLAGS) ; do \
10001 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10002 done; \
10003 echo "Doing mostlyclean in gprof" ; \
10004 (cd gprof && \
10005 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10006 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10007 "RANLIB=$${RANLIB}" \
10008 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10009 mostlyclean) \
10010 || exit 1
10012 @endif gprof
10014 .PHONY: maybe-clean-gprof clean-gprof
10015 maybe-clean-gprof:
10016 @if gprof
10017 maybe-clean-gprof: clean-gprof
10019 clean-gprof:
10020 @[ -f ./gprof/Makefile ] || exit 0; \
10021 r=`${PWD_COMMAND}`; export r; \
10022 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10023 $(SET_LIB_PATH) \
10024 $(HOST_EXPORTS) \
10025 for flag in $(EXTRA_HOST_FLAGS) ; do \
10026 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10027 done; \
10028 echo "Doing clean in gprof" ; \
10029 (cd gprof && \
10030 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10031 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10032 "RANLIB=$${RANLIB}" \
10033 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10034 clean) \
10035 || exit 1
10037 @endif gprof
10039 .PHONY: maybe-distclean-gprof distclean-gprof
10040 maybe-distclean-gprof:
10041 @if gprof
10042 maybe-distclean-gprof: distclean-gprof
10044 distclean-gprof:
10045 @[ -f ./gprof/Makefile ] || exit 0; \
10046 r=`${PWD_COMMAND}`; export r; \
10047 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10048 $(SET_LIB_PATH) \
10049 $(HOST_EXPORTS) \
10050 for flag in $(EXTRA_HOST_FLAGS) ; do \
10051 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10052 done; \
10053 echo "Doing distclean in gprof" ; \
10054 (cd gprof && \
10055 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10056 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10057 "RANLIB=$${RANLIB}" \
10058 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10059 distclean) \
10060 || exit 1
10062 @endif gprof
10064 .PHONY: maybe-maintainer-clean-gprof maintainer-clean-gprof
10065 maybe-maintainer-clean-gprof:
10066 @if gprof
10067 maybe-maintainer-clean-gprof: maintainer-clean-gprof
10069 maintainer-clean-gprof:
10070 @[ -f ./gprof/Makefile ] || exit 0; \
10071 r=`${PWD_COMMAND}`; export r; \
10072 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10073 $(SET_LIB_PATH) \
10074 $(HOST_EXPORTS) \
10075 for flag in $(EXTRA_HOST_FLAGS) ; do \
10076 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10077 done; \
10078 echo "Doing maintainer-clean in gprof" ; \
10079 (cd gprof && \
10080 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10081 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10082 "RANLIB=$${RANLIB}" \
10083 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10084 maintainer-clean) \
10085 || exit 1
10087 @endif gprof
10090 .PHONY: configure-gzip maybe-configure-gzip
10091 maybe-configure-gzip:
10092 @if gzip
10093 maybe-configure-gzip: configure-gzip
10094 configure-gzip:
10095 @test ! -f gzip/Makefile || exit 0; \
10096 [ -d gzip ] || mkdir gzip; \
10097 r=`${PWD_COMMAND}`; export r; \
10098 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10099 $(HOST_EXPORTS) \
10100 echo Configuring in gzip; \
10101 cd gzip || exit 1; \
10102 case $(srcdir) in \
10103 \.) \
10104 srcdiroption="--srcdir=."; \
10105 libsrcdir=".";; \
10106 /* | [A-Za-z]:[\\/]*) \
10107 srcdiroption="--srcdir=$(srcdir)/gzip"; \
10108 libsrcdir="$$s/gzip";; \
10109 *) \
10110 srcdiroption="--srcdir=../$(srcdir)/gzip"; \
10111 libsrcdir="$$s/gzip";; \
10112 esac; \
10113 $(SHELL) $${libsrcdir}/configure \
10114 $(HOST_CONFIGARGS) $${srcdiroption} \
10115 || exit 1
10116 @endif gzip
10118 .PHONY: all-gzip maybe-all-gzip
10119 maybe-all-gzip:
10120 @if gzip
10121 maybe-all-gzip: all-gzip
10122 all-gzip: configure-gzip
10123 @r=`${PWD_COMMAND}`; export r; \
10124 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10125 $(SET_LIB_PATH) \
10126 $(HOST_EXPORTS) \
10127 (cd gzip && $(MAKE) $(FLAGS_TO_PASS) all)
10128 @endif gzip
10130 .PHONY: check-gzip maybe-check-gzip
10131 maybe-check-gzip:
10132 @if gzip
10133 maybe-check-gzip: check-gzip
10135 check-gzip:
10136 @r=`${PWD_COMMAND}`; export r; \
10137 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10138 $(SET_LIB_PATH) \
10139 $(HOST_EXPORTS) \
10140 (cd gzip && $(MAKE) $(FLAGS_TO_PASS) check)
10142 @endif gzip
10144 .PHONY: install-gzip maybe-install-gzip
10145 maybe-install-gzip:
10146 @if gzip
10147 maybe-install-gzip: install-gzip
10149 install-gzip: installdirs
10150 @r=`${PWD_COMMAND}`; export r; \
10151 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10152 $(SET_LIB_PATH) \
10153 $(HOST_EXPORTS) \
10154 (cd gzip && $(MAKE) $(FLAGS_TO_PASS) install)
10156 @endif gzip
10158 # Other targets (info, dvi, etc.)
10160 .PHONY: maybe-info-gzip info-gzip
10161 maybe-info-gzip:
10162 @if gzip
10163 maybe-info-gzip: info-gzip
10165 info-gzip: \
10166 configure-gzip
10167 @[ -f ./gzip/Makefile ] || exit 0; \
10168 r=`${PWD_COMMAND}`; export r; \
10169 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10170 $(SET_LIB_PATH) \
10171 $(HOST_EXPORTS) \
10172 for flag in $(EXTRA_HOST_FLAGS) ; do \
10173 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10174 done; \
10175 echo "Doing info in gzip" ; \
10176 (cd gzip && \
10177 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10178 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10179 "RANLIB=$${RANLIB}" \
10180 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10181 info) \
10182 || exit 1
10184 @endif gzip
10186 .PHONY: maybe-dvi-gzip dvi-gzip
10187 maybe-dvi-gzip:
10188 @if gzip
10189 maybe-dvi-gzip: dvi-gzip
10191 dvi-gzip: \
10192 configure-gzip
10193 @[ -f ./gzip/Makefile ] || exit 0; \
10194 r=`${PWD_COMMAND}`; export r; \
10195 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10196 $(SET_LIB_PATH) \
10197 $(HOST_EXPORTS) \
10198 for flag in $(EXTRA_HOST_FLAGS) ; do \
10199 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10200 done; \
10201 echo "Doing dvi in gzip" ; \
10202 (cd gzip && \
10203 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10204 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10205 "RANLIB=$${RANLIB}" \
10206 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10207 dvi) \
10208 || exit 1
10210 @endif gzip
10212 .PHONY: maybe-TAGS-gzip TAGS-gzip
10213 maybe-TAGS-gzip:
10214 @if gzip
10215 maybe-TAGS-gzip: TAGS-gzip
10217 TAGS-gzip: \
10218 configure-gzip
10219 @[ -f ./gzip/Makefile ] || exit 0; \
10220 r=`${PWD_COMMAND}`; export r; \
10221 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10222 $(SET_LIB_PATH) \
10223 $(HOST_EXPORTS) \
10224 for flag in $(EXTRA_HOST_FLAGS) ; do \
10225 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10226 done; \
10227 echo "Doing TAGS in gzip" ; \
10228 (cd gzip && \
10229 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10230 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10231 "RANLIB=$${RANLIB}" \
10232 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10233 TAGS) \
10234 || exit 1
10236 @endif gzip
10238 .PHONY: maybe-install-info-gzip install-info-gzip
10239 maybe-install-info-gzip:
10240 @if gzip
10241 maybe-install-info-gzip: install-info-gzip
10243 install-info-gzip: \
10244 configure-gzip \
10245 info-gzip
10246 @[ -f ./gzip/Makefile ] || exit 0; \
10247 r=`${PWD_COMMAND}`; export r; \
10248 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10249 $(SET_LIB_PATH) \
10250 $(HOST_EXPORTS) \
10251 for flag in $(EXTRA_HOST_FLAGS) ; do \
10252 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10253 done; \
10254 echo "Doing install-info in gzip" ; \
10255 (cd gzip && \
10256 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10257 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10258 "RANLIB=$${RANLIB}" \
10259 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10260 install-info) \
10261 || exit 1
10263 @endif gzip
10265 .PHONY: maybe-installcheck-gzip installcheck-gzip
10266 maybe-installcheck-gzip:
10267 @if gzip
10268 maybe-installcheck-gzip: installcheck-gzip
10270 installcheck-gzip: \
10271 configure-gzip
10272 @[ -f ./gzip/Makefile ] || exit 0; \
10273 r=`${PWD_COMMAND}`; export r; \
10274 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10275 $(SET_LIB_PATH) \
10276 $(HOST_EXPORTS) \
10277 for flag in $(EXTRA_HOST_FLAGS) ; do \
10278 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10279 done; \
10280 echo "Doing installcheck in gzip" ; \
10281 (cd gzip && \
10282 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10283 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10284 "RANLIB=$${RANLIB}" \
10285 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10286 installcheck) \
10287 || exit 1
10289 @endif gzip
10291 .PHONY: maybe-mostlyclean-gzip mostlyclean-gzip
10292 maybe-mostlyclean-gzip:
10293 @if gzip
10294 maybe-mostlyclean-gzip: mostlyclean-gzip
10296 mostlyclean-gzip:
10297 @[ -f ./gzip/Makefile ] || exit 0; \
10298 r=`${PWD_COMMAND}`; export r; \
10299 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10300 $(SET_LIB_PATH) \
10301 $(HOST_EXPORTS) \
10302 for flag in $(EXTRA_HOST_FLAGS) ; do \
10303 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10304 done; \
10305 echo "Doing mostlyclean in gzip" ; \
10306 (cd gzip && \
10307 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10308 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10309 "RANLIB=$${RANLIB}" \
10310 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10311 mostlyclean) \
10312 || exit 1
10314 @endif gzip
10316 .PHONY: maybe-clean-gzip clean-gzip
10317 maybe-clean-gzip:
10318 @if gzip
10319 maybe-clean-gzip: clean-gzip
10321 clean-gzip:
10322 @[ -f ./gzip/Makefile ] || exit 0; \
10323 r=`${PWD_COMMAND}`; export r; \
10324 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10325 $(SET_LIB_PATH) \
10326 $(HOST_EXPORTS) \
10327 for flag in $(EXTRA_HOST_FLAGS) ; do \
10328 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10329 done; \
10330 echo "Doing clean in gzip" ; \
10331 (cd gzip && \
10332 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10333 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10334 "RANLIB=$${RANLIB}" \
10335 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10336 clean) \
10337 || exit 1
10339 @endif gzip
10341 .PHONY: maybe-distclean-gzip distclean-gzip
10342 maybe-distclean-gzip:
10343 @if gzip
10344 maybe-distclean-gzip: distclean-gzip
10346 distclean-gzip:
10347 @[ -f ./gzip/Makefile ] || exit 0; \
10348 r=`${PWD_COMMAND}`; export r; \
10349 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10350 $(SET_LIB_PATH) \
10351 $(HOST_EXPORTS) \
10352 for flag in $(EXTRA_HOST_FLAGS) ; do \
10353 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10354 done; \
10355 echo "Doing distclean in gzip" ; \
10356 (cd gzip && \
10357 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10358 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10359 "RANLIB=$${RANLIB}" \
10360 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10361 distclean) \
10362 || exit 1
10364 @endif gzip
10366 .PHONY: maybe-maintainer-clean-gzip maintainer-clean-gzip
10367 maybe-maintainer-clean-gzip:
10368 @if gzip
10369 maybe-maintainer-clean-gzip: maintainer-clean-gzip
10371 maintainer-clean-gzip:
10372 @[ -f ./gzip/Makefile ] || exit 0; \
10373 r=`${PWD_COMMAND}`; export r; \
10374 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10375 $(SET_LIB_PATH) \
10376 $(HOST_EXPORTS) \
10377 for flag in $(EXTRA_HOST_FLAGS) ; do \
10378 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10379 done; \
10380 echo "Doing maintainer-clean in gzip" ; \
10381 (cd gzip && \
10382 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10383 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10384 "RANLIB=$${RANLIB}" \
10385 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10386 maintainer-clean) \
10387 || exit 1
10389 @endif gzip
10392 .PHONY: configure-hello maybe-configure-hello
10393 maybe-configure-hello:
10394 @if hello
10395 maybe-configure-hello: configure-hello
10396 configure-hello:
10397 @test ! -f hello/Makefile || exit 0; \
10398 [ -d hello ] || mkdir hello; \
10399 r=`${PWD_COMMAND}`; export r; \
10400 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10401 $(HOST_EXPORTS) \
10402 echo Configuring in hello; \
10403 cd hello || exit 1; \
10404 case $(srcdir) in \
10405 \.) \
10406 srcdiroption="--srcdir=."; \
10407 libsrcdir=".";; \
10408 /* | [A-Za-z]:[\\/]*) \
10409 srcdiroption="--srcdir=$(srcdir)/hello"; \
10410 libsrcdir="$$s/hello";; \
10411 *) \
10412 srcdiroption="--srcdir=../$(srcdir)/hello"; \
10413 libsrcdir="$$s/hello";; \
10414 esac; \
10415 $(SHELL) $${libsrcdir}/configure \
10416 $(HOST_CONFIGARGS) $${srcdiroption} \
10417 || exit 1
10418 @endif hello
10420 .PHONY: all-hello maybe-all-hello
10421 maybe-all-hello:
10422 @if hello
10423 maybe-all-hello: all-hello
10424 all-hello: configure-hello
10425 @r=`${PWD_COMMAND}`; export r; \
10426 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10427 $(SET_LIB_PATH) \
10428 $(HOST_EXPORTS) \
10429 (cd hello && $(MAKE) $(FLAGS_TO_PASS) all)
10430 @endif hello
10432 .PHONY: check-hello maybe-check-hello
10433 maybe-check-hello:
10434 @if hello
10435 maybe-check-hello: check-hello
10437 check-hello:
10438 @r=`${PWD_COMMAND}`; export r; \
10439 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10440 $(SET_LIB_PATH) \
10441 $(HOST_EXPORTS) \
10442 (cd hello && $(MAKE) $(FLAGS_TO_PASS) check)
10444 @endif hello
10446 .PHONY: install-hello maybe-install-hello
10447 maybe-install-hello:
10448 @if hello
10449 maybe-install-hello: install-hello
10451 install-hello: installdirs
10452 @r=`${PWD_COMMAND}`; export r; \
10453 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10454 $(SET_LIB_PATH) \
10455 $(HOST_EXPORTS) \
10456 (cd hello && $(MAKE) $(FLAGS_TO_PASS) install)
10458 @endif hello
10460 # Other targets (info, dvi, etc.)
10462 .PHONY: maybe-info-hello info-hello
10463 maybe-info-hello:
10464 @if hello
10465 maybe-info-hello: info-hello
10467 info-hello: \
10468 configure-hello
10469 @[ -f ./hello/Makefile ] || exit 0; \
10470 r=`${PWD_COMMAND}`; export r; \
10471 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10472 $(SET_LIB_PATH) \
10473 $(HOST_EXPORTS) \
10474 for flag in $(EXTRA_HOST_FLAGS) ; do \
10475 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10476 done; \
10477 echo "Doing info in hello" ; \
10478 (cd hello && \
10479 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10480 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10481 "RANLIB=$${RANLIB}" \
10482 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10483 info) \
10484 || exit 1
10486 @endif hello
10488 .PHONY: maybe-dvi-hello dvi-hello
10489 maybe-dvi-hello:
10490 @if hello
10491 maybe-dvi-hello: dvi-hello
10493 dvi-hello: \
10494 configure-hello
10495 @[ -f ./hello/Makefile ] || exit 0; \
10496 r=`${PWD_COMMAND}`; export r; \
10497 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10498 $(SET_LIB_PATH) \
10499 $(HOST_EXPORTS) \
10500 for flag in $(EXTRA_HOST_FLAGS) ; do \
10501 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10502 done; \
10503 echo "Doing dvi in hello" ; \
10504 (cd hello && \
10505 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10506 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10507 "RANLIB=$${RANLIB}" \
10508 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10509 dvi) \
10510 || exit 1
10512 @endif hello
10514 .PHONY: maybe-TAGS-hello TAGS-hello
10515 maybe-TAGS-hello:
10516 @if hello
10517 maybe-TAGS-hello: TAGS-hello
10519 TAGS-hello: \
10520 configure-hello
10521 @[ -f ./hello/Makefile ] || exit 0; \
10522 r=`${PWD_COMMAND}`; export r; \
10523 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10524 $(SET_LIB_PATH) \
10525 $(HOST_EXPORTS) \
10526 for flag in $(EXTRA_HOST_FLAGS) ; do \
10527 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10528 done; \
10529 echo "Doing TAGS in hello" ; \
10530 (cd hello && \
10531 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10532 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10533 "RANLIB=$${RANLIB}" \
10534 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10535 TAGS) \
10536 || exit 1
10538 @endif hello
10540 .PHONY: maybe-install-info-hello install-info-hello
10541 maybe-install-info-hello:
10542 @if hello
10543 maybe-install-info-hello: install-info-hello
10545 install-info-hello: \
10546 configure-hello \
10547 info-hello
10548 @[ -f ./hello/Makefile ] || exit 0; \
10549 r=`${PWD_COMMAND}`; export r; \
10550 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10551 $(SET_LIB_PATH) \
10552 $(HOST_EXPORTS) \
10553 for flag in $(EXTRA_HOST_FLAGS) ; do \
10554 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10555 done; \
10556 echo "Doing install-info in hello" ; \
10557 (cd hello && \
10558 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10559 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10560 "RANLIB=$${RANLIB}" \
10561 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10562 install-info) \
10563 || exit 1
10565 @endif hello
10567 .PHONY: maybe-installcheck-hello installcheck-hello
10568 maybe-installcheck-hello:
10569 @if hello
10570 maybe-installcheck-hello: installcheck-hello
10572 installcheck-hello: \
10573 configure-hello
10574 @[ -f ./hello/Makefile ] || exit 0; \
10575 r=`${PWD_COMMAND}`; export r; \
10576 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10577 $(SET_LIB_PATH) \
10578 $(HOST_EXPORTS) \
10579 for flag in $(EXTRA_HOST_FLAGS) ; do \
10580 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10581 done; \
10582 echo "Doing installcheck in hello" ; \
10583 (cd hello && \
10584 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10585 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10586 "RANLIB=$${RANLIB}" \
10587 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10588 installcheck) \
10589 || exit 1
10591 @endif hello
10593 .PHONY: maybe-mostlyclean-hello mostlyclean-hello
10594 maybe-mostlyclean-hello:
10595 @if hello
10596 maybe-mostlyclean-hello: mostlyclean-hello
10598 mostlyclean-hello:
10599 @[ -f ./hello/Makefile ] || exit 0; \
10600 r=`${PWD_COMMAND}`; export r; \
10601 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10602 $(SET_LIB_PATH) \
10603 $(HOST_EXPORTS) \
10604 for flag in $(EXTRA_HOST_FLAGS) ; do \
10605 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10606 done; \
10607 echo "Doing mostlyclean in hello" ; \
10608 (cd hello && \
10609 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10610 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10611 "RANLIB=$${RANLIB}" \
10612 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10613 mostlyclean) \
10614 || exit 1
10616 @endif hello
10618 .PHONY: maybe-clean-hello clean-hello
10619 maybe-clean-hello:
10620 @if hello
10621 maybe-clean-hello: clean-hello
10623 clean-hello:
10624 @[ -f ./hello/Makefile ] || exit 0; \
10625 r=`${PWD_COMMAND}`; export r; \
10626 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10627 $(SET_LIB_PATH) \
10628 $(HOST_EXPORTS) \
10629 for flag in $(EXTRA_HOST_FLAGS) ; do \
10630 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10631 done; \
10632 echo "Doing clean in hello" ; \
10633 (cd hello && \
10634 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10635 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10636 "RANLIB=$${RANLIB}" \
10637 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10638 clean) \
10639 || exit 1
10641 @endif hello
10643 .PHONY: maybe-distclean-hello distclean-hello
10644 maybe-distclean-hello:
10645 @if hello
10646 maybe-distclean-hello: distclean-hello
10648 distclean-hello:
10649 @[ -f ./hello/Makefile ] || exit 0; \
10650 r=`${PWD_COMMAND}`; export r; \
10651 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10652 $(SET_LIB_PATH) \
10653 $(HOST_EXPORTS) \
10654 for flag in $(EXTRA_HOST_FLAGS) ; do \
10655 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10656 done; \
10657 echo "Doing distclean in hello" ; \
10658 (cd hello && \
10659 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10660 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10661 "RANLIB=$${RANLIB}" \
10662 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10663 distclean) \
10664 || exit 1
10666 @endif hello
10668 .PHONY: maybe-maintainer-clean-hello maintainer-clean-hello
10669 maybe-maintainer-clean-hello:
10670 @if hello
10671 maybe-maintainer-clean-hello: maintainer-clean-hello
10673 maintainer-clean-hello:
10674 @[ -f ./hello/Makefile ] || exit 0; \
10675 r=`${PWD_COMMAND}`; export r; \
10676 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10677 $(SET_LIB_PATH) \
10678 $(HOST_EXPORTS) \
10679 for flag in $(EXTRA_HOST_FLAGS) ; do \
10680 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10681 done; \
10682 echo "Doing maintainer-clean in hello" ; \
10683 (cd hello && \
10684 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10685 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10686 "RANLIB=$${RANLIB}" \
10687 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10688 maintainer-clean) \
10689 || exit 1
10691 @endif hello
10694 .PHONY: configure-indent maybe-configure-indent
10695 maybe-configure-indent:
10696 @if indent
10697 maybe-configure-indent: configure-indent
10698 configure-indent:
10699 @test ! -f indent/Makefile || exit 0; \
10700 [ -d indent ] || mkdir indent; \
10701 r=`${PWD_COMMAND}`; export r; \
10702 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10703 $(HOST_EXPORTS) \
10704 echo Configuring in indent; \
10705 cd indent || exit 1; \
10706 case $(srcdir) in \
10707 \.) \
10708 srcdiroption="--srcdir=."; \
10709 libsrcdir=".";; \
10710 /* | [A-Za-z]:[\\/]*) \
10711 srcdiroption="--srcdir=$(srcdir)/indent"; \
10712 libsrcdir="$$s/indent";; \
10713 *) \
10714 srcdiroption="--srcdir=../$(srcdir)/indent"; \
10715 libsrcdir="$$s/indent";; \
10716 esac; \
10717 $(SHELL) $${libsrcdir}/configure \
10718 $(HOST_CONFIGARGS) $${srcdiroption} \
10719 || exit 1
10720 @endif indent
10722 .PHONY: all-indent maybe-all-indent
10723 maybe-all-indent:
10724 @if indent
10725 maybe-all-indent: all-indent
10726 all-indent: configure-indent
10727 @r=`${PWD_COMMAND}`; export r; \
10728 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10729 $(SET_LIB_PATH) \
10730 $(HOST_EXPORTS) \
10731 (cd indent && $(MAKE) $(FLAGS_TO_PASS) all)
10732 @endif indent
10734 .PHONY: check-indent maybe-check-indent
10735 maybe-check-indent:
10736 @if indent
10737 maybe-check-indent: check-indent
10739 check-indent:
10740 @r=`${PWD_COMMAND}`; export r; \
10741 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10742 $(SET_LIB_PATH) \
10743 $(HOST_EXPORTS) \
10744 (cd indent && $(MAKE) $(FLAGS_TO_PASS) check)
10746 @endif indent
10748 .PHONY: install-indent maybe-install-indent
10749 maybe-install-indent:
10750 @if indent
10751 maybe-install-indent: install-indent
10753 install-indent: installdirs
10754 @r=`${PWD_COMMAND}`; export r; \
10755 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10756 $(SET_LIB_PATH) \
10757 $(HOST_EXPORTS) \
10758 (cd indent && $(MAKE) $(FLAGS_TO_PASS) install)
10760 @endif indent
10762 # Other targets (info, dvi, etc.)
10764 .PHONY: maybe-info-indent info-indent
10765 maybe-info-indent:
10766 @if indent
10767 maybe-info-indent: info-indent
10769 info-indent: \
10770 configure-indent
10771 @[ -f ./indent/Makefile ] || exit 0; \
10772 r=`${PWD_COMMAND}`; export r; \
10773 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10774 $(SET_LIB_PATH) \
10775 $(HOST_EXPORTS) \
10776 for flag in $(EXTRA_HOST_FLAGS) ; do \
10777 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10778 done; \
10779 echo "Doing info in indent" ; \
10780 (cd indent && \
10781 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10782 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10783 "RANLIB=$${RANLIB}" \
10784 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10785 info) \
10786 || exit 1
10788 @endif indent
10790 .PHONY: maybe-dvi-indent dvi-indent
10791 maybe-dvi-indent:
10792 @if indent
10793 maybe-dvi-indent: dvi-indent
10795 dvi-indent: \
10796 configure-indent
10797 @[ -f ./indent/Makefile ] || exit 0; \
10798 r=`${PWD_COMMAND}`; export r; \
10799 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10800 $(SET_LIB_PATH) \
10801 $(HOST_EXPORTS) \
10802 for flag in $(EXTRA_HOST_FLAGS) ; do \
10803 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10804 done; \
10805 echo "Doing dvi in indent" ; \
10806 (cd indent && \
10807 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10808 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10809 "RANLIB=$${RANLIB}" \
10810 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10811 dvi) \
10812 || exit 1
10814 @endif indent
10816 .PHONY: maybe-TAGS-indent TAGS-indent
10817 maybe-TAGS-indent:
10818 @if indent
10819 maybe-TAGS-indent: TAGS-indent
10821 TAGS-indent: \
10822 configure-indent
10823 @[ -f ./indent/Makefile ] || exit 0; \
10824 r=`${PWD_COMMAND}`; export r; \
10825 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10826 $(SET_LIB_PATH) \
10827 $(HOST_EXPORTS) \
10828 for flag in $(EXTRA_HOST_FLAGS) ; do \
10829 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10830 done; \
10831 echo "Doing TAGS in indent" ; \
10832 (cd indent && \
10833 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10834 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10835 "RANLIB=$${RANLIB}" \
10836 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10837 TAGS) \
10838 || exit 1
10840 @endif indent
10842 .PHONY: maybe-install-info-indent install-info-indent
10843 maybe-install-info-indent:
10844 @if indent
10845 maybe-install-info-indent: install-info-indent
10847 install-info-indent: \
10848 configure-indent \
10849 info-indent
10850 @[ -f ./indent/Makefile ] || exit 0; \
10851 r=`${PWD_COMMAND}`; export r; \
10852 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10853 $(SET_LIB_PATH) \
10854 $(HOST_EXPORTS) \
10855 for flag in $(EXTRA_HOST_FLAGS) ; do \
10856 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10857 done; \
10858 echo "Doing install-info in indent" ; \
10859 (cd indent && \
10860 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10861 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10862 "RANLIB=$${RANLIB}" \
10863 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10864 install-info) \
10865 || exit 1
10867 @endif indent
10869 .PHONY: maybe-installcheck-indent installcheck-indent
10870 maybe-installcheck-indent:
10871 @if indent
10872 maybe-installcheck-indent: installcheck-indent
10874 installcheck-indent: \
10875 configure-indent
10876 @[ -f ./indent/Makefile ] || exit 0; \
10877 r=`${PWD_COMMAND}`; export r; \
10878 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10879 $(SET_LIB_PATH) \
10880 $(HOST_EXPORTS) \
10881 for flag in $(EXTRA_HOST_FLAGS) ; do \
10882 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10883 done; \
10884 echo "Doing installcheck in indent" ; \
10885 (cd indent && \
10886 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10887 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10888 "RANLIB=$${RANLIB}" \
10889 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10890 installcheck) \
10891 || exit 1
10893 @endif indent
10895 .PHONY: maybe-mostlyclean-indent mostlyclean-indent
10896 maybe-mostlyclean-indent:
10897 @if indent
10898 maybe-mostlyclean-indent: mostlyclean-indent
10900 mostlyclean-indent:
10901 @[ -f ./indent/Makefile ] || exit 0; \
10902 r=`${PWD_COMMAND}`; export r; \
10903 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10904 $(SET_LIB_PATH) \
10905 $(HOST_EXPORTS) \
10906 for flag in $(EXTRA_HOST_FLAGS) ; do \
10907 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10908 done; \
10909 echo "Doing mostlyclean in indent" ; \
10910 (cd indent && \
10911 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10912 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10913 "RANLIB=$${RANLIB}" \
10914 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10915 mostlyclean) \
10916 || exit 1
10918 @endif indent
10920 .PHONY: maybe-clean-indent clean-indent
10921 maybe-clean-indent:
10922 @if indent
10923 maybe-clean-indent: clean-indent
10925 clean-indent:
10926 @[ -f ./indent/Makefile ] || exit 0; \
10927 r=`${PWD_COMMAND}`; export r; \
10928 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10929 $(SET_LIB_PATH) \
10930 $(HOST_EXPORTS) \
10931 for flag in $(EXTRA_HOST_FLAGS) ; do \
10932 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10933 done; \
10934 echo "Doing clean in indent" ; \
10935 (cd indent && \
10936 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10937 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10938 "RANLIB=$${RANLIB}" \
10939 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10940 clean) \
10941 || exit 1
10943 @endif indent
10945 .PHONY: maybe-distclean-indent distclean-indent
10946 maybe-distclean-indent:
10947 @if indent
10948 maybe-distclean-indent: distclean-indent
10950 distclean-indent:
10951 @[ -f ./indent/Makefile ] || exit 0; \
10952 r=`${PWD_COMMAND}`; export r; \
10953 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10954 $(SET_LIB_PATH) \
10955 $(HOST_EXPORTS) \
10956 for flag in $(EXTRA_HOST_FLAGS) ; do \
10957 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10958 done; \
10959 echo "Doing distclean in indent" ; \
10960 (cd indent && \
10961 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10962 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10963 "RANLIB=$${RANLIB}" \
10964 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10965 distclean) \
10966 || exit 1
10968 @endif indent
10970 .PHONY: maybe-maintainer-clean-indent maintainer-clean-indent
10971 maybe-maintainer-clean-indent:
10972 @if indent
10973 maybe-maintainer-clean-indent: maintainer-clean-indent
10975 maintainer-clean-indent:
10976 @[ -f ./indent/Makefile ] || exit 0; \
10977 r=`${PWD_COMMAND}`; export r; \
10978 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10979 $(SET_LIB_PATH) \
10980 $(HOST_EXPORTS) \
10981 for flag in $(EXTRA_HOST_FLAGS) ; do \
10982 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10983 done; \
10984 echo "Doing maintainer-clean in indent" ; \
10985 (cd indent && \
10986 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10987 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10988 "RANLIB=$${RANLIB}" \
10989 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10990 maintainer-clean) \
10991 || exit 1
10993 @endif indent
10996 .PHONY: configure-intl maybe-configure-intl
10997 maybe-configure-intl:
10998 @if intl
10999 maybe-configure-intl: configure-intl
11000 configure-intl:
11001 @test ! -f intl/Makefile || exit 0; \
11002 [ -d intl ] || mkdir intl; \
11003 r=`${PWD_COMMAND}`; export r; \
11004 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11005 $(HOST_EXPORTS) \
11006 echo Configuring in intl; \
11007 cd intl || exit 1; \
11008 case $(srcdir) in \
11009 \.) \
11010 srcdiroption="--srcdir=."; \
11011 libsrcdir=".";; \
11012 /* | [A-Za-z]:[\\/]*) \
11013 srcdiroption="--srcdir=$(srcdir)/intl"; \
11014 libsrcdir="$$s/intl";; \
11015 *) \
11016 srcdiroption="--srcdir=../$(srcdir)/intl"; \
11017 libsrcdir="$$s/intl";; \
11018 esac; \
11019 $(SHELL) $${libsrcdir}/configure \
11020 $(HOST_CONFIGARGS) $${srcdiroption} \
11021 || exit 1
11022 @endif intl
11024 .PHONY: all-intl maybe-all-intl
11025 maybe-all-intl:
11026 @if intl
11027 maybe-all-intl: all-intl
11028 all-intl: configure-intl
11029 @r=`${PWD_COMMAND}`; export r; \
11030 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11031 $(SET_LIB_PATH) \
11032 $(HOST_EXPORTS) \
11033 (cd intl && $(MAKE) $(FLAGS_TO_PASS) all)
11034 @endif intl
11036 .PHONY: check-intl maybe-check-intl
11037 maybe-check-intl:
11038 @if intl
11039 maybe-check-intl: check-intl
11041 check-intl:
11042 @r=`${PWD_COMMAND}`; export r; \
11043 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11044 $(SET_LIB_PATH) \
11045 $(HOST_EXPORTS) \
11046 (cd intl && $(MAKE) $(FLAGS_TO_PASS) check)
11048 @endif intl
11050 .PHONY: install-intl maybe-install-intl
11051 maybe-install-intl:
11052 @if intl
11053 maybe-install-intl: install-intl
11055 install-intl: installdirs
11056 @r=`${PWD_COMMAND}`; export r; \
11057 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11058 $(SET_LIB_PATH) \
11059 $(HOST_EXPORTS) \
11060 (cd intl && $(MAKE) $(FLAGS_TO_PASS) install)
11062 @endif intl
11064 # Other targets (info, dvi, etc.)
11066 .PHONY: maybe-info-intl info-intl
11067 maybe-info-intl:
11068 @if intl
11069 maybe-info-intl: info-intl
11071 info-intl: \
11072 configure-intl
11073 @[ -f ./intl/Makefile ] || exit 0; \
11074 r=`${PWD_COMMAND}`; export r; \
11075 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11076 $(SET_LIB_PATH) \
11077 $(HOST_EXPORTS) \
11078 for flag in $(EXTRA_HOST_FLAGS) ; do \
11079 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11080 done; \
11081 echo "Doing info in intl" ; \
11082 (cd intl && \
11083 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11084 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11085 "RANLIB=$${RANLIB}" \
11086 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11087 info) \
11088 || exit 1
11090 @endif intl
11092 .PHONY: maybe-dvi-intl dvi-intl
11093 maybe-dvi-intl:
11094 @if intl
11095 maybe-dvi-intl: dvi-intl
11097 dvi-intl: \
11098 configure-intl
11099 @[ -f ./intl/Makefile ] || exit 0; \
11100 r=`${PWD_COMMAND}`; export r; \
11101 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11102 $(SET_LIB_PATH) \
11103 $(HOST_EXPORTS) \
11104 for flag in $(EXTRA_HOST_FLAGS) ; do \
11105 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11106 done; \
11107 echo "Doing dvi in intl" ; \
11108 (cd intl && \
11109 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11110 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11111 "RANLIB=$${RANLIB}" \
11112 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11113 dvi) \
11114 || exit 1
11116 @endif intl
11118 .PHONY: maybe-TAGS-intl TAGS-intl
11119 maybe-TAGS-intl:
11120 @if intl
11121 maybe-TAGS-intl: TAGS-intl
11123 TAGS-intl: \
11124 configure-intl
11125 @[ -f ./intl/Makefile ] || exit 0; \
11126 r=`${PWD_COMMAND}`; export r; \
11127 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11128 $(SET_LIB_PATH) \
11129 $(HOST_EXPORTS) \
11130 for flag in $(EXTRA_HOST_FLAGS) ; do \
11131 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11132 done; \
11133 echo "Doing TAGS in intl" ; \
11134 (cd intl && \
11135 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11136 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11137 "RANLIB=$${RANLIB}" \
11138 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11139 TAGS) \
11140 || exit 1
11142 @endif intl
11144 .PHONY: maybe-install-info-intl install-info-intl
11145 maybe-install-info-intl:
11146 @if intl
11147 maybe-install-info-intl: install-info-intl
11149 install-info-intl: \
11150 configure-intl \
11151 info-intl
11152 @[ -f ./intl/Makefile ] || exit 0; \
11153 r=`${PWD_COMMAND}`; export r; \
11154 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11155 $(SET_LIB_PATH) \
11156 $(HOST_EXPORTS) \
11157 for flag in $(EXTRA_HOST_FLAGS) ; do \
11158 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11159 done; \
11160 echo "Doing install-info in intl" ; \
11161 (cd intl && \
11162 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11163 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11164 "RANLIB=$${RANLIB}" \
11165 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11166 install-info) \
11167 || exit 1
11169 @endif intl
11171 .PHONY: maybe-installcheck-intl installcheck-intl
11172 maybe-installcheck-intl:
11173 @if intl
11174 maybe-installcheck-intl: installcheck-intl
11176 installcheck-intl: \
11177 configure-intl
11178 @[ -f ./intl/Makefile ] || exit 0; \
11179 r=`${PWD_COMMAND}`; export r; \
11180 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11181 $(SET_LIB_PATH) \
11182 $(HOST_EXPORTS) \
11183 for flag in $(EXTRA_HOST_FLAGS) ; do \
11184 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11185 done; \
11186 echo "Doing installcheck in intl" ; \
11187 (cd intl && \
11188 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11189 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11190 "RANLIB=$${RANLIB}" \
11191 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11192 installcheck) \
11193 || exit 1
11195 @endif intl
11197 .PHONY: maybe-mostlyclean-intl mostlyclean-intl
11198 maybe-mostlyclean-intl:
11199 @if intl
11200 maybe-mostlyclean-intl: mostlyclean-intl
11202 mostlyclean-intl:
11203 @[ -f ./intl/Makefile ] || exit 0; \
11204 r=`${PWD_COMMAND}`; export r; \
11205 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11206 $(SET_LIB_PATH) \
11207 $(HOST_EXPORTS) \
11208 for flag in $(EXTRA_HOST_FLAGS) ; do \
11209 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11210 done; \
11211 echo "Doing mostlyclean in intl" ; \
11212 (cd intl && \
11213 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11214 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11215 "RANLIB=$${RANLIB}" \
11216 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11217 mostlyclean) \
11218 || exit 1
11220 @endif intl
11222 .PHONY: maybe-clean-intl clean-intl
11223 maybe-clean-intl:
11224 @if intl
11225 maybe-clean-intl: clean-intl
11227 clean-intl:
11228 @[ -f ./intl/Makefile ] || exit 0; \
11229 r=`${PWD_COMMAND}`; export r; \
11230 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11231 $(SET_LIB_PATH) \
11232 $(HOST_EXPORTS) \
11233 for flag in $(EXTRA_HOST_FLAGS) ; do \
11234 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11235 done; \
11236 echo "Doing clean in intl" ; \
11237 (cd intl && \
11238 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11239 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11240 "RANLIB=$${RANLIB}" \
11241 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11242 clean) \
11243 || exit 1
11245 @endif intl
11247 .PHONY: maybe-distclean-intl distclean-intl
11248 maybe-distclean-intl:
11249 @if intl
11250 maybe-distclean-intl: distclean-intl
11252 distclean-intl:
11253 @[ -f ./intl/Makefile ] || exit 0; \
11254 r=`${PWD_COMMAND}`; export r; \
11255 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11256 $(SET_LIB_PATH) \
11257 $(HOST_EXPORTS) \
11258 for flag in $(EXTRA_HOST_FLAGS) ; do \
11259 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11260 done; \
11261 echo "Doing distclean in intl" ; \
11262 (cd intl && \
11263 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11264 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11265 "RANLIB=$${RANLIB}" \
11266 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11267 distclean) \
11268 || exit 1
11270 @endif intl
11272 .PHONY: maybe-maintainer-clean-intl maintainer-clean-intl
11273 maybe-maintainer-clean-intl:
11274 @if intl
11275 maybe-maintainer-clean-intl: maintainer-clean-intl
11277 maintainer-clean-intl:
11278 @[ -f ./intl/Makefile ] || exit 0; \
11279 r=`${PWD_COMMAND}`; export r; \
11280 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11281 $(SET_LIB_PATH) \
11282 $(HOST_EXPORTS) \
11283 for flag in $(EXTRA_HOST_FLAGS) ; do \
11284 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11285 done; \
11286 echo "Doing maintainer-clean in intl" ; \
11287 (cd intl && \
11288 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11289 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11290 "RANLIB=$${RANLIB}" \
11291 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11292 maintainer-clean) \
11293 || exit 1
11295 @endif intl
11298 .PHONY: configure-tcl maybe-configure-tcl
11299 maybe-configure-tcl:
11300 @if tcl
11301 maybe-configure-tcl: configure-tcl
11302 configure-tcl:
11303 @test ! -f tcl/Makefile || exit 0; \
11304 [ -d tcl ] || mkdir tcl; \
11305 r=`${PWD_COMMAND}`; export r; \
11306 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11307 $(HOST_EXPORTS) \
11308 echo Configuring in tcl; \
11309 cd tcl || exit 1; \
11310 case $(srcdir) in \
11311 \.) \
11312 srcdiroption="--srcdir=."; \
11313 libsrcdir=".";; \
11314 /* | [A-Za-z]:[\\/]*) \
11315 srcdiroption="--srcdir=$(srcdir)/tcl"; \
11316 libsrcdir="$$s/tcl";; \
11317 *) \
11318 srcdiroption="--srcdir=../$(srcdir)/tcl"; \
11319 libsrcdir="$$s/tcl";; \
11320 esac; \
11321 $(SHELL) $${libsrcdir}/configure \
11322 $(HOST_CONFIGARGS) $${srcdiroption} \
11323 || exit 1
11324 @endif tcl
11326 .PHONY: all-tcl maybe-all-tcl
11327 maybe-all-tcl:
11328 @if tcl
11329 maybe-all-tcl: all-tcl
11330 all-tcl: configure-tcl
11331 @r=`${PWD_COMMAND}`; export r; \
11332 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11333 $(SET_LIB_PATH) \
11334 $(HOST_EXPORTS) \
11335 (cd tcl && $(MAKE) $(FLAGS_TO_PASS) all)
11336 @endif tcl
11338 .PHONY: check-tcl maybe-check-tcl
11339 maybe-check-tcl:
11340 @if tcl
11341 maybe-check-tcl: check-tcl
11343 check-tcl:
11344 @r=`${PWD_COMMAND}`; export r; \
11345 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11346 $(SET_LIB_PATH) \
11347 $(HOST_EXPORTS) \
11348 (cd tcl && $(MAKE) $(FLAGS_TO_PASS) check)
11350 @endif tcl
11352 .PHONY: install-tcl maybe-install-tcl
11353 maybe-install-tcl:
11354 @if tcl
11355 maybe-install-tcl: install-tcl
11357 install-tcl: installdirs
11358 @r=`${PWD_COMMAND}`; export r; \
11359 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11360 $(SET_LIB_PATH) \
11361 $(HOST_EXPORTS) \
11362 (cd tcl && $(MAKE) $(FLAGS_TO_PASS) install)
11364 @endif tcl
11366 # Other targets (info, dvi, etc.)
11368 .PHONY: maybe-info-tcl info-tcl
11369 maybe-info-tcl:
11370 @if tcl
11371 maybe-info-tcl: info-tcl
11373 info-tcl: \
11374 configure-tcl
11375 @[ -f ./tcl/Makefile ] || exit 0; \
11376 r=`${PWD_COMMAND}`; export r; \
11377 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11378 $(SET_LIB_PATH) \
11379 $(HOST_EXPORTS) \
11380 for flag in $(EXTRA_HOST_FLAGS) ; do \
11381 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11382 done; \
11383 echo "Doing info in tcl" ; \
11384 (cd tcl && \
11385 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11386 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11387 "RANLIB=$${RANLIB}" \
11388 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11389 info) \
11390 || exit 1
11392 @endif tcl
11394 .PHONY: maybe-dvi-tcl dvi-tcl
11395 maybe-dvi-tcl:
11396 @if tcl
11397 maybe-dvi-tcl: dvi-tcl
11399 dvi-tcl: \
11400 configure-tcl
11401 @[ -f ./tcl/Makefile ] || exit 0; \
11402 r=`${PWD_COMMAND}`; export r; \
11403 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11404 $(SET_LIB_PATH) \
11405 $(HOST_EXPORTS) \
11406 for flag in $(EXTRA_HOST_FLAGS) ; do \
11407 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11408 done; \
11409 echo "Doing dvi in tcl" ; \
11410 (cd tcl && \
11411 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11412 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11413 "RANLIB=$${RANLIB}" \
11414 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11415 dvi) \
11416 || exit 1
11418 @endif tcl
11420 .PHONY: maybe-TAGS-tcl TAGS-tcl
11421 maybe-TAGS-tcl:
11422 @if tcl
11423 maybe-TAGS-tcl: TAGS-tcl
11425 TAGS-tcl: \
11426 configure-tcl
11427 @[ -f ./tcl/Makefile ] || exit 0; \
11428 r=`${PWD_COMMAND}`; export r; \
11429 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11430 $(SET_LIB_PATH) \
11431 $(HOST_EXPORTS) \
11432 for flag in $(EXTRA_HOST_FLAGS) ; do \
11433 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11434 done; \
11435 echo "Doing TAGS in tcl" ; \
11436 (cd tcl && \
11437 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11438 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11439 "RANLIB=$${RANLIB}" \
11440 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11441 TAGS) \
11442 || exit 1
11444 @endif tcl
11446 .PHONY: maybe-install-info-tcl install-info-tcl
11447 maybe-install-info-tcl:
11448 @if tcl
11449 maybe-install-info-tcl: install-info-tcl
11451 install-info-tcl: \
11452 configure-tcl \
11453 info-tcl
11454 @[ -f ./tcl/Makefile ] || exit 0; \
11455 r=`${PWD_COMMAND}`; export r; \
11456 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11457 $(SET_LIB_PATH) \
11458 $(HOST_EXPORTS) \
11459 for flag in $(EXTRA_HOST_FLAGS) ; do \
11460 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11461 done; \
11462 echo "Doing install-info in tcl" ; \
11463 (cd tcl && \
11464 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11465 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11466 "RANLIB=$${RANLIB}" \
11467 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11468 install-info) \
11469 || exit 1
11471 @endif tcl
11473 .PHONY: maybe-installcheck-tcl installcheck-tcl
11474 maybe-installcheck-tcl:
11475 @if tcl
11476 maybe-installcheck-tcl: installcheck-tcl
11478 installcheck-tcl: \
11479 configure-tcl
11480 @[ -f ./tcl/Makefile ] || exit 0; \
11481 r=`${PWD_COMMAND}`; export r; \
11482 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11483 $(SET_LIB_PATH) \
11484 $(HOST_EXPORTS) \
11485 for flag in $(EXTRA_HOST_FLAGS) ; do \
11486 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11487 done; \
11488 echo "Doing installcheck in tcl" ; \
11489 (cd tcl && \
11490 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11491 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11492 "RANLIB=$${RANLIB}" \
11493 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11494 installcheck) \
11495 || exit 1
11497 @endif tcl
11499 .PHONY: maybe-mostlyclean-tcl mostlyclean-tcl
11500 maybe-mostlyclean-tcl:
11501 @if tcl
11502 maybe-mostlyclean-tcl: mostlyclean-tcl
11504 # tcl doesn't support mostlyclean.
11505 mostlyclean-tcl:
11507 @endif tcl
11509 .PHONY: maybe-clean-tcl clean-tcl
11510 maybe-clean-tcl:
11511 @if tcl
11512 maybe-clean-tcl: clean-tcl
11514 clean-tcl:
11515 @[ -f ./tcl/Makefile ] || exit 0; \
11516 r=`${PWD_COMMAND}`; export r; \
11517 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11518 $(SET_LIB_PATH) \
11519 $(HOST_EXPORTS) \
11520 for flag in $(EXTRA_HOST_FLAGS) ; do \
11521 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11522 done; \
11523 echo "Doing clean in tcl" ; \
11524 (cd tcl && \
11525 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11526 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11527 "RANLIB=$${RANLIB}" \
11528 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11529 clean) \
11530 || exit 1
11532 @endif tcl
11534 .PHONY: maybe-distclean-tcl distclean-tcl
11535 maybe-distclean-tcl:
11536 @if tcl
11537 maybe-distclean-tcl: distclean-tcl
11539 distclean-tcl:
11540 @[ -f ./tcl/Makefile ] || exit 0; \
11541 r=`${PWD_COMMAND}`; export r; \
11542 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11543 $(SET_LIB_PATH) \
11544 $(HOST_EXPORTS) \
11545 for flag in $(EXTRA_HOST_FLAGS) ; do \
11546 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11547 done; \
11548 echo "Doing distclean in tcl" ; \
11549 (cd tcl && \
11550 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11551 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11552 "RANLIB=$${RANLIB}" \
11553 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11554 distclean) \
11555 || exit 1
11557 @endif tcl
11559 .PHONY: maybe-maintainer-clean-tcl maintainer-clean-tcl
11560 maybe-maintainer-clean-tcl:
11561 @if tcl
11562 maybe-maintainer-clean-tcl: maintainer-clean-tcl
11564 maintainer-clean-tcl:
11565 @[ -f ./tcl/Makefile ] || exit 0; \
11566 r=`${PWD_COMMAND}`; export r; \
11567 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11568 $(SET_LIB_PATH) \
11569 $(HOST_EXPORTS) \
11570 for flag in $(EXTRA_HOST_FLAGS) ; do \
11571 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11572 done; \
11573 echo "Doing maintainer-clean in tcl" ; \
11574 (cd tcl && \
11575 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11576 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11577 "RANLIB=$${RANLIB}" \
11578 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11579 maintainer-clean) \
11580 || exit 1
11582 @endif tcl
11585 .PHONY: configure-itcl maybe-configure-itcl
11586 maybe-configure-itcl:
11587 @if itcl
11588 maybe-configure-itcl: configure-itcl
11589 configure-itcl:
11590 @test ! -f itcl/Makefile || exit 0; \
11591 [ -d itcl ] || mkdir itcl; \
11592 r=`${PWD_COMMAND}`; export r; \
11593 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11594 $(HOST_EXPORTS) \
11595 echo Configuring in itcl; \
11596 cd itcl || exit 1; \
11597 case $(srcdir) in \
11598 \.) \
11599 srcdiroption="--srcdir=."; \
11600 libsrcdir=".";; \
11601 /* | [A-Za-z]:[\\/]*) \
11602 srcdiroption="--srcdir=$(srcdir)/itcl"; \
11603 libsrcdir="$$s/itcl";; \
11604 *) \
11605 srcdiroption="--srcdir=../$(srcdir)/itcl"; \
11606 libsrcdir="$$s/itcl";; \
11607 esac; \
11608 $(SHELL) $${libsrcdir}/configure \
11609 $(HOST_CONFIGARGS) $${srcdiroption} \
11610 || exit 1
11611 @endif itcl
11613 .PHONY: all-itcl maybe-all-itcl
11614 maybe-all-itcl:
11615 @if itcl
11616 maybe-all-itcl: all-itcl
11617 all-itcl: configure-itcl
11618 @r=`${PWD_COMMAND}`; export r; \
11619 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11620 $(SET_LIB_PATH) \
11621 $(HOST_EXPORTS) \
11622 (cd itcl && $(MAKE) $(FLAGS_TO_PASS) all)
11623 @endif itcl
11625 .PHONY: check-itcl maybe-check-itcl
11626 maybe-check-itcl:
11627 @if itcl
11628 maybe-check-itcl: check-itcl
11630 check-itcl:
11631 @r=`${PWD_COMMAND}`; export r; \
11632 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11633 $(SET_LIB_PATH) \
11634 $(HOST_EXPORTS) \
11635 (cd itcl && $(MAKE) $(FLAGS_TO_PASS) check)
11637 @endif itcl
11639 .PHONY: install-itcl maybe-install-itcl
11640 maybe-install-itcl:
11641 @if itcl
11642 maybe-install-itcl: install-itcl
11644 install-itcl: installdirs
11645 @r=`${PWD_COMMAND}`; export r; \
11646 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11647 $(SET_LIB_PATH) \
11648 $(HOST_EXPORTS) \
11649 (cd itcl && $(MAKE) $(FLAGS_TO_PASS) install)
11651 @endif itcl
11653 # Other targets (info, dvi, etc.)
11655 .PHONY: maybe-info-itcl info-itcl
11656 maybe-info-itcl:
11657 @if itcl
11658 maybe-info-itcl: info-itcl
11660 info-itcl: \
11661 configure-itcl
11662 @[ -f ./itcl/Makefile ] || exit 0; \
11663 r=`${PWD_COMMAND}`; export r; \
11664 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11665 $(SET_LIB_PATH) \
11666 $(HOST_EXPORTS) \
11667 for flag in $(EXTRA_HOST_FLAGS) ; do \
11668 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11669 done; \
11670 echo "Doing info in itcl" ; \
11671 (cd itcl && \
11672 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11673 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11674 "RANLIB=$${RANLIB}" \
11675 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11676 info) \
11677 || exit 1
11679 @endif itcl
11681 .PHONY: maybe-dvi-itcl dvi-itcl
11682 maybe-dvi-itcl:
11683 @if itcl
11684 maybe-dvi-itcl: dvi-itcl
11686 dvi-itcl: \
11687 configure-itcl
11688 @[ -f ./itcl/Makefile ] || exit 0; \
11689 r=`${PWD_COMMAND}`; export r; \
11690 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11691 $(SET_LIB_PATH) \
11692 $(HOST_EXPORTS) \
11693 for flag in $(EXTRA_HOST_FLAGS) ; do \
11694 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11695 done; \
11696 echo "Doing dvi in itcl" ; \
11697 (cd itcl && \
11698 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11699 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11700 "RANLIB=$${RANLIB}" \
11701 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11702 dvi) \
11703 || exit 1
11705 @endif itcl
11707 .PHONY: maybe-TAGS-itcl TAGS-itcl
11708 maybe-TAGS-itcl:
11709 @if itcl
11710 maybe-TAGS-itcl: TAGS-itcl
11712 TAGS-itcl: \
11713 configure-itcl
11714 @[ -f ./itcl/Makefile ] || exit 0; \
11715 r=`${PWD_COMMAND}`; export r; \
11716 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11717 $(SET_LIB_PATH) \
11718 $(HOST_EXPORTS) \
11719 for flag in $(EXTRA_HOST_FLAGS) ; do \
11720 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11721 done; \
11722 echo "Doing TAGS in itcl" ; \
11723 (cd itcl && \
11724 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11725 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11726 "RANLIB=$${RANLIB}" \
11727 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11728 TAGS) \
11729 || exit 1
11731 @endif itcl
11733 .PHONY: maybe-install-info-itcl install-info-itcl
11734 maybe-install-info-itcl:
11735 @if itcl
11736 maybe-install-info-itcl: install-info-itcl
11738 install-info-itcl: \
11739 configure-itcl \
11740 info-itcl
11741 @[ -f ./itcl/Makefile ] || exit 0; \
11742 r=`${PWD_COMMAND}`; export r; \
11743 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11744 $(SET_LIB_PATH) \
11745 $(HOST_EXPORTS) \
11746 for flag in $(EXTRA_HOST_FLAGS) ; do \
11747 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11748 done; \
11749 echo "Doing install-info in itcl" ; \
11750 (cd itcl && \
11751 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11752 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11753 "RANLIB=$${RANLIB}" \
11754 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11755 install-info) \
11756 || exit 1
11758 @endif itcl
11760 .PHONY: maybe-installcheck-itcl installcheck-itcl
11761 maybe-installcheck-itcl:
11762 @if itcl
11763 maybe-installcheck-itcl: installcheck-itcl
11765 installcheck-itcl: \
11766 configure-itcl
11767 @[ -f ./itcl/Makefile ] || exit 0; \
11768 r=`${PWD_COMMAND}`; export r; \
11769 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11770 $(SET_LIB_PATH) \
11771 $(HOST_EXPORTS) \
11772 for flag in $(EXTRA_HOST_FLAGS) ; do \
11773 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11774 done; \
11775 echo "Doing installcheck in itcl" ; \
11776 (cd itcl && \
11777 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11778 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11779 "RANLIB=$${RANLIB}" \
11780 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11781 installcheck) \
11782 || exit 1
11784 @endif itcl
11786 .PHONY: maybe-mostlyclean-itcl mostlyclean-itcl
11787 maybe-mostlyclean-itcl:
11788 @if itcl
11789 maybe-mostlyclean-itcl: mostlyclean-itcl
11791 mostlyclean-itcl:
11792 @[ -f ./itcl/Makefile ] || exit 0; \
11793 r=`${PWD_COMMAND}`; export r; \
11794 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11795 $(SET_LIB_PATH) \
11796 $(HOST_EXPORTS) \
11797 for flag in $(EXTRA_HOST_FLAGS) ; do \
11798 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11799 done; \
11800 echo "Doing mostlyclean in itcl" ; \
11801 (cd itcl && \
11802 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11803 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11804 "RANLIB=$${RANLIB}" \
11805 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11806 mostlyclean) \
11807 || exit 1
11809 @endif itcl
11811 .PHONY: maybe-clean-itcl clean-itcl
11812 maybe-clean-itcl:
11813 @if itcl
11814 maybe-clean-itcl: clean-itcl
11816 clean-itcl:
11817 @[ -f ./itcl/Makefile ] || exit 0; \
11818 r=`${PWD_COMMAND}`; export r; \
11819 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11820 $(SET_LIB_PATH) \
11821 $(HOST_EXPORTS) \
11822 for flag in $(EXTRA_HOST_FLAGS) ; do \
11823 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11824 done; \
11825 echo "Doing clean in itcl" ; \
11826 (cd itcl && \
11827 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11828 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11829 "RANLIB=$${RANLIB}" \
11830 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11831 clean) \
11832 || exit 1
11834 @endif itcl
11836 .PHONY: maybe-distclean-itcl distclean-itcl
11837 maybe-distclean-itcl:
11838 @if itcl
11839 maybe-distclean-itcl: distclean-itcl
11841 distclean-itcl:
11842 @[ -f ./itcl/Makefile ] || exit 0; \
11843 r=`${PWD_COMMAND}`; export r; \
11844 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11845 $(SET_LIB_PATH) \
11846 $(HOST_EXPORTS) \
11847 for flag in $(EXTRA_HOST_FLAGS) ; do \
11848 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11849 done; \
11850 echo "Doing distclean in itcl" ; \
11851 (cd itcl && \
11852 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11853 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11854 "RANLIB=$${RANLIB}" \
11855 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11856 distclean) \
11857 || exit 1
11859 @endif itcl
11861 .PHONY: maybe-maintainer-clean-itcl maintainer-clean-itcl
11862 maybe-maintainer-clean-itcl:
11863 @if itcl
11864 maybe-maintainer-clean-itcl: maintainer-clean-itcl
11866 maintainer-clean-itcl:
11867 @[ -f ./itcl/Makefile ] || exit 0; \
11868 r=`${PWD_COMMAND}`; export r; \
11869 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11870 $(SET_LIB_PATH) \
11871 $(HOST_EXPORTS) \
11872 for flag in $(EXTRA_HOST_FLAGS) ; do \
11873 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11874 done; \
11875 echo "Doing maintainer-clean in itcl" ; \
11876 (cd itcl && \
11877 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11878 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11879 "RANLIB=$${RANLIB}" \
11880 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11881 maintainer-clean) \
11882 || exit 1
11884 @endif itcl
11887 .PHONY: configure-ld maybe-configure-ld
11888 maybe-configure-ld:
11889 @if ld
11890 maybe-configure-ld: configure-ld
11891 configure-ld:
11892 @test ! -f ld/Makefile || exit 0; \
11893 [ -d ld ] || mkdir ld; \
11894 r=`${PWD_COMMAND}`; export r; \
11895 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11896 $(HOST_EXPORTS) \
11897 echo Configuring in ld; \
11898 cd ld || exit 1; \
11899 case $(srcdir) in \
11900 \.) \
11901 srcdiroption="--srcdir=."; \
11902 libsrcdir=".";; \
11903 /* | [A-Za-z]:[\\/]*) \
11904 srcdiroption="--srcdir=$(srcdir)/ld"; \
11905 libsrcdir="$$s/ld";; \
11906 *) \
11907 srcdiroption="--srcdir=../$(srcdir)/ld"; \
11908 libsrcdir="$$s/ld";; \
11909 esac; \
11910 $(SHELL) $${libsrcdir}/configure \
11911 $(HOST_CONFIGARGS) $${srcdiroption} \
11912 || exit 1
11913 @endif ld
11915 .PHONY: all-ld maybe-all-ld
11916 maybe-all-ld:
11917 @if ld
11918 maybe-all-ld: all-ld
11919 all-ld: configure-ld
11920 @r=`${PWD_COMMAND}`; export r; \
11921 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11922 $(SET_LIB_PATH) \
11923 $(HOST_EXPORTS) \
11924 (cd ld && $(MAKE) $(FLAGS_TO_PASS) all)
11925 @endif ld
11927 .PHONY: check-ld maybe-check-ld
11928 maybe-check-ld:
11929 @if ld
11930 maybe-check-ld: check-ld
11932 check-ld:
11933 @r=`${PWD_COMMAND}`; export r; \
11934 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11935 $(SET_LIB_PATH) \
11936 $(HOST_EXPORTS) \
11937 (cd ld && $(MAKE) $(FLAGS_TO_PASS) check)
11939 @endif ld
11941 .PHONY: install-ld maybe-install-ld
11942 maybe-install-ld:
11943 @if ld
11944 maybe-install-ld: install-ld
11946 install-ld: installdirs
11947 @r=`${PWD_COMMAND}`; export r; \
11948 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11949 $(SET_LIB_PATH) \
11950 $(HOST_EXPORTS) \
11951 (cd ld && $(MAKE) $(FLAGS_TO_PASS) install)
11953 @endif ld
11955 # Other targets (info, dvi, etc.)
11957 .PHONY: maybe-info-ld info-ld
11958 maybe-info-ld:
11959 @if ld
11960 maybe-info-ld: info-ld
11962 info-ld: \
11963 configure-ld
11964 @[ -f ./ld/Makefile ] || exit 0; \
11965 r=`${PWD_COMMAND}`; export r; \
11966 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11967 $(SET_LIB_PATH) \
11968 $(HOST_EXPORTS) \
11969 for flag in $(EXTRA_HOST_FLAGS) ; do \
11970 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11971 done; \
11972 echo "Doing info in ld" ; \
11973 (cd ld && \
11974 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11975 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11976 "RANLIB=$${RANLIB}" \
11977 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11978 info) \
11979 || exit 1
11981 @endif ld
11983 .PHONY: maybe-dvi-ld dvi-ld
11984 maybe-dvi-ld:
11985 @if ld
11986 maybe-dvi-ld: dvi-ld
11988 dvi-ld: \
11989 configure-ld
11990 @[ -f ./ld/Makefile ] || exit 0; \
11991 r=`${PWD_COMMAND}`; export r; \
11992 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11993 $(SET_LIB_PATH) \
11994 $(HOST_EXPORTS) \
11995 for flag in $(EXTRA_HOST_FLAGS) ; do \
11996 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11997 done; \
11998 echo "Doing dvi in ld" ; \
11999 (cd ld && \
12000 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12001 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12002 "RANLIB=$${RANLIB}" \
12003 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12004 dvi) \
12005 || exit 1
12007 @endif ld
12009 .PHONY: maybe-TAGS-ld TAGS-ld
12010 maybe-TAGS-ld:
12011 @if ld
12012 maybe-TAGS-ld: TAGS-ld
12014 TAGS-ld: \
12015 configure-ld
12016 @[ -f ./ld/Makefile ] || exit 0; \
12017 r=`${PWD_COMMAND}`; export r; \
12018 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12019 $(SET_LIB_PATH) \
12020 $(HOST_EXPORTS) \
12021 for flag in $(EXTRA_HOST_FLAGS) ; do \
12022 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12023 done; \
12024 echo "Doing TAGS in ld" ; \
12025 (cd ld && \
12026 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12027 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12028 "RANLIB=$${RANLIB}" \
12029 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12030 TAGS) \
12031 || exit 1
12033 @endif ld
12035 .PHONY: maybe-install-info-ld install-info-ld
12036 maybe-install-info-ld:
12037 @if ld
12038 maybe-install-info-ld: install-info-ld
12040 install-info-ld: \
12041 configure-ld \
12042 info-ld
12043 @[ -f ./ld/Makefile ] || exit 0; \
12044 r=`${PWD_COMMAND}`; export r; \
12045 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12046 $(SET_LIB_PATH) \
12047 $(HOST_EXPORTS) \
12048 for flag in $(EXTRA_HOST_FLAGS) ; do \
12049 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12050 done; \
12051 echo "Doing install-info in ld" ; \
12052 (cd ld && \
12053 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12054 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12055 "RANLIB=$${RANLIB}" \
12056 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12057 install-info) \
12058 || exit 1
12060 @endif ld
12062 .PHONY: maybe-installcheck-ld installcheck-ld
12063 maybe-installcheck-ld:
12064 @if ld
12065 maybe-installcheck-ld: installcheck-ld
12067 installcheck-ld: \
12068 configure-ld
12069 @[ -f ./ld/Makefile ] || exit 0; \
12070 r=`${PWD_COMMAND}`; export r; \
12071 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12072 $(SET_LIB_PATH) \
12073 $(HOST_EXPORTS) \
12074 for flag in $(EXTRA_HOST_FLAGS) ; do \
12075 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12076 done; \
12077 echo "Doing installcheck in ld" ; \
12078 (cd ld && \
12079 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12080 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12081 "RANLIB=$${RANLIB}" \
12082 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12083 installcheck) \
12084 || exit 1
12086 @endif ld
12088 .PHONY: maybe-mostlyclean-ld mostlyclean-ld
12089 maybe-mostlyclean-ld:
12090 @if ld
12091 maybe-mostlyclean-ld: mostlyclean-ld
12093 mostlyclean-ld:
12094 @[ -f ./ld/Makefile ] || exit 0; \
12095 r=`${PWD_COMMAND}`; export r; \
12096 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12097 $(SET_LIB_PATH) \
12098 $(HOST_EXPORTS) \
12099 for flag in $(EXTRA_HOST_FLAGS) ; do \
12100 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12101 done; \
12102 echo "Doing mostlyclean in ld" ; \
12103 (cd ld && \
12104 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12105 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12106 "RANLIB=$${RANLIB}" \
12107 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12108 mostlyclean) \
12109 || exit 1
12111 @endif ld
12113 .PHONY: maybe-clean-ld clean-ld
12114 maybe-clean-ld:
12115 @if ld
12116 maybe-clean-ld: clean-ld
12118 clean-ld:
12119 @[ -f ./ld/Makefile ] || exit 0; \
12120 r=`${PWD_COMMAND}`; export r; \
12121 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12122 $(SET_LIB_PATH) \
12123 $(HOST_EXPORTS) \
12124 for flag in $(EXTRA_HOST_FLAGS) ; do \
12125 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12126 done; \
12127 echo "Doing clean in ld" ; \
12128 (cd ld && \
12129 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12130 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12131 "RANLIB=$${RANLIB}" \
12132 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12133 clean) \
12134 || exit 1
12136 @endif ld
12138 .PHONY: maybe-distclean-ld distclean-ld
12139 maybe-distclean-ld:
12140 @if ld
12141 maybe-distclean-ld: distclean-ld
12143 distclean-ld:
12144 @[ -f ./ld/Makefile ] || exit 0; \
12145 r=`${PWD_COMMAND}`; export r; \
12146 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12147 $(SET_LIB_PATH) \
12148 $(HOST_EXPORTS) \
12149 for flag in $(EXTRA_HOST_FLAGS) ; do \
12150 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12151 done; \
12152 echo "Doing distclean in ld" ; \
12153 (cd ld && \
12154 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12155 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12156 "RANLIB=$${RANLIB}" \
12157 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12158 distclean) \
12159 || exit 1
12161 @endif ld
12163 .PHONY: maybe-maintainer-clean-ld maintainer-clean-ld
12164 maybe-maintainer-clean-ld:
12165 @if ld
12166 maybe-maintainer-clean-ld: maintainer-clean-ld
12168 maintainer-clean-ld:
12169 @[ -f ./ld/Makefile ] || exit 0; \
12170 r=`${PWD_COMMAND}`; export r; \
12171 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12172 $(SET_LIB_PATH) \
12173 $(HOST_EXPORTS) \
12174 for flag in $(EXTRA_HOST_FLAGS) ; do \
12175 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12176 done; \
12177 echo "Doing maintainer-clean in ld" ; \
12178 (cd ld && \
12179 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12180 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12181 "RANLIB=$${RANLIB}" \
12182 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12183 maintainer-clean) \
12184 || exit 1
12186 @endif ld
12189 .PHONY: configure-libcpp maybe-configure-libcpp
12190 maybe-configure-libcpp:
12191 @if libcpp
12192 maybe-configure-libcpp: configure-libcpp
12193 configure-libcpp:
12194 @test ! -f libcpp/Makefile || exit 0; \
12195 [ -d libcpp ] || mkdir libcpp; \
12196 r=`${PWD_COMMAND}`; export r; \
12197 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12198 $(HOST_EXPORTS) \
12199 echo Configuring in libcpp; \
12200 cd libcpp || exit 1; \
12201 case $(srcdir) in \
12202 \.) \
12203 srcdiroption="--srcdir=."; \
12204 libsrcdir=".";; \
12205 /* | [A-Za-z]:[\\/]*) \
12206 srcdiroption="--srcdir=$(srcdir)/libcpp"; \
12207 libsrcdir="$$s/libcpp";; \
12208 *) \
12209 srcdiroption="--srcdir=../$(srcdir)/libcpp"; \
12210 libsrcdir="$$s/libcpp";; \
12211 esac; \
12212 $(SHELL) $${libsrcdir}/configure \
12213 $(HOST_CONFIGARGS) $${srcdiroption} \
12214 || exit 1
12215 @endif libcpp
12217 .PHONY: all-libcpp maybe-all-libcpp
12218 maybe-all-libcpp:
12219 @if libcpp
12220 maybe-all-libcpp: all-libcpp
12221 all-libcpp: configure-libcpp
12222 @r=`${PWD_COMMAND}`; export r; \
12223 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12224 $(SET_LIB_PATH) \
12225 $(HOST_EXPORTS) \
12226 (cd libcpp && $(MAKE) $(FLAGS_TO_PASS) all)
12227 @endif libcpp
12229 .PHONY: check-libcpp maybe-check-libcpp
12230 maybe-check-libcpp:
12231 @if libcpp
12232 maybe-check-libcpp: check-libcpp
12234 check-libcpp:
12235 @r=`${PWD_COMMAND}`; export r; \
12236 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12237 $(SET_LIB_PATH) \
12238 $(HOST_EXPORTS) \
12239 (cd libcpp && $(MAKE) $(FLAGS_TO_PASS) check)
12241 @endif libcpp
12243 .PHONY: install-libcpp maybe-install-libcpp
12244 maybe-install-libcpp:
12245 @if libcpp
12246 maybe-install-libcpp: install-libcpp
12248 install-libcpp: installdirs
12249 @r=`${PWD_COMMAND}`; export r; \
12250 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12251 $(SET_LIB_PATH) \
12252 $(HOST_EXPORTS) \
12253 (cd libcpp && $(MAKE) $(FLAGS_TO_PASS) install)
12255 @endif libcpp
12257 # Other targets (info, dvi, etc.)
12259 .PHONY: maybe-info-libcpp info-libcpp
12260 maybe-info-libcpp:
12261 @if libcpp
12262 maybe-info-libcpp: info-libcpp
12264 info-libcpp: \
12265 configure-libcpp
12266 @[ -f ./libcpp/Makefile ] || exit 0; \
12267 r=`${PWD_COMMAND}`; export r; \
12268 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12269 $(SET_LIB_PATH) \
12270 $(HOST_EXPORTS) \
12271 for flag in $(EXTRA_HOST_FLAGS) ; do \
12272 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12273 done; \
12274 echo "Doing info in libcpp" ; \
12275 (cd libcpp && \
12276 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12277 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12278 "RANLIB=$${RANLIB}" \
12279 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12280 info) \
12281 || exit 1
12283 @endif libcpp
12285 .PHONY: maybe-dvi-libcpp dvi-libcpp
12286 maybe-dvi-libcpp:
12287 @if libcpp
12288 maybe-dvi-libcpp: dvi-libcpp
12290 dvi-libcpp: \
12291 configure-libcpp
12292 @[ -f ./libcpp/Makefile ] || exit 0; \
12293 r=`${PWD_COMMAND}`; export r; \
12294 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12295 $(SET_LIB_PATH) \
12296 $(HOST_EXPORTS) \
12297 for flag in $(EXTRA_HOST_FLAGS) ; do \
12298 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12299 done; \
12300 echo "Doing dvi in libcpp" ; \
12301 (cd libcpp && \
12302 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12303 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12304 "RANLIB=$${RANLIB}" \
12305 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12306 dvi) \
12307 || exit 1
12309 @endif libcpp
12311 .PHONY: maybe-TAGS-libcpp TAGS-libcpp
12312 maybe-TAGS-libcpp:
12313 @if libcpp
12314 maybe-TAGS-libcpp: TAGS-libcpp
12316 TAGS-libcpp: \
12317 configure-libcpp
12318 @[ -f ./libcpp/Makefile ] || exit 0; \
12319 r=`${PWD_COMMAND}`; export r; \
12320 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12321 $(SET_LIB_PATH) \
12322 $(HOST_EXPORTS) \
12323 for flag in $(EXTRA_HOST_FLAGS) ; do \
12324 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12325 done; \
12326 echo "Doing TAGS in libcpp" ; \
12327 (cd libcpp && \
12328 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12329 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12330 "RANLIB=$${RANLIB}" \
12331 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12332 TAGS) \
12333 || exit 1
12335 @endif libcpp
12337 .PHONY: maybe-install-info-libcpp install-info-libcpp
12338 maybe-install-info-libcpp:
12339 @if libcpp
12340 maybe-install-info-libcpp: install-info-libcpp
12342 install-info-libcpp: \
12343 configure-libcpp \
12344 info-libcpp
12345 @[ -f ./libcpp/Makefile ] || exit 0; \
12346 r=`${PWD_COMMAND}`; export r; \
12347 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12348 $(SET_LIB_PATH) \
12349 $(HOST_EXPORTS) \
12350 for flag in $(EXTRA_HOST_FLAGS) ; do \
12351 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12352 done; \
12353 echo "Doing install-info in libcpp" ; \
12354 (cd libcpp && \
12355 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12356 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12357 "RANLIB=$${RANLIB}" \
12358 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12359 install-info) \
12360 || exit 1
12362 @endif libcpp
12364 .PHONY: maybe-installcheck-libcpp installcheck-libcpp
12365 maybe-installcheck-libcpp:
12366 @if libcpp
12367 maybe-installcheck-libcpp: installcheck-libcpp
12369 installcheck-libcpp: \
12370 configure-libcpp
12371 @[ -f ./libcpp/Makefile ] || exit 0; \
12372 r=`${PWD_COMMAND}`; export r; \
12373 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12374 $(SET_LIB_PATH) \
12375 $(HOST_EXPORTS) \
12376 for flag in $(EXTRA_HOST_FLAGS) ; do \
12377 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12378 done; \
12379 echo "Doing installcheck in libcpp" ; \
12380 (cd libcpp && \
12381 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12382 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12383 "RANLIB=$${RANLIB}" \
12384 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12385 installcheck) \
12386 || exit 1
12388 @endif libcpp
12390 .PHONY: maybe-mostlyclean-libcpp mostlyclean-libcpp
12391 maybe-mostlyclean-libcpp:
12392 @if libcpp
12393 maybe-mostlyclean-libcpp: mostlyclean-libcpp
12395 mostlyclean-libcpp:
12396 @[ -f ./libcpp/Makefile ] || exit 0; \
12397 r=`${PWD_COMMAND}`; export r; \
12398 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12399 $(SET_LIB_PATH) \
12400 $(HOST_EXPORTS) \
12401 for flag in $(EXTRA_HOST_FLAGS) ; do \
12402 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12403 done; \
12404 echo "Doing mostlyclean in libcpp" ; \
12405 (cd libcpp && \
12406 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12407 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12408 "RANLIB=$${RANLIB}" \
12409 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12410 mostlyclean) \
12411 || exit 1
12413 @endif libcpp
12415 .PHONY: maybe-clean-libcpp clean-libcpp
12416 maybe-clean-libcpp:
12417 @if libcpp
12418 maybe-clean-libcpp: clean-libcpp
12420 clean-libcpp:
12421 @[ -f ./libcpp/Makefile ] || exit 0; \
12422 r=`${PWD_COMMAND}`; export r; \
12423 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12424 $(SET_LIB_PATH) \
12425 $(HOST_EXPORTS) \
12426 for flag in $(EXTRA_HOST_FLAGS) ; do \
12427 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12428 done; \
12429 echo "Doing clean in libcpp" ; \
12430 (cd libcpp && \
12431 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12432 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12433 "RANLIB=$${RANLIB}" \
12434 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12435 clean) \
12436 || exit 1
12438 @endif libcpp
12440 .PHONY: maybe-distclean-libcpp distclean-libcpp
12441 maybe-distclean-libcpp:
12442 @if libcpp
12443 maybe-distclean-libcpp: distclean-libcpp
12445 distclean-libcpp:
12446 @[ -f ./libcpp/Makefile ] || exit 0; \
12447 r=`${PWD_COMMAND}`; export r; \
12448 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12449 $(SET_LIB_PATH) \
12450 $(HOST_EXPORTS) \
12451 for flag in $(EXTRA_HOST_FLAGS) ; do \
12452 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12453 done; \
12454 echo "Doing distclean in libcpp" ; \
12455 (cd libcpp && \
12456 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12457 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12458 "RANLIB=$${RANLIB}" \
12459 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12460 distclean) \
12461 || exit 1
12463 @endif libcpp
12465 .PHONY: maybe-maintainer-clean-libcpp maintainer-clean-libcpp
12466 maybe-maintainer-clean-libcpp:
12467 @if libcpp
12468 maybe-maintainer-clean-libcpp: maintainer-clean-libcpp
12470 maintainer-clean-libcpp:
12471 @[ -f ./libcpp/Makefile ] || exit 0; \
12472 r=`${PWD_COMMAND}`; export r; \
12473 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12474 $(SET_LIB_PATH) \
12475 $(HOST_EXPORTS) \
12476 for flag in $(EXTRA_HOST_FLAGS) ; do \
12477 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12478 done; \
12479 echo "Doing maintainer-clean in libcpp" ; \
12480 (cd libcpp && \
12481 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12482 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12483 "RANLIB=$${RANLIB}" \
12484 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12485 maintainer-clean) \
12486 || exit 1
12488 @endif libcpp
12491 .PHONY: configure-libgui maybe-configure-libgui
12492 maybe-configure-libgui:
12493 @if libgui
12494 maybe-configure-libgui: configure-libgui
12495 configure-libgui:
12496 @test ! -f libgui/Makefile || exit 0; \
12497 [ -d libgui ] || mkdir libgui; \
12498 r=`${PWD_COMMAND}`; export r; \
12499 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12500 $(HOST_EXPORTS) \
12501 echo Configuring in libgui; \
12502 cd libgui || exit 1; \
12503 case $(srcdir) in \
12504 \.) \
12505 srcdiroption="--srcdir=."; \
12506 libsrcdir=".";; \
12507 /* | [A-Za-z]:[\\/]*) \
12508 srcdiroption="--srcdir=$(srcdir)/libgui"; \
12509 libsrcdir="$$s/libgui";; \
12510 *) \
12511 srcdiroption="--srcdir=../$(srcdir)/libgui"; \
12512 libsrcdir="$$s/libgui";; \
12513 esac; \
12514 $(SHELL) $${libsrcdir}/configure \
12515 $(HOST_CONFIGARGS) $${srcdiroption} \
12516 || exit 1
12517 @endif libgui
12519 .PHONY: all-libgui maybe-all-libgui
12520 maybe-all-libgui:
12521 @if libgui
12522 maybe-all-libgui: all-libgui
12523 all-libgui: configure-libgui
12524 @r=`${PWD_COMMAND}`; export r; \
12525 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12526 $(SET_LIB_PATH) \
12527 $(HOST_EXPORTS) \
12528 (cd libgui && $(MAKE) $(FLAGS_TO_PASS) all)
12529 @endif libgui
12531 .PHONY: check-libgui maybe-check-libgui
12532 maybe-check-libgui:
12533 @if libgui
12534 maybe-check-libgui: check-libgui
12536 check-libgui:
12537 @r=`${PWD_COMMAND}`; export r; \
12538 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12539 $(SET_LIB_PATH) \
12540 $(HOST_EXPORTS) \
12541 (cd libgui && $(MAKE) $(FLAGS_TO_PASS) check)
12543 @endif libgui
12545 .PHONY: install-libgui maybe-install-libgui
12546 maybe-install-libgui:
12547 @if libgui
12548 maybe-install-libgui: install-libgui
12550 install-libgui: installdirs
12551 @r=`${PWD_COMMAND}`; export r; \
12552 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12553 $(SET_LIB_PATH) \
12554 $(HOST_EXPORTS) \
12555 (cd libgui && $(MAKE) $(FLAGS_TO_PASS) install)
12557 @endif libgui
12559 # Other targets (info, dvi, etc.)
12561 .PHONY: maybe-info-libgui info-libgui
12562 maybe-info-libgui:
12563 @if libgui
12564 maybe-info-libgui: info-libgui
12566 info-libgui: \
12567 configure-libgui
12568 @[ -f ./libgui/Makefile ] || exit 0; \
12569 r=`${PWD_COMMAND}`; export r; \
12570 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12571 $(SET_LIB_PATH) \
12572 $(HOST_EXPORTS) \
12573 for flag in $(EXTRA_HOST_FLAGS) ; do \
12574 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12575 done; \
12576 echo "Doing info in libgui" ; \
12577 (cd libgui && \
12578 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12579 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12580 "RANLIB=$${RANLIB}" \
12581 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12582 info) \
12583 || exit 1
12585 @endif libgui
12587 .PHONY: maybe-dvi-libgui dvi-libgui
12588 maybe-dvi-libgui:
12589 @if libgui
12590 maybe-dvi-libgui: dvi-libgui
12592 dvi-libgui: \
12593 configure-libgui
12594 @[ -f ./libgui/Makefile ] || exit 0; \
12595 r=`${PWD_COMMAND}`; export r; \
12596 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12597 $(SET_LIB_PATH) \
12598 $(HOST_EXPORTS) \
12599 for flag in $(EXTRA_HOST_FLAGS) ; do \
12600 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12601 done; \
12602 echo "Doing dvi in libgui" ; \
12603 (cd libgui && \
12604 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12605 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12606 "RANLIB=$${RANLIB}" \
12607 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12608 dvi) \
12609 || exit 1
12611 @endif libgui
12613 .PHONY: maybe-TAGS-libgui TAGS-libgui
12614 maybe-TAGS-libgui:
12615 @if libgui
12616 maybe-TAGS-libgui: TAGS-libgui
12618 TAGS-libgui: \
12619 configure-libgui
12620 @[ -f ./libgui/Makefile ] || exit 0; \
12621 r=`${PWD_COMMAND}`; export r; \
12622 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12623 $(SET_LIB_PATH) \
12624 $(HOST_EXPORTS) \
12625 for flag in $(EXTRA_HOST_FLAGS) ; do \
12626 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12627 done; \
12628 echo "Doing TAGS in libgui" ; \
12629 (cd libgui && \
12630 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12631 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12632 "RANLIB=$${RANLIB}" \
12633 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12634 TAGS) \
12635 || exit 1
12637 @endif libgui
12639 .PHONY: maybe-install-info-libgui install-info-libgui
12640 maybe-install-info-libgui:
12641 @if libgui
12642 maybe-install-info-libgui: install-info-libgui
12644 install-info-libgui: \
12645 configure-libgui \
12646 info-libgui
12647 @[ -f ./libgui/Makefile ] || exit 0; \
12648 r=`${PWD_COMMAND}`; export r; \
12649 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12650 $(SET_LIB_PATH) \
12651 $(HOST_EXPORTS) \
12652 for flag in $(EXTRA_HOST_FLAGS) ; do \
12653 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12654 done; \
12655 echo "Doing install-info in libgui" ; \
12656 (cd libgui && \
12657 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12658 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12659 "RANLIB=$${RANLIB}" \
12660 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12661 install-info) \
12662 || exit 1
12664 @endif libgui
12666 .PHONY: maybe-installcheck-libgui installcheck-libgui
12667 maybe-installcheck-libgui:
12668 @if libgui
12669 maybe-installcheck-libgui: installcheck-libgui
12671 installcheck-libgui: \
12672 configure-libgui
12673 @[ -f ./libgui/Makefile ] || exit 0; \
12674 r=`${PWD_COMMAND}`; export r; \
12675 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12676 $(SET_LIB_PATH) \
12677 $(HOST_EXPORTS) \
12678 for flag in $(EXTRA_HOST_FLAGS) ; do \
12679 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12680 done; \
12681 echo "Doing installcheck in libgui" ; \
12682 (cd libgui && \
12683 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12684 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12685 "RANLIB=$${RANLIB}" \
12686 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12687 installcheck) \
12688 || exit 1
12690 @endif libgui
12692 .PHONY: maybe-mostlyclean-libgui mostlyclean-libgui
12693 maybe-mostlyclean-libgui:
12694 @if libgui
12695 maybe-mostlyclean-libgui: mostlyclean-libgui
12697 mostlyclean-libgui:
12698 @[ -f ./libgui/Makefile ] || exit 0; \
12699 r=`${PWD_COMMAND}`; export r; \
12700 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12701 $(SET_LIB_PATH) \
12702 $(HOST_EXPORTS) \
12703 for flag in $(EXTRA_HOST_FLAGS) ; do \
12704 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12705 done; \
12706 echo "Doing mostlyclean in libgui" ; \
12707 (cd libgui && \
12708 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12709 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12710 "RANLIB=$${RANLIB}" \
12711 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12712 mostlyclean) \
12713 || exit 1
12715 @endif libgui
12717 .PHONY: maybe-clean-libgui clean-libgui
12718 maybe-clean-libgui:
12719 @if libgui
12720 maybe-clean-libgui: clean-libgui
12722 clean-libgui:
12723 @[ -f ./libgui/Makefile ] || exit 0; \
12724 r=`${PWD_COMMAND}`; export r; \
12725 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12726 $(SET_LIB_PATH) \
12727 $(HOST_EXPORTS) \
12728 for flag in $(EXTRA_HOST_FLAGS) ; do \
12729 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12730 done; \
12731 echo "Doing clean in libgui" ; \
12732 (cd libgui && \
12733 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12734 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12735 "RANLIB=$${RANLIB}" \
12736 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12737 clean) \
12738 || exit 1
12740 @endif libgui
12742 .PHONY: maybe-distclean-libgui distclean-libgui
12743 maybe-distclean-libgui:
12744 @if libgui
12745 maybe-distclean-libgui: distclean-libgui
12747 distclean-libgui:
12748 @[ -f ./libgui/Makefile ] || exit 0; \
12749 r=`${PWD_COMMAND}`; export r; \
12750 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12751 $(SET_LIB_PATH) \
12752 $(HOST_EXPORTS) \
12753 for flag in $(EXTRA_HOST_FLAGS) ; do \
12754 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12755 done; \
12756 echo "Doing distclean in libgui" ; \
12757 (cd libgui && \
12758 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12759 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12760 "RANLIB=$${RANLIB}" \
12761 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12762 distclean) \
12763 || exit 1
12765 @endif libgui
12767 .PHONY: maybe-maintainer-clean-libgui maintainer-clean-libgui
12768 maybe-maintainer-clean-libgui:
12769 @if libgui
12770 maybe-maintainer-clean-libgui: maintainer-clean-libgui
12772 maintainer-clean-libgui:
12773 @[ -f ./libgui/Makefile ] || exit 0; \
12774 r=`${PWD_COMMAND}`; export r; \
12775 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12776 $(SET_LIB_PATH) \
12777 $(HOST_EXPORTS) \
12778 for flag in $(EXTRA_HOST_FLAGS) ; do \
12779 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12780 done; \
12781 echo "Doing maintainer-clean in libgui" ; \
12782 (cd libgui && \
12783 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12784 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12785 "RANLIB=$${RANLIB}" \
12786 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12787 maintainer-clean) \
12788 || exit 1
12790 @endif libgui
12793 .PHONY: configure-libbanshee maybe-configure-libbanshee
12794 maybe-configure-libbanshee:
12795 @if libbanshee
12796 maybe-configure-libbanshee: configure-libbanshee
12797 configure-libbanshee:
12798 @test ! -f libbanshee/Makefile || exit 0; \
12799 [ -d libbanshee ] || mkdir libbanshee; \
12800 r=`${PWD_COMMAND}`; export r; \
12801 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12802 $(HOST_EXPORTS) \
12803 echo Configuring in libbanshee; \
12804 cd libbanshee || exit 1; \
12805 case $(srcdir) in \
12806 \.) \
12807 srcdiroption="--srcdir=."; \
12808 libsrcdir=".";; \
12809 /* | [A-Za-z]:[\\/]*) \
12810 srcdiroption="--srcdir=$(srcdir)/libbanshee"; \
12811 libsrcdir="$$s/libbanshee";; \
12812 *) \
12813 srcdiroption="--srcdir=../$(srcdir)/libbanshee"; \
12814 libsrcdir="$$s/libbanshee";; \
12815 esac; \
12816 $(SHELL) $${libsrcdir}/configure \
12817 $(HOST_CONFIGARGS) $${srcdiroption} \
12818 || exit 1
12819 @endif libbanshee
12821 .PHONY: all-libbanshee maybe-all-libbanshee
12822 maybe-all-libbanshee:
12823 @if libbanshee
12824 maybe-all-libbanshee: all-libbanshee
12825 all-libbanshee: configure-libbanshee
12826 @r=`${PWD_COMMAND}`; export r; \
12827 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12828 $(SET_LIB_PATH) \
12829 $(HOST_EXPORTS) \
12830 (cd libbanshee && $(MAKE) $(FLAGS_TO_PASS) all)
12831 @endif libbanshee
12833 .PHONY: check-libbanshee maybe-check-libbanshee
12834 maybe-check-libbanshee:
12835 @if libbanshee
12836 maybe-check-libbanshee: check-libbanshee
12838 check-libbanshee:
12839 @r=`${PWD_COMMAND}`; export r; \
12840 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12841 $(SET_LIB_PATH) \
12842 $(HOST_EXPORTS) \
12843 (cd libbanshee && $(MAKE) $(FLAGS_TO_PASS) check)
12845 @endif libbanshee
12847 .PHONY: install-libbanshee maybe-install-libbanshee
12848 maybe-install-libbanshee:
12849 @if libbanshee
12850 maybe-install-libbanshee: install-libbanshee
12852 install-libbanshee:
12854 @endif libbanshee
12856 # Other targets (info, dvi, etc.)
12858 .PHONY: maybe-info-libbanshee info-libbanshee
12859 maybe-info-libbanshee:
12860 @if libbanshee
12861 maybe-info-libbanshee: info-libbanshee
12863 info-libbanshee: \
12864 configure-libbanshee
12865 @[ -f ./libbanshee/Makefile ] || exit 0; \
12866 r=`${PWD_COMMAND}`; export r; \
12867 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12868 $(SET_LIB_PATH) \
12869 $(HOST_EXPORTS) \
12870 for flag in $(EXTRA_HOST_FLAGS) ; do \
12871 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12872 done; \
12873 echo "Doing info in libbanshee" ; \
12874 (cd libbanshee && \
12875 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12876 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12877 "RANLIB=$${RANLIB}" \
12878 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12879 info) \
12880 || exit 1
12882 @endif libbanshee
12884 .PHONY: maybe-dvi-libbanshee dvi-libbanshee
12885 maybe-dvi-libbanshee:
12886 @if libbanshee
12887 maybe-dvi-libbanshee: dvi-libbanshee
12889 dvi-libbanshee: \
12890 configure-libbanshee
12891 @[ -f ./libbanshee/Makefile ] || exit 0; \
12892 r=`${PWD_COMMAND}`; export r; \
12893 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12894 $(SET_LIB_PATH) \
12895 $(HOST_EXPORTS) \
12896 for flag in $(EXTRA_HOST_FLAGS) ; do \
12897 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12898 done; \
12899 echo "Doing dvi in libbanshee" ; \
12900 (cd libbanshee && \
12901 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12902 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12903 "RANLIB=$${RANLIB}" \
12904 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12905 dvi) \
12906 || exit 1
12908 @endif libbanshee
12910 .PHONY: maybe-TAGS-libbanshee TAGS-libbanshee
12911 maybe-TAGS-libbanshee:
12912 @if libbanshee
12913 maybe-TAGS-libbanshee: TAGS-libbanshee
12915 TAGS-libbanshee: \
12916 configure-libbanshee
12917 @[ -f ./libbanshee/Makefile ] || exit 0; \
12918 r=`${PWD_COMMAND}`; export r; \
12919 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12920 $(SET_LIB_PATH) \
12921 $(HOST_EXPORTS) \
12922 for flag in $(EXTRA_HOST_FLAGS) ; do \
12923 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12924 done; \
12925 echo "Doing TAGS in libbanshee" ; \
12926 (cd libbanshee && \
12927 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12928 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12929 "RANLIB=$${RANLIB}" \
12930 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12931 TAGS) \
12932 || exit 1
12934 @endif libbanshee
12936 .PHONY: maybe-install-info-libbanshee install-info-libbanshee
12937 maybe-install-info-libbanshee:
12938 @if libbanshee
12939 maybe-install-info-libbanshee: install-info-libbanshee
12941 install-info-libbanshee: \
12942 configure-libbanshee \
12943 info-libbanshee
12944 @[ -f ./libbanshee/Makefile ] || exit 0; \
12945 r=`${PWD_COMMAND}`; export r; \
12946 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12947 $(SET_LIB_PATH) \
12948 $(HOST_EXPORTS) \
12949 for flag in $(EXTRA_HOST_FLAGS) ; do \
12950 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12951 done; \
12952 echo "Doing install-info in libbanshee" ; \
12953 (cd libbanshee && \
12954 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12955 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12956 "RANLIB=$${RANLIB}" \
12957 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12958 install-info) \
12959 || exit 1
12961 @endif libbanshee
12963 .PHONY: maybe-installcheck-libbanshee installcheck-libbanshee
12964 maybe-installcheck-libbanshee:
12965 @if libbanshee
12966 maybe-installcheck-libbanshee: installcheck-libbanshee
12968 installcheck-libbanshee: \
12969 configure-libbanshee
12970 @[ -f ./libbanshee/Makefile ] || exit 0; \
12971 r=`${PWD_COMMAND}`; export r; \
12972 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12973 $(SET_LIB_PATH) \
12974 $(HOST_EXPORTS) \
12975 for flag in $(EXTRA_HOST_FLAGS) ; do \
12976 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12977 done; \
12978 echo "Doing installcheck in libbanshee" ; \
12979 (cd libbanshee && \
12980 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12981 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12982 "RANLIB=$${RANLIB}" \
12983 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12984 installcheck) \
12985 || exit 1
12987 @endif libbanshee
12989 .PHONY: maybe-mostlyclean-libbanshee mostlyclean-libbanshee
12990 maybe-mostlyclean-libbanshee:
12991 @if libbanshee
12992 maybe-mostlyclean-libbanshee: mostlyclean-libbanshee
12994 mostlyclean-libbanshee:
12995 @[ -f ./libbanshee/Makefile ] || exit 0; \
12996 r=`${PWD_COMMAND}`; export r; \
12997 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12998 $(SET_LIB_PATH) \
12999 $(HOST_EXPORTS) \
13000 for flag in $(EXTRA_HOST_FLAGS) ; do \
13001 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13002 done; \
13003 echo "Doing mostlyclean in libbanshee" ; \
13004 (cd libbanshee && \
13005 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13006 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13007 "RANLIB=$${RANLIB}" \
13008 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13009 mostlyclean) \
13010 || exit 1
13012 @endif libbanshee
13014 .PHONY: maybe-clean-libbanshee clean-libbanshee
13015 maybe-clean-libbanshee:
13016 @if libbanshee
13017 maybe-clean-libbanshee: clean-libbanshee
13019 clean-libbanshee:
13020 @[ -f ./libbanshee/Makefile ] || exit 0; \
13021 r=`${PWD_COMMAND}`; export r; \
13022 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13023 $(SET_LIB_PATH) \
13024 $(HOST_EXPORTS) \
13025 for flag in $(EXTRA_HOST_FLAGS) ; do \
13026 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13027 done; \
13028 echo "Doing clean in libbanshee" ; \
13029 (cd libbanshee && \
13030 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13031 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13032 "RANLIB=$${RANLIB}" \
13033 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13034 clean) \
13035 || exit 1
13037 @endif libbanshee
13039 .PHONY: maybe-distclean-libbanshee distclean-libbanshee
13040 maybe-distclean-libbanshee:
13041 @if libbanshee
13042 maybe-distclean-libbanshee: distclean-libbanshee
13044 distclean-libbanshee:
13045 @[ -f ./libbanshee/Makefile ] || exit 0; \
13046 r=`${PWD_COMMAND}`; export r; \
13047 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13048 $(SET_LIB_PATH) \
13049 $(HOST_EXPORTS) \
13050 for flag in $(EXTRA_HOST_FLAGS) ; do \
13051 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13052 done; \
13053 echo "Doing distclean in libbanshee" ; \
13054 (cd libbanshee && \
13055 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13056 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13057 "RANLIB=$${RANLIB}" \
13058 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13059 distclean) \
13060 || exit 1
13062 @endif libbanshee
13064 .PHONY: maybe-maintainer-clean-libbanshee maintainer-clean-libbanshee
13065 maybe-maintainer-clean-libbanshee:
13066 @if libbanshee
13067 maybe-maintainer-clean-libbanshee: maintainer-clean-libbanshee
13069 maintainer-clean-libbanshee:
13070 @[ -f ./libbanshee/Makefile ] || exit 0; \
13071 r=`${PWD_COMMAND}`; export r; \
13072 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13073 $(SET_LIB_PATH) \
13074 $(HOST_EXPORTS) \
13075 for flag in $(EXTRA_HOST_FLAGS) ; do \
13076 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13077 done; \
13078 echo "Doing maintainer-clean in libbanshee" ; \
13079 (cd libbanshee && \
13080 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13081 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13082 "RANLIB=$${RANLIB}" \
13083 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13084 maintainer-clean) \
13085 || exit 1
13087 @endif libbanshee
13090 .PHONY: configure-libiberty maybe-configure-libiberty
13091 maybe-configure-libiberty:
13092 @if libiberty
13093 maybe-configure-libiberty: configure-libiberty
13094 configure-libiberty:
13095 @test ! -f libiberty/Makefile || exit 0; \
13096 [ -d libiberty ] || mkdir libiberty; \
13097 r=`${PWD_COMMAND}`; export r; \
13098 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13099 $(HOST_EXPORTS) \
13100 echo Configuring in libiberty; \
13101 cd libiberty || exit 1; \
13102 case $(srcdir) in \
13103 \.) \
13104 srcdiroption="--srcdir=."; \
13105 libsrcdir=".";; \
13106 /* | [A-Za-z]:[\\/]*) \
13107 srcdiroption="--srcdir=$(srcdir)/libiberty"; \
13108 libsrcdir="$$s/libiberty";; \
13109 *) \
13110 srcdiroption="--srcdir=../$(srcdir)/libiberty"; \
13111 libsrcdir="$$s/libiberty";; \
13112 esac; \
13113 $(SHELL) $${libsrcdir}/configure \
13114 $(HOST_CONFIGARGS) $${srcdiroption} \
13115 || exit 1
13116 @endif libiberty
13118 .PHONY: all-libiberty maybe-all-libiberty
13119 maybe-all-libiberty:
13120 @if libiberty
13121 maybe-all-libiberty: all-libiberty
13122 all-libiberty: configure-libiberty
13123 @r=`${PWD_COMMAND}`; export r; \
13124 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13125 $(SET_LIB_PATH) \
13126 $(HOST_EXPORTS) \
13127 (cd libiberty && $(MAKE) $(FLAGS_TO_PASS) all)
13128 @endif libiberty
13130 .PHONY: check-libiberty maybe-check-libiberty
13131 maybe-check-libiberty:
13132 @if libiberty
13133 maybe-check-libiberty: check-libiberty
13135 check-libiberty:
13136 @r=`${PWD_COMMAND}`; export r; \
13137 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13138 $(SET_LIB_PATH) \
13139 $(HOST_EXPORTS) \
13140 (cd libiberty && $(MAKE) $(FLAGS_TO_PASS) check)
13142 @endif libiberty
13144 .PHONY: install-libiberty maybe-install-libiberty
13145 maybe-install-libiberty:
13146 @if libiberty
13147 maybe-install-libiberty: install-libiberty
13149 install-libiberty: installdirs
13150 @r=`${PWD_COMMAND}`; export r; \
13151 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13152 $(SET_LIB_PATH) \
13153 $(HOST_EXPORTS) \
13154 (cd libiberty && $(MAKE) $(FLAGS_TO_PASS) install)
13156 @endif libiberty
13158 # Other targets (info, dvi, etc.)
13160 .PHONY: maybe-info-libiberty info-libiberty
13161 maybe-info-libiberty:
13162 @if libiberty
13163 maybe-info-libiberty: info-libiberty
13165 info-libiberty: \
13166 configure-libiberty
13167 @[ -f ./libiberty/Makefile ] || exit 0; \
13168 r=`${PWD_COMMAND}`; export r; \
13169 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13170 $(SET_LIB_PATH) \
13171 $(HOST_EXPORTS) \
13172 for flag in $(EXTRA_HOST_FLAGS) ; do \
13173 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13174 done; \
13175 echo "Doing info in libiberty" ; \
13176 (cd libiberty && \
13177 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13178 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13179 "RANLIB=$${RANLIB}" \
13180 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13181 info) \
13182 || exit 1
13184 @endif libiberty
13186 .PHONY: maybe-dvi-libiberty dvi-libiberty
13187 maybe-dvi-libiberty:
13188 @if libiberty
13189 maybe-dvi-libiberty: dvi-libiberty
13191 dvi-libiberty: \
13192 configure-libiberty
13193 @[ -f ./libiberty/Makefile ] || exit 0; \
13194 r=`${PWD_COMMAND}`; export r; \
13195 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13196 $(SET_LIB_PATH) \
13197 $(HOST_EXPORTS) \
13198 for flag in $(EXTRA_HOST_FLAGS) ; do \
13199 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13200 done; \
13201 echo "Doing dvi in libiberty" ; \
13202 (cd libiberty && \
13203 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13204 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13205 "RANLIB=$${RANLIB}" \
13206 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13207 dvi) \
13208 || exit 1
13210 @endif libiberty
13212 .PHONY: maybe-TAGS-libiberty TAGS-libiberty
13213 maybe-TAGS-libiberty:
13214 @if libiberty
13215 maybe-TAGS-libiberty: TAGS-libiberty
13217 TAGS-libiberty: \
13218 configure-libiberty
13219 @[ -f ./libiberty/Makefile ] || exit 0; \
13220 r=`${PWD_COMMAND}`; export r; \
13221 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13222 $(SET_LIB_PATH) \
13223 $(HOST_EXPORTS) \
13224 for flag in $(EXTRA_HOST_FLAGS) ; do \
13225 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13226 done; \
13227 echo "Doing TAGS in libiberty" ; \
13228 (cd libiberty && \
13229 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13230 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13231 "RANLIB=$${RANLIB}" \
13232 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13233 TAGS) \
13234 || exit 1
13236 @endif libiberty
13238 .PHONY: maybe-install-info-libiberty install-info-libiberty
13239 maybe-install-info-libiberty:
13240 @if libiberty
13241 maybe-install-info-libiberty: install-info-libiberty
13243 install-info-libiberty: \
13244 configure-libiberty \
13245 info-libiberty
13246 @[ -f ./libiberty/Makefile ] || exit 0; \
13247 r=`${PWD_COMMAND}`; export r; \
13248 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13249 $(SET_LIB_PATH) \
13250 $(HOST_EXPORTS) \
13251 for flag in $(EXTRA_HOST_FLAGS) ; do \
13252 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13253 done; \
13254 echo "Doing install-info in libiberty" ; \
13255 (cd libiberty && \
13256 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13257 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13258 "RANLIB=$${RANLIB}" \
13259 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13260 install-info) \
13261 || exit 1
13263 @endif libiberty
13265 .PHONY: maybe-installcheck-libiberty installcheck-libiberty
13266 maybe-installcheck-libiberty:
13267 @if libiberty
13268 maybe-installcheck-libiberty: installcheck-libiberty
13270 installcheck-libiberty: \
13271 configure-libiberty
13272 @[ -f ./libiberty/Makefile ] || exit 0; \
13273 r=`${PWD_COMMAND}`; export r; \
13274 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13275 $(SET_LIB_PATH) \
13276 $(HOST_EXPORTS) \
13277 for flag in $(EXTRA_HOST_FLAGS) ; do \
13278 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13279 done; \
13280 echo "Doing installcheck in libiberty" ; \
13281 (cd libiberty && \
13282 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13283 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13284 "RANLIB=$${RANLIB}" \
13285 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13286 installcheck) \
13287 || exit 1
13289 @endif libiberty
13291 .PHONY: maybe-mostlyclean-libiberty mostlyclean-libiberty
13292 maybe-mostlyclean-libiberty:
13293 @if libiberty
13294 maybe-mostlyclean-libiberty: mostlyclean-libiberty
13296 mostlyclean-libiberty:
13297 @[ -f ./libiberty/Makefile ] || exit 0; \
13298 r=`${PWD_COMMAND}`; export r; \
13299 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13300 $(SET_LIB_PATH) \
13301 $(HOST_EXPORTS) \
13302 for flag in $(EXTRA_HOST_FLAGS) ; do \
13303 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13304 done; \
13305 echo "Doing mostlyclean in libiberty" ; \
13306 (cd libiberty && \
13307 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13308 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13309 "RANLIB=$${RANLIB}" \
13310 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13311 mostlyclean) \
13312 || exit 1
13314 @endif libiberty
13316 .PHONY: maybe-clean-libiberty clean-libiberty
13317 maybe-clean-libiberty:
13318 @if libiberty
13319 maybe-clean-libiberty: clean-libiberty
13321 clean-libiberty:
13322 @[ -f ./libiberty/Makefile ] || exit 0; \
13323 r=`${PWD_COMMAND}`; export r; \
13324 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13325 $(SET_LIB_PATH) \
13326 $(HOST_EXPORTS) \
13327 for flag in $(EXTRA_HOST_FLAGS) ; do \
13328 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13329 done; \
13330 echo "Doing clean in libiberty" ; \
13331 (cd libiberty && \
13332 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13333 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13334 "RANLIB=$${RANLIB}" \
13335 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13336 clean) \
13337 || exit 1
13339 @endif libiberty
13341 .PHONY: maybe-distclean-libiberty distclean-libiberty
13342 maybe-distclean-libiberty:
13343 @if libiberty
13344 maybe-distclean-libiberty: distclean-libiberty
13346 distclean-libiberty:
13347 @[ -f ./libiberty/Makefile ] || exit 0; \
13348 r=`${PWD_COMMAND}`; export r; \
13349 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13350 $(SET_LIB_PATH) \
13351 $(HOST_EXPORTS) \
13352 for flag in $(EXTRA_HOST_FLAGS) ; do \
13353 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13354 done; \
13355 echo "Doing distclean in libiberty" ; \
13356 (cd libiberty && \
13357 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13358 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13359 "RANLIB=$${RANLIB}" \
13360 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13361 distclean) \
13362 || exit 1
13364 @endif libiberty
13366 .PHONY: maybe-maintainer-clean-libiberty maintainer-clean-libiberty
13367 maybe-maintainer-clean-libiberty:
13368 @if libiberty
13369 maybe-maintainer-clean-libiberty: maintainer-clean-libiberty
13371 maintainer-clean-libiberty:
13372 @[ -f ./libiberty/Makefile ] || exit 0; \
13373 r=`${PWD_COMMAND}`; export r; \
13374 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13375 $(SET_LIB_PATH) \
13376 $(HOST_EXPORTS) \
13377 for flag in $(EXTRA_HOST_FLAGS) ; do \
13378 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13379 done; \
13380 echo "Doing maintainer-clean in libiberty" ; \
13381 (cd libiberty && \
13382 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13383 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13384 "RANLIB=$${RANLIB}" \
13385 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13386 maintainer-clean) \
13387 || exit 1
13389 @endif libiberty
13392 .PHONY: configure-libtool maybe-configure-libtool
13393 maybe-configure-libtool:
13394 @if libtool
13395 maybe-configure-libtool: configure-libtool
13396 configure-libtool:
13397 @test ! -f libtool/Makefile || exit 0; \
13398 [ -d libtool ] || mkdir libtool; \
13399 r=`${PWD_COMMAND}`; export r; \
13400 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13401 $(HOST_EXPORTS) \
13402 echo Configuring in libtool; \
13403 cd libtool || exit 1; \
13404 case $(srcdir) in \
13405 \.) \
13406 srcdiroption="--srcdir=."; \
13407 libsrcdir=".";; \
13408 /* | [A-Za-z]:[\\/]*) \
13409 srcdiroption="--srcdir=$(srcdir)/libtool"; \
13410 libsrcdir="$$s/libtool";; \
13411 *) \
13412 srcdiroption="--srcdir=../$(srcdir)/libtool"; \
13413 libsrcdir="$$s/libtool";; \
13414 esac; \
13415 $(SHELL) $${libsrcdir}/configure \
13416 $(HOST_CONFIGARGS) $${srcdiroption} \
13417 || exit 1
13418 @endif libtool
13420 .PHONY: all-libtool maybe-all-libtool
13421 maybe-all-libtool:
13422 @if libtool
13423 maybe-all-libtool: all-libtool
13424 all-libtool: configure-libtool
13425 @r=`${PWD_COMMAND}`; export r; \
13426 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13427 $(SET_LIB_PATH) \
13428 $(HOST_EXPORTS) \
13429 (cd libtool && $(MAKE) $(FLAGS_TO_PASS) all)
13430 @endif libtool
13432 .PHONY: check-libtool maybe-check-libtool
13433 maybe-check-libtool:
13434 @if libtool
13435 maybe-check-libtool: check-libtool
13437 check-libtool:
13438 @r=`${PWD_COMMAND}`; export r; \
13439 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13440 $(SET_LIB_PATH) \
13441 $(HOST_EXPORTS) \
13442 (cd libtool && $(MAKE) $(FLAGS_TO_PASS) check)
13444 @endif libtool
13446 .PHONY: install-libtool maybe-install-libtool
13447 maybe-install-libtool:
13448 @if libtool
13449 maybe-install-libtool: install-libtool
13451 install-libtool: installdirs
13452 @r=`${PWD_COMMAND}`; export r; \
13453 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13454 $(SET_LIB_PATH) \
13455 $(HOST_EXPORTS) \
13456 (cd libtool && $(MAKE) $(FLAGS_TO_PASS) install)
13458 @endif libtool
13460 # Other targets (info, dvi, etc.)
13462 .PHONY: maybe-info-libtool info-libtool
13463 maybe-info-libtool:
13464 @if libtool
13465 maybe-info-libtool: info-libtool
13467 info-libtool: \
13468 configure-libtool
13469 @[ -f ./libtool/Makefile ] || exit 0; \
13470 r=`${PWD_COMMAND}`; export r; \
13471 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13472 $(SET_LIB_PATH) \
13473 $(HOST_EXPORTS) \
13474 for flag in $(EXTRA_HOST_FLAGS) ; do \
13475 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13476 done; \
13477 echo "Doing info in libtool" ; \
13478 (cd libtool && \
13479 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13480 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13481 "RANLIB=$${RANLIB}" \
13482 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13483 info) \
13484 || exit 1
13486 @endif libtool
13488 .PHONY: maybe-dvi-libtool dvi-libtool
13489 maybe-dvi-libtool:
13490 @if libtool
13491 maybe-dvi-libtool: dvi-libtool
13493 dvi-libtool: \
13494 configure-libtool
13495 @[ -f ./libtool/Makefile ] || exit 0; \
13496 r=`${PWD_COMMAND}`; export r; \
13497 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13498 $(SET_LIB_PATH) \
13499 $(HOST_EXPORTS) \
13500 for flag in $(EXTRA_HOST_FLAGS) ; do \
13501 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13502 done; \
13503 echo "Doing dvi in libtool" ; \
13504 (cd libtool && \
13505 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13506 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13507 "RANLIB=$${RANLIB}" \
13508 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13509 dvi) \
13510 || exit 1
13512 @endif libtool
13514 .PHONY: maybe-TAGS-libtool TAGS-libtool
13515 maybe-TAGS-libtool:
13516 @if libtool
13517 maybe-TAGS-libtool: TAGS-libtool
13519 TAGS-libtool: \
13520 configure-libtool
13521 @[ -f ./libtool/Makefile ] || exit 0; \
13522 r=`${PWD_COMMAND}`; export r; \
13523 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13524 $(SET_LIB_PATH) \
13525 $(HOST_EXPORTS) \
13526 for flag in $(EXTRA_HOST_FLAGS) ; do \
13527 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13528 done; \
13529 echo "Doing TAGS in libtool" ; \
13530 (cd libtool && \
13531 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13532 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13533 "RANLIB=$${RANLIB}" \
13534 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13535 TAGS) \
13536 || exit 1
13538 @endif libtool
13540 .PHONY: maybe-install-info-libtool install-info-libtool
13541 maybe-install-info-libtool:
13542 @if libtool
13543 maybe-install-info-libtool: install-info-libtool
13545 install-info-libtool: \
13546 configure-libtool \
13547 info-libtool
13548 @[ -f ./libtool/Makefile ] || exit 0; \
13549 r=`${PWD_COMMAND}`; export r; \
13550 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13551 $(SET_LIB_PATH) \
13552 $(HOST_EXPORTS) \
13553 for flag in $(EXTRA_HOST_FLAGS) ; do \
13554 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13555 done; \
13556 echo "Doing install-info in libtool" ; \
13557 (cd libtool && \
13558 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13559 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13560 "RANLIB=$${RANLIB}" \
13561 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13562 install-info) \
13563 || exit 1
13565 @endif libtool
13567 .PHONY: maybe-installcheck-libtool installcheck-libtool
13568 maybe-installcheck-libtool:
13569 @if libtool
13570 maybe-installcheck-libtool: installcheck-libtool
13572 installcheck-libtool: \
13573 configure-libtool
13574 @[ -f ./libtool/Makefile ] || exit 0; \
13575 r=`${PWD_COMMAND}`; export r; \
13576 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13577 $(SET_LIB_PATH) \
13578 $(HOST_EXPORTS) \
13579 for flag in $(EXTRA_HOST_FLAGS) ; do \
13580 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13581 done; \
13582 echo "Doing installcheck in libtool" ; \
13583 (cd libtool && \
13584 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13585 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13586 "RANLIB=$${RANLIB}" \
13587 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13588 installcheck) \
13589 || exit 1
13591 @endif libtool
13593 .PHONY: maybe-mostlyclean-libtool mostlyclean-libtool
13594 maybe-mostlyclean-libtool:
13595 @if libtool
13596 maybe-mostlyclean-libtool: mostlyclean-libtool
13598 mostlyclean-libtool:
13599 @[ -f ./libtool/Makefile ] || exit 0; \
13600 r=`${PWD_COMMAND}`; export r; \
13601 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13602 $(SET_LIB_PATH) \
13603 $(HOST_EXPORTS) \
13604 for flag in $(EXTRA_HOST_FLAGS) ; do \
13605 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13606 done; \
13607 echo "Doing mostlyclean in libtool" ; \
13608 (cd libtool && \
13609 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13610 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13611 "RANLIB=$${RANLIB}" \
13612 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13613 mostlyclean) \
13614 || exit 1
13616 @endif libtool
13618 .PHONY: maybe-clean-libtool clean-libtool
13619 maybe-clean-libtool:
13620 @if libtool
13621 maybe-clean-libtool: clean-libtool
13623 clean-libtool:
13624 @[ -f ./libtool/Makefile ] || exit 0; \
13625 r=`${PWD_COMMAND}`; export r; \
13626 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13627 $(SET_LIB_PATH) \
13628 $(HOST_EXPORTS) \
13629 for flag in $(EXTRA_HOST_FLAGS) ; do \
13630 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13631 done; \
13632 echo "Doing clean in libtool" ; \
13633 (cd libtool && \
13634 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13635 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13636 "RANLIB=$${RANLIB}" \
13637 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13638 clean) \
13639 || exit 1
13641 @endif libtool
13643 .PHONY: maybe-distclean-libtool distclean-libtool
13644 maybe-distclean-libtool:
13645 @if libtool
13646 maybe-distclean-libtool: distclean-libtool
13648 distclean-libtool:
13649 @[ -f ./libtool/Makefile ] || exit 0; \
13650 r=`${PWD_COMMAND}`; export r; \
13651 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13652 $(SET_LIB_PATH) \
13653 $(HOST_EXPORTS) \
13654 for flag in $(EXTRA_HOST_FLAGS) ; do \
13655 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13656 done; \
13657 echo "Doing distclean in libtool" ; \
13658 (cd libtool && \
13659 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13660 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13661 "RANLIB=$${RANLIB}" \
13662 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13663 distclean) \
13664 || exit 1
13666 @endif libtool
13668 .PHONY: maybe-maintainer-clean-libtool maintainer-clean-libtool
13669 maybe-maintainer-clean-libtool:
13670 @if libtool
13671 maybe-maintainer-clean-libtool: maintainer-clean-libtool
13673 maintainer-clean-libtool:
13674 @[ -f ./libtool/Makefile ] || exit 0; \
13675 r=`${PWD_COMMAND}`; export r; \
13676 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13677 $(SET_LIB_PATH) \
13678 $(HOST_EXPORTS) \
13679 for flag in $(EXTRA_HOST_FLAGS) ; do \
13680 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13681 done; \
13682 echo "Doing maintainer-clean in libtool" ; \
13683 (cd libtool && \
13684 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13685 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13686 "RANLIB=$${RANLIB}" \
13687 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13688 maintainer-clean) \
13689 || exit 1
13691 @endif libtool
13694 .PHONY: configure-m4 maybe-configure-m4
13695 maybe-configure-m4:
13696 @if m4
13697 maybe-configure-m4: configure-m4
13698 configure-m4:
13699 @test ! -f m4/Makefile || exit 0; \
13700 [ -d m4 ] || mkdir m4; \
13701 r=`${PWD_COMMAND}`; export r; \
13702 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13703 $(HOST_EXPORTS) \
13704 echo Configuring in m4; \
13705 cd m4 || exit 1; \
13706 case $(srcdir) in \
13707 \.) \
13708 srcdiroption="--srcdir=."; \
13709 libsrcdir=".";; \
13710 /* | [A-Za-z]:[\\/]*) \
13711 srcdiroption="--srcdir=$(srcdir)/m4"; \
13712 libsrcdir="$$s/m4";; \
13713 *) \
13714 srcdiroption="--srcdir=../$(srcdir)/m4"; \
13715 libsrcdir="$$s/m4";; \
13716 esac; \
13717 $(SHELL) $${libsrcdir}/configure \
13718 $(HOST_CONFIGARGS) $${srcdiroption} \
13719 || exit 1
13720 @endif m4
13722 .PHONY: all-m4 maybe-all-m4
13723 maybe-all-m4:
13724 @if m4
13725 maybe-all-m4: all-m4
13726 all-m4: configure-m4
13727 @r=`${PWD_COMMAND}`; export r; \
13728 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13729 $(SET_LIB_PATH) \
13730 $(HOST_EXPORTS) \
13731 (cd m4 && $(MAKE) $(FLAGS_TO_PASS) all)
13732 @endif m4
13734 .PHONY: check-m4 maybe-check-m4
13735 maybe-check-m4:
13736 @if m4
13737 maybe-check-m4: check-m4
13739 check-m4:
13740 @r=`${PWD_COMMAND}`; export r; \
13741 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13742 $(SET_LIB_PATH) \
13743 $(HOST_EXPORTS) \
13744 (cd m4 && $(MAKE) $(FLAGS_TO_PASS) check)
13746 @endif m4
13748 .PHONY: install-m4 maybe-install-m4
13749 maybe-install-m4:
13750 @if m4
13751 maybe-install-m4: install-m4
13753 install-m4: installdirs
13754 @r=`${PWD_COMMAND}`; export r; \
13755 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13756 $(SET_LIB_PATH) \
13757 $(HOST_EXPORTS) \
13758 (cd m4 && $(MAKE) $(FLAGS_TO_PASS) install)
13760 @endif m4
13762 # Other targets (info, dvi, etc.)
13764 .PHONY: maybe-info-m4 info-m4
13765 maybe-info-m4:
13766 @if m4
13767 maybe-info-m4: info-m4
13769 info-m4: \
13770 configure-m4
13771 @[ -f ./m4/Makefile ] || exit 0; \
13772 r=`${PWD_COMMAND}`; export r; \
13773 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13774 $(SET_LIB_PATH) \
13775 $(HOST_EXPORTS) \
13776 for flag in $(EXTRA_HOST_FLAGS) ; do \
13777 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13778 done; \
13779 echo "Doing info in m4" ; \
13780 (cd m4 && \
13781 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13782 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13783 "RANLIB=$${RANLIB}" \
13784 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13785 info) \
13786 || exit 1
13788 @endif m4
13790 .PHONY: maybe-dvi-m4 dvi-m4
13791 maybe-dvi-m4:
13792 @if m4
13793 maybe-dvi-m4: dvi-m4
13795 dvi-m4: \
13796 configure-m4
13797 @[ -f ./m4/Makefile ] || exit 0; \
13798 r=`${PWD_COMMAND}`; export r; \
13799 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13800 $(SET_LIB_PATH) \
13801 $(HOST_EXPORTS) \
13802 for flag in $(EXTRA_HOST_FLAGS) ; do \
13803 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13804 done; \
13805 echo "Doing dvi in m4" ; \
13806 (cd m4 && \
13807 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13808 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13809 "RANLIB=$${RANLIB}" \
13810 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13811 dvi) \
13812 || exit 1
13814 @endif m4
13816 .PHONY: maybe-TAGS-m4 TAGS-m4
13817 maybe-TAGS-m4:
13818 @if m4
13819 maybe-TAGS-m4: TAGS-m4
13821 TAGS-m4: \
13822 configure-m4
13823 @[ -f ./m4/Makefile ] || exit 0; \
13824 r=`${PWD_COMMAND}`; export r; \
13825 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13826 $(SET_LIB_PATH) \
13827 $(HOST_EXPORTS) \
13828 for flag in $(EXTRA_HOST_FLAGS) ; do \
13829 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13830 done; \
13831 echo "Doing TAGS in m4" ; \
13832 (cd m4 && \
13833 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13834 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13835 "RANLIB=$${RANLIB}" \
13836 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13837 TAGS) \
13838 || exit 1
13840 @endif m4
13842 .PHONY: maybe-install-info-m4 install-info-m4
13843 maybe-install-info-m4:
13844 @if m4
13845 maybe-install-info-m4: install-info-m4
13847 install-info-m4: \
13848 configure-m4 \
13849 info-m4
13850 @[ -f ./m4/Makefile ] || exit 0; \
13851 r=`${PWD_COMMAND}`; export r; \
13852 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13853 $(SET_LIB_PATH) \
13854 $(HOST_EXPORTS) \
13855 for flag in $(EXTRA_HOST_FLAGS) ; do \
13856 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13857 done; \
13858 echo "Doing install-info in m4" ; \
13859 (cd m4 && \
13860 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13861 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13862 "RANLIB=$${RANLIB}" \
13863 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13864 install-info) \
13865 || exit 1
13867 @endif m4
13869 .PHONY: maybe-installcheck-m4 installcheck-m4
13870 maybe-installcheck-m4:
13871 @if m4
13872 maybe-installcheck-m4: installcheck-m4
13874 installcheck-m4: \
13875 configure-m4
13876 @[ -f ./m4/Makefile ] || exit 0; \
13877 r=`${PWD_COMMAND}`; export r; \
13878 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13879 $(SET_LIB_PATH) \
13880 $(HOST_EXPORTS) \
13881 for flag in $(EXTRA_HOST_FLAGS) ; do \
13882 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13883 done; \
13884 echo "Doing installcheck in m4" ; \
13885 (cd m4 && \
13886 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13887 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13888 "RANLIB=$${RANLIB}" \
13889 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13890 installcheck) \
13891 || exit 1
13893 @endif m4
13895 .PHONY: maybe-mostlyclean-m4 mostlyclean-m4
13896 maybe-mostlyclean-m4:
13897 @if m4
13898 maybe-mostlyclean-m4: mostlyclean-m4
13900 mostlyclean-m4:
13901 @[ -f ./m4/Makefile ] || exit 0; \
13902 r=`${PWD_COMMAND}`; export r; \
13903 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13904 $(SET_LIB_PATH) \
13905 $(HOST_EXPORTS) \
13906 for flag in $(EXTRA_HOST_FLAGS) ; do \
13907 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13908 done; \
13909 echo "Doing mostlyclean in m4" ; \
13910 (cd m4 && \
13911 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13912 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13913 "RANLIB=$${RANLIB}" \
13914 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13915 mostlyclean) \
13916 || exit 1
13918 @endif m4
13920 .PHONY: maybe-clean-m4 clean-m4
13921 maybe-clean-m4:
13922 @if m4
13923 maybe-clean-m4: clean-m4
13925 clean-m4:
13926 @[ -f ./m4/Makefile ] || exit 0; \
13927 r=`${PWD_COMMAND}`; export r; \
13928 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13929 $(SET_LIB_PATH) \
13930 $(HOST_EXPORTS) \
13931 for flag in $(EXTRA_HOST_FLAGS) ; do \
13932 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13933 done; \
13934 echo "Doing clean in m4" ; \
13935 (cd m4 && \
13936 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13937 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13938 "RANLIB=$${RANLIB}" \
13939 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13940 clean) \
13941 || exit 1
13943 @endif m4
13945 .PHONY: maybe-distclean-m4 distclean-m4
13946 maybe-distclean-m4:
13947 @if m4
13948 maybe-distclean-m4: distclean-m4
13950 distclean-m4:
13951 @[ -f ./m4/Makefile ] || exit 0; \
13952 r=`${PWD_COMMAND}`; export r; \
13953 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13954 $(SET_LIB_PATH) \
13955 $(HOST_EXPORTS) \
13956 for flag in $(EXTRA_HOST_FLAGS) ; do \
13957 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13958 done; \
13959 echo "Doing distclean in m4" ; \
13960 (cd m4 && \
13961 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13962 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13963 "RANLIB=$${RANLIB}" \
13964 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13965 distclean) \
13966 || exit 1
13968 @endif m4
13970 .PHONY: maybe-maintainer-clean-m4 maintainer-clean-m4
13971 maybe-maintainer-clean-m4:
13972 @if m4
13973 maybe-maintainer-clean-m4: maintainer-clean-m4
13975 maintainer-clean-m4:
13976 @[ -f ./m4/Makefile ] || exit 0; \
13977 r=`${PWD_COMMAND}`; export r; \
13978 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13979 $(SET_LIB_PATH) \
13980 $(HOST_EXPORTS) \
13981 for flag in $(EXTRA_HOST_FLAGS) ; do \
13982 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13983 done; \
13984 echo "Doing maintainer-clean in m4" ; \
13985 (cd m4 && \
13986 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13987 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13988 "RANLIB=$${RANLIB}" \
13989 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13990 maintainer-clean) \
13991 || exit 1
13993 @endif m4
13996 .PHONY: configure-make maybe-configure-make
13997 maybe-configure-make:
13998 @if make
13999 maybe-configure-make: configure-make
14000 configure-make:
14001 @test ! -f make/Makefile || exit 0; \
14002 [ -d make ] || mkdir make; \
14003 r=`${PWD_COMMAND}`; export r; \
14004 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14005 $(HOST_EXPORTS) \
14006 echo Configuring in make; \
14007 cd make || exit 1; \
14008 case $(srcdir) in \
14009 \.) \
14010 srcdiroption="--srcdir=."; \
14011 libsrcdir=".";; \
14012 /* | [A-Za-z]:[\\/]*) \
14013 srcdiroption="--srcdir=$(srcdir)/make"; \
14014 libsrcdir="$$s/make";; \
14015 *) \
14016 srcdiroption="--srcdir=../$(srcdir)/make"; \
14017 libsrcdir="$$s/make";; \
14018 esac; \
14019 $(SHELL) $${libsrcdir}/configure \
14020 $(HOST_CONFIGARGS) $${srcdiroption} \
14021 || exit 1
14022 @endif make
14024 .PHONY: all-make maybe-all-make
14025 maybe-all-make:
14026 @if make
14027 maybe-all-make: all-make
14028 all-make: configure-make
14029 @r=`${PWD_COMMAND}`; export r; \
14030 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14031 $(SET_LIB_PATH) \
14032 $(HOST_EXPORTS) \
14033 (cd make && $(MAKE) $(FLAGS_TO_PASS) all)
14034 @endif make
14036 .PHONY: check-make maybe-check-make
14037 maybe-check-make:
14038 @if make
14039 maybe-check-make: check-make
14041 check-make:
14042 @r=`${PWD_COMMAND}`; export r; \
14043 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14044 $(SET_LIB_PATH) \
14045 $(HOST_EXPORTS) \
14046 (cd make && $(MAKE) $(FLAGS_TO_PASS) check)
14048 @endif make
14050 .PHONY: install-make maybe-install-make
14051 maybe-install-make:
14052 @if make
14053 maybe-install-make: install-make
14055 install-make: installdirs
14056 @r=`${PWD_COMMAND}`; export r; \
14057 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14058 $(SET_LIB_PATH) \
14059 $(HOST_EXPORTS) \
14060 (cd make && $(MAKE) $(FLAGS_TO_PASS) install)
14062 @endif make
14064 # Other targets (info, dvi, etc.)
14066 .PHONY: maybe-info-make info-make
14067 maybe-info-make:
14068 @if make
14069 maybe-info-make: info-make
14071 info-make: \
14072 configure-make
14073 @[ -f ./make/Makefile ] || exit 0; \
14074 r=`${PWD_COMMAND}`; export r; \
14075 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14076 $(SET_LIB_PATH) \
14077 $(HOST_EXPORTS) \
14078 for flag in $(EXTRA_HOST_FLAGS) ; do \
14079 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14080 done; \
14081 echo "Doing info in make" ; \
14082 (cd make && \
14083 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14084 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14085 "RANLIB=$${RANLIB}" \
14086 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14087 info) \
14088 || exit 1
14090 @endif make
14092 .PHONY: maybe-dvi-make dvi-make
14093 maybe-dvi-make:
14094 @if make
14095 maybe-dvi-make: dvi-make
14097 dvi-make: \
14098 configure-make
14099 @[ -f ./make/Makefile ] || exit 0; \
14100 r=`${PWD_COMMAND}`; export r; \
14101 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14102 $(SET_LIB_PATH) \
14103 $(HOST_EXPORTS) \
14104 for flag in $(EXTRA_HOST_FLAGS) ; do \
14105 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14106 done; \
14107 echo "Doing dvi in make" ; \
14108 (cd make && \
14109 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14110 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14111 "RANLIB=$${RANLIB}" \
14112 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14113 dvi) \
14114 || exit 1
14116 @endif make
14118 .PHONY: maybe-TAGS-make TAGS-make
14119 maybe-TAGS-make:
14120 @if make
14121 maybe-TAGS-make: TAGS-make
14123 TAGS-make: \
14124 configure-make
14125 @[ -f ./make/Makefile ] || exit 0; \
14126 r=`${PWD_COMMAND}`; export r; \
14127 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14128 $(SET_LIB_PATH) \
14129 $(HOST_EXPORTS) \
14130 for flag in $(EXTRA_HOST_FLAGS) ; do \
14131 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14132 done; \
14133 echo "Doing TAGS in make" ; \
14134 (cd make && \
14135 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14136 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14137 "RANLIB=$${RANLIB}" \
14138 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14139 TAGS) \
14140 || exit 1
14142 @endif make
14144 .PHONY: maybe-install-info-make install-info-make
14145 maybe-install-info-make:
14146 @if make
14147 maybe-install-info-make: install-info-make
14149 install-info-make: \
14150 configure-make \
14151 info-make
14152 @[ -f ./make/Makefile ] || exit 0; \
14153 r=`${PWD_COMMAND}`; export r; \
14154 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14155 $(SET_LIB_PATH) \
14156 $(HOST_EXPORTS) \
14157 for flag in $(EXTRA_HOST_FLAGS) ; do \
14158 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14159 done; \
14160 echo "Doing install-info in make" ; \
14161 (cd make && \
14162 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14163 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14164 "RANLIB=$${RANLIB}" \
14165 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14166 install-info) \
14167 || exit 1
14169 @endif make
14171 .PHONY: maybe-installcheck-make installcheck-make
14172 maybe-installcheck-make:
14173 @if make
14174 maybe-installcheck-make: installcheck-make
14176 installcheck-make: \
14177 configure-make
14178 @[ -f ./make/Makefile ] || exit 0; \
14179 r=`${PWD_COMMAND}`; export r; \
14180 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14181 $(SET_LIB_PATH) \
14182 $(HOST_EXPORTS) \
14183 for flag in $(EXTRA_HOST_FLAGS) ; do \
14184 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14185 done; \
14186 echo "Doing installcheck in make" ; \
14187 (cd make && \
14188 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14189 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14190 "RANLIB=$${RANLIB}" \
14191 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14192 installcheck) \
14193 || exit 1
14195 @endif make
14197 .PHONY: maybe-mostlyclean-make mostlyclean-make
14198 maybe-mostlyclean-make:
14199 @if make
14200 maybe-mostlyclean-make: mostlyclean-make
14202 mostlyclean-make:
14203 @[ -f ./make/Makefile ] || exit 0; \
14204 r=`${PWD_COMMAND}`; export r; \
14205 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14206 $(SET_LIB_PATH) \
14207 $(HOST_EXPORTS) \
14208 for flag in $(EXTRA_HOST_FLAGS) ; do \
14209 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14210 done; \
14211 echo "Doing mostlyclean in make" ; \
14212 (cd make && \
14213 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14214 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14215 "RANLIB=$${RANLIB}" \
14216 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14217 mostlyclean) \
14218 || exit 1
14220 @endif make
14222 .PHONY: maybe-clean-make clean-make
14223 maybe-clean-make:
14224 @if make
14225 maybe-clean-make: clean-make
14227 clean-make:
14228 @[ -f ./make/Makefile ] || exit 0; \
14229 r=`${PWD_COMMAND}`; export r; \
14230 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14231 $(SET_LIB_PATH) \
14232 $(HOST_EXPORTS) \
14233 for flag in $(EXTRA_HOST_FLAGS) ; do \
14234 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14235 done; \
14236 echo "Doing clean in make" ; \
14237 (cd make && \
14238 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14239 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14240 "RANLIB=$${RANLIB}" \
14241 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14242 clean) \
14243 || exit 1
14245 @endif make
14247 .PHONY: maybe-distclean-make distclean-make
14248 maybe-distclean-make:
14249 @if make
14250 maybe-distclean-make: distclean-make
14252 distclean-make:
14253 @[ -f ./make/Makefile ] || exit 0; \
14254 r=`${PWD_COMMAND}`; export r; \
14255 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14256 $(SET_LIB_PATH) \
14257 $(HOST_EXPORTS) \
14258 for flag in $(EXTRA_HOST_FLAGS) ; do \
14259 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14260 done; \
14261 echo "Doing distclean in make" ; \
14262 (cd make && \
14263 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14264 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14265 "RANLIB=$${RANLIB}" \
14266 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14267 distclean) \
14268 || exit 1
14270 @endif make
14272 .PHONY: maybe-maintainer-clean-make maintainer-clean-make
14273 maybe-maintainer-clean-make:
14274 @if make
14275 maybe-maintainer-clean-make: maintainer-clean-make
14277 maintainer-clean-make:
14278 @[ -f ./make/Makefile ] || exit 0; \
14279 r=`${PWD_COMMAND}`; export r; \
14280 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14281 $(SET_LIB_PATH) \
14282 $(HOST_EXPORTS) \
14283 for flag in $(EXTRA_HOST_FLAGS) ; do \
14284 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14285 done; \
14286 echo "Doing maintainer-clean in make" ; \
14287 (cd make && \
14288 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14289 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14290 "RANLIB=$${RANLIB}" \
14291 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14292 maintainer-clean) \
14293 || exit 1
14295 @endif make
14298 .PHONY: configure-mmalloc maybe-configure-mmalloc
14299 maybe-configure-mmalloc:
14300 @if mmalloc
14301 maybe-configure-mmalloc: configure-mmalloc
14302 configure-mmalloc:
14303 @test ! -f mmalloc/Makefile || exit 0; \
14304 [ -d mmalloc ] || mkdir mmalloc; \
14305 r=`${PWD_COMMAND}`; export r; \
14306 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14307 $(HOST_EXPORTS) \
14308 echo Configuring in mmalloc; \
14309 cd mmalloc || exit 1; \
14310 case $(srcdir) in \
14311 \.) \
14312 srcdiroption="--srcdir=."; \
14313 libsrcdir=".";; \
14314 /* | [A-Za-z]:[\\/]*) \
14315 srcdiroption="--srcdir=$(srcdir)/mmalloc"; \
14316 libsrcdir="$$s/mmalloc";; \
14317 *) \
14318 srcdiroption="--srcdir=../$(srcdir)/mmalloc"; \
14319 libsrcdir="$$s/mmalloc";; \
14320 esac; \
14321 $(SHELL) $${libsrcdir}/configure \
14322 $(HOST_CONFIGARGS) $${srcdiroption} \
14323 || exit 1
14324 @endif mmalloc
14326 .PHONY: all-mmalloc maybe-all-mmalloc
14327 maybe-all-mmalloc:
14328 @if mmalloc
14329 maybe-all-mmalloc: all-mmalloc
14330 all-mmalloc: configure-mmalloc
14331 @r=`${PWD_COMMAND}`; export r; \
14332 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14333 $(SET_LIB_PATH) \
14334 $(HOST_EXPORTS) \
14335 (cd mmalloc && $(MAKE) $(FLAGS_TO_PASS) all)
14336 @endif mmalloc
14338 .PHONY: check-mmalloc maybe-check-mmalloc
14339 maybe-check-mmalloc:
14340 @if mmalloc
14341 maybe-check-mmalloc: check-mmalloc
14343 check-mmalloc:
14345 @endif mmalloc
14347 .PHONY: install-mmalloc maybe-install-mmalloc
14348 maybe-install-mmalloc:
14349 @if mmalloc
14350 maybe-install-mmalloc: install-mmalloc
14352 install-mmalloc: installdirs
14353 @r=`${PWD_COMMAND}`; export r; \
14354 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14355 $(SET_LIB_PATH) \
14356 $(HOST_EXPORTS) \
14357 (cd mmalloc && $(MAKE) $(FLAGS_TO_PASS) install)
14359 @endif mmalloc
14361 # Other targets (info, dvi, etc.)
14363 .PHONY: maybe-info-mmalloc info-mmalloc
14364 maybe-info-mmalloc:
14365 @if mmalloc
14366 maybe-info-mmalloc: info-mmalloc
14368 info-mmalloc: \
14369 configure-mmalloc
14370 @[ -f ./mmalloc/Makefile ] || exit 0; \
14371 r=`${PWD_COMMAND}`; export r; \
14372 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14373 $(SET_LIB_PATH) \
14374 $(HOST_EXPORTS) \
14375 for flag in $(EXTRA_HOST_FLAGS) ; do \
14376 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14377 done; \
14378 echo "Doing info in mmalloc" ; \
14379 (cd mmalloc && \
14380 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14381 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14382 "RANLIB=$${RANLIB}" \
14383 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14384 info) \
14385 || exit 1
14387 @endif mmalloc
14389 .PHONY: maybe-dvi-mmalloc dvi-mmalloc
14390 maybe-dvi-mmalloc:
14391 @if mmalloc
14392 maybe-dvi-mmalloc: dvi-mmalloc
14394 dvi-mmalloc: \
14395 configure-mmalloc
14396 @[ -f ./mmalloc/Makefile ] || exit 0; \
14397 r=`${PWD_COMMAND}`; export r; \
14398 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14399 $(SET_LIB_PATH) \
14400 $(HOST_EXPORTS) \
14401 for flag in $(EXTRA_HOST_FLAGS) ; do \
14402 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14403 done; \
14404 echo "Doing dvi in mmalloc" ; \
14405 (cd mmalloc && \
14406 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14407 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14408 "RANLIB=$${RANLIB}" \
14409 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14410 dvi) \
14411 || exit 1
14413 @endif mmalloc
14415 .PHONY: maybe-TAGS-mmalloc TAGS-mmalloc
14416 maybe-TAGS-mmalloc:
14417 @if mmalloc
14418 maybe-TAGS-mmalloc: TAGS-mmalloc
14420 TAGS-mmalloc: \
14421 configure-mmalloc
14422 @[ -f ./mmalloc/Makefile ] || exit 0; \
14423 r=`${PWD_COMMAND}`; export r; \
14424 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14425 $(SET_LIB_PATH) \
14426 $(HOST_EXPORTS) \
14427 for flag in $(EXTRA_HOST_FLAGS) ; do \
14428 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14429 done; \
14430 echo "Doing TAGS in mmalloc" ; \
14431 (cd mmalloc && \
14432 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14433 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14434 "RANLIB=$${RANLIB}" \
14435 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14436 TAGS) \
14437 || exit 1
14439 @endif mmalloc
14441 .PHONY: maybe-install-info-mmalloc install-info-mmalloc
14442 maybe-install-info-mmalloc:
14443 @if mmalloc
14444 maybe-install-info-mmalloc: install-info-mmalloc
14446 install-info-mmalloc: \
14447 configure-mmalloc \
14448 info-mmalloc
14449 @[ -f ./mmalloc/Makefile ] || exit 0; \
14450 r=`${PWD_COMMAND}`; export r; \
14451 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14452 $(SET_LIB_PATH) \
14453 $(HOST_EXPORTS) \
14454 for flag in $(EXTRA_HOST_FLAGS) ; do \
14455 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14456 done; \
14457 echo "Doing install-info in mmalloc" ; \
14458 (cd mmalloc && \
14459 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14460 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14461 "RANLIB=$${RANLIB}" \
14462 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14463 install-info) \
14464 || exit 1
14466 @endif mmalloc
14468 .PHONY: maybe-installcheck-mmalloc installcheck-mmalloc
14469 maybe-installcheck-mmalloc:
14470 @if mmalloc
14471 maybe-installcheck-mmalloc: installcheck-mmalloc
14473 installcheck-mmalloc: \
14474 configure-mmalloc
14475 @[ -f ./mmalloc/Makefile ] || exit 0; \
14476 r=`${PWD_COMMAND}`; export r; \
14477 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14478 $(SET_LIB_PATH) \
14479 $(HOST_EXPORTS) \
14480 for flag in $(EXTRA_HOST_FLAGS) ; do \
14481 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14482 done; \
14483 echo "Doing installcheck in mmalloc" ; \
14484 (cd mmalloc && \
14485 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14486 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14487 "RANLIB=$${RANLIB}" \
14488 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14489 installcheck) \
14490 || exit 1
14492 @endif mmalloc
14494 .PHONY: maybe-mostlyclean-mmalloc mostlyclean-mmalloc
14495 maybe-mostlyclean-mmalloc:
14496 @if mmalloc
14497 maybe-mostlyclean-mmalloc: mostlyclean-mmalloc
14499 mostlyclean-mmalloc:
14500 @[ -f ./mmalloc/Makefile ] || exit 0; \
14501 r=`${PWD_COMMAND}`; export r; \
14502 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14503 $(SET_LIB_PATH) \
14504 $(HOST_EXPORTS) \
14505 for flag in $(EXTRA_HOST_FLAGS) ; do \
14506 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14507 done; \
14508 echo "Doing mostlyclean in mmalloc" ; \
14509 (cd mmalloc && \
14510 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14511 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14512 "RANLIB=$${RANLIB}" \
14513 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14514 mostlyclean) \
14515 || exit 1
14517 @endif mmalloc
14519 .PHONY: maybe-clean-mmalloc clean-mmalloc
14520 maybe-clean-mmalloc:
14521 @if mmalloc
14522 maybe-clean-mmalloc: clean-mmalloc
14524 clean-mmalloc:
14525 @[ -f ./mmalloc/Makefile ] || exit 0; \
14526 r=`${PWD_COMMAND}`; export r; \
14527 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14528 $(SET_LIB_PATH) \
14529 $(HOST_EXPORTS) \
14530 for flag in $(EXTRA_HOST_FLAGS) ; do \
14531 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14532 done; \
14533 echo "Doing clean in mmalloc" ; \
14534 (cd mmalloc && \
14535 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14536 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14537 "RANLIB=$${RANLIB}" \
14538 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14539 clean) \
14540 || exit 1
14542 @endif mmalloc
14544 .PHONY: maybe-distclean-mmalloc distclean-mmalloc
14545 maybe-distclean-mmalloc:
14546 @if mmalloc
14547 maybe-distclean-mmalloc: distclean-mmalloc
14549 distclean-mmalloc:
14550 @[ -f ./mmalloc/Makefile ] || exit 0; \
14551 r=`${PWD_COMMAND}`; export r; \
14552 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14553 $(SET_LIB_PATH) \
14554 $(HOST_EXPORTS) \
14555 for flag in $(EXTRA_HOST_FLAGS) ; do \
14556 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14557 done; \
14558 echo "Doing distclean in mmalloc" ; \
14559 (cd mmalloc && \
14560 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14561 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14562 "RANLIB=$${RANLIB}" \
14563 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14564 distclean) \
14565 || exit 1
14567 @endif mmalloc
14569 .PHONY: maybe-maintainer-clean-mmalloc maintainer-clean-mmalloc
14570 maybe-maintainer-clean-mmalloc:
14571 @if mmalloc
14572 maybe-maintainer-clean-mmalloc: maintainer-clean-mmalloc
14574 maintainer-clean-mmalloc:
14575 @[ -f ./mmalloc/Makefile ] || exit 0; \
14576 r=`${PWD_COMMAND}`; export r; \
14577 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14578 $(SET_LIB_PATH) \
14579 $(HOST_EXPORTS) \
14580 for flag in $(EXTRA_HOST_FLAGS) ; do \
14581 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14582 done; \
14583 echo "Doing maintainer-clean in mmalloc" ; \
14584 (cd mmalloc && \
14585 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14586 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14587 "RANLIB=$${RANLIB}" \
14588 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14589 maintainer-clean) \
14590 || exit 1
14592 @endif mmalloc
14595 .PHONY: configure-patch maybe-configure-patch
14596 maybe-configure-patch:
14597 @if patch
14598 maybe-configure-patch: configure-patch
14599 configure-patch:
14600 @test ! -f patch/Makefile || exit 0; \
14601 [ -d patch ] || mkdir patch; \
14602 r=`${PWD_COMMAND}`; export r; \
14603 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14604 $(HOST_EXPORTS) \
14605 echo Configuring in patch; \
14606 cd patch || exit 1; \
14607 case $(srcdir) in \
14608 \.) \
14609 srcdiroption="--srcdir=."; \
14610 libsrcdir=".";; \
14611 /* | [A-Za-z]:[\\/]*) \
14612 srcdiroption="--srcdir=$(srcdir)/patch"; \
14613 libsrcdir="$$s/patch";; \
14614 *) \
14615 srcdiroption="--srcdir=../$(srcdir)/patch"; \
14616 libsrcdir="$$s/patch";; \
14617 esac; \
14618 $(SHELL) $${libsrcdir}/configure \
14619 $(HOST_CONFIGARGS) $${srcdiroption} \
14620 || exit 1
14621 @endif patch
14623 .PHONY: all-patch maybe-all-patch
14624 maybe-all-patch:
14625 @if patch
14626 maybe-all-patch: all-patch
14627 all-patch: configure-patch
14628 @r=`${PWD_COMMAND}`; export r; \
14629 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14630 $(SET_LIB_PATH) \
14631 $(HOST_EXPORTS) \
14632 (cd patch && $(MAKE) $(FLAGS_TO_PASS) all)
14633 @endif patch
14635 .PHONY: check-patch maybe-check-patch
14636 maybe-check-patch:
14637 @if patch
14638 maybe-check-patch: check-patch
14640 check-patch:
14641 @r=`${PWD_COMMAND}`; export r; \
14642 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14643 $(SET_LIB_PATH) \
14644 $(HOST_EXPORTS) \
14645 (cd patch && $(MAKE) $(FLAGS_TO_PASS) check)
14647 @endif patch
14649 .PHONY: install-patch maybe-install-patch
14650 maybe-install-patch:
14651 @if patch
14652 maybe-install-patch: install-patch
14654 install-patch: installdirs
14655 @r=`${PWD_COMMAND}`; export r; \
14656 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14657 $(SET_LIB_PATH) \
14658 $(HOST_EXPORTS) \
14659 (cd patch && $(MAKE) $(FLAGS_TO_PASS) install)
14661 @endif patch
14663 # Other targets (info, dvi, etc.)
14665 .PHONY: maybe-info-patch info-patch
14666 maybe-info-patch:
14667 @if patch
14668 maybe-info-patch: info-patch
14670 info-patch: \
14671 configure-patch
14672 @[ -f ./patch/Makefile ] || exit 0; \
14673 r=`${PWD_COMMAND}`; export r; \
14674 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14675 $(SET_LIB_PATH) \
14676 $(HOST_EXPORTS) \
14677 for flag in $(EXTRA_HOST_FLAGS) ; do \
14678 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14679 done; \
14680 echo "Doing info in patch" ; \
14681 (cd patch && \
14682 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14683 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14684 "RANLIB=$${RANLIB}" \
14685 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14686 info) \
14687 || exit 1
14689 @endif patch
14691 .PHONY: maybe-dvi-patch dvi-patch
14692 maybe-dvi-patch:
14693 @if patch
14694 maybe-dvi-patch: dvi-patch
14696 dvi-patch: \
14697 configure-patch
14698 @[ -f ./patch/Makefile ] || exit 0; \
14699 r=`${PWD_COMMAND}`; export r; \
14700 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14701 $(SET_LIB_PATH) \
14702 $(HOST_EXPORTS) \
14703 for flag in $(EXTRA_HOST_FLAGS) ; do \
14704 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14705 done; \
14706 echo "Doing dvi in patch" ; \
14707 (cd patch && \
14708 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14709 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14710 "RANLIB=$${RANLIB}" \
14711 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14712 dvi) \
14713 || exit 1
14715 @endif patch
14717 .PHONY: maybe-TAGS-patch TAGS-patch
14718 maybe-TAGS-patch:
14719 @if patch
14720 maybe-TAGS-patch: TAGS-patch
14722 TAGS-patch: \
14723 configure-patch
14724 @[ -f ./patch/Makefile ] || exit 0; \
14725 r=`${PWD_COMMAND}`; export r; \
14726 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14727 $(SET_LIB_PATH) \
14728 $(HOST_EXPORTS) \
14729 for flag in $(EXTRA_HOST_FLAGS) ; do \
14730 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14731 done; \
14732 echo "Doing TAGS in patch" ; \
14733 (cd patch && \
14734 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14735 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14736 "RANLIB=$${RANLIB}" \
14737 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14738 TAGS) \
14739 || exit 1
14741 @endif patch
14743 .PHONY: maybe-install-info-patch install-info-patch
14744 maybe-install-info-patch:
14745 @if patch
14746 maybe-install-info-patch: install-info-patch
14748 install-info-patch: \
14749 configure-patch \
14750 info-patch
14751 @[ -f ./patch/Makefile ] || exit 0; \
14752 r=`${PWD_COMMAND}`; export r; \
14753 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14754 $(SET_LIB_PATH) \
14755 $(HOST_EXPORTS) \
14756 for flag in $(EXTRA_HOST_FLAGS) ; do \
14757 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14758 done; \
14759 echo "Doing install-info in patch" ; \
14760 (cd patch && \
14761 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14762 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14763 "RANLIB=$${RANLIB}" \
14764 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14765 install-info) \
14766 || exit 1
14768 @endif patch
14770 .PHONY: maybe-installcheck-patch installcheck-patch
14771 maybe-installcheck-patch:
14772 @if patch
14773 maybe-installcheck-patch: installcheck-patch
14775 installcheck-patch: \
14776 configure-patch
14777 @[ -f ./patch/Makefile ] || exit 0; \
14778 r=`${PWD_COMMAND}`; export r; \
14779 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14780 $(SET_LIB_PATH) \
14781 $(HOST_EXPORTS) \
14782 for flag in $(EXTRA_HOST_FLAGS) ; do \
14783 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14784 done; \
14785 echo "Doing installcheck in patch" ; \
14786 (cd patch && \
14787 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14788 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14789 "RANLIB=$${RANLIB}" \
14790 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14791 installcheck) \
14792 || exit 1
14794 @endif patch
14796 .PHONY: maybe-mostlyclean-patch mostlyclean-patch
14797 maybe-mostlyclean-patch:
14798 @if patch
14799 maybe-mostlyclean-patch: mostlyclean-patch
14801 mostlyclean-patch:
14802 @[ -f ./patch/Makefile ] || exit 0; \
14803 r=`${PWD_COMMAND}`; export r; \
14804 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14805 $(SET_LIB_PATH) \
14806 $(HOST_EXPORTS) \
14807 for flag in $(EXTRA_HOST_FLAGS) ; do \
14808 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14809 done; \
14810 echo "Doing mostlyclean in patch" ; \
14811 (cd patch && \
14812 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14813 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14814 "RANLIB=$${RANLIB}" \
14815 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14816 mostlyclean) \
14817 || exit 1
14819 @endif patch
14821 .PHONY: maybe-clean-patch clean-patch
14822 maybe-clean-patch:
14823 @if patch
14824 maybe-clean-patch: clean-patch
14826 clean-patch:
14827 @[ -f ./patch/Makefile ] || exit 0; \
14828 r=`${PWD_COMMAND}`; export r; \
14829 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14830 $(SET_LIB_PATH) \
14831 $(HOST_EXPORTS) \
14832 for flag in $(EXTRA_HOST_FLAGS) ; do \
14833 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14834 done; \
14835 echo "Doing clean in patch" ; \
14836 (cd patch && \
14837 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14838 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14839 "RANLIB=$${RANLIB}" \
14840 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14841 clean) \
14842 || exit 1
14844 @endif patch
14846 .PHONY: maybe-distclean-patch distclean-patch
14847 maybe-distclean-patch:
14848 @if patch
14849 maybe-distclean-patch: distclean-patch
14851 distclean-patch:
14852 @[ -f ./patch/Makefile ] || exit 0; \
14853 r=`${PWD_COMMAND}`; export r; \
14854 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14855 $(SET_LIB_PATH) \
14856 $(HOST_EXPORTS) \
14857 for flag in $(EXTRA_HOST_FLAGS) ; do \
14858 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14859 done; \
14860 echo "Doing distclean in patch" ; \
14861 (cd patch && \
14862 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14863 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14864 "RANLIB=$${RANLIB}" \
14865 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14866 distclean) \
14867 || exit 1
14869 @endif patch
14871 .PHONY: maybe-maintainer-clean-patch maintainer-clean-patch
14872 maybe-maintainer-clean-patch:
14873 @if patch
14874 maybe-maintainer-clean-patch: maintainer-clean-patch
14876 maintainer-clean-patch:
14877 @[ -f ./patch/Makefile ] || exit 0; \
14878 r=`${PWD_COMMAND}`; export r; \
14879 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14880 $(SET_LIB_PATH) \
14881 $(HOST_EXPORTS) \
14882 for flag in $(EXTRA_HOST_FLAGS) ; do \
14883 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14884 done; \
14885 echo "Doing maintainer-clean in patch" ; \
14886 (cd patch && \
14887 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14888 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14889 "RANLIB=$${RANLIB}" \
14890 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14891 maintainer-clean) \
14892 || exit 1
14894 @endif patch
14897 .PHONY: configure-perl maybe-configure-perl
14898 maybe-configure-perl:
14899 @if perl
14900 maybe-configure-perl: configure-perl
14901 configure-perl:
14902 @test ! -f perl/Makefile || exit 0; \
14903 [ -d perl ] || mkdir perl; \
14904 r=`${PWD_COMMAND}`; export r; \
14905 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14906 $(HOST_EXPORTS) \
14907 echo Configuring in perl; \
14908 cd perl || exit 1; \
14909 case $(srcdir) in \
14910 \.) \
14911 srcdiroption="--srcdir=."; \
14912 libsrcdir=".";; \
14913 /* | [A-Za-z]:[\\/]*) \
14914 srcdiroption="--srcdir=$(srcdir)/perl"; \
14915 libsrcdir="$$s/perl";; \
14916 *) \
14917 srcdiroption="--srcdir=../$(srcdir)/perl"; \
14918 libsrcdir="$$s/perl";; \
14919 esac; \
14920 $(SHELL) $${libsrcdir}/configure \
14921 $(HOST_CONFIGARGS) $${srcdiroption} \
14922 || exit 1
14923 @endif perl
14925 .PHONY: all-perl maybe-all-perl
14926 maybe-all-perl:
14927 @if perl
14928 maybe-all-perl: all-perl
14929 all-perl: configure-perl
14930 @r=`${PWD_COMMAND}`; export r; \
14931 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14932 $(SET_LIB_PATH) \
14933 $(HOST_EXPORTS) \
14934 (cd perl && $(MAKE) $(FLAGS_TO_PASS) all)
14935 @endif perl
14937 .PHONY: check-perl maybe-check-perl
14938 maybe-check-perl:
14939 @if perl
14940 maybe-check-perl: check-perl
14942 check-perl:
14943 @r=`${PWD_COMMAND}`; export r; \
14944 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14945 $(SET_LIB_PATH) \
14946 $(HOST_EXPORTS) \
14947 (cd perl && $(MAKE) $(FLAGS_TO_PASS) check)
14949 @endif perl
14951 .PHONY: install-perl maybe-install-perl
14952 maybe-install-perl:
14953 @if perl
14954 maybe-install-perl: install-perl
14956 install-perl: installdirs
14957 @r=`${PWD_COMMAND}`; export r; \
14958 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14959 $(SET_LIB_PATH) \
14960 $(HOST_EXPORTS) \
14961 (cd perl && $(MAKE) $(FLAGS_TO_PASS) install)
14963 @endif perl
14965 # Other targets (info, dvi, etc.)
14967 .PHONY: maybe-info-perl info-perl
14968 maybe-info-perl:
14969 @if perl
14970 maybe-info-perl: info-perl
14972 info-perl: \
14973 configure-perl
14974 @[ -f ./perl/Makefile ] || exit 0; \
14975 r=`${PWD_COMMAND}`; export r; \
14976 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14977 $(SET_LIB_PATH) \
14978 $(HOST_EXPORTS) \
14979 for flag in $(EXTRA_HOST_FLAGS) ; do \
14980 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14981 done; \
14982 echo "Doing info in perl" ; \
14983 (cd perl && \
14984 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14985 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14986 "RANLIB=$${RANLIB}" \
14987 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14988 info) \
14989 || exit 1
14991 @endif perl
14993 .PHONY: maybe-dvi-perl dvi-perl
14994 maybe-dvi-perl:
14995 @if perl
14996 maybe-dvi-perl: dvi-perl
14998 dvi-perl: \
14999 configure-perl
15000 @[ -f ./perl/Makefile ] || exit 0; \
15001 r=`${PWD_COMMAND}`; export r; \
15002 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15003 $(SET_LIB_PATH) \
15004 $(HOST_EXPORTS) \
15005 for flag in $(EXTRA_HOST_FLAGS) ; do \
15006 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15007 done; \
15008 echo "Doing dvi in perl" ; \
15009 (cd perl && \
15010 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15011 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15012 "RANLIB=$${RANLIB}" \
15013 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15014 dvi) \
15015 || exit 1
15017 @endif perl
15019 .PHONY: maybe-TAGS-perl TAGS-perl
15020 maybe-TAGS-perl:
15021 @if perl
15022 maybe-TAGS-perl: TAGS-perl
15024 TAGS-perl: \
15025 configure-perl
15026 @[ -f ./perl/Makefile ] || exit 0; \
15027 r=`${PWD_COMMAND}`; export r; \
15028 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15029 $(SET_LIB_PATH) \
15030 $(HOST_EXPORTS) \
15031 for flag in $(EXTRA_HOST_FLAGS) ; do \
15032 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15033 done; \
15034 echo "Doing TAGS in perl" ; \
15035 (cd perl && \
15036 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15037 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15038 "RANLIB=$${RANLIB}" \
15039 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15040 TAGS) \
15041 || exit 1
15043 @endif perl
15045 .PHONY: maybe-install-info-perl install-info-perl
15046 maybe-install-info-perl:
15047 @if perl
15048 maybe-install-info-perl: install-info-perl
15050 install-info-perl: \
15051 configure-perl \
15052 info-perl
15053 @[ -f ./perl/Makefile ] || exit 0; \
15054 r=`${PWD_COMMAND}`; export r; \
15055 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15056 $(SET_LIB_PATH) \
15057 $(HOST_EXPORTS) \
15058 for flag in $(EXTRA_HOST_FLAGS) ; do \
15059 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15060 done; \
15061 echo "Doing install-info in perl" ; \
15062 (cd perl && \
15063 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15064 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15065 "RANLIB=$${RANLIB}" \
15066 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15067 install-info) \
15068 || exit 1
15070 @endif perl
15072 .PHONY: maybe-installcheck-perl installcheck-perl
15073 maybe-installcheck-perl:
15074 @if perl
15075 maybe-installcheck-perl: installcheck-perl
15077 installcheck-perl: \
15078 configure-perl
15079 @[ -f ./perl/Makefile ] || exit 0; \
15080 r=`${PWD_COMMAND}`; export r; \
15081 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15082 $(SET_LIB_PATH) \
15083 $(HOST_EXPORTS) \
15084 for flag in $(EXTRA_HOST_FLAGS) ; do \
15085 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15086 done; \
15087 echo "Doing installcheck in perl" ; \
15088 (cd perl && \
15089 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15090 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15091 "RANLIB=$${RANLIB}" \
15092 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15093 installcheck) \
15094 || exit 1
15096 @endif perl
15098 .PHONY: maybe-mostlyclean-perl mostlyclean-perl
15099 maybe-mostlyclean-perl:
15100 @if perl
15101 maybe-mostlyclean-perl: mostlyclean-perl
15103 mostlyclean-perl:
15104 @[ -f ./perl/Makefile ] || exit 0; \
15105 r=`${PWD_COMMAND}`; export r; \
15106 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15107 $(SET_LIB_PATH) \
15108 $(HOST_EXPORTS) \
15109 for flag in $(EXTRA_HOST_FLAGS) ; do \
15110 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15111 done; \
15112 echo "Doing mostlyclean in perl" ; \
15113 (cd perl && \
15114 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15115 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15116 "RANLIB=$${RANLIB}" \
15117 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15118 mostlyclean) \
15119 || exit 1
15121 @endif perl
15123 .PHONY: maybe-clean-perl clean-perl
15124 maybe-clean-perl:
15125 @if perl
15126 maybe-clean-perl: clean-perl
15128 clean-perl:
15129 @[ -f ./perl/Makefile ] || exit 0; \
15130 r=`${PWD_COMMAND}`; export r; \
15131 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15132 $(SET_LIB_PATH) \
15133 $(HOST_EXPORTS) \
15134 for flag in $(EXTRA_HOST_FLAGS) ; do \
15135 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15136 done; \
15137 echo "Doing clean in perl" ; \
15138 (cd perl && \
15139 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15140 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15141 "RANLIB=$${RANLIB}" \
15142 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15143 clean) \
15144 || exit 1
15146 @endif perl
15148 .PHONY: maybe-distclean-perl distclean-perl
15149 maybe-distclean-perl:
15150 @if perl
15151 maybe-distclean-perl: distclean-perl
15153 distclean-perl:
15154 @[ -f ./perl/Makefile ] || exit 0; \
15155 r=`${PWD_COMMAND}`; export r; \
15156 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15157 $(SET_LIB_PATH) \
15158 $(HOST_EXPORTS) \
15159 for flag in $(EXTRA_HOST_FLAGS) ; do \
15160 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15161 done; \
15162 echo "Doing distclean in perl" ; \
15163 (cd perl && \
15164 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15165 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15166 "RANLIB=$${RANLIB}" \
15167 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15168 distclean) \
15169 || exit 1
15171 @endif perl
15173 .PHONY: maybe-maintainer-clean-perl maintainer-clean-perl
15174 maybe-maintainer-clean-perl:
15175 @if perl
15176 maybe-maintainer-clean-perl: maintainer-clean-perl
15178 maintainer-clean-perl:
15179 @[ -f ./perl/Makefile ] || exit 0; \
15180 r=`${PWD_COMMAND}`; export r; \
15181 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15182 $(SET_LIB_PATH) \
15183 $(HOST_EXPORTS) \
15184 for flag in $(EXTRA_HOST_FLAGS) ; do \
15185 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15186 done; \
15187 echo "Doing maintainer-clean in perl" ; \
15188 (cd perl && \
15189 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15190 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15191 "RANLIB=$${RANLIB}" \
15192 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15193 maintainer-clean) \
15194 || exit 1
15196 @endif perl
15199 .PHONY: configure-prms maybe-configure-prms
15200 maybe-configure-prms:
15201 @if prms
15202 maybe-configure-prms: configure-prms
15203 configure-prms:
15204 @test ! -f prms/Makefile || exit 0; \
15205 [ -d prms ] || mkdir prms; \
15206 r=`${PWD_COMMAND}`; export r; \
15207 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15208 $(HOST_EXPORTS) \
15209 echo Configuring in prms; \
15210 cd prms || exit 1; \
15211 case $(srcdir) in \
15212 \.) \
15213 srcdiroption="--srcdir=."; \
15214 libsrcdir=".";; \
15215 /* | [A-Za-z]:[\\/]*) \
15216 srcdiroption="--srcdir=$(srcdir)/prms"; \
15217 libsrcdir="$$s/prms";; \
15218 *) \
15219 srcdiroption="--srcdir=../$(srcdir)/prms"; \
15220 libsrcdir="$$s/prms";; \
15221 esac; \
15222 $(SHELL) $${libsrcdir}/configure \
15223 $(HOST_CONFIGARGS) $${srcdiroption} \
15224 || exit 1
15225 @endif prms
15227 .PHONY: all-prms maybe-all-prms
15228 maybe-all-prms:
15229 @if prms
15230 maybe-all-prms: all-prms
15231 all-prms: configure-prms
15232 @r=`${PWD_COMMAND}`; export r; \
15233 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15234 $(SET_LIB_PATH) \
15235 $(HOST_EXPORTS) \
15236 (cd prms && $(MAKE) $(FLAGS_TO_PASS) all)
15237 @endif prms
15239 .PHONY: check-prms maybe-check-prms
15240 maybe-check-prms:
15241 @if prms
15242 maybe-check-prms: check-prms
15244 check-prms:
15245 @r=`${PWD_COMMAND}`; export r; \
15246 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15247 $(SET_LIB_PATH) \
15248 $(HOST_EXPORTS) \
15249 (cd prms && $(MAKE) $(FLAGS_TO_PASS) check)
15251 @endif prms
15253 .PHONY: install-prms maybe-install-prms
15254 maybe-install-prms:
15255 @if prms
15256 maybe-install-prms: install-prms
15258 install-prms: installdirs
15259 @r=`${PWD_COMMAND}`; export r; \
15260 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15261 $(SET_LIB_PATH) \
15262 $(HOST_EXPORTS) \
15263 (cd prms && $(MAKE) $(FLAGS_TO_PASS) install)
15265 @endif prms
15267 # Other targets (info, dvi, etc.)
15269 .PHONY: maybe-info-prms info-prms
15270 maybe-info-prms:
15271 @if prms
15272 maybe-info-prms: info-prms
15274 info-prms: \
15275 configure-prms
15276 @[ -f ./prms/Makefile ] || exit 0; \
15277 r=`${PWD_COMMAND}`; export r; \
15278 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15279 $(SET_LIB_PATH) \
15280 $(HOST_EXPORTS) \
15281 for flag in $(EXTRA_HOST_FLAGS) ; do \
15282 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15283 done; \
15284 echo "Doing info in prms" ; \
15285 (cd prms && \
15286 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15287 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15288 "RANLIB=$${RANLIB}" \
15289 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15290 info) \
15291 || exit 1
15293 @endif prms
15295 .PHONY: maybe-dvi-prms dvi-prms
15296 maybe-dvi-prms:
15297 @if prms
15298 maybe-dvi-prms: dvi-prms
15300 dvi-prms: \
15301 configure-prms
15302 @[ -f ./prms/Makefile ] || exit 0; \
15303 r=`${PWD_COMMAND}`; export r; \
15304 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15305 $(SET_LIB_PATH) \
15306 $(HOST_EXPORTS) \
15307 for flag in $(EXTRA_HOST_FLAGS) ; do \
15308 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15309 done; \
15310 echo "Doing dvi in prms" ; \
15311 (cd prms && \
15312 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15313 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15314 "RANLIB=$${RANLIB}" \
15315 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15316 dvi) \
15317 || exit 1
15319 @endif prms
15321 .PHONY: maybe-TAGS-prms TAGS-prms
15322 maybe-TAGS-prms:
15323 @if prms
15324 maybe-TAGS-prms: TAGS-prms
15326 TAGS-prms: \
15327 configure-prms
15328 @[ -f ./prms/Makefile ] || exit 0; \
15329 r=`${PWD_COMMAND}`; export r; \
15330 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15331 $(SET_LIB_PATH) \
15332 $(HOST_EXPORTS) \
15333 for flag in $(EXTRA_HOST_FLAGS) ; do \
15334 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15335 done; \
15336 echo "Doing TAGS in prms" ; \
15337 (cd prms && \
15338 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15339 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15340 "RANLIB=$${RANLIB}" \
15341 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15342 TAGS) \
15343 || exit 1
15345 @endif prms
15347 .PHONY: maybe-install-info-prms install-info-prms
15348 maybe-install-info-prms:
15349 @if prms
15350 maybe-install-info-prms: install-info-prms
15352 install-info-prms: \
15353 configure-prms \
15354 info-prms
15355 @[ -f ./prms/Makefile ] || exit 0; \
15356 r=`${PWD_COMMAND}`; export r; \
15357 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15358 $(SET_LIB_PATH) \
15359 $(HOST_EXPORTS) \
15360 for flag in $(EXTRA_HOST_FLAGS) ; do \
15361 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15362 done; \
15363 echo "Doing install-info in prms" ; \
15364 (cd prms && \
15365 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15366 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15367 "RANLIB=$${RANLIB}" \
15368 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15369 install-info) \
15370 || exit 1
15372 @endif prms
15374 .PHONY: maybe-installcheck-prms installcheck-prms
15375 maybe-installcheck-prms:
15376 @if prms
15377 maybe-installcheck-prms: installcheck-prms
15379 installcheck-prms: \
15380 configure-prms
15381 @[ -f ./prms/Makefile ] || exit 0; \
15382 r=`${PWD_COMMAND}`; export r; \
15383 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15384 $(SET_LIB_PATH) \
15385 $(HOST_EXPORTS) \
15386 for flag in $(EXTRA_HOST_FLAGS) ; do \
15387 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15388 done; \
15389 echo "Doing installcheck in prms" ; \
15390 (cd prms && \
15391 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15392 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15393 "RANLIB=$${RANLIB}" \
15394 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15395 installcheck) \
15396 || exit 1
15398 @endif prms
15400 .PHONY: maybe-mostlyclean-prms mostlyclean-prms
15401 maybe-mostlyclean-prms:
15402 @if prms
15403 maybe-mostlyclean-prms: mostlyclean-prms
15405 mostlyclean-prms:
15406 @[ -f ./prms/Makefile ] || exit 0; \
15407 r=`${PWD_COMMAND}`; export r; \
15408 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15409 $(SET_LIB_PATH) \
15410 $(HOST_EXPORTS) \
15411 for flag in $(EXTRA_HOST_FLAGS) ; do \
15412 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15413 done; \
15414 echo "Doing mostlyclean in prms" ; \
15415 (cd prms && \
15416 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15417 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15418 "RANLIB=$${RANLIB}" \
15419 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15420 mostlyclean) \
15421 || exit 1
15423 @endif prms
15425 .PHONY: maybe-clean-prms clean-prms
15426 maybe-clean-prms:
15427 @if prms
15428 maybe-clean-prms: clean-prms
15430 clean-prms:
15431 @[ -f ./prms/Makefile ] || exit 0; \
15432 r=`${PWD_COMMAND}`; export r; \
15433 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15434 $(SET_LIB_PATH) \
15435 $(HOST_EXPORTS) \
15436 for flag in $(EXTRA_HOST_FLAGS) ; do \
15437 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15438 done; \
15439 echo "Doing clean in prms" ; \
15440 (cd prms && \
15441 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15442 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15443 "RANLIB=$${RANLIB}" \
15444 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15445 clean) \
15446 || exit 1
15448 @endif prms
15450 .PHONY: maybe-distclean-prms distclean-prms
15451 maybe-distclean-prms:
15452 @if prms
15453 maybe-distclean-prms: distclean-prms
15455 distclean-prms:
15456 @[ -f ./prms/Makefile ] || exit 0; \
15457 r=`${PWD_COMMAND}`; export r; \
15458 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15459 $(SET_LIB_PATH) \
15460 $(HOST_EXPORTS) \
15461 for flag in $(EXTRA_HOST_FLAGS) ; do \
15462 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15463 done; \
15464 echo "Doing distclean in prms" ; \
15465 (cd prms && \
15466 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15467 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15468 "RANLIB=$${RANLIB}" \
15469 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15470 distclean) \
15471 || exit 1
15473 @endif prms
15475 .PHONY: maybe-maintainer-clean-prms maintainer-clean-prms
15476 maybe-maintainer-clean-prms:
15477 @if prms
15478 maybe-maintainer-clean-prms: maintainer-clean-prms
15480 maintainer-clean-prms:
15481 @[ -f ./prms/Makefile ] || exit 0; \
15482 r=`${PWD_COMMAND}`; export r; \
15483 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15484 $(SET_LIB_PATH) \
15485 $(HOST_EXPORTS) \
15486 for flag in $(EXTRA_HOST_FLAGS) ; do \
15487 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15488 done; \
15489 echo "Doing maintainer-clean in prms" ; \
15490 (cd prms && \
15491 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15492 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15493 "RANLIB=$${RANLIB}" \
15494 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15495 maintainer-clean) \
15496 || exit 1
15498 @endif prms
15501 .PHONY: configure-rcs maybe-configure-rcs
15502 maybe-configure-rcs:
15503 @if rcs
15504 maybe-configure-rcs: configure-rcs
15505 configure-rcs:
15506 @test ! -f rcs/Makefile || exit 0; \
15507 [ -d rcs ] || mkdir rcs; \
15508 r=`${PWD_COMMAND}`; export r; \
15509 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15510 $(HOST_EXPORTS) \
15511 echo Configuring in rcs; \
15512 cd rcs || exit 1; \
15513 case $(srcdir) in \
15514 \.) \
15515 srcdiroption="--srcdir=."; \
15516 libsrcdir=".";; \
15517 /* | [A-Za-z]:[\\/]*) \
15518 srcdiroption="--srcdir=$(srcdir)/rcs"; \
15519 libsrcdir="$$s/rcs";; \
15520 *) \
15521 srcdiroption="--srcdir=../$(srcdir)/rcs"; \
15522 libsrcdir="$$s/rcs";; \
15523 esac; \
15524 $(SHELL) $${libsrcdir}/configure \
15525 $(HOST_CONFIGARGS) $${srcdiroption} \
15526 || exit 1
15527 @endif rcs
15529 .PHONY: all-rcs maybe-all-rcs
15530 maybe-all-rcs:
15531 @if rcs
15532 maybe-all-rcs: all-rcs
15533 all-rcs: configure-rcs
15534 @r=`${PWD_COMMAND}`; export r; \
15535 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15536 $(SET_LIB_PATH) \
15537 $(HOST_EXPORTS) \
15538 (cd rcs && $(MAKE) $(FLAGS_TO_PASS) all)
15539 @endif rcs
15541 .PHONY: check-rcs maybe-check-rcs
15542 maybe-check-rcs:
15543 @if rcs
15544 maybe-check-rcs: check-rcs
15546 check-rcs:
15547 @r=`${PWD_COMMAND}`; export r; \
15548 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15549 $(SET_LIB_PATH) \
15550 $(HOST_EXPORTS) \
15551 (cd rcs && $(MAKE) $(FLAGS_TO_PASS) check)
15553 @endif rcs
15555 .PHONY: install-rcs maybe-install-rcs
15556 maybe-install-rcs:
15557 @if rcs
15558 maybe-install-rcs: install-rcs
15560 install-rcs: installdirs
15561 @r=`${PWD_COMMAND}`; export r; \
15562 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15563 $(SET_LIB_PATH) \
15564 $(HOST_EXPORTS) \
15565 (cd rcs && $(MAKE) $(FLAGS_TO_PASS) install)
15567 @endif rcs
15569 # Other targets (info, dvi, etc.)
15571 .PHONY: maybe-info-rcs info-rcs
15572 maybe-info-rcs:
15573 @if rcs
15574 maybe-info-rcs: info-rcs
15576 info-rcs: \
15577 configure-rcs
15578 @[ -f ./rcs/Makefile ] || exit 0; \
15579 r=`${PWD_COMMAND}`; export r; \
15580 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15581 $(SET_LIB_PATH) \
15582 $(HOST_EXPORTS) \
15583 for flag in $(EXTRA_HOST_FLAGS) ; do \
15584 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15585 done; \
15586 echo "Doing info in rcs" ; \
15587 (cd rcs && \
15588 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15589 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15590 "RANLIB=$${RANLIB}" \
15591 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15592 info) \
15593 || exit 1
15595 @endif rcs
15597 .PHONY: maybe-dvi-rcs dvi-rcs
15598 maybe-dvi-rcs:
15599 @if rcs
15600 maybe-dvi-rcs: dvi-rcs
15602 dvi-rcs: \
15603 configure-rcs
15604 @[ -f ./rcs/Makefile ] || exit 0; \
15605 r=`${PWD_COMMAND}`; export r; \
15606 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15607 $(SET_LIB_PATH) \
15608 $(HOST_EXPORTS) \
15609 for flag in $(EXTRA_HOST_FLAGS) ; do \
15610 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15611 done; \
15612 echo "Doing dvi in rcs" ; \
15613 (cd rcs && \
15614 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15615 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15616 "RANLIB=$${RANLIB}" \
15617 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15618 dvi) \
15619 || exit 1
15621 @endif rcs
15623 .PHONY: maybe-TAGS-rcs TAGS-rcs
15624 maybe-TAGS-rcs:
15625 @if rcs
15626 maybe-TAGS-rcs: TAGS-rcs
15628 TAGS-rcs: \
15629 configure-rcs
15630 @[ -f ./rcs/Makefile ] || exit 0; \
15631 r=`${PWD_COMMAND}`; export r; \
15632 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15633 $(SET_LIB_PATH) \
15634 $(HOST_EXPORTS) \
15635 for flag in $(EXTRA_HOST_FLAGS) ; do \
15636 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15637 done; \
15638 echo "Doing TAGS in rcs" ; \
15639 (cd rcs && \
15640 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15641 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15642 "RANLIB=$${RANLIB}" \
15643 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15644 TAGS) \
15645 || exit 1
15647 @endif rcs
15649 .PHONY: maybe-install-info-rcs install-info-rcs
15650 maybe-install-info-rcs:
15651 @if rcs
15652 maybe-install-info-rcs: install-info-rcs
15654 install-info-rcs: \
15655 configure-rcs \
15656 info-rcs
15657 @[ -f ./rcs/Makefile ] || exit 0; \
15658 r=`${PWD_COMMAND}`; export r; \
15659 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15660 $(SET_LIB_PATH) \
15661 $(HOST_EXPORTS) \
15662 for flag in $(EXTRA_HOST_FLAGS) ; do \
15663 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15664 done; \
15665 echo "Doing install-info in rcs" ; \
15666 (cd rcs && \
15667 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15668 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15669 "RANLIB=$${RANLIB}" \
15670 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15671 install-info) \
15672 || exit 1
15674 @endif rcs
15676 .PHONY: maybe-installcheck-rcs installcheck-rcs
15677 maybe-installcheck-rcs:
15678 @if rcs
15679 maybe-installcheck-rcs: installcheck-rcs
15681 installcheck-rcs: \
15682 configure-rcs
15683 @[ -f ./rcs/Makefile ] || exit 0; \
15684 r=`${PWD_COMMAND}`; export r; \
15685 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15686 $(SET_LIB_PATH) \
15687 $(HOST_EXPORTS) \
15688 for flag in $(EXTRA_HOST_FLAGS) ; do \
15689 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15690 done; \
15691 echo "Doing installcheck in rcs" ; \
15692 (cd rcs && \
15693 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15694 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15695 "RANLIB=$${RANLIB}" \
15696 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15697 installcheck) \
15698 || exit 1
15700 @endif rcs
15702 .PHONY: maybe-mostlyclean-rcs mostlyclean-rcs
15703 maybe-mostlyclean-rcs:
15704 @if rcs
15705 maybe-mostlyclean-rcs: mostlyclean-rcs
15707 mostlyclean-rcs:
15708 @[ -f ./rcs/Makefile ] || exit 0; \
15709 r=`${PWD_COMMAND}`; export r; \
15710 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15711 $(SET_LIB_PATH) \
15712 $(HOST_EXPORTS) \
15713 for flag in $(EXTRA_HOST_FLAGS) ; do \
15714 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15715 done; \
15716 echo "Doing mostlyclean in rcs" ; \
15717 (cd rcs && \
15718 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15719 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15720 "RANLIB=$${RANLIB}" \
15721 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15722 mostlyclean) \
15723 || exit 1
15725 @endif rcs
15727 .PHONY: maybe-clean-rcs clean-rcs
15728 maybe-clean-rcs:
15729 @if rcs
15730 maybe-clean-rcs: clean-rcs
15732 clean-rcs:
15733 @[ -f ./rcs/Makefile ] || exit 0; \
15734 r=`${PWD_COMMAND}`; export r; \
15735 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15736 $(SET_LIB_PATH) \
15737 $(HOST_EXPORTS) \
15738 for flag in $(EXTRA_HOST_FLAGS) ; do \
15739 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15740 done; \
15741 echo "Doing clean in rcs" ; \
15742 (cd rcs && \
15743 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15744 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15745 "RANLIB=$${RANLIB}" \
15746 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15747 clean) \
15748 || exit 1
15750 @endif rcs
15752 .PHONY: maybe-distclean-rcs distclean-rcs
15753 maybe-distclean-rcs:
15754 @if rcs
15755 maybe-distclean-rcs: distclean-rcs
15757 distclean-rcs:
15758 @[ -f ./rcs/Makefile ] || exit 0; \
15759 r=`${PWD_COMMAND}`; export r; \
15760 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15761 $(SET_LIB_PATH) \
15762 $(HOST_EXPORTS) \
15763 for flag in $(EXTRA_HOST_FLAGS) ; do \
15764 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15765 done; \
15766 echo "Doing distclean in rcs" ; \
15767 (cd rcs && \
15768 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15769 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15770 "RANLIB=$${RANLIB}" \
15771 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15772 distclean) \
15773 || exit 1
15775 @endif rcs
15777 .PHONY: maybe-maintainer-clean-rcs maintainer-clean-rcs
15778 maybe-maintainer-clean-rcs:
15779 @if rcs
15780 maybe-maintainer-clean-rcs: maintainer-clean-rcs
15782 maintainer-clean-rcs:
15783 @[ -f ./rcs/Makefile ] || exit 0; \
15784 r=`${PWD_COMMAND}`; export r; \
15785 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15786 $(SET_LIB_PATH) \
15787 $(HOST_EXPORTS) \
15788 for flag in $(EXTRA_HOST_FLAGS) ; do \
15789 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15790 done; \
15791 echo "Doing maintainer-clean in rcs" ; \
15792 (cd rcs && \
15793 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15794 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15795 "RANLIB=$${RANLIB}" \
15796 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15797 maintainer-clean) \
15798 || exit 1
15800 @endif rcs
15803 .PHONY: configure-readline maybe-configure-readline
15804 maybe-configure-readline:
15805 @if readline
15806 maybe-configure-readline: configure-readline
15807 configure-readline:
15808 @test ! -f readline/Makefile || exit 0; \
15809 [ -d readline ] || mkdir readline; \
15810 r=`${PWD_COMMAND}`; export r; \
15811 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15812 $(HOST_EXPORTS) \
15813 echo Configuring in readline; \
15814 cd readline || exit 1; \
15815 case $(srcdir) in \
15816 \.) \
15817 srcdiroption="--srcdir=."; \
15818 libsrcdir=".";; \
15819 /* | [A-Za-z]:[\\/]*) \
15820 srcdiroption="--srcdir=$(srcdir)/readline"; \
15821 libsrcdir="$$s/readline";; \
15822 *) \
15823 srcdiroption="--srcdir=../$(srcdir)/readline"; \
15824 libsrcdir="$$s/readline";; \
15825 esac; \
15826 $(SHELL) $${libsrcdir}/configure \
15827 $(HOST_CONFIGARGS) $${srcdiroption} \
15828 || exit 1
15829 @endif readline
15831 .PHONY: all-readline maybe-all-readline
15832 maybe-all-readline:
15833 @if readline
15834 maybe-all-readline: all-readline
15835 all-readline: configure-readline
15836 @r=`${PWD_COMMAND}`; export r; \
15837 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15838 $(SET_LIB_PATH) \
15839 $(HOST_EXPORTS) \
15840 (cd readline && $(MAKE) $(FLAGS_TO_PASS) all)
15841 @endif readline
15843 .PHONY: check-readline maybe-check-readline
15844 maybe-check-readline:
15845 @if readline
15846 maybe-check-readline: check-readline
15848 check-readline:
15849 @r=`${PWD_COMMAND}`; export r; \
15850 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15851 $(SET_LIB_PATH) \
15852 $(HOST_EXPORTS) \
15853 (cd readline && $(MAKE) $(FLAGS_TO_PASS) check)
15855 @endif readline
15857 .PHONY: install-readline maybe-install-readline
15858 maybe-install-readline:
15859 @if readline
15860 maybe-install-readline: install-readline
15862 install-readline: installdirs
15863 @r=`${PWD_COMMAND}`; export r; \
15864 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15865 $(SET_LIB_PATH) \
15866 $(HOST_EXPORTS) \
15867 (cd readline && $(MAKE) $(FLAGS_TO_PASS) install)
15869 @endif readline
15871 # Other targets (info, dvi, etc.)
15873 .PHONY: maybe-info-readline info-readline
15874 maybe-info-readline:
15875 @if readline
15876 maybe-info-readline: info-readline
15878 info-readline: \
15879 configure-readline
15880 @[ -f ./readline/Makefile ] || exit 0; \
15881 r=`${PWD_COMMAND}`; export r; \
15882 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15883 $(SET_LIB_PATH) \
15884 $(HOST_EXPORTS) \
15885 for flag in $(EXTRA_HOST_FLAGS) ; do \
15886 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15887 done; \
15888 echo "Doing info in readline" ; \
15889 (cd readline && \
15890 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15891 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15892 "RANLIB=$${RANLIB}" \
15893 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15894 info) \
15895 || exit 1
15897 @endif readline
15899 .PHONY: maybe-dvi-readline dvi-readline
15900 maybe-dvi-readline:
15901 @if readline
15902 maybe-dvi-readline: dvi-readline
15904 dvi-readline: \
15905 configure-readline
15906 @[ -f ./readline/Makefile ] || exit 0; \
15907 r=`${PWD_COMMAND}`; export r; \
15908 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15909 $(SET_LIB_PATH) \
15910 $(HOST_EXPORTS) \
15911 for flag in $(EXTRA_HOST_FLAGS) ; do \
15912 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15913 done; \
15914 echo "Doing dvi in readline" ; \
15915 (cd readline && \
15916 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15917 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15918 "RANLIB=$${RANLIB}" \
15919 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15920 dvi) \
15921 || exit 1
15923 @endif readline
15925 .PHONY: maybe-TAGS-readline TAGS-readline
15926 maybe-TAGS-readline:
15927 @if readline
15928 maybe-TAGS-readline: TAGS-readline
15930 TAGS-readline: \
15931 configure-readline
15932 @[ -f ./readline/Makefile ] || exit 0; \
15933 r=`${PWD_COMMAND}`; export r; \
15934 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15935 $(SET_LIB_PATH) \
15936 $(HOST_EXPORTS) \
15937 for flag in $(EXTRA_HOST_FLAGS) ; do \
15938 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15939 done; \
15940 echo "Doing TAGS in readline" ; \
15941 (cd readline && \
15942 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15943 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15944 "RANLIB=$${RANLIB}" \
15945 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15946 TAGS) \
15947 || exit 1
15949 @endif readline
15951 .PHONY: maybe-install-info-readline install-info-readline
15952 maybe-install-info-readline:
15953 @if readline
15954 maybe-install-info-readline: install-info-readline
15956 install-info-readline: \
15957 configure-readline \
15958 info-readline
15959 @[ -f ./readline/Makefile ] || exit 0; \
15960 r=`${PWD_COMMAND}`; export r; \
15961 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15962 $(SET_LIB_PATH) \
15963 $(HOST_EXPORTS) \
15964 for flag in $(EXTRA_HOST_FLAGS) ; do \
15965 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15966 done; \
15967 echo "Doing install-info in readline" ; \
15968 (cd readline && \
15969 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15970 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15971 "RANLIB=$${RANLIB}" \
15972 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15973 install-info) \
15974 || exit 1
15976 @endif readline
15978 .PHONY: maybe-installcheck-readline installcheck-readline
15979 maybe-installcheck-readline:
15980 @if readline
15981 maybe-installcheck-readline: installcheck-readline
15983 installcheck-readline: \
15984 configure-readline
15985 @[ -f ./readline/Makefile ] || exit 0; \
15986 r=`${PWD_COMMAND}`; export r; \
15987 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15988 $(SET_LIB_PATH) \
15989 $(HOST_EXPORTS) \
15990 for flag in $(EXTRA_HOST_FLAGS) ; do \
15991 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15992 done; \
15993 echo "Doing installcheck in readline" ; \
15994 (cd readline && \
15995 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15996 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15997 "RANLIB=$${RANLIB}" \
15998 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15999 installcheck) \
16000 || exit 1
16002 @endif readline
16004 .PHONY: maybe-mostlyclean-readline mostlyclean-readline
16005 maybe-mostlyclean-readline:
16006 @if readline
16007 maybe-mostlyclean-readline: mostlyclean-readline
16009 mostlyclean-readline:
16010 @[ -f ./readline/Makefile ] || exit 0; \
16011 r=`${PWD_COMMAND}`; export r; \
16012 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16013 $(SET_LIB_PATH) \
16014 $(HOST_EXPORTS) \
16015 for flag in $(EXTRA_HOST_FLAGS) ; do \
16016 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16017 done; \
16018 echo "Doing mostlyclean in readline" ; \
16019 (cd readline && \
16020 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16021 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16022 "RANLIB=$${RANLIB}" \
16023 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16024 mostlyclean) \
16025 || exit 1
16027 @endif readline
16029 .PHONY: maybe-clean-readline clean-readline
16030 maybe-clean-readline:
16031 @if readline
16032 maybe-clean-readline: clean-readline
16034 clean-readline:
16035 @[ -f ./readline/Makefile ] || exit 0; \
16036 r=`${PWD_COMMAND}`; export r; \
16037 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16038 $(SET_LIB_PATH) \
16039 $(HOST_EXPORTS) \
16040 for flag in $(EXTRA_HOST_FLAGS) ; do \
16041 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16042 done; \
16043 echo "Doing clean in readline" ; \
16044 (cd readline && \
16045 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16046 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16047 "RANLIB=$${RANLIB}" \
16048 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16049 clean) \
16050 || exit 1
16052 @endif readline
16054 .PHONY: maybe-distclean-readline distclean-readline
16055 maybe-distclean-readline:
16056 @if readline
16057 maybe-distclean-readline: distclean-readline
16059 distclean-readline:
16060 @[ -f ./readline/Makefile ] || exit 0; \
16061 r=`${PWD_COMMAND}`; export r; \
16062 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16063 $(SET_LIB_PATH) \
16064 $(HOST_EXPORTS) \
16065 for flag in $(EXTRA_HOST_FLAGS) ; do \
16066 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16067 done; \
16068 echo "Doing distclean in readline" ; \
16069 (cd readline && \
16070 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16071 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16072 "RANLIB=$${RANLIB}" \
16073 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16074 distclean) \
16075 || exit 1
16077 @endif readline
16079 .PHONY: maybe-maintainer-clean-readline maintainer-clean-readline
16080 maybe-maintainer-clean-readline:
16081 @if readline
16082 maybe-maintainer-clean-readline: maintainer-clean-readline
16084 maintainer-clean-readline:
16085 @[ -f ./readline/Makefile ] || exit 0; \
16086 r=`${PWD_COMMAND}`; export r; \
16087 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16088 $(SET_LIB_PATH) \
16089 $(HOST_EXPORTS) \
16090 for flag in $(EXTRA_HOST_FLAGS) ; do \
16091 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16092 done; \
16093 echo "Doing maintainer-clean in readline" ; \
16094 (cd readline && \
16095 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16096 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16097 "RANLIB=$${RANLIB}" \
16098 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16099 maintainer-clean) \
16100 || exit 1
16102 @endif readline
16105 .PHONY: configure-release maybe-configure-release
16106 maybe-configure-release:
16107 @if release
16108 maybe-configure-release: configure-release
16109 configure-release:
16110 @test ! -f release/Makefile || exit 0; \
16111 [ -d release ] || mkdir release; \
16112 r=`${PWD_COMMAND}`; export r; \
16113 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16114 $(HOST_EXPORTS) \
16115 echo Configuring in release; \
16116 cd release || exit 1; \
16117 case $(srcdir) in \
16118 \.) \
16119 srcdiroption="--srcdir=."; \
16120 libsrcdir=".";; \
16121 /* | [A-Za-z]:[\\/]*) \
16122 srcdiroption="--srcdir=$(srcdir)/release"; \
16123 libsrcdir="$$s/release";; \
16124 *) \
16125 srcdiroption="--srcdir=../$(srcdir)/release"; \
16126 libsrcdir="$$s/release";; \
16127 esac; \
16128 $(SHELL) $${libsrcdir}/configure \
16129 $(HOST_CONFIGARGS) $${srcdiroption} \
16130 || exit 1
16131 @endif release
16133 .PHONY: all-release maybe-all-release
16134 maybe-all-release:
16135 @if release
16136 maybe-all-release: all-release
16137 all-release: configure-release
16138 @r=`${PWD_COMMAND}`; export r; \
16139 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16140 $(SET_LIB_PATH) \
16141 $(HOST_EXPORTS) \
16142 (cd release && $(MAKE) $(FLAGS_TO_PASS) all)
16143 @endif release
16145 .PHONY: check-release maybe-check-release
16146 maybe-check-release:
16147 @if release
16148 maybe-check-release: check-release
16150 check-release:
16152 @endif release
16154 .PHONY: install-release maybe-install-release
16155 maybe-install-release:
16156 @if release
16157 maybe-install-release: install-release
16159 install-release:
16161 @endif release
16163 # Other targets (info, dvi, etc.)
16165 .PHONY: maybe-info-release info-release
16166 maybe-info-release:
16167 @if release
16168 maybe-info-release: info-release
16170 info-release: \
16171 configure-release
16172 @[ -f ./release/Makefile ] || exit 0; \
16173 r=`${PWD_COMMAND}`; export r; \
16174 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16175 $(SET_LIB_PATH) \
16176 $(HOST_EXPORTS) \
16177 for flag in $(EXTRA_HOST_FLAGS) ; do \
16178 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16179 done; \
16180 echo "Doing info in release" ; \
16181 (cd release && \
16182 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16183 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16184 "RANLIB=$${RANLIB}" \
16185 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16186 info) \
16187 || exit 1
16189 @endif release
16191 .PHONY: maybe-dvi-release dvi-release
16192 maybe-dvi-release:
16193 @if release
16194 maybe-dvi-release: dvi-release
16196 dvi-release: \
16197 configure-release
16198 @[ -f ./release/Makefile ] || exit 0; \
16199 r=`${PWD_COMMAND}`; export r; \
16200 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16201 $(SET_LIB_PATH) \
16202 $(HOST_EXPORTS) \
16203 for flag in $(EXTRA_HOST_FLAGS) ; do \
16204 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16205 done; \
16206 echo "Doing dvi in release" ; \
16207 (cd release && \
16208 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16209 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16210 "RANLIB=$${RANLIB}" \
16211 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16212 dvi) \
16213 || exit 1
16215 @endif release
16217 .PHONY: maybe-TAGS-release TAGS-release
16218 maybe-TAGS-release:
16219 @if release
16220 maybe-TAGS-release: TAGS-release
16222 TAGS-release: \
16223 configure-release
16224 @[ -f ./release/Makefile ] || exit 0; \
16225 r=`${PWD_COMMAND}`; export r; \
16226 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16227 $(SET_LIB_PATH) \
16228 $(HOST_EXPORTS) \
16229 for flag in $(EXTRA_HOST_FLAGS) ; do \
16230 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16231 done; \
16232 echo "Doing TAGS in release" ; \
16233 (cd release && \
16234 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16235 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16236 "RANLIB=$${RANLIB}" \
16237 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16238 TAGS) \
16239 || exit 1
16241 @endif release
16243 .PHONY: maybe-install-info-release install-info-release
16244 maybe-install-info-release:
16245 @if release
16246 maybe-install-info-release: install-info-release
16248 install-info-release: \
16249 configure-release \
16250 info-release
16251 @[ -f ./release/Makefile ] || exit 0; \
16252 r=`${PWD_COMMAND}`; export r; \
16253 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16254 $(SET_LIB_PATH) \
16255 $(HOST_EXPORTS) \
16256 for flag in $(EXTRA_HOST_FLAGS) ; do \
16257 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16258 done; \
16259 echo "Doing install-info in release" ; \
16260 (cd release && \
16261 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16262 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16263 "RANLIB=$${RANLIB}" \
16264 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16265 install-info) \
16266 || exit 1
16268 @endif release
16270 .PHONY: maybe-installcheck-release installcheck-release
16271 maybe-installcheck-release:
16272 @if release
16273 maybe-installcheck-release: installcheck-release
16275 installcheck-release: \
16276 configure-release
16277 @[ -f ./release/Makefile ] || exit 0; \
16278 r=`${PWD_COMMAND}`; export r; \
16279 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16280 $(SET_LIB_PATH) \
16281 $(HOST_EXPORTS) \
16282 for flag in $(EXTRA_HOST_FLAGS) ; do \
16283 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16284 done; \
16285 echo "Doing installcheck in release" ; \
16286 (cd release && \
16287 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16288 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16289 "RANLIB=$${RANLIB}" \
16290 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16291 installcheck) \
16292 || exit 1
16294 @endif release
16296 .PHONY: maybe-mostlyclean-release mostlyclean-release
16297 maybe-mostlyclean-release:
16298 @if release
16299 maybe-mostlyclean-release: mostlyclean-release
16301 mostlyclean-release:
16302 @[ -f ./release/Makefile ] || exit 0; \
16303 r=`${PWD_COMMAND}`; export r; \
16304 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16305 $(SET_LIB_PATH) \
16306 $(HOST_EXPORTS) \
16307 for flag in $(EXTRA_HOST_FLAGS) ; do \
16308 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16309 done; \
16310 echo "Doing mostlyclean in release" ; \
16311 (cd release && \
16312 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16313 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16314 "RANLIB=$${RANLIB}" \
16315 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16316 mostlyclean) \
16317 || exit 1
16319 @endif release
16321 .PHONY: maybe-clean-release clean-release
16322 maybe-clean-release:
16323 @if release
16324 maybe-clean-release: clean-release
16326 clean-release:
16327 @[ -f ./release/Makefile ] || exit 0; \
16328 r=`${PWD_COMMAND}`; export r; \
16329 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16330 $(SET_LIB_PATH) \
16331 $(HOST_EXPORTS) \
16332 for flag in $(EXTRA_HOST_FLAGS) ; do \
16333 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16334 done; \
16335 echo "Doing clean in release" ; \
16336 (cd release && \
16337 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16338 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16339 "RANLIB=$${RANLIB}" \
16340 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16341 clean) \
16342 || exit 1
16344 @endif release
16346 .PHONY: maybe-distclean-release distclean-release
16347 maybe-distclean-release:
16348 @if release
16349 maybe-distclean-release: distclean-release
16351 distclean-release:
16352 @[ -f ./release/Makefile ] || exit 0; \
16353 r=`${PWD_COMMAND}`; export r; \
16354 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16355 $(SET_LIB_PATH) \
16356 $(HOST_EXPORTS) \
16357 for flag in $(EXTRA_HOST_FLAGS) ; do \
16358 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16359 done; \
16360 echo "Doing distclean in release" ; \
16361 (cd release && \
16362 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16363 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16364 "RANLIB=$${RANLIB}" \
16365 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16366 distclean) \
16367 || exit 1
16369 @endif release
16371 .PHONY: maybe-maintainer-clean-release maintainer-clean-release
16372 maybe-maintainer-clean-release:
16373 @if release
16374 maybe-maintainer-clean-release: maintainer-clean-release
16376 maintainer-clean-release:
16377 @[ -f ./release/Makefile ] || exit 0; \
16378 r=`${PWD_COMMAND}`; export r; \
16379 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16380 $(SET_LIB_PATH) \
16381 $(HOST_EXPORTS) \
16382 for flag in $(EXTRA_HOST_FLAGS) ; do \
16383 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16384 done; \
16385 echo "Doing maintainer-clean in release" ; \
16386 (cd release && \
16387 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16388 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16389 "RANLIB=$${RANLIB}" \
16390 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16391 maintainer-clean) \
16392 || exit 1
16394 @endif release
16397 .PHONY: configure-recode maybe-configure-recode
16398 maybe-configure-recode:
16399 @if recode
16400 maybe-configure-recode: configure-recode
16401 configure-recode:
16402 @test ! -f recode/Makefile || exit 0; \
16403 [ -d recode ] || mkdir recode; \
16404 r=`${PWD_COMMAND}`; export r; \
16405 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16406 $(HOST_EXPORTS) \
16407 echo Configuring in recode; \
16408 cd recode || exit 1; \
16409 case $(srcdir) in \
16410 \.) \
16411 srcdiroption="--srcdir=."; \
16412 libsrcdir=".";; \
16413 /* | [A-Za-z]:[\\/]*) \
16414 srcdiroption="--srcdir=$(srcdir)/recode"; \
16415 libsrcdir="$$s/recode";; \
16416 *) \
16417 srcdiroption="--srcdir=../$(srcdir)/recode"; \
16418 libsrcdir="$$s/recode";; \
16419 esac; \
16420 $(SHELL) $${libsrcdir}/configure \
16421 $(HOST_CONFIGARGS) $${srcdiroption} \
16422 || exit 1
16423 @endif recode
16425 .PHONY: all-recode maybe-all-recode
16426 maybe-all-recode:
16427 @if recode
16428 maybe-all-recode: all-recode
16429 all-recode: configure-recode
16430 @r=`${PWD_COMMAND}`; export r; \
16431 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16432 $(SET_LIB_PATH) \
16433 $(HOST_EXPORTS) \
16434 (cd recode && $(MAKE) $(FLAGS_TO_PASS) all)
16435 @endif recode
16437 .PHONY: check-recode maybe-check-recode
16438 maybe-check-recode:
16439 @if recode
16440 maybe-check-recode: check-recode
16442 check-recode:
16443 @r=`${PWD_COMMAND}`; export r; \
16444 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16445 $(SET_LIB_PATH) \
16446 $(HOST_EXPORTS) \
16447 (cd recode && $(MAKE) $(FLAGS_TO_PASS) check)
16449 @endif recode
16451 .PHONY: install-recode maybe-install-recode
16452 maybe-install-recode:
16453 @if recode
16454 maybe-install-recode: install-recode
16456 install-recode: installdirs
16457 @r=`${PWD_COMMAND}`; export r; \
16458 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16459 $(SET_LIB_PATH) \
16460 $(HOST_EXPORTS) \
16461 (cd recode && $(MAKE) $(FLAGS_TO_PASS) install)
16463 @endif recode
16465 # Other targets (info, dvi, etc.)
16467 .PHONY: maybe-info-recode info-recode
16468 maybe-info-recode:
16469 @if recode
16470 maybe-info-recode: info-recode
16472 info-recode: \
16473 configure-recode
16474 @[ -f ./recode/Makefile ] || exit 0; \
16475 r=`${PWD_COMMAND}`; export r; \
16476 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16477 $(SET_LIB_PATH) \
16478 $(HOST_EXPORTS) \
16479 for flag in $(EXTRA_HOST_FLAGS) ; do \
16480 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16481 done; \
16482 echo "Doing info in recode" ; \
16483 (cd recode && \
16484 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16485 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16486 "RANLIB=$${RANLIB}" \
16487 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16488 info) \
16489 || exit 1
16491 @endif recode
16493 .PHONY: maybe-dvi-recode dvi-recode
16494 maybe-dvi-recode:
16495 @if recode
16496 maybe-dvi-recode: dvi-recode
16498 dvi-recode: \
16499 configure-recode
16500 @[ -f ./recode/Makefile ] || exit 0; \
16501 r=`${PWD_COMMAND}`; export r; \
16502 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16503 $(SET_LIB_PATH) \
16504 $(HOST_EXPORTS) \
16505 for flag in $(EXTRA_HOST_FLAGS) ; do \
16506 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16507 done; \
16508 echo "Doing dvi in recode" ; \
16509 (cd recode && \
16510 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16511 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16512 "RANLIB=$${RANLIB}" \
16513 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16514 dvi) \
16515 || exit 1
16517 @endif recode
16519 .PHONY: maybe-TAGS-recode TAGS-recode
16520 maybe-TAGS-recode:
16521 @if recode
16522 maybe-TAGS-recode: TAGS-recode
16524 TAGS-recode: \
16525 configure-recode
16526 @[ -f ./recode/Makefile ] || exit 0; \
16527 r=`${PWD_COMMAND}`; export r; \
16528 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16529 $(SET_LIB_PATH) \
16530 $(HOST_EXPORTS) \
16531 for flag in $(EXTRA_HOST_FLAGS) ; do \
16532 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16533 done; \
16534 echo "Doing TAGS in recode" ; \
16535 (cd recode && \
16536 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16537 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16538 "RANLIB=$${RANLIB}" \
16539 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16540 TAGS) \
16541 || exit 1
16543 @endif recode
16545 .PHONY: maybe-install-info-recode install-info-recode
16546 maybe-install-info-recode:
16547 @if recode
16548 maybe-install-info-recode: install-info-recode
16550 install-info-recode: \
16551 configure-recode \
16552 info-recode
16553 @[ -f ./recode/Makefile ] || exit 0; \
16554 r=`${PWD_COMMAND}`; export r; \
16555 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16556 $(SET_LIB_PATH) \
16557 $(HOST_EXPORTS) \
16558 for flag in $(EXTRA_HOST_FLAGS) ; do \
16559 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16560 done; \
16561 echo "Doing install-info in recode" ; \
16562 (cd recode && \
16563 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16564 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16565 "RANLIB=$${RANLIB}" \
16566 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16567 install-info) \
16568 || exit 1
16570 @endif recode
16572 .PHONY: maybe-installcheck-recode installcheck-recode
16573 maybe-installcheck-recode:
16574 @if recode
16575 maybe-installcheck-recode: installcheck-recode
16577 installcheck-recode: \
16578 configure-recode
16579 @[ -f ./recode/Makefile ] || exit 0; \
16580 r=`${PWD_COMMAND}`; export r; \
16581 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16582 $(SET_LIB_PATH) \
16583 $(HOST_EXPORTS) \
16584 for flag in $(EXTRA_HOST_FLAGS) ; do \
16585 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16586 done; \
16587 echo "Doing installcheck in recode" ; \
16588 (cd recode && \
16589 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16590 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16591 "RANLIB=$${RANLIB}" \
16592 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16593 installcheck) \
16594 || exit 1
16596 @endif recode
16598 .PHONY: maybe-mostlyclean-recode mostlyclean-recode
16599 maybe-mostlyclean-recode:
16600 @if recode
16601 maybe-mostlyclean-recode: mostlyclean-recode
16603 mostlyclean-recode:
16604 @[ -f ./recode/Makefile ] || exit 0; \
16605 r=`${PWD_COMMAND}`; export r; \
16606 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16607 $(SET_LIB_PATH) \
16608 $(HOST_EXPORTS) \
16609 for flag in $(EXTRA_HOST_FLAGS) ; do \
16610 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16611 done; \
16612 echo "Doing mostlyclean in recode" ; \
16613 (cd recode && \
16614 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16615 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16616 "RANLIB=$${RANLIB}" \
16617 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16618 mostlyclean) \
16619 || exit 1
16621 @endif recode
16623 .PHONY: maybe-clean-recode clean-recode
16624 maybe-clean-recode:
16625 @if recode
16626 maybe-clean-recode: clean-recode
16628 clean-recode:
16629 @[ -f ./recode/Makefile ] || exit 0; \
16630 r=`${PWD_COMMAND}`; export r; \
16631 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16632 $(SET_LIB_PATH) \
16633 $(HOST_EXPORTS) \
16634 for flag in $(EXTRA_HOST_FLAGS) ; do \
16635 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16636 done; \
16637 echo "Doing clean in recode" ; \
16638 (cd recode && \
16639 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16640 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16641 "RANLIB=$${RANLIB}" \
16642 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16643 clean) \
16644 || exit 1
16646 @endif recode
16648 .PHONY: maybe-distclean-recode distclean-recode
16649 maybe-distclean-recode:
16650 @if recode
16651 maybe-distclean-recode: distclean-recode
16653 distclean-recode:
16654 @[ -f ./recode/Makefile ] || exit 0; \
16655 r=`${PWD_COMMAND}`; export r; \
16656 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16657 $(SET_LIB_PATH) \
16658 $(HOST_EXPORTS) \
16659 for flag in $(EXTRA_HOST_FLAGS) ; do \
16660 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16661 done; \
16662 echo "Doing distclean in recode" ; \
16663 (cd recode && \
16664 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16665 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16666 "RANLIB=$${RANLIB}" \
16667 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16668 distclean) \
16669 || exit 1
16671 @endif recode
16673 .PHONY: maybe-maintainer-clean-recode maintainer-clean-recode
16674 maybe-maintainer-clean-recode:
16675 @if recode
16676 maybe-maintainer-clean-recode: maintainer-clean-recode
16678 maintainer-clean-recode:
16679 @[ -f ./recode/Makefile ] || exit 0; \
16680 r=`${PWD_COMMAND}`; export r; \
16681 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16682 $(SET_LIB_PATH) \
16683 $(HOST_EXPORTS) \
16684 for flag in $(EXTRA_HOST_FLAGS) ; do \
16685 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16686 done; \
16687 echo "Doing maintainer-clean in recode" ; \
16688 (cd recode && \
16689 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16690 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16691 "RANLIB=$${RANLIB}" \
16692 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16693 maintainer-clean) \
16694 || exit 1
16696 @endif recode
16699 .PHONY: configure-sed maybe-configure-sed
16700 maybe-configure-sed:
16701 @if sed
16702 maybe-configure-sed: configure-sed
16703 configure-sed:
16704 @test ! -f sed/Makefile || exit 0; \
16705 [ -d sed ] || mkdir sed; \
16706 r=`${PWD_COMMAND}`; export r; \
16707 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16708 $(HOST_EXPORTS) \
16709 echo Configuring in sed; \
16710 cd sed || exit 1; \
16711 case $(srcdir) in \
16712 \.) \
16713 srcdiroption="--srcdir=."; \
16714 libsrcdir=".";; \
16715 /* | [A-Za-z]:[\\/]*) \
16716 srcdiroption="--srcdir=$(srcdir)/sed"; \
16717 libsrcdir="$$s/sed";; \
16718 *) \
16719 srcdiroption="--srcdir=../$(srcdir)/sed"; \
16720 libsrcdir="$$s/sed";; \
16721 esac; \
16722 $(SHELL) $${libsrcdir}/configure \
16723 $(HOST_CONFIGARGS) $${srcdiroption} \
16724 || exit 1
16725 @endif sed
16727 .PHONY: all-sed maybe-all-sed
16728 maybe-all-sed:
16729 @if sed
16730 maybe-all-sed: all-sed
16731 all-sed: configure-sed
16732 @r=`${PWD_COMMAND}`; export r; \
16733 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16734 $(SET_LIB_PATH) \
16735 $(HOST_EXPORTS) \
16736 (cd sed && $(MAKE) $(FLAGS_TO_PASS) all)
16737 @endif sed
16739 .PHONY: check-sed maybe-check-sed
16740 maybe-check-sed:
16741 @if sed
16742 maybe-check-sed: check-sed
16744 check-sed:
16745 @r=`${PWD_COMMAND}`; export r; \
16746 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16747 $(SET_LIB_PATH) \
16748 $(HOST_EXPORTS) \
16749 (cd sed && $(MAKE) $(FLAGS_TO_PASS) check)
16751 @endif sed
16753 .PHONY: install-sed maybe-install-sed
16754 maybe-install-sed:
16755 @if sed
16756 maybe-install-sed: install-sed
16758 install-sed: installdirs
16759 @r=`${PWD_COMMAND}`; export r; \
16760 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16761 $(SET_LIB_PATH) \
16762 $(HOST_EXPORTS) \
16763 (cd sed && $(MAKE) $(FLAGS_TO_PASS) install)
16765 @endif sed
16767 # Other targets (info, dvi, etc.)
16769 .PHONY: maybe-info-sed info-sed
16770 maybe-info-sed:
16771 @if sed
16772 maybe-info-sed: info-sed
16774 info-sed: \
16775 configure-sed
16776 @[ -f ./sed/Makefile ] || exit 0; \
16777 r=`${PWD_COMMAND}`; export r; \
16778 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16779 $(SET_LIB_PATH) \
16780 $(HOST_EXPORTS) \
16781 for flag in $(EXTRA_HOST_FLAGS) ; do \
16782 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16783 done; \
16784 echo "Doing info in sed" ; \
16785 (cd sed && \
16786 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16787 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16788 "RANLIB=$${RANLIB}" \
16789 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16790 info) \
16791 || exit 1
16793 @endif sed
16795 .PHONY: maybe-dvi-sed dvi-sed
16796 maybe-dvi-sed:
16797 @if sed
16798 maybe-dvi-sed: dvi-sed
16800 dvi-sed: \
16801 configure-sed
16802 @[ -f ./sed/Makefile ] || exit 0; \
16803 r=`${PWD_COMMAND}`; export r; \
16804 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16805 $(SET_LIB_PATH) \
16806 $(HOST_EXPORTS) \
16807 for flag in $(EXTRA_HOST_FLAGS) ; do \
16808 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16809 done; \
16810 echo "Doing dvi in sed" ; \
16811 (cd sed && \
16812 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16813 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16814 "RANLIB=$${RANLIB}" \
16815 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16816 dvi) \
16817 || exit 1
16819 @endif sed
16821 .PHONY: maybe-TAGS-sed TAGS-sed
16822 maybe-TAGS-sed:
16823 @if sed
16824 maybe-TAGS-sed: TAGS-sed
16826 TAGS-sed: \
16827 configure-sed
16828 @[ -f ./sed/Makefile ] || exit 0; \
16829 r=`${PWD_COMMAND}`; export r; \
16830 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16831 $(SET_LIB_PATH) \
16832 $(HOST_EXPORTS) \
16833 for flag in $(EXTRA_HOST_FLAGS) ; do \
16834 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16835 done; \
16836 echo "Doing TAGS in sed" ; \
16837 (cd sed && \
16838 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16839 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16840 "RANLIB=$${RANLIB}" \
16841 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16842 TAGS) \
16843 || exit 1
16845 @endif sed
16847 .PHONY: maybe-install-info-sed install-info-sed
16848 maybe-install-info-sed:
16849 @if sed
16850 maybe-install-info-sed: install-info-sed
16852 install-info-sed: \
16853 configure-sed \
16854 info-sed
16855 @[ -f ./sed/Makefile ] || exit 0; \
16856 r=`${PWD_COMMAND}`; export r; \
16857 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16858 $(SET_LIB_PATH) \
16859 $(HOST_EXPORTS) \
16860 for flag in $(EXTRA_HOST_FLAGS) ; do \
16861 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16862 done; \
16863 echo "Doing install-info in sed" ; \
16864 (cd sed && \
16865 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16866 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16867 "RANLIB=$${RANLIB}" \
16868 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16869 install-info) \
16870 || exit 1
16872 @endif sed
16874 .PHONY: maybe-installcheck-sed installcheck-sed
16875 maybe-installcheck-sed:
16876 @if sed
16877 maybe-installcheck-sed: installcheck-sed
16879 installcheck-sed: \
16880 configure-sed
16881 @[ -f ./sed/Makefile ] || exit 0; \
16882 r=`${PWD_COMMAND}`; export r; \
16883 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16884 $(SET_LIB_PATH) \
16885 $(HOST_EXPORTS) \
16886 for flag in $(EXTRA_HOST_FLAGS) ; do \
16887 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16888 done; \
16889 echo "Doing installcheck in sed" ; \
16890 (cd sed && \
16891 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16892 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16893 "RANLIB=$${RANLIB}" \
16894 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16895 installcheck) \
16896 || exit 1
16898 @endif sed
16900 .PHONY: maybe-mostlyclean-sed mostlyclean-sed
16901 maybe-mostlyclean-sed:
16902 @if sed
16903 maybe-mostlyclean-sed: mostlyclean-sed
16905 mostlyclean-sed:
16906 @[ -f ./sed/Makefile ] || exit 0; \
16907 r=`${PWD_COMMAND}`; export r; \
16908 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16909 $(SET_LIB_PATH) \
16910 $(HOST_EXPORTS) \
16911 for flag in $(EXTRA_HOST_FLAGS) ; do \
16912 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16913 done; \
16914 echo "Doing mostlyclean in sed" ; \
16915 (cd sed && \
16916 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16917 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16918 "RANLIB=$${RANLIB}" \
16919 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16920 mostlyclean) \
16921 || exit 1
16923 @endif sed
16925 .PHONY: maybe-clean-sed clean-sed
16926 maybe-clean-sed:
16927 @if sed
16928 maybe-clean-sed: clean-sed
16930 clean-sed:
16931 @[ -f ./sed/Makefile ] || exit 0; \
16932 r=`${PWD_COMMAND}`; export r; \
16933 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16934 $(SET_LIB_PATH) \
16935 $(HOST_EXPORTS) \
16936 for flag in $(EXTRA_HOST_FLAGS) ; do \
16937 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16938 done; \
16939 echo "Doing clean in sed" ; \
16940 (cd sed && \
16941 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16942 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16943 "RANLIB=$${RANLIB}" \
16944 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16945 clean) \
16946 || exit 1
16948 @endif sed
16950 .PHONY: maybe-distclean-sed distclean-sed
16951 maybe-distclean-sed:
16952 @if sed
16953 maybe-distclean-sed: distclean-sed
16955 distclean-sed:
16956 @[ -f ./sed/Makefile ] || exit 0; \
16957 r=`${PWD_COMMAND}`; export r; \
16958 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16959 $(SET_LIB_PATH) \
16960 $(HOST_EXPORTS) \
16961 for flag in $(EXTRA_HOST_FLAGS) ; do \
16962 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16963 done; \
16964 echo "Doing distclean in sed" ; \
16965 (cd sed && \
16966 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16967 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16968 "RANLIB=$${RANLIB}" \
16969 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16970 distclean) \
16971 || exit 1
16973 @endif sed
16975 .PHONY: maybe-maintainer-clean-sed maintainer-clean-sed
16976 maybe-maintainer-clean-sed:
16977 @if sed
16978 maybe-maintainer-clean-sed: maintainer-clean-sed
16980 maintainer-clean-sed:
16981 @[ -f ./sed/Makefile ] || exit 0; \
16982 r=`${PWD_COMMAND}`; export r; \
16983 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16984 $(SET_LIB_PATH) \
16985 $(HOST_EXPORTS) \
16986 for flag in $(EXTRA_HOST_FLAGS) ; do \
16987 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16988 done; \
16989 echo "Doing maintainer-clean in sed" ; \
16990 (cd sed && \
16991 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16992 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16993 "RANLIB=$${RANLIB}" \
16994 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16995 maintainer-clean) \
16996 || exit 1
16998 @endif sed
17001 .PHONY: configure-send-pr maybe-configure-send-pr
17002 maybe-configure-send-pr:
17003 @if send-pr
17004 maybe-configure-send-pr: configure-send-pr
17005 configure-send-pr:
17006 @test ! -f send-pr/Makefile || exit 0; \
17007 [ -d send-pr ] || mkdir send-pr; \
17008 r=`${PWD_COMMAND}`; export r; \
17009 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17010 $(HOST_EXPORTS) \
17011 echo Configuring in send-pr; \
17012 cd send-pr || exit 1; \
17013 case $(srcdir) in \
17014 \.) \
17015 srcdiroption="--srcdir=."; \
17016 libsrcdir=".";; \
17017 /* | [A-Za-z]:[\\/]*) \
17018 srcdiroption="--srcdir=$(srcdir)/send-pr"; \
17019 libsrcdir="$$s/send-pr";; \
17020 *) \
17021 srcdiroption="--srcdir=../$(srcdir)/send-pr"; \
17022 libsrcdir="$$s/send-pr";; \
17023 esac; \
17024 $(SHELL) $${libsrcdir}/configure \
17025 $(HOST_CONFIGARGS) $${srcdiroption} \
17026 || exit 1
17027 @endif send-pr
17029 .PHONY: all-send-pr maybe-all-send-pr
17030 maybe-all-send-pr:
17031 @if send-pr
17032 maybe-all-send-pr: all-send-pr
17033 all-send-pr: configure-send-pr
17034 @r=`${PWD_COMMAND}`; export r; \
17035 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17036 $(SET_LIB_PATH) \
17037 $(HOST_EXPORTS) \
17038 (cd send-pr && $(MAKE) $(FLAGS_TO_PASS) all)
17039 @endif send-pr
17041 .PHONY: check-send-pr maybe-check-send-pr
17042 maybe-check-send-pr:
17043 @if send-pr
17044 maybe-check-send-pr: check-send-pr
17046 check-send-pr:
17047 @r=`${PWD_COMMAND}`; export r; \
17048 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17049 $(SET_LIB_PATH) \
17050 $(HOST_EXPORTS) \
17051 (cd send-pr && $(MAKE) $(FLAGS_TO_PASS) check)
17053 @endif send-pr
17055 .PHONY: install-send-pr maybe-install-send-pr
17056 maybe-install-send-pr:
17057 @if send-pr
17058 maybe-install-send-pr: install-send-pr
17060 install-send-pr: installdirs
17061 @r=`${PWD_COMMAND}`; export r; \
17062 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17063 $(SET_LIB_PATH) \
17064 $(HOST_EXPORTS) \
17065 (cd send-pr && $(MAKE) $(FLAGS_TO_PASS) install)
17067 @endif send-pr
17069 # Other targets (info, dvi, etc.)
17071 .PHONY: maybe-info-send-pr info-send-pr
17072 maybe-info-send-pr:
17073 @if send-pr
17074 maybe-info-send-pr: info-send-pr
17076 info-send-pr: \
17077 configure-send-pr
17078 @[ -f ./send-pr/Makefile ] || exit 0; \
17079 r=`${PWD_COMMAND}`; export r; \
17080 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17081 $(SET_LIB_PATH) \
17082 $(HOST_EXPORTS) \
17083 for flag in $(EXTRA_HOST_FLAGS) ; do \
17084 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17085 done; \
17086 echo "Doing info in send-pr" ; \
17087 (cd send-pr && \
17088 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17089 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17090 "RANLIB=$${RANLIB}" \
17091 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17092 info) \
17093 || exit 1
17095 @endif send-pr
17097 .PHONY: maybe-dvi-send-pr dvi-send-pr
17098 maybe-dvi-send-pr:
17099 @if send-pr
17100 maybe-dvi-send-pr: dvi-send-pr
17102 dvi-send-pr: \
17103 configure-send-pr
17104 @[ -f ./send-pr/Makefile ] || exit 0; \
17105 r=`${PWD_COMMAND}`; export r; \
17106 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17107 $(SET_LIB_PATH) \
17108 $(HOST_EXPORTS) \
17109 for flag in $(EXTRA_HOST_FLAGS) ; do \
17110 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17111 done; \
17112 echo "Doing dvi in send-pr" ; \
17113 (cd send-pr && \
17114 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17115 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17116 "RANLIB=$${RANLIB}" \
17117 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17118 dvi) \
17119 || exit 1
17121 @endif send-pr
17123 .PHONY: maybe-TAGS-send-pr TAGS-send-pr
17124 maybe-TAGS-send-pr:
17125 @if send-pr
17126 maybe-TAGS-send-pr: TAGS-send-pr
17128 TAGS-send-pr: \
17129 configure-send-pr
17130 @[ -f ./send-pr/Makefile ] || exit 0; \
17131 r=`${PWD_COMMAND}`; export r; \
17132 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17133 $(SET_LIB_PATH) \
17134 $(HOST_EXPORTS) \
17135 for flag in $(EXTRA_HOST_FLAGS) ; do \
17136 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17137 done; \
17138 echo "Doing TAGS in send-pr" ; \
17139 (cd send-pr && \
17140 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17141 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17142 "RANLIB=$${RANLIB}" \
17143 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17144 TAGS) \
17145 || exit 1
17147 @endif send-pr
17149 .PHONY: maybe-install-info-send-pr install-info-send-pr
17150 maybe-install-info-send-pr:
17151 @if send-pr
17152 maybe-install-info-send-pr: install-info-send-pr
17154 install-info-send-pr: \
17155 configure-send-pr \
17156 info-send-pr
17157 @[ -f ./send-pr/Makefile ] || exit 0; \
17158 r=`${PWD_COMMAND}`; export r; \
17159 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17160 $(SET_LIB_PATH) \
17161 $(HOST_EXPORTS) \
17162 for flag in $(EXTRA_HOST_FLAGS) ; do \
17163 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17164 done; \
17165 echo "Doing install-info in send-pr" ; \
17166 (cd send-pr && \
17167 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17168 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17169 "RANLIB=$${RANLIB}" \
17170 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17171 install-info) \
17172 || exit 1
17174 @endif send-pr
17176 .PHONY: maybe-installcheck-send-pr installcheck-send-pr
17177 maybe-installcheck-send-pr:
17178 @if send-pr
17179 maybe-installcheck-send-pr: installcheck-send-pr
17181 installcheck-send-pr: \
17182 configure-send-pr
17183 @[ -f ./send-pr/Makefile ] || exit 0; \
17184 r=`${PWD_COMMAND}`; export r; \
17185 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17186 $(SET_LIB_PATH) \
17187 $(HOST_EXPORTS) \
17188 for flag in $(EXTRA_HOST_FLAGS) ; do \
17189 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17190 done; \
17191 echo "Doing installcheck in send-pr" ; \
17192 (cd send-pr && \
17193 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17194 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17195 "RANLIB=$${RANLIB}" \
17196 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17197 installcheck) \
17198 || exit 1
17200 @endif send-pr
17202 .PHONY: maybe-mostlyclean-send-pr mostlyclean-send-pr
17203 maybe-mostlyclean-send-pr:
17204 @if send-pr
17205 maybe-mostlyclean-send-pr: mostlyclean-send-pr
17207 mostlyclean-send-pr:
17208 @[ -f ./send-pr/Makefile ] || exit 0; \
17209 r=`${PWD_COMMAND}`; export r; \
17210 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17211 $(SET_LIB_PATH) \
17212 $(HOST_EXPORTS) \
17213 for flag in $(EXTRA_HOST_FLAGS) ; do \
17214 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17215 done; \
17216 echo "Doing mostlyclean in send-pr" ; \
17217 (cd send-pr && \
17218 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17219 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17220 "RANLIB=$${RANLIB}" \
17221 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17222 mostlyclean) \
17223 || exit 1
17225 @endif send-pr
17227 .PHONY: maybe-clean-send-pr clean-send-pr
17228 maybe-clean-send-pr:
17229 @if send-pr
17230 maybe-clean-send-pr: clean-send-pr
17232 clean-send-pr:
17233 @[ -f ./send-pr/Makefile ] || exit 0; \
17234 r=`${PWD_COMMAND}`; export r; \
17235 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17236 $(SET_LIB_PATH) \
17237 $(HOST_EXPORTS) \
17238 for flag in $(EXTRA_HOST_FLAGS) ; do \
17239 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17240 done; \
17241 echo "Doing clean in send-pr" ; \
17242 (cd send-pr && \
17243 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17244 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17245 "RANLIB=$${RANLIB}" \
17246 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17247 clean) \
17248 || exit 1
17250 @endif send-pr
17252 .PHONY: maybe-distclean-send-pr distclean-send-pr
17253 maybe-distclean-send-pr:
17254 @if send-pr
17255 maybe-distclean-send-pr: distclean-send-pr
17257 distclean-send-pr:
17258 @[ -f ./send-pr/Makefile ] || exit 0; \
17259 r=`${PWD_COMMAND}`; export r; \
17260 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17261 $(SET_LIB_PATH) \
17262 $(HOST_EXPORTS) \
17263 for flag in $(EXTRA_HOST_FLAGS) ; do \
17264 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17265 done; \
17266 echo "Doing distclean in send-pr" ; \
17267 (cd send-pr && \
17268 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17269 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17270 "RANLIB=$${RANLIB}" \
17271 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17272 distclean) \
17273 || exit 1
17275 @endif send-pr
17277 .PHONY: maybe-maintainer-clean-send-pr maintainer-clean-send-pr
17278 maybe-maintainer-clean-send-pr:
17279 @if send-pr
17280 maybe-maintainer-clean-send-pr: maintainer-clean-send-pr
17282 maintainer-clean-send-pr:
17283 @[ -f ./send-pr/Makefile ] || exit 0; \
17284 r=`${PWD_COMMAND}`; export r; \
17285 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17286 $(SET_LIB_PATH) \
17287 $(HOST_EXPORTS) \
17288 for flag in $(EXTRA_HOST_FLAGS) ; do \
17289 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17290 done; \
17291 echo "Doing maintainer-clean in send-pr" ; \
17292 (cd send-pr && \
17293 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17294 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17295 "RANLIB=$${RANLIB}" \
17296 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17297 maintainer-clean) \
17298 || exit 1
17300 @endif send-pr
17303 .PHONY: configure-shellutils maybe-configure-shellutils
17304 maybe-configure-shellutils:
17305 @if shellutils
17306 maybe-configure-shellutils: configure-shellutils
17307 configure-shellutils:
17308 @test ! -f shellutils/Makefile || exit 0; \
17309 [ -d shellutils ] || mkdir shellutils; \
17310 r=`${PWD_COMMAND}`; export r; \
17311 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17312 $(HOST_EXPORTS) \
17313 echo Configuring in shellutils; \
17314 cd shellutils || exit 1; \
17315 case $(srcdir) in \
17316 \.) \
17317 srcdiroption="--srcdir=."; \
17318 libsrcdir=".";; \
17319 /* | [A-Za-z]:[\\/]*) \
17320 srcdiroption="--srcdir=$(srcdir)/shellutils"; \
17321 libsrcdir="$$s/shellutils";; \
17322 *) \
17323 srcdiroption="--srcdir=../$(srcdir)/shellutils"; \
17324 libsrcdir="$$s/shellutils";; \
17325 esac; \
17326 $(SHELL) $${libsrcdir}/configure \
17327 $(HOST_CONFIGARGS) $${srcdiroption} \
17328 || exit 1
17329 @endif shellutils
17331 .PHONY: all-shellutils maybe-all-shellutils
17332 maybe-all-shellutils:
17333 @if shellutils
17334 maybe-all-shellutils: all-shellutils
17335 all-shellutils: configure-shellutils
17336 @r=`${PWD_COMMAND}`; export r; \
17337 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17338 $(SET_LIB_PATH) \
17339 $(HOST_EXPORTS) \
17340 (cd shellutils && $(MAKE) $(FLAGS_TO_PASS) all)
17341 @endif shellutils
17343 .PHONY: check-shellutils maybe-check-shellutils
17344 maybe-check-shellutils:
17345 @if shellutils
17346 maybe-check-shellutils: check-shellutils
17348 check-shellutils:
17349 @r=`${PWD_COMMAND}`; export r; \
17350 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17351 $(SET_LIB_PATH) \
17352 $(HOST_EXPORTS) \
17353 (cd shellutils && $(MAKE) $(FLAGS_TO_PASS) check)
17355 @endif shellutils
17357 .PHONY: install-shellutils maybe-install-shellutils
17358 maybe-install-shellutils:
17359 @if shellutils
17360 maybe-install-shellutils: install-shellutils
17362 install-shellutils: installdirs
17363 @r=`${PWD_COMMAND}`; export r; \
17364 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17365 $(SET_LIB_PATH) \
17366 $(HOST_EXPORTS) \
17367 (cd shellutils && $(MAKE) $(FLAGS_TO_PASS) install)
17369 @endif shellutils
17371 # Other targets (info, dvi, etc.)
17373 .PHONY: maybe-info-shellutils info-shellutils
17374 maybe-info-shellutils:
17375 @if shellutils
17376 maybe-info-shellutils: info-shellutils
17378 info-shellutils: \
17379 configure-shellutils
17380 @[ -f ./shellutils/Makefile ] || exit 0; \
17381 r=`${PWD_COMMAND}`; export r; \
17382 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17383 $(SET_LIB_PATH) \
17384 $(HOST_EXPORTS) \
17385 for flag in $(EXTRA_HOST_FLAGS) ; do \
17386 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17387 done; \
17388 echo "Doing info in shellutils" ; \
17389 (cd shellutils && \
17390 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17391 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17392 "RANLIB=$${RANLIB}" \
17393 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17394 info) \
17395 || exit 1
17397 @endif shellutils
17399 .PHONY: maybe-dvi-shellutils dvi-shellutils
17400 maybe-dvi-shellutils:
17401 @if shellutils
17402 maybe-dvi-shellutils: dvi-shellutils
17404 dvi-shellutils: \
17405 configure-shellutils
17406 @[ -f ./shellutils/Makefile ] || exit 0; \
17407 r=`${PWD_COMMAND}`; export r; \
17408 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17409 $(SET_LIB_PATH) \
17410 $(HOST_EXPORTS) \
17411 for flag in $(EXTRA_HOST_FLAGS) ; do \
17412 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17413 done; \
17414 echo "Doing dvi in shellutils" ; \
17415 (cd shellutils && \
17416 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17417 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17418 "RANLIB=$${RANLIB}" \
17419 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17420 dvi) \
17421 || exit 1
17423 @endif shellutils
17425 .PHONY: maybe-TAGS-shellutils TAGS-shellutils
17426 maybe-TAGS-shellutils:
17427 @if shellutils
17428 maybe-TAGS-shellutils: TAGS-shellutils
17430 TAGS-shellutils: \
17431 configure-shellutils
17432 @[ -f ./shellutils/Makefile ] || exit 0; \
17433 r=`${PWD_COMMAND}`; export r; \
17434 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17435 $(SET_LIB_PATH) \
17436 $(HOST_EXPORTS) \
17437 for flag in $(EXTRA_HOST_FLAGS) ; do \
17438 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17439 done; \
17440 echo "Doing TAGS in shellutils" ; \
17441 (cd shellutils && \
17442 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17443 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17444 "RANLIB=$${RANLIB}" \
17445 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17446 TAGS) \
17447 || exit 1
17449 @endif shellutils
17451 .PHONY: maybe-install-info-shellutils install-info-shellutils
17452 maybe-install-info-shellutils:
17453 @if shellutils
17454 maybe-install-info-shellutils: install-info-shellutils
17456 install-info-shellutils: \
17457 configure-shellutils \
17458 info-shellutils
17459 @[ -f ./shellutils/Makefile ] || exit 0; \
17460 r=`${PWD_COMMAND}`; export r; \
17461 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17462 $(SET_LIB_PATH) \
17463 $(HOST_EXPORTS) \
17464 for flag in $(EXTRA_HOST_FLAGS) ; do \
17465 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17466 done; \
17467 echo "Doing install-info in shellutils" ; \
17468 (cd shellutils && \
17469 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17470 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17471 "RANLIB=$${RANLIB}" \
17472 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17473 install-info) \
17474 || exit 1
17476 @endif shellutils
17478 .PHONY: maybe-installcheck-shellutils installcheck-shellutils
17479 maybe-installcheck-shellutils:
17480 @if shellutils
17481 maybe-installcheck-shellutils: installcheck-shellutils
17483 installcheck-shellutils: \
17484 configure-shellutils
17485 @[ -f ./shellutils/Makefile ] || exit 0; \
17486 r=`${PWD_COMMAND}`; export r; \
17487 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17488 $(SET_LIB_PATH) \
17489 $(HOST_EXPORTS) \
17490 for flag in $(EXTRA_HOST_FLAGS) ; do \
17491 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17492 done; \
17493 echo "Doing installcheck in shellutils" ; \
17494 (cd shellutils && \
17495 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17496 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17497 "RANLIB=$${RANLIB}" \
17498 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17499 installcheck) \
17500 || exit 1
17502 @endif shellutils
17504 .PHONY: maybe-mostlyclean-shellutils mostlyclean-shellutils
17505 maybe-mostlyclean-shellutils:
17506 @if shellutils
17507 maybe-mostlyclean-shellutils: mostlyclean-shellutils
17509 mostlyclean-shellutils:
17510 @[ -f ./shellutils/Makefile ] || exit 0; \
17511 r=`${PWD_COMMAND}`; export r; \
17512 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17513 $(SET_LIB_PATH) \
17514 $(HOST_EXPORTS) \
17515 for flag in $(EXTRA_HOST_FLAGS) ; do \
17516 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17517 done; \
17518 echo "Doing mostlyclean in shellutils" ; \
17519 (cd shellutils && \
17520 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17521 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17522 "RANLIB=$${RANLIB}" \
17523 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17524 mostlyclean) \
17525 || exit 1
17527 @endif shellutils
17529 .PHONY: maybe-clean-shellutils clean-shellutils
17530 maybe-clean-shellutils:
17531 @if shellutils
17532 maybe-clean-shellutils: clean-shellutils
17534 clean-shellutils:
17535 @[ -f ./shellutils/Makefile ] || exit 0; \
17536 r=`${PWD_COMMAND}`; export r; \
17537 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17538 $(SET_LIB_PATH) \
17539 $(HOST_EXPORTS) \
17540 for flag in $(EXTRA_HOST_FLAGS) ; do \
17541 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17542 done; \
17543 echo "Doing clean in shellutils" ; \
17544 (cd shellutils && \
17545 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17546 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17547 "RANLIB=$${RANLIB}" \
17548 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17549 clean) \
17550 || exit 1
17552 @endif shellutils
17554 .PHONY: maybe-distclean-shellutils distclean-shellutils
17555 maybe-distclean-shellutils:
17556 @if shellutils
17557 maybe-distclean-shellutils: distclean-shellutils
17559 distclean-shellutils:
17560 @[ -f ./shellutils/Makefile ] || exit 0; \
17561 r=`${PWD_COMMAND}`; export r; \
17562 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17563 $(SET_LIB_PATH) \
17564 $(HOST_EXPORTS) \
17565 for flag in $(EXTRA_HOST_FLAGS) ; do \
17566 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17567 done; \
17568 echo "Doing distclean in shellutils" ; \
17569 (cd shellutils && \
17570 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17571 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17572 "RANLIB=$${RANLIB}" \
17573 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17574 distclean) \
17575 || exit 1
17577 @endif shellutils
17579 .PHONY: maybe-maintainer-clean-shellutils maintainer-clean-shellutils
17580 maybe-maintainer-clean-shellutils:
17581 @if shellutils
17582 maybe-maintainer-clean-shellutils: maintainer-clean-shellutils
17584 maintainer-clean-shellutils:
17585 @[ -f ./shellutils/Makefile ] || exit 0; \
17586 r=`${PWD_COMMAND}`; export r; \
17587 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17588 $(SET_LIB_PATH) \
17589 $(HOST_EXPORTS) \
17590 for flag in $(EXTRA_HOST_FLAGS) ; do \
17591 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17592 done; \
17593 echo "Doing maintainer-clean in shellutils" ; \
17594 (cd shellutils && \
17595 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17596 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17597 "RANLIB=$${RANLIB}" \
17598 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17599 maintainer-clean) \
17600 || exit 1
17602 @endif shellutils
17605 .PHONY: configure-sid maybe-configure-sid
17606 maybe-configure-sid:
17607 @if sid
17608 maybe-configure-sid: configure-sid
17609 configure-sid:
17610 @test ! -f sid/Makefile || exit 0; \
17611 [ -d sid ] || mkdir sid; \
17612 r=`${PWD_COMMAND}`; export r; \
17613 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17614 $(HOST_EXPORTS) \
17615 echo Configuring in sid; \
17616 cd sid || exit 1; \
17617 case $(srcdir) in \
17618 \.) \
17619 srcdiroption="--srcdir=."; \
17620 libsrcdir=".";; \
17621 /* | [A-Za-z]:[\\/]*) \
17622 srcdiroption="--srcdir=$(srcdir)/sid"; \
17623 libsrcdir="$$s/sid";; \
17624 *) \
17625 srcdiroption="--srcdir=../$(srcdir)/sid"; \
17626 libsrcdir="$$s/sid";; \
17627 esac; \
17628 $(SHELL) $${libsrcdir}/configure \
17629 $(HOST_CONFIGARGS) $${srcdiroption} \
17630 || exit 1
17631 @endif sid
17633 .PHONY: all-sid maybe-all-sid
17634 maybe-all-sid:
17635 @if sid
17636 maybe-all-sid: all-sid
17637 all-sid: configure-sid
17638 @r=`${PWD_COMMAND}`; export r; \
17639 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17640 $(SET_LIB_PATH) \
17641 $(HOST_EXPORTS) \
17642 (cd sid && $(MAKE) $(FLAGS_TO_PASS) all)
17643 @endif sid
17645 .PHONY: check-sid maybe-check-sid
17646 maybe-check-sid:
17647 @if sid
17648 maybe-check-sid: check-sid
17650 check-sid:
17651 @r=`${PWD_COMMAND}`; export r; \
17652 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17653 $(SET_LIB_PATH) \
17654 $(HOST_EXPORTS) \
17655 (cd sid && $(MAKE) $(FLAGS_TO_PASS) check)
17657 @endif sid
17659 .PHONY: install-sid maybe-install-sid
17660 maybe-install-sid:
17661 @if sid
17662 maybe-install-sid: install-sid
17664 install-sid: installdirs
17665 @r=`${PWD_COMMAND}`; export r; \
17666 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17667 $(SET_LIB_PATH) \
17668 $(HOST_EXPORTS) \
17669 (cd sid && $(MAKE) $(FLAGS_TO_PASS) install)
17671 @endif sid
17673 # Other targets (info, dvi, etc.)
17675 .PHONY: maybe-info-sid info-sid
17676 maybe-info-sid:
17677 @if sid
17678 maybe-info-sid: info-sid
17680 info-sid: \
17681 configure-sid
17682 @[ -f ./sid/Makefile ] || exit 0; \
17683 r=`${PWD_COMMAND}`; export r; \
17684 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17685 $(SET_LIB_PATH) \
17686 $(HOST_EXPORTS) \
17687 for flag in $(EXTRA_HOST_FLAGS) ; do \
17688 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17689 done; \
17690 echo "Doing info in sid" ; \
17691 (cd sid && \
17692 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17693 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17694 "RANLIB=$${RANLIB}" \
17695 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17696 info) \
17697 || exit 1
17699 @endif sid
17701 .PHONY: maybe-dvi-sid dvi-sid
17702 maybe-dvi-sid:
17703 @if sid
17704 maybe-dvi-sid: dvi-sid
17706 dvi-sid: \
17707 configure-sid
17708 @[ -f ./sid/Makefile ] || exit 0; \
17709 r=`${PWD_COMMAND}`; export r; \
17710 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17711 $(SET_LIB_PATH) \
17712 $(HOST_EXPORTS) \
17713 for flag in $(EXTRA_HOST_FLAGS) ; do \
17714 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17715 done; \
17716 echo "Doing dvi in sid" ; \
17717 (cd sid && \
17718 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17719 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17720 "RANLIB=$${RANLIB}" \
17721 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17722 dvi) \
17723 || exit 1
17725 @endif sid
17727 .PHONY: maybe-TAGS-sid TAGS-sid
17728 maybe-TAGS-sid:
17729 @if sid
17730 maybe-TAGS-sid: TAGS-sid
17732 TAGS-sid: \
17733 configure-sid
17734 @[ -f ./sid/Makefile ] || exit 0; \
17735 r=`${PWD_COMMAND}`; export r; \
17736 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17737 $(SET_LIB_PATH) \
17738 $(HOST_EXPORTS) \
17739 for flag in $(EXTRA_HOST_FLAGS) ; do \
17740 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17741 done; \
17742 echo "Doing TAGS in sid" ; \
17743 (cd sid && \
17744 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17745 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17746 "RANLIB=$${RANLIB}" \
17747 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17748 TAGS) \
17749 || exit 1
17751 @endif sid
17753 .PHONY: maybe-install-info-sid install-info-sid
17754 maybe-install-info-sid:
17755 @if sid
17756 maybe-install-info-sid: install-info-sid
17758 install-info-sid: \
17759 configure-sid \
17760 info-sid
17761 @[ -f ./sid/Makefile ] || exit 0; \
17762 r=`${PWD_COMMAND}`; export r; \
17763 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17764 $(SET_LIB_PATH) \
17765 $(HOST_EXPORTS) \
17766 for flag in $(EXTRA_HOST_FLAGS) ; do \
17767 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17768 done; \
17769 echo "Doing install-info in sid" ; \
17770 (cd sid && \
17771 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17772 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17773 "RANLIB=$${RANLIB}" \
17774 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17775 install-info) \
17776 || exit 1
17778 @endif sid
17780 .PHONY: maybe-installcheck-sid installcheck-sid
17781 maybe-installcheck-sid:
17782 @if sid
17783 maybe-installcheck-sid: installcheck-sid
17785 installcheck-sid: \
17786 configure-sid
17787 @[ -f ./sid/Makefile ] || exit 0; \
17788 r=`${PWD_COMMAND}`; export r; \
17789 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17790 $(SET_LIB_PATH) \
17791 $(HOST_EXPORTS) \
17792 for flag in $(EXTRA_HOST_FLAGS) ; do \
17793 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17794 done; \
17795 echo "Doing installcheck in sid" ; \
17796 (cd sid && \
17797 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17798 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17799 "RANLIB=$${RANLIB}" \
17800 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17801 installcheck) \
17802 || exit 1
17804 @endif sid
17806 .PHONY: maybe-mostlyclean-sid mostlyclean-sid
17807 maybe-mostlyclean-sid:
17808 @if sid
17809 maybe-mostlyclean-sid: mostlyclean-sid
17811 mostlyclean-sid:
17812 @[ -f ./sid/Makefile ] || exit 0; \
17813 r=`${PWD_COMMAND}`; export r; \
17814 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17815 $(SET_LIB_PATH) \
17816 $(HOST_EXPORTS) \
17817 for flag in $(EXTRA_HOST_FLAGS) ; do \
17818 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17819 done; \
17820 echo "Doing mostlyclean in sid" ; \
17821 (cd sid && \
17822 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17823 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17824 "RANLIB=$${RANLIB}" \
17825 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17826 mostlyclean) \
17827 || exit 1
17829 @endif sid
17831 .PHONY: maybe-clean-sid clean-sid
17832 maybe-clean-sid:
17833 @if sid
17834 maybe-clean-sid: clean-sid
17836 clean-sid:
17837 @[ -f ./sid/Makefile ] || exit 0; \
17838 r=`${PWD_COMMAND}`; export r; \
17839 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17840 $(SET_LIB_PATH) \
17841 $(HOST_EXPORTS) \
17842 for flag in $(EXTRA_HOST_FLAGS) ; do \
17843 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17844 done; \
17845 echo "Doing clean in sid" ; \
17846 (cd sid && \
17847 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17848 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17849 "RANLIB=$${RANLIB}" \
17850 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17851 clean) \
17852 || exit 1
17854 @endif sid
17856 .PHONY: maybe-distclean-sid distclean-sid
17857 maybe-distclean-sid:
17858 @if sid
17859 maybe-distclean-sid: distclean-sid
17861 distclean-sid:
17862 @[ -f ./sid/Makefile ] || exit 0; \
17863 r=`${PWD_COMMAND}`; export r; \
17864 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17865 $(SET_LIB_PATH) \
17866 $(HOST_EXPORTS) \
17867 for flag in $(EXTRA_HOST_FLAGS) ; do \
17868 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17869 done; \
17870 echo "Doing distclean in sid" ; \
17871 (cd sid && \
17872 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17873 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17874 "RANLIB=$${RANLIB}" \
17875 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17876 distclean) \
17877 || exit 1
17879 @endif sid
17881 .PHONY: maybe-maintainer-clean-sid maintainer-clean-sid
17882 maybe-maintainer-clean-sid:
17883 @if sid
17884 maybe-maintainer-clean-sid: maintainer-clean-sid
17886 maintainer-clean-sid:
17887 @[ -f ./sid/Makefile ] || exit 0; \
17888 r=`${PWD_COMMAND}`; export r; \
17889 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17890 $(SET_LIB_PATH) \
17891 $(HOST_EXPORTS) \
17892 for flag in $(EXTRA_HOST_FLAGS) ; do \
17893 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17894 done; \
17895 echo "Doing maintainer-clean in sid" ; \
17896 (cd sid && \
17897 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17898 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17899 "RANLIB=$${RANLIB}" \
17900 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17901 maintainer-clean) \
17902 || exit 1
17904 @endif sid
17907 .PHONY: configure-sim maybe-configure-sim
17908 maybe-configure-sim:
17909 @if sim
17910 maybe-configure-sim: configure-sim
17911 configure-sim:
17912 @test ! -f sim/Makefile || exit 0; \
17913 [ -d sim ] || mkdir sim; \
17914 r=`${PWD_COMMAND}`; export r; \
17915 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17916 $(HOST_EXPORTS) \
17917 echo Configuring in sim; \
17918 cd sim || exit 1; \
17919 case $(srcdir) in \
17920 \.) \
17921 srcdiroption="--srcdir=."; \
17922 libsrcdir=".";; \
17923 /* | [A-Za-z]:[\\/]*) \
17924 srcdiroption="--srcdir=$(srcdir)/sim"; \
17925 libsrcdir="$$s/sim";; \
17926 *) \
17927 srcdiroption="--srcdir=../$(srcdir)/sim"; \
17928 libsrcdir="$$s/sim";; \
17929 esac; \
17930 $(SHELL) $${libsrcdir}/configure \
17931 $(HOST_CONFIGARGS) $${srcdiroption} \
17932 || exit 1
17933 @endif sim
17935 .PHONY: all-sim maybe-all-sim
17936 maybe-all-sim:
17937 @if sim
17938 maybe-all-sim: all-sim
17939 all-sim: configure-sim
17940 @r=`${PWD_COMMAND}`; export r; \
17941 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17942 $(SET_LIB_PATH) \
17943 $(HOST_EXPORTS) \
17944 (cd sim && $(MAKE) $(FLAGS_TO_PASS) all)
17945 @endif sim
17947 .PHONY: check-sim maybe-check-sim
17948 maybe-check-sim:
17949 @if sim
17950 maybe-check-sim: check-sim
17952 check-sim:
17953 @r=`${PWD_COMMAND}`; export r; \
17954 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17955 $(SET_LIB_PATH) \
17956 $(HOST_EXPORTS) \
17957 (cd sim && $(MAKE) $(FLAGS_TO_PASS) check)
17959 @endif sim
17961 .PHONY: install-sim maybe-install-sim
17962 maybe-install-sim:
17963 @if sim
17964 maybe-install-sim: install-sim
17966 install-sim: installdirs
17967 @r=`${PWD_COMMAND}`; export r; \
17968 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17969 $(SET_LIB_PATH) \
17970 $(HOST_EXPORTS) \
17971 (cd sim && $(MAKE) $(FLAGS_TO_PASS) install)
17973 @endif sim
17975 # Other targets (info, dvi, etc.)
17977 .PHONY: maybe-info-sim info-sim
17978 maybe-info-sim:
17979 @if sim
17980 maybe-info-sim: info-sim
17982 info-sim: \
17983 configure-sim
17984 @[ -f ./sim/Makefile ] || exit 0; \
17985 r=`${PWD_COMMAND}`; export r; \
17986 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17987 $(SET_LIB_PATH) \
17988 $(HOST_EXPORTS) \
17989 for flag in $(EXTRA_HOST_FLAGS) ; do \
17990 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17991 done; \
17992 echo "Doing info in sim" ; \
17993 (cd sim && \
17994 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17995 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17996 "RANLIB=$${RANLIB}" \
17997 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17998 info) \
17999 || exit 1
18001 @endif sim
18003 .PHONY: maybe-dvi-sim dvi-sim
18004 maybe-dvi-sim:
18005 @if sim
18006 maybe-dvi-sim: dvi-sim
18008 dvi-sim: \
18009 configure-sim
18010 @[ -f ./sim/Makefile ] || exit 0; \
18011 r=`${PWD_COMMAND}`; export r; \
18012 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18013 $(SET_LIB_PATH) \
18014 $(HOST_EXPORTS) \
18015 for flag in $(EXTRA_HOST_FLAGS) ; do \
18016 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18017 done; \
18018 echo "Doing dvi in sim" ; \
18019 (cd sim && \
18020 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18021 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18022 "RANLIB=$${RANLIB}" \
18023 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18024 dvi) \
18025 || exit 1
18027 @endif sim
18029 .PHONY: maybe-TAGS-sim TAGS-sim
18030 maybe-TAGS-sim:
18031 @if sim
18032 maybe-TAGS-sim: TAGS-sim
18034 TAGS-sim: \
18035 configure-sim
18036 @[ -f ./sim/Makefile ] || exit 0; \
18037 r=`${PWD_COMMAND}`; export r; \
18038 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18039 $(SET_LIB_PATH) \
18040 $(HOST_EXPORTS) \
18041 for flag in $(EXTRA_HOST_FLAGS) ; do \
18042 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18043 done; \
18044 echo "Doing TAGS in sim" ; \
18045 (cd sim && \
18046 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18047 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18048 "RANLIB=$${RANLIB}" \
18049 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18050 TAGS) \
18051 || exit 1
18053 @endif sim
18055 .PHONY: maybe-install-info-sim install-info-sim
18056 maybe-install-info-sim:
18057 @if sim
18058 maybe-install-info-sim: install-info-sim
18060 install-info-sim: \
18061 configure-sim \
18062 info-sim
18063 @[ -f ./sim/Makefile ] || exit 0; \
18064 r=`${PWD_COMMAND}`; export r; \
18065 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18066 $(SET_LIB_PATH) \
18067 $(HOST_EXPORTS) \
18068 for flag in $(EXTRA_HOST_FLAGS) ; do \
18069 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18070 done; \
18071 echo "Doing install-info in sim" ; \
18072 (cd sim && \
18073 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18074 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18075 "RANLIB=$${RANLIB}" \
18076 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18077 install-info) \
18078 || exit 1
18080 @endif sim
18082 .PHONY: maybe-installcheck-sim installcheck-sim
18083 maybe-installcheck-sim:
18084 @if sim
18085 maybe-installcheck-sim: installcheck-sim
18087 installcheck-sim: \
18088 configure-sim
18089 @[ -f ./sim/Makefile ] || exit 0; \
18090 r=`${PWD_COMMAND}`; export r; \
18091 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18092 $(SET_LIB_PATH) \
18093 $(HOST_EXPORTS) \
18094 for flag in $(EXTRA_HOST_FLAGS) ; do \
18095 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18096 done; \
18097 echo "Doing installcheck in sim" ; \
18098 (cd sim && \
18099 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18100 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18101 "RANLIB=$${RANLIB}" \
18102 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18103 installcheck) \
18104 || exit 1
18106 @endif sim
18108 .PHONY: maybe-mostlyclean-sim mostlyclean-sim
18109 maybe-mostlyclean-sim:
18110 @if sim
18111 maybe-mostlyclean-sim: mostlyclean-sim
18113 mostlyclean-sim:
18114 @[ -f ./sim/Makefile ] || exit 0; \
18115 r=`${PWD_COMMAND}`; export r; \
18116 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18117 $(SET_LIB_PATH) \
18118 $(HOST_EXPORTS) \
18119 for flag in $(EXTRA_HOST_FLAGS) ; do \
18120 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18121 done; \
18122 echo "Doing mostlyclean in sim" ; \
18123 (cd sim && \
18124 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18125 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18126 "RANLIB=$${RANLIB}" \
18127 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18128 mostlyclean) \
18129 || exit 1
18131 @endif sim
18133 .PHONY: maybe-clean-sim clean-sim
18134 maybe-clean-sim:
18135 @if sim
18136 maybe-clean-sim: clean-sim
18138 clean-sim:
18139 @[ -f ./sim/Makefile ] || exit 0; \
18140 r=`${PWD_COMMAND}`; export r; \
18141 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18142 $(SET_LIB_PATH) \
18143 $(HOST_EXPORTS) \
18144 for flag in $(EXTRA_HOST_FLAGS) ; do \
18145 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18146 done; \
18147 echo "Doing clean in sim" ; \
18148 (cd sim && \
18149 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18150 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18151 "RANLIB=$${RANLIB}" \
18152 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18153 clean) \
18154 || exit 1
18156 @endif sim
18158 .PHONY: maybe-distclean-sim distclean-sim
18159 maybe-distclean-sim:
18160 @if sim
18161 maybe-distclean-sim: distclean-sim
18163 distclean-sim:
18164 @[ -f ./sim/Makefile ] || exit 0; \
18165 r=`${PWD_COMMAND}`; export r; \
18166 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18167 $(SET_LIB_PATH) \
18168 $(HOST_EXPORTS) \
18169 for flag in $(EXTRA_HOST_FLAGS) ; do \
18170 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18171 done; \
18172 echo "Doing distclean in sim" ; \
18173 (cd sim && \
18174 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18175 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18176 "RANLIB=$${RANLIB}" \
18177 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18178 distclean) \
18179 || exit 1
18181 @endif sim
18183 .PHONY: maybe-maintainer-clean-sim maintainer-clean-sim
18184 maybe-maintainer-clean-sim:
18185 @if sim
18186 maybe-maintainer-clean-sim: maintainer-clean-sim
18188 maintainer-clean-sim:
18189 @[ -f ./sim/Makefile ] || exit 0; \
18190 r=`${PWD_COMMAND}`; export r; \
18191 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18192 $(SET_LIB_PATH) \
18193 $(HOST_EXPORTS) \
18194 for flag in $(EXTRA_HOST_FLAGS) ; do \
18195 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18196 done; \
18197 echo "Doing maintainer-clean in sim" ; \
18198 (cd sim && \
18199 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18200 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18201 "RANLIB=$${RANLIB}" \
18202 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18203 maintainer-clean) \
18204 || exit 1
18206 @endif sim
18209 .PHONY: configure-tar maybe-configure-tar
18210 maybe-configure-tar:
18211 @if tar
18212 maybe-configure-tar: configure-tar
18213 configure-tar:
18214 @test ! -f tar/Makefile || exit 0; \
18215 [ -d tar ] || mkdir tar; \
18216 r=`${PWD_COMMAND}`; export r; \
18217 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18218 $(HOST_EXPORTS) \
18219 echo Configuring in tar; \
18220 cd tar || exit 1; \
18221 case $(srcdir) in \
18222 \.) \
18223 srcdiroption="--srcdir=."; \
18224 libsrcdir=".";; \
18225 /* | [A-Za-z]:[\\/]*) \
18226 srcdiroption="--srcdir=$(srcdir)/tar"; \
18227 libsrcdir="$$s/tar";; \
18228 *) \
18229 srcdiroption="--srcdir=../$(srcdir)/tar"; \
18230 libsrcdir="$$s/tar";; \
18231 esac; \
18232 $(SHELL) $${libsrcdir}/configure \
18233 $(HOST_CONFIGARGS) $${srcdiroption} \
18234 || exit 1
18235 @endif tar
18237 .PHONY: all-tar maybe-all-tar
18238 maybe-all-tar:
18239 @if tar
18240 maybe-all-tar: all-tar
18241 all-tar: configure-tar
18242 @r=`${PWD_COMMAND}`; export r; \
18243 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18244 $(SET_LIB_PATH) \
18245 $(HOST_EXPORTS) \
18246 (cd tar && $(MAKE) $(FLAGS_TO_PASS) all)
18247 @endif tar
18249 .PHONY: check-tar maybe-check-tar
18250 maybe-check-tar:
18251 @if tar
18252 maybe-check-tar: check-tar
18254 check-tar:
18255 @r=`${PWD_COMMAND}`; export r; \
18256 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18257 $(SET_LIB_PATH) \
18258 $(HOST_EXPORTS) \
18259 (cd tar && $(MAKE) $(FLAGS_TO_PASS) check)
18261 @endif tar
18263 .PHONY: install-tar maybe-install-tar
18264 maybe-install-tar:
18265 @if tar
18266 maybe-install-tar: install-tar
18268 install-tar: installdirs
18269 @r=`${PWD_COMMAND}`; export r; \
18270 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18271 $(SET_LIB_PATH) \
18272 $(HOST_EXPORTS) \
18273 (cd tar && $(MAKE) $(FLAGS_TO_PASS) install)
18275 @endif tar
18277 # Other targets (info, dvi, etc.)
18279 .PHONY: maybe-info-tar info-tar
18280 maybe-info-tar:
18281 @if tar
18282 maybe-info-tar: info-tar
18284 info-tar: \
18285 configure-tar
18286 @[ -f ./tar/Makefile ] || exit 0; \
18287 r=`${PWD_COMMAND}`; export r; \
18288 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18289 $(SET_LIB_PATH) \
18290 $(HOST_EXPORTS) \
18291 for flag in $(EXTRA_HOST_FLAGS) ; do \
18292 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18293 done; \
18294 echo "Doing info in tar" ; \
18295 (cd tar && \
18296 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18297 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18298 "RANLIB=$${RANLIB}" \
18299 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18300 info) \
18301 || exit 1
18303 @endif tar
18305 .PHONY: maybe-dvi-tar dvi-tar
18306 maybe-dvi-tar:
18307 @if tar
18308 maybe-dvi-tar: dvi-tar
18310 dvi-tar: \
18311 configure-tar
18312 @[ -f ./tar/Makefile ] || exit 0; \
18313 r=`${PWD_COMMAND}`; export r; \
18314 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18315 $(SET_LIB_PATH) \
18316 $(HOST_EXPORTS) \
18317 for flag in $(EXTRA_HOST_FLAGS) ; do \
18318 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18319 done; \
18320 echo "Doing dvi in tar" ; \
18321 (cd tar && \
18322 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18323 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18324 "RANLIB=$${RANLIB}" \
18325 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18326 dvi) \
18327 || exit 1
18329 @endif tar
18331 .PHONY: maybe-TAGS-tar TAGS-tar
18332 maybe-TAGS-tar:
18333 @if tar
18334 maybe-TAGS-tar: TAGS-tar
18336 TAGS-tar: \
18337 configure-tar
18338 @[ -f ./tar/Makefile ] || exit 0; \
18339 r=`${PWD_COMMAND}`; export r; \
18340 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18341 $(SET_LIB_PATH) \
18342 $(HOST_EXPORTS) \
18343 for flag in $(EXTRA_HOST_FLAGS) ; do \
18344 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18345 done; \
18346 echo "Doing TAGS in tar" ; \
18347 (cd tar && \
18348 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18349 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18350 "RANLIB=$${RANLIB}" \
18351 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18352 TAGS) \
18353 || exit 1
18355 @endif tar
18357 .PHONY: maybe-install-info-tar install-info-tar
18358 maybe-install-info-tar:
18359 @if tar
18360 maybe-install-info-tar: install-info-tar
18362 install-info-tar: \
18363 configure-tar \
18364 info-tar
18365 @[ -f ./tar/Makefile ] || exit 0; \
18366 r=`${PWD_COMMAND}`; export r; \
18367 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18368 $(SET_LIB_PATH) \
18369 $(HOST_EXPORTS) \
18370 for flag in $(EXTRA_HOST_FLAGS) ; do \
18371 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18372 done; \
18373 echo "Doing install-info in tar" ; \
18374 (cd tar && \
18375 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18376 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18377 "RANLIB=$${RANLIB}" \
18378 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18379 install-info) \
18380 || exit 1
18382 @endif tar
18384 .PHONY: maybe-installcheck-tar installcheck-tar
18385 maybe-installcheck-tar:
18386 @if tar
18387 maybe-installcheck-tar: installcheck-tar
18389 installcheck-tar: \
18390 configure-tar
18391 @[ -f ./tar/Makefile ] || exit 0; \
18392 r=`${PWD_COMMAND}`; export r; \
18393 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18394 $(SET_LIB_PATH) \
18395 $(HOST_EXPORTS) \
18396 for flag in $(EXTRA_HOST_FLAGS) ; do \
18397 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18398 done; \
18399 echo "Doing installcheck in tar" ; \
18400 (cd tar && \
18401 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18402 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18403 "RANLIB=$${RANLIB}" \
18404 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18405 installcheck) \
18406 || exit 1
18408 @endif tar
18410 .PHONY: maybe-mostlyclean-tar mostlyclean-tar
18411 maybe-mostlyclean-tar:
18412 @if tar
18413 maybe-mostlyclean-tar: mostlyclean-tar
18415 mostlyclean-tar:
18416 @[ -f ./tar/Makefile ] || exit 0; \
18417 r=`${PWD_COMMAND}`; export r; \
18418 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18419 $(SET_LIB_PATH) \
18420 $(HOST_EXPORTS) \
18421 for flag in $(EXTRA_HOST_FLAGS) ; do \
18422 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18423 done; \
18424 echo "Doing mostlyclean in tar" ; \
18425 (cd tar && \
18426 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18427 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18428 "RANLIB=$${RANLIB}" \
18429 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18430 mostlyclean) \
18431 || exit 1
18433 @endif tar
18435 .PHONY: maybe-clean-tar clean-tar
18436 maybe-clean-tar:
18437 @if tar
18438 maybe-clean-tar: clean-tar
18440 clean-tar:
18441 @[ -f ./tar/Makefile ] || exit 0; \
18442 r=`${PWD_COMMAND}`; export r; \
18443 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18444 $(SET_LIB_PATH) \
18445 $(HOST_EXPORTS) \
18446 for flag in $(EXTRA_HOST_FLAGS) ; do \
18447 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18448 done; \
18449 echo "Doing clean in tar" ; \
18450 (cd tar && \
18451 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18452 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18453 "RANLIB=$${RANLIB}" \
18454 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18455 clean) \
18456 || exit 1
18458 @endif tar
18460 .PHONY: maybe-distclean-tar distclean-tar
18461 maybe-distclean-tar:
18462 @if tar
18463 maybe-distclean-tar: distclean-tar
18465 distclean-tar:
18466 @[ -f ./tar/Makefile ] || exit 0; \
18467 r=`${PWD_COMMAND}`; export r; \
18468 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18469 $(SET_LIB_PATH) \
18470 $(HOST_EXPORTS) \
18471 for flag in $(EXTRA_HOST_FLAGS) ; do \
18472 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18473 done; \
18474 echo "Doing distclean in tar" ; \
18475 (cd tar && \
18476 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18477 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18478 "RANLIB=$${RANLIB}" \
18479 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18480 distclean) \
18481 || exit 1
18483 @endif tar
18485 .PHONY: maybe-maintainer-clean-tar maintainer-clean-tar
18486 maybe-maintainer-clean-tar:
18487 @if tar
18488 maybe-maintainer-clean-tar: maintainer-clean-tar
18490 maintainer-clean-tar:
18491 @[ -f ./tar/Makefile ] || exit 0; \
18492 r=`${PWD_COMMAND}`; export r; \
18493 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18494 $(SET_LIB_PATH) \
18495 $(HOST_EXPORTS) \
18496 for flag in $(EXTRA_HOST_FLAGS) ; do \
18497 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18498 done; \
18499 echo "Doing maintainer-clean in tar" ; \
18500 (cd tar && \
18501 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18502 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18503 "RANLIB=$${RANLIB}" \
18504 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18505 maintainer-clean) \
18506 || exit 1
18508 @endif tar
18511 .PHONY: configure-texinfo maybe-configure-texinfo
18512 maybe-configure-texinfo:
18513 @if texinfo
18514 maybe-configure-texinfo: configure-texinfo
18515 configure-texinfo:
18516 @test ! -f texinfo/Makefile || exit 0; \
18517 [ -d texinfo ] || mkdir texinfo; \
18518 r=`${PWD_COMMAND}`; export r; \
18519 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18520 $(HOST_EXPORTS) \
18521 echo Configuring in texinfo; \
18522 cd texinfo || exit 1; \
18523 case $(srcdir) in \
18524 \.) \
18525 srcdiroption="--srcdir=."; \
18526 libsrcdir=".";; \
18527 /* | [A-Za-z]:[\\/]*) \
18528 srcdiroption="--srcdir=$(srcdir)/texinfo"; \
18529 libsrcdir="$$s/texinfo";; \
18530 *) \
18531 srcdiroption="--srcdir=../$(srcdir)/texinfo"; \
18532 libsrcdir="$$s/texinfo";; \
18533 esac; \
18534 $(SHELL) $${libsrcdir}/configure \
18535 $(HOST_CONFIGARGS) $${srcdiroption} \
18536 || exit 1
18537 @endif texinfo
18539 .PHONY: all-texinfo maybe-all-texinfo
18540 maybe-all-texinfo:
18541 @if texinfo
18542 maybe-all-texinfo: all-texinfo
18543 all-texinfo: configure-texinfo
18544 @r=`${PWD_COMMAND}`; export r; \
18545 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18546 $(SET_LIB_PATH) \
18547 $(HOST_EXPORTS) \
18548 (cd texinfo && $(MAKE) $(FLAGS_TO_PASS) all)
18549 @endif texinfo
18551 .PHONY: check-texinfo maybe-check-texinfo
18552 maybe-check-texinfo:
18553 @if texinfo
18554 maybe-check-texinfo: check-texinfo
18556 check-texinfo:
18557 @r=`${PWD_COMMAND}`; export r; \
18558 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18559 $(SET_LIB_PATH) \
18560 $(HOST_EXPORTS) \
18561 (cd texinfo && $(MAKE) $(FLAGS_TO_PASS) check)
18563 @endif texinfo
18565 .PHONY: install-texinfo maybe-install-texinfo
18566 maybe-install-texinfo:
18567 @if texinfo
18568 maybe-install-texinfo: install-texinfo
18570 install-texinfo:
18572 @endif texinfo
18574 # Other targets (info, dvi, etc.)
18576 .PHONY: maybe-info-texinfo info-texinfo
18577 maybe-info-texinfo:
18578 @if texinfo
18579 maybe-info-texinfo: info-texinfo
18581 info-texinfo: \
18582 configure-texinfo
18583 @[ -f ./texinfo/Makefile ] || exit 0; \
18584 r=`${PWD_COMMAND}`; export r; \
18585 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18586 $(SET_LIB_PATH) \
18587 $(HOST_EXPORTS) \
18588 for flag in $(EXTRA_HOST_FLAGS) ; do \
18589 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18590 done; \
18591 echo "Doing info in texinfo" ; \
18592 (cd texinfo && \
18593 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18594 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18595 "RANLIB=$${RANLIB}" \
18596 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18597 info) \
18598 || exit 1
18600 @endif texinfo
18602 .PHONY: maybe-dvi-texinfo dvi-texinfo
18603 maybe-dvi-texinfo:
18604 @if texinfo
18605 maybe-dvi-texinfo: dvi-texinfo
18607 dvi-texinfo: \
18608 configure-texinfo
18609 @[ -f ./texinfo/Makefile ] || exit 0; \
18610 r=`${PWD_COMMAND}`; export r; \
18611 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18612 $(SET_LIB_PATH) \
18613 $(HOST_EXPORTS) \
18614 for flag in $(EXTRA_HOST_FLAGS) ; do \
18615 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18616 done; \
18617 echo "Doing dvi in texinfo" ; \
18618 (cd texinfo && \
18619 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18620 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18621 "RANLIB=$${RANLIB}" \
18622 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18623 dvi) \
18624 || exit 1
18626 @endif texinfo
18628 .PHONY: maybe-TAGS-texinfo TAGS-texinfo
18629 maybe-TAGS-texinfo:
18630 @if texinfo
18631 maybe-TAGS-texinfo: TAGS-texinfo
18633 TAGS-texinfo: \
18634 configure-texinfo
18635 @[ -f ./texinfo/Makefile ] || exit 0; \
18636 r=`${PWD_COMMAND}`; export r; \
18637 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18638 $(SET_LIB_PATH) \
18639 $(HOST_EXPORTS) \
18640 for flag in $(EXTRA_HOST_FLAGS) ; do \
18641 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18642 done; \
18643 echo "Doing TAGS in texinfo" ; \
18644 (cd texinfo && \
18645 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18646 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18647 "RANLIB=$${RANLIB}" \
18648 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18649 TAGS) \
18650 || exit 1
18652 @endif texinfo
18654 .PHONY: maybe-install-info-texinfo install-info-texinfo
18655 maybe-install-info-texinfo:
18656 @if texinfo
18657 maybe-install-info-texinfo: install-info-texinfo
18659 install-info-texinfo: \
18660 configure-texinfo \
18661 info-texinfo
18662 @[ -f ./texinfo/Makefile ] || exit 0; \
18663 r=`${PWD_COMMAND}`; export r; \
18664 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18665 $(SET_LIB_PATH) \
18666 $(HOST_EXPORTS) \
18667 for flag in $(EXTRA_HOST_FLAGS) ; do \
18668 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18669 done; \
18670 echo "Doing install-info in texinfo" ; \
18671 (cd texinfo && \
18672 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18673 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18674 "RANLIB=$${RANLIB}" \
18675 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18676 install-info) \
18677 || exit 1
18679 @endif texinfo
18681 .PHONY: maybe-installcheck-texinfo installcheck-texinfo
18682 maybe-installcheck-texinfo:
18683 @if texinfo
18684 maybe-installcheck-texinfo: installcheck-texinfo
18686 installcheck-texinfo: \
18687 configure-texinfo
18688 @[ -f ./texinfo/Makefile ] || exit 0; \
18689 r=`${PWD_COMMAND}`; export r; \
18690 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18691 $(SET_LIB_PATH) \
18692 $(HOST_EXPORTS) \
18693 for flag in $(EXTRA_HOST_FLAGS) ; do \
18694 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18695 done; \
18696 echo "Doing installcheck in texinfo" ; \
18697 (cd texinfo && \
18698 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18699 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18700 "RANLIB=$${RANLIB}" \
18701 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18702 installcheck) \
18703 || exit 1
18705 @endif texinfo
18707 .PHONY: maybe-mostlyclean-texinfo mostlyclean-texinfo
18708 maybe-mostlyclean-texinfo:
18709 @if texinfo
18710 maybe-mostlyclean-texinfo: mostlyclean-texinfo
18712 mostlyclean-texinfo:
18713 @[ -f ./texinfo/Makefile ] || exit 0; \
18714 r=`${PWD_COMMAND}`; export r; \
18715 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18716 $(SET_LIB_PATH) \
18717 $(HOST_EXPORTS) \
18718 for flag in $(EXTRA_HOST_FLAGS) ; do \
18719 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18720 done; \
18721 echo "Doing mostlyclean in texinfo" ; \
18722 (cd texinfo && \
18723 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18724 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18725 "RANLIB=$${RANLIB}" \
18726 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18727 mostlyclean) \
18728 || exit 1
18730 @endif texinfo
18732 .PHONY: maybe-clean-texinfo clean-texinfo
18733 maybe-clean-texinfo:
18734 @if texinfo
18735 maybe-clean-texinfo: clean-texinfo
18737 clean-texinfo:
18738 @[ -f ./texinfo/Makefile ] || exit 0; \
18739 r=`${PWD_COMMAND}`; export r; \
18740 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18741 $(SET_LIB_PATH) \
18742 $(HOST_EXPORTS) \
18743 for flag in $(EXTRA_HOST_FLAGS) ; do \
18744 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18745 done; \
18746 echo "Doing clean in texinfo" ; \
18747 (cd texinfo && \
18748 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18749 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18750 "RANLIB=$${RANLIB}" \
18751 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18752 clean) \
18753 || exit 1
18755 @endif texinfo
18757 .PHONY: maybe-distclean-texinfo distclean-texinfo
18758 maybe-distclean-texinfo:
18759 @if texinfo
18760 maybe-distclean-texinfo: distclean-texinfo
18762 distclean-texinfo:
18763 @[ -f ./texinfo/Makefile ] || exit 0; \
18764 r=`${PWD_COMMAND}`; export r; \
18765 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18766 $(SET_LIB_PATH) \
18767 $(HOST_EXPORTS) \
18768 for flag in $(EXTRA_HOST_FLAGS) ; do \
18769 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18770 done; \
18771 echo "Doing distclean in texinfo" ; \
18772 (cd texinfo && \
18773 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18774 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18775 "RANLIB=$${RANLIB}" \
18776 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18777 distclean) \
18778 || exit 1
18780 @endif texinfo
18782 .PHONY: maybe-maintainer-clean-texinfo maintainer-clean-texinfo
18783 maybe-maintainer-clean-texinfo:
18784 @if texinfo
18785 maybe-maintainer-clean-texinfo: maintainer-clean-texinfo
18787 maintainer-clean-texinfo:
18788 @[ -f ./texinfo/Makefile ] || exit 0; \
18789 r=`${PWD_COMMAND}`; export r; \
18790 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18791 $(SET_LIB_PATH) \
18792 $(HOST_EXPORTS) \
18793 for flag in $(EXTRA_HOST_FLAGS) ; do \
18794 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18795 done; \
18796 echo "Doing maintainer-clean in texinfo" ; \
18797 (cd texinfo && \
18798 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18799 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18800 "RANLIB=$${RANLIB}" \
18801 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18802 maintainer-clean) \
18803 || exit 1
18805 @endif texinfo
18808 .PHONY: configure-textutils maybe-configure-textutils
18809 maybe-configure-textutils:
18810 @if textutils
18811 maybe-configure-textutils: configure-textutils
18812 configure-textutils:
18813 @test ! -f textutils/Makefile || exit 0; \
18814 [ -d textutils ] || mkdir textutils; \
18815 r=`${PWD_COMMAND}`; export r; \
18816 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18817 $(HOST_EXPORTS) \
18818 echo Configuring in textutils; \
18819 cd textutils || exit 1; \
18820 case $(srcdir) in \
18821 \.) \
18822 srcdiroption="--srcdir=."; \
18823 libsrcdir=".";; \
18824 /* | [A-Za-z]:[\\/]*) \
18825 srcdiroption="--srcdir=$(srcdir)/textutils"; \
18826 libsrcdir="$$s/textutils";; \
18827 *) \
18828 srcdiroption="--srcdir=../$(srcdir)/textutils"; \
18829 libsrcdir="$$s/textutils";; \
18830 esac; \
18831 $(SHELL) $${libsrcdir}/configure \
18832 $(HOST_CONFIGARGS) $${srcdiroption} \
18833 || exit 1
18834 @endif textutils
18836 .PHONY: all-textutils maybe-all-textutils
18837 maybe-all-textutils:
18838 @if textutils
18839 maybe-all-textutils: all-textutils
18840 all-textutils: configure-textutils
18841 @r=`${PWD_COMMAND}`; export r; \
18842 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18843 $(SET_LIB_PATH) \
18844 $(HOST_EXPORTS) \
18845 (cd textutils && $(MAKE) $(FLAGS_TO_PASS) all)
18846 @endif textutils
18848 .PHONY: check-textutils maybe-check-textutils
18849 maybe-check-textutils:
18850 @if textutils
18851 maybe-check-textutils: check-textutils
18853 check-textutils:
18854 @r=`${PWD_COMMAND}`; export r; \
18855 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18856 $(SET_LIB_PATH) \
18857 $(HOST_EXPORTS) \
18858 (cd textutils && $(MAKE) $(FLAGS_TO_PASS) check)
18860 @endif textutils
18862 .PHONY: install-textutils maybe-install-textutils
18863 maybe-install-textutils:
18864 @if textutils
18865 maybe-install-textutils: install-textutils
18867 install-textutils: installdirs
18868 @r=`${PWD_COMMAND}`; export r; \
18869 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18870 $(SET_LIB_PATH) \
18871 $(HOST_EXPORTS) \
18872 (cd textutils && $(MAKE) $(FLAGS_TO_PASS) install)
18874 @endif textutils
18876 # Other targets (info, dvi, etc.)
18878 .PHONY: maybe-info-textutils info-textutils
18879 maybe-info-textutils:
18880 @if textutils
18881 maybe-info-textutils: info-textutils
18883 info-textutils: \
18884 configure-textutils
18885 @[ -f ./textutils/Makefile ] || exit 0; \
18886 r=`${PWD_COMMAND}`; export r; \
18887 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18888 $(SET_LIB_PATH) \
18889 $(HOST_EXPORTS) \
18890 for flag in $(EXTRA_HOST_FLAGS) ; do \
18891 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18892 done; \
18893 echo "Doing info in textutils" ; \
18894 (cd textutils && \
18895 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18896 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18897 "RANLIB=$${RANLIB}" \
18898 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18899 info) \
18900 || exit 1
18902 @endif textutils
18904 .PHONY: maybe-dvi-textutils dvi-textutils
18905 maybe-dvi-textutils:
18906 @if textutils
18907 maybe-dvi-textutils: dvi-textutils
18909 dvi-textutils: \
18910 configure-textutils
18911 @[ -f ./textutils/Makefile ] || exit 0; \
18912 r=`${PWD_COMMAND}`; export r; \
18913 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18914 $(SET_LIB_PATH) \
18915 $(HOST_EXPORTS) \
18916 for flag in $(EXTRA_HOST_FLAGS) ; do \
18917 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18918 done; \
18919 echo "Doing dvi in textutils" ; \
18920 (cd textutils && \
18921 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18922 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18923 "RANLIB=$${RANLIB}" \
18924 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18925 dvi) \
18926 || exit 1
18928 @endif textutils
18930 .PHONY: maybe-TAGS-textutils TAGS-textutils
18931 maybe-TAGS-textutils:
18932 @if textutils
18933 maybe-TAGS-textutils: TAGS-textutils
18935 TAGS-textutils: \
18936 configure-textutils
18937 @[ -f ./textutils/Makefile ] || exit 0; \
18938 r=`${PWD_COMMAND}`; export r; \
18939 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18940 $(SET_LIB_PATH) \
18941 $(HOST_EXPORTS) \
18942 for flag in $(EXTRA_HOST_FLAGS) ; do \
18943 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18944 done; \
18945 echo "Doing TAGS in textutils" ; \
18946 (cd textutils && \
18947 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18948 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18949 "RANLIB=$${RANLIB}" \
18950 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18951 TAGS) \
18952 || exit 1
18954 @endif textutils
18956 .PHONY: maybe-install-info-textutils install-info-textutils
18957 maybe-install-info-textutils:
18958 @if textutils
18959 maybe-install-info-textutils: install-info-textutils
18961 install-info-textutils: \
18962 configure-textutils \
18963 info-textutils
18964 @[ -f ./textutils/Makefile ] || exit 0; \
18965 r=`${PWD_COMMAND}`; export r; \
18966 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18967 $(SET_LIB_PATH) \
18968 $(HOST_EXPORTS) \
18969 for flag in $(EXTRA_HOST_FLAGS) ; do \
18970 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18971 done; \
18972 echo "Doing install-info in textutils" ; \
18973 (cd textutils && \
18974 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18975 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18976 "RANLIB=$${RANLIB}" \
18977 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18978 install-info) \
18979 || exit 1
18981 @endif textutils
18983 .PHONY: maybe-installcheck-textutils installcheck-textutils
18984 maybe-installcheck-textutils:
18985 @if textutils
18986 maybe-installcheck-textutils: installcheck-textutils
18988 installcheck-textutils: \
18989 configure-textutils
18990 @[ -f ./textutils/Makefile ] || exit 0; \
18991 r=`${PWD_COMMAND}`; export r; \
18992 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18993 $(SET_LIB_PATH) \
18994 $(HOST_EXPORTS) \
18995 for flag in $(EXTRA_HOST_FLAGS) ; do \
18996 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18997 done; \
18998 echo "Doing installcheck in textutils" ; \
18999 (cd textutils && \
19000 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19001 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19002 "RANLIB=$${RANLIB}" \
19003 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19004 installcheck) \
19005 || exit 1
19007 @endif textutils
19009 .PHONY: maybe-mostlyclean-textutils mostlyclean-textutils
19010 maybe-mostlyclean-textutils:
19011 @if textutils
19012 maybe-mostlyclean-textutils: mostlyclean-textutils
19014 mostlyclean-textutils:
19015 @[ -f ./textutils/Makefile ] || exit 0; \
19016 r=`${PWD_COMMAND}`; export r; \
19017 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19018 $(SET_LIB_PATH) \
19019 $(HOST_EXPORTS) \
19020 for flag in $(EXTRA_HOST_FLAGS) ; do \
19021 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19022 done; \
19023 echo "Doing mostlyclean in textutils" ; \
19024 (cd textutils && \
19025 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19026 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19027 "RANLIB=$${RANLIB}" \
19028 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19029 mostlyclean) \
19030 || exit 1
19032 @endif textutils
19034 .PHONY: maybe-clean-textutils clean-textutils
19035 maybe-clean-textutils:
19036 @if textutils
19037 maybe-clean-textutils: clean-textutils
19039 clean-textutils:
19040 @[ -f ./textutils/Makefile ] || exit 0; \
19041 r=`${PWD_COMMAND}`; export r; \
19042 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19043 $(SET_LIB_PATH) \
19044 $(HOST_EXPORTS) \
19045 for flag in $(EXTRA_HOST_FLAGS) ; do \
19046 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19047 done; \
19048 echo "Doing clean in textutils" ; \
19049 (cd textutils && \
19050 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19051 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19052 "RANLIB=$${RANLIB}" \
19053 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19054 clean) \
19055 || exit 1
19057 @endif textutils
19059 .PHONY: maybe-distclean-textutils distclean-textutils
19060 maybe-distclean-textutils:
19061 @if textutils
19062 maybe-distclean-textutils: distclean-textutils
19064 distclean-textutils:
19065 @[ -f ./textutils/Makefile ] || exit 0; \
19066 r=`${PWD_COMMAND}`; export r; \
19067 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19068 $(SET_LIB_PATH) \
19069 $(HOST_EXPORTS) \
19070 for flag in $(EXTRA_HOST_FLAGS) ; do \
19071 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19072 done; \
19073 echo "Doing distclean in textutils" ; \
19074 (cd textutils && \
19075 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19076 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19077 "RANLIB=$${RANLIB}" \
19078 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19079 distclean) \
19080 || exit 1
19082 @endif textutils
19084 .PHONY: maybe-maintainer-clean-textutils maintainer-clean-textutils
19085 maybe-maintainer-clean-textutils:
19086 @if textutils
19087 maybe-maintainer-clean-textutils: maintainer-clean-textutils
19089 maintainer-clean-textutils:
19090 @[ -f ./textutils/Makefile ] || exit 0; \
19091 r=`${PWD_COMMAND}`; export r; \
19092 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19093 $(SET_LIB_PATH) \
19094 $(HOST_EXPORTS) \
19095 for flag in $(EXTRA_HOST_FLAGS) ; do \
19096 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19097 done; \
19098 echo "Doing maintainer-clean in textutils" ; \
19099 (cd textutils && \
19100 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19101 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19102 "RANLIB=$${RANLIB}" \
19103 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19104 maintainer-clean) \
19105 || exit 1
19107 @endif textutils
19110 .PHONY: configure-time maybe-configure-time
19111 maybe-configure-time:
19112 @if time
19113 maybe-configure-time: configure-time
19114 configure-time:
19115 @test ! -f time/Makefile || exit 0; \
19116 [ -d time ] || mkdir time; \
19117 r=`${PWD_COMMAND}`; export r; \
19118 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19119 $(HOST_EXPORTS) \
19120 echo Configuring in time; \
19121 cd time || exit 1; \
19122 case $(srcdir) in \
19123 \.) \
19124 srcdiroption="--srcdir=."; \
19125 libsrcdir=".";; \
19126 /* | [A-Za-z]:[\\/]*) \
19127 srcdiroption="--srcdir=$(srcdir)/time"; \
19128 libsrcdir="$$s/time";; \
19129 *) \
19130 srcdiroption="--srcdir=../$(srcdir)/time"; \
19131 libsrcdir="$$s/time";; \
19132 esac; \
19133 $(SHELL) $${libsrcdir}/configure \
19134 $(HOST_CONFIGARGS) $${srcdiroption} \
19135 || exit 1
19136 @endif time
19138 .PHONY: all-time maybe-all-time
19139 maybe-all-time:
19140 @if time
19141 maybe-all-time: all-time
19142 all-time: configure-time
19143 @r=`${PWD_COMMAND}`; export r; \
19144 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19145 $(SET_LIB_PATH) \
19146 $(HOST_EXPORTS) \
19147 (cd time && $(MAKE) $(FLAGS_TO_PASS) all)
19148 @endif time
19150 .PHONY: check-time maybe-check-time
19151 maybe-check-time:
19152 @if time
19153 maybe-check-time: check-time
19155 check-time:
19156 @r=`${PWD_COMMAND}`; export r; \
19157 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19158 $(SET_LIB_PATH) \
19159 $(HOST_EXPORTS) \
19160 (cd time && $(MAKE) $(FLAGS_TO_PASS) check)
19162 @endif time
19164 .PHONY: install-time maybe-install-time
19165 maybe-install-time:
19166 @if time
19167 maybe-install-time: install-time
19169 install-time: installdirs
19170 @r=`${PWD_COMMAND}`; export r; \
19171 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19172 $(SET_LIB_PATH) \
19173 $(HOST_EXPORTS) \
19174 (cd time && $(MAKE) $(FLAGS_TO_PASS) install)
19176 @endif time
19178 # Other targets (info, dvi, etc.)
19180 .PHONY: maybe-info-time info-time
19181 maybe-info-time:
19182 @if time
19183 maybe-info-time: info-time
19185 info-time: \
19186 configure-time
19187 @[ -f ./time/Makefile ] || exit 0; \
19188 r=`${PWD_COMMAND}`; export r; \
19189 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19190 $(SET_LIB_PATH) \
19191 $(HOST_EXPORTS) \
19192 for flag in $(EXTRA_HOST_FLAGS) ; do \
19193 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19194 done; \
19195 echo "Doing info in time" ; \
19196 (cd time && \
19197 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19198 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19199 "RANLIB=$${RANLIB}" \
19200 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19201 info) \
19202 || exit 1
19204 @endif time
19206 .PHONY: maybe-dvi-time dvi-time
19207 maybe-dvi-time:
19208 @if time
19209 maybe-dvi-time: dvi-time
19211 dvi-time: \
19212 configure-time
19213 @[ -f ./time/Makefile ] || exit 0; \
19214 r=`${PWD_COMMAND}`; export r; \
19215 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19216 $(SET_LIB_PATH) \
19217 $(HOST_EXPORTS) \
19218 for flag in $(EXTRA_HOST_FLAGS) ; do \
19219 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19220 done; \
19221 echo "Doing dvi in time" ; \
19222 (cd time && \
19223 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19224 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19225 "RANLIB=$${RANLIB}" \
19226 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19227 dvi) \
19228 || exit 1
19230 @endif time
19232 .PHONY: maybe-TAGS-time TAGS-time
19233 maybe-TAGS-time:
19234 @if time
19235 maybe-TAGS-time: TAGS-time
19237 TAGS-time: \
19238 configure-time
19239 @[ -f ./time/Makefile ] || exit 0; \
19240 r=`${PWD_COMMAND}`; export r; \
19241 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19242 $(SET_LIB_PATH) \
19243 $(HOST_EXPORTS) \
19244 for flag in $(EXTRA_HOST_FLAGS) ; do \
19245 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19246 done; \
19247 echo "Doing TAGS in time" ; \
19248 (cd time && \
19249 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19250 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19251 "RANLIB=$${RANLIB}" \
19252 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19253 TAGS) \
19254 || exit 1
19256 @endif time
19258 .PHONY: maybe-install-info-time install-info-time
19259 maybe-install-info-time:
19260 @if time
19261 maybe-install-info-time: install-info-time
19263 install-info-time: \
19264 configure-time \
19265 info-time
19266 @[ -f ./time/Makefile ] || exit 0; \
19267 r=`${PWD_COMMAND}`; export r; \
19268 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19269 $(SET_LIB_PATH) \
19270 $(HOST_EXPORTS) \
19271 for flag in $(EXTRA_HOST_FLAGS) ; do \
19272 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19273 done; \
19274 echo "Doing install-info in time" ; \
19275 (cd time && \
19276 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19277 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19278 "RANLIB=$${RANLIB}" \
19279 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19280 install-info) \
19281 || exit 1
19283 @endif time
19285 .PHONY: maybe-installcheck-time installcheck-time
19286 maybe-installcheck-time:
19287 @if time
19288 maybe-installcheck-time: installcheck-time
19290 installcheck-time: \
19291 configure-time
19292 @[ -f ./time/Makefile ] || exit 0; \
19293 r=`${PWD_COMMAND}`; export r; \
19294 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19295 $(SET_LIB_PATH) \
19296 $(HOST_EXPORTS) \
19297 for flag in $(EXTRA_HOST_FLAGS) ; do \
19298 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19299 done; \
19300 echo "Doing installcheck in time" ; \
19301 (cd time && \
19302 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19303 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19304 "RANLIB=$${RANLIB}" \
19305 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19306 installcheck) \
19307 || exit 1
19309 @endif time
19311 .PHONY: maybe-mostlyclean-time mostlyclean-time
19312 maybe-mostlyclean-time:
19313 @if time
19314 maybe-mostlyclean-time: mostlyclean-time
19316 mostlyclean-time:
19317 @[ -f ./time/Makefile ] || exit 0; \
19318 r=`${PWD_COMMAND}`; export r; \
19319 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19320 $(SET_LIB_PATH) \
19321 $(HOST_EXPORTS) \
19322 for flag in $(EXTRA_HOST_FLAGS) ; do \
19323 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19324 done; \
19325 echo "Doing mostlyclean in time" ; \
19326 (cd time && \
19327 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19328 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19329 "RANLIB=$${RANLIB}" \
19330 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19331 mostlyclean) \
19332 || exit 1
19334 @endif time
19336 .PHONY: maybe-clean-time clean-time
19337 maybe-clean-time:
19338 @if time
19339 maybe-clean-time: clean-time
19341 clean-time:
19342 @[ -f ./time/Makefile ] || exit 0; \
19343 r=`${PWD_COMMAND}`; export r; \
19344 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19345 $(SET_LIB_PATH) \
19346 $(HOST_EXPORTS) \
19347 for flag in $(EXTRA_HOST_FLAGS) ; do \
19348 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19349 done; \
19350 echo "Doing clean in time" ; \
19351 (cd time && \
19352 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19353 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19354 "RANLIB=$${RANLIB}" \
19355 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19356 clean) \
19357 || exit 1
19359 @endif time
19361 .PHONY: maybe-distclean-time distclean-time
19362 maybe-distclean-time:
19363 @if time
19364 maybe-distclean-time: distclean-time
19366 distclean-time:
19367 @[ -f ./time/Makefile ] || exit 0; \
19368 r=`${PWD_COMMAND}`; export r; \
19369 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19370 $(SET_LIB_PATH) \
19371 $(HOST_EXPORTS) \
19372 for flag in $(EXTRA_HOST_FLAGS) ; do \
19373 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19374 done; \
19375 echo "Doing distclean in time" ; \
19376 (cd time && \
19377 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19378 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19379 "RANLIB=$${RANLIB}" \
19380 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19381 distclean) \
19382 || exit 1
19384 @endif time
19386 .PHONY: maybe-maintainer-clean-time maintainer-clean-time
19387 maybe-maintainer-clean-time:
19388 @if time
19389 maybe-maintainer-clean-time: maintainer-clean-time
19391 maintainer-clean-time:
19392 @[ -f ./time/Makefile ] || exit 0; \
19393 r=`${PWD_COMMAND}`; export r; \
19394 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19395 $(SET_LIB_PATH) \
19396 $(HOST_EXPORTS) \
19397 for flag in $(EXTRA_HOST_FLAGS) ; do \
19398 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19399 done; \
19400 echo "Doing maintainer-clean in time" ; \
19401 (cd time && \
19402 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19403 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19404 "RANLIB=$${RANLIB}" \
19405 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19406 maintainer-clean) \
19407 || exit 1
19409 @endif time
19412 .PHONY: configure-uudecode maybe-configure-uudecode
19413 maybe-configure-uudecode:
19414 @if uudecode
19415 maybe-configure-uudecode: configure-uudecode
19416 configure-uudecode:
19417 @test ! -f uudecode/Makefile || exit 0; \
19418 [ -d uudecode ] || mkdir uudecode; \
19419 r=`${PWD_COMMAND}`; export r; \
19420 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19421 $(HOST_EXPORTS) \
19422 echo Configuring in uudecode; \
19423 cd uudecode || exit 1; \
19424 case $(srcdir) in \
19425 \.) \
19426 srcdiroption="--srcdir=."; \
19427 libsrcdir=".";; \
19428 /* | [A-Za-z]:[\\/]*) \
19429 srcdiroption="--srcdir=$(srcdir)/uudecode"; \
19430 libsrcdir="$$s/uudecode";; \
19431 *) \
19432 srcdiroption="--srcdir=../$(srcdir)/uudecode"; \
19433 libsrcdir="$$s/uudecode";; \
19434 esac; \
19435 $(SHELL) $${libsrcdir}/configure \
19436 $(HOST_CONFIGARGS) $${srcdiroption} \
19437 || exit 1
19438 @endif uudecode
19440 .PHONY: all-uudecode maybe-all-uudecode
19441 maybe-all-uudecode:
19442 @if uudecode
19443 maybe-all-uudecode: all-uudecode
19444 all-uudecode: configure-uudecode
19445 @r=`${PWD_COMMAND}`; export r; \
19446 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19447 $(SET_LIB_PATH) \
19448 $(HOST_EXPORTS) \
19449 (cd uudecode && $(MAKE) $(FLAGS_TO_PASS) all)
19450 @endif uudecode
19452 .PHONY: check-uudecode maybe-check-uudecode
19453 maybe-check-uudecode:
19454 @if uudecode
19455 maybe-check-uudecode: check-uudecode
19457 check-uudecode:
19458 @r=`${PWD_COMMAND}`; export r; \
19459 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19460 $(SET_LIB_PATH) \
19461 $(HOST_EXPORTS) \
19462 (cd uudecode && $(MAKE) $(FLAGS_TO_PASS) check)
19464 @endif uudecode
19466 .PHONY: install-uudecode maybe-install-uudecode
19467 maybe-install-uudecode:
19468 @if uudecode
19469 maybe-install-uudecode: install-uudecode
19471 install-uudecode: installdirs
19472 @r=`${PWD_COMMAND}`; export r; \
19473 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19474 $(SET_LIB_PATH) \
19475 $(HOST_EXPORTS) \
19476 (cd uudecode && $(MAKE) $(FLAGS_TO_PASS) install)
19478 @endif uudecode
19480 # Other targets (info, dvi, etc.)
19482 .PHONY: maybe-info-uudecode info-uudecode
19483 maybe-info-uudecode:
19484 @if uudecode
19485 maybe-info-uudecode: info-uudecode
19487 info-uudecode: \
19488 configure-uudecode
19489 @[ -f ./uudecode/Makefile ] || exit 0; \
19490 r=`${PWD_COMMAND}`; export r; \
19491 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19492 $(SET_LIB_PATH) \
19493 $(HOST_EXPORTS) \
19494 for flag in $(EXTRA_HOST_FLAGS) ; do \
19495 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19496 done; \
19497 echo "Doing info in uudecode" ; \
19498 (cd uudecode && \
19499 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19500 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19501 "RANLIB=$${RANLIB}" \
19502 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19503 info) \
19504 || exit 1
19506 @endif uudecode
19508 .PHONY: maybe-dvi-uudecode dvi-uudecode
19509 maybe-dvi-uudecode:
19510 @if uudecode
19511 maybe-dvi-uudecode: dvi-uudecode
19513 dvi-uudecode: \
19514 configure-uudecode
19515 @[ -f ./uudecode/Makefile ] || exit 0; \
19516 r=`${PWD_COMMAND}`; export r; \
19517 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19518 $(SET_LIB_PATH) \
19519 $(HOST_EXPORTS) \
19520 for flag in $(EXTRA_HOST_FLAGS) ; do \
19521 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19522 done; \
19523 echo "Doing dvi in uudecode" ; \
19524 (cd uudecode && \
19525 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19526 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19527 "RANLIB=$${RANLIB}" \
19528 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19529 dvi) \
19530 || exit 1
19532 @endif uudecode
19534 .PHONY: maybe-TAGS-uudecode TAGS-uudecode
19535 maybe-TAGS-uudecode:
19536 @if uudecode
19537 maybe-TAGS-uudecode: TAGS-uudecode
19539 TAGS-uudecode: \
19540 configure-uudecode
19541 @[ -f ./uudecode/Makefile ] || exit 0; \
19542 r=`${PWD_COMMAND}`; export r; \
19543 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19544 $(SET_LIB_PATH) \
19545 $(HOST_EXPORTS) \
19546 for flag in $(EXTRA_HOST_FLAGS) ; do \
19547 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19548 done; \
19549 echo "Doing TAGS in uudecode" ; \
19550 (cd uudecode && \
19551 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19552 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19553 "RANLIB=$${RANLIB}" \
19554 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19555 TAGS) \
19556 || exit 1
19558 @endif uudecode
19560 .PHONY: maybe-install-info-uudecode install-info-uudecode
19561 maybe-install-info-uudecode:
19562 @if uudecode
19563 maybe-install-info-uudecode: install-info-uudecode
19565 install-info-uudecode: \
19566 configure-uudecode \
19567 info-uudecode
19568 @[ -f ./uudecode/Makefile ] || exit 0; \
19569 r=`${PWD_COMMAND}`; export r; \
19570 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19571 $(SET_LIB_PATH) \
19572 $(HOST_EXPORTS) \
19573 for flag in $(EXTRA_HOST_FLAGS) ; do \
19574 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19575 done; \
19576 echo "Doing install-info in uudecode" ; \
19577 (cd uudecode && \
19578 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19579 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19580 "RANLIB=$${RANLIB}" \
19581 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19582 install-info) \
19583 || exit 1
19585 @endif uudecode
19587 .PHONY: maybe-installcheck-uudecode installcheck-uudecode
19588 maybe-installcheck-uudecode:
19589 @if uudecode
19590 maybe-installcheck-uudecode: installcheck-uudecode
19592 installcheck-uudecode: \
19593 configure-uudecode
19594 @[ -f ./uudecode/Makefile ] || exit 0; \
19595 r=`${PWD_COMMAND}`; export r; \
19596 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19597 $(SET_LIB_PATH) \
19598 $(HOST_EXPORTS) \
19599 for flag in $(EXTRA_HOST_FLAGS) ; do \
19600 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19601 done; \
19602 echo "Doing installcheck in uudecode" ; \
19603 (cd uudecode && \
19604 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19605 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19606 "RANLIB=$${RANLIB}" \
19607 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19608 installcheck) \
19609 || exit 1
19611 @endif uudecode
19613 .PHONY: maybe-mostlyclean-uudecode mostlyclean-uudecode
19614 maybe-mostlyclean-uudecode:
19615 @if uudecode
19616 maybe-mostlyclean-uudecode: mostlyclean-uudecode
19618 mostlyclean-uudecode:
19619 @[ -f ./uudecode/Makefile ] || exit 0; \
19620 r=`${PWD_COMMAND}`; export r; \
19621 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19622 $(SET_LIB_PATH) \
19623 $(HOST_EXPORTS) \
19624 for flag in $(EXTRA_HOST_FLAGS) ; do \
19625 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19626 done; \
19627 echo "Doing mostlyclean in uudecode" ; \
19628 (cd uudecode && \
19629 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19630 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19631 "RANLIB=$${RANLIB}" \
19632 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19633 mostlyclean) \
19634 || exit 1
19636 @endif uudecode
19638 .PHONY: maybe-clean-uudecode clean-uudecode
19639 maybe-clean-uudecode:
19640 @if uudecode
19641 maybe-clean-uudecode: clean-uudecode
19643 clean-uudecode:
19644 @[ -f ./uudecode/Makefile ] || exit 0; \
19645 r=`${PWD_COMMAND}`; export r; \
19646 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19647 $(SET_LIB_PATH) \
19648 $(HOST_EXPORTS) \
19649 for flag in $(EXTRA_HOST_FLAGS) ; do \
19650 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19651 done; \
19652 echo "Doing clean in uudecode" ; \
19653 (cd uudecode && \
19654 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19655 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19656 "RANLIB=$${RANLIB}" \
19657 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19658 clean) \
19659 || exit 1
19661 @endif uudecode
19663 .PHONY: maybe-distclean-uudecode distclean-uudecode
19664 maybe-distclean-uudecode:
19665 @if uudecode
19666 maybe-distclean-uudecode: distclean-uudecode
19668 distclean-uudecode:
19669 @[ -f ./uudecode/Makefile ] || exit 0; \
19670 r=`${PWD_COMMAND}`; export r; \
19671 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19672 $(SET_LIB_PATH) \
19673 $(HOST_EXPORTS) \
19674 for flag in $(EXTRA_HOST_FLAGS) ; do \
19675 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19676 done; \
19677 echo "Doing distclean in uudecode" ; \
19678 (cd uudecode && \
19679 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19680 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19681 "RANLIB=$${RANLIB}" \
19682 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19683 distclean) \
19684 || exit 1
19686 @endif uudecode
19688 .PHONY: maybe-maintainer-clean-uudecode maintainer-clean-uudecode
19689 maybe-maintainer-clean-uudecode:
19690 @if uudecode
19691 maybe-maintainer-clean-uudecode: maintainer-clean-uudecode
19693 maintainer-clean-uudecode:
19694 @[ -f ./uudecode/Makefile ] || exit 0; \
19695 r=`${PWD_COMMAND}`; export r; \
19696 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19697 $(SET_LIB_PATH) \
19698 $(HOST_EXPORTS) \
19699 for flag in $(EXTRA_HOST_FLAGS) ; do \
19700 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19701 done; \
19702 echo "Doing maintainer-clean in uudecode" ; \
19703 (cd uudecode && \
19704 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19705 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19706 "RANLIB=$${RANLIB}" \
19707 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19708 maintainer-clean) \
19709 || exit 1
19711 @endif uudecode
19714 .PHONY: configure-wdiff maybe-configure-wdiff
19715 maybe-configure-wdiff:
19716 @if wdiff
19717 maybe-configure-wdiff: configure-wdiff
19718 configure-wdiff:
19719 @test ! -f wdiff/Makefile || exit 0; \
19720 [ -d wdiff ] || mkdir wdiff; \
19721 r=`${PWD_COMMAND}`; export r; \
19722 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19723 $(HOST_EXPORTS) \
19724 echo Configuring in wdiff; \
19725 cd wdiff || exit 1; \
19726 case $(srcdir) in \
19727 \.) \
19728 srcdiroption="--srcdir=."; \
19729 libsrcdir=".";; \
19730 /* | [A-Za-z]:[\\/]*) \
19731 srcdiroption="--srcdir=$(srcdir)/wdiff"; \
19732 libsrcdir="$$s/wdiff";; \
19733 *) \
19734 srcdiroption="--srcdir=../$(srcdir)/wdiff"; \
19735 libsrcdir="$$s/wdiff";; \
19736 esac; \
19737 $(SHELL) $${libsrcdir}/configure \
19738 $(HOST_CONFIGARGS) $${srcdiroption} \
19739 || exit 1
19740 @endif wdiff
19742 .PHONY: all-wdiff maybe-all-wdiff
19743 maybe-all-wdiff:
19744 @if wdiff
19745 maybe-all-wdiff: all-wdiff
19746 all-wdiff: configure-wdiff
19747 @r=`${PWD_COMMAND}`; export r; \
19748 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19749 $(SET_LIB_PATH) \
19750 $(HOST_EXPORTS) \
19751 (cd wdiff && $(MAKE) $(FLAGS_TO_PASS) all)
19752 @endif wdiff
19754 .PHONY: check-wdiff maybe-check-wdiff
19755 maybe-check-wdiff:
19756 @if wdiff
19757 maybe-check-wdiff: check-wdiff
19759 check-wdiff:
19760 @r=`${PWD_COMMAND}`; export r; \
19761 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19762 $(SET_LIB_PATH) \
19763 $(HOST_EXPORTS) \
19764 (cd wdiff && $(MAKE) $(FLAGS_TO_PASS) check)
19766 @endif wdiff
19768 .PHONY: install-wdiff maybe-install-wdiff
19769 maybe-install-wdiff:
19770 @if wdiff
19771 maybe-install-wdiff: install-wdiff
19773 install-wdiff: installdirs
19774 @r=`${PWD_COMMAND}`; export r; \
19775 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19776 $(SET_LIB_PATH) \
19777 $(HOST_EXPORTS) \
19778 (cd wdiff && $(MAKE) $(FLAGS_TO_PASS) install)
19780 @endif wdiff
19782 # Other targets (info, dvi, etc.)
19784 .PHONY: maybe-info-wdiff info-wdiff
19785 maybe-info-wdiff:
19786 @if wdiff
19787 maybe-info-wdiff: info-wdiff
19789 info-wdiff: \
19790 configure-wdiff
19791 @[ -f ./wdiff/Makefile ] || exit 0; \
19792 r=`${PWD_COMMAND}`; export r; \
19793 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19794 $(SET_LIB_PATH) \
19795 $(HOST_EXPORTS) \
19796 for flag in $(EXTRA_HOST_FLAGS) ; do \
19797 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19798 done; \
19799 echo "Doing info in wdiff" ; \
19800 (cd wdiff && \
19801 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19802 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19803 "RANLIB=$${RANLIB}" \
19804 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19805 info) \
19806 || exit 1
19808 @endif wdiff
19810 .PHONY: maybe-dvi-wdiff dvi-wdiff
19811 maybe-dvi-wdiff:
19812 @if wdiff
19813 maybe-dvi-wdiff: dvi-wdiff
19815 dvi-wdiff: \
19816 configure-wdiff
19817 @[ -f ./wdiff/Makefile ] || exit 0; \
19818 r=`${PWD_COMMAND}`; export r; \
19819 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19820 $(SET_LIB_PATH) \
19821 $(HOST_EXPORTS) \
19822 for flag in $(EXTRA_HOST_FLAGS) ; do \
19823 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19824 done; \
19825 echo "Doing dvi in wdiff" ; \
19826 (cd wdiff && \
19827 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19828 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19829 "RANLIB=$${RANLIB}" \
19830 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19831 dvi) \
19832 || exit 1
19834 @endif wdiff
19836 .PHONY: maybe-TAGS-wdiff TAGS-wdiff
19837 maybe-TAGS-wdiff:
19838 @if wdiff
19839 maybe-TAGS-wdiff: TAGS-wdiff
19841 TAGS-wdiff: \
19842 configure-wdiff
19843 @[ -f ./wdiff/Makefile ] || exit 0; \
19844 r=`${PWD_COMMAND}`; export r; \
19845 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19846 $(SET_LIB_PATH) \
19847 $(HOST_EXPORTS) \
19848 for flag in $(EXTRA_HOST_FLAGS) ; do \
19849 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19850 done; \
19851 echo "Doing TAGS in wdiff" ; \
19852 (cd wdiff && \
19853 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19854 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19855 "RANLIB=$${RANLIB}" \
19856 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19857 TAGS) \
19858 || exit 1
19860 @endif wdiff
19862 .PHONY: maybe-install-info-wdiff install-info-wdiff
19863 maybe-install-info-wdiff:
19864 @if wdiff
19865 maybe-install-info-wdiff: install-info-wdiff
19867 install-info-wdiff: \
19868 configure-wdiff \
19869 info-wdiff
19870 @[ -f ./wdiff/Makefile ] || exit 0; \
19871 r=`${PWD_COMMAND}`; export r; \
19872 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19873 $(SET_LIB_PATH) \
19874 $(HOST_EXPORTS) \
19875 for flag in $(EXTRA_HOST_FLAGS) ; do \
19876 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19877 done; \
19878 echo "Doing install-info in wdiff" ; \
19879 (cd wdiff && \
19880 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19881 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19882 "RANLIB=$${RANLIB}" \
19883 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19884 install-info) \
19885 || exit 1
19887 @endif wdiff
19889 .PHONY: maybe-installcheck-wdiff installcheck-wdiff
19890 maybe-installcheck-wdiff:
19891 @if wdiff
19892 maybe-installcheck-wdiff: installcheck-wdiff
19894 installcheck-wdiff: \
19895 configure-wdiff
19896 @[ -f ./wdiff/Makefile ] || exit 0; \
19897 r=`${PWD_COMMAND}`; export r; \
19898 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19899 $(SET_LIB_PATH) \
19900 $(HOST_EXPORTS) \
19901 for flag in $(EXTRA_HOST_FLAGS) ; do \
19902 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19903 done; \
19904 echo "Doing installcheck in wdiff" ; \
19905 (cd wdiff && \
19906 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19907 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19908 "RANLIB=$${RANLIB}" \
19909 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19910 installcheck) \
19911 || exit 1
19913 @endif wdiff
19915 .PHONY: maybe-mostlyclean-wdiff mostlyclean-wdiff
19916 maybe-mostlyclean-wdiff:
19917 @if wdiff
19918 maybe-mostlyclean-wdiff: mostlyclean-wdiff
19920 mostlyclean-wdiff:
19921 @[ -f ./wdiff/Makefile ] || exit 0; \
19922 r=`${PWD_COMMAND}`; export r; \
19923 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19924 $(SET_LIB_PATH) \
19925 $(HOST_EXPORTS) \
19926 for flag in $(EXTRA_HOST_FLAGS) ; do \
19927 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19928 done; \
19929 echo "Doing mostlyclean in wdiff" ; \
19930 (cd wdiff && \
19931 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19932 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19933 "RANLIB=$${RANLIB}" \
19934 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19935 mostlyclean) \
19936 || exit 1
19938 @endif wdiff
19940 .PHONY: maybe-clean-wdiff clean-wdiff
19941 maybe-clean-wdiff:
19942 @if wdiff
19943 maybe-clean-wdiff: clean-wdiff
19945 clean-wdiff:
19946 @[ -f ./wdiff/Makefile ] || exit 0; \
19947 r=`${PWD_COMMAND}`; export r; \
19948 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19949 $(SET_LIB_PATH) \
19950 $(HOST_EXPORTS) \
19951 for flag in $(EXTRA_HOST_FLAGS) ; do \
19952 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19953 done; \
19954 echo "Doing clean in wdiff" ; \
19955 (cd wdiff && \
19956 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19957 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19958 "RANLIB=$${RANLIB}" \
19959 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19960 clean) \
19961 || exit 1
19963 @endif wdiff
19965 .PHONY: maybe-distclean-wdiff distclean-wdiff
19966 maybe-distclean-wdiff:
19967 @if wdiff
19968 maybe-distclean-wdiff: distclean-wdiff
19970 distclean-wdiff:
19971 @[ -f ./wdiff/Makefile ] || exit 0; \
19972 r=`${PWD_COMMAND}`; export r; \
19973 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19974 $(SET_LIB_PATH) \
19975 $(HOST_EXPORTS) \
19976 for flag in $(EXTRA_HOST_FLAGS) ; do \
19977 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19978 done; \
19979 echo "Doing distclean in wdiff" ; \
19980 (cd wdiff && \
19981 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19982 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19983 "RANLIB=$${RANLIB}" \
19984 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19985 distclean) \
19986 || exit 1
19988 @endif wdiff
19990 .PHONY: maybe-maintainer-clean-wdiff maintainer-clean-wdiff
19991 maybe-maintainer-clean-wdiff:
19992 @if wdiff
19993 maybe-maintainer-clean-wdiff: maintainer-clean-wdiff
19995 maintainer-clean-wdiff:
19996 @[ -f ./wdiff/Makefile ] || exit 0; \
19997 r=`${PWD_COMMAND}`; export r; \
19998 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19999 $(SET_LIB_PATH) \
20000 $(HOST_EXPORTS) \
20001 for flag in $(EXTRA_HOST_FLAGS) ; do \
20002 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20003 done; \
20004 echo "Doing maintainer-clean in wdiff" ; \
20005 (cd wdiff && \
20006 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20007 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20008 "RANLIB=$${RANLIB}" \
20009 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20010 maintainer-clean) \
20011 || exit 1
20013 @endif wdiff
20016 .PHONY: configure-zip maybe-configure-zip
20017 maybe-configure-zip:
20018 @if zip
20019 maybe-configure-zip: configure-zip
20020 configure-zip:
20021 @test ! -f zip/Makefile || exit 0; \
20022 [ -d zip ] || mkdir zip; \
20023 r=`${PWD_COMMAND}`; export r; \
20024 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20025 $(HOST_EXPORTS) \
20026 echo Configuring in zip; \
20027 cd zip || exit 1; \
20028 case $(srcdir) in \
20029 \.) \
20030 srcdiroption="--srcdir=."; \
20031 libsrcdir=".";; \
20032 /* | [A-Za-z]:[\\/]*) \
20033 srcdiroption="--srcdir=$(srcdir)/zip"; \
20034 libsrcdir="$$s/zip";; \
20035 *) \
20036 srcdiroption="--srcdir=../$(srcdir)/zip"; \
20037 libsrcdir="$$s/zip";; \
20038 esac; \
20039 $(SHELL) $${libsrcdir}/configure \
20040 $(HOST_CONFIGARGS) $${srcdiroption} \
20041 || exit 1
20042 @endif zip
20044 .PHONY: all-zip maybe-all-zip
20045 maybe-all-zip:
20046 @if zip
20047 maybe-all-zip: all-zip
20048 all-zip: configure-zip
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) all)
20054 @endif zip
20056 .PHONY: check-zip maybe-check-zip
20057 maybe-check-zip:
20058 @if zip
20059 maybe-check-zip: check-zip
20061 # This module is only tested in a native toolchain.
20062 check-zip:
20063 @if [ '$(host)' = '$(target)' ] ; then \
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) check); \
20071 @endif zip
20073 .PHONY: install-zip maybe-install-zip
20074 maybe-install-zip:
20075 @if zip
20076 maybe-install-zip: install-zip
20078 install-zip: installdirs
20079 @r=`${PWD_COMMAND}`; export r; \
20080 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20081 $(SET_LIB_PATH) \
20082 $(HOST_EXPORTS) \
20083 (cd zip && $(MAKE) $(FLAGS_TO_PASS) install)
20085 @endif zip
20087 # Other targets (info, dvi, etc.)
20089 .PHONY: maybe-info-zip info-zip
20090 maybe-info-zip:
20091 @if zip
20092 maybe-info-zip: info-zip
20094 info-zip: \
20095 configure-zip
20096 @[ -f ./zip/Makefile ] || exit 0; \
20097 r=`${PWD_COMMAND}`; export r; \
20098 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20099 $(SET_LIB_PATH) \
20100 $(HOST_EXPORTS) \
20101 for flag in $(EXTRA_HOST_FLAGS) ; do \
20102 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20103 done; \
20104 echo "Doing info in zip" ; \
20105 (cd zip && \
20106 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20107 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20108 "RANLIB=$${RANLIB}" \
20109 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20110 info) \
20111 || exit 1
20113 @endif zip
20115 .PHONY: maybe-dvi-zip dvi-zip
20116 maybe-dvi-zip:
20117 @if zip
20118 maybe-dvi-zip: dvi-zip
20120 dvi-zip: \
20121 configure-zip
20122 @[ -f ./zip/Makefile ] || exit 0; \
20123 r=`${PWD_COMMAND}`; export r; \
20124 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20125 $(SET_LIB_PATH) \
20126 $(HOST_EXPORTS) \
20127 for flag in $(EXTRA_HOST_FLAGS) ; do \
20128 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20129 done; \
20130 echo "Doing dvi in zip" ; \
20131 (cd zip && \
20132 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20133 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20134 "RANLIB=$${RANLIB}" \
20135 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20136 dvi) \
20137 || exit 1
20139 @endif zip
20141 .PHONY: maybe-TAGS-zip TAGS-zip
20142 maybe-TAGS-zip:
20143 @if zip
20144 maybe-TAGS-zip: TAGS-zip
20146 TAGS-zip: \
20147 configure-zip
20148 @[ -f ./zip/Makefile ] || exit 0; \
20149 r=`${PWD_COMMAND}`; export r; \
20150 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20151 $(SET_LIB_PATH) \
20152 $(HOST_EXPORTS) \
20153 for flag in $(EXTRA_HOST_FLAGS) ; do \
20154 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20155 done; \
20156 echo "Doing TAGS in zip" ; \
20157 (cd zip && \
20158 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20159 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20160 "RANLIB=$${RANLIB}" \
20161 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20162 TAGS) \
20163 || exit 1
20165 @endif zip
20167 .PHONY: maybe-install-info-zip install-info-zip
20168 maybe-install-info-zip:
20169 @if zip
20170 maybe-install-info-zip: install-info-zip
20172 install-info-zip: \
20173 configure-zip \
20174 info-zip
20175 @[ -f ./zip/Makefile ] || exit 0; \
20176 r=`${PWD_COMMAND}`; export r; \
20177 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20178 $(SET_LIB_PATH) \
20179 $(HOST_EXPORTS) \
20180 for flag in $(EXTRA_HOST_FLAGS) ; do \
20181 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20182 done; \
20183 echo "Doing install-info in zip" ; \
20184 (cd zip && \
20185 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20186 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20187 "RANLIB=$${RANLIB}" \
20188 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20189 install-info) \
20190 || exit 1
20192 @endif zip
20194 .PHONY: maybe-installcheck-zip installcheck-zip
20195 maybe-installcheck-zip:
20196 @if zip
20197 maybe-installcheck-zip: installcheck-zip
20199 installcheck-zip: \
20200 configure-zip
20201 @[ -f ./zip/Makefile ] || exit 0; \
20202 r=`${PWD_COMMAND}`; export r; \
20203 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20204 $(SET_LIB_PATH) \
20205 $(HOST_EXPORTS) \
20206 for flag in $(EXTRA_HOST_FLAGS) ; do \
20207 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20208 done; \
20209 echo "Doing installcheck in zip" ; \
20210 (cd zip && \
20211 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20212 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20213 "RANLIB=$${RANLIB}" \
20214 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20215 installcheck) \
20216 || exit 1
20218 @endif zip
20220 .PHONY: maybe-mostlyclean-zip mostlyclean-zip
20221 maybe-mostlyclean-zip:
20222 @if zip
20223 maybe-mostlyclean-zip: mostlyclean-zip
20225 mostlyclean-zip:
20226 @[ -f ./zip/Makefile ] || exit 0; \
20227 r=`${PWD_COMMAND}`; export r; \
20228 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20229 $(SET_LIB_PATH) \
20230 $(HOST_EXPORTS) \
20231 for flag in $(EXTRA_HOST_FLAGS) ; do \
20232 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20233 done; \
20234 echo "Doing mostlyclean in zip" ; \
20235 (cd zip && \
20236 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20237 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20238 "RANLIB=$${RANLIB}" \
20239 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20240 mostlyclean) \
20241 || exit 1
20243 @endif zip
20245 .PHONY: maybe-clean-zip clean-zip
20246 maybe-clean-zip:
20247 @if zip
20248 maybe-clean-zip: clean-zip
20250 clean-zip:
20251 @[ -f ./zip/Makefile ] || exit 0; \
20252 r=`${PWD_COMMAND}`; export r; \
20253 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20254 $(SET_LIB_PATH) \
20255 $(HOST_EXPORTS) \
20256 for flag in $(EXTRA_HOST_FLAGS) ; do \
20257 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20258 done; \
20259 echo "Doing clean in zip" ; \
20260 (cd zip && \
20261 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20262 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20263 "RANLIB=$${RANLIB}" \
20264 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20265 clean) \
20266 || exit 1
20268 @endif zip
20270 .PHONY: maybe-distclean-zip distclean-zip
20271 maybe-distclean-zip:
20272 @if zip
20273 maybe-distclean-zip: distclean-zip
20275 distclean-zip:
20276 @[ -f ./zip/Makefile ] || exit 0; \
20277 r=`${PWD_COMMAND}`; export r; \
20278 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20279 $(SET_LIB_PATH) \
20280 $(HOST_EXPORTS) \
20281 for flag in $(EXTRA_HOST_FLAGS) ; do \
20282 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20283 done; \
20284 echo "Doing distclean in zip" ; \
20285 (cd zip && \
20286 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20287 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20288 "RANLIB=$${RANLIB}" \
20289 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20290 distclean) \
20291 || exit 1
20293 @endif zip
20295 .PHONY: maybe-maintainer-clean-zip maintainer-clean-zip
20296 maybe-maintainer-clean-zip:
20297 @if zip
20298 maybe-maintainer-clean-zip: maintainer-clean-zip
20300 maintainer-clean-zip:
20301 @[ -f ./zip/Makefile ] || exit 0; \
20302 r=`${PWD_COMMAND}`; export r; \
20303 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20304 $(SET_LIB_PATH) \
20305 $(HOST_EXPORTS) \
20306 for flag in $(EXTRA_HOST_FLAGS) ; do \
20307 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20308 done; \
20309 echo "Doing maintainer-clean in zip" ; \
20310 (cd zip && \
20311 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20312 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20313 "RANLIB=$${RANLIB}" \
20314 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20315 maintainer-clean) \
20316 || exit 1
20318 @endif zip
20321 .PHONY: configure-zlib maybe-configure-zlib
20322 maybe-configure-zlib:
20323 @if zlib
20324 maybe-configure-zlib: configure-zlib
20325 configure-zlib:
20326 @test ! -f zlib/Makefile || exit 0; \
20327 [ -d zlib ] || mkdir zlib; \
20328 r=`${PWD_COMMAND}`; export r; \
20329 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20330 $(HOST_EXPORTS) \
20331 echo Configuring in zlib; \
20332 cd zlib || exit 1; \
20333 case $(srcdir) in \
20334 \.) \
20335 srcdiroption="--srcdir=."; \
20336 libsrcdir=".";; \
20337 /* | [A-Za-z]:[\\/]*) \
20338 srcdiroption="--srcdir=$(srcdir)/zlib"; \
20339 libsrcdir="$$s/zlib";; \
20340 *) \
20341 srcdiroption="--srcdir=../$(srcdir)/zlib"; \
20342 libsrcdir="$$s/zlib";; \
20343 esac; \
20344 $(SHELL) $${libsrcdir}/configure \
20345 $(HOST_CONFIGARGS) $${srcdiroption} \
20346 || exit 1
20347 @endif zlib
20349 .PHONY: all-zlib maybe-all-zlib
20350 maybe-all-zlib:
20351 @if zlib
20352 maybe-all-zlib: all-zlib
20353 all-zlib: configure-zlib
20354 @r=`${PWD_COMMAND}`; export r; \
20355 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20356 $(SET_LIB_PATH) \
20357 $(HOST_EXPORTS) \
20358 (cd zlib && $(MAKE) $(FLAGS_TO_PASS) all)
20359 @endif zlib
20361 .PHONY: check-zlib maybe-check-zlib
20362 maybe-check-zlib:
20363 @if zlib
20364 maybe-check-zlib: check-zlib
20366 check-zlib:
20368 @endif zlib
20370 .PHONY: install-zlib maybe-install-zlib
20371 maybe-install-zlib:
20372 @if zlib
20373 maybe-install-zlib: install-zlib
20375 install-zlib:
20377 @endif zlib
20379 # Other targets (info, dvi, etc.)
20381 .PHONY: maybe-info-zlib info-zlib
20382 maybe-info-zlib:
20383 @if zlib
20384 maybe-info-zlib: info-zlib
20386 info-zlib: \
20387 configure-zlib
20388 @[ -f ./zlib/Makefile ] || exit 0; \
20389 r=`${PWD_COMMAND}`; export r; \
20390 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20391 $(SET_LIB_PATH) \
20392 $(HOST_EXPORTS) \
20393 for flag in $(EXTRA_HOST_FLAGS) ; do \
20394 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20395 done; \
20396 echo "Doing info in zlib" ; \
20397 (cd zlib && \
20398 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20399 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20400 "RANLIB=$${RANLIB}" \
20401 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20402 info) \
20403 || exit 1
20405 @endif zlib
20407 .PHONY: maybe-dvi-zlib dvi-zlib
20408 maybe-dvi-zlib:
20409 @if zlib
20410 maybe-dvi-zlib: dvi-zlib
20412 dvi-zlib: \
20413 configure-zlib
20414 @[ -f ./zlib/Makefile ] || exit 0; \
20415 r=`${PWD_COMMAND}`; export r; \
20416 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20417 $(SET_LIB_PATH) \
20418 $(HOST_EXPORTS) \
20419 for flag in $(EXTRA_HOST_FLAGS) ; do \
20420 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20421 done; \
20422 echo "Doing dvi in zlib" ; \
20423 (cd zlib && \
20424 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20425 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20426 "RANLIB=$${RANLIB}" \
20427 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20428 dvi) \
20429 || exit 1
20431 @endif zlib
20433 .PHONY: maybe-TAGS-zlib TAGS-zlib
20434 maybe-TAGS-zlib:
20435 @if zlib
20436 maybe-TAGS-zlib: TAGS-zlib
20438 TAGS-zlib: \
20439 configure-zlib
20440 @[ -f ./zlib/Makefile ] || exit 0; \
20441 r=`${PWD_COMMAND}`; export r; \
20442 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20443 $(SET_LIB_PATH) \
20444 $(HOST_EXPORTS) \
20445 for flag in $(EXTRA_HOST_FLAGS) ; do \
20446 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20447 done; \
20448 echo "Doing TAGS in zlib" ; \
20449 (cd zlib && \
20450 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20451 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20452 "RANLIB=$${RANLIB}" \
20453 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20454 TAGS) \
20455 || exit 1
20457 @endif zlib
20459 .PHONY: maybe-install-info-zlib install-info-zlib
20460 maybe-install-info-zlib:
20461 @if zlib
20462 maybe-install-info-zlib: install-info-zlib
20464 install-info-zlib: \
20465 configure-zlib \
20466 info-zlib
20467 @[ -f ./zlib/Makefile ] || exit 0; \
20468 r=`${PWD_COMMAND}`; export r; \
20469 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20470 $(SET_LIB_PATH) \
20471 $(HOST_EXPORTS) \
20472 for flag in $(EXTRA_HOST_FLAGS) ; do \
20473 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20474 done; \
20475 echo "Doing install-info in zlib" ; \
20476 (cd zlib && \
20477 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20478 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20479 "RANLIB=$${RANLIB}" \
20480 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20481 install-info) \
20482 || exit 1
20484 @endif zlib
20486 .PHONY: maybe-installcheck-zlib installcheck-zlib
20487 maybe-installcheck-zlib:
20488 @if zlib
20489 maybe-installcheck-zlib: installcheck-zlib
20491 installcheck-zlib: \
20492 configure-zlib
20493 @[ -f ./zlib/Makefile ] || exit 0; \
20494 r=`${PWD_COMMAND}`; export r; \
20495 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20496 $(SET_LIB_PATH) \
20497 $(HOST_EXPORTS) \
20498 for flag in $(EXTRA_HOST_FLAGS) ; do \
20499 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20500 done; \
20501 echo "Doing installcheck in zlib" ; \
20502 (cd zlib && \
20503 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20504 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20505 "RANLIB=$${RANLIB}" \
20506 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20507 installcheck) \
20508 || exit 1
20510 @endif zlib
20512 .PHONY: maybe-mostlyclean-zlib mostlyclean-zlib
20513 maybe-mostlyclean-zlib:
20514 @if zlib
20515 maybe-mostlyclean-zlib: mostlyclean-zlib
20517 mostlyclean-zlib:
20518 @[ -f ./zlib/Makefile ] || exit 0; \
20519 r=`${PWD_COMMAND}`; export r; \
20520 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20521 $(SET_LIB_PATH) \
20522 $(HOST_EXPORTS) \
20523 for flag in $(EXTRA_HOST_FLAGS) ; do \
20524 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20525 done; \
20526 echo "Doing mostlyclean in zlib" ; \
20527 (cd zlib && \
20528 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20529 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20530 "RANLIB=$${RANLIB}" \
20531 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20532 mostlyclean) \
20533 || exit 1
20535 @endif zlib
20537 .PHONY: maybe-clean-zlib clean-zlib
20538 maybe-clean-zlib:
20539 @if zlib
20540 maybe-clean-zlib: clean-zlib
20542 clean-zlib:
20543 @[ -f ./zlib/Makefile ] || exit 0; \
20544 r=`${PWD_COMMAND}`; export r; \
20545 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20546 $(SET_LIB_PATH) \
20547 $(HOST_EXPORTS) \
20548 for flag in $(EXTRA_HOST_FLAGS) ; do \
20549 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20550 done; \
20551 echo "Doing clean in zlib" ; \
20552 (cd zlib && \
20553 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20554 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20555 "RANLIB=$${RANLIB}" \
20556 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20557 clean) \
20558 || exit 1
20560 @endif zlib
20562 .PHONY: maybe-distclean-zlib distclean-zlib
20563 maybe-distclean-zlib:
20564 @if zlib
20565 maybe-distclean-zlib: distclean-zlib
20567 distclean-zlib:
20568 @[ -f ./zlib/Makefile ] || exit 0; \
20569 r=`${PWD_COMMAND}`; export r; \
20570 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20571 $(SET_LIB_PATH) \
20572 $(HOST_EXPORTS) \
20573 for flag in $(EXTRA_HOST_FLAGS) ; do \
20574 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20575 done; \
20576 echo "Doing distclean in zlib" ; \
20577 (cd zlib && \
20578 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20579 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20580 "RANLIB=$${RANLIB}" \
20581 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20582 distclean) \
20583 || exit 1
20585 @endif zlib
20587 .PHONY: maybe-maintainer-clean-zlib maintainer-clean-zlib
20588 maybe-maintainer-clean-zlib:
20589 @if zlib
20590 maybe-maintainer-clean-zlib: maintainer-clean-zlib
20592 maintainer-clean-zlib:
20593 @[ -f ./zlib/Makefile ] || exit 0; \
20594 r=`${PWD_COMMAND}`; export r; \
20595 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20596 $(SET_LIB_PATH) \
20597 $(HOST_EXPORTS) \
20598 for flag in $(EXTRA_HOST_FLAGS) ; do \
20599 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20600 done; \
20601 echo "Doing maintainer-clean in zlib" ; \
20602 (cd zlib && \
20603 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20604 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20605 "RANLIB=$${RANLIB}" \
20606 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20607 maintainer-clean) \
20608 || exit 1
20610 @endif zlib
20613 .PHONY: configure-gdb maybe-configure-gdb
20614 maybe-configure-gdb:
20615 @if gdb
20616 maybe-configure-gdb: configure-gdb
20617 configure-gdb:
20618 @test ! -f gdb/Makefile || exit 0; \
20619 [ -d gdb ] || mkdir gdb; \
20620 r=`${PWD_COMMAND}`; export r; \
20621 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20622 $(HOST_EXPORTS) \
20623 echo Configuring in gdb; \
20624 cd gdb || exit 1; \
20625 case $(srcdir) in \
20626 \.) \
20627 srcdiroption="--srcdir=."; \
20628 libsrcdir=".";; \
20629 /* | [A-Za-z]:[\\/]*) \
20630 srcdiroption="--srcdir=$(srcdir)/gdb"; \
20631 libsrcdir="$$s/gdb";; \
20632 *) \
20633 srcdiroption="--srcdir=../$(srcdir)/gdb"; \
20634 libsrcdir="$$s/gdb";; \
20635 esac; \
20636 $(SHELL) $${libsrcdir}/configure \
20637 $(HOST_CONFIGARGS) $${srcdiroption} \
20638 || exit 1
20639 @endif gdb
20641 .PHONY: all-gdb maybe-all-gdb
20642 maybe-all-gdb:
20643 @if gdb
20644 maybe-all-gdb: all-gdb
20645 all-gdb: configure-gdb
20646 @r=`${PWD_COMMAND}`; export r; \
20647 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20648 $(SET_LIB_PATH) \
20649 $(HOST_EXPORTS) \
20650 (cd gdb && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) all)
20651 @endif gdb
20653 .PHONY: check-gdb maybe-check-gdb
20654 maybe-check-gdb:
20655 @if gdb
20656 maybe-check-gdb: check-gdb
20658 check-gdb:
20659 @r=`${PWD_COMMAND}`; export r; \
20660 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20661 $(SET_LIB_PATH) \
20662 $(HOST_EXPORTS) \
20663 (cd gdb && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) check)
20665 @endif gdb
20667 .PHONY: install-gdb maybe-install-gdb
20668 maybe-install-gdb:
20669 @if gdb
20670 maybe-install-gdb: install-gdb
20672 install-gdb: installdirs
20673 @r=`${PWD_COMMAND}`; export r; \
20674 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20675 $(SET_LIB_PATH) \
20676 $(HOST_EXPORTS) \
20677 (cd gdb && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) install)
20679 @endif gdb
20681 # Other targets (info, dvi, etc.)
20683 .PHONY: maybe-info-gdb info-gdb
20684 maybe-info-gdb:
20685 @if gdb
20686 maybe-info-gdb: info-gdb
20688 info-gdb: \
20689 configure-gdb
20690 @[ -f ./gdb/Makefile ] || exit 0; \
20691 r=`${PWD_COMMAND}`; export r; \
20692 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20693 $(SET_LIB_PATH) \
20694 $(HOST_EXPORTS) \
20695 for flag in $(EXTRA_HOST_FLAGS) ; do \
20696 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20697 done; \
20698 echo "Doing info in gdb" ; \
20699 (cd gdb && \
20700 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20701 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20702 "RANLIB=$${RANLIB}" \
20703 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20704 info) \
20705 || exit 1
20707 @endif gdb
20709 .PHONY: maybe-dvi-gdb dvi-gdb
20710 maybe-dvi-gdb:
20711 @if gdb
20712 maybe-dvi-gdb: dvi-gdb
20714 dvi-gdb: \
20715 configure-gdb
20716 @[ -f ./gdb/Makefile ] || exit 0; \
20717 r=`${PWD_COMMAND}`; export r; \
20718 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20719 $(SET_LIB_PATH) \
20720 $(HOST_EXPORTS) \
20721 for flag in $(EXTRA_HOST_FLAGS) ; do \
20722 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20723 done; \
20724 echo "Doing dvi in gdb" ; \
20725 (cd gdb && \
20726 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20727 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20728 "RANLIB=$${RANLIB}" \
20729 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20730 dvi) \
20731 || exit 1
20733 @endif gdb
20735 .PHONY: maybe-TAGS-gdb TAGS-gdb
20736 maybe-TAGS-gdb:
20737 @if gdb
20738 maybe-TAGS-gdb: TAGS-gdb
20740 TAGS-gdb: \
20741 configure-gdb
20742 @[ -f ./gdb/Makefile ] || exit 0; \
20743 r=`${PWD_COMMAND}`; export r; \
20744 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20745 $(SET_LIB_PATH) \
20746 $(HOST_EXPORTS) \
20747 for flag in $(EXTRA_HOST_FLAGS) ; do \
20748 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20749 done; \
20750 echo "Doing TAGS in gdb" ; \
20751 (cd gdb && \
20752 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20753 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20754 "RANLIB=$${RANLIB}" \
20755 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20756 TAGS) \
20757 || exit 1
20759 @endif gdb
20761 .PHONY: maybe-install-info-gdb install-info-gdb
20762 maybe-install-info-gdb:
20763 @if gdb
20764 maybe-install-info-gdb: install-info-gdb
20766 install-info-gdb: \
20767 configure-gdb \
20768 info-gdb
20769 @[ -f ./gdb/Makefile ] || exit 0; \
20770 r=`${PWD_COMMAND}`; export r; \
20771 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20772 $(SET_LIB_PATH) \
20773 $(HOST_EXPORTS) \
20774 for flag in $(EXTRA_HOST_FLAGS) ; do \
20775 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20776 done; \
20777 echo "Doing install-info in gdb" ; \
20778 (cd gdb && \
20779 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20780 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20781 "RANLIB=$${RANLIB}" \
20782 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20783 install-info) \
20784 || exit 1
20786 @endif gdb
20788 .PHONY: maybe-installcheck-gdb installcheck-gdb
20789 maybe-installcheck-gdb:
20790 @if gdb
20791 maybe-installcheck-gdb: installcheck-gdb
20793 installcheck-gdb: \
20794 configure-gdb
20795 @[ -f ./gdb/Makefile ] || exit 0; \
20796 r=`${PWD_COMMAND}`; export r; \
20797 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20798 $(SET_LIB_PATH) \
20799 $(HOST_EXPORTS) \
20800 for flag in $(EXTRA_HOST_FLAGS) ; do \
20801 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20802 done; \
20803 echo "Doing installcheck in gdb" ; \
20804 (cd gdb && \
20805 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20806 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20807 "RANLIB=$${RANLIB}" \
20808 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20809 installcheck) \
20810 || exit 1
20812 @endif gdb
20814 .PHONY: maybe-mostlyclean-gdb mostlyclean-gdb
20815 maybe-mostlyclean-gdb:
20816 @if gdb
20817 maybe-mostlyclean-gdb: mostlyclean-gdb
20819 mostlyclean-gdb:
20820 @[ -f ./gdb/Makefile ] || exit 0; \
20821 r=`${PWD_COMMAND}`; export r; \
20822 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20823 $(SET_LIB_PATH) \
20824 $(HOST_EXPORTS) \
20825 for flag in $(EXTRA_HOST_FLAGS) ; do \
20826 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20827 done; \
20828 echo "Doing mostlyclean in gdb" ; \
20829 (cd gdb && \
20830 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20831 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20832 "RANLIB=$${RANLIB}" \
20833 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20834 mostlyclean) \
20835 || exit 1
20837 @endif gdb
20839 .PHONY: maybe-clean-gdb clean-gdb
20840 maybe-clean-gdb:
20841 @if gdb
20842 maybe-clean-gdb: clean-gdb
20844 clean-gdb:
20845 @[ -f ./gdb/Makefile ] || exit 0; \
20846 r=`${PWD_COMMAND}`; export r; \
20847 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20848 $(SET_LIB_PATH) \
20849 $(HOST_EXPORTS) \
20850 for flag in $(EXTRA_HOST_FLAGS) ; do \
20851 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20852 done; \
20853 echo "Doing clean in gdb" ; \
20854 (cd gdb && \
20855 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20856 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20857 "RANLIB=$${RANLIB}" \
20858 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20859 clean) \
20860 || exit 1
20862 @endif gdb
20864 .PHONY: maybe-distclean-gdb distclean-gdb
20865 maybe-distclean-gdb:
20866 @if gdb
20867 maybe-distclean-gdb: distclean-gdb
20869 distclean-gdb:
20870 @[ -f ./gdb/Makefile ] || exit 0; \
20871 r=`${PWD_COMMAND}`; export r; \
20872 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20873 $(SET_LIB_PATH) \
20874 $(HOST_EXPORTS) \
20875 for flag in $(EXTRA_HOST_FLAGS) ; do \
20876 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20877 done; \
20878 echo "Doing distclean in gdb" ; \
20879 (cd gdb && \
20880 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20881 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20882 "RANLIB=$${RANLIB}" \
20883 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20884 distclean) \
20885 || exit 1
20887 @endif gdb
20889 .PHONY: maybe-maintainer-clean-gdb maintainer-clean-gdb
20890 maybe-maintainer-clean-gdb:
20891 @if gdb
20892 maybe-maintainer-clean-gdb: maintainer-clean-gdb
20894 maintainer-clean-gdb:
20895 @[ -f ./gdb/Makefile ] || exit 0; \
20896 r=`${PWD_COMMAND}`; export r; \
20897 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20898 $(SET_LIB_PATH) \
20899 $(HOST_EXPORTS) \
20900 for flag in $(EXTRA_HOST_FLAGS) ; do \
20901 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20902 done; \
20903 echo "Doing maintainer-clean in gdb" ; \
20904 (cd gdb && \
20905 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20906 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20907 "RANLIB=$${RANLIB}" \
20908 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20909 maintainer-clean) \
20910 || exit 1
20912 @endif gdb
20915 .PHONY: configure-expect maybe-configure-expect
20916 maybe-configure-expect:
20917 @if expect
20918 maybe-configure-expect: configure-expect
20919 configure-expect:
20920 @test ! -f expect/Makefile || exit 0; \
20921 [ -d expect ] || mkdir expect; \
20922 r=`${PWD_COMMAND}`; export r; \
20923 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20924 $(HOST_EXPORTS) \
20925 echo Configuring in expect; \
20926 cd expect || exit 1; \
20927 case $(srcdir) in \
20928 \.) \
20929 srcdiroption="--srcdir=."; \
20930 libsrcdir=".";; \
20931 /* | [A-Za-z]:[\\/]*) \
20932 srcdiroption="--srcdir=$(srcdir)/expect"; \
20933 libsrcdir="$$s/expect";; \
20934 *) \
20935 srcdiroption="--srcdir=../$(srcdir)/expect"; \
20936 libsrcdir="$$s/expect";; \
20937 esac; \
20938 $(SHELL) $${libsrcdir}/configure \
20939 $(HOST_CONFIGARGS) $${srcdiroption} \
20940 || exit 1
20941 @endif expect
20943 .PHONY: all-expect maybe-all-expect
20944 maybe-all-expect:
20945 @if expect
20946 maybe-all-expect: all-expect
20947 all-expect: configure-expect
20948 @r=`${PWD_COMMAND}`; export r; \
20949 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20950 $(SET_LIB_PATH) \
20951 $(HOST_EXPORTS) \
20952 (cd expect && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) all)
20953 @endif expect
20955 .PHONY: check-expect maybe-check-expect
20956 maybe-check-expect:
20957 @if expect
20958 maybe-check-expect: check-expect
20960 check-expect:
20961 @r=`${PWD_COMMAND}`; export r; \
20962 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20963 $(SET_LIB_PATH) \
20964 $(HOST_EXPORTS) \
20965 (cd expect && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) check)
20967 @endif expect
20969 .PHONY: install-expect maybe-install-expect
20970 maybe-install-expect:
20971 @if expect
20972 maybe-install-expect: install-expect
20974 install-expect: installdirs
20975 @r=`${PWD_COMMAND}`; export r; \
20976 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20977 $(SET_LIB_PATH) \
20978 $(HOST_EXPORTS) \
20979 (cd expect && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) install)
20981 @endif expect
20983 # Other targets (info, dvi, etc.)
20985 .PHONY: maybe-info-expect info-expect
20986 maybe-info-expect:
20987 @if expect
20988 maybe-info-expect: info-expect
20990 info-expect: \
20991 configure-expect
20992 @[ -f ./expect/Makefile ] || exit 0; \
20993 r=`${PWD_COMMAND}`; export r; \
20994 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20995 $(SET_LIB_PATH) \
20996 $(HOST_EXPORTS) \
20997 for flag in $(EXTRA_HOST_FLAGS) ; do \
20998 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20999 done; \
21000 echo "Doing info in expect" ; \
21001 (cd expect && \
21002 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21003 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21004 "RANLIB=$${RANLIB}" \
21005 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21006 info) \
21007 || exit 1
21009 @endif expect
21011 .PHONY: maybe-dvi-expect dvi-expect
21012 maybe-dvi-expect:
21013 @if expect
21014 maybe-dvi-expect: dvi-expect
21016 dvi-expect: \
21017 configure-expect
21018 @[ -f ./expect/Makefile ] || exit 0; \
21019 r=`${PWD_COMMAND}`; export r; \
21020 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21021 $(SET_LIB_PATH) \
21022 $(HOST_EXPORTS) \
21023 for flag in $(EXTRA_HOST_FLAGS) ; do \
21024 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21025 done; \
21026 echo "Doing dvi in expect" ; \
21027 (cd expect && \
21028 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21029 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21030 "RANLIB=$${RANLIB}" \
21031 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21032 dvi) \
21033 || exit 1
21035 @endif expect
21037 .PHONY: maybe-TAGS-expect TAGS-expect
21038 maybe-TAGS-expect:
21039 @if expect
21040 maybe-TAGS-expect: TAGS-expect
21042 TAGS-expect: \
21043 configure-expect
21044 @[ -f ./expect/Makefile ] || exit 0; \
21045 r=`${PWD_COMMAND}`; export r; \
21046 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21047 $(SET_LIB_PATH) \
21048 $(HOST_EXPORTS) \
21049 for flag in $(EXTRA_HOST_FLAGS) ; do \
21050 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21051 done; \
21052 echo "Doing TAGS in expect" ; \
21053 (cd expect && \
21054 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21055 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21056 "RANLIB=$${RANLIB}" \
21057 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21058 TAGS) \
21059 || exit 1
21061 @endif expect
21063 .PHONY: maybe-install-info-expect install-info-expect
21064 maybe-install-info-expect:
21065 @if expect
21066 maybe-install-info-expect: install-info-expect
21068 install-info-expect: \
21069 configure-expect \
21070 info-expect
21071 @[ -f ./expect/Makefile ] || exit 0; \
21072 r=`${PWD_COMMAND}`; export r; \
21073 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21074 $(SET_LIB_PATH) \
21075 $(HOST_EXPORTS) \
21076 for flag in $(EXTRA_HOST_FLAGS) ; do \
21077 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21078 done; \
21079 echo "Doing install-info in expect" ; \
21080 (cd expect && \
21081 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21082 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21083 "RANLIB=$${RANLIB}" \
21084 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21085 install-info) \
21086 || exit 1
21088 @endif expect
21090 .PHONY: maybe-installcheck-expect installcheck-expect
21091 maybe-installcheck-expect:
21092 @if expect
21093 maybe-installcheck-expect: installcheck-expect
21095 installcheck-expect: \
21096 configure-expect
21097 @[ -f ./expect/Makefile ] || exit 0; \
21098 r=`${PWD_COMMAND}`; export r; \
21099 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21100 $(SET_LIB_PATH) \
21101 $(HOST_EXPORTS) \
21102 for flag in $(EXTRA_HOST_FLAGS) ; do \
21103 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21104 done; \
21105 echo "Doing installcheck in expect" ; \
21106 (cd expect && \
21107 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21108 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21109 "RANLIB=$${RANLIB}" \
21110 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21111 installcheck) \
21112 || exit 1
21114 @endif expect
21116 .PHONY: maybe-mostlyclean-expect mostlyclean-expect
21117 maybe-mostlyclean-expect:
21118 @if expect
21119 maybe-mostlyclean-expect: mostlyclean-expect
21121 mostlyclean-expect:
21122 @[ -f ./expect/Makefile ] || exit 0; \
21123 r=`${PWD_COMMAND}`; export r; \
21124 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21125 $(SET_LIB_PATH) \
21126 $(HOST_EXPORTS) \
21127 for flag in $(EXTRA_HOST_FLAGS) ; do \
21128 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21129 done; \
21130 echo "Doing mostlyclean in expect" ; \
21131 (cd expect && \
21132 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21133 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21134 "RANLIB=$${RANLIB}" \
21135 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21136 mostlyclean) \
21137 || exit 1
21139 @endif expect
21141 .PHONY: maybe-clean-expect clean-expect
21142 maybe-clean-expect:
21143 @if expect
21144 maybe-clean-expect: clean-expect
21146 clean-expect:
21147 @[ -f ./expect/Makefile ] || exit 0; \
21148 r=`${PWD_COMMAND}`; export r; \
21149 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21150 $(SET_LIB_PATH) \
21151 $(HOST_EXPORTS) \
21152 for flag in $(EXTRA_HOST_FLAGS) ; do \
21153 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21154 done; \
21155 echo "Doing clean in expect" ; \
21156 (cd expect && \
21157 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21158 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21159 "RANLIB=$${RANLIB}" \
21160 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21161 clean) \
21162 || exit 1
21164 @endif expect
21166 .PHONY: maybe-distclean-expect distclean-expect
21167 maybe-distclean-expect:
21168 @if expect
21169 maybe-distclean-expect: distclean-expect
21171 distclean-expect:
21172 @[ -f ./expect/Makefile ] || exit 0; \
21173 r=`${PWD_COMMAND}`; export r; \
21174 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21175 $(SET_LIB_PATH) \
21176 $(HOST_EXPORTS) \
21177 for flag in $(EXTRA_HOST_FLAGS) ; do \
21178 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21179 done; \
21180 echo "Doing distclean in expect" ; \
21181 (cd expect && \
21182 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21183 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21184 "RANLIB=$${RANLIB}" \
21185 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21186 distclean) \
21187 || exit 1
21189 @endif expect
21191 .PHONY: maybe-maintainer-clean-expect maintainer-clean-expect
21192 maybe-maintainer-clean-expect:
21193 @if expect
21194 maybe-maintainer-clean-expect: maintainer-clean-expect
21196 maintainer-clean-expect:
21197 @[ -f ./expect/Makefile ] || exit 0; \
21198 r=`${PWD_COMMAND}`; export r; \
21199 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21200 $(SET_LIB_PATH) \
21201 $(HOST_EXPORTS) \
21202 for flag in $(EXTRA_HOST_FLAGS) ; do \
21203 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21204 done; \
21205 echo "Doing maintainer-clean in expect" ; \
21206 (cd expect && \
21207 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21208 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21209 "RANLIB=$${RANLIB}" \
21210 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21211 maintainer-clean) \
21212 || exit 1
21214 @endif expect
21217 .PHONY: configure-guile maybe-configure-guile
21218 maybe-configure-guile:
21219 @if guile
21220 maybe-configure-guile: configure-guile
21221 configure-guile:
21222 @test ! -f guile/Makefile || exit 0; \
21223 [ -d guile ] || mkdir guile; \
21224 r=`${PWD_COMMAND}`; export r; \
21225 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21226 $(HOST_EXPORTS) \
21227 echo Configuring in guile; \
21228 cd guile || exit 1; \
21229 case $(srcdir) in \
21230 \.) \
21231 srcdiroption="--srcdir=."; \
21232 libsrcdir=".";; \
21233 /* | [A-Za-z]:[\\/]*) \
21234 srcdiroption="--srcdir=$(srcdir)/guile"; \
21235 libsrcdir="$$s/guile";; \
21236 *) \
21237 srcdiroption="--srcdir=../$(srcdir)/guile"; \
21238 libsrcdir="$$s/guile";; \
21239 esac; \
21240 $(SHELL) $${libsrcdir}/configure \
21241 $(HOST_CONFIGARGS) $${srcdiroption} \
21242 || exit 1
21243 @endif guile
21245 .PHONY: all-guile maybe-all-guile
21246 maybe-all-guile:
21247 @if guile
21248 maybe-all-guile: all-guile
21249 all-guile: configure-guile
21250 @r=`${PWD_COMMAND}`; export r; \
21251 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21252 $(SET_LIB_PATH) \
21253 $(HOST_EXPORTS) \
21254 (cd guile && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) all)
21255 @endif guile
21257 .PHONY: check-guile maybe-check-guile
21258 maybe-check-guile:
21259 @if guile
21260 maybe-check-guile: check-guile
21262 check-guile:
21263 @r=`${PWD_COMMAND}`; export r; \
21264 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21265 $(SET_LIB_PATH) \
21266 $(HOST_EXPORTS) \
21267 (cd guile && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) check)
21269 @endif guile
21271 .PHONY: install-guile maybe-install-guile
21272 maybe-install-guile:
21273 @if guile
21274 maybe-install-guile: install-guile
21276 install-guile: installdirs
21277 @r=`${PWD_COMMAND}`; export r; \
21278 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21279 $(SET_LIB_PATH) \
21280 $(HOST_EXPORTS) \
21281 (cd guile && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) install)
21283 @endif guile
21285 # Other targets (info, dvi, etc.)
21287 .PHONY: maybe-info-guile info-guile
21288 maybe-info-guile:
21289 @if guile
21290 maybe-info-guile: info-guile
21292 info-guile: \
21293 configure-guile
21294 @[ -f ./guile/Makefile ] || exit 0; \
21295 r=`${PWD_COMMAND}`; export r; \
21296 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21297 $(SET_LIB_PATH) \
21298 $(HOST_EXPORTS) \
21299 for flag in $(EXTRA_HOST_FLAGS) ; do \
21300 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21301 done; \
21302 echo "Doing info in guile" ; \
21303 (cd guile && \
21304 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21305 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21306 "RANLIB=$${RANLIB}" \
21307 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21308 info) \
21309 || exit 1
21311 @endif guile
21313 .PHONY: maybe-dvi-guile dvi-guile
21314 maybe-dvi-guile:
21315 @if guile
21316 maybe-dvi-guile: dvi-guile
21318 dvi-guile: \
21319 configure-guile
21320 @[ -f ./guile/Makefile ] || exit 0; \
21321 r=`${PWD_COMMAND}`; export r; \
21322 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21323 $(SET_LIB_PATH) \
21324 $(HOST_EXPORTS) \
21325 for flag in $(EXTRA_HOST_FLAGS) ; do \
21326 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21327 done; \
21328 echo "Doing dvi in guile" ; \
21329 (cd guile && \
21330 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21331 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21332 "RANLIB=$${RANLIB}" \
21333 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21334 dvi) \
21335 || exit 1
21337 @endif guile
21339 .PHONY: maybe-TAGS-guile TAGS-guile
21340 maybe-TAGS-guile:
21341 @if guile
21342 maybe-TAGS-guile: TAGS-guile
21344 TAGS-guile: \
21345 configure-guile
21346 @[ -f ./guile/Makefile ] || exit 0; \
21347 r=`${PWD_COMMAND}`; export r; \
21348 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21349 $(SET_LIB_PATH) \
21350 $(HOST_EXPORTS) \
21351 for flag in $(EXTRA_HOST_FLAGS) ; do \
21352 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21353 done; \
21354 echo "Doing TAGS in guile" ; \
21355 (cd guile && \
21356 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21357 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21358 "RANLIB=$${RANLIB}" \
21359 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21360 TAGS) \
21361 || exit 1
21363 @endif guile
21365 .PHONY: maybe-install-info-guile install-info-guile
21366 maybe-install-info-guile:
21367 @if guile
21368 maybe-install-info-guile: install-info-guile
21370 install-info-guile: \
21371 configure-guile \
21372 info-guile
21373 @[ -f ./guile/Makefile ] || exit 0; \
21374 r=`${PWD_COMMAND}`; export r; \
21375 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21376 $(SET_LIB_PATH) \
21377 $(HOST_EXPORTS) \
21378 for flag in $(EXTRA_HOST_FLAGS) ; do \
21379 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21380 done; \
21381 echo "Doing install-info in guile" ; \
21382 (cd guile && \
21383 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21384 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21385 "RANLIB=$${RANLIB}" \
21386 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21387 install-info) \
21388 || exit 1
21390 @endif guile
21392 .PHONY: maybe-installcheck-guile installcheck-guile
21393 maybe-installcheck-guile:
21394 @if guile
21395 maybe-installcheck-guile: installcheck-guile
21397 installcheck-guile: \
21398 configure-guile
21399 @[ -f ./guile/Makefile ] || exit 0; \
21400 r=`${PWD_COMMAND}`; export r; \
21401 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21402 $(SET_LIB_PATH) \
21403 $(HOST_EXPORTS) \
21404 for flag in $(EXTRA_HOST_FLAGS) ; do \
21405 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21406 done; \
21407 echo "Doing installcheck in guile" ; \
21408 (cd guile && \
21409 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21410 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21411 "RANLIB=$${RANLIB}" \
21412 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21413 installcheck) \
21414 || exit 1
21416 @endif guile
21418 .PHONY: maybe-mostlyclean-guile mostlyclean-guile
21419 maybe-mostlyclean-guile:
21420 @if guile
21421 maybe-mostlyclean-guile: mostlyclean-guile
21423 mostlyclean-guile:
21424 @[ -f ./guile/Makefile ] || exit 0; \
21425 r=`${PWD_COMMAND}`; export r; \
21426 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21427 $(SET_LIB_PATH) \
21428 $(HOST_EXPORTS) \
21429 for flag in $(EXTRA_HOST_FLAGS) ; do \
21430 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21431 done; \
21432 echo "Doing mostlyclean in guile" ; \
21433 (cd guile && \
21434 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21435 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21436 "RANLIB=$${RANLIB}" \
21437 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21438 mostlyclean) \
21439 || exit 1
21441 @endif guile
21443 .PHONY: maybe-clean-guile clean-guile
21444 maybe-clean-guile:
21445 @if guile
21446 maybe-clean-guile: clean-guile
21448 clean-guile:
21449 @[ -f ./guile/Makefile ] || exit 0; \
21450 r=`${PWD_COMMAND}`; export r; \
21451 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21452 $(SET_LIB_PATH) \
21453 $(HOST_EXPORTS) \
21454 for flag in $(EXTRA_HOST_FLAGS) ; do \
21455 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21456 done; \
21457 echo "Doing clean in guile" ; \
21458 (cd guile && \
21459 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21460 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21461 "RANLIB=$${RANLIB}" \
21462 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21463 clean) \
21464 || exit 1
21466 @endif guile
21468 .PHONY: maybe-distclean-guile distclean-guile
21469 maybe-distclean-guile:
21470 @if guile
21471 maybe-distclean-guile: distclean-guile
21473 distclean-guile:
21474 @[ -f ./guile/Makefile ] || exit 0; \
21475 r=`${PWD_COMMAND}`; export r; \
21476 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21477 $(SET_LIB_PATH) \
21478 $(HOST_EXPORTS) \
21479 for flag in $(EXTRA_HOST_FLAGS) ; do \
21480 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21481 done; \
21482 echo "Doing distclean in guile" ; \
21483 (cd guile && \
21484 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21485 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21486 "RANLIB=$${RANLIB}" \
21487 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21488 distclean) \
21489 || exit 1
21491 @endif guile
21493 .PHONY: maybe-maintainer-clean-guile maintainer-clean-guile
21494 maybe-maintainer-clean-guile:
21495 @if guile
21496 maybe-maintainer-clean-guile: maintainer-clean-guile
21498 maintainer-clean-guile:
21499 @[ -f ./guile/Makefile ] || exit 0; \
21500 r=`${PWD_COMMAND}`; export r; \
21501 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21502 $(SET_LIB_PATH) \
21503 $(HOST_EXPORTS) \
21504 for flag in $(EXTRA_HOST_FLAGS) ; do \
21505 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21506 done; \
21507 echo "Doing maintainer-clean in guile" ; \
21508 (cd guile && \
21509 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21510 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21511 "RANLIB=$${RANLIB}" \
21512 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21513 maintainer-clean) \
21514 || exit 1
21516 @endif guile
21519 .PHONY: configure-tk maybe-configure-tk
21520 maybe-configure-tk:
21521 @if tk
21522 maybe-configure-tk: configure-tk
21523 configure-tk:
21524 @test ! -f tk/Makefile || exit 0; \
21525 [ -d tk ] || mkdir tk; \
21526 r=`${PWD_COMMAND}`; export r; \
21527 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21528 $(HOST_EXPORTS) \
21529 echo Configuring in tk; \
21530 cd tk || exit 1; \
21531 case $(srcdir) in \
21532 \.) \
21533 srcdiroption="--srcdir=."; \
21534 libsrcdir=".";; \
21535 /* | [A-Za-z]:[\\/]*) \
21536 srcdiroption="--srcdir=$(srcdir)/tk"; \
21537 libsrcdir="$$s/tk";; \
21538 *) \
21539 srcdiroption="--srcdir=../$(srcdir)/tk"; \
21540 libsrcdir="$$s/tk";; \
21541 esac; \
21542 $(SHELL) $${libsrcdir}/configure \
21543 $(HOST_CONFIGARGS) $${srcdiroption} \
21544 || exit 1
21545 @endif tk
21547 .PHONY: all-tk maybe-all-tk
21548 maybe-all-tk:
21549 @if tk
21550 maybe-all-tk: all-tk
21551 all-tk: configure-tk
21552 @r=`${PWD_COMMAND}`; export r; \
21553 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21554 $(SET_LIB_PATH) \
21555 $(HOST_EXPORTS) \
21556 (cd tk && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) all)
21557 @endif tk
21559 .PHONY: check-tk maybe-check-tk
21560 maybe-check-tk:
21561 @if tk
21562 maybe-check-tk: check-tk
21564 check-tk:
21565 @r=`${PWD_COMMAND}`; export r; \
21566 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21567 $(SET_LIB_PATH) \
21568 $(HOST_EXPORTS) \
21569 (cd tk && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) check)
21571 @endif tk
21573 .PHONY: install-tk maybe-install-tk
21574 maybe-install-tk:
21575 @if tk
21576 maybe-install-tk: install-tk
21578 install-tk: installdirs
21579 @r=`${PWD_COMMAND}`; export r; \
21580 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21581 $(SET_LIB_PATH) \
21582 $(HOST_EXPORTS) \
21583 (cd tk && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) install)
21585 @endif tk
21587 # Other targets (info, dvi, etc.)
21589 .PHONY: maybe-info-tk info-tk
21590 maybe-info-tk:
21591 @if tk
21592 maybe-info-tk: info-tk
21594 info-tk: \
21595 configure-tk
21596 @[ -f ./tk/Makefile ] || exit 0; \
21597 r=`${PWD_COMMAND}`; export r; \
21598 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21599 $(SET_LIB_PATH) \
21600 $(HOST_EXPORTS) \
21601 for flag in $(EXTRA_HOST_FLAGS) ; do \
21602 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21603 done; \
21604 echo "Doing info in tk" ; \
21605 (cd tk && \
21606 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21607 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21608 "RANLIB=$${RANLIB}" \
21609 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21610 info) \
21611 || exit 1
21613 @endif tk
21615 .PHONY: maybe-dvi-tk dvi-tk
21616 maybe-dvi-tk:
21617 @if tk
21618 maybe-dvi-tk: dvi-tk
21620 dvi-tk: \
21621 configure-tk
21622 @[ -f ./tk/Makefile ] || exit 0; \
21623 r=`${PWD_COMMAND}`; export r; \
21624 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21625 $(SET_LIB_PATH) \
21626 $(HOST_EXPORTS) \
21627 for flag in $(EXTRA_HOST_FLAGS) ; do \
21628 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21629 done; \
21630 echo "Doing dvi in tk" ; \
21631 (cd tk && \
21632 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21633 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21634 "RANLIB=$${RANLIB}" \
21635 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21636 dvi) \
21637 || exit 1
21639 @endif tk
21641 .PHONY: maybe-TAGS-tk TAGS-tk
21642 maybe-TAGS-tk:
21643 @if tk
21644 maybe-TAGS-tk: TAGS-tk
21646 TAGS-tk: \
21647 configure-tk
21648 @[ -f ./tk/Makefile ] || exit 0; \
21649 r=`${PWD_COMMAND}`; export r; \
21650 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21651 $(SET_LIB_PATH) \
21652 $(HOST_EXPORTS) \
21653 for flag in $(EXTRA_HOST_FLAGS) ; do \
21654 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21655 done; \
21656 echo "Doing TAGS in tk" ; \
21657 (cd tk && \
21658 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21659 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21660 "RANLIB=$${RANLIB}" \
21661 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21662 TAGS) \
21663 || exit 1
21665 @endif tk
21667 .PHONY: maybe-install-info-tk install-info-tk
21668 maybe-install-info-tk:
21669 @if tk
21670 maybe-install-info-tk: install-info-tk
21672 install-info-tk: \
21673 configure-tk \
21674 info-tk
21675 @[ -f ./tk/Makefile ] || exit 0; \
21676 r=`${PWD_COMMAND}`; export r; \
21677 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21678 $(SET_LIB_PATH) \
21679 $(HOST_EXPORTS) \
21680 for flag in $(EXTRA_HOST_FLAGS) ; do \
21681 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21682 done; \
21683 echo "Doing install-info in tk" ; \
21684 (cd tk && \
21685 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21686 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21687 "RANLIB=$${RANLIB}" \
21688 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21689 install-info) \
21690 || exit 1
21692 @endif tk
21694 .PHONY: maybe-installcheck-tk installcheck-tk
21695 maybe-installcheck-tk:
21696 @if tk
21697 maybe-installcheck-tk: installcheck-tk
21699 installcheck-tk: \
21700 configure-tk
21701 @[ -f ./tk/Makefile ] || exit 0; \
21702 r=`${PWD_COMMAND}`; export r; \
21703 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21704 $(SET_LIB_PATH) \
21705 $(HOST_EXPORTS) \
21706 for flag in $(EXTRA_HOST_FLAGS) ; do \
21707 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21708 done; \
21709 echo "Doing installcheck in tk" ; \
21710 (cd tk && \
21711 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21712 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21713 "RANLIB=$${RANLIB}" \
21714 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21715 installcheck) \
21716 || exit 1
21718 @endif tk
21720 .PHONY: maybe-mostlyclean-tk mostlyclean-tk
21721 maybe-mostlyclean-tk:
21722 @if tk
21723 maybe-mostlyclean-tk: mostlyclean-tk
21725 mostlyclean-tk:
21726 @[ -f ./tk/Makefile ] || exit 0; \
21727 r=`${PWD_COMMAND}`; export r; \
21728 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21729 $(SET_LIB_PATH) \
21730 $(HOST_EXPORTS) \
21731 for flag in $(EXTRA_HOST_FLAGS) ; do \
21732 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21733 done; \
21734 echo "Doing mostlyclean in tk" ; \
21735 (cd tk && \
21736 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21737 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21738 "RANLIB=$${RANLIB}" \
21739 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21740 mostlyclean) \
21741 || exit 1
21743 @endif tk
21745 .PHONY: maybe-clean-tk clean-tk
21746 maybe-clean-tk:
21747 @if tk
21748 maybe-clean-tk: clean-tk
21750 clean-tk:
21751 @[ -f ./tk/Makefile ] || exit 0; \
21752 r=`${PWD_COMMAND}`; export r; \
21753 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21754 $(SET_LIB_PATH) \
21755 $(HOST_EXPORTS) \
21756 for flag in $(EXTRA_HOST_FLAGS) ; do \
21757 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21758 done; \
21759 echo "Doing clean in tk" ; \
21760 (cd tk && \
21761 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21762 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21763 "RANLIB=$${RANLIB}" \
21764 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21765 clean) \
21766 || exit 1
21768 @endif tk
21770 .PHONY: maybe-distclean-tk distclean-tk
21771 maybe-distclean-tk:
21772 @if tk
21773 maybe-distclean-tk: distclean-tk
21775 distclean-tk:
21776 @[ -f ./tk/Makefile ] || exit 0; \
21777 r=`${PWD_COMMAND}`; export r; \
21778 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21779 $(SET_LIB_PATH) \
21780 $(HOST_EXPORTS) \
21781 for flag in $(EXTRA_HOST_FLAGS) ; do \
21782 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21783 done; \
21784 echo "Doing distclean in tk" ; \
21785 (cd tk && \
21786 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21787 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21788 "RANLIB=$${RANLIB}" \
21789 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21790 distclean) \
21791 || exit 1
21793 @endif tk
21795 .PHONY: maybe-maintainer-clean-tk maintainer-clean-tk
21796 maybe-maintainer-clean-tk:
21797 @if tk
21798 maybe-maintainer-clean-tk: maintainer-clean-tk
21800 maintainer-clean-tk:
21801 @[ -f ./tk/Makefile ] || exit 0; \
21802 r=`${PWD_COMMAND}`; export r; \
21803 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21804 $(SET_LIB_PATH) \
21805 $(HOST_EXPORTS) \
21806 for flag in $(EXTRA_HOST_FLAGS) ; do \
21807 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21808 done; \
21809 echo "Doing maintainer-clean in tk" ; \
21810 (cd tk && \
21811 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21812 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21813 "RANLIB=$${RANLIB}" \
21814 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21815 maintainer-clean) \
21816 || exit 1
21818 @endif tk
21821 .PHONY: configure-tix maybe-configure-tix
21822 maybe-configure-tix:
21823 @if tix
21824 maybe-configure-tix: configure-tix
21825 configure-tix:
21826 @test ! -f tix/Makefile || exit 0; \
21827 [ -d tix ] || mkdir tix; \
21828 r=`${PWD_COMMAND}`; export r; \
21829 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21830 $(HOST_EXPORTS) \
21831 echo Configuring in tix; \
21832 cd tix || exit 1; \
21833 case $(srcdir) in \
21834 \.) \
21835 srcdiroption="--srcdir=."; \
21836 libsrcdir=".";; \
21837 /* | [A-Za-z]:[\\/]*) \
21838 srcdiroption="--srcdir=$(srcdir)/tix"; \
21839 libsrcdir="$$s/tix";; \
21840 *) \
21841 srcdiroption="--srcdir=../$(srcdir)/tix"; \
21842 libsrcdir="$$s/tix";; \
21843 esac; \
21844 $(SHELL) $${libsrcdir}/configure \
21845 $(HOST_CONFIGARGS) $${srcdiroption} \
21846 || exit 1
21847 @endif tix
21849 .PHONY: all-tix maybe-all-tix
21850 maybe-all-tix:
21851 @if tix
21852 maybe-all-tix: all-tix
21853 all-tix: configure-tix
21854 @r=`${PWD_COMMAND}`; export r; \
21855 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21856 $(SET_LIB_PATH) \
21857 $(HOST_EXPORTS) \
21858 (cd tix && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) all)
21859 @endif tix
21861 .PHONY: check-tix maybe-check-tix
21862 maybe-check-tix:
21863 @if tix
21864 maybe-check-tix: check-tix
21866 check-tix:
21867 @r=`${PWD_COMMAND}`; export r; \
21868 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21869 $(SET_LIB_PATH) \
21870 $(HOST_EXPORTS) \
21871 (cd tix && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) check)
21873 @endif tix
21875 .PHONY: install-tix maybe-install-tix
21876 maybe-install-tix:
21877 @if tix
21878 maybe-install-tix: install-tix
21880 install-tix: installdirs
21881 @r=`${PWD_COMMAND}`; export r; \
21882 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21883 $(SET_LIB_PATH) \
21884 $(HOST_EXPORTS) \
21885 (cd tix && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) install)
21887 @endif tix
21889 # Other targets (info, dvi, etc.)
21891 .PHONY: maybe-info-tix info-tix
21892 maybe-info-tix:
21893 @if tix
21894 maybe-info-tix: info-tix
21896 info-tix: \
21897 configure-tix
21898 @[ -f ./tix/Makefile ] || exit 0; \
21899 r=`${PWD_COMMAND}`; export r; \
21900 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21901 $(SET_LIB_PATH) \
21902 $(HOST_EXPORTS) \
21903 for flag in $(EXTRA_HOST_FLAGS) ; do \
21904 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21905 done; \
21906 echo "Doing info in tix" ; \
21907 (cd tix && \
21908 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21909 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21910 "RANLIB=$${RANLIB}" \
21911 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21912 info) \
21913 || exit 1
21915 @endif tix
21917 .PHONY: maybe-dvi-tix dvi-tix
21918 maybe-dvi-tix:
21919 @if tix
21920 maybe-dvi-tix: dvi-tix
21922 dvi-tix: \
21923 configure-tix
21924 @[ -f ./tix/Makefile ] || exit 0; \
21925 r=`${PWD_COMMAND}`; export r; \
21926 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21927 $(SET_LIB_PATH) \
21928 $(HOST_EXPORTS) \
21929 for flag in $(EXTRA_HOST_FLAGS) ; do \
21930 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21931 done; \
21932 echo "Doing dvi in tix" ; \
21933 (cd tix && \
21934 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21935 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21936 "RANLIB=$${RANLIB}" \
21937 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21938 dvi) \
21939 || exit 1
21941 @endif tix
21943 .PHONY: maybe-TAGS-tix TAGS-tix
21944 maybe-TAGS-tix:
21945 @if tix
21946 maybe-TAGS-tix: TAGS-tix
21948 TAGS-tix: \
21949 configure-tix
21950 @[ -f ./tix/Makefile ] || exit 0; \
21951 r=`${PWD_COMMAND}`; export r; \
21952 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21953 $(SET_LIB_PATH) \
21954 $(HOST_EXPORTS) \
21955 for flag in $(EXTRA_HOST_FLAGS) ; do \
21956 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21957 done; \
21958 echo "Doing TAGS in tix" ; \
21959 (cd tix && \
21960 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21961 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21962 "RANLIB=$${RANLIB}" \
21963 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21964 TAGS) \
21965 || exit 1
21967 @endif tix
21969 .PHONY: maybe-install-info-tix install-info-tix
21970 maybe-install-info-tix:
21971 @if tix
21972 maybe-install-info-tix: install-info-tix
21974 install-info-tix: \
21975 configure-tix \
21976 info-tix
21977 @[ -f ./tix/Makefile ] || exit 0; \
21978 r=`${PWD_COMMAND}`; export r; \
21979 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21980 $(SET_LIB_PATH) \
21981 $(HOST_EXPORTS) \
21982 for flag in $(EXTRA_HOST_FLAGS) ; do \
21983 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21984 done; \
21985 echo "Doing install-info in tix" ; \
21986 (cd tix && \
21987 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21988 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21989 "RANLIB=$${RANLIB}" \
21990 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21991 install-info) \
21992 || exit 1
21994 @endif tix
21996 .PHONY: maybe-installcheck-tix installcheck-tix
21997 maybe-installcheck-tix:
21998 @if tix
21999 maybe-installcheck-tix: installcheck-tix
22001 installcheck-tix: \
22002 configure-tix
22003 @[ -f ./tix/Makefile ] || exit 0; \
22004 r=`${PWD_COMMAND}`; export r; \
22005 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22006 $(SET_LIB_PATH) \
22007 $(HOST_EXPORTS) \
22008 for flag in $(EXTRA_HOST_FLAGS) ; do \
22009 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22010 done; \
22011 echo "Doing installcheck in tix" ; \
22012 (cd tix && \
22013 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22014 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22015 "RANLIB=$${RANLIB}" \
22016 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22017 installcheck) \
22018 || exit 1
22020 @endif tix
22022 .PHONY: maybe-mostlyclean-tix mostlyclean-tix
22023 maybe-mostlyclean-tix:
22024 @if tix
22025 maybe-mostlyclean-tix: mostlyclean-tix
22027 mostlyclean-tix:
22028 @[ -f ./tix/Makefile ] || exit 0; \
22029 r=`${PWD_COMMAND}`; export r; \
22030 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22031 $(SET_LIB_PATH) \
22032 $(HOST_EXPORTS) \
22033 for flag in $(EXTRA_HOST_FLAGS) ; do \
22034 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22035 done; \
22036 echo "Doing mostlyclean in tix" ; \
22037 (cd tix && \
22038 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22039 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22040 "RANLIB=$${RANLIB}" \
22041 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22042 mostlyclean) \
22043 || exit 1
22045 @endif tix
22047 .PHONY: maybe-clean-tix clean-tix
22048 maybe-clean-tix:
22049 @if tix
22050 maybe-clean-tix: clean-tix
22052 clean-tix:
22053 @[ -f ./tix/Makefile ] || exit 0; \
22054 r=`${PWD_COMMAND}`; export r; \
22055 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22056 $(SET_LIB_PATH) \
22057 $(HOST_EXPORTS) \
22058 for flag in $(EXTRA_HOST_FLAGS) ; do \
22059 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22060 done; \
22061 echo "Doing clean in tix" ; \
22062 (cd tix && \
22063 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22064 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22065 "RANLIB=$${RANLIB}" \
22066 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22067 clean) \
22068 || exit 1
22070 @endif tix
22072 .PHONY: maybe-distclean-tix distclean-tix
22073 maybe-distclean-tix:
22074 @if tix
22075 maybe-distclean-tix: distclean-tix
22077 distclean-tix:
22078 @[ -f ./tix/Makefile ] || exit 0; \
22079 r=`${PWD_COMMAND}`; export r; \
22080 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22081 $(SET_LIB_PATH) \
22082 $(HOST_EXPORTS) \
22083 for flag in $(EXTRA_HOST_FLAGS) ; do \
22084 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22085 done; \
22086 echo "Doing distclean in tix" ; \
22087 (cd tix && \
22088 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22089 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22090 "RANLIB=$${RANLIB}" \
22091 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22092 distclean) \
22093 || exit 1
22095 @endif tix
22097 .PHONY: maybe-maintainer-clean-tix maintainer-clean-tix
22098 maybe-maintainer-clean-tix:
22099 @if tix
22100 maybe-maintainer-clean-tix: maintainer-clean-tix
22102 maintainer-clean-tix:
22103 @[ -f ./tix/Makefile ] || exit 0; \
22104 r=`${PWD_COMMAND}`; export r; \
22105 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22106 $(SET_LIB_PATH) \
22107 $(HOST_EXPORTS) \
22108 for flag in $(EXTRA_HOST_FLAGS) ; do \
22109 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22110 done; \
22111 echo "Doing maintainer-clean in tix" ; \
22112 (cd tix && \
22113 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22114 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22115 "RANLIB=$${RANLIB}" \
22116 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22117 maintainer-clean) \
22118 || exit 1
22120 @endif tix
22123 .PHONY: configure-libtermcap maybe-configure-libtermcap
22124 maybe-configure-libtermcap:
22125 @if libtermcap
22126 maybe-configure-libtermcap: configure-libtermcap
22127 configure-libtermcap:
22128 @test ! -f libtermcap/Makefile || exit 0; \
22129 [ -d libtermcap ] || mkdir libtermcap; \
22130 r=`${PWD_COMMAND}`; export r; \
22131 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22132 $(HOST_EXPORTS) \
22133 echo Configuring in libtermcap; \
22134 cd libtermcap || exit 1; \
22135 case $(srcdir) in \
22136 \.) \
22137 srcdiroption="--srcdir=."; \
22138 libsrcdir=".";; \
22139 /* | [A-Za-z]:[\\/]*) \
22140 srcdiroption="--srcdir=$(srcdir)/libtermcap"; \
22141 libsrcdir="$$s/libtermcap";; \
22142 *) \
22143 srcdiroption="--srcdir=../$(srcdir)/libtermcap"; \
22144 libsrcdir="$$s/libtermcap";; \
22145 esac; \
22146 $(SHELL) $${libsrcdir}/configure \
22147 $(HOST_CONFIGARGS) $${srcdiroption} \
22148 || exit 1
22149 @endif libtermcap
22151 .PHONY: all-libtermcap maybe-all-libtermcap
22152 maybe-all-libtermcap:
22153 @if libtermcap
22154 maybe-all-libtermcap: all-libtermcap
22155 all-libtermcap: configure-libtermcap
22156 @r=`${PWD_COMMAND}`; export r; \
22157 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22158 $(SET_LIB_PATH) \
22159 $(HOST_EXPORTS) \
22160 (cd libtermcap && $(MAKE) $(FLAGS_TO_PASS) all)
22161 @endif libtermcap
22163 .PHONY: check-libtermcap maybe-check-libtermcap
22164 maybe-check-libtermcap:
22165 @if libtermcap
22166 maybe-check-libtermcap: check-libtermcap
22168 check-libtermcap:
22170 @endif libtermcap
22172 .PHONY: install-libtermcap maybe-install-libtermcap
22173 maybe-install-libtermcap:
22174 @if libtermcap
22175 maybe-install-libtermcap: install-libtermcap
22177 install-libtermcap: installdirs
22178 @r=`${PWD_COMMAND}`; export r; \
22179 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22180 $(SET_LIB_PATH) \
22181 $(HOST_EXPORTS) \
22182 (cd libtermcap && $(MAKE) $(FLAGS_TO_PASS) install)
22184 @endif libtermcap
22186 # Other targets (info, dvi, etc.)
22188 .PHONY: maybe-info-libtermcap info-libtermcap
22189 maybe-info-libtermcap:
22190 @if libtermcap
22191 maybe-info-libtermcap: info-libtermcap
22193 info-libtermcap: \
22194 configure-libtermcap
22195 @[ -f ./libtermcap/Makefile ] || exit 0; \
22196 r=`${PWD_COMMAND}`; export r; \
22197 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22198 $(SET_LIB_PATH) \
22199 $(HOST_EXPORTS) \
22200 for flag in $(EXTRA_HOST_FLAGS) ; do \
22201 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22202 done; \
22203 echo "Doing info in libtermcap" ; \
22204 (cd libtermcap && \
22205 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22206 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22207 "RANLIB=$${RANLIB}" \
22208 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22209 info) \
22210 || exit 1
22212 @endif libtermcap
22214 .PHONY: maybe-dvi-libtermcap dvi-libtermcap
22215 maybe-dvi-libtermcap:
22216 @if libtermcap
22217 maybe-dvi-libtermcap: dvi-libtermcap
22219 dvi-libtermcap: \
22220 configure-libtermcap
22221 @[ -f ./libtermcap/Makefile ] || exit 0; \
22222 r=`${PWD_COMMAND}`; export r; \
22223 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22224 $(SET_LIB_PATH) \
22225 $(HOST_EXPORTS) \
22226 for flag in $(EXTRA_HOST_FLAGS) ; do \
22227 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22228 done; \
22229 echo "Doing dvi in libtermcap" ; \
22230 (cd libtermcap && \
22231 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22232 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22233 "RANLIB=$${RANLIB}" \
22234 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22235 dvi) \
22236 || exit 1
22238 @endif libtermcap
22240 .PHONY: maybe-TAGS-libtermcap TAGS-libtermcap
22241 maybe-TAGS-libtermcap:
22242 @if libtermcap
22243 maybe-TAGS-libtermcap: TAGS-libtermcap
22245 TAGS-libtermcap: \
22246 configure-libtermcap
22247 @[ -f ./libtermcap/Makefile ] || exit 0; \
22248 r=`${PWD_COMMAND}`; export r; \
22249 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22250 $(SET_LIB_PATH) \
22251 $(HOST_EXPORTS) \
22252 for flag in $(EXTRA_HOST_FLAGS) ; do \
22253 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22254 done; \
22255 echo "Doing TAGS in libtermcap" ; \
22256 (cd libtermcap && \
22257 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22258 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22259 "RANLIB=$${RANLIB}" \
22260 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22261 TAGS) \
22262 || exit 1
22264 @endif libtermcap
22266 .PHONY: maybe-install-info-libtermcap install-info-libtermcap
22267 maybe-install-info-libtermcap:
22268 @if libtermcap
22269 maybe-install-info-libtermcap: install-info-libtermcap
22271 install-info-libtermcap: \
22272 configure-libtermcap \
22273 info-libtermcap
22274 @[ -f ./libtermcap/Makefile ] || exit 0; \
22275 r=`${PWD_COMMAND}`; export r; \
22276 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22277 $(SET_LIB_PATH) \
22278 $(HOST_EXPORTS) \
22279 for flag in $(EXTRA_HOST_FLAGS) ; do \
22280 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22281 done; \
22282 echo "Doing install-info in libtermcap" ; \
22283 (cd libtermcap && \
22284 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22285 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22286 "RANLIB=$${RANLIB}" \
22287 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22288 install-info) \
22289 || exit 1
22291 @endif libtermcap
22293 .PHONY: maybe-installcheck-libtermcap installcheck-libtermcap
22294 maybe-installcheck-libtermcap:
22295 @if libtermcap
22296 maybe-installcheck-libtermcap: installcheck-libtermcap
22298 installcheck-libtermcap: \
22299 configure-libtermcap
22300 @[ -f ./libtermcap/Makefile ] || exit 0; \
22301 r=`${PWD_COMMAND}`; export r; \
22302 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22303 $(SET_LIB_PATH) \
22304 $(HOST_EXPORTS) \
22305 for flag in $(EXTRA_HOST_FLAGS) ; do \
22306 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22307 done; \
22308 echo "Doing installcheck in libtermcap" ; \
22309 (cd libtermcap && \
22310 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22311 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22312 "RANLIB=$${RANLIB}" \
22313 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22314 installcheck) \
22315 || exit 1
22317 @endif libtermcap
22319 .PHONY: maybe-mostlyclean-libtermcap mostlyclean-libtermcap
22320 maybe-mostlyclean-libtermcap:
22321 @if libtermcap
22322 maybe-mostlyclean-libtermcap: mostlyclean-libtermcap
22324 # libtermcap doesn't support mostlyclean.
22325 mostlyclean-libtermcap:
22327 @endif libtermcap
22329 .PHONY: maybe-clean-libtermcap clean-libtermcap
22330 maybe-clean-libtermcap:
22331 @if libtermcap
22332 maybe-clean-libtermcap: clean-libtermcap
22334 # libtermcap doesn't support clean.
22335 clean-libtermcap:
22337 @endif libtermcap
22339 .PHONY: maybe-distclean-libtermcap distclean-libtermcap
22340 maybe-distclean-libtermcap:
22341 @if libtermcap
22342 maybe-distclean-libtermcap: distclean-libtermcap
22344 # libtermcap doesn't support distclean.
22345 distclean-libtermcap:
22347 @endif libtermcap
22349 .PHONY: maybe-maintainer-clean-libtermcap maintainer-clean-libtermcap
22350 maybe-maintainer-clean-libtermcap:
22351 @if libtermcap
22352 maybe-maintainer-clean-libtermcap: maintainer-clean-libtermcap
22354 # libtermcap doesn't support maintainer-clean.
22355 maintainer-clean-libtermcap:
22357 @endif libtermcap
22360 .PHONY: configure-utils maybe-configure-utils
22361 maybe-configure-utils:
22362 @if utils
22363 maybe-configure-utils: configure-utils
22364 configure-utils:
22365 @test ! -f utils/Makefile || exit 0; \
22366 [ -d utils ] || mkdir utils; \
22367 r=`${PWD_COMMAND}`; export r; \
22368 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22369 $(HOST_EXPORTS) \
22370 echo Configuring in utils; \
22371 cd utils || exit 1; \
22372 case $(srcdir) in \
22373 \.) \
22374 srcdiroption="--srcdir=."; \
22375 libsrcdir=".";; \
22376 /* | [A-Za-z]:[\\/]*) \
22377 srcdiroption="--srcdir=$(srcdir)/utils"; \
22378 libsrcdir="$$s/utils";; \
22379 *) \
22380 srcdiroption="--srcdir=../$(srcdir)/utils"; \
22381 libsrcdir="$$s/utils";; \
22382 esac; \
22383 $(SHELL) $${libsrcdir}/configure \
22384 $(HOST_CONFIGARGS) $${srcdiroption} \
22385 || exit 1
22386 @endif utils
22388 .PHONY: all-utils maybe-all-utils
22389 maybe-all-utils:
22390 @if utils
22391 maybe-all-utils: all-utils
22392 all-utils: configure-utils
22393 @r=`${PWD_COMMAND}`; export r; \
22394 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22395 $(SET_LIB_PATH) \
22396 $(HOST_EXPORTS) \
22397 (cd utils && $(MAKE) $(FLAGS_TO_PASS) all)
22398 @endif utils
22400 .PHONY: check-utils maybe-check-utils
22401 maybe-check-utils:
22402 @if utils
22403 maybe-check-utils: check-utils
22405 check-utils:
22407 @endif utils
22409 .PHONY: install-utils maybe-install-utils
22410 maybe-install-utils:
22411 @if utils
22412 maybe-install-utils: install-utils
22414 install-utils: installdirs
22415 @r=`${PWD_COMMAND}`; export r; \
22416 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22417 $(SET_LIB_PATH) \
22418 $(HOST_EXPORTS) \
22419 (cd utils && $(MAKE) $(FLAGS_TO_PASS) install)
22421 @endif utils
22423 # Other targets (info, dvi, etc.)
22425 .PHONY: maybe-info-utils info-utils
22426 maybe-info-utils:
22427 @if utils
22428 maybe-info-utils: info-utils
22430 info-utils: \
22431 configure-utils
22432 @[ -f ./utils/Makefile ] || exit 0; \
22433 r=`${PWD_COMMAND}`; export r; \
22434 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22435 $(SET_LIB_PATH) \
22436 $(HOST_EXPORTS) \
22437 for flag in $(EXTRA_HOST_FLAGS) ; do \
22438 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22439 done; \
22440 echo "Doing info in utils" ; \
22441 (cd utils && \
22442 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22443 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22444 "RANLIB=$${RANLIB}" \
22445 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22446 info) \
22447 || exit 1
22449 @endif utils
22451 .PHONY: maybe-dvi-utils dvi-utils
22452 maybe-dvi-utils:
22453 @if utils
22454 maybe-dvi-utils: dvi-utils
22456 dvi-utils: \
22457 configure-utils
22458 @[ -f ./utils/Makefile ] || exit 0; \
22459 r=`${PWD_COMMAND}`; export r; \
22460 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22461 $(SET_LIB_PATH) \
22462 $(HOST_EXPORTS) \
22463 for flag in $(EXTRA_HOST_FLAGS) ; do \
22464 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22465 done; \
22466 echo "Doing dvi in utils" ; \
22467 (cd utils && \
22468 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22469 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22470 "RANLIB=$${RANLIB}" \
22471 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22472 dvi) \
22473 || exit 1
22475 @endif utils
22477 .PHONY: maybe-TAGS-utils TAGS-utils
22478 maybe-TAGS-utils:
22479 @if utils
22480 maybe-TAGS-utils: TAGS-utils
22482 TAGS-utils: \
22483 configure-utils
22484 @[ -f ./utils/Makefile ] || exit 0; \
22485 r=`${PWD_COMMAND}`; export r; \
22486 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22487 $(SET_LIB_PATH) \
22488 $(HOST_EXPORTS) \
22489 for flag in $(EXTRA_HOST_FLAGS) ; do \
22490 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22491 done; \
22492 echo "Doing TAGS in utils" ; \
22493 (cd utils && \
22494 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22495 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22496 "RANLIB=$${RANLIB}" \
22497 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22498 TAGS) \
22499 || exit 1
22501 @endif utils
22503 .PHONY: maybe-install-info-utils install-info-utils
22504 maybe-install-info-utils:
22505 @if utils
22506 maybe-install-info-utils: install-info-utils
22508 install-info-utils: \
22509 configure-utils \
22510 info-utils
22511 @[ -f ./utils/Makefile ] || exit 0; \
22512 r=`${PWD_COMMAND}`; export r; \
22513 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22514 $(SET_LIB_PATH) \
22515 $(HOST_EXPORTS) \
22516 for flag in $(EXTRA_HOST_FLAGS) ; do \
22517 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22518 done; \
22519 echo "Doing install-info in utils" ; \
22520 (cd utils && \
22521 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22522 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22523 "RANLIB=$${RANLIB}" \
22524 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22525 install-info) \
22526 || exit 1
22528 @endif utils
22530 .PHONY: maybe-installcheck-utils installcheck-utils
22531 maybe-installcheck-utils:
22532 @if utils
22533 maybe-installcheck-utils: installcheck-utils
22535 installcheck-utils: \
22536 configure-utils
22537 @[ -f ./utils/Makefile ] || exit 0; \
22538 r=`${PWD_COMMAND}`; export r; \
22539 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22540 $(SET_LIB_PATH) \
22541 $(HOST_EXPORTS) \
22542 for flag in $(EXTRA_HOST_FLAGS) ; do \
22543 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22544 done; \
22545 echo "Doing installcheck in utils" ; \
22546 (cd utils && \
22547 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22548 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22549 "RANLIB=$${RANLIB}" \
22550 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22551 installcheck) \
22552 || exit 1
22554 @endif utils
22556 .PHONY: maybe-mostlyclean-utils mostlyclean-utils
22557 maybe-mostlyclean-utils:
22558 @if utils
22559 maybe-mostlyclean-utils: mostlyclean-utils
22561 mostlyclean-utils:
22562 @[ -f ./utils/Makefile ] || exit 0; \
22563 r=`${PWD_COMMAND}`; export r; \
22564 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22565 $(SET_LIB_PATH) \
22566 $(HOST_EXPORTS) \
22567 for flag in $(EXTRA_HOST_FLAGS) ; do \
22568 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22569 done; \
22570 echo "Doing mostlyclean in utils" ; \
22571 (cd utils && \
22572 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22573 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22574 "RANLIB=$${RANLIB}" \
22575 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22576 mostlyclean) \
22577 || exit 1
22579 @endif utils
22581 .PHONY: maybe-clean-utils clean-utils
22582 maybe-clean-utils:
22583 @if utils
22584 maybe-clean-utils: clean-utils
22586 clean-utils:
22587 @[ -f ./utils/Makefile ] || exit 0; \
22588 r=`${PWD_COMMAND}`; export r; \
22589 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22590 $(SET_LIB_PATH) \
22591 $(HOST_EXPORTS) \
22592 for flag in $(EXTRA_HOST_FLAGS) ; do \
22593 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22594 done; \
22595 echo "Doing clean in utils" ; \
22596 (cd utils && \
22597 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22598 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22599 "RANLIB=$${RANLIB}" \
22600 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22601 clean) \
22602 || exit 1
22604 @endif utils
22606 .PHONY: maybe-distclean-utils distclean-utils
22607 maybe-distclean-utils:
22608 @if utils
22609 maybe-distclean-utils: distclean-utils
22611 distclean-utils:
22612 @[ -f ./utils/Makefile ] || exit 0; \
22613 r=`${PWD_COMMAND}`; export r; \
22614 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22615 $(SET_LIB_PATH) \
22616 $(HOST_EXPORTS) \
22617 for flag in $(EXTRA_HOST_FLAGS) ; do \
22618 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22619 done; \
22620 echo "Doing distclean in utils" ; \
22621 (cd utils && \
22622 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22623 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22624 "RANLIB=$${RANLIB}" \
22625 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22626 distclean) \
22627 || exit 1
22629 @endif utils
22631 .PHONY: maybe-maintainer-clean-utils maintainer-clean-utils
22632 maybe-maintainer-clean-utils:
22633 @if utils
22634 maybe-maintainer-clean-utils: maintainer-clean-utils
22636 maintainer-clean-utils:
22637 @[ -f ./utils/Makefile ] || exit 0; \
22638 r=`${PWD_COMMAND}`; export r; \
22639 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22640 $(SET_LIB_PATH) \
22641 $(HOST_EXPORTS) \
22642 for flag in $(EXTRA_HOST_FLAGS) ; do \
22643 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22644 done; \
22645 echo "Doing maintainer-clean in utils" ; \
22646 (cd utils && \
22647 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22648 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22649 "RANLIB=$${RANLIB}" \
22650 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22651 maintainer-clean) \
22652 || exit 1
22654 @endif utils
22658 # ---------------------------------------
22659 # Modules which run on the target machine
22660 # ---------------------------------------
22662 .PHONY: configure-target-libstdc++-v3 maybe-configure-target-libstdc++-v3
22663 maybe-configure-target-libstdc++-v3:
22664 @if target-libstdc++-v3
22665 maybe-configure-target-libstdc++-v3: configure-target-libstdc++-v3
22667 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
22668 $(TARGET_SUBDIR)/libstdc++-v3/multilib.out: multilib.out
22669 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \
22670 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || : ; \
22671 cp multilib.out $(TARGET_SUBDIR)/libstdc++-v3/multilib.out
22673 configure-target-libstdc++-v3: $(TARGET_SUBDIR)/libstdc++-v3/multilib.out
22674 @test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
22675 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \
22676 r=`${PWD_COMMAND}`; export r; \
22677 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22678 $(SET_LIB_PATH) \
22679 $(RAW_CXX_TARGET_EXPORTS) \
22680 echo Configuring in $(TARGET_SUBDIR)/libstdc++-v3; \
22681 cd "$(TARGET_SUBDIR)/libstdc++-v3" || exit 1; \
22682 case $(srcdir) in \
22683 /* | [A-Za-z]:[\\/]*) \
22684 topdir=$(srcdir) ;; \
22685 *) \
22686 case "$(TARGET_SUBDIR)" in \
22687 .) topdir="../$(srcdir)" ;; \
22688 *) topdir="../../$(srcdir)" ;; \
22689 esac ;; \
22690 esac; \
22691 srcdiroption="--srcdir=$${topdir}/libstdc++-v3"; \
22692 libsrcdir="$$s/libstdc++-v3"; \
22693 rm -f no-such-file || : ; \
22694 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
22695 $(TARGET_CONFIGARGS) $${srcdiroption} \
22696 --with-target-subdir="$(TARGET_SUBDIR)" \
22697 || exit 1
22698 @endif target-libstdc++-v3
22700 .PHONY: all-target-libstdc++-v3 maybe-all-target-libstdc++-v3
22701 maybe-all-target-libstdc++-v3:
22702 @if target-libstdc++-v3
22703 maybe-all-target-libstdc++-v3: all-target-libstdc++-v3
22704 all-target-libstdc++-v3: configure-target-libstdc++-v3
22705 @r=`${PWD_COMMAND}`; export r; \
22706 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22707 $(SET_LIB_PATH) \
22708 $(RAW_CXX_TARGET_EXPORTS) \
22709 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
22710 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' all)
22711 @endif target-libstdc++-v3
22713 .PHONY: check-target-libstdc++-v3 maybe-check-target-libstdc++-v3
22714 maybe-check-target-libstdc++-v3:
22715 @if target-libstdc++-v3
22716 maybe-check-target-libstdc++-v3: check-target-libstdc++-v3
22718 check-target-libstdc++-v3:
22719 @r=`${PWD_COMMAND}`; export r; \
22720 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22721 $(SET_LIB_PATH) \
22722 $(RAW_CXX_TARGET_EXPORTS) \
22723 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
22724 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' check)
22726 @endif target-libstdc++-v3
22728 .PHONY: install-target-libstdc++-v3 maybe-install-target-libstdc++-v3
22729 maybe-install-target-libstdc++-v3:
22730 @if target-libstdc++-v3
22731 maybe-install-target-libstdc++-v3: install-target-libstdc++-v3
22733 install-target-libstdc++-v3: installdirs
22734 @r=`${PWD_COMMAND}`; export r; \
22735 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22736 $(SET_LIB_PATH) \
22737 $(RAW_CXX_TARGET_EXPORTS) \
22738 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
22739 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
22741 @endif target-libstdc++-v3
22743 # Other targets (info, dvi, etc.)
22745 .PHONY: maybe-info-target-libstdc++-v3 info-target-libstdc++-v3
22746 maybe-info-target-libstdc++-v3:
22747 @if target-libstdc++-v3
22748 maybe-info-target-libstdc++-v3: info-target-libstdc++-v3
22750 info-target-libstdc++-v3: \
22751 configure-target-libstdc++-v3
22752 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
22753 r=`${PWD_COMMAND}`; export r; \
22754 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22755 $(SET_LIB_PATH) \
22756 $(RAW_CXX_TARGET_EXPORTS) \
22757 echo "Doing info in $(TARGET_SUBDIR)/libstdc++-v3" ; \
22758 for flag in $(EXTRA_TARGET_FLAGS); do \
22759 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22760 done; \
22761 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
22762 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22763 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22764 "RANLIB=$${RANLIB}" \
22765 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22766 info) \
22767 || exit 1
22769 @endif target-libstdc++-v3
22771 .PHONY: maybe-dvi-target-libstdc++-v3 dvi-target-libstdc++-v3
22772 maybe-dvi-target-libstdc++-v3:
22773 @if target-libstdc++-v3
22774 maybe-dvi-target-libstdc++-v3: dvi-target-libstdc++-v3
22776 dvi-target-libstdc++-v3: \
22777 configure-target-libstdc++-v3
22778 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
22779 r=`${PWD_COMMAND}`; export r; \
22780 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22781 $(SET_LIB_PATH) \
22782 $(RAW_CXX_TARGET_EXPORTS) \
22783 echo "Doing dvi in $(TARGET_SUBDIR)/libstdc++-v3" ; \
22784 for flag in $(EXTRA_TARGET_FLAGS); do \
22785 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22786 done; \
22787 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
22788 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22789 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22790 "RANLIB=$${RANLIB}" \
22791 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22792 dvi) \
22793 || exit 1
22795 @endif target-libstdc++-v3
22797 .PHONY: maybe-TAGS-target-libstdc++-v3 TAGS-target-libstdc++-v3
22798 maybe-TAGS-target-libstdc++-v3:
22799 @if target-libstdc++-v3
22800 maybe-TAGS-target-libstdc++-v3: TAGS-target-libstdc++-v3
22802 TAGS-target-libstdc++-v3: \
22803 configure-target-libstdc++-v3
22804 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
22805 r=`${PWD_COMMAND}`; export r; \
22806 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22807 $(SET_LIB_PATH) \
22808 $(RAW_CXX_TARGET_EXPORTS) \
22809 echo "Doing TAGS in $(TARGET_SUBDIR)/libstdc++-v3" ; \
22810 for flag in $(EXTRA_TARGET_FLAGS); do \
22811 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22812 done; \
22813 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
22814 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22815 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22816 "RANLIB=$${RANLIB}" \
22817 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22818 TAGS) \
22819 || exit 1
22821 @endif target-libstdc++-v3
22823 .PHONY: maybe-install-info-target-libstdc++-v3 install-info-target-libstdc++-v3
22824 maybe-install-info-target-libstdc++-v3:
22825 @if target-libstdc++-v3
22826 maybe-install-info-target-libstdc++-v3: install-info-target-libstdc++-v3
22828 install-info-target-libstdc++-v3: \
22829 configure-target-libstdc++-v3 \
22830 info-target-libstdc++-v3
22831 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
22832 r=`${PWD_COMMAND}`; export r; \
22833 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22834 $(SET_LIB_PATH) \
22835 $(RAW_CXX_TARGET_EXPORTS) \
22836 echo "Doing install-info in $(TARGET_SUBDIR)/libstdc++-v3" ; \
22837 for flag in $(EXTRA_TARGET_FLAGS); do \
22838 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22839 done; \
22840 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
22841 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22842 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22843 "RANLIB=$${RANLIB}" \
22844 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22845 install-info) \
22846 || exit 1
22848 @endif target-libstdc++-v3
22850 .PHONY: maybe-installcheck-target-libstdc++-v3 installcheck-target-libstdc++-v3
22851 maybe-installcheck-target-libstdc++-v3:
22852 @if target-libstdc++-v3
22853 maybe-installcheck-target-libstdc++-v3: installcheck-target-libstdc++-v3
22855 installcheck-target-libstdc++-v3: \
22856 configure-target-libstdc++-v3
22857 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
22858 r=`${PWD_COMMAND}`; export r; \
22859 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22860 $(SET_LIB_PATH) \
22861 $(RAW_CXX_TARGET_EXPORTS) \
22862 echo "Doing installcheck in $(TARGET_SUBDIR)/libstdc++-v3" ; \
22863 for flag in $(EXTRA_TARGET_FLAGS); do \
22864 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22865 done; \
22866 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
22867 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22868 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22869 "RANLIB=$${RANLIB}" \
22870 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22871 installcheck) \
22872 || exit 1
22874 @endif target-libstdc++-v3
22876 .PHONY: maybe-mostlyclean-target-libstdc++-v3 mostlyclean-target-libstdc++-v3
22877 maybe-mostlyclean-target-libstdc++-v3:
22878 @if target-libstdc++-v3
22879 maybe-mostlyclean-target-libstdc++-v3: mostlyclean-target-libstdc++-v3
22881 mostlyclean-target-libstdc++-v3:
22882 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
22883 r=`${PWD_COMMAND}`; export r; \
22884 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22885 $(SET_LIB_PATH) \
22886 $(RAW_CXX_TARGET_EXPORTS) \
22887 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
22888 for flag in $(EXTRA_TARGET_FLAGS); do \
22889 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22890 done; \
22891 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
22892 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22893 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22894 "RANLIB=$${RANLIB}" \
22895 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22896 mostlyclean) \
22897 || exit 1
22899 @endif target-libstdc++-v3
22901 .PHONY: maybe-clean-target-libstdc++-v3 clean-target-libstdc++-v3
22902 maybe-clean-target-libstdc++-v3:
22903 @if target-libstdc++-v3
22904 maybe-clean-target-libstdc++-v3: clean-target-libstdc++-v3
22906 clean-target-libstdc++-v3:
22907 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
22908 r=`${PWD_COMMAND}`; export r; \
22909 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22910 $(SET_LIB_PATH) \
22911 $(RAW_CXX_TARGET_EXPORTS) \
22912 echo "Doing clean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
22913 for flag in $(EXTRA_TARGET_FLAGS); do \
22914 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22915 done; \
22916 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
22917 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22918 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22919 "RANLIB=$${RANLIB}" \
22920 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22921 clean) \
22922 || exit 1
22924 @endif target-libstdc++-v3
22926 .PHONY: maybe-distclean-target-libstdc++-v3 distclean-target-libstdc++-v3
22927 maybe-distclean-target-libstdc++-v3:
22928 @if target-libstdc++-v3
22929 maybe-distclean-target-libstdc++-v3: distclean-target-libstdc++-v3
22931 distclean-target-libstdc++-v3:
22932 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
22933 r=`${PWD_COMMAND}`; export r; \
22934 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22935 $(SET_LIB_PATH) \
22936 $(RAW_CXX_TARGET_EXPORTS) \
22937 echo "Doing distclean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
22938 for flag in $(EXTRA_TARGET_FLAGS); do \
22939 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22940 done; \
22941 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
22942 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22943 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22944 "RANLIB=$${RANLIB}" \
22945 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22946 distclean) \
22947 || exit 1
22949 @endif target-libstdc++-v3
22951 .PHONY: maybe-maintainer-clean-target-libstdc++-v3 maintainer-clean-target-libstdc++-v3
22952 maybe-maintainer-clean-target-libstdc++-v3:
22953 @if target-libstdc++-v3
22954 maybe-maintainer-clean-target-libstdc++-v3: maintainer-clean-target-libstdc++-v3
22956 maintainer-clean-target-libstdc++-v3:
22957 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
22958 r=`${PWD_COMMAND}`; export r; \
22959 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22960 $(SET_LIB_PATH) \
22961 $(RAW_CXX_TARGET_EXPORTS) \
22962 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
22963 for flag in $(EXTRA_TARGET_FLAGS); do \
22964 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22965 done; \
22966 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
22967 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22968 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22969 "RANLIB=$${RANLIB}" \
22970 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22971 maintainer-clean) \
22972 || exit 1
22974 @endif target-libstdc++-v3
22977 .PHONY: configure-target-libmudflap maybe-configure-target-libmudflap
22978 maybe-configure-target-libmudflap:
22979 @if target-libmudflap
22980 maybe-configure-target-libmudflap: configure-target-libmudflap
22982 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
22983 $(TARGET_SUBDIR)/libmudflap/multilib.out: multilib.out
22984 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libmudflap ; \
22985 rm -f $(TARGET_SUBDIR)/libmudflap/Makefile || : ; \
22986 cp multilib.out $(TARGET_SUBDIR)/libmudflap/multilib.out
22988 configure-target-libmudflap: $(TARGET_SUBDIR)/libmudflap/multilib.out
22989 @test ! -f $(TARGET_SUBDIR)/libmudflap/Makefile || exit 0; \
22990 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libmudflap ; \
22991 r=`${PWD_COMMAND}`; export r; \
22992 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22993 $(SET_LIB_PATH) \
22994 $(NORMAL_TARGET_EXPORTS) \
22995 echo Configuring in $(TARGET_SUBDIR)/libmudflap; \
22996 cd "$(TARGET_SUBDIR)/libmudflap" || exit 1; \
22997 case $(srcdir) in \
22998 /* | [A-Za-z]:[\\/]*) \
22999 topdir=$(srcdir) ;; \
23000 *) \
23001 case "$(TARGET_SUBDIR)" in \
23002 .) topdir="../$(srcdir)" ;; \
23003 *) topdir="../../$(srcdir)" ;; \
23004 esac ;; \
23005 esac; \
23006 srcdiroption="--srcdir=$${topdir}/libmudflap"; \
23007 libsrcdir="$$s/libmudflap"; \
23008 rm -f no-such-file || : ; \
23009 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
23010 $(TARGET_CONFIGARGS) $${srcdiroption} \
23011 --with-target-subdir="$(TARGET_SUBDIR)" \
23012 || exit 1
23013 @endif target-libmudflap
23015 .PHONY: all-target-libmudflap maybe-all-target-libmudflap
23016 maybe-all-target-libmudflap:
23017 @if target-libmudflap
23018 maybe-all-target-libmudflap: all-target-libmudflap
23019 all-target-libmudflap: configure-target-libmudflap
23020 @r=`${PWD_COMMAND}`; export r; \
23021 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23022 $(SET_LIB_PATH) \
23023 $(NORMAL_TARGET_EXPORTS) \
23024 (cd $(TARGET_SUBDIR)/libmudflap && \
23025 $(MAKE) $(TARGET_FLAGS_TO_PASS) all)
23026 @endif target-libmudflap
23028 .PHONY: check-target-libmudflap maybe-check-target-libmudflap
23029 maybe-check-target-libmudflap:
23030 @if target-libmudflap
23031 maybe-check-target-libmudflap: check-target-libmudflap
23033 check-target-libmudflap:
23034 @r=`${PWD_COMMAND}`; export r; \
23035 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23036 $(SET_LIB_PATH) \
23037 $(NORMAL_TARGET_EXPORTS) \
23038 (cd $(TARGET_SUBDIR)/libmudflap && \
23039 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
23041 @endif target-libmudflap
23043 .PHONY: install-target-libmudflap maybe-install-target-libmudflap
23044 maybe-install-target-libmudflap:
23045 @if target-libmudflap
23046 maybe-install-target-libmudflap: install-target-libmudflap
23048 install-target-libmudflap: installdirs
23049 @r=`${PWD_COMMAND}`; export r; \
23050 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23051 $(SET_LIB_PATH) \
23052 $(NORMAL_TARGET_EXPORTS) \
23053 (cd $(TARGET_SUBDIR)/libmudflap && \
23054 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
23056 @endif target-libmudflap
23058 # Other targets (info, dvi, etc.)
23060 .PHONY: maybe-info-target-libmudflap info-target-libmudflap
23061 maybe-info-target-libmudflap:
23062 @if target-libmudflap
23063 maybe-info-target-libmudflap: info-target-libmudflap
23065 info-target-libmudflap: \
23066 configure-target-libmudflap
23067 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
23068 r=`${PWD_COMMAND}`; export r; \
23069 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23070 $(SET_LIB_PATH) \
23071 $(NORMAL_TARGET_EXPORTS) \
23072 echo "Doing info in $(TARGET_SUBDIR)/libmudflap" ; \
23073 for flag in $(EXTRA_TARGET_FLAGS); do \
23074 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23075 done; \
23076 (cd $(TARGET_SUBDIR)/libmudflap && \
23077 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23078 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23079 "RANLIB=$${RANLIB}" \
23080 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23081 info) \
23082 || exit 1
23084 @endif target-libmudflap
23086 .PHONY: maybe-dvi-target-libmudflap dvi-target-libmudflap
23087 maybe-dvi-target-libmudflap:
23088 @if target-libmudflap
23089 maybe-dvi-target-libmudflap: dvi-target-libmudflap
23091 dvi-target-libmudflap: \
23092 configure-target-libmudflap
23093 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
23094 r=`${PWD_COMMAND}`; export r; \
23095 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23096 $(SET_LIB_PATH) \
23097 $(NORMAL_TARGET_EXPORTS) \
23098 echo "Doing dvi in $(TARGET_SUBDIR)/libmudflap" ; \
23099 for flag in $(EXTRA_TARGET_FLAGS); do \
23100 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23101 done; \
23102 (cd $(TARGET_SUBDIR)/libmudflap && \
23103 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23104 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23105 "RANLIB=$${RANLIB}" \
23106 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23107 dvi) \
23108 || exit 1
23110 @endif target-libmudflap
23112 .PHONY: maybe-TAGS-target-libmudflap TAGS-target-libmudflap
23113 maybe-TAGS-target-libmudflap:
23114 @if target-libmudflap
23115 maybe-TAGS-target-libmudflap: TAGS-target-libmudflap
23117 TAGS-target-libmudflap: \
23118 configure-target-libmudflap
23119 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
23120 r=`${PWD_COMMAND}`; export r; \
23121 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23122 $(SET_LIB_PATH) \
23123 $(NORMAL_TARGET_EXPORTS) \
23124 echo "Doing TAGS in $(TARGET_SUBDIR)/libmudflap" ; \
23125 for flag in $(EXTRA_TARGET_FLAGS); do \
23126 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23127 done; \
23128 (cd $(TARGET_SUBDIR)/libmudflap && \
23129 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23130 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23131 "RANLIB=$${RANLIB}" \
23132 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23133 TAGS) \
23134 || exit 1
23136 @endif target-libmudflap
23138 .PHONY: maybe-install-info-target-libmudflap install-info-target-libmudflap
23139 maybe-install-info-target-libmudflap:
23140 @if target-libmudflap
23141 maybe-install-info-target-libmudflap: install-info-target-libmudflap
23143 install-info-target-libmudflap: \
23144 configure-target-libmudflap \
23145 info-target-libmudflap
23146 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
23147 r=`${PWD_COMMAND}`; export r; \
23148 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23149 $(SET_LIB_PATH) \
23150 $(NORMAL_TARGET_EXPORTS) \
23151 echo "Doing install-info in $(TARGET_SUBDIR)/libmudflap" ; \
23152 for flag in $(EXTRA_TARGET_FLAGS); do \
23153 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23154 done; \
23155 (cd $(TARGET_SUBDIR)/libmudflap && \
23156 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23157 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23158 "RANLIB=$${RANLIB}" \
23159 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23160 install-info) \
23161 || exit 1
23163 @endif target-libmudflap
23165 .PHONY: maybe-installcheck-target-libmudflap installcheck-target-libmudflap
23166 maybe-installcheck-target-libmudflap:
23167 @if target-libmudflap
23168 maybe-installcheck-target-libmudflap: installcheck-target-libmudflap
23170 installcheck-target-libmudflap: \
23171 configure-target-libmudflap
23172 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
23173 r=`${PWD_COMMAND}`; export r; \
23174 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23175 $(SET_LIB_PATH) \
23176 $(NORMAL_TARGET_EXPORTS) \
23177 echo "Doing installcheck in $(TARGET_SUBDIR)/libmudflap" ; \
23178 for flag in $(EXTRA_TARGET_FLAGS); do \
23179 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23180 done; \
23181 (cd $(TARGET_SUBDIR)/libmudflap && \
23182 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23183 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23184 "RANLIB=$${RANLIB}" \
23185 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23186 installcheck) \
23187 || exit 1
23189 @endif target-libmudflap
23191 .PHONY: maybe-mostlyclean-target-libmudflap mostlyclean-target-libmudflap
23192 maybe-mostlyclean-target-libmudflap:
23193 @if target-libmudflap
23194 maybe-mostlyclean-target-libmudflap: mostlyclean-target-libmudflap
23196 mostlyclean-target-libmudflap:
23197 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
23198 r=`${PWD_COMMAND}`; export r; \
23199 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23200 $(SET_LIB_PATH) \
23201 $(NORMAL_TARGET_EXPORTS) \
23202 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libmudflap" ; \
23203 for flag in $(EXTRA_TARGET_FLAGS); do \
23204 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23205 done; \
23206 (cd $(TARGET_SUBDIR)/libmudflap && \
23207 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23208 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23209 "RANLIB=$${RANLIB}" \
23210 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23211 mostlyclean) \
23212 || exit 1
23214 @endif target-libmudflap
23216 .PHONY: maybe-clean-target-libmudflap clean-target-libmudflap
23217 maybe-clean-target-libmudflap:
23218 @if target-libmudflap
23219 maybe-clean-target-libmudflap: clean-target-libmudflap
23221 clean-target-libmudflap:
23222 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
23223 r=`${PWD_COMMAND}`; export r; \
23224 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23225 $(SET_LIB_PATH) \
23226 $(NORMAL_TARGET_EXPORTS) \
23227 echo "Doing clean in $(TARGET_SUBDIR)/libmudflap" ; \
23228 for flag in $(EXTRA_TARGET_FLAGS); do \
23229 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23230 done; \
23231 (cd $(TARGET_SUBDIR)/libmudflap && \
23232 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23233 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23234 "RANLIB=$${RANLIB}" \
23235 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23236 clean) \
23237 || exit 1
23239 @endif target-libmudflap
23241 .PHONY: maybe-distclean-target-libmudflap distclean-target-libmudflap
23242 maybe-distclean-target-libmudflap:
23243 @if target-libmudflap
23244 maybe-distclean-target-libmudflap: distclean-target-libmudflap
23246 distclean-target-libmudflap:
23247 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
23248 r=`${PWD_COMMAND}`; export r; \
23249 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23250 $(SET_LIB_PATH) \
23251 $(NORMAL_TARGET_EXPORTS) \
23252 echo "Doing distclean in $(TARGET_SUBDIR)/libmudflap" ; \
23253 for flag in $(EXTRA_TARGET_FLAGS); do \
23254 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23255 done; \
23256 (cd $(TARGET_SUBDIR)/libmudflap && \
23257 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23258 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23259 "RANLIB=$${RANLIB}" \
23260 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23261 distclean) \
23262 || exit 1
23264 @endif target-libmudflap
23266 .PHONY: maybe-maintainer-clean-target-libmudflap maintainer-clean-target-libmudflap
23267 maybe-maintainer-clean-target-libmudflap:
23268 @if target-libmudflap
23269 maybe-maintainer-clean-target-libmudflap: maintainer-clean-target-libmudflap
23271 maintainer-clean-target-libmudflap:
23272 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
23273 r=`${PWD_COMMAND}`; export r; \
23274 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23275 $(SET_LIB_PATH) \
23276 $(NORMAL_TARGET_EXPORTS) \
23277 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libmudflap" ; \
23278 for flag in $(EXTRA_TARGET_FLAGS); do \
23279 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23280 done; \
23281 (cd $(TARGET_SUBDIR)/libmudflap && \
23282 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23283 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23284 "RANLIB=$${RANLIB}" \
23285 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23286 maintainer-clean) \
23287 || exit 1
23289 @endif target-libmudflap
23292 .PHONY: configure-target-newlib maybe-configure-target-newlib
23293 maybe-configure-target-newlib:
23294 @if target-newlib
23295 maybe-configure-target-newlib: configure-target-newlib
23297 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
23298 $(TARGET_SUBDIR)/newlib/multilib.out: multilib.out
23299 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/newlib ; \
23300 rm -f $(TARGET_SUBDIR)/newlib/Makefile || : ; \
23301 cp multilib.out $(TARGET_SUBDIR)/newlib/multilib.out
23303 configure-target-newlib: $(TARGET_SUBDIR)/newlib/multilib.out
23304 @test ! -f $(TARGET_SUBDIR)/newlib/Makefile || exit 0; \
23305 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/newlib ; \
23306 r=`${PWD_COMMAND}`; export r; \
23307 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23308 $(SET_LIB_PATH) \
23309 $(NORMAL_TARGET_EXPORTS) \
23310 echo Configuring in $(TARGET_SUBDIR)/newlib; \
23311 cd "$(TARGET_SUBDIR)/newlib" || exit 1; \
23312 case $(srcdir) in \
23313 /* | [A-Za-z]:[\\/]*) \
23314 topdir=$(srcdir) ;; \
23315 *) \
23316 case "$(TARGET_SUBDIR)" in \
23317 .) topdir="../$(srcdir)" ;; \
23318 *) topdir="../../$(srcdir)" ;; \
23319 esac ;; \
23320 esac; \
23321 srcdiroption="--srcdir=$${topdir}/newlib"; \
23322 libsrcdir="$$s/newlib"; \
23323 rm -f no-such-file || : ; \
23324 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
23325 $(TARGET_CONFIGARGS) $${srcdiroption} \
23326 --with-target-subdir="$(TARGET_SUBDIR)" \
23327 || exit 1
23328 @endif target-newlib
23330 .PHONY: all-target-newlib maybe-all-target-newlib
23331 maybe-all-target-newlib:
23332 @if target-newlib
23333 maybe-all-target-newlib: all-target-newlib
23334 all-target-newlib: configure-target-newlib
23335 @r=`${PWD_COMMAND}`; export r; \
23336 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23337 $(SET_LIB_PATH) \
23338 $(NORMAL_TARGET_EXPORTS) \
23339 (cd $(TARGET_SUBDIR)/newlib && \
23340 $(MAKE) $(TARGET_FLAGS_TO_PASS) all)
23341 @endif target-newlib
23343 .PHONY: check-target-newlib maybe-check-target-newlib
23344 maybe-check-target-newlib:
23345 @if target-newlib
23346 maybe-check-target-newlib: check-target-newlib
23348 check-target-newlib:
23349 @r=`${PWD_COMMAND}`; export r; \
23350 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23351 $(SET_LIB_PATH) \
23352 $(NORMAL_TARGET_EXPORTS) \
23353 (cd $(TARGET_SUBDIR)/newlib && \
23354 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
23356 @endif target-newlib
23358 .PHONY: install-target-newlib maybe-install-target-newlib
23359 maybe-install-target-newlib:
23360 @if target-newlib
23361 maybe-install-target-newlib: install-target-newlib
23363 install-target-newlib: installdirs
23364 @r=`${PWD_COMMAND}`; export r; \
23365 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23366 $(SET_LIB_PATH) \
23367 $(NORMAL_TARGET_EXPORTS) \
23368 (cd $(TARGET_SUBDIR)/newlib && \
23369 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
23371 @endif target-newlib
23373 # Other targets (info, dvi, etc.)
23375 .PHONY: maybe-info-target-newlib info-target-newlib
23376 maybe-info-target-newlib:
23377 @if target-newlib
23378 maybe-info-target-newlib: info-target-newlib
23380 info-target-newlib: \
23381 configure-target-newlib
23382 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
23383 r=`${PWD_COMMAND}`; export r; \
23384 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23385 $(SET_LIB_PATH) \
23386 $(NORMAL_TARGET_EXPORTS) \
23387 echo "Doing info in $(TARGET_SUBDIR)/newlib" ; \
23388 for flag in $(EXTRA_TARGET_FLAGS); do \
23389 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23390 done; \
23391 (cd $(TARGET_SUBDIR)/newlib && \
23392 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23393 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23394 "RANLIB=$${RANLIB}" \
23395 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23396 info) \
23397 || exit 1
23399 @endif target-newlib
23401 .PHONY: maybe-dvi-target-newlib dvi-target-newlib
23402 maybe-dvi-target-newlib:
23403 @if target-newlib
23404 maybe-dvi-target-newlib: dvi-target-newlib
23406 dvi-target-newlib: \
23407 configure-target-newlib
23408 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
23409 r=`${PWD_COMMAND}`; export r; \
23410 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23411 $(SET_LIB_PATH) \
23412 $(NORMAL_TARGET_EXPORTS) \
23413 echo "Doing dvi in $(TARGET_SUBDIR)/newlib" ; \
23414 for flag in $(EXTRA_TARGET_FLAGS); do \
23415 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23416 done; \
23417 (cd $(TARGET_SUBDIR)/newlib && \
23418 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23419 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23420 "RANLIB=$${RANLIB}" \
23421 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23422 dvi) \
23423 || exit 1
23425 @endif target-newlib
23427 .PHONY: maybe-TAGS-target-newlib TAGS-target-newlib
23428 maybe-TAGS-target-newlib:
23429 @if target-newlib
23430 maybe-TAGS-target-newlib: TAGS-target-newlib
23432 TAGS-target-newlib: \
23433 configure-target-newlib
23434 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
23435 r=`${PWD_COMMAND}`; export r; \
23436 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23437 $(SET_LIB_PATH) \
23438 $(NORMAL_TARGET_EXPORTS) \
23439 echo "Doing TAGS in $(TARGET_SUBDIR)/newlib" ; \
23440 for flag in $(EXTRA_TARGET_FLAGS); do \
23441 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23442 done; \
23443 (cd $(TARGET_SUBDIR)/newlib && \
23444 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23445 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23446 "RANLIB=$${RANLIB}" \
23447 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23448 TAGS) \
23449 || exit 1
23451 @endif target-newlib
23453 .PHONY: maybe-install-info-target-newlib install-info-target-newlib
23454 maybe-install-info-target-newlib:
23455 @if target-newlib
23456 maybe-install-info-target-newlib: install-info-target-newlib
23458 install-info-target-newlib: \
23459 configure-target-newlib \
23460 info-target-newlib
23461 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
23462 r=`${PWD_COMMAND}`; export r; \
23463 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23464 $(SET_LIB_PATH) \
23465 $(NORMAL_TARGET_EXPORTS) \
23466 echo "Doing install-info in $(TARGET_SUBDIR)/newlib" ; \
23467 for flag in $(EXTRA_TARGET_FLAGS); do \
23468 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23469 done; \
23470 (cd $(TARGET_SUBDIR)/newlib && \
23471 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23472 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23473 "RANLIB=$${RANLIB}" \
23474 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23475 install-info) \
23476 || exit 1
23478 @endif target-newlib
23480 .PHONY: maybe-installcheck-target-newlib installcheck-target-newlib
23481 maybe-installcheck-target-newlib:
23482 @if target-newlib
23483 maybe-installcheck-target-newlib: installcheck-target-newlib
23485 installcheck-target-newlib: \
23486 configure-target-newlib
23487 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
23488 r=`${PWD_COMMAND}`; export r; \
23489 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23490 $(SET_LIB_PATH) \
23491 $(NORMAL_TARGET_EXPORTS) \
23492 echo "Doing installcheck in $(TARGET_SUBDIR)/newlib" ; \
23493 for flag in $(EXTRA_TARGET_FLAGS); do \
23494 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23495 done; \
23496 (cd $(TARGET_SUBDIR)/newlib && \
23497 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23498 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23499 "RANLIB=$${RANLIB}" \
23500 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23501 installcheck) \
23502 || exit 1
23504 @endif target-newlib
23506 .PHONY: maybe-mostlyclean-target-newlib mostlyclean-target-newlib
23507 maybe-mostlyclean-target-newlib:
23508 @if target-newlib
23509 maybe-mostlyclean-target-newlib: mostlyclean-target-newlib
23511 mostlyclean-target-newlib:
23512 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
23513 r=`${PWD_COMMAND}`; export r; \
23514 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23515 $(SET_LIB_PATH) \
23516 $(NORMAL_TARGET_EXPORTS) \
23517 echo "Doing mostlyclean in $(TARGET_SUBDIR)/newlib" ; \
23518 for flag in $(EXTRA_TARGET_FLAGS); do \
23519 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23520 done; \
23521 (cd $(TARGET_SUBDIR)/newlib && \
23522 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23523 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23524 "RANLIB=$${RANLIB}" \
23525 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23526 mostlyclean) \
23527 || exit 1
23529 @endif target-newlib
23531 .PHONY: maybe-clean-target-newlib clean-target-newlib
23532 maybe-clean-target-newlib:
23533 @if target-newlib
23534 maybe-clean-target-newlib: clean-target-newlib
23536 clean-target-newlib:
23537 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
23538 r=`${PWD_COMMAND}`; export r; \
23539 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23540 $(SET_LIB_PATH) \
23541 $(NORMAL_TARGET_EXPORTS) \
23542 echo "Doing clean in $(TARGET_SUBDIR)/newlib" ; \
23543 for flag in $(EXTRA_TARGET_FLAGS); do \
23544 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23545 done; \
23546 (cd $(TARGET_SUBDIR)/newlib && \
23547 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23548 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23549 "RANLIB=$${RANLIB}" \
23550 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23551 clean) \
23552 || exit 1
23554 @endif target-newlib
23556 .PHONY: maybe-distclean-target-newlib distclean-target-newlib
23557 maybe-distclean-target-newlib:
23558 @if target-newlib
23559 maybe-distclean-target-newlib: distclean-target-newlib
23561 distclean-target-newlib:
23562 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
23563 r=`${PWD_COMMAND}`; export r; \
23564 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23565 $(SET_LIB_PATH) \
23566 $(NORMAL_TARGET_EXPORTS) \
23567 echo "Doing distclean in $(TARGET_SUBDIR)/newlib" ; \
23568 for flag in $(EXTRA_TARGET_FLAGS); do \
23569 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23570 done; \
23571 (cd $(TARGET_SUBDIR)/newlib && \
23572 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23573 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23574 "RANLIB=$${RANLIB}" \
23575 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23576 distclean) \
23577 || exit 1
23579 @endif target-newlib
23581 .PHONY: maybe-maintainer-clean-target-newlib maintainer-clean-target-newlib
23582 maybe-maintainer-clean-target-newlib:
23583 @if target-newlib
23584 maybe-maintainer-clean-target-newlib: maintainer-clean-target-newlib
23586 maintainer-clean-target-newlib:
23587 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
23588 r=`${PWD_COMMAND}`; export r; \
23589 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23590 $(SET_LIB_PATH) \
23591 $(NORMAL_TARGET_EXPORTS) \
23592 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/newlib" ; \
23593 for flag in $(EXTRA_TARGET_FLAGS); do \
23594 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23595 done; \
23596 (cd $(TARGET_SUBDIR)/newlib && \
23597 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23598 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23599 "RANLIB=$${RANLIB}" \
23600 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23601 maintainer-clean) \
23602 || exit 1
23604 @endif target-newlib
23607 .PHONY: configure-target-libgfortran maybe-configure-target-libgfortran
23608 maybe-configure-target-libgfortran:
23609 @if target-libgfortran
23610 maybe-configure-target-libgfortran: configure-target-libgfortran
23612 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
23613 $(TARGET_SUBDIR)/libgfortran/multilib.out: multilib.out
23614 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgfortran ; \
23615 rm -f $(TARGET_SUBDIR)/libgfortran/Makefile || : ; \
23616 cp multilib.out $(TARGET_SUBDIR)/libgfortran/multilib.out
23618 configure-target-libgfortran: $(TARGET_SUBDIR)/libgfortran/multilib.out
23619 @test ! -f $(TARGET_SUBDIR)/libgfortran/Makefile || exit 0; \
23620 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgfortran ; \
23621 r=`${PWD_COMMAND}`; export r; \
23622 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23623 $(SET_LIB_PATH) \
23624 $(NORMAL_TARGET_EXPORTS) \
23625 echo Configuring in $(TARGET_SUBDIR)/libgfortran; \
23626 cd "$(TARGET_SUBDIR)/libgfortran" || exit 1; \
23627 case $(srcdir) in \
23628 /* | [A-Za-z]:[\\/]*) \
23629 topdir=$(srcdir) ;; \
23630 *) \
23631 case "$(TARGET_SUBDIR)" in \
23632 .) topdir="../$(srcdir)" ;; \
23633 *) topdir="../../$(srcdir)" ;; \
23634 esac ;; \
23635 esac; \
23636 srcdiroption="--srcdir=$${topdir}/libgfortran"; \
23637 libsrcdir="$$s/libgfortran"; \
23638 rm -f no-such-file || : ; \
23639 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
23640 $(TARGET_CONFIGARGS) $${srcdiroption} \
23641 --with-target-subdir="$(TARGET_SUBDIR)" \
23642 || exit 1
23643 @endif target-libgfortran
23645 .PHONY: all-target-libgfortran maybe-all-target-libgfortran
23646 maybe-all-target-libgfortran:
23647 @if target-libgfortran
23648 maybe-all-target-libgfortran: all-target-libgfortran
23649 all-target-libgfortran: configure-target-libgfortran
23650 @r=`${PWD_COMMAND}`; export r; \
23651 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23652 $(SET_LIB_PATH) \
23653 $(NORMAL_TARGET_EXPORTS) \
23654 (cd $(TARGET_SUBDIR)/libgfortran && \
23655 $(MAKE) $(TARGET_FLAGS_TO_PASS) all)
23656 @endif target-libgfortran
23658 .PHONY: check-target-libgfortran maybe-check-target-libgfortran
23659 maybe-check-target-libgfortran:
23660 @if target-libgfortran
23661 maybe-check-target-libgfortran: check-target-libgfortran
23663 check-target-libgfortran:
23664 @r=`${PWD_COMMAND}`; export r; \
23665 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23666 $(SET_LIB_PATH) \
23667 $(NORMAL_TARGET_EXPORTS) \
23668 (cd $(TARGET_SUBDIR)/libgfortran && \
23669 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
23671 @endif target-libgfortran
23673 .PHONY: install-target-libgfortran maybe-install-target-libgfortran
23674 maybe-install-target-libgfortran:
23675 @if target-libgfortran
23676 maybe-install-target-libgfortran: install-target-libgfortran
23678 install-target-libgfortran: installdirs
23679 @r=`${PWD_COMMAND}`; export r; \
23680 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23681 $(SET_LIB_PATH) \
23682 $(NORMAL_TARGET_EXPORTS) \
23683 (cd $(TARGET_SUBDIR)/libgfortran && \
23684 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
23686 @endif target-libgfortran
23688 # Other targets (info, dvi, etc.)
23690 .PHONY: maybe-info-target-libgfortran info-target-libgfortran
23691 maybe-info-target-libgfortran:
23692 @if target-libgfortran
23693 maybe-info-target-libgfortran: info-target-libgfortran
23695 info-target-libgfortran: \
23696 configure-target-libgfortran
23697 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
23698 r=`${PWD_COMMAND}`; export r; \
23699 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23700 $(SET_LIB_PATH) \
23701 $(NORMAL_TARGET_EXPORTS) \
23702 echo "Doing info in $(TARGET_SUBDIR)/libgfortran" ; \
23703 for flag in $(EXTRA_TARGET_FLAGS); do \
23704 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23705 done; \
23706 (cd $(TARGET_SUBDIR)/libgfortran && \
23707 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23708 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23709 "RANLIB=$${RANLIB}" \
23710 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23711 info) \
23712 || exit 1
23714 @endif target-libgfortran
23716 .PHONY: maybe-dvi-target-libgfortran dvi-target-libgfortran
23717 maybe-dvi-target-libgfortran:
23718 @if target-libgfortran
23719 maybe-dvi-target-libgfortran: dvi-target-libgfortran
23721 dvi-target-libgfortran: \
23722 configure-target-libgfortran
23723 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
23724 r=`${PWD_COMMAND}`; export r; \
23725 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23726 $(SET_LIB_PATH) \
23727 $(NORMAL_TARGET_EXPORTS) \
23728 echo "Doing dvi in $(TARGET_SUBDIR)/libgfortran" ; \
23729 for flag in $(EXTRA_TARGET_FLAGS); do \
23730 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23731 done; \
23732 (cd $(TARGET_SUBDIR)/libgfortran && \
23733 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23734 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23735 "RANLIB=$${RANLIB}" \
23736 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23737 dvi) \
23738 || exit 1
23740 @endif target-libgfortran
23742 .PHONY: maybe-TAGS-target-libgfortran TAGS-target-libgfortran
23743 maybe-TAGS-target-libgfortran:
23744 @if target-libgfortran
23745 maybe-TAGS-target-libgfortran: TAGS-target-libgfortran
23747 TAGS-target-libgfortran: \
23748 configure-target-libgfortran
23749 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
23750 r=`${PWD_COMMAND}`; export r; \
23751 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23752 $(SET_LIB_PATH) \
23753 $(NORMAL_TARGET_EXPORTS) \
23754 echo "Doing TAGS in $(TARGET_SUBDIR)/libgfortran" ; \
23755 for flag in $(EXTRA_TARGET_FLAGS); do \
23756 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23757 done; \
23758 (cd $(TARGET_SUBDIR)/libgfortran && \
23759 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23760 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23761 "RANLIB=$${RANLIB}" \
23762 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23763 TAGS) \
23764 || exit 1
23766 @endif target-libgfortran
23768 .PHONY: maybe-install-info-target-libgfortran install-info-target-libgfortran
23769 maybe-install-info-target-libgfortran:
23770 @if target-libgfortran
23771 maybe-install-info-target-libgfortran: install-info-target-libgfortran
23773 install-info-target-libgfortran: \
23774 configure-target-libgfortran \
23775 info-target-libgfortran
23776 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
23777 r=`${PWD_COMMAND}`; export r; \
23778 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23779 $(SET_LIB_PATH) \
23780 $(NORMAL_TARGET_EXPORTS) \
23781 echo "Doing install-info in $(TARGET_SUBDIR)/libgfortran" ; \
23782 for flag in $(EXTRA_TARGET_FLAGS); do \
23783 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23784 done; \
23785 (cd $(TARGET_SUBDIR)/libgfortran && \
23786 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23787 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23788 "RANLIB=$${RANLIB}" \
23789 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23790 install-info) \
23791 || exit 1
23793 @endif target-libgfortran
23795 .PHONY: maybe-installcheck-target-libgfortran installcheck-target-libgfortran
23796 maybe-installcheck-target-libgfortran:
23797 @if target-libgfortran
23798 maybe-installcheck-target-libgfortran: installcheck-target-libgfortran
23800 installcheck-target-libgfortran: \
23801 configure-target-libgfortran
23802 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
23803 r=`${PWD_COMMAND}`; export r; \
23804 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23805 $(SET_LIB_PATH) \
23806 $(NORMAL_TARGET_EXPORTS) \
23807 echo "Doing installcheck in $(TARGET_SUBDIR)/libgfortran" ; \
23808 for flag in $(EXTRA_TARGET_FLAGS); do \
23809 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23810 done; \
23811 (cd $(TARGET_SUBDIR)/libgfortran && \
23812 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23813 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23814 "RANLIB=$${RANLIB}" \
23815 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23816 installcheck) \
23817 || exit 1
23819 @endif target-libgfortran
23821 .PHONY: maybe-mostlyclean-target-libgfortran mostlyclean-target-libgfortran
23822 maybe-mostlyclean-target-libgfortran:
23823 @if target-libgfortran
23824 maybe-mostlyclean-target-libgfortran: mostlyclean-target-libgfortran
23826 mostlyclean-target-libgfortran:
23827 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
23828 r=`${PWD_COMMAND}`; export r; \
23829 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23830 $(SET_LIB_PATH) \
23831 $(NORMAL_TARGET_EXPORTS) \
23832 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgfortran" ; \
23833 for flag in $(EXTRA_TARGET_FLAGS); do \
23834 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23835 done; \
23836 (cd $(TARGET_SUBDIR)/libgfortran && \
23837 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23838 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23839 "RANLIB=$${RANLIB}" \
23840 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23841 mostlyclean) \
23842 || exit 1
23844 @endif target-libgfortran
23846 .PHONY: maybe-clean-target-libgfortran clean-target-libgfortran
23847 maybe-clean-target-libgfortran:
23848 @if target-libgfortran
23849 maybe-clean-target-libgfortran: clean-target-libgfortran
23851 clean-target-libgfortran:
23852 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
23853 r=`${PWD_COMMAND}`; export r; \
23854 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23855 $(SET_LIB_PATH) \
23856 $(NORMAL_TARGET_EXPORTS) \
23857 echo "Doing clean in $(TARGET_SUBDIR)/libgfortran" ; \
23858 for flag in $(EXTRA_TARGET_FLAGS); do \
23859 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23860 done; \
23861 (cd $(TARGET_SUBDIR)/libgfortran && \
23862 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23863 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23864 "RANLIB=$${RANLIB}" \
23865 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23866 clean) \
23867 || exit 1
23869 @endif target-libgfortran
23871 .PHONY: maybe-distclean-target-libgfortran distclean-target-libgfortran
23872 maybe-distclean-target-libgfortran:
23873 @if target-libgfortran
23874 maybe-distclean-target-libgfortran: distclean-target-libgfortran
23876 distclean-target-libgfortran:
23877 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
23878 r=`${PWD_COMMAND}`; export r; \
23879 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23880 $(SET_LIB_PATH) \
23881 $(NORMAL_TARGET_EXPORTS) \
23882 echo "Doing distclean in $(TARGET_SUBDIR)/libgfortran" ; \
23883 for flag in $(EXTRA_TARGET_FLAGS); do \
23884 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23885 done; \
23886 (cd $(TARGET_SUBDIR)/libgfortran && \
23887 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23888 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23889 "RANLIB=$${RANLIB}" \
23890 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23891 distclean) \
23892 || exit 1
23894 @endif target-libgfortran
23896 .PHONY: maybe-maintainer-clean-target-libgfortran maintainer-clean-target-libgfortran
23897 maybe-maintainer-clean-target-libgfortran:
23898 @if target-libgfortran
23899 maybe-maintainer-clean-target-libgfortran: maintainer-clean-target-libgfortran
23901 maintainer-clean-target-libgfortran:
23902 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
23903 r=`${PWD_COMMAND}`; export r; \
23904 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23905 $(SET_LIB_PATH) \
23906 $(NORMAL_TARGET_EXPORTS) \
23907 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgfortran" ; \
23908 for flag in $(EXTRA_TARGET_FLAGS); do \
23909 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23910 done; \
23911 (cd $(TARGET_SUBDIR)/libgfortran && \
23912 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23913 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23914 "RANLIB=$${RANLIB}" \
23915 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23916 maintainer-clean) \
23917 || exit 1
23919 @endif target-libgfortran
23922 .PHONY: configure-target-libobjc maybe-configure-target-libobjc
23923 maybe-configure-target-libobjc:
23924 @if target-libobjc
23925 maybe-configure-target-libobjc: configure-target-libobjc
23927 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
23928 $(TARGET_SUBDIR)/libobjc/multilib.out: multilib.out
23929 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libobjc ; \
23930 rm -f $(TARGET_SUBDIR)/libobjc/Makefile || : ; \
23931 cp multilib.out $(TARGET_SUBDIR)/libobjc/multilib.out
23933 configure-target-libobjc: $(TARGET_SUBDIR)/libobjc/multilib.out
23934 @test ! -f $(TARGET_SUBDIR)/libobjc/Makefile || exit 0; \
23935 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libobjc ; \
23936 r=`${PWD_COMMAND}`; export r; \
23937 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23938 $(SET_LIB_PATH) \
23939 $(NORMAL_TARGET_EXPORTS) \
23940 echo Configuring in $(TARGET_SUBDIR)/libobjc; \
23941 cd "$(TARGET_SUBDIR)/libobjc" || exit 1; \
23942 case $(srcdir) in \
23943 /* | [A-Za-z]:[\\/]*) \
23944 topdir=$(srcdir) ;; \
23945 *) \
23946 case "$(TARGET_SUBDIR)" in \
23947 .) topdir="../$(srcdir)" ;; \
23948 *) topdir="../../$(srcdir)" ;; \
23949 esac ;; \
23950 esac; \
23951 srcdiroption="--srcdir=$${topdir}/libobjc"; \
23952 libsrcdir="$$s/libobjc"; \
23953 rm -f no-such-file || : ; \
23954 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
23955 $(TARGET_CONFIGARGS) $${srcdiroption} \
23956 --with-target-subdir="$(TARGET_SUBDIR)" \
23957 || exit 1
23958 @endif target-libobjc
23960 .PHONY: all-target-libobjc maybe-all-target-libobjc
23961 maybe-all-target-libobjc:
23962 @if target-libobjc
23963 maybe-all-target-libobjc: all-target-libobjc
23964 all-target-libobjc: configure-target-libobjc
23965 @r=`${PWD_COMMAND}`; export r; \
23966 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23967 $(SET_LIB_PATH) \
23968 $(NORMAL_TARGET_EXPORTS) \
23969 (cd $(TARGET_SUBDIR)/libobjc && \
23970 $(MAKE) $(TARGET_FLAGS_TO_PASS) all)
23971 @endif target-libobjc
23973 .PHONY: check-target-libobjc maybe-check-target-libobjc
23974 maybe-check-target-libobjc:
23975 @if target-libobjc
23976 maybe-check-target-libobjc: check-target-libobjc
23978 check-target-libobjc:
23979 @r=`${PWD_COMMAND}`; export r; \
23980 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23981 $(SET_LIB_PATH) \
23982 $(NORMAL_TARGET_EXPORTS) \
23983 (cd $(TARGET_SUBDIR)/libobjc && \
23984 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
23986 @endif target-libobjc
23988 .PHONY: install-target-libobjc maybe-install-target-libobjc
23989 maybe-install-target-libobjc:
23990 @if target-libobjc
23991 maybe-install-target-libobjc: install-target-libobjc
23993 install-target-libobjc: installdirs
23994 @r=`${PWD_COMMAND}`; export r; \
23995 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23996 $(SET_LIB_PATH) \
23997 $(NORMAL_TARGET_EXPORTS) \
23998 (cd $(TARGET_SUBDIR)/libobjc && \
23999 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
24001 @endif target-libobjc
24003 # Other targets (info, dvi, etc.)
24005 .PHONY: maybe-info-target-libobjc info-target-libobjc
24006 maybe-info-target-libobjc:
24007 @if target-libobjc
24008 maybe-info-target-libobjc: info-target-libobjc
24010 info-target-libobjc: \
24011 configure-target-libobjc
24012 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
24013 r=`${PWD_COMMAND}`; export r; \
24014 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24015 $(SET_LIB_PATH) \
24016 $(NORMAL_TARGET_EXPORTS) \
24017 echo "Doing info in $(TARGET_SUBDIR)/libobjc" ; \
24018 for flag in $(EXTRA_TARGET_FLAGS); do \
24019 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24020 done; \
24021 (cd $(TARGET_SUBDIR)/libobjc && \
24022 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24023 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24024 "RANLIB=$${RANLIB}" \
24025 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24026 info) \
24027 || exit 1
24029 @endif target-libobjc
24031 .PHONY: maybe-dvi-target-libobjc dvi-target-libobjc
24032 maybe-dvi-target-libobjc:
24033 @if target-libobjc
24034 maybe-dvi-target-libobjc: dvi-target-libobjc
24036 dvi-target-libobjc: \
24037 configure-target-libobjc
24038 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
24039 r=`${PWD_COMMAND}`; export r; \
24040 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24041 $(SET_LIB_PATH) \
24042 $(NORMAL_TARGET_EXPORTS) \
24043 echo "Doing dvi in $(TARGET_SUBDIR)/libobjc" ; \
24044 for flag in $(EXTRA_TARGET_FLAGS); do \
24045 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24046 done; \
24047 (cd $(TARGET_SUBDIR)/libobjc && \
24048 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24049 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24050 "RANLIB=$${RANLIB}" \
24051 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24052 dvi) \
24053 || exit 1
24055 @endif target-libobjc
24057 .PHONY: maybe-TAGS-target-libobjc TAGS-target-libobjc
24058 maybe-TAGS-target-libobjc:
24059 @if target-libobjc
24060 maybe-TAGS-target-libobjc: TAGS-target-libobjc
24062 TAGS-target-libobjc: \
24063 configure-target-libobjc
24064 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
24065 r=`${PWD_COMMAND}`; export r; \
24066 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24067 $(SET_LIB_PATH) \
24068 $(NORMAL_TARGET_EXPORTS) \
24069 echo "Doing TAGS in $(TARGET_SUBDIR)/libobjc" ; \
24070 for flag in $(EXTRA_TARGET_FLAGS); do \
24071 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24072 done; \
24073 (cd $(TARGET_SUBDIR)/libobjc && \
24074 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24075 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24076 "RANLIB=$${RANLIB}" \
24077 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24078 TAGS) \
24079 || exit 1
24081 @endif target-libobjc
24083 .PHONY: maybe-install-info-target-libobjc install-info-target-libobjc
24084 maybe-install-info-target-libobjc:
24085 @if target-libobjc
24086 maybe-install-info-target-libobjc: install-info-target-libobjc
24088 install-info-target-libobjc: \
24089 configure-target-libobjc \
24090 info-target-libobjc
24091 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
24092 r=`${PWD_COMMAND}`; export r; \
24093 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24094 $(SET_LIB_PATH) \
24095 $(NORMAL_TARGET_EXPORTS) \
24096 echo "Doing install-info in $(TARGET_SUBDIR)/libobjc" ; \
24097 for flag in $(EXTRA_TARGET_FLAGS); do \
24098 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24099 done; \
24100 (cd $(TARGET_SUBDIR)/libobjc && \
24101 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24102 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24103 "RANLIB=$${RANLIB}" \
24104 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24105 install-info) \
24106 || exit 1
24108 @endif target-libobjc
24110 .PHONY: maybe-installcheck-target-libobjc installcheck-target-libobjc
24111 maybe-installcheck-target-libobjc:
24112 @if target-libobjc
24113 maybe-installcheck-target-libobjc: installcheck-target-libobjc
24115 installcheck-target-libobjc: \
24116 configure-target-libobjc
24117 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
24118 r=`${PWD_COMMAND}`; export r; \
24119 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24120 $(SET_LIB_PATH) \
24121 $(NORMAL_TARGET_EXPORTS) \
24122 echo "Doing installcheck in $(TARGET_SUBDIR)/libobjc" ; \
24123 for flag in $(EXTRA_TARGET_FLAGS); do \
24124 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24125 done; \
24126 (cd $(TARGET_SUBDIR)/libobjc && \
24127 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24128 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24129 "RANLIB=$${RANLIB}" \
24130 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24131 installcheck) \
24132 || exit 1
24134 @endif target-libobjc
24136 .PHONY: maybe-mostlyclean-target-libobjc mostlyclean-target-libobjc
24137 maybe-mostlyclean-target-libobjc:
24138 @if target-libobjc
24139 maybe-mostlyclean-target-libobjc: mostlyclean-target-libobjc
24141 mostlyclean-target-libobjc:
24142 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
24143 r=`${PWD_COMMAND}`; export r; \
24144 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24145 $(SET_LIB_PATH) \
24146 $(NORMAL_TARGET_EXPORTS) \
24147 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libobjc" ; \
24148 for flag in $(EXTRA_TARGET_FLAGS); do \
24149 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24150 done; \
24151 (cd $(TARGET_SUBDIR)/libobjc && \
24152 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24153 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24154 "RANLIB=$${RANLIB}" \
24155 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24156 mostlyclean) \
24157 || exit 1
24159 @endif target-libobjc
24161 .PHONY: maybe-clean-target-libobjc clean-target-libobjc
24162 maybe-clean-target-libobjc:
24163 @if target-libobjc
24164 maybe-clean-target-libobjc: clean-target-libobjc
24166 clean-target-libobjc:
24167 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
24168 r=`${PWD_COMMAND}`; export r; \
24169 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24170 $(SET_LIB_PATH) \
24171 $(NORMAL_TARGET_EXPORTS) \
24172 echo "Doing clean in $(TARGET_SUBDIR)/libobjc" ; \
24173 for flag in $(EXTRA_TARGET_FLAGS); do \
24174 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24175 done; \
24176 (cd $(TARGET_SUBDIR)/libobjc && \
24177 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24178 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24179 "RANLIB=$${RANLIB}" \
24180 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24181 clean) \
24182 || exit 1
24184 @endif target-libobjc
24186 .PHONY: maybe-distclean-target-libobjc distclean-target-libobjc
24187 maybe-distclean-target-libobjc:
24188 @if target-libobjc
24189 maybe-distclean-target-libobjc: distclean-target-libobjc
24191 distclean-target-libobjc:
24192 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
24193 r=`${PWD_COMMAND}`; export r; \
24194 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24195 $(SET_LIB_PATH) \
24196 $(NORMAL_TARGET_EXPORTS) \
24197 echo "Doing distclean in $(TARGET_SUBDIR)/libobjc" ; \
24198 for flag in $(EXTRA_TARGET_FLAGS); do \
24199 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24200 done; \
24201 (cd $(TARGET_SUBDIR)/libobjc && \
24202 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24203 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24204 "RANLIB=$${RANLIB}" \
24205 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24206 distclean) \
24207 || exit 1
24209 @endif target-libobjc
24211 .PHONY: maybe-maintainer-clean-target-libobjc maintainer-clean-target-libobjc
24212 maybe-maintainer-clean-target-libobjc:
24213 @if target-libobjc
24214 maybe-maintainer-clean-target-libobjc: maintainer-clean-target-libobjc
24216 maintainer-clean-target-libobjc:
24217 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
24218 r=`${PWD_COMMAND}`; export r; \
24219 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24220 $(SET_LIB_PATH) \
24221 $(NORMAL_TARGET_EXPORTS) \
24222 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libobjc" ; \
24223 for flag in $(EXTRA_TARGET_FLAGS); do \
24224 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24225 done; \
24226 (cd $(TARGET_SUBDIR)/libobjc && \
24227 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24228 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24229 "RANLIB=$${RANLIB}" \
24230 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24231 maintainer-clean) \
24232 || exit 1
24234 @endif target-libobjc
24237 .PHONY: configure-target-libtermcap maybe-configure-target-libtermcap
24238 maybe-configure-target-libtermcap:
24239 @if target-libtermcap
24240 maybe-configure-target-libtermcap: configure-target-libtermcap
24242 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
24243 $(TARGET_SUBDIR)/libtermcap/multilib.out: multilib.out
24244 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libtermcap ; \
24245 rm -f $(TARGET_SUBDIR)/libtermcap/Makefile || : ; \
24246 cp multilib.out $(TARGET_SUBDIR)/libtermcap/multilib.out
24248 configure-target-libtermcap: $(TARGET_SUBDIR)/libtermcap/multilib.out
24249 @test ! -f $(TARGET_SUBDIR)/libtermcap/Makefile || exit 0; \
24250 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libtermcap ; \
24251 r=`${PWD_COMMAND}`; export r; \
24252 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24253 $(SET_LIB_PATH) \
24254 $(NORMAL_TARGET_EXPORTS) \
24255 echo Configuring in $(TARGET_SUBDIR)/libtermcap; \
24256 cd "$(TARGET_SUBDIR)/libtermcap" || exit 1; \
24257 case $(srcdir) in \
24258 /* | [A-Za-z]:[\\/]*) \
24259 topdir=$(srcdir) ;; \
24260 *) \
24261 case "$(TARGET_SUBDIR)" in \
24262 .) topdir="../$(srcdir)" ;; \
24263 *) topdir="../../$(srcdir)" ;; \
24264 esac ;; \
24265 esac; \
24266 if [ "$(srcdir)" = "." ] ; then \
24267 if [ "$(TARGET_SUBDIR)" != "." ] ; then \
24268 if $(SHELL) $$s/symlink-tree $${topdir}/libtermcap "no-such-file" ; then \
24269 if [ -f Makefile ]; then \
24270 if $(MAKE) distclean; then \
24271 true; \
24272 else \
24273 exit 1; \
24274 fi; \
24275 else \
24276 true; \
24277 fi; \
24278 else \
24279 exit 1; \
24280 fi; \
24281 else \
24282 true; \
24283 fi; \
24284 srcdiroption="--srcdir=."; \
24285 libsrcdir="."; \
24286 else \
24287 srcdiroption="--srcdir=$${topdir}/libtermcap"; \
24288 libsrcdir="$$s/libtermcap"; \
24289 fi; \
24290 rm -f no-such-file || : ; \
24291 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
24292 $(TARGET_CONFIGARGS) $${srcdiroption} \
24293 --with-target-subdir="$(TARGET_SUBDIR)" \
24294 || exit 1
24295 @endif target-libtermcap
24297 .PHONY: all-target-libtermcap maybe-all-target-libtermcap
24298 maybe-all-target-libtermcap:
24299 @if target-libtermcap
24300 maybe-all-target-libtermcap: all-target-libtermcap
24301 all-target-libtermcap: configure-target-libtermcap
24302 @r=`${PWD_COMMAND}`; export r; \
24303 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24304 $(SET_LIB_PATH) \
24305 $(NORMAL_TARGET_EXPORTS) \
24306 (cd $(TARGET_SUBDIR)/libtermcap && \
24307 $(MAKE) $(TARGET_FLAGS_TO_PASS) all)
24308 @endif target-libtermcap
24310 .PHONY: check-target-libtermcap maybe-check-target-libtermcap
24311 maybe-check-target-libtermcap:
24312 @if target-libtermcap
24313 maybe-check-target-libtermcap: check-target-libtermcap
24315 # Dummy target for uncheckable module.
24316 check-target-libtermcap:
24318 @endif target-libtermcap
24320 .PHONY: install-target-libtermcap maybe-install-target-libtermcap
24321 maybe-install-target-libtermcap:
24322 @if target-libtermcap
24323 maybe-install-target-libtermcap: install-target-libtermcap
24325 install-target-libtermcap: installdirs
24326 @r=`${PWD_COMMAND}`; export r; \
24327 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24328 $(SET_LIB_PATH) \
24329 $(NORMAL_TARGET_EXPORTS) \
24330 (cd $(TARGET_SUBDIR)/libtermcap && \
24331 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
24333 @endif target-libtermcap
24335 # Other targets (info, dvi, etc.)
24337 .PHONY: maybe-info-target-libtermcap info-target-libtermcap
24338 maybe-info-target-libtermcap:
24339 @if target-libtermcap
24340 maybe-info-target-libtermcap: info-target-libtermcap
24342 info-target-libtermcap: \
24343 configure-target-libtermcap
24344 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
24345 r=`${PWD_COMMAND}`; export r; \
24346 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24347 $(SET_LIB_PATH) \
24348 $(NORMAL_TARGET_EXPORTS) \
24349 echo "Doing info in $(TARGET_SUBDIR)/libtermcap" ; \
24350 for flag in $(EXTRA_TARGET_FLAGS); do \
24351 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24352 done; \
24353 (cd $(TARGET_SUBDIR)/libtermcap && \
24354 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24355 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24356 "RANLIB=$${RANLIB}" \
24357 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24358 info) \
24359 || exit 1
24361 @endif target-libtermcap
24363 .PHONY: maybe-dvi-target-libtermcap dvi-target-libtermcap
24364 maybe-dvi-target-libtermcap:
24365 @if target-libtermcap
24366 maybe-dvi-target-libtermcap: dvi-target-libtermcap
24368 dvi-target-libtermcap: \
24369 configure-target-libtermcap
24370 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
24371 r=`${PWD_COMMAND}`; export r; \
24372 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24373 $(SET_LIB_PATH) \
24374 $(NORMAL_TARGET_EXPORTS) \
24375 echo "Doing dvi in $(TARGET_SUBDIR)/libtermcap" ; \
24376 for flag in $(EXTRA_TARGET_FLAGS); do \
24377 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24378 done; \
24379 (cd $(TARGET_SUBDIR)/libtermcap && \
24380 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24381 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24382 "RANLIB=$${RANLIB}" \
24383 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24384 dvi) \
24385 || exit 1
24387 @endif target-libtermcap
24389 .PHONY: maybe-TAGS-target-libtermcap TAGS-target-libtermcap
24390 maybe-TAGS-target-libtermcap:
24391 @if target-libtermcap
24392 maybe-TAGS-target-libtermcap: TAGS-target-libtermcap
24394 TAGS-target-libtermcap: \
24395 configure-target-libtermcap
24396 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
24397 r=`${PWD_COMMAND}`; export r; \
24398 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24399 $(SET_LIB_PATH) \
24400 $(NORMAL_TARGET_EXPORTS) \
24401 echo "Doing TAGS in $(TARGET_SUBDIR)/libtermcap" ; \
24402 for flag in $(EXTRA_TARGET_FLAGS); do \
24403 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24404 done; \
24405 (cd $(TARGET_SUBDIR)/libtermcap && \
24406 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24407 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24408 "RANLIB=$${RANLIB}" \
24409 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24410 TAGS) \
24411 || exit 1
24413 @endif target-libtermcap
24415 .PHONY: maybe-install-info-target-libtermcap install-info-target-libtermcap
24416 maybe-install-info-target-libtermcap:
24417 @if target-libtermcap
24418 maybe-install-info-target-libtermcap: install-info-target-libtermcap
24420 install-info-target-libtermcap: \
24421 configure-target-libtermcap \
24422 info-target-libtermcap
24423 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
24424 r=`${PWD_COMMAND}`; export r; \
24425 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24426 $(SET_LIB_PATH) \
24427 $(NORMAL_TARGET_EXPORTS) \
24428 echo "Doing install-info in $(TARGET_SUBDIR)/libtermcap" ; \
24429 for flag in $(EXTRA_TARGET_FLAGS); do \
24430 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24431 done; \
24432 (cd $(TARGET_SUBDIR)/libtermcap && \
24433 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24434 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24435 "RANLIB=$${RANLIB}" \
24436 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24437 install-info) \
24438 || exit 1
24440 @endif target-libtermcap
24442 .PHONY: maybe-installcheck-target-libtermcap installcheck-target-libtermcap
24443 maybe-installcheck-target-libtermcap:
24444 @if target-libtermcap
24445 maybe-installcheck-target-libtermcap: installcheck-target-libtermcap
24447 installcheck-target-libtermcap: \
24448 configure-target-libtermcap
24449 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
24450 r=`${PWD_COMMAND}`; export r; \
24451 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24452 $(SET_LIB_PATH) \
24453 $(NORMAL_TARGET_EXPORTS) \
24454 echo "Doing installcheck in $(TARGET_SUBDIR)/libtermcap" ; \
24455 for flag in $(EXTRA_TARGET_FLAGS); do \
24456 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24457 done; \
24458 (cd $(TARGET_SUBDIR)/libtermcap && \
24459 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24460 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24461 "RANLIB=$${RANLIB}" \
24462 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24463 installcheck) \
24464 || exit 1
24466 @endif target-libtermcap
24468 .PHONY: maybe-mostlyclean-target-libtermcap mostlyclean-target-libtermcap
24469 maybe-mostlyclean-target-libtermcap:
24470 @if target-libtermcap
24471 maybe-mostlyclean-target-libtermcap: mostlyclean-target-libtermcap
24473 # libtermcap doesn't support mostlyclean.
24474 mostlyclean-target-libtermcap:
24476 @endif target-libtermcap
24478 .PHONY: maybe-clean-target-libtermcap clean-target-libtermcap
24479 maybe-clean-target-libtermcap:
24480 @if target-libtermcap
24481 maybe-clean-target-libtermcap: clean-target-libtermcap
24483 # libtermcap doesn't support clean.
24484 clean-target-libtermcap:
24486 @endif target-libtermcap
24488 .PHONY: maybe-distclean-target-libtermcap distclean-target-libtermcap
24489 maybe-distclean-target-libtermcap:
24490 @if target-libtermcap
24491 maybe-distclean-target-libtermcap: distclean-target-libtermcap
24493 # libtermcap doesn't support distclean.
24494 distclean-target-libtermcap:
24496 @endif target-libtermcap
24498 .PHONY: maybe-maintainer-clean-target-libtermcap maintainer-clean-target-libtermcap
24499 maybe-maintainer-clean-target-libtermcap:
24500 @if target-libtermcap
24501 maybe-maintainer-clean-target-libtermcap: maintainer-clean-target-libtermcap
24503 # libtermcap doesn't support maintainer-clean.
24504 maintainer-clean-target-libtermcap:
24506 @endif target-libtermcap
24509 .PHONY: configure-target-winsup maybe-configure-target-winsup
24510 maybe-configure-target-winsup:
24511 @if target-winsup
24512 maybe-configure-target-winsup: configure-target-winsup
24514 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
24515 $(TARGET_SUBDIR)/winsup/multilib.out: multilib.out
24516 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/winsup ; \
24517 rm -f $(TARGET_SUBDIR)/winsup/Makefile || : ; \
24518 cp multilib.out $(TARGET_SUBDIR)/winsup/multilib.out
24520 configure-target-winsup: $(TARGET_SUBDIR)/winsup/multilib.out
24521 @test ! -f $(TARGET_SUBDIR)/winsup/Makefile || exit 0; \
24522 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/winsup ; \
24523 r=`${PWD_COMMAND}`; export r; \
24524 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24525 $(SET_LIB_PATH) \
24526 $(NORMAL_TARGET_EXPORTS) \
24527 echo Configuring in $(TARGET_SUBDIR)/winsup; \
24528 cd "$(TARGET_SUBDIR)/winsup" || exit 1; \
24529 case $(srcdir) in \
24530 /* | [A-Za-z]:[\\/]*) \
24531 topdir=$(srcdir) ;; \
24532 *) \
24533 case "$(TARGET_SUBDIR)" in \
24534 .) topdir="../$(srcdir)" ;; \
24535 *) topdir="../../$(srcdir)" ;; \
24536 esac ;; \
24537 esac; \
24538 srcdiroption="--srcdir=$${topdir}/winsup"; \
24539 libsrcdir="$$s/winsup"; \
24540 rm -f no-such-file || : ; \
24541 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
24542 $(TARGET_CONFIGARGS) $${srcdiroption} \
24543 --with-target-subdir="$(TARGET_SUBDIR)" \
24544 || exit 1
24545 @endif target-winsup
24547 .PHONY: all-target-winsup maybe-all-target-winsup
24548 maybe-all-target-winsup:
24549 @if target-winsup
24550 maybe-all-target-winsup: all-target-winsup
24551 all-target-winsup: configure-target-winsup
24552 @r=`${PWD_COMMAND}`; export r; \
24553 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24554 $(SET_LIB_PATH) \
24555 $(NORMAL_TARGET_EXPORTS) \
24556 (cd $(TARGET_SUBDIR)/winsup && \
24557 $(MAKE) $(TARGET_FLAGS_TO_PASS) all)
24558 @endif target-winsup
24560 .PHONY: check-target-winsup maybe-check-target-winsup
24561 maybe-check-target-winsup:
24562 @if target-winsup
24563 maybe-check-target-winsup: check-target-winsup
24565 check-target-winsup:
24566 @r=`${PWD_COMMAND}`; export r; \
24567 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24568 $(SET_LIB_PATH) \
24569 $(NORMAL_TARGET_EXPORTS) \
24570 (cd $(TARGET_SUBDIR)/winsup && \
24571 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
24573 @endif target-winsup
24575 .PHONY: install-target-winsup maybe-install-target-winsup
24576 maybe-install-target-winsup:
24577 @if target-winsup
24578 maybe-install-target-winsup: install-target-winsup
24580 install-target-winsup: installdirs
24581 @r=`${PWD_COMMAND}`; export r; \
24582 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24583 $(SET_LIB_PATH) \
24584 $(NORMAL_TARGET_EXPORTS) \
24585 (cd $(TARGET_SUBDIR)/winsup && \
24586 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
24588 @endif target-winsup
24590 # Other targets (info, dvi, etc.)
24592 .PHONY: maybe-info-target-winsup info-target-winsup
24593 maybe-info-target-winsup:
24594 @if target-winsup
24595 maybe-info-target-winsup: info-target-winsup
24597 info-target-winsup: \
24598 configure-target-winsup
24599 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
24600 r=`${PWD_COMMAND}`; export r; \
24601 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24602 $(SET_LIB_PATH) \
24603 $(NORMAL_TARGET_EXPORTS) \
24604 echo "Doing info in $(TARGET_SUBDIR)/winsup" ; \
24605 for flag in $(EXTRA_TARGET_FLAGS); do \
24606 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24607 done; \
24608 (cd $(TARGET_SUBDIR)/winsup && \
24609 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24610 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24611 "RANLIB=$${RANLIB}" \
24612 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24613 info) \
24614 || exit 1
24616 @endif target-winsup
24618 .PHONY: maybe-dvi-target-winsup dvi-target-winsup
24619 maybe-dvi-target-winsup:
24620 @if target-winsup
24621 maybe-dvi-target-winsup: dvi-target-winsup
24623 dvi-target-winsup: \
24624 configure-target-winsup
24625 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
24626 r=`${PWD_COMMAND}`; export r; \
24627 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24628 $(SET_LIB_PATH) \
24629 $(NORMAL_TARGET_EXPORTS) \
24630 echo "Doing dvi in $(TARGET_SUBDIR)/winsup" ; \
24631 for flag in $(EXTRA_TARGET_FLAGS); do \
24632 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24633 done; \
24634 (cd $(TARGET_SUBDIR)/winsup && \
24635 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24636 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24637 "RANLIB=$${RANLIB}" \
24638 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24639 dvi) \
24640 || exit 1
24642 @endif target-winsup
24644 .PHONY: maybe-TAGS-target-winsup TAGS-target-winsup
24645 maybe-TAGS-target-winsup:
24646 @if target-winsup
24647 maybe-TAGS-target-winsup: TAGS-target-winsup
24649 TAGS-target-winsup: \
24650 configure-target-winsup
24651 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
24652 r=`${PWD_COMMAND}`; export r; \
24653 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24654 $(SET_LIB_PATH) \
24655 $(NORMAL_TARGET_EXPORTS) \
24656 echo "Doing TAGS in $(TARGET_SUBDIR)/winsup" ; \
24657 for flag in $(EXTRA_TARGET_FLAGS); do \
24658 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24659 done; \
24660 (cd $(TARGET_SUBDIR)/winsup && \
24661 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24662 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24663 "RANLIB=$${RANLIB}" \
24664 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24665 TAGS) \
24666 || exit 1
24668 @endif target-winsup
24670 .PHONY: maybe-install-info-target-winsup install-info-target-winsup
24671 maybe-install-info-target-winsup:
24672 @if target-winsup
24673 maybe-install-info-target-winsup: install-info-target-winsup
24675 install-info-target-winsup: \
24676 configure-target-winsup \
24677 info-target-winsup
24678 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
24679 r=`${PWD_COMMAND}`; export r; \
24680 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24681 $(SET_LIB_PATH) \
24682 $(NORMAL_TARGET_EXPORTS) \
24683 echo "Doing install-info in $(TARGET_SUBDIR)/winsup" ; \
24684 for flag in $(EXTRA_TARGET_FLAGS); do \
24685 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24686 done; \
24687 (cd $(TARGET_SUBDIR)/winsup && \
24688 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24689 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24690 "RANLIB=$${RANLIB}" \
24691 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24692 install-info) \
24693 || exit 1
24695 @endif target-winsup
24697 .PHONY: maybe-installcheck-target-winsup installcheck-target-winsup
24698 maybe-installcheck-target-winsup:
24699 @if target-winsup
24700 maybe-installcheck-target-winsup: installcheck-target-winsup
24702 installcheck-target-winsup: \
24703 configure-target-winsup
24704 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
24705 r=`${PWD_COMMAND}`; export r; \
24706 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24707 $(SET_LIB_PATH) \
24708 $(NORMAL_TARGET_EXPORTS) \
24709 echo "Doing installcheck in $(TARGET_SUBDIR)/winsup" ; \
24710 for flag in $(EXTRA_TARGET_FLAGS); do \
24711 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24712 done; \
24713 (cd $(TARGET_SUBDIR)/winsup && \
24714 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24715 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24716 "RANLIB=$${RANLIB}" \
24717 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24718 installcheck) \
24719 || exit 1
24721 @endif target-winsup
24723 .PHONY: maybe-mostlyclean-target-winsup mostlyclean-target-winsup
24724 maybe-mostlyclean-target-winsup:
24725 @if target-winsup
24726 maybe-mostlyclean-target-winsup: mostlyclean-target-winsup
24728 mostlyclean-target-winsup:
24729 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
24730 r=`${PWD_COMMAND}`; export r; \
24731 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24732 $(SET_LIB_PATH) \
24733 $(NORMAL_TARGET_EXPORTS) \
24734 echo "Doing mostlyclean in $(TARGET_SUBDIR)/winsup" ; \
24735 for flag in $(EXTRA_TARGET_FLAGS); do \
24736 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24737 done; \
24738 (cd $(TARGET_SUBDIR)/winsup && \
24739 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24740 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24741 "RANLIB=$${RANLIB}" \
24742 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24743 mostlyclean) \
24744 || exit 1
24746 @endif target-winsup
24748 .PHONY: maybe-clean-target-winsup clean-target-winsup
24749 maybe-clean-target-winsup:
24750 @if target-winsup
24751 maybe-clean-target-winsup: clean-target-winsup
24753 clean-target-winsup:
24754 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
24755 r=`${PWD_COMMAND}`; export r; \
24756 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24757 $(SET_LIB_PATH) \
24758 $(NORMAL_TARGET_EXPORTS) \
24759 echo "Doing clean in $(TARGET_SUBDIR)/winsup" ; \
24760 for flag in $(EXTRA_TARGET_FLAGS); do \
24761 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24762 done; \
24763 (cd $(TARGET_SUBDIR)/winsup && \
24764 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24765 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24766 "RANLIB=$${RANLIB}" \
24767 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24768 clean) \
24769 || exit 1
24771 @endif target-winsup
24773 .PHONY: maybe-distclean-target-winsup distclean-target-winsup
24774 maybe-distclean-target-winsup:
24775 @if target-winsup
24776 maybe-distclean-target-winsup: distclean-target-winsup
24778 distclean-target-winsup:
24779 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
24780 r=`${PWD_COMMAND}`; export r; \
24781 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24782 $(SET_LIB_PATH) \
24783 $(NORMAL_TARGET_EXPORTS) \
24784 echo "Doing distclean in $(TARGET_SUBDIR)/winsup" ; \
24785 for flag in $(EXTRA_TARGET_FLAGS); do \
24786 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24787 done; \
24788 (cd $(TARGET_SUBDIR)/winsup && \
24789 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24790 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24791 "RANLIB=$${RANLIB}" \
24792 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24793 distclean) \
24794 || exit 1
24796 @endif target-winsup
24798 .PHONY: maybe-maintainer-clean-target-winsup maintainer-clean-target-winsup
24799 maybe-maintainer-clean-target-winsup:
24800 @if target-winsup
24801 maybe-maintainer-clean-target-winsup: maintainer-clean-target-winsup
24803 maintainer-clean-target-winsup:
24804 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
24805 r=`${PWD_COMMAND}`; export r; \
24806 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24807 $(SET_LIB_PATH) \
24808 $(NORMAL_TARGET_EXPORTS) \
24809 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/winsup" ; \
24810 for flag in $(EXTRA_TARGET_FLAGS); do \
24811 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24812 done; \
24813 (cd $(TARGET_SUBDIR)/winsup && \
24814 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24815 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24816 "RANLIB=$${RANLIB}" \
24817 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24818 maintainer-clean) \
24819 || exit 1
24821 @endif target-winsup
24824 .PHONY: configure-target-libgloss maybe-configure-target-libgloss
24825 maybe-configure-target-libgloss:
24826 @if target-libgloss
24827 maybe-configure-target-libgloss: configure-target-libgloss
24829 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
24830 $(TARGET_SUBDIR)/libgloss/multilib.out: multilib.out
24831 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgloss ; \
24832 rm -f $(TARGET_SUBDIR)/libgloss/Makefile || : ; \
24833 cp multilib.out $(TARGET_SUBDIR)/libgloss/multilib.out
24835 configure-target-libgloss: $(TARGET_SUBDIR)/libgloss/multilib.out
24836 @test ! -f $(TARGET_SUBDIR)/libgloss/Makefile || exit 0; \
24837 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgloss ; \
24838 r=`${PWD_COMMAND}`; export r; \
24839 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24840 $(SET_LIB_PATH) \
24841 $(NORMAL_TARGET_EXPORTS) \
24842 echo Configuring in $(TARGET_SUBDIR)/libgloss; \
24843 cd "$(TARGET_SUBDIR)/libgloss" || exit 1; \
24844 case $(srcdir) in \
24845 /* | [A-Za-z]:[\\/]*) \
24846 topdir=$(srcdir) ;; \
24847 *) \
24848 case "$(TARGET_SUBDIR)" in \
24849 .) topdir="../$(srcdir)" ;; \
24850 *) topdir="../../$(srcdir)" ;; \
24851 esac ;; \
24852 esac; \
24853 srcdiroption="--srcdir=$${topdir}/libgloss"; \
24854 libsrcdir="$$s/libgloss"; \
24855 rm -f no-such-file || : ; \
24856 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
24857 $(TARGET_CONFIGARGS) $${srcdiroption} \
24858 --with-target-subdir="$(TARGET_SUBDIR)" \
24859 || exit 1
24860 @endif target-libgloss
24862 .PHONY: all-target-libgloss maybe-all-target-libgloss
24863 maybe-all-target-libgloss:
24864 @if target-libgloss
24865 maybe-all-target-libgloss: all-target-libgloss
24866 all-target-libgloss: configure-target-libgloss
24867 @r=`${PWD_COMMAND}`; export r; \
24868 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24869 $(SET_LIB_PATH) \
24870 $(NORMAL_TARGET_EXPORTS) \
24871 (cd $(TARGET_SUBDIR)/libgloss && \
24872 $(MAKE) $(TARGET_FLAGS_TO_PASS) all)
24873 @endif target-libgloss
24875 .PHONY: check-target-libgloss maybe-check-target-libgloss
24876 maybe-check-target-libgloss:
24877 @if target-libgloss
24878 maybe-check-target-libgloss: check-target-libgloss
24880 # Dummy target for uncheckable module.
24881 check-target-libgloss:
24883 @endif target-libgloss
24885 .PHONY: install-target-libgloss maybe-install-target-libgloss
24886 maybe-install-target-libgloss:
24887 @if target-libgloss
24888 maybe-install-target-libgloss: install-target-libgloss
24890 install-target-libgloss: installdirs
24891 @r=`${PWD_COMMAND}`; export r; \
24892 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24893 $(SET_LIB_PATH) \
24894 $(NORMAL_TARGET_EXPORTS) \
24895 (cd $(TARGET_SUBDIR)/libgloss && \
24896 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
24898 @endif target-libgloss
24900 # Other targets (info, dvi, etc.)
24902 .PHONY: maybe-info-target-libgloss info-target-libgloss
24903 maybe-info-target-libgloss:
24904 @if target-libgloss
24905 maybe-info-target-libgloss: info-target-libgloss
24907 info-target-libgloss: \
24908 configure-target-libgloss
24909 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
24910 r=`${PWD_COMMAND}`; export r; \
24911 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24912 $(SET_LIB_PATH) \
24913 $(NORMAL_TARGET_EXPORTS) \
24914 echo "Doing info in $(TARGET_SUBDIR)/libgloss" ; \
24915 for flag in $(EXTRA_TARGET_FLAGS); do \
24916 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24917 done; \
24918 (cd $(TARGET_SUBDIR)/libgloss && \
24919 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24920 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24921 "RANLIB=$${RANLIB}" \
24922 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24923 info) \
24924 || exit 1
24926 @endif target-libgloss
24928 .PHONY: maybe-dvi-target-libgloss dvi-target-libgloss
24929 maybe-dvi-target-libgloss:
24930 @if target-libgloss
24931 maybe-dvi-target-libgloss: dvi-target-libgloss
24933 dvi-target-libgloss: \
24934 configure-target-libgloss
24935 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
24936 r=`${PWD_COMMAND}`; export r; \
24937 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24938 $(SET_LIB_PATH) \
24939 $(NORMAL_TARGET_EXPORTS) \
24940 echo "Doing dvi in $(TARGET_SUBDIR)/libgloss" ; \
24941 for flag in $(EXTRA_TARGET_FLAGS); do \
24942 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24943 done; \
24944 (cd $(TARGET_SUBDIR)/libgloss && \
24945 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24946 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24947 "RANLIB=$${RANLIB}" \
24948 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24949 dvi) \
24950 || exit 1
24952 @endif target-libgloss
24954 .PHONY: maybe-TAGS-target-libgloss TAGS-target-libgloss
24955 maybe-TAGS-target-libgloss:
24956 @if target-libgloss
24957 maybe-TAGS-target-libgloss: TAGS-target-libgloss
24959 TAGS-target-libgloss: \
24960 configure-target-libgloss
24961 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
24962 r=`${PWD_COMMAND}`; export r; \
24963 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24964 $(SET_LIB_PATH) \
24965 $(NORMAL_TARGET_EXPORTS) \
24966 echo "Doing TAGS in $(TARGET_SUBDIR)/libgloss" ; \
24967 for flag in $(EXTRA_TARGET_FLAGS); do \
24968 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24969 done; \
24970 (cd $(TARGET_SUBDIR)/libgloss && \
24971 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24972 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24973 "RANLIB=$${RANLIB}" \
24974 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24975 TAGS) \
24976 || exit 1
24978 @endif target-libgloss
24980 .PHONY: maybe-install-info-target-libgloss install-info-target-libgloss
24981 maybe-install-info-target-libgloss:
24982 @if target-libgloss
24983 maybe-install-info-target-libgloss: install-info-target-libgloss
24985 install-info-target-libgloss: \
24986 configure-target-libgloss \
24987 info-target-libgloss
24988 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
24989 r=`${PWD_COMMAND}`; export r; \
24990 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24991 $(SET_LIB_PATH) \
24992 $(NORMAL_TARGET_EXPORTS) \
24993 echo "Doing install-info in $(TARGET_SUBDIR)/libgloss" ; \
24994 for flag in $(EXTRA_TARGET_FLAGS); do \
24995 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24996 done; \
24997 (cd $(TARGET_SUBDIR)/libgloss && \
24998 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24999 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25000 "RANLIB=$${RANLIB}" \
25001 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25002 install-info) \
25003 || exit 1
25005 @endif target-libgloss
25007 .PHONY: maybe-installcheck-target-libgloss installcheck-target-libgloss
25008 maybe-installcheck-target-libgloss:
25009 @if target-libgloss
25010 maybe-installcheck-target-libgloss: installcheck-target-libgloss
25012 installcheck-target-libgloss: \
25013 configure-target-libgloss
25014 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
25015 r=`${PWD_COMMAND}`; export r; \
25016 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25017 $(SET_LIB_PATH) \
25018 $(NORMAL_TARGET_EXPORTS) \
25019 echo "Doing installcheck in $(TARGET_SUBDIR)/libgloss" ; \
25020 for flag in $(EXTRA_TARGET_FLAGS); do \
25021 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25022 done; \
25023 (cd $(TARGET_SUBDIR)/libgloss && \
25024 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25025 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25026 "RANLIB=$${RANLIB}" \
25027 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25028 installcheck) \
25029 || exit 1
25031 @endif target-libgloss
25033 .PHONY: maybe-mostlyclean-target-libgloss mostlyclean-target-libgloss
25034 maybe-mostlyclean-target-libgloss:
25035 @if target-libgloss
25036 maybe-mostlyclean-target-libgloss: mostlyclean-target-libgloss
25038 mostlyclean-target-libgloss:
25039 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
25040 r=`${PWD_COMMAND}`; export r; \
25041 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25042 $(SET_LIB_PATH) \
25043 $(NORMAL_TARGET_EXPORTS) \
25044 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgloss" ; \
25045 for flag in $(EXTRA_TARGET_FLAGS); do \
25046 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25047 done; \
25048 (cd $(TARGET_SUBDIR)/libgloss && \
25049 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25050 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25051 "RANLIB=$${RANLIB}" \
25052 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25053 mostlyclean) \
25054 || exit 1
25056 @endif target-libgloss
25058 .PHONY: maybe-clean-target-libgloss clean-target-libgloss
25059 maybe-clean-target-libgloss:
25060 @if target-libgloss
25061 maybe-clean-target-libgloss: clean-target-libgloss
25063 clean-target-libgloss:
25064 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
25065 r=`${PWD_COMMAND}`; export r; \
25066 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25067 $(SET_LIB_PATH) \
25068 $(NORMAL_TARGET_EXPORTS) \
25069 echo "Doing clean in $(TARGET_SUBDIR)/libgloss" ; \
25070 for flag in $(EXTRA_TARGET_FLAGS); do \
25071 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25072 done; \
25073 (cd $(TARGET_SUBDIR)/libgloss && \
25074 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25075 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25076 "RANLIB=$${RANLIB}" \
25077 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25078 clean) \
25079 || exit 1
25081 @endif target-libgloss
25083 .PHONY: maybe-distclean-target-libgloss distclean-target-libgloss
25084 maybe-distclean-target-libgloss:
25085 @if target-libgloss
25086 maybe-distclean-target-libgloss: distclean-target-libgloss
25088 distclean-target-libgloss:
25089 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
25090 r=`${PWD_COMMAND}`; export r; \
25091 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25092 $(SET_LIB_PATH) \
25093 $(NORMAL_TARGET_EXPORTS) \
25094 echo "Doing distclean in $(TARGET_SUBDIR)/libgloss" ; \
25095 for flag in $(EXTRA_TARGET_FLAGS); do \
25096 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25097 done; \
25098 (cd $(TARGET_SUBDIR)/libgloss && \
25099 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25100 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25101 "RANLIB=$${RANLIB}" \
25102 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25103 distclean) \
25104 || exit 1
25106 @endif target-libgloss
25108 .PHONY: maybe-maintainer-clean-target-libgloss maintainer-clean-target-libgloss
25109 maybe-maintainer-clean-target-libgloss:
25110 @if target-libgloss
25111 maybe-maintainer-clean-target-libgloss: maintainer-clean-target-libgloss
25113 maintainer-clean-target-libgloss:
25114 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
25115 r=`${PWD_COMMAND}`; export r; \
25116 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25117 $(SET_LIB_PATH) \
25118 $(NORMAL_TARGET_EXPORTS) \
25119 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgloss" ; \
25120 for flag in $(EXTRA_TARGET_FLAGS); do \
25121 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25122 done; \
25123 (cd $(TARGET_SUBDIR)/libgloss && \
25124 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25125 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25126 "RANLIB=$${RANLIB}" \
25127 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25128 maintainer-clean) \
25129 || exit 1
25131 @endif target-libgloss
25134 .PHONY: configure-target-libiberty maybe-configure-target-libiberty
25135 maybe-configure-target-libiberty:
25136 @if target-libiberty
25137 maybe-configure-target-libiberty: configure-target-libiberty
25139 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
25140 $(TARGET_SUBDIR)/libiberty/multilib.out: multilib.out
25141 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libiberty ; \
25142 rm -f $(TARGET_SUBDIR)/libiberty/Makefile || : ; \
25143 cp multilib.out $(TARGET_SUBDIR)/libiberty/multilib.out
25145 configure-target-libiberty: $(TARGET_SUBDIR)/libiberty/multilib.out
25146 @test ! -f $(TARGET_SUBDIR)/libiberty/Makefile || exit 0; \
25147 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libiberty ; \
25148 r=`${PWD_COMMAND}`; export r; \
25149 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25150 $(SET_LIB_PATH) \
25151 $(NORMAL_TARGET_EXPORTS) \
25152 echo Configuring in $(TARGET_SUBDIR)/libiberty; \
25153 cd "$(TARGET_SUBDIR)/libiberty" || exit 1; \
25154 case $(srcdir) in \
25155 /* | [A-Za-z]:[\\/]*) \
25156 topdir=$(srcdir) ;; \
25157 *) \
25158 case "$(TARGET_SUBDIR)" in \
25159 .) topdir="../$(srcdir)" ;; \
25160 *) topdir="../../$(srcdir)" ;; \
25161 esac ;; \
25162 esac; \
25163 srcdiroption="--srcdir=$${topdir}/libiberty"; \
25164 libsrcdir="$$s/libiberty"; \
25165 rm -f no-such-file || : ; \
25166 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
25167 $(TARGET_CONFIGARGS) $${srcdiroption} \
25168 --with-target-subdir="$(TARGET_SUBDIR)" \
25169 || exit 1
25170 @endif target-libiberty
25172 .PHONY: all-target-libiberty maybe-all-target-libiberty
25173 maybe-all-target-libiberty:
25174 @if target-libiberty
25175 maybe-all-target-libiberty: all-target-libiberty
25176 all-target-libiberty: configure-target-libiberty
25177 @r=`${PWD_COMMAND}`; export r; \
25178 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25179 $(SET_LIB_PATH) \
25180 $(NORMAL_TARGET_EXPORTS) \
25181 (cd $(TARGET_SUBDIR)/libiberty && \
25182 $(MAKE) $(TARGET_FLAGS_TO_PASS) all)
25183 @endif target-libiberty
25185 .PHONY: check-target-libiberty maybe-check-target-libiberty
25186 maybe-check-target-libiberty:
25187 @if target-libiberty
25188 maybe-check-target-libiberty: check-target-libiberty
25190 check-target-libiberty:
25191 @r=`${PWD_COMMAND}`; export r; \
25192 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25193 $(SET_LIB_PATH) \
25194 $(NORMAL_TARGET_EXPORTS) \
25195 (cd $(TARGET_SUBDIR)/libiberty && \
25196 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
25198 @endif target-libiberty
25200 .PHONY: install-target-libiberty maybe-install-target-libiberty
25201 maybe-install-target-libiberty:
25202 @if target-libiberty
25203 maybe-install-target-libiberty: install-target-libiberty
25205 install-target-libiberty: installdirs
25206 @r=`${PWD_COMMAND}`; export r; \
25207 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25208 $(SET_LIB_PATH) \
25209 $(NORMAL_TARGET_EXPORTS) \
25210 (cd $(TARGET_SUBDIR)/libiberty && \
25211 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
25213 @endif target-libiberty
25215 # Other targets (info, dvi, etc.)
25217 .PHONY: maybe-info-target-libiberty info-target-libiberty
25218 maybe-info-target-libiberty:
25219 @if target-libiberty
25220 maybe-info-target-libiberty: info-target-libiberty
25222 info-target-libiberty: \
25223 configure-target-libiberty
25224 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
25225 r=`${PWD_COMMAND}`; export r; \
25226 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25227 $(SET_LIB_PATH) \
25228 $(NORMAL_TARGET_EXPORTS) \
25229 echo "Doing info in $(TARGET_SUBDIR)/libiberty" ; \
25230 for flag in $(EXTRA_TARGET_FLAGS); do \
25231 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25232 done; \
25233 (cd $(TARGET_SUBDIR)/libiberty && \
25234 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25235 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25236 "RANLIB=$${RANLIB}" \
25237 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25238 info) \
25239 || exit 1
25241 @endif target-libiberty
25243 .PHONY: maybe-dvi-target-libiberty dvi-target-libiberty
25244 maybe-dvi-target-libiberty:
25245 @if target-libiberty
25246 maybe-dvi-target-libiberty: dvi-target-libiberty
25248 dvi-target-libiberty: \
25249 configure-target-libiberty
25250 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
25251 r=`${PWD_COMMAND}`; export r; \
25252 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25253 $(SET_LIB_PATH) \
25254 $(NORMAL_TARGET_EXPORTS) \
25255 echo "Doing dvi in $(TARGET_SUBDIR)/libiberty" ; \
25256 for flag in $(EXTRA_TARGET_FLAGS); do \
25257 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25258 done; \
25259 (cd $(TARGET_SUBDIR)/libiberty && \
25260 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25261 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25262 "RANLIB=$${RANLIB}" \
25263 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25264 dvi) \
25265 || exit 1
25267 @endif target-libiberty
25269 .PHONY: maybe-TAGS-target-libiberty TAGS-target-libiberty
25270 maybe-TAGS-target-libiberty:
25271 @if target-libiberty
25272 maybe-TAGS-target-libiberty: TAGS-target-libiberty
25274 TAGS-target-libiberty: \
25275 configure-target-libiberty
25276 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
25277 r=`${PWD_COMMAND}`; export r; \
25278 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25279 $(SET_LIB_PATH) \
25280 $(NORMAL_TARGET_EXPORTS) \
25281 echo "Doing TAGS in $(TARGET_SUBDIR)/libiberty" ; \
25282 for flag in $(EXTRA_TARGET_FLAGS); do \
25283 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25284 done; \
25285 (cd $(TARGET_SUBDIR)/libiberty && \
25286 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25287 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25288 "RANLIB=$${RANLIB}" \
25289 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25290 TAGS) \
25291 || exit 1
25293 @endif target-libiberty
25295 .PHONY: maybe-install-info-target-libiberty install-info-target-libiberty
25296 maybe-install-info-target-libiberty:
25297 @if target-libiberty
25298 maybe-install-info-target-libiberty: install-info-target-libiberty
25300 install-info-target-libiberty: \
25301 configure-target-libiberty \
25302 info-target-libiberty
25303 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
25304 r=`${PWD_COMMAND}`; export r; \
25305 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25306 $(SET_LIB_PATH) \
25307 $(NORMAL_TARGET_EXPORTS) \
25308 echo "Doing install-info in $(TARGET_SUBDIR)/libiberty" ; \
25309 for flag in $(EXTRA_TARGET_FLAGS); do \
25310 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25311 done; \
25312 (cd $(TARGET_SUBDIR)/libiberty && \
25313 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25314 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25315 "RANLIB=$${RANLIB}" \
25316 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25317 install-info) \
25318 || exit 1
25320 @endif target-libiberty
25322 .PHONY: maybe-installcheck-target-libiberty installcheck-target-libiberty
25323 maybe-installcheck-target-libiberty:
25324 @if target-libiberty
25325 maybe-installcheck-target-libiberty: installcheck-target-libiberty
25327 installcheck-target-libiberty: \
25328 configure-target-libiberty
25329 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
25330 r=`${PWD_COMMAND}`; export r; \
25331 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25332 $(SET_LIB_PATH) \
25333 $(NORMAL_TARGET_EXPORTS) \
25334 echo "Doing installcheck in $(TARGET_SUBDIR)/libiberty" ; \
25335 for flag in $(EXTRA_TARGET_FLAGS); do \
25336 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25337 done; \
25338 (cd $(TARGET_SUBDIR)/libiberty && \
25339 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25340 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25341 "RANLIB=$${RANLIB}" \
25342 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25343 installcheck) \
25344 || exit 1
25346 @endif target-libiberty
25348 .PHONY: maybe-mostlyclean-target-libiberty mostlyclean-target-libiberty
25349 maybe-mostlyclean-target-libiberty:
25350 @if target-libiberty
25351 maybe-mostlyclean-target-libiberty: mostlyclean-target-libiberty
25353 mostlyclean-target-libiberty:
25354 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
25355 r=`${PWD_COMMAND}`; export r; \
25356 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25357 $(SET_LIB_PATH) \
25358 $(NORMAL_TARGET_EXPORTS) \
25359 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libiberty" ; \
25360 for flag in $(EXTRA_TARGET_FLAGS); do \
25361 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25362 done; \
25363 (cd $(TARGET_SUBDIR)/libiberty && \
25364 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25365 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25366 "RANLIB=$${RANLIB}" \
25367 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25368 mostlyclean) \
25369 || exit 1
25371 @endif target-libiberty
25373 .PHONY: maybe-clean-target-libiberty clean-target-libiberty
25374 maybe-clean-target-libiberty:
25375 @if target-libiberty
25376 maybe-clean-target-libiberty: clean-target-libiberty
25378 clean-target-libiberty:
25379 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
25380 r=`${PWD_COMMAND}`; export r; \
25381 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25382 $(SET_LIB_PATH) \
25383 $(NORMAL_TARGET_EXPORTS) \
25384 echo "Doing clean in $(TARGET_SUBDIR)/libiberty" ; \
25385 for flag in $(EXTRA_TARGET_FLAGS); do \
25386 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25387 done; \
25388 (cd $(TARGET_SUBDIR)/libiberty && \
25389 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25390 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25391 "RANLIB=$${RANLIB}" \
25392 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25393 clean) \
25394 || exit 1
25396 @endif target-libiberty
25398 .PHONY: maybe-distclean-target-libiberty distclean-target-libiberty
25399 maybe-distclean-target-libiberty:
25400 @if target-libiberty
25401 maybe-distclean-target-libiberty: distclean-target-libiberty
25403 distclean-target-libiberty:
25404 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
25405 r=`${PWD_COMMAND}`; export r; \
25406 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25407 $(SET_LIB_PATH) \
25408 $(NORMAL_TARGET_EXPORTS) \
25409 echo "Doing distclean in $(TARGET_SUBDIR)/libiberty" ; \
25410 for flag in $(EXTRA_TARGET_FLAGS); do \
25411 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25412 done; \
25413 (cd $(TARGET_SUBDIR)/libiberty && \
25414 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25415 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25416 "RANLIB=$${RANLIB}" \
25417 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25418 distclean) \
25419 || exit 1
25421 @endif target-libiberty
25423 .PHONY: maybe-maintainer-clean-target-libiberty maintainer-clean-target-libiberty
25424 maybe-maintainer-clean-target-libiberty:
25425 @if target-libiberty
25426 maybe-maintainer-clean-target-libiberty: maintainer-clean-target-libiberty
25428 maintainer-clean-target-libiberty:
25429 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
25430 r=`${PWD_COMMAND}`; export r; \
25431 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25432 $(SET_LIB_PATH) \
25433 $(NORMAL_TARGET_EXPORTS) \
25434 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libiberty" ; \
25435 for flag in $(EXTRA_TARGET_FLAGS); do \
25436 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25437 done; \
25438 (cd $(TARGET_SUBDIR)/libiberty && \
25439 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25440 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25441 "RANLIB=$${RANLIB}" \
25442 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25443 maintainer-clean) \
25444 || exit 1
25446 @endif target-libiberty
25449 .PHONY: configure-target-gperf maybe-configure-target-gperf
25450 maybe-configure-target-gperf:
25451 @if target-gperf
25452 maybe-configure-target-gperf: configure-target-gperf
25454 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
25455 $(TARGET_SUBDIR)/gperf/multilib.out: multilib.out
25456 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/gperf ; \
25457 rm -f $(TARGET_SUBDIR)/gperf/Makefile || : ; \
25458 cp multilib.out $(TARGET_SUBDIR)/gperf/multilib.out
25460 configure-target-gperf: $(TARGET_SUBDIR)/gperf/multilib.out
25461 @test ! -f $(TARGET_SUBDIR)/gperf/Makefile || exit 0; \
25462 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/gperf ; \
25463 r=`${PWD_COMMAND}`; export r; \
25464 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25465 $(SET_LIB_PATH) \
25466 $(NORMAL_TARGET_EXPORTS) \
25467 echo Configuring in $(TARGET_SUBDIR)/gperf; \
25468 cd "$(TARGET_SUBDIR)/gperf" || exit 1; \
25469 case $(srcdir) in \
25470 /* | [A-Za-z]:[\\/]*) \
25471 topdir=$(srcdir) ;; \
25472 *) \
25473 case "$(TARGET_SUBDIR)" in \
25474 .) topdir="../$(srcdir)" ;; \
25475 *) topdir="../../$(srcdir)" ;; \
25476 esac ;; \
25477 esac; \
25478 srcdiroption="--srcdir=$${topdir}/gperf"; \
25479 libsrcdir="$$s/gperf"; \
25480 rm -f no-such-file || : ; \
25481 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
25482 $(TARGET_CONFIGARGS) $${srcdiroption} \
25483 --with-target-subdir="$(TARGET_SUBDIR)" \
25484 || exit 1
25485 @endif target-gperf
25487 .PHONY: all-target-gperf maybe-all-target-gperf
25488 maybe-all-target-gperf:
25489 @if target-gperf
25490 maybe-all-target-gperf: all-target-gperf
25491 all-target-gperf: configure-target-gperf
25492 @r=`${PWD_COMMAND}`; export r; \
25493 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25494 $(SET_LIB_PATH) \
25495 $(NORMAL_TARGET_EXPORTS) \
25496 (cd $(TARGET_SUBDIR)/gperf && \
25497 $(MAKE) $(TARGET_FLAGS_TO_PASS) all)
25498 @endif target-gperf
25500 .PHONY: check-target-gperf maybe-check-target-gperf
25501 maybe-check-target-gperf:
25502 @if target-gperf
25503 maybe-check-target-gperf: check-target-gperf
25505 check-target-gperf:
25506 @r=`${PWD_COMMAND}`; export r; \
25507 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25508 $(SET_LIB_PATH) \
25509 $(NORMAL_TARGET_EXPORTS) \
25510 (cd $(TARGET_SUBDIR)/gperf && \
25511 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
25513 @endif target-gperf
25515 .PHONY: install-target-gperf maybe-install-target-gperf
25516 maybe-install-target-gperf:
25517 @if target-gperf
25518 maybe-install-target-gperf: install-target-gperf
25520 install-target-gperf: installdirs
25521 @r=`${PWD_COMMAND}`; export r; \
25522 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25523 $(SET_LIB_PATH) \
25524 $(NORMAL_TARGET_EXPORTS) \
25525 (cd $(TARGET_SUBDIR)/gperf && \
25526 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
25528 @endif target-gperf
25530 # Other targets (info, dvi, etc.)
25532 .PHONY: maybe-info-target-gperf info-target-gperf
25533 maybe-info-target-gperf:
25534 @if target-gperf
25535 maybe-info-target-gperf: info-target-gperf
25537 info-target-gperf: \
25538 configure-target-gperf
25539 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
25540 r=`${PWD_COMMAND}`; export r; \
25541 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25542 $(SET_LIB_PATH) \
25543 $(NORMAL_TARGET_EXPORTS) \
25544 echo "Doing info in $(TARGET_SUBDIR)/gperf" ; \
25545 for flag in $(EXTRA_TARGET_FLAGS); do \
25546 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25547 done; \
25548 (cd $(TARGET_SUBDIR)/gperf && \
25549 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25550 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25551 "RANLIB=$${RANLIB}" \
25552 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25553 info) \
25554 || exit 1
25556 @endif target-gperf
25558 .PHONY: maybe-dvi-target-gperf dvi-target-gperf
25559 maybe-dvi-target-gperf:
25560 @if target-gperf
25561 maybe-dvi-target-gperf: dvi-target-gperf
25563 dvi-target-gperf: \
25564 configure-target-gperf
25565 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
25566 r=`${PWD_COMMAND}`; export r; \
25567 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25568 $(SET_LIB_PATH) \
25569 $(NORMAL_TARGET_EXPORTS) \
25570 echo "Doing dvi in $(TARGET_SUBDIR)/gperf" ; \
25571 for flag in $(EXTRA_TARGET_FLAGS); do \
25572 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25573 done; \
25574 (cd $(TARGET_SUBDIR)/gperf && \
25575 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25576 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25577 "RANLIB=$${RANLIB}" \
25578 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25579 dvi) \
25580 || exit 1
25582 @endif target-gperf
25584 .PHONY: maybe-TAGS-target-gperf TAGS-target-gperf
25585 maybe-TAGS-target-gperf:
25586 @if target-gperf
25587 maybe-TAGS-target-gperf: TAGS-target-gperf
25589 TAGS-target-gperf: \
25590 configure-target-gperf
25591 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
25592 r=`${PWD_COMMAND}`; export r; \
25593 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25594 $(SET_LIB_PATH) \
25595 $(NORMAL_TARGET_EXPORTS) \
25596 echo "Doing TAGS in $(TARGET_SUBDIR)/gperf" ; \
25597 for flag in $(EXTRA_TARGET_FLAGS); do \
25598 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25599 done; \
25600 (cd $(TARGET_SUBDIR)/gperf && \
25601 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25602 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25603 "RANLIB=$${RANLIB}" \
25604 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25605 TAGS) \
25606 || exit 1
25608 @endif target-gperf
25610 .PHONY: maybe-install-info-target-gperf install-info-target-gperf
25611 maybe-install-info-target-gperf:
25612 @if target-gperf
25613 maybe-install-info-target-gperf: install-info-target-gperf
25615 install-info-target-gperf: \
25616 configure-target-gperf \
25617 info-target-gperf
25618 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
25619 r=`${PWD_COMMAND}`; export r; \
25620 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25621 $(SET_LIB_PATH) \
25622 $(NORMAL_TARGET_EXPORTS) \
25623 echo "Doing install-info in $(TARGET_SUBDIR)/gperf" ; \
25624 for flag in $(EXTRA_TARGET_FLAGS); do \
25625 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25626 done; \
25627 (cd $(TARGET_SUBDIR)/gperf && \
25628 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25629 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25630 "RANLIB=$${RANLIB}" \
25631 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25632 install-info) \
25633 || exit 1
25635 @endif target-gperf
25637 .PHONY: maybe-installcheck-target-gperf installcheck-target-gperf
25638 maybe-installcheck-target-gperf:
25639 @if target-gperf
25640 maybe-installcheck-target-gperf: installcheck-target-gperf
25642 installcheck-target-gperf: \
25643 configure-target-gperf
25644 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
25645 r=`${PWD_COMMAND}`; export r; \
25646 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25647 $(SET_LIB_PATH) \
25648 $(NORMAL_TARGET_EXPORTS) \
25649 echo "Doing installcheck in $(TARGET_SUBDIR)/gperf" ; \
25650 for flag in $(EXTRA_TARGET_FLAGS); do \
25651 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25652 done; \
25653 (cd $(TARGET_SUBDIR)/gperf && \
25654 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25655 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25656 "RANLIB=$${RANLIB}" \
25657 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25658 installcheck) \
25659 || exit 1
25661 @endif target-gperf
25663 .PHONY: maybe-mostlyclean-target-gperf mostlyclean-target-gperf
25664 maybe-mostlyclean-target-gperf:
25665 @if target-gperf
25666 maybe-mostlyclean-target-gperf: mostlyclean-target-gperf
25668 mostlyclean-target-gperf:
25669 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
25670 r=`${PWD_COMMAND}`; export r; \
25671 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25672 $(SET_LIB_PATH) \
25673 $(NORMAL_TARGET_EXPORTS) \
25674 echo "Doing mostlyclean in $(TARGET_SUBDIR)/gperf" ; \
25675 for flag in $(EXTRA_TARGET_FLAGS); do \
25676 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25677 done; \
25678 (cd $(TARGET_SUBDIR)/gperf && \
25679 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25680 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25681 "RANLIB=$${RANLIB}" \
25682 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25683 mostlyclean) \
25684 || exit 1
25686 @endif target-gperf
25688 .PHONY: maybe-clean-target-gperf clean-target-gperf
25689 maybe-clean-target-gperf:
25690 @if target-gperf
25691 maybe-clean-target-gperf: clean-target-gperf
25693 clean-target-gperf:
25694 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
25695 r=`${PWD_COMMAND}`; export r; \
25696 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25697 $(SET_LIB_PATH) \
25698 $(NORMAL_TARGET_EXPORTS) \
25699 echo "Doing clean in $(TARGET_SUBDIR)/gperf" ; \
25700 for flag in $(EXTRA_TARGET_FLAGS); do \
25701 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25702 done; \
25703 (cd $(TARGET_SUBDIR)/gperf && \
25704 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25705 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25706 "RANLIB=$${RANLIB}" \
25707 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25708 clean) \
25709 || exit 1
25711 @endif target-gperf
25713 .PHONY: maybe-distclean-target-gperf distclean-target-gperf
25714 maybe-distclean-target-gperf:
25715 @if target-gperf
25716 maybe-distclean-target-gperf: distclean-target-gperf
25718 distclean-target-gperf:
25719 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
25720 r=`${PWD_COMMAND}`; export r; \
25721 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25722 $(SET_LIB_PATH) \
25723 $(NORMAL_TARGET_EXPORTS) \
25724 echo "Doing distclean in $(TARGET_SUBDIR)/gperf" ; \
25725 for flag in $(EXTRA_TARGET_FLAGS); do \
25726 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25727 done; \
25728 (cd $(TARGET_SUBDIR)/gperf && \
25729 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25730 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25731 "RANLIB=$${RANLIB}" \
25732 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25733 distclean) \
25734 || exit 1
25736 @endif target-gperf
25738 .PHONY: maybe-maintainer-clean-target-gperf maintainer-clean-target-gperf
25739 maybe-maintainer-clean-target-gperf:
25740 @if target-gperf
25741 maybe-maintainer-clean-target-gperf: maintainer-clean-target-gperf
25743 maintainer-clean-target-gperf:
25744 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
25745 r=`${PWD_COMMAND}`; export r; \
25746 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25747 $(SET_LIB_PATH) \
25748 $(NORMAL_TARGET_EXPORTS) \
25749 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/gperf" ; \
25750 for flag in $(EXTRA_TARGET_FLAGS); do \
25751 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25752 done; \
25753 (cd $(TARGET_SUBDIR)/gperf && \
25754 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25755 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25756 "RANLIB=$${RANLIB}" \
25757 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25758 maintainer-clean) \
25759 || exit 1
25761 @endif target-gperf
25764 .PHONY: configure-target-examples maybe-configure-target-examples
25765 maybe-configure-target-examples:
25766 @if target-examples
25767 maybe-configure-target-examples: configure-target-examples
25769 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
25770 $(TARGET_SUBDIR)/examples/multilib.out: multilib.out
25771 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/examples ; \
25772 rm -f $(TARGET_SUBDIR)/examples/Makefile || : ; \
25773 cp multilib.out $(TARGET_SUBDIR)/examples/multilib.out
25775 configure-target-examples: $(TARGET_SUBDIR)/examples/multilib.out
25776 @test ! -f $(TARGET_SUBDIR)/examples/Makefile || exit 0; \
25777 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/examples ; \
25778 r=`${PWD_COMMAND}`; export r; \
25779 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25780 $(SET_LIB_PATH) \
25781 $(NORMAL_TARGET_EXPORTS) \
25782 echo Configuring in $(TARGET_SUBDIR)/examples; \
25783 cd "$(TARGET_SUBDIR)/examples" || exit 1; \
25784 case $(srcdir) in \
25785 /* | [A-Za-z]:[\\/]*) \
25786 topdir=$(srcdir) ;; \
25787 *) \
25788 case "$(TARGET_SUBDIR)" in \
25789 .) topdir="../$(srcdir)" ;; \
25790 *) topdir="../../$(srcdir)" ;; \
25791 esac ;; \
25792 esac; \
25793 srcdiroption="--srcdir=$${topdir}/examples"; \
25794 libsrcdir="$$s/examples"; \
25795 rm -f no-such-file || : ; \
25796 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
25797 $(TARGET_CONFIGARGS) $${srcdiroption} \
25798 --with-target-subdir="$(TARGET_SUBDIR)" \
25799 || exit 1
25800 @endif target-examples
25802 .PHONY: all-target-examples maybe-all-target-examples
25803 maybe-all-target-examples:
25804 @if target-examples
25805 maybe-all-target-examples: all-target-examples
25806 all-target-examples: configure-target-examples
25807 @r=`${PWD_COMMAND}`; export r; \
25808 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25809 $(SET_LIB_PATH) \
25810 $(NORMAL_TARGET_EXPORTS) \
25811 (cd $(TARGET_SUBDIR)/examples && \
25812 $(MAKE) $(TARGET_FLAGS_TO_PASS) all)
25813 @endif target-examples
25815 .PHONY: check-target-examples maybe-check-target-examples
25816 maybe-check-target-examples:
25817 @if target-examples
25818 maybe-check-target-examples: check-target-examples
25820 # Dummy target for uncheckable module.
25821 check-target-examples:
25823 @endif target-examples
25825 .PHONY: install-target-examples maybe-install-target-examples
25826 maybe-install-target-examples:
25827 @if target-examples
25828 maybe-install-target-examples: install-target-examples
25830 # Dummy target for uninstallable.
25831 install-target-examples:
25833 @endif target-examples
25835 # Other targets (info, dvi, etc.)
25837 .PHONY: maybe-info-target-examples info-target-examples
25838 maybe-info-target-examples:
25839 @if target-examples
25840 maybe-info-target-examples: info-target-examples
25842 info-target-examples: \
25843 configure-target-examples
25844 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
25845 r=`${PWD_COMMAND}`; export r; \
25846 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25847 $(SET_LIB_PATH) \
25848 $(NORMAL_TARGET_EXPORTS) \
25849 echo "Doing info in $(TARGET_SUBDIR)/examples" ; \
25850 for flag in $(EXTRA_TARGET_FLAGS); do \
25851 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25852 done; \
25853 (cd $(TARGET_SUBDIR)/examples && \
25854 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25855 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25856 "RANLIB=$${RANLIB}" \
25857 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25858 info) \
25859 || exit 1
25861 @endif target-examples
25863 .PHONY: maybe-dvi-target-examples dvi-target-examples
25864 maybe-dvi-target-examples:
25865 @if target-examples
25866 maybe-dvi-target-examples: dvi-target-examples
25868 dvi-target-examples: \
25869 configure-target-examples
25870 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
25871 r=`${PWD_COMMAND}`; export r; \
25872 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25873 $(SET_LIB_PATH) \
25874 $(NORMAL_TARGET_EXPORTS) \
25875 echo "Doing dvi in $(TARGET_SUBDIR)/examples" ; \
25876 for flag in $(EXTRA_TARGET_FLAGS); do \
25877 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25878 done; \
25879 (cd $(TARGET_SUBDIR)/examples && \
25880 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25881 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25882 "RANLIB=$${RANLIB}" \
25883 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25884 dvi) \
25885 || exit 1
25887 @endif target-examples
25889 .PHONY: maybe-TAGS-target-examples TAGS-target-examples
25890 maybe-TAGS-target-examples:
25891 @if target-examples
25892 maybe-TAGS-target-examples: TAGS-target-examples
25894 TAGS-target-examples: \
25895 configure-target-examples
25896 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
25897 r=`${PWD_COMMAND}`; export r; \
25898 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25899 $(SET_LIB_PATH) \
25900 $(NORMAL_TARGET_EXPORTS) \
25901 echo "Doing TAGS in $(TARGET_SUBDIR)/examples" ; \
25902 for flag in $(EXTRA_TARGET_FLAGS); do \
25903 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25904 done; \
25905 (cd $(TARGET_SUBDIR)/examples && \
25906 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25907 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25908 "RANLIB=$${RANLIB}" \
25909 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25910 TAGS) \
25911 || exit 1
25913 @endif target-examples
25915 .PHONY: maybe-install-info-target-examples install-info-target-examples
25916 maybe-install-info-target-examples:
25917 @if target-examples
25918 maybe-install-info-target-examples: install-info-target-examples
25920 install-info-target-examples: \
25921 configure-target-examples \
25922 info-target-examples
25923 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
25924 r=`${PWD_COMMAND}`; export r; \
25925 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25926 $(SET_LIB_PATH) \
25927 $(NORMAL_TARGET_EXPORTS) \
25928 echo "Doing install-info in $(TARGET_SUBDIR)/examples" ; \
25929 for flag in $(EXTRA_TARGET_FLAGS); do \
25930 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25931 done; \
25932 (cd $(TARGET_SUBDIR)/examples && \
25933 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25934 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25935 "RANLIB=$${RANLIB}" \
25936 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25937 install-info) \
25938 || exit 1
25940 @endif target-examples
25942 .PHONY: maybe-installcheck-target-examples installcheck-target-examples
25943 maybe-installcheck-target-examples:
25944 @if target-examples
25945 maybe-installcheck-target-examples: installcheck-target-examples
25947 installcheck-target-examples: \
25948 configure-target-examples
25949 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
25950 r=`${PWD_COMMAND}`; export r; \
25951 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25952 $(SET_LIB_PATH) \
25953 $(NORMAL_TARGET_EXPORTS) \
25954 echo "Doing installcheck in $(TARGET_SUBDIR)/examples" ; \
25955 for flag in $(EXTRA_TARGET_FLAGS); do \
25956 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25957 done; \
25958 (cd $(TARGET_SUBDIR)/examples && \
25959 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25960 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25961 "RANLIB=$${RANLIB}" \
25962 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25963 installcheck) \
25964 || exit 1
25966 @endif target-examples
25968 .PHONY: maybe-mostlyclean-target-examples mostlyclean-target-examples
25969 maybe-mostlyclean-target-examples:
25970 @if target-examples
25971 maybe-mostlyclean-target-examples: mostlyclean-target-examples
25973 mostlyclean-target-examples:
25974 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
25975 r=`${PWD_COMMAND}`; export r; \
25976 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25977 $(SET_LIB_PATH) \
25978 $(NORMAL_TARGET_EXPORTS) \
25979 echo "Doing mostlyclean in $(TARGET_SUBDIR)/examples" ; \
25980 for flag in $(EXTRA_TARGET_FLAGS); do \
25981 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25982 done; \
25983 (cd $(TARGET_SUBDIR)/examples && \
25984 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25985 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25986 "RANLIB=$${RANLIB}" \
25987 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25988 mostlyclean) \
25989 || exit 1
25991 @endif target-examples
25993 .PHONY: maybe-clean-target-examples clean-target-examples
25994 maybe-clean-target-examples:
25995 @if target-examples
25996 maybe-clean-target-examples: clean-target-examples
25998 clean-target-examples:
25999 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
26000 r=`${PWD_COMMAND}`; export r; \
26001 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26002 $(SET_LIB_PATH) \
26003 $(NORMAL_TARGET_EXPORTS) \
26004 echo "Doing clean in $(TARGET_SUBDIR)/examples" ; \
26005 for flag in $(EXTRA_TARGET_FLAGS); do \
26006 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26007 done; \
26008 (cd $(TARGET_SUBDIR)/examples && \
26009 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26010 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26011 "RANLIB=$${RANLIB}" \
26012 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26013 clean) \
26014 || exit 1
26016 @endif target-examples
26018 .PHONY: maybe-distclean-target-examples distclean-target-examples
26019 maybe-distclean-target-examples:
26020 @if target-examples
26021 maybe-distclean-target-examples: distclean-target-examples
26023 distclean-target-examples:
26024 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
26025 r=`${PWD_COMMAND}`; export r; \
26026 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26027 $(SET_LIB_PATH) \
26028 $(NORMAL_TARGET_EXPORTS) \
26029 echo "Doing distclean in $(TARGET_SUBDIR)/examples" ; \
26030 for flag in $(EXTRA_TARGET_FLAGS); do \
26031 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26032 done; \
26033 (cd $(TARGET_SUBDIR)/examples && \
26034 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26035 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26036 "RANLIB=$${RANLIB}" \
26037 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26038 distclean) \
26039 || exit 1
26041 @endif target-examples
26043 .PHONY: maybe-maintainer-clean-target-examples maintainer-clean-target-examples
26044 maybe-maintainer-clean-target-examples:
26045 @if target-examples
26046 maybe-maintainer-clean-target-examples: maintainer-clean-target-examples
26048 maintainer-clean-target-examples:
26049 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
26050 r=`${PWD_COMMAND}`; export r; \
26051 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26052 $(SET_LIB_PATH) \
26053 $(NORMAL_TARGET_EXPORTS) \
26054 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/examples" ; \
26055 for flag in $(EXTRA_TARGET_FLAGS); do \
26056 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26057 done; \
26058 (cd $(TARGET_SUBDIR)/examples && \
26059 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26060 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26061 "RANLIB=$${RANLIB}" \
26062 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26063 maintainer-clean) \
26064 || exit 1
26066 @endif target-examples
26069 .PHONY: configure-target-libffi maybe-configure-target-libffi
26070 maybe-configure-target-libffi:
26071 @if target-libffi
26072 maybe-configure-target-libffi: configure-target-libffi
26074 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
26075 $(TARGET_SUBDIR)/libffi/multilib.out: multilib.out
26076 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libffi ; \
26077 rm -f $(TARGET_SUBDIR)/libffi/Makefile || : ; \
26078 cp multilib.out $(TARGET_SUBDIR)/libffi/multilib.out
26080 configure-target-libffi: $(TARGET_SUBDIR)/libffi/multilib.out
26081 @test ! -f $(TARGET_SUBDIR)/libffi/Makefile || exit 0; \
26082 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libffi ; \
26083 r=`${PWD_COMMAND}`; export r; \
26084 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26085 $(SET_LIB_PATH) \
26086 $(NORMAL_TARGET_EXPORTS) \
26087 echo Configuring in $(TARGET_SUBDIR)/libffi; \
26088 cd "$(TARGET_SUBDIR)/libffi" || exit 1; \
26089 case $(srcdir) in \
26090 /* | [A-Za-z]:[\\/]*) \
26091 topdir=$(srcdir) ;; \
26092 *) \
26093 case "$(TARGET_SUBDIR)" in \
26094 .) topdir="../$(srcdir)" ;; \
26095 *) topdir="../../$(srcdir)" ;; \
26096 esac ;; \
26097 esac; \
26098 srcdiroption="--srcdir=$${topdir}/libffi"; \
26099 libsrcdir="$$s/libffi"; \
26100 rm -f no-such-file || : ; \
26101 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
26102 $(TARGET_CONFIGARGS) $${srcdiroption} \
26103 --with-target-subdir="$(TARGET_SUBDIR)" \
26104 || exit 1
26105 @endif target-libffi
26107 .PHONY: all-target-libffi maybe-all-target-libffi
26108 maybe-all-target-libffi:
26109 @if target-libffi
26110 maybe-all-target-libffi: all-target-libffi
26111 all-target-libffi: configure-target-libffi
26112 @r=`${PWD_COMMAND}`; export r; \
26113 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26114 $(SET_LIB_PATH) \
26115 $(NORMAL_TARGET_EXPORTS) \
26116 (cd $(TARGET_SUBDIR)/libffi && \
26117 $(MAKE) $(TARGET_FLAGS_TO_PASS) all)
26118 @endif target-libffi
26120 .PHONY: check-target-libffi maybe-check-target-libffi
26121 maybe-check-target-libffi:
26122 @if target-libffi
26123 maybe-check-target-libffi: check-target-libffi
26125 check-target-libffi:
26126 @r=`${PWD_COMMAND}`; export r; \
26127 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26128 $(SET_LIB_PATH) \
26129 $(NORMAL_TARGET_EXPORTS) \
26130 (cd $(TARGET_SUBDIR)/libffi && \
26131 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
26133 @endif target-libffi
26135 .PHONY: install-target-libffi maybe-install-target-libffi
26136 maybe-install-target-libffi:
26137 @if target-libffi
26138 maybe-install-target-libffi: install-target-libffi
26140 install-target-libffi: installdirs
26141 @r=`${PWD_COMMAND}`; export r; \
26142 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26143 $(SET_LIB_PATH) \
26144 $(NORMAL_TARGET_EXPORTS) \
26145 (cd $(TARGET_SUBDIR)/libffi && \
26146 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
26148 @endif target-libffi
26150 # Other targets (info, dvi, etc.)
26152 .PHONY: maybe-info-target-libffi info-target-libffi
26153 maybe-info-target-libffi:
26154 @if target-libffi
26155 maybe-info-target-libffi: info-target-libffi
26157 info-target-libffi: \
26158 configure-target-libffi
26159 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
26160 r=`${PWD_COMMAND}`; export r; \
26161 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26162 $(SET_LIB_PATH) \
26163 $(NORMAL_TARGET_EXPORTS) \
26164 echo "Doing info in $(TARGET_SUBDIR)/libffi" ; \
26165 for flag in $(EXTRA_TARGET_FLAGS); do \
26166 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26167 done; \
26168 (cd $(TARGET_SUBDIR)/libffi && \
26169 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26170 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26171 "RANLIB=$${RANLIB}" \
26172 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26173 info) \
26174 || exit 1
26176 @endif target-libffi
26178 .PHONY: maybe-dvi-target-libffi dvi-target-libffi
26179 maybe-dvi-target-libffi:
26180 @if target-libffi
26181 maybe-dvi-target-libffi: dvi-target-libffi
26183 dvi-target-libffi: \
26184 configure-target-libffi
26185 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
26186 r=`${PWD_COMMAND}`; export r; \
26187 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26188 $(SET_LIB_PATH) \
26189 $(NORMAL_TARGET_EXPORTS) \
26190 echo "Doing dvi in $(TARGET_SUBDIR)/libffi" ; \
26191 for flag in $(EXTRA_TARGET_FLAGS); do \
26192 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26193 done; \
26194 (cd $(TARGET_SUBDIR)/libffi && \
26195 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26196 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26197 "RANLIB=$${RANLIB}" \
26198 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26199 dvi) \
26200 || exit 1
26202 @endif target-libffi
26204 .PHONY: maybe-TAGS-target-libffi TAGS-target-libffi
26205 maybe-TAGS-target-libffi:
26206 @if target-libffi
26207 maybe-TAGS-target-libffi: TAGS-target-libffi
26209 TAGS-target-libffi: \
26210 configure-target-libffi
26211 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
26212 r=`${PWD_COMMAND}`; export r; \
26213 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26214 $(SET_LIB_PATH) \
26215 $(NORMAL_TARGET_EXPORTS) \
26216 echo "Doing TAGS in $(TARGET_SUBDIR)/libffi" ; \
26217 for flag in $(EXTRA_TARGET_FLAGS); do \
26218 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26219 done; \
26220 (cd $(TARGET_SUBDIR)/libffi && \
26221 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26222 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26223 "RANLIB=$${RANLIB}" \
26224 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26225 TAGS) \
26226 || exit 1
26228 @endif target-libffi
26230 .PHONY: maybe-install-info-target-libffi install-info-target-libffi
26231 maybe-install-info-target-libffi:
26232 @if target-libffi
26233 maybe-install-info-target-libffi: install-info-target-libffi
26235 install-info-target-libffi: \
26236 configure-target-libffi \
26237 info-target-libffi
26238 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
26239 r=`${PWD_COMMAND}`; export r; \
26240 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26241 $(SET_LIB_PATH) \
26242 $(NORMAL_TARGET_EXPORTS) \
26243 echo "Doing install-info in $(TARGET_SUBDIR)/libffi" ; \
26244 for flag in $(EXTRA_TARGET_FLAGS); do \
26245 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26246 done; \
26247 (cd $(TARGET_SUBDIR)/libffi && \
26248 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26249 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26250 "RANLIB=$${RANLIB}" \
26251 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26252 install-info) \
26253 || exit 1
26255 @endif target-libffi
26257 .PHONY: maybe-installcheck-target-libffi installcheck-target-libffi
26258 maybe-installcheck-target-libffi:
26259 @if target-libffi
26260 maybe-installcheck-target-libffi: installcheck-target-libffi
26262 installcheck-target-libffi: \
26263 configure-target-libffi
26264 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
26265 r=`${PWD_COMMAND}`; export r; \
26266 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26267 $(SET_LIB_PATH) \
26268 $(NORMAL_TARGET_EXPORTS) \
26269 echo "Doing installcheck in $(TARGET_SUBDIR)/libffi" ; \
26270 for flag in $(EXTRA_TARGET_FLAGS); do \
26271 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26272 done; \
26273 (cd $(TARGET_SUBDIR)/libffi && \
26274 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26275 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26276 "RANLIB=$${RANLIB}" \
26277 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26278 installcheck) \
26279 || exit 1
26281 @endif target-libffi
26283 .PHONY: maybe-mostlyclean-target-libffi mostlyclean-target-libffi
26284 maybe-mostlyclean-target-libffi:
26285 @if target-libffi
26286 maybe-mostlyclean-target-libffi: mostlyclean-target-libffi
26288 mostlyclean-target-libffi:
26289 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
26290 r=`${PWD_COMMAND}`; export r; \
26291 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26292 $(SET_LIB_PATH) \
26293 $(NORMAL_TARGET_EXPORTS) \
26294 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libffi" ; \
26295 for flag in $(EXTRA_TARGET_FLAGS); do \
26296 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26297 done; \
26298 (cd $(TARGET_SUBDIR)/libffi && \
26299 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26300 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26301 "RANLIB=$${RANLIB}" \
26302 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26303 mostlyclean) \
26304 || exit 1
26306 @endif target-libffi
26308 .PHONY: maybe-clean-target-libffi clean-target-libffi
26309 maybe-clean-target-libffi:
26310 @if target-libffi
26311 maybe-clean-target-libffi: clean-target-libffi
26313 clean-target-libffi:
26314 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
26315 r=`${PWD_COMMAND}`; export r; \
26316 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26317 $(SET_LIB_PATH) \
26318 $(NORMAL_TARGET_EXPORTS) \
26319 echo "Doing clean in $(TARGET_SUBDIR)/libffi" ; \
26320 for flag in $(EXTRA_TARGET_FLAGS); do \
26321 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26322 done; \
26323 (cd $(TARGET_SUBDIR)/libffi && \
26324 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26325 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26326 "RANLIB=$${RANLIB}" \
26327 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26328 clean) \
26329 || exit 1
26331 @endif target-libffi
26333 .PHONY: maybe-distclean-target-libffi distclean-target-libffi
26334 maybe-distclean-target-libffi:
26335 @if target-libffi
26336 maybe-distclean-target-libffi: distclean-target-libffi
26338 distclean-target-libffi:
26339 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
26340 r=`${PWD_COMMAND}`; export r; \
26341 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26342 $(SET_LIB_PATH) \
26343 $(NORMAL_TARGET_EXPORTS) \
26344 echo "Doing distclean in $(TARGET_SUBDIR)/libffi" ; \
26345 for flag in $(EXTRA_TARGET_FLAGS); do \
26346 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26347 done; \
26348 (cd $(TARGET_SUBDIR)/libffi && \
26349 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26350 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26351 "RANLIB=$${RANLIB}" \
26352 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26353 distclean) \
26354 || exit 1
26356 @endif target-libffi
26358 .PHONY: maybe-maintainer-clean-target-libffi maintainer-clean-target-libffi
26359 maybe-maintainer-clean-target-libffi:
26360 @if target-libffi
26361 maybe-maintainer-clean-target-libffi: maintainer-clean-target-libffi
26363 maintainer-clean-target-libffi:
26364 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
26365 r=`${PWD_COMMAND}`; export r; \
26366 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26367 $(SET_LIB_PATH) \
26368 $(NORMAL_TARGET_EXPORTS) \
26369 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libffi" ; \
26370 for flag in $(EXTRA_TARGET_FLAGS); do \
26371 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26372 done; \
26373 (cd $(TARGET_SUBDIR)/libffi && \
26374 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26375 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26376 "RANLIB=$${RANLIB}" \
26377 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26378 maintainer-clean) \
26379 || exit 1
26381 @endif target-libffi
26384 .PHONY: configure-target-libjava maybe-configure-target-libjava
26385 maybe-configure-target-libjava:
26386 @if target-libjava
26387 maybe-configure-target-libjava: configure-target-libjava
26389 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
26390 $(TARGET_SUBDIR)/libjava/multilib.out: multilib.out
26391 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libjava ; \
26392 rm -f $(TARGET_SUBDIR)/libjava/Makefile || : ; \
26393 cp multilib.out $(TARGET_SUBDIR)/libjava/multilib.out
26395 configure-target-libjava: $(TARGET_SUBDIR)/libjava/multilib.out
26396 @test ! -f $(TARGET_SUBDIR)/libjava/Makefile || exit 0; \
26397 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libjava ; \
26398 r=`${PWD_COMMAND}`; export r; \
26399 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26400 $(SET_LIB_PATH) \
26401 $(RAW_CXX_TARGET_EXPORTS) \
26402 echo Configuring in $(TARGET_SUBDIR)/libjava; \
26403 cd "$(TARGET_SUBDIR)/libjava" || exit 1; \
26404 case $(srcdir) in \
26405 /* | [A-Za-z]:[\\/]*) \
26406 topdir=$(srcdir) ;; \
26407 *) \
26408 case "$(TARGET_SUBDIR)" in \
26409 .) topdir="../$(srcdir)" ;; \
26410 *) topdir="../../$(srcdir)" ;; \
26411 esac ;; \
26412 esac; \
26413 srcdiroption="--srcdir=$${topdir}/libjava"; \
26414 libsrcdir="$$s/libjava"; \
26415 rm -f no-such-file || : ; \
26416 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
26417 $(TARGET_CONFIGARGS) $${srcdiroption} \
26418 --with-target-subdir="$(TARGET_SUBDIR)" \
26419 || exit 1
26420 @endif target-libjava
26422 .PHONY: all-target-libjava maybe-all-target-libjava
26423 maybe-all-target-libjava:
26424 @if target-libjava
26425 maybe-all-target-libjava: all-target-libjava
26426 all-target-libjava: configure-target-libjava
26427 @r=`${PWD_COMMAND}`; export r; \
26428 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26429 $(SET_LIB_PATH) \
26430 $(RAW_CXX_TARGET_EXPORTS) \
26431 (cd $(TARGET_SUBDIR)/libjava && \
26432 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' all)
26433 @endif target-libjava
26435 .PHONY: check-target-libjava maybe-check-target-libjava
26436 maybe-check-target-libjava:
26437 @if target-libjava
26438 maybe-check-target-libjava: check-target-libjava
26440 check-target-libjava:
26441 @r=`${PWD_COMMAND}`; export r; \
26442 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26443 $(SET_LIB_PATH) \
26444 $(RAW_CXX_TARGET_EXPORTS) \
26445 (cd $(TARGET_SUBDIR)/libjava && \
26446 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' check)
26448 @endif target-libjava
26450 .PHONY: install-target-libjava maybe-install-target-libjava
26451 maybe-install-target-libjava:
26452 @if target-libjava
26453 maybe-install-target-libjava: install-target-libjava
26455 install-target-libjava: installdirs
26456 @r=`${PWD_COMMAND}`; export r; \
26457 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26458 $(SET_LIB_PATH) \
26459 $(RAW_CXX_TARGET_EXPORTS) \
26460 (cd $(TARGET_SUBDIR)/libjava && \
26461 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
26463 @endif target-libjava
26465 # Other targets (info, dvi, etc.)
26467 .PHONY: maybe-info-target-libjava info-target-libjava
26468 maybe-info-target-libjava:
26469 @if target-libjava
26470 maybe-info-target-libjava: info-target-libjava
26472 info-target-libjava: \
26473 configure-target-libjava
26474 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
26475 r=`${PWD_COMMAND}`; export r; \
26476 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26477 $(SET_LIB_PATH) \
26478 $(RAW_CXX_TARGET_EXPORTS) \
26479 echo "Doing info in $(TARGET_SUBDIR)/libjava" ; \
26480 for flag in $(EXTRA_TARGET_FLAGS); do \
26481 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26482 done; \
26483 (cd $(TARGET_SUBDIR)/libjava && \
26484 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26485 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26486 "RANLIB=$${RANLIB}" \
26487 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26488 info) \
26489 || exit 1
26491 @endif target-libjava
26493 .PHONY: maybe-dvi-target-libjava dvi-target-libjava
26494 maybe-dvi-target-libjava:
26495 @if target-libjava
26496 maybe-dvi-target-libjava: dvi-target-libjava
26498 dvi-target-libjava: \
26499 configure-target-libjava
26500 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
26501 r=`${PWD_COMMAND}`; export r; \
26502 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26503 $(SET_LIB_PATH) \
26504 $(RAW_CXX_TARGET_EXPORTS) \
26505 echo "Doing dvi in $(TARGET_SUBDIR)/libjava" ; \
26506 for flag in $(EXTRA_TARGET_FLAGS); do \
26507 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26508 done; \
26509 (cd $(TARGET_SUBDIR)/libjava && \
26510 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26511 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26512 "RANLIB=$${RANLIB}" \
26513 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26514 dvi) \
26515 || exit 1
26517 @endif target-libjava
26519 .PHONY: maybe-TAGS-target-libjava TAGS-target-libjava
26520 maybe-TAGS-target-libjava:
26521 @if target-libjava
26522 maybe-TAGS-target-libjava: TAGS-target-libjava
26524 TAGS-target-libjava: \
26525 configure-target-libjava
26526 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
26527 r=`${PWD_COMMAND}`; export r; \
26528 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26529 $(SET_LIB_PATH) \
26530 $(RAW_CXX_TARGET_EXPORTS) \
26531 echo "Doing TAGS in $(TARGET_SUBDIR)/libjava" ; \
26532 for flag in $(EXTRA_TARGET_FLAGS); do \
26533 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26534 done; \
26535 (cd $(TARGET_SUBDIR)/libjava && \
26536 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26537 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26538 "RANLIB=$${RANLIB}" \
26539 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26540 TAGS) \
26541 || exit 1
26543 @endif target-libjava
26545 .PHONY: maybe-install-info-target-libjava install-info-target-libjava
26546 maybe-install-info-target-libjava:
26547 @if target-libjava
26548 maybe-install-info-target-libjava: install-info-target-libjava
26550 install-info-target-libjava: \
26551 configure-target-libjava \
26552 info-target-libjava
26553 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
26554 r=`${PWD_COMMAND}`; export r; \
26555 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26556 $(SET_LIB_PATH) \
26557 $(RAW_CXX_TARGET_EXPORTS) \
26558 echo "Doing install-info in $(TARGET_SUBDIR)/libjava" ; \
26559 for flag in $(EXTRA_TARGET_FLAGS); do \
26560 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26561 done; \
26562 (cd $(TARGET_SUBDIR)/libjava && \
26563 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26564 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26565 "RANLIB=$${RANLIB}" \
26566 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26567 install-info) \
26568 || exit 1
26570 @endif target-libjava
26572 .PHONY: maybe-installcheck-target-libjava installcheck-target-libjava
26573 maybe-installcheck-target-libjava:
26574 @if target-libjava
26575 maybe-installcheck-target-libjava: installcheck-target-libjava
26577 installcheck-target-libjava: \
26578 configure-target-libjava
26579 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
26580 r=`${PWD_COMMAND}`; export r; \
26581 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26582 $(SET_LIB_PATH) \
26583 $(RAW_CXX_TARGET_EXPORTS) \
26584 echo "Doing installcheck in $(TARGET_SUBDIR)/libjava" ; \
26585 for flag in $(EXTRA_TARGET_FLAGS); do \
26586 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26587 done; \
26588 (cd $(TARGET_SUBDIR)/libjava && \
26589 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26590 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26591 "RANLIB=$${RANLIB}" \
26592 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26593 installcheck) \
26594 || exit 1
26596 @endif target-libjava
26598 .PHONY: maybe-mostlyclean-target-libjava mostlyclean-target-libjava
26599 maybe-mostlyclean-target-libjava:
26600 @if target-libjava
26601 maybe-mostlyclean-target-libjava: mostlyclean-target-libjava
26603 mostlyclean-target-libjava:
26604 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
26605 r=`${PWD_COMMAND}`; export r; \
26606 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26607 $(SET_LIB_PATH) \
26608 $(RAW_CXX_TARGET_EXPORTS) \
26609 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libjava" ; \
26610 for flag in $(EXTRA_TARGET_FLAGS); do \
26611 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26612 done; \
26613 (cd $(TARGET_SUBDIR)/libjava && \
26614 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26615 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26616 "RANLIB=$${RANLIB}" \
26617 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26618 mostlyclean) \
26619 || exit 1
26621 @endif target-libjava
26623 .PHONY: maybe-clean-target-libjava clean-target-libjava
26624 maybe-clean-target-libjava:
26625 @if target-libjava
26626 maybe-clean-target-libjava: clean-target-libjava
26628 clean-target-libjava:
26629 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
26630 r=`${PWD_COMMAND}`; export r; \
26631 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26632 $(SET_LIB_PATH) \
26633 $(RAW_CXX_TARGET_EXPORTS) \
26634 echo "Doing clean in $(TARGET_SUBDIR)/libjava" ; \
26635 for flag in $(EXTRA_TARGET_FLAGS); do \
26636 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26637 done; \
26638 (cd $(TARGET_SUBDIR)/libjava && \
26639 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26640 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26641 "RANLIB=$${RANLIB}" \
26642 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26643 clean) \
26644 || exit 1
26646 @endif target-libjava
26648 .PHONY: maybe-distclean-target-libjava distclean-target-libjava
26649 maybe-distclean-target-libjava:
26650 @if target-libjava
26651 maybe-distclean-target-libjava: distclean-target-libjava
26653 distclean-target-libjava:
26654 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
26655 r=`${PWD_COMMAND}`; export r; \
26656 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26657 $(SET_LIB_PATH) \
26658 $(RAW_CXX_TARGET_EXPORTS) \
26659 echo "Doing distclean in $(TARGET_SUBDIR)/libjava" ; \
26660 for flag in $(EXTRA_TARGET_FLAGS); do \
26661 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26662 done; \
26663 (cd $(TARGET_SUBDIR)/libjava && \
26664 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26665 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26666 "RANLIB=$${RANLIB}" \
26667 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26668 distclean) \
26669 || exit 1
26671 @endif target-libjava
26673 .PHONY: maybe-maintainer-clean-target-libjava maintainer-clean-target-libjava
26674 maybe-maintainer-clean-target-libjava:
26675 @if target-libjava
26676 maybe-maintainer-clean-target-libjava: maintainer-clean-target-libjava
26678 maintainer-clean-target-libjava:
26679 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
26680 r=`${PWD_COMMAND}`; export r; \
26681 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26682 $(SET_LIB_PATH) \
26683 $(RAW_CXX_TARGET_EXPORTS) \
26684 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libjava" ; \
26685 for flag in $(EXTRA_TARGET_FLAGS); do \
26686 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26687 done; \
26688 (cd $(TARGET_SUBDIR)/libjava && \
26689 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26690 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26691 "RANLIB=$${RANLIB}" \
26692 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26693 maintainer-clean) \
26694 || exit 1
26696 @endif target-libjava
26699 .PHONY: configure-target-zlib maybe-configure-target-zlib
26700 maybe-configure-target-zlib:
26701 @if target-zlib
26702 maybe-configure-target-zlib: configure-target-zlib
26704 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
26705 $(TARGET_SUBDIR)/zlib/multilib.out: multilib.out
26706 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/zlib ; \
26707 rm -f $(TARGET_SUBDIR)/zlib/Makefile || : ; \
26708 cp multilib.out $(TARGET_SUBDIR)/zlib/multilib.out
26710 configure-target-zlib: $(TARGET_SUBDIR)/zlib/multilib.out
26711 @test ! -f $(TARGET_SUBDIR)/zlib/Makefile || exit 0; \
26712 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/zlib ; \
26713 r=`${PWD_COMMAND}`; export r; \
26714 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26715 $(SET_LIB_PATH) \
26716 $(NORMAL_TARGET_EXPORTS) \
26717 echo Configuring in $(TARGET_SUBDIR)/zlib; \
26718 cd "$(TARGET_SUBDIR)/zlib" || exit 1; \
26719 case $(srcdir) in \
26720 /* | [A-Za-z]:[\\/]*) \
26721 topdir=$(srcdir) ;; \
26722 *) \
26723 case "$(TARGET_SUBDIR)" in \
26724 .) topdir="../$(srcdir)" ;; \
26725 *) topdir="../../$(srcdir)" ;; \
26726 esac ;; \
26727 esac; \
26728 if [ "$(srcdir)" = "." ] ; then \
26729 if [ "$(TARGET_SUBDIR)" != "." ] ; then \
26730 if $(SHELL) $$s/symlink-tree $${topdir}/zlib "no-such-file" ; then \
26731 if [ -f Makefile ]; then \
26732 if $(MAKE) distclean; then \
26733 true; \
26734 else \
26735 exit 1; \
26736 fi; \
26737 else \
26738 true; \
26739 fi; \
26740 else \
26741 exit 1; \
26742 fi; \
26743 else \
26744 true; \
26745 fi; \
26746 srcdiroption="--srcdir=."; \
26747 libsrcdir="."; \
26748 else \
26749 srcdiroption="--srcdir=$${topdir}/zlib"; \
26750 libsrcdir="$$s/zlib"; \
26751 fi; \
26752 rm -f no-such-file || : ; \
26753 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
26754 $(TARGET_CONFIGARGS) $${srcdiroption} \
26755 --with-target-subdir="$(TARGET_SUBDIR)" \
26756 || exit 1
26757 @endif target-zlib
26759 .PHONY: all-target-zlib maybe-all-target-zlib
26760 maybe-all-target-zlib:
26761 @if target-zlib
26762 maybe-all-target-zlib: all-target-zlib
26763 all-target-zlib: configure-target-zlib
26764 @r=`${PWD_COMMAND}`; export r; \
26765 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26766 $(SET_LIB_PATH) \
26767 $(NORMAL_TARGET_EXPORTS) \
26768 (cd $(TARGET_SUBDIR)/zlib && \
26769 $(MAKE) $(TARGET_FLAGS_TO_PASS) all)
26770 @endif target-zlib
26772 .PHONY: check-target-zlib maybe-check-target-zlib
26773 maybe-check-target-zlib:
26774 @if target-zlib
26775 maybe-check-target-zlib: check-target-zlib
26777 check-target-zlib:
26778 @r=`${PWD_COMMAND}`; export r; \
26779 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26780 $(SET_LIB_PATH) \
26781 $(NORMAL_TARGET_EXPORTS) \
26782 (cd $(TARGET_SUBDIR)/zlib && \
26783 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
26785 @endif target-zlib
26787 .PHONY: install-target-zlib maybe-install-target-zlib
26788 maybe-install-target-zlib:
26789 @if target-zlib
26790 maybe-install-target-zlib: install-target-zlib
26792 install-target-zlib: installdirs
26793 @r=`${PWD_COMMAND}`; export r; \
26794 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26795 $(SET_LIB_PATH) \
26796 $(NORMAL_TARGET_EXPORTS) \
26797 (cd $(TARGET_SUBDIR)/zlib && \
26798 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
26800 @endif target-zlib
26802 # Other targets (info, dvi, etc.)
26804 .PHONY: maybe-info-target-zlib info-target-zlib
26805 maybe-info-target-zlib:
26806 @if target-zlib
26807 maybe-info-target-zlib: info-target-zlib
26809 info-target-zlib: \
26810 configure-target-zlib
26811 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
26812 r=`${PWD_COMMAND}`; export r; \
26813 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26814 $(SET_LIB_PATH) \
26815 $(NORMAL_TARGET_EXPORTS) \
26816 echo "Doing info in $(TARGET_SUBDIR)/zlib" ; \
26817 for flag in $(EXTRA_TARGET_FLAGS); do \
26818 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26819 done; \
26820 (cd $(TARGET_SUBDIR)/zlib && \
26821 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26822 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26823 "RANLIB=$${RANLIB}" \
26824 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26825 info) \
26826 || exit 1
26828 @endif target-zlib
26830 .PHONY: maybe-dvi-target-zlib dvi-target-zlib
26831 maybe-dvi-target-zlib:
26832 @if target-zlib
26833 maybe-dvi-target-zlib: dvi-target-zlib
26835 dvi-target-zlib: \
26836 configure-target-zlib
26837 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
26838 r=`${PWD_COMMAND}`; export r; \
26839 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26840 $(SET_LIB_PATH) \
26841 $(NORMAL_TARGET_EXPORTS) \
26842 echo "Doing dvi in $(TARGET_SUBDIR)/zlib" ; \
26843 for flag in $(EXTRA_TARGET_FLAGS); do \
26844 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26845 done; \
26846 (cd $(TARGET_SUBDIR)/zlib && \
26847 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26848 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26849 "RANLIB=$${RANLIB}" \
26850 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26851 dvi) \
26852 || exit 1
26854 @endif target-zlib
26856 .PHONY: maybe-TAGS-target-zlib TAGS-target-zlib
26857 maybe-TAGS-target-zlib:
26858 @if target-zlib
26859 maybe-TAGS-target-zlib: TAGS-target-zlib
26861 TAGS-target-zlib: \
26862 configure-target-zlib
26863 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
26864 r=`${PWD_COMMAND}`; export r; \
26865 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26866 $(SET_LIB_PATH) \
26867 $(NORMAL_TARGET_EXPORTS) \
26868 echo "Doing TAGS in $(TARGET_SUBDIR)/zlib" ; \
26869 for flag in $(EXTRA_TARGET_FLAGS); do \
26870 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26871 done; \
26872 (cd $(TARGET_SUBDIR)/zlib && \
26873 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26874 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26875 "RANLIB=$${RANLIB}" \
26876 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26877 TAGS) \
26878 || exit 1
26880 @endif target-zlib
26882 .PHONY: maybe-install-info-target-zlib install-info-target-zlib
26883 maybe-install-info-target-zlib:
26884 @if target-zlib
26885 maybe-install-info-target-zlib: install-info-target-zlib
26887 install-info-target-zlib: \
26888 configure-target-zlib \
26889 info-target-zlib
26890 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
26891 r=`${PWD_COMMAND}`; export r; \
26892 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26893 $(SET_LIB_PATH) \
26894 $(NORMAL_TARGET_EXPORTS) \
26895 echo "Doing install-info in $(TARGET_SUBDIR)/zlib" ; \
26896 for flag in $(EXTRA_TARGET_FLAGS); do \
26897 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26898 done; \
26899 (cd $(TARGET_SUBDIR)/zlib && \
26900 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26901 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26902 "RANLIB=$${RANLIB}" \
26903 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26904 install-info) \
26905 || exit 1
26907 @endif target-zlib
26909 .PHONY: maybe-installcheck-target-zlib installcheck-target-zlib
26910 maybe-installcheck-target-zlib:
26911 @if target-zlib
26912 maybe-installcheck-target-zlib: installcheck-target-zlib
26914 installcheck-target-zlib: \
26915 configure-target-zlib
26916 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
26917 r=`${PWD_COMMAND}`; export r; \
26918 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26919 $(SET_LIB_PATH) \
26920 $(NORMAL_TARGET_EXPORTS) \
26921 echo "Doing installcheck in $(TARGET_SUBDIR)/zlib" ; \
26922 for flag in $(EXTRA_TARGET_FLAGS); do \
26923 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26924 done; \
26925 (cd $(TARGET_SUBDIR)/zlib && \
26926 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26927 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26928 "RANLIB=$${RANLIB}" \
26929 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26930 installcheck) \
26931 || exit 1
26933 @endif target-zlib
26935 .PHONY: maybe-mostlyclean-target-zlib mostlyclean-target-zlib
26936 maybe-mostlyclean-target-zlib:
26937 @if target-zlib
26938 maybe-mostlyclean-target-zlib: mostlyclean-target-zlib
26940 mostlyclean-target-zlib:
26941 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
26942 r=`${PWD_COMMAND}`; export r; \
26943 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26944 $(SET_LIB_PATH) \
26945 $(NORMAL_TARGET_EXPORTS) \
26946 echo "Doing mostlyclean in $(TARGET_SUBDIR)/zlib" ; \
26947 for flag in $(EXTRA_TARGET_FLAGS); do \
26948 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26949 done; \
26950 (cd $(TARGET_SUBDIR)/zlib && \
26951 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26952 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26953 "RANLIB=$${RANLIB}" \
26954 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26955 mostlyclean) \
26956 || exit 1
26958 @endif target-zlib
26960 .PHONY: maybe-clean-target-zlib clean-target-zlib
26961 maybe-clean-target-zlib:
26962 @if target-zlib
26963 maybe-clean-target-zlib: clean-target-zlib
26965 clean-target-zlib:
26966 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
26967 r=`${PWD_COMMAND}`; export r; \
26968 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26969 $(SET_LIB_PATH) \
26970 $(NORMAL_TARGET_EXPORTS) \
26971 echo "Doing clean in $(TARGET_SUBDIR)/zlib" ; \
26972 for flag in $(EXTRA_TARGET_FLAGS); do \
26973 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26974 done; \
26975 (cd $(TARGET_SUBDIR)/zlib && \
26976 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26977 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26978 "RANLIB=$${RANLIB}" \
26979 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26980 clean) \
26981 || exit 1
26983 @endif target-zlib
26985 .PHONY: maybe-distclean-target-zlib distclean-target-zlib
26986 maybe-distclean-target-zlib:
26987 @if target-zlib
26988 maybe-distclean-target-zlib: distclean-target-zlib
26990 distclean-target-zlib:
26991 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
26992 r=`${PWD_COMMAND}`; export r; \
26993 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26994 $(SET_LIB_PATH) \
26995 $(NORMAL_TARGET_EXPORTS) \
26996 echo "Doing distclean in $(TARGET_SUBDIR)/zlib" ; \
26997 for flag in $(EXTRA_TARGET_FLAGS); do \
26998 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26999 done; \
27000 (cd $(TARGET_SUBDIR)/zlib && \
27001 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27002 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27003 "RANLIB=$${RANLIB}" \
27004 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27005 distclean) \
27006 || exit 1
27008 @endif target-zlib
27010 .PHONY: maybe-maintainer-clean-target-zlib maintainer-clean-target-zlib
27011 maybe-maintainer-clean-target-zlib:
27012 @if target-zlib
27013 maybe-maintainer-clean-target-zlib: maintainer-clean-target-zlib
27015 maintainer-clean-target-zlib:
27016 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
27017 r=`${PWD_COMMAND}`; export r; \
27018 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27019 $(SET_LIB_PATH) \
27020 $(NORMAL_TARGET_EXPORTS) \
27021 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/zlib" ; \
27022 for flag in $(EXTRA_TARGET_FLAGS); do \
27023 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27024 done; \
27025 (cd $(TARGET_SUBDIR)/zlib && \
27026 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27027 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27028 "RANLIB=$${RANLIB}" \
27029 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27030 maintainer-clean) \
27031 || exit 1
27033 @endif target-zlib
27036 .PHONY: configure-target-boehm-gc maybe-configure-target-boehm-gc
27037 maybe-configure-target-boehm-gc:
27038 @if target-boehm-gc
27039 maybe-configure-target-boehm-gc: configure-target-boehm-gc
27041 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
27042 $(TARGET_SUBDIR)/boehm-gc/multilib.out: multilib.out
27043 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/boehm-gc ; \
27044 rm -f $(TARGET_SUBDIR)/boehm-gc/Makefile || : ; \
27045 cp multilib.out $(TARGET_SUBDIR)/boehm-gc/multilib.out
27047 configure-target-boehm-gc: $(TARGET_SUBDIR)/boehm-gc/multilib.out
27048 @test ! -f $(TARGET_SUBDIR)/boehm-gc/Makefile || exit 0; \
27049 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/boehm-gc ; \
27050 r=`${PWD_COMMAND}`; export r; \
27051 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27052 $(SET_LIB_PATH) \
27053 $(NORMAL_TARGET_EXPORTS) \
27054 echo Configuring in $(TARGET_SUBDIR)/boehm-gc; \
27055 cd "$(TARGET_SUBDIR)/boehm-gc" || exit 1; \
27056 case $(srcdir) in \
27057 /* | [A-Za-z]:[\\/]*) \
27058 topdir=$(srcdir) ;; \
27059 *) \
27060 case "$(TARGET_SUBDIR)" in \
27061 .) topdir="../$(srcdir)" ;; \
27062 *) topdir="../../$(srcdir)" ;; \
27063 esac ;; \
27064 esac; \
27065 srcdiroption="--srcdir=$${topdir}/boehm-gc"; \
27066 libsrcdir="$$s/boehm-gc"; \
27067 rm -f no-such-file || : ; \
27068 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
27069 $(TARGET_CONFIGARGS) $${srcdiroption} \
27070 --with-target-subdir="$(TARGET_SUBDIR)" \
27071 || exit 1
27072 @endif target-boehm-gc
27074 .PHONY: all-target-boehm-gc maybe-all-target-boehm-gc
27075 maybe-all-target-boehm-gc:
27076 @if target-boehm-gc
27077 maybe-all-target-boehm-gc: all-target-boehm-gc
27078 all-target-boehm-gc: configure-target-boehm-gc
27079 @r=`${PWD_COMMAND}`; export r; \
27080 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27081 $(SET_LIB_PATH) \
27082 $(NORMAL_TARGET_EXPORTS) \
27083 (cd $(TARGET_SUBDIR)/boehm-gc && \
27084 $(MAKE) $(TARGET_FLAGS_TO_PASS) all)
27085 @endif target-boehm-gc
27087 .PHONY: check-target-boehm-gc maybe-check-target-boehm-gc
27088 maybe-check-target-boehm-gc:
27089 @if target-boehm-gc
27090 maybe-check-target-boehm-gc: check-target-boehm-gc
27092 check-target-boehm-gc:
27093 @r=`${PWD_COMMAND}`; export r; \
27094 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27095 $(SET_LIB_PATH) \
27096 $(NORMAL_TARGET_EXPORTS) \
27097 (cd $(TARGET_SUBDIR)/boehm-gc && \
27098 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
27100 @endif target-boehm-gc
27102 .PHONY: install-target-boehm-gc maybe-install-target-boehm-gc
27103 maybe-install-target-boehm-gc:
27104 @if target-boehm-gc
27105 maybe-install-target-boehm-gc: install-target-boehm-gc
27107 install-target-boehm-gc: installdirs
27108 @r=`${PWD_COMMAND}`; export r; \
27109 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27110 $(SET_LIB_PATH) \
27111 $(NORMAL_TARGET_EXPORTS) \
27112 (cd $(TARGET_SUBDIR)/boehm-gc && \
27113 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
27115 @endif target-boehm-gc
27117 # Other targets (info, dvi, etc.)
27119 .PHONY: maybe-info-target-boehm-gc info-target-boehm-gc
27120 maybe-info-target-boehm-gc:
27121 @if target-boehm-gc
27122 maybe-info-target-boehm-gc: info-target-boehm-gc
27124 info-target-boehm-gc: \
27125 configure-target-boehm-gc
27126 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
27127 r=`${PWD_COMMAND}`; export r; \
27128 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27129 $(SET_LIB_PATH) \
27130 $(NORMAL_TARGET_EXPORTS) \
27131 echo "Doing info in $(TARGET_SUBDIR)/boehm-gc" ; \
27132 for flag in $(EXTRA_TARGET_FLAGS); do \
27133 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27134 done; \
27135 (cd $(TARGET_SUBDIR)/boehm-gc && \
27136 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27137 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27138 "RANLIB=$${RANLIB}" \
27139 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27140 info) \
27141 || exit 1
27143 @endif target-boehm-gc
27145 .PHONY: maybe-dvi-target-boehm-gc dvi-target-boehm-gc
27146 maybe-dvi-target-boehm-gc:
27147 @if target-boehm-gc
27148 maybe-dvi-target-boehm-gc: dvi-target-boehm-gc
27150 dvi-target-boehm-gc: \
27151 configure-target-boehm-gc
27152 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
27153 r=`${PWD_COMMAND}`; export r; \
27154 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27155 $(SET_LIB_PATH) \
27156 $(NORMAL_TARGET_EXPORTS) \
27157 echo "Doing dvi in $(TARGET_SUBDIR)/boehm-gc" ; \
27158 for flag in $(EXTRA_TARGET_FLAGS); do \
27159 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27160 done; \
27161 (cd $(TARGET_SUBDIR)/boehm-gc && \
27162 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27163 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27164 "RANLIB=$${RANLIB}" \
27165 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27166 dvi) \
27167 || exit 1
27169 @endif target-boehm-gc
27171 .PHONY: maybe-TAGS-target-boehm-gc TAGS-target-boehm-gc
27172 maybe-TAGS-target-boehm-gc:
27173 @if target-boehm-gc
27174 maybe-TAGS-target-boehm-gc: TAGS-target-boehm-gc
27176 TAGS-target-boehm-gc: \
27177 configure-target-boehm-gc
27178 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
27179 r=`${PWD_COMMAND}`; export r; \
27180 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27181 $(SET_LIB_PATH) \
27182 $(NORMAL_TARGET_EXPORTS) \
27183 echo "Doing TAGS in $(TARGET_SUBDIR)/boehm-gc" ; \
27184 for flag in $(EXTRA_TARGET_FLAGS); do \
27185 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27186 done; \
27187 (cd $(TARGET_SUBDIR)/boehm-gc && \
27188 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27189 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27190 "RANLIB=$${RANLIB}" \
27191 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27192 TAGS) \
27193 || exit 1
27195 @endif target-boehm-gc
27197 .PHONY: maybe-install-info-target-boehm-gc install-info-target-boehm-gc
27198 maybe-install-info-target-boehm-gc:
27199 @if target-boehm-gc
27200 maybe-install-info-target-boehm-gc: install-info-target-boehm-gc
27202 install-info-target-boehm-gc: \
27203 configure-target-boehm-gc \
27204 info-target-boehm-gc
27205 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
27206 r=`${PWD_COMMAND}`; export r; \
27207 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27208 $(SET_LIB_PATH) \
27209 $(NORMAL_TARGET_EXPORTS) \
27210 echo "Doing install-info in $(TARGET_SUBDIR)/boehm-gc" ; \
27211 for flag in $(EXTRA_TARGET_FLAGS); do \
27212 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27213 done; \
27214 (cd $(TARGET_SUBDIR)/boehm-gc && \
27215 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27216 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27217 "RANLIB=$${RANLIB}" \
27218 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27219 install-info) \
27220 || exit 1
27222 @endif target-boehm-gc
27224 .PHONY: maybe-installcheck-target-boehm-gc installcheck-target-boehm-gc
27225 maybe-installcheck-target-boehm-gc:
27226 @if target-boehm-gc
27227 maybe-installcheck-target-boehm-gc: installcheck-target-boehm-gc
27229 installcheck-target-boehm-gc: \
27230 configure-target-boehm-gc
27231 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
27232 r=`${PWD_COMMAND}`; export r; \
27233 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27234 $(SET_LIB_PATH) \
27235 $(NORMAL_TARGET_EXPORTS) \
27236 echo "Doing installcheck in $(TARGET_SUBDIR)/boehm-gc" ; \
27237 for flag in $(EXTRA_TARGET_FLAGS); do \
27238 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27239 done; \
27240 (cd $(TARGET_SUBDIR)/boehm-gc && \
27241 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27242 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27243 "RANLIB=$${RANLIB}" \
27244 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27245 installcheck) \
27246 || exit 1
27248 @endif target-boehm-gc
27250 .PHONY: maybe-mostlyclean-target-boehm-gc mostlyclean-target-boehm-gc
27251 maybe-mostlyclean-target-boehm-gc:
27252 @if target-boehm-gc
27253 maybe-mostlyclean-target-boehm-gc: mostlyclean-target-boehm-gc
27255 mostlyclean-target-boehm-gc:
27256 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
27257 r=`${PWD_COMMAND}`; export r; \
27258 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27259 $(SET_LIB_PATH) \
27260 $(NORMAL_TARGET_EXPORTS) \
27261 echo "Doing mostlyclean in $(TARGET_SUBDIR)/boehm-gc" ; \
27262 for flag in $(EXTRA_TARGET_FLAGS); do \
27263 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27264 done; \
27265 (cd $(TARGET_SUBDIR)/boehm-gc && \
27266 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27267 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27268 "RANLIB=$${RANLIB}" \
27269 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27270 mostlyclean) \
27271 || exit 1
27273 @endif target-boehm-gc
27275 .PHONY: maybe-clean-target-boehm-gc clean-target-boehm-gc
27276 maybe-clean-target-boehm-gc:
27277 @if target-boehm-gc
27278 maybe-clean-target-boehm-gc: clean-target-boehm-gc
27280 clean-target-boehm-gc:
27281 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
27282 r=`${PWD_COMMAND}`; export r; \
27283 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27284 $(SET_LIB_PATH) \
27285 $(NORMAL_TARGET_EXPORTS) \
27286 echo "Doing clean in $(TARGET_SUBDIR)/boehm-gc" ; \
27287 for flag in $(EXTRA_TARGET_FLAGS); do \
27288 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27289 done; \
27290 (cd $(TARGET_SUBDIR)/boehm-gc && \
27291 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27292 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27293 "RANLIB=$${RANLIB}" \
27294 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27295 clean) \
27296 || exit 1
27298 @endif target-boehm-gc
27300 .PHONY: maybe-distclean-target-boehm-gc distclean-target-boehm-gc
27301 maybe-distclean-target-boehm-gc:
27302 @if target-boehm-gc
27303 maybe-distclean-target-boehm-gc: distclean-target-boehm-gc
27305 distclean-target-boehm-gc:
27306 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
27307 r=`${PWD_COMMAND}`; export r; \
27308 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27309 $(SET_LIB_PATH) \
27310 $(NORMAL_TARGET_EXPORTS) \
27311 echo "Doing distclean in $(TARGET_SUBDIR)/boehm-gc" ; \
27312 for flag in $(EXTRA_TARGET_FLAGS); do \
27313 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27314 done; \
27315 (cd $(TARGET_SUBDIR)/boehm-gc && \
27316 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27317 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27318 "RANLIB=$${RANLIB}" \
27319 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27320 distclean) \
27321 || exit 1
27323 @endif target-boehm-gc
27325 .PHONY: maybe-maintainer-clean-target-boehm-gc maintainer-clean-target-boehm-gc
27326 maybe-maintainer-clean-target-boehm-gc:
27327 @if target-boehm-gc
27328 maybe-maintainer-clean-target-boehm-gc: maintainer-clean-target-boehm-gc
27330 maintainer-clean-target-boehm-gc:
27331 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
27332 r=`${PWD_COMMAND}`; export r; \
27333 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27334 $(SET_LIB_PATH) \
27335 $(NORMAL_TARGET_EXPORTS) \
27336 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/boehm-gc" ; \
27337 for flag in $(EXTRA_TARGET_FLAGS); do \
27338 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27339 done; \
27340 (cd $(TARGET_SUBDIR)/boehm-gc && \
27341 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27342 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27343 "RANLIB=$${RANLIB}" \
27344 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27345 maintainer-clean) \
27346 || exit 1
27348 @endif target-boehm-gc
27351 .PHONY: configure-target-qthreads maybe-configure-target-qthreads
27352 maybe-configure-target-qthreads:
27353 @if target-qthreads
27354 maybe-configure-target-qthreads: configure-target-qthreads
27356 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
27357 $(TARGET_SUBDIR)/qthreads/multilib.out: multilib.out
27358 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/qthreads ; \
27359 rm -f $(TARGET_SUBDIR)/qthreads/Makefile || : ; \
27360 cp multilib.out $(TARGET_SUBDIR)/qthreads/multilib.out
27362 configure-target-qthreads: $(TARGET_SUBDIR)/qthreads/multilib.out
27363 @test ! -f $(TARGET_SUBDIR)/qthreads/Makefile || exit 0; \
27364 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/qthreads ; \
27365 r=`${PWD_COMMAND}`; export r; \
27366 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27367 $(SET_LIB_PATH) \
27368 $(NORMAL_TARGET_EXPORTS) \
27369 echo Configuring in $(TARGET_SUBDIR)/qthreads; \
27370 cd "$(TARGET_SUBDIR)/qthreads" || exit 1; \
27371 case $(srcdir) in \
27372 /* | [A-Za-z]:[\\/]*) \
27373 topdir=$(srcdir) ;; \
27374 *) \
27375 case "$(TARGET_SUBDIR)" in \
27376 .) topdir="../$(srcdir)" ;; \
27377 *) topdir="../../$(srcdir)" ;; \
27378 esac ;; \
27379 esac; \
27380 srcdiroption="--srcdir=$${topdir}/qthreads"; \
27381 libsrcdir="$$s/qthreads"; \
27382 rm -f no-such-file || : ; \
27383 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
27384 $(TARGET_CONFIGARGS) $${srcdiroption} \
27385 --with-target-subdir="$(TARGET_SUBDIR)" \
27386 || exit 1
27387 @endif target-qthreads
27389 .PHONY: all-target-qthreads maybe-all-target-qthreads
27390 maybe-all-target-qthreads:
27391 @if target-qthreads
27392 maybe-all-target-qthreads: all-target-qthreads
27393 all-target-qthreads: configure-target-qthreads
27394 @r=`${PWD_COMMAND}`; export r; \
27395 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27396 $(SET_LIB_PATH) \
27397 $(NORMAL_TARGET_EXPORTS) \
27398 (cd $(TARGET_SUBDIR)/qthreads && \
27399 $(MAKE) $(TARGET_FLAGS_TO_PASS) all)
27400 @endif target-qthreads
27402 .PHONY: check-target-qthreads maybe-check-target-qthreads
27403 maybe-check-target-qthreads:
27404 @if target-qthreads
27405 maybe-check-target-qthreads: check-target-qthreads
27407 check-target-qthreads:
27408 @r=`${PWD_COMMAND}`; export r; \
27409 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27410 $(SET_LIB_PATH) \
27411 $(NORMAL_TARGET_EXPORTS) \
27412 (cd $(TARGET_SUBDIR)/qthreads && \
27413 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
27415 @endif target-qthreads
27417 .PHONY: install-target-qthreads maybe-install-target-qthreads
27418 maybe-install-target-qthreads:
27419 @if target-qthreads
27420 maybe-install-target-qthreads: install-target-qthreads
27422 install-target-qthreads: installdirs
27423 @r=`${PWD_COMMAND}`; export r; \
27424 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27425 $(SET_LIB_PATH) \
27426 $(NORMAL_TARGET_EXPORTS) \
27427 (cd $(TARGET_SUBDIR)/qthreads && \
27428 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
27430 @endif target-qthreads
27432 # Other targets (info, dvi, etc.)
27434 .PHONY: maybe-info-target-qthreads info-target-qthreads
27435 maybe-info-target-qthreads:
27436 @if target-qthreads
27437 maybe-info-target-qthreads: info-target-qthreads
27439 info-target-qthreads: \
27440 configure-target-qthreads
27441 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
27442 r=`${PWD_COMMAND}`; export r; \
27443 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27444 $(SET_LIB_PATH) \
27445 $(NORMAL_TARGET_EXPORTS) \
27446 echo "Doing info in $(TARGET_SUBDIR)/qthreads" ; \
27447 for flag in $(EXTRA_TARGET_FLAGS); do \
27448 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27449 done; \
27450 (cd $(TARGET_SUBDIR)/qthreads && \
27451 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27452 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27453 "RANLIB=$${RANLIB}" \
27454 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27455 info) \
27456 || exit 1
27458 @endif target-qthreads
27460 .PHONY: maybe-dvi-target-qthreads dvi-target-qthreads
27461 maybe-dvi-target-qthreads:
27462 @if target-qthreads
27463 maybe-dvi-target-qthreads: dvi-target-qthreads
27465 dvi-target-qthreads: \
27466 configure-target-qthreads
27467 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
27468 r=`${PWD_COMMAND}`; export r; \
27469 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27470 $(SET_LIB_PATH) \
27471 $(NORMAL_TARGET_EXPORTS) \
27472 echo "Doing dvi in $(TARGET_SUBDIR)/qthreads" ; \
27473 for flag in $(EXTRA_TARGET_FLAGS); do \
27474 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27475 done; \
27476 (cd $(TARGET_SUBDIR)/qthreads && \
27477 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27478 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27479 "RANLIB=$${RANLIB}" \
27480 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27481 dvi) \
27482 || exit 1
27484 @endif target-qthreads
27486 .PHONY: maybe-TAGS-target-qthreads TAGS-target-qthreads
27487 maybe-TAGS-target-qthreads:
27488 @if target-qthreads
27489 maybe-TAGS-target-qthreads: TAGS-target-qthreads
27491 TAGS-target-qthreads: \
27492 configure-target-qthreads
27493 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
27494 r=`${PWD_COMMAND}`; export r; \
27495 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27496 $(SET_LIB_PATH) \
27497 $(NORMAL_TARGET_EXPORTS) \
27498 echo "Doing TAGS in $(TARGET_SUBDIR)/qthreads" ; \
27499 for flag in $(EXTRA_TARGET_FLAGS); do \
27500 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27501 done; \
27502 (cd $(TARGET_SUBDIR)/qthreads && \
27503 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27504 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27505 "RANLIB=$${RANLIB}" \
27506 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27507 TAGS) \
27508 || exit 1
27510 @endif target-qthreads
27512 .PHONY: maybe-install-info-target-qthreads install-info-target-qthreads
27513 maybe-install-info-target-qthreads:
27514 @if target-qthreads
27515 maybe-install-info-target-qthreads: install-info-target-qthreads
27517 install-info-target-qthreads: \
27518 configure-target-qthreads \
27519 info-target-qthreads
27520 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
27521 r=`${PWD_COMMAND}`; export r; \
27522 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27523 $(SET_LIB_PATH) \
27524 $(NORMAL_TARGET_EXPORTS) \
27525 echo "Doing install-info in $(TARGET_SUBDIR)/qthreads" ; \
27526 for flag in $(EXTRA_TARGET_FLAGS); do \
27527 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27528 done; \
27529 (cd $(TARGET_SUBDIR)/qthreads && \
27530 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27531 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27532 "RANLIB=$${RANLIB}" \
27533 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27534 install-info) \
27535 || exit 1
27537 @endif target-qthreads
27539 .PHONY: maybe-installcheck-target-qthreads installcheck-target-qthreads
27540 maybe-installcheck-target-qthreads:
27541 @if target-qthreads
27542 maybe-installcheck-target-qthreads: installcheck-target-qthreads
27544 installcheck-target-qthreads: \
27545 configure-target-qthreads
27546 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
27547 r=`${PWD_COMMAND}`; export r; \
27548 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27549 $(SET_LIB_PATH) \
27550 $(NORMAL_TARGET_EXPORTS) \
27551 echo "Doing installcheck in $(TARGET_SUBDIR)/qthreads" ; \
27552 for flag in $(EXTRA_TARGET_FLAGS); do \
27553 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27554 done; \
27555 (cd $(TARGET_SUBDIR)/qthreads && \
27556 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27557 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27558 "RANLIB=$${RANLIB}" \
27559 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27560 installcheck) \
27561 || exit 1
27563 @endif target-qthreads
27565 .PHONY: maybe-mostlyclean-target-qthreads mostlyclean-target-qthreads
27566 maybe-mostlyclean-target-qthreads:
27567 @if target-qthreads
27568 maybe-mostlyclean-target-qthreads: mostlyclean-target-qthreads
27570 mostlyclean-target-qthreads:
27571 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
27572 r=`${PWD_COMMAND}`; export r; \
27573 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27574 $(SET_LIB_PATH) \
27575 $(NORMAL_TARGET_EXPORTS) \
27576 echo "Doing mostlyclean in $(TARGET_SUBDIR)/qthreads" ; \
27577 for flag in $(EXTRA_TARGET_FLAGS); do \
27578 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27579 done; \
27580 (cd $(TARGET_SUBDIR)/qthreads && \
27581 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27582 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27583 "RANLIB=$${RANLIB}" \
27584 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27585 mostlyclean) \
27586 || exit 1
27588 @endif target-qthreads
27590 .PHONY: maybe-clean-target-qthreads clean-target-qthreads
27591 maybe-clean-target-qthreads:
27592 @if target-qthreads
27593 maybe-clean-target-qthreads: clean-target-qthreads
27595 clean-target-qthreads:
27596 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
27597 r=`${PWD_COMMAND}`; export r; \
27598 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27599 $(SET_LIB_PATH) \
27600 $(NORMAL_TARGET_EXPORTS) \
27601 echo "Doing clean in $(TARGET_SUBDIR)/qthreads" ; \
27602 for flag in $(EXTRA_TARGET_FLAGS); do \
27603 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27604 done; \
27605 (cd $(TARGET_SUBDIR)/qthreads && \
27606 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27607 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27608 "RANLIB=$${RANLIB}" \
27609 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27610 clean) \
27611 || exit 1
27613 @endif target-qthreads
27615 .PHONY: maybe-distclean-target-qthreads distclean-target-qthreads
27616 maybe-distclean-target-qthreads:
27617 @if target-qthreads
27618 maybe-distclean-target-qthreads: distclean-target-qthreads
27620 distclean-target-qthreads:
27621 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
27622 r=`${PWD_COMMAND}`; export r; \
27623 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27624 $(SET_LIB_PATH) \
27625 $(NORMAL_TARGET_EXPORTS) \
27626 echo "Doing distclean in $(TARGET_SUBDIR)/qthreads" ; \
27627 for flag in $(EXTRA_TARGET_FLAGS); do \
27628 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27629 done; \
27630 (cd $(TARGET_SUBDIR)/qthreads && \
27631 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27632 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27633 "RANLIB=$${RANLIB}" \
27634 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27635 distclean) \
27636 || exit 1
27638 @endif target-qthreads
27640 .PHONY: maybe-maintainer-clean-target-qthreads maintainer-clean-target-qthreads
27641 maybe-maintainer-clean-target-qthreads:
27642 @if target-qthreads
27643 maybe-maintainer-clean-target-qthreads: maintainer-clean-target-qthreads
27645 maintainer-clean-target-qthreads:
27646 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
27647 r=`${PWD_COMMAND}`; export r; \
27648 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27649 $(SET_LIB_PATH) \
27650 $(NORMAL_TARGET_EXPORTS) \
27651 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/qthreads" ; \
27652 for flag in $(EXTRA_TARGET_FLAGS); do \
27653 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27654 done; \
27655 (cd $(TARGET_SUBDIR)/qthreads && \
27656 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27657 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27658 "RANLIB=$${RANLIB}" \
27659 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27660 maintainer-clean) \
27661 || exit 1
27663 @endif target-qthreads
27666 .PHONY: configure-target-rda maybe-configure-target-rda
27667 maybe-configure-target-rda:
27668 @if target-rda
27669 maybe-configure-target-rda: configure-target-rda
27671 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
27672 $(TARGET_SUBDIR)/rda/multilib.out: multilib.out
27673 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/rda ; \
27674 rm -f $(TARGET_SUBDIR)/rda/Makefile || : ; \
27675 cp multilib.out $(TARGET_SUBDIR)/rda/multilib.out
27677 configure-target-rda: $(TARGET_SUBDIR)/rda/multilib.out
27678 @test ! -f $(TARGET_SUBDIR)/rda/Makefile || exit 0; \
27679 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/rda ; \
27680 r=`${PWD_COMMAND}`; export r; \
27681 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27682 $(SET_LIB_PATH) \
27683 $(NORMAL_TARGET_EXPORTS) \
27684 echo Configuring in $(TARGET_SUBDIR)/rda; \
27685 cd "$(TARGET_SUBDIR)/rda" || exit 1; \
27686 case $(srcdir) in \
27687 /* | [A-Za-z]:[\\/]*) \
27688 topdir=$(srcdir) ;; \
27689 *) \
27690 case "$(TARGET_SUBDIR)" in \
27691 .) topdir="../$(srcdir)" ;; \
27692 *) topdir="../../$(srcdir)" ;; \
27693 esac ;; \
27694 esac; \
27695 srcdiroption="--srcdir=$${topdir}/rda"; \
27696 libsrcdir="$$s/rda"; \
27697 rm -f no-such-file || : ; \
27698 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
27699 $(TARGET_CONFIGARGS) $${srcdiroption} \
27700 --with-target-subdir="$(TARGET_SUBDIR)" \
27701 || exit 1
27702 @endif target-rda
27704 .PHONY: all-target-rda maybe-all-target-rda
27705 maybe-all-target-rda:
27706 @if target-rda
27707 maybe-all-target-rda: all-target-rda
27708 all-target-rda: configure-target-rda
27709 @r=`${PWD_COMMAND}`; export r; \
27710 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27711 $(SET_LIB_PATH) \
27712 $(NORMAL_TARGET_EXPORTS) \
27713 (cd $(TARGET_SUBDIR)/rda && \
27714 $(MAKE) $(TARGET_FLAGS_TO_PASS) all)
27715 @endif target-rda
27717 .PHONY: check-target-rda maybe-check-target-rda
27718 maybe-check-target-rda:
27719 @if target-rda
27720 maybe-check-target-rda: check-target-rda
27722 check-target-rda:
27723 @r=`${PWD_COMMAND}`; export r; \
27724 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27725 $(SET_LIB_PATH) \
27726 $(NORMAL_TARGET_EXPORTS) \
27727 (cd $(TARGET_SUBDIR)/rda && \
27728 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
27730 @endif target-rda
27732 .PHONY: install-target-rda maybe-install-target-rda
27733 maybe-install-target-rda:
27734 @if target-rda
27735 maybe-install-target-rda: install-target-rda
27737 install-target-rda: installdirs
27738 @r=`${PWD_COMMAND}`; export r; \
27739 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27740 $(SET_LIB_PATH) \
27741 $(NORMAL_TARGET_EXPORTS) \
27742 (cd $(TARGET_SUBDIR)/rda && \
27743 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
27745 @endif target-rda
27747 # Other targets (info, dvi, etc.)
27749 .PHONY: maybe-info-target-rda info-target-rda
27750 maybe-info-target-rda:
27751 @if target-rda
27752 maybe-info-target-rda: info-target-rda
27754 info-target-rda: \
27755 configure-target-rda
27756 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
27757 r=`${PWD_COMMAND}`; export r; \
27758 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27759 $(SET_LIB_PATH) \
27760 $(NORMAL_TARGET_EXPORTS) \
27761 echo "Doing info in $(TARGET_SUBDIR)/rda" ; \
27762 for flag in $(EXTRA_TARGET_FLAGS); do \
27763 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27764 done; \
27765 (cd $(TARGET_SUBDIR)/rda && \
27766 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27767 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27768 "RANLIB=$${RANLIB}" \
27769 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27770 info) \
27771 || exit 1
27773 @endif target-rda
27775 .PHONY: maybe-dvi-target-rda dvi-target-rda
27776 maybe-dvi-target-rda:
27777 @if target-rda
27778 maybe-dvi-target-rda: dvi-target-rda
27780 dvi-target-rda: \
27781 configure-target-rda
27782 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
27783 r=`${PWD_COMMAND}`; export r; \
27784 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27785 $(SET_LIB_PATH) \
27786 $(NORMAL_TARGET_EXPORTS) \
27787 echo "Doing dvi in $(TARGET_SUBDIR)/rda" ; \
27788 for flag in $(EXTRA_TARGET_FLAGS); do \
27789 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27790 done; \
27791 (cd $(TARGET_SUBDIR)/rda && \
27792 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27793 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27794 "RANLIB=$${RANLIB}" \
27795 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27796 dvi) \
27797 || exit 1
27799 @endif target-rda
27801 .PHONY: maybe-TAGS-target-rda TAGS-target-rda
27802 maybe-TAGS-target-rda:
27803 @if target-rda
27804 maybe-TAGS-target-rda: TAGS-target-rda
27806 TAGS-target-rda: \
27807 configure-target-rda
27808 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
27809 r=`${PWD_COMMAND}`; export r; \
27810 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27811 $(SET_LIB_PATH) \
27812 $(NORMAL_TARGET_EXPORTS) \
27813 echo "Doing TAGS in $(TARGET_SUBDIR)/rda" ; \
27814 for flag in $(EXTRA_TARGET_FLAGS); do \
27815 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27816 done; \
27817 (cd $(TARGET_SUBDIR)/rda && \
27818 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27819 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27820 "RANLIB=$${RANLIB}" \
27821 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27822 TAGS) \
27823 || exit 1
27825 @endif target-rda
27827 .PHONY: maybe-install-info-target-rda install-info-target-rda
27828 maybe-install-info-target-rda:
27829 @if target-rda
27830 maybe-install-info-target-rda: install-info-target-rda
27832 install-info-target-rda: \
27833 configure-target-rda \
27834 info-target-rda
27835 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
27836 r=`${PWD_COMMAND}`; export r; \
27837 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27838 $(SET_LIB_PATH) \
27839 $(NORMAL_TARGET_EXPORTS) \
27840 echo "Doing install-info in $(TARGET_SUBDIR)/rda" ; \
27841 for flag in $(EXTRA_TARGET_FLAGS); do \
27842 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27843 done; \
27844 (cd $(TARGET_SUBDIR)/rda && \
27845 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27846 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27847 "RANLIB=$${RANLIB}" \
27848 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27849 install-info) \
27850 || exit 1
27852 @endif target-rda
27854 .PHONY: maybe-installcheck-target-rda installcheck-target-rda
27855 maybe-installcheck-target-rda:
27856 @if target-rda
27857 maybe-installcheck-target-rda: installcheck-target-rda
27859 installcheck-target-rda: \
27860 configure-target-rda
27861 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
27862 r=`${PWD_COMMAND}`; export r; \
27863 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27864 $(SET_LIB_PATH) \
27865 $(NORMAL_TARGET_EXPORTS) \
27866 echo "Doing installcheck in $(TARGET_SUBDIR)/rda" ; \
27867 for flag in $(EXTRA_TARGET_FLAGS); do \
27868 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27869 done; \
27870 (cd $(TARGET_SUBDIR)/rda && \
27871 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27872 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27873 "RANLIB=$${RANLIB}" \
27874 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27875 installcheck) \
27876 || exit 1
27878 @endif target-rda
27880 .PHONY: maybe-mostlyclean-target-rda mostlyclean-target-rda
27881 maybe-mostlyclean-target-rda:
27882 @if target-rda
27883 maybe-mostlyclean-target-rda: mostlyclean-target-rda
27885 mostlyclean-target-rda:
27886 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
27887 r=`${PWD_COMMAND}`; export r; \
27888 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27889 $(SET_LIB_PATH) \
27890 $(NORMAL_TARGET_EXPORTS) \
27891 echo "Doing mostlyclean in $(TARGET_SUBDIR)/rda" ; \
27892 for flag in $(EXTRA_TARGET_FLAGS); do \
27893 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27894 done; \
27895 (cd $(TARGET_SUBDIR)/rda && \
27896 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27897 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27898 "RANLIB=$${RANLIB}" \
27899 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27900 mostlyclean) \
27901 || exit 1
27903 @endif target-rda
27905 .PHONY: maybe-clean-target-rda clean-target-rda
27906 maybe-clean-target-rda:
27907 @if target-rda
27908 maybe-clean-target-rda: clean-target-rda
27910 clean-target-rda:
27911 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
27912 r=`${PWD_COMMAND}`; export r; \
27913 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27914 $(SET_LIB_PATH) \
27915 $(NORMAL_TARGET_EXPORTS) \
27916 echo "Doing clean in $(TARGET_SUBDIR)/rda" ; \
27917 for flag in $(EXTRA_TARGET_FLAGS); do \
27918 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27919 done; \
27920 (cd $(TARGET_SUBDIR)/rda && \
27921 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27922 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27923 "RANLIB=$${RANLIB}" \
27924 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27925 clean) \
27926 || exit 1
27928 @endif target-rda
27930 .PHONY: maybe-distclean-target-rda distclean-target-rda
27931 maybe-distclean-target-rda:
27932 @if target-rda
27933 maybe-distclean-target-rda: distclean-target-rda
27935 distclean-target-rda:
27936 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
27937 r=`${PWD_COMMAND}`; export r; \
27938 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27939 $(SET_LIB_PATH) \
27940 $(NORMAL_TARGET_EXPORTS) \
27941 echo "Doing distclean in $(TARGET_SUBDIR)/rda" ; \
27942 for flag in $(EXTRA_TARGET_FLAGS); do \
27943 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27944 done; \
27945 (cd $(TARGET_SUBDIR)/rda && \
27946 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27947 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27948 "RANLIB=$${RANLIB}" \
27949 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27950 distclean) \
27951 || exit 1
27953 @endif target-rda
27955 .PHONY: maybe-maintainer-clean-target-rda maintainer-clean-target-rda
27956 maybe-maintainer-clean-target-rda:
27957 @if target-rda
27958 maybe-maintainer-clean-target-rda: maintainer-clean-target-rda
27960 maintainer-clean-target-rda:
27961 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
27962 r=`${PWD_COMMAND}`; export r; \
27963 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27964 $(SET_LIB_PATH) \
27965 $(NORMAL_TARGET_EXPORTS) \
27966 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/rda" ; \
27967 for flag in $(EXTRA_TARGET_FLAGS); do \
27968 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27969 done; \
27970 (cd $(TARGET_SUBDIR)/rda && \
27971 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27972 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27973 "RANLIB=$${RANLIB}" \
27974 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27975 maintainer-clean) \
27976 || exit 1
27978 @endif target-rda
27981 .PHONY: configure-target-libada maybe-configure-target-libada
27982 maybe-configure-target-libada:
27983 @if target-libada
27984 maybe-configure-target-libada: configure-target-libada
27986 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
27987 $(TARGET_SUBDIR)/libada/multilib.out: multilib.out
27988 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libada ; \
27989 rm -f $(TARGET_SUBDIR)/libada/Makefile || : ; \
27990 cp multilib.out $(TARGET_SUBDIR)/libada/multilib.out
27992 configure-target-libada: $(TARGET_SUBDIR)/libada/multilib.out
27993 @test ! -f $(TARGET_SUBDIR)/libada/Makefile || exit 0; \
27994 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libada ; \
27995 r=`${PWD_COMMAND}`; export r; \
27996 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27997 $(SET_LIB_PATH) \
27998 $(NORMAL_TARGET_EXPORTS) \
27999 echo Configuring in $(TARGET_SUBDIR)/libada; \
28000 cd "$(TARGET_SUBDIR)/libada" || exit 1; \
28001 case $(srcdir) in \
28002 /* | [A-Za-z]:[\\/]*) \
28003 topdir=$(srcdir) ;; \
28004 *) \
28005 case "$(TARGET_SUBDIR)" in \
28006 .) topdir="../$(srcdir)" ;; \
28007 *) topdir="../../$(srcdir)" ;; \
28008 esac ;; \
28009 esac; \
28010 srcdiroption="--srcdir=$${topdir}/libada"; \
28011 libsrcdir="$$s/libada"; \
28012 rm -f no-such-file || : ; \
28013 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
28014 $(TARGET_CONFIGARGS) $${srcdiroption} \
28015 --with-target-subdir="$(TARGET_SUBDIR)" \
28016 || exit 1
28017 @endif target-libada
28019 .PHONY: all-target-libada maybe-all-target-libada
28020 maybe-all-target-libada:
28021 @if target-libada
28022 maybe-all-target-libada: all-target-libada
28023 all-target-libada: configure-target-libada
28024 @r=`${PWD_COMMAND}`; export r; \
28025 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28026 $(SET_LIB_PATH) \
28027 $(NORMAL_TARGET_EXPORTS) \
28028 (cd $(TARGET_SUBDIR)/libada && \
28029 $(MAKE) $(TARGET_FLAGS_TO_PASS) all)
28030 @endif target-libada
28032 .PHONY: check-target-libada maybe-check-target-libada
28033 maybe-check-target-libada:
28034 @if target-libada
28035 maybe-check-target-libada: check-target-libada
28037 check-target-libada:
28038 @r=`${PWD_COMMAND}`; export r; \
28039 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28040 $(SET_LIB_PATH) \
28041 $(NORMAL_TARGET_EXPORTS) \
28042 (cd $(TARGET_SUBDIR)/libada && \
28043 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
28045 @endif target-libada
28047 .PHONY: install-target-libada maybe-install-target-libada
28048 maybe-install-target-libada:
28049 @if target-libada
28050 maybe-install-target-libada: install-target-libada
28052 install-target-libada: installdirs
28053 @r=`${PWD_COMMAND}`; export r; \
28054 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28055 $(SET_LIB_PATH) \
28056 $(NORMAL_TARGET_EXPORTS) \
28057 (cd $(TARGET_SUBDIR)/libada && \
28058 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
28060 @endif target-libada
28062 # Other targets (info, dvi, etc.)
28064 .PHONY: maybe-info-target-libada info-target-libada
28065 maybe-info-target-libada:
28066 @if target-libada
28067 maybe-info-target-libada: info-target-libada
28069 info-target-libada: \
28070 configure-target-libada
28071 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
28072 r=`${PWD_COMMAND}`; export r; \
28073 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28074 $(SET_LIB_PATH) \
28075 $(NORMAL_TARGET_EXPORTS) \
28076 echo "Doing info in $(TARGET_SUBDIR)/libada" ; \
28077 for flag in $(EXTRA_TARGET_FLAGS); do \
28078 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28079 done; \
28080 (cd $(TARGET_SUBDIR)/libada && \
28081 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28082 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28083 "RANLIB=$${RANLIB}" \
28084 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28085 info) \
28086 || exit 1
28088 @endif target-libada
28090 .PHONY: maybe-dvi-target-libada dvi-target-libada
28091 maybe-dvi-target-libada:
28092 @if target-libada
28093 maybe-dvi-target-libada: dvi-target-libada
28095 dvi-target-libada: \
28096 configure-target-libada
28097 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
28098 r=`${PWD_COMMAND}`; export r; \
28099 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28100 $(SET_LIB_PATH) \
28101 $(NORMAL_TARGET_EXPORTS) \
28102 echo "Doing dvi in $(TARGET_SUBDIR)/libada" ; \
28103 for flag in $(EXTRA_TARGET_FLAGS); do \
28104 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28105 done; \
28106 (cd $(TARGET_SUBDIR)/libada && \
28107 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28108 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28109 "RANLIB=$${RANLIB}" \
28110 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28111 dvi) \
28112 || exit 1
28114 @endif target-libada
28116 .PHONY: maybe-TAGS-target-libada TAGS-target-libada
28117 maybe-TAGS-target-libada:
28118 @if target-libada
28119 maybe-TAGS-target-libada: TAGS-target-libada
28121 TAGS-target-libada: \
28122 configure-target-libada
28123 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
28124 r=`${PWD_COMMAND}`; export r; \
28125 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28126 $(SET_LIB_PATH) \
28127 $(NORMAL_TARGET_EXPORTS) \
28128 echo "Doing TAGS in $(TARGET_SUBDIR)/libada" ; \
28129 for flag in $(EXTRA_TARGET_FLAGS); do \
28130 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28131 done; \
28132 (cd $(TARGET_SUBDIR)/libada && \
28133 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28134 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28135 "RANLIB=$${RANLIB}" \
28136 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28137 TAGS) \
28138 || exit 1
28140 @endif target-libada
28142 .PHONY: maybe-install-info-target-libada install-info-target-libada
28143 maybe-install-info-target-libada:
28144 @if target-libada
28145 maybe-install-info-target-libada: install-info-target-libada
28147 install-info-target-libada: \
28148 configure-target-libada \
28149 info-target-libada
28150 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
28151 r=`${PWD_COMMAND}`; export r; \
28152 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28153 $(SET_LIB_PATH) \
28154 $(NORMAL_TARGET_EXPORTS) \
28155 echo "Doing install-info in $(TARGET_SUBDIR)/libada" ; \
28156 for flag in $(EXTRA_TARGET_FLAGS); do \
28157 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28158 done; \
28159 (cd $(TARGET_SUBDIR)/libada && \
28160 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28161 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28162 "RANLIB=$${RANLIB}" \
28163 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28164 install-info) \
28165 || exit 1
28167 @endif target-libada
28169 .PHONY: maybe-installcheck-target-libada installcheck-target-libada
28170 maybe-installcheck-target-libada:
28171 @if target-libada
28172 maybe-installcheck-target-libada: installcheck-target-libada
28174 installcheck-target-libada: \
28175 configure-target-libada
28176 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
28177 r=`${PWD_COMMAND}`; export r; \
28178 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28179 $(SET_LIB_PATH) \
28180 $(NORMAL_TARGET_EXPORTS) \
28181 echo "Doing installcheck in $(TARGET_SUBDIR)/libada" ; \
28182 for flag in $(EXTRA_TARGET_FLAGS); do \
28183 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28184 done; \
28185 (cd $(TARGET_SUBDIR)/libada && \
28186 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28187 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28188 "RANLIB=$${RANLIB}" \
28189 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28190 installcheck) \
28191 || exit 1
28193 @endif target-libada
28195 .PHONY: maybe-mostlyclean-target-libada mostlyclean-target-libada
28196 maybe-mostlyclean-target-libada:
28197 @if target-libada
28198 maybe-mostlyclean-target-libada: mostlyclean-target-libada
28200 mostlyclean-target-libada:
28201 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
28202 r=`${PWD_COMMAND}`; export r; \
28203 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28204 $(SET_LIB_PATH) \
28205 $(NORMAL_TARGET_EXPORTS) \
28206 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libada" ; \
28207 for flag in $(EXTRA_TARGET_FLAGS); do \
28208 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28209 done; \
28210 (cd $(TARGET_SUBDIR)/libada && \
28211 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28212 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28213 "RANLIB=$${RANLIB}" \
28214 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28215 mostlyclean) \
28216 || exit 1
28218 @endif target-libada
28220 .PHONY: maybe-clean-target-libada clean-target-libada
28221 maybe-clean-target-libada:
28222 @if target-libada
28223 maybe-clean-target-libada: clean-target-libada
28225 clean-target-libada:
28226 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
28227 r=`${PWD_COMMAND}`; export r; \
28228 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28229 $(SET_LIB_PATH) \
28230 $(NORMAL_TARGET_EXPORTS) \
28231 echo "Doing clean in $(TARGET_SUBDIR)/libada" ; \
28232 for flag in $(EXTRA_TARGET_FLAGS); do \
28233 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28234 done; \
28235 (cd $(TARGET_SUBDIR)/libada && \
28236 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28237 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28238 "RANLIB=$${RANLIB}" \
28239 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28240 clean) \
28241 || exit 1
28243 @endif target-libada
28245 .PHONY: maybe-distclean-target-libada distclean-target-libada
28246 maybe-distclean-target-libada:
28247 @if target-libada
28248 maybe-distclean-target-libada: distclean-target-libada
28250 distclean-target-libada:
28251 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
28252 r=`${PWD_COMMAND}`; export r; \
28253 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28254 $(SET_LIB_PATH) \
28255 $(NORMAL_TARGET_EXPORTS) \
28256 echo "Doing distclean in $(TARGET_SUBDIR)/libada" ; \
28257 for flag in $(EXTRA_TARGET_FLAGS); do \
28258 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28259 done; \
28260 (cd $(TARGET_SUBDIR)/libada && \
28261 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28262 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28263 "RANLIB=$${RANLIB}" \
28264 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28265 distclean) \
28266 || exit 1
28268 @endif target-libada
28270 .PHONY: maybe-maintainer-clean-target-libada maintainer-clean-target-libada
28271 maybe-maintainer-clean-target-libada:
28272 @if target-libada
28273 maybe-maintainer-clean-target-libada: maintainer-clean-target-libada
28275 maintainer-clean-target-libada:
28276 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
28277 r=`${PWD_COMMAND}`; export r; \
28278 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28279 $(SET_LIB_PATH) \
28280 $(NORMAL_TARGET_EXPORTS) \
28281 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libada" ; \
28282 for flag in $(EXTRA_TARGET_FLAGS); do \
28283 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28284 done; \
28285 (cd $(TARGET_SUBDIR)/libada && \
28286 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28287 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28288 "RANLIB=$${RANLIB}" \
28289 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28290 maintainer-clean) \
28291 || exit 1
28293 @endif target-libada
28297 # ----------
28298 # GCC module
28299 # ----------
28301 @if gcc-no-bootstrap
28302 # GCC has some more recursive targets, which trigger the old
28303 # (but still current, until the toplevel bootstrap project
28304 # is finished) compiler bootstrapping rules.
28306 GCC_STRAP_TARGETS = bootstrap bootstrap-lean bootstrap2 bootstrap2-lean bootstrap3 bootstrap3-lean bootstrap4 bootstrap4-lean bubblestrap quickstrap cleanstrap restrap
28307 .PHONY: $(GCC_STRAP_TARGETS)
28308 $(GCC_STRAP_TARGETS): all-bootstrap configure-gcc
28309 @r=`${PWD_COMMAND}`; export r; \
28310 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28311 $(SET_LIB_PATH) \
28312 $(HOST_EXPORTS) \
28313 echo "Bootstrapping the compiler"; \
28314 cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) $@
28315 @r=`${PWD_COMMAND}`; export r; \
28316 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28317 case "$@" in \
28318 *bootstrap4-lean ) \
28319 msg="Comparing stage3 and stage4 of the compiler"; \
28320 compare=compare3-lean ;; \
28321 *bootstrap4 ) \
28322 msg="Comparing stage3 and stage4 of the compiler"; \
28323 compare=compare3 ;; \
28324 *-lean ) \
28325 msg="Comparing stage2 and stage3 of the compiler"; \
28326 compare=compare-lean ;; \
28327 * ) \
28328 msg="Comparing stage2 and stage3 of the compiler"; \
28329 compare=compare ;; \
28330 esac; \
28331 $(SET_LIB_PATH) \
28332 $(HOST_EXPORTS) \
28333 echo "$$msg"; \
28334 cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) $$compare
28335 @r=`${PWD_COMMAND}`; export r; \
28336 s=`cd $(srcdir); ${PWD_COMMAND}` ; export s; \
28337 $(SET_LIB_PATH) \
28338 echo "Building runtime libraries"; \
28339 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all
28341 profiledbootstrap: all-bootstrap configure-gcc
28342 @r=`${PWD_COMMAND}`; export r; \
28343 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28344 $(SET_LIB_PATH) \
28345 $(HOST_EXPORTS) \
28346 echo "Bootstrapping training compiler"; \
28347 cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) stageprofile_build
28348 @r=`${PWD_COMMAND}`; export r; \
28349 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28350 $(SET_LIB_PATH) \
28351 $(HOST_EXPORTS) \
28352 echo "Building feedback based compiler"; \
28353 cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) stagefeedback_build
28354 @r=`${PWD_COMMAND}`; export r; \
28355 s=`cd $(srcdir); ${PWD_COMMAND}` ; export s; \
28356 $(SET_LIB_PATH) \
28357 echo "Building runtime libraries"; \
28358 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all
28360 .PHONY: cross
28361 cross: all-texinfo all-bison all-byacc all-binutils all-gas all-ld
28362 @r=`${PWD_COMMAND}`; export r; \
28363 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28364 $(SET_LIB_PATH) \
28365 $(HOST_EXPORTS) \
28366 echo "Building the C and C++ compiler"; \
28367 cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) LANGUAGES="c c++"
28368 @r=`${PWD_COMMAND}`; export r; \
28369 s=`cd $(srcdir); ${PWD_COMMAND}` ; export s; \
28370 $(SET_LIB_PATH) \
28371 echo "Building runtime libraries"; \
28372 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LANGUAGES="c c++" all
28373 @endif gcc-no-bootstrap
28375 @if gcc
28376 .PHONY: check-gcc-c++
28377 check-gcc-c++:
28378 @if [ -f ./gcc/Makefile ] ; then \
28379 r=`${PWD_COMMAND}`; export r; \
28380 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28381 $(SET_LIB_PATH) \
28382 $(HOST_EXPORTS) \
28383 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-c++); \
28384 else \
28385 true; \
28388 .PHONY: check-c++
28389 check-c++: check-target-libstdc++-v3 check-gcc-c++
28391 # Install the gcc headers files, but not the fixed include files,
28392 # which Cygnus is not allowed to distribute. This rule is very
28393 # dependent on the workings of the gcc Makefile.in.
28394 .PHONY: gcc-no-fixedincludes
28395 gcc-no-fixedincludes:
28396 @if [ -f ./gcc/Makefile ]; then \
28397 rm -rf gcc/tmp-include; \
28398 mv gcc/include gcc/tmp-include 2>/dev/null; \
28399 mkdir gcc/include; \
28400 cp $(srcdir)/gcc/gsyslimits.h gcc/include/syslimits.h; \
28401 touch gcc/stmp-fixinc gcc/include/fixed; \
28402 rm -f gcc/stmp-headers gcc/stmp-int-hdrs; \
28403 r=`${PWD_COMMAND}`; export r; \
28404 s=`cd $(srcdir); ${PWD_COMMAND}` ; export s; \
28405 $(SET_LIB_PATH) \
28406 $(HOST_EXPORTS) \
28407 (cd ./gcc && \
28408 $(MAKE) $(GCC_FLAGS_TO_PASS) install); \
28409 rm -rf gcc/include; \
28410 mv gcc/tmp-include gcc/include 2>/dev/null; \
28411 else true; fi
28412 @endif gcc
28414 # ---------------------
28415 # GCC bootstrap support
28416 # ---------------------
28418 # We track the current stage (the one in 'gcc') in the stage_current file.
28419 # stage_last instead tracks the stage that was built last. These targets
28420 # are dummy when toplevel bootstrap is not active.
28422 .PHONY: unstage
28423 unstage:
28424 @if gcc-bootstrap
28425 @[ -f stage_current ] || $(MAKE) `cat stage_last`-start
28426 @endif gcc-bootstrap
28428 .PHONY: stage
28429 stage:
28430 @if gcc-bootstrap
28431 @$(MAKE) `cat stage_current`-end
28432 @endif gcc-bootstrap
28434 @if gcc-bootstrap
28435 # We name the build directories for the various stages "stage1-gcc",
28436 # "stage2-gcc","stage3-gcc", etc.
28438 # Since the 'compare' process will fail (on debugging information) if any
28439 # directory names are different, we need to link the gcc directory for
28440 # the previous stage to a constant name ('gcc-prev'), and to make the name of
28441 # the build directories constant as well. For the latter, we use naked names
28442 # like 'gcc', because the scripts in that directory assume it. We use
28443 # mv on platforms where symlinks to directories do not work or are not
28444 # reliable.
28446 # At the end of the bootstrap, a symlink to 'stage3-gcc' named 'gcc' must
28447 # be kept, so that libraries can find it. Ick!
28449 # It would be best to preinstall gcc into a staging area (and in the
28450 # future, gather there all prebootstrap packages). This would allow
28451 # assemblers and linkers can be bootstrapped as well as the compiler
28452 # (both in a combined tree, or separately). This however requires some
28453 # change to the gcc driver, again in order to avoid comparison failures.
28455 # Bugs: This is almost certainly not parallel-make safe.
28457 # 'touch' doesn't work right on some platforms.
28458 STAMP = echo timestamp >
28460 # Only build the C compiler for stage1, because that is the only one that
28461 # we can guarantee will build with the native compiler, and also it is the
28462 # only thing useful for building stage2. STAGE1_CFLAGS (via CFLAGS),
28463 # MAKEINFO and MAKEINFOFLAGS are explicitly passed here to make them
28464 # overrideable (for a bootstrap build stage1 also builds gcc.info).
28466 STAGE1_CFLAGS=@stage1_cflags@
28467 STAGE1_LANGUAGES=@stage1_languages@
28469 # We only want to compare .o files, so set this!
28470 objext = .o
28472 # Real targets act phony if they depend on phony targets; this hack
28473 # prevents gratuitous rebuilding of stage 1.
28474 prebootstrap:
28475 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-bootstrap
28476 $(STAMP) prebootstrap
28478 # Flags to pass to stage2 and later makes.
28479 BOOT_CFLAGS= -g -O2
28480 POSTSTAGE1_FLAGS_TO_PASS = \
28481 CC="$${CC}" CC_FOR_BUILD="$${CC_FOR_BUILD}" \
28482 STAGE_PREFIX=$$r/stage-gcc/ \
28483 CFLAGS="$(BOOT_CFLAGS)" \
28484 ADAC="\$$(CC)"
28486 # For stage 1:
28487 # * We force-disable intermodule optimizations, even if
28488 # --enable-intermodule was passed, since the installed compiler probably
28489 # can't handle them. Luckily, autoconf always respects
28490 # the last argument when conflicting --enable arguments are passed.
28491 # * Likewise, we force-disable coverage flags, since the installed compiler
28492 # probably has never heard of them.
28493 # * We build only C (and possibly Ada).
28496 .PHONY: stage1-start stage1-end
28498 stage1-start::
28499 [ -f stage_current ] && $(MAKE) `cat stage_current`-end || :
28500 echo stage1 > stage_current ; \
28501 echo stage1 > stage_last ; \
28502 [ -d stage1-gcc ] || mkdir stage1-gcc; \
28503 set stage1-gcc gcc ; @CREATE_LINK_TO_DIR@
28505 stage1-end::
28506 rm -f stage_current ; \
28507 set gcc stage1-gcc ; @UNDO_LINK_TO_DIR@
28509 # Bubble a bugfix through all the stages up to stage 1. They
28510 # are remade, but not reconfigured. The next stage (if any) will not
28511 # be reconfigured as well.
28512 .PHONY: stage1-bubble
28513 stage1-bubble::
28514 @if [ -f all-stage1-gcc ] ; then \
28515 echo Remaking stage 1 ; \
28516 rm -f all-stage1-gcc ; \
28517 fi ; \
28518 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stage1-gcc
28522 configure-stage1-gcc: prebootstrap
28523 $(MAKE) stage1-start
28524 @if [ -f stage1-gcc/Makefile ] ; then \
28525 $(STAMP) configure-stage1-gcc ; \
28526 exit 0; \
28527 else \
28528 true ; \
28529 fi ; \
28530 r=`${PWD_COMMAND}`; export r; \
28531 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28532 $(HOST_EXPORTS) \
28533 echo Configuring stage 1 in gcc ; \
28534 cd gcc || exit 1; \
28535 case $(srcdir) in \
28536 \.) \
28537 srcdiroption="--srcdir=."; \
28538 libsrcdir=".";; \
28539 /* | [A-Za-z]:[\\/]*) \
28540 srcdiroption="--srcdir=$(srcdir)/gcc"; \
28541 libsrcdir="$$s/gcc";; \
28542 *) \
28543 srcdiroption="--srcdir=../$(srcdir)/gcc"; \
28544 libsrcdir="$$s/gcc";; \
28545 esac; \
28546 $(SHELL) $${libsrcdir}/configure \
28547 $(HOST_CONFIGARGS) $${srcdiroption} \
28548 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)" && \
28549 $(STAMP) ../configure-stage1-gcc
28551 all-stage1-gcc: configure-stage1-gcc
28552 $(MAKE) stage1-start
28553 @r=`${PWD_COMMAND}`; export r; \
28554 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28555 $(HOST_EXPORTS) \
28556 cd gcc && \
28557 $(MAKE) $(GCC_FLAGS_TO_PASS) \
28558 CFLAGS="$(STAGE1_CFLAGS)" && $(STAMP) ../all-stage1-gcc
28564 .PHONY: restage1 touch-stage1 distclean-stage1
28566 # Rules to wipe a stage and all the following ones, used for cleanstrap
28568 distclean-stage1::
28569 [ -f stage_current ] && $(MAKE) `cat stage_current`-end || :
28570 rm -rf configure-stage1-gcc all-stage1-gcc stage1-gcc
28572 # Rules to renew the timestamp on a stage and all the following ones
28574 touch-stage1::
28575 @[ -f configure-stage1-gcc ] && \
28576 echo '$(STAMP) configure-stage1-gcc' && \
28577 $(STAMP) configure-stage1-gcc; \
28578 [ -f all-stage1-gcc ] && \
28579 echo '$(STAMP) all-stage1-gcc' && \
28580 $(STAMP) all-stage1-gcc; \
28583 # After building a stage, touch the following ones
28585 restage1::
28586 rm -rf all-stage1-gcc
28587 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stage1-gcc
28592 .PHONY: stage2-start stage2-end
28594 stage2-start::
28595 [ -f stage_current ] && $(MAKE) `cat stage_current`-end || :
28596 echo stage2 > stage_current ; \
28597 echo stage2 > stage_last ; \
28598 [ -d stage2-gcc ] || mkdir stage2-gcc; \
28599 set stage2-gcc gcc ; @CREATE_LINK_TO_DIR@ ; \
28600 set stage1-gcc prev-gcc ; @CREATE_LINK_TO_DIR@
28602 stage2-end::
28603 rm -f stage_current ; \
28604 set gcc stage2-gcc ; @UNDO_LINK_TO_DIR@ ; \
28605 set prev-gcc stage1-gcc ; @UNDO_LINK_TO_DIR@
28607 # Bubble a bugfix through all the stages up to stage 2. They
28608 # are remade, but not reconfigured. The next stage (if any) will not
28609 # be reconfigured as well.
28610 .PHONY: stage2-bubble
28611 stage2-bubble:: stage1-bubble
28612 @if [ -f all-stage2-gcc ] ; then \
28613 echo Remaking stage 2 ; \
28614 rm -f all-stage2-gcc ; \
28615 fi ; \
28616 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stage2-gcc
28619 stage1-bubble::
28620 @if [ -f configure-stage2-gcc ] ; then \
28621 $(STAMP) configure-stage2-gcc ; \
28625 configure-stage2-gcc: all-stage1-gcc
28626 $(MAKE) stage2-start
28627 @if [ -f stage2-gcc/Makefile ] ; then \
28628 $(STAMP) configure-stage2-gcc ; \
28629 exit 0; \
28630 else \
28631 true ; \
28632 fi ; \
28633 r=`${PWD_COMMAND}`; export r; \
28634 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28635 $(STAGE_HOST_EXPORTS) \
28636 echo Configuring stage 2 in gcc ; \
28637 cd gcc || exit 1; \
28638 case $(srcdir) in \
28639 \.) \
28640 srcdiroption="--srcdir=."; \
28641 libsrcdir=".";; \
28642 /* | [A-Za-z]:[\\/]*) \
28643 srcdiroption="--srcdir=$(srcdir)/gcc"; \
28644 libsrcdir="$$s/gcc";; \
28645 *) \
28646 srcdiroption="--srcdir=../$(srcdir)/gcc"; \
28647 libsrcdir="$$s/gcc";; \
28648 esac; \
28649 $(SHELL) $${libsrcdir}/configure \
28650 $(HOST_CONFIGARGS) $${srcdiroption} \
28651 @stage2_werror_flag@ && \
28652 $(STAMP) ../configure-stage2-gcc
28654 all-stage2-gcc: configure-stage2-gcc
28655 $(MAKE) stage2-start
28656 @r=`${PWD_COMMAND}`; export r; \
28657 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28658 $(STAGE_HOST_EXPORTS) \
28659 cd gcc && \
28660 $(MAKE) $(GCC_FLAGS_TO_PASS) \
28661 $(POSTSTAGE1_FLAGS_TO_PASS) \
28662 && $(STAMP) ../all-stage2-gcc
28667 .PHONY: bootstrap2
28668 bootstrap2:
28669 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stage2-bubble all
28672 .PHONY: restage2 touch-stage2 distclean-stage2
28674 # Rules to wipe a stage and all the following ones, used for cleanstrap
28675 distclean-stage1:: distclean-stage2
28676 distclean-stage2::
28677 [ -f stage_current ] && $(MAKE) `cat stage_current`-end || :
28678 rm -rf configure-stage2-gcc all-stage2-gcc stage2-gcc
28680 # Rules to renew the timestamp on a stage and all the following ones
28681 touch-stage1:: touch-stage2
28682 touch-stage2::
28683 @[ -f configure-stage2-gcc ] && \
28684 echo '$(STAMP) configure-stage2-gcc' && \
28685 $(STAMP) configure-stage2-gcc; \
28686 [ -f all-stage2-gcc ] && \
28687 echo '$(STAMP) all-stage2-gcc' && \
28688 $(STAMP) all-stage2-gcc; \
28691 # After building a stage, touch the following ones
28692 restage1:: touch-stage2
28693 restage2::
28694 rm -rf all-stage2-gcc
28695 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stage2-gcc
28700 .PHONY: stage3-start stage3-end
28702 stage3-start::
28703 [ -f stage_current ] && $(MAKE) `cat stage_current`-end || :
28704 echo stage3 > stage_current ; \
28705 echo stage3 > stage_last ; \
28706 [ -d stage3-gcc ] || mkdir stage3-gcc; \
28707 set stage3-gcc gcc ; @CREATE_LINK_TO_DIR@ ; \
28708 set stage2-gcc prev-gcc ; @CREATE_LINK_TO_DIR@
28710 stage3-end::
28711 rm -f stage_current ; \
28712 set gcc stage3-gcc ; @UNDO_LINK_TO_DIR@ ; \
28713 set prev-gcc stage2-gcc ; @UNDO_LINK_TO_DIR@
28715 # Bubble a bugfix through all the stages up to stage 3. They
28716 # are remade, but not reconfigured. The next stage (if any) will not
28717 # be reconfigured as well.
28718 .PHONY: stage3-bubble
28719 stage3-bubble:: stage2-bubble
28720 @if [ -f all-stage3-gcc ] ; then \
28721 echo Remaking stage 3 ; \
28722 rm -f all-stage3-gcc ; \
28723 fi ; \
28724 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stage3-gcc
28727 stage2-bubble::
28728 @if [ -f configure-stage3-gcc ] ; then \
28729 $(STAMP) configure-stage3-gcc ; \
28733 configure-stage3-gcc: all-stage2-gcc
28734 $(MAKE) stage3-start
28735 @if [ -f stage3-gcc/Makefile ] ; then \
28736 $(STAMP) configure-stage3-gcc ; \
28737 exit 0; \
28738 else \
28739 true ; \
28740 fi ; \
28741 r=`${PWD_COMMAND}`; export r; \
28742 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28743 $(STAGE_HOST_EXPORTS) \
28744 echo Configuring stage 3 in gcc ; \
28745 cd gcc || exit 1; \
28746 case $(srcdir) in \
28747 \.) \
28748 srcdiroption="--srcdir=."; \
28749 libsrcdir=".";; \
28750 /* | [A-Za-z]:[\\/]*) \
28751 srcdiroption="--srcdir=$(srcdir)/gcc"; \
28752 libsrcdir="$$s/gcc";; \
28753 *) \
28754 srcdiroption="--srcdir=../$(srcdir)/gcc"; \
28755 libsrcdir="$$s/gcc";; \
28756 esac; \
28757 $(SHELL) $${libsrcdir}/configure \
28758 $(HOST_CONFIGARGS) $${srcdiroption} \
28759 @stage2_werror_flag@ && \
28760 $(STAMP) ../configure-stage3-gcc
28762 all-stage3-gcc: configure-stage3-gcc
28763 $(MAKE) stage3-start
28764 @r=`${PWD_COMMAND}`; export r; \
28765 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28766 $(STAGE_HOST_EXPORTS) \
28767 cd gcc && \
28768 $(MAKE) $(GCC_FLAGS_TO_PASS) \
28769 $(POSTSTAGE1_FLAGS_TO_PASS) \
28770 && $(STAMP) ../all-stage3-gcc
28773 compare: all-stage3-gcc
28774 [ -f stage_current ] && $(MAKE) `cat stage_current`-end || :
28775 @r=`${PWD_COMMAND}`; export r; \
28776 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28777 rm -f .bad_compare ; \
28778 cd stage3-gcc; \
28779 files=`find . -name "*$(objext)" -print` ; \
28780 cd .. ; \
28781 for file in $${files} ; do \
28782 f1=$$r/stage2-gcc/$$file; f2=$$r/stage3-gcc/$$file; \
28783 @do_compare@ > /dev/null 2>&1; \
28784 test $$? -eq 1 && echo $$file differs >> .bad_compare || true; \
28785 done ; \
28786 if [ -f .bad_compare ]; then \
28787 echo "Bootstrap comparison failure!"; \
28788 cat .bad_compare; \
28789 exit 1; \
28790 else \
28791 true; \
28792 fi ; \
28793 $(STAMP) compare
28797 .PHONY: bootstrap
28798 bootstrap:
28799 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stage3-bubble compare all
28802 .PHONY: restage3 touch-stage3 distclean-stage3
28804 # Rules to wipe a stage and all the following ones, used for cleanstrap
28805 distclean-stage2:: distclean-stage3
28806 distclean-stage3::
28807 [ -f stage_current ] && $(MAKE) `cat stage_current`-end || :
28808 rm -rf configure-stage3-gcc all-stage3-gcc stage3-gcc compare
28810 # Rules to renew the timestamp on a stage and all the following ones
28811 touch-stage2:: touch-stage3
28812 touch-stage3::
28813 @[ -f configure-stage3-gcc ] && \
28814 echo '$(STAMP) configure-stage3-gcc' && \
28815 $(STAMP) configure-stage3-gcc; \
28816 [ -f all-stage3-gcc ] && \
28817 echo '$(STAMP) all-stage3-gcc' && \
28818 $(STAMP) all-stage3-gcc; \
28821 # After building a stage, touch the following ones
28822 restage2:: touch-stage3
28823 restage3::
28824 rm -rf all-stage3-gcc compare
28825 $(MAKE) $(RECURSE_FLAGS_TO_PASS) compare
28828 .PHONY: cleanstrap
28829 cleanstrap: distclean-stage1 bootstrap
28833 .PHONY: stage4-start stage4-end
28835 stage4-start::
28836 [ -f stage_current ] && $(MAKE) `cat stage_current`-end || :
28837 echo stage4 > stage_current ; \
28838 echo stage4 > stage_last ; \
28839 [ -d stage4-gcc ] || mkdir stage4-gcc; \
28840 set stage4-gcc gcc ; @CREATE_LINK_TO_DIR@ ; \
28841 set stage3-gcc prev-gcc ; @CREATE_LINK_TO_DIR@
28843 stage4-end::
28844 rm -f stage_current ; \
28845 set gcc stage4-gcc ; @UNDO_LINK_TO_DIR@ ; \
28846 set prev-gcc stage3-gcc ; @UNDO_LINK_TO_DIR@
28848 # Bubble a bugfix through all the stages up to stage 4. They
28849 # are remade, but not reconfigured. The next stage (if any) will not
28850 # be reconfigured as well.
28851 .PHONY: stage4-bubble
28852 stage4-bubble:: stage3-bubble
28853 @if [ -f all-stage4-gcc ] ; then \
28854 echo Remaking stage 4 ; \
28855 rm -f all-stage4-gcc ; \
28856 fi ; \
28857 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stage4-gcc
28860 stage3-bubble::
28861 @if [ -f configure-stage4-gcc ] ; then \
28862 $(STAMP) configure-stage4-gcc ; \
28866 configure-stage4-gcc: all-stage3-gcc
28867 $(MAKE) stage4-start
28868 @if [ -f stage4-gcc/Makefile ] ; then \
28869 $(STAMP) configure-stage4-gcc ; \
28870 exit 0; \
28871 else \
28872 true ; \
28873 fi ; \
28874 r=`${PWD_COMMAND}`; export r; \
28875 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28876 $(STAGE_HOST_EXPORTS) \
28877 echo Configuring stage 4 in gcc ; \
28878 cd gcc || exit 1; \
28879 case $(srcdir) in \
28880 \.) \
28881 srcdiroption="--srcdir=."; \
28882 libsrcdir=".";; \
28883 /* | [A-Za-z]:[\\/]*) \
28884 srcdiroption="--srcdir=$(srcdir)/gcc"; \
28885 libsrcdir="$$s/gcc";; \
28886 *) \
28887 srcdiroption="--srcdir=../$(srcdir)/gcc"; \
28888 libsrcdir="$$s/gcc";; \
28889 esac; \
28890 $(SHELL) $${libsrcdir}/configure \
28891 $(HOST_CONFIGARGS) $${srcdiroption} \
28892 @stage2_werror_flag@ && \
28893 $(STAMP) ../configure-stage4-gcc
28895 all-stage4-gcc: configure-stage4-gcc
28896 $(MAKE) stage4-start
28897 @r=`${PWD_COMMAND}`; export r; \
28898 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28899 $(STAGE_HOST_EXPORTS) \
28900 cd gcc && \
28901 $(MAKE) $(GCC_FLAGS_TO_PASS) \
28902 $(POSTSTAGE1_FLAGS_TO_PASS) \
28903 && $(STAMP) ../all-stage4-gcc
28906 compare3: all-stage4-gcc
28907 [ -f stage_current ] && $(MAKE) `cat stage_current`-end || :
28908 @r=`${PWD_COMMAND}`; export r; \
28909 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28910 rm -f .bad_compare ; \
28911 cd stage4-gcc; \
28912 files=`find . -name "*$(objext)" -print` ; \
28913 cd .. ; \
28914 for file in $${files} ; do \
28915 f1=$$r/stage3-gcc/$$file; f2=$$r/stage4-gcc/$$file; \
28916 @do_compare@ > /dev/null 2>&1; \
28917 test $$? -eq 1 && echo $$file differs >> .bad_compare || true; \
28918 done ; \
28919 if [ -f .bad_compare ]; then \
28920 echo "Bootstrap comparison failure!"; \
28921 cat .bad_compare; \
28922 exit 1; \
28923 else \
28924 true; \
28925 fi ; \
28926 $(STAMP) compare3
28930 .PHONY: bootstrap4
28931 bootstrap4:
28932 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stage4-bubble compare3 all
28935 .PHONY: restage4 touch-stage4 distclean-stage4
28937 # Rules to wipe a stage and all the following ones, used for cleanstrap
28938 distclean-stage3:: distclean-stage4
28939 distclean-stage4::
28940 [ -f stage_current ] && $(MAKE) `cat stage_current`-end || :
28941 rm -rf configure-stage4-gcc all-stage4-gcc stage4-gcc compare3
28943 # Rules to renew the timestamp on a stage and all the following ones
28944 touch-stage3:: touch-stage4
28945 touch-stage4::
28946 @[ -f configure-stage4-gcc ] && \
28947 echo '$(STAMP) configure-stage4-gcc' && \
28948 $(STAMP) configure-stage4-gcc; \
28949 [ -f all-stage4-gcc ] && \
28950 echo '$(STAMP) all-stage4-gcc' && \
28951 $(STAMP) all-stage4-gcc; \
28954 # After building a stage, touch the following ones
28955 restage3:: touch-stage4
28956 restage4::
28957 rm -rf all-stage4-gcc compare3
28958 $(MAKE) $(RECURSE_FLAGS_TO_PASS) compare3
28963 .PHONY: stageprofile-start stageprofile-end
28965 stageprofile-start::
28966 [ -f stage_current ] && $(MAKE) `cat stage_current`-end || :
28967 echo stageprofile > stage_current ; \
28968 echo stageprofile > stage_last ; \
28969 [ -d stageprofile-gcc ] || mkdir stageprofile-gcc; \
28970 set stageprofile-gcc gcc ; @CREATE_LINK_TO_DIR@ ; \
28971 set stage1-gcc prev-gcc ; @CREATE_LINK_TO_DIR@
28973 stageprofile-end::
28974 rm -f stage_current ; \
28975 set gcc stageprofile-gcc ; @UNDO_LINK_TO_DIR@ ; \
28976 set prev-gcc stage1-gcc ; @UNDO_LINK_TO_DIR@
28978 # Bubble a bugfix through all the stages up to stage profile. They
28979 # are remade, but not reconfigured. The next stage (if any) will not
28980 # be reconfigured as well.
28981 .PHONY: stageprofile-bubble
28982 stageprofile-bubble:: stage1-bubble
28983 @if [ -f all-stageprofile-gcc ] ; then \
28984 echo Remaking stage profile ; \
28985 rm -f all-stageprofile-gcc ; \
28986 fi ; \
28987 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stageprofile-gcc
28990 stage1-bubble::
28991 @if [ -f configure-stageprofile-gcc ] ; then \
28992 $(STAMP) configure-stageprofile-gcc ; \
28996 configure-stageprofile-gcc: all-stage1-gcc
28997 $(MAKE) stageprofile-start
28998 @if [ -f stageprofile-gcc/Makefile ] ; then \
28999 $(STAMP) configure-stageprofile-gcc ; \
29000 exit 0; \
29001 else \
29002 true ; \
29003 fi ; \
29004 r=`${PWD_COMMAND}`; export r; \
29005 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29006 $(STAGE_HOST_EXPORTS) \
29007 echo Configuring stage profile in gcc ; \
29008 cd gcc || exit 1; \
29009 case $(srcdir) in \
29010 \.) \
29011 srcdiroption="--srcdir=."; \
29012 libsrcdir=".";; \
29013 /* | [A-Za-z]:[\\/]*) \
29014 srcdiroption="--srcdir=$(srcdir)/gcc"; \
29015 libsrcdir="$$s/gcc";; \
29016 *) \
29017 srcdiroption="--srcdir=../$(srcdir)/gcc"; \
29018 libsrcdir="$$s/gcc";; \
29019 esac; \
29020 $(SHELL) $${libsrcdir}/configure \
29021 $(HOST_CONFIGARGS) $${srcdiroption} \
29022 @stage2_werror_flag@ && \
29023 $(STAMP) ../configure-stageprofile-gcc
29025 all-stageprofile-gcc: configure-stageprofile-gcc
29026 $(MAKE) stageprofile-start
29027 @r=`${PWD_COMMAND}`; export r; \
29028 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29029 $(STAGE_HOST_EXPORTS) \
29030 cd gcc && \
29031 $(MAKE) $(GCC_FLAGS_TO_PASS) \
29032 $(POSTSTAGE1_FLAGS_TO_PASS) \
29033 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" && $(STAMP) ../all-stageprofile-gcc
29039 .PHONY: restageprofile touch-stageprofile distclean-stageprofile
29041 # Rules to wipe a stage and all the following ones, used for cleanstrap
29042 distclean-stage1:: distclean-stageprofile
29043 distclean-stageprofile::
29044 [ -f stage_current ] && $(MAKE) `cat stage_current`-end || :
29045 rm -rf configure-stageprofile-gcc all-stageprofile-gcc stageprofile-gcc
29047 # Rules to renew the timestamp on a stage and all the following ones
29048 touch-stage1:: touch-stageprofile
29049 touch-stageprofile::
29050 @[ -f configure-stageprofile-gcc ] && \
29051 echo '$(STAMP) configure-stageprofile-gcc' && \
29052 $(STAMP) configure-stageprofile-gcc; \
29053 [ -f all-stageprofile-gcc ] && \
29054 echo '$(STAMP) all-stageprofile-gcc' && \
29055 $(STAMP) all-stageprofile-gcc; \
29058 # After building a stage, touch the following ones
29059 restage1:: touch-stageprofile
29060 restageprofile::
29061 rm -rf all-stageprofile-gcc
29062 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stageprofile-gcc
29067 .PHONY: stagefeedback-start stagefeedback-end
29069 stagefeedback-start::
29070 [ -f stage_current ] && $(MAKE) `cat stage_current`-end || :
29071 echo stagefeedback > stage_current ; \
29072 echo stagefeedback > stage_last ; \
29073 [ -d stagefeedback-gcc ] || mkdir stagefeedback-gcc; \
29074 set stagefeedback-gcc gcc ; @CREATE_LINK_TO_DIR@ ; \
29075 set stage1-gcc prev-gcc ; @CREATE_LINK_TO_DIR@
29077 stagefeedback-end::
29078 rm -f stage_current ; \
29079 set gcc stagefeedback-gcc ; @UNDO_LINK_TO_DIR@ ; \
29080 set prev-gcc stage1-gcc ; @UNDO_LINK_TO_DIR@
29082 # Bubble a bugfix through all the stages up to stage feedback. They
29083 # are remade, but not reconfigured. The next stage (if any) will not
29084 # be reconfigured as well.
29085 .PHONY: stagefeedback-bubble
29086 stagefeedback-bubble:: stage1-bubble
29087 @if [ -f all-stagefeedback-gcc ] ; then \
29088 echo Remaking stage feedback ; \
29089 rm -f all-stagefeedback-gcc ; \
29090 fi ; \
29091 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stagefeedback-gcc
29094 stage1-bubble::
29095 @if [ -f configure-stagefeedback-gcc ] ; then \
29096 $(STAMP) configure-stagefeedback-gcc ; \
29100 configure-stagefeedback-gcc: all-stage1-gcc
29101 $(MAKE) stagefeedback-start
29102 @if [ -f stagefeedback-gcc/Makefile ] ; then \
29103 $(STAMP) configure-stagefeedback-gcc ; \
29104 exit 0; \
29105 else \
29106 true ; \
29107 fi ; \
29108 r=`${PWD_COMMAND}`; export r; \
29109 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29110 $(STAGE_HOST_EXPORTS) \
29111 echo Configuring stage feedback in gcc ; \
29112 cd gcc || exit 1; \
29113 case $(srcdir) in \
29114 \.) \
29115 srcdiroption="--srcdir=."; \
29116 libsrcdir=".";; \
29117 /* | [A-Za-z]:[\\/]*) \
29118 srcdiroption="--srcdir=$(srcdir)/gcc"; \
29119 libsrcdir="$$s/gcc";; \
29120 *) \
29121 srcdiroption="--srcdir=../$(srcdir)/gcc"; \
29122 libsrcdir="$$s/gcc";; \
29123 esac; \
29124 $(SHELL) $${libsrcdir}/configure \
29125 $(HOST_CONFIGARGS) $${srcdiroption} \
29126 @stage2_werror_flag@ && \
29127 $(STAMP) ../configure-stagefeedback-gcc
29129 all-stagefeedback-gcc: configure-stagefeedback-gcc
29130 $(MAKE) stagefeedback-start
29131 @r=`${PWD_COMMAND}`; export r; \
29132 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29133 $(STAGE_HOST_EXPORTS) \
29134 cd gcc && \
29135 $(MAKE) $(GCC_FLAGS_TO_PASS) \
29136 $(POSTSTAGE1_FLAGS_TO_PASS) \
29137 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" && $(STAMP) ../all-stagefeedback-gcc
29143 .PHONY: restagefeedback touch-stagefeedback distclean-stagefeedback
29145 # Rules to wipe a stage and all the following ones, used for cleanstrap
29146 distclean-stage1:: distclean-stagefeedback
29147 distclean-stagefeedback::
29148 [ -f stage_current ] && $(MAKE) `cat stage_current`-end || :
29149 rm -rf configure-stagefeedback-gcc all-stagefeedback-gcc stagefeedback-gcc
29151 # Rules to renew the timestamp on a stage and all the following ones
29152 touch-stage1:: touch-stagefeedback
29153 touch-stagefeedback::
29154 @[ -f configure-stagefeedback-gcc ] && \
29155 echo '$(STAMP) configure-stagefeedback-gcc' && \
29156 $(STAMP) configure-stagefeedback-gcc; \
29157 [ -f all-stagefeedback-gcc ] && \
29158 echo '$(STAMP) all-stagefeedback-gcc' && \
29159 $(STAMP) all-stagefeedback-gcc; \
29162 # After building a stage, touch the following ones
29163 restage1:: touch-stagefeedback
29164 restagefeedback::
29165 rm -rf all-stagefeedback-gcc
29166 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stagefeedback-gcc
29172 stagefeedback-start::
29173 @r=`${PWD_COMMAND}`; export r; \
29174 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29175 cd stageprofile-gcc && \
29176 { find . -type d | sort | sed 's,.*,$(SHELL) '"$$s"'/mkinstalldirs "../gcc/&",' | $(SHELL); } && \
29177 { find . -name '*.*da' | sed 's,.*,$(LN) -f "&" "../gcc/&",' | $(SHELL); }
29179 profiledbootstrap: all-bootstrap configure-gcc
29180 @r=`${PWD_COMMAND}`; export r; \
29181 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29182 $(SET_LIB_PATH) \
29183 $(HOST_EXPORTS) \
29184 echo "Bootstrapping the compiler"; \
29185 $(MAKE) stageprofile-bubble distclean-stagefeedback
29186 @r=`${PWD_COMMAND}`; export r; \
29187 s=`cd $(srcdir); ${PWD_COMMAND}` ; export s; \
29188 $(SET_LIB_PATH) \
29189 echo "Building runtime libraries and training compiler"; \
29190 $(MAKE) $(BASE_FLAGS_TO_PASS) $(RECURSE_FLAGS) all
29191 @r=`${PWD_COMMAND}`; export r; \
29192 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29193 $(SET_LIB_PATH) \
29194 $(HOST_EXPORTS) \
29195 echo "Building feedback based compiler"; \
29196 $(MAKE) stagefeedback-bubble stagefeedback-end
29198 @endif gcc-bootstrap
29200 # --------------------------------------
29201 # Dependencies between different modules
29202 # --------------------------------------
29204 # There are two types of dependencies here: 'hard' dependencies, where one
29205 # module simply won't build without the other; and 'soft' dependencies, where
29206 # if the depended-on module is missing, the depending module will do without
29207 # or find a substitute somewhere (perhaps installed). Soft dependencies
29208 # are specified by depending on a 'maybe-' target. If you're not sure,
29209 # it's safer to use a soft dependency.
29211 # Build modules
29212 all-build-bison: maybe-all-build-texinfo
29213 all-build-flex: maybe-all-build-texinfo
29214 all-build-libiberty: maybe-all-build-texinfo
29215 all-build-m4: maybe-all-build-libiberty maybe-all-build-texinfo
29217 # Host modules specific to gcc.
29218 # GCC needs to identify certain tools.
29219 # GCC also needs the information exported by the intl configure script.
29220 configure-gcc: maybe-configure-intl maybe-configure-binutils maybe-configure-gas maybe-configure-ld maybe-configure-bison maybe-configure-flex
29221 all-gcc: maybe-all-libiberty maybe-all-intl maybe-all-texinfo maybe-all-bison maybe-all-byacc maybe-all-flex maybe-all-binutils maybe-all-gas maybe-all-ld maybe-all-zlib maybe-all-libbanshee maybe-all-libcpp
29222 configure-libcpp: maybe-configure-libiberty maybe-configure-intl
29223 all-libcpp: maybe-all-libiberty maybe-all-intl
29224 # This is a slightly kludgy method of getting dependencies on
29225 # all-build-libiberty correct; it would be better to build it every time.
29226 all-gcc: maybe-all-build-libiberty
29227 all-bootstrap: maybe-all-binutils maybe-all-bison maybe-all-byacc maybe-all-flex maybe-all-gas maybe-all-intl maybe-all-ld maybe-all-libcpp maybe-all-libbanshee maybe-all-libiberty maybe-all-texinfo maybe-all-zlib
29229 # Host modules specific to gdb.
29230 # GDB needs to know that the simulator is being built.
29231 configure-gdb: maybe-configure-itcl maybe-configure-tcl maybe-configure-tk maybe-configure-sim
29232 GDB_TK = @GDB_TK@
29233 all-gdb: maybe-all-libiberty maybe-all-opcodes maybe-all-bfd maybe-all-mmalloc maybe-all-readline maybe-all-bison maybe-all-byacc maybe-all-sim $(gdbnlmrequirements) $(GDB_TK)
29234 install-gdb: maybe-install-tcl maybe-install-tk maybe-install-itcl maybe-install-tix maybe-install-libgui
29235 configure-libgui: maybe-configure-tcl maybe-configure-tk
29236 all-libgui: maybe-all-tcl maybe-all-tk maybe-all-itcl
29238 # Host modules specific to binutils.
29239 configure-bfd: configure-libiberty
29240 all-bfd: maybe-all-libiberty maybe-all-intl
29241 all-binutils: maybe-all-libiberty maybe-all-opcodes maybe-all-bfd maybe-all-flex maybe-all-bison maybe-all-byacc maybe-all-intl
29242 # We put install-opcodes before install-binutils because the installed
29243 # binutils might be on PATH, and they might need the shared opcodes
29244 # library.
29245 install-binutils: maybe-install-opcodes
29246 # libopcodes depends on libbfd
29247 install-opcodes: maybe-install-bfd
29248 all-gas: maybe-all-libiberty maybe-all-opcodes maybe-all-bfd maybe-all-intl
29249 all-gprof: maybe-all-libiberty maybe-all-bfd maybe-all-opcodes maybe-all-intl
29250 all-ld: maybe-all-libiberty maybe-all-bfd maybe-all-opcodes maybe-all-bison maybe-all-byacc maybe-all-flex maybe-all-intl
29251 all-opcodes: maybe-all-bfd maybe-all-libiberty
29253 # Other host modules in the 'src' repository.
29254 all-dejagnu: maybe-all-tcl maybe-all-expect maybe-all-tk
29255 configure-expect: maybe-configure-tcl maybe-configure-tk
29256 all-expect: maybe-all-tcl maybe-all-tk
29257 configure-itcl: maybe-configure-tcl maybe-configure-tk
29258 all-itcl: maybe-all-tcl maybe-all-tk
29259 # We put install-tcl before install-itcl because itcl wants to run a
29260 # program on installation which uses the Tcl libraries.
29261 install-itcl: maybe-install-tcl
29262 all-sid: maybe-all-libiberty maybe-all-bfd maybe-all-opcodes maybe-all-tcl maybe-all-tk
29263 install-sid: maybe-install-tcl maybe-install-tk
29264 all-sim: maybe-all-libiberty maybe-all-bfd maybe-all-opcodes maybe-all-readline maybe-configure-gdb
29265 configure-tk: maybe-configure-tcl
29266 all-tk: maybe-all-tcl
29267 configure-tix: maybe-configure-tcl maybe-configure-tk
29268 all-tix: maybe-all-tcl maybe-all-tk
29269 all-texinfo: maybe-all-libiberty
29271 # Other host modules. Warning, these are not well tested.
29272 all-autoconf: maybe-all-m4 maybe-all-texinfo
29273 all-automake: maybe-all-m4 maybe-all-texinfo
29274 all-bison: maybe-all-texinfo
29275 all-diff: maybe-all-libiberty
29276 all-fastjar: maybe-all-zlib maybe-all-libiberty
29277 all-fileutils: maybe-all-libiberty
29278 all-flex: maybe-all-libiberty maybe-all-bison maybe-all-byacc
29279 all-gzip: maybe-all-libiberty
29280 all-hello: maybe-all-libiberty
29281 all-m4: maybe-all-libiberty maybe-all-texinfo
29282 all-make: maybe-all-libiberty maybe-all-intl
29283 all-patch: maybe-all-libiberty
29284 all-prms: maybe-all-libiberty
29285 all-recode: maybe-all-libiberty
29286 all-sed: maybe-all-libiberty
29287 all-send-pr: maybe-all-prms
29288 all-tar: maybe-all-libiberty
29289 all-uudecode: maybe-all-libiberty
29291 ALL_GCC = maybe-all-gcc
29292 ALL_GCC_C = $(ALL_GCC) maybe-all-target-newlib maybe-all-target-libgloss
29293 ALL_GCC_CXX = $(ALL_GCC_C) maybe-all-target-libstdc++-v3
29295 # Target modules specific to gcc.
29296 configure-target-boehm-gc: $(ALL_GCC_C) maybe-configure-target-qthreads
29297 configure-target-fastjar: maybe-configure-target-zlib
29298 all-target-fastjar: maybe-all-target-zlib maybe-all-target-libiberty
29299 configure-target-libada: $(ALL_GCC_C)
29300 configure-target-libgfortran: $(ALL_GCC_C)
29301 configure-target-libffi: $(ALL_GCC_C)
29302 configure-target-libjava: $(ALL_GCC_C) maybe-configure-target-zlib maybe-configure-target-boehm-gc maybe-configure-target-qthreads maybe-configure-target-libffi
29303 all-target-libjava: maybe-all-fastjar maybe-all-target-zlib maybe-all-target-boehm-gc maybe-all-target-qthreads maybe-all-target-libffi
29304 configure-target-libobjc: $(ALL_GCC_C)
29305 all-target-libobjc: maybe-all-target-libiberty
29306 configure-target-libstdc++-v3: $(ALL_GCC_C)
29307 all-target-libstdc++-v3: maybe-all-target-libiberty
29308 configure-target-zlib: $(ALL_GCC_C)
29310 # Target modules in the 'src' repository.
29311 configure-target-examples: $(ALL_GCC_C)
29312 configure-target-libgloss: $(ALL_GCC)
29313 all-target-libgloss: maybe-configure-target-newlib
29314 configure-target-libiberty: $(ALL_GCC)
29315 configure-target-libtermcap: $(ALL_GCC_C)
29316 configure-target-newlib: $(ALL_GCC)
29317 configure-target-rda: $(ALL_GCC_C)
29318 configure-target-winsup: $(ALL_GCC_C)
29319 all-target-winsup: maybe-all-target-libiberty maybe-all-target-libtermcap
29321 # Other target modules. Warning, these are not well tested.
29322 configure-target-gperf: $(ALL_GCC_CXX)
29323 all-target-gperf: maybe-all-target-libiberty maybe-all-target-libstdc++-v3
29324 configure-target-qthreads: $(ALL_GCC_C)
29326 # Serialization dependencies. Host configures don't work well in parallel to
29327 # each other, due to contention over config.cache. Target configures and
29328 # build configures are similar.
29329 @serialization_dependencies@
29331 # --------------------------------
29332 # Regenerating top level configury
29333 # --------------------------------
29335 # Multilib.out tells target dirs what multilibs they should build.
29336 # There is really only one copy. We use the 'timestamp' method to
29337 # work around various timestamp bugs on some systems.
29338 # We use move-if-change so that it's only considered updated when it
29339 # actually changes, because it has to depend on a phony target.
29340 multilib.out: maybe-all-gcc
29341 @r=`${PWD_COMMAND}`; export r; \
29342 echo "Checking multilib configuration..."; \
29343 $(CC_FOR_TARGET) --print-multi-lib > multilib.tmp 2> /dev/null ; \
29344 $(SHELL) $(srcdir)/move-if-change multilib.tmp multilib.out ; \
29346 # Rebuilding Makefile.in, using autogen.
29347 AUTOGEN = autogen
29348 $(srcdir)/Makefile.in: @MAINT@ $(srcdir)/Makefile.tpl $(srcdir)/Makefile.def
29349 cd $(srcdir) && $(AUTOGEN) Makefile.def
29351 # Rebuilding Makefile.
29352 Makefile: $(srcdir)/Makefile.in config.status
29353 CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
29355 config.status: configure $(gcc_version_trigger)
29356 CONFIG_SHELL="$(SHELL)" $(SHELL) ./config.status --recheck
29358 # Rebuilding configure.
29359 AUTOCONF = autoconf
29360 $(srcdir)/configure: @MAINT@ $(srcdir)/configure.in $(srcdir)/config/acx.m4
29361 cd $(srcdir) && $(AUTOCONF)
29363 # ------------------------------
29364 # Special directives to GNU Make
29365 # ------------------------------
29367 # Don't pass command-line variables to submakes.
29368 .NOEXPORT:
29369 MAKEOVERRIDES=
29371 # end of Makefile.in