* pj-opc.c (pj_opc_info): Add braces around union initializer.
[binutils.git] / Makefile.in
blob1fe1bd3964463aeed897edfe83803b53820918b6
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 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 # Tell GNU make 3.79 not to run the top level in parallel. This
24 # prevents contention for $builddir/$target/config.cache, as well
25 # as minimizing scatter in file system caches.
26 NOTPARALLEL = .NOTPARALLEL
27 $(NOTPARALLEL):
29 VPATH=@srcdir@
30 links=@configlinks@
32 build_alias=@build_alias@
33 build_cpu=@build_cpu@
34 build_vendor=@build_vendor@
35 build_os=@build_os@
36 build_canonical=@build_cpu@-@build_vendor@-@build_os@
37 host_alias=@host_alias@
38 host_cpu=@host_cpu@
39 host_vendor=@host_vendor@
40 host_os=@host_os@
41 host_canonical=@host_cpu@-@host_vendor@-@host_os@
42 target_alias=@target_alias@
43 target_cpu=@target_cpu@
44 target_vendor=@target_vendor@
45 target_os=@target_os@
46 target_canonical=@target_cpu@-@target_vendor@-@target_os@
48 enable_shared = @enable_shared@
49 enable_threads = @enable_threads@
50 enable_version_specific_runtime_libs = @enable_version_specific_runtime_libs@
51 # The file containing GCC's version number.
52 gcc_version_trigger = @gcc_version_trigger@
53 gcc_version = @gcc_version@
55 srcdir = @srcdir@
57 prefix = @prefix@
58 exec_prefix = @exec_prefix@
60 bindir = @bindir@
61 sbindir = @sbindir@
62 libexecdir = @libexecdir@
63 datadir = @datadir@
64 sysconfdir = @sysconfdir@
65 sharedstatedir = @sharedstatedir@
66 localstatedir = @localstatedir@
67 libdir = @libdir@
68 includedir = @includedir@
69 oldincludedir = @oldincludedir@
70 infodir = @infodir@
71 mandir = @mandir@
72 gxx_include_dir=@gxx_include_dir@
74 tooldir = @tooldir@
75 build_tooldir = @build_tooldir@
77 program_transform_name = @program_transform_name@
79 man1dir = $(mandir)/man1
80 man2dir = $(mandir)/man2
81 man3dir = $(mandir)/man3
82 man4dir = $(mandir)/man4
83 man5dir = $(mandir)/man5
84 man6dir = $(mandir)/man6
85 man7dir = $(mandir)/man7
86 man8dir = $(mandir)/man8
87 man9dir = $(mandir)/man9
88 # Directory in which the compiler finds executables, libraries, etc.
89 libsubdir = $(libdir)/gcc-lib/$(target_alias)/$(gcc_version)
90 GDB_NLM_DEPS =
92 SHELL = @config_shell@
94 # pwd command to use. Allow user to override default by setting PWDCMD in
95 # the environment to account for automounters. The make variable must not
96 # be called PWDCMD, otherwise the value set here is passed to make
97 # subprocesses and overrides the setting from the user's environment.
98 PWD = $${PWDCMD-pwd}
100 # INSTALL_PROGRAM_ARGS is changed by configure.in to use -x for a
101 # cygwin host.
102 INSTALL_PROGRAM_ARGS =
104 INSTALL = $(SHELL) $$s/install-sh -c
105 INSTALL_PROGRAM = $(INSTALL) $(INSTALL_PROGRAM_ARGS)
106 INSTALL_SCRIPT = $(INSTALL)
107 INSTALL_DATA = $(INSTALL) -m 644
109 AS = @AS@
110 AR = @AR@
111 AR_FLAGS = rc
112 CC = @CC@
114 # Special variables passed down in EXTRA_GCC_FLAGS. They are defined
115 # here so that they can be overridden by Makefile fragments.
116 BUILD_CC = $(CC_FOR_BUILD)
117 BUILD_PREFIX = @BUILD_PREFIX@
118 BUILD_PREFIX_1 = @BUILD_PREFIX_1@
120 CFLAGS = @CFLAGS@
121 CXXFLAGS = @CXXFLAGS@
123 LDFLAGS =
124 LIBCFLAGS = $(CFLAGS)
125 CFLAGS_FOR_BUILD = $(CFLAGS)
126 # During gcc bootstrap, if we use some random cc for stage1 then
127 # CFLAGS will be just -g. We want to ensure that TARGET libraries
128 # (which we know are built with gcc) are built with optimizations so
129 # prepend -O2 when setting CFLAGS_FOR_TARGET.
130 CFLAGS_FOR_TARGET = -O2 $(CFLAGS)
131 LDFLAGS_FOR_TARGET =
132 LIBCFLAGS_FOR_TARGET = $(CFLAGS_FOR_TARGET)
133 PICFLAG =
134 PICFLAG_FOR_TARGET =
136 CXX = @CXX@
138 # Use -O2 to stress test the compiler.
139 LIBCXXFLAGS = $(CXXFLAGS) -fno-implicit-templates
140 CXXFLAGS_FOR_TARGET = $(CXXFLAGS)
141 LIBCXXFLAGS_FOR_TARGET = $(CXXFLAGS_FOR_TARGET) -fno-implicit-templates
143 DLLTOOL = @DLLTOOL@
144 WINDRES = @WINDRES@
146 NM = @NM@
148 LD = @LD@
150 # These values are substituted by configure.
151 DEFAULT_YACC = @DEFAULT_YACC@
152 DEFAULT_LEX = @DEFAULT_LEX@
153 DEFAULT_M4 = @DEFAULT_M4@
155 BISON=@BISON@
156 USUAL_BISON = `if [ -f $$r/bison/bison ] ; then \
157 echo $$r/bison/bison -L $$s/bison/ ; \
158 else \
159 echo bison ; \
162 YACC=@YACC@
163 USUAL_YACC = `if [ -f $$r/bison/bison ] ; then \
164 echo $$r/bison/bison -y -L $$s/bison/ ; \
165 elif [ -f $$r/byacc/byacc ] ; then \
166 echo $$r/byacc/byacc ; \
167 else \
168 echo ${DEFAULT_YACC} ; \
171 LEX=@LEX@
172 USUAL_LEX = `if [ -f $$r/flex/flex ] ; \
173 then echo $$r/flex/flex ; \
174 else echo ${DEFAULT_LEX} ; fi`
176 M4 = `if [ -f $$r/m4/m4 ] ; \
177 then echo $$r/m4/m4 ; \
178 else echo ${DEFAULT_M4} ; fi`
180 # For an installed makeinfo, we require it to be from texinfo 4 or
181 # higher, else we use the "missing" dummy.
182 MAKEINFO=@MAKEINFO@
183 USUAL_MAKEINFO = `if [ -f $$r/texinfo/makeinfo/makeinfo ] ; \
184 then echo $$r/texinfo/makeinfo/makeinfo ; \
185 else if (makeinfo --version \
186 | egrep 'texinfo[^0-9]*([1-3][0-9]|[4-9])') >/dev/null 2>&1; \
187 then echo makeinfo; else echo $$s/missing makeinfo; fi; fi`
189 # This just becomes part of the MAKEINFO definition passed down to
190 # sub-makes. It lets flags be given on the command line while still
191 # using the makeinfo from the object tree.
192 MAKEINFOFLAGS =
194 EXPECT = `if [ -f $$r/expect/expect ] ; \
195 then echo $$r/expect/expect ; \
196 else echo expect ; fi`
198 RUNTEST = `if [ -f $$s/dejagnu/runtest ] ; \
199 then echo $$s/dejagnu/runtest ; \
200 else echo runtest ; fi`
203 # compilers to use to create programs which must be run in the build
204 # environment.
205 CC_FOR_BUILD = @CC_FOR_BUILD@
206 CXX_FOR_BUILD = $(CXX)
208 SUBDIRS = @configdirs@
210 # This is set by the configure script to the list of directories which
211 # should be built using the target tools.
212 TARGET_CONFIGDIRS = @target_configdirs@
214 # Target libraries are put under this directory:
215 # Changed by configure to $(target_alias) if cross.
216 TARGET_SUBDIR = @target_subdir@
218 BUILD_CONFIGDIRS = libiberty
219 BUILD_SUBDIR = @build_subdir@
221 # This is set by the configure script to the arguments to use when configuring
222 # directories built for the build system.
223 BUILD_CONFIGARGS = @build_configargs@
225 # This is set by the configure script to the arguments to use when configuring
226 # directories built for the host system.
227 HOST_CONFIGARGS = @host_configargs@
229 # This is set by the configure script to the arguments to use when configuring
230 # directories built for the target.
231 TARGET_CONFIGARGS = @target_configargs@
233 # This is set by configure to REALLY_SET_LIB_PATH if --enable-shared
234 # was used.
235 SET_LIB_PATH = @SET_LIB_PATH@
237 # This is the name of the environment variable used for the path to
238 # the libraries. This may be changed by configure.in.
239 RPATH_ENVVAR = @RPATH_ENVVAR@
241 # This is the list of directories that may be needed in RPATH_ENVVAR
242 # so that programs built for the host machine work.
243 HOST_LIB_PATH = $$r/bfd:$$r/opcodes
245 # This is the list of directories that may be needed in RPATH_ENVVAR
246 # so that prorgams built for the target machine work.
247 TARGET_LIB_PATH = $$r/$(TARGET_SUBDIR)/libstdc++-v3/src/.libs:
249 # configure.in sets SET_LIB_PATH to this if --enable-shared was used.
250 # Some platforms don't like blank entries, so we remove duplicate,
251 # leading and trailing colons.
252 REALLY_SET_LIB_PATH = \
253 $(RPATH_ENVVAR)=`echo "$(HOST_LIB_PATH):$(TARGET_LIB_PATH):$$$(RPATH_ENVVAR)" | sed 's,::*,:,g;s,^:*,,;s,:*$$,,'`; export $(RPATH_ENVVAR);
255 # Should be substed by configure.in
256 FLAGS_FOR_TARGET = @FLAGS_FOR_TARGET@
257 CC_FOR_TARGET = @CC_FOR_TARGET@
258 CXX_FOR_TARGET = @CXX_FOR_TARGET@
259 RAW_CXX_FOR_TARGET = @RAW_CXX_FOR_TARGET@
260 CXX_FOR_TARGET_FOR_RECURSIVE_MAKE = @CXX_FOR_TARGET_FOR_RECURSIVE_MAKE@
261 RAW_CXX_FOR_TARGET_FOR_RECURSIVE_MAKE = @RAW_CXX_FOR_TARGET_FOR_RECURSIVE_MAKE@
262 GCJ_FOR_TARGET = @GCJ_FOR_TARGET@
264 # If GCC_FOR_TARGET is not overriden on the command line, then this
265 # variable is passed down to the gcc Makefile, where it is used to
266 # build libgcc2.a. We define it here so that it can itself be
267 # overridden on the command line.
268 GCC_FOR_TARGET=@GCC_FOR_TARGET@
269 USUAL_GCC_FOR_TARGET = $(STAGE_CC_WRAPPER) $$r/gcc/xgcc -B$$r/gcc/ $(FLAGS_FOR_TARGET)
271 AS_FOR_TARGET=@AS_FOR_TARGET@
272 USUAL_AS_FOR_TARGET = ` \
273 if [ -f $$r/gas/as-new ] ; then \
274 echo $$r/gas/as-new ; \
275 elif [ -f $$r/gcc/xgcc ]; then \
276 $(CC_FOR_TARGET) -print-prog-name=as ; \
277 else \
278 if [ '$(host_canonical)' = '$(target_canonical)' ] ; then \
279 echo $(AS); \
280 else \
281 t='$(program_transform_name)'; echo as | sed -e 's/x/x/' $$t ; \
282 fi; \
285 LD_FOR_TARGET=@LD_FOR_TARGET@
286 USUAL_LD_FOR_TARGET = ` \
287 if [ -f $$r/ld/ld-new ] ; then \
288 echo $$r/ld/ld-new ; \
289 elif [ -f $$r/gcc/xgcc ]; then \
290 $(CC_FOR_TARGET) -print-prog-name=ld ; \
291 else \
292 if [ '$(host_canonical)' = '$(target_canonical)' ] ; then \
293 echo $(LD); \
294 else \
295 t='$(program_transform_name)'; echo ld | sed -e 's/x/x/' $$t ; \
296 fi; \
299 DLLTOOL_FOR_TARGET=@DLLTOOL_FOR_TARGET@
300 USUAL_DLLTOOL_FOR_TARGET = ` \
301 if [ -f $$r/binutils/dlltool ] ; then \
302 echo $$r/binutils/dlltool ; \
303 else \
304 if [ '$(host_canonical)' = '$(target_canonical)' ] ; then \
305 echo $(DLLTOOL); \
306 else \
307 t='$(program_transform_name)'; echo dlltool | sed -e 's/x/x/' $$t ; \
308 fi; \
311 WINDRES_FOR_TARGET=@WINDRES_FOR_TARGET@
312 USUAL_WINDRES_FOR_TARGET = ` \
313 if [ -f $$r/binutils/windres ] ; then \
314 echo $$r/binutils/windres ; \
315 else \
316 if [ '$(host_canonical)' = '$(target_canonical)' ] ; then \
317 echo $(WINDRES); \
318 else \
319 t='$(program_transform_name)'; echo windres | sed -e 's/x/x/' $$t ; \
320 fi; \
323 AR_FOR_TARGET=@AR_FOR_TARGET@
324 USUAL_AR_FOR_TARGET = ` \
325 if [ -f $$r/binutils/ar ] ; then \
326 echo $$r/binutils/ar ; \
327 else \
328 if [ '$(host_canonical)' = '$(target_canonical)' ] ; then \
329 echo $(AR); \
330 else \
331 t='$(program_transform_name)'; echo ar | sed -e 's/x/x/' $$t ; \
332 fi; \
335 RANLIB_FOR_TARGET=@RANLIB_FOR_TARGET@
336 USUAL_RANLIB_FOR_TARGET = ` \
337 if [ -f $$r/binutils/ranlib ] ; then \
338 echo $$r/binutils/ranlib ; \
339 else \
340 if [ '$(host_canonical)' = '$(target_canonical)' ] ; then \
341 if [ x'$(RANLIB)' != x ]; then \
342 echo $(RANLIB); \
343 else \
344 echo ranlib; \
345 fi; \
346 else \
347 t='$(program_transform_name)'; echo ranlib | sed -e 's/x/x/' $$t ; \
348 fi; \
351 NM_FOR_TARGET=@NM_FOR_TARGET@
352 USUAL_NM_FOR_TARGET = ` \
353 if [ -f $$r/binutils/nm-new ] ; then \
354 echo $$r/binutils/nm-new ; \
355 elif [ -f $$r/gcc/xgcc ]; then \
356 $(CC_FOR_TARGET) -print-prog-name=nm ; \
357 else \
358 if [ '$(host_canonical)' = '$(target_canonical)' ] ; then \
359 echo $(NM); \
360 else \
361 t='$(program_transform_name)'; echo nm | sed -e 's/x/x/' $$t ; \
362 fi; \
365 # The first rule in the file had better be this one. Don't put any above it.
366 # This lives here to allow makefile fragments to contain dependencies.
367 all: all.normal
368 .PHONY: all
370 #### host and target specific makefile fragments come in here.
373 # Flags to pass down to all sub-makes.
374 # Please keep these in alphabetical order.
375 BASE_FLAGS_TO_PASS = \
376 "AR_FLAGS=$(AR_FLAGS)" \
377 "AR_FOR_TARGET=$(AR_FOR_TARGET)" \
378 "AS_FOR_TARGET=$(AS_FOR_TARGET)" \
379 "BISON=$(BISON)" \
380 "CC_FOR_BUILD=$(CC_FOR_BUILD)" \
381 "CC_FOR_TARGET=$(CC_FOR_TARGET)" \
382 "CFLAGS=$(CFLAGS)" \
383 "CFLAGS_FOR_TARGET=$(CFLAGS_FOR_TARGET)" \
384 "GCJ_FOR_TARGET=$(GCJ_FOR_TARGET)" \
385 "CXX_FOR_BUILD=$(CXX_FOR_BUILD)" \
386 "CXXFLAGS=$(CXXFLAGS)" \
387 "CXXFLAGS_FOR_TARGET=$(CXXFLAGS_FOR_TARGET)" \
388 "CXX_FOR_TARGET=$(CXX_FOR_TARGET)" \
389 "DLLTOOL_FOR_TARGET=$(DLLTOOL_FOR_TARGET)" \
390 "INSTALL=$(INSTALL)" \
391 "INSTALL_DATA=$(INSTALL_DATA)" \
392 "INSTALL_PROGRAM=$(INSTALL_PROGRAM)" \
393 "INSTALL_SCRIPT=$(INSTALL_SCRIPT)" \
394 "LDFLAGS=$(LDFLAGS)" \
395 "LEX=$(LEX)" \
396 "LD_FOR_TARGET=$(LD_FOR_TARGET)" \
397 "LIBCFLAGS=$(LIBCFLAGS)" \
398 "LIBCFLAGS_FOR_TARGET=$(LIBCFLAGS_FOR_TARGET)" \
399 "LIBCXXFLAGS=$(LIBCXXFLAGS)" \
400 "LIBCXXFLAGS_FOR_TARGET=$(LIBCXXFLAGS_FOR_TARGET)" \
401 "M4=$(M4)" \
402 "MAKE=$(MAKE)" \
403 "MAKEINFO=$(MAKEINFO) $(MAKEINFOFLAGS)" \
404 "NM_FOR_TARGET=$(NM_FOR_TARGET)" \
405 "RANLIB_FOR_TARGET=$(RANLIB_FOR_TARGET)" \
406 "RPATH_ENVVAR=$(RPATH_ENVVAR)" \
407 "SHELL=$(SHELL)" \
408 "EXPECT=$(EXPECT)" \
409 "RUNTEST=$(RUNTEST)" \
410 "RUNTESTFLAGS=$(RUNTESTFLAGS)" \
411 "TARGET_SUBDIR=$(TARGET_SUBDIR)" \
412 "WINDRES_FOR_TARGET=$(WINDRES_FOR_TARGET)" \
413 "YACC=$(YACC)" \
414 "bindir=$(bindir)" \
415 "datadir=$(datadir)" \
416 "exec_prefix=$(exec_prefix)" \
417 "includedir=$(includedir)" \
418 "infodir=$(infodir)" \
419 "libdir=$(libdir)" \
420 "libexecdir=$(libexecdir)" \
421 "lispdir=$(lispdir)" \
422 "libstdcxx_incdir=$(libstdcxx_incdir)" \
423 "libsubdir=$(libsubdir)" \
424 "localstatedir=$(localstatedir)" \
425 "mandir=$(mandir)" \
426 "oldincludedir=$(oldincludedir)" \
427 "prefix=$(prefix)" \
428 "sbindir=$(sbindir)" \
429 "sharedstatedir=$(sharedstatedir)" \
430 "sysconfdir=$(sysconfdir)" \
431 "tooldir=$(tooldir)" \
432 "build_tooldir=$(build_tooldir)" \
433 "gxx_include_dir=$(gxx_include_dir)" \
434 "gcc_version=$(gcc_version)" \
435 "gcc_version_trigger=$(gcc_version_trigger)" \
436 "target_alias=$(target_alias)"
438 # For any flags above that may contain shell code that varies from one
439 # target library to another. When doing recursive invocations of the
440 # top-level Makefile, we don't want the outer make to evaluate them,
441 # so we pass these variables down unchanged. They must not contain
442 # single nor double quotes.
443 RECURSE_FLAGS = \
444 CXX_FOR_TARGET='$(CXX_FOR_TARGET_FOR_RECURSIVE_MAKE)' \
445 RAW_CXX_FOR_TARGET='$(RAW_CXX_FOR_TARGET_FOR_RECURSIVE_MAKE)' \
447 # Flags to pass down to most sub-makes, in which we're building with
448 # the host environment.
449 # If any variables are added here, they must be added to do-*, below.
450 EXTRA_HOST_FLAGS = \
451 'AR=$(AR)' \
452 'AS=$(AS)' \
453 'CC=$(CC)' \
454 'CXX=$(CXX)' \
455 'DLLTOOL=$(DLLTOOL)' \
456 'LD=$(LD)' \
457 'NM=$(NM)' \
458 "`echo 'RANLIB=$(RANLIB)' | sed -e s/.*=$$/XFOO=/`" \
459 'WINDRES=$(WINDRES)'
461 FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS)
463 # Flags that are concerned with the location of the X11 include files
464 # and library files
466 # NOTE: until the top-level is getting the values via autoconf, it only
467 # causes problems to have this top-level Makefile overriding the autoconf-set
468 # values in child directories. Only variables that don't conflict with
469 # autoconf'ed ones should be passed by X11_FLAGS_TO_PASS for now.
471 X11_FLAGS_TO_PASS = \
472 'X11_EXTRA_CFLAGS=$(X11_EXTRA_CFLAGS)' \
473 'X11_EXTRA_LIBS=$(X11_EXTRA_LIBS)'
475 # Flags to pass down to makes which are built with the target environment.
476 # The double $ decreases the length of the command line; the variables
477 # are set in BASE_FLAGS_TO_PASS, and the sub-make will expand them.
478 # If any variables are added here, they must be added to do-*, below.
479 EXTRA_TARGET_FLAGS = \
480 'AR=$$(AR_FOR_TARGET)' \
481 'AS=$$(AS_FOR_TARGET)' \
482 'CC=$$(CC_FOR_TARGET)' \
483 'CFLAGS=$$(CFLAGS_FOR_TARGET)' \
484 'CXX=$$(CXX_FOR_TARGET)' \
485 'CXXFLAGS=$$(CXXFLAGS_FOR_TARGET)' \
486 'DLLTOOL=$$(DLLTOOL_FOR_TARGET)' \
487 'LD=$$(LD_FOR_TARGET)' \
488 'LIBCFLAGS=$$(LIBCFLAGS_FOR_TARGET)' \
489 'LIBCXXFLAGS=$$(LIBCXXFLAGS_FOR_TARGET)' \
490 'NM=$$(NM_FOR_TARGET)' \
491 'RANLIB=$$(RANLIB_FOR_TARGET)' \
492 'WINDRES=$$(WINDRES_FOR_TARGET)'
494 TARGET_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS)
496 # Flags to pass down to gcc. gcc builds a library, libgcc.a, so it
497 # unfortunately needs the native compiler and the target ar and
498 # ranlib.
499 # If any variables are added here, they must be added to do-*, below.
500 # The HOST_* variables are a special case, which are used for the gcc
501 # cross-building scheme.
502 EXTRA_GCC_FLAGS = \
503 'AR=$(AR)' \
504 'AS=$(AS)' \
505 'CC=$(CC)' \
506 'CXX=$(CXX)' \
507 'DLLTOOL=$$(DLLTOOL_FOR_TARGET)' \
508 'BUILD_CC=$(CC_FOR_BUILD)' \
509 'BUILD_PREFIX=$(BUILD_PREFIX)' \
510 'BUILD_PREFIX_1=$(BUILD_PREFIX_1)' \
511 'NM=$(NM)' \
512 "`echo 'RANLIB=$(RANLIB)' | sed -e s/.*=$$/XFOO=/`" \
513 'WINDRES=$$(WINDRES_FOR_TARGET)' \
514 "GCC_FOR_TARGET=$(GCC_FOR_TARGET)" \
515 "CFLAGS_FOR_BUILD=$(CFLAGS_FOR_BUILD)" \
516 "`echo 'LANGUAGES=$(LANGUAGES)' | sed -e s/.*=$$/XFOO=/`" \
517 "`echo 'STMP_FIXPROTO=$(STMP_FIXPROTO)' | sed -e s/.*=$$/XFOO=/`" \
518 "`echo 'LIMITS_H_TEST=$(LIMITS_H_TEST)' | sed -e s/.*=$$/XFOO=/`" \
519 "`echo 'LIBGCC2_CFLAGS=$(LIBGCC2_CFLAGS)' | sed -e s/.*=$$/XFOO=/`" \
520 "`echo 'LIBGCC2_DEBUG_CFLAGS=$(LIBGCC2_DEBUG_CFLAGS)' | sed -e s/.*=$$/XFOO=/`" \
521 "`echo 'LIBGCC2_INCLUDES=$(LIBGCC2_INCLUDES)' | sed -e s/.*=$$/XFOO=/`" \
522 "`echo 'ENQUIRE=$(ENQUIRE)' | sed -e s/.*=$$/XFOO=/`" \
523 "`echo 'STAGE1_CFLAGS=$(STAGE1_CFLAGS)' | sed -e s/.*=$$/XFOO=/`" \
524 "`echo 'BOOT_CFLAGS=$(BOOT_CFLAGS)' | sed -e s/.*=$$/XFOO=/`"
526 GCC_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS)
528 configure-host: @configure_host_modules@
529 configure-target: @configure_target_modules@
531 # This is a list of the targets for which we can do a clean-{target}.
532 CLEAN_MODULES = \
533 clean-ash \
534 clean-autoconf \
535 clean-automake \
536 clean-bash \
537 clean-bfd \
538 clean-opcodes \
539 clean-binutils \
540 clean-bison \
541 clean-byacc \
542 clean-bzip2 \
543 clean-db \
544 clean-dejagnu \
545 clean-diff \
546 clean-dosutils \
547 clean-etc \
548 clean-fastjar \
549 clean-fileutils \
550 clean-findutils \
551 clean-find \
552 clean-flex \
553 clean-gas \
554 clean-gawk \
555 clean-gettext \
556 clean-gnuserv \
557 clean-gprof \
558 clean-grep \
559 clean-gzip \
560 clean-hello \
561 clean-indent \
562 clean-intl \
563 clean-tcl \
564 clean-itcl \
565 clean-ld \
566 clean-libgui \
567 clean-libiberty \
568 clean-libtool \
569 clean-m4 \
570 clean-make \
571 clean-mmalloc \
572 clean-patch \
573 clean-perl \
574 clean-prms \
575 clean-rcs \
576 clean-readline \
577 clean-release \
578 clean-recode \
579 clean-sed \
580 clean-send-pr \
581 clean-shellutils \
582 clean-sid \
583 clean-sim \
584 clean-snavigator \
585 clean-tar \
586 clean-texinfo \
587 clean-textutils \
588 clean-time \
589 clean-uudecode \
590 clean-wdiff \
591 clean-zip \
592 clean-zlib \
593 clean-utils
595 # All of the target modules that can be cleaned
596 CLEAN_TARGET_MODULES = \
597 clean-target-libstdc++-v3 \
598 clean-target-newlib \
599 clean-target-libf2c \
600 clean-target-libobjc \
601 clean-target-winsup \
602 clean-target-libgloss \
603 clean-target-libiberty \
604 clean-target-gperf \
605 clean-target-examples \
606 clean-target-libffi \
607 clean-target-libjava \
608 clean-target-zlib \
609 clean-target-boehm-gc \
610 clean-target-qthreads \
611 clean-target-rda
613 # All of the x11 modules that can be cleaned
614 CLEAN_X11_MODULES = \
615 clean-gdb \
616 clean-expect \
617 clean-guile \
618 clean-tclX \
619 clean-tk \
620 clean-tix
622 # The target built for a native build.
623 # This list only includes modules actually being configured and built.
624 .PHONY: all.normal
625 all.normal: @all_build_modules@ \
626 @all_host_modules@ \
627 @all_target_modules@
629 all-host: @all_host_modules@
630 all-target: @all_target_modules@
632 # Do a target for all the subdirectories. A ``make do-X'' will do a
633 # ``make X'' in all subdirectories (because, in general, there is a
634 # dependency (below) of X upon do-X, a ``make X'' will also do this,
635 # but it may do additional work as well).
636 # This target ensures that $(BASE_FLAGS_TO_PASS) appears only once,
637 # because it is so large that it can easily overflow the command line
638 # length limit on some systems.
640 .PHONY: do-clean
641 do-clean:
642 @r=`${PWD}`; export r; \
643 s=`cd $(srcdir); ${PWD}`; export s; \
644 $(SET_LIB_PATH) \
645 for i in $(SUBDIRS) -dummy-; do \
646 if [ -f ./$$i/Makefile ]; then \
647 case $$i in \
648 gcc) \
649 for flag in $(EXTRA_GCC_FLAGS); do \
650 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
651 done; \
652 ;; \
653 *) \
654 for flag in $(EXTRA_HOST_FLAGS); do \
655 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
656 done; \
657 ;; \
658 esac ; \
659 if (cd ./$$i; \
660 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
661 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
662 "`echo \"RANLIB=$${RANLIB}\" | sed -e 's/.*=$$/XFOO=/'`" \
663 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
664 clean); \
665 then true; else exit 1; fi; \
666 else true; fi; \
667 done
668 # Break into two pieces
669 r=`${PWD}`; export r; \
670 s=`cd $(srcdir); ${PWD}`; export s; \
671 $(SET_LIB_PATH) \
672 for i in $(TARGET_CONFIGDIRS) -dummy-; do \
673 if [ -f $(TARGET_SUBDIR)/$$i/Makefile ]; then \
674 for flag in $(EXTRA_TARGET_FLAGS); do \
675 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
676 done; \
677 if (cd $(TARGET_SUBDIR)/$$i; \
678 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
679 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
680 "`echo \"RANLIB=$${RANLIB}\" | sed -e 's/.*=$$/XFOO=/'`" \
681 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
682 clean); \
683 then true; else exit 1; fi; \
684 else true; fi; \
685 done
687 .PHONY: do-distclean
688 do-distclean:
689 @r=`${PWD}`; export r; \
690 s=`cd $(srcdir); ${PWD}`; export s; \
691 $(SET_LIB_PATH) \
692 for i in $(SUBDIRS) -dummy-; do \
693 if [ -f ./$$i/Makefile ]; then \
694 case $$i in \
695 gcc) \
696 for flag in $(EXTRA_GCC_FLAGS); do \
697 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
698 done; \
699 ;; \
700 *) \
701 for flag in $(EXTRA_HOST_FLAGS); do \
702 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
703 done; \
704 ;; \
705 esac ; \
706 if (cd ./$$i; \
707 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
708 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
709 "`echo \"RANLIB=$${RANLIB}\" | sed -e 's/.*=$$/XFOO=/'`" \
710 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
711 distclean); \
712 then true; else exit 1; fi; \
713 else true; fi; \
714 done
715 # Break into two pieces
716 r=`${PWD}`; export r; \
717 s=`cd $(srcdir); ${PWD}`; export s; \
718 $(SET_LIB_PATH) \
719 for i in $(TARGET_CONFIGDIRS) -dummy-; do \
720 if [ -f $(TARGET_SUBDIR)/$$i/Makefile ]; then \
721 for flag in $(EXTRA_TARGET_FLAGS); do \
722 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
723 done; \
724 if (cd $(TARGET_SUBDIR)/$$i; \
725 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
726 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
727 "`echo \"RANLIB=$${RANLIB}\" | sed -e 's/.*=$$/XFOO=/'`" \
728 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
729 distclean); \
730 then true; else exit 1; fi; \
731 else true; fi; \
732 done
734 .PHONY: do-dvi
735 do-dvi:
736 @r=`${PWD}`; export r; \
737 s=`cd $(srcdir); ${PWD}`; export s; \
738 $(SET_LIB_PATH) \
739 for i in $(SUBDIRS) -dummy-; do \
740 if [ -f ./$$i/Makefile ]; then \
741 case $$i in \
742 gcc) \
743 for flag in $(EXTRA_GCC_FLAGS); do \
744 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
745 done; \
746 ;; \
747 *) \
748 for flag in $(EXTRA_HOST_FLAGS); do \
749 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
750 done; \
751 ;; \
752 esac ; \
753 if (cd ./$$i; \
754 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
755 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
756 "`echo \"RANLIB=$${RANLIB}\" | sed -e 's/.*=$$/XFOO=/'`" \
757 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
758 dvi); \
759 then true; else exit 1; fi; \
760 else true; fi; \
761 done
762 # Break into two pieces
763 r=`${PWD}`; export r; \
764 s=`cd $(srcdir); ${PWD}`; export s; \
765 $(SET_LIB_PATH) \
766 for i in $(TARGET_CONFIGDIRS) -dummy-; do \
767 if [ -f $(TARGET_SUBDIR)/$$i/Makefile ]; then \
768 for flag in $(EXTRA_TARGET_FLAGS); do \
769 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
770 done; \
771 if (cd $(TARGET_SUBDIR)/$$i; \
772 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
773 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
774 "`echo \"RANLIB=$${RANLIB}\" | sed -e 's/.*=$$/XFOO=/'`" \
775 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
776 dvi); \
777 then true; else exit 1; fi; \
778 else true; fi; \
779 done
781 .PHONY: do-info
782 do-info:
783 @r=`${PWD}`; export r; \
784 s=`cd $(srcdir); ${PWD}`; export s; \
785 $(SET_LIB_PATH) \
786 for i in $(SUBDIRS) -dummy-; do \
787 if [ -f ./$$i/Makefile ]; then \
788 case $$i in \
789 gcc) \
790 for flag in $(EXTRA_GCC_FLAGS); do \
791 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
792 done; \
793 ;; \
794 *) \
795 for flag in $(EXTRA_HOST_FLAGS); do \
796 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
797 done; \
798 ;; \
799 esac ; \
800 if (cd ./$$i; \
801 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
802 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
803 "`echo \"RANLIB=$${RANLIB}\" | sed -e 's/.*=$$/XFOO=/'`" \
804 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
805 info); \
806 then true; else exit 1; fi; \
807 else true; fi; \
808 done
809 # Break into two pieces
810 r=`${PWD}`; export r; \
811 s=`cd $(srcdir); ${PWD}`; export s; \
812 $(SET_LIB_PATH) \
813 for i in $(TARGET_CONFIGDIRS) -dummy-; do \
814 if [ -f $(TARGET_SUBDIR)/$$i/Makefile ]; then \
815 for flag in $(EXTRA_TARGET_FLAGS); do \
816 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
817 done; \
818 if (cd $(TARGET_SUBDIR)/$$i; \
819 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
820 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
821 "`echo \"RANLIB=$${RANLIB}\" | sed -e 's/.*=$$/XFOO=/'`" \
822 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
823 info); \
824 then true; else exit 1; fi; \
825 else true; fi; \
826 done
828 .PHONY: do-install-info
829 do-install-info:
830 @r=`${PWD}`; export r; \
831 s=`cd $(srcdir); ${PWD}`; export s; \
832 $(SET_LIB_PATH) \
833 for i in $(SUBDIRS) -dummy-; do \
834 if [ -f ./$$i/Makefile ]; then \
835 case $$i in \
836 gcc) \
837 for flag in $(EXTRA_GCC_FLAGS); do \
838 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
839 done; \
840 ;; \
841 *) \
842 for flag in $(EXTRA_HOST_FLAGS); do \
843 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
844 done; \
845 ;; \
846 esac ; \
847 if (cd ./$$i; \
848 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
849 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
850 "`echo \"RANLIB=$${RANLIB}\" | sed -e 's/.*=$$/XFOO=/'`" \
851 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
852 install-info); \
853 then true; else exit 1; fi; \
854 else true; fi; \
855 done
856 # Break into two pieces
857 r=`${PWD}`; export r; \
858 s=`cd $(srcdir); ${PWD}`; export s; \
859 $(SET_LIB_PATH) \
860 for i in $(TARGET_CONFIGDIRS) -dummy-; do \
861 if [ -f $(TARGET_SUBDIR)/$$i/Makefile ]; then \
862 for flag in $(EXTRA_TARGET_FLAGS); do \
863 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
864 done; \
865 if (cd $(TARGET_SUBDIR)/$$i; \
866 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
867 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
868 "`echo \"RANLIB=$${RANLIB}\" | sed -e 's/.*=$$/XFOO=/'`" \
869 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
870 install-info); \
871 then true; else exit 1; fi; \
872 else true; fi; \
873 done
875 .PHONY: do-installcheck
876 do-installcheck:
877 @r=`${PWD}`; export r; \
878 s=`cd $(srcdir); ${PWD}`; export s; \
879 $(SET_LIB_PATH) \
880 for i in $(SUBDIRS) -dummy-; do \
881 if [ -f ./$$i/Makefile ]; then \
882 case $$i in \
883 gcc) \
884 for flag in $(EXTRA_GCC_FLAGS); do \
885 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
886 done; \
887 ;; \
888 *) \
889 for flag in $(EXTRA_HOST_FLAGS); do \
890 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
891 done; \
892 ;; \
893 esac ; \
894 if (cd ./$$i; \
895 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
896 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
897 "`echo \"RANLIB=$${RANLIB}\" | sed -e 's/.*=$$/XFOO=/'`" \
898 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
899 installcheck); \
900 then true; else exit 1; fi; \
901 else true; fi; \
902 done
903 # Break into two pieces
904 r=`${PWD}`; export r; \
905 s=`cd $(srcdir); ${PWD}`; export s; \
906 $(SET_LIB_PATH) \
907 for i in $(TARGET_CONFIGDIRS) -dummy-; do \
908 if [ -f $(TARGET_SUBDIR)/$$i/Makefile ]; then \
909 for flag in $(EXTRA_TARGET_FLAGS); do \
910 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
911 done; \
912 if (cd $(TARGET_SUBDIR)/$$i; \
913 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
914 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
915 "`echo \"RANLIB=$${RANLIB}\" | sed -e 's/.*=$$/XFOO=/'`" \
916 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
917 installcheck); \
918 then true; else exit 1; fi; \
919 else true; fi; \
920 done
922 .PHONY: do-mostlyclean
923 do-mostlyclean:
924 @r=`${PWD}`; export r; \
925 s=`cd $(srcdir); ${PWD}`; export s; \
926 $(SET_LIB_PATH) \
927 for i in $(SUBDIRS) -dummy-; do \
928 if [ -f ./$$i/Makefile ]; then \
929 case $$i in \
930 gcc) \
931 for flag in $(EXTRA_GCC_FLAGS); do \
932 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
933 done; \
934 ;; \
935 *) \
936 for flag in $(EXTRA_HOST_FLAGS); do \
937 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
938 done; \
939 ;; \
940 esac ; \
941 if (cd ./$$i; \
942 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
943 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
944 "`echo \"RANLIB=$${RANLIB}\" | sed -e 's/.*=$$/XFOO=/'`" \
945 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
946 mostlyclean); \
947 then true; else exit 1; fi; \
948 else true; fi; \
949 done
950 # Break into two pieces
951 r=`${PWD}`; export r; \
952 s=`cd $(srcdir); ${PWD}`; export s; \
953 $(SET_LIB_PATH) \
954 for i in $(TARGET_CONFIGDIRS) -dummy-; do \
955 if [ -f $(TARGET_SUBDIR)/$$i/Makefile ]; then \
956 for flag in $(EXTRA_TARGET_FLAGS); do \
957 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
958 done; \
959 if (cd $(TARGET_SUBDIR)/$$i; \
960 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
961 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
962 "`echo \"RANLIB=$${RANLIB}\" | sed -e 's/.*=$$/XFOO=/'`" \
963 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
964 mostlyclean); \
965 then true; else exit 1; fi; \
966 else true; fi; \
967 done
969 .PHONY: do-maintainer-clean
970 do-maintainer-clean:
971 @r=`${PWD}`; export r; \
972 s=`cd $(srcdir); ${PWD}`; export s; \
973 $(SET_LIB_PATH) \
974 for i in $(SUBDIRS) -dummy-; do \
975 if [ -f ./$$i/Makefile ]; then \
976 case $$i in \
977 gcc) \
978 for flag in $(EXTRA_GCC_FLAGS); do \
979 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
980 done; \
981 ;; \
982 *) \
983 for flag in $(EXTRA_HOST_FLAGS); do \
984 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
985 done; \
986 ;; \
987 esac ; \
988 if (cd ./$$i; \
989 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
990 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
991 "`echo \"RANLIB=$${RANLIB}\" | sed -e 's/.*=$$/XFOO=/'`" \
992 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
993 maintainer-clean); \
994 then true; else exit 1; fi; \
995 else true; fi; \
996 done
997 # Break into two pieces
998 r=`${PWD}`; export r; \
999 s=`cd $(srcdir); ${PWD}`; export s; \
1000 $(SET_LIB_PATH) \
1001 for i in $(TARGET_CONFIGDIRS) -dummy-; do \
1002 if [ -f $(TARGET_SUBDIR)/$$i/Makefile ]; then \
1003 for flag in $(EXTRA_TARGET_FLAGS); do \
1004 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
1005 done; \
1006 if (cd $(TARGET_SUBDIR)/$$i; \
1007 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
1008 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
1009 "`echo \"RANLIB=$${RANLIB}\" | sed -e 's/.*=$$/XFOO=/'`" \
1010 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
1011 maintainer-clean); \
1012 then true; else exit 1; fi; \
1013 else true; fi; \
1014 done
1016 .PHONY: do-TAGS
1017 do-TAGS:
1018 @r=`${PWD}`; export r; \
1019 s=`cd $(srcdir); ${PWD}`; export s; \
1020 $(SET_LIB_PATH) \
1021 for i in $(SUBDIRS) -dummy-; do \
1022 if [ -f ./$$i/Makefile ]; then \
1023 case $$i in \
1024 gcc) \
1025 for flag in $(EXTRA_GCC_FLAGS); do \
1026 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
1027 done; \
1028 ;; \
1029 *) \
1030 for flag in $(EXTRA_HOST_FLAGS); do \
1031 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
1032 done; \
1033 ;; \
1034 esac ; \
1035 if (cd ./$$i; \
1036 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
1037 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
1038 "`echo \"RANLIB=$${RANLIB}\" | sed -e 's/.*=$$/XFOO=/'`" \
1039 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
1040 TAGS); \
1041 then true; else exit 1; fi; \
1042 else true; fi; \
1043 done
1044 # Break into two pieces
1045 r=`${PWD}`; export r; \
1046 s=`cd $(srcdir); ${PWD}`; export s; \
1047 $(SET_LIB_PATH) \
1048 for i in $(TARGET_CONFIGDIRS) -dummy-; do \
1049 if [ -f $(TARGET_SUBDIR)/$$i/Makefile ]; then \
1050 for flag in $(EXTRA_TARGET_FLAGS); do \
1051 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
1052 done; \
1053 if (cd $(TARGET_SUBDIR)/$$i; \
1054 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
1055 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
1056 "`echo \"RANLIB=$${RANLIB}\" | sed -e 's/.*=$$/XFOO=/'`" \
1057 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
1058 TAGS); \
1059 then true; else exit 1; fi; \
1060 else true; fi; \
1061 done
1065 # Here are the targets which correspond to the do-X targets.
1067 .PHONY: info installcheck dvi install-info
1068 .PHONY: clean distclean mostlyclean maintainer-clean realclean
1069 .PHONY: local-clean local-distclean local-maintainer-clean
1070 info: do-info
1071 installcheck: do-installcheck
1072 dvi: do-dvi
1074 # Make sure makeinfo is built before we do a `make info'.
1075 do-info: all-texinfo
1077 install-info: do-install-info dir.info
1078 s=`cd $(srcdir); ${PWD}`; export s; \
1079 if [ -f dir.info ] ; then \
1080 $(INSTALL_DATA) dir.info $(infodir)/dir.info ; \
1081 else true ; fi
1083 local-clean:
1084 -rm -f *.a TEMP errs core *.o *~ \#* TAGS *.E *.log
1086 local-distclean:
1087 -rm -f Makefile config.status config.cache mh-frag mt-frag
1088 -if [ "$(TARGET_SUBDIR)" != "." ]; then \
1089 rm -rf $(TARGET_SUBDIR); \
1090 else true; fi
1091 -rm -f texinfo/po/Makefile texinfo/po/Makefile.in texinfo/info/Makefile
1092 -rm -f texinfo/doc/Makefile texinfo/po/POTFILES
1093 -rmdir texinfo/doc texinfo/info texinfo/intl texinfo/lib 2>/dev/null
1094 -rmdir texinfo/makeinfo texinfo/po texinfo/util 2>/dev/null
1095 -rmdir fastjar gcc libiberty texinfo zlib 2>/dev/null
1097 local-maintainer-clean:
1098 @echo "This command is intended for maintainers to use;"
1099 @echo "it deletes files that may require special tools to rebuild."
1101 clean: do-clean local-clean
1102 mostlyclean: do-mostlyclean local-clean
1103 distclean: do-distclean local-clean local-distclean
1104 maintainer-clean: local-maintainer-clean do-maintainer-clean local-clean
1105 maintainer-clean: local-distclean
1106 realclean: maintainer-clean
1108 # This rule is used to clean specific modules.
1109 .PHONY: $(CLEAN_MODULES) $(CLEAN_X11_MODULES) clean-gcc
1110 $(CLEAN_MODULES) $(CLEAN_X11_MODULES) clean-gcc:
1111 @dir=`echo $@ | sed -e 's/clean-//'`; \
1112 if [ -f ./$${dir}/Makefile ] ; then \
1113 r=`${PWD}`; export r; \
1114 s=`cd $(srcdir); ${PWD}`; export s; \
1115 $(SET_LIB_PATH) \
1116 (cd $${dir}; $(MAKE) $(FLAGS_TO_PASS) clean); \
1117 else \
1118 true; \
1121 .PHONY: $(CLEAN_TARGET_MODULES)
1122 $(CLEAN_TARGET_MODULES):
1123 @dir=`echo $@ | sed -e 's/clean-target-//'`; \
1124 rm -f $(TARGET_SUBDIR)/$${dir}/multilib.out $(TARGET_SUBDIR)/$${dir}/tmpmulti.out; \
1125 if [ -f $(TARGET_SUBDIR)/$${dir}/Makefile ] ; then \
1126 r=`${PWD}`; export r; \
1127 s=`cd $(srcdir); ${PWD}`; export s; \
1128 $(SET_LIB_PATH) \
1129 (cd $(TARGET_SUBDIR)/$${dir}; $(MAKE) $(TARGET_FLAGS_TO_PASS) clean); \
1130 else \
1131 true; \
1134 clean-target: $(CLEAN_TARGET_MODULES) clean-target-libgcc
1135 clean-target-libgcc:
1136 test ! -d gcc/libgcc || \
1137 (cd gcc/libgcc && find . -type d -print) | \
1138 while read d; do rm -f gcc/$$d/libgcc.a || : ; done
1139 -rm -rf gcc/libgcc
1141 # Check target.
1143 .PHONY: check do-check
1144 check:
1145 $(MAKE) do-check NOTPARALLEL=parallel-ok
1147 # Only include modules actually being configured and built.
1148 do-check: @check_host_modules@ \
1149 @check_target_modules@
1151 # Automated reporting of test results.
1153 warning.log: build.log
1154 $(srcdir)/contrib/warn_summary build.log > $@
1156 mail-report.log:
1157 if test x'$(BOOT_CFLAGS)' != x''; then \
1158 BOOT_CFLAGS='$(BOOT_CFLAGS)'; export BOOT_CFLAGS; \
1159 fi; \
1160 $(srcdir)/contrib/test_summary -t >$@
1161 chmod +x $@
1162 echo If you really want to send e-mail, run ./$@ now
1164 mail-report-with-warnings.log: warning.log
1165 if test x'$(BOOT_CFLAGS)' != x''; then \
1166 BOOT_CFLAGS='$(BOOT_CFLAGS)'; export BOOT_CFLAGS; \
1167 fi; \
1168 $(srcdir)/contrib/test_summary -t -i warning.log >$@
1169 chmod +x $@
1170 echo If you really want to send e-mail, run ./$@ now
1172 # Installation targets.
1174 .PHONY: install uninstall
1175 install: installdirs @install_host_modules@ @install_target_modules@
1177 install-target: @install_target_modules@
1179 uninstall:
1180 @echo "the uninstall target is not supported in this tree"
1182 .PHONY: install.all
1183 install.all: install-no-fixedincludes
1184 @if [ -f ./gcc/Makefile ] ; then \
1185 r=`${PWD}` ; export r ; \
1186 $(SET_LIB_PATH) \
1187 (cd ./gcc; \
1188 $(MAKE) $(FLAGS_TO_PASS) install-headers) ; \
1189 else \
1190 true ; \
1193 # install-no-fixedincludes is used because Cygnus can not distribute
1194 # the fixed header files.
1195 .PHONY: install-no-fixedincludes
1196 install-no-fixedincludes: installdirs @install_host_modules_nogcc@ \
1197 @install_target_modules@ gcc-no-fixedincludes
1199 ### other supporting targets
1201 MAKEDIRS= \
1202 $(DESTDIR)$(prefix) \
1203 $(DESTDIR)$(exec_prefix)
1204 .PHONY: installdirs
1205 installdirs: mkinstalldirs
1206 $(SHELL) $(srcdir)/mkinstalldirs $(MAKEDIRS)
1208 dir.info: do-install-info
1209 if [ -f $(srcdir)/texinfo/gen-info-dir ] ; then \
1210 $(srcdir)/texinfo/gen-info-dir $(infodir) $(srcdir)/texinfo/dir.info-template > dir.info.new ; \
1211 mv -f dir.info.new dir.info ; \
1212 else true ; \
1215 dist:
1216 @echo "Building a full distribution of this tree isn't done"
1217 @echo "via 'make dist'. Check out the etc/ subdirectory"
1219 etags tags: TAGS
1221 # Right now this just builds TAGS in each subdirectory. emacs19 has the
1222 # ability to use several tags files at once, so there is probably no need
1223 # to combine them into one big TAGS file (like CVS 1.3 does). We could
1224 # (if we felt like it) have this Makefile write a piece of elisp which
1225 # the user could load to tell emacs19 where all the TAGS files we just
1226 # built are.
1227 TAGS: do-TAGS
1230 # --------------------------------------
1231 # Modules which run on the build machine
1232 # --------------------------------------
1234 .PHONY: configure-build-libiberty maybe-configure-build-libiberty
1235 maybe-configure-build-libiberty:
1236 configure-build-libiberty: $(BUILD_SUBDIR)/libiberty/Makefile
1237 $(BUILD_SUBDIR)/libiberty/Makefile: config.status
1238 @[ -d $(BUILD_SUBDIR)/libiberty ] || mkdir $(BUILD_SUBDIR)/libiberty;\
1239 r=`${PWD}`; export r; \
1240 s=`cd $(srcdir); ${PWD}`; export s; \
1241 AR="$(AR_FOR_BUILD)"; export AR; \
1242 AS="$(AS_FOR_BUILD)"; export AS; \
1243 CC="$(CC_FOR_BUILD)"; export CC; \
1244 CFLAGS="$(CFLAGS_FOR_BUILD)"; export CFLAGS; \
1245 CXX="$(CXX_FOR_BUILD)"; export CXX; \
1246 CXXFLAGS="$(CXXFLAGS_FOR_BUILD)"; export CXXFLAGS; \
1247 GCJ="$(GCJ_FOR_BUILD)"; export GCJ; \
1248 DLLTOOL="$(DLLTOOL_FOR_BUILD)"; export DLLTOOL; \
1249 LD="$(LD_FOR_BUILD)"; export LD; \
1250 LDFLAGS="$(LDFLAGS_FOR_BUILD)"; export LDFLAGS; \
1251 NM="$(NM_FOR_BUILD)"; export NM; \
1252 RANLIB="$(RANLIB_FOR_BUILD)"; export RANLIB; \
1253 WINDRES="$(WINDRES_FOR_BUILD)"; export WINDRES; \
1254 echo Configuring in $(BUILD_SUBDIR)/libiberty; \
1255 cd "$(BUILD_SUBDIR)/libiberty" || exit 1; \
1256 case $(srcdir) in \
1257 /* | [A-Za-z]:[\\/]*) \
1258 topdir=$(srcdir) ;; \
1259 *) \
1260 case "$(BUILD_SUBDIR)" in \
1261 .) topdir="../$(srcdir)" ;; \
1262 *) topdir="../../$(srcdir)" ;; \
1263 esac ;; \
1264 esac; \
1265 if [ "$(srcdir)" = "." ] ; then \
1266 if [ "$(BUILD_SUBDIR)" != "." ] ; then \
1267 if $(SHELL) $$s/symlink-tree $${topdir}/libiberty "no-such-file" ; then \
1268 if [ -f Makefile ]; then \
1269 if $(MAKE) distclean; then \
1270 true; \
1271 else \
1272 exit 1; \
1273 fi; \
1274 else \
1275 true; \
1276 fi; \
1277 else \
1278 exit 1; \
1279 fi; \
1280 else \
1281 true; \
1282 fi; \
1283 srcdiroption="--srcdir=."; \
1284 libsrcdir="."; \
1285 else \
1286 srcdiroption="--srcdir=$${topdir}/libiberty"; \
1287 libsrcdir="$$s/libiberty"; \
1288 fi; \
1289 rm -f no-such-file || : ; \
1290 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
1291 $(BUILD_CONFIGARGS) $${srcdiroption} \
1292 --with-build-subdir="$(BUILD_SUBDIR)" \
1293 || exit 1
1295 .PHONY: all-build-libiberty maybe-all-build-libiberty
1296 maybe-all-build-libiberty:
1297 all-build-libiberty: configure-build-libiberty
1298 @r=`${PWD}`; export r; \
1299 s=`cd $(srcdir); ${PWD}`; export s; \
1300 (cd $(BUILD_SUBDIR)/libiberty && $(MAKE) all)
1303 # --------------------------------------
1304 # Modules which run on the host machine
1305 # --------------------------------------
1307 .PHONY: configure-ash maybe-configure-ash
1308 maybe-configure-ash:
1309 configure-ash: ash/Makefile
1311 ash/Makefile: config.status
1312 @[ -d ash ] || mkdir ash; \
1313 r=`${PWD}`; export r; \
1314 s=`cd $(srcdir); ${PWD}`; export s; \
1315 CC="$(CC)"; export CC; \
1316 CFLAGS="$(CFLAGS)"; export CFLAGS; \
1317 CXX="$(CXX)"; export CXX; \
1318 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
1319 if [ z$(build_canonical) != z$(host_canoncial) ] ; then \
1320 AR="$(AR)"; export AR; \
1321 AS="$(AS)"; export AS; \
1322 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
1323 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
1324 LD="$(LD)"; export LD; \
1325 NM="$(NM)"; export NM; \
1326 RANLIB="$(RANLIB)"; export RANLIB; \
1327 WINDRES="$(WINDRES)"; export WINDRES; \
1328 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
1329 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
1330 fi; \
1331 echo Configuring in ash; \
1332 cd ash || exit 1; \
1333 case $(srcdir) in \
1334 \.) \
1335 srcdiroption="--srcdir=."; \
1336 libsrcdir=".";; \
1337 /* | [A-Za-z]:[\\/]*) \
1338 srcdiroption="--srcdir=$(srcdir)/ash"; \
1339 libsrcdir="$$s/ash";; \
1340 *) \
1341 srcdiroption="--srcdir=../$(srcdir)/ash"; \
1342 libsrcdir="$$s/ash";; \
1343 esac; \
1344 $(SHELL) $${libsrcdir}/configure \
1345 $(HOST_CONFIGARGS) $${srcdiroption} \
1346 || exit 1
1348 .PHONY: all-ash maybe-all-ash
1349 maybe-all-ash:
1350 all-ash: configure-ash
1351 @r=`${PWD}`; export r; \
1352 s=`cd $(srcdir); ${PWD}`; export s; \
1353 $(SET_LIB_PATH) \
1354 (cd ash; $(MAKE) $(FLAGS_TO_PASS) all)
1357 .PHONY: check-ash
1358 check-ash:
1359 @r=`${PWD}`; export r; \
1360 s=`cd $(srcdir); ${PWD}`; export s; \
1361 $(SET_LIB_PATH) \
1362 (cd ash; $(MAKE) $(FLAGS_TO_PASS) check)
1366 .PHONY: install-ash maybe-install-ash
1367 maybe-install-ash:
1368 install-ash: installdirs
1369 @r=`${PWD}`; export r; \
1370 s=`cd $(srcdir); ${PWD}`; export s; \
1371 $(SET_LIB_PATH) \
1372 (cd ash; $(MAKE) $(FLAGS_TO_PASS) install)
1375 .PHONY: configure-autoconf maybe-configure-autoconf
1376 maybe-configure-autoconf:
1377 configure-autoconf: autoconf/Makefile
1379 autoconf/Makefile: config.status
1380 @[ -d autoconf ] || mkdir autoconf; \
1381 r=`${PWD}`; export r; \
1382 s=`cd $(srcdir); ${PWD}`; export s; \
1383 CC="$(CC)"; export CC; \
1384 CFLAGS="$(CFLAGS)"; export CFLAGS; \
1385 CXX="$(CXX)"; export CXX; \
1386 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
1387 if [ z$(build_canonical) != z$(host_canoncial) ] ; then \
1388 AR="$(AR)"; export AR; \
1389 AS="$(AS)"; export AS; \
1390 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
1391 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
1392 LD="$(LD)"; export LD; \
1393 NM="$(NM)"; export NM; \
1394 RANLIB="$(RANLIB)"; export RANLIB; \
1395 WINDRES="$(WINDRES)"; export WINDRES; \
1396 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
1397 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
1398 fi; \
1399 echo Configuring in autoconf; \
1400 cd autoconf || exit 1; \
1401 case $(srcdir) in \
1402 \.) \
1403 srcdiroption="--srcdir=."; \
1404 libsrcdir=".";; \
1405 /* | [A-Za-z]:[\\/]*) \
1406 srcdiroption="--srcdir=$(srcdir)/autoconf"; \
1407 libsrcdir="$$s/autoconf";; \
1408 *) \
1409 srcdiroption="--srcdir=../$(srcdir)/autoconf"; \
1410 libsrcdir="$$s/autoconf";; \
1411 esac; \
1412 $(SHELL) $${libsrcdir}/configure \
1413 $(HOST_CONFIGARGS) $${srcdiroption} \
1414 || exit 1
1416 .PHONY: all-autoconf maybe-all-autoconf
1417 maybe-all-autoconf:
1418 all-autoconf: configure-autoconf
1419 @r=`${PWD}`; export r; \
1420 s=`cd $(srcdir); ${PWD}`; export s; \
1421 $(SET_LIB_PATH) \
1422 (cd autoconf; $(MAKE) $(FLAGS_TO_PASS) all)
1425 .PHONY: check-autoconf
1426 check-autoconf:
1427 @r=`${PWD}`; export r; \
1428 s=`cd $(srcdir); ${PWD}`; export s; \
1429 $(SET_LIB_PATH) \
1430 (cd autoconf; $(MAKE) $(FLAGS_TO_PASS) check)
1434 .PHONY: install-autoconf maybe-install-autoconf
1435 maybe-install-autoconf:
1436 install-autoconf: installdirs
1437 @r=`${PWD}`; export r; \
1438 s=`cd $(srcdir); ${PWD}`; export s; \
1439 $(SET_LIB_PATH) \
1440 (cd autoconf; $(MAKE) $(FLAGS_TO_PASS) install)
1443 .PHONY: configure-automake maybe-configure-automake
1444 maybe-configure-automake:
1445 configure-automake: automake/Makefile
1447 automake/Makefile: config.status
1448 @[ -d automake ] || mkdir automake; \
1449 r=`${PWD}`; export r; \
1450 s=`cd $(srcdir); ${PWD}`; export s; \
1451 CC="$(CC)"; export CC; \
1452 CFLAGS="$(CFLAGS)"; export CFLAGS; \
1453 CXX="$(CXX)"; export CXX; \
1454 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
1455 if [ z$(build_canonical) != z$(host_canoncial) ] ; then \
1456 AR="$(AR)"; export AR; \
1457 AS="$(AS)"; export AS; \
1458 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
1459 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
1460 LD="$(LD)"; export LD; \
1461 NM="$(NM)"; export NM; \
1462 RANLIB="$(RANLIB)"; export RANLIB; \
1463 WINDRES="$(WINDRES)"; export WINDRES; \
1464 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
1465 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
1466 fi; \
1467 echo Configuring in automake; \
1468 cd automake || exit 1; \
1469 case $(srcdir) in \
1470 \.) \
1471 srcdiroption="--srcdir=."; \
1472 libsrcdir=".";; \
1473 /* | [A-Za-z]:[\\/]*) \
1474 srcdiroption="--srcdir=$(srcdir)/automake"; \
1475 libsrcdir="$$s/automake";; \
1476 *) \
1477 srcdiroption="--srcdir=../$(srcdir)/automake"; \
1478 libsrcdir="$$s/automake";; \
1479 esac; \
1480 $(SHELL) $${libsrcdir}/configure \
1481 $(HOST_CONFIGARGS) $${srcdiroption} \
1482 || exit 1
1484 .PHONY: all-automake maybe-all-automake
1485 maybe-all-automake:
1486 all-automake: configure-automake
1487 @r=`${PWD}`; export r; \
1488 s=`cd $(srcdir); ${PWD}`; export s; \
1489 $(SET_LIB_PATH) \
1490 (cd automake; $(MAKE) $(FLAGS_TO_PASS) all)
1493 .PHONY: check-automake
1494 check-automake:
1495 @r=`${PWD}`; export r; \
1496 s=`cd $(srcdir); ${PWD}`; export s; \
1497 $(SET_LIB_PATH) \
1498 (cd automake; $(MAKE) $(FLAGS_TO_PASS) check)
1502 .PHONY: install-automake maybe-install-automake
1503 maybe-install-automake:
1504 install-automake: installdirs
1505 @r=`${PWD}`; export r; \
1506 s=`cd $(srcdir); ${PWD}`; export s; \
1507 $(SET_LIB_PATH) \
1508 (cd automake; $(MAKE) $(FLAGS_TO_PASS) install)
1511 .PHONY: configure-bash maybe-configure-bash
1512 maybe-configure-bash:
1513 configure-bash: bash/Makefile
1515 bash/Makefile: config.status
1516 @[ -d bash ] || mkdir bash; \
1517 r=`${PWD}`; export r; \
1518 s=`cd $(srcdir); ${PWD}`; export s; \
1519 CC="$(CC)"; export CC; \
1520 CFLAGS="$(CFLAGS)"; export CFLAGS; \
1521 CXX="$(CXX)"; export CXX; \
1522 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
1523 if [ z$(build_canonical) != z$(host_canoncial) ] ; then \
1524 AR="$(AR)"; export AR; \
1525 AS="$(AS)"; export AS; \
1526 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
1527 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
1528 LD="$(LD)"; export LD; \
1529 NM="$(NM)"; export NM; \
1530 RANLIB="$(RANLIB)"; export RANLIB; \
1531 WINDRES="$(WINDRES)"; export WINDRES; \
1532 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
1533 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
1534 fi; \
1535 echo Configuring in bash; \
1536 cd bash || exit 1; \
1537 case $(srcdir) in \
1538 \.) \
1539 srcdiroption="--srcdir=."; \
1540 libsrcdir=".";; \
1541 /* | [A-Za-z]:[\\/]*) \
1542 srcdiroption="--srcdir=$(srcdir)/bash"; \
1543 libsrcdir="$$s/bash";; \
1544 *) \
1545 srcdiroption="--srcdir=../$(srcdir)/bash"; \
1546 libsrcdir="$$s/bash";; \
1547 esac; \
1548 $(SHELL) $${libsrcdir}/configure \
1549 $(HOST_CONFIGARGS) $${srcdiroption} \
1550 || exit 1
1552 .PHONY: all-bash maybe-all-bash
1553 maybe-all-bash:
1554 all-bash: configure-bash
1555 @r=`${PWD}`; export r; \
1556 s=`cd $(srcdir); ${PWD}`; export s; \
1557 $(SET_LIB_PATH) \
1558 (cd bash; $(MAKE) $(FLAGS_TO_PASS) all)
1561 .PHONY: check-bash
1562 check-bash:
1563 @r=`${PWD}`; export r; \
1564 s=`cd $(srcdir); ${PWD}`; export s; \
1565 $(SET_LIB_PATH) \
1566 (cd bash; $(MAKE) $(FLAGS_TO_PASS) check)
1570 .PHONY: install-bash maybe-install-bash
1571 maybe-install-bash:
1572 install-bash: installdirs
1573 @r=`${PWD}`; export r; \
1574 s=`cd $(srcdir); ${PWD}`; export s; \
1575 $(SET_LIB_PATH) \
1576 (cd bash; $(MAKE) $(FLAGS_TO_PASS) install)
1579 .PHONY: configure-bfd maybe-configure-bfd
1580 maybe-configure-bfd:
1581 configure-bfd: bfd/Makefile
1583 bfd/Makefile: config.status
1584 @[ -d bfd ] || mkdir bfd; \
1585 r=`${PWD}`; export r; \
1586 s=`cd $(srcdir); ${PWD}`; export s; \
1587 CC="$(CC)"; export CC; \
1588 CFLAGS="$(CFLAGS)"; export CFLAGS; \
1589 CXX="$(CXX)"; export CXX; \
1590 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
1591 if [ z$(build_canonical) != z$(host_canoncial) ] ; then \
1592 AR="$(AR)"; export AR; \
1593 AS="$(AS)"; export AS; \
1594 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
1595 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
1596 LD="$(LD)"; export LD; \
1597 NM="$(NM)"; export NM; \
1598 RANLIB="$(RANLIB)"; export RANLIB; \
1599 WINDRES="$(WINDRES)"; export WINDRES; \
1600 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
1601 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
1602 fi; \
1603 echo Configuring in bfd; \
1604 cd bfd || exit 1; \
1605 case $(srcdir) in \
1606 \.) \
1607 srcdiroption="--srcdir=."; \
1608 libsrcdir=".";; \
1609 /* | [A-Za-z]:[\\/]*) \
1610 srcdiroption="--srcdir=$(srcdir)/bfd"; \
1611 libsrcdir="$$s/bfd";; \
1612 *) \
1613 srcdiroption="--srcdir=../$(srcdir)/bfd"; \
1614 libsrcdir="$$s/bfd";; \
1615 esac; \
1616 $(SHELL) $${libsrcdir}/configure \
1617 $(HOST_CONFIGARGS) $${srcdiroption} \
1618 || exit 1
1620 .PHONY: all-bfd maybe-all-bfd
1621 maybe-all-bfd:
1622 all-bfd: configure-bfd
1623 @r=`${PWD}`; export r; \
1624 s=`cd $(srcdir); ${PWD}`; export s; \
1625 $(SET_LIB_PATH) \
1626 (cd bfd; $(MAKE) $(FLAGS_TO_PASS) all)
1629 .PHONY: check-bfd
1630 check-bfd:
1631 @r=`${PWD}`; export r; \
1632 s=`cd $(srcdir); ${PWD}`; export s; \
1633 $(SET_LIB_PATH) \
1634 (cd bfd; $(MAKE) $(FLAGS_TO_PASS) check)
1638 .PHONY: install-bfd maybe-install-bfd
1639 maybe-install-bfd:
1640 install-bfd: installdirs
1641 @r=`${PWD}`; export r; \
1642 s=`cd $(srcdir); ${PWD}`; export s; \
1643 $(SET_LIB_PATH) \
1644 (cd bfd; $(MAKE) $(FLAGS_TO_PASS) install)
1647 .PHONY: configure-opcodes maybe-configure-opcodes
1648 maybe-configure-opcodes:
1649 configure-opcodes: opcodes/Makefile
1651 opcodes/Makefile: config.status
1652 @[ -d opcodes ] || mkdir opcodes; \
1653 r=`${PWD}`; export r; \
1654 s=`cd $(srcdir); ${PWD}`; export s; \
1655 CC="$(CC)"; export CC; \
1656 CFLAGS="$(CFLAGS)"; export CFLAGS; \
1657 CXX="$(CXX)"; export CXX; \
1658 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
1659 if [ z$(build_canonical) != z$(host_canoncial) ] ; then \
1660 AR="$(AR)"; export AR; \
1661 AS="$(AS)"; export AS; \
1662 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
1663 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
1664 LD="$(LD)"; export LD; \
1665 NM="$(NM)"; export NM; \
1666 RANLIB="$(RANLIB)"; export RANLIB; \
1667 WINDRES="$(WINDRES)"; export WINDRES; \
1668 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
1669 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
1670 fi; \
1671 echo Configuring in opcodes; \
1672 cd opcodes || exit 1; \
1673 case $(srcdir) in \
1674 \.) \
1675 srcdiroption="--srcdir=."; \
1676 libsrcdir=".";; \
1677 /* | [A-Za-z]:[\\/]*) \
1678 srcdiroption="--srcdir=$(srcdir)/opcodes"; \
1679 libsrcdir="$$s/opcodes";; \
1680 *) \
1681 srcdiroption="--srcdir=../$(srcdir)/opcodes"; \
1682 libsrcdir="$$s/opcodes";; \
1683 esac; \
1684 $(SHELL) $${libsrcdir}/configure \
1685 $(HOST_CONFIGARGS) $${srcdiroption} \
1686 || exit 1
1688 .PHONY: all-opcodes maybe-all-opcodes
1689 maybe-all-opcodes:
1690 all-opcodes: configure-opcodes
1691 @r=`${PWD}`; export r; \
1692 s=`cd $(srcdir); ${PWD}`; export s; \
1693 $(SET_LIB_PATH) \
1694 (cd opcodes; $(MAKE) $(FLAGS_TO_PASS) all)
1697 .PHONY: check-opcodes
1698 check-opcodes:
1699 @r=`${PWD}`; export r; \
1700 s=`cd $(srcdir); ${PWD}`; export s; \
1701 $(SET_LIB_PATH) \
1702 (cd opcodes; $(MAKE) $(FLAGS_TO_PASS) check)
1706 .PHONY: install-opcodes maybe-install-opcodes
1707 maybe-install-opcodes:
1708 install-opcodes: installdirs
1709 @r=`${PWD}`; export r; \
1710 s=`cd $(srcdir); ${PWD}`; export s; \
1711 $(SET_LIB_PATH) \
1712 (cd opcodes; $(MAKE) $(FLAGS_TO_PASS) install)
1715 .PHONY: configure-binutils maybe-configure-binutils
1716 maybe-configure-binutils:
1717 configure-binutils: binutils/Makefile
1719 binutils/Makefile: config.status
1720 @[ -d binutils ] || mkdir binutils; \
1721 r=`${PWD}`; export r; \
1722 s=`cd $(srcdir); ${PWD}`; export s; \
1723 CC="$(CC)"; export CC; \
1724 CFLAGS="$(CFLAGS)"; export CFLAGS; \
1725 CXX="$(CXX)"; export CXX; \
1726 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
1727 if [ z$(build_canonical) != z$(host_canoncial) ] ; then \
1728 AR="$(AR)"; export AR; \
1729 AS="$(AS)"; export AS; \
1730 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
1731 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
1732 LD="$(LD)"; export LD; \
1733 NM="$(NM)"; export NM; \
1734 RANLIB="$(RANLIB)"; export RANLIB; \
1735 WINDRES="$(WINDRES)"; export WINDRES; \
1736 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
1737 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
1738 fi; \
1739 echo Configuring in binutils; \
1740 cd binutils || exit 1; \
1741 case $(srcdir) in \
1742 \.) \
1743 srcdiroption="--srcdir=."; \
1744 libsrcdir=".";; \
1745 /* | [A-Za-z]:[\\/]*) \
1746 srcdiroption="--srcdir=$(srcdir)/binutils"; \
1747 libsrcdir="$$s/binutils";; \
1748 *) \
1749 srcdiroption="--srcdir=../$(srcdir)/binutils"; \
1750 libsrcdir="$$s/binutils";; \
1751 esac; \
1752 $(SHELL) $${libsrcdir}/configure \
1753 $(HOST_CONFIGARGS) $${srcdiroption} \
1754 || exit 1
1756 .PHONY: all-binutils maybe-all-binutils
1757 maybe-all-binutils:
1758 all-binutils: configure-binutils
1759 @r=`${PWD}`; export r; \
1760 s=`cd $(srcdir); ${PWD}`; export s; \
1761 $(SET_LIB_PATH) \
1762 (cd binutils; $(MAKE) $(FLAGS_TO_PASS) all)
1765 .PHONY: check-binutils
1766 check-binutils:
1767 @r=`${PWD}`; export r; \
1768 s=`cd $(srcdir); ${PWD}`; export s; \
1769 $(SET_LIB_PATH) \
1770 (cd binutils; $(MAKE) $(FLAGS_TO_PASS) check)
1774 .PHONY: install-binutils maybe-install-binutils
1775 maybe-install-binutils:
1776 install-binutils: installdirs
1777 @r=`${PWD}`; export r; \
1778 s=`cd $(srcdir); ${PWD}`; export s; \
1779 $(SET_LIB_PATH) \
1780 (cd binutils; $(MAKE) $(FLAGS_TO_PASS) install)
1783 .PHONY: configure-bison maybe-configure-bison
1784 maybe-configure-bison:
1785 configure-bison: bison/Makefile
1787 bison/Makefile: config.status
1788 @[ -d bison ] || mkdir bison; \
1789 r=`${PWD}`; export r; \
1790 s=`cd $(srcdir); ${PWD}`; export s; \
1791 CC="$(CC)"; export CC; \
1792 CFLAGS="$(CFLAGS)"; export CFLAGS; \
1793 CXX="$(CXX)"; export CXX; \
1794 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
1795 if [ z$(build_canonical) != z$(host_canoncial) ] ; then \
1796 AR="$(AR)"; export AR; \
1797 AS="$(AS)"; export AS; \
1798 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
1799 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
1800 LD="$(LD)"; export LD; \
1801 NM="$(NM)"; export NM; \
1802 RANLIB="$(RANLIB)"; export RANLIB; \
1803 WINDRES="$(WINDRES)"; export WINDRES; \
1804 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
1805 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
1806 fi; \
1807 echo Configuring in bison; \
1808 cd bison || exit 1; \
1809 case $(srcdir) in \
1810 \.) \
1811 srcdiroption="--srcdir=."; \
1812 libsrcdir=".";; \
1813 /* | [A-Za-z]:[\\/]*) \
1814 srcdiroption="--srcdir=$(srcdir)/bison"; \
1815 libsrcdir="$$s/bison";; \
1816 *) \
1817 srcdiroption="--srcdir=../$(srcdir)/bison"; \
1818 libsrcdir="$$s/bison";; \
1819 esac; \
1820 $(SHELL) $${libsrcdir}/configure \
1821 $(HOST_CONFIGARGS) $${srcdiroption} \
1822 || exit 1
1824 .PHONY: all-bison maybe-all-bison
1825 maybe-all-bison:
1826 all-bison: configure-bison
1827 @r=`${PWD}`; export r; \
1828 s=`cd $(srcdir); ${PWD}`; export s; \
1829 $(SET_LIB_PATH) \
1830 (cd bison; $(MAKE) $(FLAGS_TO_PASS) all)
1833 .PHONY: check-bison
1834 # This module is only tested in a native toolchain.
1835 check-bison:
1836 @if [ '$(host_canonical)' = '$(target_canonical)' ] ; then \
1837 r=`${PWD}`; export r; \
1838 s=`cd $(srcdir); ${PWD}`; export s; \
1839 $(SET_LIB_PATH) \
1840 (cd bison; $(MAKE) $(FLAGS_TO_PASS) check); \
1845 .PHONY: install-bison maybe-install-bison
1846 maybe-install-bison:
1847 install-bison: installdirs
1848 @r=`${PWD}`; export r; \
1849 s=`cd $(srcdir); ${PWD}`; export s; \
1850 $(SET_LIB_PATH) \
1851 (cd bison; $(MAKE) $(FLAGS_TO_PASS) install)
1854 .PHONY: configure-byacc maybe-configure-byacc
1855 maybe-configure-byacc:
1856 configure-byacc: byacc/Makefile
1858 byacc/Makefile: config.status
1859 @[ -d byacc ] || mkdir byacc; \
1860 r=`${PWD}`; export r; \
1861 s=`cd $(srcdir); ${PWD}`; export s; \
1862 CC="$(CC)"; export CC; \
1863 CFLAGS="$(CFLAGS)"; export CFLAGS; \
1864 CXX="$(CXX)"; export CXX; \
1865 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
1866 if [ z$(build_canonical) != z$(host_canoncial) ] ; then \
1867 AR="$(AR)"; export AR; \
1868 AS="$(AS)"; export AS; \
1869 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
1870 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
1871 LD="$(LD)"; export LD; \
1872 NM="$(NM)"; export NM; \
1873 RANLIB="$(RANLIB)"; export RANLIB; \
1874 WINDRES="$(WINDRES)"; export WINDRES; \
1875 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
1876 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
1877 fi; \
1878 echo Configuring in byacc; \
1879 cd byacc || exit 1; \
1880 case $(srcdir) in \
1881 \.) \
1882 srcdiroption="--srcdir=."; \
1883 libsrcdir=".";; \
1884 /* | [A-Za-z]:[\\/]*) \
1885 srcdiroption="--srcdir=$(srcdir)/byacc"; \
1886 libsrcdir="$$s/byacc";; \
1887 *) \
1888 srcdiroption="--srcdir=../$(srcdir)/byacc"; \
1889 libsrcdir="$$s/byacc";; \
1890 esac; \
1891 $(SHELL) $${libsrcdir}/configure \
1892 $(HOST_CONFIGARGS) $${srcdiroption} \
1893 || exit 1
1895 .PHONY: all-byacc maybe-all-byacc
1896 maybe-all-byacc:
1897 all-byacc: configure-byacc
1898 @r=`${PWD}`; export r; \
1899 s=`cd $(srcdir); ${PWD}`; export s; \
1900 $(SET_LIB_PATH) \
1901 (cd byacc; $(MAKE) $(FLAGS_TO_PASS) all)
1904 .PHONY: check-byacc
1905 # This module is only tested in a native toolchain.
1906 check-byacc:
1907 @if [ '$(host_canonical)' = '$(target_canonical)' ] ; then \
1908 r=`${PWD}`; export r; \
1909 s=`cd $(srcdir); ${PWD}`; export s; \
1910 $(SET_LIB_PATH) \
1911 (cd byacc; $(MAKE) $(FLAGS_TO_PASS) check); \
1916 .PHONY: install-byacc maybe-install-byacc
1917 maybe-install-byacc:
1918 install-byacc: installdirs
1919 @r=`${PWD}`; export r; \
1920 s=`cd $(srcdir); ${PWD}`; export s; \
1921 $(SET_LIB_PATH) \
1922 (cd byacc; $(MAKE) $(FLAGS_TO_PASS) install)
1925 .PHONY: configure-bzip2 maybe-configure-bzip2
1926 maybe-configure-bzip2:
1927 configure-bzip2: bzip2/Makefile
1929 bzip2/Makefile: config.status
1930 @[ -d bzip2 ] || mkdir bzip2; \
1931 r=`${PWD}`; export r; \
1932 s=`cd $(srcdir); ${PWD}`; export s; \
1933 CC="$(CC)"; export CC; \
1934 CFLAGS="$(CFLAGS)"; export CFLAGS; \
1935 CXX="$(CXX)"; export CXX; \
1936 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
1937 if [ z$(build_canonical) != z$(host_canoncial) ] ; then \
1938 AR="$(AR)"; export AR; \
1939 AS="$(AS)"; export AS; \
1940 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
1941 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
1942 LD="$(LD)"; export LD; \
1943 NM="$(NM)"; export NM; \
1944 RANLIB="$(RANLIB)"; export RANLIB; \
1945 WINDRES="$(WINDRES)"; export WINDRES; \
1946 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
1947 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
1948 fi; \
1949 echo Configuring in bzip2; \
1950 cd bzip2 || exit 1; \
1951 case $(srcdir) in \
1952 \.) \
1953 srcdiroption="--srcdir=."; \
1954 libsrcdir=".";; \
1955 /* | [A-Za-z]:[\\/]*) \
1956 srcdiroption="--srcdir=$(srcdir)/bzip2"; \
1957 libsrcdir="$$s/bzip2";; \
1958 *) \
1959 srcdiroption="--srcdir=../$(srcdir)/bzip2"; \
1960 libsrcdir="$$s/bzip2";; \
1961 esac; \
1962 $(SHELL) $${libsrcdir}/configure \
1963 $(HOST_CONFIGARGS) $${srcdiroption} \
1964 || exit 1
1966 .PHONY: all-bzip2 maybe-all-bzip2
1967 maybe-all-bzip2:
1968 all-bzip2: configure-bzip2
1969 @r=`${PWD}`; export r; \
1970 s=`cd $(srcdir); ${PWD}`; export s; \
1971 $(SET_LIB_PATH) \
1972 (cd bzip2; $(MAKE) $(FLAGS_TO_PASS) all)
1975 .PHONY: check-bzip2
1976 check-bzip2:
1977 @r=`${PWD}`; export r; \
1978 s=`cd $(srcdir); ${PWD}`; export s; \
1979 $(SET_LIB_PATH) \
1980 (cd bzip2; $(MAKE) $(FLAGS_TO_PASS) check)
1984 .PHONY: install-bzip2 maybe-install-bzip2
1985 maybe-install-bzip2:
1986 install-bzip2: installdirs
1987 @r=`${PWD}`; export r; \
1988 s=`cd $(srcdir); ${PWD}`; export s; \
1989 $(SET_LIB_PATH) \
1990 (cd bzip2; $(MAKE) $(FLAGS_TO_PASS) install)
1993 .PHONY: configure-db maybe-configure-db
1994 maybe-configure-db:
1995 configure-db: db/Makefile
1997 db/Makefile: config.status
1998 @[ -d db ] || mkdir db; \
1999 r=`${PWD}`; export r; \
2000 s=`cd $(srcdir); ${PWD}`; export s; \
2001 CC="$(CC)"; export CC; \
2002 CFLAGS="$(CFLAGS)"; export CFLAGS; \
2003 CXX="$(CXX)"; export CXX; \
2004 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
2005 if [ z$(build_canonical) != z$(host_canoncial) ] ; then \
2006 AR="$(AR)"; export AR; \
2007 AS="$(AS)"; export AS; \
2008 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
2009 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
2010 LD="$(LD)"; export LD; \
2011 NM="$(NM)"; export NM; \
2012 RANLIB="$(RANLIB)"; export RANLIB; \
2013 WINDRES="$(WINDRES)"; export WINDRES; \
2014 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
2015 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
2016 fi; \
2017 echo Configuring in db; \
2018 cd db || exit 1; \
2019 case $(srcdir) in \
2020 \.) \
2021 srcdiroption="--srcdir=."; \
2022 libsrcdir=".";; \
2023 /* | [A-Za-z]:[\\/]*) \
2024 srcdiroption="--srcdir=$(srcdir)/db"; \
2025 libsrcdir="$$s/db";; \
2026 *) \
2027 srcdiroption="--srcdir=../$(srcdir)/db"; \
2028 libsrcdir="$$s/db";; \
2029 esac; \
2030 $(SHELL) $${libsrcdir}/configure \
2031 $(HOST_CONFIGARGS) $${srcdiroption} \
2032 || exit 1
2034 .PHONY: all-db maybe-all-db
2035 maybe-all-db:
2036 all-db: configure-db
2037 @r=`${PWD}`; export r; \
2038 s=`cd $(srcdir); ${PWD}`; export s; \
2039 $(SET_LIB_PATH) \
2040 (cd db; $(MAKE) $(FLAGS_TO_PASS) all)
2043 .PHONY: check-db
2044 check-db:
2045 @r=`${PWD}`; export r; \
2046 s=`cd $(srcdir); ${PWD}`; export s; \
2047 $(SET_LIB_PATH) \
2048 (cd db; $(MAKE) $(FLAGS_TO_PASS) check)
2052 .PHONY: install-db maybe-install-db
2053 maybe-install-db:
2054 install-db: installdirs
2055 @r=`${PWD}`; export r; \
2056 s=`cd $(srcdir); ${PWD}`; export s; \
2057 $(SET_LIB_PATH) \
2058 (cd db; $(MAKE) $(FLAGS_TO_PASS) install)
2061 .PHONY: configure-dejagnu maybe-configure-dejagnu
2062 maybe-configure-dejagnu:
2063 configure-dejagnu: dejagnu/Makefile
2065 dejagnu/Makefile: config.status
2066 @[ -d dejagnu ] || mkdir dejagnu; \
2067 r=`${PWD}`; export r; \
2068 s=`cd $(srcdir); ${PWD}`; export s; \
2069 CC="$(CC)"; export CC; \
2070 CFLAGS="$(CFLAGS)"; export CFLAGS; \
2071 CXX="$(CXX)"; export CXX; \
2072 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
2073 if [ z$(build_canonical) != z$(host_canoncial) ] ; then \
2074 AR="$(AR)"; export AR; \
2075 AS="$(AS)"; export AS; \
2076 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
2077 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
2078 LD="$(LD)"; export LD; \
2079 NM="$(NM)"; export NM; \
2080 RANLIB="$(RANLIB)"; export RANLIB; \
2081 WINDRES="$(WINDRES)"; export WINDRES; \
2082 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
2083 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
2084 fi; \
2085 echo Configuring in dejagnu; \
2086 cd dejagnu || exit 1; \
2087 case $(srcdir) in \
2088 \.) \
2089 srcdiroption="--srcdir=."; \
2090 libsrcdir=".";; \
2091 /* | [A-Za-z]:[\\/]*) \
2092 srcdiroption="--srcdir=$(srcdir)/dejagnu"; \
2093 libsrcdir="$$s/dejagnu";; \
2094 *) \
2095 srcdiroption="--srcdir=../$(srcdir)/dejagnu"; \
2096 libsrcdir="$$s/dejagnu";; \
2097 esac; \
2098 $(SHELL) $${libsrcdir}/configure \
2099 $(HOST_CONFIGARGS) $${srcdiroption} \
2100 || exit 1
2102 .PHONY: all-dejagnu maybe-all-dejagnu
2103 maybe-all-dejagnu:
2104 all-dejagnu: configure-dejagnu
2105 @r=`${PWD}`; export r; \
2106 s=`cd $(srcdir); ${PWD}`; export s; \
2107 $(SET_LIB_PATH) \
2108 (cd dejagnu; $(MAKE) $(FLAGS_TO_PASS) all)
2111 .PHONY: check-dejagnu
2112 check-dejagnu:
2113 @r=`${PWD}`; export r; \
2114 s=`cd $(srcdir); ${PWD}`; export s; \
2115 $(SET_LIB_PATH) \
2116 (cd dejagnu; $(MAKE) $(FLAGS_TO_PASS) check)
2120 .PHONY: install-dejagnu maybe-install-dejagnu
2121 maybe-install-dejagnu:
2122 install-dejagnu: installdirs
2123 @r=`${PWD}`; export r; \
2124 s=`cd $(srcdir); ${PWD}`; export s; \
2125 $(SET_LIB_PATH) \
2126 (cd dejagnu; $(MAKE) $(FLAGS_TO_PASS) install)
2129 .PHONY: configure-diff maybe-configure-diff
2130 maybe-configure-diff:
2131 configure-diff: diff/Makefile
2133 diff/Makefile: config.status
2134 @[ -d diff ] || mkdir diff; \
2135 r=`${PWD}`; export r; \
2136 s=`cd $(srcdir); ${PWD}`; export s; \
2137 CC="$(CC)"; export CC; \
2138 CFLAGS="$(CFLAGS)"; export CFLAGS; \
2139 CXX="$(CXX)"; export CXX; \
2140 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
2141 if [ z$(build_canonical) != z$(host_canoncial) ] ; then \
2142 AR="$(AR)"; export AR; \
2143 AS="$(AS)"; export AS; \
2144 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
2145 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
2146 LD="$(LD)"; export LD; \
2147 NM="$(NM)"; export NM; \
2148 RANLIB="$(RANLIB)"; export RANLIB; \
2149 WINDRES="$(WINDRES)"; export WINDRES; \
2150 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
2151 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
2152 fi; \
2153 echo Configuring in diff; \
2154 cd diff || exit 1; \
2155 case $(srcdir) in \
2156 \.) \
2157 srcdiroption="--srcdir=."; \
2158 libsrcdir=".";; \
2159 /* | [A-Za-z]:[\\/]*) \
2160 srcdiroption="--srcdir=$(srcdir)/diff"; \
2161 libsrcdir="$$s/diff";; \
2162 *) \
2163 srcdiroption="--srcdir=../$(srcdir)/diff"; \
2164 libsrcdir="$$s/diff";; \
2165 esac; \
2166 $(SHELL) $${libsrcdir}/configure \
2167 $(HOST_CONFIGARGS) $${srcdiroption} \
2168 || exit 1
2170 .PHONY: all-diff maybe-all-diff
2171 maybe-all-diff:
2172 all-diff: configure-diff
2173 @r=`${PWD}`; export r; \
2174 s=`cd $(srcdir); ${PWD}`; export s; \
2175 $(SET_LIB_PATH) \
2176 (cd diff; $(MAKE) $(FLAGS_TO_PASS) all)
2179 .PHONY: check-diff
2180 check-diff:
2181 @r=`${PWD}`; export r; \
2182 s=`cd $(srcdir); ${PWD}`; export s; \
2183 $(SET_LIB_PATH) \
2184 (cd diff; $(MAKE) $(FLAGS_TO_PASS) check)
2188 .PHONY: install-diff maybe-install-diff
2189 maybe-install-diff:
2190 install-diff: installdirs
2191 @r=`${PWD}`; export r; \
2192 s=`cd $(srcdir); ${PWD}`; export s; \
2193 $(SET_LIB_PATH) \
2194 (cd diff; $(MAKE) $(FLAGS_TO_PASS) install)
2197 .PHONY: configure-dosutils maybe-configure-dosutils
2198 maybe-configure-dosutils:
2199 configure-dosutils: dosutils/Makefile
2201 dosutils/Makefile: config.status
2202 @[ -d dosutils ] || mkdir dosutils; \
2203 r=`${PWD}`; export r; \
2204 s=`cd $(srcdir); ${PWD}`; export s; \
2205 CC="$(CC)"; export CC; \
2206 CFLAGS="$(CFLAGS)"; export CFLAGS; \
2207 CXX="$(CXX)"; export CXX; \
2208 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
2209 if [ z$(build_canonical) != z$(host_canoncial) ] ; then \
2210 AR="$(AR)"; export AR; \
2211 AS="$(AS)"; export AS; \
2212 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
2213 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
2214 LD="$(LD)"; export LD; \
2215 NM="$(NM)"; export NM; \
2216 RANLIB="$(RANLIB)"; export RANLIB; \
2217 WINDRES="$(WINDRES)"; export WINDRES; \
2218 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
2219 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
2220 fi; \
2221 echo Configuring in dosutils; \
2222 cd dosutils || exit 1; \
2223 case $(srcdir) in \
2224 \.) \
2225 srcdiroption="--srcdir=."; \
2226 libsrcdir=".";; \
2227 /* | [A-Za-z]:[\\/]*) \
2228 srcdiroption="--srcdir=$(srcdir)/dosutils"; \
2229 libsrcdir="$$s/dosutils";; \
2230 *) \
2231 srcdiroption="--srcdir=../$(srcdir)/dosutils"; \
2232 libsrcdir="$$s/dosutils";; \
2233 esac; \
2234 $(SHELL) $${libsrcdir}/configure \
2235 $(HOST_CONFIGARGS) $${srcdiroption} \
2236 || exit 1
2238 .PHONY: all-dosutils maybe-all-dosutils
2239 maybe-all-dosutils:
2240 all-dosutils: configure-dosutils
2241 @r=`${PWD}`; export r; \
2242 s=`cd $(srcdir); ${PWD}`; export s; \
2243 $(SET_LIB_PATH) \
2244 (cd dosutils; $(MAKE) $(FLAGS_TO_PASS) all)
2247 .PHONY: check-dosutils
2248 check-dosutils:
2252 .PHONY: install-dosutils maybe-install-dosutils
2253 maybe-install-dosutils:
2254 install-dosutils: installdirs
2255 @r=`${PWD}`; export r; \
2256 s=`cd $(srcdir); ${PWD}`; export s; \
2257 $(SET_LIB_PATH) \
2258 (cd dosutils; $(MAKE) $(FLAGS_TO_PASS) install)
2261 .PHONY: configure-etc maybe-configure-etc
2262 maybe-configure-etc:
2263 configure-etc: etc/Makefile
2265 etc/Makefile: config.status
2266 @[ -d etc ] || mkdir etc; \
2267 r=`${PWD}`; export r; \
2268 s=`cd $(srcdir); ${PWD}`; export s; \
2269 CC="$(CC)"; export CC; \
2270 CFLAGS="$(CFLAGS)"; export CFLAGS; \
2271 CXX="$(CXX)"; export CXX; \
2272 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
2273 if [ z$(build_canonical) != z$(host_canoncial) ] ; then \
2274 AR="$(AR)"; export AR; \
2275 AS="$(AS)"; export AS; \
2276 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
2277 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
2278 LD="$(LD)"; export LD; \
2279 NM="$(NM)"; export NM; \
2280 RANLIB="$(RANLIB)"; export RANLIB; \
2281 WINDRES="$(WINDRES)"; export WINDRES; \
2282 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
2283 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
2284 fi; \
2285 echo Configuring in etc; \
2286 cd etc || exit 1; \
2287 case $(srcdir) in \
2288 \.) \
2289 srcdiroption="--srcdir=."; \
2290 libsrcdir=".";; \
2291 /* | [A-Za-z]:[\\/]*) \
2292 srcdiroption="--srcdir=$(srcdir)/etc"; \
2293 libsrcdir="$$s/etc";; \
2294 *) \
2295 srcdiroption="--srcdir=../$(srcdir)/etc"; \
2296 libsrcdir="$$s/etc";; \
2297 esac; \
2298 $(SHELL) $${libsrcdir}/configure \
2299 $(HOST_CONFIGARGS) $${srcdiroption} \
2300 || exit 1
2302 .PHONY: all-etc maybe-all-etc
2303 maybe-all-etc:
2304 all-etc: configure-etc
2305 @r=`${PWD}`; export r; \
2306 s=`cd $(srcdir); ${PWD}`; export s; \
2307 $(SET_LIB_PATH) \
2308 (cd etc; $(MAKE) $(FLAGS_TO_PASS) all)
2311 .PHONY: check-etc
2312 check-etc:
2313 @r=`${PWD}`; export r; \
2314 s=`cd $(srcdir); ${PWD}`; export s; \
2315 $(SET_LIB_PATH) \
2316 (cd etc; $(MAKE) $(FLAGS_TO_PASS) check)
2320 .PHONY: install-etc maybe-install-etc
2321 maybe-install-etc:
2322 install-etc: installdirs
2323 @r=`${PWD}`; export r; \
2324 s=`cd $(srcdir); ${PWD}`; export s; \
2325 $(SET_LIB_PATH) \
2326 (cd etc; $(MAKE) $(FLAGS_TO_PASS) install)
2329 .PHONY: configure-fastjar maybe-configure-fastjar
2330 maybe-configure-fastjar:
2331 configure-fastjar: fastjar/Makefile
2333 fastjar/Makefile: config.status
2334 @[ -d fastjar ] || mkdir fastjar; \
2335 r=`${PWD}`; export r; \
2336 s=`cd $(srcdir); ${PWD}`; export s; \
2337 CC="$(CC)"; export CC; \
2338 CFLAGS="$(CFLAGS)"; export CFLAGS; \
2339 CXX="$(CXX)"; export CXX; \
2340 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
2341 if [ z$(build_canonical) != z$(host_canoncial) ] ; then \
2342 AR="$(AR)"; export AR; \
2343 AS="$(AS)"; export AS; \
2344 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
2345 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
2346 LD="$(LD)"; export LD; \
2347 NM="$(NM)"; export NM; \
2348 RANLIB="$(RANLIB)"; export RANLIB; \
2349 WINDRES="$(WINDRES)"; export WINDRES; \
2350 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
2351 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
2352 fi; \
2353 echo Configuring in fastjar; \
2354 cd fastjar || exit 1; \
2355 case $(srcdir) in \
2356 \.) \
2357 srcdiroption="--srcdir=."; \
2358 libsrcdir=".";; \
2359 /* | [A-Za-z]:[\\/]*) \
2360 srcdiroption="--srcdir=$(srcdir)/fastjar"; \
2361 libsrcdir="$$s/fastjar";; \
2362 *) \
2363 srcdiroption="--srcdir=../$(srcdir)/fastjar"; \
2364 libsrcdir="$$s/fastjar";; \
2365 esac; \
2366 $(SHELL) $${libsrcdir}/configure \
2367 $(HOST_CONFIGARGS) $${srcdiroption} \
2368 || exit 1
2370 .PHONY: all-fastjar maybe-all-fastjar
2371 maybe-all-fastjar:
2372 all-fastjar: configure-fastjar
2373 @r=`${PWD}`; export r; \
2374 s=`cd $(srcdir); ${PWD}`; export s; \
2375 $(SET_LIB_PATH) \
2376 (cd fastjar; $(MAKE) $(FLAGS_TO_PASS) all)
2379 .PHONY: check-fastjar
2380 # This module is only tested in a native toolchain.
2381 check-fastjar:
2382 @if [ '$(host_canonical)' = '$(target_canonical)' ] ; then \
2383 r=`${PWD}`; export r; \
2384 s=`cd $(srcdir); ${PWD}`; export s; \
2385 $(SET_LIB_PATH) \
2386 (cd fastjar; $(MAKE) $(FLAGS_TO_PASS) check); \
2391 .PHONY: install-fastjar maybe-install-fastjar
2392 maybe-install-fastjar:
2393 install-fastjar: installdirs
2394 @r=`${PWD}`; export r; \
2395 s=`cd $(srcdir); ${PWD}`; export s; \
2396 $(SET_LIB_PATH) \
2397 (cd fastjar; $(MAKE) $(FLAGS_TO_PASS) install)
2400 .PHONY: configure-fileutils maybe-configure-fileutils
2401 maybe-configure-fileutils:
2402 configure-fileutils: fileutils/Makefile
2404 fileutils/Makefile: config.status
2405 @[ -d fileutils ] || mkdir fileutils; \
2406 r=`${PWD}`; export r; \
2407 s=`cd $(srcdir); ${PWD}`; export s; \
2408 CC="$(CC)"; export CC; \
2409 CFLAGS="$(CFLAGS)"; export CFLAGS; \
2410 CXX="$(CXX)"; export CXX; \
2411 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
2412 if [ z$(build_canonical) != z$(host_canoncial) ] ; then \
2413 AR="$(AR)"; export AR; \
2414 AS="$(AS)"; export AS; \
2415 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
2416 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
2417 LD="$(LD)"; export LD; \
2418 NM="$(NM)"; export NM; \
2419 RANLIB="$(RANLIB)"; export RANLIB; \
2420 WINDRES="$(WINDRES)"; export WINDRES; \
2421 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
2422 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
2423 fi; \
2424 echo Configuring in fileutils; \
2425 cd fileutils || exit 1; \
2426 case $(srcdir) in \
2427 \.) \
2428 srcdiroption="--srcdir=."; \
2429 libsrcdir=".";; \
2430 /* | [A-Za-z]:[\\/]*) \
2431 srcdiroption="--srcdir=$(srcdir)/fileutils"; \
2432 libsrcdir="$$s/fileutils";; \
2433 *) \
2434 srcdiroption="--srcdir=../$(srcdir)/fileutils"; \
2435 libsrcdir="$$s/fileutils";; \
2436 esac; \
2437 $(SHELL) $${libsrcdir}/configure \
2438 $(HOST_CONFIGARGS) $${srcdiroption} \
2439 || exit 1
2441 .PHONY: all-fileutils maybe-all-fileutils
2442 maybe-all-fileutils:
2443 all-fileutils: configure-fileutils
2444 @r=`${PWD}`; export r; \
2445 s=`cd $(srcdir); ${PWD}`; export s; \
2446 $(SET_LIB_PATH) \
2447 (cd fileutils; $(MAKE) $(FLAGS_TO_PASS) all)
2450 .PHONY: check-fileutils
2451 check-fileutils:
2452 @r=`${PWD}`; export r; \
2453 s=`cd $(srcdir); ${PWD}`; export s; \
2454 $(SET_LIB_PATH) \
2455 (cd fileutils; $(MAKE) $(FLAGS_TO_PASS) check)
2459 .PHONY: install-fileutils maybe-install-fileutils
2460 maybe-install-fileutils:
2461 install-fileutils: installdirs
2462 @r=`${PWD}`; export r; \
2463 s=`cd $(srcdir); ${PWD}`; export s; \
2464 $(SET_LIB_PATH) \
2465 (cd fileutils; $(MAKE) $(FLAGS_TO_PASS) install)
2468 .PHONY: configure-findutils maybe-configure-findutils
2469 maybe-configure-findutils:
2470 configure-findutils: findutils/Makefile
2472 findutils/Makefile: config.status
2473 @[ -d findutils ] || mkdir findutils; \
2474 r=`${PWD}`; export r; \
2475 s=`cd $(srcdir); ${PWD}`; export s; \
2476 CC="$(CC)"; export CC; \
2477 CFLAGS="$(CFLAGS)"; export CFLAGS; \
2478 CXX="$(CXX)"; export CXX; \
2479 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
2480 if [ z$(build_canonical) != z$(host_canoncial) ] ; then \
2481 AR="$(AR)"; export AR; \
2482 AS="$(AS)"; export AS; \
2483 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
2484 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
2485 LD="$(LD)"; export LD; \
2486 NM="$(NM)"; export NM; \
2487 RANLIB="$(RANLIB)"; export RANLIB; \
2488 WINDRES="$(WINDRES)"; export WINDRES; \
2489 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
2490 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
2491 fi; \
2492 echo Configuring in findutils; \
2493 cd findutils || exit 1; \
2494 case $(srcdir) in \
2495 \.) \
2496 srcdiroption="--srcdir=."; \
2497 libsrcdir=".";; \
2498 /* | [A-Za-z]:[\\/]*) \
2499 srcdiroption="--srcdir=$(srcdir)/findutils"; \
2500 libsrcdir="$$s/findutils";; \
2501 *) \
2502 srcdiroption="--srcdir=../$(srcdir)/findutils"; \
2503 libsrcdir="$$s/findutils";; \
2504 esac; \
2505 $(SHELL) $${libsrcdir}/configure \
2506 $(HOST_CONFIGARGS) $${srcdiroption} \
2507 || exit 1
2509 .PHONY: all-findutils maybe-all-findutils
2510 maybe-all-findutils:
2511 all-findutils: configure-findutils
2512 @r=`${PWD}`; export r; \
2513 s=`cd $(srcdir); ${PWD}`; export s; \
2514 $(SET_LIB_PATH) \
2515 (cd findutils; $(MAKE) $(FLAGS_TO_PASS) all)
2518 .PHONY: check-findutils
2519 check-findutils:
2520 @r=`${PWD}`; export r; \
2521 s=`cd $(srcdir); ${PWD}`; export s; \
2522 $(SET_LIB_PATH) \
2523 (cd findutils; $(MAKE) $(FLAGS_TO_PASS) check)
2527 .PHONY: install-findutils maybe-install-findutils
2528 maybe-install-findutils:
2529 install-findutils: installdirs
2530 @r=`${PWD}`; export r; \
2531 s=`cd $(srcdir); ${PWD}`; export s; \
2532 $(SET_LIB_PATH) \
2533 (cd findutils; $(MAKE) $(FLAGS_TO_PASS) install)
2536 .PHONY: configure-find maybe-configure-find
2537 maybe-configure-find:
2538 configure-find: find/Makefile
2540 find/Makefile: config.status
2541 @[ -d find ] || mkdir find; \
2542 r=`${PWD}`; export r; \
2543 s=`cd $(srcdir); ${PWD}`; export s; \
2544 CC="$(CC)"; export CC; \
2545 CFLAGS="$(CFLAGS)"; export CFLAGS; \
2546 CXX="$(CXX)"; export CXX; \
2547 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
2548 if [ z$(build_canonical) != z$(host_canoncial) ] ; then \
2549 AR="$(AR)"; export AR; \
2550 AS="$(AS)"; export AS; \
2551 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
2552 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
2553 LD="$(LD)"; export LD; \
2554 NM="$(NM)"; export NM; \
2555 RANLIB="$(RANLIB)"; export RANLIB; \
2556 WINDRES="$(WINDRES)"; export WINDRES; \
2557 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
2558 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
2559 fi; \
2560 echo Configuring in find; \
2561 cd find || exit 1; \
2562 case $(srcdir) in \
2563 \.) \
2564 srcdiroption="--srcdir=."; \
2565 libsrcdir=".";; \
2566 /* | [A-Za-z]:[\\/]*) \
2567 srcdiroption="--srcdir=$(srcdir)/find"; \
2568 libsrcdir="$$s/find";; \
2569 *) \
2570 srcdiroption="--srcdir=../$(srcdir)/find"; \
2571 libsrcdir="$$s/find";; \
2572 esac; \
2573 $(SHELL) $${libsrcdir}/configure \
2574 $(HOST_CONFIGARGS) $${srcdiroption} \
2575 || exit 1
2577 .PHONY: all-find maybe-all-find
2578 maybe-all-find:
2579 all-find: configure-find
2580 @r=`${PWD}`; export r; \
2581 s=`cd $(srcdir); ${PWD}`; export s; \
2582 $(SET_LIB_PATH) \
2583 (cd find; $(MAKE) $(FLAGS_TO_PASS) all)
2586 .PHONY: check-find
2587 check-find:
2588 @r=`${PWD}`; export r; \
2589 s=`cd $(srcdir); ${PWD}`; export s; \
2590 $(SET_LIB_PATH) \
2591 (cd find; $(MAKE) $(FLAGS_TO_PASS) check)
2595 .PHONY: install-find maybe-install-find
2596 maybe-install-find:
2597 install-find: installdirs
2598 @r=`${PWD}`; export r; \
2599 s=`cd $(srcdir); ${PWD}`; export s; \
2600 $(SET_LIB_PATH) \
2601 (cd find; $(MAKE) $(FLAGS_TO_PASS) install)
2604 .PHONY: configure-flex maybe-configure-flex
2605 maybe-configure-flex:
2606 configure-flex: flex/Makefile
2608 flex/Makefile: config.status
2609 @[ -d flex ] || mkdir flex; \
2610 r=`${PWD}`; export r; \
2611 s=`cd $(srcdir); ${PWD}`; export s; \
2612 CC="$(CC)"; export CC; \
2613 CFLAGS="$(CFLAGS)"; export CFLAGS; \
2614 CXX="$(CXX)"; export CXX; \
2615 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
2616 if [ z$(build_canonical) != z$(host_canoncial) ] ; then \
2617 AR="$(AR)"; export AR; \
2618 AS="$(AS)"; export AS; \
2619 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
2620 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
2621 LD="$(LD)"; export LD; \
2622 NM="$(NM)"; export NM; \
2623 RANLIB="$(RANLIB)"; export RANLIB; \
2624 WINDRES="$(WINDRES)"; export WINDRES; \
2625 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
2626 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
2627 fi; \
2628 echo Configuring in flex; \
2629 cd flex || exit 1; \
2630 case $(srcdir) in \
2631 \.) \
2632 srcdiroption="--srcdir=."; \
2633 libsrcdir=".";; \
2634 /* | [A-Za-z]:[\\/]*) \
2635 srcdiroption="--srcdir=$(srcdir)/flex"; \
2636 libsrcdir="$$s/flex";; \
2637 *) \
2638 srcdiroption="--srcdir=../$(srcdir)/flex"; \
2639 libsrcdir="$$s/flex";; \
2640 esac; \
2641 $(SHELL) $${libsrcdir}/configure \
2642 $(HOST_CONFIGARGS) $${srcdiroption} \
2643 || exit 1
2645 .PHONY: all-flex maybe-all-flex
2646 maybe-all-flex:
2647 all-flex: configure-flex
2648 @r=`${PWD}`; export r; \
2649 s=`cd $(srcdir); ${PWD}`; export s; \
2650 $(SET_LIB_PATH) \
2651 (cd flex; $(MAKE) $(FLAGS_TO_PASS) all)
2654 .PHONY: check-flex
2655 # This module is only tested in a native toolchain.
2656 check-flex:
2657 @if [ '$(host_canonical)' = '$(target_canonical)' ] ; then \
2658 r=`${PWD}`; export r; \
2659 s=`cd $(srcdir); ${PWD}`; export s; \
2660 $(SET_LIB_PATH) \
2661 (cd flex; $(MAKE) $(FLAGS_TO_PASS) check); \
2666 .PHONY: install-flex maybe-install-flex
2667 maybe-install-flex:
2668 install-flex: installdirs
2669 @r=`${PWD}`; export r; \
2670 s=`cd $(srcdir); ${PWD}`; export s; \
2671 $(SET_LIB_PATH) \
2672 (cd flex; $(MAKE) $(FLAGS_TO_PASS) install)
2675 .PHONY: configure-gas maybe-configure-gas
2676 maybe-configure-gas:
2677 configure-gas: gas/Makefile
2679 gas/Makefile: config.status
2680 @[ -d gas ] || mkdir gas; \
2681 r=`${PWD}`; export r; \
2682 s=`cd $(srcdir); ${PWD}`; export s; \
2683 CC="$(CC)"; export CC; \
2684 CFLAGS="$(CFLAGS)"; export CFLAGS; \
2685 CXX="$(CXX)"; export CXX; \
2686 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
2687 if [ z$(build_canonical) != z$(host_canoncial) ] ; then \
2688 AR="$(AR)"; export AR; \
2689 AS="$(AS)"; export AS; \
2690 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
2691 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
2692 LD="$(LD)"; export LD; \
2693 NM="$(NM)"; export NM; \
2694 RANLIB="$(RANLIB)"; export RANLIB; \
2695 WINDRES="$(WINDRES)"; export WINDRES; \
2696 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
2697 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
2698 fi; \
2699 echo Configuring in gas; \
2700 cd gas || exit 1; \
2701 case $(srcdir) in \
2702 \.) \
2703 srcdiroption="--srcdir=."; \
2704 libsrcdir=".";; \
2705 /* | [A-Za-z]:[\\/]*) \
2706 srcdiroption="--srcdir=$(srcdir)/gas"; \
2707 libsrcdir="$$s/gas";; \
2708 *) \
2709 srcdiroption="--srcdir=../$(srcdir)/gas"; \
2710 libsrcdir="$$s/gas";; \
2711 esac; \
2712 $(SHELL) $${libsrcdir}/configure \
2713 $(HOST_CONFIGARGS) $${srcdiroption} \
2714 || exit 1
2716 .PHONY: all-gas maybe-all-gas
2717 maybe-all-gas:
2718 all-gas: configure-gas
2719 @r=`${PWD}`; export r; \
2720 s=`cd $(srcdir); ${PWD}`; export s; \
2721 $(SET_LIB_PATH) \
2722 (cd gas; $(MAKE) $(FLAGS_TO_PASS) all)
2725 .PHONY: check-gas
2726 check-gas:
2727 @r=`${PWD}`; export r; \
2728 s=`cd $(srcdir); ${PWD}`; export s; \
2729 $(SET_LIB_PATH) \
2730 (cd gas; $(MAKE) $(FLAGS_TO_PASS) check)
2734 .PHONY: install-gas maybe-install-gas
2735 maybe-install-gas:
2736 install-gas: installdirs
2737 @r=`${PWD}`; export r; \
2738 s=`cd $(srcdir); ${PWD}`; export s; \
2739 $(SET_LIB_PATH) \
2740 (cd gas; $(MAKE) $(FLAGS_TO_PASS) install)
2743 .PHONY: configure-gawk maybe-configure-gawk
2744 maybe-configure-gawk:
2745 configure-gawk: gawk/Makefile
2747 gawk/Makefile: config.status
2748 @[ -d gawk ] || mkdir gawk; \
2749 r=`${PWD}`; export r; \
2750 s=`cd $(srcdir); ${PWD}`; export s; \
2751 CC="$(CC)"; export CC; \
2752 CFLAGS="$(CFLAGS)"; export CFLAGS; \
2753 CXX="$(CXX)"; export CXX; \
2754 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
2755 if [ z$(build_canonical) != z$(host_canoncial) ] ; then \
2756 AR="$(AR)"; export AR; \
2757 AS="$(AS)"; export AS; \
2758 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
2759 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
2760 LD="$(LD)"; export LD; \
2761 NM="$(NM)"; export NM; \
2762 RANLIB="$(RANLIB)"; export RANLIB; \
2763 WINDRES="$(WINDRES)"; export WINDRES; \
2764 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
2765 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
2766 fi; \
2767 echo Configuring in gawk; \
2768 cd gawk || exit 1; \
2769 case $(srcdir) in \
2770 \.) \
2771 srcdiroption="--srcdir=."; \
2772 libsrcdir=".";; \
2773 /* | [A-Za-z]:[\\/]*) \
2774 srcdiroption="--srcdir=$(srcdir)/gawk"; \
2775 libsrcdir="$$s/gawk";; \
2776 *) \
2777 srcdiroption="--srcdir=../$(srcdir)/gawk"; \
2778 libsrcdir="$$s/gawk";; \
2779 esac; \
2780 $(SHELL) $${libsrcdir}/configure \
2781 $(HOST_CONFIGARGS) $${srcdiroption} \
2782 || exit 1
2784 .PHONY: all-gawk maybe-all-gawk
2785 maybe-all-gawk:
2786 all-gawk: configure-gawk
2787 @r=`${PWD}`; export r; \
2788 s=`cd $(srcdir); ${PWD}`; export s; \
2789 $(SET_LIB_PATH) \
2790 (cd gawk; $(MAKE) $(FLAGS_TO_PASS) all)
2793 .PHONY: check-gawk
2794 check-gawk:
2795 @r=`${PWD}`; export r; \
2796 s=`cd $(srcdir); ${PWD}`; export s; \
2797 $(SET_LIB_PATH) \
2798 (cd gawk; $(MAKE) $(FLAGS_TO_PASS) check)
2802 .PHONY: install-gawk maybe-install-gawk
2803 maybe-install-gawk:
2804 install-gawk: installdirs
2805 @r=`${PWD}`; export r; \
2806 s=`cd $(srcdir); ${PWD}`; export s; \
2807 $(SET_LIB_PATH) \
2808 (cd gawk; $(MAKE) $(FLAGS_TO_PASS) install)
2811 .PHONY: configure-gettext maybe-configure-gettext
2812 maybe-configure-gettext:
2813 configure-gettext: gettext/Makefile
2815 gettext/Makefile: config.status
2816 @[ -d gettext ] || mkdir gettext; \
2817 r=`${PWD}`; export r; \
2818 s=`cd $(srcdir); ${PWD}`; export s; \
2819 CC="$(CC)"; export CC; \
2820 CFLAGS="$(CFLAGS)"; export CFLAGS; \
2821 CXX="$(CXX)"; export CXX; \
2822 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
2823 if [ z$(build_canonical) != z$(host_canoncial) ] ; then \
2824 AR="$(AR)"; export AR; \
2825 AS="$(AS)"; export AS; \
2826 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
2827 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
2828 LD="$(LD)"; export LD; \
2829 NM="$(NM)"; export NM; \
2830 RANLIB="$(RANLIB)"; export RANLIB; \
2831 WINDRES="$(WINDRES)"; export WINDRES; \
2832 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
2833 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
2834 fi; \
2835 echo Configuring in gettext; \
2836 cd gettext || exit 1; \
2837 case $(srcdir) in \
2838 \.) \
2839 srcdiroption="--srcdir=."; \
2840 libsrcdir=".";; \
2841 /* | [A-Za-z]:[\\/]*) \
2842 srcdiroption="--srcdir=$(srcdir)/gettext"; \
2843 libsrcdir="$$s/gettext";; \
2844 *) \
2845 srcdiroption="--srcdir=../$(srcdir)/gettext"; \
2846 libsrcdir="$$s/gettext";; \
2847 esac; \
2848 $(SHELL) $${libsrcdir}/configure \
2849 $(HOST_CONFIGARGS) $${srcdiroption} \
2850 || exit 1
2852 .PHONY: all-gettext maybe-all-gettext
2853 maybe-all-gettext:
2854 all-gettext: configure-gettext
2855 @r=`${PWD}`; export r; \
2856 s=`cd $(srcdir); ${PWD}`; export s; \
2857 $(SET_LIB_PATH) \
2858 (cd gettext; $(MAKE) $(FLAGS_TO_PASS) all)
2861 .PHONY: check-gettext
2862 check-gettext:
2863 @r=`${PWD}`; export r; \
2864 s=`cd $(srcdir); ${PWD}`; export s; \
2865 $(SET_LIB_PATH) \
2866 (cd gettext; $(MAKE) $(FLAGS_TO_PASS) check)
2870 .PHONY: install-gettext maybe-install-gettext
2871 maybe-install-gettext:
2872 install-gettext: installdirs
2873 @r=`${PWD}`; export r; \
2874 s=`cd $(srcdir); ${PWD}`; export s; \
2875 $(SET_LIB_PATH) \
2876 (cd gettext; $(MAKE) $(FLAGS_TO_PASS) install)
2879 .PHONY: configure-gnuserv maybe-configure-gnuserv
2880 maybe-configure-gnuserv:
2881 configure-gnuserv: gnuserv/Makefile
2883 gnuserv/Makefile: config.status
2884 @[ -d gnuserv ] || mkdir gnuserv; \
2885 r=`${PWD}`; export r; \
2886 s=`cd $(srcdir); ${PWD}`; export s; \
2887 CC="$(CC)"; export CC; \
2888 CFLAGS="$(CFLAGS)"; export CFLAGS; \
2889 CXX="$(CXX)"; export CXX; \
2890 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
2891 if [ z$(build_canonical) != z$(host_canoncial) ] ; then \
2892 AR="$(AR)"; export AR; \
2893 AS="$(AS)"; export AS; \
2894 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
2895 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
2896 LD="$(LD)"; export LD; \
2897 NM="$(NM)"; export NM; \
2898 RANLIB="$(RANLIB)"; export RANLIB; \
2899 WINDRES="$(WINDRES)"; export WINDRES; \
2900 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
2901 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
2902 fi; \
2903 echo Configuring in gnuserv; \
2904 cd gnuserv || exit 1; \
2905 case $(srcdir) in \
2906 \.) \
2907 srcdiroption="--srcdir=."; \
2908 libsrcdir=".";; \
2909 /* | [A-Za-z]:[\\/]*) \
2910 srcdiroption="--srcdir=$(srcdir)/gnuserv"; \
2911 libsrcdir="$$s/gnuserv";; \
2912 *) \
2913 srcdiroption="--srcdir=../$(srcdir)/gnuserv"; \
2914 libsrcdir="$$s/gnuserv";; \
2915 esac; \
2916 $(SHELL) $${libsrcdir}/configure \
2917 $(HOST_CONFIGARGS) $${srcdiroption} \
2918 || exit 1
2920 .PHONY: all-gnuserv maybe-all-gnuserv
2921 maybe-all-gnuserv:
2922 all-gnuserv: configure-gnuserv
2923 @r=`${PWD}`; export r; \
2924 s=`cd $(srcdir); ${PWD}`; export s; \
2925 $(SET_LIB_PATH) \
2926 (cd gnuserv; $(MAKE) $(FLAGS_TO_PASS) all)
2929 .PHONY: check-gnuserv
2930 check-gnuserv:
2931 @r=`${PWD}`; export r; \
2932 s=`cd $(srcdir); ${PWD}`; export s; \
2933 $(SET_LIB_PATH) \
2934 (cd gnuserv; $(MAKE) $(FLAGS_TO_PASS) check)
2938 .PHONY: install-gnuserv maybe-install-gnuserv
2939 maybe-install-gnuserv:
2940 install-gnuserv: installdirs
2941 @r=`${PWD}`; export r; \
2942 s=`cd $(srcdir); ${PWD}`; export s; \
2943 $(SET_LIB_PATH) \
2944 (cd gnuserv; $(MAKE) $(FLAGS_TO_PASS) install)
2947 .PHONY: configure-gprof maybe-configure-gprof
2948 maybe-configure-gprof:
2949 configure-gprof: gprof/Makefile
2951 gprof/Makefile: config.status
2952 @[ -d gprof ] || mkdir gprof; \
2953 r=`${PWD}`; export r; \
2954 s=`cd $(srcdir); ${PWD}`; export s; \
2955 CC="$(CC)"; export CC; \
2956 CFLAGS="$(CFLAGS)"; export CFLAGS; \
2957 CXX="$(CXX)"; export CXX; \
2958 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
2959 if [ z$(build_canonical) != z$(host_canoncial) ] ; then \
2960 AR="$(AR)"; export AR; \
2961 AS="$(AS)"; export AS; \
2962 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
2963 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
2964 LD="$(LD)"; export LD; \
2965 NM="$(NM)"; export NM; \
2966 RANLIB="$(RANLIB)"; export RANLIB; \
2967 WINDRES="$(WINDRES)"; export WINDRES; \
2968 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
2969 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
2970 fi; \
2971 echo Configuring in gprof; \
2972 cd gprof || exit 1; \
2973 case $(srcdir) in \
2974 \.) \
2975 srcdiroption="--srcdir=."; \
2976 libsrcdir=".";; \
2977 /* | [A-Za-z]:[\\/]*) \
2978 srcdiroption="--srcdir=$(srcdir)/gprof"; \
2979 libsrcdir="$$s/gprof";; \
2980 *) \
2981 srcdiroption="--srcdir=../$(srcdir)/gprof"; \
2982 libsrcdir="$$s/gprof";; \
2983 esac; \
2984 $(SHELL) $${libsrcdir}/configure \
2985 $(HOST_CONFIGARGS) $${srcdiroption} \
2986 || exit 1
2988 .PHONY: all-gprof maybe-all-gprof
2989 maybe-all-gprof:
2990 all-gprof: configure-gprof
2991 @r=`${PWD}`; export r; \
2992 s=`cd $(srcdir); ${PWD}`; export s; \
2993 $(SET_LIB_PATH) \
2994 (cd gprof; $(MAKE) $(FLAGS_TO_PASS) all)
2997 .PHONY: check-gprof
2998 check-gprof:
2999 @r=`${PWD}`; export r; \
3000 s=`cd $(srcdir); ${PWD}`; export s; \
3001 $(SET_LIB_PATH) \
3002 (cd gprof; $(MAKE) $(FLAGS_TO_PASS) check)
3006 .PHONY: install-gprof maybe-install-gprof
3007 maybe-install-gprof:
3008 install-gprof: installdirs
3009 @r=`${PWD}`; export r; \
3010 s=`cd $(srcdir); ${PWD}`; export s; \
3011 $(SET_LIB_PATH) \
3012 (cd gprof; $(MAKE) $(FLAGS_TO_PASS) install)
3015 .PHONY: configure-grep maybe-configure-grep
3016 maybe-configure-grep:
3017 configure-grep: grep/Makefile
3019 grep/Makefile: config.status
3020 @[ -d grep ] || mkdir grep; \
3021 r=`${PWD}`; export r; \
3022 s=`cd $(srcdir); ${PWD}`; export s; \
3023 CC="$(CC)"; export CC; \
3024 CFLAGS="$(CFLAGS)"; export CFLAGS; \
3025 CXX="$(CXX)"; export CXX; \
3026 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
3027 if [ z$(build_canonical) != z$(host_canoncial) ] ; then \
3028 AR="$(AR)"; export AR; \
3029 AS="$(AS)"; export AS; \
3030 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
3031 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
3032 LD="$(LD)"; export LD; \
3033 NM="$(NM)"; export NM; \
3034 RANLIB="$(RANLIB)"; export RANLIB; \
3035 WINDRES="$(WINDRES)"; export WINDRES; \
3036 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
3037 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
3038 fi; \
3039 echo Configuring in grep; \
3040 cd grep || exit 1; \
3041 case $(srcdir) in \
3042 \.) \
3043 srcdiroption="--srcdir=."; \
3044 libsrcdir=".";; \
3045 /* | [A-Za-z]:[\\/]*) \
3046 srcdiroption="--srcdir=$(srcdir)/grep"; \
3047 libsrcdir="$$s/grep";; \
3048 *) \
3049 srcdiroption="--srcdir=../$(srcdir)/grep"; \
3050 libsrcdir="$$s/grep";; \
3051 esac; \
3052 $(SHELL) $${libsrcdir}/configure \
3053 $(HOST_CONFIGARGS) $${srcdiroption} \
3054 || exit 1
3056 .PHONY: all-grep maybe-all-grep
3057 maybe-all-grep:
3058 all-grep: configure-grep
3059 @r=`${PWD}`; export r; \
3060 s=`cd $(srcdir); ${PWD}`; export s; \
3061 $(SET_LIB_PATH) \
3062 (cd grep; $(MAKE) $(FLAGS_TO_PASS) all)
3065 .PHONY: check-grep
3066 check-grep:
3067 @r=`${PWD}`; export r; \
3068 s=`cd $(srcdir); ${PWD}`; export s; \
3069 $(SET_LIB_PATH) \
3070 (cd grep; $(MAKE) $(FLAGS_TO_PASS) check)
3074 .PHONY: install-grep maybe-install-grep
3075 maybe-install-grep:
3076 install-grep: installdirs
3077 @r=`${PWD}`; export r; \
3078 s=`cd $(srcdir); ${PWD}`; export s; \
3079 $(SET_LIB_PATH) \
3080 (cd grep; $(MAKE) $(FLAGS_TO_PASS) install)
3083 .PHONY: configure-gzip maybe-configure-gzip
3084 maybe-configure-gzip:
3085 configure-gzip: gzip/Makefile
3087 gzip/Makefile: config.status
3088 @[ -d gzip ] || mkdir gzip; \
3089 r=`${PWD}`; export r; \
3090 s=`cd $(srcdir); ${PWD}`; export s; \
3091 CC="$(CC)"; export CC; \
3092 CFLAGS="$(CFLAGS)"; export CFLAGS; \
3093 CXX="$(CXX)"; export CXX; \
3094 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
3095 if [ z$(build_canonical) != z$(host_canoncial) ] ; then \
3096 AR="$(AR)"; export AR; \
3097 AS="$(AS)"; export AS; \
3098 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
3099 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
3100 LD="$(LD)"; export LD; \
3101 NM="$(NM)"; export NM; \
3102 RANLIB="$(RANLIB)"; export RANLIB; \
3103 WINDRES="$(WINDRES)"; export WINDRES; \
3104 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
3105 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
3106 fi; \
3107 echo Configuring in gzip; \
3108 cd gzip || exit 1; \
3109 case $(srcdir) in \
3110 \.) \
3111 srcdiroption="--srcdir=."; \
3112 libsrcdir=".";; \
3113 /* | [A-Za-z]:[\\/]*) \
3114 srcdiroption="--srcdir=$(srcdir)/gzip"; \
3115 libsrcdir="$$s/gzip";; \
3116 *) \
3117 srcdiroption="--srcdir=../$(srcdir)/gzip"; \
3118 libsrcdir="$$s/gzip";; \
3119 esac; \
3120 $(SHELL) $${libsrcdir}/configure \
3121 $(HOST_CONFIGARGS) $${srcdiroption} \
3122 || exit 1
3124 .PHONY: all-gzip maybe-all-gzip
3125 maybe-all-gzip:
3126 all-gzip: configure-gzip
3127 @r=`${PWD}`; export r; \
3128 s=`cd $(srcdir); ${PWD}`; export s; \
3129 $(SET_LIB_PATH) \
3130 (cd gzip; $(MAKE) $(FLAGS_TO_PASS) all)
3133 .PHONY: check-gzip
3134 check-gzip:
3135 @r=`${PWD}`; export r; \
3136 s=`cd $(srcdir); ${PWD}`; export s; \
3137 $(SET_LIB_PATH) \
3138 (cd gzip; $(MAKE) $(FLAGS_TO_PASS) check)
3142 .PHONY: install-gzip maybe-install-gzip
3143 maybe-install-gzip:
3144 install-gzip: installdirs
3145 @r=`${PWD}`; export r; \
3146 s=`cd $(srcdir); ${PWD}`; export s; \
3147 $(SET_LIB_PATH) \
3148 (cd gzip; $(MAKE) $(FLAGS_TO_PASS) install)
3151 .PHONY: configure-hello maybe-configure-hello
3152 maybe-configure-hello:
3153 configure-hello: hello/Makefile
3155 hello/Makefile: config.status
3156 @[ -d hello ] || mkdir hello; \
3157 r=`${PWD}`; export r; \
3158 s=`cd $(srcdir); ${PWD}`; export s; \
3159 CC="$(CC)"; export CC; \
3160 CFLAGS="$(CFLAGS)"; export CFLAGS; \
3161 CXX="$(CXX)"; export CXX; \
3162 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
3163 if [ z$(build_canonical) != z$(host_canoncial) ] ; then \
3164 AR="$(AR)"; export AR; \
3165 AS="$(AS)"; export AS; \
3166 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
3167 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
3168 LD="$(LD)"; export LD; \
3169 NM="$(NM)"; export NM; \
3170 RANLIB="$(RANLIB)"; export RANLIB; \
3171 WINDRES="$(WINDRES)"; export WINDRES; \
3172 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
3173 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
3174 fi; \
3175 echo Configuring in hello; \
3176 cd hello || exit 1; \
3177 case $(srcdir) in \
3178 \.) \
3179 srcdiroption="--srcdir=."; \
3180 libsrcdir=".";; \
3181 /* | [A-Za-z]:[\\/]*) \
3182 srcdiroption="--srcdir=$(srcdir)/hello"; \
3183 libsrcdir="$$s/hello";; \
3184 *) \
3185 srcdiroption="--srcdir=../$(srcdir)/hello"; \
3186 libsrcdir="$$s/hello";; \
3187 esac; \
3188 $(SHELL) $${libsrcdir}/configure \
3189 $(HOST_CONFIGARGS) $${srcdiroption} \
3190 || exit 1
3192 .PHONY: all-hello maybe-all-hello
3193 maybe-all-hello:
3194 all-hello: configure-hello
3195 @r=`${PWD}`; export r; \
3196 s=`cd $(srcdir); ${PWD}`; export s; \
3197 $(SET_LIB_PATH) \
3198 (cd hello; $(MAKE) $(FLAGS_TO_PASS) all)
3201 .PHONY: check-hello
3202 check-hello:
3203 @r=`${PWD}`; export r; \
3204 s=`cd $(srcdir); ${PWD}`; export s; \
3205 $(SET_LIB_PATH) \
3206 (cd hello; $(MAKE) $(FLAGS_TO_PASS) check)
3210 .PHONY: install-hello maybe-install-hello
3211 maybe-install-hello:
3212 install-hello: installdirs
3213 @r=`${PWD}`; export r; \
3214 s=`cd $(srcdir); ${PWD}`; export s; \
3215 $(SET_LIB_PATH) \
3216 (cd hello; $(MAKE) $(FLAGS_TO_PASS) install)
3219 .PHONY: configure-indent maybe-configure-indent
3220 maybe-configure-indent:
3221 configure-indent: indent/Makefile
3223 indent/Makefile: config.status
3224 @[ -d indent ] || mkdir indent; \
3225 r=`${PWD}`; export r; \
3226 s=`cd $(srcdir); ${PWD}`; export s; \
3227 CC="$(CC)"; export CC; \
3228 CFLAGS="$(CFLAGS)"; export CFLAGS; \
3229 CXX="$(CXX)"; export CXX; \
3230 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
3231 if [ z$(build_canonical) != z$(host_canoncial) ] ; then \
3232 AR="$(AR)"; export AR; \
3233 AS="$(AS)"; export AS; \
3234 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
3235 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
3236 LD="$(LD)"; export LD; \
3237 NM="$(NM)"; export NM; \
3238 RANLIB="$(RANLIB)"; export RANLIB; \
3239 WINDRES="$(WINDRES)"; export WINDRES; \
3240 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
3241 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
3242 fi; \
3243 echo Configuring in indent; \
3244 cd indent || exit 1; \
3245 case $(srcdir) in \
3246 \.) \
3247 srcdiroption="--srcdir=."; \
3248 libsrcdir=".";; \
3249 /* | [A-Za-z]:[\\/]*) \
3250 srcdiroption="--srcdir=$(srcdir)/indent"; \
3251 libsrcdir="$$s/indent";; \
3252 *) \
3253 srcdiroption="--srcdir=../$(srcdir)/indent"; \
3254 libsrcdir="$$s/indent";; \
3255 esac; \
3256 $(SHELL) $${libsrcdir}/configure \
3257 $(HOST_CONFIGARGS) $${srcdiroption} \
3258 || exit 1
3260 .PHONY: all-indent maybe-all-indent
3261 maybe-all-indent:
3262 all-indent: configure-indent
3263 @r=`${PWD}`; export r; \
3264 s=`cd $(srcdir); ${PWD}`; export s; \
3265 $(SET_LIB_PATH) \
3266 (cd indent; $(MAKE) $(FLAGS_TO_PASS) all)
3269 .PHONY: check-indent
3270 check-indent:
3271 @r=`${PWD}`; export r; \
3272 s=`cd $(srcdir); ${PWD}`; export s; \
3273 $(SET_LIB_PATH) \
3274 (cd indent; $(MAKE) $(FLAGS_TO_PASS) check)
3278 .PHONY: install-indent maybe-install-indent
3279 maybe-install-indent:
3280 install-indent: installdirs
3281 @r=`${PWD}`; export r; \
3282 s=`cd $(srcdir); ${PWD}`; export s; \
3283 $(SET_LIB_PATH) \
3284 (cd indent; $(MAKE) $(FLAGS_TO_PASS) install)
3287 .PHONY: configure-intl maybe-configure-intl
3288 maybe-configure-intl:
3289 configure-intl: intl/Makefile
3291 intl/Makefile: config.status
3292 @[ -d intl ] || mkdir intl; \
3293 r=`${PWD}`; export r; \
3294 s=`cd $(srcdir); ${PWD}`; export s; \
3295 CC="$(CC)"; export CC; \
3296 CFLAGS="$(CFLAGS)"; export CFLAGS; \
3297 CXX="$(CXX)"; export CXX; \
3298 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
3299 if [ z$(build_canonical) != z$(host_canoncial) ] ; then \
3300 AR="$(AR)"; export AR; \
3301 AS="$(AS)"; export AS; \
3302 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
3303 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
3304 LD="$(LD)"; export LD; \
3305 NM="$(NM)"; export NM; \
3306 RANLIB="$(RANLIB)"; export RANLIB; \
3307 WINDRES="$(WINDRES)"; export WINDRES; \
3308 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
3309 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
3310 fi; \
3311 echo Configuring in intl; \
3312 cd intl || exit 1; \
3313 case $(srcdir) in \
3314 \.) \
3315 srcdiroption="--srcdir=."; \
3316 libsrcdir=".";; \
3317 /* | [A-Za-z]:[\\/]*) \
3318 srcdiroption="--srcdir=$(srcdir)/intl"; \
3319 libsrcdir="$$s/intl";; \
3320 *) \
3321 srcdiroption="--srcdir=../$(srcdir)/intl"; \
3322 libsrcdir="$$s/intl";; \
3323 esac; \
3324 $(SHELL) $${libsrcdir}/configure \
3325 $(HOST_CONFIGARGS) $${srcdiroption} \
3326 || exit 1
3328 .PHONY: all-intl maybe-all-intl
3329 maybe-all-intl:
3330 all-intl: configure-intl
3331 @r=`${PWD}`; export r; \
3332 s=`cd $(srcdir); ${PWD}`; export s; \
3333 $(SET_LIB_PATH) \
3334 (cd intl; $(MAKE) $(FLAGS_TO_PASS) all)
3337 .PHONY: check-intl
3338 check-intl:
3339 @r=`${PWD}`; export r; \
3340 s=`cd $(srcdir); ${PWD}`; export s; \
3341 $(SET_LIB_PATH) \
3342 (cd intl; $(MAKE) $(FLAGS_TO_PASS) check)
3346 .PHONY: install-intl maybe-install-intl
3347 maybe-install-intl:
3348 install-intl: installdirs
3349 @r=`${PWD}`; export r; \
3350 s=`cd $(srcdir); ${PWD}`; export s; \
3351 $(SET_LIB_PATH) \
3352 (cd intl; $(MAKE) $(FLAGS_TO_PASS) install)
3355 .PHONY: configure-tcl maybe-configure-tcl
3356 maybe-configure-tcl:
3357 configure-tcl: tcl/Makefile
3359 tcl/Makefile: config.status
3360 @[ -d tcl ] || mkdir tcl; \
3361 r=`${PWD}`; export r; \
3362 s=`cd $(srcdir); ${PWD}`; export s; \
3363 CC="$(CC)"; export CC; \
3364 CFLAGS="$(CFLAGS)"; export CFLAGS; \
3365 CXX="$(CXX)"; export CXX; \
3366 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
3367 if [ z$(build_canonical) != z$(host_canoncial) ] ; then \
3368 AR="$(AR)"; export AR; \
3369 AS="$(AS)"; export AS; \
3370 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
3371 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
3372 LD="$(LD)"; export LD; \
3373 NM="$(NM)"; export NM; \
3374 RANLIB="$(RANLIB)"; export RANLIB; \
3375 WINDRES="$(WINDRES)"; export WINDRES; \
3376 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
3377 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
3378 fi; \
3379 echo Configuring in tcl; \
3380 cd tcl || exit 1; \
3381 case $(srcdir) in \
3382 \.) \
3383 srcdiroption="--srcdir=."; \
3384 libsrcdir=".";; \
3385 /* | [A-Za-z]:[\\/]*) \
3386 srcdiroption="--srcdir=$(srcdir)/tcl"; \
3387 libsrcdir="$$s/tcl";; \
3388 *) \
3389 srcdiroption="--srcdir=../$(srcdir)/tcl"; \
3390 libsrcdir="$$s/tcl";; \
3391 esac; \
3392 $(SHELL) $${libsrcdir}/configure \
3393 $(HOST_CONFIGARGS) $${srcdiroption} \
3394 || exit 1
3396 .PHONY: all-tcl maybe-all-tcl
3397 maybe-all-tcl:
3398 all-tcl: configure-tcl
3399 @r=`${PWD}`; export r; \
3400 s=`cd $(srcdir); ${PWD}`; export s; \
3401 $(SET_LIB_PATH) \
3402 (cd tcl; $(MAKE) $(FLAGS_TO_PASS) all)
3405 .PHONY: check-tcl
3406 check-tcl:
3407 @r=`${PWD}`; export r; \
3408 s=`cd $(srcdir); ${PWD}`; export s; \
3409 $(SET_LIB_PATH) \
3410 (cd tcl; $(MAKE) $(FLAGS_TO_PASS) check)
3414 .PHONY: install-tcl maybe-install-tcl
3415 maybe-install-tcl:
3416 install-tcl: installdirs
3417 @r=`${PWD}`; export r; \
3418 s=`cd $(srcdir); ${PWD}`; export s; \
3419 $(SET_LIB_PATH) \
3420 (cd tcl; $(MAKE) $(FLAGS_TO_PASS) install)
3423 .PHONY: configure-itcl maybe-configure-itcl
3424 maybe-configure-itcl:
3425 configure-itcl: itcl/Makefile
3427 itcl/Makefile: config.status
3428 @[ -d itcl ] || mkdir itcl; \
3429 r=`${PWD}`; export r; \
3430 s=`cd $(srcdir); ${PWD}`; export s; \
3431 CC="$(CC)"; export CC; \
3432 CFLAGS="$(CFLAGS)"; export CFLAGS; \
3433 CXX="$(CXX)"; export CXX; \
3434 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
3435 if [ z$(build_canonical) != z$(host_canoncial) ] ; then \
3436 AR="$(AR)"; export AR; \
3437 AS="$(AS)"; export AS; \
3438 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
3439 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
3440 LD="$(LD)"; export LD; \
3441 NM="$(NM)"; export NM; \
3442 RANLIB="$(RANLIB)"; export RANLIB; \
3443 WINDRES="$(WINDRES)"; export WINDRES; \
3444 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
3445 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
3446 fi; \
3447 echo Configuring in itcl; \
3448 cd itcl || exit 1; \
3449 case $(srcdir) in \
3450 \.) \
3451 srcdiroption="--srcdir=."; \
3452 libsrcdir=".";; \
3453 /* | [A-Za-z]:[\\/]*) \
3454 srcdiroption="--srcdir=$(srcdir)/itcl"; \
3455 libsrcdir="$$s/itcl";; \
3456 *) \
3457 srcdiroption="--srcdir=../$(srcdir)/itcl"; \
3458 libsrcdir="$$s/itcl";; \
3459 esac; \
3460 $(SHELL) $${libsrcdir}/configure \
3461 $(HOST_CONFIGARGS) $${srcdiroption} \
3462 || exit 1
3464 .PHONY: all-itcl maybe-all-itcl
3465 maybe-all-itcl:
3466 all-itcl: configure-itcl
3467 @r=`${PWD}`; export r; \
3468 s=`cd $(srcdir); ${PWD}`; export s; \
3469 $(SET_LIB_PATH) \
3470 (cd itcl; $(MAKE) $(FLAGS_TO_PASS) all)
3473 .PHONY: check-itcl
3474 check-itcl:
3475 @r=`${PWD}`; export r; \
3476 s=`cd $(srcdir); ${PWD}`; export s; \
3477 $(SET_LIB_PATH) \
3478 (cd itcl; $(MAKE) $(FLAGS_TO_PASS) check)
3482 .PHONY: install-itcl maybe-install-itcl
3483 maybe-install-itcl:
3484 install-itcl: installdirs
3485 @r=`${PWD}`; export r; \
3486 s=`cd $(srcdir); ${PWD}`; export s; \
3487 $(SET_LIB_PATH) \
3488 (cd itcl; $(MAKE) $(FLAGS_TO_PASS) install)
3491 .PHONY: configure-ld maybe-configure-ld
3492 maybe-configure-ld:
3493 configure-ld: ld/Makefile
3495 ld/Makefile: config.status
3496 @[ -d ld ] || mkdir ld; \
3497 r=`${PWD}`; export r; \
3498 s=`cd $(srcdir); ${PWD}`; export s; \
3499 CC="$(CC)"; export CC; \
3500 CFLAGS="$(CFLAGS)"; export CFLAGS; \
3501 CXX="$(CXX)"; export CXX; \
3502 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
3503 if [ z$(build_canonical) != z$(host_canoncial) ] ; then \
3504 AR="$(AR)"; export AR; \
3505 AS="$(AS)"; export AS; \
3506 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
3507 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
3508 LD="$(LD)"; export LD; \
3509 NM="$(NM)"; export NM; \
3510 RANLIB="$(RANLIB)"; export RANLIB; \
3511 WINDRES="$(WINDRES)"; export WINDRES; \
3512 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
3513 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
3514 fi; \
3515 echo Configuring in ld; \
3516 cd ld || exit 1; \
3517 case $(srcdir) in \
3518 \.) \
3519 srcdiroption="--srcdir=."; \
3520 libsrcdir=".";; \
3521 /* | [A-Za-z]:[\\/]*) \
3522 srcdiroption="--srcdir=$(srcdir)/ld"; \
3523 libsrcdir="$$s/ld";; \
3524 *) \
3525 srcdiroption="--srcdir=../$(srcdir)/ld"; \
3526 libsrcdir="$$s/ld";; \
3527 esac; \
3528 $(SHELL) $${libsrcdir}/configure \
3529 $(HOST_CONFIGARGS) $${srcdiroption} \
3530 || exit 1
3532 .PHONY: all-ld maybe-all-ld
3533 maybe-all-ld:
3534 all-ld: configure-ld
3535 @r=`${PWD}`; export r; \
3536 s=`cd $(srcdir); ${PWD}`; export s; \
3537 $(SET_LIB_PATH) \
3538 (cd ld; $(MAKE) $(FLAGS_TO_PASS) all)
3541 .PHONY: check-ld
3542 check-ld:
3543 @r=`${PWD}`; export r; \
3544 s=`cd $(srcdir); ${PWD}`; export s; \
3545 $(SET_LIB_PATH) \
3546 (cd ld; $(MAKE) $(FLAGS_TO_PASS) check)
3550 .PHONY: install-ld maybe-install-ld
3551 maybe-install-ld:
3552 install-ld: installdirs
3553 @r=`${PWD}`; export r; \
3554 s=`cd $(srcdir); ${PWD}`; export s; \
3555 $(SET_LIB_PATH) \
3556 (cd ld; $(MAKE) $(FLAGS_TO_PASS) install)
3559 .PHONY: configure-libgui maybe-configure-libgui
3560 maybe-configure-libgui:
3561 configure-libgui: libgui/Makefile
3563 libgui/Makefile: config.status
3564 @[ -d libgui ] || mkdir libgui; \
3565 r=`${PWD}`; export r; \
3566 s=`cd $(srcdir); ${PWD}`; export s; \
3567 CC="$(CC)"; export CC; \
3568 CFLAGS="$(CFLAGS)"; export CFLAGS; \
3569 CXX="$(CXX)"; export CXX; \
3570 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
3571 if [ z$(build_canonical) != z$(host_canoncial) ] ; then \
3572 AR="$(AR)"; export AR; \
3573 AS="$(AS)"; export AS; \
3574 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
3575 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
3576 LD="$(LD)"; export LD; \
3577 NM="$(NM)"; export NM; \
3578 RANLIB="$(RANLIB)"; export RANLIB; \
3579 WINDRES="$(WINDRES)"; export WINDRES; \
3580 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
3581 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
3582 fi; \
3583 echo Configuring in libgui; \
3584 cd libgui || exit 1; \
3585 case $(srcdir) in \
3586 \.) \
3587 srcdiroption="--srcdir=."; \
3588 libsrcdir=".";; \
3589 /* | [A-Za-z]:[\\/]*) \
3590 srcdiroption="--srcdir=$(srcdir)/libgui"; \
3591 libsrcdir="$$s/libgui";; \
3592 *) \
3593 srcdiroption="--srcdir=../$(srcdir)/libgui"; \
3594 libsrcdir="$$s/libgui";; \
3595 esac; \
3596 $(SHELL) $${libsrcdir}/configure \
3597 $(HOST_CONFIGARGS) $${srcdiroption} \
3598 || exit 1
3600 .PHONY: all-libgui maybe-all-libgui
3601 maybe-all-libgui:
3602 all-libgui: configure-libgui
3603 @r=`${PWD}`; export r; \
3604 s=`cd $(srcdir); ${PWD}`; export s; \
3605 $(SET_LIB_PATH) \
3606 (cd libgui; $(MAKE) $(FLAGS_TO_PASS) all)
3609 .PHONY: check-libgui
3610 check-libgui:
3611 @r=`${PWD}`; export r; \
3612 s=`cd $(srcdir); ${PWD}`; export s; \
3613 $(SET_LIB_PATH) \
3614 (cd libgui; $(MAKE) $(FLAGS_TO_PASS) check)
3618 .PHONY: install-libgui maybe-install-libgui
3619 maybe-install-libgui:
3620 install-libgui: installdirs
3621 @r=`${PWD}`; export r; \
3622 s=`cd $(srcdir); ${PWD}`; export s; \
3623 $(SET_LIB_PATH) \
3624 (cd libgui; $(MAKE) $(FLAGS_TO_PASS) install)
3627 .PHONY: configure-libiberty maybe-configure-libiberty
3628 maybe-configure-libiberty:
3629 configure-libiberty: libiberty/Makefile
3631 libiberty/Makefile: config.status
3632 @[ -d libiberty ] || mkdir libiberty; \
3633 r=`${PWD}`; export r; \
3634 s=`cd $(srcdir); ${PWD}`; export s; \
3635 CC="$(CC)"; export CC; \
3636 CFLAGS="$(CFLAGS)"; export CFLAGS; \
3637 CXX="$(CXX)"; export CXX; \
3638 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
3639 if [ z$(build_canonical) != z$(host_canoncial) ] ; then \
3640 AR="$(AR)"; export AR; \
3641 AS="$(AS)"; export AS; \
3642 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
3643 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
3644 LD="$(LD)"; export LD; \
3645 NM="$(NM)"; export NM; \
3646 RANLIB="$(RANLIB)"; export RANLIB; \
3647 WINDRES="$(WINDRES)"; export WINDRES; \
3648 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
3649 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
3650 fi; \
3651 echo Configuring in libiberty; \
3652 cd libiberty || exit 1; \
3653 case $(srcdir) in \
3654 \.) \
3655 srcdiroption="--srcdir=."; \
3656 libsrcdir=".";; \
3657 /* | [A-Za-z]:[\\/]*) \
3658 srcdiroption="--srcdir=$(srcdir)/libiberty"; \
3659 libsrcdir="$$s/libiberty";; \
3660 *) \
3661 srcdiroption="--srcdir=../$(srcdir)/libiberty"; \
3662 libsrcdir="$$s/libiberty";; \
3663 esac; \
3664 $(SHELL) $${libsrcdir}/configure \
3665 $(HOST_CONFIGARGS) $${srcdiroption} \
3666 || exit 1
3668 .PHONY: all-libiberty maybe-all-libiberty
3669 maybe-all-libiberty:
3670 all-libiberty: configure-libiberty
3671 @r=`${PWD}`; export r; \
3672 s=`cd $(srcdir); ${PWD}`; export s; \
3673 $(SET_LIB_PATH) \
3674 (cd libiberty; $(MAKE) $(FLAGS_TO_PASS) all)
3677 .PHONY: check-libiberty
3678 check-libiberty:
3679 @r=`${PWD}`; export r; \
3680 s=`cd $(srcdir); ${PWD}`; export s; \
3681 $(SET_LIB_PATH) \
3682 (cd libiberty; $(MAKE) $(FLAGS_TO_PASS) check)
3686 .PHONY: install-libiberty maybe-install-libiberty
3687 maybe-install-libiberty:
3688 install-libiberty: installdirs
3689 @r=`${PWD}`; export r; \
3690 s=`cd $(srcdir); ${PWD}`; export s; \
3691 $(SET_LIB_PATH) \
3692 (cd libiberty; $(MAKE) $(FLAGS_TO_PASS) install)
3695 .PHONY: configure-libtool maybe-configure-libtool
3696 maybe-configure-libtool:
3697 configure-libtool: libtool/Makefile
3699 libtool/Makefile: config.status
3700 @[ -d libtool ] || mkdir libtool; \
3701 r=`${PWD}`; export r; \
3702 s=`cd $(srcdir); ${PWD}`; export s; \
3703 CC="$(CC)"; export CC; \
3704 CFLAGS="$(CFLAGS)"; export CFLAGS; \
3705 CXX="$(CXX)"; export CXX; \
3706 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
3707 if [ z$(build_canonical) != z$(host_canoncial) ] ; then \
3708 AR="$(AR)"; export AR; \
3709 AS="$(AS)"; export AS; \
3710 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
3711 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
3712 LD="$(LD)"; export LD; \
3713 NM="$(NM)"; export NM; \
3714 RANLIB="$(RANLIB)"; export RANLIB; \
3715 WINDRES="$(WINDRES)"; export WINDRES; \
3716 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
3717 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
3718 fi; \
3719 echo Configuring in libtool; \
3720 cd libtool || exit 1; \
3721 case $(srcdir) in \
3722 \.) \
3723 srcdiroption="--srcdir=."; \
3724 libsrcdir=".";; \
3725 /* | [A-Za-z]:[\\/]*) \
3726 srcdiroption="--srcdir=$(srcdir)/libtool"; \
3727 libsrcdir="$$s/libtool";; \
3728 *) \
3729 srcdiroption="--srcdir=../$(srcdir)/libtool"; \
3730 libsrcdir="$$s/libtool";; \
3731 esac; \
3732 $(SHELL) $${libsrcdir}/configure \
3733 $(HOST_CONFIGARGS) $${srcdiroption} \
3734 || exit 1
3736 .PHONY: all-libtool maybe-all-libtool
3737 maybe-all-libtool:
3738 all-libtool: configure-libtool
3739 @r=`${PWD}`; export r; \
3740 s=`cd $(srcdir); ${PWD}`; export s; \
3741 $(SET_LIB_PATH) \
3742 (cd libtool; $(MAKE) $(FLAGS_TO_PASS) all)
3745 .PHONY: check-libtool
3746 check-libtool:
3747 @r=`${PWD}`; export r; \
3748 s=`cd $(srcdir); ${PWD}`; export s; \
3749 $(SET_LIB_PATH) \
3750 (cd libtool; $(MAKE) $(FLAGS_TO_PASS) check)
3754 .PHONY: install-libtool maybe-install-libtool
3755 maybe-install-libtool:
3756 install-libtool: installdirs
3757 @r=`${PWD}`; export r; \
3758 s=`cd $(srcdir); ${PWD}`; export s; \
3759 $(SET_LIB_PATH) \
3760 (cd libtool; $(MAKE) $(FLAGS_TO_PASS) install)
3763 .PHONY: configure-m4 maybe-configure-m4
3764 maybe-configure-m4:
3765 configure-m4: m4/Makefile
3767 m4/Makefile: config.status
3768 @[ -d m4 ] || mkdir m4; \
3769 r=`${PWD}`; export r; \
3770 s=`cd $(srcdir); ${PWD}`; export s; \
3771 CC="$(CC)"; export CC; \
3772 CFLAGS="$(CFLAGS)"; export CFLAGS; \
3773 CXX="$(CXX)"; export CXX; \
3774 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
3775 if [ z$(build_canonical) != z$(host_canoncial) ] ; then \
3776 AR="$(AR)"; export AR; \
3777 AS="$(AS)"; export AS; \
3778 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
3779 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
3780 LD="$(LD)"; export LD; \
3781 NM="$(NM)"; export NM; \
3782 RANLIB="$(RANLIB)"; export RANLIB; \
3783 WINDRES="$(WINDRES)"; export WINDRES; \
3784 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
3785 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
3786 fi; \
3787 echo Configuring in m4; \
3788 cd m4 || exit 1; \
3789 case $(srcdir) in \
3790 \.) \
3791 srcdiroption="--srcdir=."; \
3792 libsrcdir=".";; \
3793 /* | [A-Za-z]:[\\/]*) \
3794 srcdiroption="--srcdir=$(srcdir)/m4"; \
3795 libsrcdir="$$s/m4";; \
3796 *) \
3797 srcdiroption="--srcdir=../$(srcdir)/m4"; \
3798 libsrcdir="$$s/m4";; \
3799 esac; \
3800 $(SHELL) $${libsrcdir}/configure \
3801 $(HOST_CONFIGARGS) $${srcdiroption} \
3802 || exit 1
3804 .PHONY: all-m4 maybe-all-m4
3805 maybe-all-m4:
3806 all-m4: configure-m4
3807 @r=`${PWD}`; export r; \
3808 s=`cd $(srcdir); ${PWD}`; export s; \
3809 $(SET_LIB_PATH) \
3810 (cd m4; $(MAKE) $(FLAGS_TO_PASS) all)
3813 .PHONY: check-m4
3814 check-m4:
3815 @r=`${PWD}`; export r; \
3816 s=`cd $(srcdir); ${PWD}`; export s; \
3817 $(SET_LIB_PATH) \
3818 (cd m4; $(MAKE) $(FLAGS_TO_PASS) check)
3822 .PHONY: install-m4 maybe-install-m4
3823 maybe-install-m4:
3824 install-m4: installdirs
3825 @r=`${PWD}`; export r; \
3826 s=`cd $(srcdir); ${PWD}`; export s; \
3827 $(SET_LIB_PATH) \
3828 (cd m4; $(MAKE) $(FLAGS_TO_PASS) install)
3831 .PHONY: configure-make maybe-configure-make
3832 maybe-configure-make:
3833 configure-make: make/Makefile
3835 make/Makefile: config.status
3836 @[ -d make ] || mkdir make; \
3837 r=`${PWD}`; export r; \
3838 s=`cd $(srcdir); ${PWD}`; export s; \
3839 CC="$(CC)"; export CC; \
3840 CFLAGS="$(CFLAGS)"; export CFLAGS; \
3841 CXX="$(CXX)"; export CXX; \
3842 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
3843 if [ z$(build_canonical) != z$(host_canoncial) ] ; then \
3844 AR="$(AR)"; export AR; \
3845 AS="$(AS)"; export AS; \
3846 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
3847 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
3848 LD="$(LD)"; export LD; \
3849 NM="$(NM)"; export NM; \
3850 RANLIB="$(RANLIB)"; export RANLIB; \
3851 WINDRES="$(WINDRES)"; export WINDRES; \
3852 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
3853 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
3854 fi; \
3855 echo Configuring in make; \
3856 cd make || exit 1; \
3857 case $(srcdir) in \
3858 \.) \
3859 srcdiroption="--srcdir=."; \
3860 libsrcdir=".";; \
3861 /* | [A-Za-z]:[\\/]*) \
3862 srcdiroption="--srcdir=$(srcdir)/make"; \
3863 libsrcdir="$$s/make";; \
3864 *) \
3865 srcdiroption="--srcdir=../$(srcdir)/make"; \
3866 libsrcdir="$$s/make";; \
3867 esac; \
3868 $(SHELL) $${libsrcdir}/configure \
3869 $(HOST_CONFIGARGS) $${srcdiroption} \
3870 || exit 1
3872 .PHONY: all-make maybe-all-make
3873 maybe-all-make:
3874 all-make: configure-make
3875 @r=`${PWD}`; export r; \
3876 s=`cd $(srcdir); ${PWD}`; export s; \
3877 $(SET_LIB_PATH) \
3878 (cd make; $(MAKE) $(FLAGS_TO_PASS) all)
3881 .PHONY: check-make
3882 check-make:
3883 @r=`${PWD}`; export r; \
3884 s=`cd $(srcdir); ${PWD}`; export s; \
3885 $(SET_LIB_PATH) \
3886 (cd make; $(MAKE) $(FLAGS_TO_PASS) check)
3890 .PHONY: install-make maybe-install-make
3891 maybe-install-make:
3892 install-make: installdirs
3893 @r=`${PWD}`; export r; \
3894 s=`cd $(srcdir); ${PWD}`; export s; \
3895 $(SET_LIB_PATH) \
3896 (cd make; $(MAKE) $(FLAGS_TO_PASS) install)
3899 .PHONY: configure-mmalloc maybe-configure-mmalloc
3900 maybe-configure-mmalloc:
3901 configure-mmalloc: mmalloc/Makefile
3903 mmalloc/Makefile: config.status
3904 @[ -d mmalloc ] || mkdir mmalloc; \
3905 r=`${PWD}`; export r; \
3906 s=`cd $(srcdir); ${PWD}`; export s; \
3907 CC="$(CC)"; export CC; \
3908 CFLAGS="$(CFLAGS)"; export CFLAGS; \
3909 CXX="$(CXX)"; export CXX; \
3910 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
3911 if [ z$(build_canonical) != z$(host_canoncial) ] ; then \
3912 AR="$(AR)"; export AR; \
3913 AS="$(AS)"; export AS; \
3914 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
3915 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
3916 LD="$(LD)"; export LD; \
3917 NM="$(NM)"; export NM; \
3918 RANLIB="$(RANLIB)"; export RANLIB; \
3919 WINDRES="$(WINDRES)"; export WINDRES; \
3920 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
3921 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
3922 fi; \
3923 echo Configuring in mmalloc; \
3924 cd mmalloc || exit 1; \
3925 case $(srcdir) in \
3926 \.) \
3927 srcdiroption="--srcdir=."; \
3928 libsrcdir=".";; \
3929 /* | [A-Za-z]:[\\/]*) \
3930 srcdiroption="--srcdir=$(srcdir)/mmalloc"; \
3931 libsrcdir="$$s/mmalloc";; \
3932 *) \
3933 srcdiroption="--srcdir=../$(srcdir)/mmalloc"; \
3934 libsrcdir="$$s/mmalloc";; \
3935 esac; \
3936 $(SHELL) $${libsrcdir}/configure \
3937 $(HOST_CONFIGARGS) $${srcdiroption} \
3938 || exit 1
3940 .PHONY: all-mmalloc maybe-all-mmalloc
3941 maybe-all-mmalloc:
3942 all-mmalloc: configure-mmalloc
3943 @r=`${PWD}`; export r; \
3944 s=`cd $(srcdir); ${PWD}`; export s; \
3945 $(SET_LIB_PATH) \
3946 (cd mmalloc; $(MAKE) $(FLAGS_TO_PASS) all)
3949 .PHONY: check-mmalloc
3950 check-mmalloc:
3954 .PHONY: install-mmalloc maybe-install-mmalloc
3955 maybe-install-mmalloc:
3956 install-mmalloc: installdirs
3957 @r=`${PWD}`; export r; \
3958 s=`cd $(srcdir); ${PWD}`; export s; \
3959 $(SET_LIB_PATH) \
3960 (cd mmalloc; $(MAKE) $(FLAGS_TO_PASS) install)
3963 .PHONY: configure-patch maybe-configure-patch
3964 maybe-configure-patch:
3965 configure-patch: patch/Makefile
3967 patch/Makefile: config.status
3968 @[ -d patch ] || mkdir patch; \
3969 r=`${PWD}`; export r; \
3970 s=`cd $(srcdir); ${PWD}`; export s; \
3971 CC="$(CC)"; export CC; \
3972 CFLAGS="$(CFLAGS)"; export CFLAGS; \
3973 CXX="$(CXX)"; export CXX; \
3974 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
3975 if [ z$(build_canonical) != z$(host_canoncial) ] ; then \
3976 AR="$(AR)"; export AR; \
3977 AS="$(AS)"; export AS; \
3978 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
3979 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
3980 LD="$(LD)"; export LD; \
3981 NM="$(NM)"; export NM; \
3982 RANLIB="$(RANLIB)"; export RANLIB; \
3983 WINDRES="$(WINDRES)"; export WINDRES; \
3984 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
3985 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
3986 fi; \
3987 echo Configuring in patch; \
3988 cd patch || exit 1; \
3989 case $(srcdir) in \
3990 \.) \
3991 srcdiroption="--srcdir=."; \
3992 libsrcdir=".";; \
3993 /* | [A-Za-z]:[\\/]*) \
3994 srcdiroption="--srcdir=$(srcdir)/patch"; \
3995 libsrcdir="$$s/patch";; \
3996 *) \
3997 srcdiroption="--srcdir=../$(srcdir)/patch"; \
3998 libsrcdir="$$s/patch";; \
3999 esac; \
4000 $(SHELL) $${libsrcdir}/configure \
4001 $(HOST_CONFIGARGS) $${srcdiroption} \
4002 || exit 1
4004 .PHONY: all-patch maybe-all-patch
4005 maybe-all-patch:
4006 all-patch: configure-patch
4007 @r=`${PWD}`; export r; \
4008 s=`cd $(srcdir); ${PWD}`; export s; \
4009 $(SET_LIB_PATH) \
4010 (cd patch; $(MAKE) $(FLAGS_TO_PASS) all)
4013 .PHONY: check-patch
4014 check-patch:
4015 @r=`${PWD}`; export r; \
4016 s=`cd $(srcdir); ${PWD}`; export s; \
4017 $(SET_LIB_PATH) \
4018 (cd patch; $(MAKE) $(FLAGS_TO_PASS) check)
4022 .PHONY: install-patch maybe-install-patch
4023 maybe-install-patch:
4024 install-patch: installdirs
4025 @r=`${PWD}`; export r; \
4026 s=`cd $(srcdir); ${PWD}`; export s; \
4027 $(SET_LIB_PATH) \
4028 (cd patch; $(MAKE) $(FLAGS_TO_PASS) install)
4031 .PHONY: configure-perl maybe-configure-perl
4032 maybe-configure-perl:
4033 configure-perl: perl/Makefile
4035 perl/Makefile: config.status
4036 @[ -d perl ] || mkdir perl; \
4037 r=`${PWD}`; export r; \
4038 s=`cd $(srcdir); ${PWD}`; export s; \
4039 CC="$(CC)"; export CC; \
4040 CFLAGS="$(CFLAGS)"; export CFLAGS; \
4041 CXX="$(CXX)"; export CXX; \
4042 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
4043 if [ z$(build_canonical) != z$(host_canoncial) ] ; then \
4044 AR="$(AR)"; export AR; \
4045 AS="$(AS)"; export AS; \
4046 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
4047 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
4048 LD="$(LD)"; export LD; \
4049 NM="$(NM)"; export NM; \
4050 RANLIB="$(RANLIB)"; export RANLIB; \
4051 WINDRES="$(WINDRES)"; export WINDRES; \
4052 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
4053 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
4054 fi; \
4055 echo Configuring in perl; \
4056 cd perl || exit 1; \
4057 case $(srcdir) in \
4058 \.) \
4059 srcdiroption="--srcdir=."; \
4060 libsrcdir=".";; \
4061 /* | [A-Za-z]:[\\/]*) \
4062 srcdiroption="--srcdir=$(srcdir)/perl"; \
4063 libsrcdir="$$s/perl";; \
4064 *) \
4065 srcdiroption="--srcdir=../$(srcdir)/perl"; \
4066 libsrcdir="$$s/perl";; \
4067 esac; \
4068 $(SHELL) $${libsrcdir}/configure \
4069 $(HOST_CONFIGARGS) $${srcdiroption} \
4070 || exit 1
4072 .PHONY: all-perl maybe-all-perl
4073 maybe-all-perl:
4074 all-perl: configure-perl
4075 @r=`${PWD}`; export r; \
4076 s=`cd $(srcdir); ${PWD}`; export s; \
4077 $(SET_LIB_PATH) \
4078 (cd perl; $(MAKE) $(FLAGS_TO_PASS) all)
4081 .PHONY: check-perl
4082 check-perl:
4083 @r=`${PWD}`; export r; \
4084 s=`cd $(srcdir); ${PWD}`; export s; \
4085 $(SET_LIB_PATH) \
4086 (cd perl; $(MAKE) $(FLAGS_TO_PASS) check)
4090 .PHONY: install-perl maybe-install-perl
4091 maybe-install-perl:
4092 install-perl: installdirs
4093 @r=`${PWD}`; export r; \
4094 s=`cd $(srcdir); ${PWD}`; export s; \
4095 $(SET_LIB_PATH) \
4096 (cd perl; $(MAKE) $(FLAGS_TO_PASS) install)
4099 .PHONY: configure-prms maybe-configure-prms
4100 maybe-configure-prms:
4101 configure-prms: prms/Makefile
4103 prms/Makefile: config.status
4104 @[ -d prms ] || mkdir prms; \
4105 r=`${PWD}`; export r; \
4106 s=`cd $(srcdir); ${PWD}`; export s; \
4107 CC="$(CC)"; export CC; \
4108 CFLAGS="$(CFLAGS)"; export CFLAGS; \
4109 CXX="$(CXX)"; export CXX; \
4110 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
4111 if [ z$(build_canonical) != z$(host_canoncial) ] ; then \
4112 AR="$(AR)"; export AR; \
4113 AS="$(AS)"; export AS; \
4114 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
4115 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
4116 LD="$(LD)"; export LD; \
4117 NM="$(NM)"; export NM; \
4118 RANLIB="$(RANLIB)"; export RANLIB; \
4119 WINDRES="$(WINDRES)"; export WINDRES; \
4120 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
4121 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
4122 fi; \
4123 echo Configuring in prms; \
4124 cd prms || exit 1; \
4125 case $(srcdir) in \
4126 \.) \
4127 srcdiroption="--srcdir=."; \
4128 libsrcdir=".";; \
4129 /* | [A-Za-z]:[\\/]*) \
4130 srcdiroption="--srcdir=$(srcdir)/prms"; \
4131 libsrcdir="$$s/prms";; \
4132 *) \
4133 srcdiroption="--srcdir=../$(srcdir)/prms"; \
4134 libsrcdir="$$s/prms";; \
4135 esac; \
4136 $(SHELL) $${libsrcdir}/configure \
4137 $(HOST_CONFIGARGS) $${srcdiroption} \
4138 || exit 1
4140 .PHONY: all-prms maybe-all-prms
4141 maybe-all-prms:
4142 all-prms: configure-prms
4143 @r=`${PWD}`; export r; \
4144 s=`cd $(srcdir); ${PWD}`; export s; \
4145 $(SET_LIB_PATH) \
4146 (cd prms; $(MAKE) $(FLAGS_TO_PASS) all)
4149 .PHONY: check-prms
4150 check-prms:
4151 @r=`${PWD}`; export r; \
4152 s=`cd $(srcdir); ${PWD}`; export s; \
4153 $(SET_LIB_PATH) \
4154 (cd prms; $(MAKE) $(FLAGS_TO_PASS) check)
4158 .PHONY: install-prms maybe-install-prms
4159 maybe-install-prms:
4160 install-prms: installdirs
4161 @r=`${PWD}`; export r; \
4162 s=`cd $(srcdir); ${PWD}`; export s; \
4163 $(SET_LIB_PATH) \
4164 (cd prms; $(MAKE) $(FLAGS_TO_PASS) install)
4167 .PHONY: configure-rcs maybe-configure-rcs
4168 maybe-configure-rcs:
4169 configure-rcs: rcs/Makefile
4171 rcs/Makefile: config.status
4172 @[ -d rcs ] || mkdir rcs; \
4173 r=`${PWD}`; export r; \
4174 s=`cd $(srcdir); ${PWD}`; export s; \
4175 CC="$(CC)"; export CC; \
4176 CFLAGS="$(CFLAGS)"; export CFLAGS; \
4177 CXX="$(CXX)"; export CXX; \
4178 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
4179 if [ z$(build_canonical) != z$(host_canoncial) ] ; then \
4180 AR="$(AR)"; export AR; \
4181 AS="$(AS)"; export AS; \
4182 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
4183 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
4184 LD="$(LD)"; export LD; \
4185 NM="$(NM)"; export NM; \
4186 RANLIB="$(RANLIB)"; export RANLIB; \
4187 WINDRES="$(WINDRES)"; export WINDRES; \
4188 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
4189 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
4190 fi; \
4191 echo Configuring in rcs; \
4192 cd rcs || exit 1; \
4193 case $(srcdir) in \
4194 \.) \
4195 srcdiroption="--srcdir=."; \
4196 libsrcdir=".";; \
4197 /* | [A-Za-z]:[\\/]*) \
4198 srcdiroption="--srcdir=$(srcdir)/rcs"; \
4199 libsrcdir="$$s/rcs";; \
4200 *) \
4201 srcdiroption="--srcdir=../$(srcdir)/rcs"; \
4202 libsrcdir="$$s/rcs";; \
4203 esac; \
4204 $(SHELL) $${libsrcdir}/configure \
4205 $(HOST_CONFIGARGS) $${srcdiroption} \
4206 || exit 1
4208 .PHONY: all-rcs maybe-all-rcs
4209 maybe-all-rcs:
4210 all-rcs: configure-rcs
4211 @r=`${PWD}`; export r; \
4212 s=`cd $(srcdir); ${PWD}`; export s; \
4213 $(SET_LIB_PATH) \
4214 (cd rcs; $(MAKE) $(FLAGS_TO_PASS) all)
4217 .PHONY: check-rcs
4218 check-rcs:
4219 @r=`${PWD}`; export r; \
4220 s=`cd $(srcdir); ${PWD}`; export s; \
4221 $(SET_LIB_PATH) \
4222 (cd rcs; $(MAKE) $(FLAGS_TO_PASS) check)
4226 .PHONY: install-rcs maybe-install-rcs
4227 maybe-install-rcs:
4228 install-rcs: installdirs
4229 @r=`${PWD}`; export r; \
4230 s=`cd $(srcdir); ${PWD}`; export s; \
4231 $(SET_LIB_PATH) \
4232 (cd rcs; $(MAKE) $(FLAGS_TO_PASS) install)
4235 .PHONY: configure-readline maybe-configure-readline
4236 maybe-configure-readline:
4237 configure-readline: readline/Makefile
4239 readline/Makefile: config.status
4240 @[ -d readline ] || mkdir readline; \
4241 r=`${PWD}`; export r; \
4242 s=`cd $(srcdir); ${PWD}`; export s; \
4243 CC="$(CC)"; export CC; \
4244 CFLAGS="$(CFLAGS)"; export CFLAGS; \
4245 CXX="$(CXX)"; export CXX; \
4246 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
4247 if [ z$(build_canonical) != z$(host_canoncial) ] ; then \
4248 AR="$(AR)"; export AR; \
4249 AS="$(AS)"; export AS; \
4250 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
4251 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
4252 LD="$(LD)"; export LD; \
4253 NM="$(NM)"; export NM; \
4254 RANLIB="$(RANLIB)"; export RANLIB; \
4255 WINDRES="$(WINDRES)"; export WINDRES; \
4256 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
4257 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
4258 fi; \
4259 echo Configuring in readline; \
4260 cd readline || exit 1; \
4261 case $(srcdir) in \
4262 \.) \
4263 srcdiroption="--srcdir=."; \
4264 libsrcdir=".";; \
4265 /* | [A-Za-z]:[\\/]*) \
4266 srcdiroption="--srcdir=$(srcdir)/readline"; \
4267 libsrcdir="$$s/readline";; \
4268 *) \
4269 srcdiroption="--srcdir=../$(srcdir)/readline"; \
4270 libsrcdir="$$s/readline";; \
4271 esac; \
4272 $(SHELL) $${libsrcdir}/configure \
4273 $(HOST_CONFIGARGS) $${srcdiroption} \
4274 || exit 1
4276 .PHONY: all-readline maybe-all-readline
4277 maybe-all-readline:
4278 all-readline: configure-readline
4279 @r=`${PWD}`; export r; \
4280 s=`cd $(srcdir); ${PWD}`; export s; \
4281 $(SET_LIB_PATH) \
4282 (cd readline; $(MAKE) $(FLAGS_TO_PASS) all)
4285 .PHONY: check-readline
4286 check-readline:
4287 @r=`${PWD}`; export r; \
4288 s=`cd $(srcdir); ${PWD}`; export s; \
4289 $(SET_LIB_PATH) \
4290 (cd readline; $(MAKE) $(FLAGS_TO_PASS) check)
4294 .PHONY: install-readline maybe-install-readline
4295 maybe-install-readline:
4296 install-readline: installdirs
4297 @r=`${PWD}`; export r; \
4298 s=`cd $(srcdir); ${PWD}`; export s; \
4299 $(SET_LIB_PATH) \
4300 (cd readline; $(MAKE) $(FLAGS_TO_PASS) install)
4303 .PHONY: configure-release maybe-configure-release
4304 maybe-configure-release:
4305 configure-release: release/Makefile
4307 release/Makefile: config.status
4308 @[ -d release ] || mkdir release; \
4309 r=`${PWD}`; export r; \
4310 s=`cd $(srcdir); ${PWD}`; export s; \
4311 CC="$(CC)"; export CC; \
4312 CFLAGS="$(CFLAGS)"; export CFLAGS; \
4313 CXX="$(CXX)"; export CXX; \
4314 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
4315 if [ z$(build_canonical) != z$(host_canoncial) ] ; then \
4316 AR="$(AR)"; export AR; \
4317 AS="$(AS)"; export AS; \
4318 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
4319 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
4320 LD="$(LD)"; export LD; \
4321 NM="$(NM)"; export NM; \
4322 RANLIB="$(RANLIB)"; export RANLIB; \
4323 WINDRES="$(WINDRES)"; export WINDRES; \
4324 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
4325 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
4326 fi; \
4327 echo Configuring in release; \
4328 cd release || exit 1; \
4329 case $(srcdir) in \
4330 \.) \
4331 srcdiroption="--srcdir=."; \
4332 libsrcdir=".";; \
4333 /* | [A-Za-z]:[\\/]*) \
4334 srcdiroption="--srcdir=$(srcdir)/release"; \
4335 libsrcdir="$$s/release";; \
4336 *) \
4337 srcdiroption="--srcdir=../$(srcdir)/release"; \
4338 libsrcdir="$$s/release";; \
4339 esac; \
4340 $(SHELL) $${libsrcdir}/configure \
4341 $(HOST_CONFIGARGS) $${srcdiroption} \
4342 || exit 1
4344 .PHONY: all-release maybe-all-release
4345 maybe-all-release:
4346 all-release: configure-release
4347 @r=`${PWD}`; export r; \
4348 s=`cd $(srcdir); ${PWD}`; export s; \
4349 $(SET_LIB_PATH) \
4350 (cd release; $(MAKE) $(FLAGS_TO_PASS) all)
4353 .PHONY: check-release
4354 check-release:
4358 .PHONY: install-release maybe-install-release
4359 maybe-install-release:
4360 install-release:
4363 .PHONY: configure-recode maybe-configure-recode
4364 maybe-configure-recode:
4365 configure-recode: recode/Makefile
4367 recode/Makefile: config.status
4368 @[ -d recode ] || mkdir recode; \
4369 r=`${PWD}`; export r; \
4370 s=`cd $(srcdir); ${PWD}`; export s; \
4371 CC="$(CC)"; export CC; \
4372 CFLAGS="$(CFLAGS)"; export CFLAGS; \
4373 CXX="$(CXX)"; export CXX; \
4374 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
4375 if [ z$(build_canonical) != z$(host_canoncial) ] ; then \
4376 AR="$(AR)"; export AR; \
4377 AS="$(AS)"; export AS; \
4378 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
4379 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
4380 LD="$(LD)"; export LD; \
4381 NM="$(NM)"; export NM; \
4382 RANLIB="$(RANLIB)"; export RANLIB; \
4383 WINDRES="$(WINDRES)"; export WINDRES; \
4384 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
4385 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
4386 fi; \
4387 echo Configuring in recode; \
4388 cd recode || exit 1; \
4389 case $(srcdir) in \
4390 \.) \
4391 srcdiroption="--srcdir=."; \
4392 libsrcdir=".";; \
4393 /* | [A-Za-z]:[\\/]*) \
4394 srcdiroption="--srcdir=$(srcdir)/recode"; \
4395 libsrcdir="$$s/recode";; \
4396 *) \
4397 srcdiroption="--srcdir=../$(srcdir)/recode"; \
4398 libsrcdir="$$s/recode";; \
4399 esac; \
4400 $(SHELL) $${libsrcdir}/configure \
4401 $(HOST_CONFIGARGS) $${srcdiroption} \
4402 || exit 1
4404 .PHONY: all-recode maybe-all-recode
4405 maybe-all-recode:
4406 all-recode: configure-recode
4407 @r=`${PWD}`; export r; \
4408 s=`cd $(srcdir); ${PWD}`; export s; \
4409 $(SET_LIB_PATH) \
4410 (cd recode; $(MAKE) $(FLAGS_TO_PASS) all)
4413 .PHONY: check-recode
4414 check-recode:
4415 @r=`${PWD}`; export r; \
4416 s=`cd $(srcdir); ${PWD}`; export s; \
4417 $(SET_LIB_PATH) \
4418 (cd recode; $(MAKE) $(FLAGS_TO_PASS) check)
4422 .PHONY: install-recode maybe-install-recode
4423 maybe-install-recode:
4424 install-recode: installdirs
4425 @r=`${PWD}`; export r; \
4426 s=`cd $(srcdir); ${PWD}`; export s; \
4427 $(SET_LIB_PATH) \
4428 (cd recode; $(MAKE) $(FLAGS_TO_PASS) install)
4431 .PHONY: configure-sed maybe-configure-sed
4432 maybe-configure-sed:
4433 configure-sed: sed/Makefile
4435 sed/Makefile: config.status
4436 @[ -d sed ] || mkdir sed; \
4437 r=`${PWD}`; export r; \
4438 s=`cd $(srcdir); ${PWD}`; export s; \
4439 CC="$(CC)"; export CC; \
4440 CFLAGS="$(CFLAGS)"; export CFLAGS; \
4441 CXX="$(CXX)"; export CXX; \
4442 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
4443 if [ z$(build_canonical) != z$(host_canoncial) ] ; then \
4444 AR="$(AR)"; export AR; \
4445 AS="$(AS)"; export AS; \
4446 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
4447 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
4448 LD="$(LD)"; export LD; \
4449 NM="$(NM)"; export NM; \
4450 RANLIB="$(RANLIB)"; export RANLIB; \
4451 WINDRES="$(WINDRES)"; export WINDRES; \
4452 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
4453 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
4454 fi; \
4455 echo Configuring in sed; \
4456 cd sed || exit 1; \
4457 case $(srcdir) in \
4458 \.) \
4459 srcdiroption="--srcdir=."; \
4460 libsrcdir=".";; \
4461 /* | [A-Za-z]:[\\/]*) \
4462 srcdiroption="--srcdir=$(srcdir)/sed"; \
4463 libsrcdir="$$s/sed";; \
4464 *) \
4465 srcdiroption="--srcdir=../$(srcdir)/sed"; \
4466 libsrcdir="$$s/sed";; \
4467 esac; \
4468 $(SHELL) $${libsrcdir}/configure \
4469 $(HOST_CONFIGARGS) $${srcdiroption} \
4470 || exit 1
4472 .PHONY: all-sed maybe-all-sed
4473 maybe-all-sed:
4474 all-sed: configure-sed
4475 @r=`${PWD}`; export r; \
4476 s=`cd $(srcdir); ${PWD}`; export s; \
4477 $(SET_LIB_PATH) \
4478 (cd sed; $(MAKE) $(FLAGS_TO_PASS) all)
4481 .PHONY: check-sed
4482 check-sed:
4483 @r=`${PWD}`; export r; \
4484 s=`cd $(srcdir); ${PWD}`; export s; \
4485 $(SET_LIB_PATH) \
4486 (cd sed; $(MAKE) $(FLAGS_TO_PASS) check)
4490 .PHONY: install-sed maybe-install-sed
4491 maybe-install-sed:
4492 install-sed: installdirs
4493 @r=`${PWD}`; export r; \
4494 s=`cd $(srcdir); ${PWD}`; export s; \
4495 $(SET_LIB_PATH) \
4496 (cd sed; $(MAKE) $(FLAGS_TO_PASS) install)
4499 .PHONY: configure-send-pr maybe-configure-send-pr
4500 maybe-configure-send-pr:
4501 configure-send-pr: send-pr/Makefile
4503 send-pr/Makefile: config.status
4504 @[ -d send-pr ] || mkdir send-pr; \
4505 r=`${PWD}`; export r; \
4506 s=`cd $(srcdir); ${PWD}`; export s; \
4507 CC="$(CC)"; export CC; \
4508 CFLAGS="$(CFLAGS)"; export CFLAGS; \
4509 CXX="$(CXX)"; export CXX; \
4510 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
4511 if [ z$(build_canonical) != z$(host_canoncial) ] ; then \
4512 AR="$(AR)"; export AR; \
4513 AS="$(AS)"; export AS; \
4514 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
4515 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
4516 LD="$(LD)"; export LD; \
4517 NM="$(NM)"; export NM; \
4518 RANLIB="$(RANLIB)"; export RANLIB; \
4519 WINDRES="$(WINDRES)"; export WINDRES; \
4520 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
4521 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
4522 fi; \
4523 echo Configuring in send-pr; \
4524 cd send-pr || exit 1; \
4525 case $(srcdir) in \
4526 \.) \
4527 srcdiroption="--srcdir=."; \
4528 libsrcdir=".";; \
4529 /* | [A-Za-z]:[\\/]*) \
4530 srcdiroption="--srcdir=$(srcdir)/send-pr"; \
4531 libsrcdir="$$s/send-pr";; \
4532 *) \
4533 srcdiroption="--srcdir=../$(srcdir)/send-pr"; \
4534 libsrcdir="$$s/send-pr";; \
4535 esac; \
4536 $(SHELL) $${libsrcdir}/configure \
4537 $(HOST_CONFIGARGS) $${srcdiroption} \
4538 || exit 1
4540 .PHONY: all-send-pr maybe-all-send-pr
4541 maybe-all-send-pr:
4542 all-send-pr: configure-send-pr
4543 @r=`${PWD}`; export r; \
4544 s=`cd $(srcdir); ${PWD}`; export s; \
4545 $(SET_LIB_PATH) \
4546 (cd send-pr; $(MAKE) $(FLAGS_TO_PASS) all)
4549 .PHONY: check-send-pr
4550 check-send-pr:
4551 @r=`${PWD}`; export r; \
4552 s=`cd $(srcdir); ${PWD}`; export s; \
4553 $(SET_LIB_PATH) \
4554 (cd send-pr; $(MAKE) $(FLAGS_TO_PASS) check)
4558 .PHONY: install-send-pr maybe-install-send-pr
4559 maybe-install-send-pr:
4560 install-send-pr: installdirs
4561 @r=`${PWD}`; export r; \
4562 s=`cd $(srcdir); ${PWD}`; export s; \
4563 $(SET_LIB_PATH) \
4564 (cd send-pr; $(MAKE) $(FLAGS_TO_PASS) install)
4567 .PHONY: configure-shellutils maybe-configure-shellutils
4568 maybe-configure-shellutils:
4569 configure-shellutils: shellutils/Makefile
4571 shellutils/Makefile: config.status
4572 @[ -d shellutils ] || mkdir shellutils; \
4573 r=`${PWD}`; export r; \
4574 s=`cd $(srcdir); ${PWD}`; export s; \
4575 CC="$(CC)"; export CC; \
4576 CFLAGS="$(CFLAGS)"; export CFLAGS; \
4577 CXX="$(CXX)"; export CXX; \
4578 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
4579 if [ z$(build_canonical) != z$(host_canoncial) ] ; then \
4580 AR="$(AR)"; export AR; \
4581 AS="$(AS)"; export AS; \
4582 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
4583 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
4584 LD="$(LD)"; export LD; \
4585 NM="$(NM)"; export NM; \
4586 RANLIB="$(RANLIB)"; export RANLIB; \
4587 WINDRES="$(WINDRES)"; export WINDRES; \
4588 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
4589 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
4590 fi; \
4591 echo Configuring in shellutils; \
4592 cd shellutils || exit 1; \
4593 case $(srcdir) in \
4594 \.) \
4595 srcdiroption="--srcdir=."; \
4596 libsrcdir=".";; \
4597 /* | [A-Za-z]:[\\/]*) \
4598 srcdiroption="--srcdir=$(srcdir)/shellutils"; \
4599 libsrcdir="$$s/shellutils";; \
4600 *) \
4601 srcdiroption="--srcdir=../$(srcdir)/shellutils"; \
4602 libsrcdir="$$s/shellutils";; \
4603 esac; \
4604 $(SHELL) $${libsrcdir}/configure \
4605 $(HOST_CONFIGARGS) $${srcdiroption} \
4606 || exit 1
4608 .PHONY: all-shellutils maybe-all-shellutils
4609 maybe-all-shellutils:
4610 all-shellutils: configure-shellutils
4611 @r=`${PWD}`; export r; \
4612 s=`cd $(srcdir); ${PWD}`; export s; \
4613 $(SET_LIB_PATH) \
4614 (cd shellutils; $(MAKE) $(FLAGS_TO_PASS) all)
4617 .PHONY: check-shellutils
4618 check-shellutils:
4619 @r=`${PWD}`; export r; \
4620 s=`cd $(srcdir); ${PWD}`; export s; \
4621 $(SET_LIB_PATH) \
4622 (cd shellutils; $(MAKE) $(FLAGS_TO_PASS) check)
4626 .PHONY: install-shellutils maybe-install-shellutils
4627 maybe-install-shellutils:
4628 install-shellutils: installdirs
4629 @r=`${PWD}`; export r; \
4630 s=`cd $(srcdir); ${PWD}`; export s; \
4631 $(SET_LIB_PATH) \
4632 (cd shellutils; $(MAKE) $(FLAGS_TO_PASS) install)
4635 .PHONY: configure-sid maybe-configure-sid
4636 maybe-configure-sid:
4637 configure-sid: sid/Makefile
4639 sid/Makefile: config.status
4640 @[ -d sid ] || mkdir sid; \
4641 r=`${PWD}`; export r; \
4642 s=`cd $(srcdir); ${PWD}`; export s; \
4643 CC="$(CC)"; export CC; \
4644 CFLAGS="$(CFLAGS)"; export CFLAGS; \
4645 CXX="$(CXX)"; export CXX; \
4646 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
4647 if [ z$(build_canonical) != z$(host_canoncial) ] ; then \
4648 AR="$(AR)"; export AR; \
4649 AS="$(AS)"; export AS; \
4650 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
4651 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
4652 LD="$(LD)"; export LD; \
4653 NM="$(NM)"; export NM; \
4654 RANLIB="$(RANLIB)"; export RANLIB; \
4655 WINDRES="$(WINDRES)"; export WINDRES; \
4656 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
4657 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
4658 fi; \
4659 echo Configuring in sid; \
4660 cd sid || exit 1; \
4661 case $(srcdir) in \
4662 \.) \
4663 srcdiroption="--srcdir=."; \
4664 libsrcdir=".";; \
4665 /* | [A-Za-z]:[\\/]*) \
4666 srcdiroption="--srcdir=$(srcdir)/sid"; \
4667 libsrcdir="$$s/sid";; \
4668 *) \
4669 srcdiroption="--srcdir=../$(srcdir)/sid"; \
4670 libsrcdir="$$s/sid";; \
4671 esac; \
4672 $(SHELL) $${libsrcdir}/configure \
4673 $(HOST_CONFIGARGS) $${srcdiroption} \
4674 || exit 1
4676 .PHONY: all-sid maybe-all-sid
4677 maybe-all-sid:
4678 all-sid: configure-sid
4679 @r=`${PWD}`; export r; \
4680 s=`cd $(srcdir); ${PWD}`; export s; \
4681 $(SET_LIB_PATH) \
4682 (cd sid; $(MAKE) $(FLAGS_TO_PASS) all)
4685 .PHONY: check-sid
4686 check-sid:
4687 @r=`${PWD}`; export r; \
4688 s=`cd $(srcdir); ${PWD}`; export s; \
4689 $(SET_LIB_PATH) \
4690 (cd sid; $(MAKE) $(FLAGS_TO_PASS) check)
4694 .PHONY: install-sid maybe-install-sid
4695 maybe-install-sid:
4696 install-sid: installdirs
4697 @r=`${PWD}`; export r; \
4698 s=`cd $(srcdir); ${PWD}`; export s; \
4699 $(SET_LIB_PATH) \
4700 (cd sid; $(MAKE) $(FLAGS_TO_PASS) install)
4703 .PHONY: configure-sim maybe-configure-sim
4704 maybe-configure-sim:
4705 configure-sim: sim/Makefile
4707 sim/Makefile: config.status
4708 @[ -d sim ] || mkdir sim; \
4709 r=`${PWD}`; export r; \
4710 s=`cd $(srcdir); ${PWD}`; export s; \
4711 CC="$(CC)"; export CC; \
4712 CFLAGS="$(CFLAGS)"; export CFLAGS; \
4713 CXX="$(CXX)"; export CXX; \
4714 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
4715 if [ z$(build_canonical) != z$(host_canoncial) ] ; then \
4716 AR="$(AR)"; export AR; \
4717 AS="$(AS)"; export AS; \
4718 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
4719 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
4720 LD="$(LD)"; export LD; \
4721 NM="$(NM)"; export NM; \
4722 RANLIB="$(RANLIB)"; export RANLIB; \
4723 WINDRES="$(WINDRES)"; export WINDRES; \
4724 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
4725 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
4726 fi; \
4727 echo Configuring in sim; \
4728 cd sim || exit 1; \
4729 case $(srcdir) in \
4730 \.) \
4731 srcdiroption="--srcdir=."; \
4732 libsrcdir=".";; \
4733 /* | [A-Za-z]:[\\/]*) \
4734 srcdiroption="--srcdir=$(srcdir)/sim"; \
4735 libsrcdir="$$s/sim";; \
4736 *) \
4737 srcdiroption="--srcdir=../$(srcdir)/sim"; \
4738 libsrcdir="$$s/sim";; \
4739 esac; \
4740 $(SHELL) $${libsrcdir}/configure \
4741 $(HOST_CONFIGARGS) $${srcdiroption} \
4742 || exit 1
4744 .PHONY: all-sim maybe-all-sim
4745 maybe-all-sim:
4746 all-sim: configure-sim
4747 @r=`${PWD}`; export r; \
4748 s=`cd $(srcdir); ${PWD}`; export s; \
4749 $(SET_LIB_PATH) \
4750 (cd sim; $(MAKE) $(FLAGS_TO_PASS) all)
4753 .PHONY: check-sim
4754 check-sim:
4755 @r=`${PWD}`; export r; \
4756 s=`cd $(srcdir); ${PWD}`; export s; \
4757 $(SET_LIB_PATH) \
4758 (cd sim; $(MAKE) $(FLAGS_TO_PASS) check)
4762 .PHONY: install-sim maybe-install-sim
4763 maybe-install-sim:
4764 install-sim: installdirs
4765 @r=`${PWD}`; export r; \
4766 s=`cd $(srcdir); ${PWD}`; export s; \
4767 $(SET_LIB_PATH) \
4768 (cd sim; $(MAKE) $(FLAGS_TO_PASS) install)
4771 .PHONY: configure-snavigator maybe-configure-snavigator
4772 maybe-configure-snavigator:
4773 configure-snavigator: snavigator/Makefile
4775 snavigator/Makefile: config.status
4776 @[ -d snavigator ] || mkdir snavigator; \
4777 r=`${PWD}`; export r; \
4778 s=`cd $(srcdir); ${PWD}`; export s; \
4779 CC="$(CC)"; export CC; \
4780 CFLAGS="$(CFLAGS)"; export CFLAGS; \
4781 CXX="$(CXX)"; export CXX; \
4782 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
4783 if [ z$(build_canonical) != z$(host_canoncial) ] ; then \
4784 AR="$(AR)"; export AR; \
4785 AS="$(AS)"; export AS; \
4786 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
4787 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
4788 LD="$(LD)"; export LD; \
4789 NM="$(NM)"; export NM; \
4790 RANLIB="$(RANLIB)"; export RANLIB; \
4791 WINDRES="$(WINDRES)"; export WINDRES; \
4792 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
4793 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
4794 fi; \
4795 echo Configuring in snavigator; \
4796 cd snavigator || exit 1; \
4797 case $(srcdir) in \
4798 \.) \
4799 srcdiroption="--srcdir=."; \
4800 libsrcdir=".";; \
4801 /* | [A-Za-z]:[\\/]*) \
4802 srcdiroption="--srcdir=$(srcdir)/snavigator"; \
4803 libsrcdir="$$s/snavigator";; \
4804 *) \
4805 srcdiroption="--srcdir=../$(srcdir)/snavigator"; \
4806 libsrcdir="$$s/snavigator";; \
4807 esac; \
4808 $(SHELL) $${libsrcdir}/configure \
4809 $(HOST_CONFIGARGS) $${srcdiroption} \
4810 || exit 1
4812 .PHONY: all-snavigator maybe-all-snavigator
4813 maybe-all-snavigator:
4814 all-snavigator: configure-snavigator
4815 @r=`${PWD}`; export r; \
4816 s=`cd $(srcdir); ${PWD}`; export s; \
4817 $(SET_LIB_PATH) \
4818 (cd snavigator; $(MAKE) $(FLAGS_TO_PASS) all)
4821 .PHONY: check-snavigator
4822 check-snavigator:
4823 @r=`${PWD}`; export r; \
4824 s=`cd $(srcdir); ${PWD}`; export s; \
4825 $(SET_LIB_PATH) \
4826 (cd snavigator; $(MAKE) $(FLAGS_TO_PASS) check)
4830 .PHONY: install-snavigator maybe-install-snavigator
4831 maybe-install-snavigator:
4832 install-snavigator: installdirs
4833 @r=`${PWD}`; export r; \
4834 s=`cd $(srcdir); ${PWD}`; export s; \
4835 $(SET_LIB_PATH) \
4836 (cd snavigator; $(MAKE) $(FLAGS_TO_PASS) install)
4839 .PHONY: configure-tar maybe-configure-tar
4840 maybe-configure-tar:
4841 configure-tar: tar/Makefile
4843 tar/Makefile: config.status
4844 @[ -d tar ] || mkdir tar; \
4845 r=`${PWD}`; export r; \
4846 s=`cd $(srcdir); ${PWD}`; export s; \
4847 CC="$(CC)"; export CC; \
4848 CFLAGS="$(CFLAGS)"; export CFLAGS; \
4849 CXX="$(CXX)"; export CXX; \
4850 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
4851 if [ z$(build_canonical) != z$(host_canoncial) ] ; then \
4852 AR="$(AR)"; export AR; \
4853 AS="$(AS)"; export AS; \
4854 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
4855 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
4856 LD="$(LD)"; export LD; \
4857 NM="$(NM)"; export NM; \
4858 RANLIB="$(RANLIB)"; export RANLIB; \
4859 WINDRES="$(WINDRES)"; export WINDRES; \
4860 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
4861 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
4862 fi; \
4863 echo Configuring in tar; \
4864 cd tar || exit 1; \
4865 case $(srcdir) in \
4866 \.) \
4867 srcdiroption="--srcdir=."; \
4868 libsrcdir=".";; \
4869 /* | [A-Za-z]:[\\/]*) \
4870 srcdiroption="--srcdir=$(srcdir)/tar"; \
4871 libsrcdir="$$s/tar";; \
4872 *) \
4873 srcdiroption="--srcdir=../$(srcdir)/tar"; \
4874 libsrcdir="$$s/tar";; \
4875 esac; \
4876 $(SHELL) $${libsrcdir}/configure \
4877 $(HOST_CONFIGARGS) $${srcdiroption} \
4878 || exit 1
4880 .PHONY: all-tar maybe-all-tar
4881 maybe-all-tar:
4882 all-tar: configure-tar
4883 @r=`${PWD}`; export r; \
4884 s=`cd $(srcdir); ${PWD}`; export s; \
4885 $(SET_LIB_PATH) \
4886 (cd tar; $(MAKE) $(FLAGS_TO_PASS) all)
4889 .PHONY: check-tar
4890 check-tar:
4891 @r=`${PWD}`; export r; \
4892 s=`cd $(srcdir); ${PWD}`; export s; \
4893 $(SET_LIB_PATH) \
4894 (cd tar; $(MAKE) $(FLAGS_TO_PASS) check)
4898 .PHONY: install-tar maybe-install-tar
4899 maybe-install-tar:
4900 install-tar: installdirs
4901 @r=`${PWD}`; export r; \
4902 s=`cd $(srcdir); ${PWD}`; export s; \
4903 $(SET_LIB_PATH) \
4904 (cd tar; $(MAKE) $(FLAGS_TO_PASS) install)
4907 .PHONY: configure-texinfo maybe-configure-texinfo
4908 maybe-configure-texinfo:
4909 configure-texinfo: texinfo/Makefile
4911 texinfo/Makefile: config.status
4912 @[ -d texinfo ] || mkdir texinfo; \
4913 r=`${PWD}`; export r; \
4914 s=`cd $(srcdir); ${PWD}`; export s; \
4915 CC="$(CC)"; export CC; \
4916 CFLAGS="$(CFLAGS)"; export CFLAGS; \
4917 CXX="$(CXX)"; export CXX; \
4918 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
4919 if [ z$(build_canonical) != z$(host_canoncial) ] ; then \
4920 AR="$(AR)"; export AR; \
4921 AS="$(AS)"; export AS; \
4922 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
4923 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
4924 LD="$(LD)"; export LD; \
4925 NM="$(NM)"; export NM; \
4926 RANLIB="$(RANLIB)"; export RANLIB; \
4927 WINDRES="$(WINDRES)"; export WINDRES; \
4928 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
4929 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
4930 fi; \
4931 echo Configuring in texinfo; \
4932 cd texinfo || exit 1; \
4933 case $(srcdir) in \
4934 \.) \
4935 srcdiroption="--srcdir=."; \
4936 libsrcdir=".";; \
4937 /* | [A-Za-z]:[\\/]*) \
4938 srcdiroption="--srcdir=$(srcdir)/texinfo"; \
4939 libsrcdir="$$s/texinfo";; \
4940 *) \
4941 srcdiroption="--srcdir=../$(srcdir)/texinfo"; \
4942 libsrcdir="$$s/texinfo";; \
4943 esac; \
4944 $(SHELL) $${libsrcdir}/configure \
4945 $(HOST_CONFIGARGS) $${srcdiroption} \
4946 || exit 1
4948 .PHONY: all-texinfo maybe-all-texinfo
4949 maybe-all-texinfo:
4950 all-texinfo: configure-texinfo
4951 @r=`${PWD}`; export r; \
4952 s=`cd $(srcdir); ${PWD}`; export s; \
4953 $(SET_LIB_PATH) \
4954 (cd texinfo; $(MAKE) $(FLAGS_TO_PASS) all)
4957 .PHONY: check-texinfo
4958 check-texinfo:
4959 @r=`${PWD}`; export r; \
4960 s=`cd $(srcdir); ${PWD}`; export s; \
4961 $(SET_LIB_PATH) \
4962 (cd texinfo; $(MAKE) $(FLAGS_TO_PASS) check)
4966 .PHONY: install-texinfo maybe-install-texinfo
4967 maybe-install-texinfo:
4968 install-texinfo:
4971 .PHONY: configure-textutils maybe-configure-textutils
4972 maybe-configure-textutils:
4973 configure-textutils: textutils/Makefile
4975 textutils/Makefile: config.status
4976 @[ -d textutils ] || mkdir textutils; \
4977 r=`${PWD}`; export r; \
4978 s=`cd $(srcdir); ${PWD}`; export s; \
4979 CC="$(CC)"; export CC; \
4980 CFLAGS="$(CFLAGS)"; export CFLAGS; \
4981 CXX="$(CXX)"; export CXX; \
4982 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
4983 if [ z$(build_canonical) != z$(host_canoncial) ] ; then \
4984 AR="$(AR)"; export AR; \
4985 AS="$(AS)"; export AS; \
4986 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
4987 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
4988 LD="$(LD)"; export LD; \
4989 NM="$(NM)"; export NM; \
4990 RANLIB="$(RANLIB)"; export RANLIB; \
4991 WINDRES="$(WINDRES)"; export WINDRES; \
4992 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
4993 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
4994 fi; \
4995 echo Configuring in textutils; \
4996 cd textutils || exit 1; \
4997 case $(srcdir) in \
4998 \.) \
4999 srcdiroption="--srcdir=."; \
5000 libsrcdir=".";; \
5001 /* | [A-Za-z]:[\\/]*) \
5002 srcdiroption="--srcdir=$(srcdir)/textutils"; \
5003 libsrcdir="$$s/textutils";; \
5004 *) \
5005 srcdiroption="--srcdir=../$(srcdir)/textutils"; \
5006 libsrcdir="$$s/textutils";; \
5007 esac; \
5008 $(SHELL) $${libsrcdir}/configure \
5009 $(HOST_CONFIGARGS) $${srcdiroption} \
5010 || exit 1
5012 .PHONY: all-textutils maybe-all-textutils
5013 maybe-all-textutils:
5014 all-textutils: configure-textutils
5015 @r=`${PWD}`; export r; \
5016 s=`cd $(srcdir); ${PWD}`; export s; \
5017 $(SET_LIB_PATH) \
5018 (cd textutils; $(MAKE) $(FLAGS_TO_PASS) all)
5021 .PHONY: check-textutils
5022 check-textutils:
5023 @r=`${PWD}`; export r; \
5024 s=`cd $(srcdir); ${PWD}`; export s; \
5025 $(SET_LIB_PATH) \
5026 (cd textutils; $(MAKE) $(FLAGS_TO_PASS) check)
5030 .PHONY: install-textutils maybe-install-textutils
5031 maybe-install-textutils:
5032 install-textutils: installdirs
5033 @r=`${PWD}`; export r; \
5034 s=`cd $(srcdir); ${PWD}`; export s; \
5035 $(SET_LIB_PATH) \
5036 (cd textutils; $(MAKE) $(FLAGS_TO_PASS) install)
5039 .PHONY: configure-time maybe-configure-time
5040 maybe-configure-time:
5041 configure-time: time/Makefile
5043 time/Makefile: config.status
5044 @[ -d time ] || mkdir time; \
5045 r=`${PWD}`; export r; \
5046 s=`cd $(srcdir); ${PWD}`; export s; \
5047 CC="$(CC)"; export CC; \
5048 CFLAGS="$(CFLAGS)"; export CFLAGS; \
5049 CXX="$(CXX)"; export CXX; \
5050 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
5051 if [ z$(build_canonical) != z$(host_canoncial) ] ; then \
5052 AR="$(AR)"; export AR; \
5053 AS="$(AS)"; export AS; \
5054 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
5055 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
5056 LD="$(LD)"; export LD; \
5057 NM="$(NM)"; export NM; \
5058 RANLIB="$(RANLIB)"; export RANLIB; \
5059 WINDRES="$(WINDRES)"; export WINDRES; \
5060 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
5061 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
5062 fi; \
5063 echo Configuring in time; \
5064 cd time || exit 1; \
5065 case $(srcdir) in \
5066 \.) \
5067 srcdiroption="--srcdir=."; \
5068 libsrcdir=".";; \
5069 /* | [A-Za-z]:[\\/]*) \
5070 srcdiroption="--srcdir=$(srcdir)/time"; \
5071 libsrcdir="$$s/time";; \
5072 *) \
5073 srcdiroption="--srcdir=../$(srcdir)/time"; \
5074 libsrcdir="$$s/time";; \
5075 esac; \
5076 $(SHELL) $${libsrcdir}/configure \
5077 $(HOST_CONFIGARGS) $${srcdiroption} \
5078 || exit 1
5080 .PHONY: all-time maybe-all-time
5081 maybe-all-time:
5082 all-time: configure-time
5083 @r=`${PWD}`; export r; \
5084 s=`cd $(srcdir); ${PWD}`; export s; \
5085 $(SET_LIB_PATH) \
5086 (cd time; $(MAKE) $(FLAGS_TO_PASS) all)
5089 .PHONY: check-time
5090 check-time:
5091 @r=`${PWD}`; export r; \
5092 s=`cd $(srcdir); ${PWD}`; export s; \
5093 $(SET_LIB_PATH) \
5094 (cd time; $(MAKE) $(FLAGS_TO_PASS) check)
5098 .PHONY: install-time maybe-install-time
5099 maybe-install-time:
5100 install-time: installdirs
5101 @r=`${PWD}`; export r; \
5102 s=`cd $(srcdir); ${PWD}`; export s; \
5103 $(SET_LIB_PATH) \
5104 (cd time; $(MAKE) $(FLAGS_TO_PASS) install)
5107 .PHONY: configure-uudecode maybe-configure-uudecode
5108 maybe-configure-uudecode:
5109 configure-uudecode: uudecode/Makefile
5111 uudecode/Makefile: config.status
5112 @[ -d uudecode ] || mkdir uudecode; \
5113 r=`${PWD}`; export r; \
5114 s=`cd $(srcdir); ${PWD}`; export s; \
5115 CC="$(CC)"; export CC; \
5116 CFLAGS="$(CFLAGS)"; export CFLAGS; \
5117 CXX="$(CXX)"; export CXX; \
5118 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
5119 if [ z$(build_canonical) != z$(host_canoncial) ] ; then \
5120 AR="$(AR)"; export AR; \
5121 AS="$(AS)"; export AS; \
5122 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
5123 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
5124 LD="$(LD)"; export LD; \
5125 NM="$(NM)"; export NM; \
5126 RANLIB="$(RANLIB)"; export RANLIB; \
5127 WINDRES="$(WINDRES)"; export WINDRES; \
5128 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
5129 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
5130 fi; \
5131 echo Configuring in uudecode; \
5132 cd uudecode || exit 1; \
5133 case $(srcdir) in \
5134 \.) \
5135 srcdiroption="--srcdir=."; \
5136 libsrcdir=".";; \
5137 /* | [A-Za-z]:[\\/]*) \
5138 srcdiroption="--srcdir=$(srcdir)/uudecode"; \
5139 libsrcdir="$$s/uudecode";; \
5140 *) \
5141 srcdiroption="--srcdir=../$(srcdir)/uudecode"; \
5142 libsrcdir="$$s/uudecode";; \
5143 esac; \
5144 $(SHELL) $${libsrcdir}/configure \
5145 $(HOST_CONFIGARGS) $${srcdiroption} \
5146 || exit 1
5148 .PHONY: all-uudecode maybe-all-uudecode
5149 maybe-all-uudecode:
5150 all-uudecode: configure-uudecode
5151 @r=`${PWD}`; export r; \
5152 s=`cd $(srcdir); ${PWD}`; export s; \
5153 $(SET_LIB_PATH) \
5154 (cd uudecode; $(MAKE) $(FLAGS_TO_PASS) all)
5157 .PHONY: check-uudecode
5158 check-uudecode:
5159 @r=`${PWD}`; export r; \
5160 s=`cd $(srcdir); ${PWD}`; export s; \
5161 $(SET_LIB_PATH) \
5162 (cd uudecode; $(MAKE) $(FLAGS_TO_PASS) check)
5166 .PHONY: install-uudecode maybe-install-uudecode
5167 maybe-install-uudecode:
5168 install-uudecode: installdirs
5169 @r=`${PWD}`; export r; \
5170 s=`cd $(srcdir); ${PWD}`; export s; \
5171 $(SET_LIB_PATH) \
5172 (cd uudecode; $(MAKE) $(FLAGS_TO_PASS) install)
5175 .PHONY: configure-wdiff maybe-configure-wdiff
5176 maybe-configure-wdiff:
5177 configure-wdiff: wdiff/Makefile
5179 wdiff/Makefile: config.status
5180 @[ -d wdiff ] || mkdir wdiff; \
5181 r=`${PWD}`; export r; \
5182 s=`cd $(srcdir); ${PWD}`; export s; \
5183 CC="$(CC)"; export CC; \
5184 CFLAGS="$(CFLAGS)"; export CFLAGS; \
5185 CXX="$(CXX)"; export CXX; \
5186 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
5187 if [ z$(build_canonical) != z$(host_canoncial) ] ; then \
5188 AR="$(AR)"; export AR; \
5189 AS="$(AS)"; export AS; \
5190 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
5191 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
5192 LD="$(LD)"; export LD; \
5193 NM="$(NM)"; export NM; \
5194 RANLIB="$(RANLIB)"; export RANLIB; \
5195 WINDRES="$(WINDRES)"; export WINDRES; \
5196 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
5197 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
5198 fi; \
5199 echo Configuring in wdiff; \
5200 cd wdiff || exit 1; \
5201 case $(srcdir) in \
5202 \.) \
5203 srcdiroption="--srcdir=."; \
5204 libsrcdir=".";; \
5205 /* | [A-Za-z]:[\\/]*) \
5206 srcdiroption="--srcdir=$(srcdir)/wdiff"; \
5207 libsrcdir="$$s/wdiff";; \
5208 *) \
5209 srcdiroption="--srcdir=../$(srcdir)/wdiff"; \
5210 libsrcdir="$$s/wdiff";; \
5211 esac; \
5212 $(SHELL) $${libsrcdir}/configure \
5213 $(HOST_CONFIGARGS) $${srcdiroption} \
5214 || exit 1
5216 .PHONY: all-wdiff maybe-all-wdiff
5217 maybe-all-wdiff:
5218 all-wdiff: configure-wdiff
5219 @r=`${PWD}`; export r; \
5220 s=`cd $(srcdir); ${PWD}`; export s; \
5221 $(SET_LIB_PATH) \
5222 (cd wdiff; $(MAKE) $(FLAGS_TO_PASS) all)
5225 .PHONY: check-wdiff
5226 check-wdiff:
5227 @r=`${PWD}`; export r; \
5228 s=`cd $(srcdir); ${PWD}`; export s; \
5229 $(SET_LIB_PATH) \
5230 (cd wdiff; $(MAKE) $(FLAGS_TO_PASS) check)
5234 .PHONY: install-wdiff maybe-install-wdiff
5235 maybe-install-wdiff:
5236 install-wdiff: installdirs
5237 @r=`${PWD}`; export r; \
5238 s=`cd $(srcdir); ${PWD}`; export s; \
5239 $(SET_LIB_PATH) \
5240 (cd wdiff; $(MAKE) $(FLAGS_TO_PASS) install)
5243 .PHONY: configure-zip maybe-configure-zip
5244 maybe-configure-zip:
5245 configure-zip: zip/Makefile
5247 zip/Makefile: config.status
5248 @[ -d zip ] || mkdir zip; \
5249 r=`${PWD}`; export r; \
5250 s=`cd $(srcdir); ${PWD}`; export s; \
5251 CC="$(CC)"; export CC; \
5252 CFLAGS="$(CFLAGS)"; export CFLAGS; \
5253 CXX="$(CXX)"; export CXX; \
5254 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
5255 if [ z$(build_canonical) != z$(host_canoncial) ] ; then \
5256 AR="$(AR)"; export AR; \
5257 AS="$(AS)"; export AS; \
5258 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
5259 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
5260 LD="$(LD)"; export LD; \
5261 NM="$(NM)"; export NM; \
5262 RANLIB="$(RANLIB)"; export RANLIB; \
5263 WINDRES="$(WINDRES)"; export WINDRES; \
5264 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
5265 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
5266 fi; \
5267 echo Configuring in zip; \
5268 cd zip || exit 1; \
5269 case $(srcdir) in \
5270 \.) \
5271 srcdiroption="--srcdir=."; \
5272 libsrcdir=".";; \
5273 /* | [A-Za-z]:[\\/]*) \
5274 srcdiroption="--srcdir=$(srcdir)/zip"; \
5275 libsrcdir="$$s/zip";; \
5276 *) \
5277 srcdiroption="--srcdir=../$(srcdir)/zip"; \
5278 libsrcdir="$$s/zip";; \
5279 esac; \
5280 $(SHELL) $${libsrcdir}/configure \
5281 $(HOST_CONFIGARGS) $${srcdiroption} \
5282 || exit 1
5284 .PHONY: all-zip maybe-all-zip
5285 maybe-all-zip:
5286 all-zip: configure-zip
5287 @r=`${PWD}`; export r; \
5288 s=`cd $(srcdir); ${PWD}`; export s; \
5289 $(SET_LIB_PATH) \
5290 (cd zip; $(MAKE) $(FLAGS_TO_PASS) all)
5293 .PHONY: check-zip
5294 # This module is only tested in a native toolchain.
5295 check-zip:
5296 @if [ '$(host_canonical)' = '$(target_canonical)' ] ; then \
5297 r=`${PWD}`; export r; \
5298 s=`cd $(srcdir); ${PWD}`; export s; \
5299 $(SET_LIB_PATH) \
5300 (cd zip; $(MAKE) $(FLAGS_TO_PASS) check); \
5305 .PHONY: install-zip maybe-install-zip
5306 maybe-install-zip:
5307 install-zip: installdirs
5308 @r=`${PWD}`; export r; \
5309 s=`cd $(srcdir); ${PWD}`; export s; \
5310 $(SET_LIB_PATH) \
5311 (cd zip; $(MAKE) $(FLAGS_TO_PASS) install)
5314 .PHONY: configure-zlib maybe-configure-zlib
5315 maybe-configure-zlib:
5316 configure-zlib: zlib/Makefile
5318 zlib/Makefile: config.status
5319 @[ -d zlib ] || mkdir zlib; \
5320 r=`${PWD}`; export r; \
5321 s=`cd $(srcdir); ${PWD}`; export s; \
5322 CC="$(CC)"; export CC; \
5323 CFLAGS="$(CFLAGS)"; export CFLAGS; \
5324 CXX="$(CXX)"; export CXX; \
5325 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
5326 if [ z$(build_canonical) != z$(host_canoncial) ] ; then \
5327 AR="$(AR)"; export AR; \
5328 AS="$(AS)"; export AS; \
5329 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
5330 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
5331 LD="$(LD)"; export LD; \
5332 NM="$(NM)"; export NM; \
5333 RANLIB="$(RANLIB)"; export RANLIB; \
5334 WINDRES="$(WINDRES)"; export WINDRES; \
5335 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
5336 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
5337 fi; \
5338 echo Configuring in zlib; \
5339 cd zlib || exit 1; \
5340 case $(srcdir) in \
5341 \.) \
5342 srcdiroption="--srcdir=."; \
5343 libsrcdir=".";; \
5344 /* | [A-Za-z]:[\\/]*) \
5345 srcdiroption="--srcdir=$(srcdir)/zlib"; \
5346 libsrcdir="$$s/zlib";; \
5347 *) \
5348 srcdiroption="--srcdir=../$(srcdir)/zlib"; \
5349 libsrcdir="$$s/zlib";; \
5350 esac; \
5351 $(SHELL) $${libsrcdir}/configure \
5352 $(HOST_CONFIGARGS) $${srcdiroption} \
5353 || exit 1
5355 .PHONY: all-zlib maybe-all-zlib
5356 maybe-all-zlib:
5357 all-zlib: configure-zlib
5358 @r=`${PWD}`; export r; \
5359 s=`cd $(srcdir); ${PWD}`; export s; \
5360 $(SET_LIB_PATH) \
5361 (cd zlib; $(MAKE) $(FLAGS_TO_PASS) all)
5364 .PHONY: check-zlib
5365 check-zlib:
5369 .PHONY: install-zlib maybe-install-zlib
5370 maybe-install-zlib:
5371 install-zlib:
5374 .PHONY: configure-gdb maybe-configure-gdb
5375 maybe-configure-gdb:
5376 configure-gdb: gdb/Makefile
5378 gdb/Makefile: config.status
5379 @[ -d gdb ] || mkdir gdb; \
5380 r=`${PWD}`; export r; \
5381 s=`cd $(srcdir); ${PWD}`; export s; \
5382 CC="$(CC)"; export CC; \
5383 CFLAGS="$(CFLAGS)"; export CFLAGS; \
5384 CXX="$(CXX)"; export CXX; \
5385 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
5386 if [ z$(build_canonical) != z$(host_canoncial) ] ; then \
5387 AR="$(AR)"; export AR; \
5388 AS="$(AS)"; export AS; \
5389 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
5390 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
5391 LD="$(LD)"; export LD; \
5392 NM="$(NM)"; export NM; \
5393 RANLIB="$(RANLIB)"; export RANLIB; \
5394 WINDRES="$(WINDRES)"; export WINDRES; \
5395 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
5396 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
5397 fi; \
5398 echo Configuring in gdb; \
5399 cd gdb || exit 1; \
5400 case $(srcdir) in \
5401 \.) \
5402 srcdiroption="--srcdir=."; \
5403 libsrcdir=".";; \
5404 /* | [A-Za-z]:[\\/]*) \
5405 srcdiroption="--srcdir=$(srcdir)/gdb"; \
5406 libsrcdir="$$s/gdb";; \
5407 *) \
5408 srcdiroption="--srcdir=../$(srcdir)/gdb"; \
5409 libsrcdir="$$s/gdb";; \
5410 esac; \
5411 $(SHELL) $${libsrcdir}/configure \
5412 $(HOST_CONFIGARGS) $${srcdiroption} \
5413 || exit 1
5415 .PHONY: all-gdb maybe-all-gdb
5416 maybe-all-gdb:
5417 all-gdb: configure-gdb
5418 @r=`${PWD}`; export r; \
5419 s=`cd $(srcdir); ${PWD}`; export s; \
5420 $(SET_LIB_PATH) \
5421 (cd gdb; $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) all)
5424 .PHONY: check-gdb
5425 check-gdb:
5426 @r=`${PWD}`; export r; \
5427 s=`cd $(srcdir); ${PWD}`; export s; \
5428 $(SET_LIB_PATH) \
5429 (cd gdb; $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) check)
5433 .PHONY: install-gdb maybe-install-gdb
5434 maybe-install-gdb:
5435 install-gdb: installdirs
5436 @r=`${PWD}`; export r; \
5437 s=`cd $(srcdir); ${PWD}`; export s; \
5438 $(SET_LIB_PATH) \
5439 (cd gdb; $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) install)
5442 .PHONY: configure-expect maybe-configure-expect
5443 maybe-configure-expect:
5444 configure-expect: expect/Makefile
5446 expect/Makefile: config.status
5447 @[ -d expect ] || mkdir expect; \
5448 r=`${PWD}`; export r; \
5449 s=`cd $(srcdir); ${PWD}`; export s; \
5450 CC="$(CC)"; export CC; \
5451 CFLAGS="$(CFLAGS)"; export CFLAGS; \
5452 CXX="$(CXX)"; export CXX; \
5453 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
5454 if [ z$(build_canonical) != z$(host_canoncial) ] ; then \
5455 AR="$(AR)"; export AR; \
5456 AS="$(AS)"; export AS; \
5457 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
5458 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
5459 LD="$(LD)"; export LD; \
5460 NM="$(NM)"; export NM; \
5461 RANLIB="$(RANLIB)"; export RANLIB; \
5462 WINDRES="$(WINDRES)"; export WINDRES; \
5463 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
5464 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
5465 fi; \
5466 echo Configuring in expect; \
5467 cd expect || exit 1; \
5468 case $(srcdir) in \
5469 \.) \
5470 srcdiroption="--srcdir=."; \
5471 libsrcdir=".";; \
5472 /* | [A-Za-z]:[\\/]*) \
5473 srcdiroption="--srcdir=$(srcdir)/expect"; \
5474 libsrcdir="$$s/expect";; \
5475 *) \
5476 srcdiroption="--srcdir=../$(srcdir)/expect"; \
5477 libsrcdir="$$s/expect";; \
5478 esac; \
5479 $(SHELL) $${libsrcdir}/configure \
5480 $(HOST_CONFIGARGS) $${srcdiroption} \
5481 || exit 1
5483 .PHONY: all-expect maybe-all-expect
5484 maybe-all-expect:
5485 all-expect: configure-expect
5486 @r=`${PWD}`; export r; \
5487 s=`cd $(srcdir); ${PWD}`; export s; \
5488 $(SET_LIB_PATH) \
5489 (cd expect; $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) all)
5492 .PHONY: check-expect
5493 check-expect:
5494 @r=`${PWD}`; export r; \
5495 s=`cd $(srcdir); ${PWD}`; export s; \
5496 $(SET_LIB_PATH) \
5497 (cd expect; $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) check)
5501 .PHONY: install-expect maybe-install-expect
5502 maybe-install-expect:
5503 install-expect: installdirs
5504 @r=`${PWD}`; export r; \
5505 s=`cd $(srcdir); ${PWD}`; export s; \
5506 $(SET_LIB_PATH) \
5507 (cd expect; $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) install)
5510 .PHONY: configure-guile maybe-configure-guile
5511 maybe-configure-guile:
5512 configure-guile: guile/Makefile
5514 guile/Makefile: config.status
5515 @[ -d guile ] || mkdir guile; \
5516 r=`${PWD}`; export r; \
5517 s=`cd $(srcdir); ${PWD}`; export s; \
5518 CC="$(CC)"; export CC; \
5519 CFLAGS="$(CFLAGS)"; export CFLAGS; \
5520 CXX="$(CXX)"; export CXX; \
5521 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
5522 if [ z$(build_canonical) != z$(host_canoncial) ] ; then \
5523 AR="$(AR)"; export AR; \
5524 AS="$(AS)"; export AS; \
5525 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
5526 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
5527 LD="$(LD)"; export LD; \
5528 NM="$(NM)"; export NM; \
5529 RANLIB="$(RANLIB)"; export RANLIB; \
5530 WINDRES="$(WINDRES)"; export WINDRES; \
5531 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
5532 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
5533 fi; \
5534 echo Configuring in guile; \
5535 cd guile || exit 1; \
5536 case $(srcdir) in \
5537 \.) \
5538 srcdiroption="--srcdir=."; \
5539 libsrcdir=".";; \
5540 /* | [A-Za-z]:[\\/]*) \
5541 srcdiroption="--srcdir=$(srcdir)/guile"; \
5542 libsrcdir="$$s/guile";; \
5543 *) \
5544 srcdiroption="--srcdir=../$(srcdir)/guile"; \
5545 libsrcdir="$$s/guile";; \
5546 esac; \
5547 $(SHELL) $${libsrcdir}/configure \
5548 $(HOST_CONFIGARGS) $${srcdiroption} \
5549 || exit 1
5551 .PHONY: all-guile maybe-all-guile
5552 maybe-all-guile:
5553 all-guile: configure-guile
5554 @r=`${PWD}`; export r; \
5555 s=`cd $(srcdir); ${PWD}`; export s; \
5556 $(SET_LIB_PATH) \
5557 (cd guile; $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) all)
5560 .PHONY: check-guile
5561 check-guile:
5562 @r=`${PWD}`; export r; \
5563 s=`cd $(srcdir); ${PWD}`; export s; \
5564 $(SET_LIB_PATH) \
5565 (cd guile; $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) check)
5569 .PHONY: install-guile maybe-install-guile
5570 maybe-install-guile:
5571 install-guile: installdirs
5572 @r=`${PWD}`; export r; \
5573 s=`cd $(srcdir); ${PWD}`; export s; \
5574 $(SET_LIB_PATH) \
5575 (cd guile; $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) install)
5578 .PHONY: configure-tclX maybe-configure-tclX
5579 maybe-configure-tclX:
5580 configure-tclX: tclX/Makefile
5582 tclX/Makefile: config.status
5583 @[ -d tclX ] || mkdir tclX; \
5584 r=`${PWD}`; export r; \
5585 s=`cd $(srcdir); ${PWD}`; export s; \
5586 CC="$(CC)"; export CC; \
5587 CFLAGS="$(CFLAGS)"; export CFLAGS; \
5588 CXX="$(CXX)"; export CXX; \
5589 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
5590 if [ z$(build_canonical) != z$(host_canoncial) ] ; then \
5591 AR="$(AR)"; export AR; \
5592 AS="$(AS)"; export AS; \
5593 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
5594 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
5595 LD="$(LD)"; export LD; \
5596 NM="$(NM)"; export NM; \
5597 RANLIB="$(RANLIB)"; export RANLIB; \
5598 WINDRES="$(WINDRES)"; export WINDRES; \
5599 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
5600 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
5601 fi; \
5602 echo Configuring in tclX; \
5603 cd tclX || exit 1; \
5604 case $(srcdir) in \
5605 \.) \
5606 srcdiroption="--srcdir=."; \
5607 libsrcdir=".";; \
5608 /* | [A-Za-z]:[\\/]*) \
5609 srcdiroption="--srcdir=$(srcdir)/tclX"; \
5610 libsrcdir="$$s/tclX";; \
5611 *) \
5612 srcdiroption="--srcdir=../$(srcdir)/tclX"; \
5613 libsrcdir="$$s/tclX";; \
5614 esac; \
5615 $(SHELL) $${libsrcdir}/configure \
5616 $(HOST_CONFIGARGS) $${srcdiroption} \
5617 || exit 1
5619 .PHONY: all-tclX maybe-all-tclX
5620 maybe-all-tclX:
5621 all-tclX: configure-tclX
5622 @r=`${PWD}`; export r; \
5623 s=`cd $(srcdir); ${PWD}`; export s; \
5624 $(SET_LIB_PATH) \
5625 (cd tclX; $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) all)
5628 .PHONY: check-tclX
5629 check-tclX:
5630 @r=`${PWD}`; export r; \
5631 s=`cd $(srcdir); ${PWD}`; export s; \
5632 $(SET_LIB_PATH) \
5633 (cd tclX; $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) check)
5637 .PHONY: install-tclX maybe-install-tclX
5638 maybe-install-tclX:
5639 install-tclX: installdirs
5640 @r=`${PWD}`; export r; \
5641 s=`cd $(srcdir); ${PWD}`; export s; \
5642 $(SET_LIB_PATH) \
5643 (cd tclX; $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) install)
5646 .PHONY: configure-tk maybe-configure-tk
5647 maybe-configure-tk:
5648 configure-tk: tk/Makefile
5650 tk/Makefile: config.status
5651 @[ -d tk ] || mkdir tk; \
5652 r=`${PWD}`; export r; \
5653 s=`cd $(srcdir); ${PWD}`; export s; \
5654 CC="$(CC)"; export CC; \
5655 CFLAGS="$(CFLAGS)"; export CFLAGS; \
5656 CXX="$(CXX)"; export CXX; \
5657 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
5658 if [ z$(build_canonical) != z$(host_canoncial) ] ; then \
5659 AR="$(AR)"; export AR; \
5660 AS="$(AS)"; export AS; \
5661 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
5662 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
5663 LD="$(LD)"; export LD; \
5664 NM="$(NM)"; export NM; \
5665 RANLIB="$(RANLIB)"; export RANLIB; \
5666 WINDRES="$(WINDRES)"; export WINDRES; \
5667 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
5668 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
5669 fi; \
5670 echo Configuring in tk; \
5671 cd tk || exit 1; \
5672 case $(srcdir) in \
5673 \.) \
5674 srcdiroption="--srcdir=."; \
5675 libsrcdir=".";; \
5676 /* | [A-Za-z]:[\\/]*) \
5677 srcdiroption="--srcdir=$(srcdir)/tk"; \
5678 libsrcdir="$$s/tk";; \
5679 *) \
5680 srcdiroption="--srcdir=../$(srcdir)/tk"; \
5681 libsrcdir="$$s/tk";; \
5682 esac; \
5683 $(SHELL) $${libsrcdir}/configure \
5684 $(HOST_CONFIGARGS) $${srcdiroption} \
5685 || exit 1
5687 .PHONY: all-tk maybe-all-tk
5688 maybe-all-tk:
5689 all-tk: configure-tk
5690 @r=`${PWD}`; export r; \
5691 s=`cd $(srcdir); ${PWD}`; export s; \
5692 $(SET_LIB_PATH) \
5693 (cd tk; $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) all)
5696 .PHONY: check-tk
5697 check-tk:
5698 @r=`${PWD}`; export r; \
5699 s=`cd $(srcdir); ${PWD}`; export s; \
5700 $(SET_LIB_PATH) \
5701 (cd tk; $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) check)
5705 .PHONY: install-tk maybe-install-tk
5706 maybe-install-tk:
5707 install-tk: installdirs
5708 @r=`${PWD}`; export r; \
5709 s=`cd $(srcdir); ${PWD}`; export s; \
5710 $(SET_LIB_PATH) \
5711 (cd tk; $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) install)
5714 .PHONY: configure-tix maybe-configure-tix
5715 maybe-configure-tix:
5716 configure-tix: tix/Makefile
5718 tix/Makefile: config.status
5719 @[ -d tix ] || mkdir tix; \
5720 r=`${PWD}`; export r; \
5721 s=`cd $(srcdir); ${PWD}`; export s; \
5722 CC="$(CC)"; export CC; \
5723 CFLAGS="$(CFLAGS)"; export CFLAGS; \
5724 CXX="$(CXX)"; export CXX; \
5725 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
5726 if [ z$(build_canonical) != z$(host_canoncial) ] ; then \
5727 AR="$(AR)"; export AR; \
5728 AS="$(AS)"; export AS; \
5729 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
5730 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
5731 LD="$(LD)"; export LD; \
5732 NM="$(NM)"; export NM; \
5733 RANLIB="$(RANLIB)"; export RANLIB; \
5734 WINDRES="$(WINDRES)"; export WINDRES; \
5735 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
5736 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
5737 fi; \
5738 echo Configuring in tix; \
5739 cd tix || exit 1; \
5740 case $(srcdir) in \
5741 \.) \
5742 srcdiroption="--srcdir=."; \
5743 libsrcdir=".";; \
5744 /* | [A-Za-z]:[\\/]*) \
5745 srcdiroption="--srcdir=$(srcdir)/tix"; \
5746 libsrcdir="$$s/tix";; \
5747 *) \
5748 srcdiroption="--srcdir=../$(srcdir)/tix"; \
5749 libsrcdir="$$s/tix";; \
5750 esac; \
5751 $(SHELL) $${libsrcdir}/configure \
5752 $(HOST_CONFIGARGS) $${srcdiroption} \
5753 || exit 1
5755 .PHONY: all-tix maybe-all-tix
5756 maybe-all-tix:
5757 all-tix: configure-tix
5758 @r=`${PWD}`; export r; \
5759 s=`cd $(srcdir); ${PWD}`; export s; \
5760 $(SET_LIB_PATH) \
5761 (cd tix; $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) all)
5764 .PHONY: check-tix
5765 check-tix:
5766 @r=`${PWD}`; export r; \
5767 s=`cd $(srcdir); ${PWD}`; export s; \
5768 $(SET_LIB_PATH) \
5769 (cd tix; $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) check)
5773 .PHONY: install-tix maybe-install-tix
5774 maybe-install-tix:
5775 install-tix: installdirs
5776 @r=`${PWD}`; export r; \
5777 s=`cd $(srcdir); ${PWD}`; export s; \
5778 $(SET_LIB_PATH) \
5779 (cd tix; $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) install)
5782 .PHONY: configure-libtermcap maybe-configure-libtermcap
5783 maybe-configure-libtermcap:
5784 configure-libtermcap: libtermcap/Makefile
5786 libtermcap/Makefile: config.status
5787 @[ -d libtermcap ] || mkdir libtermcap; \
5788 r=`${PWD}`; export r; \
5789 s=`cd $(srcdir); ${PWD}`; export s; \
5790 CC="$(CC)"; export CC; \
5791 CFLAGS="$(CFLAGS)"; export CFLAGS; \
5792 CXX="$(CXX)"; export CXX; \
5793 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
5794 if [ z$(build_canonical) != z$(host_canoncial) ] ; then \
5795 AR="$(AR)"; export AR; \
5796 AS="$(AS)"; export AS; \
5797 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
5798 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
5799 LD="$(LD)"; export LD; \
5800 NM="$(NM)"; export NM; \
5801 RANLIB="$(RANLIB)"; export RANLIB; \
5802 WINDRES="$(WINDRES)"; export WINDRES; \
5803 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
5804 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
5805 fi; \
5806 echo Configuring in libtermcap; \
5807 cd libtermcap || exit 1; \
5808 case $(srcdir) in \
5809 \.) \
5810 srcdiroption="--srcdir=."; \
5811 libsrcdir=".";; \
5812 /* | [A-Za-z]:[\\/]*) \
5813 srcdiroption="--srcdir=$(srcdir)/libtermcap"; \
5814 libsrcdir="$$s/libtermcap";; \
5815 *) \
5816 srcdiroption="--srcdir=../$(srcdir)/libtermcap"; \
5817 libsrcdir="$$s/libtermcap";; \
5818 esac; \
5819 $(SHELL) $${libsrcdir}/configure \
5820 $(HOST_CONFIGARGS) $${srcdiroption} \
5821 || exit 1
5823 .PHONY: all-libtermcap maybe-all-libtermcap
5824 maybe-all-libtermcap:
5825 all-libtermcap: configure-libtermcap
5826 @r=`${PWD}`; export r; \
5827 s=`cd $(srcdir); ${PWD}`; export s; \
5828 $(SET_LIB_PATH) \
5829 (cd libtermcap; $(MAKE) $(FLAGS_TO_PASS) all)
5832 .PHONY: check-libtermcap
5833 check-libtermcap:
5837 .PHONY: install-libtermcap maybe-install-libtermcap
5838 maybe-install-libtermcap:
5839 install-libtermcap: installdirs
5840 @r=`${PWD}`; export r; \
5841 s=`cd $(srcdir); ${PWD}`; export s; \
5842 $(SET_LIB_PATH) \
5843 (cd libtermcap; $(MAKE) $(FLAGS_TO_PASS) install)
5846 .PHONY: configure-utils maybe-configure-utils
5847 maybe-configure-utils:
5848 configure-utils: utils/Makefile
5850 utils/Makefile: config.status
5851 @[ -d utils ] || mkdir utils; \
5852 r=`${PWD}`; export r; \
5853 s=`cd $(srcdir); ${PWD}`; export s; \
5854 CC="$(CC)"; export CC; \
5855 CFLAGS="$(CFLAGS)"; export CFLAGS; \
5856 CXX="$(CXX)"; export CXX; \
5857 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
5858 if [ z$(build_canonical) != z$(host_canoncial) ] ; then \
5859 AR="$(AR)"; export AR; \
5860 AS="$(AS)"; export AS; \
5861 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
5862 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
5863 LD="$(LD)"; export LD; \
5864 NM="$(NM)"; export NM; \
5865 RANLIB="$(RANLIB)"; export RANLIB; \
5866 WINDRES="$(WINDRES)"; export WINDRES; \
5867 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
5868 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
5869 fi; \
5870 echo Configuring in utils; \
5871 cd utils || exit 1; \
5872 case $(srcdir) in \
5873 \.) \
5874 srcdiroption="--srcdir=."; \
5875 libsrcdir=".";; \
5876 /* | [A-Za-z]:[\\/]*) \
5877 srcdiroption="--srcdir=$(srcdir)/utils"; \
5878 libsrcdir="$$s/utils";; \
5879 *) \
5880 srcdiroption="--srcdir=../$(srcdir)/utils"; \
5881 libsrcdir="$$s/utils";; \
5882 esac; \
5883 $(SHELL) $${libsrcdir}/configure \
5884 $(HOST_CONFIGARGS) $${srcdiroption} \
5885 || exit 1
5887 .PHONY: all-utils maybe-all-utils
5888 maybe-all-utils:
5889 all-utils: configure-utils
5890 @r=`${PWD}`; export r; \
5891 s=`cd $(srcdir); ${PWD}`; export s; \
5892 $(SET_LIB_PATH) \
5893 (cd utils; $(MAKE) $(FLAGS_TO_PASS) all)
5896 .PHONY: check-utils
5897 check-utils:
5901 .PHONY: install-utils maybe-install-utils
5902 maybe-install-utils:
5903 install-utils: installdirs
5904 @r=`${PWD}`; export r; \
5905 s=`cd $(srcdir); ${PWD}`; export s; \
5906 $(SET_LIB_PATH) \
5907 (cd utils; $(MAKE) $(FLAGS_TO_PASS) install)
5911 # ---------------------------------------
5912 # Modules which run on the target machine
5913 # ---------------------------------------
5915 .PHONY: configure-target-libstdc++-v3 maybe-configure-target-libstdc++-v3
5916 maybe-configure-target-libstdc++-v3:
5917 configure-target-libstdc++-v3: $(TARGET_SUBDIR)/libstdc++-v3/Makefile
5919 # Don't manually override CC_FOR_TARGET at make time; get it set right
5920 # at configure time. Otherwise multilibs may be wrong.
5921 $(TARGET_SUBDIR)/libstdc++-v3/multilib.out: maybe-all-gcc
5922 @[ -d $(TARGET_SUBDIR)/libstdc++-v3 ] || mkdir $(TARGET_SUBDIR)/libstdc++-v3;\
5923 r=`${PWD}`; export r; \
5924 echo "Configuring multilibs for libstdc++-v3"; \
5925 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.out 2> /dev/null
5927 $(TARGET_SUBDIR)/libstdc++-v3/Makefile: config.status $(TARGET_SUBDIR)/libstdc++-v3/multilib.out
5928 @[ -d $(TARGET_SUBDIR)/libstdc++-v3 ] || mkdir $(TARGET_SUBDIR)/libstdc++-v3;\
5929 r=`${PWD}`; export r; \
5930 s=`cd $(srcdir); ${PWD}`; export s; \
5931 $(SET_LIB_PATH) \
5932 AR="$(AR_FOR_TARGET)"; export AR; \
5933 AS="$(AS_FOR_TARGET)"; export AS; \
5934 CC="$(CC_FOR_TARGET)"; export CC; \
5935 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
5936 CXX_FOR_TARGET="$(RAW_CXX_FOR_TARGET)"; export CXX_FOR_TARGET; \
5937 CXX="$(RAW_CXX_FOR_TARGET)"; export CXX; \
5938 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
5939 GCJ="$(GCJ_FOR_TARGET)"; export GCJ; \
5940 DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \
5941 LD="$(LD_FOR_TARGET)"; export LD; \
5942 LDFLAGS="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS; \
5943 NM="$(NM_FOR_TARGET)"; export NM; \
5944 RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \
5945 WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES; \
5946 echo Configuring in $(TARGET_SUBDIR)/libstdc++-v3; \
5947 cd "$(TARGET_SUBDIR)/libstdc++-v3" || exit 1; \
5948 case $(srcdir) in \
5949 /* | [A-Za-z]:[\\/]*) \
5950 topdir=$(srcdir) ;; \
5951 *) \
5952 case "$(TARGET_SUBDIR)" in \
5953 .) topdir="../$(srcdir)" ;; \
5954 *) topdir="../../$(srcdir)" ;; \
5955 esac ;; \
5956 esac; \
5957 if [ "$(srcdir)" = "." ] ; then \
5958 if [ "$(TARGET_SUBDIR)" != "." ] ; then \
5959 if $(SHELL) $$s/symlink-tree $${topdir}/libstdc++-v3 "no-such-file" ; then \
5960 if [ -f Makefile ]; then \
5961 if $(MAKE) distclean; then \
5962 true; \
5963 else \
5964 exit 1; \
5965 fi; \
5966 else \
5967 true; \
5968 fi; \
5969 else \
5970 exit 1; \
5971 fi; \
5972 else \
5973 true; \
5974 fi; \
5975 srcdiroption="--srcdir=."; \
5976 libsrcdir="."; \
5977 else \
5978 srcdiroption="--srcdir=$${topdir}/libstdc++-v3"; \
5979 libsrcdir="$$s/libstdc++-v3"; \
5980 fi; \
5981 rm -f no-such-file || : ; \
5982 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
5983 $(TARGET_CONFIGARGS) $${srcdiroption} \
5984 --with-target-subdir="$(TARGET_SUBDIR)" \
5985 || exit 1
5987 .PHONY: all-target-libstdc++-v3 maybe-all-target-libstdc++-v3
5988 maybe-all-target-libstdc++-v3:
5989 all-target-libstdc++-v3: configure-target-libstdc++-v3
5990 @r=`${PWD}`; export r; \
5991 s=`cd $(srcdir); ${PWD}`; export s; \
5992 $(SET_LIB_PATH) \
5993 (cd $(TARGET_SUBDIR)/libstdc++-v3; \
5994 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' all)
5996 .PHONY: check-target-libstdc++-v3
5997 check-target-libstdc++-v3:
5998 @r=`${PWD}`; export r; \
5999 s=`cd $(srcdir); ${PWD}`; export s; \
6000 $(SET_LIB_PATH) \
6001 (cd $(TARGET_SUBDIR)/libstdc++-v3; \
6002 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' check)
6005 .PHONY: install-target-libstdc++-v3 maybe-install-target-libstdc++-v3
6006 maybe-install-target-libstdc++-v3:
6007 install-target-libstdc++-v3: installdirs
6008 @r=`${PWD}`; export r; \
6009 s=`cd $(srcdir); ${PWD}`; export s; \
6010 $(SET_LIB_PATH) \
6011 (cd $(TARGET_SUBDIR)/libstdc++-v3; \
6012 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
6015 .PHONY: configure-target-newlib maybe-configure-target-newlib
6016 maybe-configure-target-newlib:
6017 configure-target-newlib: $(TARGET_SUBDIR)/newlib/Makefile
6019 # Don't manually override CC_FOR_TARGET at make time; get it set right
6020 # at configure time. Otherwise multilibs may be wrong.
6021 $(TARGET_SUBDIR)/newlib/multilib.out: maybe-all-gcc
6022 @[ -d $(TARGET_SUBDIR)/newlib ] || mkdir $(TARGET_SUBDIR)/newlib;\
6023 r=`${PWD}`; export r; \
6024 echo "Configuring multilibs for newlib"; \
6025 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/newlib/multilib.out 2> /dev/null
6027 $(TARGET_SUBDIR)/newlib/Makefile: config.status $(TARGET_SUBDIR)/newlib/multilib.out
6028 @[ -d $(TARGET_SUBDIR)/newlib ] || mkdir $(TARGET_SUBDIR)/newlib;\
6029 r=`${PWD}`; export r; \
6030 s=`cd $(srcdir); ${PWD}`; export s; \
6031 $(SET_LIB_PATH) \
6032 AR="$(AR_FOR_TARGET)"; export AR; \
6033 AS="$(AS_FOR_TARGET)"; export AS; \
6034 CC="$(CC_FOR_TARGET)"; export CC; \
6035 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
6036 CXX="$(CXX_FOR_TARGET)"; export CXX; \
6037 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
6038 GCJ="$(GCJ_FOR_TARGET)"; export GCJ; \
6039 DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \
6040 LD="$(LD_FOR_TARGET)"; export LD; \
6041 LDFLAGS="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS; \
6042 NM="$(NM_FOR_TARGET)"; export NM; \
6043 RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \
6044 WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES; \
6045 echo Configuring in $(TARGET_SUBDIR)/newlib; \
6046 cd "$(TARGET_SUBDIR)/newlib" || exit 1; \
6047 case $(srcdir) in \
6048 /* | [A-Za-z]:[\\/]*) \
6049 topdir=$(srcdir) ;; \
6050 *) \
6051 case "$(TARGET_SUBDIR)" in \
6052 .) topdir="../$(srcdir)" ;; \
6053 *) topdir="../../$(srcdir)" ;; \
6054 esac ;; \
6055 esac; \
6056 if [ "$(srcdir)" = "." ] ; then \
6057 if [ "$(TARGET_SUBDIR)" != "." ] ; then \
6058 if $(SHELL) $$s/symlink-tree $${topdir}/newlib "no-such-file" ; then \
6059 if [ -f Makefile ]; then \
6060 if $(MAKE) distclean; then \
6061 true; \
6062 else \
6063 exit 1; \
6064 fi; \
6065 else \
6066 true; \
6067 fi; \
6068 else \
6069 exit 1; \
6070 fi; \
6071 else \
6072 true; \
6073 fi; \
6074 srcdiroption="--srcdir=."; \
6075 libsrcdir="."; \
6076 else \
6077 srcdiroption="--srcdir=$${topdir}/newlib"; \
6078 libsrcdir="$$s/newlib"; \
6079 fi; \
6080 rm -f no-such-file || : ; \
6081 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
6082 $(TARGET_CONFIGARGS) $${srcdiroption} \
6083 --with-target-subdir="$(TARGET_SUBDIR)" \
6084 || exit 1
6086 .PHONY: all-target-newlib maybe-all-target-newlib
6087 maybe-all-target-newlib:
6088 all-target-newlib: configure-target-newlib
6089 @r=`${PWD}`; export r; \
6090 s=`cd $(srcdir); ${PWD}`; export s; \
6091 $(SET_LIB_PATH) \
6092 (cd $(TARGET_SUBDIR)/newlib; \
6093 $(MAKE) $(TARGET_FLAGS_TO_PASS) all)
6095 .PHONY: check-target-newlib
6096 check-target-newlib:
6097 @r=`${PWD}`; export r; \
6098 s=`cd $(srcdir); ${PWD}`; export s; \
6099 $(SET_LIB_PATH) \
6100 (cd $(TARGET_SUBDIR)/newlib; \
6101 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
6104 .PHONY: install-target-newlib maybe-install-target-newlib
6105 maybe-install-target-newlib:
6106 install-target-newlib: installdirs
6107 @r=`${PWD}`; export r; \
6108 s=`cd $(srcdir); ${PWD}`; export s; \
6109 $(SET_LIB_PATH) \
6110 (cd $(TARGET_SUBDIR)/newlib; \
6111 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
6114 .PHONY: configure-target-libf2c maybe-configure-target-libf2c
6115 maybe-configure-target-libf2c:
6116 configure-target-libf2c: $(TARGET_SUBDIR)/libf2c/Makefile
6118 # Don't manually override CC_FOR_TARGET at make time; get it set right
6119 # at configure time. Otherwise multilibs may be wrong.
6120 $(TARGET_SUBDIR)/libf2c/multilib.out: maybe-all-gcc
6121 @[ -d $(TARGET_SUBDIR)/libf2c ] || mkdir $(TARGET_SUBDIR)/libf2c;\
6122 r=`${PWD}`; export r; \
6123 echo "Configuring multilibs for libf2c"; \
6124 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libf2c/multilib.out 2> /dev/null
6126 $(TARGET_SUBDIR)/libf2c/Makefile: config.status $(TARGET_SUBDIR)/libf2c/multilib.out
6127 @[ -d $(TARGET_SUBDIR)/libf2c ] || mkdir $(TARGET_SUBDIR)/libf2c;\
6128 r=`${PWD}`; export r; \
6129 s=`cd $(srcdir); ${PWD}`; export s; \
6130 $(SET_LIB_PATH) \
6131 AR="$(AR_FOR_TARGET)"; export AR; \
6132 AS="$(AS_FOR_TARGET)"; export AS; \
6133 CC="$(CC_FOR_TARGET)"; export CC; \
6134 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
6135 CXX="$(CXX_FOR_TARGET)"; export CXX; \
6136 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
6137 GCJ="$(GCJ_FOR_TARGET)"; export GCJ; \
6138 DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \
6139 LD="$(LD_FOR_TARGET)"; export LD; \
6140 LDFLAGS="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS; \
6141 NM="$(NM_FOR_TARGET)"; export NM; \
6142 RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \
6143 WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES; \
6144 echo Configuring in $(TARGET_SUBDIR)/libf2c; \
6145 cd "$(TARGET_SUBDIR)/libf2c" || exit 1; \
6146 case $(srcdir) in \
6147 /* | [A-Za-z]:[\\/]*) \
6148 topdir=$(srcdir) ;; \
6149 *) \
6150 case "$(TARGET_SUBDIR)" in \
6151 .) topdir="../$(srcdir)" ;; \
6152 *) topdir="../../$(srcdir)" ;; \
6153 esac ;; \
6154 esac; \
6155 if [ "$(srcdir)" = "." ] ; then \
6156 if [ "$(TARGET_SUBDIR)" != "." ] ; then \
6157 if $(SHELL) $$s/symlink-tree $${topdir}/libf2c "no-such-file" ; then \
6158 if [ -f Makefile ]; then \
6159 if $(MAKE) distclean; then \
6160 true; \
6161 else \
6162 exit 1; \
6163 fi; \
6164 else \
6165 true; \
6166 fi; \
6167 else \
6168 exit 1; \
6169 fi; \
6170 else \
6171 true; \
6172 fi; \
6173 srcdiroption="--srcdir=."; \
6174 libsrcdir="."; \
6175 else \
6176 srcdiroption="--srcdir=$${topdir}/libf2c"; \
6177 libsrcdir="$$s/libf2c"; \
6178 fi; \
6179 rm -f no-such-file || : ; \
6180 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
6181 $(TARGET_CONFIGARGS) $${srcdiroption} \
6182 --with-target-subdir="$(TARGET_SUBDIR)" \
6183 || exit 1
6185 .PHONY: all-target-libf2c maybe-all-target-libf2c
6186 maybe-all-target-libf2c:
6187 all-target-libf2c: configure-target-libf2c
6188 @r=`${PWD}`; export r; \
6189 s=`cd $(srcdir); ${PWD}`; export s; \
6190 $(SET_LIB_PATH) \
6191 (cd $(TARGET_SUBDIR)/libf2c; \
6192 $(MAKE) $(TARGET_FLAGS_TO_PASS) all)
6194 .PHONY: check-target-libf2c
6195 check-target-libf2c:
6196 @r=`${PWD}`; export r; \
6197 s=`cd $(srcdir); ${PWD}`; export s; \
6198 $(SET_LIB_PATH) \
6199 (cd $(TARGET_SUBDIR)/libf2c; \
6200 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
6203 .PHONY: install-target-libf2c maybe-install-target-libf2c
6204 maybe-install-target-libf2c:
6205 install-target-libf2c: installdirs
6206 @r=`${PWD}`; export r; \
6207 s=`cd $(srcdir); ${PWD}`; export s; \
6208 $(SET_LIB_PATH) \
6209 (cd $(TARGET_SUBDIR)/libf2c; \
6210 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
6213 .PHONY: configure-target-libobjc maybe-configure-target-libobjc
6214 maybe-configure-target-libobjc:
6215 configure-target-libobjc: $(TARGET_SUBDIR)/libobjc/Makefile
6217 # Don't manually override CC_FOR_TARGET at make time; get it set right
6218 # at configure time. Otherwise multilibs may be wrong.
6219 $(TARGET_SUBDIR)/libobjc/multilib.out: maybe-all-gcc
6220 @[ -d $(TARGET_SUBDIR)/libobjc ] || mkdir $(TARGET_SUBDIR)/libobjc;\
6221 r=`${PWD}`; export r; \
6222 echo "Configuring multilibs for libobjc"; \
6223 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libobjc/multilib.out 2> /dev/null
6225 $(TARGET_SUBDIR)/libobjc/Makefile: config.status $(TARGET_SUBDIR)/libobjc/multilib.out
6226 @[ -d $(TARGET_SUBDIR)/libobjc ] || mkdir $(TARGET_SUBDIR)/libobjc;\
6227 r=`${PWD}`; export r; \
6228 s=`cd $(srcdir); ${PWD}`; export s; \
6229 $(SET_LIB_PATH) \
6230 AR="$(AR_FOR_TARGET)"; export AR; \
6231 AS="$(AS_FOR_TARGET)"; export AS; \
6232 CC="$(CC_FOR_TARGET)"; export CC; \
6233 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
6234 CXX="$(CXX_FOR_TARGET)"; export CXX; \
6235 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
6236 GCJ="$(GCJ_FOR_TARGET)"; export GCJ; \
6237 DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \
6238 LD="$(LD_FOR_TARGET)"; export LD; \
6239 LDFLAGS="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS; \
6240 NM="$(NM_FOR_TARGET)"; export NM; \
6241 RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \
6242 WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES; \
6243 echo Configuring in $(TARGET_SUBDIR)/libobjc; \
6244 cd "$(TARGET_SUBDIR)/libobjc" || exit 1; \
6245 case $(srcdir) in \
6246 /* | [A-Za-z]:[\\/]*) \
6247 topdir=$(srcdir) ;; \
6248 *) \
6249 case "$(TARGET_SUBDIR)" in \
6250 .) topdir="../$(srcdir)" ;; \
6251 *) topdir="../../$(srcdir)" ;; \
6252 esac ;; \
6253 esac; \
6254 if [ "$(srcdir)" = "." ] ; then \
6255 if [ "$(TARGET_SUBDIR)" != "." ] ; then \
6256 if $(SHELL) $$s/symlink-tree $${topdir}/libobjc "no-such-file" ; then \
6257 if [ -f Makefile ]; then \
6258 if $(MAKE) distclean; then \
6259 true; \
6260 else \
6261 exit 1; \
6262 fi; \
6263 else \
6264 true; \
6265 fi; \
6266 else \
6267 exit 1; \
6268 fi; \
6269 else \
6270 true; \
6271 fi; \
6272 srcdiroption="--srcdir=."; \
6273 libsrcdir="."; \
6274 else \
6275 srcdiroption="--srcdir=$${topdir}/libobjc"; \
6276 libsrcdir="$$s/libobjc"; \
6277 fi; \
6278 rm -f no-such-file || : ; \
6279 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
6280 $(TARGET_CONFIGARGS) $${srcdiroption} \
6281 --with-target-subdir="$(TARGET_SUBDIR)" \
6282 || exit 1
6284 .PHONY: all-target-libobjc maybe-all-target-libobjc
6285 maybe-all-target-libobjc:
6286 all-target-libobjc: configure-target-libobjc
6287 @r=`${PWD}`; export r; \
6288 s=`cd $(srcdir); ${PWD}`; export s; \
6289 $(SET_LIB_PATH) \
6290 (cd $(TARGET_SUBDIR)/libobjc; \
6291 $(MAKE) $(TARGET_FLAGS_TO_PASS) all)
6293 .PHONY: check-target-libobjc
6294 check-target-libobjc:
6295 @r=`${PWD}`; export r; \
6296 s=`cd $(srcdir); ${PWD}`; export s; \
6297 $(SET_LIB_PATH) \
6298 (cd $(TARGET_SUBDIR)/libobjc; \
6299 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
6302 .PHONY: install-target-libobjc maybe-install-target-libobjc
6303 maybe-install-target-libobjc:
6304 install-target-libobjc: installdirs
6305 @r=`${PWD}`; export r; \
6306 s=`cd $(srcdir); ${PWD}`; export s; \
6307 $(SET_LIB_PATH) \
6308 (cd $(TARGET_SUBDIR)/libobjc; \
6309 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
6312 .PHONY: configure-target-libtermcap maybe-configure-target-libtermcap
6313 maybe-configure-target-libtermcap:
6314 configure-target-libtermcap: $(TARGET_SUBDIR)/libtermcap/Makefile
6316 # Don't manually override CC_FOR_TARGET at make time; get it set right
6317 # at configure time. Otherwise multilibs may be wrong.
6318 $(TARGET_SUBDIR)/libtermcap/multilib.out: maybe-all-gcc
6319 @[ -d $(TARGET_SUBDIR)/libtermcap ] || mkdir $(TARGET_SUBDIR)/libtermcap;\
6320 r=`${PWD}`; export r; \
6321 echo "Configuring multilibs for libtermcap"; \
6322 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libtermcap/multilib.out 2> /dev/null
6324 $(TARGET_SUBDIR)/libtermcap/Makefile: config.status $(TARGET_SUBDIR)/libtermcap/multilib.out
6325 @[ -d $(TARGET_SUBDIR)/libtermcap ] || mkdir $(TARGET_SUBDIR)/libtermcap;\
6326 r=`${PWD}`; export r; \
6327 s=`cd $(srcdir); ${PWD}`; export s; \
6328 $(SET_LIB_PATH) \
6329 AR="$(AR_FOR_TARGET)"; export AR; \
6330 AS="$(AS_FOR_TARGET)"; export AS; \
6331 CC="$(CC_FOR_TARGET)"; export CC; \
6332 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
6333 CXX="$(CXX_FOR_TARGET)"; export CXX; \
6334 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
6335 GCJ="$(GCJ_FOR_TARGET)"; export GCJ; \
6336 DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \
6337 LD="$(LD_FOR_TARGET)"; export LD; \
6338 LDFLAGS="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS; \
6339 NM="$(NM_FOR_TARGET)"; export NM; \
6340 RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \
6341 WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES; \
6342 echo Configuring in $(TARGET_SUBDIR)/libtermcap; \
6343 cd "$(TARGET_SUBDIR)/libtermcap" || exit 1; \
6344 case $(srcdir) in \
6345 /* | [A-Za-z]:[\\/]*) \
6346 topdir=$(srcdir) ;; \
6347 *) \
6348 case "$(TARGET_SUBDIR)" in \
6349 .) topdir="../$(srcdir)" ;; \
6350 *) topdir="../../$(srcdir)" ;; \
6351 esac ;; \
6352 esac; \
6353 if [ "$(srcdir)" = "." ] ; then \
6354 if [ "$(TARGET_SUBDIR)" != "." ] ; then \
6355 if $(SHELL) $$s/symlink-tree $${topdir}/libtermcap "no-such-file" ; then \
6356 if [ -f Makefile ]; then \
6357 if $(MAKE) distclean; then \
6358 true; \
6359 else \
6360 exit 1; \
6361 fi; \
6362 else \
6363 true; \
6364 fi; \
6365 else \
6366 exit 1; \
6367 fi; \
6368 else \
6369 true; \
6370 fi; \
6371 srcdiroption="--srcdir=."; \
6372 libsrcdir="."; \
6373 else \
6374 srcdiroption="--srcdir=$${topdir}/libtermcap"; \
6375 libsrcdir="$$s/libtermcap"; \
6376 fi; \
6377 rm -f no-such-file || : ; \
6378 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
6379 $(TARGET_CONFIGARGS) $${srcdiroption} \
6380 --with-target-subdir="$(TARGET_SUBDIR)" \
6381 || exit 1
6383 .PHONY: all-target-libtermcap maybe-all-target-libtermcap
6384 maybe-all-target-libtermcap:
6385 all-target-libtermcap: configure-target-libtermcap
6386 @r=`${PWD}`; export r; \
6387 s=`cd $(srcdir); ${PWD}`; export s; \
6388 $(SET_LIB_PATH) \
6389 (cd $(TARGET_SUBDIR)/libtermcap; \
6390 $(MAKE) $(TARGET_FLAGS_TO_PASS) all)
6392 # Dummy target for uncheckable module.
6393 .PHONY: check-target-libtermcap
6394 check-target-libtermcap:
6397 .PHONY: install-target-libtermcap maybe-install-target-libtermcap
6398 maybe-install-target-libtermcap:
6399 install-target-libtermcap: installdirs
6400 @r=`${PWD}`; export r; \
6401 s=`cd $(srcdir); ${PWD}`; export s; \
6402 $(SET_LIB_PATH) \
6403 (cd $(TARGET_SUBDIR)/libtermcap; \
6404 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
6407 .PHONY: configure-target-winsup maybe-configure-target-winsup
6408 maybe-configure-target-winsup:
6409 configure-target-winsup: $(TARGET_SUBDIR)/winsup/Makefile
6411 # Don't manually override CC_FOR_TARGET at make time; get it set right
6412 # at configure time. Otherwise multilibs may be wrong.
6413 $(TARGET_SUBDIR)/winsup/multilib.out: maybe-all-gcc
6414 @[ -d $(TARGET_SUBDIR)/winsup ] || mkdir $(TARGET_SUBDIR)/winsup;\
6415 r=`${PWD}`; export r; \
6416 echo "Configuring multilibs for winsup"; \
6417 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/winsup/multilib.out 2> /dev/null
6419 $(TARGET_SUBDIR)/winsup/Makefile: config.status $(TARGET_SUBDIR)/winsup/multilib.out
6420 @[ -d $(TARGET_SUBDIR)/winsup ] || mkdir $(TARGET_SUBDIR)/winsup;\
6421 r=`${PWD}`; export r; \
6422 s=`cd $(srcdir); ${PWD}`; export s; \
6423 $(SET_LIB_PATH) \
6424 AR="$(AR_FOR_TARGET)"; export AR; \
6425 AS="$(AS_FOR_TARGET)"; export AS; \
6426 CC="$(CC_FOR_TARGET)"; export CC; \
6427 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
6428 CXX="$(CXX_FOR_TARGET)"; export CXX; \
6429 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
6430 GCJ="$(GCJ_FOR_TARGET)"; export GCJ; \
6431 DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \
6432 LD="$(LD_FOR_TARGET)"; export LD; \
6433 LDFLAGS="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS; \
6434 NM="$(NM_FOR_TARGET)"; export NM; \
6435 RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \
6436 WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES; \
6437 echo Configuring in $(TARGET_SUBDIR)/winsup; \
6438 cd "$(TARGET_SUBDIR)/winsup" || exit 1; \
6439 case $(srcdir) in \
6440 /* | [A-Za-z]:[\\/]*) \
6441 topdir=$(srcdir) ;; \
6442 *) \
6443 case "$(TARGET_SUBDIR)" in \
6444 .) topdir="../$(srcdir)" ;; \
6445 *) topdir="../../$(srcdir)" ;; \
6446 esac ;; \
6447 esac; \
6448 if [ "$(srcdir)" = "." ] ; then \
6449 if [ "$(TARGET_SUBDIR)" != "." ] ; then \
6450 if $(SHELL) $$s/symlink-tree $${topdir}/winsup "no-such-file" ; then \
6451 if [ -f Makefile ]; then \
6452 if $(MAKE) distclean; then \
6453 true; \
6454 else \
6455 exit 1; \
6456 fi; \
6457 else \
6458 true; \
6459 fi; \
6460 else \
6461 exit 1; \
6462 fi; \
6463 else \
6464 true; \
6465 fi; \
6466 srcdiroption="--srcdir=."; \
6467 libsrcdir="."; \
6468 else \
6469 srcdiroption="--srcdir=$${topdir}/winsup"; \
6470 libsrcdir="$$s/winsup"; \
6471 fi; \
6472 rm -f no-such-file || : ; \
6473 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
6474 $(TARGET_CONFIGARGS) $${srcdiroption} \
6475 --with-target-subdir="$(TARGET_SUBDIR)" \
6476 || exit 1
6478 .PHONY: all-target-winsup maybe-all-target-winsup
6479 maybe-all-target-winsup:
6480 all-target-winsup: configure-target-winsup
6481 @r=`${PWD}`; export r; \
6482 s=`cd $(srcdir); ${PWD}`; export s; \
6483 $(SET_LIB_PATH) \
6484 (cd $(TARGET_SUBDIR)/winsup; \
6485 $(MAKE) $(TARGET_FLAGS_TO_PASS) all)
6487 .PHONY: check-target-winsup
6488 check-target-winsup:
6489 @r=`${PWD}`; export r; \
6490 s=`cd $(srcdir); ${PWD}`; export s; \
6491 $(SET_LIB_PATH) \
6492 (cd $(TARGET_SUBDIR)/winsup; \
6493 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
6496 .PHONY: install-target-winsup maybe-install-target-winsup
6497 maybe-install-target-winsup:
6498 install-target-winsup: installdirs
6499 @r=`${PWD}`; export r; \
6500 s=`cd $(srcdir); ${PWD}`; export s; \
6501 $(SET_LIB_PATH) \
6502 (cd $(TARGET_SUBDIR)/winsup; \
6503 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
6506 .PHONY: configure-target-libgloss maybe-configure-target-libgloss
6507 maybe-configure-target-libgloss:
6508 configure-target-libgloss: $(TARGET_SUBDIR)/libgloss/Makefile
6510 # Don't manually override CC_FOR_TARGET at make time; get it set right
6511 # at configure time. Otherwise multilibs may be wrong.
6512 $(TARGET_SUBDIR)/libgloss/multilib.out: maybe-all-gcc
6513 @[ -d $(TARGET_SUBDIR)/libgloss ] || mkdir $(TARGET_SUBDIR)/libgloss;\
6514 r=`${PWD}`; export r; \
6515 echo "Configuring multilibs for libgloss"; \
6516 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgloss/multilib.out 2> /dev/null
6518 $(TARGET_SUBDIR)/libgloss/Makefile: config.status $(TARGET_SUBDIR)/libgloss/multilib.out
6519 @[ -d $(TARGET_SUBDIR)/libgloss ] || mkdir $(TARGET_SUBDIR)/libgloss;\
6520 r=`${PWD}`; export r; \
6521 s=`cd $(srcdir); ${PWD}`; export s; \
6522 $(SET_LIB_PATH) \
6523 AR="$(AR_FOR_TARGET)"; export AR; \
6524 AS="$(AS_FOR_TARGET)"; export AS; \
6525 CC="$(CC_FOR_TARGET)"; export CC; \
6526 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
6527 CXX="$(CXX_FOR_TARGET)"; export CXX; \
6528 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
6529 GCJ="$(GCJ_FOR_TARGET)"; export GCJ; \
6530 DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \
6531 LD="$(LD_FOR_TARGET)"; export LD; \
6532 LDFLAGS="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS; \
6533 NM="$(NM_FOR_TARGET)"; export NM; \
6534 RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \
6535 WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES; \
6536 echo Configuring in $(TARGET_SUBDIR)/libgloss; \
6537 cd "$(TARGET_SUBDIR)/libgloss" || exit 1; \
6538 case $(srcdir) in \
6539 /* | [A-Za-z]:[\\/]*) \
6540 topdir=$(srcdir) ;; \
6541 *) \
6542 case "$(TARGET_SUBDIR)" in \
6543 .) topdir="../$(srcdir)" ;; \
6544 *) topdir="../../$(srcdir)" ;; \
6545 esac ;; \
6546 esac; \
6547 if [ "$(srcdir)" = "." ] ; then \
6548 if [ "$(TARGET_SUBDIR)" != "." ] ; then \
6549 if $(SHELL) $$s/symlink-tree $${topdir}/libgloss "no-such-file" ; then \
6550 if [ -f Makefile ]; then \
6551 if $(MAKE) distclean; then \
6552 true; \
6553 else \
6554 exit 1; \
6555 fi; \
6556 else \
6557 true; \
6558 fi; \
6559 else \
6560 exit 1; \
6561 fi; \
6562 else \
6563 true; \
6564 fi; \
6565 srcdiroption="--srcdir=."; \
6566 libsrcdir="."; \
6567 else \
6568 srcdiroption="--srcdir=$${topdir}/libgloss"; \
6569 libsrcdir="$$s/libgloss"; \
6570 fi; \
6571 rm -f no-such-file || : ; \
6572 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
6573 $(TARGET_CONFIGARGS) $${srcdiroption} \
6574 --with-target-subdir="$(TARGET_SUBDIR)" \
6575 || exit 1
6577 .PHONY: all-target-libgloss maybe-all-target-libgloss
6578 maybe-all-target-libgloss:
6579 all-target-libgloss: configure-target-libgloss
6580 @r=`${PWD}`; export r; \
6581 s=`cd $(srcdir); ${PWD}`; export s; \
6582 $(SET_LIB_PATH) \
6583 (cd $(TARGET_SUBDIR)/libgloss; \
6584 $(MAKE) $(TARGET_FLAGS_TO_PASS) all)
6586 # Dummy target for uncheckable module.
6587 .PHONY: check-target-libgloss
6588 check-target-libgloss:
6591 .PHONY: install-target-libgloss maybe-install-target-libgloss
6592 maybe-install-target-libgloss:
6593 install-target-libgloss: installdirs
6594 @r=`${PWD}`; export r; \
6595 s=`cd $(srcdir); ${PWD}`; export s; \
6596 $(SET_LIB_PATH) \
6597 (cd $(TARGET_SUBDIR)/libgloss; \
6598 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
6601 .PHONY: configure-target-libiberty maybe-configure-target-libiberty
6602 maybe-configure-target-libiberty:
6603 configure-target-libiberty: $(TARGET_SUBDIR)/libiberty/Makefile
6605 # Don't manually override CC_FOR_TARGET at make time; get it set right
6606 # at configure time. Otherwise multilibs may be wrong.
6607 $(TARGET_SUBDIR)/libiberty/multilib.out: maybe-all-gcc
6608 @[ -d $(TARGET_SUBDIR)/libiberty ] || mkdir $(TARGET_SUBDIR)/libiberty;\
6609 r=`${PWD}`; export r; \
6610 echo "Configuring multilibs for libiberty"; \
6611 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libiberty/multilib.out 2> /dev/null
6613 $(TARGET_SUBDIR)/libiberty/Makefile: config.status $(TARGET_SUBDIR)/libiberty/multilib.out
6614 @[ -d $(TARGET_SUBDIR)/libiberty ] || mkdir $(TARGET_SUBDIR)/libiberty;\
6615 r=`${PWD}`; export r; \
6616 s=`cd $(srcdir); ${PWD}`; export s; \
6617 $(SET_LIB_PATH) \
6618 AR="$(AR_FOR_TARGET)"; export AR; \
6619 AS="$(AS_FOR_TARGET)"; export AS; \
6620 CC="$(CC_FOR_TARGET)"; export CC; \
6621 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
6622 CXX="$(CXX_FOR_TARGET)"; export CXX; \
6623 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
6624 GCJ="$(GCJ_FOR_TARGET)"; export GCJ; \
6625 DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \
6626 LD="$(LD_FOR_TARGET)"; export LD; \
6627 LDFLAGS="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS; \
6628 NM="$(NM_FOR_TARGET)"; export NM; \
6629 RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \
6630 WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES; \
6631 echo Configuring in $(TARGET_SUBDIR)/libiberty; \
6632 cd "$(TARGET_SUBDIR)/libiberty" || exit 1; \
6633 case $(srcdir) in \
6634 /* | [A-Za-z]:[\\/]*) \
6635 topdir=$(srcdir) ;; \
6636 *) \
6637 case "$(TARGET_SUBDIR)" in \
6638 .) topdir="../$(srcdir)" ;; \
6639 *) topdir="../../$(srcdir)" ;; \
6640 esac ;; \
6641 esac; \
6642 if [ "$(srcdir)" = "." ] ; then \
6643 if [ "$(TARGET_SUBDIR)" != "." ] ; then \
6644 if $(SHELL) $$s/symlink-tree $${topdir}/libiberty "no-such-file" ; then \
6645 if [ -f Makefile ]; then \
6646 if $(MAKE) distclean; then \
6647 true; \
6648 else \
6649 exit 1; \
6650 fi; \
6651 else \
6652 true; \
6653 fi; \
6654 else \
6655 exit 1; \
6656 fi; \
6657 else \
6658 true; \
6659 fi; \
6660 srcdiroption="--srcdir=."; \
6661 libsrcdir="."; \
6662 else \
6663 srcdiroption="--srcdir=$${topdir}/libiberty"; \
6664 libsrcdir="$$s/libiberty"; \
6665 fi; \
6666 rm -f no-such-file || : ; \
6667 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
6668 $(TARGET_CONFIGARGS) $${srcdiroption} \
6669 --with-target-subdir="$(TARGET_SUBDIR)" \
6670 || exit 1
6672 .PHONY: all-target-libiberty maybe-all-target-libiberty
6673 maybe-all-target-libiberty:
6674 all-target-libiberty: configure-target-libiberty
6675 @r=`${PWD}`; export r; \
6676 s=`cd $(srcdir); ${PWD}`; export s; \
6677 $(SET_LIB_PATH) \
6678 (cd $(TARGET_SUBDIR)/libiberty; \
6679 $(MAKE) $(TARGET_FLAGS_TO_PASS) all)
6681 .PHONY: check-target-libiberty
6682 check-target-libiberty:
6683 @r=`${PWD}`; export r; \
6684 s=`cd $(srcdir); ${PWD}`; export s; \
6685 $(SET_LIB_PATH) \
6686 (cd $(TARGET_SUBDIR)/libiberty; \
6687 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
6690 .PHONY: install-target-libiberty maybe-install-target-libiberty
6691 maybe-install-target-libiberty:
6692 install-target-libiberty: installdirs
6693 @r=`${PWD}`; export r; \
6694 s=`cd $(srcdir); ${PWD}`; export s; \
6695 $(SET_LIB_PATH) \
6696 (cd $(TARGET_SUBDIR)/libiberty; \
6697 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
6700 .PHONY: configure-target-gperf maybe-configure-target-gperf
6701 maybe-configure-target-gperf:
6702 configure-target-gperf: $(TARGET_SUBDIR)/gperf/Makefile
6704 # Don't manually override CC_FOR_TARGET at make time; get it set right
6705 # at configure time. Otherwise multilibs may be wrong.
6706 $(TARGET_SUBDIR)/gperf/multilib.out: maybe-all-gcc
6707 @[ -d $(TARGET_SUBDIR)/gperf ] || mkdir $(TARGET_SUBDIR)/gperf;\
6708 r=`${PWD}`; export r; \
6709 echo "Configuring multilibs for gperf"; \
6710 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/gperf/multilib.out 2> /dev/null
6712 $(TARGET_SUBDIR)/gperf/Makefile: config.status $(TARGET_SUBDIR)/gperf/multilib.out
6713 @[ -d $(TARGET_SUBDIR)/gperf ] || mkdir $(TARGET_SUBDIR)/gperf;\
6714 r=`${PWD}`; export r; \
6715 s=`cd $(srcdir); ${PWD}`; export s; \
6716 $(SET_LIB_PATH) \
6717 AR="$(AR_FOR_TARGET)"; export AR; \
6718 AS="$(AS_FOR_TARGET)"; export AS; \
6719 CC="$(CC_FOR_TARGET)"; export CC; \
6720 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
6721 CXX="$(CXX_FOR_TARGET)"; export CXX; \
6722 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
6723 GCJ="$(GCJ_FOR_TARGET)"; export GCJ; \
6724 DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \
6725 LD="$(LD_FOR_TARGET)"; export LD; \
6726 LDFLAGS="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS; \
6727 NM="$(NM_FOR_TARGET)"; export NM; \
6728 RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \
6729 WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES; \
6730 echo Configuring in $(TARGET_SUBDIR)/gperf; \
6731 cd "$(TARGET_SUBDIR)/gperf" || exit 1; \
6732 case $(srcdir) in \
6733 /* | [A-Za-z]:[\\/]*) \
6734 topdir=$(srcdir) ;; \
6735 *) \
6736 case "$(TARGET_SUBDIR)" in \
6737 .) topdir="../$(srcdir)" ;; \
6738 *) topdir="../../$(srcdir)" ;; \
6739 esac ;; \
6740 esac; \
6741 if [ "$(srcdir)" = "." ] ; then \
6742 if [ "$(TARGET_SUBDIR)" != "." ] ; then \
6743 if $(SHELL) $$s/symlink-tree $${topdir}/gperf "no-such-file" ; then \
6744 if [ -f Makefile ]; then \
6745 if $(MAKE) distclean; then \
6746 true; \
6747 else \
6748 exit 1; \
6749 fi; \
6750 else \
6751 true; \
6752 fi; \
6753 else \
6754 exit 1; \
6755 fi; \
6756 else \
6757 true; \
6758 fi; \
6759 srcdiroption="--srcdir=."; \
6760 libsrcdir="."; \
6761 else \
6762 srcdiroption="--srcdir=$${topdir}/gperf"; \
6763 libsrcdir="$$s/gperf"; \
6764 fi; \
6765 rm -f no-such-file || : ; \
6766 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
6767 $(TARGET_CONFIGARGS) $${srcdiroption} \
6768 --with-target-subdir="$(TARGET_SUBDIR)" \
6769 || exit 1
6771 .PHONY: all-target-gperf maybe-all-target-gperf
6772 maybe-all-target-gperf:
6773 all-target-gperf: configure-target-gperf
6774 @r=`${PWD}`; export r; \
6775 s=`cd $(srcdir); ${PWD}`; export s; \
6776 $(SET_LIB_PATH) \
6777 (cd $(TARGET_SUBDIR)/gperf; \
6778 $(MAKE) $(TARGET_FLAGS_TO_PASS) all)
6780 .PHONY: check-target-gperf
6781 check-target-gperf:
6782 @r=`${PWD}`; export r; \
6783 s=`cd $(srcdir); ${PWD}`; export s; \
6784 $(SET_LIB_PATH) \
6785 (cd $(TARGET_SUBDIR)/gperf; \
6786 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
6789 .PHONY: install-target-gperf maybe-install-target-gperf
6790 maybe-install-target-gperf:
6791 install-target-gperf: installdirs
6792 @r=`${PWD}`; export r; \
6793 s=`cd $(srcdir); ${PWD}`; export s; \
6794 $(SET_LIB_PATH) \
6795 (cd $(TARGET_SUBDIR)/gperf; \
6796 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
6799 .PHONY: configure-target-examples maybe-configure-target-examples
6800 maybe-configure-target-examples:
6801 configure-target-examples: $(TARGET_SUBDIR)/examples/Makefile
6803 # Don't manually override CC_FOR_TARGET at make time; get it set right
6804 # at configure time. Otherwise multilibs may be wrong.
6805 $(TARGET_SUBDIR)/examples/multilib.out: maybe-all-gcc
6806 @[ -d $(TARGET_SUBDIR)/examples ] || mkdir $(TARGET_SUBDIR)/examples;\
6807 r=`${PWD}`; export r; \
6808 echo "Configuring multilibs for examples"; \
6809 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/examples/multilib.out 2> /dev/null
6811 $(TARGET_SUBDIR)/examples/Makefile: config.status $(TARGET_SUBDIR)/examples/multilib.out
6812 @[ -d $(TARGET_SUBDIR)/examples ] || mkdir $(TARGET_SUBDIR)/examples;\
6813 r=`${PWD}`; export r; \
6814 s=`cd $(srcdir); ${PWD}`; export s; \
6815 $(SET_LIB_PATH) \
6816 AR="$(AR_FOR_TARGET)"; export AR; \
6817 AS="$(AS_FOR_TARGET)"; export AS; \
6818 CC="$(CC_FOR_TARGET)"; export CC; \
6819 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
6820 CXX="$(CXX_FOR_TARGET)"; export CXX; \
6821 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
6822 GCJ="$(GCJ_FOR_TARGET)"; export GCJ; \
6823 DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \
6824 LD="$(LD_FOR_TARGET)"; export LD; \
6825 LDFLAGS="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS; \
6826 NM="$(NM_FOR_TARGET)"; export NM; \
6827 RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \
6828 WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES; \
6829 echo Configuring in $(TARGET_SUBDIR)/examples; \
6830 cd "$(TARGET_SUBDIR)/examples" || exit 1; \
6831 case $(srcdir) in \
6832 /* | [A-Za-z]:[\\/]*) \
6833 topdir=$(srcdir) ;; \
6834 *) \
6835 case "$(TARGET_SUBDIR)" in \
6836 .) topdir="../$(srcdir)" ;; \
6837 *) topdir="../../$(srcdir)" ;; \
6838 esac ;; \
6839 esac; \
6840 if [ "$(srcdir)" = "." ] ; then \
6841 if [ "$(TARGET_SUBDIR)" != "." ] ; then \
6842 if $(SHELL) $$s/symlink-tree $${topdir}/examples "no-such-file" ; then \
6843 if [ -f Makefile ]; then \
6844 if $(MAKE) distclean; then \
6845 true; \
6846 else \
6847 exit 1; \
6848 fi; \
6849 else \
6850 true; \
6851 fi; \
6852 else \
6853 exit 1; \
6854 fi; \
6855 else \
6856 true; \
6857 fi; \
6858 srcdiroption="--srcdir=."; \
6859 libsrcdir="."; \
6860 else \
6861 srcdiroption="--srcdir=$${topdir}/examples"; \
6862 libsrcdir="$$s/examples"; \
6863 fi; \
6864 rm -f no-such-file || : ; \
6865 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
6866 $(TARGET_CONFIGARGS) $${srcdiroption} \
6867 --with-target-subdir="$(TARGET_SUBDIR)" \
6868 || exit 1
6870 .PHONY: all-target-examples maybe-all-target-examples
6871 maybe-all-target-examples:
6872 all-target-examples: configure-target-examples
6873 @r=`${PWD}`; export r; \
6874 s=`cd $(srcdir); ${PWD}`; export s; \
6875 $(SET_LIB_PATH) \
6876 (cd $(TARGET_SUBDIR)/examples; \
6877 $(MAKE) $(TARGET_FLAGS_TO_PASS) all)
6879 # Dummy target for uncheckable module.
6880 .PHONY: check-target-examples
6881 check-target-examples:
6884 .PHONY: install-target-examples maybe-install-target-examples
6885 maybe-install-target-examples:
6886 # Dummy target for uninstallable.
6887 install-target-examples:
6890 .PHONY: configure-target-libffi maybe-configure-target-libffi
6891 maybe-configure-target-libffi:
6892 configure-target-libffi: $(TARGET_SUBDIR)/libffi/Makefile
6894 # Don't manually override CC_FOR_TARGET at make time; get it set right
6895 # at configure time. Otherwise multilibs may be wrong.
6896 $(TARGET_SUBDIR)/libffi/multilib.out: maybe-all-gcc
6897 @[ -d $(TARGET_SUBDIR)/libffi ] || mkdir $(TARGET_SUBDIR)/libffi;\
6898 r=`${PWD}`; export r; \
6899 echo "Configuring multilibs for libffi"; \
6900 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libffi/multilib.out 2> /dev/null
6902 $(TARGET_SUBDIR)/libffi/Makefile: config.status $(TARGET_SUBDIR)/libffi/multilib.out
6903 @[ -d $(TARGET_SUBDIR)/libffi ] || mkdir $(TARGET_SUBDIR)/libffi;\
6904 r=`${PWD}`; export r; \
6905 s=`cd $(srcdir); ${PWD}`; export s; \
6906 $(SET_LIB_PATH) \
6907 AR="$(AR_FOR_TARGET)"; export AR; \
6908 AS="$(AS_FOR_TARGET)"; export AS; \
6909 CC="$(CC_FOR_TARGET)"; export CC; \
6910 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
6911 CXX="$(CXX_FOR_TARGET)"; export CXX; \
6912 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
6913 GCJ="$(GCJ_FOR_TARGET)"; export GCJ; \
6914 DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \
6915 LD="$(LD_FOR_TARGET)"; export LD; \
6916 LDFLAGS="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS; \
6917 NM="$(NM_FOR_TARGET)"; export NM; \
6918 RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \
6919 WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES; \
6920 echo Configuring in $(TARGET_SUBDIR)/libffi; \
6921 cd "$(TARGET_SUBDIR)/libffi" || exit 1; \
6922 case $(srcdir) in \
6923 /* | [A-Za-z]:[\\/]*) \
6924 topdir=$(srcdir) ;; \
6925 *) \
6926 case "$(TARGET_SUBDIR)" in \
6927 .) topdir="../$(srcdir)" ;; \
6928 *) topdir="../../$(srcdir)" ;; \
6929 esac ;; \
6930 esac; \
6931 if [ "$(srcdir)" = "." ] ; then \
6932 if [ "$(TARGET_SUBDIR)" != "." ] ; then \
6933 if $(SHELL) $$s/symlink-tree $${topdir}/libffi "no-such-file" ; then \
6934 if [ -f Makefile ]; then \
6935 if $(MAKE) distclean; then \
6936 true; \
6937 else \
6938 exit 1; \
6939 fi; \
6940 else \
6941 true; \
6942 fi; \
6943 else \
6944 exit 1; \
6945 fi; \
6946 else \
6947 true; \
6948 fi; \
6949 srcdiroption="--srcdir=."; \
6950 libsrcdir="."; \
6951 else \
6952 srcdiroption="--srcdir=$${topdir}/libffi"; \
6953 libsrcdir="$$s/libffi"; \
6954 fi; \
6955 rm -f no-such-file || : ; \
6956 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
6957 $(TARGET_CONFIGARGS) $${srcdiroption} \
6958 --with-target-subdir="$(TARGET_SUBDIR)" \
6959 || exit 1
6961 .PHONY: all-target-libffi maybe-all-target-libffi
6962 maybe-all-target-libffi:
6963 all-target-libffi: configure-target-libffi
6964 @r=`${PWD}`; export r; \
6965 s=`cd $(srcdir); ${PWD}`; export s; \
6966 $(SET_LIB_PATH) \
6967 (cd $(TARGET_SUBDIR)/libffi; \
6968 $(MAKE) $(TARGET_FLAGS_TO_PASS) all)
6970 .PHONY: check-target-libffi
6971 check-target-libffi:
6972 @r=`${PWD}`; export r; \
6973 s=`cd $(srcdir); ${PWD}`; export s; \
6974 $(SET_LIB_PATH) \
6975 (cd $(TARGET_SUBDIR)/libffi; \
6976 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
6979 .PHONY: install-target-libffi maybe-install-target-libffi
6980 maybe-install-target-libffi:
6981 # Dummy target for uninstallable.
6982 install-target-libffi:
6985 .PHONY: configure-target-libjava maybe-configure-target-libjava
6986 maybe-configure-target-libjava:
6987 configure-target-libjava: $(TARGET_SUBDIR)/libjava/Makefile
6989 # Don't manually override CC_FOR_TARGET at make time; get it set right
6990 # at configure time. Otherwise multilibs may be wrong.
6991 $(TARGET_SUBDIR)/libjava/multilib.out: maybe-all-gcc
6992 @[ -d $(TARGET_SUBDIR)/libjava ] || mkdir $(TARGET_SUBDIR)/libjava;\
6993 r=`${PWD}`; export r; \
6994 echo "Configuring multilibs for libjava"; \
6995 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libjava/multilib.out 2> /dev/null
6997 $(TARGET_SUBDIR)/libjava/Makefile: config.status $(TARGET_SUBDIR)/libjava/multilib.out
6998 @[ -d $(TARGET_SUBDIR)/libjava ] || mkdir $(TARGET_SUBDIR)/libjava;\
6999 r=`${PWD}`; export r; \
7000 s=`cd $(srcdir); ${PWD}`; export s; \
7001 $(SET_LIB_PATH) \
7002 AR="$(AR_FOR_TARGET)"; export AR; \
7003 AS="$(AS_FOR_TARGET)"; export AS; \
7004 CC="$(CC_FOR_TARGET)"; export CC; \
7005 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
7006 CXX_FOR_TARGET="$(RAW_CXX_FOR_TARGET)"; export CXX_FOR_TARGET; \
7007 CXX="$(RAW_CXX_FOR_TARGET)"; export CXX; \
7008 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
7009 GCJ="$(GCJ_FOR_TARGET)"; export GCJ; \
7010 DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \
7011 LD="$(LD_FOR_TARGET)"; export LD; \
7012 LDFLAGS="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS; \
7013 NM="$(NM_FOR_TARGET)"; export NM; \
7014 RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \
7015 WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES; \
7016 echo Configuring in $(TARGET_SUBDIR)/libjava; \
7017 cd "$(TARGET_SUBDIR)/libjava" || exit 1; \
7018 case $(srcdir) in \
7019 /* | [A-Za-z]:[\\/]*) \
7020 topdir=$(srcdir) ;; \
7021 *) \
7022 case "$(TARGET_SUBDIR)" in \
7023 .) topdir="../$(srcdir)" ;; \
7024 *) topdir="../../$(srcdir)" ;; \
7025 esac ;; \
7026 esac; \
7027 if [ "$(srcdir)" = "." ] ; then \
7028 if [ "$(TARGET_SUBDIR)" != "." ] ; then \
7029 if $(SHELL) $$s/symlink-tree $${topdir}/libjava "no-such-file" ; then \
7030 if [ -f Makefile ]; then \
7031 if $(MAKE) distclean; then \
7032 true; \
7033 else \
7034 exit 1; \
7035 fi; \
7036 else \
7037 true; \
7038 fi; \
7039 else \
7040 exit 1; \
7041 fi; \
7042 else \
7043 true; \
7044 fi; \
7045 srcdiroption="--srcdir=."; \
7046 libsrcdir="."; \
7047 else \
7048 srcdiroption="--srcdir=$${topdir}/libjava"; \
7049 libsrcdir="$$s/libjava"; \
7050 fi; \
7051 rm -f no-such-file || : ; \
7052 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
7053 $(TARGET_CONFIGARGS) $${srcdiroption} \
7054 --with-target-subdir="$(TARGET_SUBDIR)" \
7055 || exit 1
7057 .PHONY: all-target-libjava maybe-all-target-libjava
7058 maybe-all-target-libjava:
7059 all-target-libjava: configure-target-libjava
7060 @r=`${PWD}`; export r; \
7061 s=`cd $(srcdir); ${PWD}`; export s; \
7062 $(SET_LIB_PATH) \
7063 (cd $(TARGET_SUBDIR)/libjava; \
7064 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' all)
7066 .PHONY: check-target-libjava
7067 check-target-libjava:
7068 @r=`${PWD}`; export r; \
7069 s=`cd $(srcdir); ${PWD}`; export s; \
7070 $(SET_LIB_PATH) \
7071 (cd $(TARGET_SUBDIR)/libjava; \
7072 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' check)
7075 .PHONY: install-target-libjava maybe-install-target-libjava
7076 maybe-install-target-libjava:
7077 install-target-libjava: installdirs
7078 @r=`${PWD}`; export r; \
7079 s=`cd $(srcdir); ${PWD}`; export s; \
7080 $(SET_LIB_PATH) \
7081 (cd $(TARGET_SUBDIR)/libjava; \
7082 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
7085 .PHONY: configure-target-zlib maybe-configure-target-zlib
7086 maybe-configure-target-zlib:
7087 configure-target-zlib: $(TARGET_SUBDIR)/zlib/Makefile
7089 # Don't manually override CC_FOR_TARGET at make time; get it set right
7090 # at configure time. Otherwise multilibs may be wrong.
7091 $(TARGET_SUBDIR)/zlib/multilib.out: maybe-all-gcc
7092 @[ -d $(TARGET_SUBDIR)/zlib ] || mkdir $(TARGET_SUBDIR)/zlib;\
7093 r=`${PWD}`; export r; \
7094 echo "Configuring multilibs for zlib"; \
7095 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/zlib/multilib.out 2> /dev/null
7097 $(TARGET_SUBDIR)/zlib/Makefile: config.status $(TARGET_SUBDIR)/zlib/multilib.out
7098 @[ -d $(TARGET_SUBDIR)/zlib ] || mkdir $(TARGET_SUBDIR)/zlib;\
7099 r=`${PWD}`; export r; \
7100 s=`cd $(srcdir); ${PWD}`; export s; \
7101 $(SET_LIB_PATH) \
7102 AR="$(AR_FOR_TARGET)"; export AR; \
7103 AS="$(AS_FOR_TARGET)"; export AS; \
7104 CC="$(CC_FOR_TARGET)"; export CC; \
7105 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
7106 CXX="$(CXX_FOR_TARGET)"; export CXX; \
7107 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
7108 GCJ="$(GCJ_FOR_TARGET)"; export GCJ; \
7109 DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \
7110 LD="$(LD_FOR_TARGET)"; export LD; \
7111 LDFLAGS="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS; \
7112 NM="$(NM_FOR_TARGET)"; export NM; \
7113 RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \
7114 WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES; \
7115 echo Configuring in $(TARGET_SUBDIR)/zlib; \
7116 cd "$(TARGET_SUBDIR)/zlib" || exit 1; \
7117 case $(srcdir) in \
7118 /* | [A-Za-z]:[\\/]*) \
7119 topdir=$(srcdir) ;; \
7120 *) \
7121 case "$(TARGET_SUBDIR)" in \
7122 .) topdir="../$(srcdir)" ;; \
7123 *) topdir="../../$(srcdir)" ;; \
7124 esac ;; \
7125 esac; \
7126 if [ "$(srcdir)" = "." ] ; then \
7127 if [ "$(TARGET_SUBDIR)" != "." ] ; then \
7128 if $(SHELL) $$s/symlink-tree $${topdir}/zlib "no-such-file" ; then \
7129 if [ -f Makefile ]; then \
7130 if $(MAKE) distclean; then \
7131 true; \
7132 else \
7133 exit 1; \
7134 fi; \
7135 else \
7136 true; \
7137 fi; \
7138 else \
7139 exit 1; \
7140 fi; \
7141 else \
7142 true; \
7143 fi; \
7144 srcdiroption="--srcdir=."; \
7145 libsrcdir="."; \
7146 else \
7147 srcdiroption="--srcdir=$${topdir}/zlib"; \
7148 libsrcdir="$$s/zlib"; \
7149 fi; \
7150 rm -f no-such-file || : ; \
7151 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
7152 $(TARGET_CONFIGARGS) $${srcdiroption} \
7153 --with-target-subdir="$(TARGET_SUBDIR)" \
7154 || exit 1
7156 .PHONY: all-target-zlib maybe-all-target-zlib
7157 maybe-all-target-zlib:
7158 all-target-zlib: configure-target-zlib
7159 @r=`${PWD}`; export r; \
7160 s=`cd $(srcdir); ${PWD}`; export s; \
7161 $(SET_LIB_PATH) \
7162 (cd $(TARGET_SUBDIR)/zlib; \
7163 $(MAKE) $(TARGET_FLAGS_TO_PASS) all)
7165 .PHONY: check-target-zlib
7166 check-target-zlib:
7167 @r=`${PWD}`; export r; \
7168 s=`cd $(srcdir); ${PWD}`; export s; \
7169 $(SET_LIB_PATH) \
7170 (cd $(TARGET_SUBDIR)/zlib; \
7171 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
7174 .PHONY: install-target-zlib maybe-install-target-zlib
7175 maybe-install-target-zlib:
7176 install-target-zlib: installdirs
7177 @r=`${PWD}`; export r; \
7178 s=`cd $(srcdir); ${PWD}`; export s; \
7179 $(SET_LIB_PATH) \
7180 (cd $(TARGET_SUBDIR)/zlib; \
7181 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
7184 .PHONY: configure-target-boehm-gc maybe-configure-target-boehm-gc
7185 maybe-configure-target-boehm-gc:
7186 configure-target-boehm-gc: $(TARGET_SUBDIR)/boehm-gc/Makefile
7188 # Don't manually override CC_FOR_TARGET at make time; get it set right
7189 # at configure time. Otherwise multilibs may be wrong.
7190 $(TARGET_SUBDIR)/boehm-gc/multilib.out: maybe-all-gcc
7191 @[ -d $(TARGET_SUBDIR)/boehm-gc ] || mkdir $(TARGET_SUBDIR)/boehm-gc;\
7192 r=`${PWD}`; export r; \
7193 echo "Configuring multilibs for boehm-gc"; \
7194 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/boehm-gc/multilib.out 2> /dev/null
7196 $(TARGET_SUBDIR)/boehm-gc/Makefile: config.status $(TARGET_SUBDIR)/boehm-gc/multilib.out
7197 @[ -d $(TARGET_SUBDIR)/boehm-gc ] || mkdir $(TARGET_SUBDIR)/boehm-gc;\
7198 r=`${PWD}`; export r; \
7199 s=`cd $(srcdir); ${PWD}`; export s; \
7200 $(SET_LIB_PATH) \
7201 AR="$(AR_FOR_TARGET)"; export AR; \
7202 AS="$(AS_FOR_TARGET)"; export AS; \
7203 CC="$(CC_FOR_TARGET)"; export CC; \
7204 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
7205 CXX="$(CXX_FOR_TARGET)"; export CXX; \
7206 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
7207 GCJ="$(GCJ_FOR_TARGET)"; export GCJ; \
7208 DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \
7209 LD="$(LD_FOR_TARGET)"; export LD; \
7210 LDFLAGS="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS; \
7211 NM="$(NM_FOR_TARGET)"; export NM; \
7212 RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \
7213 WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES; \
7214 echo Configuring in $(TARGET_SUBDIR)/boehm-gc; \
7215 cd "$(TARGET_SUBDIR)/boehm-gc" || exit 1; \
7216 case $(srcdir) in \
7217 /* | [A-Za-z]:[\\/]*) \
7218 topdir=$(srcdir) ;; \
7219 *) \
7220 case "$(TARGET_SUBDIR)" in \
7221 .) topdir="../$(srcdir)" ;; \
7222 *) topdir="../../$(srcdir)" ;; \
7223 esac ;; \
7224 esac; \
7225 if [ "$(srcdir)" = "." ] ; then \
7226 if [ "$(TARGET_SUBDIR)" != "." ] ; then \
7227 if $(SHELL) $$s/symlink-tree $${topdir}/boehm-gc "no-such-file" ; then \
7228 if [ -f Makefile ]; then \
7229 if $(MAKE) distclean; then \
7230 true; \
7231 else \
7232 exit 1; \
7233 fi; \
7234 else \
7235 true; \
7236 fi; \
7237 else \
7238 exit 1; \
7239 fi; \
7240 else \
7241 true; \
7242 fi; \
7243 srcdiroption="--srcdir=."; \
7244 libsrcdir="."; \
7245 else \
7246 srcdiroption="--srcdir=$${topdir}/boehm-gc"; \
7247 libsrcdir="$$s/boehm-gc"; \
7248 fi; \
7249 rm -f no-such-file || : ; \
7250 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
7251 $(TARGET_CONFIGARGS) $${srcdiroption} \
7252 --with-target-subdir="$(TARGET_SUBDIR)" \
7253 || exit 1
7255 .PHONY: all-target-boehm-gc maybe-all-target-boehm-gc
7256 maybe-all-target-boehm-gc:
7257 all-target-boehm-gc: configure-target-boehm-gc
7258 @r=`${PWD}`; export r; \
7259 s=`cd $(srcdir); ${PWD}`; export s; \
7260 $(SET_LIB_PATH) \
7261 (cd $(TARGET_SUBDIR)/boehm-gc; \
7262 $(MAKE) $(TARGET_FLAGS_TO_PASS) all)
7264 .PHONY: check-target-boehm-gc
7265 check-target-boehm-gc:
7266 @r=`${PWD}`; export r; \
7267 s=`cd $(srcdir); ${PWD}`; export s; \
7268 $(SET_LIB_PATH) \
7269 (cd $(TARGET_SUBDIR)/boehm-gc; \
7270 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
7273 .PHONY: install-target-boehm-gc maybe-install-target-boehm-gc
7274 maybe-install-target-boehm-gc:
7275 install-target-boehm-gc: installdirs
7276 @r=`${PWD}`; export r; \
7277 s=`cd $(srcdir); ${PWD}`; export s; \
7278 $(SET_LIB_PATH) \
7279 (cd $(TARGET_SUBDIR)/boehm-gc; \
7280 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
7283 .PHONY: configure-target-qthreads maybe-configure-target-qthreads
7284 maybe-configure-target-qthreads:
7285 configure-target-qthreads: $(TARGET_SUBDIR)/qthreads/Makefile
7287 # Don't manually override CC_FOR_TARGET at make time; get it set right
7288 # at configure time. Otherwise multilibs may be wrong.
7289 $(TARGET_SUBDIR)/qthreads/multilib.out: maybe-all-gcc
7290 @[ -d $(TARGET_SUBDIR)/qthreads ] || mkdir $(TARGET_SUBDIR)/qthreads;\
7291 r=`${PWD}`; export r; \
7292 echo "Configuring multilibs for qthreads"; \
7293 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/qthreads/multilib.out 2> /dev/null
7295 $(TARGET_SUBDIR)/qthreads/Makefile: config.status $(TARGET_SUBDIR)/qthreads/multilib.out
7296 @[ -d $(TARGET_SUBDIR)/qthreads ] || mkdir $(TARGET_SUBDIR)/qthreads;\
7297 r=`${PWD}`; export r; \
7298 s=`cd $(srcdir); ${PWD}`; export s; \
7299 $(SET_LIB_PATH) \
7300 AR="$(AR_FOR_TARGET)"; export AR; \
7301 AS="$(AS_FOR_TARGET)"; export AS; \
7302 CC="$(CC_FOR_TARGET)"; export CC; \
7303 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
7304 CXX="$(CXX_FOR_TARGET)"; export CXX; \
7305 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
7306 GCJ="$(GCJ_FOR_TARGET)"; export GCJ; \
7307 DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \
7308 LD="$(LD_FOR_TARGET)"; export LD; \
7309 LDFLAGS="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS; \
7310 NM="$(NM_FOR_TARGET)"; export NM; \
7311 RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \
7312 WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES; \
7313 echo Configuring in $(TARGET_SUBDIR)/qthreads; \
7314 cd "$(TARGET_SUBDIR)/qthreads" || exit 1; \
7315 case $(srcdir) in \
7316 /* | [A-Za-z]:[\\/]*) \
7317 topdir=$(srcdir) ;; \
7318 *) \
7319 case "$(TARGET_SUBDIR)" in \
7320 .) topdir="../$(srcdir)" ;; \
7321 *) topdir="../../$(srcdir)" ;; \
7322 esac ;; \
7323 esac; \
7324 if [ "$(srcdir)" = "." ] ; then \
7325 if [ "$(TARGET_SUBDIR)" != "." ] ; then \
7326 if $(SHELL) $$s/symlink-tree $${topdir}/qthreads "no-such-file" ; then \
7327 if [ -f Makefile ]; then \
7328 if $(MAKE) distclean; then \
7329 true; \
7330 else \
7331 exit 1; \
7332 fi; \
7333 else \
7334 true; \
7335 fi; \
7336 else \
7337 exit 1; \
7338 fi; \
7339 else \
7340 true; \
7341 fi; \
7342 srcdiroption="--srcdir=."; \
7343 libsrcdir="."; \
7344 else \
7345 srcdiroption="--srcdir=$${topdir}/qthreads"; \
7346 libsrcdir="$$s/qthreads"; \
7347 fi; \
7348 rm -f no-such-file || : ; \
7349 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
7350 $(TARGET_CONFIGARGS) $${srcdiroption} \
7351 --with-target-subdir="$(TARGET_SUBDIR)" \
7352 || exit 1
7354 .PHONY: all-target-qthreads maybe-all-target-qthreads
7355 maybe-all-target-qthreads:
7356 all-target-qthreads: configure-target-qthreads
7357 @r=`${PWD}`; export r; \
7358 s=`cd $(srcdir); ${PWD}`; export s; \
7359 $(SET_LIB_PATH) \
7360 (cd $(TARGET_SUBDIR)/qthreads; \
7361 $(MAKE) $(TARGET_FLAGS_TO_PASS) all)
7363 .PHONY: check-target-qthreads
7364 check-target-qthreads:
7365 @r=`${PWD}`; export r; \
7366 s=`cd $(srcdir); ${PWD}`; export s; \
7367 $(SET_LIB_PATH) \
7368 (cd $(TARGET_SUBDIR)/qthreads; \
7369 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
7372 .PHONY: install-target-qthreads maybe-install-target-qthreads
7373 maybe-install-target-qthreads:
7374 install-target-qthreads: installdirs
7375 @r=`${PWD}`; export r; \
7376 s=`cd $(srcdir); ${PWD}`; export s; \
7377 $(SET_LIB_PATH) \
7378 (cd $(TARGET_SUBDIR)/qthreads; \
7379 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
7382 .PHONY: configure-target-rda maybe-configure-target-rda
7383 maybe-configure-target-rda:
7384 configure-target-rda: $(TARGET_SUBDIR)/rda/Makefile
7386 # Don't manually override CC_FOR_TARGET at make time; get it set right
7387 # at configure time. Otherwise multilibs may be wrong.
7388 $(TARGET_SUBDIR)/rda/multilib.out: maybe-all-gcc
7389 @[ -d $(TARGET_SUBDIR)/rda ] || mkdir $(TARGET_SUBDIR)/rda;\
7390 r=`${PWD}`; export r; \
7391 echo "Configuring multilibs for rda"; \
7392 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/rda/multilib.out 2> /dev/null
7394 $(TARGET_SUBDIR)/rda/Makefile: config.status $(TARGET_SUBDIR)/rda/multilib.out
7395 @[ -d $(TARGET_SUBDIR)/rda ] || mkdir $(TARGET_SUBDIR)/rda;\
7396 r=`${PWD}`; export r; \
7397 s=`cd $(srcdir); ${PWD}`; export s; \
7398 $(SET_LIB_PATH) \
7399 AR="$(AR_FOR_TARGET)"; export AR; \
7400 AS="$(AS_FOR_TARGET)"; export AS; \
7401 CC="$(CC_FOR_TARGET)"; export CC; \
7402 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
7403 CXX="$(CXX_FOR_TARGET)"; export CXX; \
7404 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
7405 GCJ="$(GCJ_FOR_TARGET)"; export GCJ; \
7406 DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \
7407 LD="$(LD_FOR_TARGET)"; export LD; \
7408 LDFLAGS="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS; \
7409 NM="$(NM_FOR_TARGET)"; export NM; \
7410 RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \
7411 WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES; \
7412 echo Configuring in $(TARGET_SUBDIR)/rda; \
7413 cd "$(TARGET_SUBDIR)/rda" || exit 1; \
7414 case $(srcdir) in \
7415 /* | [A-Za-z]:[\\/]*) \
7416 topdir=$(srcdir) ;; \
7417 *) \
7418 case "$(TARGET_SUBDIR)" in \
7419 .) topdir="../$(srcdir)" ;; \
7420 *) topdir="../../$(srcdir)" ;; \
7421 esac ;; \
7422 esac; \
7423 if [ "$(srcdir)" = "." ] ; then \
7424 if [ "$(TARGET_SUBDIR)" != "." ] ; then \
7425 if $(SHELL) $$s/symlink-tree $${topdir}/rda "no-such-file" ; then \
7426 if [ -f Makefile ]; then \
7427 if $(MAKE) distclean; then \
7428 true; \
7429 else \
7430 exit 1; \
7431 fi; \
7432 else \
7433 true; \
7434 fi; \
7435 else \
7436 exit 1; \
7437 fi; \
7438 else \
7439 true; \
7440 fi; \
7441 srcdiroption="--srcdir=."; \
7442 libsrcdir="."; \
7443 else \
7444 srcdiroption="--srcdir=$${topdir}/rda"; \
7445 libsrcdir="$$s/rda"; \
7446 fi; \
7447 rm -f no-such-file || : ; \
7448 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
7449 $(TARGET_CONFIGARGS) $${srcdiroption} \
7450 --with-target-subdir="$(TARGET_SUBDIR)" \
7451 || exit 1
7453 .PHONY: all-target-rda maybe-all-target-rda
7454 maybe-all-target-rda:
7455 all-target-rda: configure-target-rda
7456 @r=`${PWD}`; export r; \
7457 s=`cd $(srcdir); ${PWD}`; export s; \
7458 $(SET_LIB_PATH) \
7459 (cd $(TARGET_SUBDIR)/rda; \
7460 $(MAKE) $(TARGET_FLAGS_TO_PASS) all)
7462 .PHONY: check-target-rda
7463 check-target-rda:
7464 @r=`${PWD}`; export r; \
7465 s=`cd $(srcdir); ${PWD}`; export s; \
7466 $(SET_LIB_PATH) \
7467 (cd $(TARGET_SUBDIR)/rda; \
7468 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
7471 .PHONY: install-target-rda maybe-install-target-rda
7472 maybe-install-target-rda:
7473 install-target-rda: installdirs
7474 @r=`${PWD}`; export r; \
7475 s=`cd $(srcdir); ${PWD}`; export s; \
7476 $(SET_LIB_PATH) \
7477 (cd $(TARGET_SUBDIR)/rda; \
7478 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
7482 # ----------
7483 # GCC module
7484 # ----------
7486 # Unfortunately, while gcc _should_ be a host module,
7487 # libgcc is a target module, and gen* programs are
7488 # build modules. So GCC is a sort of hybrid.
7490 # gcc is the only module which uses GCC_FLAGS_TO_PASS.
7491 .PHONY: configure-gcc maybe-configure-gcc
7492 maybe-configure-gcc:
7493 configure-gcc: gcc/Makefile
7495 gcc/Makefile: config.status
7496 @[ -d gcc ] || mkdir gcc; \
7497 r=`${PWD}`; export r; \
7498 s=`cd $(srcdir); ${PWD}`; export s; \
7499 CC="$(CC)"; export CC; \
7500 CFLAGS="$(CFLAGS)"; export CFLAGS; \
7501 CXX="$(CXX)"; export CXX; \
7502 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
7503 if [ z$(build_canonical) != z$(host_canoncial) ] ; then \
7504 AR="$(AR)"; export AR; \
7505 AS="$(AS)"; export AS; \
7506 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
7507 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
7508 LD="$(LD)"; export LD; \
7509 NM="$(NM)"; export NM; \
7510 RANLIB="$(RANLIB)"; export RANLIB; \
7511 WINDRES="$(WINDRES)"; export WINDRES; \
7512 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
7513 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
7514 fi; \
7515 echo Configuring in gcc; \
7516 cd gcc || exit 1; \
7517 case $(srcdir) in \
7518 \.) \
7519 srcdiroption="--srcdir=."; \
7520 libsrcdir=".";; \
7521 /* | [A-Za-z]:[\\/]*) \
7522 srcdiroption="--srcdir=$(srcdir)/gcc"; \
7523 libsrcdir="$$s/gcc";; \
7524 *) \
7525 srcdiroption="--srcdir=../$(srcdir)/gcc"; \
7526 libsrcdir="$$s/gcc";; \
7527 esac; \
7528 $(SHELL) $${libsrcdir}/configure \
7529 $(HOST_CONFIGARGS) $${srcdiroption} \
7530 || exit 1
7532 # Don't remake gcc if it's already been made by 'bootstrap'; that causes
7533 # nothing but trouble. This wart will be fixed eventually by moving
7534 # the bootstrap behavior to this file.
7535 .PHONY: all-gcc maybe-all-gcc
7536 maybe-all-gcc:
7537 all-gcc: configure-gcc
7538 @if [ -f gcc/xgcc ] ; then \
7539 exit 0 ; \
7540 else \
7541 r=`${PWD}`; export r; \
7542 s=`cd $(srcdir); ${PWD}`; export s; \
7543 $(SET_LIB_PATH) \
7544 (cd gcc; $(MAKE) $(GCC_FLAGS_TO_PASS) all); \
7547 # Building GCC uses some tools for rebuilding "source" files
7548 # like texinfo, bison/byacc, etc. So we must depend on those.
7550 # While building GCC, it may be necessary to run various target
7551 # programs like the assembler, linker, etc. So we depend on
7552 # those too.
7554 # In theory, on an SMP all those dependencies can be resolved
7555 # in parallel.
7557 .PHONY: bootstrap bootstrap-lean bootstrap2 bootstrap2-lean bootstrap3 bootstrap3-lean bootstrap4 bootstrap4-lean bubblestrap quickstrap cleanstrap restrap
7558 bootstrap bootstrap-lean bootstrap2 bootstrap2-lean bootstrap3 bootstrap3-lean bootstrap4 bootstrap4-lean bubblestrap quickstrap cleanstrap restrap: all-bootstrap configure-gcc
7559 @r=`${PWD}`; export r; \
7560 s=`cd $(srcdir); ${PWD}`; export s; \
7561 $(SET_LIB_PATH) \
7562 echo "Bootstrapping the compiler"; \
7563 cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) $@
7564 @r=`${PWD}`; export r; \
7565 s=`cd $(srcdir); ${PWD}`; export s; \
7566 case "$@" in \
7567 *bootstrap4-lean ) \
7568 msg="Comparing stage3 and stage4 of the compiler"; \
7569 compare=compare3-lean ;; \
7570 *bootstrap4 ) msg="Comparing stage3 and stage4 of the compiler"; \
7571 compare=compare3 ;; \
7572 *-lean ) msg="Comparing stage2 and stage3 of the compiler"; \
7573 compare=compare-lean ;; \
7574 * ) msg="Comparing stage2 and stage3 of the compiler"; \
7575 compare=compare ;; \
7576 esac; \
7577 $(SET_LIB_PATH) \
7578 echo "$$msg"; \
7579 cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) $$compare
7580 @r=`${PWD}`; export r; \
7581 s=`cd $(srcdir); ${PWD}` ; export s; \
7582 $(SET_LIB_PATH) \
7583 echo "Building runtime libraries"; \
7584 $(MAKE) $(BASE_FLAGS_TO_PASS) $(RECURSE_FLAGS) all
7586 .PHONY: cross
7587 cross: all-texinfo all-bison all-byacc all-binutils all-gas all-ld
7588 @r=`${PWD}`; export r; \
7589 s=`cd $(srcdir); ${PWD}`; export s; \
7590 $(SET_LIB_PATH) \
7591 echo "Building the C and C++ compiler"; \
7592 cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) LANGUAGES="c c++"
7593 @r=`${PWD}`; export r; \
7594 s=`cd $(srcdir); ${PWD}` ; export s; \
7595 $(SET_LIB_PATH) \
7596 echo "Building runtime libraries"; \
7597 $(MAKE) $(BASE_FLAGS_TO_PASS) $(RECURSE_FLAGS) \
7598 LANGUAGES="c c++" all
7600 .PHONY: check-gcc
7601 check-gcc:
7602 @if [ -f ./gcc/Makefile ] ; then \
7603 r=`${PWD}`; export r; \
7604 s=`cd $(srcdir); ${PWD}`; export s; \
7605 $(SET_LIB_PATH) \
7606 (cd gcc; $(MAKE) $(GCC_FLAGS_TO_PASS) check); \
7607 else \
7608 true; \
7611 .PHONY: check-c++
7612 check-c++:
7613 @if [ -f ./gcc/Makefile ] ; then \
7614 r=`${PWD}`; export r; \
7615 s=`cd $(srcdir); ${PWD}`; export s; \
7616 $(SET_LIB_PATH) \
7617 (cd gcc; $(MAKE) $(GCC_FLAGS_TO_PASS) check-c++); \
7618 $(MAKE) check-target-libstdc++-v3; \
7619 else \
7620 true; \
7623 .PHONY: install-gcc maybe-install-gcc
7624 maybe-install-gcc:
7625 install-gcc:
7626 @if [ -f ./gcc/Makefile ] ; then \
7627 r=`${PWD}`; export r; \
7628 s=`cd $(srcdir); ${PWD}`; export s; \
7629 $(SET_LIB_PATH) \
7630 (cd gcc; $(MAKE) $(GCC_FLAGS_TO_PASS) install); \
7631 else \
7632 true; \
7635 # Install the gcc headers files, but not the fixed include files,
7636 # which Cygnus is not allowed to distribute. This rule is very
7637 # dependent on the workings of the gcc Makefile.in.
7638 .PHONY: gcc-no-fixedincludes
7639 gcc-no-fixedincludes:
7640 @if [ -f ./gcc/Makefile ]; then \
7641 rm -rf gcc/tmp-include; \
7642 mv gcc/include gcc/tmp-include 2>/dev/null; \
7643 mkdir gcc/include; \
7644 cp $(srcdir)/gcc/gsyslimits.h gcc/include/syslimits.h; \
7645 touch gcc/stmp-fixinc gcc/include/fixed; \
7646 rm -f gcc/stmp-headers gcc/stmp-int-hdrs; \
7647 r=`${PWD}`; export r; \
7648 s=`cd $(srcdir); ${PWD}` ; export s; \
7649 $(SET_LIB_PATH) \
7650 (cd ./gcc; \
7651 $(MAKE) $(GCC_FLAGS_TO_PASS) install); \
7652 rm -rf gcc/include; \
7653 mv gcc/tmp-include gcc/include 2>/dev/null; \
7654 else true; fi
7656 # --------------------------------------
7657 # Dependencies between different modules
7658 # --------------------------------------
7660 # There are two types of dependencies here: 'hard' dependencies, where one
7661 # module simply won't build without the other; and 'soft' dependencies, where
7662 # if the depended-on module is missing, the depending module will do without
7663 # or find a substitute somewhere (perhaps installed). Soft dependencies
7664 # are specified by depending on a 'maybe-' target. If you're not sure,
7665 # it's safer to use a soft dependency.
7667 # Host modules specific to gcc.
7668 # GCC needs to identify certain tools.
7669 configure-gcc: maybe-configure-binutils maybe-configure-gas maybe-configure-ld maybe-configure-bison maybe-configure-flex
7670 all-gcc: maybe-all-libiberty maybe-all-bison maybe-all-byacc maybe-all-binutils maybe-all-gas maybe-all-ld maybe-all-zlib
7671 # This is a slightly kludgy method of getting dependencies on
7672 # all-build-libiberty correct; it would be better to build it every time.
7673 all-gcc: maybe-all-build-libiberty
7674 all-bootstrap: maybe-all-libiberty maybe-all-texinfo maybe-all-bison maybe-all-byacc maybe-all-binutils maybe-all-gas maybe-all-ld maybe-all-zlib
7676 # Host modules specific to gdb.
7677 # GDB needs to know that the simulator is being built.
7678 configure-gdb: maybe-configure-tcl maybe-configure-tk maybe-configure-sim
7679 GDB_TK = @GDB_TK@
7680 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)
7681 install-gdb: maybe-install-tcl maybe-install-tk maybe-install-itcl maybe-install-tix maybe-install-libgui
7682 libgui/Makefile: maybe-configure-tcl maybe-configure-tk
7683 all-libgui: maybe-all-tcl maybe-all-tk maybe-all-itcl
7685 # Host modules specific to binutils.
7686 configure-bfd: configure-libiberty
7687 all-bfd: maybe-all-libiberty maybe-all-intl
7688 all-binutils: maybe-all-libiberty maybe-all-opcodes maybe-all-bfd maybe-all-flex maybe-all-bison maybe-all-byacc maybe-all-intl
7689 # We put install-opcodes before install-binutils because the installed
7690 # binutils might be on PATH, and they might need the shared opcodes
7691 # library.
7692 install-binutils: maybe-install-opcodes
7693 all-gas: maybe-all-libiberty maybe-all-opcodes maybe-all-bfd maybe-all-intl
7694 all-gprof: maybe-all-libiberty maybe-all-bfd maybe-all-opcodes maybe-all-intl
7695 all-ld: maybe-all-libiberty maybe-all-bfd maybe-all-opcodes maybe-all-bison maybe-all-byacc maybe-all-flex maybe-all-intl
7696 all-opcodes: maybe-all-bfd maybe-all-libiberty
7698 # Other host modules in the 'src' repository.
7699 all-dejagnu: maybe-all-tcl maybe-all-expect maybe-all-tk
7700 configure-expect: maybe-configure-tcl maybe-configure-tk
7701 all-expect: maybe-all-tcl maybe-all-tk
7702 configure-itcl: maybe-configure-tcl maybe-configure-tk
7703 all-itcl: maybe-all-tcl maybe-all-tk
7704 # We put install-tcl before install-itcl because itcl wants to run a
7705 # program on installation which uses the Tcl libraries.
7706 install-itcl: maybe-install-tcl
7707 all-sid: maybe-all-tcl maybe-all-tk
7708 install-sid: maybe-install-tcl maybe-install-tk
7709 all-sim: maybe-all-libiberty maybe-all-bfd maybe-all-opcodes maybe-all-readline maybe-configure-gdb
7710 configure-tk: maybe-configure-tcl
7711 all-tk: maybe-all-tcl
7712 configure-tix: maybe-configure-tcl maybe-configure-tk
7713 all-tix: maybe-all-tcl maybe-all-tk
7714 all-texinfo: maybe-all-libiberty
7716 # Other host modules. Warning, these are not well tested.
7717 all-autoconf: maybe-all-m4 maybe-all-texinfo
7718 all-automake: maybe-all-m4 maybe-all-texinfo
7719 all-bison: maybe-all-texinfo
7720 all-diff: maybe-all-libiberty
7721 all-fastjar: maybe-all-zlib maybe-all-libiberty
7722 all-fileutils: maybe-all-libiberty
7723 all-flex: maybe-all-libiberty maybe-all-bison maybe-all-byacc
7724 all-grep: maybe-all-libiberty
7725 all-gzip: maybe-all-libiberty
7726 all-hello: maybe-all-libiberty
7727 all-m4: maybe-all-libiberty maybe-all-texinfo
7728 all-make: maybe-all-libiberty
7729 all-patch: maybe-all-libiberty
7730 all-prms: maybe-all-libiberty
7731 all-recode: maybe-all-libiberty
7732 all-sed: maybe-all-libiberty
7733 all-send-pr: maybe-all-prms
7734 all-snavigator: maybe-all-tcl maybe-all-tk maybe-all-itcl maybe-all-tix maybe-all-db maybe-all-grep maybe-all-libgui
7735 all-tar: maybe-all-libiberty
7736 all-tclX: maybe-all-tcl maybe-all-tk
7737 all-uudecode: maybe-all-libiberty
7739 ALL_GCC = maybe-all-gcc
7740 ALL_GCC_C = $(ALL_GCC) maybe-all-target-newlib maybe-all-target-libgloss
7741 ALL_GCC_CXX = $(ALL_GCC_C) maybe-all-target-libstdc++-v3
7743 # Target modules specific to gcc.
7744 configure-target-boehm-gc: $(ALL_GCC_C) maybe-configure-target-qthreads
7745 configure-target-fastjar: maybe-configure-target-zlib
7746 all-target-fastjar: maybe-all-target-zlib maybe-all-target-libiberty
7747 configure-target-libf2c: $(ALL_GCC_C)
7748 all-target-libf2c: maybe-all-target-libiberty
7749 configure-target-libffi: $(ALL_GCC_C)
7750 configure-target-libjava: $(ALL_GCC_C) maybe-configure-target-zlib maybe-configure-target-boehm-gc maybe-configure-target-qthreads maybe-configure-target-libffi
7751 all-target-libjava: maybe-all-fastjar maybe-all-target-zlib maybe-all-target-boehm-gc maybe-all-target-qthreads maybe-all-target-libffi
7752 configure-target-libobjc: $(ALL_GCC_C)
7753 all-target-libobjc: maybe-all-target-libiberty
7754 configure-target-libstdc++-v3: $(ALL_GCC_C)
7755 all-target-libstdc++-v3: maybe-all-target-libiberty
7756 configure-target-zlib: $(ALL_GCC_C)
7758 # Target modules in the 'src' repository.
7759 configure-target-examples: $(ALL_GCC_C)
7760 configure-target-libgloss: $(ALL_GCC)
7761 all-target-libgloss: maybe-configure-target-newlib
7762 configure-target-libiberty: $(ALL_GCC_C)
7763 configure-target-libtermcap: $(ALL_GCC_C)
7764 configure-target-newlib: $(ALL_GCC)
7765 configure-target-rda: $(ALL_GCC_C)
7766 configure-target-winsup: $(ALL_GCC_C)
7767 all-target-winsup: maybe-all-target-libiberty maybe-all-target-libtermcap
7769 # Other target modules. Warning, these are not well tested.
7770 configure-target-gperf: $(ALL_GCC_CXX)
7771 all-target-gperf: maybe-all-target-libiberty maybe-all-target-libstdc++-v3
7772 configure-target-qthreads: $(ALL_GCC_C)
7774 # Dependencies of maybe-foo on foo. These are used because, for example,
7775 # all-gcc only depends on all-gas if gas is present and being configured.
7776 @maybe_dependencies@
7778 # Serialization dependencies. Host configures don't work well in parallel to
7779 # each other, due to contention over config.cache. Target configures and
7780 # build configures are similar.
7781 @serialization_dependencies@
7783 # --------------------------------
7784 # Regenerating top level configury
7785 # --------------------------------
7787 # Rebuilding Makefile.in, using autogen.
7788 $(srcdir)/Makefile.in: # $(srcdir)/Makefile.tpl $(srcdir)/Makefile.def
7789 cd $(srcdir) && autogen Makefile.def
7791 # with the gnu make, this is done automatically.
7793 host_makefile_frag=@host_makefile_frag@
7794 target_makefile_frag=@target_makefile_frag@
7796 Makefile: Makefile.in configure.in $(host_makefile_frag) $(target_makefile_frag) $(gcc_version_trigger)
7797 $(SHELL) ./config.status
7801 .NOEXPORT:
7802 MAKEOVERRIDES=
7804 # end of Makefile.in