* vec.h: Comment fix.
[official-gcc.git] / Makefile.in
blob22d41e9b88df51a18777893dd60b8f2b319e4c8b
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 # The first rule in the file had better be this one. Don't put any above it.
485 # This lives here to allow makefile fragments to contain dependencies.
486 @default_target@:
488 #### host and target specific makefile fragments come in here.
489 @target_makefile_frag@
490 @alphaieee_frag@
491 @ospace_frag@
492 @host_makefile_frag@
495 # Flags to pass down to all sub-makes.
496 BASE_FLAGS_TO_PASS = \
497 "DESTDIR=$(DESTDIR)" \
498 "RPATH_ENVVAR=$(RPATH_ENVVAR)" \
499 "TARGET_SUBDIR=$(TARGET_SUBDIR)" \
500 "bindir=$(bindir)" \
501 "datadir=$(datadir)" \
502 "exec_prefix=$(exec_prefix)" \
503 "includedir=$(includedir)" \
504 "infodir=$(infodir)" \
505 "libdir=$(libdir)" \
506 "libexecdir=$(libexecdir)" \
507 "lispdir=$(lispdir)" \
508 "libstdcxx_incdir=$(libstdcxx_incdir)" \
509 "libsubdir=$(libsubdir)" \
510 "localstatedir=$(localstatedir)" \
511 "mandir=$(mandir)" \
512 "oldincludedir=$(oldincludedir)" \
513 "prefix=$(prefix)" \
514 "sbindir=$(sbindir)" \
515 "sharedstatedir=$(sharedstatedir)" \
516 "sysconfdir=$(sysconfdir)" \
517 "tooldir=$(tooldir)" \
518 "build_tooldir=$(build_tooldir)" \
519 "gxx_include_dir=$(gxx_include_dir)" \
520 "gcc_version=$(gcc_version)" \
521 "gcc_version_trigger=$(gcc_version_trigger)" \
522 "target_alias=$(target_alias)" \
523 "BISON=$(BISON)" \
524 "CC_FOR_BUILD=$(CC_FOR_BUILD)" \
525 "CXX_FOR_BUILD=$(CXX_FOR_BUILD)" \
526 "EXPECT=$(EXPECT)" \
527 "FLEX=$(FLEX)" \
528 "INSTALL=$(INSTALL)" \
529 "INSTALL_DATA=$(INSTALL_DATA)" \
530 "INSTALL_PROGRAM=$(INSTALL_PROGRAM)" \
531 "INSTALL_SCRIPT=$(INSTALL_SCRIPT)" \
532 "LEX=$(LEX)" \
533 "M4=$(M4)" \
534 "MAKE=$(MAKE)" \
535 "RUNTEST=$(RUNTEST)" \
536 "RUNTESTFLAGS=$(RUNTESTFLAGS)" \
537 "SHELL=$(SHELL)" \
538 "YACC=$(YACC)" \
539 "AR_FLAGS=$(AR_FLAGS)" \
540 "CFLAGS=$(CFLAGS)" \
541 "CXXFLAGS=$(CXXFLAGS)" \
542 "LDFLAGS=$(LDFLAGS)" \
543 "LIBCFLAGS=$(LIBCFLAGS)" \
544 "LIBCXXFLAGS=$(LIBCXXFLAGS)" \
545 "AR_FOR_TARGET=$(AR_FOR_TARGET)" \
546 "AS_FOR_TARGET=$(AS_FOR_TARGET)" \
547 "CC_FOR_TARGET=$(CC_FOR_TARGET)" \
548 "CFLAGS_FOR_TARGET=$(CFLAGS_FOR_TARGET)" \
549 "CXX_FOR_TARGET=$(CXX_FOR_TARGET)" \
550 "CXXFLAGS_FOR_TARGET=$(CXXFLAGS_FOR_TARGET)" \
551 "DLLTOOL_FOR_TARGET=$(DLLTOOL_FOR_TARGET)" \
552 "GCJ_FOR_TARGET=$(GCJ_FOR_TARGET)" \
553 "GFORTRAN_FOR_TARGET=$(GFORTRAN_FOR_TARGET)" \
554 "LD_FOR_TARGET=$(LD_FOR_TARGET)" \
555 "LIBCFLAGS_FOR_TARGET=$(LIBCFLAGS_FOR_TARGET)" \
556 "LIBCXXFLAGS_FOR_TARGET=$(LIBCXXFLAGS_FOR_TARGET)" \
557 "NM_FOR_TARGET=$(NM_FOR_TARGET)" \
558 "RANLIB_FOR_TARGET=$(RANLIB_FOR_TARGET)" \
559 "WINDRES_FOR_TARGET=$(WINDRES_FOR_TARGET)" \
560 "CONFIG_SHELL=$(SHELL)" \
561 "MAKEINFO=$(MAKEINFO) $(MAKEINFOFLAGS)"
563 # For any flags above that may contain shell code that varies from one
564 # target library to another. When doing recursive invocations of the
565 # top-level Makefile, we don't want the outer make to evaluate them,
566 # so we pass these variables down unchanged. They must not contain
567 # single nor double quotes.
568 RECURSE_FLAGS = \
569 CXX_FOR_TARGET='$(CXX_FOR_TARGET_FOR_RECURSIVE_MAKE)' \
570 RAW_CXX_FOR_TARGET='$(RAW_CXX_FOR_TARGET_FOR_RECURSIVE_MAKE)' \
572 RECURSE_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(RECURSE_FLAGS)
574 # Flags to pass down to most sub-makes, in which we're building with
575 # the host environment.
576 EXTRA_HOST_FLAGS = \
577 'AR=$(AR)' \
578 'AS=$(AS)' \
579 'CC=$(CC)' \
580 'CXX=$(CXX)' \
581 'DLLTOOL=$(DLLTOOL)' \
582 'LD=$(LD)' \
583 'NM=$(NM)' \
584 'RANLIB=$(RANLIB)' \
585 'WINDRES=$(WINDRES)'
587 FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS)
589 # Flags that are concerned with the location of the X11 include files
590 # and library files
592 # NOTE: until the top-level is getting the values via autoconf, it only
593 # causes problems to have this top-level Makefile overriding the autoconf-set
594 # values in child directories. Only variables that don't conflict with
595 # autoconf'ed ones should be passed by X11_FLAGS_TO_PASS for now.
597 X11_FLAGS_TO_PASS = \
598 'X11_EXTRA_CFLAGS=$(X11_EXTRA_CFLAGS)' \
599 'X11_EXTRA_LIBS=$(X11_EXTRA_LIBS)'
601 # Flags to pass down to makes which are built with the target environment.
602 # The double $ decreases the length of the command line; the variables
603 # are set in BASE_FLAGS_TO_PASS, and the sub-make will expand them.
604 EXTRA_TARGET_FLAGS = \
605 'AR=$$(AR_FOR_TARGET)' \
606 'AS=$$(AS_FOR_TARGET)' \
607 'CC=$$(CC_FOR_TARGET)' \
608 'CFLAGS=$$(CFLAGS_FOR_TARGET)' \
609 'CXX=$$(CXX_FOR_TARGET)' \
610 'CXXFLAGS=$$(CXXFLAGS_FOR_TARGET)' \
611 'DLLTOOL=$$(DLLTOOL_FOR_TARGET)' \
612 'LD=$$(LD_FOR_TARGET)' \
613 'LIBCFLAGS=$$(LIBCFLAGS_FOR_TARGET)' \
614 'LIBCXXFLAGS=$$(LIBCXXFLAGS_FOR_TARGET)' \
615 'NM=$$(NM_FOR_TARGET)' \
616 'RANLIB=$$(RANLIB_FOR_TARGET)' \
617 'WINDRES=$$(WINDRES_FOR_TARGET)'
619 TARGET_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS)
621 # Flags to pass down to gcc. gcc builds a library, libgcc.a, so it
622 # unfortunately needs the native compiler and the target ar and
623 # ranlib.
624 # If any variables are added here, they must be added to do-*, below.
625 # The BUILD_* variables are a special case, which are used for the gcc
626 # cross-building scheme.
627 EXTRA_GCC_FLAGS = \
628 'BUILD_PREFIX=$(BUILD_PREFIX)' \
629 'BUILD_PREFIX_1=$(BUILD_PREFIX_1)' \
630 "GCC_FOR_TARGET=$(GCC_FOR_TARGET)" \
631 "CFLAGS_FOR_BUILD=$(CFLAGS_FOR_BUILD)" \
632 "`echo 'LANGUAGES=$(LANGUAGES)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
633 "`echo 'STMP_FIXPROTO=$(STMP_FIXPROTO)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
634 "`echo 'LIMITS_H_TEST=$(LIMITS_H_TEST)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
635 "`echo 'LIBGCC2_CFLAGS=$(LIBGCC2_CFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
636 "`echo 'LIBGCC2_DEBUG_CFLAGS=$(LIBGCC2_DEBUG_CFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
637 "`echo 'LIBGCC2_INCLUDES=$(LIBGCC2_INCLUDES)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
638 "`echo 'STAGE1_CFLAGS=$(STAGE1_CFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
639 "`echo 'BOOT_CFLAGS=$(BOOT_CFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
640 "`echo 'BOOT_ADAFLAGS=$(BOOT_ADAFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`"
642 GCC_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS)
644 .PHONY: configure-host
645 configure-host: maybe-configure-gcc \
646 maybe-configure-ash \
647 maybe-configure-autoconf \
648 maybe-configure-automake \
649 maybe-configure-bash \
650 maybe-configure-bfd \
651 maybe-configure-opcodes \
652 maybe-configure-binutils \
653 maybe-configure-bison \
654 maybe-configure-byacc \
655 maybe-configure-bzip2 \
656 maybe-configure-dejagnu \
657 maybe-configure-diff \
658 maybe-configure-dosutils \
659 maybe-configure-etc \
660 maybe-configure-fastjar \
661 maybe-configure-fileutils \
662 maybe-configure-findutils \
663 maybe-configure-find \
664 maybe-configure-flex \
665 maybe-configure-gas \
666 maybe-configure-gawk \
667 maybe-configure-gettext \
668 maybe-configure-gnuserv \
669 maybe-configure-gprof \
670 maybe-configure-gzip \
671 maybe-configure-hello \
672 maybe-configure-indent \
673 maybe-configure-intl \
674 maybe-configure-tcl \
675 maybe-configure-itcl \
676 maybe-configure-ld \
677 maybe-configure-libcpp \
678 maybe-configure-libgui \
679 maybe-configure-libbanshee \
680 maybe-configure-libiberty \
681 maybe-configure-libtool \
682 maybe-configure-m4 \
683 maybe-configure-make \
684 maybe-configure-mmalloc \
685 maybe-configure-patch \
686 maybe-configure-perl \
687 maybe-configure-prms \
688 maybe-configure-rcs \
689 maybe-configure-readline \
690 maybe-configure-release \
691 maybe-configure-recode \
692 maybe-configure-sed \
693 maybe-configure-send-pr \
694 maybe-configure-shellutils \
695 maybe-configure-sid \
696 maybe-configure-sim \
697 maybe-configure-tar \
698 maybe-configure-texinfo \
699 maybe-configure-textutils \
700 maybe-configure-time \
701 maybe-configure-uudecode \
702 maybe-configure-wdiff \
703 maybe-configure-zip \
704 maybe-configure-zlib \
705 maybe-configure-gdb \
706 maybe-configure-expect \
707 maybe-configure-guile \
708 maybe-configure-tk \
709 maybe-configure-tix \
710 maybe-configure-libtermcap \
711 maybe-configure-utils
712 .PHONY: configure-target
713 configure-target: \
714 maybe-configure-target-libstdc++-v3 \
715 maybe-configure-target-libmudflap \
716 maybe-configure-target-newlib \
717 maybe-configure-target-libgfortran \
718 maybe-configure-target-libobjc \
719 maybe-configure-target-libtermcap \
720 maybe-configure-target-winsup \
721 maybe-configure-target-libgloss \
722 maybe-configure-target-libiberty \
723 maybe-configure-target-gperf \
724 maybe-configure-target-examples \
725 maybe-configure-target-libffi \
726 maybe-configure-target-libjava \
727 maybe-configure-target-zlib \
728 maybe-configure-target-boehm-gc \
729 maybe-configure-target-qthreads \
730 maybe-configure-target-rda \
731 maybe-configure-target-libada
733 # The target built for a native non-bootstrap build.
734 .PHONY: all
735 all: all-build all-host all-target
737 .PHONY: all-build
738 all-build: \
739 maybe-all-build-libiberty \
740 maybe-all-build-libbanshee \
741 maybe-all-build-bison \
742 maybe-all-build-byacc \
743 maybe-all-build-flex \
744 maybe-all-build-m4 \
745 maybe-all-build-texinfo
746 .PHONY: all-host
747 all-host: maybe-all-gcc \
748 maybe-all-ash \
749 maybe-all-autoconf \
750 maybe-all-automake \
751 maybe-all-bash \
752 maybe-all-bfd \
753 maybe-all-opcodes \
754 maybe-all-binutils \
755 maybe-all-bison \
756 maybe-all-byacc \
757 maybe-all-bzip2 \
758 maybe-all-dejagnu \
759 maybe-all-diff \
760 maybe-all-dosutils \
761 maybe-all-etc \
762 maybe-all-fastjar \
763 maybe-all-fileutils \
764 maybe-all-findutils \
765 maybe-all-find \
766 maybe-all-flex \
767 maybe-all-gas \
768 maybe-all-gawk \
769 maybe-all-gettext \
770 maybe-all-gnuserv \
771 maybe-all-gprof \
772 maybe-all-gzip \
773 maybe-all-hello \
774 maybe-all-indent \
775 maybe-all-intl \
776 maybe-all-tcl \
777 maybe-all-itcl \
778 maybe-all-ld \
779 maybe-all-libcpp \
780 maybe-all-libgui \
781 maybe-all-libbanshee \
782 maybe-all-libiberty \
783 maybe-all-libtool \
784 maybe-all-m4 \
785 maybe-all-make \
786 maybe-all-mmalloc \
787 maybe-all-patch \
788 maybe-all-perl \
789 maybe-all-prms \
790 maybe-all-rcs \
791 maybe-all-readline \
792 maybe-all-release \
793 maybe-all-recode \
794 maybe-all-sed \
795 maybe-all-send-pr \
796 maybe-all-shellutils \
797 maybe-all-sid \
798 maybe-all-sim \
799 maybe-all-tar \
800 maybe-all-texinfo \
801 maybe-all-textutils \
802 maybe-all-time \
803 maybe-all-uudecode \
804 maybe-all-wdiff \
805 maybe-all-zip \
806 maybe-all-zlib \
807 maybe-all-gdb \
808 maybe-all-expect \
809 maybe-all-guile \
810 maybe-all-tk \
811 maybe-all-tix \
812 maybe-all-libtermcap \
813 maybe-all-utils
814 .PHONY: all-target
815 all-target: \
816 maybe-all-target-libstdc++-v3 \
817 maybe-all-target-libmudflap \
818 maybe-all-target-newlib \
819 maybe-all-target-libgfortran \
820 maybe-all-target-libobjc \
821 maybe-all-target-libtermcap \
822 maybe-all-target-winsup \
823 maybe-all-target-libgloss \
824 maybe-all-target-libiberty \
825 maybe-all-target-gperf \
826 maybe-all-target-examples \
827 maybe-all-target-libffi \
828 maybe-all-target-libjava \
829 maybe-all-target-zlib \
830 maybe-all-target-boehm-gc \
831 maybe-all-target-qthreads \
832 maybe-all-target-rda \
833 maybe-all-target-libada
835 # Do a target for all the subdirectories. A ``make do-X'' will do a
836 # ``make X'' in all subdirectories (because, in general, there is a
837 # dependency (below) of X upon do-X, a ``make X'' will also do this,
838 # but it may do additional work as well).
840 .PHONY: do-info
841 do-info: info-host info-target
843 .PHONY: info-host
844 info-host: maybe-info-gcc \
845 maybe-info-ash \
846 maybe-info-autoconf \
847 maybe-info-automake \
848 maybe-info-bash \
849 maybe-info-bfd \
850 maybe-info-opcodes \
851 maybe-info-binutils \
852 maybe-info-bison \
853 maybe-info-byacc \
854 maybe-info-bzip2 \
855 maybe-info-dejagnu \
856 maybe-info-diff \
857 maybe-info-dosutils \
858 maybe-info-etc \
859 maybe-info-fastjar \
860 maybe-info-fileutils \
861 maybe-info-findutils \
862 maybe-info-find \
863 maybe-info-flex \
864 maybe-info-gas \
865 maybe-info-gawk \
866 maybe-info-gettext \
867 maybe-info-gnuserv \
868 maybe-info-gprof \
869 maybe-info-gzip \
870 maybe-info-hello \
871 maybe-info-indent \
872 maybe-info-intl \
873 maybe-info-tcl \
874 maybe-info-itcl \
875 maybe-info-ld \
876 maybe-info-libcpp \
877 maybe-info-libgui \
878 maybe-info-libbanshee \
879 maybe-info-libiberty \
880 maybe-info-libtool \
881 maybe-info-m4 \
882 maybe-info-make \
883 maybe-info-mmalloc \
884 maybe-info-patch \
885 maybe-info-perl \
886 maybe-info-prms \
887 maybe-info-rcs \
888 maybe-info-readline \
889 maybe-info-release \
890 maybe-info-recode \
891 maybe-info-sed \
892 maybe-info-send-pr \
893 maybe-info-shellutils \
894 maybe-info-sid \
895 maybe-info-sim \
896 maybe-info-tar \
897 maybe-info-texinfo \
898 maybe-info-textutils \
899 maybe-info-time \
900 maybe-info-uudecode \
901 maybe-info-wdiff \
902 maybe-info-zip \
903 maybe-info-zlib \
904 maybe-info-gdb \
905 maybe-info-expect \
906 maybe-info-guile \
907 maybe-info-tk \
908 maybe-info-tix \
909 maybe-info-libtermcap \
910 maybe-info-utils
912 .PHONY: info-target
913 info-target: \
914 maybe-info-target-libstdc++-v3 \
915 maybe-info-target-libmudflap \
916 maybe-info-target-newlib \
917 maybe-info-target-libgfortran \
918 maybe-info-target-libobjc \
919 maybe-info-target-libtermcap \
920 maybe-info-target-winsup \
921 maybe-info-target-libgloss \
922 maybe-info-target-libiberty \
923 maybe-info-target-gperf \
924 maybe-info-target-examples \
925 maybe-info-target-libffi \
926 maybe-info-target-libjava \
927 maybe-info-target-zlib \
928 maybe-info-target-boehm-gc \
929 maybe-info-target-qthreads \
930 maybe-info-target-rda \
931 maybe-info-target-libada
933 .PHONY: do-dvi
934 do-dvi: dvi-host dvi-target
936 .PHONY: dvi-host
937 dvi-host: maybe-dvi-gcc \
938 maybe-dvi-ash \
939 maybe-dvi-autoconf \
940 maybe-dvi-automake \
941 maybe-dvi-bash \
942 maybe-dvi-bfd \
943 maybe-dvi-opcodes \
944 maybe-dvi-binutils \
945 maybe-dvi-bison \
946 maybe-dvi-byacc \
947 maybe-dvi-bzip2 \
948 maybe-dvi-dejagnu \
949 maybe-dvi-diff \
950 maybe-dvi-dosutils \
951 maybe-dvi-etc \
952 maybe-dvi-fastjar \
953 maybe-dvi-fileutils \
954 maybe-dvi-findutils \
955 maybe-dvi-find \
956 maybe-dvi-flex \
957 maybe-dvi-gas \
958 maybe-dvi-gawk \
959 maybe-dvi-gettext \
960 maybe-dvi-gnuserv \
961 maybe-dvi-gprof \
962 maybe-dvi-gzip \
963 maybe-dvi-hello \
964 maybe-dvi-indent \
965 maybe-dvi-intl \
966 maybe-dvi-tcl \
967 maybe-dvi-itcl \
968 maybe-dvi-ld \
969 maybe-dvi-libcpp \
970 maybe-dvi-libgui \
971 maybe-dvi-libbanshee \
972 maybe-dvi-libiberty \
973 maybe-dvi-libtool \
974 maybe-dvi-m4 \
975 maybe-dvi-make \
976 maybe-dvi-mmalloc \
977 maybe-dvi-patch \
978 maybe-dvi-perl \
979 maybe-dvi-prms \
980 maybe-dvi-rcs \
981 maybe-dvi-readline \
982 maybe-dvi-release \
983 maybe-dvi-recode \
984 maybe-dvi-sed \
985 maybe-dvi-send-pr \
986 maybe-dvi-shellutils \
987 maybe-dvi-sid \
988 maybe-dvi-sim \
989 maybe-dvi-tar \
990 maybe-dvi-texinfo \
991 maybe-dvi-textutils \
992 maybe-dvi-time \
993 maybe-dvi-uudecode \
994 maybe-dvi-wdiff \
995 maybe-dvi-zip \
996 maybe-dvi-zlib \
997 maybe-dvi-gdb \
998 maybe-dvi-expect \
999 maybe-dvi-guile \
1000 maybe-dvi-tk \
1001 maybe-dvi-tix \
1002 maybe-dvi-libtermcap \
1003 maybe-dvi-utils
1005 .PHONY: dvi-target
1006 dvi-target: \
1007 maybe-dvi-target-libstdc++-v3 \
1008 maybe-dvi-target-libmudflap \
1009 maybe-dvi-target-newlib \
1010 maybe-dvi-target-libgfortran \
1011 maybe-dvi-target-libobjc \
1012 maybe-dvi-target-libtermcap \
1013 maybe-dvi-target-winsup \
1014 maybe-dvi-target-libgloss \
1015 maybe-dvi-target-libiberty \
1016 maybe-dvi-target-gperf \
1017 maybe-dvi-target-examples \
1018 maybe-dvi-target-libffi \
1019 maybe-dvi-target-libjava \
1020 maybe-dvi-target-zlib \
1021 maybe-dvi-target-boehm-gc \
1022 maybe-dvi-target-qthreads \
1023 maybe-dvi-target-rda \
1024 maybe-dvi-target-libada
1026 .PHONY: do-TAGS
1027 do-TAGS: TAGS-host TAGS-target
1029 .PHONY: TAGS-host
1030 TAGS-host: maybe-TAGS-gcc \
1031 maybe-TAGS-ash \
1032 maybe-TAGS-autoconf \
1033 maybe-TAGS-automake \
1034 maybe-TAGS-bash \
1035 maybe-TAGS-bfd \
1036 maybe-TAGS-opcodes \
1037 maybe-TAGS-binutils \
1038 maybe-TAGS-bison \
1039 maybe-TAGS-byacc \
1040 maybe-TAGS-bzip2 \
1041 maybe-TAGS-dejagnu \
1042 maybe-TAGS-diff \
1043 maybe-TAGS-dosutils \
1044 maybe-TAGS-etc \
1045 maybe-TAGS-fastjar \
1046 maybe-TAGS-fileutils \
1047 maybe-TAGS-findutils \
1048 maybe-TAGS-find \
1049 maybe-TAGS-flex \
1050 maybe-TAGS-gas \
1051 maybe-TAGS-gawk \
1052 maybe-TAGS-gettext \
1053 maybe-TAGS-gnuserv \
1054 maybe-TAGS-gprof \
1055 maybe-TAGS-gzip \
1056 maybe-TAGS-hello \
1057 maybe-TAGS-indent \
1058 maybe-TAGS-intl \
1059 maybe-TAGS-tcl \
1060 maybe-TAGS-itcl \
1061 maybe-TAGS-ld \
1062 maybe-TAGS-libcpp \
1063 maybe-TAGS-libgui \
1064 maybe-TAGS-libbanshee \
1065 maybe-TAGS-libiberty \
1066 maybe-TAGS-libtool \
1067 maybe-TAGS-m4 \
1068 maybe-TAGS-make \
1069 maybe-TAGS-mmalloc \
1070 maybe-TAGS-patch \
1071 maybe-TAGS-perl \
1072 maybe-TAGS-prms \
1073 maybe-TAGS-rcs \
1074 maybe-TAGS-readline \
1075 maybe-TAGS-release \
1076 maybe-TAGS-recode \
1077 maybe-TAGS-sed \
1078 maybe-TAGS-send-pr \
1079 maybe-TAGS-shellutils \
1080 maybe-TAGS-sid \
1081 maybe-TAGS-sim \
1082 maybe-TAGS-tar \
1083 maybe-TAGS-texinfo \
1084 maybe-TAGS-textutils \
1085 maybe-TAGS-time \
1086 maybe-TAGS-uudecode \
1087 maybe-TAGS-wdiff \
1088 maybe-TAGS-zip \
1089 maybe-TAGS-zlib \
1090 maybe-TAGS-gdb \
1091 maybe-TAGS-expect \
1092 maybe-TAGS-guile \
1093 maybe-TAGS-tk \
1094 maybe-TAGS-tix \
1095 maybe-TAGS-libtermcap \
1096 maybe-TAGS-utils
1098 .PHONY: TAGS-target
1099 TAGS-target: \
1100 maybe-TAGS-target-libstdc++-v3 \
1101 maybe-TAGS-target-libmudflap \
1102 maybe-TAGS-target-newlib \
1103 maybe-TAGS-target-libgfortran \
1104 maybe-TAGS-target-libobjc \
1105 maybe-TAGS-target-libtermcap \
1106 maybe-TAGS-target-winsup \
1107 maybe-TAGS-target-libgloss \
1108 maybe-TAGS-target-libiberty \
1109 maybe-TAGS-target-gperf \
1110 maybe-TAGS-target-examples \
1111 maybe-TAGS-target-libffi \
1112 maybe-TAGS-target-libjava \
1113 maybe-TAGS-target-zlib \
1114 maybe-TAGS-target-boehm-gc \
1115 maybe-TAGS-target-qthreads \
1116 maybe-TAGS-target-rda \
1117 maybe-TAGS-target-libada
1119 .PHONY: do-install-info
1120 do-install-info: install-info-host install-info-target
1122 .PHONY: install-info-host
1123 install-info-host: maybe-install-info-gcc \
1124 maybe-install-info-ash \
1125 maybe-install-info-autoconf \
1126 maybe-install-info-automake \
1127 maybe-install-info-bash \
1128 maybe-install-info-bfd \
1129 maybe-install-info-opcodes \
1130 maybe-install-info-binutils \
1131 maybe-install-info-bison \
1132 maybe-install-info-byacc \
1133 maybe-install-info-bzip2 \
1134 maybe-install-info-dejagnu \
1135 maybe-install-info-diff \
1136 maybe-install-info-dosutils \
1137 maybe-install-info-etc \
1138 maybe-install-info-fastjar \
1139 maybe-install-info-fileutils \
1140 maybe-install-info-findutils \
1141 maybe-install-info-find \
1142 maybe-install-info-flex \
1143 maybe-install-info-gas \
1144 maybe-install-info-gawk \
1145 maybe-install-info-gettext \
1146 maybe-install-info-gnuserv \
1147 maybe-install-info-gprof \
1148 maybe-install-info-gzip \
1149 maybe-install-info-hello \
1150 maybe-install-info-indent \
1151 maybe-install-info-intl \
1152 maybe-install-info-tcl \
1153 maybe-install-info-itcl \
1154 maybe-install-info-ld \
1155 maybe-install-info-libcpp \
1156 maybe-install-info-libgui \
1157 maybe-install-info-libbanshee \
1158 maybe-install-info-libiberty \
1159 maybe-install-info-libtool \
1160 maybe-install-info-m4 \
1161 maybe-install-info-make \
1162 maybe-install-info-mmalloc \
1163 maybe-install-info-patch \
1164 maybe-install-info-perl \
1165 maybe-install-info-prms \
1166 maybe-install-info-rcs \
1167 maybe-install-info-readline \
1168 maybe-install-info-release \
1169 maybe-install-info-recode \
1170 maybe-install-info-sed \
1171 maybe-install-info-send-pr \
1172 maybe-install-info-shellutils \
1173 maybe-install-info-sid \
1174 maybe-install-info-sim \
1175 maybe-install-info-tar \
1176 maybe-install-info-texinfo \
1177 maybe-install-info-textutils \
1178 maybe-install-info-time \
1179 maybe-install-info-uudecode \
1180 maybe-install-info-wdiff \
1181 maybe-install-info-zip \
1182 maybe-install-info-zlib \
1183 maybe-install-info-gdb \
1184 maybe-install-info-expect \
1185 maybe-install-info-guile \
1186 maybe-install-info-tk \
1187 maybe-install-info-tix \
1188 maybe-install-info-libtermcap \
1189 maybe-install-info-utils
1191 .PHONY: install-info-target
1192 install-info-target: \
1193 maybe-install-info-target-libstdc++-v3 \
1194 maybe-install-info-target-libmudflap \
1195 maybe-install-info-target-newlib \
1196 maybe-install-info-target-libgfortran \
1197 maybe-install-info-target-libobjc \
1198 maybe-install-info-target-libtermcap \
1199 maybe-install-info-target-winsup \
1200 maybe-install-info-target-libgloss \
1201 maybe-install-info-target-libiberty \
1202 maybe-install-info-target-gperf \
1203 maybe-install-info-target-examples \
1204 maybe-install-info-target-libffi \
1205 maybe-install-info-target-libjava \
1206 maybe-install-info-target-zlib \
1207 maybe-install-info-target-boehm-gc \
1208 maybe-install-info-target-qthreads \
1209 maybe-install-info-target-rda \
1210 maybe-install-info-target-libada
1212 .PHONY: do-installcheck
1213 do-installcheck: installcheck-host installcheck-target
1215 .PHONY: installcheck-host
1216 installcheck-host: maybe-installcheck-gcc \
1217 maybe-installcheck-ash \
1218 maybe-installcheck-autoconf \
1219 maybe-installcheck-automake \
1220 maybe-installcheck-bash \
1221 maybe-installcheck-bfd \
1222 maybe-installcheck-opcodes \
1223 maybe-installcheck-binutils \
1224 maybe-installcheck-bison \
1225 maybe-installcheck-byacc \
1226 maybe-installcheck-bzip2 \
1227 maybe-installcheck-dejagnu \
1228 maybe-installcheck-diff \
1229 maybe-installcheck-dosutils \
1230 maybe-installcheck-etc \
1231 maybe-installcheck-fastjar \
1232 maybe-installcheck-fileutils \
1233 maybe-installcheck-findutils \
1234 maybe-installcheck-find \
1235 maybe-installcheck-flex \
1236 maybe-installcheck-gas \
1237 maybe-installcheck-gawk \
1238 maybe-installcheck-gettext \
1239 maybe-installcheck-gnuserv \
1240 maybe-installcheck-gprof \
1241 maybe-installcheck-gzip \
1242 maybe-installcheck-hello \
1243 maybe-installcheck-indent \
1244 maybe-installcheck-intl \
1245 maybe-installcheck-tcl \
1246 maybe-installcheck-itcl \
1247 maybe-installcheck-ld \
1248 maybe-installcheck-libcpp \
1249 maybe-installcheck-libgui \
1250 maybe-installcheck-libbanshee \
1251 maybe-installcheck-libiberty \
1252 maybe-installcheck-libtool \
1253 maybe-installcheck-m4 \
1254 maybe-installcheck-make \
1255 maybe-installcheck-mmalloc \
1256 maybe-installcheck-patch \
1257 maybe-installcheck-perl \
1258 maybe-installcheck-prms \
1259 maybe-installcheck-rcs \
1260 maybe-installcheck-readline \
1261 maybe-installcheck-release \
1262 maybe-installcheck-recode \
1263 maybe-installcheck-sed \
1264 maybe-installcheck-send-pr \
1265 maybe-installcheck-shellutils \
1266 maybe-installcheck-sid \
1267 maybe-installcheck-sim \
1268 maybe-installcheck-tar \
1269 maybe-installcheck-texinfo \
1270 maybe-installcheck-textutils \
1271 maybe-installcheck-time \
1272 maybe-installcheck-uudecode \
1273 maybe-installcheck-wdiff \
1274 maybe-installcheck-zip \
1275 maybe-installcheck-zlib \
1276 maybe-installcheck-gdb \
1277 maybe-installcheck-expect \
1278 maybe-installcheck-guile \
1279 maybe-installcheck-tk \
1280 maybe-installcheck-tix \
1281 maybe-installcheck-libtermcap \
1282 maybe-installcheck-utils
1284 .PHONY: installcheck-target
1285 installcheck-target: \
1286 maybe-installcheck-target-libstdc++-v3 \
1287 maybe-installcheck-target-libmudflap \
1288 maybe-installcheck-target-newlib \
1289 maybe-installcheck-target-libgfortran \
1290 maybe-installcheck-target-libobjc \
1291 maybe-installcheck-target-libtermcap \
1292 maybe-installcheck-target-winsup \
1293 maybe-installcheck-target-libgloss \
1294 maybe-installcheck-target-libiberty \
1295 maybe-installcheck-target-gperf \
1296 maybe-installcheck-target-examples \
1297 maybe-installcheck-target-libffi \
1298 maybe-installcheck-target-libjava \
1299 maybe-installcheck-target-zlib \
1300 maybe-installcheck-target-boehm-gc \
1301 maybe-installcheck-target-qthreads \
1302 maybe-installcheck-target-rda \
1303 maybe-installcheck-target-libada
1305 .PHONY: do-mostlyclean
1306 do-mostlyclean: mostlyclean-host mostlyclean-target
1308 .PHONY: mostlyclean-host
1309 mostlyclean-host: maybe-mostlyclean-gcc \
1310 maybe-mostlyclean-ash \
1311 maybe-mostlyclean-autoconf \
1312 maybe-mostlyclean-automake \
1313 maybe-mostlyclean-bash \
1314 maybe-mostlyclean-bfd \
1315 maybe-mostlyclean-opcodes \
1316 maybe-mostlyclean-binutils \
1317 maybe-mostlyclean-bison \
1318 maybe-mostlyclean-byacc \
1319 maybe-mostlyclean-bzip2 \
1320 maybe-mostlyclean-dejagnu \
1321 maybe-mostlyclean-diff \
1322 maybe-mostlyclean-dosutils \
1323 maybe-mostlyclean-etc \
1324 maybe-mostlyclean-fastjar \
1325 maybe-mostlyclean-fileutils \
1326 maybe-mostlyclean-findutils \
1327 maybe-mostlyclean-find \
1328 maybe-mostlyclean-flex \
1329 maybe-mostlyclean-gas \
1330 maybe-mostlyclean-gawk \
1331 maybe-mostlyclean-gettext \
1332 maybe-mostlyclean-gnuserv \
1333 maybe-mostlyclean-gprof \
1334 maybe-mostlyclean-gzip \
1335 maybe-mostlyclean-hello \
1336 maybe-mostlyclean-indent \
1337 maybe-mostlyclean-intl \
1338 maybe-mostlyclean-tcl \
1339 maybe-mostlyclean-itcl \
1340 maybe-mostlyclean-ld \
1341 maybe-mostlyclean-libcpp \
1342 maybe-mostlyclean-libgui \
1343 maybe-mostlyclean-libbanshee \
1344 maybe-mostlyclean-libiberty \
1345 maybe-mostlyclean-libtool \
1346 maybe-mostlyclean-m4 \
1347 maybe-mostlyclean-make \
1348 maybe-mostlyclean-mmalloc \
1349 maybe-mostlyclean-patch \
1350 maybe-mostlyclean-perl \
1351 maybe-mostlyclean-prms \
1352 maybe-mostlyclean-rcs \
1353 maybe-mostlyclean-readline \
1354 maybe-mostlyclean-release \
1355 maybe-mostlyclean-recode \
1356 maybe-mostlyclean-sed \
1357 maybe-mostlyclean-send-pr \
1358 maybe-mostlyclean-shellutils \
1359 maybe-mostlyclean-sid \
1360 maybe-mostlyclean-sim \
1361 maybe-mostlyclean-tar \
1362 maybe-mostlyclean-texinfo \
1363 maybe-mostlyclean-textutils \
1364 maybe-mostlyclean-time \
1365 maybe-mostlyclean-uudecode \
1366 maybe-mostlyclean-wdiff \
1367 maybe-mostlyclean-zip \
1368 maybe-mostlyclean-zlib \
1369 maybe-mostlyclean-gdb \
1370 maybe-mostlyclean-expect \
1371 maybe-mostlyclean-guile \
1372 maybe-mostlyclean-tk \
1373 maybe-mostlyclean-tix \
1374 maybe-mostlyclean-libtermcap \
1375 maybe-mostlyclean-utils
1377 .PHONY: mostlyclean-target
1378 mostlyclean-target: \
1379 maybe-mostlyclean-target-libstdc++-v3 \
1380 maybe-mostlyclean-target-libmudflap \
1381 maybe-mostlyclean-target-newlib \
1382 maybe-mostlyclean-target-libgfortran \
1383 maybe-mostlyclean-target-libobjc \
1384 maybe-mostlyclean-target-libtermcap \
1385 maybe-mostlyclean-target-winsup \
1386 maybe-mostlyclean-target-libgloss \
1387 maybe-mostlyclean-target-libiberty \
1388 maybe-mostlyclean-target-gperf \
1389 maybe-mostlyclean-target-examples \
1390 maybe-mostlyclean-target-libffi \
1391 maybe-mostlyclean-target-libjava \
1392 maybe-mostlyclean-target-zlib \
1393 maybe-mostlyclean-target-boehm-gc \
1394 maybe-mostlyclean-target-qthreads \
1395 maybe-mostlyclean-target-rda \
1396 maybe-mostlyclean-target-libada
1398 .PHONY: do-clean
1399 do-clean: clean-host clean-target
1401 .PHONY: clean-host
1402 clean-host: maybe-clean-gcc \
1403 maybe-clean-ash \
1404 maybe-clean-autoconf \
1405 maybe-clean-automake \
1406 maybe-clean-bash \
1407 maybe-clean-bfd \
1408 maybe-clean-opcodes \
1409 maybe-clean-binutils \
1410 maybe-clean-bison \
1411 maybe-clean-byacc \
1412 maybe-clean-bzip2 \
1413 maybe-clean-dejagnu \
1414 maybe-clean-diff \
1415 maybe-clean-dosutils \
1416 maybe-clean-etc \
1417 maybe-clean-fastjar \
1418 maybe-clean-fileutils \
1419 maybe-clean-findutils \
1420 maybe-clean-find \
1421 maybe-clean-flex \
1422 maybe-clean-gas \
1423 maybe-clean-gawk \
1424 maybe-clean-gettext \
1425 maybe-clean-gnuserv \
1426 maybe-clean-gprof \
1427 maybe-clean-gzip \
1428 maybe-clean-hello \
1429 maybe-clean-indent \
1430 maybe-clean-intl \
1431 maybe-clean-tcl \
1432 maybe-clean-itcl \
1433 maybe-clean-ld \
1434 maybe-clean-libcpp \
1435 maybe-clean-libgui \
1436 maybe-clean-libbanshee \
1437 maybe-clean-libiberty \
1438 maybe-clean-libtool \
1439 maybe-clean-m4 \
1440 maybe-clean-make \
1441 maybe-clean-mmalloc \
1442 maybe-clean-patch \
1443 maybe-clean-perl \
1444 maybe-clean-prms \
1445 maybe-clean-rcs \
1446 maybe-clean-readline \
1447 maybe-clean-release \
1448 maybe-clean-recode \
1449 maybe-clean-sed \
1450 maybe-clean-send-pr \
1451 maybe-clean-shellutils \
1452 maybe-clean-sid \
1453 maybe-clean-sim \
1454 maybe-clean-tar \
1455 maybe-clean-texinfo \
1456 maybe-clean-textutils \
1457 maybe-clean-time \
1458 maybe-clean-uudecode \
1459 maybe-clean-wdiff \
1460 maybe-clean-zip \
1461 maybe-clean-zlib \
1462 maybe-clean-gdb \
1463 maybe-clean-expect \
1464 maybe-clean-guile \
1465 maybe-clean-tk \
1466 maybe-clean-tix \
1467 maybe-clean-libtermcap \
1468 maybe-clean-utils
1470 .PHONY: clean-target
1471 clean-target: \
1472 maybe-clean-target-libstdc++-v3 \
1473 maybe-clean-target-libmudflap \
1474 maybe-clean-target-newlib \
1475 maybe-clean-target-libgfortran \
1476 maybe-clean-target-libobjc \
1477 maybe-clean-target-libtermcap \
1478 maybe-clean-target-winsup \
1479 maybe-clean-target-libgloss \
1480 maybe-clean-target-libiberty \
1481 maybe-clean-target-gperf \
1482 maybe-clean-target-examples \
1483 maybe-clean-target-libffi \
1484 maybe-clean-target-libjava \
1485 maybe-clean-target-zlib \
1486 maybe-clean-target-boehm-gc \
1487 maybe-clean-target-qthreads \
1488 maybe-clean-target-rda \
1489 maybe-clean-target-libada
1491 .PHONY: do-distclean
1492 do-distclean: distclean-host distclean-target
1494 .PHONY: distclean-host
1495 distclean-host: maybe-distclean-gcc \
1496 maybe-distclean-ash \
1497 maybe-distclean-autoconf \
1498 maybe-distclean-automake \
1499 maybe-distclean-bash \
1500 maybe-distclean-bfd \
1501 maybe-distclean-opcodes \
1502 maybe-distclean-binutils \
1503 maybe-distclean-bison \
1504 maybe-distclean-byacc \
1505 maybe-distclean-bzip2 \
1506 maybe-distclean-dejagnu \
1507 maybe-distclean-diff \
1508 maybe-distclean-dosutils \
1509 maybe-distclean-etc \
1510 maybe-distclean-fastjar \
1511 maybe-distclean-fileutils \
1512 maybe-distclean-findutils \
1513 maybe-distclean-find \
1514 maybe-distclean-flex \
1515 maybe-distclean-gas \
1516 maybe-distclean-gawk \
1517 maybe-distclean-gettext \
1518 maybe-distclean-gnuserv \
1519 maybe-distclean-gprof \
1520 maybe-distclean-gzip \
1521 maybe-distclean-hello \
1522 maybe-distclean-indent \
1523 maybe-distclean-intl \
1524 maybe-distclean-tcl \
1525 maybe-distclean-itcl \
1526 maybe-distclean-ld \
1527 maybe-distclean-libcpp \
1528 maybe-distclean-libgui \
1529 maybe-distclean-libbanshee \
1530 maybe-distclean-libiberty \
1531 maybe-distclean-libtool \
1532 maybe-distclean-m4 \
1533 maybe-distclean-make \
1534 maybe-distclean-mmalloc \
1535 maybe-distclean-patch \
1536 maybe-distclean-perl \
1537 maybe-distclean-prms \
1538 maybe-distclean-rcs \
1539 maybe-distclean-readline \
1540 maybe-distclean-release \
1541 maybe-distclean-recode \
1542 maybe-distclean-sed \
1543 maybe-distclean-send-pr \
1544 maybe-distclean-shellutils \
1545 maybe-distclean-sid \
1546 maybe-distclean-sim \
1547 maybe-distclean-tar \
1548 maybe-distclean-texinfo \
1549 maybe-distclean-textutils \
1550 maybe-distclean-time \
1551 maybe-distclean-uudecode \
1552 maybe-distclean-wdiff \
1553 maybe-distclean-zip \
1554 maybe-distclean-zlib \
1555 maybe-distclean-gdb \
1556 maybe-distclean-expect \
1557 maybe-distclean-guile \
1558 maybe-distclean-tk \
1559 maybe-distclean-tix \
1560 maybe-distclean-libtermcap \
1561 maybe-distclean-utils
1563 .PHONY: distclean-target
1564 distclean-target: \
1565 maybe-distclean-target-libstdc++-v3 \
1566 maybe-distclean-target-libmudflap \
1567 maybe-distclean-target-newlib \
1568 maybe-distclean-target-libgfortran \
1569 maybe-distclean-target-libobjc \
1570 maybe-distclean-target-libtermcap \
1571 maybe-distclean-target-winsup \
1572 maybe-distclean-target-libgloss \
1573 maybe-distclean-target-libiberty \
1574 maybe-distclean-target-gperf \
1575 maybe-distclean-target-examples \
1576 maybe-distclean-target-libffi \
1577 maybe-distclean-target-libjava \
1578 maybe-distclean-target-zlib \
1579 maybe-distclean-target-boehm-gc \
1580 maybe-distclean-target-qthreads \
1581 maybe-distclean-target-rda \
1582 maybe-distclean-target-libada
1584 .PHONY: do-maintainer-clean
1585 do-maintainer-clean: maintainer-clean-host maintainer-clean-target
1587 .PHONY: maintainer-clean-host
1588 maintainer-clean-host: maybe-maintainer-clean-gcc \
1589 maybe-maintainer-clean-ash \
1590 maybe-maintainer-clean-autoconf \
1591 maybe-maintainer-clean-automake \
1592 maybe-maintainer-clean-bash \
1593 maybe-maintainer-clean-bfd \
1594 maybe-maintainer-clean-opcodes \
1595 maybe-maintainer-clean-binutils \
1596 maybe-maintainer-clean-bison \
1597 maybe-maintainer-clean-byacc \
1598 maybe-maintainer-clean-bzip2 \
1599 maybe-maintainer-clean-dejagnu \
1600 maybe-maintainer-clean-diff \
1601 maybe-maintainer-clean-dosutils \
1602 maybe-maintainer-clean-etc \
1603 maybe-maintainer-clean-fastjar \
1604 maybe-maintainer-clean-fileutils \
1605 maybe-maintainer-clean-findutils \
1606 maybe-maintainer-clean-find \
1607 maybe-maintainer-clean-flex \
1608 maybe-maintainer-clean-gas \
1609 maybe-maintainer-clean-gawk \
1610 maybe-maintainer-clean-gettext \
1611 maybe-maintainer-clean-gnuserv \
1612 maybe-maintainer-clean-gprof \
1613 maybe-maintainer-clean-gzip \
1614 maybe-maintainer-clean-hello \
1615 maybe-maintainer-clean-indent \
1616 maybe-maintainer-clean-intl \
1617 maybe-maintainer-clean-tcl \
1618 maybe-maintainer-clean-itcl \
1619 maybe-maintainer-clean-ld \
1620 maybe-maintainer-clean-libcpp \
1621 maybe-maintainer-clean-libgui \
1622 maybe-maintainer-clean-libbanshee \
1623 maybe-maintainer-clean-libiberty \
1624 maybe-maintainer-clean-libtool \
1625 maybe-maintainer-clean-m4 \
1626 maybe-maintainer-clean-make \
1627 maybe-maintainer-clean-mmalloc \
1628 maybe-maintainer-clean-patch \
1629 maybe-maintainer-clean-perl \
1630 maybe-maintainer-clean-prms \
1631 maybe-maintainer-clean-rcs \
1632 maybe-maintainer-clean-readline \
1633 maybe-maintainer-clean-release \
1634 maybe-maintainer-clean-recode \
1635 maybe-maintainer-clean-sed \
1636 maybe-maintainer-clean-send-pr \
1637 maybe-maintainer-clean-shellutils \
1638 maybe-maintainer-clean-sid \
1639 maybe-maintainer-clean-sim \
1640 maybe-maintainer-clean-tar \
1641 maybe-maintainer-clean-texinfo \
1642 maybe-maintainer-clean-textutils \
1643 maybe-maintainer-clean-time \
1644 maybe-maintainer-clean-uudecode \
1645 maybe-maintainer-clean-wdiff \
1646 maybe-maintainer-clean-zip \
1647 maybe-maintainer-clean-zlib \
1648 maybe-maintainer-clean-gdb \
1649 maybe-maintainer-clean-expect \
1650 maybe-maintainer-clean-guile \
1651 maybe-maintainer-clean-tk \
1652 maybe-maintainer-clean-tix \
1653 maybe-maintainer-clean-libtermcap \
1654 maybe-maintainer-clean-utils
1656 .PHONY: maintainer-clean-target
1657 maintainer-clean-target: \
1658 maybe-maintainer-clean-target-libstdc++-v3 \
1659 maybe-maintainer-clean-target-libmudflap \
1660 maybe-maintainer-clean-target-newlib \
1661 maybe-maintainer-clean-target-libgfortran \
1662 maybe-maintainer-clean-target-libobjc \
1663 maybe-maintainer-clean-target-libtermcap \
1664 maybe-maintainer-clean-target-winsup \
1665 maybe-maintainer-clean-target-libgloss \
1666 maybe-maintainer-clean-target-libiberty \
1667 maybe-maintainer-clean-target-gperf \
1668 maybe-maintainer-clean-target-examples \
1669 maybe-maintainer-clean-target-libffi \
1670 maybe-maintainer-clean-target-libjava \
1671 maybe-maintainer-clean-target-zlib \
1672 maybe-maintainer-clean-target-boehm-gc \
1673 maybe-maintainer-clean-target-qthreads \
1674 maybe-maintainer-clean-target-rda \
1675 maybe-maintainer-clean-target-libada
1678 # Here are the targets which correspond to the do-X targets.
1680 .PHONY: info installcheck dvi install-info
1681 .PHONY: clean distclean mostlyclean maintainer-clean realclean
1682 .PHONY: local-clean local-distclean local-maintainer-clean
1683 info: do-info
1684 installcheck: do-installcheck
1685 dvi: do-dvi
1687 # Make sure makeinfo is built before we do a `make info', if we're
1688 # in fact building texinfo.
1689 do-info: maybe-all-texinfo
1691 install-info: do-install-info dir.info
1692 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1693 if [ -f dir.info ] ; then \
1694 $(INSTALL_DATA) dir.info $(DESTDIR)$(infodir)/dir.info ; \
1695 else true ; fi
1697 local-clean:
1698 -rm -f *.a TEMP errs core *.o *~ \#* TAGS *.E *.log
1700 local-distclean:
1701 -rm -f Makefile config.status config.cache mh-frag mt-frag
1702 -rm -f multilib.out multilib.tmp maybedep.tmp serdep.tmp
1703 -if [ "$(TARGET_SUBDIR)" != "." ]; then \
1704 rm -rf $(TARGET_SUBDIR); \
1705 else true; fi
1706 -rm -rf $(BUILD_SUBDIR)
1707 -rm -f texinfo/po/Makefile texinfo/po/Makefile.in texinfo/info/Makefile
1708 -rm -f texinfo/doc/Makefile texinfo/po/POTFILES
1709 -rmdir texinfo/doc texinfo/info texinfo/intl texinfo/lib 2>/dev/null
1710 -rmdir texinfo/makeinfo texinfo/po texinfo/util 2>/dev/null
1711 -rmdir fastjar gcc libiberty texinfo zlib 2>/dev/null
1713 local-maintainer-clean:
1714 @echo "This command is intended for maintainers to use;"
1715 @echo "it deletes files that may require special tools to rebuild."
1717 clean: do-clean local-clean
1718 mostlyclean: do-mostlyclean local-clean
1719 distclean: do-distclean local-clean local-distclean
1720 maintainer-clean: local-maintainer-clean do-maintainer-clean local-clean
1721 maintainer-clean: local-distclean
1722 realclean: maintainer-clean
1724 # Extra dependency for clean-target, owing to the mixed nature of gcc
1725 clean-target: clean-target-libgcc
1726 clean-target-libgcc:
1727 test ! -d gcc/libgcc || \
1728 (cd gcc/libgcc && find . -type d -print) | \
1729 while read d; do rm -f gcc/$$d/libgcc.a || : ; done
1730 -rm -rf gcc/libgcc
1732 # Check target.
1734 .PHONY: check do-check
1735 check: do-check
1737 # Only include modules actually being configured and built.
1738 do-check: maybe-check-gcc \
1739 maybe-check-ash \
1740 maybe-check-autoconf \
1741 maybe-check-automake \
1742 maybe-check-bash \
1743 maybe-check-bfd \
1744 maybe-check-opcodes \
1745 maybe-check-binutils \
1746 maybe-check-bison \
1747 maybe-check-byacc \
1748 maybe-check-bzip2 \
1749 maybe-check-dejagnu \
1750 maybe-check-diff \
1751 maybe-check-dosutils \
1752 maybe-check-etc \
1753 maybe-check-fastjar \
1754 maybe-check-fileutils \
1755 maybe-check-findutils \
1756 maybe-check-find \
1757 maybe-check-flex \
1758 maybe-check-gas \
1759 maybe-check-gawk \
1760 maybe-check-gettext \
1761 maybe-check-gnuserv \
1762 maybe-check-gprof \
1763 maybe-check-gzip \
1764 maybe-check-hello \
1765 maybe-check-indent \
1766 maybe-check-intl \
1767 maybe-check-tcl \
1768 maybe-check-itcl \
1769 maybe-check-ld \
1770 maybe-check-libcpp \
1771 maybe-check-libgui \
1772 maybe-check-libbanshee \
1773 maybe-check-libiberty \
1774 maybe-check-libtool \
1775 maybe-check-m4 \
1776 maybe-check-make \
1777 maybe-check-mmalloc \
1778 maybe-check-patch \
1779 maybe-check-perl \
1780 maybe-check-prms \
1781 maybe-check-rcs \
1782 maybe-check-readline \
1783 maybe-check-release \
1784 maybe-check-recode \
1785 maybe-check-sed \
1786 maybe-check-send-pr \
1787 maybe-check-shellutils \
1788 maybe-check-sid \
1789 maybe-check-sim \
1790 maybe-check-tar \
1791 maybe-check-texinfo \
1792 maybe-check-textutils \
1793 maybe-check-time \
1794 maybe-check-uudecode \
1795 maybe-check-wdiff \
1796 maybe-check-zip \
1797 maybe-check-zlib \
1798 maybe-check-gdb \
1799 maybe-check-expect \
1800 maybe-check-guile \
1801 maybe-check-tk \
1802 maybe-check-tix \
1803 maybe-check-libtermcap \
1804 maybe-check-utils \
1805 maybe-check-target-libstdc++-v3 \
1806 maybe-check-target-libmudflap \
1807 maybe-check-target-newlib \
1808 maybe-check-target-libgfortran \
1809 maybe-check-target-libobjc \
1810 maybe-check-target-libtermcap \
1811 maybe-check-target-winsup \
1812 maybe-check-target-libgloss \
1813 maybe-check-target-libiberty \
1814 maybe-check-target-gperf \
1815 maybe-check-target-examples \
1816 maybe-check-target-libffi \
1817 maybe-check-target-libjava \
1818 maybe-check-target-zlib \
1819 maybe-check-target-boehm-gc \
1820 maybe-check-target-qthreads \
1821 maybe-check-target-rda \
1822 maybe-check-target-libada
1824 # Automated reporting of test results.
1826 warning.log: build.log
1827 $(srcdir)/contrib/warn_summary build.log > $@
1829 mail-report.log:
1830 if test x'$(BOOT_CFLAGS)' != x''; then \
1831 BOOT_CFLAGS='$(BOOT_CFLAGS)'; export BOOT_CFLAGS; \
1832 fi; \
1833 $(srcdir)/contrib/test_summary -t >$@
1834 chmod +x $@
1835 echo If you really want to send e-mail, run ./$@ now
1837 mail-report-with-warnings.log: warning.log
1838 if test x'$(BOOT_CFLAGS)' != x''; then \
1839 BOOT_CFLAGS='$(BOOT_CFLAGS)'; export BOOT_CFLAGS; \
1840 fi; \
1841 $(srcdir)/contrib/test_summary -t -i warning.log >$@
1842 chmod +x $@
1843 echo If you really want to send e-mail, run ./$@ now
1845 # Installation targets.
1847 .PHONY: install uninstall
1848 install: installdirs install-host install-target
1850 .PHONY: install-host-nogcc
1851 install-host-nogcc: \
1852 maybe-install-ash \
1853 maybe-install-autoconf \
1854 maybe-install-automake \
1855 maybe-install-bash \
1856 maybe-install-bfd \
1857 maybe-install-opcodes \
1858 maybe-install-binutils \
1859 maybe-install-bison \
1860 maybe-install-byacc \
1861 maybe-install-bzip2 \
1862 maybe-install-dejagnu \
1863 maybe-install-diff \
1864 maybe-install-dosutils \
1865 maybe-install-etc \
1866 maybe-install-fastjar \
1867 maybe-install-fileutils \
1868 maybe-install-findutils \
1869 maybe-install-find \
1870 maybe-install-flex \
1871 maybe-install-gas \
1872 maybe-install-gawk \
1873 maybe-install-gettext \
1874 maybe-install-gnuserv \
1875 maybe-install-gprof \
1876 maybe-install-gzip \
1877 maybe-install-hello \
1878 maybe-install-indent \
1879 maybe-install-intl \
1880 maybe-install-tcl \
1881 maybe-install-itcl \
1882 maybe-install-ld \
1883 maybe-install-libcpp \
1884 maybe-install-libgui \
1885 maybe-install-libbanshee \
1886 maybe-install-libiberty \
1887 maybe-install-libtool \
1888 maybe-install-m4 \
1889 maybe-install-make \
1890 maybe-install-mmalloc \
1891 maybe-install-patch \
1892 maybe-install-perl \
1893 maybe-install-prms \
1894 maybe-install-rcs \
1895 maybe-install-readline \
1896 maybe-install-release \
1897 maybe-install-recode \
1898 maybe-install-sed \
1899 maybe-install-send-pr \
1900 maybe-install-shellutils \
1901 maybe-install-sid \
1902 maybe-install-sim \
1903 maybe-install-tar \
1904 maybe-install-texinfo \
1905 maybe-install-textutils \
1906 maybe-install-time \
1907 maybe-install-uudecode \
1908 maybe-install-wdiff \
1909 maybe-install-zip \
1910 maybe-install-zlib \
1911 maybe-install-gdb \
1912 maybe-install-expect \
1913 maybe-install-guile \
1914 maybe-install-tk \
1915 maybe-install-tix \
1916 maybe-install-libtermcap \
1917 maybe-install-utils
1919 .PHONY: install-host
1920 install-host: maybe-install-gcc \
1921 maybe-install-ash \
1922 maybe-install-autoconf \
1923 maybe-install-automake \
1924 maybe-install-bash \
1925 maybe-install-bfd \
1926 maybe-install-opcodes \
1927 maybe-install-binutils \
1928 maybe-install-bison \
1929 maybe-install-byacc \
1930 maybe-install-bzip2 \
1931 maybe-install-dejagnu \
1932 maybe-install-diff \
1933 maybe-install-dosutils \
1934 maybe-install-etc \
1935 maybe-install-fastjar \
1936 maybe-install-fileutils \
1937 maybe-install-findutils \
1938 maybe-install-find \
1939 maybe-install-flex \
1940 maybe-install-gas \
1941 maybe-install-gawk \
1942 maybe-install-gettext \
1943 maybe-install-gnuserv \
1944 maybe-install-gprof \
1945 maybe-install-gzip \
1946 maybe-install-hello \
1947 maybe-install-indent \
1948 maybe-install-intl \
1949 maybe-install-tcl \
1950 maybe-install-itcl \
1951 maybe-install-ld \
1952 maybe-install-libcpp \
1953 maybe-install-libgui \
1954 maybe-install-libbanshee \
1955 maybe-install-libiberty \
1956 maybe-install-libtool \
1957 maybe-install-m4 \
1958 maybe-install-make \
1959 maybe-install-mmalloc \
1960 maybe-install-patch \
1961 maybe-install-perl \
1962 maybe-install-prms \
1963 maybe-install-rcs \
1964 maybe-install-readline \
1965 maybe-install-release \
1966 maybe-install-recode \
1967 maybe-install-sed \
1968 maybe-install-send-pr \
1969 maybe-install-shellutils \
1970 maybe-install-sid \
1971 maybe-install-sim \
1972 maybe-install-tar \
1973 maybe-install-texinfo \
1974 maybe-install-textutils \
1975 maybe-install-time \
1976 maybe-install-uudecode \
1977 maybe-install-wdiff \
1978 maybe-install-zip \
1979 maybe-install-zlib \
1980 maybe-install-gdb \
1981 maybe-install-expect \
1982 maybe-install-guile \
1983 maybe-install-tk \
1984 maybe-install-tix \
1985 maybe-install-libtermcap \
1986 maybe-install-utils
1988 .PHONY: install-target
1989 install-target: \
1990 maybe-install-target-libstdc++-v3 \
1991 maybe-install-target-libmudflap \
1992 maybe-install-target-newlib \
1993 maybe-install-target-libgfortran \
1994 maybe-install-target-libobjc \
1995 maybe-install-target-libtermcap \
1996 maybe-install-target-winsup \
1997 maybe-install-target-libgloss \
1998 maybe-install-target-libiberty \
1999 maybe-install-target-gperf \
2000 maybe-install-target-examples \
2001 maybe-install-target-libffi \
2002 maybe-install-target-libjava \
2003 maybe-install-target-zlib \
2004 maybe-install-target-boehm-gc \
2005 maybe-install-target-qthreads \
2006 maybe-install-target-rda \
2007 maybe-install-target-libada
2009 uninstall:
2010 @echo "the uninstall target is not supported in this tree"
2012 .PHONY: install.all
2013 install.all: install-no-fixedincludes
2014 @if [ -f ./gcc/Makefile ] ; then \
2015 r=`${PWD_COMMAND}` ; export r ; \
2016 $(SET_LIB_PATH) \
2017 $(HOST_EXPORTS) \
2018 (cd ./gcc && \
2019 $(MAKE) $(FLAGS_TO_PASS) install-headers) ; \
2020 else \
2021 true ; \
2024 # install-no-fixedincludes is used because Cygnus can not distribute
2025 # the fixed header files.
2026 .PHONY: install-no-fixedincludes
2027 install-no-fixedincludes: installdirs install-host-nogcc \
2028 install-target gcc-no-fixedincludes
2030 ### other supporting targets
2032 MAKEDIRS= \
2033 $(DESTDIR)$(prefix) \
2034 $(DESTDIR)$(exec_prefix)
2035 .PHONY: installdirs
2036 installdirs: mkinstalldirs
2037 $(SHELL) $(srcdir)/mkinstalldirs $(MAKEDIRS)
2039 dir.info: do-install-info
2040 if [ -f $(srcdir)/texinfo/gen-info-dir ] ; then \
2041 $(srcdir)/texinfo/gen-info-dir $(DESTDIR)$(infodir) $(srcdir)/texinfo/dir.info-template > dir.info.new ; \
2042 mv -f dir.info.new dir.info ; \
2043 else true ; \
2046 dist:
2047 @echo "Building a full distribution of this tree isn't done"
2048 @echo "via 'make dist'. Check out the etc/ subdirectory"
2050 etags tags: TAGS
2052 # Right now this just builds TAGS in each subdirectory. emacs19 has the
2053 # ability to use several tags files at once, so there is probably no need
2054 # to combine them into one big TAGS file (like CVS 1.3 does). We could
2055 # (if we felt like it) have this Makefile write a piece of elisp which
2056 # the user could load to tell emacs19 where all the TAGS files we just
2057 # built are.
2058 TAGS: do-TAGS
2060 # --------------------------------------
2061 # Modules which run on the build machine
2062 # --------------------------------------
2064 .PHONY: configure-build-libiberty maybe-configure-build-libiberty
2065 maybe-configure-build-libiberty:
2066 @if build-libiberty
2067 maybe-configure-build-libiberty: configure-build-libiberty
2068 configure-build-libiberty:
2069 @test ! -f $(BUILD_SUBDIR)/libiberty/Makefile || exit 0; \
2070 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/libiberty ; \
2071 r=`${PWD_COMMAND}`; export r; \
2072 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2073 $(BUILD_EXPORTS) \
2074 echo Configuring in $(BUILD_SUBDIR)/libiberty; \
2075 cd "$(BUILD_SUBDIR)/libiberty" || exit 1; \
2076 case $(srcdir) in \
2077 /* | [A-Za-z]:[\\/]*) \
2078 topdir=$(srcdir) ;; \
2079 *) \
2080 case "$(BUILD_SUBDIR)" in \
2081 .) topdir="../$(srcdir)" ;; \
2082 *) topdir="../../$(srcdir)" ;; \
2083 esac ;; \
2084 esac; \
2085 if [ "$(srcdir)" = "." ] ; then \
2086 if [ "$(BUILD_SUBDIR)" != "." ] ; then \
2087 if $(SHELL) $$s/symlink-tree $${topdir}/libiberty "no-such-file" ; then \
2088 if [ -f Makefile ]; then \
2089 if $(MAKE) distclean; then \
2090 true; \
2091 else \
2092 exit 1; \
2093 fi; \
2094 else \
2095 true; \
2096 fi; \
2097 else \
2098 exit 1; \
2099 fi; \
2100 else \
2101 true; \
2102 fi; \
2103 srcdiroption="--srcdir=."; \
2104 libsrcdir="."; \
2105 else \
2106 srcdiroption="--srcdir=$${topdir}/libiberty"; \
2107 libsrcdir="$$s/libiberty"; \
2108 fi; \
2109 rm -f no-such-file || : ; \
2110 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2111 $(BUILD_CONFIGARGS) $${srcdiroption} \
2112 --with-build-subdir="$(BUILD_SUBDIR)" \
2113 || exit 1
2114 @endif build-libiberty
2116 .PHONY: all-build-libiberty maybe-all-build-libiberty
2117 maybe-all-build-libiberty:
2118 @if build-libiberty
2119 maybe-all-build-libiberty: all-build-libiberty
2120 all-build-libiberty: configure-build-libiberty
2121 @r=`${PWD_COMMAND}`; export r; \
2122 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2123 $(BUILD_EXPORTS) \
2124 (cd $(BUILD_SUBDIR)/libiberty && $(MAKE) all)
2125 @endif build-libiberty
2127 .PHONY: configure-build-libbanshee maybe-configure-build-libbanshee
2128 maybe-configure-build-libbanshee:
2129 @if build-libbanshee
2130 maybe-configure-build-libbanshee: configure-build-libbanshee
2131 configure-build-libbanshee:
2132 @test ! -f $(BUILD_SUBDIR)/libbanshee/Makefile || exit 0; \
2133 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/libbanshee ; \
2134 r=`${PWD_COMMAND}`; export r; \
2135 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2136 $(BUILD_EXPORTS) \
2137 echo Configuring in $(BUILD_SUBDIR)/libbanshee; \
2138 cd "$(BUILD_SUBDIR)/libbanshee" || exit 1; \
2139 case $(srcdir) in \
2140 /* | [A-Za-z]:[\\/]*) \
2141 topdir=$(srcdir) ;; \
2142 *) \
2143 case "$(BUILD_SUBDIR)" in \
2144 .) topdir="../$(srcdir)" ;; \
2145 *) topdir="../../$(srcdir)" ;; \
2146 esac ;; \
2147 esac; \
2148 if [ "$(srcdir)" = "." ] ; then \
2149 if [ "$(BUILD_SUBDIR)" != "." ] ; then \
2150 if $(SHELL) $$s/symlink-tree $${topdir}/libbanshee "no-such-file" ; then \
2151 if [ -f Makefile ]; then \
2152 if $(MAKE) distclean; then \
2153 true; \
2154 else \
2155 exit 1; \
2156 fi; \
2157 else \
2158 true; \
2159 fi; \
2160 else \
2161 exit 1; \
2162 fi; \
2163 else \
2164 true; \
2165 fi; \
2166 srcdiroption="--srcdir=."; \
2167 libsrcdir="."; \
2168 else \
2169 srcdiroption="--srcdir=$${topdir}/libbanshee"; \
2170 libsrcdir="$$s/libbanshee"; \
2171 fi; \
2172 rm -f no-such-file || : ; \
2173 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2174 $(BUILD_CONFIGARGS) $${srcdiroption} \
2175 --with-build-subdir="$(BUILD_SUBDIR)" \
2176 || exit 1
2177 @endif build-libbanshee
2179 .PHONY: all-build-libbanshee maybe-all-build-libbanshee
2180 maybe-all-build-libbanshee:
2181 @if build-libbanshee
2182 maybe-all-build-libbanshee: all-build-libbanshee
2183 all-build-libbanshee: configure-build-libbanshee
2184 @r=`${PWD_COMMAND}`; export r; \
2185 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2186 $(BUILD_EXPORTS) \
2187 (cd $(BUILD_SUBDIR)/libbanshee && $(MAKE) all)
2188 @endif build-libbanshee
2190 .PHONY: configure-build-bison maybe-configure-build-bison
2191 maybe-configure-build-bison:
2192 @if build-bison
2193 maybe-configure-build-bison: configure-build-bison
2194 configure-build-bison:
2195 @test ! -f $(BUILD_SUBDIR)/bison/Makefile || exit 0; \
2196 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/bison ; \
2197 r=`${PWD_COMMAND}`; export r; \
2198 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2199 $(BUILD_EXPORTS) \
2200 echo Configuring in $(BUILD_SUBDIR)/bison; \
2201 cd "$(BUILD_SUBDIR)/bison" || exit 1; \
2202 case $(srcdir) in \
2203 /* | [A-Za-z]:[\\/]*) \
2204 topdir=$(srcdir) ;; \
2205 *) \
2206 case "$(BUILD_SUBDIR)" in \
2207 .) topdir="../$(srcdir)" ;; \
2208 *) topdir="../../$(srcdir)" ;; \
2209 esac ;; \
2210 esac; \
2211 if [ "$(srcdir)" = "." ] ; then \
2212 if [ "$(BUILD_SUBDIR)" != "." ] ; then \
2213 if $(SHELL) $$s/symlink-tree $${topdir}/bison "no-such-file" ; then \
2214 if [ -f Makefile ]; then \
2215 if $(MAKE) distclean; then \
2216 true; \
2217 else \
2218 exit 1; \
2219 fi; \
2220 else \
2221 true; \
2222 fi; \
2223 else \
2224 exit 1; \
2225 fi; \
2226 else \
2227 true; \
2228 fi; \
2229 srcdiroption="--srcdir=."; \
2230 libsrcdir="."; \
2231 else \
2232 srcdiroption="--srcdir=$${topdir}/bison"; \
2233 libsrcdir="$$s/bison"; \
2234 fi; \
2235 rm -f no-such-file || : ; \
2236 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2237 $(BUILD_CONFIGARGS) $${srcdiroption} \
2238 --with-build-subdir="$(BUILD_SUBDIR)" \
2239 || exit 1
2240 @endif build-bison
2242 .PHONY: all-build-bison maybe-all-build-bison
2243 maybe-all-build-bison:
2244 @if build-bison
2245 maybe-all-build-bison: all-build-bison
2246 all-build-bison: configure-build-bison
2247 @r=`${PWD_COMMAND}`; export r; \
2248 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2249 $(BUILD_EXPORTS) \
2250 (cd $(BUILD_SUBDIR)/bison && $(MAKE) all)
2251 @endif build-bison
2253 .PHONY: configure-build-byacc maybe-configure-build-byacc
2254 maybe-configure-build-byacc:
2255 @if build-byacc
2256 maybe-configure-build-byacc: configure-build-byacc
2257 configure-build-byacc:
2258 @test ! -f $(BUILD_SUBDIR)/byacc/Makefile || exit 0; \
2259 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/byacc ; \
2260 r=`${PWD_COMMAND}`; export r; \
2261 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2262 $(BUILD_EXPORTS) \
2263 echo Configuring in $(BUILD_SUBDIR)/byacc; \
2264 cd "$(BUILD_SUBDIR)/byacc" || exit 1; \
2265 case $(srcdir) in \
2266 /* | [A-Za-z]:[\\/]*) \
2267 topdir=$(srcdir) ;; \
2268 *) \
2269 case "$(BUILD_SUBDIR)" in \
2270 .) topdir="../$(srcdir)" ;; \
2271 *) topdir="../../$(srcdir)" ;; \
2272 esac ;; \
2273 esac; \
2274 if [ "$(srcdir)" = "." ] ; then \
2275 if [ "$(BUILD_SUBDIR)" != "." ] ; then \
2276 if $(SHELL) $$s/symlink-tree $${topdir}/byacc "no-such-file" ; then \
2277 if [ -f Makefile ]; then \
2278 if $(MAKE) distclean; then \
2279 true; \
2280 else \
2281 exit 1; \
2282 fi; \
2283 else \
2284 true; \
2285 fi; \
2286 else \
2287 exit 1; \
2288 fi; \
2289 else \
2290 true; \
2291 fi; \
2292 srcdiroption="--srcdir=."; \
2293 libsrcdir="."; \
2294 else \
2295 srcdiroption="--srcdir=$${topdir}/byacc"; \
2296 libsrcdir="$$s/byacc"; \
2297 fi; \
2298 rm -f no-such-file || : ; \
2299 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2300 $(BUILD_CONFIGARGS) $${srcdiroption} \
2301 --with-build-subdir="$(BUILD_SUBDIR)" \
2302 || exit 1
2303 @endif build-byacc
2305 .PHONY: all-build-byacc maybe-all-build-byacc
2306 maybe-all-build-byacc:
2307 @if build-byacc
2308 maybe-all-build-byacc: all-build-byacc
2309 all-build-byacc: configure-build-byacc
2310 @r=`${PWD_COMMAND}`; export r; \
2311 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2312 $(BUILD_EXPORTS) \
2313 (cd $(BUILD_SUBDIR)/byacc && $(MAKE) all)
2314 @endif build-byacc
2316 .PHONY: configure-build-flex maybe-configure-build-flex
2317 maybe-configure-build-flex:
2318 @if build-flex
2319 maybe-configure-build-flex: configure-build-flex
2320 configure-build-flex:
2321 @test ! -f $(BUILD_SUBDIR)/flex/Makefile || exit 0; \
2322 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/flex ; \
2323 r=`${PWD_COMMAND}`; export r; \
2324 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2325 $(BUILD_EXPORTS) \
2326 echo Configuring in $(BUILD_SUBDIR)/flex; \
2327 cd "$(BUILD_SUBDIR)/flex" || exit 1; \
2328 case $(srcdir) in \
2329 /* | [A-Za-z]:[\\/]*) \
2330 topdir=$(srcdir) ;; \
2331 *) \
2332 case "$(BUILD_SUBDIR)" in \
2333 .) topdir="../$(srcdir)" ;; \
2334 *) topdir="../../$(srcdir)" ;; \
2335 esac ;; \
2336 esac; \
2337 if [ "$(srcdir)" = "." ] ; then \
2338 if [ "$(BUILD_SUBDIR)" != "." ] ; then \
2339 if $(SHELL) $$s/symlink-tree $${topdir}/flex "no-such-file" ; then \
2340 if [ -f Makefile ]; then \
2341 if $(MAKE) distclean; then \
2342 true; \
2343 else \
2344 exit 1; \
2345 fi; \
2346 else \
2347 true; \
2348 fi; \
2349 else \
2350 exit 1; \
2351 fi; \
2352 else \
2353 true; \
2354 fi; \
2355 srcdiroption="--srcdir=."; \
2356 libsrcdir="."; \
2357 else \
2358 srcdiroption="--srcdir=$${topdir}/flex"; \
2359 libsrcdir="$$s/flex"; \
2360 fi; \
2361 rm -f no-such-file || : ; \
2362 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2363 $(BUILD_CONFIGARGS) $${srcdiroption} \
2364 --with-build-subdir="$(BUILD_SUBDIR)" \
2365 || exit 1
2366 @endif build-flex
2368 .PHONY: all-build-flex maybe-all-build-flex
2369 maybe-all-build-flex:
2370 @if build-flex
2371 maybe-all-build-flex: all-build-flex
2372 all-build-flex: configure-build-flex
2373 @r=`${PWD_COMMAND}`; export r; \
2374 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2375 $(BUILD_EXPORTS) \
2376 (cd $(BUILD_SUBDIR)/flex && $(MAKE) all)
2377 @endif build-flex
2379 .PHONY: configure-build-m4 maybe-configure-build-m4
2380 maybe-configure-build-m4:
2381 @if build-m4
2382 maybe-configure-build-m4: configure-build-m4
2383 configure-build-m4:
2384 @test ! -f $(BUILD_SUBDIR)/m4/Makefile || exit 0; \
2385 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/m4 ; \
2386 r=`${PWD_COMMAND}`; export r; \
2387 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2388 $(BUILD_EXPORTS) \
2389 echo Configuring in $(BUILD_SUBDIR)/m4; \
2390 cd "$(BUILD_SUBDIR)/m4" || exit 1; \
2391 case $(srcdir) in \
2392 /* | [A-Za-z]:[\\/]*) \
2393 topdir=$(srcdir) ;; \
2394 *) \
2395 case "$(BUILD_SUBDIR)" in \
2396 .) topdir="../$(srcdir)" ;; \
2397 *) topdir="../../$(srcdir)" ;; \
2398 esac ;; \
2399 esac; \
2400 if [ "$(srcdir)" = "." ] ; then \
2401 if [ "$(BUILD_SUBDIR)" != "." ] ; then \
2402 if $(SHELL) $$s/symlink-tree $${topdir}/m4 "no-such-file" ; then \
2403 if [ -f Makefile ]; then \
2404 if $(MAKE) distclean; then \
2405 true; \
2406 else \
2407 exit 1; \
2408 fi; \
2409 else \
2410 true; \
2411 fi; \
2412 else \
2413 exit 1; \
2414 fi; \
2415 else \
2416 true; \
2417 fi; \
2418 srcdiroption="--srcdir=."; \
2419 libsrcdir="."; \
2420 else \
2421 srcdiroption="--srcdir=$${topdir}/m4"; \
2422 libsrcdir="$$s/m4"; \
2423 fi; \
2424 rm -f no-such-file || : ; \
2425 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2426 $(BUILD_CONFIGARGS) $${srcdiroption} \
2427 --with-build-subdir="$(BUILD_SUBDIR)" \
2428 || exit 1
2429 @endif build-m4
2431 .PHONY: all-build-m4 maybe-all-build-m4
2432 maybe-all-build-m4:
2433 @if build-m4
2434 maybe-all-build-m4: all-build-m4
2435 all-build-m4: configure-build-m4
2436 @r=`${PWD_COMMAND}`; export r; \
2437 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2438 $(BUILD_EXPORTS) \
2439 (cd $(BUILD_SUBDIR)/m4 && $(MAKE) all)
2440 @endif build-m4
2442 .PHONY: configure-build-texinfo maybe-configure-build-texinfo
2443 maybe-configure-build-texinfo:
2444 @if build-texinfo
2445 maybe-configure-build-texinfo: configure-build-texinfo
2446 configure-build-texinfo:
2447 @test ! -f $(BUILD_SUBDIR)/texinfo/Makefile || exit 0; \
2448 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/texinfo ; \
2449 r=`${PWD_COMMAND}`; export r; \
2450 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2451 $(BUILD_EXPORTS) \
2452 echo Configuring in $(BUILD_SUBDIR)/texinfo; \
2453 cd "$(BUILD_SUBDIR)/texinfo" || exit 1; \
2454 case $(srcdir) in \
2455 /* | [A-Za-z]:[\\/]*) \
2456 topdir=$(srcdir) ;; \
2457 *) \
2458 case "$(BUILD_SUBDIR)" in \
2459 .) topdir="../$(srcdir)" ;; \
2460 *) topdir="../../$(srcdir)" ;; \
2461 esac ;; \
2462 esac; \
2463 if [ "$(srcdir)" = "." ] ; then \
2464 if [ "$(BUILD_SUBDIR)" != "." ] ; then \
2465 if $(SHELL) $$s/symlink-tree $${topdir}/texinfo "no-such-file" ; then \
2466 if [ -f Makefile ]; then \
2467 if $(MAKE) distclean; then \
2468 true; \
2469 else \
2470 exit 1; \
2471 fi; \
2472 else \
2473 true; \
2474 fi; \
2475 else \
2476 exit 1; \
2477 fi; \
2478 else \
2479 true; \
2480 fi; \
2481 srcdiroption="--srcdir=."; \
2482 libsrcdir="."; \
2483 else \
2484 srcdiroption="--srcdir=$${topdir}/texinfo"; \
2485 libsrcdir="$$s/texinfo"; \
2486 fi; \
2487 rm -f no-such-file || : ; \
2488 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2489 $(BUILD_CONFIGARGS) $${srcdiroption} \
2490 --with-build-subdir="$(BUILD_SUBDIR)" \
2491 || exit 1
2492 @endif build-texinfo
2494 .PHONY: all-build-texinfo maybe-all-build-texinfo
2495 maybe-all-build-texinfo:
2496 @if build-texinfo
2497 maybe-all-build-texinfo: all-build-texinfo
2498 all-build-texinfo: configure-build-texinfo
2499 @r=`${PWD_COMMAND}`; export r; \
2500 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2501 $(BUILD_EXPORTS) \
2502 (cd $(BUILD_SUBDIR)/texinfo && $(MAKE) all)
2503 @endif build-texinfo
2506 # --------------------------------------
2507 # Modules which run on the host machine
2508 # --------------------------------------
2510 .PHONY: configure-ash maybe-configure-ash
2511 maybe-configure-ash:
2512 @if ash
2513 maybe-configure-ash: configure-ash
2514 configure-ash:
2515 @test ! -f ash/Makefile || exit 0; \
2516 [ -d ash ] || mkdir ash; \
2517 r=`${PWD_COMMAND}`; export r; \
2518 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2519 $(HOST_EXPORTS) \
2520 echo Configuring in ash; \
2521 cd ash || exit 1; \
2522 case $(srcdir) in \
2523 \.) \
2524 srcdiroption="--srcdir=."; \
2525 libsrcdir=".";; \
2526 /* | [A-Za-z]:[\\/]*) \
2527 srcdiroption="--srcdir=$(srcdir)/ash"; \
2528 libsrcdir="$$s/ash";; \
2529 *) \
2530 srcdiroption="--srcdir=../$(srcdir)/ash"; \
2531 libsrcdir="$$s/ash";; \
2532 esac; \
2533 $(SHELL) $${libsrcdir}/configure \
2534 $(HOST_CONFIGARGS) $${srcdiroption} \
2535 || exit 1
2536 @endif ash
2538 .PHONY: all-ash maybe-all-ash
2539 maybe-all-ash:
2540 @if ash
2541 maybe-all-ash: all-ash
2542 all-ash: configure-ash
2543 @r=`${PWD_COMMAND}`; export r; \
2544 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2545 $(SET_LIB_PATH) \
2546 $(HOST_EXPORTS) \
2547 (cd ash && $(MAKE) $(FLAGS_TO_PASS) all)
2548 @endif ash
2550 .PHONY: check-ash maybe-check-ash
2551 maybe-check-ash:
2552 @if ash
2553 maybe-check-ash: check-ash
2555 check-ash:
2556 @r=`${PWD_COMMAND}`; export r; \
2557 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2558 $(SET_LIB_PATH) \
2559 $(HOST_EXPORTS) \
2560 (cd ash && $(MAKE) $(FLAGS_TO_PASS) check)
2562 @endif ash
2564 .PHONY: install-ash maybe-install-ash
2565 maybe-install-ash:
2566 @if ash
2567 maybe-install-ash: install-ash
2569 install-ash: installdirs
2570 @r=`${PWD_COMMAND}`; export r; \
2571 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2572 $(SET_LIB_PATH) \
2573 $(HOST_EXPORTS) \
2574 (cd ash && $(MAKE) $(FLAGS_TO_PASS) install)
2576 @endif ash
2578 # Other targets (info, dvi, etc.)
2580 .PHONY: maybe-info-ash info-ash
2581 maybe-info-ash:
2582 @if ash
2583 maybe-info-ash: info-ash
2585 info-ash: \
2586 configure-ash
2587 @[ -f ./ash/Makefile ] || exit 0; \
2588 r=`${PWD_COMMAND}`; export r; \
2589 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2590 $(SET_LIB_PATH) \
2591 $(HOST_EXPORTS) \
2592 for flag in $(EXTRA_HOST_FLAGS); do \
2593 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2594 done; \
2595 echo "Doing info in ash" ; \
2596 (cd ash && \
2597 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2598 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2599 "RANLIB=$${RANLIB}" \
2600 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2601 info) \
2602 || exit 1
2604 @endif ash
2606 .PHONY: maybe-dvi-ash dvi-ash
2607 maybe-dvi-ash:
2608 @if ash
2609 maybe-dvi-ash: dvi-ash
2611 dvi-ash: \
2612 configure-ash
2613 @[ -f ./ash/Makefile ] || exit 0; \
2614 r=`${PWD_COMMAND}`; export r; \
2615 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2616 $(SET_LIB_PATH) \
2617 $(HOST_EXPORTS) \
2618 for flag in $(EXTRA_HOST_FLAGS); do \
2619 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2620 done; \
2621 echo "Doing dvi in ash" ; \
2622 (cd ash && \
2623 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2624 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2625 "RANLIB=$${RANLIB}" \
2626 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2627 dvi) \
2628 || exit 1
2630 @endif ash
2632 .PHONY: maybe-TAGS-ash TAGS-ash
2633 maybe-TAGS-ash:
2634 @if ash
2635 maybe-TAGS-ash: TAGS-ash
2637 TAGS-ash: \
2638 configure-ash
2639 @[ -f ./ash/Makefile ] || exit 0; \
2640 r=`${PWD_COMMAND}`; export r; \
2641 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2642 $(SET_LIB_PATH) \
2643 $(HOST_EXPORTS) \
2644 for flag in $(EXTRA_HOST_FLAGS); do \
2645 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2646 done; \
2647 echo "Doing TAGS in ash" ; \
2648 (cd ash && \
2649 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2650 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2651 "RANLIB=$${RANLIB}" \
2652 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2653 TAGS) \
2654 || exit 1
2656 @endif ash
2658 .PHONY: maybe-install-info-ash install-info-ash
2659 maybe-install-info-ash:
2660 @if ash
2661 maybe-install-info-ash: install-info-ash
2663 install-info-ash: \
2664 configure-ash \
2665 info-ash
2666 @[ -f ./ash/Makefile ] || exit 0; \
2667 r=`${PWD_COMMAND}`; export r; \
2668 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2669 $(SET_LIB_PATH) \
2670 $(HOST_EXPORTS) \
2671 for flag in $(EXTRA_HOST_FLAGS); do \
2672 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2673 done; \
2674 echo "Doing install-info in ash" ; \
2675 (cd ash && \
2676 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2677 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2678 "RANLIB=$${RANLIB}" \
2679 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2680 install-info) \
2681 || exit 1
2683 @endif ash
2685 .PHONY: maybe-installcheck-ash installcheck-ash
2686 maybe-installcheck-ash:
2687 @if ash
2688 maybe-installcheck-ash: installcheck-ash
2690 installcheck-ash: \
2691 configure-ash
2692 @[ -f ./ash/Makefile ] || exit 0; \
2693 r=`${PWD_COMMAND}`; export r; \
2694 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2695 $(SET_LIB_PATH) \
2696 $(HOST_EXPORTS) \
2697 for flag in $(EXTRA_HOST_FLAGS); do \
2698 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2699 done; \
2700 echo "Doing installcheck in ash" ; \
2701 (cd ash && \
2702 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2703 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2704 "RANLIB=$${RANLIB}" \
2705 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2706 installcheck) \
2707 || exit 1
2709 @endif ash
2711 .PHONY: maybe-mostlyclean-ash mostlyclean-ash
2712 maybe-mostlyclean-ash:
2713 @if ash
2714 maybe-mostlyclean-ash: mostlyclean-ash
2716 mostlyclean-ash:
2717 @[ -f ./ash/Makefile ] || exit 0; \
2718 r=`${PWD_COMMAND}`; export r; \
2719 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2720 $(SET_LIB_PATH) \
2721 $(HOST_EXPORTS) \
2722 for flag in $(EXTRA_HOST_FLAGS); do \
2723 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2724 done; \
2725 echo "Doing mostlyclean in ash" ; \
2726 (cd ash && \
2727 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2728 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2729 "RANLIB=$${RANLIB}" \
2730 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2731 mostlyclean) \
2732 || exit 1
2734 @endif ash
2736 .PHONY: maybe-clean-ash clean-ash
2737 maybe-clean-ash:
2738 @if ash
2739 maybe-clean-ash: clean-ash
2741 clean-ash:
2742 @[ -f ./ash/Makefile ] || exit 0; \
2743 r=`${PWD_COMMAND}`; export r; \
2744 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2745 $(SET_LIB_PATH) \
2746 $(HOST_EXPORTS) \
2747 for flag in $(EXTRA_HOST_FLAGS); do \
2748 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2749 done; \
2750 echo "Doing clean in ash" ; \
2751 (cd ash && \
2752 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2753 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2754 "RANLIB=$${RANLIB}" \
2755 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2756 clean) \
2757 || exit 1
2759 @endif ash
2761 .PHONY: maybe-distclean-ash distclean-ash
2762 maybe-distclean-ash:
2763 @if ash
2764 maybe-distclean-ash: distclean-ash
2766 distclean-ash:
2767 @[ -f ./ash/Makefile ] || exit 0; \
2768 r=`${PWD_COMMAND}`; export r; \
2769 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2770 $(SET_LIB_PATH) \
2771 $(HOST_EXPORTS) \
2772 for flag in $(EXTRA_HOST_FLAGS); do \
2773 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2774 done; \
2775 echo "Doing distclean in ash" ; \
2776 (cd ash && \
2777 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2778 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2779 "RANLIB=$${RANLIB}" \
2780 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2781 distclean) \
2782 || exit 1
2784 @endif ash
2786 .PHONY: maybe-maintainer-clean-ash maintainer-clean-ash
2787 maybe-maintainer-clean-ash:
2788 @if ash
2789 maybe-maintainer-clean-ash: maintainer-clean-ash
2791 maintainer-clean-ash:
2792 @[ -f ./ash/Makefile ] || exit 0; \
2793 r=`${PWD_COMMAND}`; export r; \
2794 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2795 $(SET_LIB_PATH) \
2796 $(HOST_EXPORTS) \
2797 for flag in $(EXTRA_HOST_FLAGS); do \
2798 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2799 done; \
2800 echo "Doing maintainer-clean in ash" ; \
2801 (cd ash && \
2802 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2803 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2804 "RANLIB=$${RANLIB}" \
2805 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2806 maintainer-clean) \
2807 || exit 1
2809 @endif ash
2812 .PHONY: configure-autoconf maybe-configure-autoconf
2813 maybe-configure-autoconf:
2814 @if autoconf
2815 maybe-configure-autoconf: configure-autoconf
2816 configure-autoconf:
2817 @test ! -f autoconf/Makefile || exit 0; \
2818 [ -d autoconf ] || mkdir autoconf; \
2819 r=`${PWD_COMMAND}`; export r; \
2820 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2821 $(HOST_EXPORTS) \
2822 echo Configuring in autoconf; \
2823 cd autoconf || exit 1; \
2824 case $(srcdir) in \
2825 \.) \
2826 srcdiroption="--srcdir=."; \
2827 libsrcdir=".";; \
2828 /* | [A-Za-z]:[\\/]*) \
2829 srcdiroption="--srcdir=$(srcdir)/autoconf"; \
2830 libsrcdir="$$s/autoconf";; \
2831 *) \
2832 srcdiroption="--srcdir=../$(srcdir)/autoconf"; \
2833 libsrcdir="$$s/autoconf";; \
2834 esac; \
2835 $(SHELL) $${libsrcdir}/configure \
2836 $(HOST_CONFIGARGS) $${srcdiroption} \
2837 || exit 1
2838 @endif autoconf
2840 .PHONY: all-autoconf maybe-all-autoconf
2841 maybe-all-autoconf:
2842 @if autoconf
2843 maybe-all-autoconf: all-autoconf
2844 all-autoconf: configure-autoconf
2845 @r=`${PWD_COMMAND}`; export r; \
2846 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2847 $(SET_LIB_PATH) \
2848 $(HOST_EXPORTS) \
2849 (cd autoconf && $(MAKE) $(FLAGS_TO_PASS) all)
2850 @endif autoconf
2852 .PHONY: check-autoconf maybe-check-autoconf
2853 maybe-check-autoconf:
2854 @if autoconf
2855 maybe-check-autoconf: check-autoconf
2857 check-autoconf:
2858 @r=`${PWD_COMMAND}`; export r; \
2859 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2860 $(SET_LIB_PATH) \
2861 $(HOST_EXPORTS) \
2862 (cd autoconf && $(MAKE) $(FLAGS_TO_PASS) check)
2864 @endif autoconf
2866 .PHONY: install-autoconf maybe-install-autoconf
2867 maybe-install-autoconf:
2868 @if autoconf
2869 maybe-install-autoconf: install-autoconf
2871 install-autoconf: installdirs
2872 @r=`${PWD_COMMAND}`; export r; \
2873 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2874 $(SET_LIB_PATH) \
2875 $(HOST_EXPORTS) \
2876 (cd autoconf && $(MAKE) $(FLAGS_TO_PASS) install)
2878 @endif autoconf
2880 # Other targets (info, dvi, etc.)
2882 .PHONY: maybe-info-autoconf info-autoconf
2883 maybe-info-autoconf:
2884 @if autoconf
2885 maybe-info-autoconf: info-autoconf
2887 info-autoconf: \
2888 configure-autoconf
2889 @[ -f ./autoconf/Makefile ] || exit 0; \
2890 r=`${PWD_COMMAND}`; export r; \
2891 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2892 $(SET_LIB_PATH) \
2893 $(HOST_EXPORTS) \
2894 for flag in $(EXTRA_HOST_FLAGS); do \
2895 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2896 done; \
2897 echo "Doing info in autoconf" ; \
2898 (cd autoconf && \
2899 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2900 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2901 "RANLIB=$${RANLIB}" \
2902 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2903 info) \
2904 || exit 1
2906 @endif autoconf
2908 .PHONY: maybe-dvi-autoconf dvi-autoconf
2909 maybe-dvi-autoconf:
2910 @if autoconf
2911 maybe-dvi-autoconf: dvi-autoconf
2913 dvi-autoconf: \
2914 configure-autoconf
2915 @[ -f ./autoconf/Makefile ] || exit 0; \
2916 r=`${PWD_COMMAND}`; export r; \
2917 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2918 $(SET_LIB_PATH) \
2919 $(HOST_EXPORTS) \
2920 for flag in $(EXTRA_HOST_FLAGS); do \
2921 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2922 done; \
2923 echo "Doing dvi in autoconf" ; \
2924 (cd autoconf && \
2925 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2926 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2927 "RANLIB=$${RANLIB}" \
2928 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2929 dvi) \
2930 || exit 1
2932 @endif autoconf
2934 .PHONY: maybe-TAGS-autoconf TAGS-autoconf
2935 maybe-TAGS-autoconf:
2936 @if autoconf
2937 maybe-TAGS-autoconf: TAGS-autoconf
2939 TAGS-autoconf: \
2940 configure-autoconf
2941 @[ -f ./autoconf/Makefile ] || exit 0; \
2942 r=`${PWD_COMMAND}`; export r; \
2943 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2944 $(SET_LIB_PATH) \
2945 $(HOST_EXPORTS) \
2946 for flag in $(EXTRA_HOST_FLAGS); do \
2947 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2948 done; \
2949 echo "Doing TAGS in autoconf" ; \
2950 (cd autoconf && \
2951 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2952 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2953 "RANLIB=$${RANLIB}" \
2954 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2955 TAGS) \
2956 || exit 1
2958 @endif autoconf
2960 .PHONY: maybe-install-info-autoconf install-info-autoconf
2961 maybe-install-info-autoconf:
2962 @if autoconf
2963 maybe-install-info-autoconf: install-info-autoconf
2965 install-info-autoconf: \
2966 configure-autoconf \
2967 info-autoconf
2968 @[ -f ./autoconf/Makefile ] || exit 0; \
2969 r=`${PWD_COMMAND}`; export r; \
2970 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2971 $(SET_LIB_PATH) \
2972 $(HOST_EXPORTS) \
2973 for flag in $(EXTRA_HOST_FLAGS); do \
2974 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2975 done; \
2976 echo "Doing install-info in autoconf" ; \
2977 (cd autoconf && \
2978 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2979 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2980 "RANLIB=$${RANLIB}" \
2981 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2982 install-info) \
2983 || exit 1
2985 @endif autoconf
2987 .PHONY: maybe-installcheck-autoconf installcheck-autoconf
2988 maybe-installcheck-autoconf:
2989 @if autoconf
2990 maybe-installcheck-autoconf: installcheck-autoconf
2992 installcheck-autoconf: \
2993 configure-autoconf
2994 @[ -f ./autoconf/Makefile ] || exit 0; \
2995 r=`${PWD_COMMAND}`; export r; \
2996 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2997 $(SET_LIB_PATH) \
2998 $(HOST_EXPORTS) \
2999 for flag in $(EXTRA_HOST_FLAGS); do \
3000 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3001 done; \
3002 echo "Doing installcheck in autoconf" ; \
3003 (cd autoconf && \
3004 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3005 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3006 "RANLIB=$${RANLIB}" \
3007 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3008 installcheck) \
3009 || exit 1
3011 @endif autoconf
3013 .PHONY: maybe-mostlyclean-autoconf mostlyclean-autoconf
3014 maybe-mostlyclean-autoconf:
3015 @if autoconf
3016 maybe-mostlyclean-autoconf: mostlyclean-autoconf
3018 mostlyclean-autoconf:
3019 @[ -f ./autoconf/Makefile ] || exit 0; \
3020 r=`${PWD_COMMAND}`; export r; \
3021 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3022 $(SET_LIB_PATH) \
3023 $(HOST_EXPORTS) \
3024 for flag in $(EXTRA_HOST_FLAGS); do \
3025 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3026 done; \
3027 echo "Doing mostlyclean in autoconf" ; \
3028 (cd autoconf && \
3029 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3030 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3031 "RANLIB=$${RANLIB}" \
3032 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3033 mostlyclean) \
3034 || exit 1
3036 @endif autoconf
3038 .PHONY: maybe-clean-autoconf clean-autoconf
3039 maybe-clean-autoconf:
3040 @if autoconf
3041 maybe-clean-autoconf: clean-autoconf
3043 clean-autoconf:
3044 @[ -f ./autoconf/Makefile ] || exit 0; \
3045 r=`${PWD_COMMAND}`; export r; \
3046 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3047 $(SET_LIB_PATH) \
3048 $(HOST_EXPORTS) \
3049 for flag in $(EXTRA_HOST_FLAGS); do \
3050 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3051 done; \
3052 echo "Doing clean in autoconf" ; \
3053 (cd autoconf && \
3054 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3055 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3056 "RANLIB=$${RANLIB}" \
3057 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3058 clean) \
3059 || exit 1
3061 @endif autoconf
3063 .PHONY: maybe-distclean-autoconf distclean-autoconf
3064 maybe-distclean-autoconf:
3065 @if autoconf
3066 maybe-distclean-autoconf: distclean-autoconf
3068 distclean-autoconf:
3069 @[ -f ./autoconf/Makefile ] || exit 0; \
3070 r=`${PWD_COMMAND}`; export r; \
3071 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3072 $(SET_LIB_PATH) \
3073 $(HOST_EXPORTS) \
3074 for flag in $(EXTRA_HOST_FLAGS); do \
3075 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3076 done; \
3077 echo "Doing distclean in autoconf" ; \
3078 (cd autoconf && \
3079 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3080 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3081 "RANLIB=$${RANLIB}" \
3082 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3083 distclean) \
3084 || exit 1
3086 @endif autoconf
3088 .PHONY: maybe-maintainer-clean-autoconf maintainer-clean-autoconf
3089 maybe-maintainer-clean-autoconf:
3090 @if autoconf
3091 maybe-maintainer-clean-autoconf: maintainer-clean-autoconf
3093 maintainer-clean-autoconf:
3094 @[ -f ./autoconf/Makefile ] || exit 0; \
3095 r=`${PWD_COMMAND}`; export r; \
3096 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3097 $(SET_LIB_PATH) \
3098 $(HOST_EXPORTS) \
3099 for flag in $(EXTRA_HOST_FLAGS); do \
3100 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3101 done; \
3102 echo "Doing maintainer-clean in autoconf" ; \
3103 (cd autoconf && \
3104 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3105 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3106 "RANLIB=$${RANLIB}" \
3107 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3108 maintainer-clean) \
3109 || exit 1
3111 @endif autoconf
3114 .PHONY: configure-automake maybe-configure-automake
3115 maybe-configure-automake:
3116 @if automake
3117 maybe-configure-automake: configure-automake
3118 configure-automake:
3119 @test ! -f automake/Makefile || exit 0; \
3120 [ -d automake ] || mkdir automake; \
3121 r=`${PWD_COMMAND}`; export r; \
3122 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3123 $(HOST_EXPORTS) \
3124 echo Configuring in automake; \
3125 cd automake || exit 1; \
3126 case $(srcdir) in \
3127 \.) \
3128 srcdiroption="--srcdir=."; \
3129 libsrcdir=".";; \
3130 /* | [A-Za-z]:[\\/]*) \
3131 srcdiroption="--srcdir=$(srcdir)/automake"; \
3132 libsrcdir="$$s/automake";; \
3133 *) \
3134 srcdiroption="--srcdir=../$(srcdir)/automake"; \
3135 libsrcdir="$$s/automake";; \
3136 esac; \
3137 $(SHELL) $${libsrcdir}/configure \
3138 $(HOST_CONFIGARGS) $${srcdiroption} \
3139 || exit 1
3140 @endif automake
3142 .PHONY: all-automake maybe-all-automake
3143 maybe-all-automake:
3144 @if automake
3145 maybe-all-automake: all-automake
3146 all-automake: configure-automake
3147 @r=`${PWD_COMMAND}`; export r; \
3148 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3149 $(SET_LIB_PATH) \
3150 $(HOST_EXPORTS) \
3151 (cd automake && $(MAKE) $(FLAGS_TO_PASS) all)
3152 @endif automake
3154 .PHONY: check-automake maybe-check-automake
3155 maybe-check-automake:
3156 @if automake
3157 maybe-check-automake: check-automake
3159 check-automake:
3160 @r=`${PWD_COMMAND}`; export r; \
3161 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3162 $(SET_LIB_PATH) \
3163 $(HOST_EXPORTS) \
3164 (cd automake && $(MAKE) $(FLAGS_TO_PASS) check)
3166 @endif automake
3168 .PHONY: install-automake maybe-install-automake
3169 maybe-install-automake:
3170 @if automake
3171 maybe-install-automake: install-automake
3173 install-automake: installdirs
3174 @r=`${PWD_COMMAND}`; export r; \
3175 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3176 $(SET_LIB_PATH) \
3177 $(HOST_EXPORTS) \
3178 (cd automake && $(MAKE) $(FLAGS_TO_PASS) install)
3180 @endif automake
3182 # Other targets (info, dvi, etc.)
3184 .PHONY: maybe-info-automake info-automake
3185 maybe-info-automake:
3186 @if automake
3187 maybe-info-automake: info-automake
3189 info-automake: \
3190 configure-automake
3191 @[ -f ./automake/Makefile ] || exit 0; \
3192 r=`${PWD_COMMAND}`; export r; \
3193 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3194 $(SET_LIB_PATH) \
3195 $(HOST_EXPORTS) \
3196 for flag in $(EXTRA_HOST_FLAGS); do \
3197 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3198 done; \
3199 echo "Doing info in automake" ; \
3200 (cd automake && \
3201 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3202 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3203 "RANLIB=$${RANLIB}" \
3204 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3205 info) \
3206 || exit 1
3208 @endif automake
3210 .PHONY: maybe-dvi-automake dvi-automake
3211 maybe-dvi-automake:
3212 @if automake
3213 maybe-dvi-automake: dvi-automake
3215 dvi-automake: \
3216 configure-automake
3217 @[ -f ./automake/Makefile ] || exit 0; \
3218 r=`${PWD_COMMAND}`; export r; \
3219 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3220 $(SET_LIB_PATH) \
3221 $(HOST_EXPORTS) \
3222 for flag in $(EXTRA_HOST_FLAGS); do \
3223 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3224 done; \
3225 echo "Doing dvi in automake" ; \
3226 (cd automake && \
3227 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3228 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3229 "RANLIB=$${RANLIB}" \
3230 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3231 dvi) \
3232 || exit 1
3234 @endif automake
3236 .PHONY: maybe-TAGS-automake TAGS-automake
3237 maybe-TAGS-automake:
3238 @if automake
3239 maybe-TAGS-automake: TAGS-automake
3241 TAGS-automake: \
3242 configure-automake
3243 @[ -f ./automake/Makefile ] || exit 0; \
3244 r=`${PWD_COMMAND}`; export r; \
3245 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3246 $(SET_LIB_PATH) \
3247 $(HOST_EXPORTS) \
3248 for flag in $(EXTRA_HOST_FLAGS); do \
3249 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3250 done; \
3251 echo "Doing TAGS in automake" ; \
3252 (cd automake && \
3253 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3254 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3255 "RANLIB=$${RANLIB}" \
3256 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3257 TAGS) \
3258 || exit 1
3260 @endif automake
3262 .PHONY: maybe-install-info-automake install-info-automake
3263 maybe-install-info-automake:
3264 @if automake
3265 maybe-install-info-automake: install-info-automake
3267 install-info-automake: \
3268 configure-automake \
3269 info-automake
3270 @[ -f ./automake/Makefile ] || exit 0; \
3271 r=`${PWD_COMMAND}`; export r; \
3272 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3273 $(SET_LIB_PATH) \
3274 $(HOST_EXPORTS) \
3275 for flag in $(EXTRA_HOST_FLAGS); do \
3276 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3277 done; \
3278 echo "Doing install-info in automake" ; \
3279 (cd automake && \
3280 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3281 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3282 "RANLIB=$${RANLIB}" \
3283 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3284 install-info) \
3285 || exit 1
3287 @endif automake
3289 .PHONY: maybe-installcheck-automake installcheck-automake
3290 maybe-installcheck-automake:
3291 @if automake
3292 maybe-installcheck-automake: installcheck-automake
3294 installcheck-automake: \
3295 configure-automake
3296 @[ -f ./automake/Makefile ] || exit 0; \
3297 r=`${PWD_COMMAND}`; export r; \
3298 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3299 $(SET_LIB_PATH) \
3300 $(HOST_EXPORTS) \
3301 for flag in $(EXTRA_HOST_FLAGS); do \
3302 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3303 done; \
3304 echo "Doing installcheck in automake" ; \
3305 (cd automake && \
3306 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3307 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3308 "RANLIB=$${RANLIB}" \
3309 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3310 installcheck) \
3311 || exit 1
3313 @endif automake
3315 .PHONY: maybe-mostlyclean-automake mostlyclean-automake
3316 maybe-mostlyclean-automake:
3317 @if automake
3318 maybe-mostlyclean-automake: mostlyclean-automake
3320 mostlyclean-automake:
3321 @[ -f ./automake/Makefile ] || exit 0; \
3322 r=`${PWD_COMMAND}`; export r; \
3323 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3324 $(SET_LIB_PATH) \
3325 $(HOST_EXPORTS) \
3326 for flag in $(EXTRA_HOST_FLAGS); do \
3327 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3328 done; \
3329 echo "Doing mostlyclean in automake" ; \
3330 (cd automake && \
3331 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3332 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3333 "RANLIB=$${RANLIB}" \
3334 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3335 mostlyclean) \
3336 || exit 1
3338 @endif automake
3340 .PHONY: maybe-clean-automake clean-automake
3341 maybe-clean-automake:
3342 @if automake
3343 maybe-clean-automake: clean-automake
3345 clean-automake:
3346 @[ -f ./automake/Makefile ] || exit 0; \
3347 r=`${PWD_COMMAND}`; export r; \
3348 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3349 $(SET_LIB_PATH) \
3350 $(HOST_EXPORTS) \
3351 for flag in $(EXTRA_HOST_FLAGS); do \
3352 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3353 done; \
3354 echo "Doing clean in automake" ; \
3355 (cd automake && \
3356 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3357 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3358 "RANLIB=$${RANLIB}" \
3359 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3360 clean) \
3361 || exit 1
3363 @endif automake
3365 .PHONY: maybe-distclean-automake distclean-automake
3366 maybe-distclean-automake:
3367 @if automake
3368 maybe-distclean-automake: distclean-automake
3370 distclean-automake:
3371 @[ -f ./automake/Makefile ] || exit 0; \
3372 r=`${PWD_COMMAND}`; export r; \
3373 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3374 $(SET_LIB_PATH) \
3375 $(HOST_EXPORTS) \
3376 for flag in $(EXTRA_HOST_FLAGS); do \
3377 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3378 done; \
3379 echo "Doing distclean in automake" ; \
3380 (cd automake && \
3381 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3382 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3383 "RANLIB=$${RANLIB}" \
3384 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3385 distclean) \
3386 || exit 1
3388 @endif automake
3390 .PHONY: maybe-maintainer-clean-automake maintainer-clean-automake
3391 maybe-maintainer-clean-automake:
3392 @if automake
3393 maybe-maintainer-clean-automake: maintainer-clean-automake
3395 maintainer-clean-automake:
3396 @[ -f ./automake/Makefile ] || exit 0; \
3397 r=`${PWD_COMMAND}`; export r; \
3398 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3399 $(SET_LIB_PATH) \
3400 $(HOST_EXPORTS) \
3401 for flag in $(EXTRA_HOST_FLAGS); do \
3402 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3403 done; \
3404 echo "Doing maintainer-clean in automake" ; \
3405 (cd automake && \
3406 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3407 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3408 "RANLIB=$${RANLIB}" \
3409 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3410 maintainer-clean) \
3411 || exit 1
3413 @endif automake
3416 .PHONY: configure-bash maybe-configure-bash
3417 maybe-configure-bash:
3418 @if bash
3419 maybe-configure-bash: configure-bash
3420 configure-bash:
3421 @test ! -f bash/Makefile || exit 0; \
3422 [ -d bash ] || mkdir bash; \
3423 r=`${PWD_COMMAND}`; export r; \
3424 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3425 $(HOST_EXPORTS) \
3426 echo Configuring in bash; \
3427 cd bash || exit 1; \
3428 case $(srcdir) in \
3429 \.) \
3430 srcdiroption="--srcdir=."; \
3431 libsrcdir=".";; \
3432 /* | [A-Za-z]:[\\/]*) \
3433 srcdiroption="--srcdir=$(srcdir)/bash"; \
3434 libsrcdir="$$s/bash";; \
3435 *) \
3436 srcdiroption="--srcdir=../$(srcdir)/bash"; \
3437 libsrcdir="$$s/bash";; \
3438 esac; \
3439 $(SHELL) $${libsrcdir}/configure \
3440 $(HOST_CONFIGARGS) $${srcdiroption} \
3441 || exit 1
3442 @endif bash
3444 .PHONY: all-bash maybe-all-bash
3445 maybe-all-bash:
3446 @if bash
3447 maybe-all-bash: all-bash
3448 all-bash: configure-bash
3449 @r=`${PWD_COMMAND}`; export r; \
3450 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3451 $(SET_LIB_PATH) \
3452 $(HOST_EXPORTS) \
3453 (cd bash && $(MAKE) $(FLAGS_TO_PASS) all)
3454 @endif bash
3456 .PHONY: check-bash maybe-check-bash
3457 maybe-check-bash:
3458 @if bash
3459 maybe-check-bash: check-bash
3461 check-bash:
3462 @r=`${PWD_COMMAND}`; export r; \
3463 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3464 $(SET_LIB_PATH) \
3465 $(HOST_EXPORTS) \
3466 (cd bash && $(MAKE) $(FLAGS_TO_PASS) check)
3468 @endif bash
3470 .PHONY: install-bash maybe-install-bash
3471 maybe-install-bash:
3472 @if bash
3473 maybe-install-bash: install-bash
3475 install-bash: installdirs
3476 @r=`${PWD_COMMAND}`; export r; \
3477 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3478 $(SET_LIB_PATH) \
3479 $(HOST_EXPORTS) \
3480 (cd bash && $(MAKE) $(FLAGS_TO_PASS) install)
3482 @endif bash
3484 # Other targets (info, dvi, etc.)
3486 .PHONY: maybe-info-bash info-bash
3487 maybe-info-bash:
3488 @if bash
3489 maybe-info-bash: info-bash
3491 info-bash: \
3492 configure-bash
3493 @[ -f ./bash/Makefile ] || exit 0; \
3494 r=`${PWD_COMMAND}`; export r; \
3495 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3496 $(SET_LIB_PATH) \
3497 $(HOST_EXPORTS) \
3498 for flag in $(EXTRA_HOST_FLAGS); do \
3499 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3500 done; \
3501 echo "Doing info in bash" ; \
3502 (cd bash && \
3503 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3504 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3505 "RANLIB=$${RANLIB}" \
3506 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3507 info) \
3508 || exit 1
3510 @endif bash
3512 .PHONY: maybe-dvi-bash dvi-bash
3513 maybe-dvi-bash:
3514 @if bash
3515 maybe-dvi-bash: dvi-bash
3517 dvi-bash: \
3518 configure-bash
3519 @[ -f ./bash/Makefile ] || exit 0; \
3520 r=`${PWD_COMMAND}`; export r; \
3521 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3522 $(SET_LIB_PATH) \
3523 $(HOST_EXPORTS) \
3524 for flag in $(EXTRA_HOST_FLAGS); do \
3525 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3526 done; \
3527 echo "Doing dvi in bash" ; \
3528 (cd bash && \
3529 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3530 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3531 "RANLIB=$${RANLIB}" \
3532 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3533 dvi) \
3534 || exit 1
3536 @endif bash
3538 .PHONY: maybe-TAGS-bash TAGS-bash
3539 maybe-TAGS-bash:
3540 @if bash
3541 maybe-TAGS-bash: TAGS-bash
3543 TAGS-bash: \
3544 configure-bash
3545 @[ -f ./bash/Makefile ] || exit 0; \
3546 r=`${PWD_COMMAND}`; export r; \
3547 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3548 $(SET_LIB_PATH) \
3549 $(HOST_EXPORTS) \
3550 for flag in $(EXTRA_HOST_FLAGS); do \
3551 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3552 done; \
3553 echo "Doing TAGS in bash" ; \
3554 (cd bash && \
3555 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3556 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3557 "RANLIB=$${RANLIB}" \
3558 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3559 TAGS) \
3560 || exit 1
3562 @endif bash
3564 .PHONY: maybe-install-info-bash install-info-bash
3565 maybe-install-info-bash:
3566 @if bash
3567 maybe-install-info-bash: install-info-bash
3569 install-info-bash: \
3570 configure-bash \
3571 info-bash
3572 @[ -f ./bash/Makefile ] || exit 0; \
3573 r=`${PWD_COMMAND}`; export r; \
3574 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3575 $(SET_LIB_PATH) \
3576 $(HOST_EXPORTS) \
3577 for flag in $(EXTRA_HOST_FLAGS); do \
3578 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3579 done; \
3580 echo "Doing install-info in bash" ; \
3581 (cd bash && \
3582 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3583 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3584 "RANLIB=$${RANLIB}" \
3585 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3586 install-info) \
3587 || exit 1
3589 @endif bash
3591 .PHONY: maybe-installcheck-bash installcheck-bash
3592 maybe-installcheck-bash:
3593 @if bash
3594 maybe-installcheck-bash: installcheck-bash
3596 installcheck-bash: \
3597 configure-bash
3598 @[ -f ./bash/Makefile ] || exit 0; \
3599 r=`${PWD_COMMAND}`; export r; \
3600 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3601 $(SET_LIB_PATH) \
3602 $(HOST_EXPORTS) \
3603 for flag in $(EXTRA_HOST_FLAGS); do \
3604 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3605 done; \
3606 echo "Doing installcheck in bash" ; \
3607 (cd bash && \
3608 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3609 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3610 "RANLIB=$${RANLIB}" \
3611 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3612 installcheck) \
3613 || exit 1
3615 @endif bash
3617 .PHONY: maybe-mostlyclean-bash mostlyclean-bash
3618 maybe-mostlyclean-bash:
3619 @if bash
3620 maybe-mostlyclean-bash: mostlyclean-bash
3622 mostlyclean-bash:
3623 @[ -f ./bash/Makefile ] || exit 0; \
3624 r=`${PWD_COMMAND}`; export r; \
3625 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3626 $(SET_LIB_PATH) \
3627 $(HOST_EXPORTS) \
3628 for flag in $(EXTRA_HOST_FLAGS); do \
3629 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3630 done; \
3631 echo "Doing mostlyclean in bash" ; \
3632 (cd bash && \
3633 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3634 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3635 "RANLIB=$${RANLIB}" \
3636 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3637 mostlyclean) \
3638 || exit 1
3640 @endif bash
3642 .PHONY: maybe-clean-bash clean-bash
3643 maybe-clean-bash:
3644 @if bash
3645 maybe-clean-bash: clean-bash
3647 clean-bash:
3648 @[ -f ./bash/Makefile ] || exit 0; \
3649 r=`${PWD_COMMAND}`; export r; \
3650 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3651 $(SET_LIB_PATH) \
3652 $(HOST_EXPORTS) \
3653 for flag in $(EXTRA_HOST_FLAGS); do \
3654 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3655 done; \
3656 echo "Doing clean in bash" ; \
3657 (cd bash && \
3658 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3659 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3660 "RANLIB=$${RANLIB}" \
3661 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3662 clean) \
3663 || exit 1
3665 @endif bash
3667 .PHONY: maybe-distclean-bash distclean-bash
3668 maybe-distclean-bash:
3669 @if bash
3670 maybe-distclean-bash: distclean-bash
3672 distclean-bash:
3673 @[ -f ./bash/Makefile ] || exit 0; \
3674 r=`${PWD_COMMAND}`; export r; \
3675 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3676 $(SET_LIB_PATH) \
3677 $(HOST_EXPORTS) \
3678 for flag in $(EXTRA_HOST_FLAGS); do \
3679 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3680 done; \
3681 echo "Doing distclean in bash" ; \
3682 (cd bash && \
3683 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3684 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3685 "RANLIB=$${RANLIB}" \
3686 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3687 distclean) \
3688 || exit 1
3690 @endif bash
3692 .PHONY: maybe-maintainer-clean-bash maintainer-clean-bash
3693 maybe-maintainer-clean-bash:
3694 @if bash
3695 maybe-maintainer-clean-bash: maintainer-clean-bash
3697 maintainer-clean-bash:
3698 @[ -f ./bash/Makefile ] || exit 0; \
3699 r=`${PWD_COMMAND}`; export r; \
3700 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3701 $(SET_LIB_PATH) \
3702 $(HOST_EXPORTS) \
3703 for flag in $(EXTRA_HOST_FLAGS); do \
3704 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3705 done; \
3706 echo "Doing maintainer-clean in bash" ; \
3707 (cd bash && \
3708 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3709 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3710 "RANLIB=$${RANLIB}" \
3711 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3712 maintainer-clean) \
3713 || exit 1
3715 @endif bash
3718 .PHONY: configure-bfd maybe-configure-bfd
3719 maybe-configure-bfd:
3720 @if bfd
3721 maybe-configure-bfd: configure-bfd
3722 configure-bfd:
3723 @test ! -f bfd/Makefile || exit 0; \
3724 [ -d bfd ] || mkdir bfd; \
3725 r=`${PWD_COMMAND}`; export r; \
3726 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3727 $(HOST_EXPORTS) \
3728 echo Configuring in bfd; \
3729 cd bfd || exit 1; \
3730 case $(srcdir) in \
3731 \.) \
3732 srcdiroption="--srcdir=."; \
3733 libsrcdir=".";; \
3734 /* | [A-Za-z]:[\\/]*) \
3735 srcdiroption="--srcdir=$(srcdir)/bfd"; \
3736 libsrcdir="$$s/bfd";; \
3737 *) \
3738 srcdiroption="--srcdir=../$(srcdir)/bfd"; \
3739 libsrcdir="$$s/bfd";; \
3740 esac; \
3741 $(SHELL) $${libsrcdir}/configure \
3742 $(HOST_CONFIGARGS) $${srcdiroption} \
3743 || exit 1
3744 @endif bfd
3746 .PHONY: all-bfd maybe-all-bfd
3747 maybe-all-bfd:
3748 @if bfd
3749 maybe-all-bfd: all-bfd
3750 all-bfd: configure-bfd
3751 @r=`${PWD_COMMAND}`; export r; \
3752 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3753 $(SET_LIB_PATH) \
3754 $(HOST_EXPORTS) \
3755 (cd bfd && $(MAKE) $(FLAGS_TO_PASS) all)
3756 @endif bfd
3758 .PHONY: check-bfd maybe-check-bfd
3759 maybe-check-bfd:
3760 @if bfd
3761 maybe-check-bfd: check-bfd
3763 check-bfd:
3764 @r=`${PWD_COMMAND}`; export r; \
3765 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3766 $(SET_LIB_PATH) \
3767 $(HOST_EXPORTS) \
3768 (cd bfd && $(MAKE) $(FLAGS_TO_PASS) check)
3770 @endif bfd
3772 .PHONY: install-bfd maybe-install-bfd
3773 maybe-install-bfd:
3774 @if bfd
3775 maybe-install-bfd: install-bfd
3777 install-bfd: installdirs
3778 @r=`${PWD_COMMAND}`; export r; \
3779 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3780 $(SET_LIB_PATH) \
3781 $(HOST_EXPORTS) \
3782 (cd bfd && $(MAKE) $(FLAGS_TO_PASS) install)
3784 @endif bfd
3786 # Other targets (info, dvi, etc.)
3788 .PHONY: maybe-info-bfd info-bfd
3789 maybe-info-bfd:
3790 @if bfd
3791 maybe-info-bfd: info-bfd
3793 info-bfd: \
3794 configure-bfd
3795 @[ -f ./bfd/Makefile ] || exit 0; \
3796 r=`${PWD_COMMAND}`; export r; \
3797 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3798 $(SET_LIB_PATH) \
3799 $(HOST_EXPORTS) \
3800 for flag in $(EXTRA_HOST_FLAGS); do \
3801 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3802 done; \
3803 echo "Doing info in bfd" ; \
3804 (cd bfd && \
3805 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3806 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3807 "RANLIB=$${RANLIB}" \
3808 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3809 info) \
3810 || exit 1
3812 @endif bfd
3814 .PHONY: maybe-dvi-bfd dvi-bfd
3815 maybe-dvi-bfd:
3816 @if bfd
3817 maybe-dvi-bfd: dvi-bfd
3819 dvi-bfd: \
3820 configure-bfd
3821 @[ -f ./bfd/Makefile ] || exit 0; \
3822 r=`${PWD_COMMAND}`; export r; \
3823 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3824 $(SET_LIB_PATH) \
3825 $(HOST_EXPORTS) \
3826 for flag in $(EXTRA_HOST_FLAGS); do \
3827 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3828 done; \
3829 echo "Doing dvi in bfd" ; \
3830 (cd bfd && \
3831 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3832 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3833 "RANLIB=$${RANLIB}" \
3834 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3835 dvi) \
3836 || exit 1
3838 @endif bfd
3840 .PHONY: maybe-TAGS-bfd TAGS-bfd
3841 maybe-TAGS-bfd:
3842 @if bfd
3843 maybe-TAGS-bfd: TAGS-bfd
3845 TAGS-bfd: \
3846 configure-bfd
3847 @[ -f ./bfd/Makefile ] || exit 0; \
3848 r=`${PWD_COMMAND}`; export r; \
3849 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3850 $(SET_LIB_PATH) \
3851 $(HOST_EXPORTS) \
3852 for flag in $(EXTRA_HOST_FLAGS); do \
3853 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3854 done; \
3855 echo "Doing TAGS in bfd" ; \
3856 (cd bfd && \
3857 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3858 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3859 "RANLIB=$${RANLIB}" \
3860 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3861 TAGS) \
3862 || exit 1
3864 @endif bfd
3866 .PHONY: maybe-install-info-bfd install-info-bfd
3867 maybe-install-info-bfd:
3868 @if bfd
3869 maybe-install-info-bfd: install-info-bfd
3871 install-info-bfd: \
3872 configure-bfd \
3873 info-bfd
3874 @[ -f ./bfd/Makefile ] || exit 0; \
3875 r=`${PWD_COMMAND}`; export r; \
3876 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3877 $(SET_LIB_PATH) \
3878 $(HOST_EXPORTS) \
3879 for flag in $(EXTRA_HOST_FLAGS); do \
3880 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3881 done; \
3882 echo "Doing install-info in bfd" ; \
3883 (cd bfd && \
3884 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3885 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3886 "RANLIB=$${RANLIB}" \
3887 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3888 install-info) \
3889 || exit 1
3891 @endif bfd
3893 .PHONY: maybe-installcheck-bfd installcheck-bfd
3894 maybe-installcheck-bfd:
3895 @if bfd
3896 maybe-installcheck-bfd: installcheck-bfd
3898 installcheck-bfd: \
3899 configure-bfd
3900 @[ -f ./bfd/Makefile ] || exit 0; \
3901 r=`${PWD_COMMAND}`; export r; \
3902 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3903 $(SET_LIB_PATH) \
3904 $(HOST_EXPORTS) \
3905 for flag in $(EXTRA_HOST_FLAGS); do \
3906 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3907 done; \
3908 echo "Doing installcheck in bfd" ; \
3909 (cd bfd && \
3910 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3911 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3912 "RANLIB=$${RANLIB}" \
3913 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3914 installcheck) \
3915 || exit 1
3917 @endif bfd
3919 .PHONY: maybe-mostlyclean-bfd mostlyclean-bfd
3920 maybe-mostlyclean-bfd:
3921 @if bfd
3922 maybe-mostlyclean-bfd: mostlyclean-bfd
3924 mostlyclean-bfd:
3925 @[ -f ./bfd/Makefile ] || exit 0; \
3926 r=`${PWD_COMMAND}`; export r; \
3927 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3928 $(SET_LIB_PATH) \
3929 $(HOST_EXPORTS) \
3930 for flag in $(EXTRA_HOST_FLAGS); do \
3931 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3932 done; \
3933 echo "Doing mostlyclean in bfd" ; \
3934 (cd bfd && \
3935 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3936 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3937 "RANLIB=$${RANLIB}" \
3938 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3939 mostlyclean) \
3940 || exit 1
3942 @endif bfd
3944 .PHONY: maybe-clean-bfd clean-bfd
3945 maybe-clean-bfd:
3946 @if bfd
3947 maybe-clean-bfd: clean-bfd
3949 clean-bfd:
3950 @[ -f ./bfd/Makefile ] || exit 0; \
3951 r=`${PWD_COMMAND}`; export r; \
3952 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3953 $(SET_LIB_PATH) \
3954 $(HOST_EXPORTS) \
3955 for flag in $(EXTRA_HOST_FLAGS); do \
3956 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3957 done; \
3958 echo "Doing clean in bfd" ; \
3959 (cd bfd && \
3960 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3961 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3962 "RANLIB=$${RANLIB}" \
3963 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3964 clean) \
3965 || exit 1
3967 @endif bfd
3969 .PHONY: maybe-distclean-bfd distclean-bfd
3970 maybe-distclean-bfd:
3971 @if bfd
3972 maybe-distclean-bfd: distclean-bfd
3974 distclean-bfd:
3975 @[ -f ./bfd/Makefile ] || exit 0; \
3976 r=`${PWD_COMMAND}`; export r; \
3977 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3978 $(SET_LIB_PATH) \
3979 $(HOST_EXPORTS) \
3980 for flag in $(EXTRA_HOST_FLAGS); do \
3981 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3982 done; \
3983 echo "Doing distclean in bfd" ; \
3984 (cd bfd && \
3985 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3986 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3987 "RANLIB=$${RANLIB}" \
3988 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3989 distclean) \
3990 || exit 1
3992 @endif bfd
3994 .PHONY: maybe-maintainer-clean-bfd maintainer-clean-bfd
3995 maybe-maintainer-clean-bfd:
3996 @if bfd
3997 maybe-maintainer-clean-bfd: maintainer-clean-bfd
3999 maintainer-clean-bfd:
4000 @[ -f ./bfd/Makefile ] || exit 0; \
4001 r=`${PWD_COMMAND}`; export r; \
4002 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4003 $(SET_LIB_PATH) \
4004 $(HOST_EXPORTS) \
4005 for flag in $(EXTRA_HOST_FLAGS); do \
4006 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4007 done; \
4008 echo "Doing maintainer-clean in bfd" ; \
4009 (cd bfd && \
4010 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4011 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4012 "RANLIB=$${RANLIB}" \
4013 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4014 maintainer-clean) \
4015 || exit 1
4017 @endif bfd
4020 .PHONY: configure-opcodes maybe-configure-opcodes
4021 maybe-configure-opcodes:
4022 @if opcodes
4023 maybe-configure-opcodes: configure-opcodes
4024 configure-opcodes:
4025 @test ! -f opcodes/Makefile || exit 0; \
4026 [ -d opcodes ] || mkdir opcodes; \
4027 r=`${PWD_COMMAND}`; export r; \
4028 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4029 $(HOST_EXPORTS) \
4030 echo Configuring in opcodes; \
4031 cd opcodes || exit 1; \
4032 case $(srcdir) in \
4033 \.) \
4034 srcdiroption="--srcdir=."; \
4035 libsrcdir=".";; \
4036 /* | [A-Za-z]:[\\/]*) \
4037 srcdiroption="--srcdir=$(srcdir)/opcodes"; \
4038 libsrcdir="$$s/opcodes";; \
4039 *) \
4040 srcdiroption="--srcdir=../$(srcdir)/opcodes"; \
4041 libsrcdir="$$s/opcodes";; \
4042 esac; \
4043 $(SHELL) $${libsrcdir}/configure \
4044 $(HOST_CONFIGARGS) $${srcdiroption} \
4045 || exit 1
4046 @endif opcodes
4048 .PHONY: all-opcodes maybe-all-opcodes
4049 maybe-all-opcodes:
4050 @if opcodes
4051 maybe-all-opcodes: all-opcodes
4052 all-opcodes: configure-opcodes
4053 @r=`${PWD_COMMAND}`; export r; \
4054 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4055 $(SET_LIB_PATH) \
4056 $(HOST_EXPORTS) \
4057 (cd opcodes && $(MAKE) $(FLAGS_TO_PASS) all)
4058 @endif opcodes
4060 .PHONY: check-opcodes maybe-check-opcodes
4061 maybe-check-opcodes:
4062 @if opcodes
4063 maybe-check-opcodes: check-opcodes
4065 check-opcodes:
4066 @r=`${PWD_COMMAND}`; export r; \
4067 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4068 $(SET_LIB_PATH) \
4069 $(HOST_EXPORTS) \
4070 (cd opcodes && $(MAKE) $(FLAGS_TO_PASS) check)
4072 @endif opcodes
4074 .PHONY: install-opcodes maybe-install-opcodes
4075 maybe-install-opcodes:
4076 @if opcodes
4077 maybe-install-opcodes: install-opcodes
4079 install-opcodes: installdirs
4080 @r=`${PWD_COMMAND}`; export r; \
4081 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4082 $(SET_LIB_PATH) \
4083 $(HOST_EXPORTS) \
4084 (cd opcodes && $(MAKE) $(FLAGS_TO_PASS) install)
4086 @endif opcodes
4088 # Other targets (info, dvi, etc.)
4090 .PHONY: maybe-info-opcodes info-opcodes
4091 maybe-info-opcodes:
4092 @if opcodes
4093 maybe-info-opcodes: info-opcodes
4095 info-opcodes: \
4096 configure-opcodes
4097 @[ -f ./opcodes/Makefile ] || exit 0; \
4098 r=`${PWD_COMMAND}`; export r; \
4099 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4100 $(SET_LIB_PATH) \
4101 $(HOST_EXPORTS) \
4102 for flag in $(EXTRA_HOST_FLAGS); do \
4103 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4104 done; \
4105 echo "Doing info in opcodes" ; \
4106 (cd opcodes && \
4107 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4108 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4109 "RANLIB=$${RANLIB}" \
4110 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4111 info) \
4112 || exit 1
4114 @endif opcodes
4116 .PHONY: maybe-dvi-opcodes dvi-opcodes
4117 maybe-dvi-opcodes:
4118 @if opcodes
4119 maybe-dvi-opcodes: dvi-opcodes
4121 dvi-opcodes: \
4122 configure-opcodes
4123 @[ -f ./opcodes/Makefile ] || exit 0; \
4124 r=`${PWD_COMMAND}`; export r; \
4125 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4126 $(SET_LIB_PATH) \
4127 $(HOST_EXPORTS) \
4128 for flag in $(EXTRA_HOST_FLAGS); do \
4129 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4130 done; \
4131 echo "Doing dvi in opcodes" ; \
4132 (cd opcodes && \
4133 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4134 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4135 "RANLIB=$${RANLIB}" \
4136 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4137 dvi) \
4138 || exit 1
4140 @endif opcodes
4142 .PHONY: maybe-TAGS-opcodes TAGS-opcodes
4143 maybe-TAGS-opcodes:
4144 @if opcodes
4145 maybe-TAGS-opcodes: TAGS-opcodes
4147 TAGS-opcodes: \
4148 configure-opcodes
4149 @[ -f ./opcodes/Makefile ] || exit 0; \
4150 r=`${PWD_COMMAND}`; export r; \
4151 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4152 $(SET_LIB_PATH) \
4153 $(HOST_EXPORTS) \
4154 for flag in $(EXTRA_HOST_FLAGS); do \
4155 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4156 done; \
4157 echo "Doing TAGS in opcodes" ; \
4158 (cd opcodes && \
4159 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4160 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4161 "RANLIB=$${RANLIB}" \
4162 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4163 TAGS) \
4164 || exit 1
4166 @endif opcodes
4168 .PHONY: maybe-install-info-opcodes install-info-opcodes
4169 maybe-install-info-opcodes:
4170 @if opcodes
4171 maybe-install-info-opcodes: install-info-opcodes
4173 install-info-opcodes: \
4174 configure-opcodes \
4175 info-opcodes
4176 @[ -f ./opcodes/Makefile ] || exit 0; \
4177 r=`${PWD_COMMAND}`; export r; \
4178 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4179 $(SET_LIB_PATH) \
4180 $(HOST_EXPORTS) \
4181 for flag in $(EXTRA_HOST_FLAGS); do \
4182 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4183 done; \
4184 echo "Doing install-info in opcodes" ; \
4185 (cd opcodes && \
4186 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4187 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4188 "RANLIB=$${RANLIB}" \
4189 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4190 install-info) \
4191 || exit 1
4193 @endif opcodes
4195 .PHONY: maybe-installcheck-opcodes installcheck-opcodes
4196 maybe-installcheck-opcodes:
4197 @if opcodes
4198 maybe-installcheck-opcodes: installcheck-opcodes
4200 installcheck-opcodes: \
4201 configure-opcodes
4202 @[ -f ./opcodes/Makefile ] || exit 0; \
4203 r=`${PWD_COMMAND}`; export r; \
4204 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4205 $(SET_LIB_PATH) \
4206 $(HOST_EXPORTS) \
4207 for flag in $(EXTRA_HOST_FLAGS); do \
4208 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4209 done; \
4210 echo "Doing installcheck in opcodes" ; \
4211 (cd opcodes && \
4212 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4213 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4214 "RANLIB=$${RANLIB}" \
4215 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4216 installcheck) \
4217 || exit 1
4219 @endif opcodes
4221 .PHONY: maybe-mostlyclean-opcodes mostlyclean-opcodes
4222 maybe-mostlyclean-opcodes:
4223 @if opcodes
4224 maybe-mostlyclean-opcodes: mostlyclean-opcodes
4226 mostlyclean-opcodes:
4227 @[ -f ./opcodes/Makefile ] || exit 0; \
4228 r=`${PWD_COMMAND}`; export r; \
4229 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4230 $(SET_LIB_PATH) \
4231 $(HOST_EXPORTS) \
4232 for flag in $(EXTRA_HOST_FLAGS); do \
4233 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4234 done; \
4235 echo "Doing mostlyclean in opcodes" ; \
4236 (cd opcodes && \
4237 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4238 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4239 "RANLIB=$${RANLIB}" \
4240 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4241 mostlyclean) \
4242 || exit 1
4244 @endif opcodes
4246 .PHONY: maybe-clean-opcodes clean-opcodes
4247 maybe-clean-opcodes:
4248 @if opcodes
4249 maybe-clean-opcodes: clean-opcodes
4251 clean-opcodes:
4252 @[ -f ./opcodes/Makefile ] || exit 0; \
4253 r=`${PWD_COMMAND}`; export r; \
4254 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4255 $(SET_LIB_PATH) \
4256 $(HOST_EXPORTS) \
4257 for flag in $(EXTRA_HOST_FLAGS); do \
4258 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4259 done; \
4260 echo "Doing clean in opcodes" ; \
4261 (cd opcodes && \
4262 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4263 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4264 "RANLIB=$${RANLIB}" \
4265 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4266 clean) \
4267 || exit 1
4269 @endif opcodes
4271 .PHONY: maybe-distclean-opcodes distclean-opcodes
4272 maybe-distclean-opcodes:
4273 @if opcodes
4274 maybe-distclean-opcodes: distclean-opcodes
4276 distclean-opcodes:
4277 @[ -f ./opcodes/Makefile ] || exit 0; \
4278 r=`${PWD_COMMAND}`; export r; \
4279 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4280 $(SET_LIB_PATH) \
4281 $(HOST_EXPORTS) \
4282 for flag in $(EXTRA_HOST_FLAGS); do \
4283 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4284 done; \
4285 echo "Doing distclean in opcodes" ; \
4286 (cd opcodes && \
4287 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4288 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4289 "RANLIB=$${RANLIB}" \
4290 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4291 distclean) \
4292 || exit 1
4294 @endif opcodes
4296 .PHONY: maybe-maintainer-clean-opcodes maintainer-clean-opcodes
4297 maybe-maintainer-clean-opcodes:
4298 @if opcodes
4299 maybe-maintainer-clean-opcodes: maintainer-clean-opcodes
4301 maintainer-clean-opcodes:
4302 @[ -f ./opcodes/Makefile ] || exit 0; \
4303 r=`${PWD_COMMAND}`; export r; \
4304 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4305 $(SET_LIB_PATH) \
4306 $(HOST_EXPORTS) \
4307 for flag in $(EXTRA_HOST_FLAGS); do \
4308 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4309 done; \
4310 echo "Doing maintainer-clean in opcodes" ; \
4311 (cd opcodes && \
4312 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4313 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4314 "RANLIB=$${RANLIB}" \
4315 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4316 maintainer-clean) \
4317 || exit 1
4319 @endif opcodes
4322 .PHONY: configure-binutils maybe-configure-binutils
4323 maybe-configure-binutils:
4324 @if binutils
4325 maybe-configure-binutils: configure-binutils
4326 configure-binutils:
4327 @test ! -f binutils/Makefile || exit 0; \
4328 [ -d binutils ] || mkdir binutils; \
4329 r=`${PWD_COMMAND}`; export r; \
4330 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4331 $(HOST_EXPORTS) \
4332 echo Configuring in binutils; \
4333 cd binutils || exit 1; \
4334 case $(srcdir) in \
4335 \.) \
4336 srcdiroption="--srcdir=."; \
4337 libsrcdir=".";; \
4338 /* | [A-Za-z]:[\\/]*) \
4339 srcdiroption="--srcdir=$(srcdir)/binutils"; \
4340 libsrcdir="$$s/binutils";; \
4341 *) \
4342 srcdiroption="--srcdir=../$(srcdir)/binutils"; \
4343 libsrcdir="$$s/binutils";; \
4344 esac; \
4345 $(SHELL) $${libsrcdir}/configure \
4346 $(HOST_CONFIGARGS) $${srcdiroption} \
4347 || exit 1
4348 @endif binutils
4350 .PHONY: all-binutils maybe-all-binutils
4351 maybe-all-binutils:
4352 @if binutils
4353 maybe-all-binutils: all-binutils
4354 all-binutils: configure-binutils
4355 @r=`${PWD_COMMAND}`; export r; \
4356 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4357 $(SET_LIB_PATH) \
4358 $(HOST_EXPORTS) \
4359 (cd binutils && $(MAKE) $(FLAGS_TO_PASS) all)
4360 @endif binutils
4362 .PHONY: check-binutils maybe-check-binutils
4363 maybe-check-binutils:
4364 @if binutils
4365 maybe-check-binutils: check-binutils
4367 check-binutils:
4368 @r=`${PWD_COMMAND}`; export r; \
4369 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4370 $(SET_LIB_PATH) \
4371 $(HOST_EXPORTS) \
4372 (cd binutils && $(MAKE) $(FLAGS_TO_PASS) check)
4374 @endif binutils
4376 .PHONY: install-binutils maybe-install-binutils
4377 maybe-install-binutils:
4378 @if binutils
4379 maybe-install-binutils: install-binutils
4381 install-binutils: installdirs
4382 @r=`${PWD_COMMAND}`; export r; \
4383 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4384 $(SET_LIB_PATH) \
4385 $(HOST_EXPORTS) \
4386 (cd binutils && $(MAKE) $(FLAGS_TO_PASS) install)
4388 @endif binutils
4390 # Other targets (info, dvi, etc.)
4392 .PHONY: maybe-info-binutils info-binutils
4393 maybe-info-binutils:
4394 @if binutils
4395 maybe-info-binutils: info-binutils
4397 info-binutils: \
4398 configure-binutils
4399 @[ -f ./binutils/Makefile ] || exit 0; \
4400 r=`${PWD_COMMAND}`; export r; \
4401 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4402 $(SET_LIB_PATH) \
4403 $(HOST_EXPORTS) \
4404 for flag in $(EXTRA_HOST_FLAGS); do \
4405 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4406 done; \
4407 echo "Doing info in binutils" ; \
4408 (cd binutils && \
4409 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4410 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4411 "RANLIB=$${RANLIB}" \
4412 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4413 info) \
4414 || exit 1
4416 @endif binutils
4418 .PHONY: maybe-dvi-binutils dvi-binutils
4419 maybe-dvi-binutils:
4420 @if binutils
4421 maybe-dvi-binutils: dvi-binutils
4423 dvi-binutils: \
4424 configure-binutils
4425 @[ -f ./binutils/Makefile ] || exit 0; \
4426 r=`${PWD_COMMAND}`; export r; \
4427 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4428 $(SET_LIB_PATH) \
4429 $(HOST_EXPORTS) \
4430 for flag in $(EXTRA_HOST_FLAGS); do \
4431 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4432 done; \
4433 echo "Doing dvi in binutils" ; \
4434 (cd binutils && \
4435 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4436 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4437 "RANLIB=$${RANLIB}" \
4438 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4439 dvi) \
4440 || exit 1
4442 @endif binutils
4444 .PHONY: maybe-TAGS-binutils TAGS-binutils
4445 maybe-TAGS-binutils:
4446 @if binutils
4447 maybe-TAGS-binutils: TAGS-binutils
4449 TAGS-binutils: \
4450 configure-binutils
4451 @[ -f ./binutils/Makefile ] || exit 0; \
4452 r=`${PWD_COMMAND}`; export r; \
4453 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4454 $(SET_LIB_PATH) \
4455 $(HOST_EXPORTS) \
4456 for flag in $(EXTRA_HOST_FLAGS); do \
4457 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4458 done; \
4459 echo "Doing TAGS in binutils" ; \
4460 (cd binutils && \
4461 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4462 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4463 "RANLIB=$${RANLIB}" \
4464 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4465 TAGS) \
4466 || exit 1
4468 @endif binutils
4470 .PHONY: maybe-install-info-binutils install-info-binutils
4471 maybe-install-info-binutils:
4472 @if binutils
4473 maybe-install-info-binutils: install-info-binutils
4475 install-info-binutils: \
4476 configure-binutils \
4477 info-binutils
4478 @[ -f ./binutils/Makefile ] || exit 0; \
4479 r=`${PWD_COMMAND}`; export r; \
4480 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4481 $(SET_LIB_PATH) \
4482 $(HOST_EXPORTS) \
4483 for flag in $(EXTRA_HOST_FLAGS); do \
4484 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4485 done; \
4486 echo "Doing install-info in binutils" ; \
4487 (cd binutils && \
4488 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4489 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4490 "RANLIB=$${RANLIB}" \
4491 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4492 install-info) \
4493 || exit 1
4495 @endif binutils
4497 .PHONY: maybe-installcheck-binutils installcheck-binutils
4498 maybe-installcheck-binutils:
4499 @if binutils
4500 maybe-installcheck-binutils: installcheck-binutils
4502 installcheck-binutils: \
4503 configure-binutils
4504 @[ -f ./binutils/Makefile ] || exit 0; \
4505 r=`${PWD_COMMAND}`; export r; \
4506 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4507 $(SET_LIB_PATH) \
4508 $(HOST_EXPORTS) \
4509 for flag in $(EXTRA_HOST_FLAGS); do \
4510 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4511 done; \
4512 echo "Doing installcheck in binutils" ; \
4513 (cd binutils && \
4514 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4515 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4516 "RANLIB=$${RANLIB}" \
4517 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4518 installcheck) \
4519 || exit 1
4521 @endif binutils
4523 .PHONY: maybe-mostlyclean-binutils mostlyclean-binutils
4524 maybe-mostlyclean-binutils:
4525 @if binutils
4526 maybe-mostlyclean-binutils: mostlyclean-binutils
4528 mostlyclean-binutils:
4529 @[ -f ./binutils/Makefile ] || exit 0; \
4530 r=`${PWD_COMMAND}`; export r; \
4531 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4532 $(SET_LIB_PATH) \
4533 $(HOST_EXPORTS) \
4534 for flag in $(EXTRA_HOST_FLAGS); do \
4535 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4536 done; \
4537 echo "Doing mostlyclean in binutils" ; \
4538 (cd binutils && \
4539 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4540 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4541 "RANLIB=$${RANLIB}" \
4542 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4543 mostlyclean) \
4544 || exit 1
4546 @endif binutils
4548 .PHONY: maybe-clean-binutils clean-binutils
4549 maybe-clean-binutils:
4550 @if binutils
4551 maybe-clean-binutils: clean-binutils
4553 clean-binutils:
4554 @[ -f ./binutils/Makefile ] || exit 0; \
4555 r=`${PWD_COMMAND}`; export r; \
4556 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4557 $(SET_LIB_PATH) \
4558 $(HOST_EXPORTS) \
4559 for flag in $(EXTRA_HOST_FLAGS); do \
4560 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4561 done; \
4562 echo "Doing clean in binutils" ; \
4563 (cd binutils && \
4564 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4565 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4566 "RANLIB=$${RANLIB}" \
4567 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4568 clean) \
4569 || exit 1
4571 @endif binutils
4573 .PHONY: maybe-distclean-binutils distclean-binutils
4574 maybe-distclean-binutils:
4575 @if binutils
4576 maybe-distclean-binutils: distclean-binutils
4578 distclean-binutils:
4579 @[ -f ./binutils/Makefile ] || exit 0; \
4580 r=`${PWD_COMMAND}`; export r; \
4581 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4582 $(SET_LIB_PATH) \
4583 $(HOST_EXPORTS) \
4584 for flag in $(EXTRA_HOST_FLAGS); do \
4585 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4586 done; \
4587 echo "Doing distclean in binutils" ; \
4588 (cd binutils && \
4589 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4590 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4591 "RANLIB=$${RANLIB}" \
4592 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4593 distclean) \
4594 || exit 1
4596 @endif binutils
4598 .PHONY: maybe-maintainer-clean-binutils maintainer-clean-binutils
4599 maybe-maintainer-clean-binutils:
4600 @if binutils
4601 maybe-maintainer-clean-binutils: maintainer-clean-binutils
4603 maintainer-clean-binutils:
4604 @[ -f ./binutils/Makefile ] || exit 0; \
4605 r=`${PWD_COMMAND}`; export r; \
4606 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4607 $(SET_LIB_PATH) \
4608 $(HOST_EXPORTS) \
4609 for flag in $(EXTRA_HOST_FLAGS); do \
4610 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4611 done; \
4612 echo "Doing maintainer-clean in binutils" ; \
4613 (cd binutils && \
4614 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4615 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4616 "RANLIB=$${RANLIB}" \
4617 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4618 maintainer-clean) \
4619 || exit 1
4621 @endif binutils
4624 .PHONY: configure-bison maybe-configure-bison
4625 maybe-configure-bison:
4626 @if bison
4627 maybe-configure-bison: configure-bison
4628 configure-bison:
4629 @test ! -f bison/Makefile || exit 0; \
4630 [ -d bison ] || mkdir bison; \
4631 r=`${PWD_COMMAND}`; export r; \
4632 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4633 $(HOST_EXPORTS) \
4634 echo Configuring in bison; \
4635 cd bison || exit 1; \
4636 case $(srcdir) in \
4637 \.) \
4638 srcdiroption="--srcdir=."; \
4639 libsrcdir=".";; \
4640 /* | [A-Za-z]:[\\/]*) \
4641 srcdiroption="--srcdir=$(srcdir)/bison"; \
4642 libsrcdir="$$s/bison";; \
4643 *) \
4644 srcdiroption="--srcdir=../$(srcdir)/bison"; \
4645 libsrcdir="$$s/bison";; \
4646 esac; \
4647 $(SHELL) $${libsrcdir}/configure \
4648 $(HOST_CONFIGARGS) $${srcdiroption} \
4649 || exit 1
4650 @endif bison
4652 .PHONY: all-bison maybe-all-bison
4653 maybe-all-bison:
4654 @if bison
4655 maybe-all-bison: all-bison
4656 all-bison: configure-bison
4657 @r=`${PWD_COMMAND}`; export r; \
4658 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4659 $(SET_LIB_PATH) \
4660 $(HOST_EXPORTS) \
4661 (cd bison && $(MAKE) $(FLAGS_TO_PASS) all)
4662 @endif bison
4664 .PHONY: check-bison maybe-check-bison
4665 maybe-check-bison:
4666 @if bison
4667 maybe-check-bison: check-bison
4669 # This module is only tested in a native toolchain.
4670 check-bison:
4671 @if [ '$(host)' = '$(target)' ] ; then \
4672 r=`${PWD_COMMAND}`; export r; \
4673 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4674 $(SET_LIB_PATH) \
4675 $(HOST_EXPORTS) \
4676 (cd bison && $(MAKE) $(FLAGS_TO_PASS) check); \
4679 @endif bison
4681 .PHONY: install-bison maybe-install-bison
4682 maybe-install-bison:
4683 @if bison
4684 maybe-install-bison: install-bison
4686 install-bison: installdirs
4687 @r=`${PWD_COMMAND}`; export r; \
4688 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4689 $(SET_LIB_PATH) \
4690 $(HOST_EXPORTS) \
4691 (cd bison && $(MAKE) $(FLAGS_TO_PASS) install)
4693 @endif bison
4695 # Other targets (info, dvi, etc.)
4697 .PHONY: maybe-info-bison info-bison
4698 maybe-info-bison:
4699 @if bison
4700 maybe-info-bison: info-bison
4702 info-bison: \
4703 configure-bison
4704 @[ -f ./bison/Makefile ] || exit 0; \
4705 r=`${PWD_COMMAND}`; export r; \
4706 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4707 $(SET_LIB_PATH) \
4708 $(HOST_EXPORTS) \
4709 for flag in $(EXTRA_HOST_FLAGS); do \
4710 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4711 done; \
4712 echo "Doing info in bison" ; \
4713 (cd bison && \
4714 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4715 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4716 "RANLIB=$${RANLIB}" \
4717 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4718 info) \
4719 || exit 1
4721 @endif bison
4723 .PHONY: maybe-dvi-bison dvi-bison
4724 maybe-dvi-bison:
4725 @if bison
4726 maybe-dvi-bison: dvi-bison
4728 dvi-bison: \
4729 configure-bison
4730 @[ -f ./bison/Makefile ] || exit 0; \
4731 r=`${PWD_COMMAND}`; export r; \
4732 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4733 $(SET_LIB_PATH) \
4734 $(HOST_EXPORTS) \
4735 for flag in $(EXTRA_HOST_FLAGS); do \
4736 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4737 done; \
4738 echo "Doing dvi in bison" ; \
4739 (cd bison && \
4740 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4741 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4742 "RANLIB=$${RANLIB}" \
4743 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4744 dvi) \
4745 || exit 1
4747 @endif bison
4749 .PHONY: maybe-TAGS-bison TAGS-bison
4750 maybe-TAGS-bison:
4751 @if bison
4752 maybe-TAGS-bison: TAGS-bison
4754 TAGS-bison: \
4755 configure-bison
4756 @[ -f ./bison/Makefile ] || exit 0; \
4757 r=`${PWD_COMMAND}`; export r; \
4758 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4759 $(SET_LIB_PATH) \
4760 $(HOST_EXPORTS) \
4761 for flag in $(EXTRA_HOST_FLAGS); do \
4762 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4763 done; \
4764 echo "Doing TAGS in bison" ; \
4765 (cd bison && \
4766 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4767 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4768 "RANLIB=$${RANLIB}" \
4769 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4770 TAGS) \
4771 || exit 1
4773 @endif bison
4775 .PHONY: maybe-install-info-bison install-info-bison
4776 maybe-install-info-bison:
4777 @if bison
4778 maybe-install-info-bison: install-info-bison
4780 install-info-bison: \
4781 configure-bison \
4782 info-bison
4783 @[ -f ./bison/Makefile ] || exit 0; \
4784 r=`${PWD_COMMAND}`; export r; \
4785 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4786 $(SET_LIB_PATH) \
4787 $(HOST_EXPORTS) \
4788 for flag in $(EXTRA_HOST_FLAGS); do \
4789 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4790 done; \
4791 echo "Doing install-info in bison" ; \
4792 (cd bison && \
4793 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4794 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4795 "RANLIB=$${RANLIB}" \
4796 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4797 install-info) \
4798 || exit 1
4800 @endif bison
4802 .PHONY: maybe-installcheck-bison installcheck-bison
4803 maybe-installcheck-bison:
4804 @if bison
4805 maybe-installcheck-bison: installcheck-bison
4807 installcheck-bison: \
4808 configure-bison
4809 @[ -f ./bison/Makefile ] || exit 0; \
4810 r=`${PWD_COMMAND}`; export r; \
4811 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4812 $(SET_LIB_PATH) \
4813 $(HOST_EXPORTS) \
4814 for flag in $(EXTRA_HOST_FLAGS); do \
4815 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4816 done; \
4817 echo "Doing installcheck in bison" ; \
4818 (cd bison && \
4819 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4820 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4821 "RANLIB=$${RANLIB}" \
4822 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4823 installcheck) \
4824 || exit 1
4826 @endif bison
4828 .PHONY: maybe-mostlyclean-bison mostlyclean-bison
4829 maybe-mostlyclean-bison:
4830 @if bison
4831 maybe-mostlyclean-bison: mostlyclean-bison
4833 mostlyclean-bison:
4834 @[ -f ./bison/Makefile ] || exit 0; \
4835 r=`${PWD_COMMAND}`; export r; \
4836 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4837 $(SET_LIB_PATH) \
4838 $(HOST_EXPORTS) \
4839 for flag in $(EXTRA_HOST_FLAGS); do \
4840 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4841 done; \
4842 echo "Doing mostlyclean in bison" ; \
4843 (cd bison && \
4844 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4845 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4846 "RANLIB=$${RANLIB}" \
4847 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4848 mostlyclean) \
4849 || exit 1
4851 @endif bison
4853 .PHONY: maybe-clean-bison clean-bison
4854 maybe-clean-bison:
4855 @if bison
4856 maybe-clean-bison: clean-bison
4858 clean-bison:
4859 @[ -f ./bison/Makefile ] || exit 0; \
4860 r=`${PWD_COMMAND}`; export r; \
4861 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4862 $(SET_LIB_PATH) \
4863 $(HOST_EXPORTS) \
4864 for flag in $(EXTRA_HOST_FLAGS); do \
4865 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4866 done; \
4867 echo "Doing clean in bison" ; \
4868 (cd bison && \
4869 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4870 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4871 "RANLIB=$${RANLIB}" \
4872 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4873 clean) \
4874 || exit 1
4876 @endif bison
4878 .PHONY: maybe-distclean-bison distclean-bison
4879 maybe-distclean-bison:
4880 @if bison
4881 maybe-distclean-bison: distclean-bison
4883 distclean-bison:
4884 @[ -f ./bison/Makefile ] || exit 0; \
4885 r=`${PWD_COMMAND}`; export r; \
4886 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4887 $(SET_LIB_PATH) \
4888 $(HOST_EXPORTS) \
4889 for flag in $(EXTRA_HOST_FLAGS); do \
4890 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4891 done; \
4892 echo "Doing distclean in bison" ; \
4893 (cd bison && \
4894 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4895 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4896 "RANLIB=$${RANLIB}" \
4897 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4898 distclean) \
4899 || exit 1
4901 @endif bison
4903 .PHONY: maybe-maintainer-clean-bison maintainer-clean-bison
4904 maybe-maintainer-clean-bison:
4905 @if bison
4906 maybe-maintainer-clean-bison: maintainer-clean-bison
4908 maintainer-clean-bison:
4909 @[ -f ./bison/Makefile ] || exit 0; \
4910 r=`${PWD_COMMAND}`; export r; \
4911 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4912 $(SET_LIB_PATH) \
4913 $(HOST_EXPORTS) \
4914 for flag in $(EXTRA_HOST_FLAGS); do \
4915 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4916 done; \
4917 echo "Doing maintainer-clean in bison" ; \
4918 (cd bison && \
4919 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4920 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4921 "RANLIB=$${RANLIB}" \
4922 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4923 maintainer-clean) \
4924 || exit 1
4926 @endif bison
4929 .PHONY: configure-byacc maybe-configure-byacc
4930 maybe-configure-byacc:
4931 @if byacc
4932 maybe-configure-byacc: configure-byacc
4933 configure-byacc:
4934 @test ! -f byacc/Makefile || exit 0; \
4935 [ -d byacc ] || mkdir byacc; \
4936 r=`${PWD_COMMAND}`; export r; \
4937 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4938 $(HOST_EXPORTS) \
4939 echo Configuring in byacc; \
4940 cd byacc || exit 1; \
4941 case $(srcdir) in \
4942 \.) \
4943 srcdiroption="--srcdir=."; \
4944 libsrcdir=".";; \
4945 /* | [A-Za-z]:[\\/]*) \
4946 srcdiroption="--srcdir=$(srcdir)/byacc"; \
4947 libsrcdir="$$s/byacc";; \
4948 *) \
4949 srcdiroption="--srcdir=../$(srcdir)/byacc"; \
4950 libsrcdir="$$s/byacc";; \
4951 esac; \
4952 $(SHELL) $${libsrcdir}/configure \
4953 $(HOST_CONFIGARGS) $${srcdiroption} \
4954 || exit 1
4955 @endif byacc
4957 .PHONY: all-byacc maybe-all-byacc
4958 maybe-all-byacc:
4959 @if byacc
4960 maybe-all-byacc: all-byacc
4961 all-byacc: configure-byacc
4962 @r=`${PWD_COMMAND}`; export r; \
4963 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4964 $(SET_LIB_PATH) \
4965 $(HOST_EXPORTS) \
4966 (cd byacc && $(MAKE) $(FLAGS_TO_PASS) all)
4967 @endif byacc
4969 .PHONY: check-byacc maybe-check-byacc
4970 maybe-check-byacc:
4971 @if byacc
4972 maybe-check-byacc: check-byacc
4974 # This module is only tested in a native toolchain.
4975 check-byacc:
4976 @if [ '$(host)' = '$(target)' ] ; then \
4977 r=`${PWD_COMMAND}`; export r; \
4978 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4979 $(SET_LIB_PATH) \
4980 $(HOST_EXPORTS) \
4981 (cd byacc && $(MAKE) $(FLAGS_TO_PASS) check); \
4984 @endif byacc
4986 .PHONY: install-byacc maybe-install-byacc
4987 maybe-install-byacc:
4988 @if byacc
4989 maybe-install-byacc: install-byacc
4991 install-byacc: installdirs
4992 @r=`${PWD_COMMAND}`; export r; \
4993 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4994 $(SET_LIB_PATH) \
4995 $(HOST_EXPORTS) \
4996 (cd byacc && $(MAKE) $(FLAGS_TO_PASS) install)
4998 @endif byacc
5000 # Other targets (info, dvi, etc.)
5002 .PHONY: maybe-info-byacc info-byacc
5003 maybe-info-byacc:
5004 @if byacc
5005 maybe-info-byacc: info-byacc
5007 info-byacc: \
5008 configure-byacc
5009 @[ -f ./byacc/Makefile ] || exit 0; \
5010 r=`${PWD_COMMAND}`; export r; \
5011 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5012 $(SET_LIB_PATH) \
5013 $(HOST_EXPORTS) \
5014 for flag in $(EXTRA_HOST_FLAGS); do \
5015 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5016 done; \
5017 echo "Doing info in byacc" ; \
5018 (cd byacc && \
5019 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5020 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5021 "RANLIB=$${RANLIB}" \
5022 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5023 info) \
5024 || exit 1
5026 @endif byacc
5028 .PHONY: maybe-dvi-byacc dvi-byacc
5029 maybe-dvi-byacc:
5030 @if byacc
5031 maybe-dvi-byacc: dvi-byacc
5033 dvi-byacc: \
5034 configure-byacc
5035 @[ -f ./byacc/Makefile ] || exit 0; \
5036 r=`${PWD_COMMAND}`; export r; \
5037 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5038 $(SET_LIB_PATH) \
5039 $(HOST_EXPORTS) \
5040 for flag in $(EXTRA_HOST_FLAGS); do \
5041 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5042 done; \
5043 echo "Doing dvi in byacc" ; \
5044 (cd byacc && \
5045 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5046 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5047 "RANLIB=$${RANLIB}" \
5048 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5049 dvi) \
5050 || exit 1
5052 @endif byacc
5054 .PHONY: maybe-TAGS-byacc TAGS-byacc
5055 maybe-TAGS-byacc:
5056 @if byacc
5057 maybe-TAGS-byacc: TAGS-byacc
5059 TAGS-byacc: \
5060 configure-byacc
5061 @[ -f ./byacc/Makefile ] || exit 0; \
5062 r=`${PWD_COMMAND}`; export r; \
5063 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5064 $(SET_LIB_PATH) \
5065 $(HOST_EXPORTS) \
5066 for flag in $(EXTRA_HOST_FLAGS); do \
5067 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5068 done; \
5069 echo "Doing TAGS in byacc" ; \
5070 (cd byacc && \
5071 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5072 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5073 "RANLIB=$${RANLIB}" \
5074 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5075 TAGS) \
5076 || exit 1
5078 @endif byacc
5080 .PHONY: maybe-install-info-byacc install-info-byacc
5081 maybe-install-info-byacc:
5082 @if byacc
5083 maybe-install-info-byacc: install-info-byacc
5085 install-info-byacc: \
5086 configure-byacc \
5087 info-byacc
5088 @[ -f ./byacc/Makefile ] || exit 0; \
5089 r=`${PWD_COMMAND}`; export r; \
5090 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5091 $(SET_LIB_PATH) \
5092 $(HOST_EXPORTS) \
5093 for flag in $(EXTRA_HOST_FLAGS); do \
5094 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5095 done; \
5096 echo "Doing install-info in byacc" ; \
5097 (cd byacc && \
5098 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5099 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5100 "RANLIB=$${RANLIB}" \
5101 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5102 install-info) \
5103 || exit 1
5105 @endif byacc
5107 .PHONY: maybe-installcheck-byacc installcheck-byacc
5108 maybe-installcheck-byacc:
5109 @if byacc
5110 maybe-installcheck-byacc: installcheck-byacc
5112 installcheck-byacc: \
5113 configure-byacc
5114 @[ -f ./byacc/Makefile ] || exit 0; \
5115 r=`${PWD_COMMAND}`; export r; \
5116 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5117 $(SET_LIB_PATH) \
5118 $(HOST_EXPORTS) \
5119 for flag in $(EXTRA_HOST_FLAGS); do \
5120 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5121 done; \
5122 echo "Doing installcheck in byacc" ; \
5123 (cd byacc && \
5124 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5125 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5126 "RANLIB=$${RANLIB}" \
5127 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5128 installcheck) \
5129 || exit 1
5131 @endif byacc
5133 .PHONY: maybe-mostlyclean-byacc mostlyclean-byacc
5134 maybe-mostlyclean-byacc:
5135 @if byacc
5136 maybe-mostlyclean-byacc: mostlyclean-byacc
5138 mostlyclean-byacc:
5139 @[ -f ./byacc/Makefile ] || exit 0; \
5140 r=`${PWD_COMMAND}`; export r; \
5141 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5142 $(SET_LIB_PATH) \
5143 $(HOST_EXPORTS) \
5144 for flag in $(EXTRA_HOST_FLAGS); do \
5145 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5146 done; \
5147 echo "Doing mostlyclean in byacc" ; \
5148 (cd byacc && \
5149 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5150 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5151 "RANLIB=$${RANLIB}" \
5152 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5153 mostlyclean) \
5154 || exit 1
5156 @endif byacc
5158 .PHONY: maybe-clean-byacc clean-byacc
5159 maybe-clean-byacc:
5160 @if byacc
5161 maybe-clean-byacc: clean-byacc
5163 clean-byacc:
5164 @[ -f ./byacc/Makefile ] || exit 0; \
5165 r=`${PWD_COMMAND}`; export r; \
5166 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5167 $(SET_LIB_PATH) \
5168 $(HOST_EXPORTS) \
5169 for flag in $(EXTRA_HOST_FLAGS); do \
5170 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5171 done; \
5172 echo "Doing clean in byacc" ; \
5173 (cd byacc && \
5174 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5175 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5176 "RANLIB=$${RANLIB}" \
5177 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5178 clean) \
5179 || exit 1
5181 @endif byacc
5183 .PHONY: maybe-distclean-byacc distclean-byacc
5184 maybe-distclean-byacc:
5185 @if byacc
5186 maybe-distclean-byacc: distclean-byacc
5188 distclean-byacc:
5189 @[ -f ./byacc/Makefile ] || exit 0; \
5190 r=`${PWD_COMMAND}`; export r; \
5191 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5192 $(SET_LIB_PATH) \
5193 $(HOST_EXPORTS) \
5194 for flag in $(EXTRA_HOST_FLAGS); do \
5195 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5196 done; \
5197 echo "Doing distclean in byacc" ; \
5198 (cd byacc && \
5199 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5200 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5201 "RANLIB=$${RANLIB}" \
5202 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5203 distclean) \
5204 || exit 1
5206 @endif byacc
5208 .PHONY: maybe-maintainer-clean-byacc maintainer-clean-byacc
5209 maybe-maintainer-clean-byacc:
5210 @if byacc
5211 maybe-maintainer-clean-byacc: maintainer-clean-byacc
5213 maintainer-clean-byacc:
5214 @[ -f ./byacc/Makefile ] || exit 0; \
5215 r=`${PWD_COMMAND}`; export r; \
5216 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5217 $(SET_LIB_PATH) \
5218 $(HOST_EXPORTS) \
5219 for flag in $(EXTRA_HOST_FLAGS); do \
5220 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5221 done; \
5222 echo "Doing maintainer-clean in byacc" ; \
5223 (cd byacc && \
5224 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5225 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5226 "RANLIB=$${RANLIB}" \
5227 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5228 maintainer-clean) \
5229 || exit 1
5231 @endif byacc
5234 .PHONY: configure-bzip2 maybe-configure-bzip2
5235 maybe-configure-bzip2:
5236 @if bzip2
5237 maybe-configure-bzip2: configure-bzip2
5238 configure-bzip2:
5239 @test ! -f bzip2/Makefile || exit 0; \
5240 [ -d bzip2 ] || mkdir bzip2; \
5241 r=`${PWD_COMMAND}`; export r; \
5242 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5243 $(HOST_EXPORTS) \
5244 echo Configuring in bzip2; \
5245 cd bzip2 || exit 1; \
5246 case $(srcdir) in \
5247 \.) \
5248 srcdiroption="--srcdir=."; \
5249 libsrcdir=".";; \
5250 /* | [A-Za-z]:[\\/]*) \
5251 srcdiroption="--srcdir=$(srcdir)/bzip2"; \
5252 libsrcdir="$$s/bzip2";; \
5253 *) \
5254 srcdiroption="--srcdir=../$(srcdir)/bzip2"; \
5255 libsrcdir="$$s/bzip2";; \
5256 esac; \
5257 $(SHELL) $${libsrcdir}/configure \
5258 $(HOST_CONFIGARGS) $${srcdiroption} \
5259 || exit 1
5260 @endif bzip2
5262 .PHONY: all-bzip2 maybe-all-bzip2
5263 maybe-all-bzip2:
5264 @if bzip2
5265 maybe-all-bzip2: all-bzip2
5266 all-bzip2: configure-bzip2
5267 @r=`${PWD_COMMAND}`; export r; \
5268 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5269 $(SET_LIB_PATH) \
5270 $(HOST_EXPORTS) \
5271 (cd bzip2 && $(MAKE) $(FLAGS_TO_PASS) all)
5272 @endif bzip2
5274 .PHONY: check-bzip2 maybe-check-bzip2
5275 maybe-check-bzip2:
5276 @if bzip2
5277 maybe-check-bzip2: check-bzip2
5279 check-bzip2:
5280 @r=`${PWD_COMMAND}`; export r; \
5281 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5282 $(SET_LIB_PATH) \
5283 $(HOST_EXPORTS) \
5284 (cd bzip2 && $(MAKE) $(FLAGS_TO_PASS) check)
5286 @endif bzip2
5288 .PHONY: install-bzip2 maybe-install-bzip2
5289 maybe-install-bzip2:
5290 @if bzip2
5291 maybe-install-bzip2: install-bzip2
5293 install-bzip2: installdirs
5294 @r=`${PWD_COMMAND}`; export r; \
5295 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5296 $(SET_LIB_PATH) \
5297 $(HOST_EXPORTS) \
5298 (cd bzip2 && $(MAKE) $(FLAGS_TO_PASS) install)
5300 @endif bzip2
5302 # Other targets (info, dvi, etc.)
5304 .PHONY: maybe-info-bzip2 info-bzip2
5305 maybe-info-bzip2:
5306 @if bzip2
5307 maybe-info-bzip2: info-bzip2
5309 info-bzip2: \
5310 configure-bzip2
5311 @[ -f ./bzip2/Makefile ] || exit 0; \
5312 r=`${PWD_COMMAND}`; export r; \
5313 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5314 $(SET_LIB_PATH) \
5315 $(HOST_EXPORTS) \
5316 for flag in $(EXTRA_HOST_FLAGS); do \
5317 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5318 done; \
5319 echo "Doing info in bzip2" ; \
5320 (cd bzip2 && \
5321 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5322 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5323 "RANLIB=$${RANLIB}" \
5324 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5325 info) \
5326 || exit 1
5328 @endif bzip2
5330 .PHONY: maybe-dvi-bzip2 dvi-bzip2
5331 maybe-dvi-bzip2:
5332 @if bzip2
5333 maybe-dvi-bzip2: dvi-bzip2
5335 dvi-bzip2: \
5336 configure-bzip2
5337 @[ -f ./bzip2/Makefile ] || exit 0; \
5338 r=`${PWD_COMMAND}`; export r; \
5339 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5340 $(SET_LIB_PATH) \
5341 $(HOST_EXPORTS) \
5342 for flag in $(EXTRA_HOST_FLAGS); do \
5343 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5344 done; \
5345 echo "Doing dvi in bzip2" ; \
5346 (cd bzip2 && \
5347 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5348 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5349 "RANLIB=$${RANLIB}" \
5350 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5351 dvi) \
5352 || exit 1
5354 @endif bzip2
5356 .PHONY: maybe-TAGS-bzip2 TAGS-bzip2
5357 maybe-TAGS-bzip2:
5358 @if bzip2
5359 maybe-TAGS-bzip2: TAGS-bzip2
5361 TAGS-bzip2: \
5362 configure-bzip2
5363 @[ -f ./bzip2/Makefile ] || exit 0; \
5364 r=`${PWD_COMMAND}`; export r; \
5365 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5366 $(SET_LIB_PATH) \
5367 $(HOST_EXPORTS) \
5368 for flag in $(EXTRA_HOST_FLAGS); do \
5369 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5370 done; \
5371 echo "Doing TAGS in bzip2" ; \
5372 (cd bzip2 && \
5373 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5374 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5375 "RANLIB=$${RANLIB}" \
5376 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5377 TAGS) \
5378 || exit 1
5380 @endif bzip2
5382 .PHONY: maybe-install-info-bzip2 install-info-bzip2
5383 maybe-install-info-bzip2:
5384 @if bzip2
5385 maybe-install-info-bzip2: install-info-bzip2
5387 install-info-bzip2: \
5388 configure-bzip2 \
5389 info-bzip2
5390 @[ -f ./bzip2/Makefile ] || exit 0; \
5391 r=`${PWD_COMMAND}`; export r; \
5392 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5393 $(SET_LIB_PATH) \
5394 $(HOST_EXPORTS) \
5395 for flag in $(EXTRA_HOST_FLAGS); do \
5396 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5397 done; \
5398 echo "Doing install-info in bzip2" ; \
5399 (cd bzip2 && \
5400 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5401 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5402 "RANLIB=$${RANLIB}" \
5403 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5404 install-info) \
5405 || exit 1
5407 @endif bzip2
5409 .PHONY: maybe-installcheck-bzip2 installcheck-bzip2
5410 maybe-installcheck-bzip2:
5411 @if bzip2
5412 maybe-installcheck-bzip2: installcheck-bzip2
5414 installcheck-bzip2: \
5415 configure-bzip2
5416 @[ -f ./bzip2/Makefile ] || exit 0; \
5417 r=`${PWD_COMMAND}`; export r; \
5418 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5419 $(SET_LIB_PATH) \
5420 $(HOST_EXPORTS) \
5421 for flag in $(EXTRA_HOST_FLAGS); do \
5422 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5423 done; \
5424 echo "Doing installcheck in bzip2" ; \
5425 (cd bzip2 && \
5426 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5427 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5428 "RANLIB=$${RANLIB}" \
5429 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5430 installcheck) \
5431 || exit 1
5433 @endif bzip2
5435 .PHONY: maybe-mostlyclean-bzip2 mostlyclean-bzip2
5436 maybe-mostlyclean-bzip2:
5437 @if bzip2
5438 maybe-mostlyclean-bzip2: mostlyclean-bzip2
5440 mostlyclean-bzip2:
5441 @[ -f ./bzip2/Makefile ] || exit 0; \
5442 r=`${PWD_COMMAND}`; export r; \
5443 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5444 $(SET_LIB_PATH) \
5445 $(HOST_EXPORTS) \
5446 for flag in $(EXTRA_HOST_FLAGS); do \
5447 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5448 done; \
5449 echo "Doing mostlyclean in bzip2" ; \
5450 (cd bzip2 && \
5451 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5452 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5453 "RANLIB=$${RANLIB}" \
5454 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5455 mostlyclean) \
5456 || exit 1
5458 @endif bzip2
5460 .PHONY: maybe-clean-bzip2 clean-bzip2
5461 maybe-clean-bzip2:
5462 @if bzip2
5463 maybe-clean-bzip2: clean-bzip2
5465 clean-bzip2:
5466 @[ -f ./bzip2/Makefile ] || exit 0; \
5467 r=`${PWD_COMMAND}`; export r; \
5468 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5469 $(SET_LIB_PATH) \
5470 $(HOST_EXPORTS) \
5471 for flag in $(EXTRA_HOST_FLAGS); do \
5472 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5473 done; \
5474 echo "Doing clean in bzip2" ; \
5475 (cd bzip2 && \
5476 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5477 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5478 "RANLIB=$${RANLIB}" \
5479 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5480 clean) \
5481 || exit 1
5483 @endif bzip2
5485 .PHONY: maybe-distclean-bzip2 distclean-bzip2
5486 maybe-distclean-bzip2:
5487 @if bzip2
5488 maybe-distclean-bzip2: distclean-bzip2
5490 distclean-bzip2:
5491 @[ -f ./bzip2/Makefile ] || exit 0; \
5492 r=`${PWD_COMMAND}`; export r; \
5493 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5494 $(SET_LIB_PATH) \
5495 $(HOST_EXPORTS) \
5496 for flag in $(EXTRA_HOST_FLAGS); do \
5497 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5498 done; \
5499 echo "Doing distclean in bzip2" ; \
5500 (cd bzip2 && \
5501 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5502 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5503 "RANLIB=$${RANLIB}" \
5504 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5505 distclean) \
5506 || exit 1
5508 @endif bzip2
5510 .PHONY: maybe-maintainer-clean-bzip2 maintainer-clean-bzip2
5511 maybe-maintainer-clean-bzip2:
5512 @if bzip2
5513 maybe-maintainer-clean-bzip2: maintainer-clean-bzip2
5515 maintainer-clean-bzip2:
5516 @[ -f ./bzip2/Makefile ] || exit 0; \
5517 r=`${PWD_COMMAND}`; export r; \
5518 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5519 $(SET_LIB_PATH) \
5520 $(HOST_EXPORTS) \
5521 for flag in $(EXTRA_HOST_FLAGS); do \
5522 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5523 done; \
5524 echo "Doing maintainer-clean in bzip2" ; \
5525 (cd bzip2 && \
5526 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5527 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5528 "RANLIB=$${RANLIB}" \
5529 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5530 maintainer-clean) \
5531 || exit 1
5533 @endif bzip2
5536 .PHONY: configure-dejagnu maybe-configure-dejagnu
5537 maybe-configure-dejagnu:
5538 @if dejagnu
5539 maybe-configure-dejagnu: configure-dejagnu
5540 configure-dejagnu:
5541 @test ! -f dejagnu/Makefile || exit 0; \
5542 [ -d dejagnu ] || mkdir dejagnu; \
5543 r=`${PWD_COMMAND}`; export r; \
5544 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5545 $(HOST_EXPORTS) \
5546 echo Configuring in dejagnu; \
5547 cd dejagnu || exit 1; \
5548 case $(srcdir) in \
5549 \.) \
5550 srcdiroption="--srcdir=."; \
5551 libsrcdir=".";; \
5552 /* | [A-Za-z]:[\\/]*) \
5553 srcdiroption="--srcdir=$(srcdir)/dejagnu"; \
5554 libsrcdir="$$s/dejagnu";; \
5555 *) \
5556 srcdiroption="--srcdir=../$(srcdir)/dejagnu"; \
5557 libsrcdir="$$s/dejagnu";; \
5558 esac; \
5559 $(SHELL) $${libsrcdir}/configure \
5560 $(HOST_CONFIGARGS) $${srcdiroption} \
5561 || exit 1
5562 @endif dejagnu
5564 .PHONY: all-dejagnu maybe-all-dejagnu
5565 maybe-all-dejagnu:
5566 @if dejagnu
5567 maybe-all-dejagnu: all-dejagnu
5568 all-dejagnu: configure-dejagnu
5569 @r=`${PWD_COMMAND}`; export r; \
5570 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5571 $(SET_LIB_PATH) \
5572 $(HOST_EXPORTS) \
5573 (cd dejagnu && $(MAKE) $(FLAGS_TO_PASS) all)
5574 @endif dejagnu
5576 .PHONY: check-dejagnu maybe-check-dejagnu
5577 maybe-check-dejagnu:
5578 @if dejagnu
5579 maybe-check-dejagnu: check-dejagnu
5581 check-dejagnu:
5582 @r=`${PWD_COMMAND}`; export r; \
5583 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5584 $(SET_LIB_PATH) \
5585 $(HOST_EXPORTS) \
5586 (cd dejagnu && $(MAKE) $(FLAGS_TO_PASS) check)
5588 @endif dejagnu
5590 .PHONY: install-dejagnu maybe-install-dejagnu
5591 maybe-install-dejagnu:
5592 @if dejagnu
5593 maybe-install-dejagnu: install-dejagnu
5595 install-dejagnu: installdirs
5596 @r=`${PWD_COMMAND}`; export r; \
5597 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5598 $(SET_LIB_PATH) \
5599 $(HOST_EXPORTS) \
5600 (cd dejagnu && $(MAKE) $(FLAGS_TO_PASS) install)
5602 @endif dejagnu
5604 # Other targets (info, dvi, etc.)
5606 .PHONY: maybe-info-dejagnu info-dejagnu
5607 maybe-info-dejagnu:
5608 @if dejagnu
5609 maybe-info-dejagnu: info-dejagnu
5611 info-dejagnu: \
5612 configure-dejagnu
5613 @[ -f ./dejagnu/Makefile ] || exit 0; \
5614 r=`${PWD_COMMAND}`; export r; \
5615 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5616 $(SET_LIB_PATH) \
5617 $(HOST_EXPORTS) \
5618 for flag in $(EXTRA_HOST_FLAGS); do \
5619 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5620 done; \
5621 echo "Doing info in dejagnu" ; \
5622 (cd dejagnu && \
5623 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5624 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5625 "RANLIB=$${RANLIB}" \
5626 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5627 info) \
5628 || exit 1
5630 @endif dejagnu
5632 .PHONY: maybe-dvi-dejagnu dvi-dejagnu
5633 maybe-dvi-dejagnu:
5634 @if dejagnu
5635 maybe-dvi-dejagnu: dvi-dejagnu
5637 dvi-dejagnu: \
5638 configure-dejagnu
5639 @[ -f ./dejagnu/Makefile ] || exit 0; \
5640 r=`${PWD_COMMAND}`; export r; \
5641 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5642 $(SET_LIB_PATH) \
5643 $(HOST_EXPORTS) \
5644 for flag in $(EXTRA_HOST_FLAGS); do \
5645 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5646 done; \
5647 echo "Doing dvi in dejagnu" ; \
5648 (cd dejagnu && \
5649 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5650 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5651 "RANLIB=$${RANLIB}" \
5652 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5653 dvi) \
5654 || exit 1
5656 @endif dejagnu
5658 .PHONY: maybe-TAGS-dejagnu TAGS-dejagnu
5659 maybe-TAGS-dejagnu:
5660 @if dejagnu
5661 maybe-TAGS-dejagnu: TAGS-dejagnu
5663 TAGS-dejagnu: \
5664 configure-dejagnu
5665 @[ -f ./dejagnu/Makefile ] || exit 0; \
5666 r=`${PWD_COMMAND}`; export r; \
5667 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5668 $(SET_LIB_PATH) \
5669 $(HOST_EXPORTS) \
5670 for flag in $(EXTRA_HOST_FLAGS); do \
5671 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5672 done; \
5673 echo "Doing TAGS in dejagnu" ; \
5674 (cd dejagnu && \
5675 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5676 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5677 "RANLIB=$${RANLIB}" \
5678 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5679 TAGS) \
5680 || exit 1
5682 @endif dejagnu
5684 .PHONY: maybe-install-info-dejagnu install-info-dejagnu
5685 maybe-install-info-dejagnu:
5686 @if dejagnu
5687 maybe-install-info-dejagnu: install-info-dejagnu
5689 install-info-dejagnu: \
5690 configure-dejagnu \
5691 info-dejagnu
5692 @[ -f ./dejagnu/Makefile ] || exit 0; \
5693 r=`${PWD_COMMAND}`; export r; \
5694 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5695 $(SET_LIB_PATH) \
5696 $(HOST_EXPORTS) \
5697 for flag in $(EXTRA_HOST_FLAGS); do \
5698 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5699 done; \
5700 echo "Doing install-info in dejagnu" ; \
5701 (cd dejagnu && \
5702 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5703 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5704 "RANLIB=$${RANLIB}" \
5705 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5706 install-info) \
5707 || exit 1
5709 @endif dejagnu
5711 .PHONY: maybe-installcheck-dejagnu installcheck-dejagnu
5712 maybe-installcheck-dejagnu:
5713 @if dejagnu
5714 maybe-installcheck-dejagnu: installcheck-dejagnu
5716 installcheck-dejagnu: \
5717 configure-dejagnu
5718 @[ -f ./dejagnu/Makefile ] || exit 0; \
5719 r=`${PWD_COMMAND}`; export r; \
5720 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5721 $(SET_LIB_PATH) \
5722 $(HOST_EXPORTS) \
5723 for flag in $(EXTRA_HOST_FLAGS); do \
5724 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5725 done; \
5726 echo "Doing installcheck in dejagnu" ; \
5727 (cd dejagnu && \
5728 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5729 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5730 "RANLIB=$${RANLIB}" \
5731 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5732 installcheck) \
5733 || exit 1
5735 @endif dejagnu
5737 .PHONY: maybe-mostlyclean-dejagnu mostlyclean-dejagnu
5738 maybe-mostlyclean-dejagnu:
5739 @if dejagnu
5740 maybe-mostlyclean-dejagnu: mostlyclean-dejagnu
5742 mostlyclean-dejagnu:
5743 @[ -f ./dejagnu/Makefile ] || exit 0; \
5744 r=`${PWD_COMMAND}`; export r; \
5745 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5746 $(SET_LIB_PATH) \
5747 $(HOST_EXPORTS) \
5748 for flag in $(EXTRA_HOST_FLAGS); do \
5749 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5750 done; \
5751 echo "Doing mostlyclean in dejagnu" ; \
5752 (cd dejagnu && \
5753 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5754 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5755 "RANLIB=$${RANLIB}" \
5756 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5757 mostlyclean) \
5758 || exit 1
5760 @endif dejagnu
5762 .PHONY: maybe-clean-dejagnu clean-dejagnu
5763 maybe-clean-dejagnu:
5764 @if dejagnu
5765 maybe-clean-dejagnu: clean-dejagnu
5767 clean-dejagnu:
5768 @[ -f ./dejagnu/Makefile ] || exit 0; \
5769 r=`${PWD_COMMAND}`; export r; \
5770 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5771 $(SET_LIB_PATH) \
5772 $(HOST_EXPORTS) \
5773 for flag in $(EXTRA_HOST_FLAGS); do \
5774 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5775 done; \
5776 echo "Doing clean in dejagnu" ; \
5777 (cd dejagnu && \
5778 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5779 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5780 "RANLIB=$${RANLIB}" \
5781 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5782 clean) \
5783 || exit 1
5785 @endif dejagnu
5787 .PHONY: maybe-distclean-dejagnu distclean-dejagnu
5788 maybe-distclean-dejagnu:
5789 @if dejagnu
5790 maybe-distclean-dejagnu: distclean-dejagnu
5792 distclean-dejagnu:
5793 @[ -f ./dejagnu/Makefile ] || exit 0; \
5794 r=`${PWD_COMMAND}`; export r; \
5795 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5796 $(SET_LIB_PATH) \
5797 $(HOST_EXPORTS) \
5798 for flag in $(EXTRA_HOST_FLAGS); do \
5799 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5800 done; \
5801 echo "Doing distclean in dejagnu" ; \
5802 (cd dejagnu && \
5803 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5804 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5805 "RANLIB=$${RANLIB}" \
5806 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5807 distclean) \
5808 || exit 1
5810 @endif dejagnu
5812 .PHONY: maybe-maintainer-clean-dejagnu maintainer-clean-dejagnu
5813 maybe-maintainer-clean-dejagnu:
5814 @if dejagnu
5815 maybe-maintainer-clean-dejagnu: maintainer-clean-dejagnu
5817 maintainer-clean-dejagnu:
5818 @[ -f ./dejagnu/Makefile ] || exit 0; \
5819 r=`${PWD_COMMAND}`; export r; \
5820 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5821 $(SET_LIB_PATH) \
5822 $(HOST_EXPORTS) \
5823 for flag in $(EXTRA_HOST_FLAGS); do \
5824 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5825 done; \
5826 echo "Doing maintainer-clean in dejagnu" ; \
5827 (cd dejagnu && \
5828 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5829 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5830 "RANLIB=$${RANLIB}" \
5831 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5832 maintainer-clean) \
5833 || exit 1
5835 @endif dejagnu
5838 .PHONY: configure-diff maybe-configure-diff
5839 maybe-configure-diff:
5840 @if diff
5841 maybe-configure-diff: configure-diff
5842 configure-diff:
5843 @test ! -f diff/Makefile || exit 0; \
5844 [ -d diff ] || mkdir diff; \
5845 r=`${PWD_COMMAND}`; export r; \
5846 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5847 $(HOST_EXPORTS) \
5848 echo Configuring in diff; \
5849 cd diff || exit 1; \
5850 case $(srcdir) in \
5851 \.) \
5852 srcdiroption="--srcdir=."; \
5853 libsrcdir=".";; \
5854 /* | [A-Za-z]:[\\/]*) \
5855 srcdiroption="--srcdir=$(srcdir)/diff"; \
5856 libsrcdir="$$s/diff";; \
5857 *) \
5858 srcdiroption="--srcdir=../$(srcdir)/diff"; \
5859 libsrcdir="$$s/diff";; \
5860 esac; \
5861 $(SHELL) $${libsrcdir}/configure \
5862 $(HOST_CONFIGARGS) $${srcdiroption} \
5863 || exit 1
5864 @endif diff
5866 .PHONY: all-diff maybe-all-diff
5867 maybe-all-diff:
5868 @if diff
5869 maybe-all-diff: all-diff
5870 all-diff: configure-diff
5871 @r=`${PWD_COMMAND}`; export r; \
5872 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5873 $(SET_LIB_PATH) \
5874 $(HOST_EXPORTS) \
5875 (cd diff && $(MAKE) $(FLAGS_TO_PASS) all)
5876 @endif diff
5878 .PHONY: check-diff maybe-check-diff
5879 maybe-check-diff:
5880 @if diff
5881 maybe-check-diff: check-diff
5883 check-diff:
5884 @r=`${PWD_COMMAND}`; export r; \
5885 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5886 $(SET_LIB_PATH) \
5887 $(HOST_EXPORTS) \
5888 (cd diff && $(MAKE) $(FLAGS_TO_PASS) check)
5890 @endif diff
5892 .PHONY: install-diff maybe-install-diff
5893 maybe-install-diff:
5894 @if diff
5895 maybe-install-diff: install-diff
5897 install-diff: installdirs
5898 @r=`${PWD_COMMAND}`; export r; \
5899 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5900 $(SET_LIB_PATH) \
5901 $(HOST_EXPORTS) \
5902 (cd diff && $(MAKE) $(FLAGS_TO_PASS) install)
5904 @endif diff
5906 # Other targets (info, dvi, etc.)
5908 .PHONY: maybe-info-diff info-diff
5909 maybe-info-diff:
5910 @if diff
5911 maybe-info-diff: info-diff
5913 info-diff: \
5914 configure-diff
5915 @[ -f ./diff/Makefile ] || exit 0; \
5916 r=`${PWD_COMMAND}`; export r; \
5917 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5918 $(SET_LIB_PATH) \
5919 $(HOST_EXPORTS) \
5920 for flag in $(EXTRA_HOST_FLAGS); do \
5921 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5922 done; \
5923 echo "Doing info in diff" ; \
5924 (cd diff && \
5925 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5926 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5927 "RANLIB=$${RANLIB}" \
5928 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5929 info) \
5930 || exit 1
5932 @endif diff
5934 .PHONY: maybe-dvi-diff dvi-diff
5935 maybe-dvi-diff:
5936 @if diff
5937 maybe-dvi-diff: dvi-diff
5939 dvi-diff: \
5940 configure-diff
5941 @[ -f ./diff/Makefile ] || exit 0; \
5942 r=`${PWD_COMMAND}`; export r; \
5943 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5944 $(SET_LIB_PATH) \
5945 $(HOST_EXPORTS) \
5946 for flag in $(EXTRA_HOST_FLAGS); do \
5947 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5948 done; \
5949 echo "Doing dvi in diff" ; \
5950 (cd diff && \
5951 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5952 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5953 "RANLIB=$${RANLIB}" \
5954 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5955 dvi) \
5956 || exit 1
5958 @endif diff
5960 .PHONY: maybe-TAGS-diff TAGS-diff
5961 maybe-TAGS-diff:
5962 @if diff
5963 maybe-TAGS-diff: TAGS-diff
5965 TAGS-diff: \
5966 configure-diff
5967 @[ -f ./diff/Makefile ] || exit 0; \
5968 r=`${PWD_COMMAND}`; export r; \
5969 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5970 $(SET_LIB_PATH) \
5971 $(HOST_EXPORTS) \
5972 for flag in $(EXTRA_HOST_FLAGS); do \
5973 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5974 done; \
5975 echo "Doing TAGS in diff" ; \
5976 (cd diff && \
5977 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5978 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5979 "RANLIB=$${RANLIB}" \
5980 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5981 TAGS) \
5982 || exit 1
5984 @endif diff
5986 .PHONY: maybe-install-info-diff install-info-diff
5987 maybe-install-info-diff:
5988 @if diff
5989 maybe-install-info-diff: install-info-diff
5991 install-info-diff: \
5992 configure-diff \
5993 info-diff
5994 @[ -f ./diff/Makefile ] || exit 0; \
5995 r=`${PWD_COMMAND}`; export r; \
5996 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5997 $(SET_LIB_PATH) \
5998 $(HOST_EXPORTS) \
5999 for flag in $(EXTRA_HOST_FLAGS); do \
6000 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6001 done; \
6002 echo "Doing install-info in diff" ; \
6003 (cd diff && \
6004 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6005 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6006 "RANLIB=$${RANLIB}" \
6007 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6008 install-info) \
6009 || exit 1
6011 @endif diff
6013 .PHONY: maybe-installcheck-diff installcheck-diff
6014 maybe-installcheck-diff:
6015 @if diff
6016 maybe-installcheck-diff: installcheck-diff
6018 installcheck-diff: \
6019 configure-diff
6020 @[ -f ./diff/Makefile ] || exit 0; \
6021 r=`${PWD_COMMAND}`; export r; \
6022 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6023 $(SET_LIB_PATH) \
6024 $(HOST_EXPORTS) \
6025 for flag in $(EXTRA_HOST_FLAGS); do \
6026 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6027 done; \
6028 echo "Doing installcheck in diff" ; \
6029 (cd diff && \
6030 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6031 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6032 "RANLIB=$${RANLIB}" \
6033 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6034 installcheck) \
6035 || exit 1
6037 @endif diff
6039 .PHONY: maybe-mostlyclean-diff mostlyclean-diff
6040 maybe-mostlyclean-diff:
6041 @if diff
6042 maybe-mostlyclean-diff: mostlyclean-diff
6044 mostlyclean-diff:
6045 @[ -f ./diff/Makefile ] || exit 0; \
6046 r=`${PWD_COMMAND}`; export r; \
6047 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6048 $(SET_LIB_PATH) \
6049 $(HOST_EXPORTS) \
6050 for flag in $(EXTRA_HOST_FLAGS); do \
6051 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6052 done; \
6053 echo "Doing mostlyclean in diff" ; \
6054 (cd diff && \
6055 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6056 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6057 "RANLIB=$${RANLIB}" \
6058 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6059 mostlyclean) \
6060 || exit 1
6062 @endif diff
6064 .PHONY: maybe-clean-diff clean-diff
6065 maybe-clean-diff:
6066 @if diff
6067 maybe-clean-diff: clean-diff
6069 clean-diff:
6070 @[ -f ./diff/Makefile ] || exit 0; \
6071 r=`${PWD_COMMAND}`; export r; \
6072 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6073 $(SET_LIB_PATH) \
6074 $(HOST_EXPORTS) \
6075 for flag in $(EXTRA_HOST_FLAGS); do \
6076 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6077 done; \
6078 echo "Doing clean in diff" ; \
6079 (cd diff && \
6080 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6081 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6082 "RANLIB=$${RANLIB}" \
6083 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6084 clean) \
6085 || exit 1
6087 @endif diff
6089 .PHONY: maybe-distclean-diff distclean-diff
6090 maybe-distclean-diff:
6091 @if diff
6092 maybe-distclean-diff: distclean-diff
6094 distclean-diff:
6095 @[ -f ./diff/Makefile ] || exit 0; \
6096 r=`${PWD_COMMAND}`; export r; \
6097 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6098 $(SET_LIB_PATH) \
6099 $(HOST_EXPORTS) \
6100 for flag in $(EXTRA_HOST_FLAGS); do \
6101 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6102 done; \
6103 echo "Doing distclean in diff" ; \
6104 (cd diff && \
6105 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6106 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6107 "RANLIB=$${RANLIB}" \
6108 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6109 distclean) \
6110 || exit 1
6112 @endif diff
6114 .PHONY: maybe-maintainer-clean-diff maintainer-clean-diff
6115 maybe-maintainer-clean-diff:
6116 @if diff
6117 maybe-maintainer-clean-diff: maintainer-clean-diff
6119 maintainer-clean-diff:
6120 @[ -f ./diff/Makefile ] || exit 0; \
6121 r=`${PWD_COMMAND}`; export r; \
6122 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6123 $(SET_LIB_PATH) \
6124 $(HOST_EXPORTS) \
6125 for flag in $(EXTRA_HOST_FLAGS); do \
6126 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6127 done; \
6128 echo "Doing maintainer-clean in diff" ; \
6129 (cd diff && \
6130 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6131 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6132 "RANLIB=$${RANLIB}" \
6133 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6134 maintainer-clean) \
6135 || exit 1
6137 @endif diff
6140 .PHONY: configure-dosutils maybe-configure-dosutils
6141 maybe-configure-dosutils:
6142 @if dosutils
6143 maybe-configure-dosutils: configure-dosutils
6144 configure-dosutils:
6145 @test ! -f dosutils/Makefile || exit 0; \
6146 [ -d dosutils ] || mkdir dosutils; \
6147 r=`${PWD_COMMAND}`; export r; \
6148 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6149 $(HOST_EXPORTS) \
6150 echo Configuring in dosutils; \
6151 cd dosutils || exit 1; \
6152 case $(srcdir) in \
6153 \.) \
6154 srcdiroption="--srcdir=."; \
6155 libsrcdir=".";; \
6156 /* | [A-Za-z]:[\\/]*) \
6157 srcdiroption="--srcdir=$(srcdir)/dosutils"; \
6158 libsrcdir="$$s/dosutils";; \
6159 *) \
6160 srcdiroption="--srcdir=../$(srcdir)/dosutils"; \
6161 libsrcdir="$$s/dosutils";; \
6162 esac; \
6163 $(SHELL) $${libsrcdir}/configure \
6164 $(HOST_CONFIGARGS) $${srcdiroption} \
6165 || exit 1
6166 @endif dosutils
6168 .PHONY: all-dosutils maybe-all-dosutils
6169 maybe-all-dosutils:
6170 @if dosutils
6171 maybe-all-dosutils: all-dosutils
6172 all-dosutils: configure-dosutils
6173 @r=`${PWD_COMMAND}`; export r; \
6174 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6175 $(SET_LIB_PATH) \
6176 $(HOST_EXPORTS) \
6177 (cd dosutils && $(MAKE) $(FLAGS_TO_PASS) all)
6178 @endif dosutils
6180 .PHONY: check-dosutils maybe-check-dosutils
6181 maybe-check-dosutils:
6182 @if dosutils
6183 maybe-check-dosutils: check-dosutils
6185 check-dosutils:
6187 @endif dosutils
6189 .PHONY: install-dosutils maybe-install-dosutils
6190 maybe-install-dosutils:
6191 @if dosutils
6192 maybe-install-dosutils: install-dosutils
6194 install-dosutils: installdirs
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) install)
6201 @endif dosutils
6203 # Other targets (info, dvi, etc.)
6205 .PHONY: maybe-info-dosutils info-dosutils
6206 maybe-info-dosutils:
6207 @if dosutils
6208 maybe-info-dosutils: info-dosutils
6210 info-dosutils: \
6211 configure-dosutils
6212 @[ -f ./dosutils/Makefile ] || exit 0; \
6213 r=`${PWD_COMMAND}`; export r; \
6214 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6215 $(SET_LIB_PATH) \
6216 $(HOST_EXPORTS) \
6217 for flag in $(EXTRA_HOST_FLAGS); do \
6218 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6219 done; \
6220 echo "Doing info in dosutils" ; \
6221 (cd dosutils && \
6222 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6223 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6224 "RANLIB=$${RANLIB}" \
6225 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6226 info) \
6227 || exit 1
6229 @endif dosutils
6231 .PHONY: maybe-dvi-dosutils dvi-dosutils
6232 maybe-dvi-dosutils:
6233 @if dosutils
6234 maybe-dvi-dosutils: dvi-dosutils
6236 dvi-dosutils: \
6237 configure-dosutils
6238 @[ -f ./dosutils/Makefile ] || exit 0; \
6239 r=`${PWD_COMMAND}`; export r; \
6240 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6241 $(SET_LIB_PATH) \
6242 $(HOST_EXPORTS) \
6243 for flag in $(EXTRA_HOST_FLAGS); do \
6244 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6245 done; \
6246 echo "Doing dvi in dosutils" ; \
6247 (cd dosutils && \
6248 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6249 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6250 "RANLIB=$${RANLIB}" \
6251 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6252 dvi) \
6253 || exit 1
6255 @endif dosutils
6257 .PHONY: maybe-TAGS-dosutils TAGS-dosutils
6258 maybe-TAGS-dosutils:
6259 @if dosutils
6260 maybe-TAGS-dosutils: TAGS-dosutils
6262 TAGS-dosutils: \
6263 configure-dosutils
6264 @[ -f ./dosutils/Makefile ] || exit 0; \
6265 r=`${PWD_COMMAND}`; export r; \
6266 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6267 $(SET_LIB_PATH) \
6268 $(HOST_EXPORTS) \
6269 for flag in $(EXTRA_HOST_FLAGS); do \
6270 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6271 done; \
6272 echo "Doing TAGS in dosutils" ; \
6273 (cd dosutils && \
6274 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6275 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6276 "RANLIB=$${RANLIB}" \
6277 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6278 TAGS) \
6279 || exit 1
6281 @endif dosutils
6283 .PHONY: maybe-install-info-dosutils install-info-dosutils
6284 maybe-install-info-dosutils:
6285 @if dosutils
6286 maybe-install-info-dosutils: install-info-dosutils
6288 install-info-dosutils: \
6289 configure-dosutils \
6290 info-dosutils
6291 @[ -f ./dosutils/Makefile ] || exit 0; \
6292 r=`${PWD_COMMAND}`; export r; \
6293 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6294 $(SET_LIB_PATH) \
6295 $(HOST_EXPORTS) \
6296 for flag in $(EXTRA_HOST_FLAGS); do \
6297 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6298 done; \
6299 echo "Doing install-info in dosutils" ; \
6300 (cd dosutils && \
6301 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6302 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6303 "RANLIB=$${RANLIB}" \
6304 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6305 install-info) \
6306 || exit 1
6308 @endif dosutils
6310 .PHONY: maybe-installcheck-dosutils installcheck-dosutils
6311 maybe-installcheck-dosutils:
6312 @if dosutils
6313 maybe-installcheck-dosutils: installcheck-dosutils
6315 installcheck-dosutils: \
6316 configure-dosutils
6317 @[ -f ./dosutils/Makefile ] || exit 0; \
6318 r=`${PWD_COMMAND}`; export r; \
6319 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6320 $(SET_LIB_PATH) \
6321 $(HOST_EXPORTS) \
6322 for flag in $(EXTRA_HOST_FLAGS); do \
6323 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6324 done; \
6325 echo "Doing installcheck in dosutils" ; \
6326 (cd dosutils && \
6327 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6328 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6329 "RANLIB=$${RANLIB}" \
6330 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6331 installcheck) \
6332 || exit 1
6334 @endif dosutils
6336 .PHONY: maybe-mostlyclean-dosutils mostlyclean-dosutils
6337 maybe-mostlyclean-dosutils:
6338 @if dosutils
6339 maybe-mostlyclean-dosutils: mostlyclean-dosutils
6341 mostlyclean-dosutils:
6342 @[ -f ./dosutils/Makefile ] || exit 0; \
6343 r=`${PWD_COMMAND}`; export r; \
6344 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6345 $(SET_LIB_PATH) \
6346 $(HOST_EXPORTS) \
6347 for flag in $(EXTRA_HOST_FLAGS); do \
6348 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6349 done; \
6350 echo "Doing mostlyclean in dosutils" ; \
6351 (cd dosutils && \
6352 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6353 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6354 "RANLIB=$${RANLIB}" \
6355 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6356 mostlyclean) \
6357 || exit 1
6359 @endif dosutils
6361 .PHONY: maybe-clean-dosutils clean-dosutils
6362 maybe-clean-dosutils:
6363 @if dosutils
6364 maybe-clean-dosutils: clean-dosutils
6366 clean-dosutils:
6367 @[ -f ./dosutils/Makefile ] || exit 0; \
6368 r=`${PWD_COMMAND}`; export r; \
6369 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6370 $(SET_LIB_PATH) \
6371 $(HOST_EXPORTS) \
6372 for flag in $(EXTRA_HOST_FLAGS); do \
6373 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6374 done; \
6375 echo "Doing clean in dosutils" ; \
6376 (cd dosutils && \
6377 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6378 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6379 "RANLIB=$${RANLIB}" \
6380 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6381 clean) \
6382 || exit 1
6384 @endif dosutils
6386 .PHONY: maybe-distclean-dosutils distclean-dosutils
6387 maybe-distclean-dosutils:
6388 @if dosutils
6389 maybe-distclean-dosutils: distclean-dosutils
6391 distclean-dosutils:
6392 @[ -f ./dosutils/Makefile ] || exit 0; \
6393 r=`${PWD_COMMAND}`; export r; \
6394 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6395 $(SET_LIB_PATH) \
6396 $(HOST_EXPORTS) \
6397 for flag in $(EXTRA_HOST_FLAGS); do \
6398 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6399 done; \
6400 echo "Doing distclean in dosutils" ; \
6401 (cd dosutils && \
6402 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6403 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6404 "RANLIB=$${RANLIB}" \
6405 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6406 distclean) \
6407 || exit 1
6409 @endif dosutils
6411 .PHONY: maybe-maintainer-clean-dosutils maintainer-clean-dosutils
6412 maybe-maintainer-clean-dosutils:
6413 @if dosutils
6414 maybe-maintainer-clean-dosutils: maintainer-clean-dosutils
6416 maintainer-clean-dosutils:
6417 @[ -f ./dosutils/Makefile ] || exit 0; \
6418 r=`${PWD_COMMAND}`; export r; \
6419 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6420 $(SET_LIB_PATH) \
6421 $(HOST_EXPORTS) \
6422 for flag in $(EXTRA_HOST_FLAGS); do \
6423 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6424 done; \
6425 echo "Doing maintainer-clean in dosutils" ; \
6426 (cd dosutils && \
6427 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6428 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6429 "RANLIB=$${RANLIB}" \
6430 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6431 maintainer-clean) \
6432 || exit 1
6434 @endif dosutils
6437 .PHONY: configure-etc maybe-configure-etc
6438 maybe-configure-etc:
6439 @if etc
6440 maybe-configure-etc: configure-etc
6441 configure-etc:
6442 @test ! -f etc/Makefile || exit 0; \
6443 [ -d etc ] || mkdir etc; \
6444 r=`${PWD_COMMAND}`; export r; \
6445 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6446 $(HOST_EXPORTS) \
6447 echo Configuring in etc; \
6448 cd etc || exit 1; \
6449 case $(srcdir) in \
6450 \.) \
6451 srcdiroption="--srcdir=."; \
6452 libsrcdir=".";; \
6453 /* | [A-Za-z]:[\\/]*) \
6454 srcdiroption="--srcdir=$(srcdir)/etc"; \
6455 libsrcdir="$$s/etc";; \
6456 *) \
6457 srcdiroption="--srcdir=../$(srcdir)/etc"; \
6458 libsrcdir="$$s/etc";; \
6459 esac; \
6460 $(SHELL) $${libsrcdir}/configure \
6461 $(HOST_CONFIGARGS) $${srcdiroption} \
6462 || exit 1
6463 @endif etc
6465 .PHONY: all-etc maybe-all-etc
6466 maybe-all-etc:
6467 @if etc
6468 maybe-all-etc: all-etc
6469 all-etc: configure-etc
6470 @r=`${PWD_COMMAND}`; export r; \
6471 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6472 $(SET_LIB_PATH) \
6473 $(HOST_EXPORTS) \
6474 (cd etc && $(MAKE) $(FLAGS_TO_PASS) all)
6475 @endif etc
6477 .PHONY: check-etc maybe-check-etc
6478 maybe-check-etc:
6479 @if etc
6480 maybe-check-etc: check-etc
6482 check-etc:
6483 @r=`${PWD_COMMAND}`; export r; \
6484 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6485 $(SET_LIB_PATH) \
6486 $(HOST_EXPORTS) \
6487 (cd etc && $(MAKE) $(FLAGS_TO_PASS) check)
6489 @endif etc
6491 .PHONY: install-etc maybe-install-etc
6492 maybe-install-etc:
6493 @if etc
6494 maybe-install-etc: install-etc
6496 install-etc: installdirs
6497 @r=`${PWD_COMMAND}`; export r; \
6498 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6499 $(SET_LIB_PATH) \
6500 $(HOST_EXPORTS) \
6501 (cd etc && $(MAKE) $(FLAGS_TO_PASS) install)
6503 @endif etc
6505 # Other targets (info, dvi, etc.)
6507 .PHONY: maybe-info-etc info-etc
6508 maybe-info-etc:
6509 @if etc
6510 maybe-info-etc: info-etc
6512 info-etc: \
6513 configure-etc
6514 @[ -f ./etc/Makefile ] || exit 0; \
6515 r=`${PWD_COMMAND}`; export r; \
6516 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6517 $(SET_LIB_PATH) \
6518 $(HOST_EXPORTS) \
6519 for flag in $(EXTRA_HOST_FLAGS); do \
6520 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6521 done; \
6522 echo "Doing info in etc" ; \
6523 (cd etc && \
6524 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6525 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6526 "RANLIB=$${RANLIB}" \
6527 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6528 info) \
6529 || exit 1
6531 @endif etc
6533 .PHONY: maybe-dvi-etc dvi-etc
6534 maybe-dvi-etc:
6535 @if etc
6536 maybe-dvi-etc: dvi-etc
6538 dvi-etc: \
6539 configure-etc
6540 @[ -f ./etc/Makefile ] || exit 0; \
6541 r=`${PWD_COMMAND}`; export r; \
6542 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6543 $(SET_LIB_PATH) \
6544 $(HOST_EXPORTS) \
6545 for flag in $(EXTRA_HOST_FLAGS); do \
6546 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6547 done; \
6548 echo "Doing dvi in etc" ; \
6549 (cd etc && \
6550 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6551 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6552 "RANLIB=$${RANLIB}" \
6553 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6554 dvi) \
6555 || exit 1
6557 @endif etc
6559 .PHONY: maybe-TAGS-etc TAGS-etc
6560 maybe-TAGS-etc:
6561 @if etc
6562 maybe-TAGS-etc: TAGS-etc
6564 TAGS-etc: \
6565 configure-etc
6566 @[ -f ./etc/Makefile ] || exit 0; \
6567 r=`${PWD_COMMAND}`; export r; \
6568 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6569 $(SET_LIB_PATH) \
6570 $(HOST_EXPORTS) \
6571 for flag in $(EXTRA_HOST_FLAGS); do \
6572 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6573 done; \
6574 echo "Doing TAGS in etc" ; \
6575 (cd etc && \
6576 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6577 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6578 "RANLIB=$${RANLIB}" \
6579 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6580 TAGS) \
6581 || exit 1
6583 @endif etc
6585 .PHONY: maybe-install-info-etc install-info-etc
6586 maybe-install-info-etc:
6587 @if etc
6588 maybe-install-info-etc: install-info-etc
6590 install-info-etc: \
6591 configure-etc \
6592 info-etc
6593 @[ -f ./etc/Makefile ] || exit 0; \
6594 r=`${PWD_COMMAND}`; export r; \
6595 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6596 $(SET_LIB_PATH) \
6597 $(HOST_EXPORTS) \
6598 for flag in $(EXTRA_HOST_FLAGS); do \
6599 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6600 done; \
6601 echo "Doing install-info in etc" ; \
6602 (cd etc && \
6603 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6604 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6605 "RANLIB=$${RANLIB}" \
6606 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6607 install-info) \
6608 || exit 1
6610 @endif etc
6612 .PHONY: maybe-installcheck-etc installcheck-etc
6613 maybe-installcheck-etc:
6614 @if etc
6615 maybe-installcheck-etc: installcheck-etc
6617 installcheck-etc: \
6618 configure-etc
6619 @[ -f ./etc/Makefile ] || exit 0; \
6620 r=`${PWD_COMMAND}`; export r; \
6621 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6622 $(SET_LIB_PATH) \
6623 $(HOST_EXPORTS) \
6624 for flag in $(EXTRA_HOST_FLAGS); do \
6625 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6626 done; \
6627 echo "Doing installcheck in etc" ; \
6628 (cd etc && \
6629 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6630 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6631 "RANLIB=$${RANLIB}" \
6632 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6633 installcheck) \
6634 || exit 1
6636 @endif etc
6638 .PHONY: maybe-mostlyclean-etc mostlyclean-etc
6639 maybe-mostlyclean-etc:
6640 @if etc
6641 maybe-mostlyclean-etc: mostlyclean-etc
6643 mostlyclean-etc:
6644 @[ -f ./etc/Makefile ] || exit 0; \
6645 r=`${PWD_COMMAND}`; export r; \
6646 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6647 $(SET_LIB_PATH) \
6648 $(HOST_EXPORTS) \
6649 for flag in $(EXTRA_HOST_FLAGS); do \
6650 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6651 done; \
6652 echo "Doing mostlyclean in etc" ; \
6653 (cd etc && \
6654 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6655 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6656 "RANLIB=$${RANLIB}" \
6657 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6658 mostlyclean) \
6659 || exit 1
6661 @endif etc
6663 .PHONY: maybe-clean-etc clean-etc
6664 maybe-clean-etc:
6665 @if etc
6666 maybe-clean-etc: clean-etc
6668 clean-etc:
6669 @[ -f ./etc/Makefile ] || exit 0; \
6670 r=`${PWD_COMMAND}`; export r; \
6671 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6672 $(SET_LIB_PATH) \
6673 $(HOST_EXPORTS) \
6674 for flag in $(EXTRA_HOST_FLAGS); do \
6675 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6676 done; \
6677 echo "Doing clean in etc" ; \
6678 (cd etc && \
6679 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6680 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6681 "RANLIB=$${RANLIB}" \
6682 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6683 clean) \
6684 || exit 1
6686 @endif etc
6688 .PHONY: maybe-distclean-etc distclean-etc
6689 maybe-distclean-etc:
6690 @if etc
6691 maybe-distclean-etc: distclean-etc
6693 distclean-etc:
6694 @[ -f ./etc/Makefile ] || exit 0; \
6695 r=`${PWD_COMMAND}`; export r; \
6696 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6697 $(SET_LIB_PATH) \
6698 $(HOST_EXPORTS) \
6699 for flag in $(EXTRA_HOST_FLAGS); do \
6700 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6701 done; \
6702 echo "Doing distclean in etc" ; \
6703 (cd etc && \
6704 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6705 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6706 "RANLIB=$${RANLIB}" \
6707 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6708 distclean) \
6709 || exit 1
6711 @endif etc
6713 .PHONY: maybe-maintainer-clean-etc maintainer-clean-etc
6714 maybe-maintainer-clean-etc:
6715 @if etc
6716 maybe-maintainer-clean-etc: maintainer-clean-etc
6718 maintainer-clean-etc:
6719 @[ -f ./etc/Makefile ] || exit 0; \
6720 r=`${PWD_COMMAND}`; export r; \
6721 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6722 $(SET_LIB_PATH) \
6723 $(HOST_EXPORTS) \
6724 for flag in $(EXTRA_HOST_FLAGS); do \
6725 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6726 done; \
6727 echo "Doing maintainer-clean in etc" ; \
6728 (cd etc && \
6729 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6730 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6731 "RANLIB=$${RANLIB}" \
6732 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6733 maintainer-clean) \
6734 || exit 1
6736 @endif etc
6739 .PHONY: configure-fastjar maybe-configure-fastjar
6740 maybe-configure-fastjar:
6741 @if fastjar
6742 maybe-configure-fastjar: configure-fastjar
6743 configure-fastjar:
6744 @test ! -f fastjar/Makefile || exit 0; \
6745 [ -d fastjar ] || mkdir fastjar; \
6746 r=`${PWD_COMMAND}`; export r; \
6747 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6748 $(HOST_EXPORTS) \
6749 echo Configuring in fastjar; \
6750 cd fastjar || exit 1; \
6751 case $(srcdir) in \
6752 \.) \
6753 srcdiroption="--srcdir=."; \
6754 libsrcdir=".";; \
6755 /* | [A-Za-z]:[\\/]*) \
6756 srcdiroption="--srcdir=$(srcdir)/fastjar"; \
6757 libsrcdir="$$s/fastjar";; \
6758 *) \
6759 srcdiroption="--srcdir=../$(srcdir)/fastjar"; \
6760 libsrcdir="$$s/fastjar";; \
6761 esac; \
6762 $(SHELL) $${libsrcdir}/configure \
6763 $(HOST_CONFIGARGS) $${srcdiroption} \
6764 || exit 1
6765 @endif fastjar
6767 .PHONY: all-fastjar maybe-all-fastjar
6768 maybe-all-fastjar:
6769 @if fastjar
6770 maybe-all-fastjar: all-fastjar
6771 all-fastjar: configure-fastjar
6772 @r=`${PWD_COMMAND}`; export r; \
6773 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6774 $(SET_LIB_PATH) \
6775 $(HOST_EXPORTS) \
6776 (cd fastjar && $(MAKE) $(FLAGS_TO_PASS) all)
6777 @endif fastjar
6779 .PHONY: check-fastjar maybe-check-fastjar
6780 maybe-check-fastjar:
6781 @if fastjar
6782 maybe-check-fastjar: check-fastjar
6784 # This module is only tested in a native toolchain.
6785 check-fastjar:
6786 @if [ '$(host)' = '$(target)' ] ; then \
6787 r=`${PWD_COMMAND}`; export r; \
6788 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6789 $(SET_LIB_PATH) \
6790 $(HOST_EXPORTS) \
6791 (cd fastjar && $(MAKE) $(FLAGS_TO_PASS) check); \
6794 @endif fastjar
6796 .PHONY: install-fastjar maybe-install-fastjar
6797 maybe-install-fastjar:
6798 @if fastjar
6799 maybe-install-fastjar: install-fastjar
6801 install-fastjar: installdirs
6802 @r=`${PWD_COMMAND}`; export r; \
6803 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6804 $(SET_LIB_PATH) \
6805 $(HOST_EXPORTS) \
6806 (cd fastjar && $(MAKE) $(FLAGS_TO_PASS) install)
6808 @endif fastjar
6810 # Other targets (info, dvi, etc.)
6812 .PHONY: maybe-info-fastjar info-fastjar
6813 maybe-info-fastjar:
6814 @if fastjar
6815 maybe-info-fastjar: info-fastjar
6817 info-fastjar: \
6818 configure-fastjar
6819 @[ -f ./fastjar/Makefile ] || exit 0; \
6820 r=`${PWD_COMMAND}`; export r; \
6821 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6822 $(SET_LIB_PATH) \
6823 $(HOST_EXPORTS) \
6824 for flag in $(EXTRA_HOST_FLAGS); do \
6825 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6826 done; \
6827 echo "Doing info in fastjar" ; \
6828 (cd fastjar && \
6829 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6830 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6831 "RANLIB=$${RANLIB}" \
6832 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6833 info) \
6834 || exit 1
6836 @endif fastjar
6838 .PHONY: maybe-dvi-fastjar dvi-fastjar
6839 maybe-dvi-fastjar:
6840 @if fastjar
6841 maybe-dvi-fastjar: dvi-fastjar
6843 dvi-fastjar: \
6844 configure-fastjar
6845 @[ -f ./fastjar/Makefile ] || exit 0; \
6846 r=`${PWD_COMMAND}`; export r; \
6847 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6848 $(SET_LIB_PATH) \
6849 $(HOST_EXPORTS) \
6850 for flag in $(EXTRA_HOST_FLAGS); do \
6851 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6852 done; \
6853 echo "Doing dvi in fastjar" ; \
6854 (cd fastjar && \
6855 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6856 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6857 "RANLIB=$${RANLIB}" \
6858 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6859 dvi) \
6860 || exit 1
6862 @endif fastjar
6864 .PHONY: maybe-TAGS-fastjar TAGS-fastjar
6865 maybe-TAGS-fastjar:
6866 @if fastjar
6867 maybe-TAGS-fastjar: TAGS-fastjar
6869 TAGS-fastjar: \
6870 configure-fastjar
6871 @[ -f ./fastjar/Makefile ] || exit 0; \
6872 r=`${PWD_COMMAND}`; export r; \
6873 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6874 $(SET_LIB_PATH) \
6875 $(HOST_EXPORTS) \
6876 for flag in $(EXTRA_HOST_FLAGS); do \
6877 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6878 done; \
6879 echo "Doing TAGS in fastjar" ; \
6880 (cd fastjar && \
6881 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6882 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6883 "RANLIB=$${RANLIB}" \
6884 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6885 TAGS) \
6886 || exit 1
6888 @endif fastjar
6890 .PHONY: maybe-install-info-fastjar install-info-fastjar
6891 maybe-install-info-fastjar:
6892 @if fastjar
6893 maybe-install-info-fastjar: install-info-fastjar
6895 install-info-fastjar: \
6896 configure-fastjar \
6897 info-fastjar
6898 @[ -f ./fastjar/Makefile ] || exit 0; \
6899 r=`${PWD_COMMAND}`; export r; \
6900 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6901 $(SET_LIB_PATH) \
6902 $(HOST_EXPORTS) \
6903 for flag in $(EXTRA_HOST_FLAGS); do \
6904 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6905 done; \
6906 echo "Doing install-info in fastjar" ; \
6907 (cd fastjar && \
6908 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6909 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6910 "RANLIB=$${RANLIB}" \
6911 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6912 install-info) \
6913 || exit 1
6915 @endif fastjar
6917 .PHONY: maybe-installcheck-fastjar installcheck-fastjar
6918 maybe-installcheck-fastjar:
6919 @if fastjar
6920 maybe-installcheck-fastjar: installcheck-fastjar
6922 installcheck-fastjar: \
6923 configure-fastjar
6924 @[ -f ./fastjar/Makefile ] || exit 0; \
6925 r=`${PWD_COMMAND}`; export r; \
6926 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6927 $(SET_LIB_PATH) \
6928 $(HOST_EXPORTS) \
6929 for flag in $(EXTRA_HOST_FLAGS); do \
6930 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6931 done; \
6932 echo "Doing installcheck in fastjar" ; \
6933 (cd fastjar && \
6934 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6935 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6936 "RANLIB=$${RANLIB}" \
6937 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6938 installcheck) \
6939 || exit 1
6941 @endif fastjar
6943 .PHONY: maybe-mostlyclean-fastjar mostlyclean-fastjar
6944 maybe-mostlyclean-fastjar:
6945 @if fastjar
6946 maybe-mostlyclean-fastjar: mostlyclean-fastjar
6948 mostlyclean-fastjar:
6949 @[ -f ./fastjar/Makefile ] || exit 0; \
6950 r=`${PWD_COMMAND}`; export r; \
6951 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6952 $(SET_LIB_PATH) \
6953 $(HOST_EXPORTS) \
6954 for flag in $(EXTRA_HOST_FLAGS); do \
6955 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6956 done; \
6957 echo "Doing mostlyclean in fastjar" ; \
6958 (cd fastjar && \
6959 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6960 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6961 "RANLIB=$${RANLIB}" \
6962 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6963 mostlyclean) \
6964 || exit 1
6966 @endif fastjar
6968 .PHONY: maybe-clean-fastjar clean-fastjar
6969 maybe-clean-fastjar:
6970 @if fastjar
6971 maybe-clean-fastjar: clean-fastjar
6973 clean-fastjar:
6974 @[ -f ./fastjar/Makefile ] || exit 0; \
6975 r=`${PWD_COMMAND}`; export r; \
6976 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6977 $(SET_LIB_PATH) \
6978 $(HOST_EXPORTS) \
6979 for flag in $(EXTRA_HOST_FLAGS); do \
6980 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6981 done; \
6982 echo "Doing clean in fastjar" ; \
6983 (cd fastjar && \
6984 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6985 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6986 "RANLIB=$${RANLIB}" \
6987 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6988 clean) \
6989 || exit 1
6991 @endif fastjar
6993 .PHONY: maybe-distclean-fastjar distclean-fastjar
6994 maybe-distclean-fastjar:
6995 @if fastjar
6996 maybe-distclean-fastjar: distclean-fastjar
6998 distclean-fastjar:
6999 @[ -f ./fastjar/Makefile ] || exit 0; \
7000 r=`${PWD_COMMAND}`; export r; \
7001 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7002 $(SET_LIB_PATH) \
7003 $(HOST_EXPORTS) \
7004 for flag in $(EXTRA_HOST_FLAGS); do \
7005 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7006 done; \
7007 echo "Doing distclean in fastjar" ; \
7008 (cd fastjar && \
7009 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7010 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7011 "RANLIB=$${RANLIB}" \
7012 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7013 distclean) \
7014 || exit 1
7016 @endif fastjar
7018 .PHONY: maybe-maintainer-clean-fastjar maintainer-clean-fastjar
7019 maybe-maintainer-clean-fastjar:
7020 @if fastjar
7021 maybe-maintainer-clean-fastjar: maintainer-clean-fastjar
7023 maintainer-clean-fastjar:
7024 @[ -f ./fastjar/Makefile ] || exit 0; \
7025 r=`${PWD_COMMAND}`; export r; \
7026 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7027 $(SET_LIB_PATH) \
7028 $(HOST_EXPORTS) \
7029 for flag in $(EXTRA_HOST_FLAGS); do \
7030 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7031 done; \
7032 echo "Doing maintainer-clean in fastjar" ; \
7033 (cd fastjar && \
7034 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7035 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7036 "RANLIB=$${RANLIB}" \
7037 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7038 maintainer-clean) \
7039 || exit 1
7041 @endif fastjar
7044 .PHONY: configure-fileutils maybe-configure-fileutils
7045 maybe-configure-fileutils:
7046 @if fileutils
7047 maybe-configure-fileutils: configure-fileutils
7048 configure-fileutils:
7049 @test ! -f fileutils/Makefile || exit 0; \
7050 [ -d fileutils ] || mkdir fileutils; \
7051 r=`${PWD_COMMAND}`; export r; \
7052 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7053 $(HOST_EXPORTS) \
7054 echo Configuring in fileutils; \
7055 cd fileutils || exit 1; \
7056 case $(srcdir) in \
7057 \.) \
7058 srcdiroption="--srcdir=."; \
7059 libsrcdir=".";; \
7060 /* | [A-Za-z]:[\\/]*) \
7061 srcdiroption="--srcdir=$(srcdir)/fileutils"; \
7062 libsrcdir="$$s/fileutils";; \
7063 *) \
7064 srcdiroption="--srcdir=../$(srcdir)/fileutils"; \
7065 libsrcdir="$$s/fileutils";; \
7066 esac; \
7067 $(SHELL) $${libsrcdir}/configure \
7068 $(HOST_CONFIGARGS) $${srcdiroption} \
7069 || exit 1
7070 @endif fileutils
7072 .PHONY: all-fileutils maybe-all-fileutils
7073 maybe-all-fileutils:
7074 @if fileutils
7075 maybe-all-fileutils: all-fileutils
7076 all-fileutils: configure-fileutils
7077 @r=`${PWD_COMMAND}`; export r; \
7078 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7079 $(SET_LIB_PATH) \
7080 $(HOST_EXPORTS) \
7081 (cd fileutils && $(MAKE) $(FLAGS_TO_PASS) all)
7082 @endif fileutils
7084 .PHONY: check-fileutils maybe-check-fileutils
7085 maybe-check-fileutils:
7086 @if fileutils
7087 maybe-check-fileutils: check-fileutils
7089 check-fileutils:
7090 @r=`${PWD_COMMAND}`; export r; \
7091 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7092 $(SET_LIB_PATH) \
7093 $(HOST_EXPORTS) \
7094 (cd fileutils && $(MAKE) $(FLAGS_TO_PASS) check)
7096 @endif fileutils
7098 .PHONY: install-fileutils maybe-install-fileutils
7099 maybe-install-fileutils:
7100 @if fileutils
7101 maybe-install-fileutils: install-fileutils
7103 install-fileutils: installdirs
7104 @r=`${PWD_COMMAND}`; export r; \
7105 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7106 $(SET_LIB_PATH) \
7107 $(HOST_EXPORTS) \
7108 (cd fileutils && $(MAKE) $(FLAGS_TO_PASS) install)
7110 @endif fileutils
7112 # Other targets (info, dvi, etc.)
7114 .PHONY: maybe-info-fileutils info-fileutils
7115 maybe-info-fileutils:
7116 @if fileutils
7117 maybe-info-fileutils: info-fileutils
7119 info-fileutils: \
7120 configure-fileutils
7121 @[ -f ./fileutils/Makefile ] || exit 0; \
7122 r=`${PWD_COMMAND}`; export r; \
7123 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7124 $(SET_LIB_PATH) \
7125 $(HOST_EXPORTS) \
7126 for flag in $(EXTRA_HOST_FLAGS); do \
7127 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7128 done; \
7129 echo "Doing info in fileutils" ; \
7130 (cd fileutils && \
7131 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7132 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7133 "RANLIB=$${RANLIB}" \
7134 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7135 info) \
7136 || exit 1
7138 @endif fileutils
7140 .PHONY: maybe-dvi-fileutils dvi-fileutils
7141 maybe-dvi-fileutils:
7142 @if fileutils
7143 maybe-dvi-fileutils: dvi-fileutils
7145 dvi-fileutils: \
7146 configure-fileutils
7147 @[ -f ./fileutils/Makefile ] || exit 0; \
7148 r=`${PWD_COMMAND}`; export r; \
7149 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7150 $(SET_LIB_PATH) \
7151 $(HOST_EXPORTS) \
7152 for flag in $(EXTRA_HOST_FLAGS); do \
7153 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7154 done; \
7155 echo "Doing dvi in fileutils" ; \
7156 (cd fileutils && \
7157 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7158 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7159 "RANLIB=$${RANLIB}" \
7160 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7161 dvi) \
7162 || exit 1
7164 @endif fileutils
7166 .PHONY: maybe-TAGS-fileutils TAGS-fileutils
7167 maybe-TAGS-fileutils:
7168 @if fileutils
7169 maybe-TAGS-fileutils: TAGS-fileutils
7171 TAGS-fileutils: \
7172 configure-fileutils
7173 @[ -f ./fileutils/Makefile ] || exit 0; \
7174 r=`${PWD_COMMAND}`; export r; \
7175 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7176 $(SET_LIB_PATH) \
7177 $(HOST_EXPORTS) \
7178 for flag in $(EXTRA_HOST_FLAGS); do \
7179 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7180 done; \
7181 echo "Doing TAGS in fileutils" ; \
7182 (cd fileutils && \
7183 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7184 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7185 "RANLIB=$${RANLIB}" \
7186 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7187 TAGS) \
7188 || exit 1
7190 @endif fileutils
7192 .PHONY: maybe-install-info-fileutils install-info-fileutils
7193 maybe-install-info-fileutils:
7194 @if fileutils
7195 maybe-install-info-fileutils: install-info-fileutils
7197 install-info-fileutils: \
7198 configure-fileutils \
7199 info-fileutils
7200 @[ -f ./fileutils/Makefile ] || exit 0; \
7201 r=`${PWD_COMMAND}`; export r; \
7202 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7203 $(SET_LIB_PATH) \
7204 $(HOST_EXPORTS) \
7205 for flag in $(EXTRA_HOST_FLAGS); do \
7206 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7207 done; \
7208 echo "Doing install-info in fileutils" ; \
7209 (cd fileutils && \
7210 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7211 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7212 "RANLIB=$${RANLIB}" \
7213 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7214 install-info) \
7215 || exit 1
7217 @endif fileutils
7219 .PHONY: maybe-installcheck-fileutils installcheck-fileutils
7220 maybe-installcheck-fileutils:
7221 @if fileutils
7222 maybe-installcheck-fileutils: installcheck-fileutils
7224 installcheck-fileutils: \
7225 configure-fileutils
7226 @[ -f ./fileutils/Makefile ] || exit 0; \
7227 r=`${PWD_COMMAND}`; export r; \
7228 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7229 $(SET_LIB_PATH) \
7230 $(HOST_EXPORTS) \
7231 for flag in $(EXTRA_HOST_FLAGS); do \
7232 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7233 done; \
7234 echo "Doing installcheck in fileutils" ; \
7235 (cd fileutils && \
7236 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7237 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7238 "RANLIB=$${RANLIB}" \
7239 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7240 installcheck) \
7241 || exit 1
7243 @endif fileutils
7245 .PHONY: maybe-mostlyclean-fileutils mostlyclean-fileutils
7246 maybe-mostlyclean-fileutils:
7247 @if fileutils
7248 maybe-mostlyclean-fileutils: mostlyclean-fileutils
7250 mostlyclean-fileutils:
7251 @[ -f ./fileutils/Makefile ] || exit 0; \
7252 r=`${PWD_COMMAND}`; export r; \
7253 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7254 $(SET_LIB_PATH) \
7255 $(HOST_EXPORTS) \
7256 for flag in $(EXTRA_HOST_FLAGS); do \
7257 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7258 done; \
7259 echo "Doing mostlyclean in fileutils" ; \
7260 (cd fileutils && \
7261 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7262 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7263 "RANLIB=$${RANLIB}" \
7264 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7265 mostlyclean) \
7266 || exit 1
7268 @endif fileutils
7270 .PHONY: maybe-clean-fileutils clean-fileutils
7271 maybe-clean-fileutils:
7272 @if fileutils
7273 maybe-clean-fileutils: clean-fileutils
7275 clean-fileutils:
7276 @[ -f ./fileutils/Makefile ] || exit 0; \
7277 r=`${PWD_COMMAND}`; export r; \
7278 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7279 $(SET_LIB_PATH) \
7280 $(HOST_EXPORTS) \
7281 for flag in $(EXTRA_HOST_FLAGS); do \
7282 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7283 done; \
7284 echo "Doing clean in fileutils" ; \
7285 (cd fileutils && \
7286 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7287 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7288 "RANLIB=$${RANLIB}" \
7289 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7290 clean) \
7291 || exit 1
7293 @endif fileutils
7295 .PHONY: maybe-distclean-fileutils distclean-fileutils
7296 maybe-distclean-fileutils:
7297 @if fileutils
7298 maybe-distclean-fileutils: distclean-fileutils
7300 distclean-fileutils:
7301 @[ -f ./fileutils/Makefile ] || exit 0; \
7302 r=`${PWD_COMMAND}`; export r; \
7303 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7304 $(SET_LIB_PATH) \
7305 $(HOST_EXPORTS) \
7306 for flag in $(EXTRA_HOST_FLAGS); do \
7307 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7308 done; \
7309 echo "Doing distclean in fileutils" ; \
7310 (cd fileutils && \
7311 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7312 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7313 "RANLIB=$${RANLIB}" \
7314 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7315 distclean) \
7316 || exit 1
7318 @endif fileutils
7320 .PHONY: maybe-maintainer-clean-fileutils maintainer-clean-fileutils
7321 maybe-maintainer-clean-fileutils:
7322 @if fileutils
7323 maybe-maintainer-clean-fileutils: maintainer-clean-fileutils
7325 maintainer-clean-fileutils:
7326 @[ -f ./fileutils/Makefile ] || exit 0; \
7327 r=`${PWD_COMMAND}`; export r; \
7328 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7329 $(SET_LIB_PATH) \
7330 $(HOST_EXPORTS) \
7331 for flag in $(EXTRA_HOST_FLAGS); do \
7332 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7333 done; \
7334 echo "Doing maintainer-clean in fileutils" ; \
7335 (cd fileutils && \
7336 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7337 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7338 "RANLIB=$${RANLIB}" \
7339 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7340 maintainer-clean) \
7341 || exit 1
7343 @endif fileutils
7346 .PHONY: configure-findutils maybe-configure-findutils
7347 maybe-configure-findutils:
7348 @if findutils
7349 maybe-configure-findutils: configure-findutils
7350 configure-findutils:
7351 @test ! -f findutils/Makefile || exit 0; \
7352 [ -d findutils ] || mkdir findutils; \
7353 r=`${PWD_COMMAND}`; export r; \
7354 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7355 $(HOST_EXPORTS) \
7356 echo Configuring in findutils; \
7357 cd findutils || exit 1; \
7358 case $(srcdir) in \
7359 \.) \
7360 srcdiroption="--srcdir=."; \
7361 libsrcdir=".";; \
7362 /* | [A-Za-z]:[\\/]*) \
7363 srcdiroption="--srcdir=$(srcdir)/findutils"; \
7364 libsrcdir="$$s/findutils";; \
7365 *) \
7366 srcdiroption="--srcdir=../$(srcdir)/findutils"; \
7367 libsrcdir="$$s/findutils";; \
7368 esac; \
7369 $(SHELL) $${libsrcdir}/configure \
7370 $(HOST_CONFIGARGS) $${srcdiroption} \
7371 || exit 1
7372 @endif findutils
7374 .PHONY: all-findutils maybe-all-findutils
7375 maybe-all-findutils:
7376 @if findutils
7377 maybe-all-findutils: all-findutils
7378 all-findutils: configure-findutils
7379 @r=`${PWD_COMMAND}`; export r; \
7380 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7381 $(SET_LIB_PATH) \
7382 $(HOST_EXPORTS) \
7383 (cd findutils && $(MAKE) $(FLAGS_TO_PASS) all)
7384 @endif findutils
7386 .PHONY: check-findutils maybe-check-findutils
7387 maybe-check-findutils:
7388 @if findutils
7389 maybe-check-findutils: check-findutils
7391 check-findutils:
7392 @r=`${PWD_COMMAND}`; export r; \
7393 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7394 $(SET_LIB_PATH) \
7395 $(HOST_EXPORTS) \
7396 (cd findutils && $(MAKE) $(FLAGS_TO_PASS) check)
7398 @endif findutils
7400 .PHONY: install-findutils maybe-install-findutils
7401 maybe-install-findutils:
7402 @if findutils
7403 maybe-install-findutils: install-findutils
7405 install-findutils: installdirs
7406 @r=`${PWD_COMMAND}`; export r; \
7407 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7408 $(SET_LIB_PATH) \
7409 $(HOST_EXPORTS) \
7410 (cd findutils && $(MAKE) $(FLAGS_TO_PASS) install)
7412 @endif findutils
7414 # Other targets (info, dvi, etc.)
7416 .PHONY: maybe-info-findutils info-findutils
7417 maybe-info-findutils:
7418 @if findutils
7419 maybe-info-findutils: info-findutils
7421 info-findutils: \
7422 configure-findutils
7423 @[ -f ./findutils/Makefile ] || exit 0; \
7424 r=`${PWD_COMMAND}`; export r; \
7425 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7426 $(SET_LIB_PATH) \
7427 $(HOST_EXPORTS) \
7428 for flag in $(EXTRA_HOST_FLAGS); do \
7429 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7430 done; \
7431 echo "Doing info in findutils" ; \
7432 (cd findutils && \
7433 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7434 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7435 "RANLIB=$${RANLIB}" \
7436 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7437 info) \
7438 || exit 1
7440 @endif findutils
7442 .PHONY: maybe-dvi-findutils dvi-findutils
7443 maybe-dvi-findutils:
7444 @if findutils
7445 maybe-dvi-findutils: dvi-findutils
7447 dvi-findutils: \
7448 configure-findutils
7449 @[ -f ./findutils/Makefile ] || exit 0; \
7450 r=`${PWD_COMMAND}`; export r; \
7451 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7452 $(SET_LIB_PATH) \
7453 $(HOST_EXPORTS) \
7454 for flag in $(EXTRA_HOST_FLAGS); do \
7455 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7456 done; \
7457 echo "Doing dvi in findutils" ; \
7458 (cd findutils && \
7459 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7460 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7461 "RANLIB=$${RANLIB}" \
7462 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7463 dvi) \
7464 || exit 1
7466 @endif findutils
7468 .PHONY: maybe-TAGS-findutils TAGS-findutils
7469 maybe-TAGS-findutils:
7470 @if findutils
7471 maybe-TAGS-findutils: TAGS-findutils
7473 TAGS-findutils: \
7474 configure-findutils
7475 @[ -f ./findutils/Makefile ] || exit 0; \
7476 r=`${PWD_COMMAND}`; export r; \
7477 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7478 $(SET_LIB_PATH) \
7479 $(HOST_EXPORTS) \
7480 for flag in $(EXTRA_HOST_FLAGS); do \
7481 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7482 done; \
7483 echo "Doing TAGS in findutils" ; \
7484 (cd findutils && \
7485 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7486 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7487 "RANLIB=$${RANLIB}" \
7488 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7489 TAGS) \
7490 || exit 1
7492 @endif findutils
7494 .PHONY: maybe-install-info-findutils install-info-findutils
7495 maybe-install-info-findutils:
7496 @if findutils
7497 maybe-install-info-findutils: install-info-findutils
7499 install-info-findutils: \
7500 configure-findutils \
7501 info-findutils
7502 @[ -f ./findutils/Makefile ] || exit 0; \
7503 r=`${PWD_COMMAND}`; export r; \
7504 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7505 $(SET_LIB_PATH) \
7506 $(HOST_EXPORTS) \
7507 for flag in $(EXTRA_HOST_FLAGS); do \
7508 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7509 done; \
7510 echo "Doing install-info in findutils" ; \
7511 (cd findutils && \
7512 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7513 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7514 "RANLIB=$${RANLIB}" \
7515 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7516 install-info) \
7517 || exit 1
7519 @endif findutils
7521 .PHONY: maybe-installcheck-findutils installcheck-findutils
7522 maybe-installcheck-findutils:
7523 @if findutils
7524 maybe-installcheck-findutils: installcheck-findutils
7526 installcheck-findutils: \
7527 configure-findutils
7528 @[ -f ./findutils/Makefile ] || exit 0; \
7529 r=`${PWD_COMMAND}`; export r; \
7530 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7531 $(SET_LIB_PATH) \
7532 $(HOST_EXPORTS) \
7533 for flag in $(EXTRA_HOST_FLAGS); do \
7534 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7535 done; \
7536 echo "Doing installcheck in findutils" ; \
7537 (cd findutils && \
7538 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7539 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7540 "RANLIB=$${RANLIB}" \
7541 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7542 installcheck) \
7543 || exit 1
7545 @endif findutils
7547 .PHONY: maybe-mostlyclean-findutils mostlyclean-findutils
7548 maybe-mostlyclean-findutils:
7549 @if findutils
7550 maybe-mostlyclean-findutils: mostlyclean-findutils
7552 mostlyclean-findutils:
7553 @[ -f ./findutils/Makefile ] || exit 0; \
7554 r=`${PWD_COMMAND}`; export r; \
7555 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7556 $(SET_LIB_PATH) \
7557 $(HOST_EXPORTS) \
7558 for flag in $(EXTRA_HOST_FLAGS); do \
7559 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7560 done; \
7561 echo "Doing mostlyclean in findutils" ; \
7562 (cd findutils && \
7563 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7564 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7565 "RANLIB=$${RANLIB}" \
7566 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7567 mostlyclean) \
7568 || exit 1
7570 @endif findutils
7572 .PHONY: maybe-clean-findutils clean-findutils
7573 maybe-clean-findutils:
7574 @if findutils
7575 maybe-clean-findutils: clean-findutils
7577 clean-findutils:
7578 @[ -f ./findutils/Makefile ] || exit 0; \
7579 r=`${PWD_COMMAND}`; export r; \
7580 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7581 $(SET_LIB_PATH) \
7582 $(HOST_EXPORTS) \
7583 for flag in $(EXTRA_HOST_FLAGS); do \
7584 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7585 done; \
7586 echo "Doing clean in findutils" ; \
7587 (cd findutils && \
7588 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7589 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7590 "RANLIB=$${RANLIB}" \
7591 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7592 clean) \
7593 || exit 1
7595 @endif findutils
7597 .PHONY: maybe-distclean-findutils distclean-findutils
7598 maybe-distclean-findutils:
7599 @if findutils
7600 maybe-distclean-findutils: distclean-findutils
7602 distclean-findutils:
7603 @[ -f ./findutils/Makefile ] || exit 0; \
7604 r=`${PWD_COMMAND}`; export r; \
7605 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7606 $(SET_LIB_PATH) \
7607 $(HOST_EXPORTS) \
7608 for flag in $(EXTRA_HOST_FLAGS); do \
7609 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7610 done; \
7611 echo "Doing distclean in findutils" ; \
7612 (cd findutils && \
7613 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7614 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7615 "RANLIB=$${RANLIB}" \
7616 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7617 distclean) \
7618 || exit 1
7620 @endif findutils
7622 .PHONY: maybe-maintainer-clean-findutils maintainer-clean-findutils
7623 maybe-maintainer-clean-findutils:
7624 @if findutils
7625 maybe-maintainer-clean-findutils: maintainer-clean-findutils
7627 maintainer-clean-findutils:
7628 @[ -f ./findutils/Makefile ] || exit 0; \
7629 r=`${PWD_COMMAND}`; export r; \
7630 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7631 $(SET_LIB_PATH) \
7632 $(HOST_EXPORTS) \
7633 for flag in $(EXTRA_HOST_FLAGS); do \
7634 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7635 done; \
7636 echo "Doing maintainer-clean in findutils" ; \
7637 (cd findutils && \
7638 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7639 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7640 "RANLIB=$${RANLIB}" \
7641 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7642 maintainer-clean) \
7643 || exit 1
7645 @endif findutils
7648 .PHONY: configure-find maybe-configure-find
7649 maybe-configure-find:
7650 @if find
7651 maybe-configure-find: configure-find
7652 configure-find:
7653 @test ! -f find/Makefile || exit 0; \
7654 [ -d find ] || mkdir find; \
7655 r=`${PWD_COMMAND}`; export r; \
7656 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7657 $(HOST_EXPORTS) \
7658 echo Configuring in find; \
7659 cd find || exit 1; \
7660 case $(srcdir) in \
7661 \.) \
7662 srcdiroption="--srcdir=."; \
7663 libsrcdir=".";; \
7664 /* | [A-Za-z]:[\\/]*) \
7665 srcdiroption="--srcdir=$(srcdir)/find"; \
7666 libsrcdir="$$s/find";; \
7667 *) \
7668 srcdiroption="--srcdir=../$(srcdir)/find"; \
7669 libsrcdir="$$s/find";; \
7670 esac; \
7671 $(SHELL) $${libsrcdir}/configure \
7672 $(HOST_CONFIGARGS) $${srcdiroption} \
7673 || exit 1
7674 @endif find
7676 .PHONY: all-find maybe-all-find
7677 maybe-all-find:
7678 @if find
7679 maybe-all-find: all-find
7680 all-find: configure-find
7681 @r=`${PWD_COMMAND}`; export r; \
7682 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7683 $(SET_LIB_PATH) \
7684 $(HOST_EXPORTS) \
7685 (cd find && $(MAKE) $(FLAGS_TO_PASS) all)
7686 @endif find
7688 .PHONY: check-find maybe-check-find
7689 maybe-check-find:
7690 @if find
7691 maybe-check-find: check-find
7693 check-find:
7694 @r=`${PWD_COMMAND}`; export r; \
7695 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7696 $(SET_LIB_PATH) \
7697 $(HOST_EXPORTS) \
7698 (cd find && $(MAKE) $(FLAGS_TO_PASS) check)
7700 @endif find
7702 .PHONY: install-find maybe-install-find
7703 maybe-install-find:
7704 @if find
7705 maybe-install-find: install-find
7707 install-find: installdirs
7708 @r=`${PWD_COMMAND}`; export r; \
7709 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7710 $(SET_LIB_PATH) \
7711 $(HOST_EXPORTS) \
7712 (cd find && $(MAKE) $(FLAGS_TO_PASS) install)
7714 @endif find
7716 # Other targets (info, dvi, etc.)
7718 .PHONY: maybe-info-find info-find
7719 maybe-info-find:
7720 @if find
7721 maybe-info-find: info-find
7723 info-find: \
7724 configure-find
7725 @[ -f ./find/Makefile ] || exit 0; \
7726 r=`${PWD_COMMAND}`; export r; \
7727 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7728 $(SET_LIB_PATH) \
7729 $(HOST_EXPORTS) \
7730 for flag in $(EXTRA_HOST_FLAGS); do \
7731 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7732 done; \
7733 echo "Doing info in find" ; \
7734 (cd find && \
7735 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7736 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7737 "RANLIB=$${RANLIB}" \
7738 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7739 info) \
7740 || exit 1
7742 @endif find
7744 .PHONY: maybe-dvi-find dvi-find
7745 maybe-dvi-find:
7746 @if find
7747 maybe-dvi-find: dvi-find
7749 dvi-find: \
7750 configure-find
7751 @[ -f ./find/Makefile ] || exit 0; \
7752 r=`${PWD_COMMAND}`; export r; \
7753 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7754 $(SET_LIB_PATH) \
7755 $(HOST_EXPORTS) \
7756 for flag in $(EXTRA_HOST_FLAGS); do \
7757 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7758 done; \
7759 echo "Doing dvi in find" ; \
7760 (cd find && \
7761 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7762 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7763 "RANLIB=$${RANLIB}" \
7764 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7765 dvi) \
7766 || exit 1
7768 @endif find
7770 .PHONY: maybe-TAGS-find TAGS-find
7771 maybe-TAGS-find:
7772 @if find
7773 maybe-TAGS-find: TAGS-find
7775 TAGS-find: \
7776 configure-find
7777 @[ -f ./find/Makefile ] || exit 0; \
7778 r=`${PWD_COMMAND}`; export r; \
7779 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7780 $(SET_LIB_PATH) \
7781 $(HOST_EXPORTS) \
7782 for flag in $(EXTRA_HOST_FLAGS); do \
7783 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7784 done; \
7785 echo "Doing TAGS in find" ; \
7786 (cd find && \
7787 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7788 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7789 "RANLIB=$${RANLIB}" \
7790 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7791 TAGS) \
7792 || exit 1
7794 @endif find
7796 .PHONY: maybe-install-info-find install-info-find
7797 maybe-install-info-find:
7798 @if find
7799 maybe-install-info-find: install-info-find
7801 install-info-find: \
7802 configure-find \
7803 info-find
7804 @[ -f ./find/Makefile ] || exit 0; \
7805 r=`${PWD_COMMAND}`; export r; \
7806 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7807 $(SET_LIB_PATH) \
7808 $(HOST_EXPORTS) \
7809 for flag in $(EXTRA_HOST_FLAGS); do \
7810 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7811 done; \
7812 echo "Doing install-info in find" ; \
7813 (cd find && \
7814 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7815 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7816 "RANLIB=$${RANLIB}" \
7817 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7818 install-info) \
7819 || exit 1
7821 @endif find
7823 .PHONY: maybe-installcheck-find installcheck-find
7824 maybe-installcheck-find:
7825 @if find
7826 maybe-installcheck-find: installcheck-find
7828 installcheck-find: \
7829 configure-find
7830 @[ -f ./find/Makefile ] || exit 0; \
7831 r=`${PWD_COMMAND}`; export r; \
7832 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7833 $(SET_LIB_PATH) \
7834 $(HOST_EXPORTS) \
7835 for flag in $(EXTRA_HOST_FLAGS); do \
7836 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7837 done; \
7838 echo "Doing installcheck in find" ; \
7839 (cd find && \
7840 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7841 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7842 "RANLIB=$${RANLIB}" \
7843 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7844 installcheck) \
7845 || exit 1
7847 @endif find
7849 .PHONY: maybe-mostlyclean-find mostlyclean-find
7850 maybe-mostlyclean-find:
7851 @if find
7852 maybe-mostlyclean-find: mostlyclean-find
7854 mostlyclean-find:
7855 @[ -f ./find/Makefile ] || exit 0; \
7856 r=`${PWD_COMMAND}`; export r; \
7857 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7858 $(SET_LIB_PATH) \
7859 $(HOST_EXPORTS) \
7860 for flag in $(EXTRA_HOST_FLAGS); do \
7861 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7862 done; \
7863 echo "Doing mostlyclean in find" ; \
7864 (cd find && \
7865 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7866 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7867 "RANLIB=$${RANLIB}" \
7868 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7869 mostlyclean) \
7870 || exit 1
7872 @endif find
7874 .PHONY: maybe-clean-find clean-find
7875 maybe-clean-find:
7876 @if find
7877 maybe-clean-find: clean-find
7879 clean-find:
7880 @[ -f ./find/Makefile ] || exit 0; \
7881 r=`${PWD_COMMAND}`; export r; \
7882 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7883 $(SET_LIB_PATH) \
7884 $(HOST_EXPORTS) \
7885 for flag in $(EXTRA_HOST_FLAGS); do \
7886 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7887 done; \
7888 echo "Doing clean in find" ; \
7889 (cd find && \
7890 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7891 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7892 "RANLIB=$${RANLIB}" \
7893 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7894 clean) \
7895 || exit 1
7897 @endif find
7899 .PHONY: maybe-distclean-find distclean-find
7900 maybe-distclean-find:
7901 @if find
7902 maybe-distclean-find: distclean-find
7904 distclean-find:
7905 @[ -f ./find/Makefile ] || exit 0; \
7906 r=`${PWD_COMMAND}`; export r; \
7907 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7908 $(SET_LIB_PATH) \
7909 $(HOST_EXPORTS) \
7910 for flag in $(EXTRA_HOST_FLAGS); do \
7911 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7912 done; \
7913 echo "Doing distclean in find" ; \
7914 (cd find && \
7915 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7916 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7917 "RANLIB=$${RANLIB}" \
7918 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7919 distclean) \
7920 || exit 1
7922 @endif find
7924 .PHONY: maybe-maintainer-clean-find maintainer-clean-find
7925 maybe-maintainer-clean-find:
7926 @if find
7927 maybe-maintainer-clean-find: maintainer-clean-find
7929 maintainer-clean-find:
7930 @[ -f ./find/Makefile ] || exit 0; \
7931 r=`${PWD_COMMAND}`; export r; \
7932 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7933 $(SET_LIB_PATH) \
7934 $(HOST_EXPORTS) \
7935 for flag in $(EXTRA_HOST_FLAGS); do \
7936 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7937 done; \
7938 echo "Doing maintainer-clean in find" ; \
7939 (cd find && \
7940 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7941 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7942 "RANLIB=$${RANLIB}" \
7943 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7944 maintainer-clean) \
7945 || exit 1
7947 @endif find
7950 .PHONY: configure-flex maybe-configure-flex
7951 maybe-configure-flex:
7952 @if flex
7953 maybe-configure-flex: configure-flex
7954 configure-flex:
7955 @test ! -f flex/Makefile || exit 0; \
7956 [ -d flex ] || mkdir flex; \
7957 r=`${PWD_COMMAND}`; export r; \
7958 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7959 $(HOST_EXPORTS) \
7960 echo Configuring in flex; \
7961 cd flex || exit 1; \
7962 case $(srcdir) in \
7963 \.) \
7964 srcdiroption="--srcdir=."; \
7965 libsrcdir=".";; \
7966 /* | [A-Za-z]:[\\/]*) \
7967 srcdiroption="--srcdir=$(srcdir)/flex"; \
7968 libsrcdir="$$s/flex";; \
7969 *) \
7970 srcdiroption="--srcdir=../$(srcdir)/flex"; \
7971 libsrcdir="$$s/flex";; \
7972 esac; \
7973 $(SHELL) $${libsrcdir}/configure \
7974 $(HOST_CONFIGARGS) $${srcdiroption} \
7975 || exit 1
7976 @endif flex
7978 .PHONY: all-flex maybe-all-flex
7979 maybe-all-flex:
7980 @if flex
7981 maybe-all-flex: all-flex
7982 all-flex: configure-flex
7983 @r=`${PWD_COMMAND}`; export r; \
7984 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7985 $(SET_LIB_PATH) \
7986 $(HOST_EXPORTS) \
7987 (cd flex && $(MAKE) $(FLAGS_TO_PASS) all)
7988 @endif flex
7990 .PHONY: check-flex maybe-check-flex
7991 maybe-check-flex:
7992 @if flex
7993 maybe-check-flex: check-flex
7995 # This module is only tested in a native toolchain.
7996 check-flex:
7997 @if [ '$(host)' = '$(target)' ] ; then \
7998 r=`${PWD_COMMAND}`; export r; \
7999 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8000 $(SET_LIB_PATH) \
8001 $(HOST_EXPORTS) \
8002 (cd flex && $(MAKE) $(FLAGS_TO_PASS) check); \
8005 @endif flex
8007 .PHONY: install-flex maybe-install-flex
8008 maybe-install-flex:
8009 @if flex
8010 maybe-install-flex: install-flex
8012 install-flex: installdirs
8013 @r=`${PWD_COMMAND}`; export r; \
8014 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8015 $(SET_LIB_PATH) \
8016 $(HOST_EXPORTS) \
8017 (cd flex && $(MAKE) $(FLAGS_TO_PASS) install)
8019 @endif flex
8021 # Other targets (info, dvi, etc.)
8023 .PHONY: maybe-info-flex info-flex
8024 maybe-info-flex:
8025 @if flex
8026 maybe-info-flex: info-flex
8028 info-flex: \
8029 configure-flex
8030 @[ -f ./flex/Makefile ] || exit 0; \
8031 r=`${PWD_COMMAND}`; export r; \
8032 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8033 $(SET_LIB_PATH) \
8034 $(HOST_EXPORTS) \
8035 for flag in $(EXTRA_HOST_FLAGS); do \
8036 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8037 done; \
8038 echo "Doing info in flex" ; \
8039 (cd flex && \
8040 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8041 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8042 "RANLIB=$${RANLIB}" \
8043 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8044 info) \
8045 || exit 1
8047 @endif flex
8049 .PHONY: maybe-dvi-flex dvi-flex
8050 maybe-dvi-flex:
8051 @if flex
8052 maybe-dvi-flex: dvi-flex
8054 dvi-flex: \
8055 configure-flex
8056 @[ -f ./flex/Makefile ] || exit 0; \
8057 r=`${PWD_COMMAND}`; export r; \
8058 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8059 $(SET_LIB_PATH) \
8060 $(HOST_EXPORTS) \
8061 for flag in $(EXTRA_HOST_FLAGS); do \
8062 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8063 done; \
8064 echo "Doing dvi in flex" ; \
8065 (cd flex && \
8066 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8067 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8068 "RANLIB=$${RANLIB}" \
8069 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8070 dvi) \
8071 || exit 1
8073 @endif flex
8075 .PHONY: maybe-TAGS-flex TAGS-flex
8076 maybe-TAGS-flex:
8077 @if flex
8078 maybe-TAGS-flex: TAGS-flex
8080 TAGS-flex: \
8081 configure-flex
8082 @[ -f ./flex/Makefile ] || exit 0; \
8083 r=`${PWD_COMMAND}`; export r; \
8084 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8085 $(SET_LIB_PATH) \
8086 $(HOST_EXPORTS) \
8087 for flag in $(EXTRA_HOST_FLAGS); do \
8088 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8089 done; \
8090 echo "Doing TAGS in flex" ; \
8091 (cd flex && \
8092 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8093 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8094 "RANLIB=$${RANLIB}" \
8095 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8096 TAGS) \
8097 || exit 1
8099 @endif flex
8101 .PHONY: maybe-install-info-flex install-info-flex
8102 maybe-install-info-flex:
8103 @if flex
8104 maybe-install-info-flex: install-info-flex
8106 install-info-flex: \
8107 configure-flex \
8108 info-flex
8109 @[ -f ./flex/Makefile ] || exit 0; \
8110 r=`${PWD_COMMAND}`; export r; \
8111 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8112 $(SET_LIB_PATH) \
8113 $(HOST_EXPORTS) \
8114 for flag in $(EXTRA_HOST_FLAGS); do \
8115 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8116 done; \
8117 echo "Doing install-info in flex" ; \
8118 (cd flex && \
8119 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8120 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8121 "RANLIB=$${RANLIB}" \
8122 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8123 install-info) \
8124 || exit 1
8126 @endif flex
8128 .PHONY: maybe-installcheck-flex installcheck-flex
8129 maybe-installcheck-flex:
8130 @if flex
8131 maybe-installcheck-flex: installcheck-flex
8133 installcheck-flex: \
8134 configure-flex
8135 @[ -f ./flex/Makefile ] || exit 0; \
8136 r=`${PWD_COMMAND}`; export r; \
8137 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8138 $(SET_LIB_PATH) \
8139 $(HOST_EXPORTS) \
8140 for flag in $(EXTRA_HOST_FLAGS); do \
8141 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8142 done; \
8143 echo "Doing installcheck in flex" ; \
8144 (cd flex && \
8145 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8146 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8147 "RANLIB=$${RANLIB}" \
8148 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8149 installcheck) \
8150 || exit 1
8152 @endif flex
8154 .PHONY: maybe-mostlyclean-flex mostlyclean-flex
8155 maybe-mostlyclean-flex:
8156 @if flex
8157 maybe-mostlyclean-flex: mostlyclean-flex
8159 mostlyclean-flex:
8160 @[ -f ./flex/Makefile ] || exit 0; \
8161 r=`${PWD_COMMAND}`; export r; \
8162 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8163 $(SET_LIB_PATH) \
8164 $(HOST_EXPORTS) \
8165 for flag in $(EXTRA_HOST_FLAGS); do \
8166 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8167 done; \
8168 echo "Doing mostlyclean in flex" ; \
8169 (cd flex && \
8170 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8171 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8172 "RANLIB=$${RANLIB}" \
8173 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8174 mostlyclean) \
8175 || exit 1
8177 @endif flex
8179 .PHONY: maybe-clean-flex clean-flex
8180 maybe-clean-flex:
8181 @if flex
8182 maybe-clean-flex: clean-flex
8184 clean-flex:
8185 @[ -f ./flex/Makefile ] || exit 0; \
8186 r=`${PWD_COMMAND}`; export r; \
8187 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8188 $(SET_LIB_PATH) \
8189 $(HOST_EXPORTS) \
8190 for flag in $(EXTRA_HOST_FLAGS); do \
8191 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8192 done; \
8193 echo "Doing clean in flex" ; \
8194 (cd flex && \
8195 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8196 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8197 "RANLIB=$${RANLIB}" \
8198 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8199 clean) \
8200 || exit 1
8202 @endif flex
8204 .PHONY: maybe-distclean-flex distclean-flex
8205 maybe-distclean-flex:
8206 @if flex
8207 maybe-distclean-flex: distclean-flex
8209 distclean-flex:
8210 @[ -f ./flex/Makefile ] || exit 0; \
8211 r=`${PWD_COMMAND}`; export r; \
8212 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8213 $(SET_LIB_PATH) \
8214 $(HOST_EXPORTS) \
8215 for flag in $(EXTRA_HOST_FLAGS); do \
8216 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8217 done; \
8218 echo "Doing distclean in flex" ; \
8219 (cd flex && \
8220 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8221 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8222 "RANLIB=$${RANLIB}" \
8223 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8224 distclean) \
8225 || exit 1
8227 @endif flex
8229 .PHONY: maybe-maintainer-clean-flex maintainer-clean-flex
8230 maybe-maintainer-clean-flex:
8231 @if flex
8232 maybe-maintainer-clean-flex: maintainer-clean-flex
8234 maintainer-clean-flex:
8235 @[ -f ./flex/Makefile ] || exit 0; \
8236 r=`${PWD_COMMAND}`; export r; \
8237 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8238 $(SET_LIB_PATH) \
8239 $(HOST_EXPORTS) \
8240 for flag in $(EXTRA_HOST_FLAGS); do \
8241 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8242 done; \
8243 echo "Doing maintainer-clean in flex" ; \
8244 (cd flex && \
8245 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8246 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8247 "RANLIB=$${RANLIB}" \
8248 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8249 maintainer-clean) \
8250 || exit 1
8252 @endif flex
8255 .PHONY: configure-gas maybe-configure-gas
8256 maybe-configure-gas:
8257 @if gas
8258 maybe-configure-gas: configure-gas
8259 configure-gas:
8260 @test ! -f gas/Makefile || exit 0; \
8261 [ -d gas ] || mkdir gas; \
8262 r=`${PWD_COMMAND}`; export r; \
8263 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8264 $(HOST_EXPORTS) \
8265 echo Configuring in gas; \
8266 cd gas || exit 1; \
8267 case $(srcdir) in \
8268 \.) \
8269 srcdiroption="--srcdir=."; \
8270 libsrcdir=".";; \
8271 /* | [A-Za-z]:[\\/]*) \
8272 srcdiroption="--srcdir=$(srcdir)/gas"; \
8273 libsrcdir="$$s/gas";; \
8274 *) \
8275 srcdiroption="--srcdir=../$(srcdir)/gas"; \
8276 libsrcdir="$$s/gas";; \
8277 esac; \
8278 $(SHELL) $${libsrcdir}/configure \
8279 $(HOST_CONFIGARGS) $${srcdiroption} \
8280 || exit 1
8281 @endif gas
8283 .PHONY: all-gas maybe-all-gas
8284 maybe-all-gas:
8285 @if gas
8286 maybe-all-gas: all-gas
8287 all-gas: configure-gas
8288 @r=`${PWD_COMMAND}`; export r; \
8289 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8290 $(SET_LIB_PATH) \
8291 $(HOST_EXPORTS) \
8292 (cd gas && $(MAKE) $(FLAGS_TO_PASS) all)
8293 @endif gas
8295 .PHONY: check-gas maybe-check-gas
8296 maybe-check-gas:
8297 @if gas
8298 maybe-check-gas: check-gas
8300 check-gas:
8301 @r=`${PWD_COMMAND}`; export r; \
8302 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8303 $(SET_LIB_PATH) \
8304 $(HOST_EXPORTS) \
8305 (cd gas && $(MAKE) $(FLAGS_TO_PASS) check)
8307 @endif gas
8309 .PHONY: install-gas maybe-install-gas
8310 maybe-install-gas:
8311 @if gas
8312 maybe-install-gas: install-gas
8314 install-gas: installdirs
8315 @r=`${PWD_COMMAND}`; export r; \
8316 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8317 $(SET_LIB_PATH) \
8318 $(HOST_EXPORTS) \
8319 (cd gas && $(MAKE) $(FLAGS_TO_PASS) install)
8321 @endif gas
8323 # Other targets (info, dvi, etc.)
8325 .PHONY: maybe-info-gas info-gas
8326 maybe-info-gas:
8327 @if gas
8328 maybe-info-gas: info-gas
8330 info-gas: \
8331 configure-gas
8332 @[ -f ./gas/Makefile ] || exit 0; \
8333 r=`${PWD_COMMAND}`; export r; \
8334 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8335 $(SET_LIB_PATH) \
8336 $(HOST_EXPORTS) \
8337 for flag in $(EXTRA_HOST_FLAGS); do \
8338 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8339 done; \
8340 echo "Doing info in gas" ; \
8341 (cd gas && \
8342 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8343 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8344 "RANLIB=$${RANLIB}" \
8345 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8346 info) \
8347 || exit 1
8349 @endif gas
8351 .PHONY: maybe-dvi-gas dvi-gas
8352 maybe-dvi-gas:
8353 @if gas
8354 maybe-dvi-gas: dvi-gas
8356 dvi-gas: \
8357 configure-gas
8358 @[ -f ./gas/Makefile ] || exit 0; \
8359 r=`${PWD_COMMAND}`; export r; \
8360 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8361 $(SET_LIB_PATH) \
8362 $(HOST_EXPORTS) \
8363 for flag in $(EXTRA_HOST_FLAGS); do \
8364 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8365 done; \
8366 echo "Doing dvi in gas" ; \
8367 (cd gas && \
8368 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8369 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8370 "RANLIB=$${RANLIB}" \
8371 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8372 dvi) \
8373 || exit 1
8375 @endif gas
8377 .PHONY: maybe-TAGS-gas TAGS-gas
8378 maybe-TAGS-gas:
8379 @if gas
8380 maybe-TAGS-gas: TAGS-gas
8382 TAGS-gas: \
8383 configure-gas
8384 @[ -f ./gas/Makefile ] || exit 0; \
8385 r=`${PWD_COMMAND}`; export r; \
8386 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8387 $(SET_LIB_PATH) \
8388 $(HOST_EXPORTS) \
8389 for flag in $(EXTRA_HOST_FLAGS); do \
8390 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8391 done; \
8392 echo "Doing TAGS in gas" ; \
8393 (cd gas && \
8394 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8395 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8396 "RANLIB=$${RANLIB}" \
8397 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8398 TAGS) \
8399 || exit 1
8401 @endif gas
8403 .PHONY: maybe-install-info-gas install-info-gas
8404 maybe-install-info-gas:
8405 @if gas
8406 maybe-install-info-gas: install-info-gas
8408 install-info-gas: \
8409 configure-gas \
8410 info-gas
8411 @[ -f ./gas/Makefile ] || exit 0; \
8412 r=`${PWD_COMMAND}`; export r; \
8413 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8414 $(SET_LIB_PATH) \
8415 $(HOST_EXPORTS) \
8416 for flag in $(EXTRA_HOST_FLAGS); do \
8417 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8418 done; \
8419 echo "Doing install-info in gas" ; \
8420 (cd gas && \
8421 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8422 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8423 "RANLIB=$${RANLIB}" \
8424 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8425 install-info) \
8426 || exit 1
8428 @endif gas
8430 .PHONY: maybe-installcheck-gas installcheck-gas
8431 maybe-installcheck-gas:
8432 @if gas
8433 maybe-installcheck-gas: installcheck-gas
8435 installcheck-gas: \
8436 configure-gas
8437 @[ -f ./gas/Makefile ] || exit 0; \
8438 r=`${PWD_COMMAND}`; export r; \
8439 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8440 $(SET_LIB_PATH) \
8441 $(HOST_EXPORTS) \
8442 for flag in $(EXTRA_HOST_FLAGS); do \
8443 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8444 done; \
8445 echo "Doing installcheck in gas" ; \
8446 (cd gas && \
8447 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8448 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8449 "RANLIB=$${RANLIB}" \
8450 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8451 installcheck) \
8452 || exit 1
8454 @endif gas
8456 .PHONY: maybe-mostlyclean-gas mostlyclean-gas
8457 maybe-mostlyclean-gas:
8458 @if gas
8459 maybe-mostlyclean-gas: mostlyclean-gas
8461 mostlyclean-gas:
8462 @[ -f ./gas/Makefile ] || exit 0; \
8463 r=`${PWD_COMMAND}`; export r; \
8464 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8465 $(SET_LIB_PATH) \
8466 $(HOST_EXPORTS) \
8467 for flag in $(EXTRA_HOST_FLAGS); do \
8468 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8469 done; \
8470 echo "Doing mostlyclean in gas" ; \
8471 (cd gas && \
8472 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8473 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8474 "RANLIB=$${RANLIB}" \
8475 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8476 mostlyclean) \
8477 || exit 1
8479 @endif gas
8481 .PHONY: maybe-clean-gas clean-gas
8482 maybe-clean-gas:
8483 @if gas
8484 maybe-clean-gas: clean-gas
8486 clean-gas:
8487 @[ -f ./gas/Makefile ] || exit 0; \
8488 r=`${PWD_COMMAND}`; export r; \
8489 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8490 $(SET_LIB_PATH) \
8491 $(HOST_EXPORTS) \
8492 for flag in $(EXTRA_HOST_FLAGS); do \
8493 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8494 done; \
8495 echo "Doing clean in gas" ; \
8496 (cd gas && \
8497 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8498 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8499 "RANLIB=$${RANLIB}" \
8500 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8501 clean) \
8502 || exit 1
8504 @endif gas
8506 .PHONY: maybe-distclean-gas distclean-gas
8507 maybe-distclean-gas:
8508 @if gas
8509 maybe-distclean-gas: distclean-gas
8511 distclean-gas:
8512 @[ -f ./gas/Makefile ] || exit 0; \
8513 r=`${PWD_COMMAND}`; export r; \
8514 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8515 $(SET_LIB_PATH) \
8516 $(HOST_EXPORTS) \
8517 for flag in $(EXTRA_HOST_FLAGS); do \
8518 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8519 done; \
8520 echo "Doing distclean in gas" ; \
8521 (cd gas && \
8522 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8523 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8524 "RANLIB=$${RANLIB}" \
8525 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8526 distclean) \
8527 || exit 1
8529 @endif gas
8531 .PHONY: maybe-maintainer-clean-gas maintainer-clean-gas
8532 maybe-maintainer-clean-gas:
8533 @if gas
8534 maybe-maintainer-clean-gas: maintainer-clean-gas
8536 maintainer-clean-gas:
8537 @[ -f ./gas/Makefile ] || exit 0; \
8538 r=`${PWD_COMMAND}`; export r; \
8539 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8540 $(SET_LIB_PATH) \
8541 $(HOST_EXPORTS) \
8542 for flag in $(EXTRA_HOST_FLAGS); do \
8543 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8544 done; \
8545 echo "Doing maintainer-clean in gas" ; \
8546 (cd gas && \
8547 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8548 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8549 "RANLIB=$${RANLIB}" \
8550 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8551 maintainer-clean) \
8552 || exit 1
8554 @endif gas
8557 .PHONY: configure-gawk maybe-configure-gawk
8558 maybe-configure-gawk:
8559 @if gawk
8560 maybe-configure-gawk: configure-gawk
8561 configure-gawk:
8562 @test ! -f gawk/Makefile || exit 0; \
8563 [ -d gawk ] || mkdir gawk; \
8564 r=`${PWD_COMMAND}`; export r; \
8565 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8566 $(HOST_EXPORTS) \
8567 echo Configuring in gawk; \
8568 cd gawk || exit 1; \
8569 case $(srcdir) in \
8570 \.) \
8571 srcdiroption="--srcdir=."; \
8572 libsrcdir=".";; \
8573 /* | [A-Za-z]:[\\/]*) \
8574 srcdiroption="--srcdir=$(srcdir)/gawk"; \
8575 libsrcdir="$$s/gawk";; \
8576 *) \
8577 srcdiroption="--srcdir=../$(srcdir)/gawk"; \
8578 libsrcdir="$$s/gawk";; \
8579 esac; \
8580 $(SHELL) $${libsrcdir}/configure \
8581 $(HOST_CONFIGARGS) $${srcdiroption} \
8582 || exit 1
8583 @endif gawk
8585 .PHONY: all-gawk maybe-all-gawk
8586 maybe-all-gawk:
8587 @if gawk
8588 maybe-all-gawk: all-gawk
8589 all-gawk: configure-gawk
8590 @r=`${PWD_COMMAND}`; export r; \
8591 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8592 $(SET_LIB_PATH) \
8593 $(HOST_EXPORTS) \
8594 (cd gawk && $(MAKE) $(FLAGS_TO_PASS) all)
8595 @endif gawk
8597 .PHONY: check-gawk maybe-check-gawk
8598 maybe-check-gawk:
8599 @if gawk
8600 maybe-check-gawk: check-gawk
8602 check-gawk:
8603 @r=`${PWD_COMMAND}`; export r; \
8604 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8605 $(SET_LIB_PATH) \
8606 $(HOST_EXPORTS) \
8607 (cd gawk && $(MAKE) $(FLAGS_TO_PASS) check)
8609 @endif gawk
8611 .PHONY: install-gawk maybe-install-gawk
8612 maybe-install-gawk:
8613 @if gawk
8614 maybe-install-gawk: install-gawk
8616 install-gawk: installdirs
8617 @r=`${PWD_COMMAND}`; export r; \
8618 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8619 $(SET_LIB_PATH) \
8620 $(HOST_EXPORTS) \
8621 (cd gawk && $(MAKE) $(FLAGS_TO_PASS) install)
8623 @endif gawk
8625 # Other targets (info, dvi, etc.)
8627 .PHONY: maybe-info-gawk info-gawk
8628 maybe-info-gawk:
8629 @if gawk
8630 maybe-info-gawk: info-gawk
8632 info-gawk: \
8633 configure-gawk
8634 @[ -f ./gawk/Makefile ] || exit 0; \
8635 r=`${PWD_COMMAND}`; export r; \
8636 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8637 $(SET_LIB_PATH) \
8638 $(HOST_EXPORTS) \
8639 for flag in $(EXTRA_HOST_FLAGS); do \
8640 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8641 done; \
8642 echo "Doing info in gawk" ; \
8643 (cd gawk && \
8644 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8645 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8646 "RANLIB=$${RANLIB}" \
8647 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8648 info) \
8649 || exit 1
8651 @endif gawk
8653 .PHONY: maybe-dvi-gawk dvi-gawk
8654 maybe-dvi-gawk:
8655 @if gawk
8656 maybe-dvi-gawk: dvi-gawk
8658 dvi-gawk: \
8659 configure-gawk
8660 @[ -f ./gawk/Makefile ] || exit 0; \
8661 r=`${PWD_COMMAND}`; export r; \
8662 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8663 $(SET_LIB_PATH) \
8664 $(HOST_EXPORTS) \
8665 for flag in $(EXTRA_HOST_FLAGS); do \
8666 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8667 done; \
8668 echo "Doing dvi in gawk" ; \
8669 (cd gawk && \
8670 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8671 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8672 "RANLIB=$${RANLIB}" \
8673 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8674 dvi) \
8675 || exit 1
8677 @endif gawk
8679 .PHONY: maybe-TAGS-gawk TAGS-gawk
8680 maybe-TAGS-gawk:
8681 @if gawk
8682 maybe-TAGS-gawk: TAGS-gawk
8684 TAGS-gawk: \
8685 configure-gawk
8686 @[ -f ./gawk/Makefile ] || exit 0; \
8687 r=`${PWD_COMMAND}`; export r; \
8688 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8689 $(SET_LIB_PATH) \
8690 $(HOST_EXPORTS) \
8691 for flag in $(EXTRA_HOST_FLAGS); do \
8692 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8693 done; \
8694 echo "Doing TAGS in gawk" ; \
8695 (cd gawk && \
8696 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8697 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8698 "RANLIB=$${RANLIB}" \
8699 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8700 TAGS) \
8701 || exit 1
8703 @endif gawk
8705 .PHONY: maybe-install-info-gawk install-info-gawk
8706 maybe-install-info-gawk:
8707 @if gawk
8708 maybe-install-info-gawk: install-info-gawk
8710 install-info-gawk: \
8711 configure-gawk \
8712 info-gawk
8713 @[ -f ./gawk/Makefile ] || exit 0; \
8714 r=`${PWD_COMMAND}`; export r; \
8715 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8716 $(SET_LIB_PATH) \
8717 $(HOST_EXPORTS) \
8718 for flag in $(EXTRA_HOST_FLAGS); do \
8719 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8720 done; \
8721 echo "Doing install-info in gawk" ; \
8722 (cd gawk && \
8723 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8724 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8725 "RANLIB=$${RANLIB}" \
8726 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8727 install-info) \
8728 || exit 1
8730 @endif gawk
8732 .PHONY: maybe-installcheck-gawk installcheck-gawk
8733 maybe-installcheck-gawk:
8734 @if gawk
8735 maybe-installcheck-gawk: installcheck-gawk
8737 installcheck-gawk: \
8738 configure-gawk
8739 @[ -f ./gawk/Makefile ] || exit 0; \
8740 r=`${PWD_COMMAND}`; export r; \
8741 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8742 $(SET_LIB_PATH) \
8743 $(HOST_EXPORTS) \
8744 for flag in $(EXTRA_HOST_FLAGS); do \
8745 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8746 done; \
8747 echo "Doing installcheck in gawk" ; \
8748 (cd gawk && \
8749 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8750 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8751 "RANLIB=$${RANLIB}" \
8752 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8753 installcheck) \
8754 || exit 1
8756 @endif gawk
8758 .PHONY: maybe-mostlyclean-gawk mostlyclean-gawk
8759 maybe-mostlyclean-gawk:
8760 @if gawk
8761 maybe-mostlyclean-gawk: mostlyclean-gawk
8763 mostlyclean-gawk:
8764 @[ -f ./gawk/Makefile ] || exit 0; \
8765 r=`${PWD_COMMAND}`; export r; \
8766 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8767 $(SET_LIB_PATH) \
8768 $(HOST_EXPORTS) \
8769 for flag in $(EXTRA_HOST_FLAGS); do \
8770 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8771 done; \
8772 echo "Doing mostlyclean in gawk" ; \
8773 (cd gawk && \
8774 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8775 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8776 "RANLIB=$${RANLIB}" \
8777 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8778 mostlyclean) \
8779 || exit 1
8781 @endif gawk
8783 .PHONY: maybe-clean-gawk clean-gawk
8784 maybe-clean-gawk:
8785 @if gawk
8786 maybe-clean-gawk: clean-gawk
8788 clean-gawk:
8789 @[ -f ./gawk/Makefile ] || exit 0; \
8790 r=`${PWD_COMMAND}`; export r; \
8791 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8792 $(SET_LIB_PATH) \
8793 $(HOST_EXPORTS) \
8794 for flag in $(EXTRA_HOST_FLAGS); do \
8795 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8796 done; \
8797 echo "Doing clean in gawk" ; \
8798 (cd gawk && \
8799 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8800 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8801 "RANLIB=$${RANLIB}" \
8802 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8803 clean) \
8804 || exit 1
8806 @endif gawk
8808 .PHONY: maybe-distclean-gawk distclean-gawk
8809 maybe-distclean-gawk:
8810 @if gawk
8811 maybe-distclean-gawk: distclean-gawk
8813 distclean-gawk:
8814 @[ -f ./gawk/Makefile ] || exit 0; \
8815 r=`${PWD_COMMAND}`; export r; \
8816 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8817 $(SET_LIB_PATH) \
8818 $(HOST_EXPORTS) \
8819 for flag in $(EXTRA_HOST_FLAGS); do \
8820 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8821 done; \
8822 echo "Doing distclean in gawk" ; \
8823 (cd gawk && \
8824 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8825 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8826 "RANLIB=$${RANLIB}" \
8827 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8828 distclean) \
8829 || exit 1
8831 @endif gawk
8833 .PHONY: maybe-maintainer-clean-gawk maintainer-clean-gawk
8834 maybe-maintainer-clean-gawk:
8835 @if gawk
8836 maybe-maintainer-clean-gawk: maintainer-clean-gawk
8838 maintainer-clean-gawk:
8839 @[ -f ./gawk/Makefile ] || exit 0; \
8840 r=`${PWD_COMMAND}`; export r; \
8841 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8842 $(SET_LIB_PATH) \
8843 $(HOST_EXPORTS) \
8844 for flag in $(EXTRA_HOST_FLAGS); do \
8845 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8846 done; \
8847 echo "Doing maintainer-clean in gawk" ; \
8848 (cd gawk && \
8849 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8850 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8851 "RANLIB=$${RANLIB}" \
8852 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8853 maintainer-clean) \
8854 || exit 1
8856 @endif gawk
8859 .PHONY: configure-gettext maybe-configure-gettext
8860 maybe-configure-gettext:
8861 @if gettext
8862 maybe-configure-gettext: configure-gettext
8863 configure-gettext:
8864 @test ! -f gettext/Makefile || exit 0; \
8865 [ -d gettext ] || mkdir gettext; \
8866 r=`${PWD_COMMAND}`; export r; \
8867 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8868 $(HOST_EXPORTS) \
8869 echo Configuring in gettext; \
8870 cd gettext || exit 1; \
8871 case $(srcdir) in \
8872 \.) \
8873 srcdiroption="--srcdir=."; \
8874 libsrcdir=".";; \
8875 /* | [A-Za-z]:[\\/]*) \
8876 srcdiroption="--srcdir=$(srcdir)/gettext"; \
8877 libsrcdir="$$s/gettext";; \
8878 *) \
8879 srcdiroption="--srcdir=../$(srcdir)/gettext"; \
8880 libsrcdir="$$s/gettext";; \
8881 esac; \
8882 $(SHELL) $${libsrcdir}/configure \
8883 $(HOST_CONFIGARGS) $${srcdiroption} \
8884 || exit 1
8885 @endif gettext
8887 .PHONY: all-gettext maybe-all-gettext
8888 maybe-all-gettext:
8889 @if gettext
8890 maybe-all-gettext: all-gettext
8891 all-gettext: configure-gettext
8892 @r=`${PWD_COMMAND}`; export r; \
8893 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8894 $(SET_LIB_PATH) \
8895 $(HOST_EXPORTS) \
8896 (cd gettext && $(MAKE) $(FLAGS_TO_PASS) all)
8897 @endif gettext
8899 .PHONY: check-gettext maybe-check-gettext
8900 maybe-check-gettext:
8901 @if gettext
8902 maybe-check-gettext: check-gettext
8904 check-gettext:
8905 @r=`${PWD_COMMAND}`; export r; \
8906 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8907 $(SET_LIB_PATH) \
8908 $(HOST_EXPORTS) \
8909 (cd gettext && $(MAKE) $(FLAGS_TO_PASS) check)
8911 @endif gettext
8913 .PHONY: install-gettext maybe-install-gettext
8914 maybe-install-gettext:
8915 @if gettext
8916 maybe-install-gettext: install-gettext
8918 install-gettext: installdirs
8919 @r=`${PWD_COMMAND}`; export r; \
8920 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8921 $(SET_LIB_PATH) \
8922 $(HOST_EXPORTS) \
8923 (cd gettext && $(MAKE) $(FLAGS_TO_PASS) install)
8925 @endif gettext
8927 # Other targets (info, dvi, etc.)
8929 .PHONY: maybe-info-gettext info-gettext
8930 maybe-info-gettext:
8931 @if gettext
8932 maybe-info-gettext: info-gettext
8934 info-gettext: \
8935 configure-gettext
8936 @[ -f ./gettext/Makefile ] || exit 0; \
8937 r=`${PWD_COMMAND}`; export r; \
8938 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8939 $(SET_LIB_PATH) \
8940 $(HOST_EXPORTS) \
8941 for flag in $(EXTRA_HOST_FLAGS); do \
8942 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8943 done; \
8944 echo "Doing info in gettext" ; \
8945 (cd gettext && \
8946 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8947 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8948 "RANLIB=$${RANLIB}" \
8949 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8950 info) \
8951 || exit 1
8953 @endif gettext
8955 .PHONY: maybe-dvi-gettext dvi-gettext
8956 maybe-dvi-gettext:
8957 @if gettext
8958 maybe-dvi-gettext: dvi-gettext
8960 dvi-gettext: \
8961 configure-gettext
8962 @[ -f ./gettext/Makefile ] || exit 0; \
8963 r=`${PWD_COMMAND}`; export r; \
8964 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8965 $(SET_LIB_PATH) \
8966 $(HOST_EXPORTS) \
8967 for flag in $(EXTRA_HOST_FLAGS); do \
8968 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8969 done; \
8970 echo "Doing dvi in gettext" ; \
8971 (cd gettext && \
8972 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8973 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8974 "RANLIB=$${RANLIB}" \
8975 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8976 dvi) \
8977 || exit 1
8979 @endif gettext
8981 .PHONY: maybe-TAGS-gettext TAGS-gettext
8982 maybe-TAGS-gettext:
8983 @if gettext
8984 maybe-TAGS-gettext: TAGS-gettext
8986 TAGS-gettext: \
8987 configure-gettext
8988 @[ -f ./gettext/Makefile ] || exit 0; \
8989 r=`${PWD_COMMAND}`; export r; \
8990 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8991 $(SET_LIB_PATH) \
8992 $(HOST_EXPORTS) \
8993 for flag in $(EXTRA_HOST_FLAGS); do \
8994 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8995 done; \
8996 echo "Doing TAGS in gettext" ; \
8997 (cd gettext && \
8998 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8999 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9000 "RANLIB=$${RANLIB}" \
9001 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9002 TAGS) \
9003 || exit 1
9005 @endif gettext
9007 .PHONY: maybe-install-info-gettext install-info-gettext
9008 maybe-install-info-gettext:
9009 @if gettext
9010 maybe-install-info-gettext: install-info-gettext
9012 install-info-gettext: \
9013 configure-gettext \
9014 info-gettext
9015 @[ -f ./gettext/Makefile ] || exit 0; \
9016 r=`${PWD_COMMAND}`; export r; \
9017 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9018 $(SET_LIB_PATH) \
9019 $(HOST_EXPORTS) \
9020 for flag in $(EXTRA_HOST_FLAGS); do \
9021 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9022 done; \
9023 echo "Doing install-info in gettext" ; \
9024 (cd gettext && \
9025 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9026 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9027 "RANLIB=$${RANLIB}" \
9028 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9029 install-info) \
9030 || exit 1
9032 @endif gettext
9034 .PHONY: maybe-installcheck-gettext installcheck-gettext
9035 maybe-installcheck-gettext:
9036 @if gettext
9037 maybe-installcheck-gettext: installcheck-gettext
9039 installcheck-gettext: \
9040 configure-gettext
9041 @[ -f ./gettext/Makefile ] || exit 0; \
9042 r=`${PWD_COMMAND}`; export r; \
9043 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9044 $(SET_LIB_PATH) \
9045 $(HOST_EXPORTS) \
9046 for flag in $(EXTRA_HOST_FLAGS); do \
9047 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9048 done; \
9049 echo "Doing installcheck in gettext" ; \
9050 (cd gettext && \
9051 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9052 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9053 "RANLIB=$${RANLIB}" \
9054 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9055 installcheck) \
9056 || exit 1
9058 @endif gettext
9060 .PHONY: maybe-mostlyclean-gettext mostlyclean-gettext
9061 maybe-mostlyclean-gettext:
9062 @if gettext
9063 maybe-mostlyclean-gettext: mostlyclean-gettext
9065 mostlyclean-gettext:
9066 @[ -f ./gettext/Makefile ] || exit 0; \
9067 r=`${PWD_COMMAND}`; export r; \
9068 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9069 $(SET_LIB_PATH) \
9070 $(HOST_EXPORTS) \
9071 for flag in $(EXTRA_HOST_FLAGS); do \
9072 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9073 done; \
9074 echo "Doing mostlyclean in gettext" ; \
9075 (cd gettext && \
9076 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9077 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9078 "RANLIB=$${RANLIB}" \
9079 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9080 mostlyclean) \
9081 || exit 1
9083 @endif gettext
9085 .PHONY: maybe-clean-gettext clean-gettext
9086 maybe-clean-gettext:
9087 @if gettext
9088 maybe-clean-gettext: clean-gettext
9090 clean-gettext:
9091 @[ -f ./gettext/Makefile ] || exit 0; \
9092 r=`${PWD_COMMAND}`; export r; \
9093 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9094 $(SET_LIB_PATH) \
9095 $(HOST_EXPORTS) \
9096 for flag in $(EXTRA_HOST_FLAGS); do \
9097 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9098 done; \
9099 echo "Doing clean in gettext" ; \
9100 (cd gettext && \
9101 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9102 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9103 "RANLIB=$${RANLIB}" \
9104 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9105 clean) \
9106 || exit 1
9108 @endif gettext
9110 .PHONY: maybe-distclean-gettext distclean-gettext
9111 maybe-distclean-gettext:
9112 @if gettext
9113 maybe-distclean-gettext: distclean-gettext
9115 distclean-gettext:
9116 @[ -f ./gettext/Makefile ] || exit 0; \
9117 r=`${PWD_COMMAND}`; export r; \
9118 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9119 $(SET_LIB_PATH) \
9120 $(HOST_EXPORTS) \
9121 for flag in $(EXTRA_HOST_FLAGS); do \
9122 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9123 done; \
9124 echo "Doing distclean in gettext" ; \
9125 (cd gettext && \
9126 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9127 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9128 "RANLIB=$${RANLIB}" \
9129 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9130 distclean) \
9131 || exit 1
9133 @endif gettext
9135 .PHONY: maybe-maintainer-clean-gettext maintainer-clean-gettext
9136 maybe-maintainer-clean-gettext:
9137 @if gettext
9138 maybe-maintainer-clean-gettext: maintainer-clean-gettext
9140 maintainer-clean-gettext:
9141 @[ -f ./gettext/Makefile ] || exit 0; \
9142 r=`${PWD_COMMAND}`; export r; \
9143 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9144 $(SET_LIB_PATH) \
9145 $(HOST_EXPORTS) \
9146 for flag in $(EXTRA_HOST_FLAGS); do \
9147 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9148 done; \
9149 echo "Doing maintainer-clean in gettext" ; \
9150 (cd gettext && \
9151 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9152 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9153 "RANLIB=$${RANLIB}" \
9154 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9155 maintainer-clean) \
9156 || exit 1
9158 @endif gettext
9161 .PHONY: configure-gnuserv maybe-configure-gnuserv
9162 maybe-configure-gnuserv:
9163 @if gnuserv
9164 maybe-configure-gnuserv: configure-gnuserv
9165 configure-gnuserv:
9166 @test ! -f gnuserv/Makefile || exit 0; \
9167 [ -d gnuserv ] || mkdir gnuserv; \
9168 r=`${PWD_COMMAND}`; export r; \
9169 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9170 $(HOST_EXPORTS) \
9171 echo Configuring in gnuserv; \
9172 cd gnuserv || exit 1; \
9173 case $(srcdir) in \
9174 \.) \
9175 srcdiroption="--srcdir=."; \
9176 libsrcdir=".";; \
9177 /* | [A-Za-z]:[\\/]*) \
9178 srcdiroption="--srcdir=$(srcdir)/gnuserv"; \
9179 libsrcdir="$$s/gnuserv";; \
9180 *) \
9181 srcdiroption="--srcdir=../$(srcdir)/gnuserv"; \
9182 libsrcdir="$$s/gnuserv";; \
9183 esac; \
9184 $(SHELL) $${libsrcdir}/configure \
9185 $(HOST_CONFIGARGS) $${srcdiroption} \
9186 || exit 1
9187 @endif gnuserv
9189 .PHONY: all-gnuserv maybe-all-gnuserv
9190 maybe-all-gnuserv:
9191 @if gnuserv
9192 maybe-all-gnuserv: all-gnuserv
9193 all-gnuserv: configure-gnuserv
9194 @r=`${PWD_COMMAND}`; export r; \
9195 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9196 $(SET_LIB_PATH) \
9197 $(HOST_EXPORTS) \
9198 (cd gnuserv && $(MAKE) $(FLAGS_TO_PASS) all)
9199 @endif gnuserv
9201 .PHONY: check-gnuserv maybe-check-gnuserv
9202 maybe-check-gnuserv:
9203 @if gnuserv
9204 maybe-check-gnuserv: check-gnuserv
9206 check-gnuserv:
9207 @r=`${PWD_COMMAND}`; export r; \
9208 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9209 $(SET_LIB_PATH) \
9210 $(HOST_EXPORTS) \
9211 (cd gnuserv && $(MAKE) $(FLAGS_TO_PASS) check)
9213 @endif gnuserv
9215 .PHONY: install-gnuserv maybe-install-gnuserv
9216 maybe-install-gnuserv:
9217 @if gnuserv
9218 maybe-install-gnuserv: install-gnuserv
9220 install-gnuserv: installdirs
9221 @r=`${PWD_COMMAND}`; export r; \
9222 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9223 $(SET_LIB_PATH) \
9224 $(HOST_EXPORTS) \
9225 (cd gnuserv && $(MAKE) $(FLAGS_TO_PASS) install)
9227 @endif gnuserv
9229 # Other targets (info, dvi, etc.)
9231 .PHONY: maybe-info-gnuserv info-gnuserv
9232 maybe-info-gnuserv:
9233 @if gnuserv
9234 maybe-info-gnuserv: info-gnuserv
9236 info-gnuserv: \
9237 configure-gnuserv
9238 @[ -f ./gnuserv/Makefile ] || exit 0; \
9239 r=`${PWD_COMMAND}`; export r; \
9240 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9241 $(SET_LIB_PATH) \
9242 $(HOST_EXPORTS) \
9243 for flag in $(EXTRA_HOST_FLAGS); do \
9244 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9245 done; \
9246 echo "Doing info in gnuserv" ; \
9247 (cd gnuserv && \
9248 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9249 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9250 "RANLIB=$${RANLIB}" \
9251 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9252 info) \
9253 || exit 1
9255 @endif gnuserv
9257 .PHONY: maybe-dvi-gnuserv dvi-gnuserv
9258 maybe-dvi-gnuserv:
9259 @if gnuserv
9260 maybe-dvi-gnuserv: dvi-gnuserv
9262 dvi-gnuserv: \
9263 configure-gnuserv
9264 @[ -f ./gnuserv/Makefile ] || exit 0; \
9265 r=`${PWD_COMMAND}`; export r; \
9266 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9267 $(SET_LIB_PATH) \
9268 $(HOST_EXPORTS) \
9269 for flag in $(EXTRA_HOST_FLAGS); do \
9270 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9271 done; \
9272 echo "Doing dvi in gnuserv" ; \
9273 (cd gnuserv && \
9274 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9275 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9276 "RANLIB=$${RANLIB}" \
9277 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9278 dvi) \
9279 || exit 1
9281 @endif gnuserv
9283 .PHONY: maybe-TAGS-gnuserv TAGS-gnuserv
9284 maybe-TAGS-gnuserv:
9285 @if gnuserv
9286 maybe-TAGS-gnuserv: TAGS-gnuserv
9288 TAGS-gnuserv: \
9289 configure-gnuserv
9290 @[ -f ./gnuserv/Makefile ] || exit 0; \
9291 r=`${PWD_COMMAND}`; export r; \
9292 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9293 $(SET_LIB_PATH) \
9294 $(HOST_EXPORTS) \
9295 for flag in $(EXTRA_HOST_FLAGS); do \
9296 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9297 done; \
9298 echo "Doing TAGS in gnuserv" ; \
9299 (cd gnuserv && \
9300 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9301 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9302 "RANLIB=$${RANLIB}" \
9303 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9304 TAGS) \
9305 || exit 1
9307 @endif gnuserv
9309 .PHONY: maybe-install-info-gnuserv install-info-gnuserv
9310 maybe-install-info-gnuserv:
9311 @if gnuserv
9312 maybe-install-info-gnuserv: install-info-gnuserv
9314 install-info-gnuserv: \
9315 configure-gnuserv \
9316 info-gnuserv
9317 @[ -f ./gnuserv/Makefile ] || exit 0; \
9318 r=`${PWD_COMMAND}`; export r; \
9319 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9320 $(SET_LIB_PATH) \
9321 $(HOST_EXPORTS) \
9322 for flag in $(EXTRA_HOST_FLAGS); do \
9323 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9324 done; \
9325 echo "Doing install-info in gnuserv" ; \
9326 (cd gnuserv && \
9327 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9328 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9329 "RANLIB=$${RANLIB}" \
9330 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9331 install-info) \
9332 || exit 1
9334 @endif gnuserv
9336 .PHONY: maybe-installcheck-gnuserv installcheck-gnuserv
9337 maybe-installcheck-gnuserv:
9338 @if gnuserv
9339 maybe-installcheck-gnuserv: installcheck-gnuserv
9341 installcheck-gnuserv: \
9342 configure-gnuserv
9343 @[ -f ./gnuserv/Makefile ] || exit 0; \
9344 r=`${PWD_COMMAND}`; export r; \
9345 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9346 $(SET_LIB_PATH) \
9347 $(HOST_EXPORTS) \
9348 for flag in $(EXTRA_HOST_FLAGS); do \
9349 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9350 done; \
9351 echo "Doing installcheck in gnuserv" ; \
9352 (cd gnuserv && \
9353 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9354 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9355 "RANLIB=$${RANLIB}" \
9356 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9357 installcheck) \
9358 || exit 1
9360 @endif gnuserv
9362 .PHONY: maybe-mostlyclean-gnuserv mostlyclean-gnuserv
9363 maybe-mostlyclean-gnuserv:
9364 @if gnuserv
9365 maybe-mostlyclean-gnuserv: mostlyclean-gnuserv
9367 mostlyclean-gnuserv:
9368 @[ -f ./gnuserv/Makefile ] || exit 0; \
9369 r=`${PWD_COMMAND}`; export r; \
9370 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9371 $(SET_LIB_PATH) \
9372 $(HOST_EXPORTS) \
9373 for flag in $(EXTRA_HOST_FLAGS); do \
9374 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9375 done; \
9376 echo "Doing mostlyclean in gnuserv" ; \
9377 (cd gnuserv && \
9378 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9379 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9380 "RANLIB=$${RANLIB}" \
9381 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9382 mostlyclean) \
9383 || exit 1
9385 @endif gnuserv
9387 .PHONY: maybe-clean-gnuserv clean-gnuserv
9388 maybe-clean-gnuserv:
9389 @if gnuserv
9390 maybe-clean-gnuserv: clean-gnuserv
9392 clean-gnuserv:
9393 @[ -f ./gnuserv/Makefile ] || exit 0; \
9394 r=`${PWD_COMMAND}`; export r; \
9395 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9396 $(SET_LIB_PATH) \
9397 $(HOST_EXPORTS) \
9398 for flag in $(EXTRA_HOST_FLAGS); do \
9399 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9400 done; \
9401 echo "Doing clean in gnuserv" ; \
9402 (cd gnuserv && \
9403 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9404 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9405 "RANLIB=$${RANLIB}" \
9406 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9407 clean) \
9408 || exit 1
9410 @endif gnuserv
9412 .PHONY: maybe-distclean-gnuserv distclean-gnuserv
9413 maybe-distclean-gnuserv:
9414 @if gnuserv
9415 maybe-distclean-gnuserv: distclean-gnuserv
9417 distclean-gnuserv:
9418 @[ -f ./gnuserv/Makefile ] || exit 0; \
9419 r=`${PWD_COMMAND}`; export r; \
9420 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9421 $(SET_LIB_PATH) \
9422 $(HOST_EXPORTS) \
9423 for flag in $(EXTRA_HOST_FLAGS); do \
9424 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9425 done; \
9426 echo "Doing distclean in gnuserv" ; \
9427 (cd gnuserv && \
9428 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9429 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9430 "RANLIB=$${RANLIB}" \
9431 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9432 distclean) \
9433 || exit 1
9435 @endif gnuserv
9437 .PHONY: maybe-maintainer-clean-gnuserv maintainer-clean-gnuserv
9438 maybe-maintainer-clean-gnuserv:
9439 @if gnuserv
9440 maybe-maintainer-clean-gnuserv: maintainer-clean-gnuserv
9442 maintainer-clean-gnuserv:
9443 @[ -f ./gnuserv/Makefile ] || exit 0; \
9444 r=`${PWD_COMMAND}`; export r; \
9445 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9446 $(SET_LIB_PATH) \
9447 $(HOST_EXPORTS) \
9448 for flag in $(EXTRA_HOST_FLAGS); do \
9449 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9450 done; \
9451 echo "Doing maintainer-clean in gnuserv" ; \
9452 (cd gnuserv && \
9453 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9454 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9455 "RANLIB=$${RANLIB}" \
9456 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9457 maintainer-clean) \
9458 || exit 1
9460 @endif gnuserv
9463 .PHONY: configure-gprof maybe-configure-gprof
9464 maybe-configure-gprof:
9465 @if gprof
9466 maybe-configure-gprof: configure-gprof
9467 configure-gprof:
9468 @test ! -f gprof/Makefile || exit 0; \
9469 [ -d gprof ] || mkdir gprof; \
9470 r=`${PWD_COMMAND}`; export r; \
9471 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9472 $(HOST_EXPORTS) \
9473 echo Configuring in gprof; \
9474 cd gprof || exit 1; \
9475 case $(srcdir) in \
9476 \.) \
9477 srcdiroption="--srcdir=."; \
9478 libsrcdir=".";; \
9479 /* | [A-Za-z]:[\\/]*) \
9480 srcdiroption="--srcdir=$(srcdir)/gprof"; \
9481 libsrcdir="$$s/gprof";; \
9482 *) \
9483 srcdiroption="--srcdir=../$(srcdir)/gprof"; \
9484 libsrcdir="$$s/gprof";; \
9485 esac; \
9486 $(SHELL) $${libsrcdir}/configure \
9487 $(HOST_CONFIGARGS) $${srcdiroption} \
9488 || exit 1
9489 @endif gprof
9491 .PHONY: all-gprof maybe-all-gprof
9492 maybe-all-gprof:
9493 @if gprof
9494 maybe-all-gprof: all-gprof
9495 all-gprof: configure-gprof
9496 @r=`${PWD_COMMAND}`; export r; \
9497 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9498 $(SET_LIB_PATH) \
9499 $(HOST_EXPORTS) \
9500 (cd gprof && $(MAKE) $(FLAGS_TO_PASS) all)
9501 @endif gprof
9503 .PHONY: check-gprof maybe-check-gprof
9504 maybe-check-gprof:
9505 @if gprof
9506 maybe-check-gprof: check-gprof
9508 check-gprof:
9509 @r=`${PWD_COMMAND}`; export r; \
9510 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9511 $(SET_LIB_PATH) \
9512 $(HOST_EXPORTS) \
9513 (cd gprof && $(MAKE) $(FLAGS_TO_PASS) check)
9515 @endif gprof
9517 .PHONY: install-gprof maybe-install-gprof
9518 maybe-install-gprof:
9519 @if gprof
9520 maybe-install-gprof: install-gprof
9522 install-gprof: installdirs
9523 @r=`${PWD_COMMAND}`; export r; \
9524 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9525 $(SET_LIB_PATH) \
9526 $(HOST_EXPORTS) \
9527 (cd gprof && $(MAKE) $(FLAGS_TO_PASS) install)
9529 @endif gprof
9531 # Other targets (info, dvi, etc.)
9533 .PHONY: maybe-info-gprof info-gprof
9534 maybe-info-gprof:
9535 @if gprof
9536 maybe-info-gprof: info-gprof
9538 info-gprof: \
9539 configure-gprof
9540 @[ -f ./gprof/Makefile ] || exit 0; \
9541 r=`${PWD_COMMAND}`; export r; \
9542 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9543 $(SET_LIB_PATH) \
9544 $(HOST_EXPORTS) \
9545 for flag in $(EXTRA_HOST_FLAGS); do \
9546 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9547 done; \
9548 echo "Doing info in gprof" ; \
9549 (cd gprof && \
9550 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9551 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9552 "RANLIB=$${RANLIB}" \
9553 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9554 info) \
9555 || exit 1
9557 @endif gprof
9559 .PHONY: maybe-dvi-gprof dvi-gprof
9560 maybe-dvi-gprof:
9561 @if gprof
9562 maybe-dvi-gprof: dvi-gprof
9564 dvi-gprof: \
9565 configure-gprof
9566 @[ -f ./gprof/Makefile ] || exit 0; \
9567 r=`${PWD_COMMAND}`; export r; \
9568 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9569 $(SET_LIB_PATH) \
9570 $(HOST_EXPORTS) \
9571 for flag in $(EXTRA_HOST_FLAGS); do \
9572 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9573 done; \
9574 echo "Doing dvi in gprof" ; \
9575 (cd gprof && \
9576 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9577 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9578 "RANLIB=$${RANLIB}" \
9579 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9580 dvi) \
9581 || exit 1
9583 @endif gprof
9585 .PHONY: maybe-TAGS-gprof TAGS-gprof
9586 maybe-TAGS-gprof:
9587 @if gprof
9588 maybe-TAGS-gprof: TAGS-gprof
9590 TAGS-gprof: \
9591 configure-gprof
9592 @[ -f ./gprof/Makefile ] || exit 0; \
9593 r=`${PWD_COMMAND}`; export r; \
9594 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9595 $(SET_LIB_PATH) \
9596 $(HOST_EXPORTS) \
9597 for flag in $(EXTRA_HOST_FLAGS); do \
9598 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9599 done; \
9600 echo "Doing TAGS in gprof" ; \
9601 (cd gprof && \
9602 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9603 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9604 "RANLIB=$${RANLIB}" \
9605 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9606 TAGS) \
9607 || exit 1
9609 @endif gprof
9611 .PHONY: maybe-install-info-gprof install-info-gprof
9612 maybe-install-info-gprof:
9613 @if gprof
9614 maybe-install-info-gprof: install-info-gprof
9616 install-info-gprof: \
9617 configure-gprof \
9618 info-gprof
9619 @[ -f ./gprof/Makefile ] || exit 0; \
9620 r=`${PWD_COMMAND}`; export r; \
9621 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9622 $(SET_LIB_PATH) \
9623 $(HOST_EXPORTS) \
9624 for flag in $(EXTRA_HOST_FLAGS); do \
9625 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9626 done; \
9627 echo "Doing install-info in gprof" ; \
9628 (cd gprof && \
9629 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9630 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9631 "RANLIB=$${RANLIB}" \
9632 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9633 install-info) \
9634 || exit 1
9636 @endif gprof
9638 .PHONY: maybe-installcheck-gprof installcheck-gprof
9639 maybe-installcheck-gprof:
9640 @if gprof
9641 maybe-installcheck-gprof: installcheck-gprof
9643 installcheck-gprof: \
9644 configure-gprof
9645 @[ -f ./gprof/Makefile ] || exit 0; \
9646 r=`${PWD_COMMAND}`; export r; \
9647 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9648 $(SET_LIB_PATH) \
9649 $(HOST_EXPORTS) \
9650 for flag in $(EXTRA_HOST_FLAGS); do \
9651 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9652 done; \
9653 echo "Doing installcheck in gprof" ; \
9654 (cd gprof && \
9655 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9656 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9657 "RANLIB=$${RANLIB}" \
9658 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9659 installcheck) \
9660 || exit 1
9662 @endif gprof
9664 .PHONY: maybe-mostlyclean-gprof mostlyclean-gprof
9665 maybe-mostlyclean-gprof:
9666 @if gprof
9667 maybe-mostlyclean-gprof: mostlyclean-gprof
9669 mostlyclean-gprof:
9670 @[ -f ./gprof/Makefile ] || exit 0; \
9671 r=`${PWD_COMMAND}`; export r; \
9672 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9673 $(SET_LIB_PATH) \
9674 $(HOST_EXPORTS) \
9675 for flag in $(EXTRA_HOST_FLAGS); do \
9676 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9677 done; \
9678 echo "Doing mostlyclean in gprof" ; \
9679 (cd gprof && \
9680 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9681 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9682 "RANLIB=$${RANLIB}" \
9683 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9684 mostlyclean) \
9685 || exit 1
9687 @endif gprof
9689 .PHONY: maybe-clean-gprof clean-gprof
9690 maybe-clean-gprof:
9691 @if gprof
9692 maybe-clean-gprof: clean-gprof
9694 clean-gprof:
9695 @[ -f ./gprof/Makefile ] || exit 0; \
9696 r=`${PWD_COMMAND}`; export r; \
9697 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9698 $(SET_LIB_PATH) \
9699 $(HOST_EXPORTS) \
9700 for flag in $(EXTRA_HOST_FLAGS); do \
9701 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9702 done; \
9703 echo "Doing clean in gprof" ; \
9704 (cd gprof && \
9705 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9706 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9707 "RANLIB=$${RANLIB}" \
9708 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9709 clean) \
9710 || exit 1
9712 @endif gprof
9714 .PHONY: maybe-distclean-gprof distclean-gprof
9715 maybe-distclean-gprof:
9716 @if gprof
9717 maybe-distclean-gprof: distclean-gprof
9719 distclean-gprof:
9720 @[ -f ./gprof/Makefile ] || exit 0; \
9721 r=`${PWD_COMMAND}`; export r; \
9722 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9723 $(SET_LIB_PATH) \
9724 $(HOST_EXPORTS) \
9725 for flag in $(EXTRA_HOST_FLAGS); do \
9726 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9727 done; \
9728 echo "Doing distclean in gprof" ; \
9729 (cd gprof && \
9730 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9731 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9732 "RANLIB=$${RANLIB}" \
9733 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9734 distclean) \
9735 || exit 1
9737 @endif gprof
9739 .PHONY: maybe-maintainer-clean-gprof maintainer-clean-gprof
9740 maybe-maintainer-clean-gprof:
9741 @if gprof
9742 maybe-maintainer-clean-gprof: maintainer-clean-gprof
9744 maintainer-clean-gprof:
9745 @[ -f ./gprof/Makefile ] || exit 0; \
9746 r=`${PWD_COMMAND}`; export r; \
9747 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9748 $(SET_LIB_PATH) \
9749 $(HOST_EXPORTS) \
9750 for flag in $(EXTRA_HOST_FLAGS); do \
9751 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9752 done; \
9753 echo "Doing maintainer-clean in gprof" ; \
9754 (cd gprof && \
9755 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9756 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9757 "RANLIB=$${RANLIB}" \
9758 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9759 maintainer-clean) \
9760 || exit 1
9762 @endif gprof
9765 .PHONY: configure-gzip maybe-configure-gzip
9766 maybe-configure-gzip:
9767 @if gzip
9768 maybe-configure-gzip: configure-gzip
9769 configure-gzip:
9770 @test ! -f gzip/Makefile || exit 0; \
9771 [ -d gzip ] || mkdir gzip; \
9772 r=`${PWD_COMMAND}`; export r; \
9773 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9774 $(HOST_EXPORTS) \
9775 echo Configuring in gzip; \
9776 cd gzip || exit 1; \
9777 case $(srcdir) in \
9778 \.) \
9779 srcdiroption="--srcdir=."; \
9780 libsrcdir=".";; \
9781 /* | [A-Za-z]:[\\/]*) \
9782 srcdiroption="--srcdir=$(srcdir)/gzip"; \
9783 libsrcdir="$$s/gzip";; \
9784 *) \
9785 srcdiroption="--srcdir=../$(srcdir)/gzip"; \
9786 libsrcdir="$$s/gzip";; \
9787 esac; \
9788 $(SHELL) $${libsrcdir}/configure \
9789 $(HOST_CONFIGARGS) $${srcdiroption} \
9790 || exit 1
9791 @endif gzip
9793 .PHONY: all-gzip maybe-all-gzip
9794 maybe-all-gzip:
9795 @if gzip
9796 maybe-all-gzip: all-gzip
9797 all-gzip: configure-gzip
9798 @r=`${PWD_COMMAND}`; export r; \
9799 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9800 $(SET_LIB_PATH) \
9801 $(HOST_EXPORTS) \
9802 (cd gzip && $(MAKE) $(FLAGS_TO_PASS) all)
9803 @endif gzip
9805 .PHONY: check-gzip maybe-check-gzip
9806 maybe-check-gzip:
9807 @if gzip
9808 maybe-check-gzip: check-gzip
9810 check-gzip:
9811 @r=`${PWD_COMMAND}`; export r; \
9812 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9813 $(SET_LIB_PATH) \
9814 $(HOST_EXPORTS) \
9815 (cd gzip && $(MAKE) $(FLAGS_TO_PASS) check)
9817 @endif gzip
9819 .PHONY: install-gzip maybe-install-gzip
9820 maybe-install-gzip:
9821 @if gzip
9822 maybe-install-gzip: install-gzip
9824 install-gzip: installdirs
9825 @r=`${PWD_COMMAND}`; export r; \
9826 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9827 $(SET_LIB_PATH) \
9828 $(HOST_EXPORTS) \
9829 (cd gzip && $(MAKE) $(FLAGS_TO_PASS) install)
9831 @endif gzip
9833 # Other targets (info, dvi, etc.)
9835 .PHONY: maybe-info-gzip info-gzip
9836 maybe-info-gzip:
9837 @if gzip
9838 maybe-info-gzip: info-gzip
9840 info-gzip: \
9841 configure-gzip
9842 @[ -f ./gzip/Makefile ] || exit 0; \
9843 r=`${PWD_COMMAND}`; export r; \
9844 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9845 $(SET_LIB_PATH) \
9846 $(HOST_EXPORTS) \
9847 for flag in $(EXTRA_HOST_FLAGS); do \
9848 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9849 done; \
9850 echo "Doing info in gzip" ; \
9851 (cd gzip && \
9852 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9853 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9854 "RANLIB=$${RANLIB}" \
9855 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9856 info) \
9857 || exit 1
9859 @endif gzip
9861 .PHONY: maybe-dvi-gzip dvi-gzip
9862 maybe-dvi-gzip:
9863 @if gzip
9864 maybe-dvi-gzip: dvi-gzip
9866 dvi-gzip: \
9867 configure-gzip
9868 @[ -f ./gzip/Makefile ] || exit 0; \
9869 r=`${PWD_COMMAND}`; export r; \
9870 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9871 $(SET_LIB_PATH) \
9872 $(HOST_EXPORTS) \
9873 for flag in $(EXTRA_HOST_FLAGS); do \
9874 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9875 done; \
9876 echo "Doing dvi in gzip" ; \
9877 (cd gzip && \
9878 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9879 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9880 "RANLIB=$${RANLIB}" \
9881 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9882 dvi) \
9883 || exit 1
9885 @endif gzip
9887 .PHONY: maybe-TAGS-gzip TAGS-gzip
9888 maybe-TAGS-gzip:
9889 @if gzip
9890 maybe-TAGS-gzip: TAGS-gzip
9892 TAGS-gzip: \
9893 configure-gzip
9894 @[ -f ./gzip/Makefile ] || exit 0; \
9895 r=`${PWD_COMMAND}`; export r; \
9896 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9897 $(SET_LIB_PATH) \
9898 $(HOST_EXPORTS) \
9899 for flag in $(EXTRA_HOST_FLAGS); do \
9900 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9901 done; \
9902 echo "Doing TAGS in gzip" ; \
9903 (cd gzip && \
9904 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9905 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9906 "RANLIB=$${RANLIB}" \
9907 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9908 TAGS) \
9909 || exit 1
9911 @endif gzip
9913 .PHONY: maybe-install-info-gzip install-info-gzip
9914 maybe-install-info-gzip:
9915 @if gzip
9916 maybe-install-info-gzip: install-info-gzip
9918 install-info-gzip: \
9919 configure-gzip \
9920 info-gzip
9921 @[ -f ./gzip/Makefile ] || exit 0; \
9922 r=`${PWD_COMMAND}`; export r; \
9923 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9924 $(SET_LIB_PATH) \
9925 $(HOST_EXPORTS) \
9926 for flag in $(EXTRA_HOST_FLAGS); do \
9927 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9928 done; \
9929 echo "Doing install-info in gzip" ; \
9930 (cd gzip && \
9931 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9932 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9933 "RANLIB=$${RANLIB}" \
9934 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9935 install-info) \
9936 || exit 1
9938 @endif gzip
9940 .PHONY: maybe-installcheck-gzip installcheck-gzip
9941 maybe-installcheck-gzip:
9942 @if gzip
9943 maybe-installcheck-gzip: installcheck-gzip
9945 installcheck-gzip: \
9946 configure-gzip
9947 @[ -f ./gzip/Makefile ] || exit 0; \
9948 r=`${PWD_COMMAND}`; export r; \
9949 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9950 $(SET_LIB_PATH) \
9951 $(HOST_EXPORTS) \
9952 for flag in $(EXTRA_HOST_FLAGS); do \
9953 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9954 done; \
9955 echo "Doing installcheck in gzip" ; \
9956 (cd gzip && \
9957 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9958 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9959 "RANLIB=$${RANLIB}" \
9960 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9961 installcheck) \
9962 || exit 1
9964 @endif gzip
9966 .PHONY: maybe-mostlyclean-gzip mostlyclean-gzip
9967 maybe-mostlyclean-gzip:
9968 @if gzip
9969 maybe-mostlyclean-gzip: mostlyclean-gzip
9971 mostlyclean-gzip:
9972 @[ -f ./gzip/Makefile ] || exit 0; \
9973 r=`${PWD_COMMAND}`; export r; \
9974 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9975 $(SET_LIB_PATH) \
9976 $(HOST_EXPORTS) \
9977 for flag in $(EXTRA_HOST_FLAGS); do \
9978 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9979 done; \
9980 echo "Doing mostlyclean in gzip" ; \
9981 (cd gzip && \
9982 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9983 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9984 "RANLIB=$${RANLIB}" \
9985 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9986 mostlyclean) \
9987 || exit 1
9989 @endif gzip
9991 .PHONY: maybe-clean-gzip clean-gzip
9992 maybe-clean-gzip:
9993 @if gzip
9994 maybe-clean-gzip: clean-gzip
9996 clean-gzip:
9997 @[ -f ./gzip/Makefile ] || exit 0; \
9998 r=`${PWD_COMMAND}`; export r; \
9999 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10000 $(SET_LIB_PATH) \
10001 $(HOST_EXPORTS) \
10002 for flag in $(EXTRA_HOST_FLAGS); do \
10003 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10004 done; \
10005 echo "Doing clean in gzip" ; \
10006 (cd gzip && \
10007 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10008 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10009 "RANLIB=$${RANLIB}" \
10010 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10011 clean) \
10012 || exit 1
10014 @endif gzip
10016 .PHONY: maybe-distclean-gzip distclean-gzip
10017 maybe-distclean-gzip:
10018 @if gzip
10019 maybe-distclean-gzip: distclean-gzip
10021 distclean-gzip:
10022 @[ -f ./gzip/Makefile ] || exit 0; \
10023 r=`${PWD_COMMAND}`; export r; \
10024 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10025 $(SET_LIB_PATH) \
10026 $(HOST_EXPORTS) \
10027 for flag in $(EXTRA_HOST_FLAGS); do \
10028 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10029 done; \
10030 echo "Doing distclean in gzip" ; \
10031 (cd gzip && \
10032 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10033 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10034 "RANLIB=$${RANLIB}" \
10035 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10036 distclean) \
10037 || exit 1
10039 @endif gzip
10041 .PHONY: maybe-maintainer-clean-gzip maintainer-clean-gzip
10042 maybe-maintainer-clean-gzip:
10043 @if gzip
10044 maybe-maintainer-clean-gzip: maintainer-clean-gzip
10046 maintainer-clean-gzip:
10047 @[ -f ./gzip/Makefile ] || exit 0; \
10048 r=`${PWD_COMMAND}`; export r; \
10049 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10050 $(SET_LIB_PATH) \
10051 $(HOST_EXPORTS) \
10052 for flag in $(EXTRA_HOST_FLAGS); do \
10053 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10054 done; \
10055 echo "Doing maintainer-clean in gzip" ; \
10056 (cd gzip && \
10057 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10058 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10059 "RANLIB=$${RANLIB}" \
10060 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10061 maintainer-clean) \
10062 || exit 1
10064 @endif gzip
10067 .PHONY: configure-hello maybe-configure-hello
10068 maybe-configure-hello:
10069 @if hello
10070 maybe-configure-hello: configure-hello
10071 configure-hello:
10072 @test ! -f hello/Makefile || exit 0; \
10073 [ -d hello ] || mkdir hello; \
10074 r=`${PWD_COMMAND}`; export r; \
10075 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10076 $(HOST_EXPORTS) \
10077 echo Configuring in hello; \
10078 cd hello || exit 1; \
10079 case $(srcdir) in \
10080 \.) \
10081 srcdiroption="--srcdir=."; \
10082 libsrcdir=".";; \
10083 /* | [A-Za-z]:[\\/]*) \
10084 srcdiroption="--srcdir=$(srcdir)/hello"; \
10085 libsrcdir="$$s/hello";; \
10086 *) \
10087 srcdiroption="--srcdir=../$(srcdir)/hello"; \
10088 libsrcdir="$$s/hello";; \
10089 esac; \
10090 $(SHELL) $${libsrcdir}/configure \
10091 $(HOST_CONFIGARGS) $${srcdiroption} \
10092 || exit 1
10093 @endif hello
10095 .PHONY: all-hello maybe-all-hello
10096 maybe-all-hello:
10097 @if hello
10098 maybe-all-hello: all-hello
10099 all-hello: configure-hello
10100 @r=`${PWD_COMMAND}`; export r; \
10101 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10102 $(SET_LIB_PATH) \
10103 $(HOST_EXPORTS) \
10104 (cd hello && $(MAKE) $(FLAGS_TO_PASS) all)
10105 @endif hello
10107 .PHONY: check-hello maybe-check-hello
10108 maybe-check-hello:
10109 @if hello
10110 maybe-check-hello: check-hello
10112 check-hello:
10113 @r=`${PWD_COMMAND}`; export r; \
10114 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10115 $(SET_LIB_PATH) \
10116 $(HOST_EXPORTS) \
10117 (cd hello && $(MAKE) $(FLAGS_TO_PASS) check)
10119 @endif hello
10121 .PHONY: install-hello maybe-install-hello
10122 maybe-install-hello:
10123 @if hello
10124 maybe-install-hello: install-hello
10126 install-hello: installdirs
10127 @r=`${PWD_COMMAND}`; export r; \
10128 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10129 $(SET_LIB_PATH) \
10130 $(HOST_EXPORTS) \
10131 (cd hello && $(MAKE) $(FLAGS_TO_PASS) install)
10133 @endif hello
10135 # Other targets (info, dvi, etc.)
10137 .PHONY: maybe-info-hello info-hello
10138 maybe-info-hello:
10139 @if hello
10140 maybe-info-hello: info-hello
10142 info-hello: \
10143 configure-hello
10144 @[ -f ./hello/Makefile ] || exit 0; \
10145 r=`${PWD_COMMAND}`; export r; \
10146 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10147 $(SET_LIB_PATH) \
10148 $(HOST_EXPORTS) \
10149 for flag in $(EXTRA_HOST_FLAGS); do \
10150 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10151 done; \
10152 echo "Doing info in hello" ; \
10153 (cd hello && \
10154 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10155 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10156 "RANLIB=$${RANLIB}" \
10157 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10158 info) \
10159 || exit 1
10161 @endif hello
10163 .PHONY: maybe-dvi-hello dvi-hello
10164 maybe-dvi-hello:
10165 @if hello
10166 maybe-dvi-hello: dvi-hello
10168 dvi-hello: \
10169 configure-hello
10170 @[ -f ./hello/Makefile ] || exit 0; \
10171 r=`${PWD_COMMAND}`; export r; \
10172 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10173 $(SET_LIB_PATH) \
10174 $(HOST_EXPORTS) \
10175 for flag in $(EXTRA_HOST_FLAGS); do \
10176 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10177 done; \
10178 echo "Doing dvi in hello" ; \
10179 (cd hello && \
10180 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10181 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10182 "RANLIB=$${RANLIB}" \
10183 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10184 dvi) \
10185 || exit 1
10187 @endif hello
10189 .PHONY: maybe-TAGS-hello TAGS-hello
10190 maybe-TAGS-hello:
10191 @if hello
10192 maybe-TAGS-hello: TAGS-hello
10194 TAGS-hello: \
10195 configure-hello
10196 @[ -f ./hello/Makefile ] || exit 0; \
10197 r=`${PWD_COMMAND}`; export r; \
10198 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10199 $(SET_LIB_PATH) \
10200 $(HOST_EXPORTS) \
10201 for flag in $(EXTRA_HOST_FLAGS); do \
10202 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10203 done; \
10204 echo "Doing TAGS in hello" ; \
10205 (cd hello && \
10206 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10207 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10208 "RANLIB=$${RANLIB}" \
10209 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10210 TAGS) \
10211 || exit 1
10213 @endif hello
10215 .PHONY: maybe-install-info-hello install-info-hello
10216 maybe-install-info-hello:
10217 @if hello
10218 maybe-install-info-hello: install-info-hello
10220 install-info-hello: \
10221 configure-hello \
10222 info-hello
10223 @[ -f ./hello/Makefile ] || exit 0; \
10224 r=`${PWD_COMMAND}`; export r; \
10225 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10226 $(SET_LIB_PATH) \
10227 $(HOST_EXPORTS) \
10228 for flag in $(EXTRA_HOST_FLAGS); do \
10229 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10230 done; \
10231 echo "Doing install-info in hello" ; \
10232 (cd hello && \
10233 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10234 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10235 "RANLIB=$${RANLIB}" \
10236 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10237 install-info) \
10238 || exit 1
10240 @endif hello
10242 .PHONY: maybe-installcheck-hello installcheck-hello
10243 maybe-installcheck-hello:
10244 @if hello
10245 maybe-installcheck-hello: installcheck-hello
10247 installcheck-hello: \
10248 configure-hello
10249 @[ -f ./hello/Makefile ] || exit 0; \
10250 r=`${PWD_COMMAND}`; export r; \
10251 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10252 $(SET_LIB_PATH) \
10253 $(HOST_EXPORTS) \
10254 for flag in $(EXTRA_HOST_FLAGS); do \
10255 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10256 done; \
10257 echo "Doing installcheck in hello" ; \
10258 (cd hello && \
10259 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10260 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10261 "RANLIB=$${RANLIB}" \
10262 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10263 installcheck) \
10264 || exit 1
10266 @endif hello
10268 .PHONY: maybe-mostlyclean-hello mostlyclean-hello
10269 maybe-mostlyclean-hello:
10270 @if hello
10271 maybe-mostlyclean-hello: mostlyclean-hello
10273 mostlyclean-hello:
10274 @[ -f ./hello/Makefile ] || exit 0; \
10275 r=`${PWD_COMMAND}`; export r; \
10276 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10277 $(SET_LIB_PATH) \
10278 $(HOST_EXPORTS) \
10279 for flag in $(EXTRA_HOST_FLAGS); do \
10280 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10281 done; \
10282 echo "Doing mostlyclean in hello" ; \
10283 (cd hello && \
10284 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10285 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10286 "RANLIB=$${RANLIB}" \
10287 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10288 mostlyclean) \
10289 || exit 1
10291 @endif hello
10293 .PHONY: maybe-clean-hello clean-hello
10294 maybe-clean-hello:
10295 @if hello
10296 maybe-clean-hello: clean-hello
10298 clean-hello:
10299 @[ -f ./hello/Makefile ] || exit 0; \
10300 r=`${PWD_COMMAND}`; export r; \
10301 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10302 $(SET_LIB_PATH) \
10303 $(HOST_EXPORTS) \
10304 for flag in $(EXTRA_HOST_FLAGS); do \
10305 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10306 done; \
10307 echo "Doing clean in hello" ; \
10308 (cd hello && \
10309 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10310 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10311 "RANLIB=$${RANLIB}" \
10312 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10313 clean) \
10314 || exit 1
10316 @endif hello
10318 .PHONY: maybe-distclean-hello distclean-hello
10319 maybe-distclean-hello:
10320 @if hello
10321 maybe-distclean-hello: distclean-hello
10323 distclean-hello:
10324 @[ -f ./hello/Makefile ] || exit 0; \
10325 r=`${PWD_COMMAND}`; export r; \
10326 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10327 $(SET_LIB_PATH) \
10328 $(HOST_EXPORTS) \
10329 for flag in $(EXTRA_HOST_FLAGS); do \
10330 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10331 done; \
10332 echo "Doing distclean in hello" ; \
10333 (cd hello && \
10334 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10335 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10336 "RANLIB=$${RANLIB}" \
10337 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10338 distclean) \
10339 || exit 1
10341 @endif hello
10343 .PHONY: maybe-maintainer-clean-hello maintainer-clean-hello
10344 maybe-maintainer-clean-hello:
10345 @if hello
10346 maybe-maintainer-clean-hello: maintainer-clean-hello
10348 maintainer-clean-hello:
10349 @[ -f ./hello/Makefile ] || exit 0; \
10350 r=`${PWD_COMMAND}`; export r; \
10351 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10352 $(SET_LIB_PATH) \
10353 $(HOST_EXPORTS) \
10354 for flag in $(EXTRA_HOST_FLAGS); do \
10355 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10356 done; \
10357 echo "Doing maintainer-clean in hello" ; \
10358 (cd hello && \
10359 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10360 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10361 "RANLIB=$${RANLIB}" \
10362 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10363 maintainer-clean) \
10364 || exit 1
10366 @endif hello
10369 .PHONY: configure-indent maybe-configure-indent
10370 maybe-configure-indent:
10371 @if indent
10372 maybe-configure-indent: configure-indent
10373 configure-indent:
10374 @test ! -f indent/Makefile || exit 0; \
10375 [ -d indent ] || mkdir indent; \
10376 r=`${PWD_COMMAND}`; export r; \
10377 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10378 $(HOST_EXPORTS) \
10379 echo Configuring in indent; \
10380 cd indent || exit 1; \
10381 case $(srcdir) in \
10382 \.) \
10383 srcdiroption="--srcdir=."; \
10384 libsrcdir=".";; \
10385 /* | [A-Za-z]:[\\/]*) \
10386 srcdiroption="--srcdir=$(srcdir)/indent"; \
10387 libsrcdir="$$s/indent";; \
10388 *) \
10389 srcdiroption="--srcdir=../$(srcdir)/indent"; \
10390 libsrcdir="$$s/indent";; \
10391 esac; \
10392 $(SHELL) $${libsrcdir}/configure \
10393 $(HOST_CONFIGARGS) $${srcdiroption} \
10394 || exit 1
10395 @endif indent
10397 .PHONY: all-indent maybe-all-indent
10398 maybe-all-indent:
10399 @if indent
10400 maybe-all-indent: all-indent
10401 all-indent: configure-indent
10402 @r=`${PWD_COMMAND}`; export r; \
10403 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10404 $(SET_LIB_PATH) \
10405 $(HOST_EXPORTS) \
10406 (cd indent && $(MAKE) $(FLAGS_TO_PASS) all)
10407 @endif indent
10409 .PHONY: check-indent maybe-check-indent
10410 maybe-check-indent:
10411 @if indent
10412 maybe-check-indent: check-indent
10414 check-indent:
10415 @r=`${PWD_COMMAND}`; export r; \
10416 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10417 $(SET_LIB_PATH) \
10418 $(HOST_EXPORTS) \
10419 (cd indent && $(MAKE) $(FLAGS_TO_PASS) check)
10421 @endif indent
10423 .PHONY: install-indent maybe-install-indent
10424 maybe-install-indent:
10425 @if indent
10426 maybe-install-indent: install-indent
10428 install-indent: installdirs
10429 @r=`${PWD_COMMAND}`; export r; \
10430 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10431 $(SET_LIB_PATH) \
10432 $(HOST_EXPORTS) \
10433 (cd indent && $(MAKE) $(FLAGS_TO_PASS) install)
10435 @endif indent
10437 # Other targets (info, dvi, etc.)
10439 .PHONY: maybe-info-indent info-indent
10440 maybe-info-indent:
10441 @if indent
10442 maybe-info-indent: info-indent
10444 info-indent: \
10445 configure-indent
10446 @[ -f ./indent/Makefile ] || exit 0; \
10447 r=`${PWD_COMMAND}`; export r; \
10448 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10449 $(SET_LIB_PATH) \
10450 $(HOST_EXPORTS) \
10451 for flag in $(EXTRA_HOST_FLAGS); do \
10452 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10453 done; \
10454 echo "Doing info in indent" ; \
10455 (cd indent && \
10456 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10457 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10458 "RANLIB=$${RANLIB}" \
10459 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10460 info) \
10461 || exit 1
10463 @endif indent
10465 .PHONY: maybe-dvi-indent dvi-indent
10466 maybe-dvi-indent:
10467 @if indent
10468 maybe-dvi-indent: dvi-indent
10470 dvi-indent: \
10471 configure-indent
10472 @[ -f ./indent/Makefile ] || exit 0; \
10473 r=`${PWD_COMMAND}`; export r; \
10474 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10475 $(SET_LIB_PATH) \
10476 $(HOST_EXPORTS) \
10477 for flag in $(EXTRA_HOST_FLAGS); do \
10478 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10479 done; \
10480 echo "Doing dvi in indent" ; \
10481 (cd indent && \
10482 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10483 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10484 "RANLIB=$${RANLIB}" \
10485 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10486 dvi) \
10487 || exit 1
10489 @endif indent
10491 .PHONY: maybe-TAGS-indent TAGS-indent
10492 maybe-TAGS-indent:
10493 @if indent
10494 maybe-TAGS-indent: TAGS-indent
10496 TAGS-indent: \
10497 configure-indent
10498 @[ -f ./indent/Makefile ] || exit 0; \
10499 r=`${PWD_COMMAND}`; export r; \
10500 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10501 $(SET_LIB_PATH) \
10502 $(HOST_EXPORTS) \
10503 for flag in $(EXTRA_HOST_FLAGS); do \
10504 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10505 done; \
10506 echo "Doing TAGS in indent" ; \
10507 (cd indent && \
10508 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10509 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10510 "RANLIB=$${RANLIB}" \
10511 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10512 TAGS) \
10513 || exit 1
10515 @endif indent
10517 .PHONY: maybe-install-info-indent install-info-indent
10518 maybe-install-info-indent:
10519 @if indent
10520 maybe-install-info-indent: install-info-indent
10522 install-info-indent: \
10523 configure-indent \
10524 info-indent
10525 @[ -f ./indent/Makefile ] || exit 0; \
10526 r=`${PWD_COMMAND}`; export r; \
10527 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10528 $(SET_LIB_PATH) \
10529 $(HOST_EXPORTS) \
10530 for flag in $(EXTRA_HOST_FLAGS); do \
10531 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10532 done; \
10533 echo "Doing install-info in indent" ; \
10534 (cd indent && \
10535 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10536 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10537 "RANLIB=$${RANLIB}" \
10538 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10539 install-info) \
10540 || exit 1
10542 @endif indent
10544 .PHONY: maybe-installcheck-indent installcheck-indent
10545 maybe-installcheck-indent:
10546 @if indent
10547 maybe-installcheck-indent: installcheck-indent
10549 installcheck-indent: \
10550 configure-indent
10551 @[ -f ./indent/Makefile ] || exit 0; \
10552 r=`${PWD_COMMAND}`; export r; \
10553 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10554 $(SET_LIB_PATH) \
10555 $(HOST_EXPORTS) \
10556 for flag in $(EXTRA_HOST_FLAGS); do \
10557 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10558 done; \
10559 echo "Doing installcheck in indent" ; \
10560 (cd indent && \
10561 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10562 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10563 "RANLIB=$${RANLIB}" \
10564 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10565 installcheck) \
10566 || exit 1
10568 @endif indent
10570 .PHONY: maybe-mostlyclean-indent mostlyclean-indent
10571 maybe-mostlyclean-indent:
10572 @if indent
10573 maybe-mostlyclean-indent: mostlyclean-indent
10575 mostlyclean-indent:
10576 @[ -f ./indent/Makefile ] || exit 0; \
10577 r=`${PWD_COMMAND}`; export r; \
10578 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10579 $(SET_LIB_PATH) \
10580 $(HOST_EXPORTS) \
10581 for flag in $(EXTRA_HOST_FLAGS); do \
10582 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10583 done; \
10584 echo "Doing mostlyclean in indent" ; \
10585 (cd indent && \
10586 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10587 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10588 "RANLIB=$${RANLIB}" \
10589 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10590 mostlyclean) \
10591 || exit 1
10593 @endif indent
10595 .PHONY: maybe-clean-indent clean-indent
10596 maybe-clean-indent:
10597 @if indent
10598 maybe-clean-indent: clean-indent
10600 clean-indent:
10601 @[ -f ./indent/Makefile ] || exit 0; \
10602 r=`${PWD_COMMAND}`; export r; \
10603 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10604 $(SET_LIB_PATH) \
10605 $(HOST_EXPORTS) \
10606 for flag in $(EXTRA_HOST_FLAGS); do \
10607 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10608 done; \
10609 echo "Doing clean in indent" ; \
10610 (cd indent && \
10611 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10612 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10613 "RANLIB=$${RANLIB}" \
10614 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10615 clean) \
10616 || exit 1
10618 @endif indent
10620 .PHONY: maybe-distclean-indent distclean-indent
10621 maybe-distclean-indent:
10622 @if indent
10623 maybe-distclean-indent: distclean-indent
10625 distclean-indent:
10626 @[ -f ./indent/Makefile ] || exit 0; \
10627 r=`${PWD_COMMAND}`; export r; \
10628 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10629 $(SET_LIB_PATH) \
10630 $(HOST_EXPORTS) \
10631 for flag in $(EXTRA_HOST_FLAGS); do \
10632 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10633 done; \
10634 echo "Doing distclean in indent" ; \
10635 (cd indent && \
10636 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10637 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10638 "RANLIB=$${RANLIB}" \
10639 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10640 distclean) \
10641 || exit 1
10643 @endif indent
10645 .PHONY: maybe-maintainer-clean-indent maintainer-clean-indent
10646 maybe-maintainer-clean-indent:
10647 @if indent
10648 maybe-maintainer-clean-indent: maintainer-clean-indent
10650 maintainer-clean-indent:
10651 @[ -f ./indent/Makefile ] || exit 0; \
10652 r=`${PWD_COMMAND}`; export r; \
10653 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10654 $(SET_LIB_PATH) \
10655 $(HOST_EXPORTS) \
10656 for flag in $(EXTRA_HOST_FLAGS); do \
10657 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10658 done; \
10659 echo "Doing maintainer-clean in indent" ; \
10660 (cd indent && \
10661 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10662 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10663 "RANLIB=$${RANLIB}" \
10664 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10665 maintainer-clean) \
10666 || exit 1
10668 @endif indent
10671 .PHONY: configure-intl maybe-configure-intl
10672 maybe-configure-intl:
10673 @if intl
10674 maybe-configure-intl: configure-intl
10675 configure-intl:
10676 @test ! -f intl/Makefile || exit 0; \
10677 [ -d intl ] || mkdir intl; \
10678 r=`${PWD_COMMAND}`; export r; \
10679 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10680 $(HOST_EXPORTS) \
10681 echo Configuring in intl; \
10682 cd intl || exit 1; \
10683 case $(srcdir) in \
10684 \.) \
10685 srcdiroption="--srcdir=."; \
10686 libsrcdir=".";; \
10687 /* | [A-Za-z]:[\\/]*) \
10688 srcdiroption="--srcdir=$(srcdir)/intl"; \
10689 libsrcdir="$$s/intl";; \
10690 *) \
10691 srcdiroption="--srcdir=../$(srcdir)/intl"; \
10692 libsrcdir="$$s/intl";; \
10693 esac; \
10694 $(SHELL) $${libsrcdir}/configure \
10695 $(HOST_CONFIGARGS) $${srcdiroption} \
10696 || exit 1
10697 @endif intl
10699 .PHONY: all-intl maybe-all-intl
10700 maybe-all-intl:
10701 @if intl
10702 maybe-all-intl: all-intl
10703 all-intl: configure-intl
10704 @r=`${PWD_COMMAND}`; export r; \
10705 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10706 $(SET_LIB_PATH) \
10707 $(HOST_EXPORTS) \
10708 (cd intl && $(MAKE) $(FLAGS_TO_PASS) all)
10709 @endif intl
10711 .PHONY: check-intl maybe-check-intl
10712 maybe-check-intl:
10713 @if intl
10714 maybe-check-intl: check-intl
10716 check-intl:
10717 @r=`${PWD_COMMAND}`; export r; \
10718 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10719 $(SET_LIB_PATH) \
10720 $(HOST_EXPORTS) \
10721 (cd intl && $(MAKE) $(FLAGS_TO_PASS) check)
10723 @endif intl
10725 .PHONY: install-intl maybe-install-intl
10726 maybe-install-intl:
10727 @if intl
10728 maybe-install-intl: install-intl
10730 install-intl: installdirs
10731 @r=`${PWD_COMMAND}`; export r; \
10732 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10733 $(SET_LIB_PATH) \
10734 $(HOST_EXPORTS) \
10735 (cd intl && $(MAKE) $(FLAGS_TO_PASS) install)
10737 @endif intl
10739 # Other targets (info, dvi, etc.)
10741 .PHONY: maybe-info-intl info-intl
10742 maybe-info-intl:
10743 @if intl
10744 maybe-info-intl: info-intl
10746 info-intl: \
10747 configure-intl
10748 @[ -f ./intl/Makefile ] || exit 0; \
10749 r=`${PWD_COMMAND}`; export r; \
10750 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10751 $(SET_LIB_PATH) \
10752 $(HOST_EXPORTS) \
10753 for flag in $(EXTRA_HOST_FLAGS); do \
10754 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10755 done; \
10756 echo "Doing info in intl" ; \
10757 (cd intl && \
10758 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10759 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10760 "RANLIB=$${RANLIB}" \
10761 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10762 info) \
10763 || exit 1
10765 @endif intl
10767 .PHONY: maybe-dvi-intl dvi-intl
10768 maybe-dvi-intl:
10769 @if intl
10770 maybe-dvi-intl: dvi-intl
10772 dvi-intl: \
10773 configure-intl
10774 @[ -f ./intl/Makefile ] || exit 0; \
10775 r=`${PWD_COMMAND}`; export r; \
10776 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10777 $(SET_LIB_PATH) \
10778 $(HOST_EXPORTS) \
10779 for flag in $(EXTRA_HOST_FLAGS); do \
10780 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10781 done; \
10782 echo "Doing dvi in intl" ; \
10783 (cd intl && \
10784 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10785 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10786 "RANLIB=$${RANLIB}" \
10787 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10788 dvi) \
10789 || exit 1
10791 @endif intl
10793 .PHONY: maybe-TAGS-intl TAGS-intl
10794 maybe-TAGS-intl:
10795 @if intl
10796 maybe-TAGS-intl: TAGS-intl
10798 TAGS-intl: \
10799 configure-intl
10800 @[ -f ./intl/Makefile ] || exit 0; \
10801 r=`${PWD_COMMAND}`; export r; \
10802 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10803 $(SET_LIB_PATH) \
10804 $(HOST_EXPORTS) \
10805 for flag in $(EXTRA_HOST_FLAGS); do \
10806 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10807 done; \
10808 echo "Doing TAGS in intl" ; \
10809 (cd intl && \
10810 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10811 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10812 "RANLIB=$${RANLIB}" \
10813 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10814 TAGS) \
10815 || exit 1
10817 @endif intl
10819 .PHONY: maybe-install-info-intl install-info-intl
10820 maybe-install-info-intl:
10821 @if intl
10822 maybe-install-info-intl: install-info-intl
10824 install-info-intl: \
10825 configure-intl \
10826 info-intl
10827 @[ -f ./intl/Makefile ] || exit 0; \
10828 r=`${PWD_COMMAND}`; export r; \
10829 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10830 $(SET_LIB_PATH) \
10831 $(HOST_EXPORTS) \
10832 for flag in $(EXTRA_HOST_FLAGS); do \
10833 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10834 done; \
10835 echo "Doing install-info in intl" ; \
10836 (cd intl && \
10837 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10838 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10839 "RANLIB=$${RANLIB}" \
10840 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10841 install-info) \
10842 || exit 1
10844 @endif intl
10846 .PHONY: maybe-installcheck-intl installcheck-intl
10847 maybe-installcheck-intl:
10848 @if intl
10849 maybe-installcheck-intl: installcheck-intl
10851 installcheck-intl: \
10852 configure-intl
10853 @[ -f ./intl/Makefile ] || exit 0; \
10854 r=`${PWD_COMMAND}`; export r; \
10855 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10856 $(SET_LIB_PATH) \
10857 $(HOST_EXPORTS) \
10858 for flag in $(EXTRA_HOST_FLAGS); do \
10859 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10860 done; \
10861 echo "Doing installcheck in intl" ; \
10862 (cd intl && \
10863 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10864 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10865 "RANLIB=$${RANLIB}" \
10866 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10867 installcheck) \
10868 || exit 1
10870 @endif intl
10872 .PHONY: maybe-mostlyclean-intl mostlyclean-intl
10873 maybe-mostlyclean-intl:
10874 @if intl
10875 maybe-mostlyclean-intl: mostlyclean-intl
10877 mostlyclean-intl:
10878 @[ -f ./intl/Makefile ] || exit 0; \
10879 r=`${PWD_COMMAND}`; export r; \
10880 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10881 $(SET_LIB_PATH) \
10882 $(HOST_EXPORTS) \
10883 for flag in $(EXTRA_HOST_FLAGS); do \
10884 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10885 done; \
10886 echo "Doing mostlyclean in intl" ; \
10887 (cd intl && \
10888 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10889 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10890 "RANLIB=$${RANLIB}" \
10891 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10892 mostlyclean) \
10893 || exit 1
10895 @endif intl
10897 .PHONY: maybe-clean-intl clean-intl
10898 maybe-clean-intl:
10899 @if intl
10900 maybe-clean-intl: clean-intl
10902 clean-intl:
10903 @[ -f ./intl/Makefile ] || exit 0; \
10904 r=`${PWD_COMMAND}`; export r; \
10905 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10906 $(SET_LIB_PATH) \
10907 $(HOST_EXPORTS) \
10908 for flag in $(EXTRA_HOST_FLAGS); do \
10909 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10910 done; \
10911 echo "Doing clean in intl" ; \
10912 (cd intl && \
10913 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10914 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10915 "RANLIB=$${RANLIB}" \
10916 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10917 clean) \
10918 || exit 1
10920 @endif intl
10922 .PHONY: maybe-distclean-intl distclean-intl
10923 maybe-distclean-intl:
10924 @if intl
10925 maybe-distclean-intl: distclean-intl
10927 distclean-intl:
10928 @[ -f ./intl/Makefile ] || exit 0; \
10929 r=`${PWD_COMMAND}`; export r; \
10930 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10931 $(SET_LIB_PATH) \
10932 $(HOST_EXPORTS) \
10933 for flag in $(EXTRA_HOST_FLAGS); do \
10934 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10935 done; \
10936 echo "Doing distclean in intl" ; \
10937 (cd intl && \
10938 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10939 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10940 "RANLIB=$${RANLIB}" \
10941 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10942 distclean) \
10943 || exit 1
10945 @endif intl
10947 .PHONY: maybe-maintainer-clean-intl maintainer-clean-intl
10948 maybe-maintainer-clean-intl:
10949 @if intl
10950 maybe-maintainer-clean-intl: maintainer-clean-intl
10952 maintainer-clean-intl:
10953 @[ -f ./intl/Makefile ] || exit 0; \
10954 r=`${PWD_COMMAND}`; export r; \
10955 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10956 $(SET_LIB_PATH) \
10957 $(HOST_EXPORTS) \
10958 for flag in $(EXTRA_HOST_FLAGS); do \
10959 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10960 done; \
10961 echo "Doing maintainer-clean in intl" ; \
10962 (cd intl && \
10963 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10964 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10965 "RANLIB=$${RANLIB}" \
10966 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10967 maintainer-clean) \
10968 || exit 1
10970 @endif intl
10973 .PHONY: configure-tcl maybe-configure-tcl
10974 maybe-configure-tcl:
10975 @if tcl
10976 maybe-configure-tcl: configure-tcl
10977 configure-tcl:
10978 @test ! -f tcl/Makefile || exit 0; \
10979 [ -d tcl ] || mkdir tcl; \
10980 r=`${PWD_COMMAND}`; export r; \
10981 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10982 $(HOST_EXPORTS) \
10983 echo Configuring in tcl; \
10984 cd tcl || exit 1; \
10985 case $(srcdir) in \
10986 \.) \
10987 srcdiroption="--srcdir=."; \
10988 libsrcdir=".";; \
10989 /* | [A-Za-z]:[\\/]*) \
10990 srcdiroption="--srcdir=$(srcdir)/tcl"; \
10991 libsrcdir="$$s/tcl";; \
10992 *) \
10993 srcdiroption="--srcdir=../$(srcdir)/tcl"; \
10994 libsrcdir="$$s/tcl";; \
10995 esac; \
10996 $(SHELL) $${libsrcdir}/configure \
10997 $(HOST_CONFIGARGS) $${srcdiroption} \
10998 || exit 1
10999 @endif tcl
11001 .PHONY: all-tcl maybe-all-tcl
11002 maybe-all-tcl:
11003 @if tcl
11004 maybe-all-tcl: all-tcl
11005 all-tcl: configure-tcl
11006 @r=`${PWD_COMMAND}`; export r; \
11007 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11008 $(SET_LIB_PATH) \
11009 $(HOST_EXPORTS) \
11010 (cd tcl && $(MAKE) $(FLAGS_TO_PASS) all)
11011 @endif tcl
11013 .PHONY: check-tcl maybe-check-tcl
11014 maybe-check-tcl:
11015 @if tcl
11016 maybe-check-tcl: check-tcl
11018 check-tcl:
11019 @r=`${PWD_COMMAND}`; export r; \
11020 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11021 $(SET_LIB_PATH) \
11022 $(HOST_EXPORTS) \
11023 (cd tcl && $(MAKE) $(FLAGS_TO_PASS) check)
11025 @endif tcl
11027 .PHONY: install-tcl maybe-install-tcl
11028 maybe-install-tcl:
11029 @if tcl
11030 maybe-install-tcl: install-tcl
11032 install-tcl: installdirs
11033 @r=`${PWD_COMMAND}`; export r; \
11034 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11035 $(SET_LIB_PATH) \
11036 $(HOST_EXPORTS) \
11037 (cd tcl && $(MAKE) $(FLAGS_TO_PASS) install)
11039 @endif tcl
11041 # Other targets (info, dvi, etc.)
11043 .PHONY: maybe-info-tcl info-tcl
11044 maybe-info-tcl:
11045 @if tcl
11046 maybe-info-tcl: info-tcl
11048 info-tcl: \
11049 configure-tcl
11050 @[ -f ./tcl/Makefile ] || exit 0; \
11051 r=`${PWD_COMMAND}`; export r; \
11052 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11053 $(SET_LIB_PATH) \
11054 $(HOST_EXPORTS) \
11055 for flag in $(EXTRA_HOST_FLAGS); do \
11056 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11057 done; \
11058 echo "Doing info in tcl" ; \
11059 (cd tcl && \
11060 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11061 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11062 "RANLIB=$${RANLIB}" \
11063 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11064 info) \
11065 || exit 1
11067 @endif tcl
11069 .PHONY: maybe-dvi-tcl dvi-tcl
11070 maybe-dvi-tcl:
11071 @if tcl
11072 maybe-dvi-tcl: dvi-tcl
11074 dvi-tcl: \
11075 configure-tcl
11076 @[ -f ./tcl/Makefile ] || exit 0; \
11077 r=`${PWD_COMMAND}`; export r; \
11078 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11079 $(SET_LIB_PATH) \
11080 $(HOST_EXPORTS) \
11081 for flag in $(EXTRA_HOST_FLAGS); do \
11082 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11083 done; \
11084 echo "Doing dvi in tcl" ; \
11085 (cd tcl && \
11086 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11087 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11088 "RANLIB=$${RANLIB}" \
11089 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11090 dvi) \
11091 || exit 1
11093 @endif tcl
11095 .PHONY: maybe-TAGS-tcl TAGS-tcl
11096 maybe-TAGS-tcl:
11097 @if tcl
11098 maybe-TAGS-tcl: TAGS-tcl
11100 TAGS-tcl: \
11101 configure-tcl
11102 @[ -f ./tcl/Makefile ] || exit 0; \
11103 r=`${PWD_COMMAND}`; export r; \
11104 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11105 $(SET_LIB_PATH) \
11106 $(HOST_EXPORTS) \
11107 for flag in $(EXTRA_HOST_FLAGS); do \
11108 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11109 done; \
11110 echo "Doing TAGS in tcl" ; \
11111 (cd tcl && \
11112 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11113 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11114 "RANLIB=$${RANLIB}" \
11115 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11116 TAGS) \
11117 || exit 1
11119 @endif tcl
11121 .PHONY: maybe-install-info-tcl install-info-tcl
11122 maybe-install-info-tcl:
11123 @if tcl
11124 maybe-install-info-tcl: install-info-tcl
11126 install-info-tcl: \
11127 configure-tcl \
11128 info-tcl
11129 @[ -f ./tcl/Makefile ] || exit 0; \
11130 r=`${PWD_COMMAND}`; export r; \
11131 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11132 $(SET_LIB_PATH) \
11133 $(HOST_EXPORTS) \
11134 for flag in $(EXTRA_HOST_FLAGS); do \
11135 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11136 done; \
11137 echo "Doing install-info in tcl" ; \
11138 (cd tcl && \
11139 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11140 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11141 "RANLIB=$${RANLIB}" \
11142 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11143 install-info) \
11144 || exit 1
11146 @endif tcl
11148 .PHONY: maybe-installcheck-tcl installcheck-tcl
11149 maybe-installcheck-tcl:
11150 @if tcl
11151 maybe-installcheck-tcl: installcheck-tcl
11153 installcheck-tcl: \
11154 configure-tcl
11155 @[ -f ./tcl/Makefile ] || exit 0; \
11156 r=`${PWD_COMMAND}`; export r; \
11157 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11158 $(SET_LIB_PATH) \
11159 $(HOST_EXPORTS) \
11160 for flag in $(EXTRA_HOST_FLAGS); do \
11161 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11162 done; \
11163 echo "Doing installcheck in tcl" ; \
11164 (cd tcl && \
11165 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11166 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11167 "RANLIB=$${RANLIB}" \
11168 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11169 installcheck) \
11170 || exit 1
11172 @endif tcl
11174 .PHONY: maybe-mostlyclean-tcl mostlyclean-tcl
11175 maybe-mostlyclean-tcl:
11176 @if tcl
11177 maybe-mostlyclean-tcl: mostlyclean-tcl
11179 # tcl doesn't support mostlyclean.
11180 mostlyclean-tcl:
11182 @endif tcl
11184 .PHONY: maybe-clean-tcl clean-tcl
11185 maybe-clean-tcl:
11186 @if tcl
11187 maybe-clean-tcl: clean-tcl
11189 clean-tcl:
11190 @[ -f ./tcl/Makefile ] || exit 0; \
11191 r=`${PWD_COMMAND}`; export r; \
11192 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11193 $(SET_LIB_PATH) \
11194 $(HOST_EXPORTS) \
11195 for flag in $(EXTRA_HOST_FLAGS); do \
11196 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11197 done; \
11198 echo "Doing clean in tcl" ; \
11199 (cd tcl && \
11200 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11201 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11202 "RANLIB=$${RANLIB}" \
11203 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11204 clean) \
11205 || exit 1
11207 @endif tcl
11209 .PHONY: maybe-distclean-tcl distclean-tcl
11210 maybe-distclean-tcl:
11211 @if tcl
11212 maybe-distclean-tcl: distclean-tcl
11214 distclean-tcl:
11215 @[ -f ./tcl/Makefile ] || exit 0; \
11216 r=`${PWD_COMMAND}`; export r; \
11217 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11218 $(SET_LIB_PATH) \
11219 $(HOST_EXPORTS) \
11220 for flag in $(EXTRA_HOST_FLAGS); do \
11221 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11222 done; \
11223 echo "Doing distclean in tcl" ; \
11224 (cd tcl && \
11225 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11226 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11227 "RANLIB=$${RANLIB}" \
11228 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11229 distclean) \
11230 || exit 1
11232 @endif tcl
11234 .PHONY: maybe-maintainer-clean-tcl maintainer-clean-tcl
11235 maybe-maintainer-clean-tcl:
11236 @if tcl
11237 maybe-maintainer-clean-tcl: maintainer-clean-tcl
11239 maintainer-clean-tcl:
11240 @[ -f ./tcl/Makefile ] || exit 0; \
11241 r=`${PWD_COMMAND}`; export r; \
11242 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11243 $(SET_LIB_PATH) \
11244 $(HOST_EXPORTS) \
11245 for flag in $(EXTRA_HOST_FLAGS); do \
11246 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11247 done; \
11248 echo "Doing maintainer-clean in tcl" ; \
11249 (cd tcl && \
11250 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11251 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11252 "RANLIB=$${RANLIB}" \
11253 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11254 maintainer-clean) \
11255 || exit 1
11257 @endif tcl
11260 .PHONY: configure-itcl maybe-configure-itcl
11261 maybe-configure-itcl:
11262 @if itcl
11263 maybe-configure-itcl: configure-itcl
11264 configure-itcl:
11265 @test ! -f itcl/Makefile || exit 0; \
11266 [ -d itcl ] || mkdir itcl; \
11267 r=`${PWD_COMMAND}`; export r; \
11268 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11269 $(HOST_EXPORTS) \
11270 echo Configuring in itcl; \
11271 cd itcl || exit 1; \
11272 case $(srcdir) in \
11273 \.) \
11274 srcdiroption="--srcdir=."; \
11275 libsrcdir=".";; \
11276 /* | [A-Za-z]:[\\/]*) \
11277 srcdiroption="--srcdir=$(srcdir)/itcl"; \
11278 libsrcdir="$$s/itcl";; \
11279 *) \
11280 srcdiroption="--srcdir=../$(srcdir)/itcl"; \
11281 libsrcdir="$$s/itcl";; \
11282 esac; \
11283 $(SHELL) $${libsrcdir}/configure \
11284 $(HOST_CONFIGARGS) $${srcdiroption} \
11285 || exit 1
11286 @endif itcl
11288 .PHONY: all-itcl maybe-all-itcl
11289 maybe-all-itcl:
11290 @if itcl
11291 maybe-all-itcl: all-itcl
11292 all-itcl: configure-itcl
11293 @r=`${PWD_COMMAND}`; export r; \
11294 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11295 $(SET_LIB_PATH) \
11296 $(HOST_EXPORTS) \
11297 (cd itcl && $(MAKE) $(FLAGS_TO_PASS) all)
11298 @endif itcl
11300 .PHONY: check-itcl maybe-check-itcl
11301 maybe-check-itcl:
11302 @if itcl
11303 maybe-check-itcl: check-itcl
11305 check-itcl:
11306 @r=`${PWD_COMMAND}`; export r; \
11307 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11308 $(SET_LIB_PATH) \
11309 $(HOST_EXPORTS) \
11310 (cd itcl && $(MAKE) $(FLAGS_TO_PASS) check)
11312 @endif itcl
11314 .PHONY: install-itcl maybe-install-itcl
11315 maybe-install-itcl:
11316 @if itcl
11317 maybe-install-itcl: install-itcl
11319 install-itcl: installdirs
11320 @r=`${PWD_COMMAND}`; export r; \
11321 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11322 $(SET_LIB_PATH) \
11323 $(HOST_EXPORTS) \
11324 (cd itcl && $(MAKE) $(FLAGS_TO_PASS) install)
11326 @endif itcl
11328 # Other targets (info, dvi, etc.)
11330 .PHONY: maybe-info-itcl info-itcl
11331 maybe-info-itcl:
11332 @if itcl
11333 maybe-info-itcl: info-itcl
11335 info-itcl: \
11336 configure-itcl
11337 @[ -f ./itcl/Makefile ] || exit 0; \
11338 r=`${PWD_COMMAND}`; export r; \
11339 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11340 $(SET_LIB_PATH) \
11341 $(HOST_EXPORTS) \
11342 for flag in $(EXTRA_HOST_FLAGS); do \
11343 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11344 done; \
11345 echo "Doing info in itcl" ; \
11346 (cd itcl && \
11347 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11348 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11349 "RANLIB=$${RANLIB}" \
11350 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11351 info) \
11352 || exit 1
11354 @endif itcl
11356 .PHONY: maybe-dvi-itcl dvi-itcl
11357 maybe-dvi-itcl:
11358 @if itcl
11359 maybe-dvi-itcl: dvi-itcl
11361 dvi-itcl: \
11362 configure-itcl
11363 @[ -f ./itcl/Makefile ] || exit 0; \
11364 r=`${PWD_COMMAND}`; export r; \
11365 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11366 $(SET_LIB_PATH) \
11367 $(HOST_EXPORTS) \
11368 for flag in $(EXTRA_HOST_FLAGS); do \
11369 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11370 done; \
11371 echo "Doing dvi in itcl" ; \
11372 (cd itcl && \
11373 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11374 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11375 "RANLIB=$${RANLIB}" \
11376 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11377 dvi) \
11378 || exit 1
11380 @endif itcl
11382 .PHONY: maybe-TAGS-itcl TAGS-itcl
11383 maybe-TAGS-itcl:
11384 @if itcl
11385 maybe-TAGS-itcl: TAGS-itcl
11387 TAGS-itcl: \
11388 configure-itcl
11389 @[ -f ./itcl/Makefile ] || exit 0; \
11390 r=`${PWD_COMMAND}`; export r; \
11391 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11392 $(SET_LIB_PATH) \
11393 $(HOST_EXPORTS) \
11394 for flag in $(EXTRA_HOST_FLAGS); do \
11395 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11396 done; \
11397 echo "Doing TAGS in itcl" ; \
11398 (cd itcl && \
11399 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11400 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11401 "RANLIB=$${RANLIB}" \
11402 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11403 TAGS) \
11404 || exit 1
11406 @endif itcl
11408 .PHONY: maybe-install-info-itcl install-info-itcl
11409 maybe-install-info-itcl:
11410 @if itcl
11411 maybe-install-info-itcl: install-info-itcl
11413 install-info-itcl: \
11414 configure-itcl \
11415 info-itcl
11416 @[ -f ./itcl/Makefile ] || exit 0; \
11417 r=`${PWD_COMMAND}`; export r; \
11418 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11419 $(SET_LIB_PATH) \
11420 $(HOST_EXPORTS) \
11421 for flag in $(EXTRA_HOST_FLAGS); do \
11422 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11423 done; \
11424 echo "Doing install-info in itcl" ; \
11425 (cd itcl && \
11426 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11427 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11428 "RANLIB=$${RANLIB}" \
11429 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11430 install-info) \
11431 || exit 1
11433 @endif itcl
11435 .PHONY: maybe-installcheck-itcl installcheck-itcl
11436 maybe-installcheck-itcl:
11437 @if itcl
11438 maybe-installcheck-itcl: installcheck-itcl
11440 installcheck-itcl: \
11441 configure-itcl
11442 @[ -f ./itcl/Makefile ] || exit 0; \
11443 r=`${PWD_COMMAND}`; export r; \
11444 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11445 $(SET_LIB_PATH) \
11446 $(HOST_EXPORTS) \
11447 for flag in $(EXTRA_HOST_FLAGS); do \
11448 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11449 done; \
11450 echo "Doing installcheck in itcl" ; \
11451 (cd itcl && \
11452 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11453 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11454 "RANLIB=$${RANLIB}" \
11455 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11456 installcheck) \
11457 || exit 1
11459 @endif itcl
11461 .PHONY: maybe-mostlyclean-itcl mostlyclean-itcl
11462 maybe-mostlyclean-itcl:
11463 @if itcl
11464 maybe-mostlyclean-itcl: mostlyclean-itcl
11466 mostlyclean-itcl:
11467 @[ -f ./itcl/Makefile ] || exit 0; \
11468 r=`${PWD_COMMAND}`; export r; \
11469 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11470 $(SET_LIB_PATH) \
11471 $(HOST_EXPORTS) \
11472 for flag in $(EXTRA_HOST_FLAGS); do \
11473 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11474 done; \
11475 echo "Doing mostlyclean in itcl" ; \
11476 (cd itcl && \
11477 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11478 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11479 "RANLIB=$${RANLIB}" \
11480 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11481 mostlyclean) \
11482 || exit 1
11484 @endif itcl
11486 .PHONY: maybe-clean-itcl clean-itcl
11487 maybe-clean-itcl:
11488 @if itcl
11489 maybe-clean-itcl: clean-itcl
11491 clean-itcl:
11492 @[ -f ./itcl/Makefile ] || exit 0; \
11493 r=`${PWD_COMMAND}`; export r; \
11494 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11495 $(SET_LIB_PATH) \
11496 $(HOST_EXPORTS) \
11497 for flag in $(EXTRA_HOST_FLAGS); do \
11498 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11499 done; \
11500 echo "Doing clean in itcl" ; \
11501 (cd itcl && \
11502 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11503 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11504 "RANLIB=$${RANLIB}" \
11505 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11506 clean) \
11507 || exit 1
11509 @endif itcl
11511 .PHONY: maybe-distclean-itcl distclean-itcl
11512 maybe-distclean-itcl:
11513 @if itcl
11514 maybe-distclean-itcl: distclean-itcl
11516 distclean-itcl:
11517 @[ -f ./itcl/Makefile ] || exit 0; \
11518 r=`${PWD_COMMAND}`; export r; \
11519 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11520 $(SET_LIB_PATH) \
11521 $(HOST_EXPORTS) \
11522 for flag in $(EXTRA_HOST_FLAGS); do \
11523 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11524 done; \
11525 echo "Doing distclean in itcl" ; \
11526 (cd itcl && \
11527 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11528 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11529 "RANLIB=$${RANLIB}" \
11530 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11531 distclean) \
11532 || exit 1
11534 @endif itcl
11536 .PHONY: maybe-maintainer-clean-itcl maintainer-clean-itcl
11537 maybe-maintainer-clean-itcl:
11538 @if itcl
11539 maybe-maintainer-clean-itcl: maintainer-clean-itcl
11541 maintainer-clean-itcl:
11542 @[ -f ./itcl/Makefile ] || exit 0; \
11543 r=`${PWD_COMMAND}`; export r; \
11544 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11545 $(SET_LIB_PATH) \
11546 $(HOST_EXPORTS) \
11547 for flag in $(EXTRA_HOST_FLAGS); do \
11548 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11549 done; \
11550 echo "Doing maintainer-clean in itcl" ; \
11551 (cd itcl && \
11552 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11553 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11554 "RANLIB=$${RANLIB}" \
11555 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11556 maintainer-clean) \
11557 || exit 1
11559 @endif itcl
11562 .PHONY: configure-ld maybe-configure-ld
11563 maybe-configure-ld:
11564 @if ld
11565 maybe-configure-ld: configure-ld
11566 configure-ld:
11567 @test ! -f ld/Makefile || exit 0; \
11568 [ -d ld ] || mkdir ld; \
11569 r=`${PWD_COMMAND}`; export r; \
11570 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11571 $(HOST_EXPORTS) \
11572 echo Configuring in ld; \
11573 cd ld || exit 1; \
11574 case $(srcdir) in \
11575 \.) \
11576 srcdiroption="--srcdir=."; \
11577 libsrcdir=".";; \
11578 /* | [A-Za-z]:[\\/]*) \
11579 srcdiroption="--srcdir=$(srcdir)/ld"; \
11580 libsrcdir="$$s/ld";; \
11581 *) \
11582 srcdiroption="--srcdir=../$(srcdir)/ld"; \
11583 libsrcdir="$$s/ld";; \
11584 esac; \
11585 $(SHELL) $${libsrcdir}/configure \
11586 $(HOST_CONFIGARGS) $${srcdiroption} \
11587 || exit 1
11588 @endif ld
11590 .PHONY: all-ld maybe-all-ld
11591 maybe-all-ld:
11592 @if ld
11593 maybe-all-ld: all-ld
11594 all-ld: configure-ld
11595 @r=`${PWD_COMMAND}`; export r; \
11596 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11597 $(SET_LIB_PATH) \
11598 $(HOST_EXPORTS) \
11599 (cd ld && $(MAKE) $(FLAGS_TO_PASS) all)
11600 @endif ld
11602 .PHONY: check-ld maybe-check-ld
11603 maybe-check-ld:
11604 @if ld
11605 maybe-check-ld: check-ld
11607 check-ld:
11608 @r=`${PWD_COMMAND}`; export r; \
11609 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11610 $(SET_LIB_PATH) \
11611 $(HOST_EXPORTS) \
11612 (cd ld && $(MAKE) $(FLAGS_TO_PASS) check)
11614 @endif ld
11616 .PHONY: install-ld maybe-install-ld
11617 maybe-install-ld:
11618 @if ld
11619 maybe-install-ld: install-ld
11621 install-ld: installdirs
11622 @r=`${PWD_COMMAND}`; export r; \
11623 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11624 $(SET_LIB_PATH) \
11625 $(HOST_EXPORTS) \
11626 (cd ld && $(MAKE) $(FLAGS_TO_PASS) install)
11628 @endif ld
11630 # Other targets (info, dvi, etc.)
11632 .PHONY: maybe-info-ld info-ld
11633 maybe-info-ld:
11634 @if ld
11635 maybe-info-ld: info-ld
11637 info-ld: \
11638 configure-ld
11639 @[ -f ./ld/Makefile ] || exit 0; \
11640 r=`${PWD_COMMAND}`; export r; \
11641 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11642 $(SET_LIB_PATH) \
11643 $(HOST_EXPORTS) \
11644 for flag in $(EXTRA_HOST_FLAGS); do \
11645 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11646 done; \
11647 echo "Doing info in ld" ; \
11648 (cd ld && \
11649 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11650 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11651 "RANLIB=$${RANLIB}" \
11652 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11653 info) \
11654 || exit 1
11656 @endif ld
11658 .PHONY: maybe-dvi-ld dvi-ld
11659 maybe-dvi-ld:
11660 @if ld
11661 maybe-dvi-ld: dvi-ld
11663 dvi-ld: \
11664 configure-ld
11665 @[ -f ./ld/Makefile ] || exit 0; \
11666 r=`${PWD_COMMAND}`; export r; \
11667 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11668 $(SET_LIB_PATH) \
11669 $(HOST_EXPORTS) \
11670 for flag in $(EXTRA_HOST_FLAGS); do \
11671 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11672 done; \
11673 echo "Doing dvi in ld" ; \
11674 (cd ld && \
11675 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11676 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11677 "RANLIB=$${RANLIB}" \
11678 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11679 dvi) \
11680 || exit 1
11682 @endif ld
11684 .PHONY: maybe-TAGS-ld TAGS-ld
11685 maybe-TAGS-ld:
11686 @if ld
11687 maybe-TAGS-ld: TAGS-ld
11689 TAGS-ld: \
11690 configure-ld
11691 @[ -f ./ld/Makefile ] || exit 0; \
11692 r=`${PWD_COMMAND}`; export r; \
11693 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11694 $(SET_LIB_PATH) \
11695 $(HOST_EXPORTS) \
11696 for flag in $(EXTRA_HOST_FLAGS); do \
11697 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11698 done; \
11699 echo "Doing TAGS in ld" ; \
11700 (cd ld && \
11701 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11702 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11703 "RANLIB=$${RANLIB}" \
11704 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11705 TAGS) \
11706 || exit 1
11708 @endif ld
11710 .PHONY: maybe-install-info-ld install-info-ld
11711 maybe-install-info-ld:
11712 @if ld
11713 maybe-install-info-ld: install-info-ld
11715 install-info-ld: \
11716 configure-ld \
11717 info-ld
11718 @[ -f ./ld/Makefile ] || exit 0; \
11719 r=`${PWD_COMMAND}`; export r; \
11720 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11721 $(SET_LIB_PATH) \
11722 $(HOST_EXPORTS) \
11723 for flag in $(EXTRA_HOST_FLAGS); do \
11724 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11725 done; \
11726 echo "Doing install-info in ld" ; \
11727 (cd ld && \
11728 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11729 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11730 "RANLIB=$${RANLIB}" \
11731 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11732 install-info) \
11733 || exit 1
11735 @endif ld
11737 .PHONY: maybe-installcheck-ld installcheck-ld
11738 maybe-installcheck-ld:
11739 @if ld
11740 maybe-installcheck-ld: installcheck-ld
11742 installcheck-ld: \
11743 configure-ld
11744 @[ -f ./ld/Makefile ] || exit 0; \
11745 r=`${PWD_COMMAND}`; export r; \
11746 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11747 $(SET_LIB_PATH) \
11748 $(HOST_EXPORTS) \
11749 for flag in $(EXTRA_HOST_FLAGS); do \
11750 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11751 done; \
11752 echo "Doing installcheck in ld" ; \
11753 (cd ld && \
11754 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11755 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11756 "RANLIB=$${RANLIB}" \
11757 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11758 installcheck) \
11759 || exit 1
11761 @endif ld
11763 .PHONY: maybe-mostlyclean-ld mostlyclean-ld
11764 maybe-mostlyclean-ld:
11765 @if ld
11766 maybe-mostlyclean-ld: mostlyclean-ld
11768 mostlyclean-ld:
11769 @[ -f ./ld/Makefile ] || exit 0; \
11770 r=`${PWD_COMMAND}`; export r; \
11771 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11772 $(SET_LIB_PATH) \
11773 $(HOST_EXPORTS) \
11774 for flag in $(EXTRA_HOST_FLAGS); do \
11775 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11776 done; \
11777 echo "Doing mostlyclean in ld" ; \
11778 (cd ld && \
11779 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11780 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11781 "RANLIB=$${RANLIB}" \
11782 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11783 mostlyclean) \
11784 || exit 1
11786 @endif ld
11788 .PHONY: maybe-clean-ld clean-ld
11789 maybe-clean-ld:
11790 @if ld
11791 maybe-clean-ld: clean-ld
11793 clean-ld:
11794 @[ -f ./ld/Makefile ] || exit 0; \
11795 r=`${PWD_COMMAND}`; export r; \
11796 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11797 $(SET_LIB_PATH) \
11798 $(HOST_EXPORTS) \
11799 for flag in $(EXTRA_HOST_FLAGS); do \
11800 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11801 done; \
11802 echo "Doing clean in ld" ; \
11803 (cd ld && \
11804 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11805 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11806 "RANLIB=$${RANLIB}" \
11807 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11808 clean) \
11809 || exit 1
11811 @endif ld
11813 .PHONY: maybe-distclean-ld distclean-ld
11814 maybe-distclean-ld:
11815 @if ld
11816 maybe-distclean-ld: distclean-ld
11818 distclean-ld:
11819 @[ -f ./ld/Makefile ] || exit 0; \
11820 r=`${PWD_COMMAND}`; export r; \
11821 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11822 $(SET_LIB_PATH) \
11823 $(HOST_EXPORTS) \
11824 for flag in $(EXTRA_HOST_FLAGS); do \
11825 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11826 done; \
11827 echo "Doing distclean in ld" ; \
11828 (cd ld && \
11829 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11830 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11831 "RANLIB=$${RANLIB}" \
11832 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11833 distclean) \
11834 || exit 1
11836 @endif ld
11838 .PHONY: maybe-maintainer-clean-ld maintainer-clean-ld
11839 maybe-maintainer-clean-ld:
11840 @if ld
11841 maybe-maintainer-clean-ld: maintainer-clean-ld
11843 maintainer-clean-ld:
11844 @[ -f ./ld/Makefile ] || exit 0; \
11845 r=`${PWD_COMMAND}`; export r; \
11846 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11847 $(SET_LIB_PATH) \
11848 $(HOST_EXPORTS) \
11849 for flag in $(EXTRA_HOST_FLAGS); do \
11850 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11851 done; \
11852 echo "Doing maintainer-clean in ld" ; \
11853 (cd ld && \
11854 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11855 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11856 "RANLIB=$${RANLIB}" \
11857 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11858 maintainer-clean) \
11859 || exit 1
11861 @endif ld
11864 .PHONY: configure-libcpp maybe-configure-libcpp
11865 maybe-configure-libcpp:
11866 @if libcpp
11867 maybe-configure-libcpp: configure-libcpp
11868 configure-libcpp:
11869 @test ! -f libcpp/Makefile || exit 0; \
11870 [ -d libcpp ] || mkdir libcpp; \
11871 r=`${PWD_COMMAND}`; export r; \
11872 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11873 $(HOST_EXPORTS) \
11874 echo Configuring in libcpp; \
11875 cd libcpp || exit 1; \
11876 case $(srcdir) in \
11877 \.) \
11878 srcdiroption="--srcdir=."; \
11879 libsrcdir=".";; \
11880 /* | [A-Za-z]:[\\/]*) \
11881 srcdiroption="--srcdir=$(srcdir)/libcpp"; \
11882 libsrcdir="$$s/libcpp";; \
11883 *) \
11884 srcdiroption="--srcdir=../$(srcdir)/libcpp"; \
11885 libsrcdir="$$s/libcpp";; \
11886 esac; \
11887 $(SHELL) $${libsrcdir}/configure \
11888 $(HOST_CONFIGARGS) $${srcdiroption} \
11889 || exit 1
11890 @endif libcpp
11892 .PHONY: all-libcpp maybe-all-libcpp
11893 maybe-all-libcpp:
11894 @if libcpp
11895 maybe-all-libcpp: all-libcpp
11896 all-libcpp: configure-libcpp
11897 @r=`${PWD_COMMAND}`; export r; \
11898 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11899 $(SET_LIB_PATH) \
11900 $(HOST_EXPORTS) \
11901 (cd libcpp && $(MAKE) $(FLAGS_TO_PASS) all)
11902 @endif libcpp
11904 .PHONY: check-libcpp maybe-check-libcpp
11905 maybe-check-libcpp:
11906 @if libcpp
11907 maybe-check-libcpp: check-libcpp
11909 check-libcpp:
11910 @r=`${PWD_COMMAND}`; export r; \
11911 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11912 $(SET_LIB_PATH) \
11913 $(HOST_EXPORTS) \
11914 (cd libcpp && $(MAKE) $(FLAGS_TO_PASS) check)
11916 @endif libcpp
11918 .PHONY: install-libcpp maybe-install-libcpp
11919 maybe-install-libcpp:
11920 @if libcpp
11921 maybe-install-libcpp: install-libcpp
11923 install-libcpp: installdirs
11924 @r=`${PWD_COMMAND}`; export r; \
11925 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11926 $(SET_LIB_PATH) \
11927 $(HOST_EXPORTS) \
11928 (cd libcpp && $(MAKE) $(FLAGS_TO_PASS) install)
11930 @endif libcpp
11932 # Other targets (info, dvi, etc.)
11934 .PHONY: maybe-info-libcpp info-libcpp
11935 maybe-info-libcpp:
11936 @if libcpp
11937 maybe-info-libcpp: info-libcpp
11939 info-libcpp: \
11940 configure-libcpp
11941 @[ -f ./libcpp/Makefile ] || exit 0; \
11942 r=`${PWD_COMMAND}`; export r; \
11943 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11944 $(SET_LIB_PATH) \
11945 $(HOST_EXPORTS) \
11946 for flag in $(EXTRA_HOST_FLAGS); do \
11947 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11948 done; \
11949 echo "Doing info in libcpp" ; \
11950 (cd libcpp && \
11951 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11952 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11953 "RANLIB=$${RANLIB}" \
11954 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11955 info) \
11956 || exit 1
11958 @endif libcpp
11960 .PHONY: maybe-dvi-libcpp dvi-libcpp
11961 maybe-dvi-libcpp:
11962 @if libcpp
11963 maybe-dvi-libcpp: dvi-libcpp
11965 dvi-libcpp: \
11966 configure-libcpp
11967 @[ -f ./libcpp/Makefile ] || exit 0; \
11968 r=`${PWD_COMMAND}`; export r; \
11969 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11970 $(SET_LIB_PATH) \
11971 $(HOST_EXPORTS) \
11972 for flag in $(EXTRA_HOST_FLAGS); do \
11973 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11974 done; \
11975 echo "Doing dvi in libcpp" ; \
11976 (cd libcpp && \
11977 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11978 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11979 "RANLIB=$${RANLIB}" \
11980 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11981 dvi) \
11982 || exit 1
11984 @endif libcpp
11986 .PHONY: maybe-TAGS-libcpp TAGS-libcpp
11987 maybe-TAGS-libcpp:
11988 @if libcpp
11989 maybe-TAGS-libcpp: TAGS-libcpp
11991 TAGS-libcpp: \
11992 configure-libcpp
11993 @[ -f ./libcpp/Makefile ] || exit 0; \
11994 r=`${PWD_COMMAND}`; export r; \
11995 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11996 $(SET_LIB_PATH) \
11997 $(HOST_EXPORTS) \
11998 for flag in $(EXTRA_HOST_FLAGS); do \
11999 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12000 done; \
12001 echo "Doing TAGS in libcpp" ; \
12002 (cd libcpp && \
12003 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12004 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12005 "RANLIB=$${RANLIB}" \
12006 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12007 TAGS) \
12008 || exit 1
12010 @endif libcpp
12012 .PHONY: maybe-install-info-libcpp install-info-libcpp
12013 maybe-install-info-libcpp:
12014 @if libcpp
12015 maybe-install-info-libcpp: install-info-libcpp
12017 install-info-libcpp: \
12018 configure-libcpp \
12019 info-libcpp
12020 @[ -f ./libcpp/Makefile ] || exit 0; \
12021 r=`${PWD_COMMAND}`; export r; \
12022 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12023 $(SET_LIB_PATH) \
12024 $(HOST_EXPORTS) \
12025 for flag in $(EXTRA_HOST_FLAGS); do \
12026 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12027 done; \
12028 echo "Doing install-info in libcpp" ; \
12029 (cd libcpp && \
12030 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12031 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12032 "RANLIB=$${RANLIB}" \
12033 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12034 install-info) \
12035 || exit 1
12037 @endif libcpp
12039 .PHONY: maybe-installcheck-libcpp installcheck-libcpp
12040 maybe-installcheck-libcpp:
12041 @if libcpp
12042 maybe-installcheck-libcpp: installcheck-libcpp
12044 installcheck-libcpp: \
12045 configure-libcpp
12046 @[ -f ./libcpp/Makefile ] || exit 0; \
12047 r=`${PWD_COMMAND}`; export r; \
12048 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12049 $(SET_LIB_PATH) \
12050 $(HOST_EXPORTS) \
12051 for flag in $(EXTRA_HOST_FLAGS); do \
12052 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12053 done; \
12054 echo "Doing installcheck in libcpp" ; \
12055 (cd libcpp && \
12056 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12057 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12058 "RANLIB=$${RANLIB}" \
12059 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12060 installcheck) \
12061 || exit 1
12063 @endif libcpp
12065 .PHONY: maybe-mostlyclean-libcpp mostlyclean-libcpp
12066 maybe-mostlyclean-libcpp:
12067 @if libcpp
12068 maybe-mostlyclean-libcpp: mostlyclean-libcpp
12070 mostlyclean-libcpp:
12071 @[ -f ./libcpp/Makefile ] || exit 0; \
12072 r=`${PWD_COMMAND}`; export r; \
12073 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12074 $(SET_LIB_PATH) \
12075 $(HOST_EXPORTS) \
12076 for flag in $(EXTRA_HOST_FLAGS); do \
12077 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12078 done; \
12079 echo "Doing mostlyclean in libcpp" ; \
12080 (cd libcpp && \
12081 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12082 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12083 "RANLIB=$${RANLIB}" \
12084 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12085 mostlyclean) \
12086 || exit 1
12088 @endif libcpp
12090 .PHONY: maybe-clean-libcpp clean-libcpp
12091 maybe-clean-libcpp:
12092 @if libcpp
12093 maybe-clean-libcpp: clean-libcpp
12095 clean-libcpp:
12096 @[ -f ./libcpp/Makefile ] || exit 0; \
12097 r=`${PWD_COMMAND}`; export r; \
12098 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12099 $(SET_LIB_PATH) \
12100 $(HOST_EXPORTS) \
12101 for flag in $(EXTRA_HOST_FLAGS); do \
12102 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12103 done; \
12104 echo "Doing clean in libcpp" ; \
12105 (cd libcpp && \
12106 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12107 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12108 "RANLIB=$${RANLIB}" \
12109 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12110 clean) \
12111 || exit 1
12113 @endif libcpp
12115 .PHONY: maybe-distclean-libcpp distclean-libcpp
12116 maybe-distclean-libcpp:
12117 @if libcpp
12118 maybe-distclean-libcpp: distclean-libcpp
12120 distclean-libcpp:
12121 @[ -f ./libcpp/Makefile ] || exit 0; \
12122 r=`${PWD_COMMAND}`; export r; \
12123 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12124 $(SET_LIB_PATH) \
12125 $(HOST_EXPORTS) \
12126 for flag in $(EXTRA_HOST_FLAGS); do \
12127 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12128 done; \
12129 echo "Doing distclean in libcpp" ; \
12130 (cd libcpp && \
12131 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12132 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12133 "RANLIB=$${RANLIB}" \
12134 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12135 distclean) \
12136 || exit 1
12138 @endif libcpp
12140 .PHONY: maybe-maintainer-clean-libcpp maintainer-clean-libcpp
12141 maybe-maintainer-clean-libcpp:
12142 @if libcpp
12143 maybe-maintainer-clean-libcpp: maintainer-clean-libcpp
12145 maintainer-clean-libcpp:
12146 @[ -f ./libcpp/Makefile ] || exit 0; \
12147 r=`${PWD_COMMAND}`; export r; \
12148 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12149 $(SET_LIB_PATH) \
12150 $(HOST_EXPORTS) \
12151 for flag in $(EXTRA_HOST_FLAGS); do \
12152 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12153 done; \
12154 echo "Doing maintainer-clean in libcpp" ; \
12155 (cd libcpp && \
12156 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12157 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12158 "RANLIB=$${RANLIB}" \
12159 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12160 maintainer-clean) \
12161 || exit 1
12163 @endif libcpp
12166 .PHONY: configure-libgui maybe-configure-libgui
12167 maybe-configure-libgui:
12168 @if libgui
12169 maybe-configure-libgui: configure-libgui
12170 configure-libgui:
12171 @test ! -f libgui/Makefile || exit 0; \
12172 [ -d libgui ] || mkdir libgui; \
12173 r=`${PWD_COMMAND}`; export r; \
12174 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12175 $(HOST_EXPORTS) \
12176 echo Configuring in libgui; \
12177 cd libgui || exit 1; \
12178 case $(srcdir) in \
12179 \.) \
12180 srcdiroption="--srcdir=."; \
12181 libsrcdir=".";; \
12182 /* | [A-Za-z]:[\\/]*) \
12183 srcdiroption="--srcdir=$(srcdir)/libgui"; \
12184 libsrcdir="$$s/libgui";; \
12185 *) \
12186 srcdiroption="--srcdir=../$(srcdir)/libgui"; \
12187 libsrcdir="$$s/libgui";; \
12188 esac; \
12189 $(SHELL) $${libsrcdir}/configure \
12190 $(HOST_CONFIGARGS) $${srcdiroption} \
12191 || exit 1
12192 @endif libgui
12194 .PHONY: all-libgui maybe-all-libgui
12195 maybe-all-libgui:
12196 @if libgui
12197 maybe-all-libgui: all-libgui
12198 all-libgui: configure-libgui
12199 @r=`${PWD_COMMAND}`; export r; \
12200 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12201 $(SET_LIB_PATH) \
12202 $(HOST_EXPORTS) \
12203 (cd libgui && $(MAKE) $(FLAGS_TO_PASS) all)
12204 @endif libgui
12206 .PHONY: check-libgui maybe-check-libgui
12207 maybe-check-libgui:
12208 @if libgui
12209 maybe-check-libgui: check-libgui
12211 check-libgui:
12212 @r=`${PWD_COMMAND}`; export r; \
12213 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12214 $(SET_LIB_PATH) \
12215 $(HOST_EXPORTS) \
12216 (cd libgui && $(MAKE) $(FLAGS_TO_PASS) check)
12218 @endif libgui
12220 .PHONY: install-libgui maybe-install-libgui
12221 maybe-install-libgui:
12222 @if libgui
12223 maybe-install-libgui: install-libgui
12225 install-libgui: installdirs
12226 @r=`${PWD_COMMAND}`; export r; \
12227 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12228 $(SET_LIB_PATH) \
12229 $(HOST_EXPORTS) \
12230 (cd libgui && $(MAKE) $(FLAGS_TO_PASS) install)
12232 @endif libgui
12234 # Other targets (info, dvi, etc.)
12236 .PHONY: maybe-info-libgui info-libgui
12237 maybe-info-libgui:
12238 @if libgui
12239 maybe-info-libgui: info-libgui
12241 info-libgui: \
12242 configure-libgui
12243 @[ -f ./libgui/Makefile ] || exit 0; \
12244 r=`${PWD_COMMAND}`; export r; \
12245 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12246 $(SET_LIB_PATH) \
12247 $(HOST_EXPORTS) \
12248 for flag in $(EXTRA_HOST_FLAGS); do \
12249 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12250 done; \
12251 echo "Doing info in libgui" ; \
12252 (cd libgui && \
12253 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12254 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12255 "RANLIB=$${RANLIB}" \
12256 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12257 info) \
12258 || exit 1
12260 @endif libgui
12262 .PHONY: maybe-dvi-libgui dvi-libgui
12263 maybe-dvi-libgui:
12264 @if libgui
12265 maybe-dvi-libgui: dvi-libgui
12267 dvi-libgui: \
12268 configure-libgui
12269 @[ -f ./libgui/Makefile ] || exit 0; \
12270 r=`${PWD_COMMAND}`; export r; \
12271 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12272 $(SET_LIB_PATH) \
12273 $(HOST_EXPORTS) \
12274 for flag in $(EXTRA_HOST_FLAGS); do \
12275 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12276 done; \
12277 echo "Doing dvi in libgui" ; \
12278 (cd libgui && \
12279 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12280 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12281 "RANLIB=$${RANLIB}" \
12282 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12283 dvi) \
12284 || exit 1
12286 @endif libgui
12288 .PHONY: maybe-TAGS-libgui TAGS-libgui
12289 maybe-TAGS-libgui:
12290 @if libgui
12291 maybe-TAGS-libgui: TAGS-libgui
12293 TAGS-libgui: \
12294 configure-libgui
12295 @[ -f ./libgui/Makefile ] || exit 0; \
12296 r=`${PWD_COMMAND}`; export r; \
12297 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12298 $(SET_LIB_PATH) \
12299 $(HOST_EXPORTS) \
12300 for flag in $(EXTRA_HOST_FLAGS); do \
12301 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12302 done; \
12303 echo "Doing TAGS in libgui" ; \
12304 (cd libgui && \
12305 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12306 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12307 "RANLIB=$${RANLIB}" \
12308 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12309 TAGS) \
12310 || exit 1
12312 @endif libgui
12314 .PHONY: maybe-install-info-libgui install-info-libgui
12315 maybe-install-info-libgui:
12316 @if libgui
12317 maybe-install-info-libgui: install-info-libgui
12319 install-info-libgui: \
12320 configure-libgui \
12321 info-libgui
12322 @[ -f ./libgui/Makefile ] || exit 0; \
12323 r=`${PWD_COMMAND}`; export r; \
12324 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12325 $(SET_LIB_PATH) \
12326 $(HOST_EXPORTS) \
12327 for flag in $(EXTRA_HOST_FLAGS); do \
12328 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12329 done; \
12330 echo "Doing install-info in libgui" ; \
12331 (cd libgui && \
12332 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12333 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12334 "RANLIB=$${RANLIB}" \
12335 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12336 install-info) \
12337 || exit 1
12339 @endif libgui
12341 .PHONY: maybe-installcheck-libgui installcheck-libgui
12342 maybe-installcheck-libgui:
12343 @if libgui
12344 maybe-installcheck-libgui: installcheck-libgui
12346 installcheck-libgui: \
12347 configure-libgui
12348 @[ -f ./libgui/Makefile ] || exit 0; \
12349 r=`${PWD_COMMAND}`; export r; \
12350 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12351 $(SET_LIB_PATH) \
12352 $(HOST_EXPORTS) \
12353 for flag in $(EXTRA_HOST_FLAGS); do \
12354 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12355 done; \
12356 echo "Doing installcheck in libgui" ; \
12357 (cd libgui && \
12358 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12359 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12360 "RANLIB=$${RANLIB}" \
12361 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12362 installcheck) \
12363 || exit 1
12365 @endif libgui
12367 .PHONY: maybe-mostlyclean-libgui mostlyclean-libgui
12368 maybe-mostlyclean-libgui:
12369 @if libgui
12370 maybe-mostlyclean-libgui: mostlyclean-libgui
12372 mostlyclean-libgui:
12373 @[ -f ./libgui/Makefile ] || exit 0; \
12374 r=`${PWD_COMMAND}`; export r; \
12375 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12376 $(SET_LIB_PATH) \
12377 $(HOST_EXPORTS) \
12378 for flag in $(EXTRA_HOST_FLAGS); do \
12379 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12380 done; \
12381 echo "Doing mostlyclean in libgui" ; \
12382 (cd libgui && \
12383 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12384 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12385 "RANLIB=$${RANLIB}" \
12386 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12387 mostlyclean) \
12388 || exit 1
12390 @endif libgui
12392 .PHONY: maybe-clean-libgui clean-libgui
12393 maybe-clean-libgui:
12394 @if libgui
12395 maybe-clean-libgui: clean-libgui
12397 clean-libgui:
12398 @[ -f ./libgui/Makefile ] || exit 0; \
12399 r=`${PWD_COMMAND}`; export r; \
12400 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12401 $(SET_LIB_PATH) \
12402 $(HOST_EXPORTS) \
12403 for flag in $(EXTRA_HOST_FLAGS); do \
12404 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12405 done; \
12406 echo "Doing clean in libgui" ; \
12407 (cd libgui && \
12408 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12409 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12410 "RANLIB=$${RANLIB}" \
12411 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12412 clean) \
12413 || exit 1
12415 @endif libgui
12417 .PHONY: maybe-distclean-libgui distclean-libgui
12418 maybe-distclean-libgui:
12419 @if libgui
12420 maybe-distclean-libgui: distclean-libgui
12422 distclean-libgui:
12423 @[ -f ./libgui/Makefile ] || exit 0; \
12424 r=`${PWD_COMMAND}`; export r; \
12425 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12426 $(SET_LIB_PATH) \
12427 $(HOST_EXPORTS) \
12428 for flag in $(EXTRA_HOST_FLAGS); do \
12429 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12430 done; \
12431 echo "Doing distclean in libgui" ; \
12432 (cd libgui && \
12433 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12434 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12435 "RANLIB=$${RANLIB}" \
12436 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12437 distclean) \
12438 || exit 1
12440 @endif libgui
12442 .PHONY: maybe-maintainer-clean-libgui maintainer-clean-libgui
12443 maybe-maintainer-clean-libgui:
12444 @if libgui
12445 maybe-maintainer-clean-libgui: maintainer-clean-libgui
12447 maintainer-clean-libgui:
12448 @[ -f ./libgui/Makefile ] || exit 0; \
12449 r=`${PWD_COMMAND}`; export r; \
12450 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12451 $(SET_LIB_PATH) \
12452 $(HOST_EXPORTS) \
12453 for flag in $(EXTRA_HOST_FLAGS); do \
12454 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12455 done; \
12456 echo "Doing maintainer-clean in libgui" ; \
12457 (cd libgui && \
12458 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12459 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12460 "RANLIB=$${RANLIB}" \
12461 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12462 maintainer-clean) \
12463 || exit 1
12465 @endif libgui
12468 .PHONY: configure-libbanshee maybe-configure-libbanshee
12469 maybe-configure-libbanshee:
12470 @if libbanshee
12471 maybe-configure-libbanshee: configure-libbanshee
12472 configure-libbanshee:
12473 @test ! -f libbanshee/Makefile || exit 0; \
12474 [ -d libbanshee ] || mkdir libbanshee; \
12475 r=`${PWD_COMMAND}`; export r; \
12476 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12477 $(HOST_EXPORTS) \
12478 echo Configuring in libbanshee; \
12479 cd libbanshee || exit 1; \
12480 case $(srcdir) in \
12481 \.) \
12482 srcdiroption="--srcdir=."; \
12483 libsrcdir=".";; \
12484 /* | [A-Za-z]:[\\/]*) \
12485 srcdiroption="--srcdir=$(srcdir)/libbanshee"; \
12486 libsrcdir="$$s/libbanshee";; \
12487 *) \
12488 srcdiroption="--srcdir=../$(srcdir)/libbanshee"; \
12489 libsrcdir="$$s/libbanshee";; \
12490 esac; \
12491 $(SHELL) $${libsrcdir}/configure \
12492 $(HOST_CONFIGARGS) $${srcdiroption} \
12493 || exit 1
12494 @endif libbanshee
12496 .PHONY: all-libbanshee maybe-all-libbanshee
12497 maybe-all-libbanshee:
12498 @if libbanshee
12499 maybe-all-libbanshee: all-libbanshee
12500 all-libbanshee: configure-libbanshee
12501 @r=`${PWD_COMMAND}`; export r; \
12502 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12503 $(SET_LIB_PATH) \
12504 $(HOST_EXPORTS) \
12505 (cd libbanshee && $(MAKE) $(FLAGS_TO_PASS) all)
12506 @endif libbanshee
12508 .PHONY: check-libbanshee maybe-check-libbanshee
12509 maybe-check-libbanshee:
12510 @if libbanshee
12511 maybe-check-libbanshee: check-libbanshee
12513 check-libbanshee:
12514 @r=`${PWD_COMMAND}`; export r; \
12515 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12516 $(SET_LIB_PATH) \
12517 $(HOST_EXPORTS) \
12518 (cd libbanshee && $(MAKE) $(FLAGS_TO_PASS) check)
12520 @endif libbanshee
12522 .PHONY: install-libbanshee maybe-install-libbanshee
12523 maybe-install-libbanshee:
12524 @if libbanshee
12525 maybe-install-libbanshee: install-libbanshee
12527 install-libbanshee:
12529 @endif libbanshee
12531 # Other targets (info, dvi, etc.)
12533 .PHONY: maybe-info-libbanshee info-libbanshee
12534 maybe-info-libbanshee:
12535 @if libbanshee
12536 maybe-info-libbanshee: info-libbanshee
12538 info-libbanshee: \
12539 configure-libbanshee
12540 @[ -f ./libbanshee/Makefile ] || exit 0; \
12541 r=`${PWD_COMMAND}`; export r; \
12542 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12543 $(SET_LIB_PATH) \
12544 $(HOST_EXPORTS) \
12545 for flag in $(EXTRA_HOST_FLAGS); do \
12546 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12547 done; \
12548 echo "Doing info in libbanshee" ; \
12549 (cd libbanshee && \
12550 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12551 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12552 "RANLIB=$${RANLIB}" \
12553 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12554 info) \
12555 || exit 1
12557 @endif libbanshee
12559 .PHONY: maybe-dvi-libbanshee dvi-libbanshee
12560 maybe-dvi-libbanshee:
12561 @if libbanshee
12562 maybe-dvi-libbanshee: dvi-libbanshee
12564 dvi-libbanshee: \
12565 configure-libbanshee
12566 @[ -f ./libbanshee/Makefile ] || exit 0; \
12567 r=`${PWD_COMMAND}`; export r; \
12568 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12569 $(SET_LIB_PATH) \
12570 $(HOST_EXPORTS) \
12571 for flag in $(EXTRA_HOST_FLAGS); do \
12572 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12573 done; \
12574 echo "Doing dvi in libbanshee" ; \
12575 (cd libbanshee && \
12576 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12577 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12578 "RANLIB=$${RANLIB}" \
12579 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12580 dvi) \
12581 || exit 1
12583 @endif libbanshee
12585 .PHONY: maybe-TAGS-libbanshee TAGS-libbanshee
12586 maybe-TAGS-libbanshee:
12587 @if libbanshee
12588 maybe-TAGS-libbanshee: TAGS-libbanshee
12590 TAGS-libbanshee: \
12591 configure-libbanshee
12592 @[ -f ./libbanshee/Makefile ] || exit 0; \
12593 r=`${PWD_COMMAND}`; export r; \
12594 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12595 $(SET_LIB_PATH) \
12596 $(HOST_EXPORTS) \
12597 for flag in $(EXTRA_HOST_FLAGS); do \
12598 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12599 done; \
12600 echo "Doing TAGS in libbanshee" ; \
12601 (cd libbanshee && \
12602 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12603 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12604 "RANLIB=$${RANLIB}" \
12605 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12606 TAGS) \
12607 || exit 1
12609 @endif libbanshee
12611 .PHONY: maybe-install-info-libbanshee install-info-libbanshee
12612 maybe-install-info-libbanshee:
12613 @if libbanshee
12614 maybe-install-info-libbanshee: install-info-libbanshee
12616 install-info-libbanshee: \
12617 configure-libbanshee \
12618 info-libbanshee
12619 @[ -f ./libbanshee/Makefile ] || exit 0; \
12620 r=`${PWD_COMMAND}`; export r; \
12621 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12622 $(SET_LIB_PATH) \
12623 $(HOST_EXPORTS) \
12624 for flag in $(EXTRA_HOST_FLAGS); do \
12625 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12626 done; \
12627 echo "Doing install-info in libbanshee" ; \
12628 (cd libbanshee && \
12629 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12630 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12631 "RANLIB=$${RANLIB}" \
12632 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12633 install-info) \
12634 || exit 1
12636 @endif libbanshee
12638 .PHONY: maybe-installcheck-libbanshee installcheck-libbanshee
12639 maybe-installcheck-libbanshee:
12640 @if libbanshee
12641 maybe-installcheck-libbanshee: installcheck-libbanshee
12643 installcheck-libbanshee: \
12644 configure-libbanshee
12645 @[ -f ./libbanshee/Makefile ] || exit 0; \
12646 r=`${PWD_COMMAND}`; export r; \
12647 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12648 $(SET_LIB_PATH) \
12649 $(HOST_EXPORTS) \
12650 for flag in $(EXTRA_HOST_FLAGS); do \
12651 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12652 done; \
12653 echo "Doing installcheck in libbanshee" ; \
12654 (cd libbanshee && \
12655 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12656 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12657 "RANLIB=$${RANLIB}" \
12658 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12659 installcheck) \
12660 || exit 1
12662 @endif libbanshee
12664 .PHONY: maybe-mostlyclean-libbanshee mostlyclean-libbanshee
12665 maybe-mostlyclean-libbanshee:
12666 @if libbanshee
12667 maybe-mostlyclean-libbanshee: mostlyclean-libbanshee
12669 mostlyclean-libbanshee:
12670 @[ -f ./libbanshee/Makefile ] || exit 0; \
12671 r=`${PWD_COMMAND}`; export r; \
12672 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12673 $(SET_LIB_PATH) \
12674 $(HOST_EXPORTS) \
12675 for flag in $(EXTRA_HOST_FLAGS); do \
12676 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12677 done; \
12678 echo "Doing mostlyclean in libbanshee" ; \
12679 (cd libbanshee && \
12680 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12681 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12682 "RANLIB=$${RANLIB}" \
12683 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12684 mostlyclean) \
12685 || exit 1
12687 @endif libbanshee
12689 .PHONY: maybe-clean-libbanshee clean-libbanshee
12690 maybe-clean-libbanshee:
12691 @if libbanshee
12692 maybe-clean-libbanshee: clean-libbanshee
12694 clean-libbanshee:
12695 @[ -f ./libbanshee/Makefile ] || exit 0; \
12696 r=`${PWD_COMMAND}`; export r; \
12697 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12698 $(SET_LIB_PATH) \
12699 $(HOST_EXPORTS) \
12700 for flag in $(EXTRA_HOST_FLAGS); do \
12701 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12702 done; \
12703 echo "Doing clean in libbanshee" ; \
12704 (cd libbanshee && \
12705 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12706 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12707 "RANLIB=$${RANLIB}" \
12708 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12709 clean) \
12710 || exit 1
12712 @endif libbanshee
12714 .PHONY: maybe-distclean-libbanshee distclean-libbanshee
12715 maybe-distclean-libbanshee:
12716 @if libbanshee
12717 maybe-distclean-libbanshee: distclean-libbanshee
12719 distclean-libbanshee:
12720 @[ -f ./libbanshee/Makefile ] || exit 0; \
12721 r=`${PWD_COMMAND}`; export r; \
12722 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12723 $(SET_LIB_PATH) \
12724 $(HOST_EXPORTS) \
12725 for flag in $(EXTRA_HOST_FLAGS); do \
12726 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12727 done; \
12728 echo "Doing distclean in libbanshee" ; \
12729 (cd libbanshee && \
12730 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12731 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12732 "RANLIB=$${RANLIB}" \
12733 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12734 distclean) \
12735 || exit 1
12737 @endif libbanshee
12739 .PHONY: maybe-maintainer-clean-libbanshee maintainer-clean-libbanshee
12740 maybe-maintainer-clean-libbanshee:
12741 @if libbanshee
12742 maybe-maintainer-clean-libbanshee: maintainer-clean-libbanshee
12744 maintainer-clean-libbanshee:
12745 @[ -f ./libbanshee/Makefile ] || exit 0; \
12746 r=`${PWD_COMMAND}`; export r; \
12747 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12748 $(SET_LIB_PATH) \
12749 $(HOST_EXPORTS) \
12750 for flag in $(EXTRA_HOST_FLAGS); do \
12751 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12752 done; \
12753 echo "Doing maintainer-clean in libbanshee" ; \
12754 (cd libbanshee && \
12755 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12756 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12757 "RANLIB=$${RANLIB}" \
12758 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12759 maintainer-clean) \
12760 || exit 1
12762 @endif libbanshee
12765 .PHONY: configure-libiberty maybe-configure-libiberty
12766 maybe-configure-libiberty:
12767 @if libiberty
12768 maybe-configure-libiberty: configure-libiberty
12769 configure-libiberty:
12770 @test ! -f libiberty/Makefile || exit 0; \
12771 [ -d libiberty ] || mkdir libiberty; \
12772 r=`${PWD_COMMAND}`; export r; \
12773 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12774 $(HOST_EXPORTS) \
12775 echo Configuring in libiberty; \
12776 cd libiberty || exit 1; \
12777 case $(srcdir) in \
12778 \.) \
12779 srcdiroption="--srcdir=."; \
12780 libsrcdir=".";; \
12781 /* | [A-Za-z]:[\\/]*) \
12782 srcdiroption="--srcdir=$(srcdir)/libiberty"; \
12783 libsrcdir="$$s/libiberty";; \
12784 *) \
12785 srcdiroption="--srcdir=../$(srcdir)/libiberty"; \
12786 libsrcdir="$$s/libiberty";; \
12787 esac; \
12788 $(SHELL) $${libsrcdir}/configure \
12789 $(HOST_CONFIGARGS) $${srcdiroption} \
12790 || exit 1
12791 @endif libiberty
12793 .PHONY: all-libiberty maybe-all-libiberty
12794 maybe-all-libiberty:
12795 @if libiberty
12796 maybe-all-libiberty: all-libiberty
12797 all-libiberty: configure-libiberty
12798 @r=`${PWD_COMMAND}`; export r; \
12799 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12800 $(SET_LIB_PATH) \
12801 $(HOST_EXPORTS) \
12802 (cd libiberty && $(MAKE) $(FLAGS_TO_PASS) all)
12803 @endif libiberty
12805 .PHONY: check-libiberty maybe-check-libiberty
12806 maybe-check-libiberty:
12807 @if libiberty
12808 maybe-check-libiberty: check-libiberty
12810 check-libiberty:
12811 @r=`${PWD_COMMAND}`; export r; \
12812 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12813 $(SET_LIB_PATH) \
12814 $(HOST_EXPORTS) \
12815 (cd libiberty && $(MAKE) $(FLAGS_TO_PASS) check)
12817 @endif libiberty
12819 .PHONY: install-libiberty maybe-install-libiberty
12820 maybe-install-libiberty:
12821 @if libiberty
12822 maybe-install-libiberty: install-libiberty
12824 install-libiberty: installdirs
12825 @r=`${PWD_COMMAND}`; export r; \
12826 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12827 $(SET_LIB_PATH) \
12828 $(HOST_EXPORTS) \
12829 (cd libiberty && $(MAKE) $(FLAGS_TO_PASS) install)
12831 @endif libiberty
12833 # Other targets (info, dvi, etc.)
12835 .PHONY: maybe-info-libiberty info-libiberty
12836 maybe-info-libiberty:
12837 @if libiberty
12838 maybe-info-libiberty: info-libiberty
12840 info-libiberty: \
12841 configure-libiberty
12842 @[ -f ./libiberty/Makefile ] || exit 0; \
12843 r=`${PWD_COMMAND}`; export r; \
12844 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12845 $(SET_LIB_PATH) \
12846 $(HOST_EXPORTS) \
12847 for flag in $(EXTRA_HOST_FLAGS); do \
12848 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12849 done; \
12850 echo "Doing info in libiberty" ; \
12851 (cd libiberty && \
12852 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12853 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12854 "RANLIB=$${RANLIB}" \
12855 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12856 info) \
12857 || exit 1
12859 @endif libiberty
12861 .PHONY: maybe-dvi-libiberty dvi-libiberty
12862 maybe-dvi-libiberty:
12863 @if libiberty
12864 maybe-dvi-libiberty: dvi-libiberty
12866 dvi-libiberty: \
12867 configure-libiberty
12868 @[ -f ./libiberty/Makefile ] || exit 0; \
12869 r=`${PWD_COMMAND}`; export r; \
12870 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12871 $(SET_LIB_PATH) \
12872 $(HOST_EXPORTS) \
12873 for flag in $(EXTRA_HOST_FLAGS); do \
12874 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12875 done; \
12876 echo "Doing dvi in libiberty" ; \
12877 (cd libiberty && \
12878 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12879 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12880 "RANLIB=$${RANLIB}" \
12881 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12882 dvi) \
12883 || exit 1
12885 @endif libiberty
12887 .PHONY: maybe-TAGS-libiberty TAGS-libiberty
12888 maybe-TAGS-libiberty:
12889 @if libiberty
12890 maybe-TAGS-libiberty: TAGS-libiberty
12892 TAGS-libiberty: \
12893 configure-libiberty
12894 @[ -f ./libiberty/Makefile ] || exit 0; \
12895 r=`${PWD_COMMAND}`; export r; \
12896 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12897 $(SET_LIB_PATH) \
12898 $(HOST_EXPORTS) \
12899 for flag in $(EXTRA_HOST_FLAGS); do \
12900 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12901 done; \
12902 echo "Doing TAGS in libiberty" ; \
12903 (cd libiberty && \
12904 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12905 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12906 "RANLIB=$${RANLIB}" \
12907 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12908 TAGS) \
12909 || exit 1
12911 @endif libiberty
12913 .PHONY: maybe-install-info-libiberty install-info-libiberty
12914 maybe-install-info-libiberty:
12915 @if libiberty
12916 maybe-install-info-libiberty: install-info-libiberty
12918 install-info-libiberty: \
12919 configure-libiberty \
12920 info-libiberty
12921 @[ -f ./libiberty/Makefile ] || exit 0; \
12922 r=`${PWD_COMMAND}`; export r; \
12923 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12924 $(SET_LIB_PATH) \
12925 $(HOST_EXPORTS) \
12926 for flag in $(EXTRA_HOST_FLAGS); do \
12927 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12928 done; \
12929 echo "Doing install-info in libiberty" ; \
12930 (cd libiberty && \
12931 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12932 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12933 "RANLIB=$${RANLIB}" \
12934 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12935 install-info) \
12936 || exit 1
12938 @endif libiberty
12940 .PHONY: maybe-installcheck-libiberty installcheck-libiberty
12941 maybe-installcheck-libiberty:
12942 @if libiberty
12943 maybe-installcheck-libiberty: installcheck-libiberty
12945 installcheck-libiberty: \
12946 configure-libiberty
12947 @[ -f ./libiberty/Makefile ] || exit 0; \
12948 r=`${PWD_COMMAND}`; export r; \
12949 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12950 $(SET_LIB_PATH) \
12951 $(HOST_EXPORTS) \
12952 for flag in $(EXTRA_HOST_FLAGS); do \
12953 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12954 done; \
12955 echo "Doing installcheck in libiberty" ; \
12956 (cd libiberty && \
12957 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12958 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12959 "RANLIB=$${RANLIB}" \
12960 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12961 installcheck) \
12962 || exit 1
12964 @endif libiberty
12966 .PHONY: maybe-mostlyclean-libiberty mostlyclean-libiberty
12967 maybe-mostlyclean-libiberty:
12968 @if libiberty
12969 maybe-mostlyclean-libiberty: mostlyclean-libiberty
12971 mostlyclean-libiberty:
12972 @[ -f ./libiberty/Makefile ] || exit 0; \
12973 r=`${PWD_COMMAND}`; export r; \
12974 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12975 $(SET_LIB_PATH) \
12976 $(HOST_EXPORTS) \
12977 for flag in $(EXTRA_HOST_FLAGS); do \
12978 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12979 done; \
12980 echo "Doing mostlyclean in libiberty" ; \
12981 (cd libiberty && \
12982 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12983 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12984 "RANLIB=$${RANLIB}" \
12985 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12986 mostlyclean) \
12987 || exit 1
12989 @endif libiberty
12991 .PHONY: maybe-clean-libiberty clean-libiberty
12992 maybe-clean-libiberty:
12993 @if libiberty
12994 maybe-clean-libiberty: clean-libiberty
12996 clean-libiberty:
12997 @[ -f ./libiberty/Makefile ] || exit 0; \
12998 r=`${PWD_COMMAND}`; export r; \
12999 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13000 $(SET_LIB_PATH) \
13001 $(HOST_EXPORTS) \
13002 for flag in $(EXTRA_HOST_FLAGS); do \
13003 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13004 done; \
13005 echo "Doing clean in libiberty" ; \
13006 (cd libiberty && \
13007 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13008 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13009 "RANLIB=$${RANLIB}" \
13010 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13011 clean) \
13012 || exit 1
13014 @endif libiberty
13016 .PHONY: maybe-distclean-libiberty distclean-libiberty
13017 maybe-distclean-libiberty:
13018 @if libiberty
13019 maybe-distclean-libiberty: distclean-libiberty
13021 distclean-libiberty:
13022 @[ -f ./libiberty/Makefile ] || exit 0; \
13023 r=`${PWD_COMMAND}`; export r; \
13024 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13025 $(SET_LIB_PATH) \
13026 $(HOST_EXPORTS) \
13027 for flag in $(EXTRA_HOST_FLAGS); do \
13028 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13029 done; \
13030 echo "Doing distclean in libiberty" ; \
13031 (cd libiberty && \
13032 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13033 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13034 "RANLIB=$${RANLIB}" \
13035 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13036 distclean) \
13037 || exit 1
13039 @endif libiberty
13041 .PHONY: maybe-maintainer-clean-libiberty maintainer-clean-libiberty
13042 maybe-maintainer-clean-libiberty:
13043 @if libiberty
13044 maybe-maintainer-clean-libiberty: maintainer-clean-libiberty
13046 maintainer-clean-libiberty:
13047 @[ -f ./libiberty/Makefile ] || exit 0; \
13048 r=`${PWD_COMMAND}`; export r; \
13049 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13050 $(SET_LIB_PATH) \
13051 $(HOST_EXPORTS) \
13052 for flag in $(EXTRA_HOST_FLAGS); do \
13053 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13054 done; \
13055 echo "Doing maintainer-clean in libiberty" ; \
13056 (cd libiberty && \
13057 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13058 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13059 "RANLIB=$${RANLIB}" \
13060 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13061 maintainer-clean) \
13062 || exit 1
13064 @endif libiberty
13067 .PHONY: configure-libtool maybe-configure-libtool
13068 maybe-configure-libtool:
13069 @if libtool
13070 maybe-configure-libtool: configure-libtool
13071 configure-libtool:
13072 @test ! -f libtool/Makefile || exit 0; \
13073 [ -d libtool ] || mkdir libtool; \
13074 r=`${PWD_COMMAND}`; export r; \
13075 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13076 $(HOST_EXPORTS) \
13077 echo Configuring in libtool; \
13078 cd libtool || exit 1; \
13079 case $(srcdir) in \
13080 \.) \
13081 srcdiroption="--srcdir=."; \
13082 libsrcdir=".";; \
13083 /* | [A-Za-z]:[\\/]*) \
13084 srcdiroption="--srcdir=$(srcdir)/libtool"; \
13085 libsrcdir="$$s/libtool";; \
13086 *) \
13087 srcdiroption="--srcdir=../$(srcdir)/libtool"; \
13088 libsrcdir="$$s/libtool";; \
13089 esac; \
13090 $(SHELL) $${libsrcdir}/configure \
13091 $(HOST_CONFIGARGS) $${srcdiroption} \
13092 || exit 1
13093 @endif libtool
13095 .PHONY: all-libtool maybe-all-libtool
13096 maybe-all-libtool:
13097 @if libtool
13098 maybe-all-libtool: all-libtool
13099 all-libtool: configure-libtool
13100 @r=`${PWD_COMMAND}`; export r; \
13101 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13102 $(SET_LIB_PATH) \
13103 $(HOST_EXPORTS) \
13104 (cd libtool && $(MAKE) $(FLAGS_TO_PASS) all)
13105 @endif libtool
13107 .PHONY: check-libtool maybe-check-libtool
13108 maybe-check-libtool:
13109 @if libtool
13110 maybe-check-libtool: check-libtool
13112 check-libtool:
13113 @r=`${PWD_COMMAND}`; export r; \
13114 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13115 $(SET_LIB_PATH) \
13116 $(HOST_EXPORTS) \
13117 (cd libtool && $(MAKE) $(FLAGS_TO_PASS) check)
13119 @endif libtool
13121 .PHONY: install-libtool maybe-install-libtool
13122 maybe-install-libtool:
13123 @if libtool
13124 maybe-install-libtool: install-libtool
13126 install-libtool: installdirs
13127 @r=`${PWD_COMMAND}`; export r; \
13128 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13129 $(SET_LIB_PATH) \
13130 $(HOST_EXPORTS) \
13131 (cd libtool && $(MAKE) $(FLAGS_TO_PASS) install)
13133 @endif libtool
13135 # Other targets (info, dvi, etc.)
13137 .PHONY: maybe-info-libtool info-libtool
13138 maybe-info-libtool:
13139 @if libtool
13140 maybe-info-libtool: info-libtool
13142 info-libtool: \
13143 configure-libtool
13144 @[ -f ./libtool/Makefile ] || exit 0; \
13145 r=`${PWD_COMMAND}`; export r; \
13146 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13147 $(SET_LIB_PATH) \
13148 $(HOST_EXPORTS) \
13149 for flag in $(EXTRA_HOST_FLAGS); do \
13150 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13151 done; \
13152 echo "Doing info in libtool" ; \
13153 (cd libtool && \
13154 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13155 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13156 "RANLIB=$${RANLIB}" \
13157 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13158 info) \
13159 || exit 1
13161 @endif libtool
13163 .PHONY: maybe-dvi-libtool dvi-libtool
13164 maybe-dvi-libtool:
13165 @if libtool
13166 maybe-dvi-libtool: dvi-libtool
13168 dvi-libtool: \
13169 configure-libtool
13170 @[ -f ./libtool/Makefile ] || exit 0; \
13171 r=`${PWD_COMMAND}`; export r; \
13172 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13173 $(SET_LIB_PATH) \
13174 $(HOST_EXPORTS) \
13175 for flag in $(EXTRA_HOST_FLAGS); do \
13176 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13177 done; \
13178 echo "Doing dvi in libtool" ; \
13179 (cd libtool && \
13180 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13181 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13182 "RANLIB=$${RANLIB}" \
13183 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13184 dvi) \
13185 || exit 1
13187 @endif libtool
13189 .PHONY: maybe-TAGS-libtool TAGS-libtool
13190 maybe-TAGS-libtool:
13191 @if libtool
13192 maybe-TAGS-libtool: TAGS-libtool
13194 TAGS-libtool: \
13195 configure-libtool
13196 @[ -f ./libtool/Makefile ] || exit 0; \
13197 r=`${PWD_COMMAND}`; export r; \
13198 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13199 $(SET_LIB_PATH) \
13200 $(HOST_EXPORTS) \
13201 for flag in $(EXTRA_HOST_FLAGS); do \
13202 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13203 done; \
13204 echo "Doing TAGS in libtool" ; \
13205 (cd libtool && \
13206 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13207 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13208 "RANLIB=$${RANLIB}" \
13209 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13210 TAGS) \
13211 || exit 1
13213 @endif libtool
13215 .PHONY: maybe-install-info-libtool install-info-libtool
13216 maybe-install-info-libtool:
13217 @if libtool
13218 maybe-install-info-libtool: install-info-libtool
13220 install-info-libtool: \
13221 configure-libtool \
13222 info-libtool
13223 @[ -f ./libtool/Makefile ] || exit 0; \
13224 r=`${PWD_COMMAND}`; export r; \
13225 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13226 $(SET_LIB_PATH) \
13227 $(HOST_EXPORTS) \
13228 for flag in $(EXTRA_HOST_FLAGS); do \
13229 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13230 done; \
13231 echo "Doing install-info in libtool" ; \
13232 (cd libtool && \
13233 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13234 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13235 "RANLIB=$${RANLIB}" \
13236 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13237 install-info) \
13238 || exit 1
13240 @endif libtool
13242 .PHONY: maybe-installcheck-libtool installcheck-libtool
13243 maybe-installcheck-libtool:
13244 @if libtool
13245 maybe-installcheck-libtool: installcheck-libtool
13247 installcheck-libtool: \
13248 configure-libtool
13249 @[ -f ./libtool/Makefile ] || exit 0; \
13250 r=`${PWD_COMMAND}`; export r; \
13251 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13252 $(SET_LIB_PATH) \
13253 $(HOST_EXPORTS) \
13254 for flag in $(EXTRA_HOST_FLAGS); do \
13255 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13256 done; \
13257 echo "Doing installcheck in libtool" ; \
13258 (cd libtool && \
13259 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13260 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13261 "RANLIB=$${RANLIB}" \
13262 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13263 installcheck) \
13264 || exit 1
13266 @endif libtool
13268 .PHONY: maybe-mostlyclean-libtool mostlyclean-libtool
13269 maybe-mostlyclean-libtool:
13270 @if libtool
13271 maybe-mostlyclean-libtool: mostlyclean-libtool
13273 mostlyclean-libtool:
13274 @[ -f ./libtool/Makefile ] || exit 0; \
13275 r=`${PWD_COMMAND}`; export r; \
13276 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13277 $(SET_LIB_PATH) \
13278 $(HOST_EXPORTS) \
13279 for flag in $(EXTRA_HOST_FLAGS); do \
13280 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13281 done; \
13282 echo "Doing mostlyclean in libtool" ; \
13283 (cd libtool && \
13284 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13285 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13286 "RANLIB=$${RANLIB}" \
13287 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13288 mostlyclean) \
13289 || exit 1
13291 @endif libtool
13293 .PHONY: maybe-clean-libtool clean-libtool
13294 maybe-clean-libtool:
13295 @if libtool
13296 maybe-clean-libtool: clean-libtool
13298 clean-libtool:
13299 @[ -f ./libtool/Makefile ] || exit 0; \
13300 r=`${PWD_COMMAND}`; export r; \
13301 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13302 $(SET_LIB_PATH) \
13303 $(HOST_EXPORTS) \
13304 for flag in $(EXTRA_HOST_FLAGS); do \
13305 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13306 done; \
13307 echo "Doing clean in libtool" ; \
13308 (cd libtool && \
13309 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13310 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13311 "RANLIB=$${RANLIB}" \
13312 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13313 clean) \
13314 || exit 1
13316 @endif libtool
13318 .PHONY: maybe-distclean-libtool distclean-libtool
13319 maybe-distclean-libtool:
13320 @if libtool
13321 maybe-distclean-libtool: distclean-libtool
13323 distclean-libtool:
13324 @[ -f ./libtool/Makefile ] || exit 0; \
13325 r=`${PWD_COMMAND}`; export r; \
13326 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13327 $(SET_LIB_PATH) \
13328 $(HOST_EXPORTS) \
13329 for flag in $(EXTRA_HOST_FLAGS); do \
13330 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13331 done; \
13332 echo "Doing distclean in libtool" ; \
13333 (cd libtool && \
13334 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13335 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13336 "RANLIB=$${RANLIB}" \
13337 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13338 distclean) \
13339 || exit 1
13341 @endif libtool
13343 .PHONY: maybe-maintainer-clean-libtool maintainer-clean-libtool
13344 maybe-maintainer-clean-libtool:
13345 @if libtool
13346 maybe-maintainer-clean-libtool: maintainer-clean-libtool
13348 maintainer-clean-libtool:
13349 @[ -f ./libtool/Makefile ] || exit 0; \
13350 r=`${PWD_COMMAND}`; export r; \
13351 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13352 $(SET_LIB_PATH) \
13353 $(HOST_EXPORTS) \
13354 for flag in $(EXTRA_HOST_FLAGS); do \
13355 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13356 done; \
13357 echo "Doing maintainer-clean in libtool" ; \
13358 (cd libtool && \
13359 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13360 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13361 "RANLIB=$${RANLIB}" \
13362 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13363 maintainer-clean) \
13364 || exit 1
13366 @endif libtool
13369 .PHONY: configure-m4 maybe-configure-m4
13370 maybe-configure-m4:
13371 @if m4
13372 maybe-configure-m4: configure-m4
13373 configure-m4:
13374 @test ! -f m4/Makefile || exit 0; \
13375 [ -d m4 ] || mkdir m4; \
13376 r=`${PWD_COMMAND}`; export r; \
13377 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13378 $(HOST_EXPORTS) \
13379 echo Configuring in m4; \
13380 cd m4 || exit 1; \
13381 case $(srcdir) in \
13382 \.) \
13383 srcdiroption="--srcdir=."; \
13384 libsrcdir=".";; \
13385 /* | [A-Za-z]:[\\/]*) \
13386 srcdiroption="--srcdir=$(srcdir)/m4"; \
13387 libsrcdir="$$s/m4";; \
13388 *) \
13389 srcdiroption="--srcdir=../$(srcdir)/m4"; \
13390 libsrcdir="$$s/m4";; \
13391 esac; \
13392 $(SHELL) $${libsrcdir}/configure \
13393 $(HOST_CONFIGARGS) $${srcdiroption} \
13394 || exit 1
13395 @endif m4
13397 .PHONY: all-m4 maybe-all-m4
13398 maybe-all-m4:
13399 @if m4
13400 maybe-all-m4: all-m4
13401 all-m4: configure-m4
13402 @r=`${PWD_COMMAND}`; export r; \
13403 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13404 $(SET_LIB_PATH) \
13405 $(HOST_EXPORTS) \
13406 (cd m4 && $(MAKE) $(FLAGS_TO_PASS) all)
13407 @endif m4
13409 .PHONY: check-m4 maybe-check-m4
13410 maybe-check-m4:
13411 @if m4
13412 maybe-check-m4: check-m4
13414 check-m4:
13415 @r=`${PWD_COMMAND}`; export r; \
13416 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13417 $(SET_LIB_PATH) \
13418 $(HOST_EXPORTS) \
13419 (cd m4 && $(MAKE) $(FLAGS_TO_PASS) check)
13421 @endif m4
13423 .PHONY: install-m4 maybe-install-m4
13424 maybe-install-m4:
13425 @if m4
13426 maybe-install-m4: install-m4
13428 install-m4: installdirs
13429 @r=`${PWD_COMMAND}`; export r; \
13430 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13431 $(SET_LIB_PATH) \
13432 $(HOST_EXPORTS) \
13433 (cd m4 && $(MAKE) $(FLAGS_TO_PASS) install)
13435 @endif m4
13437 # Other targets (info, dvi, etc.)
13439 .PHONY: maybe-info-m4 info-m4
13440 maybe-info-m4:
13441 @if m4
13442 maybe-info-m4: info-m4
13444 info-m4: \
13445 configure-m4
13446 @[ -f ./m4/Makefile ] || exit 0; \
13447 r=`${PWD_COMMAND}`; export r; \
13448 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13449 $(SET_LIB_PATH) \
13450 $(HOST_EXPORTS) \
13451 for flag in $(EXTRA_HOST_FLAGS); do \
13452 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13453 done; \
13454 echo "Doing info in m4" ; \
13455 (cd m4 && \
13456 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13457 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13458 "RANLIB=$${RANLIB}" \
13459 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13460 info) \
13461 || exit 1
13463 @endif m4
13465 .PHONY: maybe-dvi-m4 dvi-m4
13466 maybe-dvi-m4:
13467 @if m4
13468 maybe-dvi-m4: dvi-m4
13470 dvi-m4: \
13471 configure-m4
13472 @[ -f ./m4/Makefile ] || exit 0; \
13473 r=`${PWD_COMMAND}`; export r; \
13474 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13475 $(SET_LIB_PATH) \
13476 $(HOST_EXPORTS) \
13477 for flag in $(EXTRA_HOST_FLAGS); do \
13478 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13479 done; \
13480 echo "Doing dvi in m4" ; \
13481 (cd m4 && \
13482 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13483 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13484 "RANLIB=$${RANLIB}" \
13485 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13486 dvi) \
13487 || exit 1
13489 @endif m4
13491 .PHONY: maybe-TAGS-m4 TAGS-m4
13492 maybe-TAGS-m4:
13493 @if m4
13494 maybe-TAGS-m4: TAGS-m4
13496 TAGS-m4: \
13497 configure-m4
13498 @[ -f ./m4/Makefile ] || exit 0; \
13499 r=`${PWD_COMMAND}`; export r; \
13500 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13501 $(SET_LIB_PATH) \
13502 $(HOST_EXPORTS) \
13503 for flag in $(EXTRA_HOST_FLAGS); do \
13504 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13505 done; \
13506 echo "Doing TAGS in m4" ; \
13507 (cd m4 && \
13508 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13509 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13510 "RANLIB=$${RANLIB}" \
13511 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13512 TAGS) \
13513 || exit 1
13515 @endif m4
13517 .PHONY: maybe-install-info-m4 install-info-m4
13518 maybe-install-info-m4:
13519 @if m4
13520 maybe-install-info-m4: install-info-m4
13522 install-info-m4: \
13523 configure-m4 \
13524 info-m4
13525 @[ -f ./m4/Makefile ] || exit 0; \
13526 r=`${PWD_COMMAND}`; export r; \
13527 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13528 $(SET_LIB_PATH) \
13529 $(HOST_EXPORTS) \
13530 for flag in $(EXTRA_HOST_FLAGS); do \
13531 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13532 done; \
13533 echo "Doing install-info in m4" ; \
13534 (cd m4 && \
13535 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13536 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13537 "RANLIB=$${RANLIB}" \
13538 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13539 install-info) \
13540 || exit 1
13542 @endif m4
13544 .PHONY: maybe-installcheck-m4 installcheck-m4
13545 maybe-installcheck-m4:
13546 @if m4
13547 maybe-installcheck-m4: installcheck-m4
13549 installcheck-m4: \
13550 configure-m4
13551 @[ -f ./m4/Makefile ] || exit 0; \
13552 r=`${PWD_COMMAND}`; export r; \
13553 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13554 $(SET_LIB_PATH) \
13555 $(HOST_EXPORTS) \
13556 for flag in $(EXTRA_HOST_FLAGS); do \
13557 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13558 done; \
13559 echo "Doing installcheck in m4" ; \
13560 (cd m4 && \
13561 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13562 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13563 "RANLIB=$${RANLIB}" \
13564 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13565 installcheck) \
13566 || exit 1
13568 @endif m4
13570 .PHONY: maybe-mostlyclean-m4 mostlyclean-m4
13571 maybe-mostlyclean-m4:
13572 @if m4
13573 maybe-mostlyclean-m4: mostlyclean-m4
13575 mostlyclean-m4:
13576 @[ -f ./m4/Makefile ] || exit 0; \
13577 r=`${PWD_COMMAND}`; export r; \
13578 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13579 $(SET_LIB_PATH) \
13580 $(HOST_EXPORTS) \
13581 for flag in $(EXTRA_HOST_FLAGS); do \
13582 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13583 done; \
13584 echo "Doing mostlyclean in m4" ; \
13585 (cd m4 && \
13586 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13587 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13588 "RANLIB=$${RANLIB}" \
13589 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13590 mostlyclean) \
13591 || exit 1
13593 @endif m4
13595 .PHONY: maybe-clean-m4 clean-m4
13596 maybe-clean-m4:
13597 @if m4
13598 maybe-clean-m4: clean-m4
13600 clean-m4:
13601 @[ -f ./m4/Makefile ] || exit 0; \
13602 r=`${PWD_COMMAND}`; export r; \
13603 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13604 $(SET_LIB_PATH) \
13605 $(HOST_EXPORTS) \
13606 for flag in $(EXTRA_HOST_FLAGS); do \
13607 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13608 done; \
13609 echo "Doing clean in m4" ; \
13610 (cd m4 && \
13611 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13612 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13613 "RANLIB=$${RANLIB}" \
13614 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13615 clean) \
13616 || exit 1
13618 @endif m4
13620 .PHONY: maybe-distclean-m4 distclean-m4
13621 maybe-distclean-m4:
13622 @if m4
13623 maybe-distclean-m4: distclean-m4
13625 distclean-m4:
13626 @[ -f ./m4/Makefile ] || exit 0; \
13627 r=`${PWD_COMMAND}`; export r; \
13628 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13629 $(SET_LIB_PATH) \
13630 $(HOST_EXPORTS) \
13631 for flag in $(EXTRA_HOST_FLAGS); do \
13632 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13633 done; \
13634 echo "Doing distclean in m4" ; \
13635 (cd m4 && \
13636 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13637 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13638 "RANLIB=$${RANLIB}" \
13639 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13640 distclean) \
13641 || exit 1
13643 @endif m4
13645 .PHONY: maybe-maintainer-clean-m4 maintainer-clean-m4
13646 maybe-maintainer-clean-m4:
13647 @if m4
13648 maybe-maintainer-clean-m4: maintainer-clean-m4
13650 maintainer-clean-m4:
13651 @[ -f ./m4/Makefile ] || exit 0; \
13652 r=`${PWD_COMMAND}`; export r; \
13653 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13654 $(SET_LIB_PATH) \
13655 $(HOST_EXPORTS) \
13656 for flag in $(EXTRA_HOST_FLAGS); do \
13657 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13658 done; \
13659 echo "Doing maintainer-clean in m4" ; \
13660 (cd m4 && \
13661 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13662 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13663 "RANLIB=$${RANLIB}" \
13664 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13665 maintainer-clean) \
13666 || exit 1
13668 @endif m4
13671 .PHONY: configure-make maybe-configure-make
13672 maybe-configure-make:
13673 @if make
13674 maybe-configure-make: configure-make
13675 configure-make:
13676 @test ! -f make/Makefile || exit 0; \
13677 [ -d make ] || mkdir make; \
13678 r=`${PWD_COMMAND}`; export r; \
13679 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13680 $(HOST_EXPORTS) \
13681 echo Configuring in make; \
13682 cd make || exit 1; \
13683 case $(srcdir) in \
13684 \.) \
13685 srcdiroption="--srcdir=."; \
13686 libsrcdir=".";; \
13687 /* | [A-Za-z]:[\\/]*) \
13688 srcdiroption="--srcdir=$(srcdir)/make"; \
13689 libsrcdir="$$s/make";; \
13690 *) \
13691 srcdiroption="--srcdir=../$(srcdir)/make"; \
13692 libsrcdir="$$s/make";; \
13693 esac; \
13694 $(SHELL) $${libsrcdir}/configure \
13695 $(HOST_CONFIGARGS) $${srcdiroption} \
13696 || exit 1
13697 @endif make
13699 .PHONY: all-make maybe-all-make
13700 maybe-all-make:
13701 @if make
13702 maybe-all-make: all-make
13703 all-make: configure-make
13704 @r=`${PWD_COMMAND}`; export r; \
13705 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13706 $(SET_LIB_PATH) \
13707 $(HOST_EXPORTS) \
13708 (cd make && $(MAKE) $(FLAGS_TO_PASS) all)
13709 @endif make
13711 .PHONY: check-make maybe-check-make
13712 maybe-check-make:
13713 @if make
13714 maybe-check-make: check-make
13716 check-make:
13717 @r=`${PWD_COMMAND}`; export r; \
13718 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13719 $(SET_LIB_PATH) \
13720 $(HOST_EXPORTS) \
13721 (cd make && $(MAKE) $(FLAGS_TO_PASS) check)
13723 @endif make
13725 .PHONY: install-make maybe-install-make
13726 maybe-install-make:
13727 @if make
13728 maybe-install-make: install-make
13730 install-make: installdirs
13731 @r=`${PWD_COMMAND}`; export r; \
13732 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13733 $(SET_LIB_PATH) \
13734 $(HOST_EXPORTS) \
13735 (cd make && $(MAKE) $(FLAGS_TO_PASS) install)
13737 @endif make
13739 # Other targets (info, dvi, etc.)
13741 .PHONY: maybe-info-make info-make
13742 maybe-info-make:
13743 @if make
13744 maybe-info-make: info-make
13746 info-make: \
13747 configure-make
13748 @[ -f ./make/Makefile ] || exit 0; \
13749 r=`${PWD_COMMAND}`; export r; \
13750 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13751 $(SET_LIB_PATH) \
13752 $(HOST_EXPORTS) \
13753 for flag in $(EXTRA_HOST_FLAGS); do \
13754 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13755 done; \
13756 echo "Doing info in make" ; \
13757 (cd make && \
13758 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13759 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13760 "RANLIB=$${RANLIB}" \
13761 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13762 info) \
13763 || exit 1
13765 @endif make
13767 .PHONY: maybe-dvi-make dvi-make
13768 maybe-dvi-make:
13769 @if make
13770 maybe-dvi-make: dvi-make
13772 dvi-make: \
13773 configure-make
13774 @[ -f ./make/Makefile ] || exit 0; \
13775 r=`${PWD_COMMAND}`; export r; \
13776 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13777 $(SET_LIB_PATH) \
13778 $(HOST_EXPORTS) \
13779 for flag in $(EXTRA_HOST_FLAGS); do \
13780 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13781 done; \
13782 echo "Doing dvi in make" ; \
13783 (cd make && \
13784 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13785 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13786 "RANLIB=$${RANLIB}" \
13787 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13788 dvi) \
13789 || exit 1
13791 @endif make
13793 .PHONY: maybe-TAGS-make TAGS-make
13794 maybe-TAGS-make:
13795 @if make
13796 maybe-TAGS-make: TAGS-make
13798 TAGS-make: \
13799 configure-make
13800 @[ -f ./make/Makefile ] || exit 0; \
13801 r=`${PWD_COMMAND}`; export r; \
13802 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13803 $(SET_LIB_PATH) \
13804 $(HOST_EXPORTS) \
13805 for flag in $(EXTRA_HOST_FLAGS); do \
13806 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13807 done; \
13808 echo "Doing TAGS in make" ; \
13809 (cd make && \
13810 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13811 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13812 "RANLIB=$${RANLIB}" \
13813 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13814 TAGS) \
13815 || exit 1
13817 @endif make
13819 .PHONY: maybe-install-info-make install-info-make
13820 maybe-install-info-make:
13821 @if make
13822 maybe-install-info-make: install-info-make
13824 install-info-make: \
13825 configure-make \
13826 info-make
13827 @[ -f ./make/Makefile ] || exit 0; \
13828 r=`${PWD_COMMAND}`; export r; \
13829 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13830 $(SET_LIB_PATH) \
13831 $(HOST_EXPORTS) \
13832 for flag in $(EXTRA_HOST_FLAGS); do \
13833 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13834 done; \
13835 echo "Doing install-info in make" ; \
13836 (cd make && \
13837 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13838 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13839 "RANLIB=$${RANLIB}" \
13840 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13841 install-info) \
13842 || exit 1
13844 @endif make
13846 .PHONY: maybe-installcheck-make installcheck-make
13847 maybe-installcheck-make:
13848 @if make
13849 maybe-installcheck-make: installcheck-make
13851 installcheck-make: \
13852 configure-make
13853 @[ -f ./make/Makefile ] || exit 0; \
13854 r=`${PWD_COMMAND}`; export r; \
13855 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13856 $(SET_LIB_PATH) \
13857 $(HOST_EXPORTS) \
13858 for flag in $(EXTRA_HOST_FLAGS); do \
13859 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13860 done; \
13861 echo "Doing installcheck in make" ; \
13862 (cd make && \
13863 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13864 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13865 "RANLIB=$${RANLIB}" \
13866 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13867 installcheck) \
13868 || exit 1
13870 @endif make
13872 .PHONY: maybe-mostlyclean-make mostlyclean-make
13873 maybe-mostlyclean-make:
13874 @if make
13875 maybe-mostlyclean-make: mostlyclean-make
13877 mostlyclean-make:
13878 @[ -f ./make/Makefile ] || exit 0; \
13879 r=`${PWD_COMMAND}`; export r; \
13880 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13881 $(SET_LIB_PATH) \
13882 $(HOST_EXPORTS) \
13883 for flag in $(EXTRA_HOST_FLAGS); do \
13884 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13885 done; \
13886 echo "Doing mostlyclean in make" ; \
13887 (cd make && \
13888 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13889 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13890 "RANLIB=$${RANLIB}" \
13891 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13892 mostlyclean) \
13893 || exit 1
13895 @endif make
13897 .PHONY: maybe-clean-make clean-make
13898 maybe-clean-make:
13899 @if make
13900 maybe-clean-make: clean-make
13902 clean-make:
13903 @[ -f ./make/Makefile ] || exit 0; \
13904 r=`${PWD_COMMAND}`; export r; \
13905 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13906 $(SET_LIB_PATH) \
13907 $(HOST_EXPORTS) \
13908 for flag in $(EXTRA_HOST_FLAGS); do \
13909 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13910 done; \
13911 echo "Doing clean in make" ; \
13912 (cd make && \
13913 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13914 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13915 "RANLIB=$${RANLIB}" \
13916 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13917 clean) \
13918 || exit 1
13920 @endif make
13922 .PHONY: maybe-distclean-make distclean-make
13923 maybe-distclean-make:
13924 @if make
13925 maybe-distclean-make: distclean-make
13927 distclean-make:
13928 @[ -f ./make/Makefile ] || exit 0; \
13929 r=`${PWD_COMMAND}`; export r; \
13930 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13931 $(SET_LIB_PATH) \
13932 $(HOST_EXPORTS) \
13933 for flag in $(EXTRA_HOST_FLAGS); do \
13934 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13935 done; \
13936 echo "Doing distclean in make" ; \
13937 (cd make && \
13938 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13939 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13940 "RANLIB=$${RANLIB}" \
13941 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13942 distclean) \
13943 || exit 1
13945 @endif make
13947 .PHONY: maybe-maintainer-clean-make maintainer-clean-make
13948 maybe-maintainer-clean-make:
13949 @if make
13950 maybe-maintainer-clean-make: maintainer-clean-make
13952 maintainer-clean-make:
13953 @[ -f ./make/Makefile ] || exit 0; \
13954 r=`${PWD_COMMAND}`; export r; \
13955 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13956 $(SET_LIB_PATH) \
13957 $(HOST_EXPORTS) \
13958 for flag in $(EXTRA_HOST_FLAGS); do \
13959 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13960 done; \
13961 echo "Doing maintainer-clean in make" ; \
13962 (cd make && \
13963 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13964 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13965 "RANLIB=$${RANLIB}" \
13966 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13967 maintainer-clean) \
13968 || exit 1
13970 @endif make
13973 .PHONY: configure-mmalloc maybe-configure-mmalloc
13974 maybe-configure-mmalloc:
13975 @if mmalloc
13976 maybe-configure-mmalloc: configure-mmalloc
13977 configure-mmalloc:
13978 @test ! -f mmalloc/Makefile || exit 0; \
13979 [ -d mmalloc ] || mkdir mmalloc; \
13980 r=`${PWD_COMMAND}`; export r; \
13981 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13982 $(HOST_EXPORTS) \
13983 echo Configuring in mmalloc; \
13984 cd mmalloc || exit 1; \
13985 case $(srcdir) in \
13986 \.) \
13987 srcdiroption="--srcdir=."; \
13988 libsrcdir=".";; \
13989 /* | [A-Za-z]:[\\/]*) \
13990 srcdiroption="--srcdir=$(srcdir)/mmalloc"; \
13991 libsrcdir="$$s/mmalloc";; \
13992 *) \
13993 srcdiroption="--srcdir=../$(srcdir)/mmalloc"; \
13994 libsrcdir="$$s/mmalloc";; \
13995 esac; \
13996 $(SHELL) $${libsrcdir}/configure \
13997 $(HOST_CONFIGARGS) $${srcdiroption} \
13998 || exit 1
13999 @endif mmalloc
14001 .PHONY: all-mmalloc maybe-all-mmalloc
14002 maybe-all-mmalloc:
14003 @if mmalloc
14004 maybe-all-mmalloc: all-mmalloc
14005 all-mmalloc: configure-mmalloc
14006 @r=`${PWD_COMMAND}`; export r; \
14007 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14008 $(SET_LIB_PATH) \
14009 $(HOST_EXPORTS) \
14010 (cd mmalloc && $(MAKE) $(FLAGS_TO_PASS) all)
14011 @endif mmalloc
14013 .PHONY: check-mmalloc maybe-check-mmalloc
14014 maybe-check-mmalloc:
14015 @if mmalloc
14016 maybe-check-mmalloc: check-mmalloc
14018 check-mmalloc:
14020 @endif mmalloc
14022 .PHONY: install-mmalloc maybe-install-mmalloc
14023 maybe-install-mmalloc:
14024 @if mmalloc
14025 maybe-install-mmalloc: install-mmalloc
14027 install-mmalloc: installdirs
14028 @r=`${PWD_COMMAND}`; export r; \
14029 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14030 $(SET_LIB_PATH) \
14031 $(HOST_EXPORTS) \
14032 (cd mmalloc && $(MAKE) $(FLAGS_TO_PASS) install)
14034 @endif mmalloc
14036 # Other targets (info, dvi, etc.)
14038 .PHONY: maybe-info-mmalloc info-mmalloc
14039 maybe-info-mmalloc:
14040 @if mmalloc
14041 maybe-info-mmalloc: info-mmalloc
14043 info-mmalloc: \
14044 configure-mmalloc
14045 @[ -f ./mmalloc/Makefile ] || exit 0; \
14046 r=`${PWD_COMMAND}`; export r; \
14047 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14048 $(SET_LIB_PATH) \
14049 $(HOST_EXPORTS) \
14050 for flag in $(EXTRA_HOST_FLAGS); do \
14051 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14052 done; \
14053 echo "Doing info in mmalloc" ; \
14054 (cd mmalloc && \
14055 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14056 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14057 "RANLIB=$${RANLIB}" \
14058 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14059 info) \
14060 || exit 1
14062 @endif mmalloc
14064 .PHONY: maybe-dvi-mmalloc dvi-mmalloc
14065 maybe-dvi-mmalloc:
14066 @if mmalloc
14067 maybe-dvi-mmalloc: dvi-mmalloc
14069 dvi-mmalloc: \
14070 configure-mmalloc
14071 @[ -f ./mmalloc/Makefile ] || exit 0; \
14072 r=`${PWD_COMMAND}`; export r; \
14073 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14074 $(SET_LIB_PATH) \
14075 $(HOST_EXPORTS) \
14076 for flag in $(EXTRA_HOST_FLAGS); do \
14077 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14078 done; \
14079 echo "Doing dvi in mmalloc" ; \
14080 (cd mmalloc && \
14081 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14082 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14083 "RANLIB=$${RANLIB}" \
14084 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14085 dvi) \
14086 || exit 1
14088 @endif mmalloc
14090 .PHONY: maybe-TAGS-mmalloc TAGS-mmalloc
14091 maybe-TAGS-mmalloc:
14092 @if mmalloc
14093 maybe-TAGS-mmalloc: TAGS-mmalloc
14095 TAGS-mmalloc: \
14096 configure-mmalloc
14097 @[ -f ./mmalloc/Makefile ] || exit 0; \
14098 r=`${PWD_COMMAND}`; export r; \
14099 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14100 $(SET_LIB_PATH) \
14101 $(HOST_EXPORTS) \
14102 for flag in $(EXTRA_HOST_FLAGS); do \
14103 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14104 done; \
14105 echo "Doing TAGS in mmalloc" ; \
14106 (cd mmalloc && \
14107 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14108 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14109 "RANLIB=$${RANLIB}" \
14110 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14111 TAGS) \
14112 || exit 1
14114 @endif mmalloc
14116 .PHONY: maybe-install-info-mmalloc install-info-mmalloc
14117 maybe-install-info-mmalloc:
14118 @if mmalloc
14119 maybe-install-info-mmalloc: install-info-mmalloc
14121 install-info-mmalloc: \
14122 configure-mmalloc \
14123 info-mmalloc
14124 @[ -f ./mmalloc/Makefile ] || exit 0; \
14125 r=`${PWD_COMMAND}`; export r; \
14126 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14127 $(SET_LIB_PATH) \
14128 $(HOST_EXPORTS) \
14129 for flag in $(EXTRA_HOST_FLAGS); do \
14130 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14131 done; \
14132 echo "Doing install-info in mmalloc" ; \
14133 (cd mmalloc && \
14134 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14135 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14136 "RANLIB=$${RANLIB}" \
14137 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14138 install-info) \
14139 || exit 1
14141 @endif mmalloc
14143 .PHONY: maybe-installcheck-mmalloc installcheck-mmalloc
14144 maybe-installcheck-mmalloc:
14145 @if mmalloc
14146 maybe-installcheck-mmalloc: installcheck-mmalloc
14148 installcheck-mmalloc: \
14149 configure-mmalloc
14150 @[ -f ./mmalloc/Makefile ] || exit 0; \
14151 r=`${PWD_COMMAND}`; export r; \
14152 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14153 $(SET_LIB_PATH) \
14154 $(HOST_EXPORTS) \
14155 for flag in $(EXTRA_HOST_FLAGS); do \
14156 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14157 done; \
14158 echo "Doing installcheck in mmalloc" ; \
14159 (cd mmalloc && \
14160 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14161 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14162 "RANLIB=$${RANLIB}" \
14163 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14164 installcheck) \
14165 || exit 1
14167 @endif mmalloc
14169 .PHONY: maybe-mostlyclean-mmalloc mostlyclean-mmalloc
14170 maybe-mostlyclean-mmalloc:
14171 @if mmalloc
14172 maybe-mostlyclean-mmalloc: mostlyclean-mmalloc
14174 mostlyclean-mmalloc:
14175 @[ -f ./mmalloc/Makefile ] || exit 0; \
14176 r=`${PWD_COMMAND}`; export r; \
14177 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14178 $(SET_LIB_PATH) \
14179 $(HOST_EXPORTS) \
14180 for flag in $(EXTRA_HOST_FLAGS); do \
14181 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14182 done; \
14183 echo "Doing mostlyclean in mmalloc" ; \
14184 (cd mmalloc && \
14185 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14186 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14187 "RANLIB=$${RANLIB}" \
14188 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14189 mostlyclean) \
14190 || exit 1
14192 @endif mmalloc
14194 .PHONY: maybe-clean-mmalloc clean-mmalloc
14195 maybe-clean-mmalloc:
14196 @if mmalloc
14197 maybe-clean-mmalloc: clean-mmalloc
14199 clean-mmalloc:
14200 @[ -f ./mmalloc/Makefile ] || exit 0; \
14201 r=`${PWD_COMMAND}`; export r; \
14202 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14203 $(SET_LIB_PATH) \
14204 $(HOST_EXPORTS) \
14205 for flag in $(EXTRA_HOST_FLAGS); do \
14206 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14207 done; \
14208 echo "Doing clean in mmalloc" ; \
14209 (cd mmalloc && \
14210 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14211 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14212 "RANLIB=$${RANLIB}" \
14213 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14214 clean) \
14215 || exit 1
14217 @endif mmalloc
14219 .PHONY: maybe-distclean-mmalloc distclean-mmalloc
14220 maybe-distclean-mmalloc:
14221 @if mmalloc
14222 maybe-distclean-mmalloc: distclean-mmalloc
14224 distclean-mmalloc:
14225 @[ -f ./mmalloc/Makefile ] || exit 0; \
14226 r=`${PWD_COMMAND}`; export r; \
14227 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14228 $(SET_LIB_PATH) \
14229 $(HOST_EXPORTS) \
14230 for flag in $(EXTRA_HOST_FLAGS); do \
14231 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14232 done; \
14233 echo "Doing distclean in mmalloc" ; \
14234 (cd mmalloc && \
14235 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14236 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14237 "RANLIB=$${RANLIB}" \
14238 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14239 distclean) \
14240 || exit 1
14242 @endif mmalloc
14244 .PHONY: maybe-maintainer-clean-mmalloc maintainer-clean-mmalloc
14245 maybe-maintainer-clean-mmalloc:
14246 @if mmalloc
14247 maybe-maintainer-clean-mmalloc: maintainer-clean-mmalloc
14249 maintainer-clean-mmalloc:
14250 @[ -f ./mmalloc/Makefile ] || exit 0; \
14251 r=`${PWD_COMMAND}`; export r; \
14252 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14253 $(SET_LIB_PATH) \
14254 $(HOST_EXPORTS) \
14255 for flag in $(EXTRA_HOST_FLAGS); do \
14256 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14257 done; \
14258 echo "Doing maintainer-clean in mmalloc" ; \
14259 (cd mmalloc && \
14260 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14261 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14262 "RANLIB=$${RANLIB}" \
14263 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14264 maintainer-clean) \
14265 || exit 1
14267 @endif mmalloc
14270 .PHONY: configure-patch maybe-configure-patch
14271 maybe-configure-patch:
14272 @if patch
14273 maybe-configure-patch: configure-patch
14274 configure-patch:
14275 @test ! -f patch/Makefile || exit 0; \
14276 [ -d patch ] || mkdir patch; \
14277 r=`${PWD_COMMAND}`; export r; \
14278 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14279 $(HOST_EXPORTS) \
14280 echo Configuring in patch; \
14281 cd patch || exit 1; \
14282 case $(srcdir) in \
14283 \.) \
14284 srcdiroption="--srcdir=."; \
14285 libsrcdir=".";; \
14286 /* | [A-Za-z]:[\\/]*) \
14287 srcdiroption="--srcdir=$(srcdir)/patch"; \
14288 libsrcdir="$$s/patch";; \
14289 *) \
14290 srcdiroption="--srcdir=../$(srcdir)/patch"; \
14291 libsrcdir="$$s/patch";; \
14292 esac; \
14293 $(SHELL) $${libsrcdir}/configure \
14294 $(HOST_CONFIGARGS) $${srcdiroption} \
14295 || exit 1
14296 @endif patch
14298 .PHONY: all-patch maybe-all-patch
14299 maybe-all-patch:
14300 @if patch
14301 maybe-all-patch: all-patch
14302 all-patch: configure-patch
14303 @r=`${PWD_COMMAND}`; export r; \
14304 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14305 $(SET_LIB_PATH) \
14306 $(HOST_EXPORTS) \
14307 (cd patch && $(MAKE) $(FLAGS_TO_PASS) all)
14308 @endif patch
14310 .PHONY: check-patch maybe-check-patch
14311 maybe-check-patch:
14312 @if patch
14313 maybe-check-patch: check-patch
14315 check-patch:
14316 @r=`${PWD_COMMAND}`; export r; \
14317 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14318 $(SET_LIB_PATH) \
14319 $(HOST_EXPORTS) \
14320 (cd patch && $(MAKE) $(FLAGS_TO_PASS) check)
14322 @endif patch
14324 .PHONY: install-patch maybe-install-patch
14325 maybe-install-patch:
14326 @if patch
14327 maybe-install-patch: install-patch
14329 install-patch: installdirs
14330 @r=`${PWD_COMMAND}`; export r; \
14331 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14332 $(SET_LIB_PATH) \
14333 $(HOST_EXPORTS) \
14334 (cd patch && $(MAKE) $(FLAGS_TO_PASS) install)
14336 @endif patch
14338 # Other targets (info, dvi, etc.)
14340 .PHONY: maybe-info-patch info-patch
14341 maybe-info-patch:
14342 @if patch
14343 maybe-info-patch: info-patch
14345 info-patch: \
14346 configure-patch
14347 @[ -f ./patch/Makefile ] || exit 0; \
14348 r=`${PWD_COMMAND}`; export r; \
14349 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14350 $(SET_LIB_PATH) \
14351 $(HOST_EXPORTS) \
14352 for flag in $(EXTRA_HOST_FLAGS); do \
14353 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14354 done; \
14355 echo "Doing info in patch" ; \
14356 (cd patch && \
14357 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14358 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14359 "RANLIB=$${RANLIB}" \
14360 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14361 info) \
14362 || exit 1
14364 @endif patch
14366 .PHONY: maybe-dvi-patch dvi-patch
14367 maybe-dvi-patch:
14368 @if patch
14369 maybe-dvi-patch: dvi-patch
14371 dvi-patch: \
14372 configure-patch
14373 @[ -f ./patch/Makefile ] || exit 0; \
14374 r=`${PWD_COMMAND}`; export r; \
14375 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14376 $(SET_LIB_PATH) \
14377 $(HOST_EXPORTS) \
14378 for flag in $(EXTRA_HOST_FLAGS); do \
14379 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14380 done; \
14381 echo "Doing dvi in patch" ; \
14382 (cd patch && \
14383 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14384 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14385 "RANLIB=$${RANLIB}" \
14386 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14387 dvi) \
14388 || exit 1
14390 @endif patch
14392 .PHONY: maybe-TAGS-patch TAGS-patch
14393 maybe-TAGS-patch:
14394 @if patch
14395 maybe-TAGS-patch: TAGS-patch
14397 TAGS-patch: \
14398 configure-patch
14399 @[ -f ./patch/Makefile ] || exit 0; \
14400 r=`${PWD_COMMAND}`; export r; \
14401 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14402 $(SET_LIB_PATH) \
14403 $(HOST_EXPORTS) \
14404 for flag in $(EXTRA_HOST_FLAGS); do \
14405 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14406 done; \
14407 echo "Doing TAGS in patch" ; \
14408 (cd patch && \
14409 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14410 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14411 "RANLIB=$${RANLIB}" \
14412 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14413 TAGS) \
14414 || exit 1
14416 @endif patch
14418 .PHONY: maybe-install-info-patch install-info-patch
14419 maybe-install-info-patch:
14420 @if patch
14421 maybe-install-info-patch: install-info-patch
14423 install-info-patch: \
14424 configure-patch \
14425 info-patch
14426 @[ -f ./patch/Makefile ] || exit 0; \
14427 r=`${PWD_COMMAND}`; export r; \
14428 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14429 $(SET_LIB_PATH) \
14430 $(HOST_EXPORTS) \
14431 for flag in $(EXTRA_HOST_FLAGS); do \
14432 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14433 done; \
14434 echo "Doing install-info in patch" ; \
14435 (cd patch && \
14436 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14437 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14438 "RANLIB=$${RANLIB}" \
14439 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14440 install-info) \
14441 || exit 1
14443 @endif patch
14445 .PHONY: maybe-installcheck-patch installcheck-patch
14446 maybe-installcheck-patch:
14447 @if patch
14448 maybe-installcheck-patch: installcheck-patch
14450 installcheck-patch: \
14451 configure-patch
14452 @[ -f ./patch/Makefile ] || exit 0; \
14453 r=`${PWD_COMMAND}`; export r; \
14454 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14455 $(SET_LIB_PATH) \
14456 $(HOST_EXPORTS) \
14457 for flag in $(EXTRA_HOST_FLAGS); do \
14458 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14459 done; \
14460 echo "Doing installcheck in patch" ; \
14461 (cd patch && \
14462 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14463 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14464 "RANLIB=$${RANLIB}" \
14465 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14466 installcheck) \
14467 || exit 1
14469 @endif patch
14471 .PHONY: maybe-mostlyclean-patch mostlyclean-patch
14472 maybe-mostlyclean-patch:
14473 @if patch
14474 maybe-mostlyclean-patch: mostlyclean-patch
14476 mostlyclean-patch:
14477 @[ -f ./patch/Makefile ] || exit 0; \
14478 r=`${PWD_COMMAND}`; export r; \
14479 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14480 $(SET_LIB_PATH) \
14481 $(HOST_EXPORTS) \
14482 for flag in $(EXTRA_HOST_FLAGS); do \
14483 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14484 done; \
14485 echo "Doing mostlyclean in patch" ; \
14486 (cd patch && \
14487 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14488 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14489 "RANLIB=$${RANLIB}" \
14490 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14491 mostlyclean) \
14492 || exit 1
14494 @endif patch
14496 .PHONY: maybe-clean-patch clean-patch
14497 maybe-clean-patch:
14498 @if patch
14499 maybe-clean-patch: clean-patch
14501 clean-patch:
14502 @[ -f ./patch/Makefile ] || exit 0; \
14503 r=`${PWD_COMMAND}`; export r; \
14504 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14505 $(SET_LIB_PATH) \
14506 $(HOST_EXPORTS) \
14507 for flag in $(EXTRA_HOST_FLAGS); do \
14508 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14509 done; \
14510 echo "Doing clean in patch" ; \
14511 (cd patch && \
14512 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14513 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14514 "RANLIB=$${RANLIB}" \
14515 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14516 clean) \
14517 || exit 1
14519 @endif patch
14521 .PHONY: maybe-distclean-patch distclean-patch
14522 maybe-distclean-patch:
14523 @if patch
14524 maybe-distclean-patch: distclean-patch
14526 distclean-patch:
14527 @[ -f ./patch/Makefile ] || exit 0; \
14528 r=`${PWD_COMMAND}`; export r; \
14529 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14530 $(SET_LIB_PATH) \
14531 $(HOST_EXPORTS) \
14532 for flag in $(EXTRA_HOST_FLAGS); do \
14533 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14534 done; \
14535 echo "Doing distclean in patch" ; \
14536 (cd patch && \
14537 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14538 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14539 "RANLIB=$${RANLIB}" \
14540 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14541 distclean) \
14542 || exit 1
14544 @endif patch
14546 .PHONY: maybe-maintainer-clean-patch maintainer-clean-patch
14547 maybe-maintainer-clean-patch:
14548 @if patch
14549 maybe-maintainer-clean-patch: maintainer-clean-patch
14551 maintainer-clean-patch:
14552 @[ -f ./patch/Makefile ] || exit 0; \
14553 r=`${PWD_COMMAND}`; export r; \
14554 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14555 $(SET_LIB_PATH) \
14556 $(HOST_EXPORTS) \
14557 for flag in $(EXTRA_HOST_FLAGS); do \
14558 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14559 done; \
14560 echo "Doing maintainer-clean in patch" ; \
14561 (cd patch && \
14562 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14563 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14564 "RANLIB=$${RANLIB}" \
14565 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14566 maintainer-clean) \
14567 || exit 1
14569 @endif patch
14572 .PHONY: configure-perl maybe-configure-perl
14573 maybe-configure-perl:
14574 @if perl
14575 maybe-configure-perl: configure-perl
14576 configure-perl:
14577 @test ! -f perl/Makefile || exit 0; \
14578 [ -d perl ] || mkdir perl; \
14579 r=`${PWD_COMMAND}`; export r; \
14580 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14581 $(HOST_EXPORTS) \
14582 echo Configuring in perl; \
14583 cd perl || exit 1; \
14584 case $(srcdir) in \
14585 \.) \
14586 srcdiroption="--srcdir=."; \
14587 libsrcdir=".";; \
14588 /* | [A-Za-z]:[\\/]*) \
14589 srcdiroption="--srcdir=$(srcdir)/perl"; \
14590 libsrcdir="$$s/perl";; \
14591 *) \
14592 srcdiroption="--srcdir=../$(srcdir)/perl"; \
14593 libsrcdir="$$s/perl";; \
14594 esac; \
14595 $(SHELL) $${libsrcdir}/configure \
14596 $(HOST_CONFIGARGS) $${srcdiroption} \
14597 || exit 1
14598 @endif perl
14600 .PHONY: all-perl maybe-all-perl
14601 maybe-all-perl:
14602 @if perl
14603 maybe-all-perl: all-perl
14604 all-perl: configure-perl
14605 @r=`${PWD_COMMAND}`; export r; \
14606 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14607 $(SET_LIB_PATH) \
14608 $(HOST_EXPORTS) \
14609 (cd perl && $(MAKE) $(FLAGS_TO_PASS) all)
14610 @endif perl
14612 .PHONY: check-perl maybe-check-perl
14613 maybe-check-perl:
14614 @if perl
14615 maybe-check-perl: check-perl
14617 check-perl:
14618 @r=`${PWD_COMMAND}`; export r; \
14619 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14620 $(SET_LIB_PATH) \
14621 $(HOST_EXPORTS) \
14622 (cd perl && $(MAKE) $(FLAGS_TO_PASS) check)
14624 @endif perl
14626 .PHONY: install-perl maybe-install-perl
14627 maybe-install-perl:
14628 @if perl
14629 maybe-install-perl: install-perl
14631 install-perl: installdirs
14632 @r=`${PWD_COMMAND}`; export r; \
14633 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14634 $(SET_LIB_PATH) \
14635 $(HOST_EXPORTS) \
14636 (cd perl && $(MAKE) $(FLAGS_TO_PASS) install)
14638 @endif perl
14640 # Other targets (info, dvi, etc.)
14642 .PHONY: maybe-info-perl info-perl
14643 maybe-info-perl:
14644 @if perl
14645 maybe-info-perl: info-perl
14647 info-perl: \
14648 configure-perl
14649 @[ -f ./perl/Makefile ] || exit 0; \
14650 r=`${PWD_COMMAND}`; export r; \
14651 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14652 $(SET_LIB_PATH) \
14653 $(HOST_EXPORTS) \
14654 for flag in $(EXTRA_HOST_FLAGS); do \
14655 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14656 done; \
14657 echo "Doing info in perl" ; \
14658 (cd perl && \
14659 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14660 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14661 "RANLIB=$${RANLIB}" \
14662 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14663 info) \
14664 || exit 1
14666 @endif perl
14668 .PHONY: maybe-dvi-perl dvi-perl
14669 maybe-dvi-perl:
14670 @if perl
14671 maybe-dvi-perl: dvi-perl
14673 dvi-perl: \
14674 configure-perl
14675 @[ -f ./perl/Makefile ] || exit 0; \
14676 r=`${PWD_COMMAND}`; export r; \
14677 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14678 $(SET_LIB_PATH) \
14679 $(HOST_EXPORTS) \
14680 for flag in $(EXTRA_HOST_FLAGS); do \
14681 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14682 done; \
14683 echo "Doing dvi in perl" ; \
14684 (cd perl && \
14685 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14686 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14687 "RANLIB=$${RANLIB}" \
14688 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14689 dvi) \
14690 || exit 1
14692 @endif perl
14694 .PHONY: maybe-TAGS-perl TAGS-perl
14695 maybe-TAGS-perl:
14696 @if perl
14697 maybe-TAGS-perl: TAGS-perl
14699 TAGS-perl: \
14700 configure-perl
14701 @[ -f ./perl/Makefile ] || exit 0; \
14702 r=`${PWD_COMMAND}`; export r; \
14703 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14704 $(SET_LIB_PATH) \
14705 $(HOST_EXPORTS) \
14706 for flag in $(EXTRA_HOST_FLAGS); do \
14707 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14708 done; \
14709 echo "Doing TAGS in perl" ; \
14710 (cd perl && \
14711 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14712 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14713 "RANLIB=$${RANLIB}" \
14714 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14715 TAGS) \
14716 || exit 1
14718 @endif perl
14720 .PHONY: maybe-install-info-perl install-info-perl
14721 maybe-install-info-perl:
14722 @if perl
14723 maybe-install-info-perl: install-info-perl
14725 install-info-perl: \
14726 configure-perl \
14727 info-perl
14728 @[ -f ./perl/Makefile ] || exit 0; \
14729 r=`${PWD_COMMAND}`; export r; \
14730 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14731 $(SET_LIB_PATH) \
14732 $(HOST_EXPORTS) \
14733 for flag in $(EXTRA_HOST_FLAGS); do \
14734 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14735 done; \
14736 echo "Doing install-info in perl" ; \
14737 (cd perl && \
14738 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14739 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14740 "RANLIB=$${RANLIB}" \
14741 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14742 install-info) \
14743 || exit 1
14745 @endif perl
14747 .PHONY: maybe-installcheck-perl installcheck-perl
14748 maybe-installcheck-perl:
14749 @if perl
14750 maybe-installcheck-perl: installcheck-perl
14752 installcheck-perl: \
14753 configure-perl
14754 @[ -f ./perl/Makefile ] || exit 0; \
14755 r=`${PWD_COMMAND}`; export r; \
14756 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14757 $(SET_LIB_PATH) \
14758 $(HOST_EXPORTS) \
14759 for flag in $(EXTRA_HOST_FLAGS); do \
14760 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14761 done; \
14762 echo "Doing installcheck in perl" ; \
14763 (cd perl && \
14764 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14765 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14766 "RANLIB=$${RANLIB}" \
14767 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14768 installcheck) \
14769 || exit 1
14771 @endif perl
14773 .PHONY: maybe-mostlyclean-perl mostlyclean-perl
14774 maybe-mostlyclean-perl:
14775 @if perl
14776 maybe-mostlyclean-perl: mostlyclean-perl
14778 mostlyclean-perl:
14779 @[ -f ./perl/Makefile ] || exit 0; \
14780 r=`${PWD_COMMAND}`; export r; \
14781 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14782 $(SET_LIB_PATH) \
14783 $(HOST_EXPORTS) \
14784 for flag in $(EXTRA_HOST_FLAGS); do \
14785 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14786 done; \
14787 echo "Doing mostlyclean in perl" ; \
14788 (cd perl && \
14789 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14790 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14791 "RANLIB=$${RANLIB}" \
14792 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14793 mostlyclean) \
14794 || exit 1
14796 @endif perl
14798 .PHONY: maybe-clean-perl clean-perl
14799 maybe-clean-perl:
14800 @if perl
14801 maybe-clean-perl: clean-perl
14803 clean-perl:
14804 @[ -f ./perl/Makefile ] || exit 0; \
14805 r=`${PWD_COMMAND}`; export r; \
14806 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14807 $(SET_LIB_PATH) \
14808 $(HOST_EXPORTS) \
14809 for flag in $(EXTRA_HOST_FLAGS); do \
14810 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14811 done; \
14812 echo "Doing clean in perl" ; \
14813 (cd perl && \
14814 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14815 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14816 "RANLIB=$${RANLIB}" \
14817 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14818 clean) \
14819 || exit 1
14821 @endif perl
14823 .PHONY: maybe-distclean-perl distclean-perl
14824 maybe-distclean-perl:
14825 @if perl
14826 maybe-distclean-perl: distclean-perl
14828 distclean-perl:
14829 @[ -f ./perl/Makefile ] || exit 0; \
14830 r=`${PWD_COMMAND}`; export r; \
14831 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14832 $(SET_LIB_PATH) \
14833 $(HOST_EXPORTS) \
14834 for flag in $(EXTRA_HOST_FLAGS); do \
14835 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14836 done; \
14837 echo "Doing distclean in perl" ; \
14838 (cd perl && \
14839 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14840 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14841 "RANLIB=$${RANLIB}" \
14842 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14843 distclean) \
14844 || exit 1
14846 @endif perl
14848 .PHONY: maybe-maintainer-clean-perl maintainer-clean-perl
14849 maybe-maintainer-clean-perl:
14850 @if perl
14851 maybe-maintainer-clean-perl: maintainer-clean-perl
14853 maintainer-clean-perl:
14854 @[ -f ./perl/Makefile ] || exit 0; \
14855 r=`${PWD_COMMAND}`; export r; \
14856 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14857 $(SET_LIB_PATH) \
14858 $(HOST_EXPORTS) \
14859 for flag in $(EXTRA_HOST_FLAGS); do \
14860 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14861 done; \
14862 echo "Doing maintainer-clean in perl" ; \
14863 (cd perl && \
14864 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14865 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14866 "RANLIB=$${RANLIB}" \
14867 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14868 maintainer-clean) \
14869 || exit 1
14871 @endif perl
14874 .PHONY: configure-prms maybe-configure-prms
14875 maybe-configure-prms:
14876 @if prms
14877 maybe-configure-prms: configure-prms
14878 configure-prms:
14879 @test ! -f prms/Makefile || exit 0; \
14880 [ -d prms ] || mkdir prms; \
14881 r=`${PWD_COMMAND}`; export r; \
14882 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14883 $(HOST_EXPORTS) \
14884 echo Configuring in prms; \
14885 cd prms || exit 1; \
14886 case $(srcdir) in \
14887 \.) \
14888 srcdiroption="--srcdir=."; \
14889 libsrcdir=".";; \
14890 /* | [A-Za-z]:[\\/]*) \
14891 srcdiroption="--srcdir=$(srcdir)/prms"; \
14892 libsrcdir="$$s/prms";; \
14893 *) \
14894 srcdiroption="--srcdir=../$(srcdir)/prms"; \
14895 libsrcdir="$$s/prms";; \
14896 esac; \
14897 $(SHELL) $${libsrcdir}/configure \
14898 $(HOST_CONFIGARGS) $${srcdiroption} \
14899 || exit 1
14900 @endif prms
14902 .PHONY: all-prms maybe-all-prms
14903 maybe-all-prms:
14904 @if prms
14905 maybe-all-prms: all-prms
14906 all-prms: configure-prms
14907 @r=`${PWD_COMMAND}`; export r; \
14908 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14909 $(SET_LIB_PATH) \
14910 $(HOST_EXPORTS) \
14911 (cd prms && $(MAKE) $(FLAGS_TO_PASS) all)
14912 @endif prms
14914 .PHONY: check-prms maybe-check-prms
14915 maybe-check-prms:
14916 @if prms
14917 maybe-check-prms: check-prms
14919 check-prms:
14920 @r=`${PWD_COMMAND}`; export r; \
14921 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14922 $(SET_LIB_PATH) \
14923 $(HOST_EXPORTS) \
14924 (cd prms && $(MAKE) $(FLAGS_TO_PASS) check)
14926 @endif prms
14928 .PHONY: install-prms maybe-install-prms
14929 maybe-install-prms:
14930 @if prms
14931 maybe-install-prms: install-prms
14933 install-prms: installdirs
14934 @r=`${PWD_COMMAND}`; export r; \
14935 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14936 $(SET_LIB_PATH) \
14937 $(HOST_EXPORTS) \
14938 (cd prms && $(MAKE) $(FLAGS_TO_PASS) install)
14940 @endif prms
14942 # Other targets (info, dvi, etc.)
14944 .PHONY: maybe-info-prms info-prms
14945 maybe-info-prms:
14946 @if prms
14947 maybe-info-prms: info-prms
14949 info-prms: \
14950 configure-prms
14951 @[ -f ./prms/Makefile ] || exit 0; \
14952 r=`${PWD_COMMAND}`; export r; \
14953 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14954 $(SET_LIB_PATH) \
14955 $(HOST_EXPORTS) \
14956 for flag in $(EXTRA_HOST_FLAGS); do \
14957 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14958 done; \
14959 echo "Doing info in prms" ; \
14960 (cd prms && \
14961 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14962 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14963 "RANLIB=$${RANLIB}" \
14964 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14965 info) \
14966 || exit 1
14968 @endif prms
14970 .PHONY: maybe-dvi-prms dvi-prms
14971 maybe-dvi-prms:
14972 @if prms
14973 maybe-dvi-prms: dvi-prms
14975 dvi-prms: \
14976 configure-prms
14977 @[ -f ./prms/Makefile ] || exit 0; \
14978 r=`${PWD_COMMAND}`; export r; \
14979 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14980 $(SET_LIB_PATH) \
14981 $(HOST_EXPORTS) \
14982 for flag in $(EXTRA_HOST_FLAGS); do \
14983 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14984 done; \
14985 echo "Doing dvi in prms" ; \
14986 (cd prms && \
14987 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14988 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14989 "RANLIB=$${RANLIB}" \
14990 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14991 dvi) \
14992 || exit 1
14994 @endif prms
14996 .PHONY: maybe-TAGS-prms TAGS-prms
14997 maybe-TAGS-prms:
14998 @if prms
14999 maybe-TAGS-prms: TAGS-prms
15001 TAGS-prms: \
15002 configure-prms
15003 @[ -f ./prms/Makefile ] || exit 0; \
15004 r=`${PWD_COMMAND}`; export r; \
15005 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15006 $(SET_LIB_PATH) \
15007 $(HOST_EXPORTS) \
15008 for flag in $(EXTRA_HOST_FLAGS); do \
15009 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15010 done; \
15011 echo "Doing TAGS in prms" ; \
15012 (cd prms && \
15013 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15014 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15015 "RANLIB=$${RANLIB}" \
15016 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15017 TAGS) \
15018 || exit 1
15020 @endif prms
15022 .PHONY: maybe-install-info-prms install-info-prms
15023 maybe-install-info-prms:
15024 @if prms
15025 maybe-install-info-prms: install-info-prms
15027 install-info-prms: \
15028 configure-prms \
15029 info-prms
15030 @[ -f ./prms/Makefile ] || exit 0; \
15031 r=`${PWD_COMMAND}`; export r; \
15032 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15033 $(SET_LIB_PATH) \
15034 $(HOST_EXPORTS) \
15035 for flag in $(EXTRA_HOST_FLAGS); do \
15036 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15037 done; \
15038 echo "Doing install-info in prms" ; \
15039 (cd prms && \
15040 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15041 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15042 "RANLIB=$${RANLIB}" \
15043 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15044 install-info) \
15045 || exit 1
15047 @endif prms
15049 .PHONY: maybe-installcheck-prms installcheck-prms
15050 maybe-installcheck-prms:
15051 @if prms
15052 maybe-installcheck-prms: installcheck-prms
15054 installcheck-prms: \
15055 configure-prms
15056 @[ -f ./prms/Makefile ] || exit 0; \
15057 r=`${PWD_COMMAND}`; export r; \
15058 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15059 $(SET_LIB_PATH) \
15060 $(HOST_EXPORTS) \
15061 for flag in $(EXTRA_HOST_FLAGS); do \
15062 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15063 done; \
15064 echo "Doing installcheck in prms" ; \
15065 (cd prms && \
15066 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15067 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15068 "RANLIB=$${RANLIB}" \
15069 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15070 installcheck) \
15071 || exit 1
15073 @endif prms
15075 .PHONY: maybe-mostlyclean-prms mostlyclean-prms
15076 maybe-mostlyclean-prms:
15077 @if prms
15078 maybe-mostlyclean-prms: mostlyclean-prms
15080 mostlyclean-prms:
15081 @[ -f ./prms/Makefile ] || exit 0; \
15082 r=`${PWD_COMMAND}`; export r; \
15083 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15084 $(SET_LIB_PATH) \
15085 $(HOST_EXPORTS) \
15086 for flag in $(EXTRA_HOST_FLAGS); do \
15087 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15088 done; \
15089 echo "Doing mostlyclean in prms" ; \
15090 (cd prms && \
15091 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15092 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15093 "RANLIB=$${RANLIB}" \
15094 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15095 mostlyclean) \
15096 || exit 1
15098 @endif prms
15100 .PHONY: maybe-clean-prms clean-prms
15101 maybe-clean-prms:
15102 @if prms
15103 maybe-clean-prms: clean-prms
15105 clean-prms:
15106 @[ -f ./prms/Makefile ] || exit 0; \
15107 r=`${PWD_COMMAND}`; export r; \
15108 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15109 $(SET_LIB_PATH) \
15110 $(HOST_EXPORTS) \
15111 for flag in $(EXTRA_HOST_FLAGS); do \
15112 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15113 done; \
15114 echo "Doing clean in prms" ; \
15115 (cd prms && \
15116 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15117 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15118 "RANLIB=$${RANLIB}" \
15119 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15120 clean) \
15121 || exit 1
15123 @endif prms
15125 .PHONY: maybe-distclean-prms distclean-prms
15126 maybe-distclean-prms:
15127 @if prms
15128 maybe-distclean-prms: distclean-prms
15130 distclean-prms:
15131 @[ -f ./prms/Makefile ] || exit 0; \
15132 r=`${PWD_COMMAND}`; export r; \
15133 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15134 $(SET_LIB_PATH) \
15135 $(HOST_EXPORTS) \
15136 for flag in $(EXTRA_HOST_FLAGS); do \
15137 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15138 done; \
15139 echo "Doing distclean in prms" ; \
15140 (cd prms && \
15141 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15142 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15143 "RANLIB=$${RANLIB}" \
15144 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15145 distclean) \
15146 || exit 1
15148 @endif prms
15150 .PHONY: maybe-maintainer-clean-prms maintainer-clean-prms
15151 maybe-maintainer-clean-prms:
15152 @if prms
15153 maybe-maintainer-clean-prms: maintainer-clean-prms
15155 maintainer-clean-prms:
15156 @[ -f ./prms/Makefile ] || exit 0; \
15157 r=`${PWD_COMMAND}`; export r; \
15158 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15159 $(SET_LIB_PATH) \
15160 $(HOST_EXPORTS) \
15161 for flag in $(EXTRA_HOST_FLAGS); do \
15162 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15163 done; \
15164 echo "Doing maintainer-clean in prms" ; \
15165 (cd prms && \
15166 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15167 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15168 "RANLIB=$${RANLIB}" \
15169 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15170 maintainer-clean) \
15171 || exit 1
15173 @endif prms
15176 .PHONY: configure-rcs maybe-configure-rcs
15177 maybe-configure-rcs:
15178 @if rcs
15179 maybe-configure-rcs: configure-rcs
15180 configure-rcs:
15181 @test ! -f rcs/Makefile || exit 0; \
15182 [ -d rcs ] || mkdir rcs; \
15183 r=`${PWD_COMMAND}`; export r; \
15184 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15185 $(HOST_EXPORTS) \
15186 echo Configuring in rcs; \
15187 cd rcs || exit 1; \
15188 case $(srcdir) in \
15189 \.) \
15190 srcdiroption="--srcdir=."; \
15191 libsrcdir=".";; \
15192 /* | [A-Za-z]:[\\/]*) \
15193 srcdiroption="--srcdir=$(srcdir)/rcs"; \
15194 libsrcdir="$$s/rcs";; \
15195 *) \
15196 srcdiroption="--srcdir=../$(srcdir)/rcs"; \
15197 libsrcdir="$$s/rcs";; \
15198 esac; \
15199 $(SHELL) $${libsrcdir}/configure \
15200 $(HOST_CONFIGARGS) $${srcdiroption} \
15201 || exit 1
15202 @endif rcs
15204 .PHONY: all-rcs maybe-all-rcs
15205 maybe-all-rcs:
15206 @if rcs
15207 maybe-all-rcs: all-rcs
15208 all-rcs: configure-rcs
15209 @r=`${PWD_COMMAND}`; export r; \
15210 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15211 $(SET_LIB_PATH) \
15212 $(HOST_EXPORTS) \
15213 (cd rcs && $(MAKE) $(FLAGS_TO_PASS) all)
15214 @endif rcs
15216 .PHONY: check-rcs maybe-check-rcs
15217 maybe-check-rcs:
15218 @if rcs
15219 maybe-check-rcs: check-rcs
15221 check-rcs:
15222 @r=`${PWD_COMMAND}`; export r; \
15223 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15224 $(SET_LIB_PATH) \
15225 $(HOST_EXPORTS) \
15226 (cd rcs && $(MAKE) $(FLAGS_TO_PASS) check)
15228 @endif rcs
15230 .PHONY: install-rcs maybe-install-rcs
15231 maybe-install-rcs:
15232 @if rcs
15233 maybe-install-rcs: install-rcs
15235 install-rcs: installdirs
15236 @r=`${PWD_COMMAND}`; export r; \
15237 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15238 $(SET_LIB_PATH) \
15239 $(HOST_EXPORTS) \
15240 (cd rcs && $(MAKE) $(FLAGS_TO_PASS) install)
15242 @endif rcs
15244 # Other targets (info, dvi, etc.)
15246 .PHONY: maybe-info-rcs info-rcs
15247 maybe-info-rcs:
15248 @if rcs
15249 maybe-info-rcs: info-rcs
15251 info-rcs: \
15252 configure-rcs
15253 @[ -f ./rcs/Makefile ] || exit 0; \
15254 r=`${PWD_COMMAND}`; export r; \
15255 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15256 $(SET_LIB_PATH) \
15257 $(HOST_EXPORTS) \
15258 for flag in $(EXTRA_HOST_FLAGS); do \
15259 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15260 done; \
15261 echo "Doing info in rcs" ; \
15262 (cd rcs && \
15263 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15264 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15265 "RANLIB=$${RANLIB}" \
15266 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15267 info) \
15268 || exit 1
15270 @endif rcs
15272 .PHONY: maybe-dvi-rcs dvi-rcs
15273 maybe-dvi-rcs:
15274 @if rcs
15275 maybe-dvi-rcs: dvi-rcs
15277 dvi-rcs: \
15278 configure-rcs
15279 @[ -f ./rcs/Makefile ] || exit 0; \
15280 r=`${PWD_COMMAND}`; export r; \
15281 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15282 $(SET_LIB_PATH) \
15283 $(HOST_EXPORTS) \
15284 for flag in $(EXTRA_HOST_FLAGS); do \
15285 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15286 done; \
15287 echo "Doing dvi in rcs" ; \
15288 (cd rcs && \
15289 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15290 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15291 "RANLIB=$${RANLIB}" \
15292 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15293 dvi) \
15294 || exit 1
15296 @endif rcs
15298 .PHONY: maybe-TAGS-rcs TAGS-rcs
15299 maybe-TAGS-rcs:
15300 @if rcs
15301 maybe-TAGS-rcs: TAGS-rcs
15303 TAGS-rcs: \
15304 configure-rcs
15305 @[ -f ./rcs/Makefile ] || exit 0; \
15306 r=`${PWD_COMMAND}`; export r; \
15307 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15308 $(SET_LIB_PATH) \
15309 $(HOST_EXPORTS) \
15310 for flag in $(EXTRA_HOST_FLAGS); do \
15311 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15312 done; \
15313 echo "Doing TAGS in rcs" ; \
15314 (cd rcs && \
15315 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15316 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15317 "RANLIB=$${RANLIB}" \
15318 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15319 TAGS) \
15320 || exit 1
15322 @endif rcs
15324 .PHONY: maybe-install-info-rcs install-info-rcs
15325 maybe-install-info-rcs:
15326 @if rcs
15327 maybe-install-info-rcs: install-info-rcs
15329 install-info-rcs: \
15330 configure-rcs \
15331 info-rcs
15332 @[ -f ./rcs/Makefile ] || exit 0; \
15333 r=`${PWD_COMMAND}`; export r; \
15334 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15335 $(SET_LIB_PATH) \
15336 $(HOST_EXPORTS) \
15337 for flag in $(EXTRA_HOST_FLAGS); do \
15338 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15339 done; \
15340 echo "Doing install-info in rcs" ; \
15341 (cd rcs && \
15342 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15343 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15344 "RANLIB=$${RANLIB}" \
15345 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15346 install-info) \
15347 || exit 1
15349 @endif rcs
15351 .PHONY: maybe-installcheck-rcs installcheck-rcs
15352 maybe-installcheck-rcs:
15353 @if rcs
15354 maybe-installcheck-rcs: installcheck-rcs
15356 installcheck-rcs: \
15357 configure-rcs
15358 @[ -f ./rcs/Makefile ] || exit 0; \
15359 r=`${PWD_COMMAND}`; export r; \
15360 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15361 $(SET_LIB_PATH) \
15362 $(HOST_EXPORTS) \
15363 for flag in $(EXTRA_HOST_FLAGS); do \
15364 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15365 done; \
15366 echo "Doing installcheck in rcs" ; \
15367 (cd rcs && \
15368 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15369 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15370 "RANLIB=$${RANLIB}" \
15371 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15372 installcheck) \
15373 || exit 1
15375 @endif rcs
15377 .PHONY: maybe-mostlyclean-rcs mostlyclean-rcs
15378 maybe-mostlyclean-rcs:
15379 @if rcs
15380 maybe-mostlyclean-rcs: mostlyclean-rcs
15382 mostlyclean-rcs:
15383 @[ -f ./rcs/Makefile ] || exit 0; \
15384 r=`${PWD_COMMAND}`; export r; \
15385 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15386 $(SET_LIB_PATH) \
15387 $(HOST_EXPORTS) \
15388 for flag in $(EXTRA_HOST_FLAGS); do \
15389 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15390 done; \
15391 echo "Doing mostlyclean in rcs" ; \
15392 (cd rcs && \
15393 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15394 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15395 "RANLIB=$${RANLIB}" \
15396 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15397 mostlyclean) \
15398 || exit 1
15400 @endif rcs
15402 .PHONY: maybe-clean-rcs clean-rcs
15403 maybe-clean-rcs:
15404 @if rcs
15405 maybe-clean-rcs: clean-rcs
15407 clean-rcs:
15408 @[ -f ./rcs/Makefile ] || exit 0; \
15409 r=`${PWD_COMMAND}`; export r; \
15410 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15411 $(SET_LIB_PATH) \
15412 $(HOST_EXPORTS) \
15413 for flag in $(EXTRA_HOST_FLAGS); do \
15414 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15415 done; \
15416 echo "Doing clean in rcs" ; \
15417 (cd rcs && \
15418 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15419 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15420 "RANLIB=$${RANLIB}" \
15421 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15422 clean) \
15423 || exit 1
15425 @endif rcs
15427 .PHONY: maybe-distclean-rcs distclean-rcs
15428 maybe-distclean-rcs:
15429 @if rcs
15430 maybe-distclean-rcs: distclean-rcs
15432 distclean-rcs:
15433 @[ -f ./rcs/Makefile ] || exit 0; \
15434 r=`${PWD_COMMAND}`; export r; \
15435 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15436 $(SET_LIB_PATH) \
15437 $(HOST_EXPORTS) \
15438 for flag in $(EXTRA_HOST_FLAGS); do \
15439 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15440 done; \
15441 echo "Doing distclean in rcs" ; \
15442 (cd rcs && \
15443 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15444 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15445 "RANLIB=$${RANLIB}" \
15446 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15447 distclean) \
15448 || exit 1
15450 @endif rcs
15452 .PHONY: maybe-maintainer-clean-rcs maintainer-clean-rcs
15453 maybe-maintainer-clean-rcs:
15454 @if rcs
15455 maybe-maintainer-clean-rcs: maintainer-clean-rcs
15457 maintainer-clean-rcs:
15458 @[ -f ./rcs/Makefile ] || exit 0; \
15459 r=`${PWD_COMMAND}`; export r; \
15460 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15461 $(SET_LIB_PATH) \
15462 $(HOST_EXPORTS) \
15463 for flag in $(EXTRA_HOST_FLAGS); do \
15464 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15465 done; \
15466 echo "Doing maintainer-clean in rcs" ; \
15467 (cd rcs && \
15468 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15469 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15470 "RANLIB=$${RANLIB}" \
15471 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15472 maintainer-clean) \
15473 || exit 1
15475 @endif rcs
15478 .PHONY: configure-readline maybe-configure-readline
15479 maybe-configure-readline:
15480 @if readline
15481 maybe-configure-readline: configure-readline
15482 configure-readline:
15483 @test ! -f readline/Makefile || exit 0; \
15484 [ -d readline ] || mkdir readline; \
15485 r=`${PWD_COMMAND}`; export r; \
15486 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15487 $(HOST_EXPORTS) \
15488 echo Configuring in readline; \
15489 cd readline || exit 1; \
15490 case $(srcdir) in \
15491 \.) \
15492 srcdiroption="--srcdir=."; \
15493 libsrcdir=".";; \
15494 /* | [A-Za-z]:[\\/]*) \
15495 srcdiroption="--srcdir=$(srcdir)/readline"; \
15496 libsrcdir="$$s/readline";; \
15497 *) \
15498 srcdiroption="--srcdir=../$(srcdir)/readline"; \
15499 libsrcdir="$$s/readline";; \
15500 esac; \
15501 $(SHELL) $${libsrcdir}/configure \
15502 $(HOST_CONFIGARGS) $${srcdiroption} \
15503 || exit 1
15504 @endif readline
15506 .PHONY: all-readline maybe-all-readline
15507 maybe-all-readline:
15508 @if readline
15509 maybe-all-readline: all-readline
15510 all-readline: configure-readline
15511 @r=`${PWD_COMMAND}`; export r; \
15512 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15513 $(SET_LIB_PATH) \
15514 $(HOST_EXPORTS) \
15515 (cd readline && $(MAKE) $(FLAGS_TO_PASS) all)
15516 @endif readline
15518 .PHONY: check-readline maybe-check-readline
15519 maybe-check-readline:
15520 @if readline
15521 maybe-check-readline: check-readline
15523 check-readline:
15524 @r=`${PWD_COMMAND}`; export r; \
15525 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15526 $(SET_LIB_PATH) \
15527 $(HOST_EXPORTS) \
15528 (cd readline && $(MAKE) $(FLAGS_TO_PASS) check)
15530 @endif readline
15532 .PHONY: install-readline maybe-install-readline
15533 maybe-install-readline:
15534 @if readline
15535 maybe-install-readline: install-readline
15537 install-readline: installdirs
15538 @r=`${PWD_COMMAND}`; export r; \
15539 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15540 $(SET_LIB_PATH) \
15541 $(HOST_EXPORTS) \
15542 (cd readline && $(MAKE) $(FLAGS_TO_PASS) install)
15544 @endif readline
15546 # Other targets (info, dvi, etc.)
15548 .PHONY: maybe-info-readline info-readline
15549 maybe-info-readline:
15550 @if readline
15551 maybe-info-readline: info-readline
15553 info-readline: \
15554 configure-readline
15555 @[ -f ./readline/Makefile ] || exit 0; \
15556 r=`${PWD_COMMAND}`; export r; \
15557 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15558 $(SET_LIB_PATH) \
15559 $(HOST_EXPORTS) \
15560 for flag in $(EXTRA_HOST_FLAGS); do \
15561 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15562 done; \
15563 echo "Doing info in readline" ; \
15564 (cd readline && \
15565 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15566 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15567 "RANLIB=$${RANLIB}" \
15568 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15569 info) \
15570 || exit 1
15572 @endif readline
15574 .PHONY: maybe-dvi-readline dvi-readline
15575 maybe-dvi-readline:
15576 @if readline
15577 maybe-dvi-readline: dvi-readline
15579 dvi-readline: \
15580 configure-readline
15581 @[ -f ./readline/Makefile ] || exit 0; \
15582 r=`${PWD_COMMAND}`; export r; \
15583 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15584 $(SET_LIB_PATH) \
15585 $(HOST_EXPORTS) \
15586 for flag in $(EXTRA_HOST_FLAGS); do \
15587 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15588 done; \
15589 echo "Doing dvi in readline" ; \
15590 (cd readline && \
15591 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15592 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15593 "RANLIB=$${RANLIB}" \
15594 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15595 dvi) \
15596 || exit 1
15598 @endif readline
15600 .PHONY: maybe-TAGS-readline TAGS-readline
15601 maybe-TAGS-readline:
15602 @if readline
15603 maybe-TAGS-readline: TAGS-readline
15605 TAGS-readline: \
15606 configure-readline
15607 @[ -f ./readline/Makefile ] || exit 0; \
15608 r=`${PWD_COMMAND}`; export r; \
15609 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15610 $(SET_LIB_PATH) \
15611 $(HOST_EXPORTS) \
15612 for flag in $(EXTRA_HOST_FLAGS); do \
15613 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15614 done; \
15615 echo "Doing TAGS in readline" ; \
15616 (cd readline && \
15617 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15618 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15619 "RANLIB=$${RANLIB}" \
15620 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15621 TAGS) \
15622 || exit 1
15624 @endif readline
15626 .PHONY: maybe-install-info-readline install-info-readline
15627 maybe-install-info-readline:
15628 @if readline
15629 maybe-install-info-readline: install-info-readline
15631 install-info-readline: \
15632 configure-readline \
15633 info-readline
15634 @[ -f ./readline/Makefile ] || exit 0; \
15635 r=`${PWD_COMMAND}`; export r; \
15636 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15637 $(SET_LIB_PATH) \
15638 $(HOST_EXPORTS) \
15639 for flag in $(EXTRA_HOST_FLAGS); do \
15640 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15641 done; \
15642 echo "Doing install-info in readline" ; \
15643 (cd readline && \
15644 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15645 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15646 "RANLIB=$${RANLIB}" \
15647 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15648 install-info) \
15649 || exit 1
15651 @endif readline
15653 .PHONY: maybe-installcheck-readline installcheck-readline
15654 maybe-installcheck-readline:
15655 @if readline
15656 maybe-installcheck-readline: installcheck-readline
15658 installcheck-readline: \
15659 configure-readline
15660 @[ -f ./readline/Makefile ] || exit 0; \
15661 r=`${PWD_COMMAND}`; export r; \
15662 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15663 $(SET_LIB_PATH) \
15664 $(HOST_EXPORTS) \
15665 for flag in $(EXTRA_HOST_FLAGS); do \
15666 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15667 done; \
15668 echo "Doing installcheck in readline" ; \
15669 (cd readline && \
15670 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15671 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15672 "RANLIB=$${RANLIB}" \
15673 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15674 installcheck) \
15675 || exit 1
15677 @endif readline
15679 .PHONY: maybe-mostlyclean-readline mostlyclean-readline
15680 maybe-mostlyclean-readline:
15681 @if readline
15682 maybe-mostlyclean-readline: mostlyclean-readline
15684 mostlyclean-readline:
15685 @[ -f ./readline/Makefile ] || exit 0; \
15686 r=`${PWD_COMMAND}`; export r; \
15687 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15688 $(SET_LIB_PATH) \
15689 $(HOST_EXPORTS) \
15690 for flag in $(EXTRA_HOST_FLAGS); do \
15691 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15692 done; \
15693 echo "Doing mostlyclean in readline" ; \
15694 (cd readline && \
15695 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15696 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15697 "RANLIB=$${RANLIB}" \
15698 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15699 mostlyclean) \
15700 || exit 1
15702 @endif readline
15704 .PHONY: maybe-clean-readline clean-readline
15705 maybe-clean-readline:
15706 @if readline
15707 maybe-clean-readline: clean-readline
15709 clean-readline:
15710 @[ -f ./readline/Makefile ] || exit 0; \
15711 r=`${PWD_COMMAND}`; export r; \
15712 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15713 $(SET_LIB_PATH) \
15714 $(HOST_EXPORTS) \
15715 for flag in $(EXTRA_HOST_FLAGS); do \
15716 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15717 done; \
15718 echo "Doing clean in readline" ; \
15719 (cd readline && \
15720 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15721 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15722 "RANLIB=$${RANLIB}" \
15723 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15724 clean) \
15725 || exit 1
15727 @endif readline
15729 .PHONY: maybe-distclean-readline distclean-readline
15730 maybe-distclean-readline:
15731 @if readline
15732 maybe-distclean-readline: distclean-readline
15734 distclean-readline:
15735 @[ -f ./readline/Makefile ] || exit 0; \
15736 r=`${PWD_COMMAND}`; export r; \
15737 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15738 $(SET_LIB_PATH) \
15739 $(HOST_EXPORTS) \
15740 for flag in $(EXTRA_HOST_FLAGS); do \
15741 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15742 done; \
15743 echo "Doing distclean in readline" ; \
15744 (cd readline && \
15745 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15746 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15747 "RANLIB=$${RANLIB}" \
15748 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15749 distclean) \
15750 || exit 1
15752 @endif readline
15754 .PHONY: maybe-maintainer-clean-readline maintainer-clean-readline
15755 maybe-maintainer-clean-readline:
15756 @if readline
15757 maybe-maintainer-clean-readline: maintainer-clean-readline
15759 maintainer-clean-readline:
15760 @[ -f ./readline/Makefile ] || exit 0; \
15761 r=`${PWD_COMMAND}`; export r; \
15762 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15763 $(SET_LIB_PATH) \
15764 $(HOST_EXPORTS) \
15765 for flag in $(EXTRA_HOST_FLAGS); do \
15766 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15767 done; \
15768 echo "Doing maintainer-clean in readline" ; \
15769 (cd readline && \
15770 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15771 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15772 "RANLIB=$${RANLIB}" \
15773 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15774 maintainer-clean) \
15775 || exit 1
15777 @endif readline
15780 .PHONY: configure-release maybe-configure-release
15781 maybe-configure-release:
15782 @if release
15783 maybe-configure-release: configure-release
15784 configure-release:
15785 @test ! -f release/Makefile || exit 0; \
15786 [ -d release ] || mkdir release; \
15787 r=`${PWD_COMMAND}`; export r; \
15788 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15789 $(HOST_EXPORTS) \
15790 echo Configuring in release; \
15791 cd release || exit 1; \
15792 case $(srcdir) in \
15793 \.) \
15794 srcdiroption="--srcdir=."; \
15795 libsrcdir=".";; \
15796 /* | [A-Za-z]:[\\/]*) \
15797 srcdiroption="--srcdir=$(srcdir)/release"; \
15798 libsrcdir="$$s/release";; \
15799 *) \
15800 srcdiroption="--srcdir=../$(srcdir)/release"; \
15801 libsrcdir="$$s/release";; \
15802 esac; \
15803 $(SHELL) $${libsrcdir}/configure \
15804 $(HOST_CONFIGARGS) $${srcdiroption} \
15805 || exit 1
15806 @endif release
15808 .PHONY: all-release maybe-all-release
15809 maybe-all-release:
15810 @if release
15811 maybe-all-release: all-release
15812 all-release: configure-release
15813 @r=`${PWD_COMMAND}`; export r; \
15814 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15815 $(SET_LIB_PATH) \
15816 $(HOST_EXPORTS) \
15817 (cd release && $(MAKE) $(FLAGS_TO_PASS) all)
15818 @endif release
15820 .PHONY: check-release maybe-check-release
15821 maybe-check-release:
15822 @if release
15823 maybe-check-release: check-release
15825 check-release:
15827 @endif release
15829 .PHONY: install-release maybe-install-release
15830 maybe-install-release:
15831 @if release
15832 maybe-install-release: install-release
15834 install-release:
15836 @endif release
15838 # Other targets (info, dvi, etc.)
15840 .PHONY: maybe-info-release info-release
15841 maybe-info-release:
15842 @if release
15843 maybe-info-release: info-release
15845 info-release: \
15846 configure-release
15847 @[ -f ./release/Makefile ] || exit 0; \
15848 r=`${PWD_COMMAND}`; export r; \
15849 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15850 $(SET_LIB_PATH) \
15851 $(HOST_EXPORTS) \
15852 for flag in $(EXTRA_HOST_FLAGS); do \
15853 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15854 done; \
15855 echo "Doing info in release" ; \
15856 (cd release && \
15857 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15858 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15859 "RANLIB=$${RANLIB}" \
15860 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15861 info) \
15862 || exit 1
15864 @endif release
15866 .PHONY: maybe-dvi-release dvi-release
15867 maybe-dvi-release:
15868 @if release
15869 maybe-dvi-release: dvi-release
15871 dvi-release: \
15872 configure-release
15873 @[ -f ./release/Makefile ] || exit 0; \
15874 r=`${PWD_COMMAND}`; export r; \
15875 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15876 $(SET_LIB_PATH) \
15877 $(HOST_EXPORTS) \
15878 for flag in $(EXTRA_HOST_FLAGS); do \
15879 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15880 done; \
15881 echo "Doing dvi in release" ; \
15882 (cd release && \
15883 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15884 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15885 "RANLIB=$${RANLIB}" \
15886 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15887 dvi) \
15888 || exit 1
15890 @endif release
15892 .PHONY: maybe-TAGS-release TAGS-release
15893 maybe-TAGS-release:
15894 @if release
15895 maybe-TAGS-release: TAGS-release
15897 TAGS-release: \
15898 configure-release
15899 @[ -f ./release/Makefile ] || exit 0; \
15900 r=`${PWD_COMMAND}`; export r; \
15901 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15902 $(SET_LIB_PATH) \
15903 $(HOST_EXPORTS) \
15904 for flag in $(EXTRA_HOST_FLAGS); do \
15905 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15906 done; \
15907 echo "Doing TAGS in release" ; \
15908 (cd release && \
15909 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15910 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15911 "RANLIB=$${RANLIB}" \
15912 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15913 TAGS) \
15914 || exit 1
15916 @endif release
15918 .PHONY: maybe-install-info-release install-info-release
15919 maybe-install-info-release:
15920 @if release
15921 maybe-install-info-release: install-info-release
15923 install-info-release: \
15924 configure-release \
15925 info-release
15926 @[ -f ./release/Makefile ] || exit 0; \
15927 r=`${PWD_COMMAND}`; export r; \
15928 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15929 $(SET_LIB_PATH) \
15930 $(HOST_EXPORTS) \
15931 for flag in $(EXTRA_HOST_FLAGS); do \
15932 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15933 done; \
15934 echo "Doing install-info in release" ; \
15935 (cd release && \
15936 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15937 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15938 "RANLIB=$${RANLIB}" \
15939 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15940 install-info) \
15941 || exit 1
15943 @endif release
15945 .PHONY: maybe-installcheck-release installcheck-release
15946 maybe-installcheck-release:
15947 @if release
15948 maybe-installcheck-release: installcheck-release
15950 installcheck-release: \
15951 configure-release
15952 @[ -f ./release/Makefile ] || exit 0; \
15953 r=`${PWD_COMMAND}`; export r; \
15954 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15955 $(SET_LIB_PATH) \
15956 $(HOST_EXPORTS) \
15957 for flag in $(EXTRA_HOST_FLAGS); do \
15958 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15959 done; \
15960 echo "Doing installcheck in release" ; \
15961 (cd release && \
15962 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15963 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15964 "RANLIB=$${RANLIB}" \
15965 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15966 installcheck) \
15967 || exit 1
15969 @endif release
15971 .PHONY: maybe-mostlyclean-release mostlyclean-release
15972 maybe-mostlyclean-release:
15973 @if release
15974 maybe-mostlyclean-release: mostlyclean-release
15976 mostlyclean-release:
15977 @[ -f ./release/Makefile ] || exit 0; \
15978 r=`${PWD_COMMAND}`; export r; \
15979 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15980 $(SET_LIB_PATH) \
15981 $(HOST_EXPORTS) \
15982 for flag in $(EXTRA_HOST_FLAGS); do \
15983 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15984 done; \
15985 echo "Doing mostlyclean in release" ; \
15986 (cd release && \
15987 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15988 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15989 "RANLIB=$${RANLIB}" \
15990 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15991 mostlyclean) \
15992 || exit 1
15994 @endif release
15996 .PHONY: maybe-clean-release clean-release
15997 maybe-clean-release:
15998 @if release
15999 maybe-clean-release: clean-release
16001 clean-release:
16002 @[ -f ./release/Makefile ] || exit 0; \
16003 r=`${PWD_COMMAND}`; export r; \
16004 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16005 $(SET_LIB_PATH) \
16006 $(HOST_EXPORTS) \
16007 for flag in $(EXTRA_HOST_FLAGS); do \
16008 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16009 done; \
16010 echo "Doing clean in release" ; \
16011 (cd release && \
16012 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16013 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16014 "RANLIB=$${RANLIB}" \
16015 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16016 clean) \
16017 || exit 1
16019 @endif release
16021 .PHONY: maybe-distclean-release distclean-release
16022 maybe-distclean-release:
16023 @if release
16024 maybe-distclean-release: distclean-release
16026 distclean-release:
16027 @[ -f ./release/Makefile ] || exit 0; \
16028 r=`${PWD_COMMAND}`; export r; \
16029 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16030 $(SET_LIB_PATH) \
16031 $(HOST_EXPORTS) \
16032 for flag in $(EXTRA_HOST_FLAGS); do \
16033 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16034 done; \
16035 echo "Doing distclean in release" ; \
16036 (cd release && \
16037 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16038 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16039 "RANLIB=$${RANLIB}" \
16040 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16041 distclean) \
16042 || exit 1
16044 @endif release
16046 .PHONY: maybe-maintainer-clean-release maintainer-clean-release
16047 maybe-maintainer-clean-release:
16048 @if release
16049 maybe-maintainer-clean-release: maintainer-clean-release
16051 maintainer-clean-release:
16052 @[ -f ./release/Makefile ] || exit 0; \
16053 r=`${PWD_COMMAND}`; export r; \
16054 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16055 $(SET_LIB_PATH) \
16056 $(HOST_EXPORTS) \
16057 for flag in $(EXTRA_HOST_FLAGS); do \
16058 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16059 done; \
16060 echo "Doing maintainer-clean in release" ; \
16061 (cd release && \
16062 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16063 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16064 "RANLIB=$${RANLIB}" \
16065 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16066 maintainer-clean) \
16067 || exit 1
16069 @endif release
16072 .PHONY: configure-recode maybe-configure-recode
16073 maybe-configure-recode:
16074 @if recode
16075 maybe-configure-recode: configure-recode
16076 configure-recode:
16077 @test ! -f recode/Makefile || exit 0; \
16078 [ -d recode ] || mkdir recode; \
16079 r=`${PWD_COMMAND}`; export r; \
16080 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16081 $(HOST_EXPORTS) \
16082 echo Configuring in recode; \
16083 cd recode || exit 1; \
16084 case $(srcdir) in \
16085 \.) \
16086 srcdiroption="--srcdir=."; \
16087 libsrcdir=".";; \
16088 /* | [A-Za-z]:[\\/]*) \
16089 srcdiroption="--srcdir=$(srcdir)/recode"; \
16090 libsrcdir="$$s/recode";; \
16091 *) \
16092 srcdiroption="--srcdir=../$(srcdir)/recode"; \
16093 libsrcdir="$$s/recode";; \
16094 esac; \
16095 $(SHELL) $${libsrcdir}/configure \
16096 $(HOST_CONFIGARGS) $${srcdiroption} \
16097 || exit 1
16098 @endif recode
16100 .PHONY: all-recode maybe-all-recode
16101 maybe-all-recode:
16102 @if recode
16103 maybe-all-recode: all-recode
16104 all-recode: configure-recode
16105 @r=`${PWD_COMMAND}`; export r; \
16106 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16107 $(SET_LIB_PATH) \
16108 $(HOST_EXPORTS) \
16109 (cd recode && $(MAKE) $(FLAGS_TO_PASS) all)
16110 @endif recode
16112 .PHONY: check-recode maybe-check-recode
16113 maybe-check-recode:
16114 @if recode
16115 maybe-check-recode: check-recode
16117 check-recode:
16118 @r=`${PWD_COMMAND}`; export r; \
16119 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16120 $(SET_LIB_PATH) \
16121 $(HOST_EXPORTS) \
16122 (cd recode && $(MAKE) $(FLAGS_TO_PASS) check)
16124 @endif recode
16126 .PHONY: install-recode maybe-install-recode
16127 maybe-install-recode:
16128 @if recode
16129 maybe-install-recode: install-recode
16131 install-recode: installdirs
16132 @r=`${PWD_COMMAND}`; export r; \
16133 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16134 $(SET_LIB_PATH) \
16135 $(HOST_EXPORTS) \
16136 (cd recode && $(MAKE) $(FLAGS_TO_PASS) install)
16138 @endif recode
16140 # Other targets (info, dvi, etc.)
16142 .PHONY: maybe-info-recode info-recode
16143 maybe-info-recode:
16144 @if recode
16145 maybe-info-recode: info-recode
16147 info-recode: \
16148 configure-recode
16149 @[ -f ./recode/Makefile ] || exit 0; \
16150 r=`${PWD_COMMAND}`; export r; \
16151 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16152 $(SET_LIB_PATH) \
16153 $(HOST_EXPORTS) \
16154 for flag in $(EXTRA_HOST_FLAGS); do \
16155 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16156 done; \
16157 echo "Doing info in recode" ; \
16158 (cd recode && \
16159 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16160 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16161 "RANLIB=$${RANLIB}" \
16162 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16163 info) \
16164 || exit 1
16166 @endif recode
16168 .PHONY: maybe-dvi-recode dvi-recode
16169 maybe-dvi-recode:
16170 @if recode
16171 maybe-dvi-recode: dvi-recode
16173 dvi-recode: \
16174 configure-recode
16175 @[ -f ./recode/Makefile ] || exit 0; \
16176 r=`${PWD_COMMAND}`; export r; \
16177 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16178 $(SET_LIB_PATH) \
16179 $(HOST_EXPORTS) \
16180 for flag in $(EXTRA_HOST_FLAGS); do \
16181 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16182 done; \
16183 echo "Doing dvi in recode" ; \
16184 (cd recode && \
16185 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16186 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16187 "RANLIB=$${RANLIB}" \
16188 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16189 dvi) \
16190 || exit 1
16192 @endif recode
16194 .PHONY: maybe-TAGS-recode TAGS-recode
16195 maybe-TAGS-recode:
16196 @if recode
16197 maybe-TAGS-recode: TAGS-recode
16199 TAGS-recode: \
16200 configure-recode
16201 @[ -f ./recode/Makefile ] || exit 0; \
16202 r=`${PWD_COMMAND}`; export r; \
16203 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16204 $(SET_LIB_PATH) \
16205 $(HOST_EXPORTS) \
16206 for flag in $(EXTRA_HOST_FLAGS); do \
16207 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16208 done; \
16209 echo "Doing TAGS in recode" ; \
16210 (cd recode && \
16211 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16212 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16213 "RANLIB=$${RANLIB}" \
16214 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16215 TAGS) \
16216 || exit 1
16218 @endif recode
16220 .PHONY: maybe-install-info-recode install-info-recode
16221 maybe-install-info-recode:
16222 @if recode
16223 maybe-install-info-recode: install-info-recode
16225 install-info-recode: \
16226 configure-recode \
16227 info-recode
16228 @[ -f ./recode/Makefile ] || exit 0; \
16229 r=`${PWD_COMMAND}`; export r; \
16230 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16231 $(SET_LIB_PATH) \
16232 $(HOST_EXPORTS) \
16233 for flag in $(EXTRA_HOST_FLAGS); do \
16234 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16235 done; \
16236 echo "Doing install-info in recode" ; \
16237 (cd recode && \
16238 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16239 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16240 "RANLIB=$${RANLIB}" \
16241 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16242 install-info) \
16243 || exit 1
16245 @endif recode
16247 .PHONY: maybe-installcheck-recode installcheck-recode
16248 maybe-installcheck-recode:
16249 @if recode
16250 maybe-installcheck-recode: installcheck-recode
16252 installcheck-recode: \
16253 configure-recode
16254 @[ -f ./recode/Makefile ] || exit 0; \
16255 r=`${PWD_COMMAND}`; export r; \
16256 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16257 $(SET_LIB_PATH) \
16258 $(HOST_EXPORTS) \
16259 for flag in $(EXTRA_HOST_FLAGS); do \
16260 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16261 done; \
16262 echo "Doing installcheck in recode" ; \
16263 (cd recode && \
16264 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16265 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16266 "RANLIB=$${RANLIB}" \
16267 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16268 installcheck) \
16269 || exit 1
16271 @endif recode
16273 .PHONY: maybe-mostlyclean-recode mostlyclean-recode
16274 maybe-mostlyclean-recode:
16275 @if recode
16276 maybe-mostlyclean-recode: mostlyclean-recode
16278 mostlyclean-recode:
16279 @[ -f ./recode/Makefile ] || exit 0; \
16280 r=`${PWD_COMMAND}`; export r; \
16281 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16282 $(SET_LIB_PATH) \
16283 $(HOST_EXPORTS) \
16284 for flag in $(EXTRA_HOST_FLAGS); do \
16285 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16286 done; \
16287 echo "Doing mostlyclean in recode" ; \
16288 (cd recode && \
16289 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16290 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16291 "RANLIB=$${RANLIB}" \
16292 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16293 mostlyclean) \
16294 || exit 1
16296 @endif recode
16298 .PHONY: maybe-clean-recode clean-recode
16299 maybe-clean-recode:
16300 @if recode
16301 maybe-clean-recode: clean-recode
16303 clean-recode:
16304 @[ -f ./recode/Makefile ] || exit 0; \
16305 r=`${PWD_COMMAND}`; export r; \
16306 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16307 $(SET_LIB_PATH) \
16308 $(HOST_EXPORTS) \
16309 for flag in $(EXTRA_HOST_FLAGS); do \
16310 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16311 done; \
16312 echo "Doing clean in recode" ; \
16313 (cd recode && \
16314 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16315 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16316 "RANLIB=$${RANLIB}" \
16317 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16318 clean) \
16319 || exit 1
16321 @endif recode
16323 .PHONY: maybe-distclean-recode distclean-recode
16324 maybe-distclean-recode:
16325 @if recode
16326 maybe-distclean-recode: distclean-recode
16328 distclean-recode:
16329 @[ -f ./recode/Makefile ] || exit 0; \
16330 r=`${PWD_COMMAND}`; export r; \
16331 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16332 $(SET_LIB_PATH) \
16333 $(HOST_EXPORTS) \
16334 for flag in $(EXTRA_HOST_FLAGS); do \
16335 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16336 done; \
16337 echo "Doing distclean in recode" ; \
16338 (cd recode && \
16339 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16340 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16341 "RANLIB=$${RANLIB}" \
16342 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16343 distclean) \
16344 || exit 1
16346 @endif recode
16348 .PHONY: maybe-maintainer-clean-recode maintainer-clean-recode
16349 maybe-maintainer-clean-recode:
16350 @if recode
16351 maybe-maintainer-clean-recode: maintainer-clean-recode
16353 maintainer-clean-recode:
16354 @[ -f ./recode/Makefile ] || exit 0; \
16355 r=`${PWD_COMMAND}`; export r; \
16356 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16357 $(SET_LIB_PATH) \
16358 $(HOST_EXPORTS) \
16359 for flag in $(EXTRA_HOST_FLAGS); do \
16360 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16361 done; \
16362 echo "Doing maintainer-clean in recode" ; \
16363 (cd recode && \
16364 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16365 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16366 "RANLIB=$${RANLIB}" \
16367 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16368 maintainer-clean) \
16369 || exit 1
16371 @endif recode
16374 .PHONY: configure-sed maybe-configure-sed
16375 maybe-configure-sed:
16376 @if sed
16377 maybe-configure-sed: configure-sed
16378 configure-sed:
16379 @test ! -f sed/Makefile || exit 0; \
16380 [ -d sed ] || mkdir sed; \
16381 r=`${PWD_COMMAND}`; export r; \
16382 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16383 $(HOST_EXPORTS) \
16384 echo Configuring in sed; \
16385 cd sed || exit 1; \
16386 case $(srcdir) in \
16387 \.) \
16388 srcdiroption="--srcdir=."; \
16389 libsrcdir=".";; \
16390 /* | [A-Za-z]:[\\/]*) \
16391 srcdiroption="--srcdir=$(srcdir)/sed"; \
16392 libsrcdir="$$s/sed";; \
16393 *) \
16394 srcdiroption="--srcdir=../$(srcdir)/sed"; \
16395 libsrcdir="$$s/sed";; \
16396 esac; \
16397 $(SHELL) $${libsrcdir}/configure \
16398 $(HOST_CONFIGARGS) $${srcdiroption} \
16399 || exit 1
16400 @endif sed
16402 .PHONY: all-sed maybe-all-sed
16403 maybe-all-sed:
16404 @if sed
16405 maybe-all-sed: all-sed
16406 all-sed: configure-sed
16407 @r=`${PWD_COMMAND}`; export r; \
16408 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16409 $(SET_LIB_PATH) \
16410 $(HOST_EXPORTS) \
16411 (cd sed && $(MAKE) $(FLAGS_TO_PASS) all)
16412 @endif sed
16414 .PHONY: check-sed maybe-check-sed
16415 maybe-check-sed:
16416 @if sed
16417 maybe-check-sed: check-sed
16419 check-sed:
16420 @r=`${PWD_COMMAND}`; export r; \
16421 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16422 $(SET_LIB_PATH) \
16423 $(HOST_EXPORTS) \
16424 (cd sed && $(MAKE) $(FLAGS_TO_PASS) check)
16426 @endif sed
16428 .PHONY: install-sed maybe-install-sed
16429 maybe-install-sed:
16430 @if sed
16431 maybe-install-sed: install-sed
16433 install-sed: installdirs
16434 @r=`${PWD_COMMAND}`; export r; \
16435 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16436 $(SET_LIB_PATH) \
16437 $(HOST_EXPORTS) \
16438 (cd sed && $(MAKE) $(FLAGS_TO_PASS) install)
16440 @endif sed
16442 # Other targets (info, dvi, etc.)
16444 .PHONY: maybe-info-sed info-sed
16445 maybe-info-sed:
16446 @if sed
16447 maybe-info-sed: info-sed
16449 info-sed: \
16450 configure-sed
16451 @[ -f ./sed/Makefile ] || exit 0; \
16452 r=`${PWD_COMMAND}`; export r; \
16453 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16454 $(SET_LIB_PATH) \
16455 $(HOST_EXPORTS) \
16456 for flag in $(EXTRA_HOST_FLAGS); do \
16457 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16458 done; \
16459 echo "Doing info in sed" ; \
16460 (cd sed && \
16461 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16462 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16463 "RANLIB=$${RANLIB}" \
16464 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16465 info) \
16466 || exit 1
16468 @endif sed
16470 .PHONY: maybe-dvi-sed dvi-sed
16471 maybe-dvi-sed:
16472 @if sed
16473 maybe-dvi-sed: dvi-sed
16475 dvi-sed: \
16476 configure-sed
16477 @[ -f ./sed/Makefile ] || exit 0; \
16478 r=`${PWD_COMMAND}`; export r; \
16479 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16480 $(SET_LIB_PATH) \
16481 $(HOST_EXPORTS) \
16482 for flag in $(EXTRA_HOST_FLAGS); do \
16483 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16484 done; \
16485 echo "Doing dvi in sed" ; \
16486 (cd sed && \
16487 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16488 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16489 "RANLIB=$${RANLIB}" \
16490 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16491 dvi) \
16492 || exit 1
16494 @endif sed
16496 .PHONY: maybe-TAGS-sed TAGS-sed
16497 maybe-TAGS-sed:
16498 @if sed
16499 maybe-TAGS-sed: TAGS-sed
16501 TAGS-sed: \
16502 configure-sed
16503 @[ -f ./sed/Makefile ] || exit 0; \
16504 r=`${PWD_COMMAND}`; export r; \
16505 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16506 $(SET_LIB_PATH) \
16507 $(HOST_EXPORTS) \
16508 for flag in $(EXTRA_HOST_FLAGS); do \
16509 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16510 done; \
16511 echo "Doing TAGS in sed" ; \
16512 (cd sed && \
16513 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16514 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16515 "RANLIB=$${RANLIB}" \
16516 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16517 TAGS) \
16518 || exit 1
16520 @endif sed
16522 .PHONY: maybe-install-info-sed install-info-sed
16523 maybe-install-info-sed:
16524 @if sed
16525 maybe-install-info-sed: install-info-sed
16527 install-info-sed: \
16528 configure-sed \
16529 info-sed
16530 @[ -f ./sed/Makefile ] || exit 0; \
16531 r=`${PWD_COMMAND}`; export r; \
16532 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16533 $(SET_LIB_PATH) \
16534 $(HOST_EXPORTS) \
16535 for flag in $(EXTRA_HOST_FLAGS); do \
16536 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16537 done; \
16538 echo "Doing install-info in sed" ; \
16539 (cd sed && \
16540 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16541 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16542 "RANLIB=$${RANLIB}" \
16543 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16544 install-info) \
16545 || exit 1
16547 @endif sed
16549 .PHONY: maybe-installcheck-sed installcheck-sed
16550 maybe-installcheck-sed:
16551 @if sed
16552 maybe-installcheck-sed: installcheck-sed
16554 installcheck-sed: \
16555 configure-sed
16556 @[ -f ./sed/Makefile ] || exit 0; \
16557 r=`${PWD_COMMAND}`; export r; \
16558 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16559 $(SET_LIB_PATH) \
16560 $(HOST_EXPORTS) \
16561 for flag in $(EXTRA_HOST_FLAGS); do \
16562 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16563 done; \
16564 echo "Doing installcheck in sed" ; \
16565 (cd sed && \
16566 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16567 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16568 "RANLIB=$${RANLIB}" \
16569 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16570 installcheck) \
16571 || exit 1
16573 @endif sed
16575 .PHONY: maybe-mostlyclean-sed mostlyclean-sed
16576 maybe-mostlyclean-sed:
16577 @if sed
16578 maybe-mostlyclean-sed: mostlyclean-sed
16580 mostlyclean-sed:
16581 @[ -f ./sed/Makefile ] || exit 0; \
16582 r=`${PWD_COMMAND}`; export r; \
16583 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16584 $(SET_LIB_PATH) \
16585 $(HOST_EXPORTS) \
16586 for flag in $(EXTRA_HOST_FLAGS); do \
16587 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16588 done; \
16589 echo "Doing mostlyclean in sed" ; \
16590 (cd sed && \
16591 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16592 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16593 "RANLIB=$${RANLIB}" \
16594 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16595 mostlyclean) \
16596 || exit 1
16598 @endif sed
16600 .PHONY: maybe-clean-sed clean-sed
16601 maybe-clean-sed:
16602 @if sed
16603 maybe-clean-sed: clean-sed
16605 clean-sed:
16606 @[ -f ./sed/Makefile ] || exit 0; \
16607 r=`${PWD_COMMAND}`; export r; \
16608 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16609 $(SET_LIB_PATH) \
16610 $(HOST_EXPORTS) \
16611 for flag in $(EXTRA_HOST_FLAGS); do \
16612 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16613 done; \
16614 echo "Doing clean in sed" ; \
16615 (cd sed && \
16616 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16617 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16618 "RANLIB=$${RANLIB}" \
16619 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16620 clean) \
16621 || exit 1
16623 @endif sed
16625 .PHONY: maybe-distclean-sed distclean-sed
16626 maybe-distclean-sed:
16627 @if sed
16628 maybe-distclean-sed: distclean-sed
16630 distclean-sed:
16631 @[ -f ./sed/Makefile ] || exit 0; \
16632 r=`${PWD_COMMAND}`; export r; \
16633 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16634 $(SET_LIB_PATH) \
16635 $(HOST_EXPORTS) \
16636 for flag in $(EXTRA_HOST_FLAGS); do \
16637 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16638 done; \
16639 echo "Doing distclean in sed" ; \
16640 (cd sed && \
16641 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16642 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16643 "RANLIB=$${RANLIB}" \
16644 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16645 distclean) \
16646 || exit 1
16648 @endif sed
16650 .PHONY: maybe-maintainer-clean-sed maintainer-clean-sed
16651 maybe-maintainer-clean-sed:
16652 @if sed
16653 maybe-maintainer-clean-sed: maintainer-clean-sed
16655 maintainer-clean-sed:
16656 @[ -f ./sed/Makefile ] || exit 0; \
16657 r=`${PWD_COMMAND}`; export r; \
16658 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16659 $(SET_LIB_PATH) \
16660 $(HOST_EXPORTS) \
16661 for flag in $(EXTRA_HOST_FLAGS); do \
16662 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16663 done; \
16664 echo "Doing maintainer-clean in sed" ; \
16665 (cd sed && \
16666 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16667 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16668 "RANLIB=$${RANLIB}" \
16669 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16670 maintainer-clean) \
16671 || exit 1
16673 @endif sed
16676 .PHONY: configure-send-pr maybe-configure-send-pr
16677 maybe-configure-send-pr:
16678 @if send-pr
16679 maybe-configure-send-pr: configure-send-pr
16680 configure-send-pr:
16681 @test ! -f send-pr/Makefile || exit 0; \
16682 [ -d send-pr ] || mkdir send-pr; \
16683 r=`${PWD_COMMAND}`; export r; \
16684 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16685 $(HOST_EXPORTS) \
16686 echo Configuring in send-pr; \
16687 cd send-pr || exit 1; \
16688 case $(srcdir) in \
16689 \.) \
16690 srcdiroption="--srcdir=."; \
16691 libsrcdir=".";; \
16692 /* | [A-Za-z]:[\\/]*) \
16693 srcdiroption="--srcdir=$(srcdir)/send-pr"; \
16694 libsrcdir="$$s/send-pr";; \
16695 *) \
16696 srcdiroption="--srcdir=../$(srcdir)/send-pr"; \
16697 libsrcdir="$$s/send-pr";; \
16698 esac; \
16699 $(SHELL) $${libsrcdir}/configure \
16700 $(HOST_CONFIGARGS) $${srcdiroption} \
16701 || exit 1
16702 @endif send-pr
16704 .PHONY: all-send-pr maybe-all-send-pr
16705 maybe-all-send-pr:
16706 @if send-pr
16707 maybe-all-send-pr: all-send-pr
16708 all-send-pr: configure-send-pr
16709 @r=`${PWD_COMMAND}`; export r; \
16710 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16711 $(SET_LIB_PATH) \
16712 $(HOST_EXPORTS) \
16713 (cd send-pr && $(MAKE) $(FLAGS_TO_PASS) all)
16714 @endif send-pr
16716 .PHONY: check-send-pr maybe-check-send-pr
16717 maybe-check-send-pr:
16718 @if send-pr
16719 maybe-check-send-pr: check-send-pr
16721 check-send-pr:
16722 @r=`${PWD_COMMAND}`; export r; \
16723 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16724 $(SET_LIB_PATH) \
16725 $(HOST_EXPORTS) \
16726 (cd send-pr && $(MAKE) $(FLAGS_TO_PASS) check)
16728 @endif send-pr
16730 .PHONY: install-send-pr maybe-install-send-pr
16731 maybe-install-send-pr:
16732 @if send-pr
16733 maybe-install-send-pr: install-send-pr
16735 install-send-pr: installdirs
16736 @r=`${PWD_COMMAND}`; export r; \
16737 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16738 $(SET_LIB_PATH) \
16739 $(HOST_EXPORTS) \
16740 (cd send-pr && $(MAKE) $(FLAGS_TO_PASS) install)
16742 @endif send-pr
16744 # Other targets (info, dvi, etc.)
16746 .PHONY: maybe-info-send-pr info-send-pr
16747 maybe-info-send-pr:
16748 @if send-pr
16749 maybe-info-send-pr: info-send-pr
16751 info-send-pr: \
16752 configure-send-pr
16753 @[ -f ./send-pr/Makefile ] || exit 0; \
16754 r=`${PWD_COMMAND}`; export r; \
16755 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16756 $(SET_LIB_PATH) \
16757 $(HOST_EXPORTS) \
16758 for flag in $(EXTRA_HOST_FLAGS); do \
16759 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16760 done; \
16761 echo "Doing info in send-pr" ; \
16762 (cd send-pr && \
16763 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16764 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16765 "RANLIB=$${RANLIB}" \
16766 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16767 info) \
16768 || exit 1
16770 @endif send-pr
16772 .PHONY: maybe-dvi-send-pr dvi-send-pr
16773 maybe-dvi-send-pr:
16774 @if send-pr
16775 maybe-dvi-send-pr: dvi-send-pr
16777 dvi-send-pr: \
16778 configure-send-pr
16779 @[ -f ./send-pr/Makefile ] || exit 0; \
16780 r=`${PWD_COMMAND}`; export r; \
16781 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16782 $(SET_LIB_PATH) \
16783 $(HOST_EXPORTS) \
16784 for flag in $(EXTRA_HOST_FLAGS); do \
16785 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16786 done; \
16787 echo "Doing dvi in send-pr" ; \
16788 (cd send-pr && \
16789 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16790 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16791 "RANLIB=$${RANLIB}" \
16792 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16793 dvi) \
16794 || exit 1
16796 @endif send-pr
16798 .PHONY: maybe-TAGS-send-pr TAGS-send-pr
16799 maybe-TAGS-send-pr:
16800 @if send-pr
16801 maybe-TAGS-send-pr: TAGS-send-pr
16803 TAGS-send-pr: \
16804 configure-send-pr
16805 @[ -f ./send-pr/Makefile ] || exit 0; \
16806 r=`${PWD_COMMAND}`; export r; \
16807 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16808 $(SET_LIB_PATH) \
16809 $(HOST_EXPORTS) \
16810 for flag in $(EXTRA_HOST_FLAGS); do \
16811 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16812 done; \
16813 echo "Doing TAGS in send-pr" ; \
16814 (cd send-pr && \
16815 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16816 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16817 "RANLIB=$${RANLIB}" \
16818 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16819 TAGS) \
16820 || exit 1
16822 @endif send-pr
16824 .PHONY: maybe-install-info-send-pr install-info-send-pr
16825 maybe-install-info-send-pr:
16826 @if send-pr
16827 maybe-install-info-send-pr: install-info-send-pr
16829 install-info-send-pr: \
16830 configure-send-pr \
16831 info-send-pr
16832 @[ -f ./send-pr/Makefile ] || exit 0; \
16833 r=`${PWD_COMMAND}`; export r; \
16834 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16835 $(SET_LIB_PATH) \
16836 $(HOST_EXPORTS) \
16837 for flag in $(EXTRA_HOST_FLAGS); do \
16838 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16839 done; \
16840 echo "Doing install-info in send-pr" ; \
16841 (cd send-pr && \
16842 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16843 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16844 "RANLIB=$${RANLIB}" \
16845 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16846 install-info) \
16847 || exit 1
16849 @endif send-pr
16851 .PHONY: maybe-installcheck-send-pr installcheck-send-pr
16852 maybe-installcheck-send-pr:
16853 @if send-pr
16854 maybe-installcheck-send-pr: installcheck-send-pr
16856 installcheck-send-pr: \
16857 configure-send-pr
16858 @[ -f ./send-pr/Makefile ] || exit 0; \
16859 r=`${PWD_COMMAND}`; export r; \
16860 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16861 $(SET_LIB_PATH) \
16862 $(HOST_EXPORTS) \
16863 for flag in $(EXTRA_HOST_FLAGS); do \
16864 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16865 done; \
16866 echo "Doing installcheck in send-pr" ; \
16867 (cd send-pr && \
16868 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16869 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16870 "RANLIB=$${RANLIB}" \
16871 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16872 installcheck) \
16873 || exit 1
16875 @endif send-pr
16877 .PHONY: maybe-mostlyclean-send-pr mostlyclean-send-pr
16878 maybe-mostlyclean-send-pr:
16879 @if send-pr
16880 maybe-mostlyclean-send-pr: mostlyclean-send-pr
16882 mostlyclean-send-pr:
16883 @[ -f ./send-pr/Makefile ] || exit 0; \
16884 r=`${PWD_COMMAND}`; export r; \
16885 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16886 $(SET_LIB_PATH) \
16887 $(HOST_EXPORTS) \
16888 for flag in $(EXTRA_HOST_FLAGS); do \
16889 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16890 done; \
16891 echo "Doing mostlyclean in send-pr" ; \
16892 (cd send-pr && \
16893 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16894 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16895 "RANLIB=$${RANLIB}" \
16896 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16897 mostlyclean) \
16898 || exit 1
16900 @endif send-pr
16902 .PHONY: maybe-clean-send-pr clean-send-pr
16903 maybe-clean-send-pr:
16904 @if send-pr
16905 maybe-clean-send-pr: clean-send-pr
16907 clean-send-pr:
16908 @[ -f ./send-pr/Makefile ] || exit 0; \
16909 r=`${PWD_COMMAND}`; export r; \
16910 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16911 $(SET_LIB_PATH) \
16912 $(HOST_EXPORTS) \
16913 for flag in $(EXTRA_HOST_FLAGS); do \
16914 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16915 done; \
16916 echo "Doing clean in send-pr" ; \
16917 (cd send-pr && \
16918 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16919 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16920 "RANLIB=$${RANLIB}" \
16921 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16922 clean) \
16923 || exit 1
16925 @endif send-pr
16927 .PHONY: maybe-distclean-send-pr distclean-send-pr
16928 maybe-distclean-send-pr:
16929 @if send-pr
16930 maybe-distclean-send-pr: distclean-send-pr
16932 distclean-send-pr:
16933 @[ -f ./send-pr/Makefile ] || exit 0; \
16934 r=`${PWD_COMMAND}`; export r; \
16935 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16936 $(SET_LIB_PATH) \
16937 $(HOST_EXPORTS) \
16938 for flag in $(EXTRA_HOST_FLAGS); do \
16939 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16940 done; \
16941 echo "Doing distclean in send-pr" ; \
16942 (cd send-pr && \
16943 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16944 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16945 "RANLIB=$${RANLIB}" \
16946 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16947 distclean) \
16948 || exit 1
16950 @endif send-pr
16952 .PHONY: maybe-maintainer-clean-send-pr maintainer-clean-send-pr
16953 maybe-maintainer-clean-send-pr:
16954 @if send-pr
16955 maybe-maintainer-clean-send-pr: maintainer-clean-send-pr
16957 maintainer-clean-send-pr:
16958 @[ -f ./send-pr/Makefile ] || exit 0; \
16959 r=`${PWD_COMMAND}`; export r; \
16960 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16961 $(SET_LIB_PATH) \
16962 $(HOST_EXPORTS) \
16963 for flag in $(EXTRA_HOST_FLAGS); do \
16964 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16965 done; \
16966 echo "Doing maintainer-clean in send-pr" ; \
16967 (cd send-pr && \
16968 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16969 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16970 "RANLIB=$${RANLIB}" \
16971 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16972 maintainer-clean) \
16973 || exit 1
16975 @endif send-pr
16978 .PHONY: configure-shellutils maybe-configure-shellutils
16979 maybe-configure-shellutils:
16980 @if shellutils
16981 maybe-configure-shellutils: configure-shellutils
16982 configure-shellutils:
16983 @test ! -f shellutils/Makefile || exit 0; \
16984 [ -d shellutils ] || mkdir shellutils; \
16985 r=`${PWD_COMMAND}`; export r; \
16986 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16987 $(HOST_EXPORTS) \
16988 echo Configuring in shellutils; \
16989 cd shellutils || exit 1; \
16990 case $(srcdir) in \
16991 \.) \
16992 srcdiroption="--srcdir=."; \
16993 libsrcdir=".";; \
16994 /* | [A-Za-z]:[\\/]*) \
16995 srcdiroption="--srcdir=$(srcdir)/shellutils"; \
16996 libsrcdir="$$s/shellutils";; \
16997 *) \
16998 srcdiroption="--srcdir=../$(srcdir)/shellutils"; \
16999 libsrcdir="$$s/shellutils";; \
17000 esac; \
17001 $(SHELL) $${libsrcdir}/configure \
17002 $(HOST_CONFIGARGS) $${srcdiroption} \
17003 || exit 1
17004 @endif shellutils
17006 .PHONY: all-shellutils maybe-all-shellutils
17007 maybe-all-shellutils:
17008 @if shellutils
17009 maybe-all-shellutils: all-shellutils
17010 all-shellutils: configure-shellutils
17011 @r=`${PWD_COMMAND}`; export r; \
17012 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17013 $(SET_LIB_PATH) \
17014 $(HOST_EXPORTS) \
17015 (cd shellutils && $(MAKE) $(FLAGS_TO_PASS) all)
17016 @endif shellutils
17018 .PHONY: check-shellutils maybe-check-shellutils
17019 maybe-check-shellutils:
17020 @if shellutils
17021 maybe-check-shellutils: check-shellutils
17023 check-shellutils:
17024 @r=`${PWD_COMMAND}`; export r; \
17025 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17026 $(SET_LIB_PATH) \
17027 $(HOST_EXPORTS) \
17028 (cd shellutils && $(MAKE) $(FLAGS_TO_PASS) check)
17030 @endif shellutils
17032 .PHONY: install-shellutils maybe-install-shellutils
17033 maybe-install-shellutils:
17034 @if shellutils
17035 maybe-install-shellutils: install-shellutils
17037 install-shellutils: installdirs
17038 @r=`${PWD_COMMAND}`; export r; \
17039 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17040 $(SET_LIB_PATH) \
17041 $(HOST_EXPORTS) \
17042 (cd shellutils && $(MAKE) $(FLAGS_TO_PASS) install)
17044 @endif shellutils
17046 # Other targets (info, dvi, etc.)
17048 .PHONY: maybe-info-shellutils info-shellutils
17049 maybe-info-shellutils:
17050 @if shellutils
17051 maybe-info-shellutils: info-shellutils
17053 info-shellutils: \
17054 configure-shellutils
17055 @[ -f ./shellutils/Makefile ] || exit 0; \
17056 r=`${PWD_COMMAND}`; export r; \
17057 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17058 $(SET_LIB_PATH) \
17059 $(HOST_EXPORTS) \
17060 for flag in $(EXTRA_HOST_FLAGS); do \
17061 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17062 done; \
17063 echo "Doing info in shellutils" ; \
17064 (cd shellutils && \
17065 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17066 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17067 "RANLIB=$${RANLIB}" \
17068 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17069 info) \
17070 || exit 1
17072 @endif shellutils
17074 .PHONY: maybe-dvi-shellutils dvi-shellutils
17075 maybe-dvi-shellutils:
17076 @if shellutils
17077 maybe-dvi-shellutils: dvi-shellutils
17079 dvi-shellutils: \
17080 configure-shellutils
17081 @[ -f ./shellutils/Makefile ] || exit 0; \
17082 r=`${PWD_COMMAND}`; export r; \
17083 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17084 $(SET_LIB_PATH) \
17085 $(HOST_EXPORTS) \
17086 for flag in $(EXTRA_HOST_FLAGS); do \
17087 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17088 done; \
17089 echo "Doing dvi in shellutils" ; \
17090 (cd shellutils && \
17091 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17092 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17093 "RANLIB=$${RANLIB}" \
17094 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17095 dvi) \
17096 || exit 1
17098 @endif shellutils
17100 .PHONY: maybe-TAGS-shellutils TAGS-shellutils
17101 maybe-TAGS-shellutils:
17102 @if shellutils
17103 maybe-TAGS-shellutils: TAGS-shellutils
17105 TAGS-shellutils: \
17106 configure-shellutils
17107 @[ -f ./shellutils/Makefile ] || exit 0; \
17108 r=`${PWD_COMMAND}`; export r; \
17109 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17110 $(SET_LIB_PATH) \
17111 $(HOST_EXPORTS) \
17112 for flag in $(EXTRA_HOST_FLAGS); do \
17113 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17114 done; \
17115 echo "Doing TAGS in shellutils" ; \
17116 (cd shellutils && \
17117 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17118 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17119 "RANLIB=$${RANLIB}" \
17120 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17121 TAGS) \
17122 || exit 1
17124 @endif shellutils
17126 .PHONY: maybe-install-info-shellutils install-info-shellutils
17127 maybe-install-info-shellutils:
17128 @if shellutils
17129 maybe-install-info-shellutils: install-info-shellutils
17131 install-info-shellutils: \
17132 configure-shellutils \
17133 info-shellutils
17134 @[ -f ./shellutils/Makefile ] || exit 0; \
17135 r=`${PWD_COMMAND}`; export r; \
17136 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17137 $(SET_LIB_PATH) \
17138 $(HOST_EXPORTS) \
17139 for flag in $(EXTRA_HOST_FLAGS); do \
17140 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17141 done; \
17142 echo "Doing install-info in shellutils" ; \
17143 (cd shellutils && \
17144 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17145 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17146 "RANLIB=$${RANLIB}" \
17147 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17148 install-info) \
17149 || exit 1
17151 @endif shellutils
17153 .PHONY: maybe-installcheck-shellutils installcheck-shellutils
17154 maybe-installcheck-shellutils:
17155 @if shellutils
17156 maybe-installcheck-shellutils: installcheck-shellutils
17158 installcheck-shellutils: \
17159 configure-shellutils
17160 @[ -f ./shellutils/Makefile ] || exit 0; \
17161 r=`${PWD_COMMAND}`; export r; \
17162 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17163 $(SET_LIB_PATH) \
17164 $(HOST_EXPORTS) \
17165 for flag in $(EXTRA_HOST_FLAGS); do \
17166 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17167 done; \
17168 echo "Doing installcheck in shellutils" ; \
17169 (cd shellutils && \
17170 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17171 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17172 "RANLIB=$${RANLIB}" \
17173 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17174 installcheck) \
17175 || exit 1
17177 @endif shellutils
17179 .PHONY: maybe-mostlyclean-shellutils mostlyclean-shellutils
17180 maybe-mostlyclean-shellutils:
17181 @if shellutils
17182 maybe-mostlyclean-shellutils: mostlyclean-shellutils
17184 mostlyclean-shellutils:
17185 @[ -f ./shellutils/Makefile ] || exit 0; \
17186 r=`${PWD_COMMAND}`; export r; \
17187 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17188 $(SET_LIB_PATH) \
17189 $(HOST_EXPORTS) \
17190 for flag in $(EXTRA_HOST_FLAGS); do \
17191 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17192 done; \
17193 echo "Doing mostlyclean in shellutils" ; \
17194 (cd shellutils && \
17195 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17196 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17197 "RANLIB=$${RANLIB}" \
17198 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17199 mostlyclean) \
17200 || exit 1
17202 @endif shellutils
17204 .PHONY: maybe-clean-shellutils clean-shellutils
17205 maybe-clean-shellutils:
17206 @if shellutils
17207 maybe-clean-shellutils: clean-shellutils
17209 clean-shellutils:
17210 @[ -f ./shellutils/Makefile ] || exit 0; \
17211 r=`${PWD_COMMAND}`; export r; \
17212 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17213 $(SET_LIB_PATH) \
17214 $(HOST_EXPORTS) \
17215 for flag in $(EXTRA_HOST_FLAGS); do \
17216 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17217 done; \
17218 echo "Doing clean in shellutils" ; \
17219 (cd shellutils && \
17220 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17221 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17222 "RANLIB=$${RANLIB}" \
17223 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17224 clean) \
17225 || exit 1
17227 @endif shellutils
17229 .PHONY: maybe-distclean-shellutils distclean-shellutils
17230 maybe-distclean-shellutils:
17231 @if shellutils
17232 maybe-distclean-shellutils: distclean-shellutils
17234 distclean-shellutils:
17235 @[ -f ./shellutils/Makefile ] || exit 0; \
17236 r=`${PWD_COMMAND}`; export r; \
17237 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17238 $(SET_LIB_PATH) \
17239 $(HOST_EXPORTS) \
17240 for flag in $(EXTRA_HOST_FLAGS); do \
17241 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17242 done; \
17243 echo "Doing distclean in shellutils" ; \
17244 (cd shellutils && \
17245 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17246 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17247 "RANLIB=$${RANLIB}" \
17248 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17249 distclean) \
17250 || exit 1
17252 @endif shellutils
17254 .PHONY: maybe-maintainer-clean-shellutils maintainer-clean-shellutils
17255 maybe-maintainer-clean-shellutils:
17256 @if shellutils
17257 maybe-maintainer-clean-shellutils: maintainer-clean-shellutils
17259 maintainer-clean-shellutils:
17260 @[ -f ./shellutils/Makefile ] || exit 0; \
17261 r=`${PWD_COMMAND}`; export r; \
17262 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17263 $(SET_LIB_PATH) \
17264 $(HOST_EXPORTS) \
17265 for flag in $(EXTRA_HOST_FLAGS); do \
17266 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17267 done; \
17268 echo "Doing maintainer-clean in shellutils" ; \
17269 (cd shellutils && \
17270 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17271 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17272 "RANLIB=$${RANLIB}" \
17273 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17274 maintainer-clean) \
17275 || exit 1
17277 @endif shellutils
17280 .PHONY: configure-sid maybe-configure-sid
17281 maybe-configure-sid:
17282 @if sid
17283 maybe-configure-sid: configure-sid
17284 configure-sid:
17285 @test ! -f sid/Makefile || exit 0; \
17286 [ -d sid ] || mkdir sid; \
17287 r=`${PWD_COMMAND}`; export r; \
17288 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17289 $(HOST_EXPORTS) \
17290 echo Configuring in sid; \
17291 cd sid || exit 1; \
17292 case $(srcdir) in \
17293 \.) \
17294 srcdiroption="--srcdir=."; \
17295 libsrcdir=".";; \
17296 /* | [A-Za-z]:[\\/]*) \
17297 srcdiroption="--srcdir=$(srcdir)/sid"; \
17298 libsrcdir="$$s/sid";; \
17299 *) \
17300 srcdiroption="--srcdir=../$(srcdir)/sid"; \
17301 libsrcdir="$$s/sid";; \
17302 esac; \
17303 $(SHELL) $${libsrcdir}/configure \
17304 $(HOST_CONFIGARGS) $${srcdiroption} \
17305 || exit 1
17306 @endif sid
17308 .PHONY: all-sid maybe-all-sid
17309 maybe-all-sid:
17310 @if sid
17311 maybe-all-sid: all-sid
17312 all-sid: configure-sid
17313 @r=`${PWD_COMMAND}`; export r; \
17314 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17315 $(SET_LIB_PATH) \
17316 $(HOST_EXPORTS) \
17317 (cd sid && $(MAKE) $(FLAGS_TO_PASS) all)
17318 @endif sid
17320 .PHONY: check-sid maybe-check-sid
17321 maybe-check-sid:
17322 @if sid
17323 maybe-check-sid: check-sid
17325 check-sid:
17326 @r=`${PWD_COMMAND}`; export r; \
17327 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17328 $(SET_LIB_PATH) \
17329 $(HOST_EXPORTS) \
17330 (cd sid && $(MAKE) $(FLAGS_TO_PASS) check)
17332 @endif sid
17334 .PHONY: install-sid maybe-install-sid
17335 maybe-install-sid:
17336 @if sid
17337 maybe-install-sid: install-sid
17339 install-sid: installdirs
17340 @r=`${PWD_COMMAND}`; export r; \
17341 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17342 $(SET_LIB_PATH) \
17343 $(HOST_EXPORTS) \
17344 (cd sid && $(MAKE) $(FLAGS_TO_PASS) install)
17346 @endif sid
17348 # Other targets (info, dvi, etc.)
17350 .PHONY: maybe-info-sid info-sid
17351 maybe-info-sid:
17352 @if sid
17353 maybe-info-sid: info-sid
17355 info-sid: \
17356 configure-sid
17357 @[ -f ./sid/Makefile ] || exit 0; \
17358 r=`${PWD_COMMAND}`; export r; \
17359 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17360 $(SET_LIB_PATH) \
17361 $(HOST_EXPORTS) \
17362 for flag in $(EXTRA_HOST_FLAGS); do \
17363 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17364 done; \
17365 echo "Doing info in sid" ; \
17366 (cd sid && \
17367 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17368 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17369 "RANLIB=$${RANLIB}" \
17370 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17371 info) \
17372 || exit 1
17374 @endif sid
17376 .PHONY: maybe-dvi-sid dvi-sid
17377 maybe-dvi-sid:
17378 @if sid
17379 maybe-dvi-sid: dvi-sid
17381 dvi-sid: \
17382 configure-sid
17383 @[ -f ./sid/Makefile ] || exit 0; \
17384 r=`${PWD_COMMAND}`; export r; \
17385 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17386 $(SET_LIB_PATH) \
17387 $(HOST_EXPORTS) \
17388 for flag in $(EXTRA_HOST_FLAGS); do \
17389 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17390 done; \
17391 echo "Doing dvi in sid" ; \
17392 (cd sid && \
17393 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17394 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17395 "RANLIB=$${RANLIB}" \
17396 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17397 dvi) \
17398 || exit 1
17400 @endif sid
17402 .PHONY: maybe-TAGS-sid TAGS-sid
17403 maybe-TAGS-sid:
17404 @if sid
17405 maybe-TAGS-sid: TAGS-sid
17407 TAGS-sid: \
17408 configure-sid
17409 @[ -f ./sid/Makefile ] || exit 0; \
17410 r=`${PWD_COMMAND}`; export r; \
17411 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17412 $(SET_LIB_PATH) \
17413 $(HOST_EXPORTS) \
17414 for flag in $(EXTRA_HOST_FLAGS); do \
17415 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17416 done; \
17417 echo "Doing TAGS in sid" ; \
17418 (cd sid && \
17419 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17420 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17421 "RANLIB=$${RANLIB}" \
17422 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17423 TAGS) \
17424 || exit 1
17426 @endif sid
17428 .PHONY: maybe-install-info-sid install-info-sid
17429 maybe-install-info-sid:
17430 @if sid
17431 maybe-install-info-sid: install-info-sid
17433 install-info-sid: \
17434 configure-sid \
17435 info-sid
17436 @[ -f ./sid/Makefile ] || exit 0; \
17437 r=`${PWD_COMMAND}`; export r; \
17438 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17439 $(SET_LIB_PATH) \
17440 $(HOST_EXPORTS) \
17441 for flag in $(EXTRA_HOST_FLAGS); do \
17442 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17443 done; \
17444 echo "Doing install-info in sid" ; \
17445 (cd sid && \
17446 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17447 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17448 "RANLIB=$${RANLIB}" \
17449 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17450 install-info) \
17451 || exit 1
17453 @endif sid
17455 .PHONY: maybe-installcheck-sid installcheck-sid
17456 maybe-installcheck-sid:
17457 @if sid
17458 maybe-installcheck-sid: installcheck-sid
17460 installcheck-sid: \
17461 configure-sid
17462 @[ -f ./sid/Makefile ] || exit 0; \
17463 r=`${PWD_COMMAND}`; export r; \
17464 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17465 $(SET_LIB_PATH) \
17466 $(HOST_EXPORTS) \
17467 for flag in $(EXTRA_HOST_FLAGS); do \
17468 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17469 done; \
17470 echo "Doing installcheck in sid" ; \
17471 (cd sid && \
17472 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17473 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17474 "RANLIB=$${RANLIB}" \
17475 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17476 installcheck) \
17477 || exit 1
17479 @endif sid
17481 .PHONY: maybe-mostlyclean-sid mostlyclean-sid
17482 maybe-mostlyclean-sid:
17483 @if sid
17484 maybe-mostlyclean-sid: mostlyclean-sid
17486 mostlyclean-sid:
17487 @[ -f ./sid/Makefile ] || exit 0; \
17488 r=`${PWD_COMMAND}`; export r; \
17489 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17490 $(SET_LIB_PATH) \
17491 $(HOST_EXPORTS) \
17492 for flag in $(EXTRA_HOST_FLAGS); do \
17493 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17494 done; \
17495 echo "Doing mostlyclean in sid" ; \
17496 (cd sid && \
17497 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17498 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17499 "RANLIB=$${RANLIB}" \
17500 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17501 mostlyclean) \
17502 || exit 1
17504 @endif sid
17506 .PHONY: maybe-clean-sid clean-sid
17507 maybe-clean-sid:
17508 @if sid
17509 maybe-clean-sid: clean-sid
17511 clean-sid:
17512 @[ -f ./sid/Makefile ] || exit 0; \
17513 r=`${PWD_COMMAND}`; export r; \
17514 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17515 $(SET_LIB_PATH) \
17516 $(HOST_EXPORTS) \
17517 for flag in $(EXTRA_HOST_FLAGS); do \
17518 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17519 done; \
17520 echo "Doing clean in sid" ; \
17521 (cd sid && \
17522 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17523 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17524 "RANLIB=$${RANLIB}" \
17525 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17526 clean) \
17527 || exit 1
17529 @endif sid
17531 .PHONY: maybe-distclean-sid distclean-sid
17532 maybe-distclean-sid:
17533 @if sid
17534 maybe-distclean-sid: distclean-sid
17536 distclean-sid:
17537 @[ -f ./sid/Makefile ] || exit 0; \
17538 r=`${PWD_COMMAND}`; export r; \
17539 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17540 $(SET_LIB_PATH) \
17541 $(HOST_EXPORTS) \
17542 for flag in $(EXTRA_HOST_FLAGS); do \
17543 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17544 done; \
17545 echo "Doing distclean in sid" ; \
17546 (cd sid && \
17547 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17548 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17549 "RANLIB=$${RANLIB}" \
17550 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17551 distclean) \
17552 || exit 1
17554 @endif sid
17556 .PHONY: maybe-maintainer-clean-sid maintainer-clean-sid
17557 maybe-maintainer-clean-sid:
17558 @if sid
17559 maybe-maintainer-clean-sid: maintainer-clean-sid
17561 maintainer-clean-sid:
17562 @[ -f ./sid/Makefile ] || exit 0; \
17563 r=`${PWD_COMMAND}`; export r; \
17564 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17565 $(SET_LIB_PATH) \
17566 $(HOST_EXPORTS) \
17567 for flag in $(EXTRA_HOST_FLAGS); do \
17568 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17569 done; \
17570 echo "Doing maintainer-clean in sid" ; \
17571 (cd sid && \
17572 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17573 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17574 "RANLIB=$${RANLIB}" \
17575 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17576 maintainer-clean) \
17577 || exit 1
17579 @endif sid
17582 .PHONY: configure-sim maybe-configure-sim
17583 maybe-configure-sim:
17584 @if sim
17585 maybe-configure-sim: configure-sim
17586 configure-sim:
17587 @test ! -f sim/Makefile || exit 0; \
17588 [ -d sim ] || mkdir sim; \
17589 r=`${PWD_COMMAND}`; export r; \
17590 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17591 $(HOST_EXPORTS) \
17592 echo Configuring in sim; \
17593 cd sim || exit 1; \
17594 case $(srcdir) in \
17595 \.) \
17596 srcdiroption="--srcdir=."; \
17597 libsrcdir=".";; \
17598 /* | [A-Za-z]:[\\/]*) \
17599 srcdiroption="--srcdir=$(srcdir)/sim"; \
17600 libsrcdir="$$s/sim";; \
17601 *) \
17602 srcdiroption="--srcdir=../$(srcdir)/sim"; \
17603 libsrcdir="$$s/sim";; \
17604 esac; \
17605 $(SHELL) $${libsrcdir}/configure \
17606 $(HOST_CONFIGARGS) $${srcdiroption} \
17607 || exit 1
17608 @endif sim
17610 .PHONY: all-sim maybe-all-sim
17611 maybe-all-sim:
17612 @if sim
17613 maybe-all-sim: all-sim
17614 all-sim: configure-sim
17615 @r=`${PWD_COMMAND}`; export r; \
17616 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17617 $(SET_LIB_PATH) \
17618 $(HOST_EXPORTS) \
17619 (cd sim && $(MAKE) $(FLAGS_TO_PASS) all)
17620 @endif sim
17622 .PHONY: check-sim maybe-check-sim
17623 maybe-check-sim:
17624 @if sim
17625 maybe-check-sim: check-sim
17627 check-sim:
17628 @r=`${PWD_COMMAND}`; export r; \
17629 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17630 $(SET_LIB_PATH) \
17631 $(HOST_EXPORTS) \
17632 (cd sim && $(MAKE) $(FLAGS_TO_PASS) check)
17634 @endif sim
17636 .PHONY: install-sim maybe-install-sim
17637 maybe-install-sim:
17638 @if sim
17639 maybe-install-sim: install-sim
17641 install-sim: installdirs
17642 @r=`${PWD_COMMAND}`; export r; \
17643 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17644 $(SET_LIB_PATH) \
17645 $(HOST_EXPORTS) \
17646 (cd sim && $(MAKE) $(FLAGS_TO_PASS) install)
17648 @endif sim
17650 # Other targets (info, dvi, etc.)
17652 .PHONY: maybe-info-sim info-sim
17653 maybe-info-sim:
17654 @if sim
17655 maybe-info-sim: info-sim
17657 info-sim: \
17658 configure-sim
17659 @[ -f ./sim/Makefile ] || exit 0; \
17660 r=`${PWD_COMMAND}`; export r; \
17661 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17662 $(SET_LIB_PATH) \
17663 $(HOST_EXPORTS) \
17664 for flag in $(EXTRA_HOST_FLAGS); do \
17665 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17666 done; \
17667 echo "Doing info in sim" ; \
17668 (cd sim && \
17669 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17670 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17671 "RANLIB=$${RANLIB}" \
17672 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17673 info) \
17674 || exit 1
17676 @endif sim
17678 .PHONY: maybe-dvi-sim dvi-sim
17679 maybe-dvi-sim:
17680 @if sim
17681 maybe-dvi-sim: dvi-sim
17683 dvi-sim: \
17684 configure-sim
17685 @[ -f ./sim/Makefile ] || exit 0; \
17686 r=`${PWD_COMMAND}`; export r; \
17687 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17688 $(SET_LIB_PATH) \
17689 $(HOST_EXPORTS) \
17690 for flag in $(EXTRA_HOST_FLAGS); do \
17691 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17692 done; \
17693 echo "Doing dvi in sim" ; \
17694 (cd sim && \
17695 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17696 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17697 "RANLIB=$${RANLIB}" \
17698 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17699 dvi) \
17700 || exit 1
17702 @endif sim
17704 .PHONY: maybe-TAGS-sim TAGS-sim
17705 maybe-TAGS-sim:
17706 @if sim
17707 maybe-TAGS-sim: TAGS-sim
17709 TAGS-sim: \
17710 configure-sim
17711 @[ -f ./sim/Makefile ] || exit 0; \
17712 r=`${PWD_COMMAND}`; export r; \
17713 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17714 $(SET_LIB_PATH) \
17715 $(HOST_EXPORTS) \
17716 for flag in $(EXTRA_HOST_FLAGS); do \
17717 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17718 done; \
17719 echo "Doing TAGS in sim" ; \
17720 (cd sim && \
17721 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17722 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17723 "RANLIB=$${RANLIB}" \
17724 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17725 TAGS) \
17726 || exit 1
17728 @endif sim
17730 .PHONY: maybe-install-info-sim install-info-sim
17731 maybe-install-info-sim:
17732 @if sim
17733 maybe-install-info-sim: install-info-sim
17735 install-info-sim: \
17736 configure-sim \
17737 info-sim
17738 @[ -f ./sim/Makefile ] || exit 0; \
17739 r=`${PWD_COMMAND}`; export r; \
17740 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17741 $(SET_LIB_PATH) \
17742 $(HOST_EXPORTS) \
17743 for flag in $(EXTRA_HOST_FLAGS); do \
17744 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17745 done; \
17746 echo "Doing install-info in sim" ; \
17747 (cd sim && \
17748 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17749 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17750 "RANLIB=$${RANLIB}" \
17751 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17752 install-info) \
17753 || exit 1
17755 @endif sim
17757 .PHONY: maybe-installcheck-sim installcheck-sim
17758 maybe-installcheck-sim:
17759 @if sim
17760 maybe-installcheck-sim: installcheck-sim
17762 installcheck-sim: \
17763 configure-sim
17764 @[ -f ./sim/Makefile ] || exit 0; \
17765 r=`${PWD_COMMAND}`; export r; \
17766 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17767 $(SET_LIB_PATH) \
17768 $(HOST_EXPORTS) \
17769 for flag in $(EXTRA_HOST_FLAGS); do \
17770 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17771 done; \
17772 echo "Doing installcheck in sim" ; \
17773 (cd sim && \
17774 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17775 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17776 "RANLIB=$${RANLIB}" \
17777 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17778 installcheck) \
17779 || exit 1
17781 @endif sim
17783 .PHONY: maybe-mostlyclean-sim mostlyclean-sim
17784 maybe-mostlyclean-sim:
17785 @if sim
17786 maybe-mostlyclean-sim: mostlyclean-sim
17788 mostlyclean-sim:
17789 @[ -f ./sim/Makefile ] || exit 0; \
17790 r=`${PWD_COMMAND}`; export r; \
17791 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17792 $(SET_LIB_PATH) \
17793 $(HOST_EXPORTS) \
17794 for flag in $(EXTRA_HOST_FLAGS); do \
17795 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17796 done; \
17797 echo "Doing mostlyclean in sim" ; \
17798 (cd sim && \
17799 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17800 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17801 "RANLIB=$${RANLIB}" \
17802 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17803 mostlyclean) \
17804 || exit 1
17806 @endif sim
17808 .PHONY: maybe-clean-sim clean-sim
17809 maybe-clean-sim:
17810 @if sim
17811 maybe-clean-sim: clean-sim
17813 clean-sim:
17814 @[ -f ./sim/Makefile ] || exit 0; \
17815 r=`${PWD_COMMAND}`; export r; \
17816 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17817 $(SET_LIB_PATH) \
17818 $(HOST_EXPORTS) \
17819 for flag in $(EXTRA_HOST_FLAGS); do \
17820 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17821 done; \
17822 echo "Doing clean in sim" ; \
17823 (cd sim && \
17824 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17825 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17826 "RANLIB=$${RANLIB}" \
17827 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17828 clean) \
17829 || exit 1
17831 @endif sim
17833 .PHONY: maybe-distclean-sim distclean-sim
17834 maybe-distclean-sim:
17835 @if sim
17836 maybe-distclean-sim: distclean-sim
17838 distclean-sim:
17839 @[ -f ./sim/Makefile ] || exit 0; \
17840 r=`${PWD_COMMAND}`; export r; \
17841 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17842 $(SET_LIB_PATH) \
17843 $(HOST_EXPORTS) \
17844 for flag in $(EXTRA_HOST_FLAGS); do \
17845 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17846 done; \
17847 echo "Doing distclean in sim" ; \
17848 (cd sim && \
17849 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17850 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17851 "RANLIB=$${RANLIB}" \
17852 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17853 distclean) \
17854 || exit 1
17856 @endif sim
17858 .PHONY: maybe-maintainer-clean-sim maintainer-clean-sim
17859 maybe-maintainer-clean-sim:
17860 @if sim
17861 maybe-maintainer-clean-sim: maintainer-clean-sim
17863 maintainer-clean-sim:
17864 @[ -f ./sim/Makefile ] || exit 0; \
17865 r=`${PWD_COMMAND}`; export r; \
17866 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17867 $(SET_LIB_PATH) \
17868 $(HOST_EXPORTS) \
17869 for flag in $(EXTRA_HOST_FLAGS); do \
17870 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17871 done; \
17872 echo "Doing maintainer-clean in sim" ; \
17873 (cd sim && \
17874 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17875 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17876 "RANLIB=$${RANLIB}" \
17877 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17878 maintainer-clean) \
17879 || exit 1
17881 @endif sim
17884 .PHONY: configure-tar maybe-configure-tar
17885 maybe-configure-tar:
17886 @if tar
17887 maybe-configure-tar: configure-tar
17888 configure-tar:
17889 @test ! -f tar/Makefile || exit 0; \
17890 [ -d tar ] || mkdir tar; \
17891 r=`${PWD_COMMAND}`; export r; \
17892 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17893 $(HOST_EXPORTS) \
17894 echo Configuring in tar; \
17895 cd tar || exit 1; \
17896 case $(srcdir) in \
17897 \.) \
17898 srcdiroption="--srcdir=."; \
17899 libsrcdir=".";; \
17900 /* | [A-Za-z]:[\\/]*) \
17901 srcdiroption="--srcdir=$(srcdir)/tar"; \
17902 libsrcdir="$$s/tar";; \
17903 *) \
17904 srcdiroption="--srcdir=../$(srcdir)/tar"; \
17905 libsrcdir="$$s/tar";; \
17906 esac; \
17907 $(SHELL) $${libsrcdir}/configure \
17908 $(HOST_CONFIGARGS) $${srcdiroption} \
17909 || exit 1
17910 @endif tar
17912 .PHONY: all-tar maybe-all-tar
17913 maybe-all-tar:
17914 @if tar
17915 maybe-all-tar: all-tar
17916 all-tar: configure-tar
17917 @r=`${PWD_COMMAND}`; export r; \
17918 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17919 $(SET_LIB_PATH) \
17920 $(HOST_EXPORTS) \
17921 (cd tar && $(MAKE) $(FLAGS_TO_PASS) all)
17922 @endif tar
17924 .PHONY: check-tar maybe-check-tar
17925 maybe-check-tar:
17926 @if tar
17927 maybe-check-tar: check-tar
17929 check-tar:
17930 @r=`${PWD_COMMAND}`; export r; \
17931 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17932 $(SET_LIB_PATH) \
17933 $(HOST_EXPORTS) \
17934 (cd tar && $(MAKE) $(FLAGS_TO_PASS) check)
17936 @endif tar
17938 .PHONY: install-tar maybe-install-tar
17939 maybe-install-tar:
17940 @if tar
17941 maybe-install-tar: install-tar
17943 install-tar: installdirs
17944 @r=`${PWD_COMMAND}`; export r; \
17945 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17946 $(SET_LIB_PATH) \
17947 $(HOST_EXPORTS) \
17948 (cd tar && $(MAKE) $(FLAGS_TO_PASS) install)
17950 @endif tar
17952 # Other targets (info, dvi, etc.)
17954 .PHONY: maybe-info-tar info-tar
17955 maybe-info-tar:
17956 @if tar
17957 maybe-info-tar: info-tar
17959 info-tar: \
17960 configure-tar
17961 @[ -f ./tar/Makefile ] || exit 0; \
17962 r=`${PWD_COMMAND}`; export r; \
17963 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17964 $(SET_LIB_PATH) \
17965 $(HOST_EXPORTS) \
17966 for flag in $(EXTRA_HOST_FLAGS); do \
17967 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17968 done; \
17969 echo "Doing info in tar" ; \
17970 (cd tar && \
17971 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17972 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17973 "RANLIB=$${RANLIB}" \
17974 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17975 info) \
17976 || exit 1
17978 @endif tar
17980 .PHONY: maybe-dvi-tar dvi-tar
17981 maybe-dvi-tar:
17982 @if tar
17983 maybe-dvi-tar: dvi-tar
17985 dvi-tar: \
17986 configure-tar
17987 @[ -f ./tar/Makefile ] || exit 0; \
17988 r=`${PWD_COMMAND}`; export r; \
17989 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17990 $(SET_LIB_PATH) \
17991 $(HOST_EXPORTS) \
17992 for flag in $(EXTRA_HOST_FLAGS); do \
17993 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17994 done; \
17995 echo "Doing dvi in tar" ; \
17996 (cd tar && \
17997 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17998 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17999 "RANLIB=$${RANLIB}" \
18000 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18001 dvi) \
18002 || exit 1
18004 @endif tar
18006 .PHONY: maybe-TAGS-tar TAGS-tar
18007 maybe-TAGS-tar:
18008 @if tar
18009 maybe-TAGS-tar: TAGS-tar
18011 TAGS-tar: \
18012 configure-tar
18013 @[ -f ./tar/Makefile ] || exit 0; \
18014 r=`${PWD_COMMAND}`; export r; \
18015 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18016 $(SET_LIB_PATH) \
18017 $(HOST_EXPORTS) \
18018 for flag in $(EXTRA_HOST_FLAGS); do \
18019 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18020 done; \
18021 echo "Doing TAGS in tar" ; \
18022 (cd tar && \
18023 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18024 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18025 "RANLIB=$${RANLIB}" \
18026 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18027 TAGS) \
18028 || exit 1
18030 @endif tar
18032 .PHONY: maybe-install-info-tar install-info-tar
18033 maybe-install-info-tar:
18034 @if tar
18035 maybe-install-info-tar: install-info-tar
18037 install-info-tar: \
18038 configure-tar \
18039 info-tar
18040 @[ -f ./tar/Makefile ] || exit 0; \
18041 r=`${PWD_COMMAND}`; export r; \
18042 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18043 $(SET_LIB_PATH) \
18044 $(HOST_EXPORTS) \
18045 for flag in $(EXTRA_HOST_FLAGS); do \
18046 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18047 done; \
18048 echo "Doing install-info in tar" ; \
18049 (cd tar && \
18050 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18051 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18052 "RANLIB=$${RANLIB}" \
18053 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18054 install-info) \
18055 || exit 1
18057 @endif tar
18059 .PHONY: maybe-installcheck-tar installcheck-tar
18060 maybe-installcheck-tar:
18061 @if tar
18062 maybe-installcheck-tar: installcheck-tar
18064 installcheck-tar: \
18065 configure-tar
18066 @[ -f ./tar/Makefile ] || exit 0; \
18067 r=`${PWD_COMMAND}`; export r; \
18068 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18069 $(SET_LIB_PATH) \
18070 $(HOST_EXPORTS) \
18071 for flag in $(EXTRA_HOST_FLAGS); do \
18072 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18073 done; \
18074 echo "Doing installcheck in tar" ; \
18075 (cd tar && \
18076 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18077 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18078 "RANLIB=$${RANLIB}" \
18079 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18080 installcheck) \
18081 || exit 1
18083 @endif tar
18085 .PHONY: maybe-mostlyclean-tar mostlyclean-tar
18086 maybe-mostlyclean-tar:
18087 @if tar
18088 maybe-mostlyclean-tar: mostlyclean-tar
18090 mostlyclean-tar:
18091 @[ -f ./tar/Makefile ] || exit 0; \
18092 r=`${PWD_COMMAND}`; export r; \
18093 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18094 $(SET_LIB_PATH) \
18095 $(HOST_EXPORTS) \
18096 for flag in $(EXTRA_HOST_FLAGS); do \
18097 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18098 done; \
18099 echo "Doing mostlyclean in tar" ; \
18100 (cd tar && \
18101 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18102 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18103 "RANLIB=$${RANLIB}" \
18104 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18105 mostlyclean) \
18106 || exit 1
18108 @endif tar
18110 .PHONY: maybe-clean-tar clean-tar
18111 maybe-clean-tar:
18112 @if tar
18113 maybe-clean-tar: clean-tar
18115 clean-tar:
18116 @[ -f ./tar/Makefile ] || exit 0; \
18117 r=`${PWD_COMMAND}`; export r; \
18118 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18119 $(SET_LIB_PATH) \
18120 $(HOST_EXPORTS) \
18121 for flag in $(EXTRA_HOST_FLAGS); do \
18122 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18123 done; \
18124 echo "Doing clean in tar" ; \
18125 (cd tar && \
18126 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18127 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18128 "RANLIB=$${RANLIB}" \
18129 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18130 clean) \
18131 || exit 1
18133 @endif tar
18135 .PHONY: maybe-distclean-tar distclean-tar
18136 maybe-distclean-tar:
18137 @if tar
18138 maybe-distclean-tar: distclean-tar
18140 distclean-tar:
18141 @[ -f ./tar/Makefile ] || exit 0; \
18142 r=`${PWD_COMMAND}`; export r; \
18143 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18144 $(SET_LIB_PATH) \
18145 $(HOST_EXPORTS) \
18146 for flag in $(EXTRA_HOST_FLAGS); do \
18147 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18148 done; \
18149 echo "Doing distclean in tar" ; \
18150 (cd tar && \
18151 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18152 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18153 "RANLIB=$${RANLIB}" \
18154 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18155 distclean) \
18156 || exit 1
18158 @endif tar
18160 .PHONY: maybe-maintainer-clean-tar maintainer-clean-tar
18161 maybe-maintainer-clean-tar:
18162 @if tar
18163 maybe-maintainer-clean-tar: maintainer-clean-tar
18165 maintainer-clean-tar:
18166 @[ -f ./tar/Makefile ] || exit 0; \
18167 r=`${PWD_COMMAND}`; export r; \
18168 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18169 $(SET_LIB_PATH) \
18170 $(HOST_EXPORTS) \
18171 for flag in $(EXTRA_HOST_FLAGS); do \
18172 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18173 done; \
18174 echo "Doing maintainer-clean in tar" ; \
18175 (cd tar && \
18176 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18177 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18178 "RANLIB=$${RANLIB}" \
18179 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18180 maintainer-clean) \
18181 || exit 1
18183 @endif tar
18186 .PHONY: configure-texinfo maybe-configure-texinfo
18187 maybe-configure-texinfo:
18188 @if texinfo
18189 maybe-configure-texinfo: configure-texinfo
18190 configure-texinfo:
18191 @test ! -f texinfo/Makefile || exit 0; \
18192 [ -d texinfo ] || mkdir texinfo; \
18193 r=`${PWD_COMMAND}`; export r; \
18194 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18195 $(HOST_EXPORTS) \
18196 echo Configuring in texinfo; \
18197 cd texinfo || exit 1; \
18198 case $(srcdir) in \
18199 \.) \
18200 srcdiroption="--srcdir=."; \
18201 libsrcdir=".";; \
18202 /* | [A-Za-z]:[\\/]*) \
18203 srcdiroption="--srcdir=$(srcdir)/texinfo"; \
18204 libsrcdir="$$s/texinfo";; \
18205 *) \
18206 srcdiroption="--srcdir=../$(srcdir)/texinfo"; \
18207 libsrcdir="$$s/texinfo";; \
18208 esac; \
18209 $(SHELL) $${libsrcdir}/configure \
18210 $(HOST_CONFIGARGS) $${srcdiroption} \
18211 || exit 1
18212 @endif texinfo
18214 .PHONY: all-texinfo maybe-all-texinfo
18215 maybe-all-texinfo:
18216 @if texinfo
18217 maybe-all-texinfo: all-texinfo
18218 all-texinfo: configure-texinfo
18219 @r=`${PWD_COMMAND}`; export r; \
18220 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18221 $(SET_LIB_PATH) \
18222 $(HOST_EXPORTS) \
18223 (cd texinfo && $(MAKE) $(FLAGS_TO_PASS) all)
18224 @endif texinfo
18226 .PHONY: check-texinfo maybe-check-texinfo
18227 maybe-check-texinfo:
18228 @if texinfo
18229 maybe-check-texinfo: check-texinfo
18231 check-texinfo:
18232 @r=`${PWD_COMMAND}`; export r; \
18233 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18234 $(SET_LIB_PATH) \
18235 $(HOST_EXPORTS) \
18236 (cd texinfo && $(MAKE) $(FLAGS_TO_PASS) check)
18238 @endif texinfo
18240 .PHONY: install-texinfo maybe-install-texinfo
18241 maybe-install-texinfo:
18242 @if texinfo
18243 maybe-install-texinfo: install-texinfo
18245 install-texinfo:
18247 @endif texinfo
18249 # Other targets (info, dvi, etc.)
18251 .PHONY: maybe-info-texinfo info-texinfo
18252 maybe-info-texinfo:
18253 @if texinfo
18254 maybe-info-texinfo: info-texinfo
18256 info-texinfo: \
18257 configure-texinfo
18258 @[ -f ./texinfo/Makefile ] || exit 0; \
18259 r=`${PWD_COMMAND}`; export r; \
18260 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18261 $(SET_LIB_PATH) \
18262 $(HOST_EXPORTS) \
18263 for flag in $(EXTRA_HOST_FLAGS); do \
18264 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18265 done; \
18266 echo "Doing info in texinfo" ; \
18267 (cd texinfo && \
18268 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18269 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18270 "RANLIB=$${RANLIB}" \
18271 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18272 info) \
18273 || exit 1
18275 @endif texinfo
18277 .PHONY: maybe-dvi-texinfo dvi-texinfo
18278 maybe-dvi-texinfo:
18279 @if texinfo
18280 maybe-dvi-texinfo: dvi-texinfo
18282 dvi-texinfo: \
18283 configure-texinfo
18284 @[ -f ./texinfo/Makefile ] || exit 0; \
18285 r=`${PWD_COMMAND}`; export r; \
18286 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18287 $(SET_LIB_PATH) \
18288 $(HOST_EXPORTS) \
18289 for flag in $(EXTRA_HOST_FLAGS); do \
18290 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18291 done; \
18292 echo "Doing dvi in texinfo" ; \
18293 (cd texinfo && \
18294 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18295 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18296 "RANLIB=$${RANLIB}" \
18297 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18298 dvi) \
18299 || exit 1
18301 @endif texinfo
18303 .PHONY: maybe-TAGS-texinfo TAGS-texinfo
18304 maybe-TAGS-texinfo:
18305 @if texinfo
18306 maybe-TAGS-texinfo: TAGS-texinfo
18308 TAGS-texinfo: \
18309 configure-texinfo
18310 @[ -f ./texinfo/Makefile ] || exit 0; \
18311 r=`${PWD_COMMAND}`; export r; \
18312 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18313 $(SET_LIB_PATH) \
18314 $(HOST_EXPORTS) \
18315 for flag in $(EXTRA_HOST_FLAGS); do \
18316 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18317 done; \
18318 echo "Doing TAGS in texinfo" ; \
18319 (cd texinfo && \
18320 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18321 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18322 "RANLIB=$${RANLIB}" \
18323 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18324 TAGS) \
18325 || exit 1
18327 @endif texinfo
18329 .PHONY: maybe-install-info-texinfo install-info-texinfo
18330 maybe-install-info-texinfo:
18331 @if texinfo
18332 maybe-install-info-texinfo: install-info-texinfo
18334 install-info-texinfo: \
18335 configure-texinfo \
18336 info-texinfo
18337 @[ -f ./texinfo/Makefile ] || exit 0; \
18338 r=`${PWD_COMMAND}`; export r; \
18339 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18340 $(SET_LIB_PATH) \
18341 $(HOST_EXPORTS) \
18342 for flag in $(EXTRA_HOST_FLAGS); do \
18343 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18344 done; \
18345 echo "Doing install-info in texinfo" ; \
18346 (cd texinfo && \
18347 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18348 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18349 "RANLIB=$${RANLIB}" \
18350 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18351 install-info) \
18352 || exit 1
18354 @endif texinfo
18356 .PHONY: maybe-installcheck-texinfo installcheck-texinfo
18357 maybe-installcheck-texinfo:
18358 @if texinfo
18359 maybe-installcheck-texinfo: installcheck-texinfo
18361 installcheck-texinfo: \
18362 configure-texinfo
18363 @[ -f ./texinfo/Makefile ] || exit 0; \
18364 r=`${PWD_COMMAND}`; export r; \
18365 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18366 $(SET_LIB_PATH) \
18367 $(HOST_EXPORTS) \
18368 for flag in $(EXTRA_HOST_FLAGS); do \
18369 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18370 done; \
18371 echo "Doing installcheck in texinfo" ; \
18372 (cd texinfo && \
18373 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18374 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18375 "RANLIB=$${RANLIB}" \
18376 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18377 installcheck) \
18378 || exit 1
18380 @endif texinfo
18382 .PHONY: maybe-mostlyclean-texinfo mostlyclean-texinfo
18383 maybe-mostlyclean-texinfo:
18384 @if texinfo
18385 maybe-mostlyclean-texinfo: mostlyclean-texinfo
18387 mostlyclean-texinfo:
18388 @[ -f ./texinfo/Makefile ] || exit 0; \
18389 r=`${PWD_COMMAND}`; export r; \
18390 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18391 $(SET_LIB_PATH) \
18392 $(HOST_EXPORTS) \
18393 for flag in $(EXTRA_HOST_FLAGS); do \
18394 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18395 done; \
18396 echo "Doing mostlyclean in texinfo" ; \
18397 (cd texinfo && \
18398 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18399 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18400 "RANLIB=$${RANLIB}" \
18401 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18402 mostlyclean) \
18403 || exit 1
18405 @endif texinfo
18407 .PHONY: maybe-clean-texinfo clean-texinfo
18408 maybe-clean-texinfo:
18409 @if texinfo
18410 maybe-clean-texinfo: clean-texinfo
18412 clean-texinfo:
18413 @[ -f ./texinfo/Makefile ] || exit 0; \
18414 r=`${PWD_COMMAND}`; export r; \
18415 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18416 $(SET_LIB_PATH) \
18417 $(HOST_EXPORTS) \
18418 for flag in $(EXTRA_HOST_FLAGS); do \
18419 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18420 done; \
18421 echo "Doing clean in texinfo" ; \
18422 (cd texinfo && \
18423 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18424 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18425 "RANLIB=$${RANLIB}" \
18426 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18427 clean) \
18428 || exit 1
18430 @endif texinfo
18432 .PHONY: maybe-distclean-texinfo distclean-texinfo
18433 maybe-distclean-texinfo:
18434 @if texinfo
18435 maybe-distclean-texinfo: distclean-texinfo
18437 distclean-texinfo:
18438 @[ -f ./texinfo/Makefile ] || exit 0; \
18439 r=`${PWD_COMMAND}`; export r; \
18440 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18441 $(SET_LIB_PATH) \
18442 $(HOST_EXPORTS) \
18443 for flag in $(EXTRA_HOST_FLAGS); do \
18444 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18445 done; \
18446 echo "Doing distclean in texinfo" ; \
18447 (cd texinfo && \
18448 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18449 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18450 "RANLIB=$${RANLIB}" \
18451 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18452 distclean) \
18453 || exit 1
18455 @endif texinfo
18457 .PHONY: maybe-maintainer-clean-texinfo maintainer-clean-texinfo
18458 maybe-maintainer-clean-texinfo:
18459 @if texinfo
18460 maybe-maintainer-clean-texinfo: maintainer-clean-texinfo
18462 maintainer-clean-texinfo:
18463 @[ -f ./texinfo/Makefile ] || exit 0; \
18464 r=`${PWD_COMMAND}`; export r; \
18465 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18466 $(SET_LIB_PATH) \
18467 $(HOST_EXPORTS) \
18468 for flag in $(EXTRA_HOST_FLAGS); do \
18469 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18470 done; \
18471 echo "Doing maintainer-clean in texinfo" ; \
18472 (cd texinfo && \
18473 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18474 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18475 "RANLIB=$${RANLIB}" \
18476 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18477 maintainer-clean) \
18478 || exit 1
18480 @endif texinfo
18483 .PHONY: configure-textutils maybe-configure-textutils
18484 maybe-configure-textutils:
18485 @if textutils
18486 maybe-configure-textutils: configure-textutils
18487 configure-textutils:
18488 @test ! -f textutils/Makefile || exit 0; \
18489 [ -d textutils ] || mkdir textutils; \
18490 r=`${PWD_COMMAND}`; export r; \
18491 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18492 $(HOST_EXPORTS) \
18493 echo Configuring in textutils; \
18494 cd textutils || exit 1; \
18495 case $(srcdir) in \
18496 \.) \
18497 srcdiroption="--srcdir=."; \
18498 libsrcdir=".";; \
18499 /* | [A-Za-z]:[\\/]*) \
18500 srcdiroption="--srcdir=$(srcdir)/textutils"; \
18501 libsrcdir="$$s/textutils";; \
18502 *) \
18503 srcdiroption="--srcdir=../$(srcdir)/textutils"; \
18504 libsrcdir="$$s/textutils";; \
18505 esac; \
18506 $(SHELL) $${libsrcdir}/configure \
18507 $(HOST_CONFIGARGS) $${srcdiroption} \
18508 || exit 1
18509 @endif textutils
18511 .PHONY: all-textutils maybe-all-textutils
18512 maybe-all-textutils:
18513 @if textutils
18514 maybe-all-textutils: all-textutils
18515 all-textutils: configure-textutils
18516 @r=`${PWD_COMMAND}`; export r; \
18517 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18518 $(SET_LIB_PATH) \
18519 $(HOST_EXPORTS) \
18520 (cd textutils && $(MAKE) $(FLAGS_TO_PASS) all)
18521 @endif textutils
18523 .PHONY: check-textutils maybe-check-textutils
18524 maybe-check-textutils:
18525 @if textutils
18526 maybe-check-textutils: check-textutils
18528 check-textutils:
18529 @r=`${PWD_COMMAND}`; export r; \
18530 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18531 $(SET_LIB_PATH) \
18532 $(HOST_EXPORTS) \
18533 (cd textutils && $(MAKE) $(FLAGS_TO_PASS) check)
18535 @endif textutils
18537 .PHONY: install-textutils maybe-install-textutils
18538 maybe-install-textutils:
18539 @if textutils
18540 maybe-install-textutils: install-textutils
18542 install-textutils: installdirs
18543 @r=`${PWD_COMMAND}`; export r; \
18544 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18545 $(SET_LIB_PATH) \
18546 $(HOST_EXPORTS) \
18547 (cd textutils && $(MAKE) $(FLAGS_TO_PASS) install)
18549 @endif textutils
18551 # Other targets (info, dvi, etc.)
18553 .PHONY: maybe-info-textutils info-textutils
18554 maybe-info-textutils:
18555 @if textutils
18556 maybe-info-textutils: info-textutils
18558 info-textutils: \
18559 configure-textutils
18560 @[ -f ./textutils/Makefile ] || exit 0; \
18561 r=`${PWD_COMMAND}`; export r; \
18562 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18563 $(SET_LIB_PATH) \
18564 $(HOST_EXPORTS) \
18565 for flag in $(EXTRA_HOST_FLAGS); do \
18566 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18567 done; \
18568 echo "Doing info in textutils" ; \
18569 (cd textutils && \
18570 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18571 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18572 "RANLIB=$${RANLIB}" \
18573 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18574 info) \
18575 || exit 1
18577 @endif textutils
18579 .PHONY: maybe-dvi-textutils dvi-textutils
18580 maybe-dvi-textutils:
18581 @if textutils
18582 maybe-dvi-textutils: dvi-textutils
18584 dvi-textutils: \
18585 configure-textutils
18586 @[ -f ./textutils/Makefile ] || exit 0; \
18587 r=`${PWD_COMMAND}`; export r; \
18588 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18589 $(SET_LIB_PATH) \
18590 $(HOST_EXPORTS) \
18591 for flag in $(EXTRA_HOST_FLAGS); do \
18592 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18593 done; \
18594 echo "Doing dvi in textutils" ; \
18595 (cd textutils && \
18596 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18597 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18598 "RANLIB=$${RANLIB}" \
18599 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18600 dvi) \
18601 || exit 1
18603 @endif textutils
18605 .PHONY: maybe-TAGS-textutils TAGS-textutils
18606 maybe-TAGS-textutils:
18607 @if textutils
18608 maybe-TAGS-textutils: TAGS-textutils
18610 TAGS-textutils: \
18611 configure-textutils
18612 @[ -f ./textutils/Makefile ] || exit 0; \
18613 r=`${PWD_COMMAND}`; export r; \
18614 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18615 $(SET_LIB_PATH) \
18616 $(HOST_EXPORTS) \
18617 for flag in $(EXTRA_HOST_FLAGS); do \
18618 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18619 done; \
18620 echo "Doing TAGS in textutils" ; \
18621 (cd textutils && \
18622 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18623 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18624 "RANLIB=$${RANLIB}" \
18625 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18626 TAGS) \
18627 || exit 1
18629 @endif textutils
18631 .PHONY: maybe-install-info-textutils install-info-textutils
18632 maybe-install-info-textutils:
18633 @if textutils
18634 maybe-install-info-textutils: install-info-textutils
18636 install-info-textutils: \
18637 configure-textutils \
18638 info-textutils
18639 @[ -f ./textutils/Makefile ] || exit 0; \
18640 r=`${PWD_COMMAND}`; export r; \
18641 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18642 $(SET_LIB_PATH) \
18643 $(HOST_EXPORTS) \
18644 for flag in $(EXTRA_HOST_FLAGS); do \
18645 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18646 done; \
18647 echo "Doing install-info in textutils" ; \
18648 (cd textutils && \
18649 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18650 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18651 "RANLIB=$${RANLIB}" \
18652 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18653 install-info) \
18654 || exit 1
18656 @endif textutils
18658 .PHONY: maybe-installcheck-textutils installcheck-textutils
18659 maybe-installcheck-textutils:
18660 @if textutils
18661 maybe-installcheck-textutils: installcheck-textutils
18663 installcheck-textutils: \
18664 configure-textutils
18665 @[ -f ./textutils/Makefile ] || exit 0; \
18666 r=`${PWD_COMMAND}`; export r; \
18667 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18668 $(SET_LIB_PATH) \
18669 $(HOST_EXPORTS) \
18670 for flag in $(EXTRA_HOST_FLAGS); do \
18671 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18672 done; \
18673 echo "Doing installcheck in textutils" ; \
18674 (cd textutils && \
18675 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18676 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18677 "RANLIB=$${RANLIB}" \
18678 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18679 installcheck) \
18680 || exit 1
18682 @endif textutils
18684 .PHONY: maybe-mostlyclean-textutils mostlyclean-textutils
18685 maybe-mostlyclean-textutils:
18686 @if textutils
18687 maybe-mostlyclean-textutils: mostlyclean-textutils
18689 mostlyclean-textutils:
18690 @[ -f ./textutils/Makefile ] || exit 0; \
18691 r=`${PWD_COMMAND}`; export r; \
18692 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18693 $(SET_LIB_PATH) \
18694 $(HOST_EXPORTS) \
18695 for flag in $(EXTRA_HOST_FLAGS); do \
18696 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18697 done; \
18698 echo "Doing mostlyclean in textutils" ; \
18699 (cd textutils && \
18700 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18701 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18702 "RANLIB=$${RANLIB}" \
18703 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18704 mostlyclean) \
18705 || exit 1
18707 @endif textutils
18709 .PHONY: maybe-clean-textutils clean-textutils
18710 maybe-clean-textutils:
18711 @if textutils
18712 maybe-clean-textutils: clean-textutils
18714 clean-textutils:
18715 @[ -f ./textutils/Makefile ] || exit 0; \
18716 r=`${PWD_COMMAND}`; export r; \
18717 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18718 $(SET_LIB_PATH) \
18719 $(HOST_EXPORTS) \
18720 for flag in $(EXTRA_HOST_FLAGS); do \
18721 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18722 done; \
18723 echo "Doing clean in textutils" ; \
18724 (cd textutils && \
18725 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18726 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18727 "RANLIB=$${RANLIB}" \
18728 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18729 clean) \
18730 || exit 1
18732 @endif textutils
18734 .PHONY: maybe-distclean-textutils distclean-textutils
18735 maybe-distclean-textutils:
18736 @if textutils
18737 maybe-distclean-textutils: distclean-textutils
18739 distclean-textutils:
18740 @[ -f ./textutils/Makefile ] || exit 0; \
18741 r=`${PWD_COMMAND}`; export r; \
18742 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18743 $(SET_LIB_PATH) \
18744 $(HOST_EXPORTS) \
18745 for flag in $(EXTRA_HOST_FLAGS); do \
18746 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18747 done; \
18748 echo "Doing distclean in textutils" ; \
18749 (cd textutils && \
18750 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18751 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18752 "RANLIB=$${RANLIB}" \
18753 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18754 distclean) \
18755 || exit 1
18757 @endif textutils
18759 .PHONY: maybe-maintainer-clean-textutils maintainer-clean-textutils
18760 maybe-maintainer-clean-textutils:
18761 @if textutils
18762 maybe-maintainer-clean-textutils: maintainer-clean-textutils
18764 maintainer-clean-textutils:
18765 @[ -f ./textutils/Makefile ] || exit 0; \
18766 r=`${PWD_COMMAND}`; export r; \
18767 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18768 $(SET_LIB_PATH) \
18769 $(HOST_EXPORTS) \
18770 for flag in $(EXTRA_HOST_FLAGS); do \
18771 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18772 done; \
18773 echo "Doing maintainer-clean in textutils" ; \
18774 (cd textutils && \
18775 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18776 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18777 "RANLIB=$${RANLIB}" \
18778 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18779 maintainer-clean) \
18780 || exit 1
18782 @endif textutils
18785 .PHONY: configure-time maybe-configure-time
18786 maybe-configure-time:
18787 @if time
18788 maybe-configure-time: configure-time
18789 configure-time:
18790 @test ! -f time/Makefile || exit 0; \
18791 [ -d time ] || mkdir time; \
18792 r=`${PWD_COMMAND}`; export r; \
18793 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18794 $(HOST_EXPORTS) \
18795 echo Configuring in time; \
18796 cd time || exit 1; \
18797 case $(srcdir) in \
18798 \.) \
18799 srcdiroption="--srcdir=."; \
18800 libsrcdir=".";; \
18801 /* | [A-Za-z]:[\\/]*) \
18802 srcdiroption="--srcdir=$(srcdir)/time"; \
18803 libsrcdir="$$s/time";; \
18804 *) \
18805 srcdiroption="--srcdir=../$(srcdir)/time"; \
18806 libsrcdir="$$s/time";; \
18807 esac; \
18808 $(SHELL) $${libsrcdir}/configure \
18809 $(HOST_CONFIGARGS) $${srcdiroption} \
18810 || exit 1
18811 @endif time
18813 .PHONY: all-time maybe-all-time
18814 maybe-all-time:
18815 @if time
18816 maybe-all-time: all-time
18817 all-time: configure-time
18818 @r=`${PWD_COMMAND}`; export r; \
18819 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18820 $(SET_LIB_PATH) \
18821 $(HOST_EXPORTS) \
18822 (cd time && $(MAKE) $(FLAGS_TO_PASS) all)
18823 @endif time
18825 .PHONY: check-time maybe-check-time
18826 maybe-check-time:
18827 @if time
18828 maybe-check-time: check-time
18830 check-time:
18831 @r=`${PWD_COMMAND}`; export r; \
18832 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18833 $(SET_LIB_PATH) \
18834 $(HOST_EXPORTS) \
18835 (cd time && $(MAKE) $(FLAGS_TO_PASS) check)
18837 @endif time
18839 .PHONY: install-time maybe-install-time
18840 maybe-install-time:
18841 @if time
18842 maybe-install-time: install-time
18844 install-time: installdirs
18845 @r=`${PWD_COMMAND}`; export r; \
18846 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18847 $(SET_LIB_PATH) \
18848 $(HOST_EXPORTS) \
18849 (cd time && $(MAKE) $(FLAGS_TO_PASS) install)
18851 @endif time
18853 # Other targets (info, dvi, etc.)
18855 .PHONY: maybe-info-time info-time
18856 maybe-info-time:
18857 @if time
18858 maybe-info-time: info-time
18860 info-time: \
18861 configure-time
18862 @[ -f ./time/Makefile ] || exit 0; \
18863 r=`${PWD_COMMAND}`; export r; \
18864 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18865 $(SET_LIB_PATH) \
18866 $(HOST_EXPORTS) \
18867 for flag in $(EXTRA_HOST_FLAGS); do \
18868 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18869 done; \
18870 echo "Doing info in time" ; \
18871 (cd time && \
18872 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18873 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18874 "RANLIB=$${RANLIB}" \
18875 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18876 info) \
18877 || exit 1
18879 @endif time
18881 .PHONY: maybe-dvi-time dvi-time
18882 maybe-dvi-time:
18883 @if time
18884 maybe-dvi-time: dvi-time
18886 dvi-time: \
18887 configure-time
18888 @[ -f ./time/Makefile ] || exit 0; \
18889 r=`${PWD_COMMAND}`; export r; \
18890 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18891 $(SET_LIB_PATH) \
18892 $(HOST_EXPORTS) \
18893 for flag in $(EXTRA_HOST_FLAGS); do \
18894 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18895 done; \
18896 echo "Doing dvi in time" ; \
18897 (cd time && \
18898 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18899 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18900 "RANLIB=$${RANLIB}" \
18901 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18902 dvi) \
18903 || exit 1
18905 @endif time
18907 .PHONY: maybe-TAGS-time TAGS-time
18908 maybe-TAGS-time:
18909 @if time
18910 maybe-TAGS-time: TAGS-time
18912 TAGS-time: \
18913 configure-time
18914 @[ -f ./time/Makefile ] || exit 0; \
18915 r=`${PWD_COMMAND}`; export r; \
18916 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18917 $(SET_LIB_PATH) \
18918 $(HOST_EXPORTS) \
18919 for flag in $(EXTRA_HOST_FLAGS); do \
18920 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18921 done; \
18922 echo "Doing TAGS in time" ; \
18923 (cd time && \
18924 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18925 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18926 "RANLIB=$${RANLIB}" \
18927 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18928 TAGS) \
18929 || exit 1
18931 @endif time
18933 .PHONY: maybe-install-info-time install-info-time
18934 maybe-install-info-time:
18935 @if time
18936 maybe-install-info-time: install-info-time
18938 install-info-time: \
18939 configure-time \
18940 info-time
18941 @[ -f ./time/Makefile ] || exit 0; \
18942 r=`${PWD_COMMAND}`; export r; \
18943 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18944 $(SET_LIB_PATH) \
18945 $(HOST_EXPORTS) \
18946 for flag in $(EXTRA_HOST_FLAGS); do \
18947 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18948 done; \
18949 echo "Doing install-info in time" ; \
18950 (cd time && \
18951 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18952 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18953 "RANLIB=$${RANLIB}" \
18954 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18955 install-info) \
18956 || exit 1
18958 @endif time
18960 .PHONY: maybe-installcheck-time installcheck-time
18961 maybe-installcheck-time:
18962 @if time
18963 maybe-installcheck-time: installcheck-time
18965 installcheck-time: \
18966 configure-time
18967 @[ -f ./time/Makefile ] || exit 0; \
18968 r=`${PWD_COMMAND}`; export r; \
18969 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18970 $(SET_LIB_PATH) \
18971 $(HOST_EXPORTS) \
18972 for flag in $(EXTRA_HOST_FLAGS); do \
18973 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18974 done; \
18975 echo "Doing installcheck in time" ; \
18976 (cd time && \
18977 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18978 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18979 "RANLIB=$${RANLIB}" \
18980 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18981 installcheck) \
18982 || exit 1
18984 @endif time
18986 .PHONY: maybe-mostlyclean-time mostlyclean-time
18987 maybe-mostlyclean-time:
18988 @if time
18989 maybe-mostlyclean-time: mostlyclean-time
18991 mostlyclean-time:
18992 @[ -f ./time/Makefile ] || exit 0; \
18993 r=`${PWD_COMMAND}`; export r; \
18994 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18995 $(SET_LIB_PATH) \
18996 $(HOST_EXPORTS) \
18997 for flag in $(EXTRA_HOST_FLAGS); do \
18998 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18999 done; \
19000 echo "Doing mostlyclean in time" ; \
19001 (cd time && \
19002 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19003 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19004 "RANLIB=$${RANLIB}" \
19005 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19006 mostlyclean) \
19007 || exit 1
19009 @endif time
19011 .PHONY: maybe-clean-time clean-time
19012 maybe-clean-time:
19013 @if time
19014 maybe-clean-time: clean-time
19016 clean-time:
19017 @[ -f ./time/Makefile ] || exit 0; \
19018 r=`${PWD_COMMAND}`; export r; \
19019 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19020 $(SET_LIB_PATH) \
19021 $(HOST_EXPORTS) \
19022 for flag in $(EXTRA_HOST_FLAGS); do \
19023 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19024 done; \
19025 echo "Doing clean in time" ; \
19026 (cd time && \
19027 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19028 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19029 "RANLIB=$${RANLIB}" \
19030 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19031 clean) \
19032 || exit 1
19034 @endif time
19036 .PHONY: maybe-distclean-time distclean-time
19037 maybe-distclean-time:
19038 @if time
19039 maybe-distclean-time: distclean-time
19041 distclean-time:
19042 @[ -f ./time/Makefile ] || exit 0; \
19043 r=`${PWD_COMMAND}`; export r; \
19044 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19045 $(SET_LIB_PATH) \
19046 $(HOST_EXPORTS) \
19047 for flag in $(EXTRA_HOST_FLAGS); do \
19048 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19049 done; \
19050 echo "Doing distclean in time" ; \
19051 (cd time && \
19052 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19053 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19054 "RANLIB=$${RANLIB}" \
19055 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19056 distclean) \
19057 || exit 1
19059 @endif time
19061 .PHONY: maybe-maintainer-clean-time maintainer-clean-time
19062 maybe-maintainer-clean-time:
19063 @if time
19064 maybe-maintainer-clean-time: maintainer-clean-time
19066 maintainer-clean-time:
19067 @[ -f ./time/Makefile ] || exit 0; \
19068 r=`${PWD_COMMAND}`; export r; \
19069 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19070 $(SET_LIB_PATH) \
19071 $(HOST_EXPORTS) \
19072 for flag in $(EXTRA_HOST_FLAGS); do \
19073 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19074 done; \
19075 echo "Doing maintainer-clean in time" ; \
19076 (cd time && \
19077 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19078 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19079 "RANLIB=$${RANLIB}" \
19080 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19081 maintainer-clean) \
19082 || exit 1
19084 @endif time
19087 .PHONY: configure-uudecode maybe-configure-uudecode
19088 maybe-configure-uudecode:
19089 @if uudecode
19090 maybe-configure-uudecode: configure-uudecode
19091 configure-uudecode:
19092 @test ! -f uudecode/Makefile || exit 0; \
19093 [ -d uudecode ] || mkdir uudecode; \
19094 r=`${PWD_COMMAND}`; export r; \
19095 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19096 $(HOST_EXPORTS) \
19097 echo Configuring in uudecode; \
19098 cd uudecode || exit 1; \
19099 case $(srcdir) in \
19100 \.) \
19101 srcdiroption="--srcdir=."; \
19102 libsrcdir=".";; \
19103 /* | [A-Za-z]:[\\/]*) \
19104 srcdiroption="--srcdir=$(srcdir)/uudecode"; \
19105 libsrcdir="$$s/uudecode";; \
19106 *) \
19107 srcdiroption="--srcdir=../$(srcdir)/uudecode"; \
19108 libsrcdir="$$s/uudecode";; \
19109 esac; \
19110 $(SHELL) $${libsrcdir}/configure \
19111 $(HOST_CONFIGARGS) $${srcdiroption} \
19112 || exit 1
19113 @endif uudecode
19115 .PHONY: all-uudecode maybe-all-uudecode
19116 maybe-all-uudecode:
19117 @if uudecode
19118 maybe-all-uudecode: all-uudecode
19119 all-uudecode: configure-uudecode
19120 @r=`${PWD_COMMAND}`; export r; \
19121 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19122 $(SET_LIB_PATH) \
19123 $(HOST_EXPORTS) \
19124 (cd uudecode && $(MAKE) $(FLAGS_TO_PASS) all)
19125 @endif uudecode
19127 .PHONY: check-uudecode maybe-check-uudecode
19128 maybe-check-uudecode:
19129 @if uudecode
19130 maybe-check-uudecode: check-uudecode
19132 check-uudecode:
19133 @r=`${PWD_COMMAND}`; export r; \
19134 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19135 $(SET_LIB_PATH) \
19136 $(HOST_EXPORTS) \
19137 (cd uudecode && $(MAKE) $(FLAGS_TO_PASS) check)
19139 @endif uudecode
19141 .PHONY: install-uudecode maybe-install-uudecode
19142 maybe-install-uudecode:
19143 @if uudecode
19144 maybe-install-uudecode: install-uudecode
19146 install-uudecode: installdirs
19147 @r=`${PWD_COMMAND}`; export r; \
19148 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19149 $(SET_LIB_PATH) \
19150 $(HOST_EXPORTS) \
19151 (cd uudecode && $(MAKE) $(FLAGS_TO_PASS) install)
19153 @endif uudecode
19155 # Other targets (info, dvi, etc.)
19157 .PHONY: maybe-info-uudecode info-uudecode
19158 maybe-info-uudecode:
19159 @if uudecode
19160 maybe-info-uudecode: info-uudecode
19162 info-uudecode: \
19163 configure-uudecode
19164 @[ -f ./uudecode/Makefile ] || exit 0; \
19165 r=`${PWD_COMMAND}`; export r; \
19166 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19167 $(SET_LIB_PATH) \
19168 $(HOST_EXPORTS) \
19169 for flag in $(EXTRA_HOST_FLAGS); do \
19170 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19171 done; \
19172 echo "Doing info in uudecode" ; \
19173 (cd uudecode && \
19174 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19175 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19176 "RANLIB=$${RANLIB}" \
19177 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19178 info) \
19179 || exit 1
19181 @endif uudecode
19183 .PHONY: maybe-dvi-uudecode dvi-uudecode
19184 maybe-dvi-uudecode:
19185 @if uudecode
19186 maybe-dvi-uudecode: dvi-uudecode
19188 dvi-uudecode: \
19189 configure-uudecode
19190 @[ -f ./uudecode/Makefile ] || exit 0; \
19191 r=`${PWD_COMMAND}`; export r; \
19192 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19193 $(SET_LIB_PATH) \
19194 $(HOST_EXPORTS) \
19195 for flag in $(EXTRA_HOST_FLAGS); do \
19196 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19197 done; \
19198 echo "Doing dvi in uudecode" ; \
19199 (cd uudecode && \
19200 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19201 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19202 "RANLIB=$${RANLIB}" \
19203 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19204 dvi) \
19205 || exit 1
19207 @endif uudecode
19209 .PHONY: maybe-TAGS-uudecode TAGS-uudecode
19210 maybe-TAGS-uudecode:
19211 @if uudecode
19212 maybe-TAGS-uudecode: TAGS-uudecode
19214 TAGS-uudecode: \
19215 configure-uudecode
19216 @[ -f ./uudecode/Makefile ] || exit 0; \
19217 r=`${PWD_COMMAND}`; export r; \
19218 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19219 $(SET_LIB_PATH) \
19220 $(HOST_EXPORTS) \
19221 for flag in $(EXTRA_HOST_FLAGS); do \
19222 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19223 done; \
19224 echo "Doing TAGS in uudecode" ; \
19225 (cd uudecode && \
19226 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19227 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19228 "RANLIB=$${RANLIB}" \
19229 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19230 TAGS) \
19231 || exit 1
19233 @endif uudecode
19235 .PHONY: maybe-install-info-uudecode install-info-uudecode
19236 maybe-install-info-uudecode:
19237 @if uudecode
19238 maybe-install-info-uudecode: install-info-uudecode
19240 install-info-uudecode: \
19241 configure-uudecode \
19242 info-uudecode
19243 @[ -f ./uudecode/Makefile ] || exit 0; \
19244 r=`${PWD_COMMAND}`; export r; \
19245 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19246 $(SET_LIB_PATH) \
19247 $(HOST_EXPORTS) \
19248 for flag in $(EXTRA_HOST_FLAGS); do \
19249 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19250 done; \
19251 echo "Doing install-info in uudecode" ; \
19252 (cd uudecode && \
19253 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19254 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19255 "RANLIB=$${RANLIB}" \
19256 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19257 install-info) \
19258 || exit 1
19260 @endif uudecode
19262 .PHONY: maybe-installcheck-uudecode installcheck-uudecode
19263 maybe-installcheck-uudecode:
19264 @if uudecode
19265 maybe-installcheck-uudecode: installcheck-uudecode
19267 installcheck-uudecode: \
19268 configure-uudecode
19269 @[ -f ./uudecode/Makefile ] || exit 0; \
19270 r=`${PWD_COMMAND}`; export r; \
19271 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19272 $(SET_LIB_PATH) \
19273 $(HOST_EXPORTS) \
19274 for flag in $(EXTRA_HOST_FLAGS); do \
19275 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19276 done; \
19277 echo "Doing installcheck in uudecode" ; \
19278 (cd uudecode && \
19279 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19280 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19281 "RANLIB=$${RANLIB}" \
19282 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19283 installcheck) \
19284 || exit 1
19286 @endif uudecode
19288 .PHONY: maybe-mostlyclean-uudecode mostlyclean-uudecode
19289 maybe-mostlyclean-uudecode:
19290 @if uudecode
19291 maybe-mostlyclean-uudecode: mostlyclean-uudecode
19293 mostlyclean-uudecode:
19294 @[ -f ./uudecode/Makefile ] || exit 0; \
19295 r=`${PWD_COMMAND}`; export r; \
19296 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19297 $(SET_LIB_PATH) \
19298 $(HOST_EXPORTS) \
19299 for flag in $(EXTRA_HOST_FLAGS); do \
19300 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19301 done; \
19302 echo "Doing mostlyclean in uudecode" ; \
19303 (cd uudecode && \
19304 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19305 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19306 "RANLIB=$${RANLIB}" \
19307 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19308 mostlyclean) \
19309 || exit 1
19311 @endif uudecode
19313 .PHONY: maybe-clean-uudecode clean-uudecode
19314 maybe-clean-uudecode:
19315 @if uudecode
19316 maybe-clean-uudecode: clean-uudecode
19318 clean-uudecode:
19319 @[ -f ./uudecode/Makefile ] || exit 0; \
19320 r=`${PWD_COMMAND}`; export r; \
19321 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19322 $(SET_LIB_PATH) \
19323 $(HOST_EXPORTS) \
19324 for flag in $(EXTRA_HOST_FLAGS); do \
19325 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19326 done; \
19327 echo "Doing clean in uudecode" ; \
19328 (cd uudecode && \
19329 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19330 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19331 "RANLIB=$${RANLIB}" \
19332 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19333 clean) \
19334 || exit 1
19336 @endif uudecode
19338 .PHONY: maybe-distclean-uudecode distclean-uudecode
19339 maybe-distclean-uudecode:
19340 @if uudecode
19341 maybe-distclean-uudecode: distclean-uudecode
19343 distclean-uudecode:
19344 @[ -f ./uudecode/Makefile ] || exit 0; \
19345 r=`${PWD_COMMAND}`; export r; \
19346 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19347 $(SET_LIB_PATH) \
19348 $(HOST_EXPORTS) \
19349 for flag in $(EXTRA_HOST_FLAGS); do \
19350 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19351 done; \
19352 echo "Doing distclean in uudecode" ; \
19353 (cd uudecode && \
19354 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19355 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19356 "RANLIB=$${RANLIB}" \
19357 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19358 distclean) \
19359 || exit 1
19361 @endif uudecode
19363 .PHONY: maybe-maintainer-clean-uudecode maintainer-clean-uudecode
19364 maybe-maintainer-clean-uudecode:
19365 @if uudecode
19366 maybe-maintainer-clean-uudecode: maintainer-clean-uudecode
19368 maintainer-clean-uudecode:
19369 @[ -f ./uudecode/Makefile ] || exit 0; \
19370 r=`${PWD_COMMAND}`; export r; \
19371 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19372 $(SET_LIB_PATH) \
19373 $(HOST_EXPORTS) \
19374 for flag in $(EXTRA_HOST_FLAGS); do \
19375 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19376 done; \
19377 echo "Doing maintainer-clean in uudecode" ; \
19378 (cd uudecode && \
19379 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19380 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19381 "RANLIB=$${RANLIB}" \
19382 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19383 maintainer-clean) \
19384 || exit 1
19386 @endif uudecode
19389 .PHONY: configure-wdiff maybe-configure-wdiff
19390 maybe-configure-wdiff:
19391 @if wdiff
19392 maybe-configure-wdiff: configure-wdiff
19393 configure-wdiff:
19394 @test ! -f wdiff/Makefile || exit 0; \
19395 [ -d wdiff ] || mkdir wdiff; \
19396 r=`${PWD_COMMAND}`; export r; \
19397 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19398 $(HOST_EXPORTS) \
19399 echo Configuring in wdiff; \
19400 cd wdiff || exit 1; \
19401 case $(srcdir) in \
19402 \.) \
19403 srcdiroption="--srcdir=."; \
19404 libsrcdir=".";; \
19405 /* | [A-Za-z]:[\\/]*) \
19406 srcdiroption="--srcdir=$(srcdir)/wdiff"; \
19407 libsrcdir="$$s/wdiff";; \
19408 *) \
19409 srcdiroption="--srcdir=../$(srcdir)/wdiff"; \
19410 libsrcdir="$$s/wdiff";; \
19411 esac; \
19412 $(SHELL) $${libsrcdir}/configure \
19413 $(HOST_CONFIGARGS) $${srcdiroption} \
19414 || exit 1
19415 @endif wdiff
19417 .PHONY: all-wdiff maybe-all-wdiff
19418 maybe-all-wdiff:
19419 @if wdiff
19420 maybe-all-wdiff: all-wdiff
19421 all-wdiff: configure-wdiff
19422 @r=`${PWD_COMMAND}`; export r; \
19423 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19424 $(SET_LIB_PATH) \
19425 $(HOST_EXPORTS) \
19426 (cd wdiff && $(MAKE) $(FLAGS_TO_PASS) all)
19427 @endif wdiff
19429 .PHONY: check-wdiff maybe-check-wdiff
19430 maybe-check-wdiff:
19431 @if wdiff
19432 maybe-check-wdiff: check-wdiff
19434 check-wdiff:
19435 @r=`${PWD_COMMAND}`; export r; \
19436 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19437 $(SET_LIB_PATH) \
19438 $(HOST_EXPORTS) \
19439 (cd wdiff && $(MAKE) $(FLAGS_TO_PASS) check)
19441 @endif wdiff
19443 .PHONY: install-wdiff maybe-install-wdiff
19444 maybe-install-wdiff:
19445 @if wdiff
19446 maybe-install-wdiff: install-wdiff
19448 install-wdiff: installdirs
19449 @r=`${PWD_COMMAND}`; export r; \
19450 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19451 $(SET_LIB_PATH) \
19452 $(HOST_EXPORTS) \
19453 (cd wdiff && $(MAKE) $(FLAGS_TO_PASS) install)
19455 @endif wdiff
19457 # Other targets (info, dvi, etc.)
19459 .PHONY: maybe-info-wdiff info-wdiff
19460 maybe-info-wdiff:
19461 @if wdiff
19462 maybe-info-wdiff: info-wdiff
19464 info-wdiff: \
19465 configure-wdiff
19466 @[ -f ./wdiff/Makefile ] || exit 0; \
19467 r=`${PWD_COMMAND}`; export r; \
19468 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19469 $(SET_LIB_PATH) \
19470 $(HOST_EXPORTS) \
19471 for flag in $(EXTRA_HOST_FLAGS); do \
19472 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19473 done; \
19474 echo "Doing info in wdiff" ; \
19475 (cd wdiff && \
19476 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19477 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19478 "RANLIB=$${RANLIB}" \
19479 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19480 info) \
19481 || exit 1
19483 @endif wdiff
19485 .PHONY: maybe-dvi-wdiff dvi-wdiff
19486 maybe-dvi-wdiff:
19487 @if wdiff
19488 maybe-dvi-wdiff: dvi-wdiff
19490 dvi-wdiff: \
19491 configure-wdiff
19492 @[ -f ./wdiff/Makefile ] || exit 0; \
19493 r=`${PWD_COMMAND}`; export r; \
19494 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19495 $(SET_LIB_PATH) \
19496 $(HOST_EXPORTS) \
19497 for flag in $(EXTRA_HOST_FLAGS); do \
19498 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19499 done; \
19500 echo "Doing dvi in wdiff" ; \
19501 (cd wdiff && \
19502 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19503 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19504 "RANLIB=$${RANLIB}" \
19505 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19506 dvi) \
19507 || exit 1
19509 @endif wdiff
19511 .PHONY: maybe-TAGS-wdiff TAGS-wdiff
19512 maybe-TAGS-wdiff:
19513 @if wdiff
19514 maybe-TAGS-wdiff: TAGS-wdiff
19516 TAGS-wdiff: \
19517 configure-wdiff
19518 @[ -f ./wdiff/Makefile ] || exit 0; \
19519 r=`${PWD_COMMAND}`; export r; \
19520 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19521 $(SET_LIB_PATH) \
19522 $(HOST_EXPORTS) \
19523 for flag in $(EXTRA_HOST_FLAGS); do \
19524 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19525 done; \
19526 echo "Doing TAGS in wdiff" ; \
19527 (cd wdiff && \
19528 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19529 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19530 "RANLIB=$${RANLIB}" \
19531 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19532 TAGS) \
19533 || exit 1
19535 @endif wdiff
19537 .PHONY: maybe-install-info-wdiff install-info-wdiff
19538 maybe-install-info-wdiff:
19539 @if wdiff
19540 maybe-install-info-wdiff: install-info-wdiff
19542 install-info-wdiff: \
19543 configure-wdiff \
19544 info-wdiff
19545 @[ -f ./wdiff/Makefile ] || exit 0; \
19546 r=`${PWD_COMMAND}`; export r; \
19547 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19548 $(SET_LIB_PATH) \
19549 $(HOST_EXPORTS) \
19550 for flag in $(EXTRA_HOST_FLAGS); do \
19551 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19552 done; \
19553 echo "Doing install-info in wdiff" ; \
19554 (cd wdiff && \
19555 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19556 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19557 "RANLIB=$${RANLIB}" \
19558 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19559 install-info) \
19560 || exit 1
19562 @endif wdiff
19564 .PHONY: maybe-installcheck-wdiff installcheck-wdiff
19565 maybe-installcheck-wdiff:
19566 @if wdiff
19567 maybe-installcheck-wdiff: installcheck-wdiff
19569 installcheck-wdiff: \
19570 configure-wdiff
19571 @[ -f ./wdiff/Makefile ] || exit 0; \
19572 r=`${PWD_COMMAND}`; export r; \
19573 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19574 $(SET_LIB_PATH) \
19575 $(HOST_EXPORTS) \
19576 for flag in $(EXTRA_HOST_FLAGS); do \
19577 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19578 done; \
19579 echo "Doing installcheck in wdiff" ; \
19580 (cd wdiff && \
19581 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19582 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19583 "RANLIB=$${RANLIB}" \
19584 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19585 installcheck) \
19586 || exit 1
19588 @endif wdiff
19590 .PHONY: maybe-mostlyclean-wdiff mostlyclean-wdiff
19591 maybe-mostlyclean-wdiff:
19592 @if wdiff
19593 maybe-mostlyclean-wdiff: mostlyclean-wdiff
19595 mostlyclean-wdiff:
19596 @[ -f ./wdiff/Makefile ] || exit 0; \
19597 r=`${PWD_COMMAND}`; export r; \
19598 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19599 $(SET_LIB_PATH) \
19600 $(HOST_EXPORTS) \
19601 for flag in $(EXTRA_HOST_FLAGS); do \
19602 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19603 done; \
19604 echo "Doing mostlyclean in wdiff" ; \
19605 (cd wdiff && \
19606 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19607 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19608 "RANLIB=$${RANLIB}" \
19609 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19610 mostlyclean) \
19611 || exit 1
19613 @endif wdiff
19615 .PHONY: maybe-clean-wdiff clean-wdiff
19616 maybe-clean-wdiff:
19617 @if wdiff
19618 maybe-clean-wdiff: clean-wdiff
19620 clean-wdiff:
19621 @[ -f ./wdiff/Makefile ] || exit 0; \
19622 r=`${PWD_COMMAND}`; export r; \
19623 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19624 $(SET_LIB_PATH) \
19625 $(HOST_EXPORTS) \
19626 for flag in $(EXTRA_HOST_FLAGS); do \
19627 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19628 done; \
19629 echo "Doing clean in wdiff" ; \
19630 (cd wdiff && \
19631 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19632 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19633 "RANLIB=$${RANLIB}" \
19634 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19635 clean) \
19636 || exit 1
19638 @endif wdiff
19640 .PHONY: maybe-distclean-wdiff distclean-wdiff
19641 maybe-distclean-wdiff:
19642 @if wdiff
19643 maybe-distclean-wdiff: distclean-wdiff
19645 distclean-wdiff:
19646 @[ -f ./wdiff/Makefile ] || exit 0; \
19647 r=`${PWD_COMMAND}`; export r; \
19648 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19649 $(SET_LIB_PATH) \
19650 $(HOST_EXPORTS) \
19651 for flag in $(EXTRA_HOST_FLAGS); do \
19652 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19653 done; \
19654 echo "Doing distclean in wdiff" ; \
19655 (cd wdiff && \
19656 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19657 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19658 "RANLIB=$${RANLIB}" \
19659 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19660 distclean) \
19661 || exit 1
19663 @endif wdiff
19665 .PHONY: maybe-maintainer-clean-wdiff maintainer-clean-wdiff
19666 maybe-maintainer-clean-wdiff:
19667 @if wdiff
19668 maybe-maintainer-clean-wdiff: maintainer-clean-wdiff
19670 maintainer-clean-wdiff:
19671 @[ -f ./wdiff/Makefile ] || exit 0; \
19672 r=`${PWD_COMMAND}`; export r; \
19673 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19674 $(SET_LIB_PATH) \
19675 $(HOST_EXPORTS) \
19676 for flag in $(EXTRA_HOST_FLAGS); do \
19677 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19678 done; \
19679 echo "Doing maintainer-clean in wdiff" ; \
19680 (cd wdiff && \
19681 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19682 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19683 "RANLIB=$${RANLIB}" \
19684 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19685 maintainer-clean) \
19686 || exit 1
19688 @endif wdiff
19691 .PHONY: configure-zip maybe-configure-zip
19692 maybe-configure-zip:
19693 @if zip
19694 maybe-configure-zip: configure-zip
19695 configure-zip:
19696 @test ! -f zip/Makefile || exit 0; \
19697 [ -d zip ] || mkdir zip; \
19698 r=`${PWD_COMMAND}`; export r; \
19699 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19700 $(HOST_EXPORTS) \
19701 echo Configuring in zip; \
19702 cd zip || exit 1; \
19703 case $(srcdir) in \
19704 \.) \
19705 srcdiroption="--srcdir=."; \
19706 libsrcdir=".";; \
19707 /* | [A-Za-z]:[\\/]*) \
19708 srcdiroption="--srcdir=$(srcdir)/zip"; \
19709 libsrcdir="$$s/zip";; \
19710 *) \
19711 srcdiroption="--srcdir=../$(srcdir)/zip"; \
19712 libsrcdir="$$s/zip";; \
19713 esac; \
19714 $(SHELL) $${libsrcdir}/configure \
19715 $(HOST_CONFIGARGS) $${srcdiroption} \
19716 || exit 1
19717 @endif zip
19719 .PHONY: all-zip maybe-all-zip
19720 maybe-all-zip:
19721 @if zip
19722 maybe-all-zip: all-zip
19723 all-zip: configure-zip
19724 @r=`${PWD_COMMAND}`; export r; \
19725 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19726 $(SET_LIB_PATH) \
19727 $(HOST_EXPORTS) \
19728 (cd zip && $(MAKE) $(FLAGS_TO_PASS) all)
19729 @endif zip
19731 .PHONY: check-zip maybe-check-zip
19732 maybe-check-zip:
19733 @if zip
19734 maybe-check-zip: check-zip
19736 # This module is only tested in a native toolchain.
19737 check-zip:
19738 @if [ '$(host)' = '$(target)' ] ; then \
19739 r=`${PWD_COMMAND}`; export r; \
19740 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19741 $(SET_LIB_PATH) \
19742 $(HOST_EXPORTS) \
19743 (cd zip && $(MAKE) $(FLAGS_TO_PASS) check); \
19746 @endif zip
19748 .PHONY: install-zip maybe-install-zip
19749 maybe-install-zip:
19750 @if zip
19751 maybe-install-zip: install-zip
19753 install-zip: installdirs
19754 @r=`${PWD_COMMAND}`; export r; \
19755 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19756 $(SET_LIB_PATH) \
19757 $(HOST_EXPORTS) \
19758 (cd zip && $(MAKE) $(FLAGS_TO_PASS) install)
19760 @endif zip
19762 # Other targets (info, dvi, etc.)
19764 .PHONY: maybe-info-zip info-zip
19765 maybe-info-zip:
19766 @if zip
19767 maybe-info-zip: info-zip
19769 info-zip: \
19770 configure-zip
19771 @[ -f ./zip/Makefile ] || exit 0; \
19772 r=`${PWD_COMMAND}`; export r; \
19773 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19774 $(SET_LIB_PATH) \
19775 $(HOST_EXPORTS) \
19776 for flag in $(EXTRA_HOST_FLAGS); do \
19777 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19778 done; \
19779 echo "Doing info in zip" ; \
19780 (cd zip && \
19781 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19782 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19783 "RANLIB=$${RANLIB}" \
19784 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19785 info) \
19786 || exit 1
19788 @endif zip
19790 .PHONY: maybe-dvi-zip dvi-zip
19791 maybe-dvi-zip:
19792 @if zip
19793 maybe-dvi-zip: dvi-zip
19795 dvi-zip: \
19796 configure-zip
19797 @[ -f ./zip/Makefile ] || exit 0; \
19798 r=`${PWD_COMMAND}`; export r; \
19799 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19800 $(SET_LIB_PATH) \
19801 $(HOST_EXPORTS) \
19802 for flag in $(EXTRA_HOST_FLAGS); do \
19803 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19804 done; \
19805 echo "Doing dvi in zip" ; \
19806 (cd zip && \
19807 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19808 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19809 "RANLIB=$${RANLIB}" \
19810 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19811 dvi) \
19812 || exit 1
19814 @endif zip
19816 .PHONY: maybe-TAGS-zip TAGS-zip
19817 maybe-TAGS-zip:
19818 @if zip
19819 maybe-TAGS-zip: TAGS-zip
19821 TAGS-zip: \
19822 configure-zip
19823 @[ -f ./zip/Makefile ] || exit 0; \
19824 r=`${PWD_COMMAND}`; export r; \
19825 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19826 $(SET_LIB_PATH) \
19827 $(HOST_EXPORTS) \
19828 for flag in $(EXTRA_HOST_FLAGS); do \
19829 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19830 done; \
19831 echo "Doing TAGS in zip" ; \
19832 (cd zip && \
19833 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19834 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19835 "RANLIB=$${RANLIB}" \
19836 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19837 TAGS) \
19838 || exit 1
19840 @endif zip
19842 .PHONY: maybe-install-info-zip install-info-zip
19843 maybe-install-info-zip:
19844 @if zip
19845 maybe-install-info-zip: install-info-zip
19847 install-info-zip: \
19848 configure-zip \
19849 info-zip
19850 @[ -f ./zip/Makefile ] || exit 0; \
19851 r=`${PWD_COMMAND}`; export r; \
19852 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19853 $(SET_LIB_PATH) \
19854 $(HOST_EXPORTS) \
19855 for flag in $(EXTRA_HOST_FLAGS); do \
19856 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19857 done; \
19858 echo "Doing install-info in zip" ; \
19859 (cd zip && \
19860 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19861 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19862 "RANLIB=$${RANLIB}" \
19863 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19864 install-info) \
19865 || exit 1
19867 @endif zip
19869 .PHONY: maybe-installcheck-zip installcheck-zip
19870 maybe-installcheck-zip:
19871 @if zip
19872 maybe-installcheck-zip: installcheck-zip
19874 installcheck-zip: \
19875 configure-zip
19876 @[ -f ./zip/Makefile ] || exit 0; \
19877 r=`${PWD_COMMAND}`; export r; \
19878 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19879 $(SET_LIB_PATH) \
19880 $(HOST_EXPORTS) \
19881 for flag in $(EXTRA_HOST_FLAGS); do \
19882 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19883 done; \
19884 echo "Doing installcheck in zip" ; \
19885 (cd zip && \
19886 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19887 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19888 "RANLIB=$${RANLIB}" \
19889 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19890 installcheck) \
19891 || exit 1
19893 @endif zip
19895 .PHONY: maybe-mostlyclean-zip mostlyclean-zip
19896 maybe-mostlyclean-zip:
19897 @if zip
19898 maybe-mostlyclean-zip: mostlyclean-zip
19900 mostlyclean-zip:
19901 @[ -f ./zip/Makefile ] || exit 0; \
19902 r=`${PWD_COMMAND}`; export r; \
19903 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19904 $(SET_LIB_PATH) \
19905 $(HOST_EXPORTS) \
19906 for flag in $(EXTRA_HOST_FLAGS); do \
19907 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19908 done; \
19909 echo "Doing mostlyclean in zip" ; \
19910 (cd zip && \
19911 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19912 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19913 "RANLIB=$${RANLIB}" \
19914 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19915 mostlyclean) \
19916 || exit 1
19918 @endif zip
19920 .PHONY: maybe-clean-zip clean-zip
19921 maybe-clean-zip:
19922 @if zip
19923 maybe-clean-zip: clean-zip
19925 clean-zip:
19926 @[ -f ./zip/Makefile ] || exit 0; \
19927 r=`${PWD_COMMAND}`; export r; \
19928 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19929 $(SET_LIB_PATH) \
19930 $(HOST_EXPORTS) \
19931 for flag in $(EXTRA_HOST_FLAGS); do \
19932 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19933 done; \
19934 echo "Doing clean in zip" ; \
19935 (cd zip && \
19936 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19937 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19938 "RANLIB=$${RANLIB}" \
19939 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19940 clean) \
19941 || exit 1
19943 @endif zip
19945 .PHONY: maybe-distclean-zip distclean-zip
19946 maybe-distclean-zip:
19947 @if zip
19948 maybe-distclean-zip: distclean-zip
19950 distclean-zip:
19951 @[ -f ./zip/Makefile ] || exit 0; \
19952 r=`${PWD_COMMAND}`; export r; \
19953 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19954 $(SET_LIB_PATH) \
19955 $(HOST_EXPORTS) \
19956 for flag in $(EXTRA_HOST_FLAGS); do \
19957 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19958 done; \
19959 echo "Doing distclean in zip" ; \
19960 (cd zip && \
19961 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19962 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19963 "RANLIB=$${RANLIB}" \
19964 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19965 distclean) \
19966 || exit 1
19968 @endif zip
19970 .PHONY: maybe-maintainer-clean-zip maintainer-clean-zip
19971 maybe-maintainer-clean-zip:
19972 @if zip
19973 maybe-maintainer-clean-zip: maintainer-clean-zip
19975 maintainer-clean-zip:
19976 @[ -f ./zip/Makefile ] || exit 0; \
19977 r=`${PWD_COMMAND}`; export r; \
19978 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19979 $(SET_LIB_PATH) \
19980 $(HOST_EXPORTS) \
19981 for flag in $(EXTRA_HOST_FLAGS); do \
19982 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19983 done; \
19984 echo "Doing maintainer-clean in zip" ; \
19985 (cd zip && \
19986 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19987 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19988 "RANLIB=$${RANLIB}" \
19989 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19990 maintainer-clean) \
19991 || exit 1
19993 @endif zip
19996 .PHONY: configure-zlib maybe-configure-zlib
19997 maybe-configure-zlib:
19998 @if zlib
19999 maybe-configure-zlib: configure-zlib
20000 configure-zlib:
20001 @test ! -f zlib/Makefile || exit 0; \
20002 [ -d zlib ] || mkdir zlib; \
20003 r=`${PWD_COMMAND}`; export r; \
20004 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20005 $(HOST_EXPORTS) \
20006 echo Configuring in zlib; \
20007 cd zlib || exit 1; \
20008 case $(srcdir) in \
20009 \.) \
20010 srcdiroption="--srcdir=."; \
20011 libsrcdir=".";; \
20012 /* | [A-Za-z]:[\\/]*) \
20013 srcdiroption="--srcdir=$(srcdir)/zlib"; \
20014 libsrcdir="$$s/zlib";; \
20015 *) \
20016 srcdiroption="--srcdir=../$(srcdir)/zlib"; \
20017 libsrcdir="$$s/zlib";; \
20018 esac; \
20019 $(SHELL) $${libsrcdir}/configure \
20020 $(HOST_CONFIGARGS) $${srcdiroption} \
20021 || exit 1
20022 @endif zlib
20024 .PHONY: all-zlib maybe-all-zlib
20025 maybe-all-zlib:
20026 @if zlib
20027 maybe-all-zlib: all-zlib
20028 all-zlib: configure-zlib
20029 @r=`${PWD_COMMAND}`; export r; \
20030 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20031 $(SET_LIB_PATH) \
20032 $(HOST_EXPORTS) \
20033 (cd zlib && $(MAKE) $(FLAGS_TO_PASS) all)
20034 @endif zlib
20036 .PHONY: check-zlib maybe-check-zlib
20037 maybe-check-zlib:
20038 @if zlib
20039 maybe-check-zlib: check-zlib
20041 check-zlib:
20043 @endif zlib
20045 .PHONY: install-zlib maybe-install-zlib
20046 maybe-install-zlib:
20047 @if zlib
20048 maybe-install-zlib: install-zlib
20050 install-zlib:
20052 @endif zlib
20054 # Other targets (info, dvi, etc.)
20056 .PHONY: maybe-info-zlib info-zlib
20057 maybe-info-zlib:
20058 @if zlib
20059 maybe-info-zlib: info-zlib
20061 info-zlib: \
20062 configure-zlib
20063 @[ -f ./zlib/Makefile ] || exit 0; \
20064 r=`${PWD_COMMAND}`; export r; \
20065 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20066 $(SET_LIB_PATH) \
20067 $(HOST_EXPORTS) \
20068 for flag in $(EXTRA_HOST_FLAGS); do \
20069 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20070 done; \
20071 echo "Doing info in zlib" ; \
20072 (cd zlib && \
20073 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20074 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20075 "RANLIB=$${RANLIB}" \
20076 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20077 info) \
20078 || exit 1
20080 @endif zlib
20082 .PHONY: maybe-dvi-zlib dvi-zlib
20083 maybe-dvi-zlib:
20084 @if zlib
20085 maybe-dvi-zlib: dvi-zlib
20087 dvi-zlib: \
20088 configure-zlib
20089 @[ -f ./zlib/Makefile ] || exit 0; \
20090 r=`${PWD_COMMAND}`; export r; \
20091 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20092 $(SET_LIB_PATH) \
20093 $(HOST_EXPORTS) \
20094 for flag in $(EXTRA_HOST_FLAGS); do \
20095 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20096 done; \
20097 echo "Doing dvi in zlib" ; \
20098 (cd zlib && \
20099 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20100 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20101 "RANLIB=$${RANLIB}" \
20102 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20103 dvi) \
20104 || exit 1
20106 @endif zlib
20108 .PHONY: maybe-TAGS-zlib TAGS-zlib
20109 maybe-TAGS-zlib:
20110 @if zlib
20111 maybe-TAGS-zlib: TAGS-zlib
20113 TAGS-zlib: \
20114 configure-zlib
20115 @[ -f ./zlib/Makefile ] || exit 0; \
20116 r=`${PWD_COMMAND}`; export r; \
20117 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20118 $(SET_LIB_PATH) \
20119 $(HOST_EXPORTS) \
20120 for flag in $(EXTRA_HOST_FLAGS); do \
20121 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20122 done; \
20123 echo "Doing TAGS in zlib" ; \
20124 (cd zlib && \
20125 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20126 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20127 "RANLIB=$${RANLIB}" \
20128 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20129 TAGS) \
20130 || exit 1
20132 @endif zlib
20134 .PHONY: maybe-install-info-zlib install-info-zlib
20135 maybe-install-info-zlib:
20136 @if zlib
20137 maybe-install-info-zlib: install-info-zlib
20139 install-info-zlib: \
20140 configure-zlib \
20141 info-zlib
20142 @[ -f ./zlib/Makefile ] || exit 0; \
20143 r=`${PWD_COMMAND}`; export r; \
20144 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20145 $(SET_LIB_PATH) \
20146 $(HOST_EXPORTS) \
20147 for flag in $(EXTRA_HOST_FLAGS); do \
20148 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20149 done; \
20150 echo "Doing install-info in zlib" ; \
20151 (cd zlib && \
20152 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20153 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20154 "RANLIB=$${RANLIB}" \
20155 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20156 install-info) \
20157 || exit 1
20159 @endif zlib
20161 .PHONY: maybe-installcheck-zlib installcheck-zlib
20162 maybe-installcheck-zlib:
20163 @if zlib
20164 maybe-installcheck-zlib: installcheck-zlib
20166 installcheck-zlib: \
20167 configure-zlib
20168 @[ -f ./zlib/Makefile ] || exit 0; \
20169 r=`${PWD_COMMAND}`; export r; \
20170 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20171 $(SET_LIB_PATH) \
20172 $(HOST_EXPORTS) \
20173 for flag in $(EXTRA_HOST_FLAGS); do \
20174 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20175 done; \
20176 echo "Doing installcheck in zlib" ; \
20177 (cd zlib && \
20178 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20179 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20180 "RANLIB=$${RANLIB}" \
20181 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20182 installcheck) \
20183 || exit 1
20185 @endif zlib
20187 .PHONY: maybe-mostlyclean-zlib mostlyclean-zlib
20188 maybe-mostlyclean-zlib:
20189 @if zlib
20190 maybe-mostlyclean-zlib: mostlyclean-zlib
20192 mostlyclean-zlib:
20193 @[ -f ./zlib/Makefile ] || exit 0; \
20194 r=`${PWD_COMMAND}`; export r; \
20195 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20196 $(SET_LIB_PATH) \
20197 $(HOST_EXPORTS) \
20198 for flag in $(EXTRA_HOST_FLAGS); do \
20199 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20200 done; \
20201 echo "Doing mostlyclean in zlib" ; \
20202 (cd zlib && \
20203 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20204 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20205 "RANLIB=$${RANLIB}" \
20206 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20207 mostlyclean) \
20208 || exit 1
20210 @endif zlib
20212 .PHONY: maybe-clean-zlib clean-zlib
20213 maybe-clean-zlib:
20214 @if zlib
20215 maybe-clean-zlib: clean-zlib
20217 clean-zlib:
20218 @[ -f ./zlib/Makefile ] || exit 0; \
20219 r=`${PWD_COMMAND}`; export r; \
20220 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20221 $(SET_LIB_PATH) \
20222 $(HOST_EXPORTS) \
20223 for flag in $(EXTRA_HOST_FLAGS); do \
20224 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20225 done; \
20226 echo "Doing clean in zlib" ; \
20227 (cd zlib && \
20228 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20229 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20230 "RANLIB=$${RANLIB}" \
20231 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20232 clean) \
20233 || exit 1
20235 @endif zlib
20237 .PHONY: maybe-distclean-zlib distclean-zlib
20238 maybe-distclean-zlib:
20239 @if zlib
20240 maybe-distclean-zlib: distclean-zlib
20242 distclean-zlib:
20243 @[ -f ./zlib/Makefile ] || exit 0; \
20244 r=`${PWD_COMMAND}`; export r; \
20245 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20246 $(SET_LIB_PATH) \
20247 $(HOST_EXPORTS) \
20248 for flag in $(EXTRA_HOST_FLAGS); do \
20249 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20250 done; \
20251 echo "Doing distclean in zlib" ; \
20252 (cd zlib && \
20253 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20254 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20255 "RANLIB=$${RANLIB}" \
20256 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20257 distclean) \
20258 || exit 1
20260 @endif zlib
20262 .PHONY: maybe-maintainer-clean-zlib maintainer-clean-zlib
20263 maybe-maintainer-clean-zlib:
20264 @if zlib
20265 maybe-maintainer-clean-zlib: maintainer-clean-zlib
20267 maintainer-clean-zlib:
20268 @[ -f ./zlib/Makefile ] || exit 0; \
20269 r=`${PWD_COMMAND}`; export r; \
20270 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20271 $(SET_LIB_PATH) \
20272 $(HOST_EXPORTS) \
20273 for flag in $(EXTRA_HOST_FLAGS); do \
20274 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20275 done; \
20276 echo "Doing maintainer-clean in zlib" ; \
20277 (cd zlib && \
20278 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20279 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20280 "RANLIB=$${RANLIB}" \
20281 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20282 maintainer-clean) \
20283 || exit 1
20285 @endif zlib
20288 .PHONY: configure-gdb maybe-configure-gdb
20289 maybe-configure-gdb:
20290 @if gdb
20291 maybe-configure-gdb: configure-gdb
20292 configure-gdb:
20293 @test ! -f gdb/Makefile || exit 0; \
20294 [ -d gdb ] || mkdir gdb; \
20295 r=`${PWD_COMMAND}`; export r; \
20296 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20297 $(HOST_EXPORTS) \
20298 echo Configuring in gdb; \
20299 cd gdb || exit 1; \
20300 case $(srcdir) in \
20301 \.) \
20302 srcdiroption="--srcdir=."; \
20303 libsrcdir=".";; \
20304 /* | [A-Za-z]:[\\/]*) \
20305 srcdiroption="--srcdir=$(srcdir)/gdb"; \
20306 libsrcdir="$$s/gdb";; \
20307 *) \
20308 srcdiroption="--srcdir=../$(srcdir)/gdb"; \
20309 libsrcdir="$$s/gdb";; \
20310 esac; \
20311 $(SHELL) $${libsrcdir}/configure \
20312 $(HOST_CONFIGARGS) $${srcdiroption} \
20313 || exit 1
20314 @endif gdb
20316 .PHONY: all-gdb maybe-all-gdb
20317 maybe-all-gdb:
20318 @if gdb
20319 maybe-all-gdb: all-gdb
20320 all-gdb: configure-gdb
20321 @r=`${PWD_COMMAND}`; export r; \
20322 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20323 $(SET_LIB_PATH) \
20324 $(HOST_EXPORTS) \
20325 (cd gdb && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) all)
20326 @endif gdb
20328 .PHONY: check-gdb maybe-check-gdb
20329 maybe-check-gdb:
20330 @if gdb
20331 maybe-check-gdb: check-gdb
20333 check-gdb:
20334 @r=`${PWD_COMMAND}`; export r; \
20335 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20336 $(SET_LIB_PATH) \
20337 $(HOST_EXPORTS) \
20338 (cd gdb && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) check)
20340 @endif gdb
20342 .PHONY: install-gdb maybe-install-gdb
20343 maybe-install-gdb:
20344 @if gdb
20345 maybe-install-gdb: install-gdb
20347 install-gdb: installdirs
20348 @r=`${PWD_COMMAND}`; export r; \
20349 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20350 $(SET_LIB_PATH) \
20351 $(HOST_EXPORTS) \
20352 (cd gdb && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) install)
20354 @endif gdb
20356 # Other targets (info, dvi, etc.)
20358 .PHONY: maybe-info-gdb info-gdb
20359 maybe-info-gdb:
20360 @if gdb
20361 maybe-info-gdb: info-gdb
20363 info-gdb: \
20364 configure-gdb
20365 @[ -f ./gdb/Makefile ] || exit 0; \
20366 r=`${PWD_COMMAND}`; export r; \
20367 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20368 $(SET_LIB_PATH) \
20369 $(HOST_EXPORTS) \
20370 for flag in $(EXTRA_HOST_FLAGS); do \
20371 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20372 done; \
20373 echo "Doing info in gdb" ; \
20374 (cd gdb && \
20375 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20376 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20377 "RANLIB=$${RANLIB}" \
20378 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20379 info) \
20380 || exit 1
20382 @endif gdb
20384 .PHONY: maybe-dvi-gdb dvi-gdb
20385 maybe-dvi-gdb:
20386 @if gdb
20387 maybe-dvi-gdb: dvi-gdb
20389 dvi-gdb: \
20390 configure-gdb
20391 @[ -f ./gdb/Makefile ] || exit 0; \
20392 r=`${PWD_COMMAND}`; export r; \
20393 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20394 $(SET_LIB_PATH) \
20395 $(HOST_EXPORTS) \
20396 for flag in $(EXTRA_HOST_FLAGS); do \
20397 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20398 done; \
20399 echo "Doing dvi in gdb" ; \
20400 (cd gdb && \
20401 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20402 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20403 "RANLIB=$${RANLIB}" \
20404 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20405 dvi) \
20406 || exit 1
20408 @endif gdb
20410 .PHONY: maybe-TAGS-gdb TAGS-gdb
20411 maybe-TAGS-gdb:
20412 @if gdb
20413 maybe-TAGS-gdb: TAGS-gdb
20415 TAGS-gdb: \
20416 configure-gdb
20417 @[ -f ./gdb/Makefile ] || exit 0; \
20418 r=`${PWD_COMMAND}`; export r; \
20419 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20420 $(SET_LIB_PATH) \
20421 $(HOST_EXPORTS) \
20422 for flag in $(EXTRA_HOST_FLAGS); do \
20423 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20424 done; \
20425 echo "Doing TAGS in gdb" ; \
20426 (cd gdb && \
20427 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20428 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20429 "RANLIB=$${RANLIB}" \
20430 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20431 TAGS) \
20432 || exit 1
20434 @endif gdb
20436 .PHONY: maybe-install-info-gdb install-info-gdb
20437 maybe-install-info-gdb:
20438 @if gdb
20439 maybe-install-info-gdb: install-info-gdb
20441 install-info-gdb: \
20442 configure-gdb \
20443 info-gdb
20444 @[ -f ./gdb/Makefile ] || exit 0; \
20445 r=`${PWD_COMMAND}`; export r; \
20446 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20447 $(SET_LIB_PATH) \
20448 $(HOST_EXPORTS) \
20449 for flag in $(EXTRA_HOST_FLAGS); do \
20450 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20451 done; \
20452 echo "Doing install-info in gdb" ; \
20453 (cd gdb && \
20454 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20455 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20456 "RANLIB=$${RANLIB}" \
20457 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20458 install-info) \
20459 || exit 1
20461 @endif gdb
20463 .PHONY: maybe-installcheck-gdb installcheck-gdb
20464 maybe-installcheck-gdb:
20465 @if gdb
20466 maybe-installcheck-gdb: installcheck-gdb
20468 installcheck-gdb: \
20469 configure-gdb
20470 @[ -f ./gdb/Makefile ] || exit 0; \
20471 r=`${PWD_COMMAND}`; export r; \
20472 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20473 $(SET_LIB_PATH) \
20474 $(HOST_EXPORTS) \
20475 for flag in $(EXTRA_HOST_FLAGS); do \
20476 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20477 done; \
20478 echo "Doing installcheck in gdb" ; \
20479 (cd gdb && \
20480 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20481 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20482 "RANLIB=$${RANLIB}" \
20483 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20484 installcheck) \
20485 || exit 1
20487 @endif gdb
20489 .PHONY: maybe-mostlyclean-gdb mostlyclean-gdb
20490 maybe-mostlyclean-gdb:
20491 @if gdb
20492 maybe-mostlyclean-gdb: mostlyclean-gdb
20494 mostlyclean-gdb:
20495 @[ -f ./gdb/Makefile ] || exit 0; \
20496 r=`${PWD_COMMAND}`; export r; \
20497 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20498 $(SET_LIB_PATH) \
20499 $(HOST_EXPORTS) \
20500 for flag in $(EXTRA_HOST_FLAGS); do \
20501 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20502 done; \
20503 echo "Doing mostlyclean in gdb" ; \
20504 (cd gdb && \
20505 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20506 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20507 "RANLIB=$${RANLIB}" \
20508 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20509 mostlyclean) \
20510 || exit 1
20512 @endif gdb
20514 .PHONY: maybe-clean-gdb clean-gdb
20515 maybe-clean-gdb:
20516 @if gdb
20517 maybe-clean-gdb: clean-gdb
20519 clean-gdb:
20520 @[ -f ./gdb/Makefile ] || exit 0; \
20521 r=`${PWD_COMMAND}`; export r; \
20522 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20523 $(SET_LIB_PATH) \
20524 $(HOST_EXPORTS) \
20525 for flag in $(EXTRA_HOST_FLAGS); do \
20526 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20527 done; \
20528 echo "Doing clean in gdb" ; \
20529 (cd gdb && \
20530 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20531 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20532 "RANLIB=$${RANLIB}" \
20533 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20534 clean) \
20535 || exit 1
20537 @endif gdb
20539 .PHONY: maybe-distclean-gdb distclean-gdb
20540 maybe-distclean-gdb:
20541 @if gdb
20542 maybe-distclean-gdb: distclean-gdb
20544 distclean-gdb:
20545 @[ -f ./gdb/Makefile ] || exit 0; \
20546 r=`${PWD_COMMAND}`; export r; \
20547 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20548 $(SET_LIB_PATH) \
20549 $(HOST_EXPORTS) \
20550 for flag in $(EXTRA_HOST_FLAGS); do \
20551 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20552 done; \
20553 echo "Doing distclean in gdb" ; \
20554 (cd gdb && \
20555 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20556 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20557 "RANLIB=$${RANLIB}" \
20558 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20559 distclean) \
20560 || exit 1
20562 @endif gdb
20564 .PHONY: maybe-maintainer-clean-gdb maintainer-clean-gdb
20565 maybe-maintainer-clean-gdb:
20566 @if gdb
20567 maybe-maintainer-clean-gdb: maintainer-clean-gdb
20569 maintainer-clean-gdb:
20570 @[ -f ./gdb/Makefile ] || exit 0; \
20571 r=`${PWD_COMMAND}`; export r; \
20572 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20573 $(SET_LIB_PATH) \
20574 $(HOST_EXPORTS) \
20575 for flag in $(EXTRA_HOST_FLAGS); do \
20576 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20577 done; \
20578 echo "Doing maintainer-clean in gdb" ; \
20579 (cd gdb && \
20580 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20581 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20582 "RANLIB=$${RANLIB}" \
20583 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20584 maintainer-clean) \
20585 || exit 1
20587 @endif gdb
20590 .PHONY: configure-expect maybe-configure-expect
20591 maybe-configure-expect:
20592 @if expect
20593 maybe-configure-expect: configure-expect
20594 configure-expect:
20595 @test ! -f expect/Makefile || exit 0; \
20596 [ -d expect ] || mkdir expect; \
20597 r=`${PWD_COMMAND}`; export r; \
20598 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20599 $(HOST_EXPORTS) \
20600 echo Configuring in expect; \
20601 cd expect || exit 1; \
20602 case $(srcdir) in \
20603 \.) \
20604 srcdiroption="--srcdir=."; \
20605 libsrcdir=".";; \
20606 /* | [A-Za-z]:[\\/]*) \
20607 srcdiroption="--srcdir=$(srcdir)/expect"; \
20608 libsrcdir="$$s/expect";; \
20609 *) \
20610 srcdiroption="--srcdir=../$(srcdir)/expect"; \
20611 libsrcdir="$$s/expect";; \
20612 esac; \
20613 $(SHELL) $${libsrcdir}/configure \
20614 $(HOST_CONFIGARGS) $${srcdiroption} \
20615 || exit 1
20616 @endif expect
20618 .PHONY: all-expect maybe-all-expect
20619 maybe-all-expect:
20620 @if expect
20621 maybe-all-expect: all-expect
20622 all-expect: configure-expect
20623 @r=`${PWD_COMMAND}`; export r; \
20624 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20625 $(SET_LIB_PATH) \
20626 $(HOST_EXPORTS) \
20627 (cd expect && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) all)
20628 @endif expect
20630 .PHONY: check-expect maybe-check-expect
20631 maybe-check-expect:
20632 @if expect
20633 maybe-check-expect: check-expect
20635 check-expect:
20636 @r=`${PWD_COMMAND}`; export r; \
20637 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20638 $(SET_LIB_PATH) \
20639 $(HOST_EXPORTS) \
20640 (cd expect && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) check)
20642 @endif expect
20644 .PHONY: install-expect maybe-install-expect
20645 maybe-install-expect:
20646 @if expect
20647 maybe-install-expect: install-expect
20649 install-expect: installdirs
20650 @r=`${PWD_COMMAND}`; export r; \
20651 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20652 $(SET_LIB_PATH) \
20653 $(HOST_EXPORTS) \
20654 (cd expect && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) install)
20656 @endif expect
20658 # Other targets (info, dvi, etc.)
20660 .PHONY: maybe-info-expect info-expect
20661 maybe-info-expect:
20662 @if expect
20663 maybe-info-expect: info-expect
20665 info-expect: \
20666 configure-expect
20667 @[ -f ./expect/Makefile ] || exit 0; \
20668 r=`${PWD_COMMAND}`; export r; \
20669 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20670 $(SET_LIB_PATH) \
20671 $(HOST_EXPORTS) \
20672 for flag in $(EXTRA_HOST_FLAGS); do \
20673 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20674 done; \
20675 echo "Doing info in expect" ; \
20676 (cd expect && \
20677 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20678 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20679 "RANLIB=$${RANLIB}" \
20680 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20681 info) \
20682 || exit 1
20684 @endif expect
20686 .PHONY: maybe-dvi-expect dvi-expect
20687 maybe-dvi-expect:
20688 @if expect
20689 maybe-dvi-expect: dvi-expect
20691 dvi-expect: \
20692 configure-expect
20693 @[ -f ./expect/Makefile ] || exit 0; \
20694 r=`${PWD_COMMAND}`; export r; \
20695 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20696 $(SET_LIB_PATH) \
20697 $(HOST_EXPORTS) \
20698 for flag in $(EXTRA_HOST_FLAGS); do \
20699 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20700 done; \
20701 echo "Doing dvi in expect" ; \
20702 (cd expect && \
20703 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20704 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20705 "RANLIB=$${RANLIB}" \
20706 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20707 dvi) \
20708 || exit 1
20710 @endif expect
20712 .PHONY: maybe-TAGS-expect TAGS-expect
20713 maybe-TAGS-expect:
20714 @if expect
20715 maybe-TAGS-expect: TAGS-expect
20717 TAGS-expect: \
20718 configure-expect
20719 @[ -f ./expect/Makefile ] || exit 0; \
20720 r=`${PWD_COMMAND}`; export r; \
20721 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20722 $(SET_LIB_PATH) \
20723 $(HOST_EXPORTS) \
20724 for flag in $(EXTRA_HOST_FLAGS); do \
20725 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20726 done; \
20727 echo "Doing TAGS in expect" ; \
20728 (cd expect && \
20729 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20730 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20731 "RANLIB=$${RANLIB}" \
20732 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20733 TAGS) \
20734 || exit 1
20736 @endif expect
20738 .PHONY: maybe-install-info-expect install-info-expect
20739 maybe-install-info-expect:
20740 @if expect
20741 maybe-install-info-expect: install-info-expect
20743 install-info-expect: \
20744 configure-expect \
20745 info-expect
20746 @[ -f ./expect/Makefile ] || exit 0; \
20747 r=`${PWD_COMMAND}`; export r; \
20748 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20749 $(SET_LIB_PATH) \
20750 $(HOST_EXPORTS) \
20751 for flag in $(EXTRA_HOST_FLAGS); do \
20752 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20753 done; \
20754 echo "Doing install-info in expect" ; \
20755 (cd expect && \
20756 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20757 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20758 "RANLIB=$${RANLIB}" \
20759 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20760 install-info) \
20761 || exit 1
20763 @endif expect
20765 .PHONY: maybe-installcheck-expect installcheck-expect
20766 maybe-installcheck-expect:
20767 @if expect
20768 maybe-installcheck-expect: installcheck-expect
20770 installcheck-expect: \
20771 configure-expect
20772 @[ -f ./expect/Makefile ] || exit 0; \
20773 r=`${PWD_COMMAND}`; export r; \
20774 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20775 $(SET_LIB_PATH) \
20776 $(HOST_EXPORTS) \
20777 for flag in $(EXTRA_HOST_FLAGS); do \
20778 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20779 done; \
20780 echo "Doing installcheck in expect" ; \
20781 (cd expect && \
20782 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20783 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20784 "RANLIB=$${RANLIB}" \
20785 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20786 installcheck) \
20787 || exit 1
20789 @endif expect
20791 .PHONY: maybe-mostlyclean-expect mostlyclean-expect
20792 maybe-mostlyclean-expect:
20793 @if expect
20794 maybe-mostlyclean-expect: mostlyclean-expect
20796 mostlyclean-expect:
20797 @[ -f ./expect/Makefile ] || exit 0; \
20798 r=`${PWD_COMMAND}`; export r; \
20799 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20800 $(SET_LIB_PATH) \
20801 $(HOST_EXPORTS) \
20802 for flag in $(EXTRA_HOST_FLAGS); do \
20803 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20804 done; \
20805 echo "Doing mostlyclean in expect" ; \
20806 (cd expect && \
20807 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20808 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20809 "RANLIB=$${RANLIB}" \
20810 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20811 mostlyclean) \
20812 || exit 1
20814 @endif expect
20816 .PHONY: maybe-clean-expect clean-expect
20817 maybe-clean-expect:
20818 @if expect
20819 maybe-clean-expect: clean-expect
20821 clean-expect:
20822 @[ -f ./expect/Makefile ] || exit 0; \
20823 r=`${PWD_COMMAND}`; export r; \
20824 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20825 $(SET_LIB_PATH) \
20826 $(HOST_EXPORTS) \
20827 for flag in $(EXTRA_HOST_FLAGS); do \
20828 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20829 done; \
20830 echo "Doing clean in expect" ; \
20831 (cd expect && \
20832 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20833 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20834 "RANLIB=$${RANLIB}" \
20835 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20836 clean) \
20837 || exit 1
20839 @endif expect
20841 .PHONY: maybe-distclean-expect distclean-expect
20842 maybe-distclean-expect:
20843 @if expect
20844 maybe-distclean-expect: distclean-expect
20846 distclean-expect:
20847 @[ -f ./expect/Makefile ] || exit 0; \
20848 r=`${PWD_COMMAND}`; export r; \
20849 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20850 $(SET_LIB_PATH) \
20851 $(HOST_EXPORTS) \
20852 for flag in $(EXTRA_HOST_FLAGS); do \
20853 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20854 done; \
20855 echo "Doing distclean in expect" ; \
20856 (cd expect && \
20857 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20858 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20859 "RANLIB=$${RANLIB}" \
20860 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20861 distclean) \
20862 || exit 1
20864 @endif expect
20866 .PHONY: maybe-maintainer-clean-expect maintainer-clean-expect
20867 maybe-maintainer-clean-expect:
20868 @if expect
20869 maybe-maintainer-clean-expect: maintainer-clean-expect
20871 maintainer-clean-expect:
20872 @[ -f ./expect/Makefile ] || exit 0; \
20873 r=`${PWD_COMMAND}`; export r; \
20874 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20875 $(SET_LIB_PATH) \
20876 $(HOST_EXPORTS) \
20877 for flag in $(EXTRA_HOST_FLAGS); do \
20878 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20879 done; \
20880 echo "Doing maintainer-clean in expect" ; \
20881 (cd expect && \
20882 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20883 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20884 "RANLIB=$${RANLIB}" \
20885 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20886 maintainer-clean) \
20887 || exit 1
20889 @endif expect
20892 .PHONY: configure-guile maybe-configure-guile
20893 maybe-configure-guile:
20894 @if guile
20895 maybe-configure-guile: configure-guile
20896 configure-guile:
20897 @test ! -f guile/Makefile || exit 0; \
20898 [ -d guile ] || mkdir guile; \
20899 r=`${PWD_COMMAND}`; export r; \
20900 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20901 $(HOST_EXPORTS) \
20902 echo Configuring in guile; \
20903 cd guile || exit 1; \
20904 case $(srcdir) in \
20905 \.) \
20906 srcdiroption="--srcdir=."; \
20907 libsrcdir=".";; \
20908 /* | [A-Za-z]:[\\/]*) \
20909 srcdiroption="--srcdir=$(srcdir)/guile"; \
20910 libsrcdir="$$s/guile";; \
20911 *) \
20912 srcdiroption="--srcdir=../$(srcdir)/guile"; \
20913 libsrcdir="$$s/guile";; \
20914 esac; \
20915 $(SHELL) $${libsrcdir}/configure \
20916 $(HOST_CONFIGARGS) $${srcdiroption} \
20917 || exit 1
20918 @endif guile
20920 .PHONY: all-guile maybe-all-guile
20921 maybe-all-guile:
20922 @if guile
20923 maybe-all-guile: all-guile
20924 all-guile: configure-guile
20925 @r=`${PWD_COMMAND}`; export r; \
20926 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20927 $(SET_LIB_PATH) \
20928 $(HOST_EXPORTS) \
20929 (cd guile && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) all)
20930 @endif guile
20932 .PHONY: check-guile maybe-check-guile
20933 maybe-check-guile:
20934 @if guile
20935 maybe-check-guile: check-guile
20937 check-guile:
20938 @r=`${PWD_COMMAND}`; export r; \
20939 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20940 $(SET_LIB_PATH) \
20941 $(HOST_EXPORTS) \
20942 (cd guile && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) check)
20944 @endif guile
20946 .PHONY: install-guile maybe-install-guile
20947 maybe-install-guile:
20948 @if guile
20949 maybe-install-guile: install-guile
20951 install-guile: installdirs
20952 @r=`${PWD_COMMAND}`; export r; \
20953 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20954 $(SET_LIB_PATH) \
20955 $(HOST_EXPORTS) \
20956 (cd guile && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) install)
20958 @endif guile
20960 # Other targets (info, dvi, etc.)
20962 .PHONY: maybe-info-guile info-guile
20963 maybe-info-guile:
20964 @if guile
20965 maybe-info-guile: info-guile
20967 info-guile: \
20968 configure-guile
20969 @[ -f ./guile/Makefile ] || exit 0; \
20970 r=`${PWD_COMMAND}`; export r; \
20971 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20972 $(SET_LIB_PATH) \
20973 $(HOST_EXPORTS) \
20974 for flag in $(EXTRA_HOST_FLAGS); do \
20975 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20976 done; \
20977 echo "Doing info in guile" ; \
20978 (cd guile && \
20979 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20980 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20981 "RANLIB=$${RANLIB}" \
20982 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20983 info) \
20984 || exit 1
20986 @endif guile
20988 .PHONY: maybe-dvi-guile dvi-guile
20989 maybe-dvi-guile:
20990 @if guile
20991 maybe-dvi-guile: dvi-guile
20993 dvi-guile: \
20994 configure-guile
20995 @[ -f ./guile/Makefile ] || exit 0; \
20996 r=`${PWD_COMMAND}`; export r; \
20997 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20998 $(SET_LIB_PATH) \
20999 $(HOST_EXPORTS) \
21000 for flag in $(EXTRA_HOST_FLAGS); do \
21001 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21002 done; \
21003 echo "Doing dvi in guile" ; \
21004 (cd guile && \
21005 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21006 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21007 "RANLIB=$${RANLIB}" \
21008 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21009 dvi) \
21010 || exit 1
21012 @endif guile
21014 .PHONY: maybe-TAGS-guile TAGS-guile
21015 maybe-TAGS-guile:
21016 @if guile
21017 maybe-TAGS-guile: TAGS-guile
21019 TAGS-guile: \
21020 configure-guile
21021 @[ -f ./guile/Makefile ] || exit 0; \
21022 r=`${PWD_COMMAND}`; export r; \
21023 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21024 $(SET_LIB_PATH) \
21025 $(HOST_EXPORTS) \
21026 for flag in $(EXTRA_HOST_FLAGS); do \
21027 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21028 done; \
21029 echo "Doing TAGS in guile" ; \
21030 (cd guile && \
21031 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21032 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21033 "RANLIB=$${RANLIB}" \
21034 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21035 TAGS) \
21036 || exit 1
21038 @endif guile
21040 .PHONY: maybe-install-info-guile install-info-guile
21041 maybe-install-info-guile:
21042 @if guile
21043 maybe-install-info-guile: install-info-guile
21045 install-info-guile: \
21046 configure-guile \
21047 info-guile
21048 @[ -f ./guile/Makefile ] || exit 0; \
21049 r=`${PWD_COMMAND}`; export r; \
21050 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21051 $(SET_LIB_PATH) \
21052 $(HOST_EXPORTS) \
21053 for flag in $(EXTRA_HOST_FLAGS); do \
21054 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21055 done; \
21056 echo "Doing install-info in guile" ; \
21057 (cd guile && \
21058 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21059 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21060 "RANLIB=$${RANLIB}" \
21061 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21062 install-info) \
21063 || exit 1
21065 @endif guile
21067 .PHONY: maybe-installcheck-guile installcheck-guile
21068 maybe-installcheck-guile:
21069 @if guile
21070 maybe-installcheck-guile: installcheck-guile
21072 installcheck-guile: \
21073 configure-guile
21074 @[ -f ./guile/Makefile ] || exit 0; \
21075 r=`${PWD_COMMAND}`; export r; \
21076 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21077 $(SET_LIB_PATH) \
21078 $(HOST_EXPORTS) \
21079 for flag in $(EXTRA_HOST_FLAGS); do \
21080 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21081 done; \
21082 echo "Doing installcheck in guile" ; \
21083 (cd guile && \
21084 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21085 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21086 "RANLIB=$${RANLIB}" \
21087 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21088 installcheck) \
21089 || exit 1
21091 @endif guile
21093 .PHONY: maybe-mostlyclean-guile mostlyclean-guile
21094 maybe-mostlyclean-guile:
21095 @if guile
21096 maybe-mostlyclean-guile: mostlyclean-guile
21098 mostlyclean-guile:
21099 @[ -f ./guile/Makefile ] || exit 0; \
21100 r=`${PWD_COMMAND}`; export r; \
21101 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21102 $(SET_LIB_PATH) \
21103 $(HOST_EXPORTS) \
21104 for flag in $(EXTRA_HOST_FLAGS); do \
21105 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21106 done; \
21107 echo "Doing mostlyclean in guile" ; \
21108 (cd guile && \
21109 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21110 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21111 "RANLIB=$${RANLIB}" \
21112 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21113 mostlyclean) \
21114 || exit 1
21116 @endif guile
21118 .PHONY: maybe-clean-guile clean-guile
21119 maybe-clean-guile:
21120 @if guile
21121 maybe-clean-guile: clean-guile
21123 clean-guile:
21124 @[ -f ./guile/Makefile ] || exit 0; \
21125 r=`${PWD_COMMAND}`; export r; \
21126 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21127 $(SET_LIB_PATH) \
21128 $(HOST_EXPORTS) \
21129 for flag in $(EXTRA_HOST_FLAGS); do \
21130 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21131 done; \
21132 echo "Doing clean in guile" ; \
21133 (cd guile && \
21134 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21135 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21136 "RANLIB=$${RANLIB}" \
21137 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21138 clean) \
21139 || exit 1
21141 @endif guile
21143 .PHONY: maybe-distclean-guile distclean-guile
21144 maybe-distclean-guile:
21145 @if guile
21146 maybe-distclean-guile: distclean-guile
21148 distclean-guile:
21149 @[ -f ./guile/Makefile ] || exit 0; \
21150 r=`${PWD_COMMAND}`; export r; \
21151 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21152 $(SET_LIB_PATH) \
21153 $(HOST_EXPORTS) \
21154 for flag in $(EXTRA_HOST_FLAGS); do \
21155 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21156 done; \
21157 echo "Doing distclean in guile" ; \
21158 (cd guile && \
21159 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21160 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21161 "RANLIB=$${RANLIB}" \
21162 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21163 distclean) \
21164 || exit 1
21166 @endif guile
21168 .PHONY: maybe-maintainer-clean-guile maintainer-clean-guile
21169 maybe-maintainer-clean-guile:
21170 @if guile
21171 maybe-maintainer-clean-guile: maintainer-clean-guile
21173 maintainer-clean-guile:
21174 @[ -f ./guile/Makefile ] || exit 0; \
21175 r=`${PWD_COMMAND}`; export r; \
21176 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21177 $(SET_LIB_PATH) \
21178 $(HOST_EXPORTS) \
21179 for flag in $(EXTRA_HOST_FLAGS); do \
21180 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21181 done; \
21182 echo "Doing maintainer-clean in guile" ; \
21183 (cd guile && \
21184 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21185 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21186 "RANLIB=$${RANLIB}" \
21187 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21188 maintainer-clean) \
21189 || exit 1
21191 @endif guile
21194 .PHONY: configure-tk maybe-configure-tk
21195 maybe-configure-tk:
21196 @if tk
21197 maybe-configure-tk: configure-tk
21198 configure-tk:
21199 @test ! -f tk/Makefile || exit 0; \
21200 [ -d tk ] || mkdir tk; \
21201 r=`${PWD_COMMAND}`; export r; \
21202 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21203 $(HOST_EXPORTS) \
21204 echo Configuring in tk; \
21205 cd tk || exit 1; \
21206 case $(srcdir) in \
21207 \.) \
21208 srcdiroption="--srcdir=."; \
21209 libsrcdir=".";; \
21210 /* | [A-Za-z]:[\\/]*) \
21211 srcdiroption="--srcdir=$(srcdir)/tk"; \
21212 libsrcdir="$$s/tk";; \
21213 *) \
21214 srcdiroption="--srcdir=../$(srcdir)/tk"; \
21215 libsrcdir="$$s/tk";; \
21216 esac; \
21217 $(SHELL) $${libsrcdir}/configure \
21218 $(HOST_CONFIGARGS) $${srcdiroption} \
21219 || exit 1
21220 @endif tk
21222 .PHONY: all-tk maybe-all-tk
21223 maybe-all-tk:
21224 @if tk
21225 maybe-all-tk: all-tk
21226 all-tk: configure-tk
21227 @r=`${PWD_COMMAND}`; export r; \
21228 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21229 $(SET_LIB_PATH) \
21230 $(HOST_EXPORTS) \
21231 (cd tk && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) all)
21232 @endif tk
21234 .PHONY: check-tk maybe-check-tk
21235 maybe-check-tk:
21236 @if tk
21237 maybe-check-tk: check-tk
21239 check-tk:
21240 @r=`${PWD_COMMAND}`; export r; \
21241 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21242 $(SET_LIB_PATH) \
21243 $(HOST_EXPORTS) \
21244 (cd tk && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) check)
21246 @endif tk
21248 .PHONY: install-tk maybe-install-tk
21249 maybe-install-tk:
21250 @if tk
21251 maybe-install-tk: install-tk
21253 install-tk: installdirs
21254 @r=`${PWD_COMMAND}`; export r; \
21255 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21256 $(SET_LIB_PATH) \
21257 $(HOST_EXPORTS) \
21258 (cd tk && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) install)
21260 @endif tk
21262 # Other targets (info, dvi, etc.)
21264 .PHONY: maybe-info-tk info-tk
21265 maybe-info-tk:
21266 @if tk
21267 maybe-info-tk: info-tk
21269 info-tk: \
21270 configure-tk
21271 @[ -f ./tk/Makefile ] || exit 0; \
21272 r=`${PWD_COMMAND}`; export r; \
21273 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21274 $(SET_LIB_PATH) \
21275 $(HOST_EXPORTS) \
21276 for flag in $(EXTRA_HOST_FLAGS); do \
21277 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21278 done; \
21279 echo "Doing info in tk" ; \
21280 (cd tk && \
21281 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21282 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21283 "RANLIB=$${RANLIB}" \
21284 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21285 info) \
21286 || exit 1
21288 @endif tk
21290 .PHONY: maybe-dvi-tk dvi-tk
21291 maybe-dvi-tk:
21292 @if tk
21293 maybe-dvi-tk: dvi-tk
21295 dvi-tk: \
21296 configure-tk
21297 @[ -f ./tk/Makefile ] || exit 0; \
21298 r=`${PWD_COMMAND}`; export r; \
21299 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21300 $(SET_LIB_PATH) \
21301 $(HOST_EXPORTS) \
21302 for flag in $(EXTRA_HOST_FLAGS); do \
21303 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21304 done; \
21305 echo "Doing dvi in tk" ; \
21306 (cd tk && \
21307 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21308 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21309 "RANLIB=$${RANLIB}" \
21310 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21311 dvi) \
21312 || exit 1
21314 @endif tk
21316 .PHONY: maybe-TAGS-tk TAGS-tk
21317 maybe-TAGS-tk:
21318 @if tk
21319 maybe-TAGS-tk: TAGS-tk
21321 TAGS-tk: \
21322 configure-tk
21323 @[ -f ./tk/Makefile ] || exit 0; \
21324 r=`${PWD_COMMAND}`; export r; \
21325 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21326 $(SET_LIB_PATH) \
21327 $(HOST_EXPORTS) \
21328 for flag in $(EXTRA_HOST_FLAGS); do \
21329 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21330 done; \
21331 echo "Doing TAGS in tk" ; \
21332 (cd tk && \
21333 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21334 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21335 "RANLIB=$${RANLIB}" \
21336 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21337 TAGS) \
21338 || exit 1
21340 @endif tk
21342 .PHONY: maybe-install-info-tk install-info-tk
21343 maybe-install-info-tk:
21344 @if tk
21345 maybe-install-info-tk: install-info-tk
21347 install-info-tk: \
21348 configure-tk \
21349 info-tk
21350 @[ -f ./tk/Makefile ] || exit 0; \
21351 r=`${PWD_COMMAND}`; export r; \
21352 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21353 $(SET_LIB_PATH) \
21354 $(HOST_EXPORTS) \
21355 for flag in $(EXTRA_HOST_FLAGS); do \
21356 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21357 done; \
21358 echo "Doing install-info in tk" ; \
21359 (cd tk && \
21360 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21361 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21362 "RANLIB=$${RANLIB}" \
21363 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21364 install-info) \
21365 || exit 1
21367 @endif tk
21369 .PHONY: maybe-installcheck-tk installcheck-tk
21370 maybe-installcheck-tk:
21371 @if tk
21372 maybe-installcheck-tk: installcheck-tk
21374 installcheck-tk: \
21375 configure-tk
21376 @[ -f ./tk/Makefile ] || exit 0; \
21377 r=`${PWD_COMMAND}`; export r; \
21378 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21379 $(SET_LIB_PATH) \
21380 $(HOST_EXPORTS) \
21381 for flag in $(EXTRA_HOST_FLAGS); do \
21382 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21383 done; \
21384 echo "Doing installcheck in tk" ; \
21385 (cd tk && \
21386 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21387 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21388 "RANLIB=$${RANLIB}" \
21389 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21390 installcheck) \
21391 || exit 1
21393 @endif tk
21395 .PHONY: maybe-mostlyclean-tk mostlyclean-tk
21396 maybe-mostlyclean-tk:
21397 @if tk
21398 maybe-mostlyclean-tk: mostlyclean-tk
21400 mostlyclean-tk:
21401 @[ -f ./tk/Makefile ] || exit 0; \
21402 r=`${PWD_COMMAND}`; export r; \
21403 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21404 $(SET_LIB_PATH) \
21405 $(HOST_EXPORTS) \
21406 for flag in $(EXTRA_HOST_FLAGS); do \
21407 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21408 done; \
21409 echo "Doing mostlyclean in tk" ; \
21410 (cd tk && \
21411 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21412 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21413 "RANLIB=$${RANLIB}" \
21414 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21415 mostlyclean) \
21416 || exit 1
21418 @endif tk
21420 .PHONY: maybe-clean-tk clean-tk
21421 maybe-clean-tk:
21422 @if tk
21423 maybe-clean-tk: clean-tk
21425 clean-tk:
21426 @[ -f ./tk/Makefile ] || exit 0; \
21427 r=`${PWD_COMMAND}`; export r; \
21428 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21429 $(SET_LIB_PATH) \
21430 $(HOST_EXPORTS) \
21431 for flag in $(EXTRA_HOST_FLAGS); do \
21432 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21433 done; \
21434 echo "Doing clean in tk" ; \
21435 (cd tk && \
21436 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21437 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21438 "RANLIB=$${RANLIB}" \
21439 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21440 clean) \
21441 || exit 1
21443 @endif tk
21445 .PHONY: maybe-distclean-tk distclean-tk
21446 maybe-distclean-tk:
21447 @if tk
21448 maybe-distclean-tk: distclean-tk
21450 distclean-tk:
21451 @[ -f ./tk/Makefile ] || exit 0; \
21452 r=`${PWD_COMMAND}`; export r; \
21453 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21454 $(SET_LIB_PATH) \
21455 $(HOST_EXPORTS) \
21456 for flag in $(EXTRA_HOST_FLAGS); do \
21457 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21458 done; \
21459 echo "Doing distclean in tk" ; \
21460 (cd tk && \
21461 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21462 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21463 "RANLIB=$${RANLIB}" \
21464 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21465 distclean) \
21466 || exit 1
21468 @endif tk
21470 .PHONY: maybe-maintainer-clean-tk maintainer-clean-tk
21471 maybe-maintainer-clean-tk:
21472 @if tk
21473 maybe-maintainer-clean-tk: maintainer-clean-tk
21475 maintainer-clean-tk:
21476 @[ -f ./tk/Makefile ] || exit 0; \
21477 r=`${PWD_COMMAND}`; export r; \
21478 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21479 $(SET_LIB_PATH) \
21480 $(HOST_EXPORTS) \
21481 for flag in $(EXTRA_HOST_FLAGS); do \
21482 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21483 done; \
21484 echo "Doing maintainer-clean in tk" ; \
21485 (cd tk && \
21486 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21487 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21488 "RANLIB=$${RANLIB}" \
21489 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21490 maintainer-clean) \
21491 || exit 1
21493 @endif tk
21496 .PHONY: configure-tix maybe-configure-tix
21497 maybe-configure-tix:
21498 @if tix
21499 maybe-configure-tix: configure-tix
21500 configure-tix:
21501 @test ! -f tix/Makefile || exit 0; \
21502 [ -d tix ] || mkdir tix; \
21503 r=`${PWD_COMMAND}`; export r; \
21504 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21505 $(HOST_EXPORTS) \
21506 echo Configuring in tix; \
21507 cd tix || exit 1; \
21508 case $(srcdir) in \
21509 \.) \
21510 srcdiroption="--srcdir=."; \
21511 libsrcdir=".";; \
21512 /* | [A-Za-z]:[\\/]*) \
21513 srcdiroption="--srcdir=$(srcdir)/tix"; \
21514 libsrcdir="$$s/tix";; \
21515 *) \
21516 srcdiroption="--srcdir=../$(srcdir)/tix"; \
21517 libsrcdir="$$s/tix";; \
21518 esac; \
21519 $(SHELL) $${libsrcdir}/configure \
21520 $(HOST_CONFIGARGS) $${srcdiroption} \
21521 || exit 1
21522 @endif tix
21524 .PHONY: all-tix maybe-all-tix
21525 maybe-all-tix:
21526 @if tix
21527 maybe-all-tix: all-tix
21528 all-tix: configure-tix
21529 @r=`${PWD_COMMAND}`; export r; \
21530 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21531 $(SET_LIB_PATH) \
21532 $(HOST_EXPORTS) \
21533 (cd tix && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) all)
21534 @endif tix
21536 .PHONY: check-tix maybe-check-tix
21537 maybe-check-tix:
21538 @if tix
21539 maybe-check-tix: check-tix
21541 check-tix:
21542 @r=`${PWD_COMMAND}`; export r; \
21543 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21544 $(SET_LIB_PATH) \
21545 $(HOST_EXPORTS) \
21546 (cd tix && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) check)
21548 @endif tix
21550 .PHONY: install-tix maybe-install-tix
21551 maybe-install-tix:
21552 @if tix
21553 maybe-install-tix: install-tix
21555 install-tix: installdirs
21556 @r=`${PWD_COMMAND}`; export r; \
21557 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21558 $(SET_LIB_PATH) \
21559 $(HOST_EXPORTS) \
21560 (cd tix && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) install)
21562 @endif tix
21564 # Other targets (info, dvi, etc.)
21566 .PHONY: maybe-info-tix info-tix
21567 maybe-info-tix:
21568 @if tix
21569 maybe-info-tix: info-tix
21571 info-tix: \
21572 configure-tix
21573 @[ -f ./tix/Makefile ] || exit 0; \
21574 r=`${PWD_COMMAND}`; export r; \
21575 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21576 $(SET_LIB_PATH) \
21577 $(HOST_EXPORTS) \
21578 for flag in $(EXTRA_HOST_FLAGS); do \
21579 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21580 done; \
21581 echo "Doing info in tix" ; \
21582 (cd tix && \
21583 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21584 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21585 "RANLIB=$${RANLIB}" \
21586 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21587 info) \
21588 || exit 1
21590 @endif tix
21592 .PHONY: maybe-dvi-tix dvi-tix
21593 maybe-dvi-tix:
21594 @if tix
21595 maybe-dvi-tix: dvi-tix
21597 dvi-tix: \
21598 configure-tix
21599 @[ -f ./tix/Makefile ] || exit 0; \
21600 r=`${PWD_COMMAND}`; export r; \
21601 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21602 $(SET_LIB_PATH) \
21603 $(HOST_EXPORTS) \
21604 for flag in $(EXTRA_HOST_FLAGS); do \
21605 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21606 done; \
21607 echo "Doing dvi in tix" ; \
21608 (cd tix && \
21609 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21610 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21611 "RANLIB=$${RANLIB}" \
21612 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21613 dvi) \
21614 || exit 1
21616 @endif tix
21618 .PHONY: maybe-TAGS-tix TAGS-tix
21619 maybe-TAGS-tix:
21620 @if tix
21621 maybe-TAGS-tix: TAGS-tix
21623 TAGS-tix: \
21624 configure-tix
21625 @[ -f ./tix/Makefile ] || exit 0; \
21626 r=`${PWD_COMMAND}`; export r; \
21627 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21628 $(SET_LIB_PATH) \
21629 $(HOST_EXPORTS) \
21630 for flag in $(EXTRA_HOST_FLAGS); do \
21631 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21632 done; \
21633 echo "Doing TAGS in tix" ; \
21634 (cd tix && \
21635 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21636 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21637 "RANLIB=$${RANLIB}" \
21638 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21639 TAGS) \
21640 || exit 1
21642 @endif tix
21644 .PHONY: maybe-install-info-tix install-info-tix
21645 maybe-install-info-tix:
21646 @if tix
21647 maybe-install-info-tix: install-info-tix
21649 install-info-tix: \
21650 configure-tix \
21651 info-tix
21652 @[ -f ./tix/Makefile ] || exit 0; \
21653 r=`${PWD_COMMAND}`; export r; \
21654 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21655 $(SET_LIB_PATH) \
21656 $(HOST_EXPORTS) \
21657 for flag in $(EXTRA_HOST_FLAGS); do \
21658 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21659 done; \
21660 echo "Doing install-info in tix" ; \
21661 (cd tix && \
21662 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21663 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21664 "RANLIB=$${RANLIB}" \
21665 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21666 install-info) \
21667 || exit 1
21669 @endif tix
21671 .PHONY: maybe-installcheck-tix installcheck-tix
21672 maybe-installcheck-tix:
21673 @if tix
21674 maybe-installcheck-tix: installcheck-tix
21676 installcheck-tix: \
21677 configure-tix
21678 @[ -f ./tix/Makefile ] || exit 0; \
21679 r=`${PWD_COMMAND}`; export r; \
21680 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21681 $(SET_LIB_PATH) \
21682 $(HOST_EXPORTS) \
21683 for flag in $(EXTRA_HOST_FLAGS); do \
21684 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21685 done; \
21686 echo "Doing installcheck in tix" ; \
21687 (cd tix && \
21688 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21689 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21690 "RANLIB=$${RANLIB}" \
21691 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21692 installcheck) \
21693 || exit 1
21695 @endif tix
21697 .PHONY: maybe-mostlyclean-tix mostlyclean-tix
21698 maybe-mostlyclean-tix:
21699 @if tix
21700 maybe-mostlyclean-tix: mostlyclean-tix
21702 mostlyclean-tix:
21703 @[ -f ./tix/Makefile ] || exit 0; \
21704 r=`${PWD_COMMAND}`; export r; \
21705 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21706 $(SET_LIB_PATH) \
21707 $(HOST_EXPORTS) \
21708 for flag in $(EXTRA_HOST_FLAGS); do \
21709 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21710 done; \
21711 echo "Doing mostlyclean in tix" ; \
21712 (cd tix && \
21713 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21714 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21715 "RANLIB=$${RANLIB}" \
21716 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21717 mostlyclean) \
21718 || exit 1
21720 @endif tix
21722 .PHONY: maybe-clean-tix clean-tix
21723 maybe-clean-tix:
21724 @if tix
21725 maybe-clean-tix: clean-tix
21727 clean-tix:
21728 @[ -f ./tix/Makefile ] || exit 0; \
21729 r=`${PWD_COMMAND}`; export r; \
21730 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21731 $(SET_LIB_PATH) \
21732 $(HOST_EXPORTS) \
21733 for flag in $(EXTRA_HOST_FLAGS); do \
21734 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21735 done; \
21736 echo "Doing clean in tix" ; \
21737 (cd tix && \
21738 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21739 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21740 "RANLIB=$${RANLIB}" \
21741 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21742 clean) \
21743 || exit 1
21745 @endif tix
21747 .PHONY: maybe-distclean-tix distclean-tix
21748 maybe-distclean-tix:
21749 @if tix
21750 maybe-distclean-tix: distclean-tix
21752 distclean-tix:
21753 @[ -f ./tix/Makefile ] || exit 0; \
21754 r=`${PWD_COMMAND}`; export r; \
21755 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21756 $(SET_LIB_PATH) \
21757 $(HOST_EXPORTS) \
21758 for flag in $(EXTRA_HOST_FLAGS); do \
21759 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21760 done; \
21761 echo "Doing distclean in tix" ; \
21762 (cd tix && \
21763 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21764 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21765 "RANLIB=$${RANLIB}" \
21766 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21767 distclean) \
21768 || exit 1
21770 @endif tix
21772 .PHONY: maybe-maintainer-clean-tix maintainer-clean-tix
21773 maybe-maintainer-clean-tix:
21774 @if tix
21775 maybe-maintainer-clean-tix: maintainer-clean-tix
21777 maintainer-clean-tix:
21778 @[ -f ./tix/Makefile ] || exit 0; \
21779 r=`${PWD_COMMAND}`; export r; \
21780 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21781 $(SET_LIB_PATH) \
21782 $(HOST_EXPORTS) \
21783 for flag in $(EXTRA_HOST_FLAGS); do \
21784 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21785 done; \
21786 echo "Doing maintainer-clean in tix" ; \
21787 (cd tix && \
21788 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21789 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21790 "RANLIB=$${RANLIB}" \
21791 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21792 maintainer-clean) \
21793 || exit 1
21795 @endif tix
21798 .PHONY: configure-libtermcap maybe-configure-libtermcap
21799 maybe-configure-libtermcap:
21800 @if libtermcap
21801 maybe-configure-libtermcap: configure-libtermcap
21802 configure-libtermcap:
21803 @test ! -f libtermcap/Makefile || exit 0; \
21804 [ -d libtermcap ] || mkdir libtermcap; \
21805 r=`${PWD_COMMAND}`; export r; \
21806 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21807 $(HOST_EXPORTS) \
21808 echo Configuring in libtermcap; \
21809 cd libtermcap || exit 1; \
21810 case $(srcdir) in \
21811 \.) \
21812 srcdiroption="--srcdir=."; \
21813 libsrcdir=".";; \
21814 /* | [A-Za-z]:[\\/]*) \
21815 srcdiroption="--srcdir=$(srcdir)/libtermcap"; \
21816 libsrcdir="$$s/libtermcap";; \
21817 *) \
21818 srcdiroption="--srcdir=../$(srcdir)/libtermcap"; \
21819 libsrcdir="$$s/libtermcap";; \
21820 esac; \
21821 $(SHELL) $${libsrcdir}/configure \
21822 $(HOST_CONFIGARGS) $${srcdiroption} \
21823 || exit 1
21824 @endif libtermcap
21826 .PHONY: all-libtermcap maybe-all-libtermcap
21827 maybe-all-libtermcap:
21828 @if libtermcap
21829 maybe-all-libtermcap: all-libtermcap
21830 all-libtermcap: configure-libtermcap
21831 @r=`${PWD_COMMAND}`; export r; \
21832 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21833 $(SET_LIB_PATH) \
21834 $(HOST_EXPORTS) \
21835 (cd libtermcap && $(MAKE) $(FLAGS_TO_PASS) all)
21836 @endif libtermcap
21838 .PHONY: check-libtermcap maybe-check-libtermcap
21839 maybe-check-libtermcap:
21840 @if libtermcap
21841 maybe-check-libtermcap: check-libtermcap
21843 check-libtermcap:
21845 @endif libtermcap
21847 .PHONY: install-libtermcap maybe-install-libtermcap
21848 maybe-install-libtermcap:
21849 @if libtermcap
21850 maybe-install-libtermcap: install-libtermcap
21852 install-libtermcap: installdirs
21853 @r=`${PWD_COMMAND}`; export r; \
21854 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21855 $(SET_LIB_PATH) \
21856 $(HOST_EXPORTS) \
21857 (cd libtermcap && $(MAKE) $(FLAGS_TO_PASS) install)
21859 @endif libtermcap
21861 # Other targets (info, dvi, etc.)
21863 .PHONY: maybe-info-libtermcap info-libtermcap
21864 maybe-info-libtermcap:
21865 @if libtermcap
21866 maybe-info-libtermcap: info-libtermcap
21868 info-libtermcap: \
21869 configure-libtermcap
21870 @[ -f ./libtermcap/Makefile ] || exit 0; \
21871 r=`${PWD_COMMAND}`; export r; \
21872 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21873 $(SET_LIB_PATH) \
21874 $(HOST_EXPORTS) \
21875 for flag in $(EXTRA_HOST_FLAGS); do \
21876 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21877 done; \
21878 echo "Doing info in libtermcap" ; \
21879 (cd libtermcap && \
21880 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21881 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21882 "RANLIB=$${RANLIB}" \
21883 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21884 info) \
21885 || exit 1
21887 @endif libtermcap
21889 .PHONY: maybe-dvi-libtermcap dvi-libtermcap
21890 maybe-dvi-libtermcap:
21891 @if libtermcap
21892 maybe-dvi-libtermcap: dvi-libtermcap
21894 dvi-libtermcap: \
21895 configure-libtermcap
21896 @[ -f ./libtermcap/Makefile ] || exit 0; \
21897 r=`${PWD_COMMAND}`; export r; \
21898 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21899 $(SET_LIB_PATH) \
21900 $(HOST_EXPORTS) \
21901 for flag in $(EXTRA_HOST_FLAGS); do \
21902 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21903 done; \
21904 echo "Doing dvi in libtermcap" ; \
21905 (cd libtermcap && \
21906 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21907 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21908 "RANLIB=$${RANLIB}" \
21909 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21910 dvi) \
21911 || exit 1
21913 @endif libtermcap
21915 .PHONY: maybe-TAGS-libtermcap TAGS-libtermcap
21916 maybe-TAGS-libtermcap:
21917 @if libtermcap
21918 maybe-TAGS-libtermcap: TAGS-libtermcap
21920 TAGS-libtermcap: \
21921 configure-libtermcap
21922 @[ -f ./libtermcap/Makefile ] || exit 0; \
21923 r=`${PWD_COMMAND}`; export r; \
21924 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21925 $(SET_LIB_PATH) \
21926 $(HOST_EXPORTS) \
21927 for flag in $(EXTRA_HOST_FLAGS); do \
21928 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21929 done; \
21930 echo "Doing TAGS in libtermcap" ; \
21931 (cd libtermcap && \
21932 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21933 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21934 "RANLIB=$${RANLIB}" \
21935 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21936 TAGS) \
21937 || exit 1
21939 @endif libtermcap
21941 .PHONY: maybe-install-info-libtermcap install-info-libtermcap
21942 maybe-install-info-libtermcap:
21943 @if libtermcap
21944 maybe-install-info-libtermcap: install-info-libtermcap
21946 install-info-libtermcap: \
21947 configure-libtermcap \
21948 info-libtermcap
21949 @[ -f ./libtermcap/Makefile ] || exit 0; \
21950 r=`${PWD_COMMAND}`; export r; \
21951 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21952 $(SET_LIB_PATH) \
21953 $(HOST_EXPORTS) \
21954 for flag in $(EXTRA_HOST_FLAGS); do \
21955 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21956 done; \
21957 echo "Doing install-info in libtermcap" ; \
21958 (cd libtermcap && \
21959 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21960 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21961 "RANLIB=$${RANLIB}" \
21962 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21963 install-info) \
21964 || exit 1
21966 @endif libtermcap
21968 .PHONY: maybe-installcheck-libtermcap installcheck-libtermcap
21969 maybe-installcheck-libtermcap:
21970 @if libtermcap
21971 maybe-installcheck-libtermcap: installcheck-libtermcap
21973 installcheck-libtermcap: \
21974 configure-libtermcap
21975 @[ -f ./libtermcap/Makefile ] || exit 0; \
21976 r=`${PWD_COMMAND}`; export r; \
21977 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21978 $(SET_LIB_PATH) \
21979 $(HOST_EXPORTS) \
21980 for flag in $(EXTRA_HOST_FLAGS); do \
21981 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21982 done; \
21983 echo "Doing installcheck in libtermcap" ; \
21984 (cd libtermcap && \
21985 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21986 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21987 "RANLIB=$${RANLIB}" \
21988 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21989 installcheck) \
21990 || exit 1
21992 @endif libtermcap
21994 .PHONY: maybe-mostlyclean-libtermcap mostlyclean-libtermcap
21995 maybe-mostlyclean-libtermcap:
21996 @if libtermcap
21997 maybe-mostlyclean-libtermcap: mostlyclean-libtermcap
21999 # libtermcap doesn't support mostlyclean.
22000 mostlyclean-libtermcap:
22002 @endif libtermcap
22004 .PHONY: maybe-clean-libtermcap clean-libtermcap
22005 maybe-clean-libtermcap:
22006 @if libtermcap
22007 maybe-clean-libtermcap: clean-libtermcap
22009 # libtermcap doesn't support clean.
22010 clean-libtermcap:
22012 @endif libtermcap
22014 .PHONY: maybe-distclean-libtermcap distclean-libtermcap
22015 maybe-distclean-libtermcap:
22016 @if libtermcap
22017 maybe-distclean-libtermcap: distclean-libtermcap
22019 # libtermcap doesn't support distclean.
22020 distclean-libtermcap:
22022 @endif libtermcap
22024 .PHONY: maybe-maintainer-clean-libtermcap maintainer-clean-libtermcap
22025 maybe-maintainer-clean-libtermcap:
22026 @if libtermcap
22027 maybe-maintainer-clean-libtermcap: maintainer-clean-libtermcap
22029 # libtermcap doesn't support maintainer-clean.
22030 maintainer-clean-libtermcap:
22032 @endif libtermcap
22035 .PHONY: configure-utils maybe-configure-utils
22036 maybe-configure-utils:
22037 @if utils
22038 maybe-configure-utils: configure-utils
22039 configure-utils:
22040 @test ! -f utils/Makefile || exit 0; \
22041 [ -d utils ] || mkdir utils; \
22042 r=`${PWD_COMMAND}`; export r; \
22043 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22044 $(HOST_EXPORTS) \
22045 echo Configuring in utils; \
22046 cd utils || exit 1; \
22047 case $(srcdir) in \
22048 \.) \
22049 srcdiroption="--srcdir=."; \
22050 libsrcdir=".";; \
22051 /* | [A-Za-z]:[\\/]*) \
22052 srcdiroption="--srcdir=$(srcdir)/utils"; \
22053 libsrcdir="$$s/utils";; \
22054 *) \
22055 srcdiroption="--srcdir=../$(srcdir)/utils"; \
22056 libsrcdir="$$s/utils";; \
22057 esac; \
22058 $(SHELL) $${libsrcdir}/configure \
22059 $(HOST_CONFIGARGS) $${srcdiroption} \
22060 || exit 1
22061 @endif utils
22063 .PHONY: all-utils maybe-all-utils
22064 maybe-all-utils:
22065 @if utils
22066 maybe-all-utils: all-utils
22067 all-utils: configure-utils
22068 @r=`${PWD_COMMAND}`; export r; \
22069 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22070 $(SET_LIB_PATH) \
22071 $(HOST_EXPORTS) \
22072 (cd utils && $(MAKE) $(FLAGS_TO_PASS) all)
22073 @endif utils
22075 .PHONY: check-utils maybe-check-utils
22076 maybe-check-utils:
22077 @if utils
22078 maybe-check-utils: check-utils
22080 check-utils:
22082 @endif utils
22084 .PHONY: install-utils maybe-install-utils
22085 maybe-install-utils:
22086 @if utils
22087 maybe-install-utils: install-utils
22089 install-utils: installdirs
22090 @r=`${PWD_COMMAND}`; export r; \
22091 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22092 $(SET_LIB_PATH) \
22093 $(HOST_EXPORTS) \
22094 (cd utils && $(MAKE) $(FLAGS_TO_PASS) install)
22096 @endif utils
22098 # Other targets (info, dvi, etc.)
22100 .PHONY: maybe-info-utils info-utils
22101 maybe-info-utils:
22102 @if utils
22103 maybe-info-utils: info-utils
22105 info-utils: \
22106 configure-utils
22107 @[ -f ./utils/Makefile ] || exit 0; \
22108 r=`${PWD_COMMAND}`; export r; \
22109 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22110 $(SET_LIB_PATH) \
22111 $(HOST_EXPORTS) \
22112 for flag in $(EXTRA_HOST_FLAGS); do \
22113 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22114 done; \
22115 echo "Doing info in utils" ; \
22116 (cd utils && \
22117 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22118 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22119 "RANLIB=$${RANLIB}" \
22120 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22121 info) \
22122 || exit 1
22124 @endif utils
22126 .PHONY: maybe-dvi-utils dvi-utils
22127 maybe-dvi-utils:
22128 @if utils
22129 maybe-dvi-utils: dvi-utils
22131 dvi-utils: \
22132 configure-utils
22133 @[ -f ./utils/Makefile ] || exit 0; \
22134 r=`${PWD_COMMAND}`; export r; \
22135 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22136 $(SET_LIB_PATH) \
22137 $(HOST_EXPORTS) \
22138 for flag in $(EXTRA_HOST_FLAGS); do \
22139 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22140 done; \
22141 echo "Doing dvi in utils" ; \
22142 (cd utils && \
22143 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22144 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22145 "RANLIB=$${RANLIB}" \
22146 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22147 dvi) \
22148 || exit 1
22150 @endif utils
22152 .PHONY: maybe-TAGS-utils TAGS-utils
22153 maybe-TAGS-utils:
22154 @if utils
22155 maybe-TAGS-utils: TAGS-utils
22157 TAGS-utils: \
22158 configure-utils
22159 @[ -f ./utils/Makefile ] || exit 0; \
22160 r=`${PWD_COMMAND}`; export r; \
22161 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22162 $(SET_LIB_PATH) \
22163 $(HOST_EXPORTS) \
22164 for flag in $(EXTRA_HOST_FLAGS); do \
22165 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22166 done; \
22167 echo "Doing TAGS in utils" ; \
22168 (cd utils && \
22169 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22170 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22171 "RANLIB=$${RANLIB}" \
22172 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22173 TAGS) \
22174 || exit 1
22176 @endif utils
22178 .PHONY: maybe-install-info-utils install-info-utils
22179 maybe-install-info-utils:
22180 @if utils
22181 maybe-install-info-utils: install-info-utils
22183 install-info-utils: \
22184 configure-utils \
22185 info-utils
22186 @[ -f ./utils/Makefile ] || exit 0; \
22187 r=`${PWD_COMMAND}`; export r; \
22188 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22189 $(SET_LIB_PATH) \
22190 $(HOST_EXPORTS) \
22191 for flag in $(EXTRA_HOST_FLAGS); do \
22192 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22193 done; \
22194 echo "Doing install-info in utils" ; \
22195 (cd utils && \
22196 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22197 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22198 "RANLIB=$${RANLIB}" \
22199 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22200 install-info) \
22201 || exit 1
22203 @endif utils
22205 .PHONY: maybe-installcheck-utils installcheck-utils
22206 maybe-installcheck-utils:
22207 @if utils
22208 maybe-installcheck-utils: installcheck-utils
22210 installcheck-utils: \
22211 configure-utils
22212 @[ -f ./utils/Makefile ] || exit 0; \
22213 r=`${PWD_COMMAND}`; export r; \
22214 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22215 $(SET_LIB_PATH) \
22216 $(HOST_EXPORTS) \
22217 for flag in $(EXTRA_HOST_FLAGS); do \
22218 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22219 done; \
22220 echo "Doing installcheck in utils" ; \
22221 (cd utils && \
22222 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22223 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22224 "RANLIB=$${RANLIB}" \
22225 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22226 installcheck) \
22227 || exit 1
22229 @endif utils
22231 .PHONY: maybe-mostlyclean-utils mostlyclean-utils
22232 maybe-mostlyclean-utils:
22233 @if utils
22234 maybe-mostlyclean-utils: mostlyclean-utils
22236 mostlyclean-utils:
22237 @[ -f ./utils/Makefile ] || exit 0; \
22238 r=`${PWD_COMMAND}`; export r; \
22239 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22240 $(SET_LIB_PATH) \
22241 $(HOST_EXPORTS) \
22242 for flag in $(EXTRA_HOST_FLAGS); do \
22243 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22244 done; \
22245 echo "Doing mostlyclean in utils" ; \
22246 (cd utils && \
22247 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22248 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22249 "RANLIB=$${RANLIB}" \
22250 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22251 mostlyclean) \
22252 || exit 1
22254 @endif utils
22256 .PHONY: maybe-clean-utils clean-utils
22257 maybe-clean-utils:
22258 @if utils
22259 maybe-clean-utils: clean-utils
22261 clean-utils:
22262 @[ -f ./utils/Makefile ] || exit 0; \
22263 r=`${PWD_COMMAND}`; export r; \
22264 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22265 $(SET_LIB_PATH) \
22266 $(HOST_EXPORTS) \
22267 for flag in $(EXTRA_HOST_FLAGS); do \
22268 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22269 done; \
22270 echo "Doing clean in utils" ; \
22271 (cd utils && \
22272 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22273 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22274 "RANLIB=$${RANLIB}" \
22275 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22276 clean) \
22277 || exit 1
22279 @endif utils
22281 .PHONY: maybe-distclean-utils distclean-utils
22282 maybe-distclean-utils:
22283 @if utils
22284 maybe-distclean-utils: distclean-utils
22286 distclean-utils:
22287 @[ -f ./utils/Makefile ] || exit 0; \
22288 r=`${PWD_COMMAND}`; export r; \
22289 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22290 $(SET_LIB_PATH) \
22291 $(HOST_EXPORTS) \
22292 for flag in $(EXTRA_HOST_FLAGS); do \
22293 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22294 done; \
22295 echo "Doing distclean in utils" ; \
22296 (cd utils && \
22297 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22298 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22299 "RANLIB=$${RANLIB}" \
22300 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22301 distclean) \
22302 || exit 1
22304 @endif utils
22306 .PHONY: maybe-maintainer-clean-utils maintainer-clean-utils
22307 maybe-maintainer-clean-utils:
22308 @if utils
22309 maybe-maintainer-clean-utils: maintainer-clean-utils
22311 maintainer-clean-utils:
22312 @[ -f ./utils/Makefile ] || exit 0; \
22313 r=`${PWD_COMMAND}`; export r; \
22314 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22315 $(SET_LIB_PATH) \
22316 $(HOST_EXPORTS) \
22317 for flag in $(EXTRA_HOST_FLAGS); do \
22318 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22319 done; \
22320 echo "Doing maintainer-clean in utils" ; \
22321 (cd utils && \
22322 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22323 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22324 "RANLIB=$${RANLIB}" \
22325 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22326 maintainer-clean) \
22327 || exit 1
22329 @endif utils
22333 # ---------------------------------------
22334 # Modules which run on the target machine
22335 # ---------------------------------------
22337 .PHONY: configure-target-libstdc++-v3 maybe-configure-target-libstdc++-v3
22338 maybe-configure-target-libstdc++-v3:
22339 @if target-libstdc++-v3
22340 maybe-configure-target-libstdc++-v3: configure-target-libstdc++-v3
22342 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
22343 $(TARGET_SUBDIR)/libstdc++-v3/multilib.out: multilib.out
22344 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \
22345 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || : ; \
22346 cp multilib.out $(TARGET_SUBDIR)/libstdc++-v3/multilib.out
22348 configure-target-libstdc++-v3: $(TARGET_SUBDIR)/libstdc++-v3/multilib.out
22349 @test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
22350 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \
22351 r=`${PWD_COMMAND}`; export r; \
22352 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22353 $(SET_LIB_PATH) \
22354 $(RAW_CXX_TARGET_EXPORTS) \
22355 echo Configuring in $(TARGET_SUBDIR)/libstdc++-v3; \
22356 cd "$(TARGET_SUBDIR)/libstdc++-v3" || exit 1; \
22357 case $(srcdir) in \
22358 /* | [A-Za-z]:[\\/]*) \
22359 topdir=$(srcdir) ;; \
22360 *) \
22361 case "$(TARGET_SUBDIR)" in \
22362 .) topdir="../$(srcdir)" ;; \
22363 *) topdir="../../$(srcdir)" ;; \
22364 esac ;; \
22365 esac; \
22366 srcdiroption="--srcdir=$${topdir}/libstdc++-v3"; \
22367 libsrcdir="$$s/libstdc++-v3"; \
22368 rm -f no-such-file || : ; \
22369 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
22370 $(TARGET_CONFIGARGS) $${srcdiroption} \
22371 --with-target-subdir="$(TARGET_SUBDIR)" \
22372 || exit 1
22373 @endif target-libstdc++-v3
22375 .PHONY: all-target-libstdc++-v3 maybe-all-target-libstdc++-v3
22376 maybe-all-target-libstdc++-v3:
22377 @if target-libstdc++-v3
22378 maybe-all-target-libstdc++-v3: all-target-libstdc++-v3
22379 all-target-libstdc++-v3: configure-target-libstdc++-v3
22380 @r=`${PWD_COMMAND}`; export r; \
22381 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22382 $(SET_LIB_PATH) \
22383 $(RAW_CXX_TARGET_EXPORTS) \
22384 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
22385 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' all)
22386 @endif target-libstdc++-v3
22388 .PHONY: check-target-libstdc++-v3 maybe-check-target-libstdc++-v3
22389 maybe-check-target-libstdc++-v3:
22390 @if target-libstdc++-v3
22391 maybe-check-target-libstdc++-v3: check-target-libstdc++-v3
22393 check-target-libstdc++-v3:
22394 @r=`${PWD_COMMAND}`; export r; \
22395 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22396 $(SET_LIB_PATH) \
22397 $(RAW_CXX_TARGET_EXPORTS) \
22398 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
22399 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' check)
22401 @endif target-libstdc++-v3
22403 .PHONY: install-target-libstdc++-v3 maybe-install-target-libstdc++-v3
22404 maybe-install-target-libstdc++-v3:
22405 @if target-libstdc++-v3
22406 maybe-install-target-libstdc++-v3: install-target-libstdc++-v3
22408 install-target-libstdc++-v3: installdirs
22409 @r=`${PWD_COMMAND}`; export r; \
22410 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22411 $(SET_LIB_PATH) \
22412 $(RAW_CXX_TARGET_EXPORTS) \
22413 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
22414 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
22416 @endif target-libstdc++-v3
22418 # Other targets (info, dvi, etc.)
22420 .PHONY: maybe-info-target-libstdc++-v3 info-target-libstdc++-v3
22421 maybe-info-target-libstdc++-v3:
22422 @if target-libstdc++-v3
22423 maybe-info-target-libstdc++-v3: info-target-libstdc++-v3
22425 info-target-libstdc++-v3: \
22426 configure-target-libstdc++-v3
22427 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
22428 r=`${PWD_COMMAND}`; export r; \
22429 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22430 $(SET_LIB_PATH) \
22431 $(RAW_CXX_TARGET_EXPORTS) \
22432 echo "Doing info in $(TARGET_SUBDIR)/libstdc++-v3" ; \
22433 for flag in $(EXTRA_TARGET_FLAGS); do \
22434 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22435 done; \
22436 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
22437 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22438 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22439 "RANLIB=$${RANLIB}" \
22440 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22441 info) \
22442 || exit 1
22444 @endif target-libstdc++-v3
22446 .PHONY: maybe-dvi-target-libstdc++-v3 dvi-target-libstdc++-v3
22447 maybe-dvi-target-libstdc++-v3:
22448 @if target-libstdc++-v3
22449 maybe-dvi-target-libstdc++-v3: dvi-target-libstdc++-v3
22451 dvi-target-libstdc++-v3: \
22452 configure-target-libstdc++-v3
22453 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
22454 r=`${PWD_COMMAND}`; export r; \
22455 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22456 $(SET_LIB_PATH) \
22457 $(RAW_CXX_TARGET_EXPORTS) \
22458 echo "Doing dvi in $(TARGET_SUBDIR)/libstdc++-v3" ; \
22459 for flag in $(EXTRA_TARGET_FLAGS); do \
22460 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22461 done; \
22462 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
22463 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22464 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22465 "RANLIB=$${RANLIB}" \
22466 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22467 dvi) \
22468 || exit 1
22470 @endif target-libstdc++-v3
22472 .PHONY: maybe-TAGS-target-libstdc++-v3 TAGS-target-libstdc++-v3
22473 maybe-TAGS-target-libstdc++-v3:
22474 @if target-libstdc++-v3
22475 maybe-TAGS-target-libstdc++-v3: TAGS-target-libstdc++-v3
22477 TAGS-target-libstdc++-v3: \
22478 configure-target-libstdc++-v3
22479 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
22480 r=`${PWD_COMMAND}`; export r; \
22481 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22482 $(SET_LIB_PATH) \
22483 $(RAW_CXX_TARGET_EXPORTS) \
22484 echo "Doing TAGS in $(TARGET_SUBDIR)/libstdc++-v3" ; \
22485 for flag in $(EXTRA_TARGET_FLAGS); do \
22486 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22487 done; \
22488 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
22489 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22490 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22491 "RANLIB=$${RANLIB}" \
22492 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22493 TAGS) \
22494 || exit 1
22496 @endif target-libstdc++-v3
22498 .PHONY: maybe-install-info-target-libstdc++-v3 install-info-target-libstdc++-v3
22499 maybe-install-info-target-libstdc++-v3:
22500 @if target-libstdc++-v3
22501 maybe-install-info-target-libstdc++-v3: install-info-target-libstdc++-v3
22503 install-info-target-libstdc++-v3: \
22504 configure-target-libstdc++-v3 \
22505 info-target-libstdc++-v3
22506 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
22507 r=`${PWD_COMMAND}`; export r; \
22508 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22509 $(SET_LIB_PATH) \
22510 $(RAW_CXX_TARGET_EXPORTS) \
22511 echo "Doing install-info in $(TARGET_SUBDIR)/libstdc++-v3" ; \
22512 for flag in $(EXTRA_TARGET_FLAGS); do \
22513 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22514 done; \
22515 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
22516 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22517 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22518 "RANLIB=$${RANLIB}" \
22519 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22520 install-info) \
22521 || exit 1
22523 @endif target-libstdc++-v3
22525 .PHONY: maybe-installcheck-target-libstdc++-v3 installcheck-target-libstdc++-v3
22526 maybe-installcheck-target-libstdc++-v3:
22527 @if target-libstdc++-v3
22528 maybe-installcheck-target-libstdc++-v3: installcheck-target-libstdc++-v3
22530 installcheck-target-libstdc++-v3: \
22531 configure-target-libstdc++-v3
22532 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
22533 r=`${PWD_COMMAND}`; export r; \
22534 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22535 $(SET_LIB_PATH) \
22536 $(RAW_CXX_TARGET_EXPORTS) \
22537 echo "Doing installcheck in $(TARGET_SUBDIR)/libstdc++-v3" ; \
22538 for flag in $(EXTRA_TARGET_FLAGS); do \
22539 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22540 done; \
22541 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
22542 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22543 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22544 "RANLIB=$${RANLIB}" \
22545 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22546 installcheck) \
22547 || exit 1
22549 @endif target-libstdc++-v3
22551 .PHONY: maybe-mostlyclean-target-libstdc++-v3 mostlyclean-target-libstdc++-v3
22552 maybe-mostlyclean-target-libstdc++-v3:
22553 @if target-libstdc++-v3
22554 maybe-mostlyclean-target-libstdc++-v3: mostlyclean-target-libstdc++-v3
22556 mostlyclean-target-libstdc++-v3:
22557 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
22558 r=`${PWD_COMMAND}`; export r; \
22559 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22560 $(SET_LIB_PATH) \
22561 $(RAW_CXX_TARGET_EXPORTS) \
22562 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
22563 for flag in $(EXTRA_TARGET_FLAGS); do \
22564 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22565 done; \
22566 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
22567 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22568 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22569 "RANLIB=$${RANLIB}" \
22570 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22571 mostlyclean) \
22572 || exit 1
22574 @endif target-libstdc++-v3
22576 .PHONY: maybe-clean-target-libstdc++-v3 clean-target-libstdc++-v3
22577 maybe-clean-target-libstdc++-v3:
22578 @if target-libstdc++-v3
22579 maybe-clean-target-libstdc++-v3: clean-target-libstdc++-v3
22581 clean-target-libstdc++-v3:
22582 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
22583 r=`${PWD_COMMAND}`; export r; \
22584 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22585 $(SET_LIB_PATH) \
22586 $(RAW_CXX_TARGET_EXPORTS) \
22587 echo "Doing clean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
22588 for flag in $(EXTRA_TARGET_FLAGS); do \
22589 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22590 done; \
22591 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
22592 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22593 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22594 "RANLIB=$${RANLIB}" \
22595 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22596 clean) \
22597 || exit 1
22599 @endif target-libstdc++-v3
22601 .PHONY: maybe-distclean-target-libstdc++-v3 distclean-target-libstdc++-v3
22602 maybe-distclean-target-libstdc++-v3:
22603 @if target-libstdc++-v3
22604 maybe-distclean-target-libstdc++-v3: distclean-target-libstdc++-v3
22606 distclean-target-libstdc++-v3:
22607 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
22608 r=`${PWD_COMMAND}`; export r; \
22609 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22610 $(SET_LIB_PATH) \
22611 $(RAW_CXX_TARGET_EXPORTS) \
22612 echo "Doing distclean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
22613 for flag in $(EXTRA_TARGET_FLAGS); do \
22614 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22615 done; \
22616 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
22617 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22618 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22619 "RANLIB=$${RANLIB}" \
22620 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22621 distclean) \
22622 || exit 1
22624 @endif target-libstdc++-v3
22626 .PHONY: maybe-maintainer-clean-target-libstdc++-v3 maintainer-clean-target-libstdc++-v3
22627 maybe-maintainer-clean-target-libstdc++-v3:
22628 @if target-libstdc++-v3
22629 maybe-maintainer-clean-target-libstdc++-v3: maintainer-clean-target-libstdc++-v3
22631 maintainer-clean-target-libstdc++-v3:
22632 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
22633 r=`${PWD_COMMAND}`; export r; \
22634 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22635 $(SET_LIB_PATH) \
22636 $(RAW_CXX_TARGET_EXPORTS) \
22637 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
22638 for flag in $(EXTRA_TARGET_FLAGS); do \
22639 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22640 done; \
22641 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
22642 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22643 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22644 "RANLIB=$${RANLIB}" \
22645 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22646 maintainer-clean) \
22647 || exit 1
22649 @endif target-libstdc++-v3
22652 .PHONY: configure-target-libmudflap maybe-configure-target-libmudflap
22653 maybe-configure-target-libmudflap:
22654 @if target-libmudflap
22655 maybe-configure-target-libmudflap: configure-target-libmudflap
22657 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
22658 $(TARGET_SUBDIR)/libmudflap/multilib.out: multilib.out
22659 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libmudflap ; \
22660 rm -f $(TARGET_SUBDIR)/libmudflap/Makefile || : ; \
22661 cp multilib.out $(TARGET_SUBDIR)/libmudflap/multilib.out
22663 configure-target-libmudflap: $(TARGET_SUBDIR)/libmudflap/multilib.out
22664 @test ! -f $(TARGET_SUBDIR)/libmudflap/Makefile || exit 0; \
22665 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libmudflap ; \
22666 r=`${PWD_COMMAND}`; export r; \
22667 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22668 $(SET_LIB_PATH) \
22669 $(NORMAL_TARGET_EXPORTS) \
22670 echo Configuring in $(TARGET_SUBDIR)/libmudflap; \
22671 cd "$(TARGET_SUBDIR)/libmudflap" || exit 1; \
22672 case $(srcdir) in \
22673 /* | [A-Za-z]:[\\/]*) \
22674 topdir=$(srcdir) ;; \
22675 *) \
22676 case "$(TARGET_SUBDIR)" in \
22677 .) topdir="../$(srcdir)" ;; \
22678 *) topdir="../../$(srcdir)" ;; \
22679 esac ;; \
22680 esac; \
22681 srcdiroption="--srcdir=$${topdir}/libmudflap"; \
22682 libsrcdir="$$s/libmudflap"; \
22683 rm -f no-such-file || : ; \
22684 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
22685 $(TARGET_CONFIGARGS) $${srcdiroption} \
22686 --with-target-subdir="$(TARGET_SUBDIR)" \
22687 || exit 1
22688 @endif target-libmudflap
22690 .PHONY: all-target-libmudflap maybe-all-target-libmudflap
22691 maybe-all-target-libmudflap:
22692 @if target-libmudflap
22693 maybe-all-target-libmudflap: all-target-libmudflap
22694 all-target-libmudflap: configure-target-libmudflap
22695 @r=`${PWD_COMMAND}`; export r; \
22696 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22697 $(SET_LIB_PATH) \
22698 $(NORMAL_TARGET_EXPORTS) \
22699 (cd $(TARGET_SUBDIR)/libmudflap && \
22700 $(MAKE) $(TARGET_FLAGS_TO_PASS) all)
22701 @endif target-libmudflap
22703 .PHONY: check-target-libmudflap maybe-check-target-libmudflap
22704 maybe-check-target-libmudflap:
22705 @if target-libmudflap
22706 maybe-check-target-libmudflap: check-target-libmudflap
22708 check-target-libmudflap:
22709 @r=`${PWD_COMMAND}`; export r; \
22710 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22711 $(SET_LIB_PATH) \
22712 $(NORMAL_TARGET_EXPORTS) \
22713 (cd $(TARGET_SUBDIR)/libmudflap && \
22714 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
22716 @endif target-libmudflap
22718 .PHONY: install-target-libmudflap maybe-install-target-libmudflap
22719 maybe-install-target-libmudflap:
22720 @if target-libmudflap
22721 maybe-install-target-libmudflap: install-target-libmudflap
22723 install-target-libmudflap: installdirs
22724 @r=`${PWD_COMMAND}`; export r; \
22725 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22726 $(SET_LIB_PATH) \
22727 $(NORMAL_TARGET_EXPORTS) \
22728 (cd $(TARGET_SUBDIR)/libmudflap && \
22729 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
22731 @endif target-libmudflap
22733 # Other targets (info, dvi, etc.)
22735 .PHONY: maybe-info-target-libmudflap info-target-libmudflap
22736 maybe-info-target-libmudflap:
22737 @if target-libmudflap
22738 maybe-info-target-libmudflap: info-target-libmudflap
22740 info-target-libmudflap: \
22741 configure-target-libmudflap
22742 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
22743 r=`${PWD_COMMAND}`; export r; \
22744 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22745 $(SET_LIB_PATH) \
22746 $(NORMAL_TARGET_EXPORTS) \
22747 echo "Doing info in $(TARGET_SUBDIR)/libmudflap" ; \
22748 for flag in $(EXTRA_TARGET_FLAGS); do \
22749 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22750 done; \
22751 (cd $(TARGET_SUBDIR)/libmudflap && \
22752 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22753 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22754 "RANLIB=$${RANLIB}" \
22755 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22756 info) \
22757 || exit 1
22759 @endif target-libmudflap
22761 .PHONY: maybe-dvi-target-libmudflap dvi-target-libmudflap
22762 maybe-dvi-target-libmudflap:
22763 @if target-libmudflap
22764 maybe-dvi-target-libmudflap: dvi-target-libmudflap
22766 dvi-target-libmudflap: \
22767 configure-target-libmudflap
22768 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
22769 r=`${PWD_COMMAND}`; export r; \
22770 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22771 $(SET_LIB_PATH) \
22772 $(NORMAL_TARGET_EXPORTS) \
22773 echo "Doing dvi in $(TARGET_SUBDIR)/libmudflap" ; \
22774 for flag in $(EXTRA_TARGET_FLAGS); do \
22775 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22776 done; \
22777 (cd $(TARGET_SUBDIR)/libmudflap && \
22778 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22779 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22780 "RANLIB=$${RANLIB}" \
22781 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22782 dvi) \
22783 || exit 1
22785 @endif target-libmudflap
22787 .PHONY: maybe-TAGS-target-libmudflap TAGS-target-libmudflap
22788 maybe-TAGS-target-libmudflap:
22789 @if target-libmudflap
22790 maybe-TAGS-target-libmudflap: TAGS-target-libmudflap
22792 TAGS-target-libmudflap: \
22793 configure-target-libmudflap
22794 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
22795 r=`${PWD_COMMAND}`; export r; \
22796 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22797 $(SET_LIB_PATH) \
22798 $(NORMAL_TARGET_EXPORTS) \
22799 echo "Doing TAGS in $(TARGET_SUBDIR)/libmudflap" ; \
22800 for flag in $(EXTRA_TARGET_FLAGS); do \
22801 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22802 done; \
22803 (cd $(TARGET_SUBDIR)/libmudflap && \
22804 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22805 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22806 "RANLIB=$${RANLIB}" \
22807 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22808 TAGS) \
22809 || exit 1
22811 @endif target-libmudflap
22813 .PHONY: maybe-install-info-target-libmudflap install-info-target-libmudflap
22814 maybe-install-info-target-libmudflap:
22815 @if target-libmudflap
22816 maybe-install-info-target-libmudflap: install-info-target-libmudflap
22818 install-info-target-libmudflap: \
22819 configure-target-libmudflap \
22820 info-target-libmudflap
22821 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
22822 r=`${PWD_COMMAND}`; export r; \
22823 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22824 $(SET_LIB_PATH) \
22825 $(NORMAL_TARGET_EXPORTS) \
22826 echo "Doing install-info in $(TARGET_SUBDIR)/libmudflap" ; \
22827 for flag in $(EXTRA_TARGET_FLAGS); do \
22828 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22829 done; \
22830 (cd $(TARGET_SUBDIR)/libmudflap && \
22831 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22832 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22833 "RANLIB=$${RANLIB}" \
22834 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22835 install-info) \
22836 || exit 1
22838 @endif target-libmudflap
22840 .PHONY: maybe-installcheck-target-libmudflap installcheck-target-libmudflap
22841 maybe-installcheck-target-libmudflap:
22842 @if target-libmudflap
22843 maybe-installcheck-target-libmudflap: installcheck-target-libmudflap
22845 installcheck-target-libmudflap: \
22846 configure-target-libmudflap
22847 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
22848 r=`${PWD_COMMAND}`; export r; \
22849 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22850 $(SET_LIB_PATH) \
22851 $(NORMAL_TARGET_EXPORTS) \
22852 echo "Doing installcheck in $(TARGET_SUBDIR)/libmudflap" ; \
22853 for flag in $(EXTRA_TARGET_FLAGS); do \
22854 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22855 done; \
22856 (cd $(TARGET_SUBDIR)/libmudflap && \
22857 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22858 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22859 "RANLIB=$${RANLIB}" \
22860 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22861 installcheck) \
22862 || exit 1
22864 @endif target-libmudflap
22866 .PHONY: maybe-mostlyclean-target-libmudflap mostlyclean-target-libmudflap
22867 maybe-mostlyclean-target-libmudflap:
22868 @if target-libmudflap
22869 maybe-mostlyclean-target-libmudflap: mostlyclean-target-libmudflap
22871 mostlyclean-target-libmudflap:
22872 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
22873 r=`${PWD_COMMAND}`; export r; \
22874 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22875 $(SET_LIB_PATH) \
22876 $(NORMAL_TARGET_EXPORTS) \
22877 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libmudflap" ; \
22878 for flag in $(EXTRA_TARGET_FLAGS); do \
22879 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22880 done; \
22881 (cd $(TARGET_SUBDIR)/libmudflap && \
22882 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22883 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22884 "RANLIB=$${RANLIB}" \
22885 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22886 mostlyclean) \
22887 || exit 1
22889 @endif target-libmudflap
22891 .PHONY: maybe-clean-target-libmudflap clean-target-libmudflap
22892 maybe-clean-target-libmudflap:
22893 @if target-libmudflap
22894 maybe-clean-target-libmudflap: clean-target-libmudflap
22896 clean-target-libmudflap:
22897 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
22898 r=`${PWD_COMMAND}`; export r; \
22899 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22900 $(SET_LIB_PATH) \
22901 $(NORMAL_TARGET_EXPORTS) \
22902 echo "Doing clean in $(TARGET_SUBDIR)/libmudflap" ; \
22903 for flag in $(EXTRA_TARGET_FLAGS); do \
22904 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22905 done; \
22906 (cd $(TARGET_SUBDIR)/libmudflap && \
22907 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22908 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22909 "RANLIB=$${RANLIB}" \
22910 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22911 clean) \
22912 || exit 1
22914 @endif target-libmudflap
22916 .PHONY: maybe-distclean-target-libmudflap distclean-target-libmudflap
22917 maybe-distclean-target-libmudflap:
22918 @if target-libmudflap
22919 maybe-distclean-target-libmudflap: distclean-target-libmudflap
22921 distclean-target-libmudflap:
22922 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
22923 r=`${PWD_COMMAND}`; export r; \
22924 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22925 $(SET_LIB_PATH) \
22926 $(NORMAL_TARGET_EXPORTS) \
22927 echo "Doing distclean in $(TARGET_SUBDIR)/libmudflap" ; \
22928 for flag in $(EXTRA_TARGET_FLAGS); do \
22929 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22930 done; \
22931 (cd $(TARGET_SUBDIR)/libmudflap && \
22932 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22933 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22934 "RANLIB=$${RANLIB}" \
22935 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22936 distclean) \
22937 || exit 1
22939 @endif target-libmudflap
22941 .PHONY: maybe-maintainer-clean-target-libmudflap maintainer-clean-target-libmudflap
22942 maybe-maintainer-clean-target-libmudflap:
22943 @if target-libmudflap
22944 maybe-maintainer-clean-target-libmudflap: maintainer-clean-target-libmudflap
22946 maintainer-clean-target-libmudflap:
22947 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
22948 r=`${PWD_COMMAND}`; export r; \
22949 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22950 $(SET_LIB_PATH) \
22951 $(NORMAL_TARGET_EXPORTS) \
22952 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libmudflap" ; \
22953 for flag in $(EXTRA_TARGET_FLAGS); do \
22954 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22955 done; \
22956 (cd $(TARGET_SUBDIR)/libmudflap && \
22957 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22958 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22959 "RANLIB=$${RANLIB}" \
22960 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22961 maintainer-clean) \
22962 || exit 1
22964 @endif target-libmudflap
22967 .PHONY: configure-target-newlib maybe-configure-target-newlib
22968 maybe-configure-target-newlib:
22969 @if target-newlib
22970 maybe-configure-target-newlib: configure-target-newlib
22972 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
22973 $(TARGET_SUBDIR)/newlib/multilib.out: multilib.out
22974 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/newlib ; \
22975 rm -f $(TARGET_SUBDIR)/newlib/Makefile || : ; \
22976 cp multilib.out $(TARGET_SUBDIR)/newlib/multilib.out
22978 configure-target-newlib: $(TARGET_SUBDIR)/newlib/multilib.out
22979 @test ! -f $(TARGET_SUBDIR)/newlib/Makefile || exit 0; \
22980 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/newlib ; \
22981 r=`${PWD_COMMAND}`; export r; \
22982 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22983 $(SET_LIB_PATH) \
22984 $(NORMAL_TARGET_EXPORTS) \
22985 echo Configuring in $(TARGET_SUBDIR)/newlib; \
22986 cd "$(TARGET_SUBDIR)/newlib" || exit 1; \
22987 case $(srcdir) in \
22988 /* | [A-Za-z]:[\\/]*) \
22989 topdir=$(srcdir) ;; \
22990 *) \
22991 case "$(TARGET_SUBDIR)" in \
22992 .) topdir="../$(srcdir)" ;; \
22993 *) topdir="../../$(srcdir)" ;; \
22994 esac ;; \
22995 esac; \
22996 srcdiroption="--srcdir=$${topdir}/newlib"; \
22997 libsrcdir="$$s/newlib"; \
22998 rm -f no-such-file || : ; \
22999 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
23000 $(TARGET_CONFIGARGS) $${srcdiroption} \
23001 --with-target-subdir="$(TARGET_SUBDIR)" \
23002 || exit 1
23003 @endif target-newlib
23005 .PHONY: all-target-newlib maybe-all-target-newlib
23006 maybe-all-target-newlib:
23007 @if target-newlib
23008 maybe-all-target-newlib: all-target-newlib
23009 all-target-newlib: configure-target-newlib
23010 @r=`${PWD_COMMAND}`; export r; \
23011 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23012 $(SET_LIB_PATH) \
23013 $(NORMAL_TARGET_EXPORTS) \
23014 (cd $(TARGET_SUBDIR)/newlib && \
23015 $(MAKE) $(TARGET_FLAGS_TO_PASS) all)
23016 @endif target-newlib
23018 .PHONY: check-target-newlib maybe-check-target-newlib
23019 maybe-check-target-newlib:
23020 @if target-newlib
23021 maybe-check-target-newlib: check-target-newlib
23023 check-target-newlib:
23024 @r=`${PWD_COMMAND}`; export r; \
23025 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23026 $(SET_LIB_PATH) \
23027 $(NORMAL_TARGET_EXPORTS) \
23028 (cd $(TARGET_SUBDIR)/newlib && \
23029 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
23031 @endif target-newlib
23033 .PHONY: install-target-newlib maybe-install-target-newlib
23034 maybe-install-target-newlib:
23035 @if target-newlib
23036 maybe-install-target-newlib: install-target-newlib
23038 install-target-newlib: installdirs
23039 @r=`${PWD_COMMAND}`; export r; \
23040 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23041 $(SET_LIB_PATH) \
23042 $(NORMAL_TARGET_EXPORTS) \
23043 (cd $(TARGET_SUBDIR)/newlib && \
23044 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
23046 @endif target-newlib
23048 # Other targets (info, dvi, etc.)
23050 .PHONY: maybe-info-target-newlib info-target-newlib
23051 maybe-info-target-newlib:
23052 @if target-newlib
23053 maybe-info-target-newlib: info-target-newlib
23055 info-target-newlib: \
23056 configure-target-newlib
23057 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
23058 r=`${PWD_COMMAND}`; export r; \
23059 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23060 $(SET_LIB_PATH) \
23061 $(NORMAL_TARGET_EXPORTS) \
23062 echo "Doing info in $(TARGET_SUBDIR)/newlib" ; \
23063 for flag in $(EXTRA_TARGET_FLAGS); do \
23064 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23065 done; \
23066 (cd $(TARGET_SUBDIR)/newlib && \
23067 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23068 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23069 "RANLIB=$${RANLIB}" \
23070 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23071 info) \
23072 || exit 1
23074 @endif target-newlib
23076 .PHONY: maybe-dvi-target-newlib dvi-target-newlib
23077 maybe-dvi-target-newlib:
23078 @if target-newlib
23079 maybe-dvi-target-newlib: dvi-target-newlib
23081 dvi-target-newlib: \
23082 configure-target-newlib
23083 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
23084 r=`${PWD_COMMAND}`; export r; \
23085 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23086 $(SET_LIB_PATH) \
23087 $(NORMAL_TARGET_EXPORTS) \
23088 echo "Doing dvi in $(TARGET_SUBDIR)/newlib" ; \
23089 for flag in $(EXTRA_TARGET_FLAGS); do \
23090 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23091 done; \
23092 (cd $(TARGET_SUBDIR)/newlib && \
23093 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23094 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23095 "RANLIB=$${RANLIB}" \
23096 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23097 dvi) \
23098 || exit 1
23100 @endif target-newlib
23102 .PHONY: maybe-TAGS-target-newlib TAGS-target-newlib
23103 maybe-TAGS-target-newlib:
23104 @if target-newlib
23105 maybe-TAGS-target-newlib: TAGS-target-newlib
23107 TAGS-target-newlib: \
23108 configure-target-newlib
23109 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
23110 r=`${PWD_COMMAND}`; export r; \
23111 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23112 $(SET_LIB_PATH) \
23113 $(NORMAL_TARGET_EXPORTS) \
23114 echo "Doing TAGS in $(TARGET_SUBDIR)/newlib" ; \
23115 for flag in $(EXTRA_TARGET_FLAGS); do \
23116 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23117 done; \
23118 (cd $(TARGET_SUBDIR)/newlib && \
23119 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23120 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23121 "RANLIB=$${RANLIB}" \
23122 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23123 TAGS) \
23124 || exit 1
23126 @endif target-newlib
23128 .PHONY: maybe-install-info-target-newlib install-info-target-newlib
23129 maybe-install-info-target-newlib:
23130 @if target-newlib
23131 maybe-install-info-target-newlib: install-info-target-newlib
23133 install-info-target-newlib: \
23134 configure-target-newlib \
23135 info-target-newlib
23136 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
23137 r=`${PWD_COMMAND}`; export r; \
23138 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23139 $(SET_LIB_PATH) \
23140 $(NORMAL_TARGET_EXPORTS) \
23141 echo "Doing install-info in $(TARGET_SUBDIR)/newlib" ; \
23142 for flag in $(EXTRA_TARGET_FLAGS); do \
23143 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23144 done; \
23145 (cd $(TARGET_SUBDIR)/newlib && \
23146 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23147 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23148 "RANLIB=$${RANLIB}" \
23149 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23150 install-info) \
23151 || exit 1
23153 @endif target-newlib
23155 .PHONY: maybe-installcheck-target-newlib installcheck-target-newlib
23156 maybe-installcheck-target-newlib:
23157 @if target-newlib
23158 maybe-installcheck-target-newlib: installcheck-target-newlib
23160 installcheck-target-newlib: \
23161 configure-target-newlib
23162 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
23163 r=`${PWD_COMMAND}`; export r; \
23164 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23165 $(SET_LIB_PATH) \
23166 $(NORMAL_TARGET_EXPORTS) \
23167 echo "Doing installcheck in $(TARGET_SUBDIR)/newlib" ; \
23168 for flag in $(EXTRA_TARGET_FLAGS); do \
23169 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23170 done; \
23171 (cd $(TARGET_SUBDIR)/newlib && \
23172 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23173 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23174 "RANLIB=$${RANLIB}" \
23175 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23176 installcheck) \
23177 || exit 1
23179 @endif target-newlib
23181 .PHONY: maybe-mostlyclean-target-newlib mostlyclean-target-newlib
23182 maybe-mostlyclean-target-newlib:
23183 @if target-newlib
23184 maybe-mostlyclean-target-newlib: mostlyclean-target-newlib
23186 mostlyclean-target-newlib:
23187 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
23188 r=`${PWD_COMMAND}`; export r; \
23189 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23190 $(SET_LIB_PATH) \
23191 $(NORMAL_TARGET_EXPORTS) \
23192 echo "Doing mostlyclean in $(TARGET_SUBDIR)/newlib" ; \
23193 for flag in $(EXTRA_TARGET_FLAGS); do \
23194 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23195 done; \
23196 (cd $(TARGET_SUBDIR)/newlib && \
23197 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23198 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23199 "RANLIB=$${RANLIB}" \
23200 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23201 mostlyclean) \
23202 || exit 1
23204 @endif target-newlib
23206 .PHONY: maybe-clean-target-newlib clean-target-newlib
23207 maybe-clean-target-newlib:
23208 @if target-newlib
23209 maybe-clean-target-newlib: clean-target-newlib
23211 clean-target-newlib:
23212 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
23213 r=`${PWD_COMMAND}`; export r; \
23214 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23215 $(SET_LIB_PATH) \
23216 $(NORMAL_TARGET_EXPORTS) \
23217 echo "Doing clean in $(TARGET_SUBDIR)/newlib" ; \
23218 for flag in $(EXTRA_TARGET_FLAGS); do \
23219 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23220 done; \
23221 (cd $(TARGET_SUBDIR)/newlib && \
23222 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23223 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23224 "RANLIB=$${RANLIB}" \
23225 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23226 clean) \
23227 || exit 1
23229 @endif target-newlib
23231 .PHONY: maybe-distclean-target-newlib distclean-target-newlib
23232 maybe-distclean-target-newlib:
23233 @if target-newlib
23234 maybe-distclean-target-newlib: distclean-target-newlib
23236 distclean-target-newlib:
23237 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
23238 r=`${PWD_COMMAND}`; export r; \
23239 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23240 $(SET_LIB_PATH) \
23241 $(NORMAL_TARGET_EXPORTS) \
23242 echo "Doing distclean in $(TARGET_SUBDIR)/newlib" ; \
23243 for flag in $(EXTRA_TARGET_FLAGS); do \
23244 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23245 done; \
23246 (cd $(TARGET_SUBDIR)/newlib && \
23247 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23248 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23249 "RANLIB=$${RANLIB}" \
23250 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23251 distclean) \
23252 || exit 1
23254 @endif target-newlib
23256 .PHONY: maybe-maintainer-clean-target-newlib maintainer-clean-target-newlib
23257 maybe-maintainer-clean-target-newlib:
23258 @if target-newlib
23259 maybe-maintainer-clean-target-newlib: maintainer-clean-target-newlib
23261 maintainer-clean-target-newlib:
23262 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
23263 r=`${PWD_COMMAND}`; export r; \
23264 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23265 $(SET_LIB_PATH) \
23266 $(NORMAL_TARGET_EXPORTS) \
23267 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/newlib" ; \
23268 for flag in $(EXTRA_TARGET_FLAGS); do \
23269 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23270 done; \
23271 (cd $(TARGET_SUBDIR)/newlib && \
23272 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23273 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23274 "RANLIB=$${RANLIB}" \
23275 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23276 maintainer-clean) \
23277 || exit 1
23279 @endif target-newlib
23282 .PHONY: configure-target-libgfortran maybe-configure-target-libgfortran
23283 maybe-configure-target-libgfortran:
23284 @if target-libgfortran
23285 maybe-configure-target-libgfortran: configure-target-libgfortran
23287 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
23288 $(TARGET_SUBDIR)/libgfortran/multilib.out: multilib.out
23289 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgfortran ; \
23290 rm -f $(TARGET_SUBDIR)/libgfortran/Makefile || : ; \
23291 cp multilib.out $(TARGET_SUBDIR)/libgfortran/multilib.out
23293 configure-target-libgfortran: $(TARGET_SUBDIR)/libgfortran/multilib.out
23294 @test ! -f $(TARGET_SUBDIR)/libgfortran/Makefile || exit 0; \
23295 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgfortran ; \
23296 r=`${PWD_COMMAND}`; export r; \
23297 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23298 $(SET_LIB_PATH) \
23299 $(NORMAL_TARGET_EXPORTS) \
23300 echo Configuring in $(TARGET_SUBDIR)/libgfortran; \
23301 cd "$(TARGET_SUBDIR)/libgfortran" || exit 1; \
23302 case $(srcdir) in \
23303 /* | [A-Za-z]:[\\/]*) \
23304 topdir=$(srcdir) ;; \
23305 *) \
23306 case "$(TARGET_SUBDIR)" in \
23307 .) topdir="../$(srcdir)" ;; \
23308 *) topdir="../../$(srcdir)" ;; \
23309 esac ;; \
23310 esac; \
23311 srcdiroption="--srcdir=$${topdir}/libgfortran"; \
23312 libsrcdir="$$s/libgfortran"; \
23313 rm -f no-such-file || : ; \
23314 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
23315 $(TARGET_CONFIGARGS) $${srcdiroption} \
23316 --with-target-subdir="$(TARGET_SUBDIR)" \
23317 || exit 1
23318 @endif target-libgfortran
23320 .PHONY: all-target-libgfortran maybe-all-target-libgfortran
23321 maybe-all-target-libgfortran:
23322 @if target-libgfortran
23323 maybe-all-target-libgfortran: all-target-libgfortran
23324 all-target-libgfortran: configure-target-libgfortran
23325 @r=`${PWD_COMMAND}`; export r; \
23326 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23327 $(SET_LIB_PATH) \
23328 $(NORMAL_TARGET_EXPORTS) \
23329 (cd $(TARGET_SUBDIR)/libgfortran && \
23330 $(MAKE) $(TARGET_FLAGS_TO_PASS) all)
23331 @endif target-libgfortran
23333 .PHONY: check-target-libgfortran maybe-check-target-libgfortran
23334 maybe-check-target-libgfortran:
23335 @if target-libgfortran
23336 maybe-check-target-libgfortran: check-target-libgfortran
23338 check-target-libgfortran:
23339 @r=`${PWD_COMMAND}`; export r; \
23340 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23341 $(SET_LIB_PATH) \
23342 $(NORMAL_TARGET_EXPORTS) \
23343 (cd $(TARGET_SUBDIR)/libgfortran && \
23344 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
23346 @endif target-libgfortran
23348 .PHONY: install-target-libgfortran maybe-install-target-libgfortran
23349 maybe-install-target-libgfortran:
23350 @if target-libgfortran
23351 maybe-install-target-libgfortran: install-target-libgfortran
23353 install-target-libgfortran: installdirs
23354 @r=`${PWD_COMMAND}`; export r; \
23355 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23356 $(SET_LIB_PATH) \
23357 $(NORMAL_TARGET_EXPORTS) \
23358 (cd $(TARGET_SUBDIR)/libgfortran && \
23359 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
23361 @endif target-libgfortran
23363 # Other targets (info, dvi, etc.)
23365 .PHONY: maybe-info-target-libgfortran info-target-libgfortran
23366 maybe-info-target-libgfortran:
23367 @if target-libgfortran
23368 maybe-info-target-libgfortran: info-target-libgfortran
23370 info-target-libgfortran: \
23371 configure-target-libgfortran
23372 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
23373 r=`${PWD_COMMAND}`; export r; \
23374 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23375 $(SET_LIB_PATH) \
23376 $(NORMAL_TARGET_EXPORTS) \
23377 echo "Doing info in $(TARGET_SUBDIR)/libgfortran" ; \
23378 for flag in $(EXTRA_TARGET_FLAGS); do \
23379 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23380 done; \
23381 (cd $(TARGET_SUBDIR)/libgfortran && \
23382 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23383 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23384 "RANLIB=$${RANLIB}" \
23385 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23386 info) \
23387 || exit 1
23389 @endif target-libgfortran
23391 .PHONY: maybe-dvi-target-libgfortran dvi-target-libgfortran
23392 maybe-dvi-target-libgfortran:
23393 @if target-libgfortran
23394 maybe-dvi-target-libgfortran: dvi-target-libgfortran
23396 dvi-target-libgfortran: \
23397 configure-target-libgfortran
23398 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
23399 r=`${PWD_COMMAND}`; export r; \
23400 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23401 $(SET_LIB_PATH) \
23402 $(NORMAL_TARGET_EXPORTS) \
23403 echo "Doing dvi in $(TARGET_SUBDIR)/libgfortran" ; \
23404 for flag in $(EXTRA_TARGET_FLAGS); do \
23405 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23406 done; \
23407 (cd $(TARGET_SUBDIR)/libgfortran && \
23408 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23409 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23410 "RANLIB=$${RANLIB}" \
23411 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23412 dvi) \
23413 || exit 1
23415 @endif target-libgfortran
23417 .PHONY: maybe-TAGS-target-libgfortran TAGS-target-libgfortran
23418 maybe-TAGS-target-libgfortran:
23419 @if target-libgfortran
23420 maybe-TAGS-target-libgfortran: TAGS-target-libgfortran
23422 TAGS-target-libgfortran: \
23423 configure-target-libgfortran
23424 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
23425 r=`${PWD_COMMAND}`; export r; \
23426 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23427 $(SET_LIB_PATH) \
23428 $(NORMAL_TARGET_EXPORTS) \
23429 echo "Doing TAGS in $(TARGET_SUBDIR)/libgfortran" ; \
23430 for flag in $(EXTRA_TARGET_FLAGS); do \
23431 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23432 done; \
23433 (cd $(TARGET_SUBDIR)/libgfortran && \
23434 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23435 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23436 "RANLIB=$${RANLIB}" \
23437 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23438 TAGS) \
23439 || exit 1
23441 @endif target-libgfortran
23443 .PHONY: maybe-install-info-target-libgfortran install-info-target-libgfortran
23444 maybe-install-info-target-libgfortran:
23445 @if target-libgfortran
23446 maybe-install-info-target-libgfortran: install-info-target-libgfortran
23448 install-info-target-libgfortran: \
23449 configure-target-libgfortran \
23450 info-target-libgfortran
23451 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
23452 r=`${PWD_COMMAND}`; export r; \
23453 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23454 $(SET_LIB_PATH) \
23455 $(NORMAL_TARGET_EXPORTS) \
23456 echo "Doing install-info in $(TARGET_SUBDIR)/libgfortran" ; \
23457 for flag in $(EXTRA_TARGET_FLAGS); do \
23458 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23459 done; \
23460 (cd $(TARGET_SUBDIR)/libgfortran && \
23461 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23462 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23463 "RANLIB=$${RANLIB}" \
23464 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23465 install-info) \
23466 || exit 1
23468 @endif target-libgfortran
23470 .PHONY: maybe-installcheck-target-libgfortran installcheck-target-libgfortran
23471 maybe-installcheck-target-libgfortran:
23472 @if target-libgfortran
23473 maybe-installcheck-target-libgfortran: installcheck-target-libgfortran
23475 installcheck-target-libgfortran: \
23476 configure-target-libgfortran
23477 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
23478 r=`${PWD_COMMAND}`; export r; \
23479 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23480 $(SET_LIB_PATH) \
23481 $(NORMAL_TARGET_EXPORTS) \
23482 echo "Doing installcheck in $(TARGET_SUBDIR)/libgfortran" ; \
23483 for flag in $(EXTRA_TARGET_FLAGS); do \
23484 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23485 done; \
23486 (cd $(TARGET_SUBDIR)/libgfortran && \
23487 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23488 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23489 "RANLIB=$${RANLIB}" \
23490 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23491 installcheck) \
23492 || exit 1
23494 @endif target-libgfortran
23496 .PHONY: maybe-mostlyclean-target-libgfortran mostlyclean-target-libgfortran
23497 maybe-mostlyclean-target-libgfortran:
23498 @if target-libgfortran
23499 maybe-mostlyclean-target-libgfortran: mostlyclean-target-libgfortran
23501 mostlyclean-target-libgfortran:
23502 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
23503 r=`${PWD_COMMAND}`; export r; \
23504 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23505 $(SET_LIB_PATH) \
23506 $(NORMAL_TARGET_EXPORTS) \
23507 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgfortran" ; \
23508 for flag in $(EXTRA_TARGET_FLAGS); do \
23509 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23510 done; \
23511 (cd $(TARGET_SUBDIR)/libgfortran && \
23512 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23513 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23514 "RANLIB=$${RANLIB}" \
23515 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23516 mostlyclean) \
23517 || exit 1
23519 @endif target-libgfortran
23521 .PHONY: maybe-clean-target-libgfortran clean-target-libgfortran
23522 maybe-clean-target-libgfortran:
23523 @if target-libgfortran
23524 maybe-clean-target-libgfortran: clean-target-libgfortran
23526 clean-target-libgfortran:
23527 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
23528 r=`${PWD_COMMAND}`; export r; \
23529 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23530 $(SET_LIB_PATH) \
23531 $(NORMAL_TARGET_EXPORTS) \
23532 echo "Doing clean in $(TARGET_SUBDIR)/libgfortran" ; \
23533 for flag in $(EXTRA_TARGET_FLAGS); do \
23534 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23535 done; \
23536 (cd $(TARGET_SUBDIR)/libgfortran && \
23537 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23538 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23539 "RANLIB=$${RANLIB}" \
23540 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23541 clean) \
23542 || exit 1
23544 @endif target-libgfortran
23546 .PHONY: maybe-distclean-target-libgfortran distclean-target-libgfortran
23547 maybe-distclean-target-libgfortran:
23548 @if target-libgfortran
23549 maybe-distclean-target-libgfortran: distclean-target-libgfortran
23551 distclean-target-libgfortran:
23552 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
23553 r=`${PWD_COMMAND}`; export r; \
23554 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23555 $(SET_LIB_PATH) \
23556 $(NORMAL_TARGET_EXPORTS) \
23557 echo "Doing distclean in $(TARGET_SUBDIR)/libgfortran" ; \
23558 for flag in $(EXTRA_TARGET_FLAGS); do \
23559 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23560 done; \
23561 (cd $(TARGET_SUBDIR)/libgfortran && \
23562 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23563 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23564 "RANLIB=$${RANLIB}" \
23565 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23566 distclean) \
23567 || exit 1
23569 @endif target-libgfortran
23571 .PHONY: maybe-maintainer-clean-target-libgfortran maintainer-clean-target-libgfortran
23572 maybe-maintainer-clean-target-libgfortran:
23573 @if target-libgfortran
23574 maybe-maintainer-clean-target-libgfortran: maintainer-clean-target-libgfortran
23576 maintainer-clean-target-libgfortran:
23577 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
23578 r=`${PWD_COMMAND}`; export r; \
23579 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23580 $(SET_LIB_PATH) \
23581 $(NORMAL_TARGET_EXPORTS) \
23582 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgfortran" ; \
23583 for flag in $(EXTRA_TARGET_FLAGS); do \
23584 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23585 done; \
23586 (cd $(TARGET_SUBDIR)/libgfortran && \
23587 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23588 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23589 "RANLIB=$${RANLIB}" \
23590 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23591 maintainer-clean) \
23592 || exit 1
23594 @endif target-libgfortran
23597 .PHONY: configure-target-libobjc maybe-configure-target-libobjc
23598 maybe-configure-target-libobjc:
23599 @if target-libobjc
23600 maybe-configure-target-libobjc: configure-target-libobjc
23602 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
23603 $(TARGET_SUBDIR)/libobjc/multilib.out: multilib.out
23604 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libobjc ; \
23605 rm -f $(TARGET_SUBDIR)/libobjc/Makefile || : ; \
23606 cp multilib.out $(TARGET_SUBDIR)/libobjc/multilib.out
23608 configure-target-libobjc: $(TARGET_SUBDIR)/libobjc/multilib.out
23609 @test ! -f $(TARGET_SUBDIR)/libobjc/Makefile || exit 0; \
23610 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libobjc ; \
23611 r=`${PWD_COMMAND}`; export r; \
23612 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23613 $(SET_LIB_PATH) \
23614 $(NORMAL_TARGET_EXPORTS) \
23615 echo Configuring in $(TARGET_SUBDIR)/libobjc; \
23616 cd "$(TARGET_SUBDIR)/libobjc" || exit 1; \
23617 case $(srcdir) in \
23618 /* | [A-Za-z]:[\\/]*) \
23619 topdir=$(srcdir) ;; \
23620 *) \
23621 case "$(TARGET_SUBDIR)" in \
23622 .) topdir="../$(srcdir)" ;; \
23623 *) topdir="../../$(srcdir)" ;; \
23624 esac ;; \
23625 esac; \
23626 srcdiroption="--srcdir=$${topdir}/libobjc"; \
23627 libsrcdir="$$s/libobjc"; \
23628 rm -f no-such-file || : ; \
23629 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
23630 $(TARGET_CONFIGARGS) $${srcdiroption} \
23631 --with-target-subdir="$(TARGET_SUBDIR)" \
23632 || exit 1
23633 @endif target-libobjc
23635 .PHONY: all-target-libobjc maybe-all-target-libobjc
23636 maybe-all-target-libobjc:
23637 @if target-libobjc
23638 maybe-all-target-libobjc: all-target-libobjc
23639 all-target-libobjc: configure-target-libobjc
23640 @r=`${PWD_COMMAND}`; export r; \
23641 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23642 $(SET_LIB_PATH) \
23643 $(NORMAL_TARGET_EXPORTS) \
23644 (cd $(TARGET_SUBDIR)/libobjc && \
23645 $(MAKE) $(TARGET_FLAGS_TO_PASS) all)
23646 @endif target-libobjc
23648 .PHONY: check-target-libobjc maybe-check-target-libobjc
23649 maybe-check-target-libobjc:
23650 @if target-libobjc
23651 maybe-check-target-libobjc: check-target-libobjc
23653 check-target-libobjc:
23654 @r=`${PWD_COMMAND}`; export r; \
23655 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23656 $(SET_LIB_PATH) \
23657 $(NORMAL_TARGET_EXPORTS) \
23658 (cd $(TARGET_SUBDIR)/libobjc && \
23659 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
23661 @endif target-libobjc
23663 .PHONY: install-target-libobjc maybe-install-target-libobjc
23664 maybe-install-target-libobjc:
23665 @if target-libobjc
23666 maybe-install-target-libobjc: install-target-libobjc
23668 install-target-libobjc: installdirs
23669 @r=`${PWD_COMMAND}`; export r; \
23670 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23671 $(SET_LIB_PATH) \
23672 $(NORMAL_TARGET_EXPORTS) \
23673 (cd $(TARGET_SUBDIR)/libobjc && \
23674 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
23676 @endif target-libobjc
23678 # Other targets (info, dvi, etc.)
23680 .PHONY: maybe-info-target-libobjc info-target-libobjc
23681 maybe-info-target-libobjc:
23682 @if target-libobjc
23683 maybe-info-target-libobjc: info-target-libobjc
23685 info-target-libobjc: \
23686 configure-target-libobjc
23687 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
23688 r=`${PWD_COMMAND}`; export r; \
23689 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23690 $(SET_LIB_PATH) \
23691 $(NORMAL_TARGET_EXPORTS) \
23692 echo "Doing info in $(TARGET_SUBDIR)/libobjc" ; \
23693 for flag in $(EXTRA_TARGET_FLAGS); do \
23694 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23695 done; \
23696 (cd $(TARGET_SUBDIR)/libobjc && \
23697 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23698 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23699 "RANLIB=$${RANLIB}" \
23700 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23701 info) \
23702 || exit 1
23704 @endif target-libobjc
23706 .PHONY: maybe-dvi-target-libobjc dvi-target-libobjc
23707 maybe-dvi-target-libobjc:
23708 @if target-libobjc
23709 maybe-dvi-target-libobjc: dvi-target-libobjc
23711 dvi-target-libobjc: \
23712 configure-target-libobjc
23713 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
23714 r=`${PWD_COMMAND}`; export r; \
23715 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23716 $(SET_LIB_PATH) \
23717 $(NORMAL_TARGET_EXPORTS) \
23718 echo "Doing dvi in $(TARGET_SUBDIR)/libobjc" ; \
23719 for flag in $(EXTRA_TARGET_FLAGS); do \
23720 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23721 done; \
23722 (cd $(TARGET_SUBDIR)/libobjc && \
23723 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23724 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23725 "RANLIB=$${RANLIB}" \
23726 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23727 dvi) \
23728 || exit 1
23730 @endif target-libobjc
23732 .PHONY: maybe-TAGS-target-libobjc TAGS-target-libobjc
23733 maybe-TAGS-target-libobjc:
23734 @if target-libobjc
23735 maybe-TAGS-target-libobjc: TAGS-target-libobjc
23737 TAGS-target-libobjc: \
23738 configure-target-libobjc
23739 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
23740 r=`${PWD_COMMAND}`; export r; \
23741 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23742 $(SET_LIB_PATH) \
23743 $(NORMAL_TARGET_EXPORTS) \
23744 echo "Doing TAGS in $(TARGET_SUBDIR)/libobjc" ; \
23745 for flag in $(EXTRA_TARGET_FLAGS); do \
23746 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23747 done; \
23748 (cd $(TARGET_SUBDIR)/libobjc && \
23749 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23750 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23751 "RANLIB=$${RANLIB}" \
23752 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23753 TAGS) \
23754 || exit 1
23756 @endif target-libobjc
23758 .PHONY: maybe-install-info-target-libobjc install-info-target-libobjc
23759 maybe-install-info-target-libobjc:
23760 @if target-libobjc
23761 maybe-install-info-target-libobjc: install-info-target-libobjc
23763 install-info-target-libobjc: \
23764 configure-target-libobjc \
23765 info-target-libobjc
23766 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
23767 r=`${PWD_COMMAND}`; export r; \
23768 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23769 $(SET_LIB_PATH) \
23770 $(NORMAL_TARGET_EXPORTS) \
23771 echo "Doing install-info in $(TARGET_SUBDIR)/libobjc" ; \
23772 for flag in $(EXTRA_TARGET_FLAGS); do \
23773 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23774 done; \
23775 (cd $(TARGET_SUBDIR)/libobjc && \
23776 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23777 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23778 "RANLIB=$${RANLIB}" \
23779 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23780 install-info) \
23781 || exit 1
23783 @endif target-libobjc
23785 .PHONY: maybe-installcheck-target-libobjc installcheck-target-libobjc
23786 maybe-installcheck-target-libobjc:
23787 @if target-libobjc
23788 maybe-installcheck-target-libobjc: installcheck-target-libobjc
23790 installcheck-target-libobjc: \
23791 configure-target-libobjc
23792 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
23793 r=`${PWD_COMMAND}`; export r; \
23794 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23795 $(SET_LIB_PATH) \
23796 $(NORMAL_TARGET_EXPORTS) \
23797 echo "Doing installcheck in $(TARGET_SUBDIR)/libobjc" ; \
23798 for flag in $(EXTRA_TARGET_FLAGS); do \
23799 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23800 done; \
23801 (cd $(TARGET_SUBDIR)/libobjc && \
23802 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23803 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23804 "RANLIB=$${RANLIB}" \
23805 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23806 installcheck) \
23807 || exit 1
23809 @endif target-libobjc
23811 .PHONY: maybe-mostlyclean-target-libobjc mostlyclean-target-libobjc
23812 maybe-mostlyclean-target-libobjc:
23813 @if target-libobjc
23814 maybe-mostlyclean-target-libobjc: mostlyclean-target-libobjc
23816 mostlyclean-target-libobjc:
23817 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
23818 r=`${PWD_COMMAND}`; export r; \
23819 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23820 $(SET_LIB_PATH) \
23821 $(NORMAL_TARGET_EXPORTS) \
23822 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libobjc" ; \
23823 for flag in $(EXTRA_TARGET_FLAGS); do \
23824 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23825 done; \
23826 (cd $(TARGET_SUBDIR)/libobjc && \
23827 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23828 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23829 "RANLIB=$${RANLIB}" \
23830 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23831 mostlyclean) \
23832 || exit 1
23834 @endif target-libobjc
23836 .PHONY: maybe-clean-target-libobjc clean-target-libobjc
23837 maybe-clean-target-libobjc:
23838 @if target-libobjc
23839 maybe-clean-target-libobjc: clean-target-libobjc
23841 clean-target-libobjc:
23842 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
23843 r=`${PWD_COMMAND}`; export r; \
23844 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23845 $(SET_LIB_PATH) \
23846 $(NORMAL_TARGET_EXPORTS) \
23847 echo "Doing clean in $(TARGET_SUBDIR)/libobjc" ; \
23848 for flag in $(EXTRA_TARGET_FLAGS); do \
23849 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23850 done; \
23851 (cd $(TARGET_SUBDIR)/libobjc && \
23852 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23853 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23854 "RANLIB=$${RANLIB}" \
23855 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23856 clean) \
23857 || exit 1
23859 @endif target-libobjc
23861 .PHONY: maybe-distclean-target-libobjc distclean-target-libobjc
23862 maybe-distclean-target-libobjc:
23863 @if target-libobjc
23864 maybe-distclean-target-libobjc: distclean-target-libobjc
23866 distclean-target-libobjc:
23867 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
23868 r=`${PWD_COMMAND}`; export r; \
23869 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23870 $(SET_LIB_PATH) \
23871 $(NORMAL_TARGET_EXPORTS) \
23872 echo "Doing distclean in $(TARGET_SUBDIR)/libobjc" ; \
23873 for flag in $(EXTRA_TARGET_FLAGS); do \
23874 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23875 done; \
23876 (cd $(TARGET_SUBDIR)/libobjc && \
23877 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23878 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23879 "RANLIB=$${RANLIB}" \
23880 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23881 distclean) \
23882 || exit 1
23884 @endif target-libobjc
23886 .PHONY: maybe-maintainer-clean-target-libobjc maintainer-clean-target-libobjc
23887 maybe-maintainer-clean-target-libobjc:
23888 @if target-libobjc
23889 maybe-maintainer-clean-target-libobjc: maintainer-clean-target-libobjc
23891 maintainer-clean-target-libobjc:
23892 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
23893 r=`${PWD_COMMAND}`; export r; \
23894 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23895 $(SET_LIB_PATH) \
23896 $(NORMAL_TARGET_EXPORTS) \
23897 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libobjc" ; \
23898 for flag in $(EXTRA_TARGET_FLAGS); do \
23899 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23900 done; \
23901 (cd $(TARGET_SUBDIR)/libobjc && \
23902 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23903 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23904 "RANLIB=$${RANLIB}" \
23905 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23906 maintainer-clean) \
23907 || exit 1
23909 @endif target-libobjc
23912 .PHONY: configure-target-libtermcap maybe-configure-target-libtermcap
23913 maybe-configure-target-libtermcap:
23914 @if target-libtermcap
23915 maybe-configure-target-libtermcap: configure-target-libtermcap
23917 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
23918 $(TARGET_SUBDIR)/libtermcap/multilib.out: multilib.out
23919 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libtermcap ; \
23920 rm -f $(TARGET_SUBDIR)/libtermcap/Makefile || : ; \
23921 cp multilib.out $(TARGET_SUBDIR)/libtermcap/multilib.out
23923 configure-target-libtermcap: $(TARGET_SUBDIR)/libtermcap/multilib.out
23924 @test ! -f $(TARGET_SUBDIR)/libtermcap/Makefile || exit 0; \
23925 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libtermcap ; \
23926 r=`${PWD_COMMAND}`; export r; \
23927 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23928 $(SET_LIB_PATH) \
23929 $(NORMAL_TARGET_EXPORTS) \
23930 echo Configuring in $(TARGET_SUBDIR)/libtermcap; \
23931 cd "$(TARGET_SUBDIR)/libtermcap" || exit 1; \
23932 case $(srcdir) in \
23933 /* | [A-Za-z]:[\\/]*) \
23934 topdir=$(srcdir) ;; \
23935 *) \
23936 case "$(TARGET_SUBDIR)" in \
23937 .) topdir="../$(srcdir)" ;; \
23938 *) topdir="../../$(srcdir)" ;; \
23939 esac ;; \
23940 esac; \
23941 if [ "$(srcdir)" = "." ] ; then \
23942 if [ "$(TARGET_SUBDIR)" != "." ] ; then \
23943 if $(SHELL) $$s/symlink-tree $${topdir}/libtermcap "no-such-file" ; then \
23944 if [ -f Makefile ]; then \
23945 if $(MAKE) distclean; then \
23946 true; \
23947 else \
23948 exit 1; \
23949 fi; \
23950 else \
23951 true; \
23952 fi; \
23953 else \
23954 exit 1; \
23955 fi; \
23956 else \
23957 true; \
23958 fi; \
23959 srcdiroption="--srcdir=."; \
23960 libsrcdir="."; \
23961 else \
23962 srcdiroption="--srcdir=$${topdir}/libtermcap"; \
23963 libsrcdir="$$s/libtermcap"; \
23964 fi; \
23965 rm -f no-such-file || : ; \
23966 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
23967 $(TARGET_CONFIGARGS) $${srcdiroption} \
23968 --with-target-subdir="$(TARGET_SUBDIR)" \
23969 || exit 1
23970 @endif target-libtermcap
23972 .PHONY: all-target-libtermcap maybe-all-target-libtermcap
23973 maybe-all-target-libtermcap:
23974 @if target-libtermcap
23975 maybe-all-target-libtermcap: all-target-libtermcap
23976 all-target-libtermcap: configure-target-libtermcap
23977 @r=`${PWD_COMMAND}`; export r; \
23978 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23979 $(SET_LIB_PATH) \
23980 $(NORMAL_TARGET_EXPORTS) \
23981 (cd $(TARGET_SUBDIR)/libtermcap && \
23982 $(MAKE) $(TARGET_FLAGS_TO_PASS) all)
23983 @endif target-libtermcap
23985 .PHONY: check-target-libtermcap maybe-check-target-libtermcap
23986 maybe-check-target-libtermcap:
23987 @if target-libtermcap
23988 maybe-check-target-libtermcap: check-target-libtermcap
23990 # Dummy target for uncheckable module.
23991 check-target-libtermcap:
23993 @endif target-libtermcap
23995 .PHONY: install-target-libtermcap maybe-install-target-libtermcap
23996 maybe-install-target-libtermcap:
23997 @if target-libtermcap
23998 maybe-install-target-libtermcap: install-target-libtermcap
24000 install-target-libtermcap: installdirs
24001 @r=`${PWD_COMMAND}`; export r; \
24002 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24003 $(SET_LIB_PATH) \
24004 $(NORMAL_TARGET_EXPORTS) \
24005 (cd $(TARGET_SUBDIR)/libtermcap && \
24006 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
24008 @endif target-libtermcap
24010 # Other targets (info, dvi, etc.)
24012 .PHONY: maybe-info-target-libtermcap info-target-libtermcap
24013 maybe-info-target-libtermcap:
24014 @if target-libtermcap
24015 maybe-info-target-libtermcap: info-target-libtermcap
24017 info-target-libtermcap: \
24018 configure-target-libtermcap
24019 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
24020 r=`${PWD_COMMAND}`; export r; \
24021 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24022 $(SET_LIB_PATH) \
24023 $(NORMAL_TARGET_EXPORTS) \
24024 echo "Doing info in $(TARGET_SUBDIR)/libtermcap" ; \
24025 for flag in $(EXTRA_TARGET_FLAGS); do \
24026 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24027 done; \
24028 (cd $(TARGET_SUBDIR)/libtermcap && \
24029 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24030 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24031 "RANLIB=$${RANLIB}" \
24032 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24033 info) \
24034 || exit 1
24036 @endif target-libtermcap
24038 .PHONY: maybe-dvi-target-libtermcap dvi-target-libtermcap
24039 maybe-dvi-target-libtermcap:
24040 @if target-libtermcap
24041 maybe-dvi-target-libtermcap: dvi-target-libtermcap
24043 dvi-target-libtermcap: \
24044 configure-target-libtermcap
24045 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
24046 r=`${PWD_COMMAND}`; export r; \
24047 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24048 $(SET_LIB_PATH) \
24049 $(NORMAL_TARGET_EXPORTS) \
24050 echo "Doing dvi in $(TARGET_SUBDIR)/libtermcap" ; \
24051 for flag in $(EXTRA_TARGET_FLAGS); do \
24052 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24053 done; \
24054 (cd $(TARGET_SUBDIR)/libtermcap && \
24055 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24056 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24057 "RANLIB=$${RANLIB}" \
24058 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24059 dvi) \
24060 || exit 1
24062 @endif target-libtermcap
24064 .PHONY: maybe-TAGS-target-libtermcap TAGS-target-libtermcap
24065 maybe-TAGS-target-libtermcap:
24066 @if target-libtermcap
24067 maybe-TAGS-target-libtermcap: TAGS-target-libtermcap
24069 TAGS-target-libtermcap: \
24070 configure-target-libtermcap
24071 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
24072 r=`${PWD_COMMAND}`; export r; \
24073 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24074 $(SET_LIB_PATH) \
24075 $(NORMAL_TARGET_EXPORTS) \
24076 echo "Doing TAGS in $(TARGET_SUBDIR)/libtermcap" ; \
24077 for flag in $(EXTRA_TARGET_FLAGS); do \
24078 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24079 done; \
24080 (cd $(TARGET_SUBDIR)/libtermcap && \
24081 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24082 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24083 "RANLIB=$${RANLIB}" \
24084 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24085 TAGS) \
24086 || exit 1
24088 @endif target-libtermcap
24090 .PHONY: maybe-install-info-target-libtermcap install-info-target-libtermcap
24091 maybe-install-info-target-libtermcap:
24092 @if target-libtermcap
24093 maybe-install-info-target-libtermcap: install-info-target-libtermcap
24095 install-info-target-libtermcap: \
24096 configure-target-libtermcap \
24097 info-target-libtermcap
24098 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
24099 r=`${PWD_COMMAND}`; export r; \
24100 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24101 $(SET_LIB_PATH) \
24102 $(NORMAL_TARGET_EXPORTS) \
24103 echo "Doing install-info in $(TARGET_SUBDIR)/libtermcap" ; \
24104 for flag in $(EXTRA_TARGET_FLAGS); do \
24105 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24106 done; \
24107 (cd $(TARGET_SUBDIR)/libtermcap && \
24108 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24109 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24110 "RANLIB=$${RANLIB}" \
24111 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24112 install-info) \
24113 || exit 1
24115 @endif target-libtermcap
24117 .PHONY: maybe-installcheck-target-libtermcap installcheck-target-libtermcap
24118 maybe-installcheck-target-libtermcap:
24119 @if target-libtermcap
24120 maybe-installcheck-target-libtermcap: installcheck-target-libtermcap
24122 installcheck-target-libtermcap: \
24123 configure-target-libtermcap
24124 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
24125 r=`${PWD_COMMAND}`; export r; \
24126 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24127 $(SET_LIB_PATH) \
24128 $(NORMAL_TARGET_EXPORTS) \
24129 echo "Doing installcheck in $(TARGET_SUBDIR)/libtermcap" ; \
24130 for flag in $(EXTRA_TARGET_FLAGS); do \
24131 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24132 done; \
24133 (cd $(TARGET_SUBDIR)/libtermcap && \
24134 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24135 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24136 "RANLIB=$${RANLIB}" \
24137 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24138 installcheck) \
24139 || exit 1
24141 @endif target-libtermcap
24143 .PHONY: maybe-mostlyclean-target-libtermcap mostlyclean-target-libtermcap
24144 maybe-mostlyclean-target-libtermcap:
24145 @if target-libtermcap
24146 maybe-mostlyclean-target-libtermcap: mostlyclean-target-libtermcap
24148 # libtermcap doesn't support mostlyclean.
24149 mostlyclean-target-libtermcap:
24151 @endif target-libtermcap
24153 .PHONY: maybe-clean-target-libtermcap clean-target-libtermcap
24154 maybe-clean-target-libtermcap:
24155 @if target-libtermcap
24156 maybe-clean-target-libtermcap: clean-target-libtermcap
24158 # libtermcap doesn't support clean.
24159 clean-target-libtermcap:
24161 @endif target-libtermcap
24163 .PHONY: maybe-distclean-target-libtermcap distclean-target-libtermcap
24164 maybe-distclean-target-libtermcap:
24165 @if target-libtermcap
24166 maybe-distclean-target-libtermcap: distclean-target-libtermcap
24168 # libtermcap doesn't support distclean.
24169 distclean-target-libtermcap:
24171 @endif target-libtermcap
24173 .PHONY: maybe-maintainer-clean-target-libtermcap maintainer-clean-target-libtermcap
24174 maybe-maintainer-clean-target-libtermcap:
24175 @if target-libtermcap
24176 maybe-maintainer-clean-target-libtermcap: maintainer-clean-target-libtermcap
24178 # libtermcap doesn't support maintainer-clean.
24179 maintainer-clean-target-libtermcap:
24181 @endif target-libtermcap
24184 .PHONY: configure-target-winsup maybe-configure-target-winsup
24185 maybe-configure-target-winsup:
24186 @if target-winsup
24187 maybe-configure-target-winsup: configure-target-winsup
24189 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
24190 $(TARGET_SUBDIR)/winsup/multilib.out: multilib.out
24191 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/winsup ; \
24192 rm -f $(TARGET_SUBDIR)/winsup/Makefile || : ; \
24193 cp multilib.out $(TARGET_SUBDIR)/winsup/multilib.out
24195 configure-target-winsup: $(TARGET_SUBDIR)/winsup/multilib.out
24196 @test ! -f $(TARGET_SUBDIR)/winsup/Makefile || exit 0; \
24197 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/winsup ; \
24198 r=`${PWD_COMMAND}`; export r; \
24199 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24200 $(SET_LIB_PATH) \
24201 $(NORMAL_TARGET_EXPORTS) \
24202 echo Configuring in $(TARGET_SUBDIR)/winsup; \
24203 cd "$(TARGET_SUBDIR)/winsup" || exit 1; \
24204 case $(srcdir) in \
24205 /* | [A-Za-z]:[\\/]*) \
24206 topdir=$(srcdir) ;; \
24207 *) \
24208 case "$(TARGET_SUBDIR)" in \
24209 .) topdir="../$(srcdir)" ;; \
24210 *) topdir="../../$(srcdir)" ;; \
24211 esac ;; \
24212 esac; \
24213 srcdiroption="--srcdir=$${topdir}/winsup"; \
24214 libsrcdir="$$s/winsup"; \
24215 rm -f no-such-file || : ; \
24216 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
24217 $(TARGET_CONFIGARGS) $${srcdiroption} \
24218 --with-target-subdir="$(TARGET_SUBDIR)" \
24219 || exit 1
24220 @endif target-winsup
24222 .PHONY: all-target-winsup maybe-all-target-winsup
24223 maybe-all-target-winsup:
24224 @if target-winsup
24225 maybe-all-target-winsup: all-target-winsup
24226 all-target-winsup: configure-target-winsup
24227 @r=`${PWD_COMMAND}`; export r; \
24228 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24229 $(SET_LIB_PATH) \
24230 $(NORMAL_TARGET_EXPORTS) \
24231 (cd $(TARGET_SUBDIR)/winsup && \
24232 $(MAKE) $(TARGET_FLAGS_TO_PASS) all)
24233 @endif target-winsup
24235 .PHONY: check-target-winsup maybe-check-target-winsup
24236 maybe-check-target-winsup:
24237 @if target-winsup
24238 maybe-check-target-winsup: check-target-winsup
24240 check-target-winsup:
24241 @r=`${PWD_COMMAND}`; export r; \
24242 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24243 $(SET_LIB_PATH) \
24244 $(NORMAL_TARGET_EXPORTS) \
24245 (cd $(TARGET_SUBDIR)/winsup && \
24246 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
24248 @endif target-winsup
24250 .PHONY: install-target-winsup maybe-install-target-winsup
24251 maybe-install-target-winsup:
24252 @if target-winsup
24253 maybe-install-target-winsup: install-target-winsup
24255 install-target-winsup: installdirs
24256 @r=`${PWD_COMMAND}`; export r; \
24257 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24258 $(SET_LIB_PATH) \
24259 $(NORMAL_TARGET_EXPORTS) \
24260 (cd $(TARGET_SUBDIR)/winsup && \
24261 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
24263 @endif target-winsup
24265 # Other targets (info, dvi, etc.)
24267 .PHONY: maybe-info-target-winsup info-target-winsup
24268 maybe-info-target-winsup:
24269 @if target-winsup
24270 maybe-info-target-winsup: info-target-winsup
24272 info-target-winsup: \
24273 configure-target-winsup
24274 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
24275 r=`${PWD_COMMAND}`; export r; \
24276 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24277 $(SET_LIB_PATH) \
24278 $(NORMAL_TARGET_EXPORTS) \
24279 echo "Doing info in $(TARGET_SUBDIR)/winsup" ; \
24280 for flag in $(EXTRA_TARGET_FLAGS); do \
24281 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24282 done; \
24283 (cd $(TARGET_SUBDIR)/winsup && \
24284 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24285 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24286 "RANLIB=$${RANLIB}" \
24287 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24288 info) \
24289 || exit 1
24291 @endif target-winsup
24293 .PHONY: maybe-dvi-target-winsup dvi-target-winsup
24294 maybe-dvi-target-winsup:
24295 @if target-winsup
24296 maybe-dvi-target-winsup: dvi-target-winsup
24298 dvi-target-winsup: \
24299 configure-target-winsup
24300 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
24301 r=`${PWD_COMMAND}`; export r; \
24302 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24303 $(SET_LIB_PATH) \
24304 $(NORMAL_TARGET_EXPORTS) \
24305 echo "Doing dvi in $(TARGET_SUBDIR)/winsup" ; \
24306 for flag in $(EXTRA_TARGET_FLAGS); do \
24307 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24308 done; \
24309 (cd $(TARGET_SUBDIR)/winsup && \
24310 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24311 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24312 "RANLIB=$${RANLIB}" \
24313 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24314 dvi) \
24315 || exit 1
24317 @endif target-winsup
24319 .PHONY: maybe-TAGS-target-winsup TAGS-target-winsup
24320 maybe-TAGS-target-winsup:
24321 @if target-winsup
24322 maybe-TAGS-target-winsup: TAGS-target-winsup
24324 TAGS-target-winsup: \
24325 configure-target-winsup
24326 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
24327 r=`${PWD_COMMAND}`; export r; \
24328 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24329 $(SET_LIB_PATH) \
24330 $(NORMAL_TARGET_EXPORTS) \
24331 echo "Doing TAGS in $(TARGET_SUBDIR)/winsup" ; \
24332 for flag in $(EXTRA_TARGET_FLAGS); do \
24333 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24334 done; \
24335 (cd $(TARGET_SUBDIR)/winsup && \
24336 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24337 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24338 "RANLIB=$${RANLIB}" \
24339 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24340 TAGS) \
24341 || exit 1
24343 @endif target-winsup
24345 .PHONY: maybe-install-info-target-winsup install-info-target-winsup
24346 maybe-install-info-target-winsup:
24347 @if target-winsup
24348 maybe-install-info-target-winsup: install-info-target-winsup
24350 install-info-target-winsup: \
24351 configure-target-winsup \
24352 info-target-winsup
24353 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
24354 r=`${PWD_COMMAND}`; export r; \
24355 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24356 $(SET_LIB_PATH) \
24357 $(NORMAL_TARGET_EXPORTS) \
24358 echo "Doing install-info in $(TARGET_SUBDIR)/winsup" ; \
24359 for flag in $(EXTRA_TARGET_FLAGS); do \
24360 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24361 done; \
24362 (cd $(TARGET_SUBDIR)/winsup && \
24363 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24364 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24365 "RANLIB=$${RANLIB}" \
24366 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24367 install-info) \
24368 || exit 1
24370 @endif target-winsup
24372 .PHONY: maybe-installcheck-target-winsup installcheck-target-winsup
24373 maybe-installcheck-target-winsup:
24374 @if target-winsup
24375 maybe-installcheck-target-winsup: installcheck-target-winsup
24377 installcheck-target-winsup: \
24378 configure-target-winsup
24379 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
24380 r=`${PWD_COMMAND}`; export r; \
24381 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24382 $(SET_LIB_PATH) \
24383 $(NORMAL_TARGET_EXPORTS) \
24384 echo "Doing installcheck in $(TARGET_SUBDIR)/winsup" ; \
24385 for flag in $(EXTRA_TARGET_FLAGS); do \
24386 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24387 done; \
24388 (cd $(TARGET_SUBDIR)/winsup && \
24389 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24390 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24391 "RANLIB=$${RANLIB}" \
24392 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24393 installcheck) \
24394 || exit 1
24396 @endif target-winsup
24398 .PHONY: maybe-mostlyclean-target-winsup mostlyclean-target-winsup
24399 maybe-mostlyclean-target-winsup:
24400 @if target-winsup
24401 maybe-mostlyclean-target-winsup: mostlyclean-target-winsup
24403 mostlyclean-target-winsup:
24404 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
24405 r=`${PWD_COMMAND}`; export r; \
24406 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24407 $(SET_LIB_PATH) \
24408 $(NORMAL_TARGET_EXPORTS) \
24409 echo "Doing mostlyclean in $(TARGET_SUBDIR)/winsup" ; \
24410 for flag in $(EXTRA_TARGET_FLAGS); do \
24411 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24412 done; \
24413 (cd $(TARGET_SUBDIR)/winsup && \
24414 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24415 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24416 "RANLIB=$${RANLIB}" \
24417 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24418 mostlyclean) \
24419 || exit 1
24421 @endif target-winsup
24423 .PHONY: maybe-clean-target-winsup clean-target-winsup
24424 maybe-clean-target-winsup:
24425 @if target-winsup
24426 maybe-clean-target-winsup: clean-target-winsup
24428 clean-target-winsup:
24429 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
24430 r=`${PWD_COMMAND}`; export r; \
24431 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24432 $(SET_LIB_PATH) \
24433 $(NORMAL_TARGET_EXPORTS) \
24434 echo "Doing clean in $(TARGET_SUBDIR)/winsup" ; \
24435 for flag in $(EXTRA_TARGET_FLAGS); do \
24436 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24437 done; \
24438 (cd $(TARGET_SUBDIR)/winsup && \
24439 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24440 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24441 "RANLIB=$${RANLIB}" \
24442 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24443 clean) \
24444 || exit 1
24446 @endif target-winsup
24448 .PHONY: maybe-distclean-target-winsup distclean-target-winsup
24449 maybe-distclean-target-winsup:
24450 @if target-winsup
24451 maybe-distclean-target-winsup: distclean-target-winsup
24453 distclean-target-winsup:
24454 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
24455 r=`${PWD_COMMAND}`; export r; \
24456 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24457 $(SET_LIB_PATH) \
24458 $(NORMAL_TARGET_EXPORTS) \
24459 echo "Doing distclean in $(TARGET_SUBDIR)/winsup" ; \
24460 for flag in $(EXTRA_TARGET_FLAGS); do \
24461 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24462 done; \
24463 (cd $(TARGET_SUBDIR)/winsup && \
24464 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24465 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24466 "RANLIB=$${RANLIB}" \
24467 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24468 distclean) \
24469 || exit 1
24471 @endif target-winsup
24473 .PHONY: maybe-maintainer-clean-target-winsup maintainer-clean-target-winsup
24474 maybe-maintainer-clean-target-winsup:
24475 @if target-winsup
24476 maybe-maintainer-clean-target-winsup: maintainer-clean-target-winsup
24478 maintainer-clean-target-winsup:
24479 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
24480 r=`${PWD_COMMAND}`; export r; \
24481 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24482 $(SET_LIB_PATH) \
24483 $(NORMAL_TARGET_EXPORTS) \
24484 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/winsup" ; \
24485 for flag in $(EXTRA_TARGET_FLAGS); do \
24486 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24487 done; \
24488 (cd $(TARGET_SUBDIR)/winsup && \
24489 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24490 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24491 "RANLIB=$${RANLIB}" \
24492 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24493 maintainer-clean) \
24494 || exit 1
24496 @endif target-winsup
24499 .PHONY: configure-target-libgloss maybe-configure-target-libgloss
24500 maybe-configure-target-libgloss:
24501 @if target-libgloss
24502 maybe-configure-target-libgloss: configure-target-libgloss
24504 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
24505 $(TARGET_SUBDIR)/libgloss/multilib.out: multilib.out
24506 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgloss ; \
24507 rm -f $(TARGET_SUBDIR)/libgloss/Makefile || : ; \
24508 cp multilib.out $(TARGET_SUBDIR)/libgloss/multilib.out
24510 configure-target-libgloss: $(TARGET_SUBDIR)/libgloss/multilib.out
24511 @test ! -f $(TARGET_SUBDIR)/libgloss/Makefile || exit 0; \
24512 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgloss ; \
24513 r=`${PWD_COMMAND}`; export r; \
24514 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24515 $(SET_LIB_PATH) \
24516 $(NORMAL_TARGET_EXPORTS) \
24517 echo Configuring in $(TARGET_SUBDIR)/libgloss; \
24518 cd "$(TARGET_SUBDIR)/libgloss" || exit 1; \
24519 case $(srcdir) in \
24520 /* | [A-Za-z]:[\\/]*) \
24521 topdir=$(srcdir) ;; \
24522 *) \
24523 case "$(TARGET_SUBDIR)" in \
24524 .) topdir="../$(srcdir)" ;; \
24525 *) topdir="../../$(srcdir)" ;; \
24526 esac ;; \
24527 esac; \
24528 srcdiroption="--srcdir=$${topdir}/libgloss"; \
24529 libsrcdir="$$s/libgloss"; \
24530 rm -f no-such-file || : ; \
24531 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
24532 $(TARGET_CONFIGARGS) $${srcdiroption} \
24533 --with-target-subdir="$(TARGET_SUBDIR)" \
24534 || exit 1
24535 @endif target-libgloss
24537 .PHONY: all-target-libgloss maybe-all-target-libgloss
24538 maybe-all-target-libgloss:
24539 @if target-libgloss
24540 maybe-all-target-libgloss: all-target-libgloss
24541 all-target-libgloss: configure-target-libgloss
24542 @r=`${PWD_COMMAND}`; export r; \
24543 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24544 $(SET_LIB_PATH) \
24545 $(NORMAL_TARGET_EXPORTS) \
24546 (cd $(TARGET_SUBDIR)/libgloss && \
24547 $(MAKE) $(TARGET_FLAGS_TO_PASS) all)
24548 @endif target-libgloss
24550 .PHONY: check-target-libgloss maybe-check-target-libgloss
24551 maybe-check-target-libgloss:
24552 @if target-libgloss
24553 maybe-check-target-libgloss: check-target-libgloss
24555 # Dummy target for uncheckable module.
24556 check-target-libgloss:
24558 @endif target-libgloss
24560 .PHONY: install-target-libgloss maybe-install-target-libgloss
24561 maybe-install-target-libgloss:
24562 @if target-libgloss
24563 maybe-install-target-libgloss: install-target-libgloss
24565 install-target-libgloss: installdirs
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)/libgloss && \
24571 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
24573 @endif target-libgloss
24575 # Other targets (info, dvi, etc.)
24577 .PHONY: maybe-info-target-libgloss info-target-libgloss
24578 maybe-info-target-libgloss:
24579 @if target-libgloss
24580 maybe-info-target-libgloss: info-target-libgloss
24582 info-target-libgloss: \
24583 configure-target-libgloss
24584 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
24585 r=`${PWD_COMMAND}`; export r; \
24586 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24587 $(SET_LIB_PATH) \
24588 $(NORMAL_TARGET_EXPORTS) \
24589 echo "Doing info in $(TARGET_SUBDIR)/libgloss" ; \
24590 for flag in $(EXTRA_TARGET_FLAGS); do \
24591 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24592 done; \
24593 (cd $(TARGET_SUBDIR)/libgloss && \
24594 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24595 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24596 "RANLIB=$${RANLIB}" \
24597 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24598 info) \
24599 || exit 1
24601 @endif target-libgloss
24603 .PHONY: maybe-dvi-target-libgloss dvi-target-libgloss
24604 maybe-dvi-target-libgloss:
24605 @if target-libgloss
24606 maybe-dvi-target-libgloss: dvi-target-libgloss
24608 dvi-target-libgloss: \
24609 configure-target-libgloss
24610 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
24611 r=`${PWD_COMMAND}`; export r; \
24612 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24613 $(SET_LIB_PATH) \
24614 $(NORMAL_TARGET_EXPORTS) \
24615 echo "Doing dvi in $(TARGET_SUBDIR)/libgloss" ; \
24616 for flag in $(EXTRA_TARGET_FLAGS); do \
24617 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24618 done; \
24619 (cd $(TARGET_SUBDIR)/libgloss && \
24620 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24621 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24622 "RANLIB=$${RANLIB}" \
24623 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24624 dvi) \
24625 || exit 1
24627 @endif target-libgloss
24629 .PHONY: maybe-TAGS-target-libgloss TAGS-target-libgloss
24630 maybe-TAGS-target-libgloss:
24631 @if target-libgloss
24632 maybe-TAGS-target-libgloss: TAGS-target-libgloss
24634 TAGS-target-libgloss: \
24635 configure-target-libgloss
24636 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
24637 r=`${PWD_COMMAND}`; export r; \
24638 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24639 $(SET_LIB_PATH) \
24640 $(NORMAL_TARGET_EXPORTS) \
24641 echo "Doing TAGS in $(TARGET_SUBDIR)/libgloss" ; \
24642 for flag in $(EXTRA_TARGET_FLAGS); do \
24643 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24644 done; \
24645 (cd $(TARGET_SUBDIR)/libgloss && \
24646 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24647 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24648 "RANLIB=$${RANLIB}" \
24649 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24650 TAGS) \
24651 || exit 1
24653 @endif target-libgloss
24655 .PHONY: maybe-install-info-target-libgloss install-info-target-libgloss
24656 maybe-install-info-target-libgloss:
24657 @if target-libgloss
24658 maybe-install-info-target-libgloss: install-info-target-libgloss
24660 install-info-target-libgloss: \
24661 configure-target-libgloss \
24662 info-target-libgloss
24663 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
24664 r=`${PWD_COMMAND}`; export r; \
24665 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24666 $(SET_LIB_PATH) \
24667 $(NORMAL_TARGET_EXPORTS) \
24668 echo "Doing install-info in $(TARGET_SUBDIR)/libgloss" ; \
24669 for flag in $(EXTRA_TARGET_FLAGS); do \
24670 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24671 done; \
24672 (cd $(TARGET_SUBDIR)/libgloss && \
24673 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24674 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24675 "RANLIB=$${RANLIB}" \
24676 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24677 install-info) \
24678 || exit 1
24680 @endif target-libgloss
24682 .PHONY: maybe-installcheck-target-libgloss installcheck-target-libgloss
24683 maybe-installcheck-target-libgloss:
24684 @if target-libgloss
24685 maybe-installcheck-target-libgloss: installcheck-target-libgloss
24687 installcheck-target-libgloss: \
24688 configure-target-libgloss
24689 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
24690 r=`${PWD_COMMAND}`; export r; \
24691 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24692 $(SET_LIB_PATH) \
24693 $(NORMAL_TARGET_EXPORTS) \
24694 echo "Doing installcheck in $(TARGET_SUBDIR)/libgloss" ; \
24695 for flag in $(EXTRA_TARGET_FLAGS); do \
24696 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24697 done; \
24698 (cd $(TARGET_SUBDIR)/libgloss && \
24699 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24700 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24701 "RANLIB=$${RANLIB}" \
24702 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24703 installcheck) \
24704 || exit 1
24706 @endif target-libgloss
24708 .PHONY: maybe-mostlyclean-target-libgloss mostlyclean-target-libgloss
24709 maybe-mostlyclean-target-libgloss:
24710 @if target-libgloss
24711 maybe-mostlyclean-target-libgloss: mostlyclean-target-libgloss
24713 mostlyclean-target-libgloss:
24714 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
24715 r=`${PWD_COMMAND}`; export r; \
24716 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24717 $(SET_LIB_PATH) \
24718 $(NORMAL_TARGET_EXPORTS) \
24719 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgloss" ; \
24720 for flag in $(EXTRA_TARGET_FLAGS); do \
24721 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24722 done; \
24723 (cd $(TARGET_SUBDIR)/libgloss && \
24724 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24725 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24726 "RANLIB=$${RANLIB}" \
24727 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24728 mostlyclean) \
24729 || exit 1
24731 @endif target-libgloss
24733 .PHONY: maybe-clean-target-libgloss clean-target-libgloss
24734 maybe-clean-target-libgloss:
24735 @if target-libgloss
24736 maybe-clean-target-libgloss: clean-target-libgloss
24738 clean-target-libgloss:
24739 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
24740 r=`${PWD_COMMAND}`; export r; \
24741 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24742 $(SET_LIB_PATH) \
24743 $(NORMAL_TARGET_EXPORTS) \
24744 echo "Doing clean in $(TARGET_SUBDIR)/libgloss" ; \
24745 for flag in $(EXTRA_TARGET_FLAGS); do \
24746 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24747 done; \
24748 (cd $(TARGET_SUBDIR)/libgloss && \
24749 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24750 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24751 "RANLIB=$${RANLIB}" \
24752 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24753 clean) \
24754 || exit 1
24756 @endif target-libgloss
24758 .PHONY: maybe-distclean-target-libgloss distclean-target-libgloss
24759 maybe-distclean-target-libgloss:
24760 @if target-libgloss
24761 maybe-distclean-target-libgloss: distclean-target-libgloss
24763 distclean-target-libgloss:
24764 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
24765 r=`${PWD_COMMAND}`; export r; \
24766 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24767 $(SET_LIB_PATH) \
24768 $(NORMAL_TARGET_EXPORTS) \
24769 echo "Doing distclean in $(TARGET_SUBDIR)/libgloss" ; \
24770 for flag in $(EXTRA_TARGET_FLAGS); do \
24771 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24772 done; \
24773 (cd $(TARGET_SUBDIR)/libgloss && \
24774 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24775 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24776 "RANLIB=$${RANLIB}" \
24777 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24778 distclean) \
24779 || exit 1
24781 @endif target-libgloss
24783 .PHONY: maybe-maintainer-clean-target-libgloss maintainer-clean-target-libgloss
24784 maybe-maintainer-clean-target-libgloss:
24785 @if target-libgloss
24786 maybe-maintainer-clean-target-libgloss: maintainer-clean-target-libgloss
24788 maintainer-clean-target-libgloss:
24789 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
24790 r=`${PWD_COMMAND}`; export r; \
24791 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24792 $(SET_LIB_PATH) \
24793 $(NORMAL_TARGET_EXPORTS) \
24794 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgloss" ; \
24795 for flag in $(EXTRA_TARGET_FLAGS); do \
24796 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24797 done; \
24798 (cd $(TARGET_SUBDIR)/libgloss && \
24799 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24800 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24801 "RANLIB=$${RANLIB}" \
24802 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24803 maintainer-clean) \
24804 || exit 1
24806 @endif target-libgloss
24809 .PHONY: configure-target-libiberty maybe-configure-target-libiberty
24810 maybe-configure-target-libiberty:
24811 @if target-libiberty
24812 maybe-configure-target-libiberty: configure-target-libiberty
24814 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
24815 $(TARGET_SUBDIR)/libiberty/multilib.out: multilib.out
24816 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libiberty ; \
24817 rm -f $(TARGET_SUBDIR)/libiberty/Makefile || : ; \
24818 cp multilib.out $(TARGET_SUBDIR)/libiberty/multilib.out
24820 configure-target-libiberty: $(TARGET_SUBDIR)/libiberty/multilib.out
24821 @test ! -f $(TARGET_SUBDIR)/libiberty/Makefile || exit 0; \
24822 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libiberty ; \
24823 r=`${PWD_COMMAND}`; export r; \
24824 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24825 $(SET_LIB_PATH) \
24826 $(NORMAL_TARGET_EXPORTS) \
24827 echo Configuring in $(TARGET_SUBDIR)/libiberty; \
24828 cd "$(TARGET_SUBDIR)/libiberty" || exit 1; \
24829 case $(srcdir) in \
24830 /* | [A-Za-z]:[\\/]*) \
24831 topdir=$(srcdir) ;; \
24832 *) \
24833 case "$(TARGET_SUBDIR)" in \
24834 .) topdir="../$(srcdir)" ;; \
24835 *) topdir="../../$(srcdir)" ;; \
24836 esac ;; \
24837 esac; \
24838 srcdiroption="--srcdir=$${topdir}/libiberty"; \
24839 libsrcdir="$$s/libiberty"; \
24840 rm -f no-such-file || : ; \
24841 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
24842 $(TARGET_CONFIGARGS) $${srcdiroption} \
24843 --with-target-subdir="$(TARGET_SUBDIR)" \
24844 || exit 1
24845 @endif target-libiberty
24847 .PHONY: all-target-libiberty maybe-all-target-libiberty
24848 maybe-all-target-libiberty:
24849 @if target-libiberty
24850 maybe-all-target-libiberty: all-target-libiberty
24851 all-target-libiberty: configure-target-libiberty
24852 @r=`${PWD_COMMAND}`; export r; \
24853 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24854 $(SET_LIB_PATH) \
24855 $(NORMAL_TARGET_EXPORTS) \
24856 (cd $(TARGET_SUBDIR)/libiberty && \
24857 $(MAKE) $(TARGET_FLAGS_TO_PASS) all)
24858 @endif target-libiberty
24860 .PHONY: check-target-libiberty maybe-check-target-libiberty
24861 maybe-check-target-libiberty:
24862 @if target-libiberty
24863 maybe-check-target-libiberty: check-target-libiberty
24865 check-target-libiberty:
24866 @r=`${PWD_COMMAND}`; export r; \
24867 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24868 $(SET_LIB_PATH) \
24869 $(NORMAL_TARGET_EXPORTS) \
24870 (cd $(TARGET_SUBDIR)/libiberty && \
24871 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
24873 @endif target-libiberty
24875 .PHONY: install-target-libiberty maybe-install-target-libiberty
24876 maybe-install-target-libiberty:
24877 @if target-libiberty
24878 maybe-install-target-libiberty: install-target-libiberty
24880 install-target-libiberty: installdirs
24881 @r=`${PWD_COMMAND}`; export r; \
24882 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24883 $(SET_LIB_PATH) \
24884 $(NORMAL_TARGET_EXPORTS) \
24885 (cd $(TARGET_SUBDIR)/libiberty && \
24886 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
24888 @endif target-libiberty
24890 # Other targets (info, dvi, etc.)
24892 .PHONY: maybe-info-target-libiberty info-target-libiberty
24893 maybe-info-target-libiberty:
24894 @if target-libiberty
24895 maybe-info-target-libiberty: info-target-libiberty
24897 info-target-libiberty: \
24898 configure-target-libiberty
24899 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
24900 r=`${PWD_COMMAND}`; export r; \
24901 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24902 $(SET_LIB_PATH) \
24903 $(NORMAL_TARGET_EXPORTS) \
24904 echo "Doing info in $(TARGET_SUBDIR)/libiberty" ; \
24905 for flag in $(EXTRA_TARGET_FLAGS); do \
24906 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24907 done; \
24908 (cd $(TARGET_SUBDIR)/libiberty && \
24909 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24910 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24911 "RANLIB=$${RANLIB}" \
24912 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24913 info) \
24914 || exit 1
24916 @endif target-libiberty
24918 .PHONY: maybe-dvi-target-libiberty dvi-target-libiberty
24919 maybe-dvi-target-libiberty:
24920 @if target-libiberty
24921 maybe-dvi-target-libiberty: dvi-target-libiberty
24923 dvi-target-libiberty: \
24924 configure-target-libiberty
24925 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
24926 r=`${PWD_COMMAND}`; export r; \
24927 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24928 $(SET_LIB_PATH) \
24929 $(NORMAL_TARGET_EXPORTS) \
24930 echo "Doing dvi in $(TARGET_SUBDIR)/libiberty" ; \
24931 for flag in $(EXTRA_TARGET_FLAGS); do \
24932 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24933 done; \
24934 (cd $(TARGET_SUBDIR)/libiberty && \
24935 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24936 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24937 "RANLIB=$${RANLIB}" \
24938 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24939 dvi) \
24940 || exit 1
24942 @endif target-libiberty
24944 .PHONY: maybe-TAGS-target-libiberty TAGS-target-libiberty
24945 maybe-TAGS-target-libiberty:
24946 @if target-libiberty
24947 maybe-TAGS-target-libiberty: TAGS-target-libiberty
24949 TAGS-target-libiberty: \
24950 configure-target-libiberty
24951 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
24952 r=`${PWD_COMMAND}`; export r; \
24953 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24954 $(SET_LIB_PATH) \
24955 $(NORMAL_TARGET_EXPORTS) \
24956 echo "Doing TAGS in $(TARGET_SUBDIR)/libiberty" ; \
24957 for flag in $(EXTRA_TARGET_FLAGS); do \
24958 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24959 done; \
24960 (cd $(TARGET_SUBDIR)/libiberty && \
24961 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24962 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24963 "RANLIB=$${RANLIB}" \
24964 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24965 TAGS) \
24966 || exit 1
24968 @endif target-libiberty
24970 .PHONY: maybe-install-info-target-libiberty install-info-target-libiberty
24971 maybe-install-info-target-libiberty:
24972 @if target-libiberty
24973 maybe-install-info-target-libiberty: install-info-target-libiberty
24975 install-info-target-libiberty: \
24976 configure-target-libiberty \
24977 info-target-libiberty
24978 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
24979 r=`${PWD_COMMAND}`; export r; \
24980 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24981 $(SET_LIB_PATH) \
24982 $(NORMAL_TARGET_EXPORTS) \
24983 echo "Doing install-info in $(TARGET_SUBDIR)/libiberty" ; \
24984 for flag in $(EXTRA_TARGET_FLAGS); do \
24985 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24986 done; \
24987 (cd $(TARGET_SUBDIR)/libiberty && \
24988 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24989 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24990 "RANLIB=$${RANLIB}" \
24991 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24992 install-info) \
24993 || exit 1
24995 @endif target-libiberty
24997 .PHONY: maybe-installcheck-target-libiberty installcheck-target-libiberty
24998 maybe-installcheck-target-libiberty:
24999 @if target-libiberty
25000 maybe-installcheck-target-libiberty: installcheck-target-libiberty
25002 installcheck-target-libiberty: \
25003 configure-target-libiberty
25004 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
25005 r=`${PWD_COMMAND}`; export r; \
25006 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25007 $(SET_LIB_PATH) \
25008 $(NORMAL_TARGET_EXPORTS) \
25009 echo "Doing installcheck in $(TARGET_SUBDIR)/libiberty" ; \
25010 for flag in $(EXTRA_TARGET_FLAGS); do \
25011 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25012 done; \
25013 (cd $(TARGET_SUBDIR)/libiberty && \
25014 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25015 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25016 "RANLIB=$${RANLIB}" \
25017 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25018 installcheck) \
25019 || exit 1
25021 @endif target-libiberty
25023 .PHONY: maybe-mostlyclean-target-libiberty mostlyclean-target-libiberty
25024 maybe-mostlyclean-target-libiberty:
25025 @if target-libiberty
25026 maybe-mostlyclean-target-libiberty: mostlyclean-target-libiberty
25028 mostlyclean-target-libiberty:
25029 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
25030 r=`${PWD_COMMAND}`; export r; \
25031 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25032 $(SET_LIB_PATH) \
25033 $(NORMAL_TARGET_EXPORTS) \
25034 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libiberty" ; \
25035 for flag in $(EXTRA_TARGET_FLAGS); do \
25036 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25037 done; \
25038 (cd $(TARGET_SUBDIR)/libiberty && \
25039 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25040 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25041 "RANLIB=$${RANLIB}" \
25042 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25043 mostlyclean) \
25044 || exit 1
25046 @endif target-libiberty
25048 .PHONY: maybe-clean-target-libiberty clean-target-libiberty
25049 maybe-clean-target-libiberty:
25050 @if target-libiberty
25051 maybe-clean-target-libiberty: clean-target-libiberty
25053 clean-target-libiberty:
25054 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
25055 r=`${PWD_COMMAND}`; export r; \
25056 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25057 $(SET_LIB_PATH) \
25058 $(NORMAL_TARGET_EXPORTS) \
25059 echo "Doing clean in $(TARGET_SUBDIR)/libiberty" ; \
25060 for flag in $(EXTRA_TARGET_FLAGS); do \
25061 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25062 done; \
25063 (cd $(TARGET_SUBDIR)/libiberty && \
25064 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25065 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25066 "RANLIB=$${RANLIB}" \
25067 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25068 clean) \
25069 || exit 1
25071 @endif target-libiberty
25073 .PHONY: maybe-distclean-target-libiberty distclean-target-libiberty
25074 maybe-distclean-target-libiberty:
25075 @if target-libiberty
25076 maybe-distclean-target-libiberty: distclean-target-libiberty
25078 distclean-target-libiberty:
25079 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
25080 r=`${PWD_COMMAND}`; export r; \
25081 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25082 $(SET_LIB_PATH) \
25083 $(NORMAL_TARGET_EXPORTS) \
25084 echo "Doing distclean in $(TARGET_SUBDIR)/libiberty" ; \
25085 for flag in $(EXTRA_TARGET_FLAGS); do \
25086 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25087 done; \
25088 (cd $(TARGET_SUBDIR)/libiberty && \
25089 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25090 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25091 "RANLIB=$${RANLIB}" \
25092 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25093 distclean) \
25094 || exit 1
25096 @endif target-libiberty
25098 .PHONY: maybe-maintainer-clean-target-libiberty maintainer-clean-target-libiberty
25099 maybe-maintainer-clean-target-libiberty:
25100 @if target-libiberty
25101 maybe-maintainer-clean-target-libiberty: maintainer-clean-target-libiberty
25103 maintainer-clean-target-libiberty:
25104 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
25105 r=`${PWD_COMMAND}`; export r; \
25106 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25107 $(SET_LIB_PATH) \
25108 $(NORMAL_TARGET_EXPORTS) \
25109 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libiberty" ; \
25110 for flag in $(EXTRA_TARGET_FLAGS); do \
25111 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25112 done; \
25113 (cd $(TARGET_SUBDIR)/libiberty && \
25114 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25115 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25116 "RANLIB=$${RANLIB}" \
25117 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25118 maintainer-clean) \
25119 || exit 1
25121 @endif target-libiberty
25124 .PHONY: configure-target-gperf maybe-configure-target-gperf
25125 maybe-configure-target-gperf:
25126 @if target-gperf
25127 maybe-configure-target-gperf: configure-target-gperf
25129 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
25130 $(TARGET_SUBDIR)/gperf/multilib.out: multilib.out
25131 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/gperf ; \
25132 rm -f $(TARGET_SUBDIR)/gperf/Makefile || : ; \
25133 cp multilib.out $(TARGET_SUBDIR)/gperf/multilib.out
25135 configure-target-gperf: $(TARGET_SUBDIR)/gperf/multilib.out
25136 @test ! -f $(TARGET_SUBDIR)/gperf/Makefile || exit 0; \
25137 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/gperf ; \
25138 r=`${PWD_COMMAND}`; export r; \
25139 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25140 $(SET_LIB_PATH) \
25141 $(NORMAL_TARGET_EXPORTS) \
25142 echo Configuring in $(TARGET_SUBDIR)/gperf; \
25143 cd "$(TARGET_SUBDIR)/gperf" || exit 1; \
25144 case $(srcdir) in \
25145 /* | [A-Za-z]:[\\/]*) \
25146 topdir=$(srcdir) ;; \
25147 *) \
25148 case "$(TARGET_SUBDIR)" in \
25149 .) topdir="../$(srcdir)" ;; \
25150 *) topdir="../../$(srcdir)" ;; \
25151 esac ;; \
25152 esac; \
25153 srcdiroption="--srcdir=$${topdir}/gperf"; \
25154 libsrcdir="$$s/gperf"; \
25155 rm -f no-such-file || : ; \
25156 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
25157 $(TARGET_CONFIGARGS) $${srcdiroption} \
25158 --with-target-subdir="$(TARGET_SUBDIR)" \
25159 || exit 1
25160 @endif target-gperf
25162 .PHONY: all-target-gperf maybe-all-target-gperf
25163 maybe-all-target-gperf:
25164 @if target-gperf
25165 maybe-all-target-gperf: all-target-gperf
25166 all-target-gperf: configure-target-gperf
25167 @r=`${PWD_COMMAND}`; export r; \
25168 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25169 $(SET_LIB_PATH) \
25170 $(NORMAL_TARGET_EXPORTS) \
25171 (cd $(TARGET_SUBDIR)/gperf && \
25172 $(MAKE) $(TARGET_FLAGS_TO_PASS) all)
25173 @endif target-gperf
25175 .PHONY: check-target-gperf maybe-check-target-gperf
25176 maybe-check-target-gperf:
25177 @if target-gperf
25178 maybe-check-target-gperf: check-target-gperf
25180 check-target-gperf:
25181 @r=`${PWD_COMMAND}`; export r; \
25182 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25183 $(SET_LIB_PATH) \
25184 $(NORMAL_TARGET_EXPORTS) \
25185 (cd $(TARGET_SUBDIR)/gperf && \
25186 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
25188 @endif target-gperf
25190 .PHONY: install-target-gperf maybe-install-target-gperf
25191 maybe-install-target-gperf:
25192 @if target-gperf
25193 maybe-install-target-gperf: install-target-gperf
25195 install-target-gperf: installdirs
25196 @r=`${PWD_COMMAND}`; export r; \
25197 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25198 $(SET_LIB_PATH) \
25199 $(NORMAL_TARGET_EXPORTS) \
25200 (cd $(TARGET_SUBDIR)/gperf && \
25201 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
25203 @endif target-gperf
25205 # Other targets (info, dvi, etc.)
25207 .PHONY: maybe-info-target-gperf info-target-gperf
25208 maybe-info-target-gperf:
25209 @if target-gperf
25210 maybe-info-target-gperf: info-target-gperf
25212 info-target-gperf: \
25213 configure-target-gperf
25214 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
25215 r=`${PWD_COMMAND}`; export r; \
25216 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25217 $(SET_LIB_PATH) \
25218 $(NORMAL_TARGET_EXPORTS) \
25219 echo "Doing info in $(TARGET_SUBDIR)/gperf" ; \
25220 for flag in $(EXTRA_TARGET_FLAGS); do \
25221 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25222 done; \
25223 (cd $(TARGET_SUBDIR)/gperf && \
25224 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25225 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25226 "RANLIB=$${RANLIB}" \
25227 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25228 info) \
25229 || exit 1
25231 @endif target-gperf
25233 .PHONY: maybe-dvi-target-gperf dvi-target-gperf
25234 maybe-dvi-target-gperf:
25235 @if target-gperf
25236 maybe-dvi-target-gperf: dvi-target-gperf
25238 dvi-target-gperf: \
25239 configure-target-gperf
25240 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
25241 r=`${PWD_COMMAND}`; export r; \
25242 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25243 $(SET_LIB_PATH) \
25244 $(NORMAL_TARGET_EXPORTS) \
25245 echo "Doing dvi in $(TARGET_SUBDIR)/gperf" ; \
25246 for flag in $(EXTRA_TARGET_FLAGS); do \
25247 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25248 done; \
25249 (cd $(TARGET_SUBDIR)/gperf && \
25250 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25251 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25252 "RANLIB=$${RANLIB}" \
25253 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25254 dvi) \
25255 || exit 1
25257 @endif target-gperf
25259 .PHONY: maybe-TAGS-target-gperf TAGS-target-gperf
25260 maybe-TAGS-target-gperf:
25261 @if target-gperf
25262 maybe-TAGS-target-gperf: TAGS-target-gperf
25264 TAGS-target-gperf: \
25265 configure-target-gperf
25266 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
25267 r=`${PWD_COMMAND}`; export r; \
25268 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25269 $(SET_LIB_PATH) \
25270 $(NORMAL_TARGET_EXPORTS) \
25271 echo "Doing TAGS in $(TARGET_SUBDIR)/gperf" ; \
25272 for flag in $(EXTRA_TARGET_FLAGS); do \
25273 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25274 done; \
25275 (cd $(TARGET_SUBDIR)/gperf && \
25276 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25277 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25278 "RANLIB=$${RANLIB}" \
25279 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25280 TAGS) \
25281 || exit 1
25283 @endif target-gperf
25285 .PHONY: maybe-install-info-target-gperf install-info-target-gperf
25286 maybe-install-info-target-gperf:
25287 @if target-gperf
25288 maybe-install-info-target-gperf: install-info-target-gperf
25290 install-info-target-gperf: \
25291 configure-target-gperf \
25292 info-target-gperf
25293 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
25294 r=`${PWD_COMMAND}`; export r; \
25295 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25296 $(SET_LIB_PATH) \
25297 $(NORMAL_TARGET_EXPORTS) \
25298 echo "Doing install-info in $(TARGET_SUBDIR)/gperf" ; \
25299 for flag in $(EXTRA_TARGET_FLAGS); do \
25300 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25301 done; \
25302 (cd $(TARGET_SUBDIR)/gperf && \
25303 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25304 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25305 "RANLIB=$${RANLIB}" \
25306 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25307 install-info) \
25308 || exit 1
25310 @endif target-gperf
25312 .PHONY: maybe-installcheck-target-gperf installcheck-target-gperf
25313 maybe-installcheck-target-gperf:
25314 @if target-gperf
25315 maybe-installcheck-target-gperf: installcheck-target-gperf
25317 installcheck-target-gperf: \
25318 configure-target-gperf
25319 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
25320 r=`${PWD_COMMAND}`; export r; \
25321 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25322 $(SET_LIB_PATH) \
25323 $(NORMAL_TARGET_EXPORTS) \
25324 echo "Doing installcheck in $(TARGET_SUBDIR)/gperf" ; \
25325 for flag in $(EXTRA_TARGET_FLAGS); do \
25326 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25327 done; \
25328 (cd $(TARGET_SUBDIR)/gperf && \
25329 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25330 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25331 "RANLIB=$${RANLIB}" \
25332 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25333 installcheck) \
25334 || exit 1
25336 @endif target-gperf
25338 .PHONY: maybe-mostlyclean-target-gperf mostlyclean-target-gperf
25339 maybe-mostlyclean-target-gperf:
25340 @if target-gperf
25341 maybe-mostlyclean-target-gperf: mostlyclean-target-gperf
25343 mostlyclean-target-gperf:
25344 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
25345 r=`${PWD_COMMAND}`; export r; \
25346 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25347 $(SET_LIB_PATH) \
25348 $(NORMAL_TARGET_EXPORTS) \
25349 echo "Doing mostlyclean in $(TARGET_SUBDIR)/gperf" ; \
25350 for flag in $(EXTRA_TARGET_FLAGS); do \
25351 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25352 done; \
25353 (cd $(TARGET_SUBDIR)/gperf && \
25354 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25355 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25356 "RANLIB=$${RANLIB}" \
25357 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25358 mostlyclean) \
25359 || exit 1
25361 @endif target-gperf
25363 .PHONY: maybe-clean-target-gperf clean-target-gperf
25364 maybe-clean-target-gperf:
25365 @if target-gperf
25366 maybe-clean-target-gperf: clean-target-gperf
25368 clean-target-gperf:
25369 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
25370 r=`${PWD_COMMAND}`; export r; \
25371 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25372 $(SET_LIB_PATH) \
25373 $(NORMAL_TARGET_EXPORTS) \
25374 echo "Doing clean in $(TARGET_SUBDIR)/gperf" ; \
25375 for flag in $(EXTRA_TARGET_FLAGS); do \
25376 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25377 done; \
25378 (cd $(TARGET_SUBDIR)/gperf && \
25379 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25380 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25381 "RANLIB=$${RANLIB}" \
25382 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25383 clean) \
25384 || exit 1
25386 @endif target-gperf
25388 .PHONY: maybe-distclean-target-gperf distclean-target-gperf
25389 maybe-distclean-target-gperf:
25390 @if target-gperf
25391 maybe-distclean-target-gperf: distclean-target-gperf
25393 distclean-target-gperf:
25394 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
25395 r=`${PWD_COMMAND}`; export r; \
25396 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25397 $(SET_LIB_PATH) \
25398 $(NORMAL_TARGET_EXPORTS) \
25399 echo "Doing distclean in $(TARGET_SUBDIR)/gperf" ; \
25400 for flag in $(EXTRA_TARGET_FLAGS); do \
25401 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25402 done; \
25403 (cd $(TARGET_SUBDIR)/gperf && \
25404 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25405 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25406 "RANLIB=$${RANLIB}" \
25407 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25408 distclean) \
25409 || exit 1
25411 @endif target-gperf
25413 .PHONY: maybe-maintainer-clean-target-gperf maintainer-clean-target-gperf
25414 maybe-maintainer-clean-target-gperf:
25415 @if target-gperf
25416 maybe-maintainer-clean-target-gperf: maintainer-clean-target-gperf
25418 maintainer-clean-target-gperf:
25419 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
25420 r=`${PWD_COMMAND}`; export r; \
25421 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25422 $(SET_LIB_PATH) \
25423 $(NORMAL_TARGET_EXPORTS) \
25424 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/gperf" ; \
25425 for flag in $(EXTRA_TARGET_FLAGS); do \
25426 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25427 done; \
25428 (cd $(TARGET_SUBDIR)/gperf && \
25429 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25430 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25431 "RANLIB=$${RANLIB}" \
25432 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25433 maintainer-clean) \
25434 || exit 1
25436 @endif target-gperf
25439 .PHONY: configure-target-examples maybe-configure-target-examples
25440 maybe-configure-target-examples:
25441 @if target-examples
25442 maybe-configure-target-examples: configure-target-examples
25444 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
25445 $(TARGET_SUBDIR)/examples/multilib.out: multilib.out
25446 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/examples ; \
25447 rm -f $(TARGET_SUBDIR)/examples/Makefile || : ; \
25448 cp multilib.out $(TARGET_SUBDIR)/examples/multilib.out
25450 configure-target-examples: $(TARGET_SUBDIR)/examples/multilib.out
25451 @test ! -f $(TARGET_SUBDIR)/examples/Makefile || exit 0; \
25452 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/examples ; \
25453 r=`${PWD_COMMAND}`; export r; \
25454 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25455 $(SET_LIB_PATH) \
25456 $(NORMAL_TARGET_EXPORTS) \
25457 echo Configuring in $(TARGET_SUBDIR)/examples; \
25458 cd "$(TARGET_SUBDIR)/examples" || exit 1; \
25459 case $(srcdir) in \
25460 /* | [A-Za-z]:[\\/]*) \
25461 topdir=$(srcdir) ;; \
25462 *) \
25463 case "$(TARGET_SUBDIR)" in \
25464 .) topdir="../$(srcdir)" ;; \
25465 *) topdir="../../$(srcdir)" ;; \
25466 esac ;; \
25467 esac; \
25468 srcdiroption="--srcdir=$${topdir}/examples"; \
25469 libsrcdir="$$s/examples"; \
25470 rm -f no-such-file || : ; \
25471 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
25472 $(TARGET_CONFIGARGS) $${srcdiroption} \
25473 --with-target-subdir="$(TARGET_SUBDIR)" \
25474 || exit 1
25475 @endif target-examples
25477 .PHONY: all-target-examples maybe-all-target-examples
25478 maybe-all-target-examples:
25479 @if target-examples
25480 maybe-all-target-examples: all-target-examples
25481 all-target-examples: configure-target-examples
25482 @r=`${PWD_COMMAND}`; export r; \
25483 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25484 $(SET_LIB_PATH) \
25485 $(NORMAL_TARGET_EXPORTS) \
25486 (cd $(TARGET_SUBDIR)/examples && \
25487 $(MAKE) $(TARGET_FLAGS_TO_PASS) all)
25488 @endif target-examples
25490 .PHONY: check-target-examples maybe-check-target-examples
25491 maybe-check-target-examples:
25492 @if target-examples
25493 maybe-check-target-examples: check-target-examples
25495 # Dummy target for uncheckable module.
25496 check-target-examples:
25498 @endif target-examples
25500 .PHONY: install-target-examples maybe-install-target-examples
25501 maybe-install-target-examples:
25502 @if target-examples
25503 maybe-install-target-examples: install-target-examples
25505 # Dummy target for uninstallable.
25506 install-target-examples:
25508 @endif target-examples
25510 # Other targets (info, dvi, etc.)
25512 .PHONY: maybe-info-target-examples info-target-examples
25513 maybe-info-target-examples:
25514 @if target-examples
25515 maybe-info-target-examples: info-target-examples
25517 info-target-examples: \
25518 configure-target-examples
25519 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
25520 r=`${PWD_COMMAND}`; export r; \
25521 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25522 $(SET_LIB_PATH) \
25523 $(NORMAL_TARGET_EXPORTS) \
25524 echo "Doing info in $(TARGET_SUBDIR)/examples" ; \
25525 for flag in $(EXTRA_TARGET_FLAGS); do \
25526 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25527 done; \
25528 (cd $(TARGET_SUBDIR)/examples && \
25529 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25530 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25531 "RANLIB=$${RANLIB}" \
25532 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25533 info) \
25534 || exit 1
25536 @endif target-examples
25538 .PHONY: maybe-dvi-target-examples dvi-target-examples
25539 maybe-dvi-target-examples:
25540 @if target-examples
25541 maybe-dvi-target-examples: dvi-target-examples
25543 dvi-target-examples: \
25544 configure-target-examples
25545 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
25546 r=`${PWD_COMMAND}`; export r; \
25547 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25548 $(SET_LIB_PATH) \
25549 $(NORMAL_TARGET_EXPORTS) \
25550 echo "Doing dvi in $(TARGET_SUBDIR)/examples" ; \
25551 for flag in $(EXTRA_TARGET_FLAGS); do \
25552 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25553 done; \
25554 (cd $(TARGET_SUBDIR)/examples && \
25555 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25556 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25557 "RANLIB=$${RANLIB}" \
25558 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25559 dvi) \
25560 || exit 1
25562 @endif target-examples
25564 .PHONY: maybe-TAGS-target-examples TAGS-target-examples
25565 maybe-TAGS-target-examples:
25566 @if target-examples
25567 maybe-TAGS-target-examples: TAGS-target-examples
25569 TAGS-target-examples: \
25570 configure-target-examples
25571 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
25572 r=`${PWD_COMMAND}`; export r; \
25573 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25574 $(SET_LIB_PATH) \
25575 $(NORMAL_TARGET_EXPORTS) \
25576 echo "Doing TAGS in $(TARGET_SUBDIR)/examples" ; \
25577 for flag in $(EXTRA_TARGET_FLAGS); do \
25578 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25579 done; \
25580 (cd $(TARGET_SUBDIR)/examples && \
25581 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25582 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25583 "RANLIB=$${RANLIB}" \
25584 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25585 TAGS) \
25586 || exit 1
25588 @endif target-examples
25590 .PHONY: maybe-install-info-target-examples install-info-target-examples
25591 maybe-install-info-target-examples:
25592 @if target-examples
25593 maybe-install-info-target-examples: install-info-target-examples
25595 install-info-target-examples: \
25596 configure-target-examples \
25597 info-target-examples
25598 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
25599 r=`${PWD_COMMAND}`; export r; \
25600 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25601 $(SET_LIB_PATH) \
25602 $(NORMAL_TARGET_EXPORTS) \
25603 echo "Doing install-info in $(TARGET_SUBDIR)/examples" ; \
25604 for flag in $(EXTRA_TARGET_FLAGS); do \
25605 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25606 done; \
25607 (cd $(TARGET_SUBDIR)/examples && \
25608 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25609 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25610 "RANLIB=$${RANLIB}" \
25611 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25612 install-info) \
25613 || exit 1
25615 @endif target-examples
25617 .PHONY: maybe-installcheck-target-examples installcheck-target-examples
25618 maybe-installcheck-target-examples:
25619 @if target-examples
25620 maybe-installcheck-target-examples: installcheck-target-examples
25622 installcheck-target-examples: \
25623 configure-target-examples
25624 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
25625 r=`${PWD_COMMAND}`; export r; \
25626 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25627 $(SET_LIB_PATH) \
25628 $(NORMAL_TARGET_EXPORTS) \
25629 echo "Doing installcheck in $(TARGET_SUBDIR)/examples" ; \
25630 for flag in $(EXTRA_TARGET_FLAGS); do \
25631 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25632 done; \
25633 (cd $(TARGET_SUBDIR)/examples && \
25634 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25635 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25636 "RANLIB=$${RANLIB}" \
25637 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25638 installcheck) \
25639 || exit 1
25641 @endif target-examples
25643 .PHONY: maybe-mostlyclean-target-examples mostlyclean-target-examples
25644 maybe-mostlyclean-target-examples:
25645 @if target-examples
25646 maybe-mostlyclean-target-examples: mostlyclean-target-examples
25648 mostlyclean-target-examples:
25649 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
25650 r=`${PWD_COMMAND}`; export r; \
25651 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25652 $(SET_LIB_PATH) \
25653 $(NORMAL_TARGET_EXPORTS) \
25654 echo "Doing mostlyclean in $(TARGET_SUBDIR)/examples" ; \
25655 for flag in $(EXTRA_TARGET_FLAGS); do \
25656 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25657 done; \
25658 (cd $(TARGET_SUBDIR)/examples && \
25659 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25660 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25661 "RANLIB=$${RANLIB}" \
25662 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25663 mostlyclean) \
25664 || exit 1
25666 @endif target-examples
25668 .PHONY: maybe-clean-target-examples clean-target-examples
25669 maybe-clean-target-examples:
25670 @if target-examples
25671 maybe-clean-target-examples: clean-target-examples
25673 clean-target-examples:
25674 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
25675 r=`${PWD_COMMAND}`; export r; \
25676 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25677 $(SET_LIB_PATH) \
25678 $(NORMAL_TARGET_EXPORTS) \
25679 echo "Doing clean in $(TARGET_SUBDIR)/examples" ; \
25680 for flag in $(EXTRA_TARGET_FLAGS); do \
25681 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25682 done; \
25683 (cd $(TARGET_SUBDIR)/examples && \
25684 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25685 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25686 "RANLIB=$${RANLIB}" \
25687 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25688 clean) \
25689 || exit 1
25691 @endif target-examples
25693 .PHONY: maybe-distclean-target-examples distclean-target-examples
25694 maybe-distclean-target-examples:
25695 @if target-examples
25696 maybe-distclean-target-examples: distclean-target-examples
25698 distclean-target-examples:
25699 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
25700 r=`${PWD_COMMAND}`; export r; \
25701 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25702 $(SET_LIB_PATH) \
25703 $(NORMAL_TARGET_EXPORTS) \
25704 echo "Doing distclean in $(TARGET_SUBDIR)/examples" ; \
25705 for flag in $(EXTRA_TARGET_FLAGS); do \
25706 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25707 done; \
25708 (cd $(TARGET_SUBDIR)/examples && \
25709 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25710 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25711 "RANLIB=$${RANLIB}" \
25712 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25713 distclean) \
25714 || exit 1
25716 @endif target-examples
25718 .PHONY: maybe-maintainer-clean-target-examples maintainer-clean-target-examples
25719 maybe-maintainer-clean-target-examples:
25720 @if target-examples
25721 maybe-maintainer-clean-target-examples: maintainer-clean-target-examples
25723 maintainer-clean-target-examples:
25724 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
25725 r=`${PWD_COMMAND}`; export r; \
25726 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25727 $(SET_LIB_PATH) \
25728 $(NORMAL_TARGET_EXPORTS) \
25729 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/examples" ; \
25730 for flag in $(EXTRA_TARGET_FLAGS); do \
25731 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25732 done; \
25733 (cd $(TARGET_SUBDIR)/examples && \
25734 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25735 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25736 "RANLIB=$${RANLIB}" \
25737 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25738 maintainer-clean) \
25739 || exit 1
25741 @endif target-examples
25744 .PHONY: configure-target-libffi maybe-configure-target-libffi
25745 maybe-configure-target-libffi:
25746 @if target-libffi
25747 maybe-configure-target-libffi: configure-target-libffi
25749 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
25750 $(TARGET_SUBDIR)/libffi/multilib.out: multilib.out
25751 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libffi ; \
25752 rm -f $(TARGET_SUBDIR)/libffi/Makefile || : ; \
25753 cp multilib.out $(TARGET_SUBDIR)/libffi/multilib.out
25755 configure-target-libffi: $(TARGET_SUBDIR)/libffi/multilib.out
25756 @test ! -f $(TARGET_SUBDIR)/libffi/Makefile || exit 0; \
25757 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libffi ; \
25758 r=`${PWD_COMMAND}`; export r; \
25759 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25760 $(SET_LIB_PATH) \
25761 $(NORMAL_TARGET_EXPORTS) \
25762 echo Configuring in $(TARGET_SUBDIR)/libffi; \
25763 cd "$(TARGET_SUBDIR)/libffi" || exit 1; \
25764 case $(srcdir) in \
25765 /* | [A-Za-z]:[\\/]*) \
25766 topdir=$(srcdir) ;; \
25767 *) \
25768 case "$(TARGET_SUBDIR)" in \
25769 .) topdir="../$(srcdir)" ;; \
25770 *) topdir="../../$(srcdir)" ;; \
25771 esac ;; \
25772 esac; \
25773 srcdiroption="--srcdir=$${topdir}/libffi"; \
25774 libsrcdir="$$s/libffi"; \
25775 rm -f no-such-file || : ; \
25776 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
25777 $(TARGET_CONFIGARGS) $${srcdiroption} \
25778 --with-target-subdir="$(TARGET_SUBDIR)" \
25779 || exit 1
25780 @endif target-libffi
25782 .PHONY: all-target-libffi maybe-all-target-libffi
25783 maybe-all-target-libffi:
25784 @if target-libffi
25785 maybe-all-target-libffi: all-target-libffi
25786 all-target-libffi: configure-target-libffi
25787 @r=`${PWD_COMMAND}`; export r; \
25788 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25789 $(SET_LIB_PATH) \
25790 $(NORMAL_TARGET_EXPORTS) \
25791 (cd $(TARGET_SUBDIR)/libffi && \
25792 $(MAKE) $(TARGET_FLAGS_TO_PASS) all)
25793 @endif target-libffi
25795 .PHONY: check-target-libffi maybe-check-target-libffi
25796 maybe-check-target-libffi:
25797 @if target-libffi
25798 maybe-check-target-libffi: check-target-libffi
25800 check-target-libffi:
25801 @r=`${PWD_COMMAND}`; export r; \
25802 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25803 $(SET_LIB_PATH) \
25804 $(NORMAL_TARGET_EXPORTS) \
25805 (cd $(TARGET_SUBDIR)/libffi && \
25806 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
25808 @endif target-libffi
25810 .PHONY: install-target-libffi maybe-install-target-libffi
25811 maybe-install-target-libffi:
25812 @if target-libffi
25813 maybe-install-target-libffi: install-target-libffi
25815 install-target-libffi: installdirs
25816 @r=`${PWD_COMMAND}`; export r; \
25817 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25818 $(SET_LIB_PATH) \
25819 $(NORMAL_TARGET_EXPORTS) \
25820 (cd $(TARGET_SUBDIR)/libffi && \
25821 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
25823 @endif target-libffi
25825 # Other targets (info, dvi, etc.)
25827 .PHONY: maybe-info-target-libffi info-target-libffi
25828 maybe-info-target-libffi:
25829 @if target-libffi
25830 maybe-info-target-libffi: info-target-libffi
25832 info-target-libffi: \
25833 configure-target-libffi
25834 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
25835 r=`${PWD_COMMAND}`; export r; \
25836 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25837 $(SET_LIB_PATH) \
25838 $(NORMAL_TARGET_EXPORTS) \
25839 echo "Doing info in $(TARGET_SUBDIR)/libffi" ; \
25840 for flag in $(EXTRA_TARGET_FLAGS); do \
25841 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25842 done; \
25843 (cd $(TARGET_SUBDIR)/libffi && \
25844 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25845 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25846 "RANLIB=$${RANLIB}" \
25847 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25848 info) \
25849 || exit 1
25851 @endif target-libffi
25853 .PHONY: maybe-dvi-target-libffi dvi-target-libffi
25854 maybe-dvi-target-libffi:
25855 @if target-libffi
25856 maybe-dvi-target-libffi: dvi-target-libffi
25858 dvi-target-libffi: \
25859 configure-target-libffi
25860 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
25861 r=`${PWD_COMMAND}`; export r; \
25862 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25863 $(SET_LIB_PATH) \
25864 $(NORMAL_TARGET_EXPORTS) \
25865 echo "Doing dvi in $(TARGET_SUBDIR)/libffi" ; \
25866 for flag in $(EXTRA_TARGET_FLAGS); do \
25867 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25868 done; \
25869 (cd $(TARGET_SUBDIR)/libffi && \
25870 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25871 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25872 "RANLIB=$${RANLIB}" \
25873 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25874 dvi) \
25875 || exit 1
25877 @endif target-libffi
25879 .PHONY: maybe-TAGS-target-libffi TAGS-target-libffi
25880 maybe-TAGS-target-libffi:
25881 @if target-libffi
25882 maybe-TAGS-target-libffi: TAGS-target-libffi
25884 TAGS-target-libffi: \
25885 configure-target-libffi
25886 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
25887 r=`${PWD_COMMAND}`; export r; \
25888 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25889 $(SET_LIB_PATH) \
25890 $(NORMAL_TARGET_EXPORTS) \
25891 echo "Doing TAGS in $(TARGET_SUBDIR)/libffi" ; \
25892 for flag in $(EXTRA_TARGET_FLAGS); do \
25893 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25894 done; \
25895 (cd $(TARGET_SUBDIR)/libffi && \
25896 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25897 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25898 "RANLIB=$${RANLIB}" \
25899 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25900 TAGS) \
25901 || exit 1
25903 @endif target-libffi
25905 .PHONY: maybe-install-info-target-libffi install-info-target-libffi
25906 maybe-install-info-target-libffi:
25907 @if target-libffi
25908 maybe-install-info-target-libffi: install-info-target-libffi
25910 install-info-target-libffi: \
25911 configure-target-libffi \
25912 info-target-libffi
25913 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
25914 r=`${PWD_COMMAND}`; export r; \
25915 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25916 $(SET_LIB_PATH) \
25917 $(NORMAL_TARGET_EXPORTS) \
25918 echo "Doing install-info in $(TARGET_SUBDIR)/libffi" ; \
25919 for flag in $(EXTRA_TARGET_FLAGS); do \
25920 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25921 done; \
25922 (cd $(TARGET_SUBDIR)/libffi && \
25923 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25924 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25925 "RANLIB=$${RANLIB}" \
25926 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25927 install-info) \
25928 || exit 1
25930 @endif target-libffi
25932 .PHONY: maybe-installcheck-target-libffi installcheck-target-libffi
25933 maybe-installcheck-target-libffi:
25934 @if target-libffi
25935 maybe-installcheck-target-libffi: installcheck-target-libffi
25937 installcheck-target-libffi: \
25938 configure-target-libffi
25939 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
25940 r=`${PWD_COMMAND}`; export r; \
25941 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25942 $(SET_LIB_PATH) \
25943 $(NORMAL_TARGET_EXPORTS) \
25944 echo "Doing installcheck in $(TARGET_SUBDIR)/libffi" ; \
25945 for flag in $(EXTRA_TARGET_FLAGS); do \
25946 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25947 done; \
25948 (cd $(TARGET_SUBDIR)/libffi && \
25949 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25950 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25951 "RANLIB=$${RANLIB}" \
25952 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25953 installcheck) \
25954 || exit 1
25956 @endif target-libffi
25958 .PHONY: maybe-mostlyclean-target-libffi mostlyclean-target-libffi
25959 maybe-mostlyclean-target-libffi:
25960 @if target-libffi
25961 maybe-mostlyclean-target-libffi: mostlyclean-target-libffi
25963 mostlyclean-target-libffi:
25964 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
25965 r=`${PWD_COMMAND}`; export r; \
25966 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25967 $(SET_LIB_PATH) \
25968 $(NORMAL_TARGET_EXPORTS) \
25969 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libffi" ; \
25970 for flag in $(EXTRA_TARGET_FLAGS); do \
25971 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25972 done; \
25973 (cd $(TARGET_SUBDIR)/libffi && \
25974 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25975 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25976 "RANLIB=$${RANLIB}" \
25977 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25978 mostlyclean) \
25979 || exit 1
25981 @endif target-libffi
25983 .PHONY: maybe-clean-target-libffi clean-target-libffi
25984 maybe-clean-target-libffi:
25985 @if target-libffi
25986 maybe-clean-target-libffi: clean-target-libffi
25988 clean-target-libffi:
25989 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
25990 r=`${PWD_COMMAND}`; export r; \
25991 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25992 $(SET_LIB_PATH) \
25993 $(NORMAL_TARGET_EXPORTS) \
25994 echo "Doing clean in $(TARGET_SUBDIR)/libffi" ; \
25995 for flag in $(EXTRA_TARGET_FLAGS); do \
25996 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25997 done; \
25998 (cd $(TARGET_SUBDIR)/libffi && \
25999 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26000 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26001 "RANLIB=$${RANLIB}" \
26002 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26003 clean) \
26004 || exit 1
26006 @endif target-libffi
26008 .PHONY: maybe-distclean-target-libffi distclean-target-libffi
26009 maybe-distclean-target-libffi:
26010 @if target-libffi
26011 maybe-distclean-target-libffi: distclean-target-libffi
26013 distclean-target-libffi:
26014 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
26015 r=`${PWD_COMMAND}`; export r; \
26016 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26017 $(SET_LIB_PATH) \
26018 $(NORMAL_TARGET_EXPORTS) \
26019 echo "Doing distclean in $(TARGET_SUBDIR)/libffi" ; \
26020 for flag in $(EXTRA_TARGET_FLAGS); do \
26021 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26022 done; \
26023 (cd $(TARGET_SUBDIR)/libffi && \
26024 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26025 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26026 "RANLIB=$${RANLIB}" \
26027 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26028 distclean) \
26029 || exit 1
26031 @endif target-libffi
26033 .PHONY: maybe-maintainer-clean-target-libffi maintainer-clean-target-libffi
26034 maybe-maintainer-clean-target-libffi:
26035 @if target-libffi
26036 maybe-maintainer-clean-target-libffi: maintainer-clean-target-libffi
26038 maintainer-clean-target-libffi:
26039 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
26040 r=`${PWD_COMMAND}`; export r; \
26041 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26042 $(SET_LIB_PATH) \
26043 $(NORMAL_TARGET_EXPORTS) \
26044 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libffi" ; \
26045 for flag in $(EXTRA_TARGET_FLAGS); do \
26046 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26047 done; \
26048 (cd $(TARGET_SUBDIR)/libffi && \
26049 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26050 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26051 "RANLIB=$${RANLIB}" \
26052 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26053 maintainer-clean) \
26054 || exit 1
26056 @endif target-libffi
26059 .PHONY: configure-target-libjava maybe-configure-target-libjava
26060 maybe-configure-target-libjava:
26061 @if target-libjava
26062 maybe-configure-target-libjava: configure-target-libjava
26064 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
26065 $(TARGET_SUBDIR)/libjava/multilib.out: multilib.out
26066 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libjava ; \
26067 rm -f $(TARGET_SUBDIR)/libjava/Makefile || : ; \
26068 cp multilib.out $(TARGET_SUBDIR)/libjava/multilib.out
26070 configure-target-libjava: $(TARGET_SUBDIR)/libjava/multilib.out
26071 @test ! -f $(TARGET_SUBDIR)/libjava/Makefile || exit 0; \
26072 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libjava ; \
26073 r=`${PWD_COMMAND}`; export r; \
26074 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26075 $(SET_LIB_PATH) \
26076 $(RAW_CXX_TARGET_EXPORTS) \
26077 echo Configuring in $(TARGET_SUBDIR)/libjava; \
26078 cd "$(TARGET_SUBDIR)/libjava" || exit 1; \
26079 case $(srcdir) in \
26080 /* | [A-Za-z]:[\\/]*) \
26081 topdir=$(srcdir) ;; \
26082 *) \
26083 case "$(TARGET_SUBDIR)" in \
26084 .) topdir="../$(srcdir)" ;; \
26085 *) topdir="../../$(srcdir)" ;; \
26086 esac ;; \
26087 esac; \
26088 srcdiroption="--srcdir=$${topdir}/libjava"; \
26089 libsrcdir="$$s/libjava"; \
26090 rm -f no-such-file || : ; \
26091 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
26092 $(TARGET_CONFIGARGS) $${srcdiroption} \
26093 --with-target-subdir="$(TARGET_SUBDIR)" \
26094 || exit 1
26095 @endif target-libjava
26097 .PHONY: all-target-libjava maybe-all-target-libjava
26098 maybe-all-target-libjava:
26099 @if target-libjava
26100 maybe-all-target-libjava: all-target-libjava
26101 all-target-libjava: configure-target-libjava
26102 @r=`${PWD_COMMAND}`; export r; \
26103 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26104 $(SET_LIB_PATH) \
26105 $(RAW_CXX_TARGET_EXPORTS) \
26106 (cd $(TARGET_SUBDIR)/libjava && \
26107 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' all)
26108 @endif target-libjava
26110 .PHONY: check-target-libjava maybe-check-target-libjava
26111 maybe-check-target-libjava:
26112 @if target-libjava
26113 maybe-check-target-libjava: check-target-libjava
26115 check-target-libjava:
26116 @r=`${PWD_COMMAND}`; export r; \
26117 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26118 $(SET_LIB_PATH) \
26119 $(RAW_CXX_TARGET_EXPORTS) \
26120 (cd $(TARGET_SUBDIR)/libjava && \
26121 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' check)
26123 @endif target-libjava
26125 .PHONY: install-target-libjava maybe-install-target-libjava
26126 maybe-install-target-libjava:
26127 @if target-libjava
26128 maybe-install-target-libjava: install-target-libjava
26130 install-target-libjava: installdirs
26131 @r=`${PWD_COMMAND}`; export r; \
26132 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26133 $(SET_LIB_PATH) \
26134 $(RAW_CXX_TARGET_EXPORTS) \
26135 (cd $(TARGET_SUBDIR)/libjava && \
26136 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
26138 @endif target-libjava
26140 # Other targets (info, dvi, etc.)
26142 .PHONY: maybe-info-target-libjava info-target-libjava
26143 maybe-info-target-libjava:
26144 @if target-libjava
26145 maybe-info-target-libjava: info-target-libjava
26147 info-target-libjava: \
26148 configure-target-libjava
26149 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
26150 r=`${PWD_COMMAND}`; export r; \
26151 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26152 $(SET_LIB_PATH) \
26153 $(RAW_CXX_TARGET_EXPORTS) \
26154 echo "Doing info in $(TARGET_SUBDIR)/libjava" ; \
26155 for flag in $(EXTRA_TARGET_FLAGS); do \
26156 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26157 done; \
26158 (cd $(TARGET_SUBDIR)/libjava && \
26159 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26160 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26161 "RANLIB=$${RANLIB}" \
26162 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26163 info) \
26164 || exit 1
26166 @endif target-libjava
26168 .PHONY: maybe-dvi-target-libjava dvi-target-libjava
26169 maybe-dvi-target-libjava:
26170 @if target-libjava
26171 maybe-dvi-target-libjava: dvi-target-libjava
26173 dvi-target-libjava: \
26174 configure-target-libjava
26175 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
26176 r=`${PWD_COMMAND}`; export r; \
26177 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26178 $(SET_LIB_PATH) \
26179 $(RAW_CXX_TARGET_EXPORTS) \
26180 echo "Doing dvi in $(TARGET_SUBDIR)/libjava" ; \
26181 for flag in $(EXTRA_TARGET_FLAGS); do \
26182 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26183 done; \
26184 (cd $(TARGET_SUBDIR)/libjava && \
26185 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26186 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26187 "RANLIB=$${RANLIB}" \
26188 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26189 dvi) \
26190 || exit 1
26192 @endif target-libjava
26194 .PHONY: maybe-TAGS-target-libjava TAGS-target-libjava
26195 maybe-TAGS-target-libjava:
26196 @if target-libjava
26197 maybe-TAGS-target-libjava: TAGS-target-libjava
26199 TAGS-target-libjava: \
26200 configure-target-libjava
26201 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
26202 r=`${PWD_COMMAND}`; export r; \
26203 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26204 $(SET_LIB_PATH) \
26205 $(RAW_CXX_TARGET_EXPORTS) \
26206 echo "Doing TAGS in $(TARGET_SUBDIR)/libjava" ; \
26207 for flag in $(EXTRA_TARGET_FLAGS); do \
26208 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26209 done; \
26210 (cd $(TARGET_SUBDIR)/libjava && \
26211 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26212 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26213 "RANLIB=$${RANLIB}" \
26214 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26215 TAGS) \
26216 || exit 1
26218 @endif target-libjava
26220 .PHONY: maybe-install-info-target-libjava install-info-target-libjava
26221 maybe-install-info-target-libjava:
26222 @if target-libjava
26223 maybe-install-info-target-libjava: install-info-target-libjava
26225 install-info-target-libjava: \
26226 configure-target-libjava \
26227 info-target-libjava
26228 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
26229 r=`${PWD_COMMAND}`; export r; \
26230 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26231 $(SET_LIB_PATH) \
26232 $(RAW_CXX_TARGET_EXPORTS) \
26233 echo "Doing install-info in $(TARGET_SUBDIR)/libjava" ; \
26234 for flag in $(EXTRA_TARGET_FLAGS); do \
26235 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26236 done; \
26237 (cd $(TARGET_SUBDIR)/libjava && \
26238 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26239 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26240 "RANLIB=$${RANLIB}" \
26241 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26242 install-info) \
26243 || exit 1
26245 @endif target-libjava
26247 .PHONY: maybe-installcheck-target-libjava installcheck-target-libjava
26248 maybe-installcheck-target-libjava:
26249 @if target-libjava
26250 maybe-installcheck-target-libjava: installcheck-target-libjava
26252 installcheck-target-libjava: \
26253 configure-target-libjava
26254 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
26255 r=`${PWD_COMMAND}`; export r; \
26256 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26257 $(SET_LIB_PATH) \
26258 $(RAW_CXX_TARGET_EXPORTS) \
26259 echo "Doing installcheck in $(TARGET_SUBDIR)/libjava" ; \
26260 for flag in $(EXTRA_TARGET_FLAGS); do \
26261 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26262 done; \
26263 (cd $(TARGET_SUBDIR)/libjava && \
26264 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26265 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26266 "RANLIB=$${RANLIB}" \
26267 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26268 installcheck) \
26269 || exit 1
26271 @endif target-libjava
26273 .PHONY: maybe-mostlyclean-target-libjava mostlyclean-target-libjava
26274 maybe-mostlyclean-target-libjava:
26275 @if target-libjava
26276 maybe-mostlyclean-target-libjava: mostlyclean-target-libjava
26278 mostlyclean-target-libjava:
26279 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
26280 r=`${PWD_COMMAND}`; export r; \
26281 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26282 $(SET_LIB_PATH) \
26283 $(RAW_CXX_TARGET_EXPORTS) \
26284 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libjava" ; \
26285 for flag in $(EXTRA_TARGET_FLAGS); do \
26286 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26287 done; \
26288 (cd $(TARGET_SUBDIR)/libjava && \
26289 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26290 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26291 "RANLIB=$${RANLIB}" \
26292 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26293 mostlyclean) \
26294 || exit 1
26296 @endif target-libjava
26298 .PHONY: maybe-clean-target-libjava clean-target-libjava
26299 maybe-clean-target-libjava:
26300 @if target-libjava
26301 maybe-clean-target-libjava: clean-target-libjava
26303 clean-target-libjava:
26304 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
26305 r=`${PWD_COMMAND}`; export r; \
26306 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26307 $(SET_LIB_PATH) \
26308 $(RAW_CXX_TARGET_EXPORTS) \
26309 echo "Doing clean in $(TARGET_SUBDIR)/libjava" ; \
26310 for flag in $(EXTRA_TARGET_FLAGS); do \
26311 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26312 done; \
26313 (cd $(TARGET_SUBDIR)/libjava && \
26314 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26315 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26316 "RANLIB=$${RANLIB}" \
26317 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26318 clean) \
26319 || exit 1
26321 @endif target-libjava
26323 .PHONY: maybe-distclean-target-libjava distclean-target-libjava
26324 maybe-distclean-target-libjava:
26325 @if target-libjava
26326 maybe-distclean-target-libjava: distclean-target-libjava
26328 distclean-target-libjava:
26329 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
26330 r=`${PWD_COMMAND}`; export r; \
26331 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26332 $(SET_LIB_PATH) \
26333 $(RAW_CXX_TARGET_EXPORTS) \
26334 echo "Doing distclean in $(TARGET_SUBDIR)/libjava" ; \
26335 for flag in $(EXTRA_TARGET_FLAGS); do \
26336 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26337 done; \
26338 (cd $(TARGET_SUBDIR)/libjava && \
26339 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26340 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26341 "RANLIB=$${RANLIB}" \
26342 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26343 distclean) \
26344 || exit 1
26346 @endif target-libjava
26348 .PHONY: maybe-maintainer-clean-target-libjava maintainer-clean-target-libjava
26349 maybe-maintainer-clean-target-libjava:
26350 @if target-libjava
26351 maybe-maintainer-clean-target-libjava: maintainer-clean-target-libjava
26353 maintainer-clean-target-libjava:
26354 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
26355 r=`${PWD_COMMAND}`; export r; \
26356 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26357 $(SET_LIB_PATH) \
26358 $(RAW_CXX_TARGET_EXPORTS) \
26359 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libjava" ; \
26360 for flag in $(EXTRA_TARGET_FLAGS); do \
26361 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26362 done; \
26363 (cd $(TARGET_SUBDIR)/libjava && \
26364 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26365 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26366 "RANLIB=$${RANLIB}" \
26367 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26368 maintainer-clean) \
26369 || exit 1
26371 @endif target-libjava
26374 .PHONY: configure-target-zlib maybe-configure-target-zlib
26375 maybe-configure-target-zlib:
26376 @if target-zlib
26377 maybe-configure-target-zlib: configure-target-zlib
26379 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
26380 $(TARGET_SUBDIR)/zlib/multilib.out: multilib.out
26381 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/zlib ; \
26382 rm -f $(TARGET_SUBDIR)/zlib/Makefile || : ; \
26383 cp multilib.out $(TARGET_SUBDIR)/zlib/multilib.out
26385 configure-target-zlib: $(TARGET_SUBDIR)/zlib/multilib.out
26386 @test ! -f $(TARGET_SUBDIR)/zlib/Makefile || exit 0; \
26387 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/zlib ; \
26388 r=`${PWD_COMMAND}`; export r; \
26389 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26390 $(SET_LIB_PATH) \
26391 $(NORMAL_TARGET_EXPORTS) \
26392 echo Configuring in $(TARGET_SUBDIR)/zlib; \
26393 cd "$(TARGET_SUBDIR)/zlib" || exit 1; \
26394 case $(srcdir) in \
26395 /* | [A-Za-z]:[\\/]*) \
26396 topdir=$(srcdir) ;; \
26397 *) \
26398 case "$(TARGET_SUBDIR)" in \
26399 .) topdir="../$(srcdir)" ;; \
26400 *) topdir="../../$(srcdir)" ;; \
26401 esac ;; \
26402 esac; \
26403 if [ "$(srcdir)" = "." ] ; then \
26404 if [ "$(TARGET_SUBDIR)" != "." ] ; then \
26405 if $(SHELL) $$s/symlink-tree $${topdir}/zlib "no-such-file" ; then \
26406 if [ -f Makefile ]; then \
26407 if $(MAKE) distclean; then \
26408 true; \
26409 else \
26410 exit 1; \
26411 fi; \
26412 else \
26413 true; \
26414 fi; \
26415 else \
26416 exit 1; \
26417 fi; \
26418 else \
26419 true; \
26420 fi; \
26421 srcdiroption="--srcdir=."; \
26422 libsrcdir="."; \
26423 else \
26424 srcdiroption="--srcdir=$${topdir}/zlib"; \
26425 libsrcdir="$$s/zlib"; \
26426 fi; \
26427 rm -f no-such-file || : ; \
26428 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
26429 $(TARGET_CONFIGARGS) $${srcdiroption} \
26430 --with-target-subdir="$(TARGET_SUBDIR)" \
26431 || exit 1
26432 @endif target-zlib
26434 .PHONY: all-target-zlib maybe-all-target-zlib
26435 maybe-all-target-zlib:
26436 @if target-zlib
26437 maybe-all-target-zlib: all-target-zlib
26438 all-target-zlib: configure-target-zlib
26439 @r=`${PWD_COMMAND}`; export r; \
26440 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26441 $(SET_LIB_PATH) \
26442 $(NORMAL_TARGET_EXPORTS) \
26443 (cd $(TARGET_SUBDIR)/zlib && \
26444 $(MAKE) $(TARGET_FLAGS_TO_PASS) all)
26445 @endif target-zlib
26447 .PHONY: check-target-zlib maybe-check-target-zlib
26448 maybe-check-target-zlib:
26449 @if target-zlib
26450 maybe-check-target-zlib: check-target-zlib
26452 check-target-zlib:
26453 @r=`${PWD_COMMAND}`; export r; \
26454 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26455 $(SET_LIB_PATH) \
26456 $(NORMAL_TARGET_EXPORTS) \
26457 (cd $(TARGET_SUBDIR)/zlib && \
26458 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
26460 @endif target-zlib
26462 .PHONY: install-target-zlib maybe-install-target-zlib
26463 maybe-install-target-zlib:
26464 @if target-zlib
26465 maybe-install-target-zlib: install-target-zlib
26467 install-target-zlib: installdirs
26468 @r=`${PWD_COMMAND}`; export r; \
26469 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26470 $(SET_LIB_PATH) \
26471 $(NORMAL_TARGET_EXPORTS) \
26472 (cd $(TARGET_SUBDIR)/zlib && \
26473 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
26475 @endif target-zlib
26477 # Other targets (info, dvi, etc.)
26479 .PHONY: maybe-info-target-zlib info-target-zlib
26480 maybe-info-target-zlib:
26481 @if target-zlib
26482 maybe-info-target-zlib: info-target-zlib
26484 info-target-zlib: \
26485 configure-target-zlib
26486 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
26487 r=`${PWD_COMMAND}`; export r; \
26488 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26489 $(SET_LIB_PATH) \
26490 $(NORMAL_TARGET_EXPORTS) \
26491 echo "Doing info in $(TARGET_SUBDIR)/zlib" ; \
26492 for flag in $(EXTRA_TARGET_FLAGS); do \
26493 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26494 done; \
26495 (cd $(TARGET_SUBDIR)/zlib && \
26496 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26497 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26498 "RANLIB=$${RANLIB}" \
26499 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26500 info) \
26501 || exit 1
26503 @endif target-zlib
26505 .PHONY: maybe-dvi-target-zlib dvi-target-zlib
26506 maybe-dvi-target-zlib:
26507 @if target-zlib
26508 maybe-dvi-target-zlib: dvi-target-zlib
26510 dvi-target-zlib: \
26511 configure-target-zlib
26512 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
26513 r=`${PWD_COMMAND}`; export r; \
26514 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26515 $(SET_LIB_PATH) \
26516 $(NORMAL_TARGET_EXPORTS) \
26517 echo "Doing dvi in $(TARGET_SUBDIR)/zlib" ; \
26518 for flag in $(EXTRA_TARGET_FLAGS); do \
26519 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26520 done; \
26521 (cd $(TARGET_SUBDIR)/zlib && \
26522 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26523 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26524 "RANLIB=$${RANLIB}" \
26525 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26526 dvi) \
26527 || exit 1
26529 @endif target-zlib
26531 .PHONY: maybe-TAGS-target-zlib TAGS-target-zlib
26532 maybe-TAGS-target-zlib:
26533 @if target-zlib
26534 maybe-TAGS-target-zlib: TAGS-target-zlib
26536 TAGS-target-zlib: \
26537 configure-target-zlib
26538 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
26539 r=`${PWD_COMMAND}`; export r; \
26540 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26541 $(SET_LIB_PATH) \
26542 $(NORMAL_TARGET_EXPORTS) \
26543 echo "Doing TAGS in $(TARGET_SUBDIR)/zlib" ; \
26544 for flag in $(EXTRA_TARGET_FLAGS); do \
26545 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26546 done; \
26547 (cd $(TARGET_SUBDIR)/zlib && \
26548 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26549 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26550 "RANLIB=$${RANLIB}" \
26551 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26552 TAGS) \
26553 || exit 1
26555 @endif target-zlib
26557 .PHONY: maybe-install-info-target-zlib install-info-target-zlib
26558 maybe-install-info-target-zlib:
26559 @if target-zlib
26560 maybe-install-info-target-zlib: install-info-target-zlib
26562 install-info-target-zlib: \
26563 configure-target-zlib \
26564 info-target-zlib
26565 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
26566 r=`${PWD_COMMAND}`; export r; \
26567 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26568 $(SET_LIB_PATH) \
26569 $(NORMAL_TARGET_EXPORTS) \
26570 echo "Doing install-info in $(TARGET_SUBDIR)/zlib" ; \
26571 for flag in $(EXTRA_TARGET_FLAGS); do \
26572 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26573 done; \
26574 (cd $(TARGET_SUBDIR)/zlib && \
26575 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26576 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26577 "RANLIB=$${RANLIB}" \
26578 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26579 install-info) \
26580 || exit 1
26582 @endif target-zlib
26584 .PHONY: maybe-installcheck-target-zlib installcheck-target-zlib
26585 maybe-installcheck-target-zlib:
26586 @if target-zlib
26587 maybe-installcheck-target-zlib: installcheck-target-zlib
26589 installcheck-target-zlib: \
26590 configure-target-zlib
26591 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
26592 r=`${PWD_COMMAND}`; export r; \
26593 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26594 $(SET_LIB_PATH) \
26595 $(NORMAL_TARGET_EXPORTS) \
26596 echo "Doing installcheck in $(TARGET_SUBDIR)/zlib" ; \
26597 for flag in $(EXTRA_TARGET_FLAGS); do \
26598 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26599 done; \
26600 (cd $(TARGET_SUBDIR)/zlib && \
26601 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26602 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26603 "RANLIB=$${RANLIB}" \
26604 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26605 installcheck) \
26606 || exit 1
26608 @endif target-zlib
26610 .PHONY: maybe-mostlyclean-target-zlib mostlyclean-target-zlib
26611 maybe-mostlyclean-target-zlib:
26612 @if target-zlib
26613 maybe-mostlyclean-target-zlib: mostlyclean-target-zlib
26615 mostlyclean-target-zlib:
26616 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
26617 r=`${PWD_COMMAND}`; export r; \
26618 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26619 $(SET_LIB_PATH) \
26620 $(NORMAL_TARGET_EXPORTS) \
26621 echo "Doing mostlyclean in $(TARGET_SUBDIR)/zlib" ; \
26622 for flag in $(EXTRA_TARGET_FLAGS); do \
26623 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26624 done; \
26625 (cd $(TARGET_SUBDIR)/zlib && \
26626 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26627 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26628 "RANLIB=$${RANLIB}" \
26629 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26630 mostlyclean) \
26631 || exit 1
26633 @endif target-zlib
26635 .PHONY: maybe-clean-target-zlib clean-target-zlib
26636 maybe-clean-target-zlib:
26637 @if target-zlib
26638 maybe-clean-target-zlib: clean-target-zlib
26640 clean-target-zlib:
26641 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
26642 r=`${PWD_COMMAND}`; export r; \
26643 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26644 $(SET_LIB_PATH) \
26645 $(NORMAL_TARGET_EXPORTS) \
26646 echo "Doing clean in $(TARGET_SUBDIR)/zlib" ; \
26647 for flag in $(EXTRA_TARGET_FLAGS); do \
26648 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26649 done; \
26650 (cd $(TARGET_SUBDIR)/zlib && \
26651 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26652 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26653 "RANLIB=$${RANLIB}" \
26654 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26655 clean) \
26656 || exit 1
26658 @endif target-zlib
26660 .PHONY: maybe-distclean-target-zlib distclean-target-zlib
26661 maybe-distclean-target-zlib:
26662 @if target-zlib
26663 maybe-distclean-target-zlib: distclean-target-zlib
26665 distclean-target-zlib:
26666 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
26667 r=`${PWD_COMMAND}`; export r; \
26668 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26669 $(SET_LIB_PATH) \
26670 $(NORMAL_TARGET_EXPORTS) \
26671 echo "Doing distclean in $(TARGET_SUBDIR)/zlib" ; \
26672 for flag in $(EXTRA_TARGET_FLAGS); do \
26673 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26674 done; \
26675 (cd $(TARGET_SUBDIR)/zlib && \
26676 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26677 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26678 "RANLIB=$${RANLIB}" \
26679 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26680 distclean) \
26681 || exit 1
26683 @endif target-zlib
26685 .PHONY: maybe-maintainer-clean-target-zlib maintainer-clean-target-zlib
26686 maybe-maintainer-clean-target-zlib:
26687 @if target-zlib
26688 maybe-maintainer-clean-target-zlib: maintainer-clean-target-zlib
26690 maintainer-clean-target-zlib:
26691 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
26692 r=`${PWD_COMMAND}`; export r; \
26693 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26694 $(SET_LIB_PATH) \
26695 $(NORMAL_TARGET_EXPORTS) \
26696 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/zlib" ; \
26697 for flag in $(EXTRA_TARGET_FLAGS); do \
26698 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26699 done; \
26700 (cd $(TARGET_SUBDIR)/zlib && \
26701 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26702 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26703 "RANLIB=$${RANLIB}" \
26704 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26705 maintainer-clean) \
26706 || exit 1
26708 @endif target-zlib
26711 .PHONY: configure-target-boehm-gc maybe-configure-target-boehm-gc
26712 maybe-configure-target-boehm-gc:
26713 @if target-boehm-gc
26714 maybe-configure-target-boehm-gc: configure-target-boehm-gc
26716 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
26717 $(TARGET_SUBDIR)/boehm-gc/multilib.out: multilib.out
26718 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/boehm-gc ; \
26719 rm -f $(TARGET_SUBDIR)/boehm-gc/Makefile || : ; \
26720 cp multilib.out $(TARGET_SUBDIR)/boehm-gc/multilib.out
26722 configure-target-boehm-gc: $(TARGET_SUBDIR)/boehm-gc/multilib.out
26723 @test ! -f $(TARGET_SUBDIR)/boehm-gc/Makefile || exit 0; \
26724 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/boehm-gc ; \
26725 r=`${PWD_COMMAND}`; export r; \
26726 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26727 $(SET_LIB_PATH) \
26728 $(NORMAL_TARGET_EXPORTS) \
26729 echo Configuring in $(TARGET_SUBDIR)/boehm-gc; \
26730 cd "$(TARGET_SUBDIR)/boehm-gc" || exit 1; \
26731 case $(srcdir) in \
26732 /* | [A-Za-z]:[\\/]*) \
26733 topdir=$(srcdir) ;; \
26734 *) \
26735 case "$(TARGET_SUBDIR)" in \
26736 .) topdir="../$(srcdir)" ;; \
26737 *) topdir="../../$(srcdir)" ;; \
26738 esac ;; \
26739 esac; \
26740 srcdiroption="--srcdir=$${topdir}/boehm-gc"; \
26741 libsrcdir="$$s/boehm-gc"; \
26742 rm -f no-such-file || : ; \
26743 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
26744 $(TARGET_CONFIGARGS) $${srcdiroption} \
26745 --with-target-subdir="$(TARGET_SUBDIR)" \
26746 || exit 1
26747 @endif target-boehm-gc
26749 .PHONY: all-target-boehm-gc maybe-all-target-boehm-gc
26750 maybe-all-target-boehm-gc:
26751 @if target-boehm-gc
26752 maybe-all-target-boehm-gc: all-target-boehm-gc
26753 all-target-boehm-gc: configure-target-boehm-gc
26754 @r=`${PWD_COMMAND}`; export r; \
26755 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26756 $(SET_LIB_PATH) \
26757 $(NORMAL_TARGET_EXPORTS) \
26758 (cd $(TARGET_SUBDIR)/boehm-gc && \
26759 $(MAKE) $(TARGET_FLAGS_TO_PASS) all)
26760 @endif target-boehm-gc
26762 .PHONY: check-target-boehm-gc maybe-check-target-boehm-gc
26763 maybe-check-target-boehm-gc:
26764 @if target-boehm-gc
26765 maybe-check-target-boehm-gc: check-target-boehm-gc
26767 check-target-boehm-gc:
26768 @r=`${PWD_COMMAND}`; export r; \
26769 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26770 $(SET_LIB_PATH) \
26771 $(NORMAL_TARGET_EXPORTS) \
26772 (cd $(TARGET_SUBDIR)/boehm-gc && \
26773 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
26775 @endif target-boehm-gc
26777 .PHONY: install-target-boehm-gc maybe-install-target-boehm-gc
26778 maybe-install-target-boehm-gc:
26779 @if target-boehm-gc
26780 maybe-install-target-boehm-gc: install-target-boehm-gc
26782 install-target-boehm-gc: installdirs
26783 @r=`${PWD_COMMAND}`; export r; \
26784 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26785 $(SET_LIB_PATH) \
26786 $(NORMAL_TARGET_EXPORTS) \
26787 (cd $(TARGET_SUBDIR)/boehm-gc && \
26788 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
26790 @endif target-boehm-gc
26792 # Other targets (info, dvi, etc.)
26794 .PHONY: maybe-info-target-boehm-gc info-target-boehm-gc
26795 maybe-info-target-boehm-gc:
26796 @if target-boehm-gc
26797 maybe-info-target-boehm-gc: info-target-boehm-gc
26799 info-target-boehm-gc: \
26800 configure-target-boehm-gc
26801 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
26802 r=`${PWD_COMMAND}`; export r; \
26803 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26804 $(SET_LIB_PATH) \
26805 $(NORMAL_TARGET_EXPORTS) \
26806 echo "Doing info in $(TARGET_SUBDIR)/boehm-gc" ; \
26807 for flag in $(EXTRA_TARGET_FLAGS); do \
26808 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26809 done; \
26810 (cd $(TARGET_SUBDIR)/boehm-gc && \
26811 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26812 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26813 "RANLIB=$${RANLIB}" \
26814 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26815 info) \
26816 || exit 1
26818 @endif target-boehm-gc
26820 .PHONY: maybe-dvi-target-boehm-gc dvi-target-boehm-gc
26821 maybe-dvi-target-boehm-gc:
26822 @if target-boehm-gc
26823 maybe-dvi-target-boehm-gc: dvi-target-boehm-gc
26825 dvi-target-boehm-gc: \
26826 configure-target-boehm-gc
26827 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
26828 r=`${PWD_COMMAND}`; export r; \
26829 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26830 $(SET_LIB_PATH) \
26831 $(NORMAL_TARGET_EXPORTS) \
26832 echo "Doing dvi in $(TARGET_SUBDIR)/boehm-gc" ; \
26833 for flag in $(EXTRA_TARGET_FLAGS); do \
26834 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26835 done; \
26836 (cd $(TARGET_SUBDIR)/boehm-gc && \
26837 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26838 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26839 "RANLIB=$${RANLIB}" \
26840 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26841 dvi) \
26842 || exit 1
26844 @endif target-boehm-gc
26846 .PHONY: maybe-TAGS-target-boehm-gc TAGS-target-boehm-gc
26847 maybe-TAGS-target-boehm-gc:
26848 @if target-boehm-gc
26849 maybe-TAGS-target-boehm-gc: TAGS-target-boehm-gc
26851 TAGS-target-boehm-gc: \
26852 configure-target-boehm-gc
26853 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
26854 r=`${PWD_COMMAND}`; export r; \
26855 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26856 $(SET_LIB_PATH) \
26857 $(NORMAL_TARGET_EXPORTS) \
26858 echo "Doing TAGS in $(TARGET_SUBDIR)/boehm-gc" ; \
26859 for flag in $(EXTRA_TARGET_FLAGS); do \
26860 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26861 done; \
26862 (cd $(TARGET_SUBDIR)/boehm-gc && \
26863 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26864 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26865 "RANLIB=$${RANLIB}" \
26866 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26867 TAGS) \
26868 || exit 1
26870 @endif target-boehm-gc
26872 .PHONY: maybe-install-info-target-boehm-gc install-info-target-boehm-gc
26873 maybe-install-info-target-boehm-gc:
26874 @if target-boehm-gc
26875 maybe-install-info-target-boehm-gc: install-info-target-boehm-gc
26877 install-info-target-boehm-gc: \
26878 configure-target-boehm-gc \
26879 info-target-boehm-gc
26880 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
26881 r=`${PWD_COMMAND}`; export r; \
26882 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26883 $(SET_LIB_PATH) \
26884 $(NORMAL_TARGET_EXPORTS) \
26885 echo "Doing install-info in $(TARGET_SUBDIR)/boehm-gc" ; \
26886 for flag in $(EXTRA_TARGET_FLAGS); do \
26887 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26888 done; \
26889 (cd $(TARGET_SUBDIR)/boehm-gc && \
26890 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26891 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26892 "RANLIB=$${RANLIB}" \
26893 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26894 install-info) \
26895 || exit 1
26897 @endif target-boehm-gc
26899 .PHONY: maybe-installcheck-target-boehm-gc installcheck-target-boehm-gc
26900 maybe-installcheck-target-boehm-gc:
26901 @if target-boehm-gc
26902 maybe-installcheck-target-boehm-gc: installcheck-target-boehm-gc
26904 installcheck-target-boehm-gc: \
26905 configure-target-boehm-gc
26906 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
26907 r=`${PWD_COMMAND}`; export r; \
26908 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26909 $(SET_LIB_PATH) \
26910 $(NORMAL_TARGET_EXPORTS) \
26911 echo "Doing installcheck in $(TARGET_SUBDIR)/boehm-gc" ; \
26912 for flag in $(EXTRA_TARGET_FLAGS); do \
26913 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26914 done; \
26915 (cd $(TARGET_SUBDIR)/boehm-gc && \
26916 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26917 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26918 "RANLIB=$${RANLIB}" \
26919 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26920 installcheck) \
26921 || exit 1
26923 @endif target-boehm-gc
26925 .PHONY: maybe-mostlyclean-target-boehm-gc mostlyclean-target-boehm-gc
26926 maybe-mostlyclean-target-boehm-gc:
26927 @if target-boehm-gc
26928 maybe-mostlyclean-target-boehm-gc: mostlyclean-target-boehm-gc
26930 mostlyclean-target-boehm-gc:
26931 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
26932 r=`${PWD_COMMAND}`; export r; \
26933 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26934 $(SET_LIB_PATH) \
26935 $(NORMAL_TARGET_EXPORTS) \
26936 echo "Doing mostlyclean in $(TARGET_SUBDIR)/boehm-gc" ; \
26937 for flag in $(EXTRA_TARGET_FLAGS); do \
26938 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26939 done; \
26940 (cd $(TARGET_SUBDIR)/boehm-gc && \
26941 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26942 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26943 "RANLIB=$${RANLIB}" \
26944 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26945 mostlyclean) \
26946 || exit 1
26948 @endif target-boehm-gc
26950 .PHONY: maybe-clean-target-boehm-gc clean-target-boehm-gc
26951 maybe-clean-target-boehm-gc:
26952 @if target-boehm-gc
26953 maybe-clean-target-boehm-gc: clean-target-boehm-gc
26955 clean-target-boehm-gc:
26956 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
26957 r=`${PWD_COMMAND}`; export r; \
26958 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26959 $(SET_LIB_PATH) \
26960 $(NORMAL_TARGET_EXPORTS) \
26961 echo "Doing clean in $(TARGET_SUBDIR)/boehm-gc" ; \
26962 for flag in $(EXTRA_TARGET_FLAGS); do \
26963 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26964 done; \
26965 (cd $(TARGET_SUBDIR)/boehm-gc && \
26966 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26967 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26968 "RANLIB=$${RANLIB}" \
26969 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26970 clean) \
26971 || exit 1
26973 @endif target-boehm-gc
26975 .PHONY: maybe-distclean-target-boehm-gc distclean-target-boehm-gc
26976 maybe-distclean-target-boehm-gc:
26977 @if target-boehm-gc
26978 maybe-distclean-target-boehm-gc: distclean-target-boehm-gc
26980 distclean-target-boehm-gc:
26981 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
26982 r=`${PWD_COMMAND}`; export r; \
26983 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26984 $(SET_LIB_PATH) \
26985 $(NORMAL_TARGET_EXPORTS) \
26986 echo "Doing distclean in $(TARGET_SUBDIR)/boehm-gc" ; \
26987 for flag in $(EXTRA_TARGET_FLAGS); do \
26988 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26989 done; \
26990 (cd $(TARGET_SUBDIR)/boehm-gc && \
26991 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26992 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26993 "RANLIB=$${RANLIB}" \
26994 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26995 distclean) \
26996 || exit 1
26998 @endif target-boehm-gc
27000 .PHONY: maybe-maintainer-clean-target-boehm-gc maintainer-clean-target-boehm-gc
27001 maybe-maintainer-clean-target-boehm-gc:
27002 @if target-boehm-gc
27003 maybe-maintainer-clean-target-boehm-gc: maintainer-clean-target-boehm-gc
27005 maintainer-clean-target-boehm-gc:
27006 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
27007 r=`${PWD_COMMAND}`; export r; \
27008 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27009 $(SET_LIB_PATH) \
27010 $(NORMAL_TARGET_EXPORTS) \
27011 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/boehm-gc" ; \
27012 for flag in $(EXTRA_TARGET_FLAGS); do \
27013 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27014 done; \
27015 (cd $(TARGET_SUBDIR)/boehm-gc && \
27016 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27017 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27018 "RANLIB=$${RANLIB}" \
27019 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27020 maintainer-clean) \
27021 || exit 1
27023 @endif target-boehm-gc
27026 .PHONY: configure-target-qthreads maybe-configure-target-qthreads
27027 maybe-configure-target-qthreads:
27028 @if target-qthreads
27029 maybe-configure-target-qthreads: configure-target-qthreads
27031 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
27032 $(TARGET_SUBDIR)/qthreads/multilib.out: multilib.out
27033 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/qthreads ; \
27034 rm -f $(TARGET_SUBDIR)/qthreads/Makefile || : ; \
27035 cp multilib.out $(TARGET_SUBDIR)/qthreads/multilib.out
27037 configure-target-qthreads: $(TARGET_SUBDIR)/qthreads/multilib.out
27038 @test ! -f $(TARGET_SUBDIR)/qthreads/Makefile || exit 0; \
27039 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/qthreads ; \
27040 r=`${PWD_COMMAND}`; export r; \
27041 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27042 $(SET_LIB_PATH) \
27043 $(NORMAL_TARGET_EXPORTS) \
27044 echo Configuring in $(TARGET_SUBDIR)/qthreads; \
27045 cd "$(TARGET_SUBDIR)/qthreads" || exit 1; \
27046 case $(srcdir) in \
27047 /* | [A-Za-z]:[\\/]*) \
27048 topdir=$(srcdir) ;; \
27049 *) \
27050 case "$(TARGET_SUBDIR)" in \
27051 .) topdir="../$(srcdir)" ;; \
27052 *) topdir="../../$(srcdir)" ;; \
27053 esac ;; \
27054 esac; \
27055 srcdiroption="--srcdir=$${topdir}/qthreads"; \
27056 libsrcdir="$$s/qthreads"; \
27057 rm -f no-such-file || : ; \
27058 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
27059 $(TARGET_CONFIGARGS) $${srcdiroption} \
27060 --with-target-subdir="$(TARGET_SUBDIR)" \
27061 || exit 1
27062 @endif target-qthreads
27064 .PHONY: all-target-qthreads maybe-all-target-qthreads
27065 maybe-all-target-qthreads:
27066 @if target-qthreads
27067 maybe-all-target-qthreads: all-target-qthreads
27068 all-target-qthreads: configure-target-qthreads
27069 @r=`${PWD_COMMAND}`; export r; \
27070 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27071 $(SET_LIB_PATH) \
27072 $(NORMAL_TARGET_EXPORTS) \
27073 (cd $(TARGET_SUBDIR)/qthreads && \
27074 $(MAKE) $(TARGET_FLAGS_TO_PASS) all)
27075 @endif target-qthreads
27077 .PHONY: check-target-qthreads maybe-check-target-qthreads
27078 maybe-check-target-qthreads:
27079 @if target-qthreads
27080 maybe-check-target-qthreads: check-target-qthreads
27082 check-target-qthreads:
27083 @r=`${PWD_COMMAND}`; export r; \
27084 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27085 $(SET_LIB_PATH) \
27086 $(NORMAL_TARGET_EXPORTS) \
27087 (cd $(TARGET_SUBDIR)/qthreads && \
27088 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
27090 @endif target-qthreads
27092 .PHONY: install-target-qthreads maybe-install-target-qthreads
27093 maybe-install-target-qthreads:
27094 @if target-qthreads
27095 maybe-install-target-qthreads: install-target-qthreads
27097 install-target-qthreads: installdirs
27098 @r=`${PWD_COMMAND}`; export r; \
27099 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27100 $(SET_LIB_PATH) \
27101 $(NORMAL_TARGET_EXPORTS) \
27102 (cd $(TARGET_SUBDIR)/qthreads && \
27103 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
27105 @endif target-qthreads
27107 # Other targets (info, dvi, etc.)
27109 .PHONY: maybe-info-target-qthreads info-target-qthreads
27110 maybe-info-target-qthreads:
27111 @if target-qthreads
27112 maybe-info-target-qthreads: info-target-qthreads
27114 info-target-qthreads: \
27115 configure-target-qthreads
27116 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
27117 r=`${PWD_COMMAND}`; export r; \
27118 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27119 $(SET_LIB_PATH) \
27120 $(NORMAL_TARGET_EXPORTS) \
27121 echo "Doing info in $(TARGET_SUBDIR)/qthreads" ; \
27122 for flag in $(EXTRA_TARGET_FLAGS); do \
27123 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27124 done; \
27125 (cd $(TARGET_SUBDIR)/qthreads && \
27126 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27127 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27128 "RANLIB=$${RANLIB}" \
27129 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27130 info) \
27131 || exit 1
27133 @endif target-qthreads
27135 .PHONY: maybe-dvi-target-qthreads dvi-target-qthreads
27136 maybe-dvi-target-qthreads:
27137 @if target-qthreads
27138 maybe-dvi-target-qthreads: dvi-target-qthreads
27140 dvi-target-qthreads: \
27141 configure-target-qthreads
27142 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
27143 r=`${PWD_COMMAND}`; export r; \
27144 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27145 $(SET_LIB_PATH) \
27146 $(NORMAL_TARGET_EXPORTS) \
27147 echo "Doing dvi in $(TARGET_SUBDIR)/qthreads" ; \
27148 for flag in $(EXTRA_TARGET_FLAGS); do \
27149 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27150 done; \
27151 (cd $(TARGET_SUBDIR)/qthreads && \
27152 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27153 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27154 "RANLIB=$${RANLIB}" \
27155 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27156 dvi) \
27157 || exit 1
27159 @endif target-qthreads
27161 .PHONY: maybe-TAGS-target-qthreads TAGS-target-qthreads
27162 maybe-TAGS-target-qthreads:
27163 @if target-qthreads
27164 maybe-TAGS-target-qthreads: TAGS-target-qthreads
27166 TAGS-target-qthreads: \
27167 configure-target-qthreads
27168 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
27169 r=`${PWD_COMMAND}`; export r; \
27170 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27171 $(SET_LIB_PATH) \
27172 $(NORMAL_TARGET_EXPORTS) \
27173 echo "Doing TAGS in $(TARGET_SUBDIR)/qthreads" ; \
27174 for flag in $(EXTRA_TARGET_FLAGS); do \
27175 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27176 done; \
27177 (cd $(TARGET_SUBDIR)/qthreads && \
27178 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27179 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27180 "RANLIB=$${RANLIB}" \
27181 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27182 TAGS) \
27183 || exit 1
27185 @endif target-qthreads
27187 .PHONY: maybe-install-info-target-qthreads install-info-target-qthreads
27188 maybe-install-info-target-qthreads:
27189 @if target-qthreads
27190 maybe-install-info-target-qthreads: install-info-target-qthreads
27192 install-info-target-qthreads: \
27193 configure-target-qthreads \
27194 info-target-qthreads
27195 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
27196 r=`${PWD_COMMAND}`; export r; \
27197 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27198 $(SET_LIB_PATH) \
27199 $(NORMAL_TARGET_EXPORTS) \
27200 echo "Doing install-info in $(TARGET_SUBDIR)/qthreads" ; \
27201 for flag in $(EXTRA_TARGET_FLAGS); do \
27202 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27203 done; \
27204 (cd $(TARGET_SUBDIR)/qthreads && \
27205 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27206 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27207 "RANLIB=$${RANLIB}" \
27208 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27209 install-info) \
27210 || exit 1
27212 @endif target-qthreads
27214 .PHONY: maybe-installcheck-target-qthreads installcheck-target-qthreads
27215 maybe-installcheck-target-qthreads:
27216 @if target-qthreads
27217 maybe-installcheck-target-qthreads: installcheck-target-qthreads
27219 installcheck-target-qthreads: \
27220 configure-target-qthreads
27221 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
27222 r=`${PWD_COMMAND}`; export r; \
27223 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27224 $(SET_LIB_PATH) \
27225 $(NORMAL_TARGET_EXPORTS) \
27226 echo "Doing installcheck in $(TARGET_SUBDIR)/qthreads" ; \
27227 for flag in $(EXTRA_TARGET_FLAGS); do \
27228 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27229 done; \
27230 (cd $(TARGET_SUBDIR)/qthreads && \
27231 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27232 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27233 "RANLIB=$${RANLIB}" \
27234 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27235 installcheck) \
27236 || exit 1
27238 @endif target-qthreads
27240 .PHONY: maybe-mostlyclean-target-qthreads mostlyclean-target-qthreads
27241 maybe-mostlyclean-target-qthreads:
27242 @if target-qthreads
27243 maybe-mostlyclean-target-qthreads: mostlyclean-target-qthreads
27245 mostlyclean-target-qthreads:
27246 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
27247 r=`${PWD_COMMAND}`; export r; \
27248 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27249 $(SET_LIB_PATH) \
27250 $(NORMAL_TARGET_EXPORTS) \
27251 echo "Doing mostlyclean in $(TARGET_SUBDIR)/qthreads" ; \
27252 for flag in $(EXTRA_TARGET_FLAGS); do \
27253 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27254 done; \
27255 (cd $(TARGET_SUBDIR)/qthreads && \
27256 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27257 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27258 "RANLIB=$${RANLIB}" \
27259 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27260 mostlyclean) \
27261 || exit 1
27263 @endif target-qthreads
27265 .PHONY: maybe-clean-target-qthreads clean-target-qthreads
27266 maybe-clean-target-qthreads:
27267 @if target-qthreads
27268 maybe-clean-target-qthreads: clean-target-qthreads
27270 clean-target-qthreads:
27271 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
27272 r=`${PWD_COMMAND}`; export r; \
27273 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27274 $(SET_LIB_PATH) \
27275 $(NORMAL_TARGET_EXPORTS) \
27276 echo "Doing clean in $(TARGET_SUBDIR)/qthreads" ; \
27277 for flag in $(EXTRA_TARGET_FLAGS); do \
27278 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27279 done; \
27280 (cd $(TARGET_SUBDIR)/qthreads && \
27281 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27282 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27283 "RANLIB=$${RANLIB}" \
27284 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27285 clean) \
27286 || exit 1
27288 @endif target-qthreads
27290 .PHONY: maybe-distclean-target-qthreads distclean-target-qthreads
27291 maybe-distclean-target-qthreads:
27292 @if target-qthreads
27293 maybe-distclean-target-qthreads: distclean-target-qthreads
27295 distclean-target-qthreads:
27296 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
27297 r=`${PWD_COMMAND}`; export r; \
27298 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27299 $(SET_LIB_PATH) \
27300 $(NORMAL_TARGET_EXPORTS) \
27301 echo "Doing distclean in $(TARGET_SUBDIR)/qthreads" ; \
27302 for flag in $(EXTRA_TARGET_FLAGS); do \
27303 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27304 done; \
27305 (cd $(TARGET_SUBDIR)/qthreads && \
27306 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27307 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27308 "RANLIB=$${RANLIB}" \
27309 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27310 distclean) \
27311 || exit 1
27313 @endif target-qthreads
27315 .PHONY: maybe-maintainer-clean-target-qthreads maintainer-clean-target-qthreads
27316 maybe-maintainer-clean-target-qthreads:
27317 @if target-qthreads
27318 maybe-maintainer-clean-target-qthreads: maintainer-clean-target-qthreads
27320 maintainer-clean-target-qthreads:
27321 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
27322 r=`${PWD_COMMAND}`; export r; \
27323 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27324 $(SET_LIB_PATH) \
27325 $(NORMAL_TARGET_EXPORTS) \
27326 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/qthreads" ; \
27327 for flag in $(EXTRA_TARGET_FLAGS); do \
27328 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27329 done; \
27330 (cd $(TARGET_SUBDIR)/qthreads && \
27331 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27332 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27333 "RANLIB=$${RANLIB}" \
27334 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27335 maintainer-clean) \
27336 || exit 1
27338 @endif target-qthreads
27341 .PHONY: configure-target-rda maybe-configure-target-rda
27342 maybe-configure-target-rda:
27343 @if target-rda
27344 maybe-configure-target-rda: configure-target-rda
27346 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
27347 $(TARGET_SUBDIR)/rda/multilib.out: multilib.out
27348 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/rda ; \
27349 rm -f $(TARGET_SUBDIR)/rda/Makefile || : ; \
27350 cp multilib.out $(TARGET_SUBDIR)/rda/multilib.out
27352 configure-target-rda: $(TARGET_SUBDIR)/rda/multilib.out
27353 @test ! -f $(TARGET_SUBDIR)/rda/Makefile || exit 0; \
27354 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/rda ; \
27355 r=`${PWD_COMMAND}`; export r; \
27356 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27357 $(SET_LIB_PATH) \
27358 $(NORMAL_TARGET_EXPORTS) \
27359 echo Configuring in $(TARGET_SUBDIR)/rda; \
27360 cd "$(TARGET_SUBDIR)/rda" || exit 1; \
27361 case $(srcdir) in \
27362 /* | [A-Za-z]:[\\/]*) \
27363 topdir=$(srcdir) ;; \
27364 *) \
27365 case "$(TARGET_SUBDIR)" in \
27366 .) topdir="../$(srcdir)" ;; \
27367 *) topdir="../../$(srcdir)" ;; \
27368 esac ;; \
27369 esac; \
27370 srcdiroption="--srcdir=$${topdir}/rda"; \
27371 libsrcdir="$$s/rda"; \
27372 rm -f no-such-file || : ; \
27373 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
27374 $(TARGET_CONFIGARGS) $${srcdiroption} \
27375 --with-target-subdir="$(TARGET_SUBDIR)" \
27376 || exit 1
27377 @endif target-rda
27379 .PHONY: all-target-rda maybe-all-target-rda
27380 maybe-all-target-rda:
27381 @if target-rda
27382 maybe-all-target-rda: all-target-rda
27383 all-target-rda: configure-target-rda
27384 @r=`${PWD_COMMAND}`; export r; \
27385 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27386 $(SET_LIB_PATH) \
27387 $(NORMAL_TARGET_EXPORTS) \
27388 (cd $(TARGET_SUBDIR)/rda && \
27389 $(MAKE) $(TARGET_FLAGS_TO_PASS) all)
27390 @endif target-rda
27392 .PHONY: check-target-rda maybe-check-target-rda
27393 maybe-check-target-rda:
27394 @if target-rda
27395 maybe-check-target-rda: check-target-rda
27397 check-target-rda:
27398 @r=`${PWD_COMMAND}`; export r; \
27399 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27400 $(SET_LIB_PATH) \
27401 $(NORMAL_TARGET_EXPORTS) \
27402 (cd $(TARGET_SUBDIR)/rda && \
27403 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
27405 @endif target-rda
27407 .PHONY: install-target-rda maybe-install-target-rda
27408 maybe-install-target-rda:
27409 @if target-rda
27410 maybe-install-target-rda: install-target-rda
27412 install-target-rda: installdirs
27413 @r=`${PWD_COMMAND}`; export r; \
27414 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27415 $(SET_LIB_PATH) \
27416 $(NORMAL_TARGET_EXPORTS) \
27417 (cd $(TARGET_SUBDIR)/rda && \
27418 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
27420 @endif target-rda
27422 # Other targets (info, dvi, etc.)
27424 .PHONY: maybe-info-target-rda info-target-rda
27425 maybe-info-target-rda:
27426 @if target-rda
27427 maybe-info-target-rda: info-target-rda
27429 info-target-rda: \
27430 configure-target-rda
27431 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
27432 r=`${PWD_COMMAND}`; export r; \
27433 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27434 $(SET_LIB_PATH) \
27435 $(NORMAL_TARGET_EXPORTS) \
27436 echo "Doing info in $(TARGET_SUBDIR)/rda" ; \
27437 for flag in $(EXTRA_TARGET_FLAGS); do \
27438 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27439 done; \
27440 (cd $(TARGET_SUBDIR)/rda && \
27441 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27442 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27443 "RANLIB=$${RANLIB}" \
27444 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27445 info) \
27446 || exit 1
27448 @endif target-rda
27450 .PHONY: maybe-dvi-target-rda dvi-target-rda
27451 maybe-dvi-target-rda:
27452 @if target-rda
27453 maybe-dvi-target-rda: dvi-target-rda
27455 dvi-target-rda: \
27456 configure-target-rda
27457 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
27458 r=`${PWD_COMMAND}`; export r; \
27459 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27460 $(SET_LIB_PATH) \
27461 $(NORMAL_TARGET_EXPORTS) \
27462 echo "Doing dvi in $(TARGET_SUBDIR)/rda" ; \
27463 for flag in $(EXTRA_TARGET_FLAGS); do \
27464 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27465 done; \
27466 (cd $(TARGET_SUBDIR)/rda && \
27467 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27468 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27469 "RANLIB=$${RANLIB}" \
27470 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27471 dvi) \
27472 || exit 1
27474 @endif target-rda
27476 .PHONY: maybe-TAGS-target-rda TAGS-target-rda
27477 maybe-TAGS-target-rda:
27478 @if target-rda
27479 maybe-TAGS-target-rda: TAGS-target-rda
27481 TAGS-target-rda: \
27482 configure-target-rda
27483 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
27484 r=`${PWD_COMMAND}`; export r; \
27485 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27486 $(SET_LIB_PATH) \
27487 $(NORMAL_TARGET_EXPORTS) \
27488 echo "Doing TAGS in $(TARGET_SUBDIR)/rda" ; \
27489 for flag in $(EXTRA_TARGET_FLAGS); do \
27490 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27491 done; \
27492 (cd $(TARGET_SUBDIR)/rda && \
27493 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27494 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27495 "RANLIB=$${RANLIB}" \
27496 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27497 TAGS) \
27498 || exit 1
27500 @endif target-rda
27502 .PHONY: maybe-install-info-target-rda install-info-target-rda
27503 maybe-install-info-target-rda:
27504 @if target-rda
27505 maybe-install-info-target-rda: install-info-target-rda
27507 install-info-target-rda: \
27508 configure-target-rda \
27509 info-target-rda
27510 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
27511 r=`${PWD_COMMAND}`; export r; \
27512 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27513 $(SET_LIB_PATH) \
27514 $(NORMAL_TARGET_EXPORTS) \
27515 echo "Doing install-info in $(TARGET_SUBDIR)/rda" ; \
27516 for flag in $(EXTRA_TARGET_FLAGS); do \
27517 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27518 done; \
27519 (cd $(TARGET_SUBDIR)/rda && \
27520 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27521 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27522 "RANLIB=$${RANLIB}" \
27523 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27524 install-info) \
27525 || exit 1
27527 @endif target-rda
27529 .PHONY: maybe-installcheck-target-rda installcheck-target-rda
27530 maybe-installcheck-target-rda:
27531 @if target-rda
27532 maybe-installcheck-target-rda: installcheck-target-rda
27534 installcheck-target-rda: \
27535 configure-target-rda
27536 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
27537 r=`${PWD_COMMAND}`; export r; \
27538 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27539 $(SET_LIB_PATH) \
27540 $(NORMAL_TARGET_EXPORTS) \
27541 echo "Doing installcheck in $(TARGET_SUBDIR)/rda" ; \
27542 for flag in $(EXTRA_TARGET_FLAGS); do \
27543 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27544 done; \
27545 (cd $(TARGET_SUBDIR)/rda && \
27546 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27547 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27548 "RANLIB=$${RANLIB}" \
27549 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27550 installcheck) \
27551 || exit 1
27553 @endif target-rda
27555 .PHONY: maybe-mostlyclean-target-rda mostlyclean-target-rda
27556 maybe-mostlyclean-target-rda:
27557 @if target-rda
27558 maybe-mostlyclean-target-rda: mostlyclean-target-rda
27560 mostlyclean-target-rda:
27561 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
27562 r=`${PWD_COMMAND}`; export r; \
27563 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27564 $(SET_LIB_PATH) \
27565 $(NORMAL_TARGET_EXPORTS) \
27566 echo "Doing mostlyclean in $(TARGET_SUBDIR)/rda" ; \
27567 for flag in $(EXTRA_TARGET_FLAGS); do \
27568 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27569 done; \
27570 (cd $(TARGET_SUBDIR)/rda && \
27571 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27572 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27573 "RANLIB=$${RANLIB}" \
27574 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27575 mostlyclean) \
27576 || exit 1
27578 @endif target-rda
27580 .PHONY: maybe-clean-target-rda clean-target-rda
27581 maybe-clean-target-rda:
27582 @if target-rda
27583 maybe-clean-target-rda: clean-target-rda
27585 clean-target-rda:
27586 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
27587 r=`${PWD_COMMAND}`; export r; \
27588 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27589 $(SET_LIB_PATH) \
27590 $(NORMAL_TARGET_EXPORTS) \
27591 echo "Doing clean in $(TARGET_SUBDIR)/rda" ; \
27592 for flag in $(EXTRA_TARGET_FLAGS); do \
27593 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27594 done; \
27595 (cd $(TARGET_SUBDIR)/rda && \
27596 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27597 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27598 "RANLIB=$${RANLIB}" \
27599 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27600 clean) \
27601 || exit 1
27603 @endif target-rda
27605 .PHONY: maybe-distclean-target-rda distclean-target-rda
27606 maybe-distclean-target-rda:
27607 @if target-rda
27608 maybe-distclean-target-rda: distclean-target-rda
27610 distclean-target-rda:
27611 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
27612 r=`${PWD_COMMAND}`; export r; \
27613 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27614 $(SET_LIB_PATH) \
27615 $(NORMAL_TARGET_EXPORTS) \
27616 echo "Doing distclean in $(TARGET_SUBDIR)/rda" ; \
27617 for flag in $(EXTRA_TARGET_FLAGS); do \
27618 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27619 done; \
27620 (cd $(TARGET_SUBDIR)/rda && \
27621 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27622 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27623 "RANLIB=$${RANLIB}" \
27624 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27625 distclean) \
27626 || exit 1
27628 @endif target-rda
27630 .PHONY: maybe-maintainer-clean-target-rda maintainer-clean-target-rda
27631 maybe-maintainer-clean-target-rda:
27632 @if target-rda
27633 maybe-maintainer-clean-target-rda: maintainer-clean-target-rda
27635 maintainer-clean-target-rda:
27636 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
27637 r=`${PWD_COMMAND}`; export r; \
27638 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27639 $(SET_LIB_PATH) \
27640 $(NORMAL_TARGET_EXPORTS) \
27641 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/rda" ; \
27642 for flag in $(EXTRA_TARGET_FLAGS); do \
27643 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27644 done; \
27645 (cd $(TARGET_SUBDIR)/rda && \
27646 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27647 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27648 "RANLIB=$${RANLIB}" \
27649 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27650 maintainer-clean) \
27651 || exit 1
27653 @endif target-rda
27656 .PHONY: configure-target-libada maybe-configure-target-libada
27657 maybe-configure-target-libada:
27658 @if target-libada
27659 maybe-configure-target-libada: configure-target-libada
27661 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
27662 $(TARGET_SUBDIR)/libada/multilib.out: multilib.out
27663 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libada ; \
27664 rm -f $(TARGET_SUBDIR)/libada/Makefile || : ; \
27665 cp multilib.out $(TARGET_SUBDIR)/libada/multilib.out
27667 configure-target-libada: $(TARGET_SUBDIR)/libada/multilib.out
27668 @test ! -f $(TARGET_SUBDIR)/libada/Makefile || exit 0; \
27669 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libada ; \
27670 r=`${PWD_COMMAND}`; export r; \
27671 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27672 $(SET_LIB_PATH) \
27673 $(NORMAL_TARGET_EXPORTS) \
27674 echo Configuring in $(TARGET_SUBDIR)/libada; \
27675 cd "$(TARGET_SUBDIR)/libada" || exit 1; \
27676 case $(srcdir) in \
27677 /* | [A-Za-z]:[\\/]*) \
27678 topdir=$(srcdir) ;; \
27679 *) \
27680 case "$(TARGET_SUBDIR)" in \
27681 .) topdir="../$(srcdir)" ;; \
27682 *) topdir="../../$(srcdir)" ;; \
27683 esac ;; \
27684 esac; \
27685 srcdiroption="--srcdir=$${topdir}/libada"; \
27686 libsrcdir="$$s/libada"; \
27687 rm -f no-such-file || : ; \
27688 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
27689 $(TARGET_CONFIGARGS) $${srcdiroption} \
27690 --with-target-subdir="$(TARGET_SUBDIR)" \
27691 || exit 1
27692 @endif target-libada
27694 .PHONY: all-target-libada maybe-all-target-libada
27695 maybe-all-target-libada:
27696 @if target-libada
27697 maybe-all-target-libada: all-target-libada
27698 all-target-libada: configure-target-libada
27699 @r=`${PWD_COMMAND}`; export r; \
27700 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27701 $(SET_LIB_PATH) \
27702 $(NORMAL_TARGET_EXPORTS) \
27703 (cd $(TARGET_SUBDIR)/libada && \
27704 $(MAKE) $(TARGET_FLAGS_TO_PASS) all)
27705 @endif target-libada
27707 .PHONY: check-target-libada maybe-check-target-libada
27708 maybe-check-target-libada:
27709 @if target-libada
27710 maybe-check-target-libada: check-target-libada
27712 check-target-libada:
27713 @r=`${PWD_COMMAND}`; export r; \
27714 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27715 $(SET_LIB_PATH) \
27716 $(NORMAL_TARGET_EXPORTS) \
27717 (cd $(TARGET_SUBDIR)/libada && \
27718 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
27720 @endif target-libada
27722 .PHONY: install-target-libada maybe-install-target-libada
27723 maybe-install-target-libada:
27724 @if target-libada
27725 maybe-install-target-libada: install-target-libada
27727 install-target-libada: installdirs
27728 @r=`${PWD_COMMAND}`; export r; \
27729 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27730 $(SET_LIB_PATH) \
27731 $(NORMAL_TARGET_EXPORTS) \
27732 (cd $(TARGET_SUBDIR)/libada && \
27733 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
27735 @endif target-libada
27737 # Other targets (info, dvi, etc.)
27739 .PHONY: maybe-info-target-libada info-target-libada
27740 maybe-info-target-libada:
27741 @if target-libada
27742 maybe-info-target-libada: info-target-libada
27744 info-target-libada: \
27745 configure-target-libada
27746 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
27747 r=`${PWD_COMMAND}`; export r; \
27748 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27749 $(SET_LIB_PATH) \
27750 $(NORMAL_TARGET_EXPORTS) \
27751 echo "Doing info in $(TARGET_SUBDIR)/libada" ; \
27752 for flag in $(EXTRA_TARGET_FLAGS); do \
27753 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27754 done; \
27755 (cd $(TARGET_SUBDIR)/libada && \
27756 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27757 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27758 "RANLIB=$${RANLIB}" \
27759 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27760 info) \
27761 || exit 1
27763 @endif target-libada
27765 .PHONY: maybe-dvi-target-libada dvi-target-libada
27766 maybe-dvi-target-libada:
27767 @if target-libada
27768 maybe-dvi-target-libada: dvi-target-libada
27770 dvi-target-libada: \
27771 configure-target-libada
27772 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
27773 r=`${PWD_COMMAND}`; export r; \
27774 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27775 $(SET_LIB_PATH) \
27776 $(NORMAL_TARGET_EXPORTS) \
27777 echo "Doing dvi in $(TARGET_SUBDIR)/libada" ; \
27778 for flag in $(EXTRA_TARGET_FLAGS); do \
27779 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27780 done; \
27781 (cd $(TARGET_SUBDIR)/libada && \
27782 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27783 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27784 "RANLIB=$${RANLIB}" \
27785 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27786 dvi) \
27787 || exit 1
27789 @endif target-libada
27791 .PHONY: maybe-TAGS-target-libada TAGS-target-libada
27792 maybe-TAGS-target-libada:
27793 @if target-libada
27794 maybe-TAGS-target-libada: TAGS-target-libada
27796 TAGS-target-libada: \
27797 configure-target-libada
27798 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
27799 r=`${PWD_COMMAND}`; export r; \
27800 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27801 $(SET_LIB_PATH) \
27802 $(NORMAL_TARGET_EXPORTS) \
27803 echo "Doing TAGS in $(TARGET_SUBDIR)/libada" ; \
27804 for flag in $(EXTRA_TARGET_FLAGS); do \
27805 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27806 done; \
27807 (cd $(TARGET_SUBDIR)/libada && \
27808 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27809 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27810 "RANLIB=$${RANLIB}" \
27811 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27812 TAGS) \
27813 || exit 1
27815 @endif target-libada
27817 .PHONY: maybe-install-info-target-libada install-info-target-libada
27818 maybe-install-info-target-libada:
27819 @if target-libada
27820 maybe-install-info-target-libada: install-info-target-libada
27822 install-info-target-libada: \
27823 configure-target-libada \
27824 info-target-libada
27825 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
27826 r=`${PWD_COMMAND}`; export r; \
27827 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27828 $(SET_LIB_PATH) \
27829 $(NORMAL_TARGET_EXPORTS) \
27830 echo "Doing install-info in $(TARGET_SUBDIR)/libada" ; \
27831 for flag in $(EXTRA_TARGET_FLAGS); do \
27832 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27833 done; \
27834 (cd $(TARGET_SUBDIR)/libada && \
27835 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27836 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27837 "RANLIB=$${RANLIB}" \
27838 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27839 install-info) \
27840 || exit 1
27842 @endif target-libada
27844 .PHONY: maybe-installcheck-target-libada installcheck-target-libada
27845 maybe-installcheck-target-libada:
27846 @if target-libada
27847 maybe-installcheck-target-libada: installcheck-target-libada
27849 installcheck-target-libada: \
27850 configure-target-libada
27851 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
27852 r=`${PWD_COMMAND}`; export r; \
27853 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27854 $(SET_LIB_PATH) \
27855 $(NORMAL_TARGET_EXPORTS) \
27856 echo "Doing installcheck in $(TARGET_SUBDIR)/libada" ; \
27857 for flag in $(EXTRA_TARGET_FLAGS); do \
27858 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27859 done; \
27860 (cd $(TARGET_SUBDIR)/libada && \
27861 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27862 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27863 "RANLIB=$${RANLIB}" \
27864 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27865 installcheck) \
27866 || exit 1
27868 @endif target-libada
27870 .PHONY: maybe-mostlyclean-target-libada mostlyclean-target-libada
27871 maybe-mostlyclean-target-libada:
27872 @if target-libada
27873 maybe-mostlyclean-target-libada: mostlyclean-target-libada
27875 mostlyclean-target-libada:
27876 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
27877 r=`${PWD_COMMAND}`; export r; \
27878 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27879 $(SET_LIB_PATH) \
27880 $(NORMAL_TARGET_EXPORTS) \
27881 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libada" ; \
27882 for flag in $(EXTRA_TARGET_FLAGS); do \
27883 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27884 done; \
27885 (cd $(TARGET_SUBDIR)/libada && \
27886 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27887 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27888 "RANLIB=$${RANLIB}" \
27889 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27890 mostlyclean) \
27891 || exit 1
27893 @endif target-libada
27895 .PHONY: maybe-clean-target-libada clean-target-libada
27896 maybe-clean-target-libada:
27897 @if target-libada
27898 maybe-clean-target-libada: clean-target-libada
27900 clean-target-libada:
27901 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
27902 r=`${PWD_COMMAND}`; export r; \
27903 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27904 $(SET_LIB_PATH) \
27905 $(NORMAL_TARGET_EXPORTS) \
27906 echo "Doing clean in $(TARGET_SUBDIR)/libada" ; \
27907 for flag in $(EXTRA_TARGET_FLAGS); do \
27908 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27909 done; \
27910 (cd $(TARGET_SUBDIR)/libada && \
27911 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27912 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27913 "RANLIB=$${RANLIB}" \
27914 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27915 clean) \
27916 || exit 1
27918 @endif target-libada
27920 .PHONY: maybe-distclean-target-libada distclean-target-libada
27921 maybe-distclean-target-libada:
27922 @if target-libada
27923 maybe-distclean-target-libada: distclean-target-libada
27925 distclean-target-libada:
27926 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
27927 r=`${PWD_COMMAND}`; export r; \
27928 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27929 $(SET_LIB_PATH) \
27930 $(NORMAL_TARGET_EXPORTS) \
27931 echo "Doing distclean in $(TARGET_SUBDIR)/libada" ; \
27932 for flag in $(EXTRA_TARGET_FLAGS); do \
27933 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27934 done; \
27935 (cd $(TARGET_SUBDIR)/libada && \
27936 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27937 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27938 "RANLIB=$${RANLIB}" \
27939 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27940 distclean) \
27941 || exit 1
27943 @endif target-libada
27945 .PHONY: maybe-maintainer-clean-target-libada maintainer-clean-target-libada
27946 maybe-maintainer-clean-target-libada:
27947 @if target-libada
27948 maybe-maintainer-clean-target-libada: maintainer-clean-target-libada
27950 maintainer-clean-target-libada:
27951 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
27952 r=`${PWD_COMMAND}`; export r; \
27953 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27954 $(SET_LIB_PATH) \
27955 $(NORMAL_TARGET_EXPORTS) \
27956 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libada" ; \
27957 for flag in $(EXTRA_TARGET_FLAGS); do \
27958 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27959 done; \
27960 (cd $(TARGET_SUBDIR)/libada && \
27961 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27962 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27963 "RANLIB=$${RANLIB}" \
27964 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27965 maintainer-clean) \
27966 || exit 1
27968 @endif target-libada
27972 # ----------
27973 # GCC module
27974 # ----------
27976 # Unfortunately, while gcc _should_ be a host module,
27977 # libgcc is a target module, and gen* programs are
27978 # build modules. So GCC is a sort of hybrid.
27980 # gcc is the only module which uses GCC_FLAGS_TO_PASS.
27981 # Don't use shared host config.cache, as it will confuse later
27982 # directories; GCC wants slightly different values for some
27983 # precious variables. *sigh*
27985 # We must skip configuring if toplevel bootstrap is going.
27986 .PHONY: configure-gcc maybe-configure-gcc
27987 maybe-configure-gcc:
27988 @if gcc
27989 maybe-configure-gcc: configure-gcc
27990 configure-gcc:
27991 @endif gcc
27992 @if gcc-no-bootstrap
27993 @test ! -f gcc/Makefile || exit 0; \
27994 [ -d gcc ] || mkdir gcc; \
27995 r=`${PWD_COMMAND}`; export r; \
27996 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27997 $(HOST_EXPORTS) \
27998 echo Configuring in gcc; \
27999 cd gcc || exit 1; \
28000 case $(srcdir) in \
28001 \.) \
28002 srcdiroption="--srcdir=."; \
28003 libsrcdir=".";; \
28004 /* | [A-Za-z]:[\\/]*) \
28005 srcdiroption="--srcdir=$(srcdir)/gcc"; \
28006 libsrcdir="$$s/gcc";; \
28007 *) \
28008 srcdiroption="--srcdir=../$(srcdir)/gcc"; \
28009 libsrcdir="$$s/gcc";; \
28010 esac; \
28011 $(SHELL) $${libsrcdir}/configure \
28012 $(HOST_CONFIGARGS) $${srcdiroption} \
28013 || exit 1
28014 @endif gcc-no-bootstrap
28016 # Don't 'make all' in gcc if it's already been made by 'bootstrap'; that
28017 # causes trouble. This wart will be fixed eventually by moving
28018 # the bootstrap behavior to this file.
28019 .PHONY: all-gcc maybe-all-gcc
28020 maybe-all-gcc:
28021 @if gcc
28022 maybe-all-gcc: all-gcc
28023 all-gcc: configure-gcc
28024 @endif gcc
28025 @if gcc-no-bootstrap
28026 r=`${PWD_COMMAND}`; export r; \
28027 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28028 $(SET_LIB_PATH) \
28029 $(HOST_EXPORTS) \
28030 if [ -f gcc/stage_last ] ; then \
28031 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) quickstrap); \
28032 else \
28033 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) all); \
28036 # Building GCC uses some tools for rebuilding "source" files
28037 # like texinfo, bison/byacc, etc. So we must depend on those.
28039 # While building GCC, it may be necessary to run various target
28040 # programs like the assembler, linker, etc. So we depend on
28041 # those too.
28043 # In theory, on an SMP all those dependencies can be resolved
28044 # in parallel.
28046 GCC_STRAP_TARGETS = bootstrap bootstrap-lean bootstrap2 bootstrap2-lean bootstrap3 bootstrap3-lean bootstrap4 bootstrap4-lean bubblestrap quickstrap cleanstrap restrap
28047 .PHONY: $(GCC_STRAP_TARGETS)
28048 $(GCC_STRAP_TARGETS): all-bootstrap configure-gcc
28049 @r=`${PWD_COMMAND}`; export r; \
28050 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28051 $(SET_LIB_PATH) \
28052 $(HOST_EXPORTS) \
28053 echo "Bootstrapping the compiler"; \
28054 cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) $@
28055 @r=`${PWD_COMMAND}`; export r; \
28056 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28057 case "$@" in \
28058 *bootstrap4-lean ) \
28059 msg="Comparing stage3 and stage4 of the compiler"; \
28060 compare=compare3-lean ;; \
28061 *bootstrap4 ) \
28062 msg="Comparing stage3 and stage4 of the compiler"; \
28063 compare=compare3 ;; \
28064 *-lean ) \
28065 msg="Comparing stage2 and stage3 of the compiler"; \
28066 compare=compare-lean ;; \
28067 * ) \
28068 msg="Comparing stage2 and stage3 of the compiler"; \
28069 compare=compare ;; \
28070 esac; \
28071 $(SET_LIB_PATH) \
28072 $(HOST_EXPORTS) \
28073 echo "$$msg"; \
28074 cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) $$compare
28075 @r=`${PWD_COMMAND}`; export r; \
28076 s=`cd $(srcdir); ${PWD_COMMAND}` ; export s; \
28077 $(SET_LIB_PATH) \
28078 echo "Building runtime libraries"; \
28079 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all
28081 profiledbootstrap: all-bootstrap configure-gcc
28082 @r=`${PWD_COMMAND}`; export r; \
28083 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28084 $(SET_LIB_PATH) \
28085 $(HOST_EXPORTS) \
28086 echo "Bootstrapping training compiler"; \
28087 cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) stageprofile_build
28088 @r=`${PWD_COMMAND}`; export r; \
28089 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28090 $(SET_LIB_PATH) \
28091 $(HOST_EXPORTS) \
28092 echo "Building feedback based compiler"; \
28093 cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) stagefeedback_build
28094 @r=`${PWD_COMMAND}`; export r; \
28095 s=`cd $(srcdir); ${PWD_COMMAND}` ; export s; \
28096 $(SET_LIB_PATH) \
28097 echo "Building runtime libraries"; \
28098 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all
28100 .PHONY: cross
28101 cross: all-texinfo all-bison all-byacc all-binutils all-gas all-ld
28102 @r=`${PWD_COMMAND}`; export r; \
28103 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28104 $(SET_LIB_PATH) \
28105 $(HOST_EXPORTS) \
28106 echo "Building the C and C++ compiler"; \
28107 cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) LANGUAGES="c c++"
28108 @r=`${PWD_COMMAND}`; export r; \
28109 s=`cd $(srcdir); ${PWD_COMMAND}` ; export s; \
28110 $(SET_LIB_PATH) \
28111 echo "Building runtime libraries"; \
28112 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LANGUAGES="c c++" all
28113 @endif gcc-no-bootstrap
28115 .PHONY: check-gcc maybe-check-gcc
28116 maybe-check-gcc:
28117 @if gcc
28118 maybe-check-gcc: check-gcc
28119 check-gcc:
28120 @if [ -f ./gcc/Makefile ] ; then \
28121 r=`${PWD_COMMAND}`; export r; \
28122 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28123 $(SET_LIB_PATH) \
28124 $(HOST_EXPORTS) \
28125 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check); \
28126 else \
28127 true; \
28130 .PHONY: check-gcc-c++
28131 check-gcc-c++:
28132 @if [ -f ./gcc/Makefile ] ; then \
28133 r=`${PWD_COMMAND}`; export r; \
28134 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28135 $(SET_LIB_PATH) \
28136 $(HOST_EXPORTS) \
28137 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-c++); \
28138 else \
28139 true; \
28142 .PHONY: check-c++
28143 check-c++: check-target-libstdc++-v3 check-gcc-c++
28144 @endif gcc
28146 .PHONY: install-gcc maybe-install-gcc
28147 maybe-install-gcc:
28148 @if gcc
28149 maybe-install-gcc: install-gcc
28150 install-gcc:
28151 @if [ -f ./gcc/Makefile ] ; then \
28152 r=`${PWD_COMMAND}`; export r; \
28153 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28154 $(SET_LIB_PATH) \
28155 $(HOST_EXPORTS) \
28156 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) install); \
28157 else \
28158 true; \
28160 @endif gcc
28162 # Install the gcc headers files, but not the fixed include files,
28163 # which Cygnus is not allowed to distribute. This rule is very
28164 # dependent on the workings of the gcc Makefile.in.
28165 .PHONY: gcc-no-fixedincludes
28166 gcc-no-fixedincludes:
28167 @if [ -f ./gcc/Makefile ]; then \
28168 rm -rf gcc/tmp-include; \
28169 mv gcc/include gcc/tmp-include 2>/dev/null; \
28170 mkdir gcc/include; \
28171 cp $(srcdir)/gcc/gsyslimits.h gcc/include/syslimits.h; \
28172 touch gcc/stmp-fixinc gcc/include/fixed; \
28173 rm -f gcc/stmp-headers gcc/stmp-int-hdrs; \
28174 r=`${PWD_COMMAND}`; export r; \
28175 s=`cd $(srcdir); ${PWD_COMMAND}` ; export s; \
28176 $(SET_LIB_PATH) \
28177 $(HOST_EXPORTS) \
28178 (cd ./gcc && \
28179 $(MAKE) $(GCC_FLAGS_TO_PASS) install); \
28180 rm -rf gcc/include; \
28181 mv gcc/tmp-include gcc/include 2>/dev/null; \
28182 else true; fi
28184 # Other targets (dvi, info, etc.)
28186 .PHONY: maybe-info-gcc info-gcc
28187 maybe-info-gcc:
28188 @if gcc
28189 maybe-info-gcc: info-gcc
28190 info-gcc: \
28191 configure-gcc
28192 @[ -f ./gcc/Makefile ] || exit 0; \
28193 r=`${PWD_COMMAND}`; export r; \
28194 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28195 $(SET_LIB_PATH) \
28196 for flag in $(EXTRA_GCC_FLAGS); do \
28197 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28198 done; \
28199 $(HOST_EXPORTS) \
28200 echo "Doing info in gcc" ; \
28201 (cd gcc && \
28202 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28203 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28204 "RANLIB=$${RANLIB}" \
28205 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28206 info) \
28207 || exit 1
28208 @endif gcc
28211 .PHONY: maybe-dvi-gcc dvi-gcc
28212 maybe-dvi-gcc:
28213 @if gcc
28214 maybe-dvi-gcc: dvi-gcc
28215 dvi-gcc: \
28216 configure-gcc
28217 @[ -f ./gcc/Makefile ] || exit 0; \
28218 r=`${PWD_COMMAND}`; export r; \
28219 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28220 $(SET_LIB_PATH) \
28221 for flag in $(EXTRA_GCC_FLAGS); do \
28222 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28223 done; \
28224 $(HOST_EXPORTS) \
28225 echo "Doing dvi in gcc" ; \
28226 (cd gcc && \
28227 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28228 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28229 "RANLIB=$${RANLIB}" \
28230 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28231 dvi) \
28232 || exit 1
28233 @endif gcc
28236 .PHONY: maybe-TAGS-gcc TAGS-gcc
28237 maybe-TAGS-gcc:
28238 @if gcc
28239 maybe-TAGS-gcc: TAGS-gcc
28240 TAGS-gcc: \
28241 configure-gcc
28242 @[ -f ./gcc/Makefile ] || exit 0; \
28243 r=`${PWD_COMMAND}`; export r; \
28244 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28245 $(SET_LIB_PATH) \
28246 for flag in $(EXTRA_GCC_FLAGS); do \
28247 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28248 done; \
28249 $(HOST_EXPORTS) \
28250 echo "Doing TAGS in gcc" ; \
28251 (cd gcc && \
28252 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28253 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28254 "RANLIB=$${RANLIB}" \
28255 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28256 TAGS) \
28257 || exit 1
28258 @endif gcc
28261 .PHONY: maybe-install-info-gcc install-info-gcc
28262 maybe-install-info-gcc:
28263 @if gcc
28264 maybe-install-info-gcc: install-info-gcc
28265 install-info-gcc: \
28266 configure-gcc \
28267 info-gcc
28268 @[ -f ./gcc/Makefile ] || exit 0; \
28269 r=`${PWD_COMMAND}`; export r; \
28270 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28271 $(SET_LIB_PATH) \
28272 for flag in $(EXTRA_GCC_FLAGS); do \
28273 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28274 done; \
28275 $(HOST_EXPORTS) \
28276 echo "Doing install-info in gcc" ; \
28277 (cd gcc && \
28278 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28279 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28280 "RANLIB=$${RANLIB}" \
28281 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28282 install-info) \
28283 || exit 1
28284 @endif gcc
28287 .PHONY: maybe-installcheck-gcc installcheck-gcc
28288 maybe-installcheck-gcc:
28289 @if gcc
28290 maybe-installcheck-gcc: installcheck-gcc
28291 installcheck-gcc: \
28292 configure-gcc
28293 @[ -f ./gcc/Makefile ] || exit 0; \
28294 r=`${PWD_COMMAND}`; export r; \
28295 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28296 $(SET_LIB_PATH) \
28297 for flag in $(EXTRA_GCC_FLAGS); do \
28298 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28299 done; \
28300 $(HOST_EXPORTS) \
28301 echo "Doing installcheck in gcc" ; \
28302 (cd gcc && \
28303 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28304 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28305 "RANLIB=$${RANLIB}" \
28306 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28307 installcheck) \
28308 || exit 1
28309 @endif gcc
28312 .PHONY: maybe-mostlyclean-gcc mostlyclean-gcc
28313 maybe-mostlyclean-gcc:
28314 @if gcc
28315 maybe-mostlyclean-gcc: mostlyclean-gcc
28316 mostlyclean-gcc:
28317 @[ -f ./gcc/Makefile ] || exit 0; \
28318 r=`${PWD_COMMAND}`; export r; \
28319 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28320 $(SET_LIB_PATH) \
28321 for flag in $(EXTRA_GCC_FLAGS); do \
28322 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28323 done; \
28324 $(HOST_EXPORTS) \
28325 echo "Doing mostlyclean in gcc" ; \
28326 (cd gcc && \
28327 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28328 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28329 "RANLIB=$${RANLIB}" \
28330 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28331 mostlyclean) \
28332 || exit 1
28333 @endif gcc
28336 .PHONY: maybe-clean-gcc clean-gcc
28337 maybe-clean-gcc:
28338 @if gcc
28339 maybe-clean-gcc: clean-gcc
28340 clean-gcc:
28341 @[ -f ./gcc/Makefile ] || exit 0; \
28342 r=`${PWD_COMMAND}`; export r; \
28343 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28344 $(SET_LIB_PATH) \
28345 for flag in $(EXTRA_GCC_FLAGS); do \
28346 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28347 done; \
28348 $(HOST_EXPORTS) \
28349 echo "Doing clean in gcc" ; \
28350 (cd gcc && \
28351 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28352 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28353 "RANLIB=$${RANLIB}" \
28354 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28355 clean) \
28356 || exit 1
28357 @endif gcc
28360 .PHONY: maybe-distclean-gcc distclean-gcc
28361 maybe-distclean-gcc:
28362 @if gcc
28363 maybe-distclean-gcc: distclean-gcc
28364 distclean-gcc:
28365 @[ -f ./gcc/Makefile ] || exit 0; \
28366 r=`${PWD_COMMAND}`; export r; \
28367 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28368 $(SET_LIB_PATH) \
28369 for flag in $(EXTRA_GCC_FLAGS); do \
28370 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28371 done; \
28372 $(HOST_EXPORTS) \
28373 echo "Doing distclean in gcc" ; \
28374 (cd gcc && \
28375 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28376 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28377 "RANLIB=$${RANLIB}" \
28378 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28379 distclean) \
28380 || exit 1
28381 @endif gcc
28384 .PHONY: maybe-maintainer-clean-gcc maintainer-clean-gcc
28385 maybe-maintainer-clean-gcc:
28386 @if gcc
28387 maybe-maintainer-clean-gcc: maintainer-clean-gcc
28388 maintainer-clean-gcc:
28389 @[ -f ./gcc/Makefile ] || exit 0; \
28390 r=`${PWD_COMMAND}`; export r; \
28391 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28392 $(SET_LIB_PATH) \
28393 for flag in $(EXTRA_GCC_FLAGS); do \
28394 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28395 done; \
28396 $(HOST_EXPORTS) \
28397 echo "Doing maintainer-clean in gcc" ; \
28398 (cd gcc && \
28399 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28400 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28401 "RANLIB=$${RANLIB}" \
28402 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28403 maintainer-clean) \
28404 || exit 1
28405 @endif gcc
28409 @if gcc-bootstrap
28410 # ---------------------
28411 # GCC bootstrap support
28412 # ---------------------
28414 # We track the current stage (the one in 'gcc') in the stage_last file.
28415 # We name the build directories for the various stages "stage1-gcc",
28416 # "stage2-gcc","stage3-gcc", etc.
28418 # Since the 'compare' process will fail (on debugging information) if any
28419 # directory names are different, we need to link the gcc directory for
28420 # the previous stage to a constant name ('gcc-prev'), and to make the name of
28421 # the build directories constant as well. For the latter, we use naked names
28422 # like 'gcc', because the scripts in that directory assume it. We use
28423 # mv on platforms where symlinks to directories do not work or are not
28424 # reliable.
28426 # At the end of the bootstrap, a symlink to 'stage3-gcc' named 'gcc' must
28427 # be kept, so that libraries can find it. Ick!
28429 # It would be best to preinstall gcc into a staging area (and in the
28430 # future, gather there all prebootstrap packages). This would allow
28431 # assemblers and linkers can be bootstrapped as well as the compiler
28432 # (both in a combined tree, or separately). This however requires some
28433 # change to the gcc driver, again in order to avoid comparison failures.
28435 # Bugs: This is almost certainly not parallel-make safe.
28437 # 'touch' doesn't work right on some platforms.
28438 STAMP = echo timestamp >
28440 # Only build the C compiler for stage1, because that is the only one that
28441 # we can guarantee will build with the native compiler, and also it is the
28442 # only thing useful for building stage2. STAGE1_CFLAGS (via CFLAGS),
28443 # MAKEINFO and MAKEINFOFLAGS are explicitly passed here to make them
28444 # overrideable (for a bootstrap build stage1 also builds gcc.info).
28446 STAGE1_CFLAGS=@stage1_cflags@
28447 STAGE1_LANGUAGES=@stage1_languages@
28449 # We only want to compare .o files, so set this!
28450 objext = .o
28452 # Real targets act phony if they depend on phony targets; this hack
28453 # prevents gratuitous rebuilding of stage 1.
28454 prebootstrap:
28455 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-bootstrap
28456 $(STAMP) prebootstrap
28458 # Flags to pass to stage2 and later makes.
28459 BOOT_CFLAGS= -g -O2
28460 POSTSTAGE1_FLAGS_TO_PASS = \
28461 CC="$${CC}" CC_FOR_BUILD="$${CC_FOR_BUILD}" \
28462 STAGE_PREFIX=$$r/stage-gcc/ \
28463 CFLAGS="$(BOOT_CFLAGS)" \
28464 ADAC="\$$(CC)"
28466 # For stage 1:
28467 # * We force-disable intermodule optimizations, even if
28468 # --enable-intermodule was passed, since the installed compiler probably
28469 # can't handle them. Luckily, autoconf always respects
28470 # the last argument when conflicting --enable arguments are passed.
28471 # * Likewise, we force-disable coverage flags, since the installed compiler
28472 # probably has never heard of them.
28473 # * We build only C (and possibly Ada).
28476 .PHONY: stage1-start stage1-end
28478 stage1-start::
28479 [ -f stage_last ] && $(MAKE) `cat stage_last`-end || :
28480 echo stage1 > stage_last ; \
28481 [ -d stage1-gcc ] || mkdir stage1-gcc; \
28482 set stage1-gcc gcc ; @CREATE_LINK_TO_DIR@
28484 stage1-end::
28485 rm -f stage_last ; \
28486 set gcc stage1-gcc ; @UNDO_LINK_TO_DIR@
28488 # Bubble a bugfix through all the stages up to stage 1. They
28489 # are remade, but not reconfigured. The next stage (if any) will not
28490 # be reconfigured as well.
28491 .PHONY: stage1-bubble
28492 stage1-bubble::
28493 @if [ -f all-stage1-gcc ] ; then \
28494 echo Remaking stage 1 ; \
28495 rm -f all-stage1-gcc ; \
28496 fi ; \
28497 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stage1-gcc
28501 configure-stage1-gcc: prebootstrap
28502 $(MAKE) stage1-start
28503 @if [ -f stage1-gcc/Makefile ] ; then \
28504 $(STAMP) configure-stage1-gcc ; \
28505 exit 0; \
28506 else \
28507 true ; \
28508 fi ; \
28509 r=`${PWD_COMMAND}`; export r; \
28510 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28511 $(HOST_EXPORTS) \
28512 echo Configuring stage 1 in gcc ; \
28513 cd gcc || exit 1; \
28514 case $(srcdir) in \
28515 \.) \
28516 srcdiroption="--srcdir=."; \
28517 libsrcdir=".";; \
28518 /* | [A-Za-z]:[\\/]*) \
28519 srcdiroption="--srcdir=$(srcdir)/gcc"; \
28520 libsrcdir="$$s/gcc";; \
28521 *) \
28522 srcdiroption="--srcdir=../$(srcdir)/gcc"; \
28523 libsrcdir="$$s/gcc";; \
28524 esac; \
28525 $(SHELL) $${libsrcdir}/configure \
28526 $(HOST_CONFIGARGS) $${srcdiroption} \
28527 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)" && \
28528 $(STAMP) ../configure-stage1-gcc
28530 all-stage1-gcc: configure-stage1-gcc
28531 $(MAKE) stage1-start
28532 @r=`${PWD_COMMAND}`; export r; \
28533 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28534 $(HOST_EXPORTS) \
28535 cd gcc && \
28536 $(MAKE) $(GCC_FLAGS_TO_PASS) \
28537 CFLAGS="$(STAGE1_CFLAGS)" && $(STAMP) ../all-stage1-gcc
28543 .PHONY: restage1 touch-stage1 distclean-stage1
28545 # Rules to wipe a stage and all the following ones, used for cleanstrap
28547 distclean-stage1::
28548 [ -f stage_last ] && $(MAKE) `cat stage_last`-end || :
28549 rm -rf configure-stage1-gcc all-stage1-gcc stage1-gcc
28551 # Rules to renew the timestamp on a stage and all the following ones
28553 touch-stage1::
28554 @[ -f configure-stage1-gcc ] && \
28555 echo '$(STAMP) configure-stage1-gcc' && \
28556 $(STAMP) configure-stage1-gcc; \
28557 [ -f all-stage1-gcc ] && \
28558 echo '$(STAMP) all-stage1-gcc' && \
28559 $(STAMP) all-stage1-gcc; \
28562 # After building a stage, touch the following ones
28564 restage1::
28565 rm -rf all-stage1-gcc
28566 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stage1-gcc
28571 .PHONY: stage2-start stage2-end
28573 stage2-start::
28574 [ -f stage_last ] && $(MAKE) `cat stage_last`-end || :
28575 echo stage2 > stage_last ; \
28576 [ -d stage2-gcc ] || mkdir stage2-gcc; \
28577 set stage2-gcc gcc ; @CREATE_LINK_TO_DIR@ ; \
28578 set stage1-gcc prev-gcc ; @CREATE_LINK_TO_DIR@
28580 stage2-end::
28581 rm -f stage_last ; \
28582 set gcc stage2-gcc ; @UNDO_LINK_TO_DIR@ ; \
28583 set prev-gcc stage1-gcc ; @UNDO_LINK_TO_DIR@
28585 # Bubble a bugfix through all the stages up to stage 2. They
28586 # are remade, but not reconfigured. The next stage (if any) will not
28587 # be reconfigured as well.
28588 .PHONY: stage2-bubble
28589 stage2-bubble:: stage1-bubble
28590 @if [ -f all-stage2-gcc ] ; then \
28591 echo Remaking stage 2 ; \
28592 rm -f all-stage2-gcc ; \
28593 fi ; \
28594 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stage2-gcc
28597 stage1-bubble::
28598 @if [ -f configure-stage2-gcc ] ; then \
28599 $(STAMP) configure-stage2-gcc ; \
28603 configure-stage2-gcc: all-stage1-gcc
28604 $(MAKE) stage2-start
28605 @if [ -f stage2-gcc/Makefile ] ; then \
28606 $(STAMP) configure-stage2-gcc ; \
28607 exit 0; \
28608 else \
28609 true ; \
28610 fi ; \
28611 r=`${PWD_COMMAND}`; export r; \
28612 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28613 $(STAGE_HOST_EXPORTS) \
28614 echo Configuring stage 2 in gcc ; \
28615 cd gcc || exit 1; \
28616 case $(srcdir) in \
28617 \.) \
28618 srcdiroption="--srcdir=."; \
28619 libsrcdir=".";; \
28620 /* | [A-Za-z]:[\\/]*) \
28621 srcdiroption="--srcdir=$(srcdir)/gcc"; \
28622 libsrcdir="$$s/gcc";; \
28623 *) \
28624 srcdiroption="--srcdir=../$(srcdir)/gcc"; \
28625 libsrcdir="$$s/gcc";; \
28626 esac; \
28627 $(SHELL) $${libsrcdir}/configure \
28628 $(HOST_CONFIGARGS) $${srcdiroption} \
28629 @stage2_werror_flag@ && \
28630 $(STAMP) ../configure-stage2-gcc
28632 all-stage2-gcc: configure-stage2-gcc
28633 $(MAKE) stage2-start
28634 @r=`${PWD_COMMAND}`; export r; \
28635 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28636 $(STAGE_HOST_EXPORTS) \
28637 cd gcc && \
28638 $(MAKE) $(GCC_FLAGS_TO_PASS) \
28639 $(POSTSTAGE1_FLAGS_TO_PASS) \
28640 && $(STAMP) ../all-stage2-gcc
28645 .PHONY: bootstrap2
28646 bootstrap2:
28647 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stage2-bubble \
28648 stage2-start all stage2-end
28651 .PHONY: restage2 touch-stage2 distclean-stage2
28653 # Rules to wipe a stage and all the following ones, used for cleanstrap
28654 distclean-stage1:: distclean-stage2
28655 distclean-stage2::
28656 [ -f stage_last ] && $(MAKE) `cat stage_last`-end || :
28657 rm -rf configure-stage2-gcc all-stage2-gcc stage2-gcc
28659 # Rules to renew the timestamp on a stage and all the following ones
28660 touch-stage1:: touch-stage2
28661 touch-stage2::
28662 @[ -f configure-stage2-gcc ] && \
28663 echo '$(STAMP) configure-stage2-gcc' && \
28664 $(STAMP) configure-stage2-gcc; \
28665 [ -f all-stage2-gcc ] && \
28666 echo '$(STAMP) all-stage2-gcc' && \
28667 $(STAMP) all-stage2-gcc; \
28670 # After building a stage, touch the following ones
28671 restage1:: touch-stage2
28672 restage2::
28673 rm -rf all-stage2-gcc
28674 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stage2-gcc
28679 .PHONY: stage3-start stage3-end
28681 stage3-start::
28682 [ -f stage_last ] && $(MAKE) `cat stage_last`-end || :
28683 echo stage3 > stage_last ; \
28684 [ -d stage3-gcc ] || mkdir stage3-gcc; \
28685 set stage3-gcc gcc ; @CREATE_LINK_TO_DIR@ ; \
28686 set stage2-gcc prev-gcc ; @CREATE_LINK_TO_DIR@
28688 stage3-end::
28689 rm -f stage_last ; \
28690 set gcc stage3-gcc ; @UNDO_LINK_TO_DIR@ ; \
28691 set prev-gcc stage2-gcc ; @UNDO_LINK_TO_DIR@
28693 # Bubble a bugfix through all the stages up to stage 3. They
28694 # are remade, but not reconfigured. The next stage (if any) will not
28695 # be reconfigured as well.
28696 .PHONY: stage3-bubble
28697 stage3-bubble:: stage2-bubble
28698 @if [ -f all-stage3-gcc ] ; then \
28699 echo Remaking stage 3 ; \
28700 rm -f all-stage3-gcc ; \
28701 fi ; \
28702 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stage3-gcc
28705 stage2-bubble::
28706 @if [ -f configure-stage3-gcc ] ; then \
28707 $(STAMP) configure-stage3-gcc ; \
28711 configure-stage3-gcc: all-stage2-gcc
28712 $(MAKE) stage3-start
28713 @if [ -f stage3-gcc/Makefile ] ; then \
28714 $(STAMP) configure-stage3-gcc ; \
28715 exit 0; \
28716 else \
28717 true ; \
28718 fi ; \
28719 r=`${PWD_COMMAND}`; export r; \
28720 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28721 $(STAGE_HOST_EXPORTS) \
28722 echo Configuring stage 3 in gcc ; \
28723 cd gcc || exit 1; \
28724 case $(srcdir) in \
28725 \.) \
28726 srcdiroption="--srcdir=."; \
28727 libsrcdir=".";; \
28728 /* | [A-Za-z]:[\\/]*) \
28729 srcdiroption="--srcdir=$(srcdir)/gcc"; \
28730 libsrcdir="$$s/gcc";; \
28731 *) \
28732 srcdiroption="--srcdir=../$(srcdir)/gcc"; \
28733 libsrcdir="$$s/gcc";; \
28734 esac; \
28735 $(SHELL) $${libsrcdir}/configure \
28736 $(HOST_CONFIGARGS) $${srcdiroption} \
28737 @stage2_werror_flag@ && \
28738 $(STAMP) ../configure-stage3-gcc
28740 all-stage3-gcc: configure-stage3-gcc
28741 $(MAKE) stage3-start
28742 @r=`${PWD_COMMAND}`; export r; \
28743 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28744 $(STAGE_HOST_EXPORTS) \
28745 cd gcc && \
28746 $(MAKE) $(GCC_FLAGS_TO_PASS) \
28747 $(POSTSTAGE1_FLAGS_TO_PASS) \
28748 && $(STAMP) ../all-stage3-gcc
28751 compare: all-stage3-gcc
28752 [ -f stage_last ] && $(MAKE) `cat stage_last`-end || :
28753 @r=`${PWD_COMMAND}`; export r; \
28754 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28755 rm -f .bad_compare ; \
28756 cd stage3-gcc; \
28757 files=`find . -name "*$(objext)" -print` ; \
28758 cd .. ; \
28759 for file in $${files} ; do \
28760 f1=$$r/stage2-gcc/$$file; f2=$$r/stage3-gcc/$$file; \
28761 @do_compare@ > /dev/null 2>&1; \
28762 test $$? -eq 1 && echo $$file differs >> .bad_compare || true; \
28763 done ; \
28764 if [ -f .bad_compare ]; then \
28765 echo "Bootstrap comparison failure!"; \
28766 cat .bad_compare; \
28767 exit 1; \
28768 else \
28769 true; \
28770 fi ; \
28771 $(STAMP) compare
28775 .PHONY: bootstrap
28776 bootstrap:
28777 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stage3-bubble compare \
28778 stage3-start all stage3-end
28781 .PHONY: restage3 touch-stage3 distclean-stage3
28783 # Rules to wipe a stage and all the following ones, used for cleanstrap
28784 distclean-stage2:: distclean-stage3
28785 distclean-stage3::
28786 [ -f stage_last ] && $(MAKE) `cat stage_last`-end || :
28787 rm -rf configure-stage3-gcc all-stage3-gcc stage3-gcc compare
28789 # Rules to renew the timestamp on a stage and all the following ones
28790 touch-stage2:: touch-stage3
28791 touch-stage3::
28792 @[ -f configure-stage3-gcc ] && \
28793 echo '$(STAMP) configure-stage3-gcc' && \
28794 $(STAMP) configure-stage3-gcc; \
28795 [ -f all-stage3-gcc ] && \
28796 echo '$(STAMP) all-stage3-gcc' && \
28797 $(STAMP) all-stage3-gcc; \
28800 # After building a stage, touch the following ones
28801 restage2:: touch-stage3
28802 restage3::
28803 rm -rf all-stage3-gcc compare
28804 $(MAKE) $(RECURSE_FLAGS_TO_PASS) compare
28807 .PHONY: cleanstrap
28808 cleanstrap: distclean-stage1 bootstrap
28812 .PHONY: stage4-start stage4-end
28814 stage4-start::
28815 [ -f stage_last ] && $(MAKE) `cat stage_last`-end || :
28816 echo stage4 > stage_last ; \
28817 [ -d stage4-gcc ] || mkdir stage4-gcc; \
28818 set stage4-gcc gcc ; @CREATE_LINK_TO_DIR@ ; \
28819 set stage3-gcc prev-gcc ; @CREATE_LINK_TO_DIR@
28821 stage4-end::
28822 rm -f stage_last ; \
28823 set gcc stage4-gcc ; @UNDO_LINK_TO_DIR@ ; \
28824 set prev-gcc stage3-gcc ; @UNDO_LINK_TO_DIR@
28826 # Bubble a bugfix through all the stages up to stage 4. They
28827 # are remade, but not reconfigured. The next stage (if any) will not
28828 # be reconfigured as well.
28829 .PHONY: stage4-bubble
28830 stage4-bubble:: stage3-bubble
28831 @if [ -f all-stage4-gcc ] ; then \
28832 echo Remaking stage 4 ; \
28833 rm -f all-stage4-gcc ; \
28834 fi ; \
28835 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stage4-gcc
28838 stage3-bubble::
28839 @if [ -f configure-stage4-gcc ] ; then \
28840 $(STAMP) configure-stage4-gcc ; \
28844 configure-stage4-gcc: all-stage3-gcc
28845 $(MAKE) stage4-start
28846 @if [ -f stage4-gcc/Makefile ] ; then \
28847 $(STAMP) configure-stage4-gcc ; \
28848 exit 0; \
28849 else \
28850 true ; \
28851 fi ; \
28852 r=`${PWD_COMMAND}`; export r; \
28853 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28854 $(STAGE_HOST_EXPORTS) \
28855 echo Configuring stage 4 in gcc ; \
28856 cd gcc || exit 1; \
28857 case $(srcdir) in \
28858 \.) \
28859 srcdiroption="--srcdir=."; \
28860 libsrcdir=".";; \
28861 /* | [A-Za-z]:[\\/]*) \
28862 srcdiroption="--srcdir=$(srcdir)/gcc"; \
28863 libsrcdir="$$s/gcc";; \
28864 *) \
28865 srcdiroption="--srcdir=../$(srcdir)/gcc"; \
28866 libsrcdir="$$s/gcc";; \
28867 esac; \
28868 $(SHELL) $${libsrcdir}/configure \
28869 $(HOST_CONFIGARGS) $${srcdiroption} \
28870 @stage2_werror_flag@ && \
28871 $(STAMP) ../configure-stage4-gcc
28873 all-stage4-gcc: configure-stage4-gcc
28874 $(MAKE) stage4-start
28875 @r=`${PWD_COMMAND}`; export r; \
28876 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28877 $(STAGE_HOST_EXPORTS) \
28878 cd gcc && \
28879 $(MAKE) $(GCC_FLAGS_TO_PASS) \
28880 $(POSTSTAGE1_FLAGS_TO_PASS) \
28881 && $(STAMP) ../all-stage4-gcc
28884 compare3: all-stage4-gcc
28885 [ -f stage_last ] && $(MAKE) `cat stage_last`-end || :
28886 @r=`${PWD_COMMAND}`; export r; \
28887 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28888 rm -f .bad_compare ; \
28889 cd stage4-gcc; \
28890 files=`find . -name "*$(objext)" -print` ; \
28891 cd .. ; \
28892 for file in $${files} ; do \
28893 f1=$$r/stage3-gcc/$$file; f2=$$r/stage4-gcc/$$file; \
28894 @do_compare@ > /dev/null 2>&1; \
28895 test $$? -eq 1 && echo $$file differs >> .bad_compare || true; \
28896 done ; \
28897 if [ -f .bad_compare ]; then \
28898 echo "Bootstrap comparison failure!"; \
28899 cat .bad_compare; \
28900 exit 1; \
28901 else \
28902 true; \
28903 fi ; \
28904 $(STAMP) compare3
28908 .PHONY: bootstrap4
28909 bootstrap4:
28910 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stage4-bubble compare3 \
28911 stage4-start all stage4-end
28914 .PHONY: restage4 touch-stage4 distclean-stage4
28916 # Rules to wipe a stage and all the following ones, used for cleanstrap
28917 distclean-stage3:: distclean-stage4
28918 distclean-stage4::
28919 [ -f stage_last ] && $(MAKE) `cat stage_last`-end || :
28920 rm -rf configure-stage4-gcc all-stage4-gcc stage4-gcc compare3
28922 # Rules to renew the timestamp on a stage and all the following ones
28923 touch-stage3:: touch-stage4
28924 touch-stage4::
28925 @[ -f configure-stage4-gcc ] && \
28926 echo '$(STAMP) configure-stage4-gcc' && \
28927 $(STAMP) configure-stage4-gcc; \
28928 [ -f all-stage4-gcc ] && \
28929 echo '$(STAMP) all-stage4-gcc' && \
28930 $(STAMP) all-stage4-gcc; \
28933 # After building a stage, touch the following ones
28934 restage3:: touch-stage4
28935 restage4::
28936 rm -rf all-stage4-gcc compare3
28937 $(MAKE) $(RECURSE_FLAGS_TO_PASS) compare3
28942 .PHONY: stageprofile-start stageprofile-end
28944 stageprofile-start::
28945 [ -f stage_last ] && $(MAKE) `cat stage_last`-end || :
28946 echo stageprofile > stage_last ; \
28947 [ -d stageprofile-gcc ] || mkdir stageprofile-gcc; \
28948 set stageprofile-gcc gcc ; @CREATE_LINK_TO_DIR@ ; \
28949 set stage1-gcc prev-gcc ; @CREATE_LINK_TO_DIR@
28951 stageprofile-end::
28952 rm -f stage_last ; \
28953 set gcc stageprofile-gcc ; @UNDO_LINK_TO_DIR@ ; \
28954 set prev-gcc stage1-gcc ; @UNDO_LINK_TO_DIR@
28956 # Bubble a bugfix through all the stages up to stage profile. They
28957 # are remade, but not reconfigured. The next stage (if any) will not
28958 # be reconfigured as well.
28959 .PHONY: stageprofile-bubble
28960 stageprofile-bubble:: stage1-bubble
28961 @if [ -f all-stageprofile-gcc ] ; then \
28962 echo Remaking stage profile ; \
28963 rm -f all-stageprofile-gcc ; \
28964 fi ; \
28965 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stageprofile-gcc
28968 stage1-bubble::
28969 @if [ -f configure-stageprofile-gcc ] ; then \
28970 $(STAMP) configure-stageprofile-gcc ; \
28974 configure-stageprofile-gcc: all-stage1-gcc
28975 $(MAKE) stageprofile-start
28976 @if [ -f stageprofile-gcc/Makefile ] ; then \
28977 $(STAMP) configure-stageprofile-gcc ; \
28978 exit 0; \
28979 else \
28980 true ; \
28981 fi ; \
28982 r=`${PWD_COMMAND}`; export r; \
28983 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28984 $(STAGE_HOST_EXPORTS) \
28985 echo Configuring stage profile in gcc ; \
28986 cd gcc || exit 1; \
28987 case $(srcdir) in \
28988 \.) \
28989 srcdiroption="--srcdir=."; \
28990 libsrcdir=".";; \
28991 /* | [A-Za-z]:[\\/]*) \
28992 srcdiroption="--srcdir=$(srcdir)/gcc"; \
28993 libsrcdir="$$s/gcc";; \
28994 *) \
28995 srcdiroption="--srcdir=../$(srcdir)/gcc"; \
28996 libsrcdir="$$s/gcc";; \
28997 esac; \
28998 $(SHELL) $${libsrcdir}/configure \
28999 $(HOST_CONFIGARGS) $${srcdiroption} \
29000 @stage2_werror_flag@ && \
29001 $(STAMP) ../configure-stageprofile-gcc
29003 all-stageprofile-gcc: configure-stageprofile-gcc
29004 $(MAKE) stageprofile-start
29005 @r=`${PWD_COMMAND}`; export r; \
29006 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29007 $(STAGE_HOST_EXPORTS) \
29008 cd gcc && \
29009 $(MAKE) $(GCC_FLAGS_TO_PASS) \
29010 $(POSTSTAGE1_FLAGS_TO_PASS) \
29011 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" && $(STAMP) ../all-stageprofile-gcc
29017 .PHONY: restageprofile touch-stageprofile distclean-stageprofile
29019 # Rules to wipe a stage and all the following ones, used for cleanstrap
29020 distclean-stage1:: distclean-stageprofile
29021 distclean-stageprofile::
29022 [ -f stage_last ] && $(MAKE) `cat stage_last`-end || :
29023 rm -rf configure-stageprofile-gcc all-stageprofile-gcc stageprofile-gcc
29025 # Rules to renew the timestamp on a stage and all the following ones
29026 touch-stage1:: touch-stageprofile
29027 touch-stageprofile::
29028 @[ -f configure-stageprofile-gcc ] && \
29029 echo '$(STAMP) configure-stageprofile-gcc' && \
29030 $(STAMP) configure-stageprofile-gcc; \
29031 [ -f all-stageprofile-gcc ] && \
29032 echo '$(STAMP) all-stageprofile-gcc' && \
29033 $(STAMP) all-stageprofile-gcc; \
29036 # After building a stage, touch the following ones
29037 restage1:: touch-stageprofile
29038 restageprofile::
29039 rm -rf all-stageprofile-gcc
29040 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stageprofile-gcc
29045 .PHONY: stagefeedback-start stagefeedback-end
29047 stagefeedback-start::
29048 [ -f stage_last ] && $(MAKE) `cat stage_last`-end || :
29049 echo stagefeedback > stage_last ; \
29050 [ -d stagefeedback-gcc ] || mkdir stagefeedback-gcc; \
29051 set stagefeedback-gcc gcc ; @CREATE_LINK_TO_DIR@ ; \
29052 set stage1-gcc prev-gcc ; @CREATE_LINK_TO_DIR@
29054 stagefeedback-end::
29055 rm -f stage_last ; \
29056 set gcc stagefeedback-gcc ; @UNDO_LINK_TO_DIR@ ; \
29057 set prev-gcc stage1-gcc ; @UNDO_LINK_TO_DIR@
29059 # Bubble a bugfix through all the stages up to stage feedback. They
29060 # are remade, but not reconfigured. The next stage (if any) will not
29061 # be reconfigured as well.
29062 .PHONY: stagefeedback-bubble
29063 stagefeedback-bubble:: stage1-bubble
29064 @if [ -f all-stagefeedback-gcc ] ; then \
29065 echo Remaking stage feedback ; \
29066 rm -f all-stagefeedback-gcc ; \
29067 fi ; \
29068 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stagefeedback-gcc
29071 stage1-bubble::
29072 @if [ -f configure-stagefeedback-gcc ] ; then \
29073 $(STAMP) configure-stagefeedback-gcc ; \
29077 configure-stagefeedback-gcc: all-stage1-gcc
29078 $(MAKE) stagefeedback-start
29079 @if [ -f stagefeedback-gcc/Makefile ] ; then \
29080 $(STAMP) configure-stagefeedback-gcc ; \
29081 exit 0; \
29082 else \
29083 true ; \
29084 fi ; \
29085 r=`${PWD_COMMAND}`; export r; \
29086 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29087 $(STAGE_HOST_EXPORTS) \
29088 echo Configuring stage feedback in gcc ; \
29089 cd gcc || exit 1; \
29090 case $(srcdir) in \
29091 \.) \
29092 srcdiroption="--srcdir=."; \
29093 libsrcdir=".";; \
29094 /* | [A-Za-z]:[\\/]*) \
29095 srcdiroption="--srcdir=$(srcdir)/gcc"; \
29096 libsrcdir="$$s/gcc";; \
29097 *) \
29098 srcdiroption="--srcdir=../$(srcdir)/gcc"; \
29099 libsrcdir="$$s/gcc";; \
29100 esac; \
29101 $(SHELL) $${libsrcdir}/configure \
29102 $(HOST_CONFIGARGS) $${srcdiroption} \
29103 @stage2_werror_flag@ && \
29104 $(STAMP) ../configure-stagefeedback-gcc
29106 all-stagefeedback-gcc: configure-stagefeedback-gcc
29107 $(MAKE) stagefeedback-start
29108 @r=`${PWD_COMMAND}`; export r; \
29109 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29110 $(STAGE_HOST_EXPORTS) \
29111 cd gcc && \
29112 $(MAKE) $(GCC_FLAGS_TO_PASS) \
29113 $(POSTSTAGE1_FLAGS_TO_PASS) \
29114 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" && $(STAMP) ../all-stagefeedback-gcc
29120 .PHONY: restagefeedback touch-stagefeedback distclean-stagefeedback
29122 # Rules to wipe a stage and all the following ones, used for cleanstrap
29123 distclean-stage1:: distclean-stagefeedback
29124 distclean-stagefeedback::
29125 [ -f stage_last ] && $(MAKE) `cat stage_last`-end || :
29126 rm -rf configure-stagefeedback-gcc all-stagefeedback-gcc stagefeedback-gcc
29128 # Rules to renew the timestamp on a stage and all the following ones
29129 touch-stage1:: touch-stagefeedback
29130 touch-stagefeedback::
29131 @[ -f configure-stagefeedback-gcc ] && \
29132 echo '$(STAMP) configure-stagefeedback-gcc' && \
29133 $(STAMP) configure-stagefeedback-gcc; \
29134 [ -f all-stagefeedback-gcc ] && \
29135 echo '$(STAMP) all-stagefeedback-gcc' && \
29136 $(STAMP) all-stagefeedback-gcc; \
29139 # After building a stage, touch the following ones
29140 restage1:: touch-stagefeedback
29141 restagefeedback::
29142 rm -rf all-stagefeedback-gcc
29143 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stagefeedback-gcc
29149 stagefeedback-start::
29150 @r=`${PWD_COMMAND}`; export r; \
29151 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29152 cd stageprofile-gcc && \
29153 { find . -type d | sort | sed 's,.*,$(SHELL) '"$$s"'/mkinstalldirs "../gcc/&",' | $(SHELL); } && \
29154 { find . -name '*.*da' | sed 's,.*,$(LN) -f "&" "../gcc/&",' | $(SHELL); }
29156 profiledbootstrap: all-bootstrap configure-gcc
29157 @r=`${PWD_COMMAND}`; export r; \
29158 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29159 $(SET_LIB_PATH) \
29160 $(HOST_EXPORTS) \
29161 echo "Bootstrapping the compiler"; \
29162 $(MAKE) stageprofile-bubble distclean-stagefeedback stageprofile-start
29163 @r=`${PWD_COMMAND}`; export r; \
29164 s=`cd $(srcdir); ${PWD_COMMAND}` ; export s; \
29165 $(SET_LIB_PATH) \
29166 echo "Building runtime libraries and training compiler"; \
29167 $(MAKE) $(BASE_FLAGS_TO_PASS) $(RECURSE_FLAGS) all
29168 @r=`${PWD_COMMAND}`; export r; \
29169 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29170 $(SET_LIB_PATH) \
29171 $(HOST_EXPORTS) \
29172 echo "Building feedback based compiler"; \
29173 $(MAKE) stagefeedback-bubble stagefeedback-end
29175 @endif gcc-bootstrap
29177 # --------------------------------------
29178 # Dependencies between different modules
29179 # --------------------------------------
29181 # There are two types of dependencies here: 'hard' dependencies, where one
29182 # module simply won't build without the other; and 'soft' dependencies, where
29183 # if the depended-on module is missing, the depending module will do without
29184 # or find a substitute somewhere (perhaps installed). Soft dependencies
29185 # are specified by depending on a 'maybe-' target. If you're not sure,
29186 # it's safer to use a soft dependency.
29188 # Build modules
29189 all-build-bison: maybe-all-build-texinfo
29190 all-build-flex: maybe-all-build-texinfo
29191 all-build-libiberty: maybe-all-build-texinfo
29192 all-build-m4: maybe-all-build-libiberty maybe-all-build-texinfo
29194 # Host modules specific to gcc.
29195 # GCC needs to identify certain tools.
29196 # GCC also needs the information exported by the intl configure script.
29197 configure-gcc: maybe-configure-intl maybe-configure-binutils maybe-configure-gas maybe-configure-ld maybe-configure-bison maybe-configure-flex
29198 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
29199 configure-libcpp: maybe-configure-libiberty maybe-configure-intl
29200 all-libcpp: maybe-all-libiberty maybe-all-intl
29201 # This is a slightly kludgy method of getting dependencies on
29202 # all-build-libiberty correct; it would be better to build it every time.
29203 all-gcc: maybe-all-build-libiberty
29204 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
29206 # Host modules specific to gdb.
29207 # GDB needs to know that the simulator is being built.
29208 configure-gdb: maybe-configure-itcl maybe-configure-tcl maybe-configure-tk maybe-configure-sim
29209 GDB_TK = @GDB_TK@
29210 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)
29211 install-gdb: maybe-install-tcl maybe-install-tk maybe-install-itcl maybe-install-tix maybe-install-libgui
29212 configure-libgui: maybe-configure-tcl maybe-configure-tk
29213 all-libgui: maybe-all-tcl maybe-all-tk maybe-all-itcl
29215 # Host modules specific to binutils.
29216 configure-bfd: configure-libiberty
29217 all-bfd: maybe-all-libiberty maybe-all-intl
29218 all-binutils: maybe-all-libiberty maybe-all-opcodes maybe-all-bfd maybe-all-flex maybe-all-bison maybe-all-byacc maybe-all-intl
29219 # We put install-opcodes before install-binutils because the installed
29220 # binutils might be on PATH, and they might need the shared opcodes
29221 # library.
29222 install-binutils: maybe-install-opcodes
29223 # libopcodes depends on libbfd
29224 install-opcodes: maybe-install-bfd
29225 all-gas: maybe-all-libiberty maybe-all-opcodes maybe-all-bfd maybe-all-intl
29226 all-gprof: maybe-all-libiberty maybe-all-bfd maybe-all-opcodes maybe-all-intl
29227 all-ld: maybe-all-libiberty maybe-all-bfd maybe-all-opcodes maybe-all-bison maybe-all-byacc maybe-all-flex maybe-all-intl
29228 all-opcodes: maybe-all-bfd maybe-all-libiberty
29230 # Other host modules in the 'src' repository.
29231 all-dejagnu: maybe-all-tcl maybe-all-expect maybe-all-tk
29232 configure-expect: maybe-configure-tcl maybe-configure-tk
29233 all-expect: maybe-all-tcl maybe-all-tk
29234 configure-itcl: maybe-configure-tcl maybe-configure-tk
29235 all-itcl: maybe-all-tcl maybe-all-tk
29236 # We put install-tcl before install-itcl because itcl wants to run a
29237 # program on installation which uses the Tcl libraries.
29238 install-itcl: maybe-install-tcl
29239 all-sid: maybe-all-libiberty maybe-all-bfd maybe-all-opcodes maybe-all-tcl maybe-all-tk
29240 install-sid: maybe-install-tcl maybe-install-tk
29241 all-sim: maybe-all-libiberty maybe-all-bfd maybe-all-opcodes maybe-all-readline maybe-configure-gdb
29242 configure-tk: maybe-configure-tcl
29243 all-tk: maybe-all-tcl
29244 configure-tix: maybe-configure-tcl maybe-configure-tk
29245 all-tix: maybe-all-tcl maybe-all-tk
29246 all-texinfo: maybe-all-libiberty
29248 # Other host modules. Warning, these are not well tested.
29249 all-autoconf: maybe-all-m4 maybe-all-texinfo
29250 all-automake: maybe-all-m4 maybe-all-texinfo
29251 all-bison: maybe-all-texinfo
29252 all-diff: maybe-all-libiberty
29253 all-fastjar: maybe-all-zlib maybe-all-libiberty
29254 all-fileutils: maybe-all-libiberty
29255 all-flex: maybe-all-libiberty maybe-all-bison maybe-all-byacc
29256 all-gzip: maybe-all-libiberty
29257 all-hello: maybe-all-libiberty
29258 all-m4: maybe-all-libiberty maybe-all-texinfo
29259 all-make: maybe-all-libiberty maybe-all-intl
29260 all-patch: maybe-all-libiberty
29261 all-prms: maybe-all-libiberty
29262 all-recode: maybe-all-libiberty
29263 all-sed: maybe-all-libiberty
29264 all-send-pr: maybe-all-prms
29265 all-tar: maybe-all-libiberty
29266 all-uudecode: maybe-all-libiberty
29268 ALL_GCC = maybe-all-gcc
29269 ALL_GCC_C = $(ALL_GCC) maybe-all-target-newlib maybe-all-target-libgloss
29270 ALL_GCC_CXX = $(ALL_GCC_C) maybe-all-target-libstdc++-v3
29272 # Target modules specific to gcc.
29273 configure-target-boehm-gc: $(ALL_GCC_C) maybe-configure-target-qthreads
29274 configure-target-fastjar: maybe-configure-target-zlib
29275 all-target-fastjar: maybe-all-target-zlib maybe-all-target-libiberty
29276 configure-target-libada: $(ALL_GCC_C)
29277 configure-target-libgfortran: $(ALL_GCC_C)
29278 configure-target-libffi: $(ALL_GCC_C)
29279 configure-target-libjava: $(ALL_GCC_C) maybe-configure-target-zlib maybe-configure-target-boehm-gc maybe-configure-target-qthreads maybe-configure-target-libffi
29280 all-target-libjava: maybe-all-fastjar maybe-all-target-zlib maybe-all-target-boehm-gc maybe-all-target-qthreads maybe-all-target-libffi
29281 configure-target-libobjc: $(ALL_GCC_C)
29282 all-target-libobjc: maybe-all-target-libiberty
29283 configure-target-libstdc++-v3: $(ALL_GCC_C)
29284 all-target-libstdc++-v3: maybe-all-target-libiberty
29285 configure-target-zlib: $(ALL_GCC_C)
29287 # Target modules in the 'src' repository.
29288 configure-target-examples: $(ALL_GCC_C)
29289 configure-target-libgloss: $(ALL_GCC)
29290 all-target-libgloss: maybe-configure-target-newlib
29291 configure-target-libiberty: $(ALL_GCC)
29292 configure-target-libtermcap: $(ALL_GCC_C)
29293 configure-target-newlib: $(ALL_GCC)
29294 configure-target-rda: $(ALL_GCC_C)
29295 configure-target-winsup: $(ALL_GCC_C)
29296 all-target-winsup: maybe-all-target-libiberty maybe-all-target-libtermcap
29298 # Other target modules. Warning, these are not well tested.
29299 configure-target-gperf: $(ALL_GCC_CXX)
29300 all-target-gperf: maybe-all-target-libiberty maybe-all-target-libstdc++-v3
29301 configure-target-qthreads: $(ALL_GCC_C)
29303 # Serialization dependencies. Host configures don't work well in parallel to
29304 # each other, due to contention over config.cache. Target configures and
29305 # build configures are similar.
29306 @serialization_dependencies@
29308 # --------------------------------
29309 # Regenerating top level configury
29310 # --------------------------------
29312 # Multilib.out tells target dirs what multilibs they should build.
29313 # There is really only one copy. We use the 'timestamp' method to
29314 # work around various timestamp bugs on some systems.
29315 # We use move-if-change so that it's only considered updated when it
29316 # actually changes, because it has to depend on a phony target.
29317 multilib.out: maybe-all-gcc
29318 @r=`${PWD_COMMAND}`; export r; \
29319 echo "Checking multilib configuration..."; \
29320 $(CC_FOR_TARGET) --print-multi-lib > multilib.tmp 2> /dev/null ; \
29321 $(SHELL) $(srcdir)/move-if-change multilib.tmp multilib.out ; \
29323 # Rebuilding Makefile.in, using autogen.
29324 AUTOGEN = autogen
29325 $(srcdir)/Makefile.in: @MAINT@ $(srcdir)/Makefile.tpl $(srcdir)/Makefile.def
29326 cd $(srcdir) && $(AUTOGEN) Makefile.def
29328 # Rebuilding Makefile.
29329 Makefile: $(srcdir)/Makefile.in config.status
29330 CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
29332 config.status: configure $(gcc_version_trigger)
29333 CONFIG_SHELL="$(SHELL)" $(SHELL) ./config.status --recheck
29335 # Rebuilding configure.
29336 AUTOCONF = autoconf
29337 $(srcdir)/configure: @MAINT@ $(srcdir)/configure.in $(srcdir)/config/acx.m4
29338 cd $(srcdir) && $(AUTOCONF)
29340 # ------------------------------
29341 # Special directives to GNU Make
29342 # ------------------------------
29344 # Don't pass command-line variables to submakes.
29345 .NOEXPORT:
29346 MAKEOVERRIDES=
29348 # end of Makefile.in