* ldmain.c (main): Re-order link_info initialization. Init all
[binutils.git] / Makefile.in
blob64b0657ef12fee0d1f4db8039d2c5bca8e21590b
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@
73 libstdcxx_incdir = @libstdcxx_incdir@
75 tooldir = @tooldir@
76 build_tooldir = @build_tooldir@
78 program_transform_name = @program_transform_name@
80 man1dir = $(mandir)/man1
81 man2dir = $(mandir)/man2
82 man3dir = $(mandir)/man3
83 man4dir = $(mandir)/man4
84 man5dir = $(mandir)/man5
85 man6dir = $(mandir)/man6
86 man7dir = $(mandir)/man7
87 man8dir = $(mandir)/man8
88 man9dir = $(mandir)/man9
89 # Directory in which the compiler finds executables, libraries, etc.
90 libsubdir = $(libdir)/gcc-lib/$(target_alias)/$(gcc_version)
91 GDB_NLM_DEPS =
93 SHELL = @config_shell@
95 # pwd command to use. Allow user to override default by setting PWDCMD in
96 # the environment to account for automounters. The make variable must not
97 # be called PWDCMD, otherwise the value set here is passed to make
98 # subprocesses and overrides the setting from the user's environment.
99 PWD = $${PWDCMD-pwd}
101 # INSTALL_PROGRAM_ARGS is changed by configure.in to use -x for a
102 # cygwin host.
103 INSTALL_PROGRAM_ARGS =
105 INSTALL = $(SHELL) $$s/install-sh -c
106 INSTALL_PROGRAM = $(INSTALL) $(INSTALL_PROGRAM_ARGS)
107 INSTALL_SCRIPT = $(INSTALL)
108 INSTALL_DATA = $(INSTALL) -m 644
110 AS = @AS@
111 AR = @AR@
112 AR_FLAGS = rc
113 CC = @CC@
115 # Special variables passed down in EXTRA_GCC_FLAGS. They are defined
116 # here so that they can be overridden by Makefile fragments.
117 BUILD_CC = $(CC_FOR_BUILD)
118 BUILD_PREFIX = @BUILD_PREFIX@
119 BUILD_PREFIX_1 = @BUILD_PREFIX_1@
121 CFLAGS = @CFLAGS@
122 CXXFLAGS = @CXXFLAGS@
124 LDFLAGS =
125 LIBCFLAGS = $(CFLAGS)
126 CFLAGS_FOR_BUILD = $(CFLAGS)
127 # During gcc bootstrap, if we use some random cc for stage1 then
128 # CFLAGS will be just -g. We want to ensure that TARGET libraries
129 # (which we know are built with gcc) are built with optimizations so
130 # prepend -O2 when setting CFLAGS_FOR_TARGET.
131 CFLAGS_FOR_TARGET = -O2 $(CFLAGS)
132 LDFLAGS_FOR_TARGET =
133 LIBCFLAGS_FOR_TARGET = $(CFLAGS_FOR_TARGET)
134 PICFLAG =
135 PICFLAG_FOR_TARGET =
137 CXX = @CXX@
139 # Use -O2 to stress test the compiler.
140 LIBCXXFLAGS = $(CXXFLAGS) -fno-implicit-templates
141 CXXFLAGS_FOR_TARGET = $(CXXFLAGS)
142 LIBCXXFLAGS_FOR_TARGET = $(CXXFLAGS_FOR_TARGET) -fno-implicit-templates
144 DLLTOOL = @DLLTOOL@
145 WINDRES = @WINDRES@
147 NM = @NM@
149 LD = @LD@
151 # These values are substituted by configure.
152 DEFAULT_YACC = @DEFAULT_YACC@
153 DEFAULT_LEX = @DEFAULT_LEX@
154 DEFAULT_M4 = @DEFAULT_M4@
156 BISON=@BISON@
157 USUAL_BISON = `if [ -f $$r/bison/bison ] ; then \
158 echo $$r/bison/bison -L $$s/bison/ ; \
159 else \
160 echo bison ; \
163 YACC=@YACC@
164 USUAL_YACC = `if [ -f $$r/bison/bison ] ; then \
165 echo $$r/bison/bison -y -L $$s/bison/ ; \
166 elif [ -f $$r/byacc/byacc ] ; then \
167 echo $$r/byacc/byacc ; \
168 else \
169 echo ${DEFAULT_YACC} ; \
172 LEX=@LEX@
173 USUAL_LEX = `if [ -f $$r/flex/flex ] ; \
174 then echo $$r/flex/flex ; \
175 else echo ${DEFAULT_LEX} ; fi`
177 M4 = `if [ -f $$r/m4/m4 ] ; \
178 then echo $$r/m4/m4 ; \
179 else echo ${DEFAULT_M4} ; fi`
181 # For an installed makeinfo, we require it to be from texinfo 4 or
182 # higher, else we use the "missing" dummy.
183 MAKEINFO=@MAKEINFO@
184 USUAL_MAKEINFO = `if [ -f $$r/texinfo/makeinfo/makeinfo ] ; \
185 then echo $$r/texinfo/makeinfo/makeinfo ; \
186 else if (makeinfo --version \
187 | egrep 'texinfo[^0-9]*([1-3][0-9]|[4-9])') >/dev/null 2>&1; \
188 then echo makeinfo; else echo $$s/missing makeinfo; fi; fi`
190 # This just becomes part of the MAKEINFO definition passed down to
191 # sub-makes. It lets flags be given on the command line while still
192 # using the makeinfo from the object tree.
193 MAKEINFOFLAGS =
195 EXPECT = `if [ -f $$r/expect/expect ] ; \
196 then echo $$r/expect/expect ; \
197 else echo expect ; fi`
199 RUNTEST = `if [ -f $$s/dejagnu/runtest ] ; \
200 then echo $$s/dejagnu/runtest ; \
201 else echo runtest ; fi`
204 # compilers to use to create programs which must be run in the build
205 # environment.
206 CC_FOR_BUILD = @CC_FOR_BUILD@
207 CXX_FOR_BUILD = $(CXX)
209 SUBDIRS = @configdirs@
211 # This is set by the configure script to the list of directories which
212 # should be built using the target tools.
213 TARGET_CONFIGDIRS = @target_configdirs@
215 # Target libraries are put under this directory:
216 # Changed by configure to $(target_alias) if cross.
217 TARGET_SUBDIR = @target_subdir@
219 BUILD_CONFIGDIRS = libiberty
220 BUILD_SUBDIR = @build_subdir@
222 # This is set by the configure script to the arguments to use when configuring
223 # directories built for the build system.
224 BUILD_CONFIGARGS = @build_configargs@
226 # This is set by the configure script to the arguments to use when configuring
227 # directories built for the host system.
228 HOST_CONFIGARGS = @host_configargs@
230 # This is set by the configure script to the arguments to use when configuring
231 # directories built for the target.
232 TARGET_CONFIGARGS = @target_configargs@
234 # This is set by configure to REALLY_SET_LIB_PATH if --enable-shared
235 # was used.
236 SET_LIB_PATH = @SET_LIB_PATH@
238 # This is the name of the environment variable used for the path to
239 # the libraries. This may be changed by configure.in.
240 RPATH_ENVVAR = @RPATH_ENVVAR@
242 # This is the list of directories that may be needed in RPATH_ENVVAR
243 # so that programs built for the host machine work.
244 HOST_LIB_PATH = $$r/bfd:$$r/opcodes
246 # This is the list of directories that may be needed in RPATH_ENVVAR
247 # so that prorgams built for the target machine work.
248 TARGET_LIB_PATH = $$r/$(TARGET_SUBDIR)/libstdc++-v3/src/.libs:
250 # configure.in sets SET_LIB_PATH to this if --enable-shared was used.
251 # Some platforms don't like blank entries, so we remove duplicate,
252 # leading and trailing colons.
253 REALLY_SET_LIB_PATH = \
254 $(RPATH_ENVVAR)=`echo "$(HOST_LIB_PATH):$(TARGET_LIB_PATH):$$$(RPATH_ENVVAR)" | sed 's,::*,:,g;s,^:*,,;s,:*$$,,'`; export $(RPATH_ENVVAR);
256 # Should be substed by configure.in
257 FLAGS_FOR_TARGET = @FLAGS_FOR_TARGET@
258 CC_FOR_TARGET = @CC_FOR_TARGET@
259 CXX_FOR_TARGET = @CXX_FOR_TARGET@
260 RAW_CXX_FOR_TARGET = @RAW_CXX_FOR_TARGET@
261 CXX_FOR_TARGET_FOR_RECURSIVE_MAKE = @CXX_FOR_TARGET_FOR_RECURSIVE_MAKE@
262 RAW_CXX_FOR_TARGET_FOR_RECURSIVE_MAKE = @RAW_CXX_FOR_TARGET_FOR_RECURSIVE_MAKE@
263 GCJ_FOR_TARGET = @GCJ_FOR_TARGET@
265 # If GCC_FOR_TARGET is not overriden on the command line, then this
266 # variable is passed down to the gcc Makefile, where it is used to
267 # build libgcc2.a. We define it here so that it can itself be
268 # overridden on the command line.
269 GCC_FOR_TARGET=@GCC_FOR_TARGET@
270 USUAL_GCC_FOR_TARGET = $(STAGE_CC_WRAPPER) $$r/gcc/xgcc -B$$r/gcc/ $(FLAGS_FOR_TARGET)
272 AS_FOR_TARGET=@AS_FOR_TARGET@
273 USUAL_AS_FOR_TARGET = ` \
274 if [ -f $$r/gas/as-new ] ; then \
275 echo $$r/gas/as-new ; \
276 elif [ -f $$r/gcc/xgcc ]; then \
277 $(CC_FOR_TARGET) -print-prog-name=as ; \
278 else \
279 if [ '$(host_canonical)' = '$(target_canonical)' ] ; then \
280 echo $(AS); \
281 else \
282 t='$(program_transform_name)'; echo as | sed -e 's/x/x/' $$t ; \
283 fi; \
286 LD_FOR_TARGET=@LD_FOR_TARGET@
287 USUAL_LD_FOR_TARGET = ` \
288 if [ -f $$r/ld/ld-new ] ; then \
289 echo $$r/ld/ld-new ; \
290 elif [ -f $$r/gcc/xgcc ]; then \
291 $(CC_FOR_TARGET) -print-prog-name=ld ; \
292 else \
293 if [ '$(host_canonical)' = '$(target_canonical)' ] ; then \
294 echo $(LD); \
295 else \
296 t='$(program_transform_name)'; echo ld | sed -e 's/x/x/' $$t ; \
297 fi; \
300 DLLTOOL_FOR_TARGET=@DLLTOOL_FOR_TARGET@
301 USUAL_DLLTOOL_FOR_TARGET = ` \
302 if [ -f $$r/binutils/dlltool ] ; then \
303 echo $$r/binutils/dlltool ; \
304 else \
305 if [ '$(host_canonical)' = '$(target_canonical)' ] ; then \
306 echo $(DLLTOOL); \
307 else \
308 t='$(program_transform_name)'; echo dlltool | sed -e 's/x/x/' $$t ; \
309 fi; \
312 WINDRES_FOR_TARGET=@WINDRES_FOR_TARGET@
313 USUAL_WINDRES_FOR_TARGET = ` \
314 if [ -f $$r/binutils/windres ] ; then \
315 echo $$r/binutils/windres ; \
316 else \
317 if [ '$(host_canonical)' = '$(target_canonical)' ] ; then \
318 echo $(WINDRES); \
319 else \
320 t='$(program_transform_name)'; echo windres | sed -e 's/x/x/' $$t ; \
321 fi; \
324 AR_FOR_TARGET=@AR_FOR_TARGET@
325 USUAL_AR_FOR_TARGET = ` \
326 if [ -f $$r/binutils/ar ] ; then \
327 echo $$r/binutils/ar ; \
328 else \
329 if [ '$(host_canonical)' = '$(target_canonical)' ] ; then \
330 echo $(AR); \
331 else \
332 t='$(program_transform_name)'; echo ar | sed -e 's/x/x/' $$t ; \
333 fi; \
336 RANLIB_FOR_TARGET=@RANLIB_FOR_TARGET@
337 USUAL_RANLIB_FOR_TARGET = ` \
338 if [ -f $$r/binutils/ranlib ] ; then \
339 echo $$r/binutils/ranlib ; \
340 else \
341 if [ '$(host_canonical)' = '$(target_canonical)' ] ; then \
342 if [ x'$(RANLIB)' != x ]; then \
343 echo $(RANLIB); \
344 else \
345 echo ranlib; \
346 fi; \
347 else \
348 t='$(program_transform_name)'; echo ranlib | sed -e 's/x/x/' $$t ; \
349 fi; \
352 NM_FOR_TARGET=@NM_FOR_TARGET@
353 USUAL_NM_FOR_TARGET = ` \
354 if [ -f $$r/binutils/nm-new ] ; then \
355 echo $$r/binutils/nm-new ; \
356 elif [ -f $$r/gcc/xgcc ]; then \
357 $(CC_FOR_TARGET) -print-prog-name=nm ; \
358 else \
359 if [ '$(host_canonical)' = '$(target_canonical)' ] ; then \
360 echo $(NM); \
361 else \
362 t='$(program_transform_name)'; echo nm | sed -e 's/x/x/' $$t ; \
363 fi; \
366 # The first rule in the file had better be this one. Don't put any above it.
367 # This lives here to allow makefile fragments to contain dependencies.
368 all: all.normal
369 .PHONY: all
371 #### host and target specific makefile fragments come in here.
374 # Flags to pass down to all sub-makes.
375 # Please keep these in alphabetical order.
376 BASE_FLAGS_TO_PASS = \
377 "AR_FLAGS=$(AR_FLAGS)" \
378 "AR_FOR_TARGET=$(AR_FOR_TARGET)" \
379 "AS_FOR_TARGET=$(AS_FOR_TARGET)" \
380 "BISON=$(BISON)" \
381 "CC_FOR_BUILD=$(CC_FOR_BUILD)" \
382 "CC_FOR_TARGET=$(CC_FOR_TARGET)" \
383 "CFLAGS=$(CFLAGS)" \
384 "CFLAGS_FOR_TARGET=$(CFLAGS_FOR_TARGET)" \
385 "GCJ_FOR_TARGET=$(GCJ_FOR_TARGET)" \
386 "CXX_FOR_BUILD=$(CXX_FOR_BUILD)" \
387 "CXXFLAGS=$(CXXFLAGS)" \
388 "CXXFLAGS_FOR_TARGET=$(CXXFLAGS_FOR_TARGET)" \
389 "CXX_FOR_TARGET=$(CXX_FOR_TARGET)" \
390 "DLLTOOL_FOR_TARGET=$(DLLTOOL_FOR_TARGET)" \
391 "INSTALL=$(INSTALL)" \
392 "INSTALL_DATA=$(INSTALL_DATA)" \
393 "INSTALL_PROGRAM=$(INSTALL_PROGRAM)" \
394 "INSTALL_SCRIPT=$(INSTALL_SCRIPT)" \
395 "LDFLAGS=$(LDFLAGS)" \
396 "LEX=$(LEX)" \
397 "LD_FOR_TARGET=$(LD_FOR_TARGET)" \
398 "LIBCFLAGS=$(LIBCFLAGS)" \
399 "LIBCFLAGS_FOR_TARGET=$(LIBCFLAGS_FOR_TARGET)" \
400 "LIBCXXFLAGS=$(LIBCXXFLAGS)" \
401 "LIBCXXFLAGS_FOR_TARGET=$(LIBCXXFLAGS_FOR_TARGET)" \
402 "M4=$(M4)" \
403 "MAKE=$(MAKE)" \
404 "MAKEINFO=$(MAKEINFO) $(MAKEINFOFLAGS)" \
405 "NM_FOR_TARGET=$(NM_FOR_TARGET)" \
406 "RANLIB_FOR_TARGET=$(RANLIB_FOR_TARGET)" \
407 "RPATH_ENVVAR=$(RPATH_ENVVAR)" \
408 "SHELL=$(SHELL)" \
409 "EXPECT=$(EXPECT)" \
410 "RUNTEST=$(RUNTEST)" \
411 "RUNTESTFLAGS=$(RUNTESTFLAGS)" \
412 "TARGET_SUBDIR=$(TARGET_SUBDIR)" \
413 "WINDRES_FOR_TARGET=$(WINDRES_FOR_TARGET)" \
414 "YACC=$(YACC)" \
415 "bindir=$(bindir)" \
416 "datadir=$(datadir)" \
417 "exec_prefix=$(exec_prefix)" \
418 "includedir=$(includedir)" \
419 "infodir=$(infodir)" \
420 "libdir=$(libdir)" \
421 "libexecdir=$(libexecdir)" \
422 "lispdir=$(lispdir)" \
423 "libstdcxx_incdir=$(libstdcxx_incdir)" \
424 "libsubdir=$(libsubdir)" \
425 "localstatedir=$(localstatedir)" \
426 "mandir=$(mandir)" \
427 "oldincludedir=$(oldincludedir)" \
428 "prefix=$(prefix)" \
429 "sbindir=$(sbindir)" \
430 "sharedstatedir=$(sharedstatedir)" \
431 "sysconfdir=$(sysconfdir)" \
432 "tooldir=$(tooldir)" \
433 "build_tooldir=$(build_tooldir)" \
434 "gxx_include_dir=$(gxx_include_dir)" \
435 "gcc_version=$(gcc_version)" \
436 "gcc_version_trigger=$(gcc_version_trigger)" \
437 "target_alias=$(target_alias)"
439 # For any flags above that may contain shell code that varies from one
440 # target library to another. When doing recursive invocations of the
441 # top-level Makefile, we don't want the outer make to evaluate them,
442 # so we pass these variables down unchanged. They must not contain
443 # single nor double quotes.
444 RECURSE_FLAGS = \
445 CXX_FOR_TARGET='$(CXX_FOR_TARGET_FOR_RECURSIVE_MAKE)' \
446 RAW_CXX_FOR_TARGET='$(RAW_CXX_FOR_TARGET_FOR_RECURSIVE_MAKE)' \
448 # Flags to pass down to most sub-makes, in which we're building with
449 # the host environment.
450 # If any variables are added here, they must be added to do-*, below.
451 EXTRA_HOST_FLAGS = \
452 'AR=$(AR)' \
453 'AS=$(AS)' \
454 'CC=$(CC)' \
455 'CXX=$(CXX)' \
456 'DLLTOOL=$(DLLTOOL)' \
457 'LD=$(LD)' \
458 'NM=$(NM)' \
459 "`echo 'RANLIB=$(RANLIB)' | sed -e s/.*=$$/XFOO=/`" \
460 'WINDRES=$(WINDRES)'
462 FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS)
464 # Flags that are concerned with the location of the X11 include files
465 # and library files
467 # NOTE: until the top-level is getting the values via autoconf, it only
468 # causes problems to have this top-level Makefile overriding the autoconf-set
469 # values in child directories. Only variables that don't conflict with
470 # autoconf'ed ones should be passed by X11_FLAGS_TO_PASS for now.
472 X11_FLAGS_TO_PASS = \
473 'X11_EXTRA_CFLAGS=$(X11_EXTRA_CFLAGS)' \
474 'X11_EXTRA_LIBS=$(X11_EXTRA_LIBS)'
476 # Flags to pass down to makes which are built with the target environment.
477 # The double $ decreases the length of the command line; the variables
478 # are set in BASE_FLAGS_TO_PASS, and the sub-make will expand them.
479 # If any variables are added here, they must be added to do-*, below.
480 EXTRA_TARGET_FLAGS = \
481 'AR=$$(AR_FOR_TARGET)' \
482 'AS=$$(AS_FOR_TARGET)' \
483 'CC=$$(CC_FOR_TARGET)' \
484 'CFLAGS=$$(CFLAGS_FOR_TARGET)' \
485 'CXX=$$(CXX_FOR_TARGET)' \
486 'CXXFLAGS=$$(CXXFLAGS_FOR_TARGET)' \
487 'DLLTOOL=$$(DLLTOOL_FOR_TARGET)' \
488 'LD=$$(LD_FOR_TARGET)' \
489 'LIBCFLAGS=$$(LIBCFLAGS_FOR_TARGET)' \
490 'LIBCXXFLAGS=$$(LIBCXXFLAGS_FOR_TARGET)' \
491 'NM=$$(NM_FOR_TARGET)' \
492 'RANLIB=$$(RANLIB_FOR_TARGET)' \
493 'WINDRES=$$(WINDRES_FOR_TARGET)'
495 TARGET_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS)
497 # Flags to pass down to gcc. gcc builds a library, libgcc.a, so it
498 # unfortunately needs the native compiler and the target ar and
499 # ranlib.
500 # If any variables are added here, they must be added to do-*, below.
501 # The HOST_* variables are a special case, which are used for the gcc
502 # cross-building scheme.
503 EXTRA_GCC_FLAGS = \
504 'AR=$(AR)' \
505 'AS=$(AS)' \
506 'CC=$(CC)' \
507 'CXX=$(CXX)' \
508 'DLLTOOL=$$(DLLTOOL_FOR_TARGET)' \
509 'BUILD_CC=$(CC_FOR_BUILD)' \
510 'BUILD_PREFIX=$(BUILD_PREFIX)' \
511 'BUILD_PREFIX_1=$(BUILD_PREFIX_1)' \
512 'NM=$(NM)' \
513 "`echo 'RANLIB=$(RANLIB)' | sed -e s/.*=$$/XFOO=/`" \
514 'WINDRES=$$(WINDRES_FOR_TARGET)' \
515 "GCC_FOR_TARGET=$(GCC_FOR_TARGET)" \
516 "CFLAGS_FOR_BUILD=$(CFLAGS_FOR_BUILD)" \
517 "`echo 'LANGUAGES=$(LANGUAGES)' | sed -e s/.*=$$/XFOO=/`" \
518 "`echo 'STMP_FIXPROTO=$(STMP_FIXPROTO)' | sed -e s/.*=$$/XFOO=/`" \
519 "`echo 'LIMITS_H_TEST=$(LIMITS_H_TEST)' | sed -e s/.*=$$/XFOO=/`" \
520 "`echo 'LIBGCC2_CFLAGS=$(LIBGCC2_CFLAGS)' | sed -e s/.*=$$/XFOO=/`" \
521 "`echo 'LIBGCC2_DEBUG_CFLAGS=$(LIBGCC2_DEBUG_CFLAGS)' | sed -e s/.*=$$/XFOO=/`" \
522 "`echo 'LIBGCC2_INCLUDES=$(LIBGCC2_INCLUDES)' | sed -e s/.*=$$/XFOO=/`" \
523 "`echo 'ENQUIRE=$(ENQUIRE)' | sed -e s/.*=$$/XFOO=/`" \
524 "`echo 'STAGE1_CFLAGS=$(STAGE1_CFLAGS)' | sed -e s/.*=$$/XFOO=/`" \
525 "`echo 'BOOT_CFLAGS=$(BOOT_CFLAGS)' | sed -e s/.*=$$/XFOO=/`"
527 GCC_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS)
529 configure-host: @configure_host_modules@
530 configure-target: @configure_target_modules@
532 # This is a list of the targets for which we can do a clean-{target}.
533 CLEAN_MODULES = \
534 clean-ash \
535 clean-autoconf \
536 clean-automake \
537 clean-bash \
538 clean-bfd \
539 clean-opcodes \
540 clean-binutils \
541 clean-bison \
542 clean-byacc \
543 clean-bzip2 \
544 clean-db \
545 clean-dejagnu \
546 clean-diff \
547 clean-dosutils \
548 clean-etc \
549 clean-fastjar \
550 clean-fileutils \
551 clean-findutils \
552 clean-find \
553 clean-flex \
554 clean-gas \
555 clean-gawk \
556 clean-gettext \
557 clean-gnuserv \
558 clean-gprof \
559 clean-grep \
560 clean-gzip \
561 clean-hello \
562 clean-indent \
563 clean-intl \
564 clean-tcl \
565 clean-itcl \
566 clean-ld \
567 clean-libgui \
568 clean-libiberty \
569 clean-libtool \
570 clean-m4 \
571 clean-make \
572 clean-mmalloc \
573 clean-patch \
574 clean-perl \
575 clean-prms \
576 clean-rcs \
577 clean-readline \
578 clean-release \
579 clean-recode \
580 clean-sed \
581 clean-send-pr \
582 clean-shellutils \
583 clean-sid \
584 clean-sim \
585 clean-snavigator \
586 clean-tar \
587 clean-texinfo \
588 clean-textutils \
589 clean-time \
590 clean-uudecode \
591 clean-wdiff \
592 clean-zip \
593 clean-zlib \
594 clean-utils
596 # All of the target modules that can be cleaned
597 CLEAN_TARGET_MODULES = \
598 clean-target-libstdc++-v3 \
599 clean-target-newlib \
600 clean-target-libf2c \
601 clean-target-libobjc \
602 clean-target-winsup \
603 clean-target-libgloss \
604 clean-target-libiberty \
605 clean-target-gperf \
606 clean-target-examples \
607 clean-target-libffi \
608 clean-target-libjava \
609 clean-target-zlib \
610 clean-target-boehm-gc \
611 clean-target-qthreads \
612 clean-target-rda
614 # All of the x11 modules that can be cleaned
615 CLEAN_X11_MODULES = \
616 clean-gdb \
617 clean-expect \
618 clean-guile \
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', if we're
1075 # in fact building texinfo.
1076 do-info: maybe-all-texinfo
1078 install-info: do-install-info dir.info
1079 s=`cd $(srcdir); ${PWD}`; export s; \
1080 if [ -f dir.info ] ; then \
1081 $(INSTALL_DATA) dir.info $(infodir)/dir.info ; \
1082 else true ; fi
1084 local-clean:
1085 -rm -f *.a TEMP errs core *.o *~ \#* TAGS *.E *.log
1087 local-distclean:
1088 -rm -f Makefile config.status config.cache mh-frag mt-frag
1089 -if [ "$(TARGET_SUBDIR)" != "." ]; then \
1090 rm -rf $(TARGET_SUBDIR); \
1091 else true; fi
1092 -rm -f texinfo/po/Makefile texinfo/po/Makefile.in texinfo/info/Makefile
1093 -rm -f texinfo/doc/Makefile texinfo/po/POTFILES
1094 -rmdir texinfo/doc texinfo/info texinfo/intl texinfo/lib 2>/dev/null
1095 -rmdir texinfo/makeinfo texinfo/po texinfo/util 2>/dev/null
1096 -rmdir fastjar gcc libiberty texinfo zlib 2>/dev/null
1098 local-maintainer-clean:
1099 @echo "This command is intended for maintainers to use;"
1100 @echo "it deletes files that may require special tools to rebuild."
1102 clean: do-clean local-clean
1103 mostlyclean: do-mostlyclean local-clean
1104 distclean: do-distclean local-clean local-distclean
1105 maintainer-clean: local-maintainer-clean do-maintainer-clean local-clean
1106 maintainer-clean: local-distclean
1107 realclean: maintainer-clean
1109 # This rule is used to clean specific modules.
1110 .PHONY: $(CLEAN_MODULES) $(CLEAN_X11_MODULES) clean-gcc
1111 $(CLEAN_MODULES) $(CLEAN_X11_MODULES) clean-gcc:
1112 @dir=`echo $@ | sed -e 's/clean-//'`; \
1113 if [ -f ./$${dir}/Makefile ] ; then \
1114 r=`${PWD}`; export r; \
1115 s=`cd $(srcdir); ${PWD}`; export s; \
1116 $(SET_LIB_PATH) \
1117 (cd $${dir}; $(MAKE) $(FLAGS_TO_PASS) clean); \
1118 else \
1119 true; \
1122 .PHONY: $(CLEAN_TARGET_MODULES)
1123 $(CLEAN_TARGET_MODULES):
1124 @dir=`echo $@ | sed -e 's/clean-target-//'`; \
1125 rm -f $(TARGET_SUBDIR)/$${dir}/multilib.out $(TARGET_SUBDIR)/$${dir}/tmpmulti.out; \
1126 if [ -f $(TARGET_SUBDIR)/$${dir}/Makefile ] ; then \
1127 r=`${PWD}`; export r; \
1128 s=`cd $(srcdir); ${PWD}`; export s; \
1129 $(SET_LIB_PATH) \
1130 (cd $(TARGET_SUBDIR)/$${dir}; $(MAKE) $(TARGET_FLAGS_TO_PASS) clean); \
1131 else \
1132 true; \
1135 clean-target: $(CLEAN_TARGET_MODULES) clean-target-libgcc
1136 clean-target-libgcc:
1137 test ! -d gcc/libgcc || \
1138 (cd gcc/libgcc && find . -type d -print) | \
1139 while read d; do rm -f gcc/$$d/libgcc.a || : ; done
1140 -rm -rf gcc/libgcc
1142 # Check target.
1144 .PHONY: check do-check
1145 check:
1146 $(MAKE) do-check NOTPARALLEL=parallel-ok
1148 # Only include modules actually being configured and built.
1149 do-check: @check_host_modules@ \
1150 @check_target_modules@
1152 # Automated reporting of test results.
1154 warning.log: build.log
1155 $(srcdir)/contrib/warn_summary build.log > $@
1157 mail-report.log:
1158 if test x'$(BOOT_CFLAGS)' != x''; then \
1159 BOOT_CFLAGS='$(BOOT_CFLAGS)'; export BOOT_CFLAGS; \
1160 fi; \
1161 $(srcdir)/contrib/test_summary -t >$@
1162 chmod +x $@
1163 echo If you really want to send e-mail, run ./$@ now
1165 mail-report-with-warnings.log: warning.log
1166 if test x'$(BOOT_CFLAGS)' != x''; then \
1167 BOOT_CFLAGS='$(BOOT_CFLAGS)'; export BOOT_CFLAGS; \
1168 fi; \
1169 $(srcdir)/contrib/test_summary -t -i warning.log >$@
1170 chmod +x $@
1171 echo If you really want to send e-mail, run ./$@ now
1173 # Installation targets.
1175 .PHONY: install uninstall
1176 install: installdirs @install_host_modules@ @install_target_modules@
1178 install-target: @install_target_modules@
1180 uninstall:
1181 @echo "the uninstall target is not supported in this tree"
1183 .PHONY: install.all
1184 install.all: install-no-fixedincludes
1185 @if [ -f ./gcc/Makefile ] ; then \
1186 r=`${PWD}` ; export r ; \
1187 $(SET_LIB_PATH) \
1188 (cd ./gcc; \
1189 $(MAKE) $(FLAGS_TO_PASS) install-headers) ; \
1190 else \
1191 true ; \
1194 # install-no-fixedincludes is used because Cygnus can not distribute
1195 # the fixed header files.
1196 .PHONY: install-no-fixedincludes
1197 install-no-fixedincludes: installdirs @install_host_modules_nogcc@ \
1198 @install_target_modules@ gcc-no-fixedincludes
1200 ### other supporting targets
1202 MAKEDIRS= \
1203 $(DESTDIR)$(prefix) \
1204 $(DESTDIR)$(exec_prefix)
1205 .PHONY: installdirs
1206 installdirs: mkinstalldirs
1207 $(SHELL) $(srcdir)/mkinstalldirs $(MAKEDIRS)
1209 dir.info: do-install-info
1210 if [ -f $(srcdir)/texinfo/gen-info-dir ] ; then \
1211 $(srcdir)/texinfo/gen-info-dir $(infodir) $(srcdir)/texinfo/dir.info-template > dir.info.new ; \
1212 mv -f dir.info.new dir.info ; \
1213 else true ; \
1216 dist:
1217 @echo "Building a full distribution of this tree isn't done"
1218 @echo "via 'make dist'. Check out the etc/ subdirectory"
1220 etags tags: TAGS
1222 # Right now this just builds TAGS in each subdirectory. emacs19 has the
1223 # ability to use several tags files at once, so there is probably no need
1224 # to combine them into one big TAGS file (like CVS 1.3 does). We could
1225 # (if we felt like it) have this Makefile write a piece of elisp which
1226 # the user could load to tell emacs19 where all the TAGS files we just
1227 # built are.
1228 TAGS: do-TAGS
1231 # --------------------------------------
1232 # Modules which run on the build machine
1233 # --------------------------------------
1235 .PHONY: configure-build-libiberty maybe-configure-build-libiberty
1236 maybe-configure-build-libiberty:
1237 configure-build-libiberty: $(BUILD_SUBDIR)/libiberty/Makefile
1238 $(BUILD_SUBDIR)/libiberty/Makefile: config.status
1239 @[ -d $(BUILD_SUBDIR)/libiberty ] || mkdir $(BUILD_SUBDIR)/libiberty;\
1240 r=`${PWD}`; export r; \
1241 s=`cd $(srcdir); ${PWD}`; export s; \
1242 AR="$(AR_FOR_BUILD)"; export AR; \
1243 AS="$(AS_FOR_BUILD)"; export AS; \
1244 CC="$(CC_FOR_BUILD)"; export CC; \
1245 CFLAGS="$(CFLAGS_FOR_BUILD)"; export CFLAGS; \
1246 CXX="$(CXX_FOR_BUILD)"; export CXX; \
1247 CXXFLAGS="$(CXXFLAGS_FOR_BUILD)"; export CXXFLAGS; \
1248 GCJ="$(GCJ_FOR_BUILD)"; export GCJ; \
1249 DLLTOOL="$(DLLTOOL_FOR_BUILD)"; export DLLTOOL; \
1250 LD="$(LD_FOR_BUILD)"; export LD; \
1251 LDFLAGS="$(LDFLAGS_FOR_BUILD)"; export LDFLAGS; \
1252 NM="$(NM_FOR_BUILD)"; export NM; \
1253 RANLIB="$(RANLIB_FOR_BUILD)"; export RANLIB; \
1254 WINDRES="$(WINDRES_FOR_BUILD)"; export WINDRES; \
1255 echo Configuring in $(BUILD_SUBDIR)/libiberty; \
1256 cd "$(BUILD_SUBDIR)/libiberty" || exit 1; \
1257 case $(srcdir) in \
1258 /* | [A-Za-z]:[\\/]*) \
1259 topdir=$(srcdir) ;; \
1260 *) \
1261 case "$(BUILD_SUBDIR)" in \
1262 .) topdir="../$(srcdir)" ;; \
1263 *) topdir="../../$(srcdir)" ;; \
1264 esac ;; \
1265 esac; \
1266 if [ "$(srcdir)" = "." ] ; then \
1267 if [ "$(BUILD_SUBDIR)" != "." ] ; then \
1268 if $(SHELL) $$s/symlink-tree $${topdir}/libiberty "no-such-file" ; then \
1269 if [ -f Makefile ]; then \
1270 if $(MAKE) distclean; then \
1271 true; \
1272 else \
1273 exit 1; \
1274 fi; \
1275 else \
1276 true; \
1277 fi; \
1278 else \
1279 exit 1; \
1280 fi; \
1281 else \
1282 true; \
1283 fi; \
1284 srcdiroption="--srcdir=."; \
1285 libsrcdir="."; \
1286 else \
1287 srcdiroption="--srcdir=$${topdir}/libiberty"; \
1288 libsrcdir="$$s/libiberty"; \
1289 fi; \
1290 rm -f no-such-file || : ; \
1291 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
1292 $(BUILD_CONFIGARGS) $${srcdiroption} \
1293 --with-build-subdir="$(BUILD_SUBDIR)" \
1294 || exit 1
1296 .PHONY: all-build-libiberty maybe-all-build-libiberty
1297 maybe-all-build-libiberty:
1298 all-build-libiberty: configure-build-libiberty
1299 @r=`${PWD}`; export r; \
1300 s=`cd $(srcdir); ${PWD}`; export s; \
1301 (cd $(BUILD_SUBDIR)/libiberty && $(MAKE) all)
1304 # --------------------------------------
1305 # Modules which run on the host machine
1306 # --------------------------------------
1308 .PHONY: configure-ash maybe-configure-ash
1309 maybe-configure-ash:
1310 configure-ash: ash/Makefile
1312 ash/Makefile: config.status
1313 @[ -d ash ] || mkdir ash; \
1314 r=`${PWD}`; export r; \
1315 s=`cd $(srcdir); ${PWD}`; export s; \
1316 CC="$(CC)"; export CC; \
1317 CFLAGS="$(CFLAGS)"; export CFLAGS; \
1318 CXX="$(CXX)"; export CXX; \
1319 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
1320 if [ z$(build_canonical) != z$(host_canoncial) ] ; then \
1321 AR="$(AR)"; export AR; \
1322 AS="$(AS)"; export AS; \
1323 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
1324 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
1325 LD="$(LD)"; export LD; \
1326 NM="$(NM)"; export NM; \
1327 RANLIB="$(RANLIB)"; export RANLIB; \
1328 WINDRES="$(WINDRES)"; export WINDRES; \
1329 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
1330 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
1331 fi; \
1332 echo Configuring in ash; \
1333 cd ash || exit 1; \
1334 case $(srcdir) in \
1335 \.) \
1336 srcdiroption="--srcdir=."; \
1337 libsrcdir=".";; \
1338 /* | [A-Za-z]:[\\/]*) \
1339 srcdiroption="--srcdir=$(srcdir)/ash"; \
1340 libsrcdir="$$s/ash";; \
1341 *) \
1342 srcdiroption="--srcdir=../$(srcdir)/ash"; \
1343 libsrcdir="$$s/ash";; \
1344 esac; \
1345 $(SHELL) $${libsrcdir}/configure \
1346 $(HOST_CONFIGARGS) $${srcdiroption} \
1347 || exit 1
1349 .PHONY: all-ash maybe-all-ash
1350 maybe-all-ash:
1351 all-ash: configure-ash
1352 @r=`${PWD}`; export r; \
1353 s=`cd $(srcdir); ${PWD}`; export s; \
1354 $(SET_LIB_PATH) \
1355 (cd ash; $(MAKE) $(FLAGS_TO_PASS) all)
1358 .PHONY: check-ash
1359 check-ash:
1360 @r=`${PWD}`; export r; \
1361 s=`cd $(srcdir); ${PWD}`; export s; \
1362 $(SET_LIB_PATH) \
1363 (cd ash; $(MAKE) $(FLAGS_TO_PASS) check)
1367 .PHONY: install-ash maybe-install-ash
1368 maybe-install-ash:
1369 install-ash: installdirs
1370 @r=`${PWD}`; export r; \
1371 s=`cd $(srcdir); ${PWD}`; export s; \
1372 $(SET_LIB_PATH) \
1373 (cd ash; $(MAKE) $(FLAGS_TO_PASS) install)
1376 .PHONY: configure-autoconf maybe-configure-autoconf
1377 maybe-configure-autoconf:
1378 configure-autoconf: autoconf/Makefile
1380 autoconf/Makefile: config.status
1381 @[ -d autoconf ] || mkdir autoconf; \
1382 r=`${PWD}`; export r; \
1383 s=`cd $(srcdir); ${PWD}`; export s; \
1384 CC="$(CC)"; export CC; \
1385 CFLAGS="$(CFLAGS)"; export CFLAGS; \
1386 CXX="$(CXX)"; export CXX; \
1387 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
1388 if [ z$(build_canonical) != z$(host_canoncial) ] ; then \
1389 AR="$(AR)"; export AR; \
1390 AS="$(AS)"; export AS; \
1391 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
1392 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
1393 LD="$(LD)"; export LD; \
1394 NM="$(NM)"; export NM; \
1395 RANLIB="$(RANLIB)"; export RANLIB; \
1396 WINDRES="$(WINDRES)"; export WINDRES; \
1397 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
1398 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
1399 fi; \
1400 echo Configuring in autoconf; \
1401 cd autoconf || exit 1; \
1402 case $(srcdir) in \
1403 \.) \
1404 srcdiroption="--srcdir=."; \
1405 libsrcdir=".";; \
1406 /* | [A-Za-z]:[\\/]*) \
1407 srcdiroption="--srcdir=$(srcdir)/autoconf"; \
1408 libsrcdir="$$s/autoconf";; \
1409 *) \
1410 srcdiroption="--srcdir=../$(srcdir)/autoconf"; \
1411 libsrcdir="$$s/autoconf";; \
1412 esac; \
1413 $(SHELL) $${libsrcdir}/configure \
1414 $(HOST_CONFIGARGS) $${srcdiroption} \
1415 || exit 1
1417 .PHONY: all-autoconf maybe-all-autoconf
1418 maybe-all-autoconf:
1419 all-autoconf: configure-autoconf
1420 @r=`${PWD}`; export r; \
1421 s=`cd $(srcdir); ${PWD}`; export s; \
1422 $(SET_LIB_PATH) \
1423 (cd autoconf; $(MAKE) $(FLAGS_TO_PASS) all)
1426 .PHONY: check-autoconf
1427 check-autoconf:
1428 @r=`${PWD}`; export r; \
1429 s=`cd $(srcdir); ${PWD}`; export s; \
1430 $(SET_LIB_PATH) \
1431 (cd autoconf; $(MAKE) $(FLAGS_TO_PASS) check)
1435 .PHONY: install-autoconf maybe-install-autoconf
1436 maybe-install-autoconf:
1437 install-autoconf: installdirs
1438 @r=`${PWD}`; export r; \
1439 s=`cd $(srcdir); ${PWD}`; export s; \
1440 $(SET_LIB_PATH) \
1441 (cd autoconf; $(MAKE) $(FLAGS_TO_PASS) install)
1444 .PHONY: configure-automake maybe-configure-automake
1445 maybe-configure-automake:
1446 configure-automake: automake/Makefile
1448 automake/Makefile: config.status
1449 @[ -d automake ] || mkdir automake; \
1450 r=`${PWD}`; export r; \
1451 s=`cd $(srcdir); ${PWD}`; export s; \
1452 CC="$(CC)"; export CC; \
1453 CFLAGS="$(CFLAGS)"; export CFLAGS; \
1454 CXX="$(CXX)"; export CXX; \
1455 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
1456 if [ z$(build_canonical) != z$(host_canoncial) ] ; then \
1457 AR="$(AR)"; export AR; \
1458 AS="$(AS)"; export AS; \
1459 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
1460 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
1461 LD="$(LD)"; export LD; \
1462 NM="$(NM)"; export NM; \
1463 RANLIB="$(RANLIB)"; export RANLIB; \
1464 WINDRES="$(WINDRES)"; export WINDRES; \
1465 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
1466 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
1467 fi; \
1468 echo Configuring in automake; \
1469 cd automake || exit 1; \
1470 case $(srcdir) in \
1471 \.) \
1472 srcdiroption="--srcdir=."; \
1473 libsrcdir=".";; \
1474 /* | [A-Za-z]:[\\/]*) \
1475 srcdiroption="--srcdir=$(srcdir)/automake"; \
1476 libsrcdir="$$s/automake";; \
1477 *) \
1478 srcdiroption="--srcdir=../$(srcdir)/automake"; \
1479 libsrcdir="$$s/automake";; \
1480 esac; \
1481 $(SHELL) $${libsrcdir}/configure \
1482 $(HOST_CONFIGARGS) $${srcdiroption} \
1483 || exit 1
1485 .PHONY: all-automake maybe-all-automake
1486 maybe-all-automake:
1487 all-automake: configure-automake
1488 @r=`${PWD}`; export r; \
1489 s=`cd $(srcdir); ${PWD}`; export s; \
1490 $(SET_LIB_PATH) \
1491 (cd automake; $(MAKE) $(FLAGS_TO_PASS) all)
1494 .PHONY: check-automake
1495 check-automake:
1496 @r=`${PWD}`; export r; \
1497 s=`cd $(srcdir); ${PWD}`; export s; \
1498 $(SET_LIB_PATH) \
1499 (cd automake; $(MAKE) $(FLAGS_TO_PASS) check)
1503 .PHONY: install-automake maybe-install-automake
1504 maybe-install-automake:
1505 install-automake: installdirs
1506 @r=`${PWD}`; export r; \
1507 s=`cd $(srcdir); ${PWD}`; export s; \
1508 $(SET_LIB_PATH) \
1509 (cd automake; $(MAKE) $(FLAGS_TO_PASS) install)
1512 .PHONY: configure-bash maybe-configure-bash
1513 maybe-configure-bash:
1514 configure-bash: bash/Makefile
1516 bash/Makefile: config.status
1517 @[ -d bash ] || mkdir bash; \
1518 r=`${PWD}`; export r; \
1519 s=`cd $(srcdir); ${PWD}`; export s; \
1520 CC="$(CC)"; export CC; \
1521 CFLAGS="$(CFLAGS)"; export CFLAGS; \
1522 CXX="$(CXX)"; export CXX; \
1523 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
1524 if [ z$(build_canonical) != z$(host_canoncial) ] ; then \
1525 AR="$(AR)"; export AR; \
1526 AS="$(AS)"; export AS; \
1527 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
1528 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
1529 LD="$(LD)"; export LD; \
1530 NM="$(NM)"; export NM; \
1531 RANLIB="$(RANLIB)"; export RANLIB; \
1532 WINDRES="$(WINDRES)"; export WINDRES; \
1533 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
1534 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
1535 fi; \
1536 echo Configuring in bash; \
1537 cd bash || exit 1; \
1538 case $(srcdir) in \
1539 \.) \
1540 srcdiroption="--srcdir=."; \
1541 libsrcdir=".";; \
1542 /* | [A-Za-z]:[\\/]*) \
1543 srcdiroption="--srcdir=$(srcdir)/bash"; \
1544 libsrcdir="$$s/bash";; \
1545 *) \
1546 srcdiroption="--srcdir=../$(srcdir)/bash"; \
1547 libsrcdir="$$s/bash";; \
1548 esac; \
1549 $(SHELL) $${libsrcdir}/configure \
1550 $(HOST_CONFIGARGS) $${srcdiroption} \
1551 || exit 1
1553 .PHONY: all-bash maybe-all-bash
1554 maybe-all-bash:
1555 all-bash: configure-bash
1556 @r=`${PWD}`; export r; \
1557 s=`cd $(srcdir); ${PWD}`; export s; \
1558 $(SET_LIB_PATH) \
1559 (cd bash; $(MAKE) $(FLAGS_TO_PASS) all)
1562 .PHONY: check-bash
1563 check-bash:
1564 @r=`${PWD}`; export r; \
1565 s=`cd $(srcdir); ${PWD}`; export s; \
1566 $(SET_LIB_PATH) \
1567 (cd bash; $(MAKE) $(FLAGS_TO_PASS) check)
1571 .PHONY: install-bash maybe-install-bash
1572 maybe-install-bash:
1573 install-bash: installdirs
1574 @r=`${PWD}`; export r; \
1575 s=`cd $(srcdir); ${PWD}`; export s; \
1576 $(SET_LIB_PATH) \
1577 (cd bash; $(MAKE) $(FLAGS_TO_PASS) install)
1580 .PHONY: configure-bfd maybe-configure-bfd
1581 maybe-configure-bfd:
1582 configure-bfd: bfd/Makefile
1584 bfd/Makefile: config.status
1585 @[ -d bfd ] || mkdir bfd; \
1586 r=`${PWD}`; export r; \
1587 s=`cd $(srcdir); ${PWD}`; export s; \
1588 CC="$(CC)"; export CC; \
1589 CFLAGS="$(CFLAGS)"; export CFLAGS; \
1590 CXX="$(CXX)"; export CXX; \
1591 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
1592 if [ z$(build_canonical) != z$(host_canoncial) ] ; then \
1593 AR="$(AR)"; export AR; \
1594 AS="$(AS)"; export AS; \
1595 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
1596 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
1597 LD="$(LD)"; export LD; \
1598 NM="$(NM)"; export NM; \
1599 RANLIB="$(RANLIB)"; export RANLIB; \
1600 WINDRES="$(WINDRES)"; export WINDRES; \
1601 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
1602 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
1603 fi; \
1604 echo Configuring in bfd; \
1605 cd bfd || exit 1; \
1606 case $(srcdir) in \
1607 \.) \
1608 srcdiroption="--srcdir=."; \
1609 libsrcdir=".";; \
1610 /* | [A-Za-z]:[\\/]*) \
1611 srcdiroption="--srcdir=$(srcdir)/bfd"; \
1612 libsrcdir="$$s/bfd";; \
1613 *) \
1614 srcdiroption="--srcdir=../$(srcdir)/bfd"; \
1615 libsrcdir="$$s/bfd";; \
1616 esac; \
1617 $(SHELL) $${libsrcdir}/configure \
1618 $(HOST_CONFIGARGS) $${srcdiroption} \
1619 || exit 1
1621 .PHONY: all-bfd maybe-all-bfd
1622 maybe-all-bfd:
1623 all-bfd: configure-bfd
1624 @r=`${PWD}`; export r; \
1625 s=`cd $(srcdir); ${PWD}`; export s; \
1626 $(SET_LIB_PATH) \
1627 (cd bfd; $(MAKE) $(FLAGS_TO_PASS) all)
1630 .PHONY: check-bfd
1631 check-bfd:
1632 @r=`${PWD}`; export r; \
1633 s=`cd $(srcdir); ${PWD}`; export s; \
1634 $(SET_LIB_PATH) \
1635 (cd bfd; $(MAKE) $(FLAGS_TO_PASS) check)
1639 .PHONY: install-bfd maybe-install-bfd
1640 maybe-install-bfd:
1641 install-bfd: installdirs
1642 @r=`${PWD}`; export r; \
1643 s=`cd $(srcdir); ${PWD}`; export s; \
1644 $(SET_LIB_PATH) \
1645 (cd bfd; $(MAKE) $(FLAGS_TO_PASS) install)
1648 .PHONY: configure-opcodes maybe-configure-opcodes
1649 maybe-configure-opcodes:
1650 configure-opcodes: opcodes/Makefile
1652 opcodes/Makefile: config.status
1653 @[ -d opcodes ] || mkdir opcodes; \
1654 r=`${PWD}`; export r; \
1655 s=`cd $(srcdir); ${PWD}`; export s; \
1656 CC="$(CC)"; export CC; \
1657 CFLAGS="$(CFLAGS)"; export CFLAGS; \
1658 CXX="$(CXX)"; export CXX; \
1659 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
1660 if [ z$(build_canonical) != z$(host_canoncial) ] ; then \
1661 AR="$(AR)"; export AR; \
1662 AS="$(AS)"; export AS; \
1663 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
1664 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
1665 LD="$(LD)"; export LD; \
1666 NM="$(NM)"; export NM; \
1667 RANLIB="$(RANLIB)"; export RANLIB; \
1668 WINDRES="$(WINDRES)"; export WINDRES; \
1669 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
1670 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
1671 fi; \
1672 echo Configuring in opcodes; \
1673 cd opcodes || exit 1; \
1674 case $(srcdir) in \
1675 \.) \
1676 srcdiroption="--srcdir=."; \
1677 libsrcdir=".";; \
1678 /* | [A-Za-z]:[\\/]*) \
1679 srcdiroption="--srcdir=$(srcdir)/opcodes"; \
1680 libsrcdir="$$s/opcodes";; \
1681 *) \
1682 srcdiroption="--srcdir=../$(srcdir)/opcodes"; \
1683 libsrcdir="$$s/opcodes";; \
1684 esac; \
1685 $(SHELL) $${libsrcdir}/configure \
1686 $(HOST_CONFIGARGS) $${srcdiroption} \
1687 || exit 1
1689 .PHONY: all-opcodes maybe-all-opcodes
1690 maybe-all-opcodes:
1691 all-opcodes: configure-opcodes
1692 @r=`${PWD}`; export r; \
1693 s=`cd $(srcdir); ${PWD}`; export s; \
1694 $(SET_LIB_PATH) \
1695 (cd opcodes; $(MAKE) $(FLAGS_TO_PASS) all)
1698 .PHONY: check-opcodes
1699 check-opcodes:
1700 @r=`${PWD}`; export r; \
1701 s=`cd $(srcdir); ${PWD}`; export s; \
1702 $(SET_LIB_PATH) \
1703 (cd opcodes; $(MAKE) $(FLAGS_TO_PASS) check)
1707 .PHONY: install-opcodes maybe-install-opcodes
1708 maybe-install-opcodes:
1709 install-opcodes: installdirs
1710 @r=`${PWD}`; export r; \
1711 s=`cd $(srcdir); ${PWD}`; export s; \
1712 $(SET_LIB_PATH) \
1713 (cd opcodes; $(MAKE) $(FLAGS_TO_PASS) install)
1716 .PHONY: configure-binutils maybe-configure-binutils
1717 maybe-configure-binutils:
1718 configure-binutils: binutils/Makefile
1720 binutils/Makefile: config.status
1721 @[ -d binutils ] || mkdir binutils; \
1722 r=`${PWD}`; export r; \
1723 s=`cd $(srcdir); ${PWD}`; export s; \
1724 CC="$(CC)"; export CC; \
1725 CFLAGS="$(CFLAGS)"; export CFLAGS; \
1726 CXX="$(CXX)"; export CXX; \
1727 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
1728 if [ z$(build_canonical) != z$(host_canoncial) ] ; then \
1729 AR="$(AR)"; export AR; \
1730 AS="$(AS)"; export AS; \
1731 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
1732 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
1733 LD="$(LD)"; export LD; \
1734 NM="$(NM)"; export NM; \
1735 RANLIB="$(RANLIB)"; export RANLIB; \
1736 WINDRES="$(WINDRES)"; export WINDRES; \
1737 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
1738 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
1739 fi; \
1740 echo Configuring in binutils; \
1741 cd binutils || exit 1; \
1742 case $(srcdir) in \
1743 \.) \
1744 srcdiroption="--srcdir=."; \
1745 libsrcdir=".";; \
1746 /* | [A-Za-z]:[\\/]*) \
1747 srcdiroption="--srcdir=$(srcdir)/binutils"; \
1748 libsrcdir="$$s/binutils";; \
1749 *) \
1750 srcdiroption="--srcdir=../$(srcdir)/binutils"; \
1751 libsrcdir="$$s/binutils";; \
1752 esac; \
1753 $(SHELL) $${libsrcdir}/configure \
1754 $(HOST_CONFIGARGS) $${srcdiroption} \
1755 || exit 1
1757 .PHONY: all-binutils maybe-all-binutils
1758 maybe-all-binutils:
1759 all-binutils: configure-binutils
1760 @r=`${PWD}`; export r; \
1761 s=`cd $(srcdir); ${PWD}`; export s; \
1762 $(SET_LIB_PATH) \
1763 (cd binutils; $(MAKE) $(FLAGS_TO_PASS) all)
1766 .PHONY: check-binutils
1767 check-binutils:
1768 @r=`${PWD}`; export r; \
1769 s=`cd $(srcdir); ${PWD}`; export s; \
1770 $(SET_LIB_PATH) \
1771 (cd binutils; $(MAKE) $(FLAGS_TO_PASS) check)
1775 .PHONY: install-binutils maybe-install-binutils
1776 maybe-install-binutils:
1777 install-binutils: installdirs
1778 @r=`${PWD}`; export r; \
1779 s=`cd $(srcdir); ${PWD}`; export s; \
1780 $(SET_LIB_PATH) \
1781 (cd binutils; $(MAKE) $(FLAGS_TO_PASS) install)
1784 .PHONY: configure-bison maybe-configure-bison
1785 maybe-configure-bison:
1786 configure-bison: bison/Makefile
1788 bison/Makefile: config.status
1789 @[ -d bison ] || mkdir bison; \
1790 r=`${PWD}`; export r; \
1791 s=`cd $(srcdir); ${PWD}`; export s; \
1792 CC="$(CC)"; export CC; \
1793 CFLAGS="$(CFLAGS)"; export CFLAGS; \
1794 CXX="$(CXX)"; export CXX; \
1795 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
1796 if [ z$(build_canonical) != z$(host_canoncial) ] ; then \
1797 AR="$(AR)"; export AR; \
1798 AS="$(AS)"; export AS; \
1799 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
1800 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
1801 LD="$(LD)"; export LD; \
1802 NM="$(NM)"; export NM; \
1803 RANLIB="$(RANLIB)"; export RANLIB; \
1804 WINDRES="$(WINDRES)"; export WINDRES; \
1805 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
1806 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
1807 fi; \
1808 echo Configuring in bison; \
1809 cd bison || exit 1; \
1810 case $(srcdir) in \
1811 \.) \
1812 srcdiroption="--srcdir=."; \
1813 libsrcdir=".";; \
1814 /* | [A-Za-z]:[\\/]*) \
1815 srcdiroption="--srcdir=$(srcdir)/bison"; \
1816 libsrcdir="$$s/bison";; \
1817 *) \
1818 srcdiroption="--srcdir=../$(srcdir)/bison"; \
1819 libsrcdir="$$s/bison";; \
1820 esac; \
1821 $(SHELL) $${libsrcdir}/configure \
1822 $(HOST_CONFIGARGS) $${srcdiroption} \
1823 || exit 1
1825 .PHONY: all-bison maybe-all-bison
1826 maybe-all-bison:
1827 all-bison: configure-bison
1828 @r=`${PWD}`; export r; \
1829 s=`cd $(srcdir); ${PWD}`; export s; \
1830 $(SET_LIB_PATH) \
1831 (cd bison; $(MAKE) $(FLAGS_TO_PASS) all)
1834 .PHONY: check-bison
1835 # This module is only tested in a native toolchain.
1836 check-bison:
1837 @if [ '$(host_canonical)' = '$(target_canonical)' ] ; then \
1838 r=`${PWD}`; export r; \
1839 s=`cd $(srcdir); ${PWD}`; export s; \
1840 $(SET_LIB_PATH) \
1841 (cd bison; $(MAKE) $(FLAGS_TO_PASS) check); \
1846 .PHONY: install-bison maybe-install-bison
1847 maybe-install-bison:
1848 install-bison: installdirs
1849 @r=`${PWD}`; export r; \
1850 s=`cd $(srcdir); ${PWD}`; export s; \
1851 $(SET_LIB_PATH) \
1852 (cd bison; $(MAKE) $(FLAGS_TO_PASS) install)
1855 .PHONY: configure-byacc maybe-configure-byacc
1856 maybe-configure-byacc:
1857 configure-byacc: byacc/Makefile
1859 byacc/Makefile: config.status
1860 @[ -d byacc ] || mkdir byacc; \
1861 r=`${PWD}`; export r; \
1862 s=`cd $(srcdir); ${PWD}`; export s; \
1863 CC="$(CC)"; export CC; \
1864 CFLAGS="$(CFLAGS)"; export CFLAGS; \
1865 CXX="$(CXX)"; export CXX; \
1866 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
1867 if [ z$(build_canonical) != z$(host_canoncial) ] ; then \
1868 AR="$(AR)"; export AR; \
1869 AS="$(AS)"; export AS; \
1870 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
1871 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
1872 LD="$(LD)"; export LD; \
1873 NM="$(NM)"; export NM; \
1874 RANLIB="$(RANLIB)"; export RANLIB; \
1875 WINDRES="$(WINDRES)"; export WINDRES; \
1876 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
1877 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
1878 fi; \
1879 echo Configuring in byacc; \
1880 cd byacc || exit 1; \
1881 case $(srcdir) in \
1882 \.) \
1883 srcdiroption="--srcdir=."; \
1884 libsrcdir=".";; \
1885 /* | [A-Za-z]:[\\/]*) \
1886 srcdiroption="--srcdir=$(srcdir)/byacc"; \
1887 libsrcdir="$$s/byacc";; \
1888 *) \
1889 srcdiroption="--srcdir=../$(srcdir)/byacc"; \
1890 libsrcdir="$$s/byacc";; \
1891 esac; \
1892 $(SHELL) $${libsrcdir}/configure \
1893 $(HOST_CONFIGARGS) $${srcdiroption} \
1894 || exit 1
1896 .PHONY: all-byacc maybe-all-byacc
1897 maybe-all-byacc:
1898 all-byacc: configure-byacc
1899 @r=`${PWD}`; export r; \
1900 s=`cd $(srcdir); ${PWD}`; export s; \
1901 $(SET_LIB_PATH) \
1902 (cd byacc; $(MAKE) $(FLAGS_TO_PASS) all)
1905 .PHONY: check-byacc
1906 # This module is only tested in a native toolchain.
1907 check-byacc:
1908 @if [ '$(host_canonical)' = '$(target_canonical)' ] ; then \
1909 r=`${PWD}`; export r; \
1910 s=`cd $(srcdir); ${PWD}`; export s; \
1911 $(SET_LIB_PATH) \
1912 (cd byacc; $(MAKE) $(FLAGS_TO_PASS) check); \
1917 .PHONY: install-byacc maybe-install-byacc
1918 maybe-install-byacc:
1919 install-byacc: installdirs
1920 @r=`${PWD}`; export r; \
1921 s=`cd $(srcdir); ${PWD}`; export s; \
1922 $(SET_LIB_PATH) \
1923 (cd byacc; $(MAKE) $(FLAGS_TO_PASS) install)
1926 .PHONY: configure-bzip2 maybe-configure-bzip2
1927 maybe-configure-bzip2:
1928 configure-bzip2: bzip2/Makefile
1930 bzip2/Makefile: config.status
1931 @[ -d bzip2 ] || mkdir bzip2; \
1932 r=`${PWD}`; export r; \
1933 s=`cd $(srcdir); ${PWD}`; export s; \
1934 CC="$(CC)"; export CC; \
1935 CFLAGS="$(CFLAGS)"; export CFLAGS; \
1936 CXX="$(CXX)"; export CXX; \
1937 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
1938 if [ z$(build_canonical) != z$(host_canoncial) ] ; then \
1939 AR="$(AR)"; export AR; \
1940 AS="$(AS)"; export AS; \
1941 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
1942 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
1943 LD="$(LD)"; export LD; \
1944 NM="$(NM)"; export NM; \
1945 RANLIB="$(RANLIB)"; export RANLIB; \
1946 WINDRES="$(WINDRES)"; export WINDRES; \
1947 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
1948 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
1949 fi; \
1950 echo Configuring in bzip2; \
1951 cd bzip2 || exit 1; \
1952 case $(srcdir) in \
1953 \.) \
1954 srcdiroption="--srcdir=."; \
1955 libsrcdir=".";; \
1956 /* | [A-Za-z]:[\\/]*) \
1957 srcdiroption="--srcdir=$(srcdir)/bzip2"; \
1958 libsrcdir="$$s/bzip2";; \
1959 *) \
1960 srcdiroption="--srcdir=../$(srcdir)/bzip2"; \
1961 libsrcdir="$$s/bzip2";; \
1962 esac; \
1963 $(SHELL) $${libsrcdir}/configure \
1964 $(HOST_CONFIGARGS) $${srcdiroption} \
1965 || exit 1
1967 .PHONY: all-bzip2 maybe-all-bzip2
1968 maybe-all-bzip2:
1969 all-bzip2: configure-bzip2
1970 @r=`${PWD}`; export r; \
1971 s=`cd $(srcdir); ${PWD}`; export s; \
1972 $(SET_LIB_PATH) \
1973 (cd bzip2; $(MAKE) $(FLAGS_TO_PASS) all)
1976 .PHONY: check-bzip2
1977 check-bzip2:
1978 @r=`${PWD}`; export r; \
1979 s=`cd $(srcdir); ${PWD}`; export s; \
1980 $(SET_LIB_PATH) \
1981 (cd bzip2; $(MAKE) $(FLAGS_TO_PASS) check)
1985 .PHONY: install-bzip2 maybe-install-bzip2
1986 maybe-install-bzip2:
1987 install-bzip2: installdirs
1988 @r=`${PWD}`; export r; \
1989 s=`cd $(srcdir); ${PWD}`; export s; \
1990 $(SET_LIB_PATH) \
1991 (cd bzip2; $(MAKE) $(FLAGS_TO_PASS) install)
1994 .PHONY: configure-db maybe-configure-db
1995 maybe-configure-db:
1996 configure-db: db/Makefile
1998 db/Makefile: config.status
1999 @[ -d db ] || mkdir db; \
2000 r=`${PWD}`; export r; \
2001 s=`cd $(srcdir); ${PWD}`; export s; \
2002 CC="$(CC)"; export CC; \
2003 CFLAGS="$(CFLAGS)"; export CFLAGS; \
2004 CXX="$(CXX)"; export CXX; \
2005 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
2006 if [ z$(build_canonical) != z$(host_canoncial) ] ; then \
2007 AR="$(AR)"; export AR; \
2008 AS="$(AS)"; export AS; \
2009 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
2010 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
2011 LD="$(LD)"; export LD; \
2012 NM="$(NM)"; export NM; \
2013 RANLIB="$(RANLIB)"; export RANLIB; \
2014 WINDRES="$(WINDRES)"; export WINDRES; \
2015 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
2016 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
2017 fi; \
2018 echo Configuring in db; \
2019 cd db || exit 1; \
2020 case $(srcdir) in \
2021 \.) \
2022 srcdiroption="--srcdir=."; \
2023 libsrcdir=".";; \
2024 /* | [A-Za-z]:[\\/]*) \
2025 srcdiroption="--srcdir=$(srcdir)/db"; \
2026 libsrcdir="$$s/db";; \
2027 *) \
2028 srcdiroption="--srcdir=../$(srcdir)/db"; \
2029 libsrcdir="$$s/db";; \
2030 esac; \
2031 $(SHELL) $${libsrcdir}/configure \
2032 $(HOST_CONFIGARGS) $${srcdiroption} \
2033 || exit 1
2035 .PHONY: all-db maybe-all-db
2036 maybe-all-db:
2037 all-db: configure-db
2038 @r=`${PWD}`; export r; \
2039 s=`cd $(srcdir); ${PWD}`; export s; \
2040 $(SET_LIB_PATH) \
2041 (cd db; $(MAKE) $(FLAGS_TO_PASS) all)
2044 .PHONY: check-db
2045 check-db:
2046 @r=`${PWD}`; export r; \
2047 s=`cd $(srcdir); ${PWD}`; export s; \
2048 $(SET_LIB_PATH) \
2049 (cd db; $(MAKE) $(FLAGS_TO_PASS) check)
2053 .PHONY: install-db maybe-install-db
2054 maybe-install-db:
2055 install-db: installdirs
2056 @r=`${PWD}`; export r; \
2057 s=`cd $(srcdir); ${PWD}`; export s; \
2058 $(SET_LIB_PATH) \
2059 (cd db; $(MAKE) $(FLAGS_TO_PASS) install)
2062 .PHONY: configure-dejagnu maybe-configure-dejagnu
2063 maybe-configure-dejagnu:
2064 configure-dejagnu: dejagnu/Makefile
2066 dejagnu/Makefile: config.status
2067 @[ -d dejagnu ] || mkdir dejagnu; \
2068 r=`${PWD}`; export r; \
2069 s=`cd $(srcdir); ${PWD}`; export s; \
2070 CC="$(CC)"; export CC; \
2071 CFLAGS="$(CFLAGS)"; export CFLAGS; \
2072 CXX="$(CXX)"; export CXX; \
2073 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
2074 if [ z$(build_canonical) != z$(host_canoncial) ] ; then \
2075 AR="$(AR)"; export AR; \
2076 AS="$(AS)"; export AS; \
2077 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
2078 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
2079 LD="$(LD)"; export LD; \
2080 NM="$(NM)"; export NM; \
2081 RANLIB="$(RANLIB)"; export RANLIB; \
2082 WINDRES="$(WINDRES)"; export WINDRES; \
2083 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
2084 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
2085 fi; \
2086 echo Configuring in dejagnu; \
2087 cd dejagnu || exit 1; \
2088 case $(srcdir) in \
2089 \.) \
2090 srcdiroption="--srcdir=."; \
2091 libsrcdir=".";; \
2092 /* | [A-Za-z]:[\\/]*) \
2093 srcdiroption="--srcdir=$(srcdir)/dejagnu"; \
2094 libsrcdir="$$s/dejagnu";; \
2095 *) \
2096 srcdiroption="--srcdir=../$(srcdir)/dejagnu"; \
2097 libsrcdir="$$s/dejagnu";; \
2098 esac; \
2099 $(SHELL) $${libsrcdir}/configure \
2100 $(HOST_CONFIGARGS) $${srcdiroption} \
2101 || exit 1
2103 .PHONY: all-dejagnu maybe-all-dejagnu
2104 maybe-all-dejagnu:
2105 all-dejagnu: configure-dejagnu
2106 @r=`${PWD}`; export r; \
2107 s=`cd $(srcdir); ${PWD}`; export s; \
2108 $(SET_LIB_PATH) \
2109 (cd dejagnu; $(MAKE) $(FLAGS_TO_PASS) all)
2112 .PHONY: check-dejagnu
2113 check-dejagnu:
2114 @r=`${PWD}`; export r; \
2115 s=`cd $(srcdir); ${PWD}`; export s; \
2116 $(SET_LIB_PATH) \
2117 (cd dejagnu; $(MAKE) $(FLAGS_TO_PASS) check)
2121 .PHONY: install-dejagnu maybe-install-dejagnu
2122 maybe-install-dejagnu:
2123 install-dejagnu: installdirs
2124 @r=`${PWD}`; export r; \
2125 s=`cd $(srcdir); ${PWD}`; export s; \
2126 $(SET_LIB_PATH) \
2127 (cd dejagnu; $(MAKE) $(FLAGS_TO_PASS) install)
2130 .PHONY: configure-diff maybe-configure-diff
2131 maybe-configure-diff:
2132 configure-diff: diff/Makefile
2134 diff/Makefile: config.status
2135 @[ -d diff ] || mkdir diff; \
2136 r=`${PWD}`; export r; \
2137 s=`cd $(srcdir); ${PWD}`; export s; \
2138 CC="$(CC)"; export CC; \
2139 CFLAGS="$(CFLAGS)"; export CFLAGS; \
2140 CXX="$(CXX)"; export CXX; \
2141 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
2142 if [ z$(build_canonical) != z$(host_canoncial) ] ; then \
2143 AR="$(AR)"; export AR; \
2144 AS="$(AS)"; export AS; \
2145 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
2146 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
2147 LD="$(LD)"; export LD; \
2148 NM="$(NM)"; export NM; \
2149 RANLIB="$(RANLIB)"; export RANLIB; \
2150 WINDRES="$(WINDRES)"; export WINDRES; \
2151 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
2152 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
2153 fi; \
2154 echo Configuring in diff; \
2155 cd diff || exit 1; \
2156 case $(srcdir) in \
2157 \.) \
2158 srcdiroption="--srcdir=."; \
2159 libsrcdir=".";; \
2160 /* | [A-Za-z]:[\\/]*) \
2161 srcdiroption="--srcdir=$(srcdir)/diff"; \
2162 libsrcdir="$$s/diff";; \
2163 *) \
2164 srcdiroption="--srcdir=../$(srcdir)/diff"; \
2165 libsrcdir="$$s/diff";; \
2166 esac; \
2167 $(SHELL) $${libsrcdir}/configure \
2168 $(HOST_CONFIGARGS) $${srcdiroption} \
2169 || exit 1
2171 .PHONY: all-diff maybe-all-diff
2172 maybe-all-diff:
2173 all-diff: configure-diff
2174 @r=`${PWD}`; export r; \
2175 s=`cd $(srcdir); ${PWD}`; export s; \
2176 $(SET_LIB_PATH) \
2177 (cd diff; $(MAKE) $(FLAGS_TO_PASS) all)
2180 .PHONY: check-diff
2181 check-diff:
2182 @r=`${PWD}`; export r; \
2183 s=`cd $(srcdir); ${PWD}`; export s; \
2184 $(SET_LIB_PATH) \
2185 (cd diff; $(MAKE) $(FLAGS_TO_PASS) check)
2189 .PHONY: install-diff maybe-install-diff
2190 maybe-install-diff:
2191 install-diff: installdirs
2192 @r=`${PWD}`; export r; \
2193 s=`cd $(srcdir); ${PWD}`; export s; \
2194 $(SET_LIB_PATH) \
2195 (cd diff; $(MAKE) $(FLAGS_TO_PASS) install)
2198 .PHONY: configure-dosutils maybe-configure-dosutils
2199 maybe-configure-dosutils:
2200 configure-dosutils: dosutils/Makefile
2202 dosutils/Makefile: config.status
2203 @[ -d dosutils ] || mkdir dosutils; \
2204 r=`${PWD}`; export r; \
2205 s=`cd $(srcdir); ${PWD}`; export s; \
2206 CC="$(CC)"; export CC; \
2207 CFLAGS="$(CFLAGS)"; export CFLAGS; \
2208 CXX="$(CXX)"; export CXX; \
2209 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
2210 if [ z$(build_canonical) != z$(host_canoncial) ] ; then \
2211 AR="$(AR)"; export AR; \
2212 AS="$(AS)"; export AS; \
2213 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
2214 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
2215 LD="$(LD)"; export LD; \
2216 NM="$(NM)"; export NM; \
2217 RANLIB="$(RANLIB)"; export RANLIB; \
2218 WINDRES="$(WINDRES)"; export WINDRES; \
2219 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
2220 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
2221 fi; \
2222 echo Configuring in dosutils; \
2223 cd dosutils || exit 1; \
2224 case $(srcdir) in \
2225 \.) \
2226 srcdiroption="--srcdir=."; \
2227 libsrcdir=".";; \
2228 /* | [A-Za-z]:[\\/]*) \
2229 srcdiroption="--srcdir=$(srcdir)/dosutils"; \
2230 libsrcdir="$$s/dosutils";; \
2231 *) \
2232 srcdiroption="--srcdir=../$(srcdir)/dosutils"; \
2233 libsrcdir="$$s/dosutils";; \
2234 esac; \
2235 $(SHELL) $${libsrcdir}/configure \
2236 $(HOST_CONFIGARGS) $${srcdiroption} \
2237 || exit 1
2239 .PHONY: all-dosutils maybe-all-dosutils
2240 maybe-all-dosutils:
2241 all-dosutils: configure-dosutils
2242 @r=`${PWD}`; export r; \
2243 s=`cd $(srcdir); ${PWD}`; export s; \
2244 $(SET_LIB_PATH) \
2245 (cd dosutils; $(MAKE) $(FLAGS_TO_PASS) all)
2248 .PHONY: check-dosutils
2249 check-dosutils:
2253 .PHONY: install-dosutils maybe-install-dosutils
2254 maybe-install-dosutils:
2255 install-dosutils: installdirs
2256 @r=`${PWD}`; export r; \
2257 s=`cd $(srcdir); ${PWD}`; export s; \
2258 $(SET_LIB_PATH) \
2259 (cd dosutils; $(MAKE) $(FLAGS_TO_PASS) install)
2262 .PHONY: configure-etc maybe-configure-etc
2263 maybe-configure-etc:
2264 configure-etc: etc/Makefile
2266 etc/Makefile: config.status
2267 @[ -d etc ] || mkdir etc; \
2268 r=`${PWD}`; export r; \
2269 s=`cd $(srcdir); ${PWD}`; export s; \
2270 CC="$(CC)"; export CC; \
2271 CFLAGS="$(CFLAGS)"; export CFLAGS; \
2272 CXX="$(CXX)"; export CXX; \
2273 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
2274 if [ z$(build_canonical) != z$(host_canoncial) ] ; then \
2275 AR="$(AR)"; export AR; \
2276 AS="$(AS)"; export AS; \
2277 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
2278 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
2279 LD="$(LD)"; export LD; \
2280 NM="$(NM)"; export NM; \
2281 RANLIB="$(RANLIB)"; export RANLIB; \
2282 WINDRES="$(WINDRES)"; export WINDRES; \
2283 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
2284 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
2285 fi; \
2286 echo Configuring in etc; \
2287 cd etc || exit 1; \
2288 case $(srcdir) in \
2289 \.) \
2290 srcdiroption="--srcdir=."; \
2291 libsrcdir=".";; \
2292 /* | [A-Za-z]:[\\/]*) \
2293 srcdiroption="--srcdir=$(srcdir)/etc"; \
2294 libsrcdir="$$s/etc";; \
2295 *) \
2296 srcdiroption="--srcdir=../$(srcdir)/etc"; \
2297 libsrcdir="$$s/etc";; \
2298 esac; \
2299 $(SHELL) $${libsrcdir}/configure \
2300 $(HOST_CONFIGARGS) $${srcdiroption} \
2301 || exit 1
2303 .PHONY: all-etc maybe-all-etc
2304 maybe-all-etc:
2305 all-etc: configure-etc
2306 @r=`${PWD}`; export r; \
2307 s=`cd $(srcdir); ${PWD}`; export s; \
2308 $(SET_LIB_PATH) \
2309 (cd etc; $(MAKE) $(FLAGS_TO_PASS) all)
2312 .PHONY: check-etc
2313 check-etc:
2314 @r=`${PWD}`; export r; \
2315 s=`cd $(srcdir); ${PWD}`; export s; \
2316 $(SET_LIB_PATH) \
2317 (cd etc; $(MAKE) $(FLAGS_TO_PASS) check)
2321 .PHONY: install-etc maybe-install-etc
2322 maybe-install-etc:
2323 install-etc: installdirs
2324 @r=`${PWD}`; export r; \
2325 s=`cd $(srcdir); ${PWD}`; export s; \
2326 $(SET_LIB_PATH) \
2327 (cd etc; $(MAKE) $(FLAGS_TO_PASS) install)
2330 .PHONY: configure-fastjar maybe-configure-fastjar
2331 maybe-configure-fastjar:
2332 configure-fastjar: fastjar/Makefile
2334 fastjar/Makefile: config.status
2335 @[ -d fastjar ] || mkdir fastjar; \
2336 r=`${PWD}`; export r; \
2337 s=`cd $(srcdir); ${PWD}`; export s; \
2338 CC="$(CC)"; export CC; \
2339 CFLAGS="$(CFLAGS)"; export CFLAGS; \
2340 CXX="$(CXX)"; export CXX; \
2341 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
2342 if [ z$(build_canonical) != z$(host_canoncial) ] ; then \
2343 AR="$(AR)"; export AR; \
2344 AS="$(AS)"; export AS; \
2345 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
2346 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
2347 LD="$(LD)"; export LD; \
2348 NM="$(NM)"; export NM; \
2349 RANLIB="$(RANLIB)"; export RANLIB; \
2350 WINDRES="$(WINDRES)"; export WINDRES; \
2351 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
2352 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
2353 fi; \
2354 echo Configuring in fastjar; \
2355 cd fastjar || exit 1; \
2356 case $(srcdir) in \
2357 \.) \
2358 srcdiroption="--srcdir=."; \
2359 libsrcdir=".";; \
2360 /* | [A-Za-z]:[\\/]*) \
2361 srcdiroption="--srcdir=$(srcdir)/fastjar"; \
2362 libsrcdir="$$s/fastjar";; \
2363 *) \
2364 srcdiroption="--srcdir=../$(srcdir)/fastjar"; \
2365 libsrcdir="$$s/fastjar";; \
2366 esac; \
2367 $(SHELL) $${libsrcdir}/configure \
2368 $(HOST_CONFIGARGS) $${srcdiroption} \
2369 || exit 1
2371 .PHONY: all-fastjar maybe-all-fastjar
2372 maybe-all-fastjar:
2373 all-fastjar: configure-fastjar
2374 @r=`${PWD}`; export r; \
2375 s=`cd $(srcdir); ${PWD}`; export s; \
2376 $(SET_LIB_PATH) \
2377 (cd fastjar; $(MAKE) $(FLAGS_TO_PASS) all)
2380 .PHONY: check-fastjar
2381 # This module is only tested in a native toolchain.
2382 check-fastjar:
2383 @if [ '$(host_canonical)' = '$(target_canonical)' ] ; then \
2384 r=`${PWD}`; export r; \
2385 s=`cd $(srcdir); ${PWD}`; export s; \
2386 $(SET_LIB_PATH) \
2387 (cd fastjar; $(MAKE) $(FLAGS_TO_PASS) check); \
2392 .PHONY: install-fastjar maybe-install-fastjar
2393 maybe-install-fastjar:
2394 install-fastjar: installdirs
2395 @r=`${PWD}`; export r; \
2396 s=`cd $(srcdir); ${PWD}`; export s; \
2397 $(SET_LIB_PATH) \
2398 (cd fastjar; $(MAKE) $(FLAGS_TO_PASS) install)
2401 .PHONY: configure-fileutils maybe-configure-fileutils
2402 maybe-configure-fileutils:
2403 configure-fileutils: fileutils/Makefile
2405 fileutils/Makefile: config.status
2406 @[ -d fileutils ] || mkdir fileutils; \
2407 r=`${PWD}`; export r; \
2408 s=`cd $(srcdir); ${PWD}`; export s; \
2409 CC="$(CC)"; export CC; \
2410 CFLAGS="$(CFLAGS)"; export CFLAGS; \
2411 CXX="$(CXX)"; export CXX; \
2412 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
2413 if [ z$(build_canonical) != z$(host_canoncial) ] ; then \
2414 AR="$(AR)"; export AR; \
2415 AS="$(AS)"; export AS; \
2416 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
2417 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
2418 LD="$(LD)"; export LD; \
2419 NM="$(NM)"; export NM; \
2420 RANLIB="$(RANLIB)"; export RANLIB; \
2421 WINDRES="$(WINDRES)"; export WINDRES; \
2422 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
2423 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
2424 fi; \
2425 echo Configuring in fileutils; \
2426 cd fileutils || exit 1; \
2427 case $(srcdir) in \
2428 \.) \
2429 srcdiroption="--srcdir=."; \
2430 libsrcdir=".";; \
2431 /* | [A-Za-z]:[\\/]*) \
2432 srcdiroption="--srcdir=$(srcdir)/fileutils"; \
2433 libsrcdir="$$s/fileutils";; \
2434 *) \
2435 srcdiroption="--srcdir=../$(srcdir)/fileutils"; \
2436 libsrcdir="$$s/fileutils";; \
2437 esac; \
2438 $(SHELL) $${libsrcdir}/configure \
2439 $(HOST_CONFIGARGS) $${srcdiroption} \
2440 || exit 1
2442 .PHONY: all-fileutils maybe-all-fileutils
2443 maybe-all-fileutils:
2444 all-fileutils: configure-fileutils
2445 @r=`${PWD}`; export r; \
2446 s=`cd $(srcdir); ${PWD}`; export s; \
2447 $(SET_LIB_PATH) \
2448 (cd fileutils; $(MAKE) $(FLAGS_TO_PASS) all)
2451 .PHONY: check-fileutils
2452 check-fileutils:
2453 @r=`${PWD}`; export r; \
2454 s=`cd $(srcdir); ${PWD}`; export s; \
2455 $(SET_LIB_PATH) \
2456 (cd fileutils; $(MAKE) $(FLAGS_TO_PASS) check)
2460 .PHONY: install-fileutils maybe-install-fileutils
2461 maybe-install-fileutils:
2462 install-fileutils: installdirs
2463 @r=`${PWD}`; export r; \
2464 s=`cd $(srcdir); ${PWD}`; export s; \
2465 $(SET_LIB_PATH) \
2466 (cd fileutils; $(MAKE) $(FLAGS_TO_PASS) install)
2469 .PHONY: configure-findutils maybe-configure-findutils
2470 maybe-configure-findutils:
2471 configure-findutils: findutils/Makefile
2473 findutils/Makefile: config.status
2474 @[ -d findutils ] || mkdir findutils; \
2475 r=`${PWD}`; export r; \
2476 s=`cd $(srcdir); ${PWD}`; export s; \
2477 CC="$(CC)"; export CC; \
2478 CFLAGS="$(CFLAGS)"; export CFLAGS; \
2479 CXX="$(CXX)"; export CXX; \
2480 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
2481 if [ z$(build_canonical) != z$(host_canoncial) ] ; then \
2482 AR="$(AR)"; export AR; \
2483 AS="$(AS)"; export AS; \
2484 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
2485 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
2486 LD="$(LD)"; export LD; \
2487 NM="$(NM)"; export NM; \
2488 RANLIB="$(RANLIB)"; export RANLIB; \
2489 WINDRES="$(WINDRES)"; export WINDRES; \
2490 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
2491 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
2492 fi; \
2493 echo Configuring in findutils; \
2494 cd findutils || exit 1; \
2495 case $(srcdir) in \
2496 \.) \
2497 srcdiroption="--srcdir=."; \
2498 libsrcdir=".";; \
2499 /* | [A-Za-z]:[\\/]*) \
2500 srcdiroption="--srcdir=$(srcdir)/findutils"; \
2501 libsrcdir="$$s/findutils";; \
2502 *) \
2503 srcdiroption="--srcdir=../$(srcdir)/findutils"; \
2504 libsrcdir="$$s/findutils";; \
2505 esac; \
2506 $(SHELL) $${libsrcdir}/configure \
2507 $(HOST_CONFIGARGS) $${srcdiroption} \
2508 || exit 1
2510 .PHONY: all-findutils maybe-all-findutils
2511 maybe-all-findutils:
2512 all-findutils: configure-findutils
2513 @r=`${PWD}`; export r; \
2514 s=`cd $(srcdir); ${PWD}`; export s; \
2515 $(SET_LIB_PATH) \
2516 (cd findutils; $(MAKE) $(FLAGS_TO_PASS) all)
2519 .PHONY: check-findutils
2520 check-findutils:
2521 @r=`${PWD}`; export r; \
2522 s=`cd $(srcdir); ${PWD}`; export s; \
2523 $(SET_LIB_PATH) \
2524 (cd findutils; $(MAKE) $(FLAGS_TO_PASS) check)
2528 .PHONY: install-findutils maybe-install-findutils
2529 maybe-install-findutils:
2530 install-findutils: installdirs
2531 @r=`${PWD}`; export r; \
2532 s=`cd $(srcdir); ${PWD}`; export s; \
2533 $(SET_LIB_PATH) \
2534 (cd findutils; $(MAKE) $(FLAGS_TO_PASS) install)
2537 .PHONY: configure-find maybe-configure-find
2538 maybe-configure-find:
2539 configure-find: find/Makefile
2541 find/Makefile: config.status
2542 @[ -d find ] || mkdir find; \
2543 r=`${PWD}`; export r; \
2544 s=`cd $(srcdir); ${PWD}`; export s; \
2545 CC="$(CC)"; export CC; \
2546 CFLAGS="$(CFLAGS)"; export CFLAGS; \
2547 CXX="$(CXX)"; export CXX; \
2548 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
2549 if [ z$(build_canonical) != z$(host_canoncial) ] ; then \
2550 AR="$(AR)"; export AR; \
2551 AS="$(AS)"; export AS; \
2552 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
2553 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
2554 LD="$(LD)"; export LD; \
2555 NM="$(NM)"; export NM; \
2556 RANLIB="$(RANLIB)"; export RANLIB; \
2557 WINDRES="$(WINDRES)"; export WINDRES; \
2558 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
2559 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
2560 fi; \
2561 echo Configuring in find; \
2562 cd find || exit 1; \
2563 case $(srcdir) in \
2564 \.) \
2565 srcdiroption="--srcdir=."; \
2566 libsrcdir=".";; \
2567 /* | [A-Za-z]:[\\/]*) \
2568 srcdiroption="--srcdir=$(srcdir)/find"; \
2569 libsrcdir="$$s/find";; \
2570 *) \
2571 srcdiroption="--srcdir=../$(srcdir)/find"; \
2572 libsrcdir="$$s/find";; \
2573 esac; \
2574 $(SHELL) $${libsrcdir}/configure \
2575 $(HOST_CONFIGARGS) $${srcdiroption} \
2576 || exit 1
2578 .PHONY: all-find maybe-all-find
2579 maybe-all-find:
2580 all-find: configure-find
2581 @r=`${PWD}`; export r; \
2582 s=`cd $(srcdir); ${PWD}`; export s; \
2583 $(SET_LIB_PATH) \
2584 (cd find; $(MAKE) $(FLAGS_TO_PASS) all)
2587 .PHONY: check-find
2588 check-find:
2589 @r=`${PWD}`; export r; \
2590 s=`cd $(srcdir); ${PWD}`; export s; \
2591 $(SET_LIB_PATH) \
2592 (cd find; $(MAKE) $(FLAGS_TO_PASS) check)
2596 .PHONY: install-find maybe-install-find
2597 maybe-install-find:
2598 install-find: installdirs
2599 @r=`${PWD}`; export r; \
2600 s=`cd $(srcdir); ${PWD}`; export s; \
2601 $(SET_LIB_PATH) \
2602 (cd find; $(MAKE) $(FLAGS_TO_PASS) install)
2605 .PHONY: configure-flex maybe-configure-flex
2606 maybe-configure-flex:
2607 configure-flex: flex/Makefile
2609 flex/Makefile: config.status
2610 @[ -d flex ] || mkdir flex; \
2611 r=`${PWD}`; export r; \
2612 s=`cd $(srcdir); ${PWD}`; export s; \
2613 CC="$(CC)"; export CC; \
2614 CFLAGS="$(CFLAGS)"; export CFLAGS; \
2615 CXX="$(CXX)"; export CXX; \
2616 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
2617 if [ z$(build_canonical) != z$(host_canoncial) ] ; then \
2618 AR="$(AR)"; export AR; \
2619 AS="$(AS)"; export AS; \
2620 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
2621 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
2622 LD="$(LD)"; export LD; \
2623 NM="$(NM)"; export NM; \
2624 RANLIB="$(RANLIB)"; export RANLIB; \
2625 WINDRES="$(WINDRES)"; export WINDRES; \
2626 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
2627 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
2628 fi; \
2629 echo Configuring in flex; \
2630 cd flex || exit 1; \
2631 case $(srcdir) in \
2632 \.) \
2633 srcdiroption="--srcdir=."; \
2634 libsrcdir=".";; \
2635 /* | [A-Za-z]:[\\/]*) \
2636 srcdiroption="--srcdir=$(srcdir)/flex"; \
2637 libsrcdir="$$s/flex";; \
2638 *) \
2639 srcdiroption="--srcdir=../$(srcdir)/flex"; \
2640 libsrcdir="$$s/flex";; \
2641 esac; \
2642 $(SHELL) $${libsrcdir}/configure \
2643 $(HOST_CONFIGARGS) $${srcdiroption} \
2644 || exit 1
2646 .PHONY: all-flex maybe-all-flex
2647 maybe-all-flex:
2648 all-flex: configure-flex
2649 @r=`${PWD}`; export r; \
2650 s=`cd $(srcdir); ${PWD}`; export s; \
2651 $(SET_LIB_PATH) \
2652 (cd flex; $(MAKE) $(FLAGS_TO_PASS) all)
2655 .PHONY: check-flex
2656 # This module is only tested in a native toolchain.
2657 check-flex:
2658 @if [ '$(host_canonical)' = '$(target_canonical)' ] ; then \
2659 r=`${PWD}`; export r; \
2660 s=`cd $(srcdir); ${PWD}`; export s; \
2661 $(SET_LIB_PATH) \
2662 (cd flex; $(MAKE) $(FLAGS_TO_PASS) check); \
2667 .PHONY: install-flex maybe-install-flex
2668 maybe-install-flex:
2669 install-flex: installdirs
2670 @r=`${PWD}`; export r; \
2671 s=`cd $(srcdir); ${PWD}`; export s; \
2672 $(SET_LIB_PATH) \
2673 (cd flex; $(MAKE) $(FLAGS_TO_PASS) install)
2676 .PHONY: configure-gas maybe-configure-gas
2677 maybe-configure-gas:
2678 configure-gas: gas/Makefile
2680 gas/Makefile: config.status
2681 @[ -d gas ] || mkdir gas; \
2682 r=`${PWD}`; export r; \
2683 s=`cd $(srcdir); ${PWD}`; export s; \
2684 CC="$(CC)"; export CC; \
2685 CFLAGS="$(CFLAGS)"; export CFLAGS; \
2686 CXX="$(CXX)"; export CXX; \
2687 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
2688 if [ z$(build_canonical) != z$(host_canoncial) ] ; then \
2689 AR="$(AR)"; export AR; \
2690 AS="$(AS)"; export AS; \
2691 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
2692 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
2693 LD="$(LD)"; export LD; \
2694 NM="$(NM)"; export NM; \
2695 RANLIB="$(RANLIB)"; export RANLIB; \
2696 WINDRES="$(WINDRES)"; export WINDRES; \
2697 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
2698 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
2699 fi; \
2700 echo Configuring in gas; \
2701 cd gas || exit 1; \
2702 case $(srcdir) in \
2703 \.) \
2704 srcdiroption="--srcdir=."; \
2705 libsrcdir=".";; \
2706 /* | [A-Za-z]:[\\/]*) \
2707 srcdiroption="--srcdir=$(srcdir)/gas"; \
2708 libsrcdir="$$s/gas";; \
2709 *) \
2710 srcdiroption="--srcdir=../$(srcdir)/gas"; \
2711 libsrcdir="$$s/gas";; \
2712 esac; \
2713 $(SHELL) $${libsrcdir}/configure \
2714 $(HOST_CONFIGARGS) $${srcdiroption} \
2715 || exit 1
2717 .PHONY: all-gas maybe-all-gas
2718 maybe-all-gas:
2719 all-gas: configure-gas
2720 @r=`${PWD}`; export r; \
2721 s=`cd $(srcdir); ${PWD}`; export s; \
2722 $(SET_LIB_PATH) \
2723 (cd gas; $(MAKE) $(FLAGS_TO_PASS) all)
2726 .PHONY: check-gas
2727 check-gas:
2728 @r=`${PWD}`; export r; \
2729 s=`cd $(srcdir); ${PWD}`; export s; \
2730 $(SET_LIB_PATH) \
2731 (cd gas; $(MAKE) $(FLAGS_TO_PASS) check)
2735 .PHONY: install-gas maybe-install-gas
2736 maybe-install-gas:
2737 install-gas: installdirs
2738 @r=`${PWD}`; export r; \
2739 s=`cd $(srcdir); ${PWD}`; export s; \
2740 $(SET_LIB_PATH) \
2741 (cd gas; $(MAKE) $(FLAGS_TO_PASS) install)
2744 .PHONY: configure-gawk maybe-configure-gawk
2745 maybe-configure-gawk:
2746 configure-gawk: gawk/Makefile
2748 gawk/Makefile: config.status
2749 @[ -d gawk ] || mkdir gawk; \
2750 r=`${PWD}`; export r; \
2751 s=`cd $(srcdir); ${PWD}`; export s; \
2752 CC="$(CC)"; export CC; \
2753 CFLAGS="$(CFLAGS)"; export CFLAGS; \
2754 CXX="$(CXX)"; export CXX; \
2755 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
2756 if [ z$(build_canonical) != z$(host_canoncial) ] ; then \
2757 AR="$(AR)"; export AR; \
2758 AS="$(AS)"; export AS; \
2759 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
2760 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
2761 LD="$(LD)"; export LD; \
2762 NM="$(NM)"; export NM; \
2763 RANLIB="$(RANLIB)"; export RANLIB; \
2764 WINDRES="$(WINDRES)"; export WINDRES; \
2765 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
2766 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
2767 fi; \
2768 echo Configuring in gawk; \
2769 cd gawk || exit 1; \
2770 case $(srcdir) in \
2771 \.) \
2772 srcdiroption="--srcdir=."; \
2773 libsrcdir=".";; \
2774 /* | [A-Za-z]:[\\/]*) \
2775 srcdiroption="--srcdir=$(srcdir)/gawk"; \
2776 libsrcdir="$$s/gawk";; \
2777 *) \
2778 srcdiroption="--srcdir=../$(srcdir)/gawk"; \
2779 libsrcdir="$$s/gawk";; \
2780 esac; \
2781 $(SHELL) $${libsrcdir}/configure \
2782 $(HOST_CONFIGARGS) $${srcdiroption} \
2783 || exit 1
2785 .PHONY: all-gawk maybe-all-gawk
2786 maybe-all-gawk:
2787 all-gawk: configure-gawk
2788 @r=`${PWD}`; export r; \
2789 s=`cd $(srcdir); ${PWD}`; export s; \
2790 $(SET_LIB_PATH) \
2791 (cd gawk; $(MAKE) $(FLAGS_TO_PASS) all)
2794 .PHONY: check-gawk
2795 check-gawk:
2796 @r=`${PWD}`; export r; \
2797 s=`cd $(srcdir); ${PWD}`; export s; \
2798 $(SET_LIB_PATH) \
2799 (cd gawk; $(MAKE) $(FLAGS_TO_PASS) check)
2803 .PHONY: install-gawk maybe-install-gawk
2804 maybe-install-gawk:
2805 install-gawk: installdirs
2806 @r=`${PWD}`; export r; \
2807 s=`cd $(srcdir); ${PWD}`; export s; \
2808 $(SET_LIB_PATH) \
2809 (cd gawk; $(MAKE) $(FLAGS_TO_PASS) install)
2812 .PHONY: configure-gettext maybe-configure-gettext
2813 maybe-configure-gettext:
2814 configure-gettext: gettext/Makefile
2816 gettext/Makefile: config.status
2817 @[ -d gettext ] || mkdir gettext; \
2818 r=`${PWD}`; export r; \
2819 s=`cd $(srcdir); ${PWD}`; export s; \
2820 CC="$(CC)"; export CC; \
2821 CFLAGS="$(CFLAGS)"; export CFLAGS; \
2822 CXX="$(CXX)"; export CXX; \
2823 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
2824 if [ z$(build_canonical) != z$(host_canoncial) ] ; then \
2825 AR="$(AR)"; export AR; \
2826 AS="$(AS)"; export AS; \
2827 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
2828 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
2829 LD="$(LD)"; export LD; \
2830 NM="$(NM)"; export NM; \
2831 RANLIB="$(RANLIB)"; export RANLIB; \
2832 WINDRES="$(WINDRES)"; export WINDRES; \
2833 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
2834 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
2835 fi; \
2836 echo Configuring in gettext; \
2837 cd gettext || exit 1; \
2838 case $(srcdir) in \
2839 \.) \
2840 srcdiroption="--srcdir=."; \
2841 libsrcdir=".";; \
2842 /* | [A-Za-z]:[\\/]*) \
2843 srcdiroption="--srcdir=$(srcdir)/gettext"; \
2844 libsrcdir="$$s/gettext";; \
2845 *) \
2846 srcdiroption="--srcdir=../$(srcdir)/gettext"; \
2847 libsrcdir="$$s/gettext";; \
2848 esac; \
2849 $(SHELL) $${libsrcdir}/configure \
2850 $(HOST_CONFIGARGS) $${srcdiroption} \
2851 || exit 1
2853 .PHONY: all-gettext maybe-all-gettext
2854 maybe-all-gettext:
2855 all-gettext: configure-gettext
2856 @r=`${PWD}`; export r; \
2857 s=`cd $(srcdir); ${PWD}`; export s; \
2858 $(SET_LIB_PATH) \
2859 (cd gettext; $(MAKE) $(FLAGS_TO_PASS) all)
2862 .PHONY: check-gettext
2863 check-gettext:
2864 @r=`${PWD}`; export r; \
2865 s=`cd $(srcdir); ${PWD}`; export s; \
2866 $(SET_LIB_PATH) \
2867 (cd gettext; $(MAKE) $(FLAGS_TO_PASS) check)
2871 .PHONY: install-gettext maybe-install-gettext
2872 maybe-install-gettext:
2873 install-gettext: installdirs
2874 @r=`${PWD}`; export r; \
2875 s=`cd $(srcdir); ${PWD}`; export s; \
2876 $(SET_LIB_PATH) \
2877 (cd gettext; $(MAKE) $(FLAGS_TO_PASS) install)
2880 .PHONY: configure-gnuserv maybe-configure-gnuserv
2881 maybe-configure-gnuserv:
2882 configure-gnuserv: gnuserv/Makefile
2884 gnuserv/Makefile: config.status
2885 @[ -d gnuserv ] || mkdir gnuserv; \
2886 r=`${PWD}`; export r; \
2887 s=`cd $(srcdir); ${PWD}`; export s; \
2888 CC="$(CC)"; export CC; \
2889 CFLAGS="$(CFLAGS)"; export CFLAGS; \
2890 CXX="$(CXX)"; export CXX; \
2891 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
2892 if [ z$(build_canonical) != z$(host_canoncial) ] ; then \
2893 AR="$(AR)"; export AR; \
2894 AS="$(AS)"; export AS; \
2895 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
2896 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
2897 LD="$(LD)"; export LD; \
2898 NM="$(NM)"; export NM; \
2899 RANLIB="$(RANLIB)"; export RANLIB; \
2900 WINDRES="$(WINDRES)"; export WINDRES; \
2901 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
2902 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
2903 fi; \
2904 echo Configuring in gnuserv; \
2905 cd gnuserv || exit 1; \
2906 case $(srcdir) in \
2907 \.) \
2908 srcdiroption="--srcdir=."; \
2909 libsrcdir=".";; \
2910 /* | [A-Za-z]:[\\/]*) \
2911 srcdiroption="--srcdir=$(srcdir)/gnuserv"; \
2912 libsrcdir="$$s/gnuserv";; \
2913 *) \
2914 srcdiroption="--srcdir=../$(srcdir)/gnuserv"; \
2915 libsrcdir="$$s/gnuserv";; \
2916 esac; \
2917 $(SHELL) $${libsrcdir}/configure \
2918 $(HOST_CONFIGARGS) $${srcdiroption} \
2919 || exit 1
2921 .PHONY: all-gnuserv maybe-all-gnuserv
2922 maybe-all-gnuserv:
2923 all-gnuserv: configure-gnuserv
2924 @r=`${PWD}`; export r; \
2925 s=`cd $(srcdir); ${PWD}`; export s; \
2926 $(SET_LIB_PATH) \
2927 (cd gnuserv; $(MAKE) $(FLAGS_TO_PASS) all)
2930 .PHONY: check-gnuserv
2931 check-gnuserv:
2932 @r=`${PWD}`; export r; \
2933 s=`cd $(srcdir); ${PWD}`; export s; \
2934 $(SET_LIB_PATH) \
2935 (cd gnuserv; $(MAKE) $(FLAGS_TO_PASS) check)
2939 .PHONY: install-gnuserv maybe-install-gnuserv
2940 maybe-install-gnuserv:
2941 install-gnuserv: installdirs
2942 @r=`${PWD}`; export r; \
2943 s=`cd $(srcdir); ${PWD}`; export s; \
2944 $(SET_LIB_PATH) \
2945 (cd gnuserv; $(MAKE) $(FLAGS_TO_PASS) install)
2948 .PHONY: configure-gprof maybe-configure-gprof
2949 maybe-configure-gprof:
2950 configure-gprof: gprof/Makefile
2952 gprof/Makefile: config.status
2953 @[ -d gprof ] || mkdir gprof; \
2954 r=`${PWD}`; export r; \
2955 s=`cd $(srcdir); ${PWD}`; export s; \
2956 CC="$(CC)"; export CC; \
2957 CFLAGS="$(CFLAGS)"; export CFLAGS; \
2958 CXX="$(CXX)"; export CXX; \
2959 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
2960 if [ z$(build_canonical) != z$(host_canoncial) ] ; then \
2961 AR="$(AR)"; export AR; \
2962 AS="$(AS)"; export AS; \
2963 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
2964 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
2965 LD="$(LD)"; export LD; \
2966 NM="$(NM)"; export NM; \
2967 RANLIB="$(RANLIB)"; export RANLIB; \
2968 WINDRES="$(WINDRES)"; export WINDRES; \
2969 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
2970 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
2971 fi; \
2972 echo Configuring in gprof; \
2973 cd gprof || exit 1; \
2974 case $(srcdir) in \
2975 \.) \
2976 srcdiroption="--srcdir=."; \
2977 libsrcdir=".";; \
2978 /* | [A-Za-z]:[\\/]*) \
2979 srcdiroption="--srcdir=$(srcdir)/gprof"; \
2980 libsrcdir="$$s/gprof";; \
2981 *) \
2982 srcdiroption="--srcdir=../$(srcdir)/gprof"; \
2983 libsrcdir="$$s/gprof";; \
2984 esac; \
2985 $(SHELL) $${libsrcdir}/configure \
2986 $(HOST_CONFIGARGS) $${srcdiroption} \
2987 || exit 1
2989 .PHONY: all-gprof maybe-all-gprof
2990 maybe-all-gprof:
2991 all-gprof: configure-gprof
2992 @r=`${PWD}`; export r; \
2993 s=`cd $(srcdir); ${PWD}`; export s; \
2994 $(SET_LIB_PATH) \
2995 (cd gprof; $(MAKE) $(FLAGS_TO_PASS) all)
2998 .PHONY: check-gprof
2999 check-gprof:
3000 @r=`${PWD}`; export r; \
3001 s=`cd $(srcdir); ${PWD}`; export s; \
3002 $(SET_LIB_PATH) \
3003 (cd gprof; $(MAKE) $(FLAGS_TO_PASS) check)
3007 .PHONY: install-gprof maybe-install-gprof
3008 maybe-install-gprof:
3009 install-gprof: installdirs
3010 @r=`${PWD}`; export r; \
3011 s=`cd $(srcdir); ${PWD}`; export s; \
3012 $(SET_LIB_PATH) \
3013 (cd gprof; $(MAKE) $(FLAGS_TO_PASS) install)
3016 .PHONY: configure-grep maybe-configure-grep
3017 maybe-configure-grep:
3018 configure-grep: grep/Makefile
3020 grep/Makefile: config.status
3021 @[ -d grep ] || mkdir grep; \
3022 r=`${PWD}`; export r; \
3023 s=`cd $(srcdir); ${PWD}`; export s; \
3024 CC="$(CC)"; export CC; \
3025 CFLAGS="$(CFLAGS)"; export CFLAGS; \
3026 CXX="$(CXX)"; export CXX; \
3027 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
3028 if [ z$(build_canonical) != z$(host_canoncial) ] ; then \
3029 AR="$(AR)"; export AR; \
3030 AS="$(AS)"; export AS; \
3031 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
3032 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
3033 LD="$(LD)"; export LD; \
3034 NM="$(NM)"; export NM; \
3035 RANLIB="$(RANLIB)"; export RANLIB; \
3036 WINDRES="$(WINDRES)"; export WINDRES; \
3037 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
3038 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
3039 fi; \
3040 echo Configuring in grep; \
3041 cd grep || exit 1; \
3042 case $(srcdir) in \
3043 \.) \
3044 srcdiroption="--srcdir=."; \
3045 libsrcdir=".";; \
3046 /* | [A-Za-z]:[\\/]*) \
3047 srcdiroption="--srcdir=$(srcdir)/grep"; \
3048 libsrcdir="$$s/grep";; \
3049 *) \
3050 srcdiroption="--srcdir=../$(srcdir)/grep"; \
3051 libsrcdir="$$s/grep";; \
3052 esac; \
3053 $(SHELL) $${libsrcdir}/configure \
3054 $(HOST_CONFIGARGS) $${srcdiroption} \
3055 || exit 1
3057 .PHONY: all-grep maybe-all-grep
3058 maybe-all-grep:
3059 all-grep: configure-grep
3060 @r=`${PWD}`; export r; \
3061 s=`cd $(srcdir); ${PWD}`; export s; \
3062 $(SET_LIB_PATH) \
3063 (cd grep; $(MAKE) $(FLAGS_TO_PASS) all)
3066 .PHONY: check-grep
3067 check-grep:
3068 @r=`${PWD}`; export r; \
3069 s=`cd $(srcdir); ${PWD}`; export s; \
3070 $(SET_LIB_PATH) \
3071 (cd grep; $(MAKE) $(FLAGS_TO_PASS) check)
3075 .PHONY: install-grep maybe-install-grep
3076 maybe-install-grep:
3077 install-grep: installdirs
3078 @r=`${PWD}`; export r; \
3079 s=`cd $(srcdir); ${PWD}`; export s; \
3080 $(SET_LIB_PATH) \
3081 (cd grep; $(MAKE) $(FLAGS_TO_PASS) install)
3084 .PHONY: configure-gzip maybe-configure-gzip
3085 maybe-configure-gzip:
3086 configure-gzip: gzip/Makefile
3088 gzip/Makefile: config.status
3089 @[ -d gzip ] || mkdir gzip; \
3090 r=`${PWD}`; export r; \
3091 s=`cd $(srcdir); ${PWD}`; export s; \
3092 CC="$(CC)"; export CC; \
3093 CFLAGS="$(CFLAGS)"; export CFLAGS; \
3094 CXX="$(CXX)"; export CXX; \
3095 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
3096 if [ z$(build_canonical) != z$(host_canoncial) ] ; then \
3097 AR="$(AR)"; export AR; \
3098 AS="$(AS)"; export AS; \
3099 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
3100 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
3101 LD="$(LD)"; export LD; \
3102 NM="$(NM)"; export NM; \
3103 RANLIB="$(RANLIB)"; export RANLIB; \
3104 WINDRES="$(WINDRES)"; export WINDRES; \
3105 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
3106 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
3107 fi; \
3108 echo Configuring in gzip; \
3109 cd gzip || exit 1; \
3110 case $(srcdir) in \
3111 \.) \
3112 srcdiroption="--srcdir=."; \
3113 libsrcdir=".";; \
3114 /* | [A-Za-z]:[\\/]*) \
3115 srcdiroption="--srcdir=$(srcdir)/gzip"; \
3116 libsrcdir="$$s/gzip";; \
3117 *) \
3118 srcdiroption="--srcdir=../$(srcdir)/gzip"; \
3119 libsrcdir="$$s/gzip";; \
3120 esac; \
3121 $(SHELL) $${libsrcdir}/configure \
3122 $(HOST_CONFIGARGS) $${srcdiroption} \
3123 || exit 1
3125 .PHONY: all-gzip maybe-all-gzip
3126 maybe-all-gzip:
3127 all-gzip: configure-gzip
3128 @r=`${PWD}`; export r; \
3129 s=`cd $(srcdir); ${PWD}`; export s; \
3130 $(SET_LIB_PATH) \
3131 (cd gzip; $(MAKE) $(FLAGS_TO_PASS) all)
3134 .PHONY: check-gzip
3135 check-gzip:
3136 @r=`${PWD}`; export r; \
3137 s=`cd $(srcdir); ${PWD}`; export s; \
3138 $(SET_LIB_PATH) \
3139 (cd gzip; $(MAKE) $(FLAGS_TO_PASS) check)
3143 .PHONY: install-gzip maybe-install-gzip
3144 maybe-install-gzip:
3145 install-gzip: installdirs
3146 @r=`${PWD}`; export r; \
3147 s=`cd $(srcdir); ${PWD}`; export s; \
3148 $(SET_LIB_PATH) \
3149 (cd gzip; $(MAKE) $(FLAGS_TO_PASS) install)
3152 .PHONY: configure-hello maybe-configure-hello
3153 maybe-configure-hello:
3154 configure-hello: hello/Makefile
3156 hello/Makefile: config.status
3157 @[ -d hello ] || mkdir hello; \
3158 r=`${PWD}`; export r; \
3159 s=`cd $(srcdir); ${PWD}`; export s; \
3160 CC="$(CC)"; export CC; \
3161 CFLAGS="$(CFLAGS)"; export CFLAGS; \
3162 CXX="$(CXX)"; export CXX; \
3163 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
3164 if [ z$(build_canonical) != z$(host_canoncial) ] ; then \
3165 AR="$(AR)"; export AR; \
3166 AS="$(AS)"; export AS; \
3167 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
3168 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
3169 LD="$(LD)"; export LD; \
3170 NM="$(NM)"; export NM; \
3171 RANLIB="$(RANLIB)"; export RANLIB; \
3172 WINDRES="$(WINDRES)"; export WINDRES; \
3173 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
3174 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
3175 fi; \
3176 echo Configuring in hello; \
3177 cd hello || exit 1; \
3178 case $(srcdir) in \
3179 \.) \
3180 srcdiroption="--srcdir=."; \
3181 libsrcdir=".";; \
3182 /* | [A-Za-z]:[\\/]*) \
3183 srcdiroption="--srcdir=$(srcdir)/hello"; \
3184 libsrcdir="$$s/hello";; \
3185 *) \
3186 srcdiroption="--srcdir=../$(srcdir)/hello"; \
3187 libsrcdir="$$s/hello";; \
3188 esac; \
3189 $(SHELL) $${libsrcdir}/configure \
3190 $(HOST_CONFIGARGS) $${srcdiroption} \
3191 || exit 1
3193 .PHONY: all-hello maybe-all-hello
3194 maybe-all-hello:
3195 all-hello: configure-hello
3196 @r=`${PWD}`; export r; \
3197 s=`cd $(srcdir); ${PWD}`; export s; \
3198 $(SET_LIB_PATH) \
3199 (cd hello; $(MAKE) $(FLAGS_TO_PASS) all)
3202 .PHONY: check-hello
3203 check-hello:
3204 @r=`${PWD}`; export r; \
3205 s=`cd $(srcdir); ${PWD}`; export s; \
3206 $(SET_LIB_PATH) \
3207 (cd hello; $(MAKE) $(FLAGS_TO_PASS) check)
3211 .PHONY: install-hello maybe-install-hello
3212 maybe-install-hello:
3213 install-hello: installdirs
3214 @r=`${PWD}`; export r; \
3215 s=`cd $(srcdir); ${PWD}`; export s; \
3216 $(SET_LIB_PATH) \
3217 (cd hello; $(MAKE) $(FLAGS_TO_PASS) install)
3220 .PHONY: configure-indent maybe-configure-indent
3221 maybe-configure-indent:
3222 configure-indent: indent/Makefile
3224 indent/Makefile: config.status
3225 @[ -d indent ] || mkdir indent; \
3226 r=`${PWD}`; export r; \
3227 s=`cd $(srcdir); ${PWD}`; export s; \
3228 CC="$(CC)"; export CC; \
3229 CFLAGS="$(CFLAGS)"; export CFLAGS; \
3230 CXX="$(CXX)"; export CXX; \
3231 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
3232 if [ z$(build_canonical) != z$(host_canoncial) ] ; then \
3233 AR="$(AR)"; export AR; \
3234 AS="$(AS)"; export AS; \
3235 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
3236 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
3237 LD="$(LD)"; export LD; \
3238 NM="$(NM)"; export NM; \
3239 RANLIB="$(RANLIB)"; export RANLIB; \
3240 WINDRES="$(WINDRES)"; export WINDRES; \
3241 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
3242 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
3243 fi; \
3244 echo Configuring in indent; \
3245 cd indent || exit 1; \
3246 case $(srcdir) in \
3247 \.) \
3248 srcdiroption="--srcdir=."; \
3249 libsrcdir=".";; \
3250 /* | [A-Za-z]:[\\/]*) \
3251 srcdiroption="--srcdir=$(srcdir)/indent"; \
3252 libsrcdir="$$s/indent";; \
3253 *) \
3254 srcdiroption="--srcdir=../$(srcdir)/indent"; \
3255 libsrcdir="$$s/indent";; \
3256 esac; \
3257 $(SHELL) $${libsrcdir}/configure \
3258 $(HOST_CONFIGARGS) $${srcdiroption} \
3259 || exit 1
3261 .PHONY: all-indent maybe-all-indent
3262 maybe-all-indent:
3263 all-indent: configure-indent
3264 @r=`${PWD}`; export r; \
3265 s=`cd $(srcdir); ${PWD}`; export s; \
3266 $(SET_LIB_PATH) \
3267 (cd indent; $(MAKE) $(FLAGS_TO_PASS) all)
3270 .PHONY: check-indent
3271 check-indent:
3272 @r=`${PWD}`; export r; \
3273 s=`cd $(srcdir); ${PWD}`; export s; \
3274 $(SET_LIB_PATH) \
3275 (cd indent; $(MAKE) $(FLAGS_TO_PASS) check)
3279 .PHONY: install-indent maybe-install-indent
3280 maybe-install-indent:
3281 install-indent: installdirs
3282 @r=`${PWD}`; export r; \
3283 s=`cd $(srcdir); ${PWD}`; export s; \
3284 $(SET_LIB_PATH) \
3285 (cd indent; $(MAKE) $(FLAGS_TO_PASS) install)
3288 .PHONY: configure-intl maybe-configure-intl
3289 maybe-configure-intl:
3290 configure-intl: intl/Makefile
3292 intl/Makefile: config.status
3293 @[ -d intl ] || mkdir intl; \
3294 r=`${PWD}`; export r; \
3295 s=`cd $(srcdir); ${PWD}`; export s; \
3296 CC="$(CC)"; export CC; \
3297 CFLAGS="$(CFLAGS)"; export CFLAGS; \
3298 CXX="$(CXX)"; export CXX; \
3299 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
3300 if [ z$(build_canonical) != z$(host_canoncial) ] ; then \
3301 AR="$(AR)"; export AR; \
3302 AS="$(AS)"; export AS; \
3303 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
3304 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
3305 LD="$(LD)"; export LD; \
3306 NM="$(NM)"; export NM; \
3307 RANLIB="$(RANLIB)"; export RANLIB; \
3308 WINDRES="$(WINDRES)"; export WINDRES; \
3309 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
3310 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
3311 fi; \
3312 echo Configuring in intl; \
3313 cd intl || exit 1; \
3314 case $(srcdir) in \
3315 \.) \
3316 srcdiroption="--srcdir=."; \
3317 libsrcdir=".";; \
3318 /* | [A-Za-z]:[\\/]*) \
3319 srcdiroption="--srcdir=$(srcdir)/intl"; \
3320 libsrcdir="$$s/intl";; \
3321 *) \
3322 srcdiroption="--srcdir=../$(srcdir)/intl"; \
3323 libsrcdir="$$s/intl";; \
3324 esac; \
3325 $(SHELL) $${libsrcdir}/configure \
3326 $(HOST_CONFIGARGS) $${srcdiroption} \
3327 || exit 1
3329 .PHONY: all-intl maybe-all-intl
3330 maybe-all-intl:
3331 all-intl: configure-intl
3332 @r=`${PWD}`; export r; \
3333 s=`cd $(srcdir); ${PWD}`; export s; \
3334 $(SET_LIB_PATH) \
3335 (cd intl; $(MAKE) $(FLAGS_TO_PASS) all)
3338 .PHONY: check-intl
3339 check-intl:
3340 @r=`${PWD}`; export r; \
3341 s=`cd $(srcdir); ${PWD}`; export s; \
3342 $(SET_LIB_PATH) \
3343 (cd intl; $(MAKE) $(FLAGS_TO_PASS) check)
3347 .PHONY: install-intl maybe-install-intl
3348 maybe-install-intl:
3349 install-intl: installdirs
3350 @r=`${PWD}`; export r; \
3351 s=`cd $(srcdir); ${PWD}`; export s; \
3352 $(SET_LIB_PATH) \
3353 (cd intl; $(MAKE) $(FLAGS_TO_PASS) install)
3356 .PHONY: configure-tcl maybe-configure-tcl
3357 maybe-configure-tcl:
3358 configure-tcl: tcl/Makefile
3360 tcl/Makefile: config.status
3361 @[ -d tcl ] || mkdir tcl; \
3362 r=`${PWD}`; export r; \
3363 s=`cd $(srcdir); ${PWD}`; export s; \
3364 CC="$(CC)"; export CC; \
3365 CFLAGS="$(CFLAGS)"; export CFLAGS; \
3366 CXX="$(CXX)"; export CXX; \
3367 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
3368 if [ z$(build_canonical) != z$(host_canoncial) ] ; then \
3369 AR="$(AR)"; export AR; \
3370 AS="$(AS)"; export AS; \
3371 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
3372 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
3373 LD="$(LD)"; export LD; \
3374 NM="$(NM)"; export NM; \
3375 RANLIB="$(RANLIB)"; export RANLIB; \
3376 WINDRES="$(WINDRES)"; export WINDRES; \
3377 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
3378 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
3379 fi; \
3380 echo Configuring in tcl; \
3381 cd tcl || exit 1; \
3382 case $(srcdir) in \
3383 \.) \
3384 srcdiroption="--srcdir=."; \
3385 libsrcdir=".";; \
3386 /* | [A-Za-z]:[\\/]*) \
3387 srcdiroption="--srcdir=$(srcdir)/tcl"; \
3388 libsrcdir="$$s/tcl";; \
3389 *) \
3390 srcdiroption="--srcdir=../$(srcdir)/tcl"; \
3391 libsrcdir="$$s/tcl";; \
3392 esac; \
3393 $(SHELL) $${libsrcdir}/configure \
3394 $(HOST_CONFIGARGS) $${srcdiroption} \
3395 || exit 1
3397 .PHONY: all-tcl maybe-all-tcl
3398 maybe-all-tcl:
3399 all-tcl: configure-tcl
3400 @r=`${PWD}`; export r; \
3401 s=`cd $(srcdir); ${PWD}`; export s; \
3402 $(SET_LIB_PATH) \
3403 (cd tcl; $(MAKE) $(FLAGS_TO_PASS) all)
3406 .PHONY: check-tcl
3407 check-tcl:
3408 @r=`${PWD}`; export r; \
3409 s=`cd $(srcdir); ${PWD}`; export s; \
3410 $(SET_LIB_PATH) \
3411 (cd tcl; $(MAKE) $(FLAGS_TO_PASS) check)
3415 .PHONY: install-tcl maybe-install-tcl
3416 maybe-install-tcl:
3417 install-tcl: installdirs
3418 @r=`${PWD}`; export r; \
3419 s=`cd $(srcdir); ${PWD}`; export s; \
3420 $(SET_LIB_PATH) \
3421 (cd tcl; $(MAKE) $(FLAGS_TO_PASS) install)
3424 .PHONY: configure-itcl maybe-configure-itcl
3425 maybe-configure-itcl:
3426 configure-itcl: itcl/Makefile
3428 itcl/Makefile: config.status
3429 @[ -d itcl ] || mkdir itcl; \
3430 r=`${PWD}`; export r; \
3431 s=`cd $(srcdir); ${PWD}`; export s; \
3432 CC="$(CC)"; export CC; \
3433 CFLAGS="$(CFLAGS)"; export CFLAGS; \
3434 CXX="$(CXX)"; export CXX; \
3435 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
3436 if [ z$(build_canonical) != z$(host_canoncial) ] ; then \
3437 AR="$(AR)"; export AR; \
3438 AS="$(AS)"; export AS; \
3439 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
3440 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
3441 LD="$(LD)"; export LD; \
3442 NM="$(NM)"; export NM; \
3443 RANLIB="$(RANLIB)"; export RANLIB; \
3444 WINDRES="$(WINDRES)"; export WINDRES; \
3445 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
3446 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
3447 fi; \
3448 echo Configuring in itcl; \
3449 cd itcl || exit 1; \
3450 case $(srcdir) in \
3451 \.) \
3452 srcdiroption="--srcdir=."; \
3453 libsrcdir=".";; \
3454 /* | [A-Za-z]:[\\/]*) \
3455 srcdiroption="--srcdir=$(srcdir)/itcl"; \
3456 libsrcdir="$$s/itcl";; \
3457 *) \
3458 srcdiroption="--srcdir=../$(srcdir)/itcl"; \
3459 libsrcdir="$$s/itcl";; \
3460 esac; \
3461 $(SHELL) $${libsrcdir}/configure \
3462 $(HOST_CONFIGARGS) $${srcdiroption} \
3463 || exit 1
3465 .PHONY: all-itcl maybe-all-itcl
3466 maybe-all-itcl:
3467 all-itcl: configure-itcl
3468 @r=`${PWD}`; export r; \
3469 s=`cd $(srcdir); ${PWD}`; export s; \
3470 $(SET_LIB_PATH) \
3471 (cd itcl; $(MAKE) $(FLAGS_TO_PASS) all)
3474 .PHONY: check-itcl
3475 check-itcl:
3476 @r=`${PWD}`; export r; \
3477 s=`cd $(srcdir); ${PWD}`; export s; \
3478 $(SET_LIB_PATH) \
3479 (cd itcl; $(MAKE) $(FLAGS_TO_PASS) check)
3483 .PHONY: install-itcl maybe-install-itcl
3484 maybe-install-itcl:
3485 install-itcl: installdirs
3486 @r=`${PWD}`; export r; \
3487 s=`cd $(srcdir); ${PWD}`; export s; \
3488 $(SET_LIB_PATH) \
3489 (cd itcl; $(MAKE) $(FLAGS_TO_PASS) install)
3492 .PHONY: configure-ld maybe-configure-ld
3493 maybe-configure-ld:
3494 configure-ld: ld/Makefile
3496 ld/Makefile: config.status
3497 @[ -d ld ] || mkdir ld; \
3498 r=`${PWD}`; export r; \
3499 s=`cd $(srcdir); ${PWD}`; export s; \
3500 CC="$(CC)"; export CC; \
3501 CFLAGS="$(CFLAGS)"; export CFLAGS; \
3502 CXX="$(CXX)"; export CXX; \
3503 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
3504 if [ z$(build_canonical) != z$(host_canoncial) ] ; then \
3505 AR="$(AR)"; export AR; \
3506 AS="$(AS)"; export AS; \
3507 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
3508 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
3509 LD="$(LD)"; export LD; \
3510 NM="$(NM)"; export NM; \
3511 RANLIB="$(RANLIB)"; export RANLIB; \
3512 WINDRES="$(WINDRES)"; export WINDRES; \
3513 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
3514 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
3515 fi; \
3516 echo Configuring in ld; \
3517 cd ld || exit 1; \
3518 case $(srcdir) in \
3519 \.) \
3520 srcdiroption="--srcdir=."; \
3521 libsrcdir=".";; \
3522 /* | [A-Za-z]:[\\/]*) \
3523 srcdiroption="--srcdir=$(srcdir)/ld"; \
3524 libsrcdir="$$s/ld";; \
3525 *) \
3526 srcdiroption="--srcdir=../$(srcdir)/ld"; \
3527 libsrcdir="$$s/ld";; \
3528 esac; \
3529 $(SHELL) $${libsrcdir}/configure \
3530 $(HOST_CONFIGARGS) $${srcdiroption} \
3531 || exit 1
3533 .PHONY: all-ld maybe-all-ld
3534 maybe-all-ld:
3535 all-ld: configure-ld
3536 @r=`${PWD}`; export r; \
3537 s=`cd $(srcdir); ${PWD}`; export s; \
3538 $(SET_LIB_PATH) \
3539 (cd ld; $(MAKE) $(FLAGS_TO_PASS) all)
3542 .PHONY: check-ld
3543 check-ld:
3544 @r=`${PWD}`; export r; \
3545 s=`cd $(srcdir); ${PWD}`; export s; \
3546 $(SET_LIB_PATH) \
3547 (cd ld; $(MAKE) $(FLAGS_TO_PASS) check)
3551 .PHONY: install-ld maybe-install-ld
3552 maybe-install-ld:
3553 install-ld: installdirs
3554 @r=`${PWD}`; export r; \
3555 s=`cd $(srcdir); ${PWD}`; export s; \
3556 $(SET_LIB_PATH) \
3557 (cd ld; $(MAKE) $(FLAGS_TO_PASS) install)
3560 .PHONY: configure-libgui maybe-configure-libgui
3561 maybe-configure-libgui:
3562 configure-libgui: libgui/Makefile
3564 libgui/Makefile: config.status
3565 @[ -d libgui ] || mkdir libgui; \
3566 r=`${PWD}`; export r; \
3567 s=`cd $(srcdir); ${PWD}`; export s; \
3568 CC="$(CC)"; export CC; \
3569 CFLAGS="$(CFLAGS)"; export CFLAGS; \
3570 CXX="$(CXX)"; export CXX; \
3571 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
3572 if [ z$(build_canonical) != z$(host_canoncial) ] ; then \
3573 AR="$(AR)"; export AR; \
3574 AS="$(AS)"; export AS; \
3575 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
3576 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
3577 LD="$(LD)"; export LD; \
3578 NM="$(NM)"; export NM; \
3579 RANLIB="$(RANLIB)"; export RANLIB; \
3580 WINDRES="$(WINDRES)"; export WINDRES; \
3581 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
3582 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
3583 fi; \
3584 echo Configuring in libgui; \
3585 cd libgui || exit 1; \
3586 case $(srcdir) in \
3587 \.) \
3588 srcdiroption="--srcdir=."; \
3589 libsrcdir=".";; \
3590 /* | [A-Za-z]:[\\/]*) \
3591 srcdiroption="--srcdir=$(srcdir)/libgui"; \
3592 libsrcdir="$$s/libgui";; \
3593 *) \
3594 srcdiroption="--srcdir=../$(srcdir)/libgui"; \
3595 libsrcdir="$$s/libgui";; \
3596 esac; \
3597 $(SHELL) $${libsrcdir}/configure \
3598 $(HOST_CONFIGARGS) $${srcdiroption} \
3599 || exit 1
3601 .PHONY: all-libgui maybe-all-libgui
3602 maybe-all-libgui:
3603 all-libgui: configure-libgui
3604 @r=`${PWD}`; export r; \
3605 s=`cd $(srcdir); ${PWD}`; export s; \
3606 $(SET_LIB_PATH) \
3607 (cd libgui; $(MAKE) $(FLAGS_TO_PASS) all)
3610 .PHONY: check-libgui
3611 check-libgui:
3612 @r=`${PWD}`; export r; \
3613 s=`cd $(srcdir); ${PWD}`; export s; \
3614 $(SET_LIB_PATH) \
3615 (cd libgui; $(MAKE) $(FLAGS_TO_PASS) check)
3619 .PHONY: install-libgui maybe-install-libgui
3620 maybe-install-libgui:
3621 install-libgui: installdirs
3622 @r=`${PWD}`; export r; \
3623 s=`cd $(srcdir); ${PWD}`; export s; \
3624 $(SET_LIB_PATH) \
3625 (cd libgui; $(MAKE) $(FLAGS_TO_PASS) install)
3628 .PHONY: configure-libiberty maybe-configure-libiberty
3629 maybe-configure-libiberty:
3630 configure-libiberty: libiberty/Makefile
3632 libiberty/Makefile: config.status
3633 @[ -d libiberty ] || mkdir libiberty; \
3634 r=`${PWD}`; export r; \
3635 s=`cd $(srcdir); ${PWD}`; export s; \
3636 CC="$(CC)"; export CC; \
3637 CFLAGS="$(CFLAGS)"; export CFLAGS; \
3638 CXX="$(CXX)"; export CXX; \
3639 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
3640 if [ z$(build_canonical) != z$(host_canoncial) ] ; then \
3641 AR="$(AR)"; export AR; \
3642 AS="$(AS)"; export AS; \
3643 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
3644 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
3645 LD="$(LD)"; export LD; \
3646 NM="$(NM)"; export NM; \
3647 RANLIB="$(RANLIB)"; export RANLIB; \
3648 WINDRES="$(WINDRES)"; export WINDRES; \
3649 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
3650 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
3651 fi; \
3652 echo Configuring in libiberty; \
3653 cd libiberty || exit 1; \
3654 case $(srcdir) in \
3655 \.) \
3656 srcdiroption="--srcdir=."; \
3657 libsrcdir=".";; \
3658 /* | [A-Za-z]:[\\/]*) \
3659 srcdiroption="--srcdir=$(srcdir)/libiberty"; \
3660 libsrcdir="$$s/libiberty";; \
3661 *) \
3662 srcdiroption="--srcdir=../$(srcdir)/libiberty"; \
3663 libsrcdir="$$s/libiberty";; \
3664 esac; \
3665 $(SHELL) $${libsrcdir}/configure \
3666 $(HOST_CONFIGARGS) $${srcdiroption} \
3667 || exit 1
3669 .PHONY: all-libiberty maybe-all-libiberty
3670 maybe-all-libiberty:
3671 all-libiberty: configure-libiberty
3672 @r=`${PWD}`; export r; \
3673 s=`cd $(srcdir); ${PWD}`; export s; \
3674 $(SET_LIB_PATH) \
3675 (cd libiberty; $(MAKE) $(FLAGS_TO_PASS) all)
3678 .PHONY: check-libiberty
3679 check-libiberty:
3680 @r=`${PWD}`; export r; \
3681 s=`cd $(srcdir); ${PWD}`; export s; \
3682 $(SET_LIB_PATH) \
3683 (cd libiberty; $(MAKE) $(FLAGS_TO_PASS) check)
3687 .PHONY: install-libiberty maybe-install-libiberty
3688 maybe-install-libiberty:
3689 install-libiberty: installdirs
3690 @r=`${PWD}`; export r; \
3691 s=`cd $(srcdir); ${PWD}`; export s; \
3692 $(SET_LIB_PATH) \
3693 (cd libiberty; $(MAKE) $(FLAGS_TO_PASS) install)
3696 .PHONY: configure-libtool maybe-configure-libtool
3697 maybe-configure-libtool:
3698 configure-libtool: libtool/Makefile
3700 libtool/Makefile: config.status
3701 @[ -d libtool ] || mkdir libtool; \
3702 r=`${PWD}`; export r; \
3703 s=`cd $(srcdir); ${PWD}`; export s; \
3704 CC="$(CC)"; export CC; \
3705 CFLAGS="$(CFLAGS)"; export CFLAGS; \
3706 CXX="$(CXX)"; export CXX; \
3707 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
3708 if [ z$(build_canonical) != z$(host_canoncial) ] ; then \
3709 AR="$(AR)"; export AR; \
3710 AS="$(AS)"; export AS; \
3711 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
3712 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
3713 LD="$(LD)"; export LD; \
3714 NM="$(NM)"; export NM; \
3715 RANLIB="$(RANLIB)"; export RANLIB; \
3716 WINDRES="$(WINDRES)"; export WINDRES; \
3717 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
3718 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
3719 fi; \
3720 echo Configuring in libtool; \
3721 cd libtool || exit 1; \
3722 case $(srcdir) in \
3723 \.) \
3724 srcdiroption="--srcdir=."; \
3725 libsrcdir=".";; \
3726 /* | [A-Za-z]:[\\/]*) \
3727 srcdiroption="--srcdir=$(srcdir)/libtool"; \
3728 libsrcdir="$$s/libtool";; \
3729 *) \
3730 srcdiroption="--srcdir=../$(srcdir)/libtool"; \
3731 libsrcdir="$$s/libtool";; \
3732 esac; \
3733 $(SHELL) $${libsrcdir}/configure \
3734 $(HOST_CONFIGARGS) $${srcdiroption} \
3735 || exit 1
3737 .PHONY: all-libtool maybe-all-libtool
3738 maybe-all-libtool:
3739 all-libtool: configure-libtool
3740 @r=`${PWD}`; export r; \
3741 s=`cd $(srcdir); ${PWD}`; export s; \
3742 $(SET_LIB_PATH) \
3743 (cd libtool; $(MAKE) $(FLAGS_TO_PASS) all)
3746 .PHONY: check-libtool
3747 check-libtool:
3748 @r=`${PWD}`; export r; \
3749 s=`cd $(srcdir); ${PWD}`; export s; \
3750 $(SET_LIB_PATH) \
3751 (cd libtool; $(MAKE) $(FLAGS_TO_PASS) check)
3755 .PHONY: install-libtool maybe-install-libtool
3756 maybe-install-libtool:
3757 install-libtool: installdirs
3758 @r=`${PWD}`; export r; \
3759 s=`cd $(srcdir); ${PWD}`; export s; \
3760 $(SET_LIB_PATH) \
3761 (cd libtool; $(MAKE) $(FLAGS_TO_PASS) install)
3764 .PHONY: configure-m4 maybe-configure-m4
3765 maybe-configure-m4:
3766 configure-m4: m4/Makefile
3768 m4/Makefile: config.status
3769 @[ -d m4 ] || mkdir m4; \
3770 r=`${PWD}`; export r; \
3771 s=`cd $(srcdir); ${PWD}`; export s; \
3772 CC="$(CC)"; export CC; \
3773 CFLAGS="$(CFLAGS)"; export CFLAGS; \
3774 CXX="$(CXX)"; export CXX; \
3775 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
3776 if [ z$(build_canonical) != z$(host_canoncial) ] ; then \
3777 AR="$(AR)"; export AR; \
3778 AS="$(AS)"; export AS; \
3779 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
3780 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
3781 LD="$(LD)"; export LD; \
3782 NM="$(NM)"; export NM; \
3783 RANLIB="$(RANLIB)"; export RANLIB; \
3784 WINDRES="$(WINDRES)"; export WINDRES; \
3785 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
3786 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
3787 fi; \
3788 echo Configuring in m4; \
3789 cd m4 || exit 1; \
3790 case $(srcdir) in \
3791 \.) \
3792 srcdiroption="--srcdir=."; \
3793 libsrcdir=".";; \
3794 /* | [A-Za-z]:[\\/]*) \
3795 srcdiroption="--srcdir=$(srcdir)/m4"; \
3796 libsrcdir="$$s/m4";; \
3797 *) \
3798 srcdiroption="--srcdir=../$(srcdir)/m4"; \
3799 libsrcdir="$$s/m4";; \
3800 esac; \
3801 $(SHELL) $${libsrcdir}/configure \
3802 $(HOST_CONFIGARGS) $${srcdiroption} \
3803 || exit 1
3805 .PHONY: all-m4 maybe-all-m4
3806 maybe-all-m4:
3807 all-m4: configure-m4
3808 @r=`${PWD}`; export r; \
3809 s=`cd $(srcdir); ${PWD}`; export s; \
3810 $(SET_LIB_PATH) \
3811 (cd m4; $(MAKE) $(FLAGS_TO_PASS) all)
3814 .PHONY: check-m4
3815 check-m4:
3816 @r=`${PWD}`; export r; \
3817 s=`cd $(srcdir); ${PWD}`; export s; \
3818 $(SET_LIB_PATH) \
3819 (cd m4; $(MAKE) $(FLAGS_TO_PASS) check)
3823 .PHONY: install-m4 maybe-install-m4
3824 maybe-install-m4:
3825 install-m4: installdirs
3826 @r=`${PWD}`; export r; \
3827 s=`cd $(srcdir); ${PWD}`; export s; \
3828 $(SET_LIB_PATH) \
3829 (cd m4; $(MAKE) $(FLAGS_TO_PASS) install)
3832 .PHONY: configure-make maybe-configure-make
3833 maybe-configure-make:
3834 configure-make: make/Makefile
3836 make/Makefile: config.status
3837 @[ -d make ] || mkdir make; \
3838 r=`${PWD}`; export r; \
3839 s=`cd $(srcdir); ${PWD}`; export s; \
3840 CC="$(CC)"; export CC; \
3841 CFLAGS="$(CFLAGS)"; export CFLAGS; \
3842 CXX="$(CXX)"; export CXX; \
3843 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
3844 if [ z$(build_canonical) != z$(host_canoncial) ] ; then \
3845 AR="$(AR)"; export AR; \
3846 AS="$(AS)"; export AS; \
3847 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
3848 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
3849 LD="$(LD)"; export LD; \
3850 NM="$(NM)"; export NM; \
3851 RANLIB="$(RANLIB)"; export RANLIB; \
3852 WINDRES="$(WINDRES)"; export WINDRES; \
3853 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
3854 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
3855 fi; \
3856 echo Configuring in make; \
3857 cd make || exit 1; \
3858 case $(srcdir) in \
3859 \.) \
3860 srcdiroption="--srcdir=."; \
3861 libsrcdir=".";; \
3862 /* | [A-Za-z]:[\\/]*) \
3863 srcdiroption="--srcdir=$(srcdir)/make"; \
3864 libsrcdir="$$s/make";; \
3865 *) \
3866 srcdiroption="--srcdir=../$(srcdir)/make"; \
3867 libsrcdir="$$s/make";; \
3868 esac; \
3869 $(SHELL) $${libsrcdir}/configure \
3870 $(HOST_CONFIGARGS) $${srcdiroption} \
3871 || exit 1
3873 .PHONY: all-make maybe-all-make
3874 maybe-all-make:
3875 all-make: configure-make
3876 @r=`${PWD}`; export r; \
3877 s=`cd $(srcdir); ${PWD}`; export s; \
3878 $(SET_LIB_PATH) \
3879 (cd make; $(MAKE) $(FLAGS_TO_PASS) all)
3882 .PHONY: check-make
3883 check-make:
3884 @r=`${PWD}`; export r; \
3885 s=`cd $(srcdir); ${PWD}`; export s; \
3886 $(SET_LIB_PATH) \
3887 (cd make; $(MAKE) $(FLAGS_TO_PASS) check)
3891 .PHONY: install-make maybe-install-make
3892 maybe-install-make:
3893 install-make: installdirs
3894 @r=`${PWD}`; export r; \
3895 s=`cd $(srcdir); ${PWD}`; export s; \
3896 $(SET_LIB_PATH) \
3897 (cd make; $(MAKE) $(FLAGS_TO_PASS) install)
3900 .PHONY: configure-mmalloc maybe-configure-mmalloc
3901 maybe-configure-mmalloc:
3902 configure-mmalloc: mmalloc/Makefile
3904 mmalloc/Makefile: config.status
3905 @[ -d mmalloc ] || mkdir mmalloc; \
3906 r=`${PWD}`; export r; \
3907 s=`cd $(srcdir); ${PWD}`; export s; \
3908 CC="$(CC)"; export CC; \
3909 CFLAGS="$(CFLAGS)"; export CFLAGS; \
3910 CXX="$(CXX)"; export CXX; \
3911 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
3912 if [ z$(build_canonical) != z$(host_canoncial) ] ; then \
3913 AR="$(AR)"; export AR; \
3914 AS="$(AS)"; export AS; \
3915 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
3916 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
3917 LD="$(LD)"; export LD; \
3918 NM="$(NM)"; export NM; \
3919 RANLIB="$(RANLIB)"; export RANLIB; \
3920 WINDRES="$(WINDRES)"; export WINDRES; \
3921 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
3922 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
3923 fi; \
3924 echo Configuring in mmalloc; \
3925 cd mmalloc || exit 1; \
3926 case $(srcdir) in \
3927 \.) \
3928 srcdiroption="--srcdir=."; \
3929 libsrcdir=".";; \
3930 /* | [A-Za-z]:[\\/]*) \
3931 srcdiroption="--srcdir=$(srcdir)/mmalloc"; \
3932 libsrcdir="$$s/mmalloc";; \
3933 *) \
3934 srcdiroption="--srcdir=../$(srcdir)/mmalloc"; \
3935 libsrcdir="$$s/mmalloc";; \
3936 esac; \
3937 $(SHELL) $${libsrcdir}/configure \
3938 $(HOST_CONFIGARGS) $${srcdiroption} \
3939 || exit 1
3941 .PHONY: all-mmalloc maybe-all-mmalloc
3942 maybe-all-mmalloc:
3943 all-mmalloc: configure-mmalloc
3944 @r=`${PWD}`; export r; \
3945 s=`cd $(srcdir); ${PWD}`; export s; \
3946 $(SET_LIB_PATH) \
3947 (cd mmalloc; $(MAKE) $(FLAGS_TO_PASS) all)
3950 .PHONY: check-mmalloc
3951 check-mmalloc:
3955 .PHONY: install-mmalloc maybe-install-mmalloc
3956 maybe-install-mmalloc:
3957 install-mmalloc: installdirs
3958 @r=`${PWD}`; export r; \
3959 s=`cd $(srcdir); ${PWD}`; export s; \
3960 $(SET_LIB_PATH) \
3961 (cd mmalloc; $(MAKE) $(FLAGS_TO_PASS) install)
3964 .PHONY: configure-patch maybe-configure-patch
3965 maybe-configure-patch:
3966 configure-patch: patch/Makefile
3968 patch/Makefile: config.status
3969 @[ -d patch ] || mkdir patch; \
3970 r=`${PWD}`; export r; \
3971 s=`cd $(srcdir); ${PWD}`; export s; \
3972 CC="$(CC)"; export CC; \
3973 CFLAGS="$(CFLAGS)"; export CFLAGS; \
3974 CXX="$(CXX)"; export CXX; \
3975 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
3976 if [ z$(build_canonical) != z$(host_canoncial) ] ; then \
3977 AR="$(AR)"; export AR; \
3978 AS="$(AS)"; export AS; \
3979 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
3980 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
3981 LD="$(LD)"; export LD; \
3982 NM="$(NM)"; export NM; \
3983 RANLIB="$(RANLIB)"; export RANLIB; \
3984 WINDRES="$(WINDRES)"; export WINDRES; \
3985 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
3986 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
3987 fi; \
3988 echo Configuring in patch; \
3989 cd patch || exit 1; \
3990 case $(srcdir) in \
3991 \.) \
3992 srcdiroption="--srcdir=."; \
3993 libsrcdir=".";; \
3994 /* | [A-Za-z]:[\\/]*) \
3995 srcdiroption="--srcdir=$(srcdir)/patch"; \
3996 libsrcdir="$$s/patch";; \
3997 *) \
3998 srcdiroption="--srcdir=../$(srcdir)/patch"; \
3999 libsrcdir="$$s/patch";; \
4000 esac; \
4001 $(SHELL) $${libsrcdir}/configure \
4002 $(HOST_CONFIGARGS) $${srcdiroption} \
4003 || exit 1
4005 .PHONY: all-patch maybe-all-patch
4006 maybe-all-patch:
4007 all-patch: configure-patch
4008 @r=`${PWD}`; export r; \
4009 s=`cd $(srcdir); ${PWD}`; export s; \
4010 $(SET_LIB_PATH) \
4011 (cd patch; $(MAKE) $(FLAGS_TO_PASS) all)
4014 .PHONY: check-patch
4015 check-patch:
4016 @r=`${PWD}`; export r; \
4017 s=`cd $(srcdir); ${PWD}`; export s; \
4018 $(SET_LIB_PATH) \
4019 (cd patch; $(MAKE) $(FLAGS_TO_PASS) check)
4023 .PHONY: install-patch maybe-install-patch
4024 maybe-install-patch:
4025 install-patch: installdirs
4026 @r=`${PWD}`; export r; \
4027 s=`cd $(srcdir); ${PWD}`; export s; \
4028 $(SET_LIB_PATH) \
4029 (cd patch; $(MAKE) $(FLAGS_TO_PASS) install)
4032 .PHONY: configure-perl maybe-configure-perl
4033 maybe-configure-perl:
4034 configure-perl: perl/Makefile
4036 perl/Makefile: config.status
4037 @[ -d perl ] || mkdir perl; \
4038 r=`${PWD}`; export r; \
4039 s=`cd $(srcdir); ${PWD}`; export s; \
4040 CC="$(CC)"; export CC; \
4041 CFLAGS="$(CFLAGS)"; export CFLAGS; \
4042 CXX="$(CXX)"; export CXX; \
4043 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
4044 if [ z$(build_canonical) != z$(host_canoncial) ] ; then \
4045 AR="$(AR)"; export AR; \
4046 AS="$(AS)"; export AS; \
4047 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
4048 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
4049 LD="$(LD)"; export LD; \
4050 NM="$(NM)"; export NM; \
4051 RANLIB="$(RANLIB)"; export RANLIB; \
4052 WINDRES="$(WINDRES)"; export WINDRES; \
4053 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
4054 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
4055 fi; \
4056 echo Configuring in perl; \
4057 cd perl || exit 1; \
4058 case $(srcdir) in \
4059 \.) \
4060 srcdiroption="--srcdir=."; \
4061 libsrcdir=".";; \
4062 /* | [A-Za-z]:[\\/]*) \
4063 srcdiroption="--srcdir=$(srcdir)/perl"; \
4064 libsrcdir="$$s/perl";; \
4065 *) \
4066 srcdiroption="--srcdir=../$(srcdir)/perl"; \
4067 libsrcdir="$$s/perl";; \
4068 esac; \
4069 $(SHELL) $${libsrcdir}/configure \
4070 $(HOST_CONFIGARGS) $${srcdiroption} \
4071 || exit 1
4073 .PHONY: all-perl maybe-all-perl
4074 maybe-all-perl:
4075 all-perl: configure-perl
4076 @r=`${PWD}`; export r; \
4077 s=`cd $(srcdir); ${PWD}`; export s; \
4078 $(SET_LIB_PATH) \
4079 (cd perl; $(MAKE) $(FLAGS_TO_PASS) all)
4082 .PHONY: check-perl
4083 check-perl:
4084 @r=`${PWD}`; export r; \
4085 s=`cd $(srcdir); ${PWD}`; export s; \
4086 $(SET_LIB_PATH) \
4087 (cd perl; $(MAKE) $(FLAGS_TO_PASS) check)
4091 .PHONY: install-perl maybe-install-perl
4092 maybe-install-perl:
4093 install-perl: installdirs
4094 @r=`${PWD}`; export r; \
4095 s=`cd $(srcdir); ${PWD}`; export s; \
4096 $(SET_LIB_PATH) \
4097 (cd perl; $(MAKE) $(FLAGS_TO_PASS) install)
4100 .PHONY: configure-prms maybe-configure-prms
4101 maybe-configure-prms:
4102 configure-prms: prms/Makefile
4104 prms/Makefile: config.status
4105 @[ -d prms ] || mkdir prms; \
4106 r=`${PWD}`; export r; \
4107 s=`cd $(srcdir); ${PWD}`; export s; \
4108 CC="$(CC)"; export CC; \
4109 CFLAGS="$(CFLAGS)"; export CFLAGS; \
4110 CXX="$(CXX)"; export CXX; \
4111 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
4112 if [ z$(build_canonical) != z$(host_canoncial) ] ; then \
4113 AR="$(AR)"; export AR; \
4114 AS="$(AS)"; export AS; \
4115 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
4116 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
4117 LD="$(LD)"; export LD; \
4118 NM="$(NM)"; export NM; \
4119 RANLIB="$(RANLIB)"; export RANLIB; \
4120 WINDRES="$(WINDRES)"; export WINDRES; \
4121 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
4122 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
4123 fi; \
4124 echo Configuring in prms; \
4125 cd prms || exit 1; \
4126 case $(srcdir) in \
4127 \.) \
4128 srcdiroption="--srcdir=."; \
4129 libsrcdir=".";; \
4130 /* | [A-Za-z]:[\\/]*) \
4131 srcdiroption="--srcdir=$(srcdir)/prms"; \
4132 libsrcdir="$$s/prms";; \
4133 *) \
4134 srcdiroption="--srcdir=../$(srcdir)/prms"; \
4135 libsrcdir="$$s/prms";; \
4136 esac; \
4137 $(SHELL) $${libsrcdir}/configure \
4138 $(HOST_CONFIGARGS) $${srcdiroption} \
4139 || exit 1
4141 .PHONY: all-prms maybe-all-prms
4142 maybe-all-prms:
4143 all-prms: configure-prms
4144 @r=`${PWD}`; export r; \
4145 s=`cd $(srcdir); ${PWD}`; export s; \
4146 $(SET_LIB_PATH) \
4147 (cd prms; $(MAKE) $(FLAGS_TO_PASS) all)
4150 .PHONY: check-prms
4151 check-prms:
4152 @r=`${PWD}`; export r; \
4153 s=`cd $(srcdir); ${PWD}`; export s; \
4154 $(SET_LIB_PATH) \
4155 (cd prms; $(MAKE) $(FLAGS_TO_PASS) check)
4159 .PHONY: install-prms maybe-install-prms
4160 maybe-install-prms:
4161 install-prms: installdirs
4162 @r=`${PWD}`; export r; \
4163 s=`cd $(srcdir); ${PWD}`; export s; \
4164 $(SET_LIB_PATH) \
4165 (cd prms; $(MAKE) $(FLAGS_TO_PASS) install)
4168 .PHONY: configure-rcs maybe-configure-rcs
4169 maybe-configure-rcs:
4170 configure-rcs: rcs/Makefile
4172 rcs/Makefile: config.status
4173 @[ -d rcs ] || mkdir rcs; \
4174 r=`${PWD}`; export r; \
4175 s=`cd $(srcdir); ${PWD}`; export s; \
4176 CC="$(CC)"; export CC; \
4177 CFLAGS="$(CFLAGS)"; export CFLAGS; \
4178 CXX="$(CXX)"; export CXX; \
4179 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
4180 if [ z$(build_canonical) != z$(host_canoncial) ] ; then \
4181 AR="$(AR)"; export AR; \
4182 AS="$(AS)"; export AS; \
4183 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
4184 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
4185 LD="$(LD)"; export LD; \
4186 NM="$(NM)"; export NM; \
4187 RANLIB="$(RANLIB)"; export RANLIB; \
4188 WINDRES="$(WINDRES)"; export WINDRES; \
4189 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
4190 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
4191 fi; \
4192 echo Configuring in rcs; \
4193 cd rcs || exit 1; \
4194 case $(srcdir) in \
4195 \.) \
4196 srcdiroption="--srcdir=."; \
4197 libsrcdir=".";; \
4198 /* | [A-Za-z]:[\\/]*) \
4199 srcdiroption="--srcdir=$(srcdir)/rcs"; \
4200 libsrcdir="$$s/rcs";; \
4201 *) \
4202 srcdiroption="--srcdir=../$(srcdir)/rcs"; \
4203 libsrcdir="$$s/rcs";; \
4204 esac; \
4205 $(SHELL) $${libsrcdir}/configure \
4206 $(HOST_CONFIGARGS) $${srcdiroption} \
4207 || exit 1
4209 .PHONY: all-rcs maybe-all-rcs
4210 maybe-all-rcs:
4211 all-rcs: configure-rcs
4212 @r=`${PWD}`; export r; \
4213 s=`cd $(srcdir); ${PWD}`; export s; \
4214 $(SET_LIB_PATH) \
4215 (cd rcs; $(MAKE) $(FLAGS_TO_PASS) all)
4218 .PHONY: check-rcs
4219 check-rcs:
4220 @r=`${PWD}`; export r; \
4221 s=`cd $(srcdir); ${PWD}`; export s; \
4222 $(SET_LIB_PATH) \
4223 (cd rcs; $(MAKE) $(FLAGS_TO_PASS) check)
4227 .PHONY: install-rcs maybe-install-rcs
4228 maybe-install-rcs:
4229 install-rcs: installdirs
4230 @r=`${PWD}`; export r; \
4231 s=`cd $(srcdir); ${PWD}`; export s; \
4232 $(SET_LIB_PATH) \
4233 (cd rcs; $(MAKE) $(FLAGS_TO_PASS) install)
4236 .PHONY: configure-readline maybe-configure-readline
4237 maybe-configure-readline:
4238 configure-readline: readline/Makefile
4240 readline/Makefile: config.status
4241 @[ -d readline ] || mkdir readline; \
4242 r=`${PWD}`; export r; \
4243 s=`cd $(srcdir); ${PWD}`; export s; \
4244 CC="$(CC)"; export CC; \
4245 CFLAGS="$(CFLAGS)"; export CFLAGS; \
4246 CXX="$(CXX)"; export CXX; \
4247 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
4248 if [ z$(build_canonical) != z$(host_canoncial) ] ; then \
4249 AR="$(AR)"; export AR; \
4250 AS="$(AS)"; export AS; \
4251 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
4252 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
4253 LD="$(LD)"; export LD; \
4254 NM="$(NM)"; export NM; \
4255 RANLIB="$(RANLIB)"; export RANLIB; \
4256 WINDRES="$(WINDRES)"; export WINDRES; \
4257 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
4258 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
4259 fi; \
4260 echo Configuring in readline; \
4261 cd readline || exit 1; \
4262 case $(srcdir) in \
4263 \.) \
4264 srcdiroption="--srcdir=."; \
4265 libsrcdir=".";; \
4266 /* | [A-Za-z]:[\\/]*) \
4267 srcdiroption="--srcdir=$(srcdir)/readline"; \
4268 libsrcdir="$$s/readline";; \
4269 *) \
4270 srcdiroption="--srcdir=../$(srcdir)/readline"; \
4271 libsrcdir="$$s/readline";; \
4272 esac; \
4273 $(SHELL) $${libsrcdir}/configure \
4274 $(HOST_CONFIGARGS) $${srcdiroption} \
4275 || exit 1
4277 .PHONY: all-readline maybe-all-readline
4278 maybe-all-readline:
4279 all-readline: configure-readline
4280 @r=`${PWD}`; export r; \
4281 s=`cd $(srcdir); ${PWD}`; export s; \
4282 $(SET_LIB_PATH) \
4283 (cd readline; $(MAKE) $(FLAGS_TO_PASS) all)
4286 .PHONY: check-readline
4287 check-readline:
4288 @r=`${PWD}`; export r; \
4289 s=`cd $(srcdir); ${PWD}`; export s; \
4290 $(SET_LIB_PATH) \
4291 (cd readline; $(MAKE) $(FLAGS_TO_PASS) check)
4295 .PHONY: install-readline maybe-install-readline
4296 maybe-install-readline:
4297 install-readline: installdirs
4298 @r=`${PWD}`; export r; \
4299 s=`cd $(srcdir); ${PWD}`; export s; \
4300 $(SET_LIB_PATH) \
4301 (cd readline; $(MAKE) $(FLAGS_TO_PASS) install)
4304 .PHONY: configure-release maybe-configure-release
4305 maybe-configure-release:
4306 configure-release: release/Makefile
4308 release/Makefile: config.status
4309 @[ -d release ] || mkdir release; \
4310 r=`${PWD}`; export r; \
4311 s=`cd $(srcdir); ${PWD}`; export s; \
4312 CC="$(CC)"; export CC; \
4313 CFLAGS="$(CFLAGS)"; export CFLAGS; \
4314 CXX="$(CXX)"; export CXX; \
4315 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
4316 if [ z$(build_canonical) != z$(host_canoncial) ] ; then \
4317 AR="$(AR)"; export AR; \
4318 AS="$(AS)"; export AS; \
4319 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
4320 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
4321 LD="$(LD)"; export LD; \
4322 NM="$(NM)"; export NM; \
4323 RANLIB="$(RANLIB)"; export RANLIB; \
4324 WINDRES="$(WINDRES)"; export WINDRES; \
4325 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
4326 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
4327 fi; \
4328 echo Configuring in release; \
4329 cd release || exit 1; \
4330 case $(srcdir) in \
4331 \.) \
4332 srcdiroption="--srcdir=."; \
4333 libsrcdir=".";; \
4334 /* | [A-Za-z]:[\\/]*) \
4335 srcdiroption="--srcdir=$(srcdir)/release"; \
4336 libsrcdir="$$s/release";; \
4337 *) \
4338 srcdiroption="--srcdir=../$(srcdir)/release"; \
4339 libsrcdir="$$s/release";; \
4340 esac; \
4341 $(SHELL) $${libsrcdir}/configure \
4342 $(HOST_CONFIGARGS) $${srcdiroption} \
4343 || exit 1
4345 .PHONY: all-release maybe-all-release
4346 maybe-all-release:
4347 all-release: configure-release
4348 @r=`${PWD}`; export r; \
4349 s=`cd $(srcdir); ${PWD}`; export s; \
4350 $(SET_LIB_PATH) \
4351 (cd release; $(MAKE) $(FLAGS_TO_PASS) all)
4354 .PHONY: check-release
4355 check-release:
4359 .PHONY: install-release maybe-install-release
4360 maybe-install-release:
4361 install-release:
4364 .PHONY: configure-recode maybe-configure-recode
4365 maybe-configure-recode:
4366 configure-recode: recode/Makefile
4368 recode/Makefile: config.status
4369 @[ -d recode ] || mkdir recode; \
4370 r=`${PWD}`; export r; \
4371 s=`cd $(srcdir); ${PWD}`; export s; \
4372 CC="$(CC)"; export CC; \
4373 CFLAGS="$(CFLAGS)"; export CFLAGS; \
4374 CXX="$(CXX)"; export CXX; \
4375 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
4376 if [ z$(build_canonical) != z$(host_canoncial) ] ; then \
4377 AR="$(AR)"; export AR; \
4378 AS="$(AS)"; export AS; \
4379 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
4380 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
4381 LD="$(LD)"; export LD; \
4382 NM="$(NM)"; export NM; \
4383 RANLIB="$(RANLIB)"; export RANLIB; \
4384 WINDRES="$(WINDRES)"; export WINDRES; \
4385 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
4386 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
4387 fi; \
4388 echo Configuring in recode; \
4389 cd recode || exit 1; \
4390 case $(srcdir) in \
4391 \.) \
4392 srcdiroption="--srcdir=."; \
4393 libsrcdir=".";; \
4394 /* | [A-Za-z]:[\\/]*) \
4395 srcdiroption="--srcdir=$(srcdir)/recode"; \
4396 libsrcdir="$$s/recode";; \
4397 *) \
4398 srcdiroption="--srcdir=../$(srcdir)/recode"; \
4399 libsrcdir="$$s/recode";; \
4400 esac; \
4401 $(SHELL) $${libsrcdir}/configure \
4402 $(HOST_CONFIGARGS) $${srcdiroption} \
4403 || exit 1
4405 .PHONY: all-recode maybe-all-recode
4406 maybe-all-recode:
4407 all-recode: configure-recode
4408 @r=`${PWD}`; export r; \
4409 s=`cd $(srcdir); ${PWD}`; export s; \
4410 $(SET_LIB_PATH) \
4411 (cd recode; $(MAKE) $(FLAGS_TO_PASS) all)
4414 .PHONY: check-recode
4415 check-recode:
4416 @r=`${PWD}`; export r; \
4417 s=`cd $(srcdir); ${PWD}`; export s; \
4418 $(SET_LIB_PATH) \
4419 (cd recode; $(MAKE) $(FLAGS_TO_PASS) check)
4423 .PHONY: install-recode maybe-install-recode
4424 maybe-install-recode:
4425 install-recode: installdirs
4426 @r=`${PWD}`; export r; \
4427 s=`cd $(srcdir); ${PWD}`; export s; \
4428 $(SET_LIB_PATH) \
4429 (cd recode; $(MAKE) $(FLAGS_TO_PASS) install)
4432 .PHONY: configure-sed maybe-configure-sed
4433 maybe-configure-sed:
4434 configure-sed: sed/Makefile
4436 sed/Makefile: config.status
4437 @[ -d sed ] || mkdir sed; \
4438 r=`${PWD}`; export r; \
4439 s=`cd $(srcdir); ${PWD}`; export s; \
4440 CC="$(CC)"; export CC; \
4441 CFLAGS="$(CFLAGS)"; export CFLAGS; \
4442 CXX="$(CXX)"; export CXX; \
4443 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
4444 if [ z$(build_canonical) != z$(host_canoncial) ] ; then \
4445 AR="$(AR)"; export AR; \
4446 AS="$(AS)"; export AS; \
4447 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
4448 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
4449 LD="$(LD)"; export LD; \
4450 NM="$(NM)"; export NM; \
4451 RANLIB="$(RANLIB)"; export RANLIB; \
4452 WINDRES="$(WINDRES)"; export WINDRES; \
4453 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
4454 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
4455 fi; \
4456 echo Configuring in sed; \
4457 cd sed || exit 1; \
4458 case $(srcdir) in \
4459 \.) \
4460 srcdiroption="--srcdir=."; \
4461 libsrcdir=".";; \
4462 /* | [A-Za-z]:[\\/]*) \
4463 srcdiroption="--srcdir=$(srcdir)/sed"; \
4464 libsrcdir="$$s/sed";; \
4465 *) \
4466 srcdiroption="--srcdir=../$(srcdir)/sed"; \
4467 libsrcdir="$$s/sed";; \
4468 esac; \
4469 $(SHELL) $${libsrcdir}/configure \
4470 $(HOST_CONFIGARGS) $${srcdiroption} \
4471 || exit 1
4473 .PHONY: all-sed maybe-all-sed
4474 maybe-all-sed:
4475 all-sed: configure-sed
4476 @r=`${PWD}`; export r; \
4477 s=`cd $(srcdir); ${PWD}`; export s; \
4478 $(SET_LIB_PATH) \
4479 (cd sed; $(MAKE) $(FLAGS_TO_PASS) all)
4482 .PHONY: check-sed
4483 check-sed:
4484 @r=`${PWD}`; export r; \
4485 s=`cd $(srcdir); ${PWD}`; export s; \
4486 $(SET_LIB_PATH) \
4487 (cd sed; $(MAKE) $(FLAGS_TO_PASS) check)
4491 .PHONY: install-sed maybe-install-sed
4492 maybe-install-sed:
4493 install-sed: installdirs
4494 @r=`${PWD}`; export r; \
4495 s=`cd $(srcdir); ${PWD}`; export s; \
4496 $(SET_LIB_PATH) \
4497 (cd sed; $(MAKE) $(FLAGS_TO_PASS) install)
4500 .PHONY: configure-send-pr maybe-configure-send-pr
4501 maybe-configure-send-pr:
4502 configure-send-pr: send-pr/Makefile
4504 send-pr/Makefile: config.status
4505 @[ -d send-pr ] || mkdir send-pr; \
4506 r=`${PWD}`; export r; \
4507 s=`cd $(srcdir); ${PWD}`; export s; \
4508 CC="$(CC)"; export CC; \
4509 CFLAGS="$(CFLAGS)"; export CFLAGS; \
4510 CXX="$(CXX)"; export CXX; \
4511 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
4512 if [ z$(build_canonical) != z$(host_canoncial) ] ; then \
4513 AR="$(AR)"; export AR; \
4514 AS="$(AS)"; export AS; \
4515 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
4516 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
4517 LD="$(LD)"; export LD; \
4518 NM="$(NM)"; export NM; \
4519 RANLIB="$(RANLIB)"; export RANLIB; \
4520 WINDRES="$(WINDRES)"; export WINDRES; \
4521 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
4522 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
4523 fi; \
4524 echo Configuring in send-pr; \
4525 cd send-pr || exit 1; \
4526 case $(srcdir) in \
4527 \.) \
4528 srcdiroption="--srcdir=."; \
4529 libsrcdir=".";; \
4530 /* | [A-Za-z]:[\\/]*) \
4531 srcdiroption="--srcdir=$(srcdir)/send-pr"; \
4532 libsrcdir="$$s/send-pr";; \
4533 *) \
4534 srcdiroption="--srcdir=../$(srcdir)/send-pr"; \
4535 libsrcdir="$$s/send-pr";; \
4536 esac; \
4537 $(SHELL) $${libsrcdir}/configure \
4538 $(HOST_CONFIGARGS) $${srcdiroption} \
4539 || exit 1
4541 .PHONY: all-send-pr maybe-all-send-pr
4542 maybe-all-send-pr:
4543 all-send-pr: configure-send-pr
4544 @r=`${PWD}`; export r; \
4545 s=`cd $(srcdir); ${PWD}`; export s; \
4546 $(SET_LIB_PATH) \
4547 (cd send-pr; $(MAKE) $(FLAGS_TO_PASS) all)
4550 .PHONY: check-send-pr
4551 check-send-pr:
4552 @r=`${PWD}`; export r; \
4553 s=`cd $(srcdir); ${PWD}`; export s; \
4554 $(SET_LIB_PATH) \
4555 (cd send-pr; $(MAKE) $(FLAGS_TO_PASS) check)
4559 .PHONY: install-send-pr maybe-install-send-pr
4560 maybe-install-send-pr:
4561 install-send-pr: installdirs
4562 @r=`${PWD}`; export r; \
4563 s=`cd $(srcdir); ${PWD}`; export s; \
4564 $(SET_LIB_PATH) \
4565 (cd send-pr; $(MAKE) $(FLAGS_TO_PASS) install)
4568 .PHONY: configure-shellutils maybe-configure-shellutils
4569 maybe-configure-shellutils:
4570 configure-shellutils: shellutils/Makefile
4572 shellutils/Makefile: config.status
4573 @[ -d shellutils ] || mkdir shellutils; \
4574 r=`${PWD}`; export r; \
4575 s=`cd $(srcdir); ${PWD}`; export s; \
4576 CC="$(CC)"; export CC; \
4577 CFLAGS="$(CFLAGS)"; export CFLAGS; \
4578 CXX="$(CXX)"; export CXX; \
4579 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
4580 if [ z$(build_canonical) != z$(host_canoncial) ] ; then \
4581 AR="$(AR)"; export AR; \
4582 AS="$(AS)"; export AS; \
4583 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
4584 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
4585 LD="$(LD)"; export LD; \
4586 NM="$(NM)"; export NM; \
4587 RANLIB="$(RANLIB)"; export RANLIB; \
4588 WINDRES="$(WINDRES)"; export WINDRES; \
4589 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
4590 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
4591 fi; \
4592 echo Configuring in shellutils; \
4593 cd shellutils || exit 1; \
4594 case $(srcdir) in \
4595 \.) \
4596 srcdiroption="--srcdir=."; \
4597 libsrcdir=".";; \
4598 /* | [A-Za-z]:[\\/]*) \
4599 srcdiroption="--srcdir=$(srcdir)/shellutils"; \
4600 libsrcdir="$$s/shellutils";; \
4601 *) \
4602 srcdiroption="--srcdir=../$(srcdir)/shellutils"; \
4603 libsrcdir="$$s/shellutils";; \
4604 esac; \
4605 $(SHELL) $${libsrcdir}/configure \
4606 $(HOST_CONFIGARGS) $${srcdiroption} \
4607 || exit 1
4609 .PHONY: all-shellutils maybe-all-shellutils
4610 maybe-all-shellutils:
4611 all-shellutils: configure-shellutils
4612 @r=`${PWD}`; export r; \
4613 s=`cd $(srcdir); ${PWD}`; export s; \
4614 $(SET_LIB_PATH) \
4615 (cd shellutils; $(MAKE) $(FLAGS_TO_PASS) all)
4618 .PHONY: check-shellutils
4619 check-shellutils:
4620 @r=`${PWD}`; export r; \
4621 s=`cd $(srcdir); ${PWD}`; export s; \
4622 $(SET_LIB_PATH) \
4623 (cd shellutils; $(MAKE) $(FLAGS_TO_PASS) check)
4627 .PHONY: install-shellutils maybe-install-shellutils
4628 maybe-install-shellutils:
4629 install-shellutils: installdirs
4630 @r=`${PWD}`; export r; \
4631 s=`cd $(srcdir); ${PWD}`; export s; \
4632 $(SET_LIB_PATH) \
4633 (cd shellutils; $(MAKE) $(FLAGS_TO_PASS) install)
4636 .PHONY: configure-sid maybe-configure-sid
4637 maybe-configure-sid:
4638 configure-sid: sid/Makefile
4640 sid/Makefile: config.status
4641 @[ -d sid ] || mkdir sid; \
4642 r=`${PWD}`; export r; \
4643 s=`cd $(srcdir); ${PWD}`; export s; \
4644 CC="$(CC)"; export CC; \
4645 CFLAGS="$(CFLAGS)"; export CFLAGS; \
4646 CXX="$(CXX)"; export CXX; \
4647 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
4648 if [ z$(build_canonical) != z$(host_canoncial) ] ; then \
4649 AR="$(AR)"; export AR; \
4650 AS="$(AS)"; export AS; \
4651 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
4652 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
4653 LD="$(LD)"; export LD; \
4654 NM="$(NM)"; export NM; \
4655 RANLIB="$(RANLIB)"; export RANLIB; \
4656 WINDRES="$(WINDRES)"; export WINDRES; \
4657 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
4658 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
4659 fi; \
4660 echo Configuring in sid; \
4661 cd sid || exit 1; \
4662 case $(srcdir) in \
4663 \.) \
4664 srcdiroption="--srcdir=."; \
4665 libsrcdir=".";; \
4666 /* | [A-Za-z]:[\\/]*) \
4667 srcdiroption="--srcdir=$(srcdir)/sid"; \
4668 libsrcdir="$$s/sid";; \
4669 *) \
4670 srcdiroption="--srcdir=../$(srcdir)/sid"; \
4671 libsrcdir="$$s/sid";; \
4672 esac; \
4673 $(SHELL) $${libsrcdir}/configure \
4674 $(HOST_CONFIGARGS) $${srcdiroption} \
4675 || exit 1
4677 .PHONY: all-sid maybe-all-sid
4678 maybe-all-sid:
4679 all-sid: configure-sid
4680 @r=`${PWD}`; export r; \
4681 s=`cd $(srcdir); ${PWD}`; export s; \
4682 $(SET_LIB_PATH) \
4683 (cd sid; $(MAKE) $(FLAGS_TO_PASS) all)
4686 .PHONY: check-sid
4687 check-sid:
4688 @r=`${PWD}`; export r; \
4689 s=`cd $(srcdir); ${PWD}`; export s; \
4690 $(SET_LIB_PATH) \
4691 (cd sid; $(MAKE) $(FLAGS_TO_PASS) check)
4695 .PHONY: install-sid maybe-install-sid
4696 maybe-install-sid:
4697 install-sid: installdirs
4698 @r=`${PWD}`; export r; \
4699 s=`cd $(srcdir); ${PWD}`; export s; \
4700 $(SET_LIB_PATH) \
4701 (cd sid; $(MAKE) $(FLAGS_TO_PASS) install)
4704 .PHONY: configure-sim maybe-configure-sim
4705 maybe-configure-sim:
4706 configure-sim: sim/Makefile
4708 sim/Makefile: config.status
4709 @[ -d sim ] || mkdir sim; \
4710 r=`${PWD}`; export r; \
4711 s=`cd $(srcdir); ${PWD}`; export s; \
4712 CC="$(CC)"; export CC; \
4713 CFLAGS="$(CFLAGS)"; export CFLAGS; \
4714 CXX="$(CXX)"; export CXX; \
4715 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
4716 if [ z$(build_canonical) != z$(host_canoncial) ] ; then \
4717 AR="$(AR)"; export AR; \
4718 AS="$(AS)"; export AS; \
4719 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
4720 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
4721 LD="$(LD)"; export LD; \
4722 NM="$(NM)"; export NM; \
4723 RANLIB="$(RANLIB)"; export RANLIB; \
4724 WINDRES="$(WINDRES)"; export WINDRES; \
4725 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
4726 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
4727 fi; \
4728 echo Configuring in sim; \
4729 cd sim || exit 1; \
4730 case $(srcdir) in \
4731 \.) \
4732 srcdiroption="--srcdir=."; \
4733 libsrcdir=".";; \
4734 /* | [A-Za-z]:[\\/]*) \
4735 srcdiroption="--srcdir=$(srcdir)/sim"; \
4736 libsrcdir="$$s/sim";; \
4737 *) \
4738 srcdiroption="--srcdir=../$(srcdir)/sim"; \
4739 libsrcdir="$$s/sim";; \
4740 esac; \
4741 $(SHELL) $${libsrcdir}/configure \
4742 $(HOST_CONFIGARGS) $${srcdiroption} \
4743 || exit 1
4745 .PHONY: all-sim maybe-all-sim
4746 maybe-all-sim:
4747 all-sim: configure-sim
4748 @r=`${PWD}`; export r; \
4749 s=`cd $(srcdir); ${PWD}`; export s; \
4750 $(SET_LIB_PATH) \
4751 (cd sim; $(MAKE) $(FLAGS_TO_PASS) all)
4754 .PHONY: check-sim
4755 check-sim:
4756 @r=`${PWD}`; export r; \
4757 s=`cd $(srcdir); ${PWD}`; export s; \
4758 $(SET_LIB_PATH) \
4759 (cd sim; $(MAKE) $(FLAGS_TO_PASS) check)
4763 .PHONY: install-sim maybe-install-sim
4764 maybe-install-sim:
4765 install-sim: installdirs
4766 @r=`${PWD}`; export r; \
4767 s=`cd $(srcdir); ${PWD}`; export s; \
4768 $(SET_LIB_PATH) \
4769 (cd sim; $(MAKE) $(FLAGS_TO_PASS) install)
4772 .PHONY: configure-snavigator maybe-configure-snavigator
4773 maybe-configure-snavigator:
4774 configure-snavigator: snavigator/Makefile
4776 snavigator/Makefile: config.status
4777 @[ -d snavigator ] || mkdir snavigator; \
4778 r=`${PWD}`; export r; \
4779 s=`cd $(srcdir); ${PWD}`; export s; \
4780 CC="$(CC)"; export CC; \
4781 CFLAGS="$(CFLAGS)"; export CFLAGS; \
4782 CXX="$(CXX)"; export CXX; \
4783 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
4784 if [ z$(build_canonical) != z$(host_canoncial) ] ; then \
4785 AR="$(AR)"; export AR; \
4786 AS="$(AS)"; export AS; \
4787 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
4788 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
4789 LD="$(LD)"; export LD; \
4790 NM="$(NM)"; export NM; \
4791 RANLIB="$(RANLIB)"; export RANLIB; \
4792 WINDRES="$(WINDRES)"; export WINDRES; \
4793 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
4794 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
4795 fi; \
4796 echo Configuring in snavigator; \
4797 cd snavigator || exit 1; \
4798 case $(srcdir) in \
4799 \.) \
4800 srcdiroption="--srcdir=."; \
4801 libsrcdir=".";; \
4802 /* | [A-Za-z]:[\\/]*) \
4803 srcdiroption="--srcdir=$(srcdir)/snavigator"; \
4804 libsrcdir="$$s/snavigator";; \
4805 *) \
4806 srcdiroption="--srcdir=../$(srcdir)/snavigator"; \
4807 libsrcdir="$$s/snavigator";; \
4808 esac; \
4809 $(SHELL) $${libsrcdir}/configure \
4810 $(HOST_CONFIGARGS) $${srcdiroption} \
4811 || exit 1
4813 .PHONY: all-snavigator maybe-all-snavigator
4814 maybe-all-snavigator:
4815 all-snavigator: configure-snavigator
4816 @r=`${PWD}`; export r; \
4817 s=`cd $(srcdir); ${PWD}`; export s; \
4818 $(SET_LIB_PATH) \
4819 (cd snavigator; $(MAKE) $(FLAGS_TO_PASS) all)
4822 .PHONY: check-snavigator
4823 check-snavigator:
4824 @r=`${PWD}`; export r; \
4825 s=`cd $(srcdir); ${PWD}`; export s; \
4826 $(SET_LIB_PATH) \
4827 (cd snavigator; $(MAKE) $(FLAGS_TO_PASS) check)
4831 .PHONY: install-snavigator maybe-install-snavigator
4832 maybe-install-snavigator:
4833 install-snavigator: installdirs
4834 @r=`${PWD}`; export r; \
4835 s=`cd $(srcdir); ${PWD}`; export s; \
4836 $(SET_LIB_PATH) \
4837 (cd snavigator; $(MAKE) $(FLAGS_TO_PASS) install)
4840 .PHONY: configure-tar maybe-configure-tar
4841 maybe-configure-tar:
4842 configure-tar: tar/Makefile
4844 tar/Makefile: config.status
4845 @[ -d tar ] || mkdir tar; \
4846 r=`${PWD}`; export r; \
4847 s=`cd $(srcdir); ${PWD}`; export s; \
4848 CC="$(CC)"; export CC; \
4849 CFLAGS="$(CFLAGS)"; export CFLAGS; \
4850 CXX="$(CXX)"; export CXX; \
4851 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
4852 if [ z$(build_canonical) != z$(host_canoncial) ] ; then \
4853 AR="$(AR)"; export AR; \
4854 AS="$(AS)"; export AS; \
4855 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
4856 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
4857 LD="$(LD)"; export LD; \
4858 NM="$(NM)"; export NM; \
4859 RANLIB="$(RANLIB)"; export RANLIB; \
4860 WINDRES="$(WINDRES)"; export WINDRES; \
4861 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
4862 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
4863 fi; \
4864 echo Configuring in tar; \
4865 cd tar || exit 1; \
4866 case $(srcdir) in \
4867 \.) \
4868 srcdiroption="--srcdir=."; \
4869 libsrcdir=".";; \
4870 /* | [A-Za-z]:[\\/]*) \
4871 srcdiroption="--srcdir=$(srcdir)/tar"; \
4872 libsrcdir="$$s/tar";; \
4873 *) \
4874 srcdiroption="--srcdir=../$(srcdir)/tar"; \
4875 libsrcdir="$$s/tar";; \
4876 esac; \
4877 $(SHELL) $${libsrcdir}/configure \
4878 $(HOST_CONFIGARGS) $${srcdiroption} \
4879 || exit 1
4881 .PHONY: all-tar maybe-all-tar
4882 maybe-all-tar:
4883 all-tar: configure-tar
4884 @r=`${PWD}`; export r; \
4885 s=`cd $(srcdir); ${PWD}`; export s; \
4886 $(SET_LIB_PATH) \
4887 (cd tar; $(MAKE) $(FLAGS_TO_PASS) all)
4890 .PHONY: check-tar
4891 check-tar:
4892 @r=`${PWD}`; export r; \
4893 s=`cd $(srcdir); ${PWD}`; export s; \
4894 $(SET_LIB_PATH) \
4895 (cd tar; $(MAKE) $(FLAGS_TO_PASS) check)
4899 .PHONY: install-tar maybe-install-tar
4900 maybe-install-tar:
4901 install-tar: installdirs
4902 @r=`${PWD}`; export r; \
4903 s=`cd $(srcdir); ${PWD}`; export s; \
4904 $(SET_LIB_PATH) \
4905 (cd tar; $(MAKE) $(FLAGS_TO_PASS) install)
4908 .PHONY: configure-texinfo maybe-configure-texinfo
4909 maybe-configure-texinfo:
4910 configure-texinfo: texinfo/Makefile
4912 texinfo/Makefile: config.status
4913 @[ -d texinfo ] || mkdir texinfo; \
4914 r=`${PWD}`; export r; \
4915 s=`cd $(srcdir); ${PWD}`; export s; \
4916 CC="$(CC)"; export CC; \
4917 CFLAGS="$(CFLAGS)"; export CFLAGS; \
4918 CXX="$(CXX)"; export CXX; \
4919 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
4920 if [ z$(build_canonical) != z$(host_canoncial) ] ; then \
4921 AR="$(AR)"; export AR; \
4922 AS="$(AS)"; export AS; \
4923 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
4924 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
4925 LD="$(LD)"; export LD; \
4926 NM="$(NM)"; export NM; \
4927 RANLIB="$(RANLIB)"; export RANLIB; \
4928 WINDRES="$(WINDRES)"; export WINDRES; \
4929 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
4930 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
4931 fi; \
4932 echo Configuring in texinfo; \
4933 cd texinfo || exit 1; \
4934 case $(srcdir) in \
4935 \.) \
4936 srcdiroption="--srcdir=."; \
4937 libsrcdir=".";; \
4938 /* | [A-Za-z]:[\\/]*) \
4939 srcdiroption="--srcdir=$(srcdir)/texinfo"; \
4940 libsrcdir="$$s/texinfo";; \
4941 *) \
4942 srcdiroption="--srcdir=../$(srcdir)/texinfo"; \
4943 libsrcdir="$$s/texinfo";; \
4944 esac; \
4945 $(SHELL) $${libsrcdir}/configure \
4946 $(HOST_CONFIGARGS) $${srcdiroption} \
4947 || exit 1
4949 .PHONY: all-texinfo maybe-all-texinfo
4950 maybe-all-texinfo:
4951 all-texinfo: configure-texinfo
4952 @r=`${PWD}`; export r; \
4953 s=`cd $(srcdir); ${PWD}`; export s; \
4954 $(SET_LIB_PATH) \
4955 (cd texinfo; $(MAKE) $(FLAGS_TO_PASS) all)
4958 .PHONY: check-texinfo
4959 check-texinfo:
4960 @r=`${PWD}`; export r; \
4961 s=`cd $(srcdir); ${PWD}`; export s; \
4962 $(SET_LIB_PATH) \
4963 (cd texinfo; $(MAKE) $(FLAGS_TO_PASS) check)
4967 .PHONY: install-texinfo maybe-install-texinfo
4968 maybe-install-texinfo:
4969 install-texinfo:
4972 .PHONY: configure-textutils maybe-configure-textutils
4973 maybe-configure-textutils:
4974 configure-textutils: textutils/Makefile
4976 textutils/Makefile: config.status
4977 @[ -d textutils ] || mkdir textutils; \
4978 r=`${PWD}`; export r; \
4979 s=`cd $(srcdir); ${PWD}`; export s; \
4980 CC="$(CC)"; export CC; \
4981 CFLAGS="$(CFLAGS)"; export CFLAGS; \
4982 CXX="$(CXX)"; export CXX; \
4983 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
4984 if [ z$(build_canonical) != z$(host_canoncial) ] ; then \
4985 AR="$(AR)"; export AR; \
4986 AS="$(AS)"; export AS; \
4987 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
4988 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
4989 LD="$(LD)"; export LD; \
4990 NM="$(NM)"; export NM; \
4991 RANLIB="$(RANLIB)"; export RANLIB; \
4992 WINDRES="$(WINDRES)"; export WINDRES; \
4993 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
4994 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
4995 fi; \
4996 echo Configuring in textutils; \
4997 cd textutils || exit 1; \
4998 case $(srcdir) in \
4999 \.) \
5000 srcdiroption="--srcdir=."; \
5001 libsrcdir=".";; \
5002 /* | [A-Za-z]:[\\/]*) \
5003 srcdiroption="--srcdir=$(srcdir)/textutils"; \
5004 libsrcdir="$$s/textutils";; \
5005 *) \
5006 srcdiroption="--srcdir=../$(srcdir)/textutils"; \
5007 libsrcdir="$$s/textutils";; \
5008 esac; \
5009 $(SHELL) $${libsrcdir}/configure \
5010 $(HOST_CONFIGARGS) $${srcdiroption} \
5011 || exit 1
5013 .PHONY: all-textutils maybe-all-textutils
5014 maybe-all-textutils:
5015 all-textutils: configure-textutils
5016 @r=`${PWD}`; export r; \
5017 s=`cd $(srcdir); ${PWD}`; export s; \
5018 $(SET_LIB_PATH) \
5019 (cd textutils; $(MAKE) $(FLAGS_TO_PASS) all)
5022 .PHONY: check-textutils
5023 check-textutils:
5024 @r=`${PWD}`; export r; \
5025 s=`cd $(srcdir); ${PWD}`; export s; \
5026 $(SET_LIB_PATH) \
5027 (cd textutils; $(MAKE) $(FLAGS_TO_PASS) check)
5031 .PHONY: install-textutils maybe-install-textutils
5032 maybe-install-textutils:
5033 install-textutils: installdirs
5034 @r=`${PWD}`; export r; \
5035 s=`cd $(srcdir); ${PWD}`; export s; \
5036 $(SET_LIB_PATH) \
5037 (cd textutils; $(MAKE) $(FLAGS_TO_PASS) install)
5040 .PHONY: configure-time maybe-configure-time
5041 maybe-configure-time:
5042 configure-time: time/Makefile
5044 time/Makefile: config.status
5045 @[ -d time ] || mkdir time; \
5046 r=`${PWD}`; export r; \
5047 s=`cd $(srcdir); ${PWD}`; export s; \
5048 CC="$(CC)"; export CC; \
5049 CFLAGS="$(CFLAGS)"; export CFLAGS; \
5050 CXX="$(CXX)"; export CXX; \
5051 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
5052 if [ z$(build_canonical) != z$(host_canoncial) ] ; then \
5053 AR="$(AR)"; export AR; \
5054 AS="$(AS)"; export AS; \
5055 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
5056 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
5057 LD="$(LD)"; export LD; \
5058 NM="$(NM)"; export NM; \
5059 RANLIB="$(RANLIB)"; export RANLIB; \
5060 WINDRES="$(WINDRES)"; export WINDRES; \
5061 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
5062 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
5063 fi; \
5064 echo Configuring in time; \
5065 cd time || exit 1; \
5066 case $(srcdir) in \
5067 \.) \
5068 srcdiroption="--srcdir=."; \
5069 libsrcdir=".";; \
5070 /* | [A-Za-z]:[\\/]*) \
5071 srcdiroption="--srcdir=$(srcdir)/time"; \
5072 libsrcdir="$$s/time";; \
5073 *) \
5074 srcdiroption="--srcdir=../$(srcdir)/time"; \
5075 libsrcdir="$$s/time";; \
5076 esac; \
5077 $(SHELL) $${libsrcdir}/configure \
5078 $(HOST_CONFIGARGS) $${srcdiroption} \
5079 || exit 1
5081 .PHONY: all-time maybe-all-time
5082 maybe-all-time:
5083 all-time: configure-time
5084 @r=`${PWD}`; export r; \
5085 s=`cd $(srcdir); ${PWD}`; export s; \
5086 $(SET_LIB_PATH) \
5087 (cd time; $(MAKE) $(FLAGS_TO_PASS) all)
5090 .PHONY: check-time
5091 check-time:
5092 @r=`${PWD}`; export r; \
5093 s=`cd $(srcdir); ${PWD}`; export s; \
5094 $(SET_LIB_PATH) \
5095 (cd time; $(MAKE) $(FLAGS_TO_PASS) check)
5099 .PHONY: install-time maybe-install-time
5100 maybe-install-time:
5101 install-time: installdirs
5102 @r=`${PWD}`; export r; \
5103 s=`cd $(srcdir); ${PWD}`; export s; \
5104 $(SET_LIB_PATH) \
5105 (cd time; $(MAKE) $(FLAGS_TO_PASS) install)
5108 .PHONY: configure-uudecode maybe-configure-uudecode
5109 maybe-configure-uudecode:
5110 configure-uudecode: uudecode/Makefile
5112 uudecode/Makefile: config.status
5113 @[ -d uudecode ] || mkdir uudecode; \
5114 r=`${PWD}`; export r; \
5115 s=`cd $(srcdir); ${PWD}`; export s; \
5116 CC="$(CC)"; export CC; \
5117 CFLAGS="$(CFLAGS)"; export CFLAGS; \
5118 CXX="$(CXX)"; export CXX; \
5119 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
5120 if [ z$(build_canonical) != z$(host_canoncial) ] ; then \
5121 AR="$(AR)"; export AR; \
5122 AS="$(AS)"; export AS; \
5123 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
5124 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
5125 LD="$(LD)"; export LD; \
5126 NM="$(NM)"; export NM; \
5127 RANLIB="$(RANLIB)"; export RANLIB; \
5128 WINDRES="$(WINDRES)"; export WINDRES; \
5129 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
5130 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
5131 fi; \
5132 echo Configuring in uudecode; \
5133 cd uudecode || exit 1; \
5134 case $(srcdir) in \
5135 \.) \
5136 srcdiroption="--srcdir=."; \
5137 libsrcdir=".";; \
5138 /* | [A-Za-z]:[\\/]*) \
5139 srcdiroption="--srcdir=$(srcdir)/uudecode"; \
5140 libsrcdir="$$s/uudecode";; \
5141 *) \
5142 srcdiroption="--srcdir=../$(srcdir)/uudecode"; \
5143 libsrcdir="$$s/uudecode";; \
5144 esac; \
5145 $(SHELL) $${libsrcdir}/configure \
5146 $(HOST_CONFIGARGS) $${srcdiroption} \
5147 || exit 1
5149 .PHONY: all-uudecode maybe-all-uudecode
5150 maybe-all-uudecode:
5151 all-uudecode: configure-uudecode
5152 @r=`${PWD}`; export r; \
5153 s=`cd $(srcdir); ${PWD}`; export s; \
5154 $(SET_LIB_PATH) \
5155 (cd uudecode; $(MAKE) $(FLAGS_TO_PASS) all)
5158 .PHONY: check-uudecode
5159 check-uudecode:
5160 @r=`${PWD}`; export r; \
5161 s=`cd $(srcdir); ${PWD}`; export s; \
5162 $(SET_LIB_PATH) \
5163 (cd uudecode; $(MAKE) $(FLAGS_TO_PASS) check)
5167 .PHONY: install-uudecode maybe-install-uudecode
5168 maybe-install-uudecode:
5169 install-uudecode: installdirs
5170 @r=`${PWD}`; export r; \
5171 s=`cd $(srcdir); ${PWD}`; export s; \
5172 $(SET_LIB_PATH) \
5173 (cd uudecode; $(MAKE) $(FLAGS_TO_PASS) install)
5176 .PHONY: configure-wdiff maybe-configure-wdiff
5177 maybe-configure-wdiff:
5178 configure-wdiff: wdiff/Makefile
5180 wdiff/Makefile: config.status
5181 @[ -d wdiff ] || mkdir wdiff; \
5182 r=`${PWD}`; export r; \
5183 s=`cd $(srcdir); ${PWD}`; export s; \
5184 CC="$(CC)"; export CC; \
5185 CFLAGS="$(CFLAGS)"; export CFLAGS; \
5186 CXX="$(CXX)"; export CXX; \
5187 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
5188 if [ z$(build_canonical) != z$(host_canoncial) ] ; then \
5189 AR="$(AR)"; export AR; \
5190 AS="$(AS)"; export AS; \
5191 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
5192 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
5193 LD="$(LD)"; export LD; \
5194 NM="$(NM)"; export NM; \
5195 RANLIB="$(RANLIB)"; export RANLIB; \
5196 WINDRES="$(WINDRES)"; export WINDRES; \
5197 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
5198 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
5199 fi; \
5200 echo Configuring in wdiff; \
5201 cd wdiff || exit 1; \
5202 case $(srcdir) in \
5203 \.) \
5204 srcdiroption="--srcdir=."; \
5205 libsrcdir=".";; \
5206 /* | [A-Za-z]:[\\/]*) \
5207 srcdiroption="--srcdir=$(srcdir)/wdiff"; \
5208 libsrcdir="$$s/wdiff";; \
5209 *) \
5210 srcdiroption="--srcdir=../$(srcdir)/wdiff"; \
5211 libsrcdir="$$s/wdiff";; \
5212 esac; \
5213 $(SHELL) $${libsrcdir}/configure \
5214 $(HOST_CONFIGARGS) $${srcdiroption} \
5215 || exit 1
5217 .PHONY: all-wdiff maybe-all-wdiff
5218 maybe-all-wdiff:
5219 all-wdiff: configure-wdiff
5220 @r=`${PWD}`; export r; \
5221 s=`cd $(srcdir); ${PWD}`; export s; \
5222 $(SET_LIB_PATH) \
5223 (cd wdiff; $(MAKE) $(FLAGS_TO_PASS) all)
5226 .PHONY: check-wdiff
5227 check-wdiff:
5228 @r=`${PWD}`; export r; \
5229 s=`cd $(srcdir); ${PWD}`; export s; \
5230 $(SET_LIB_PATH) \
5231 (cd wdiff; $(MAKE) $(FLAGS_TO_PASS) check)
5235 .PHONY: install-wdiff maybe-install-wdiff
5236 maybe-install-wdiff:
5237 install-wdiff: installdirs
5238 @r=`${PWD}`; export r; \
5239 s=`cd $(srcdir); ${PWD}`; export s; \
5240 $(SET_LIB_PATH) \
5241 (cd wdiff; $(MAKE) $(FLAGS_TO_PASS) install)
5244 .PHONY: configure-zip maybe-configure-zip
5245 maybe-configure-zip:
5246 configure-zip: zip/Makefile
5248 zip/Makefile: config.status
5249 @[ -d zip ] || mkdir zip; \
5250 r=`${PWD}`; export r; \
5251 s=`cd $(srcdir); ${PWD}`; export s; \
5252 CC="$(CC)"; export CC; \
5253 CFLAGS="$(CFLAGS)"; export CFLAGS; \
5254 CXX="$(CXX)"; export CXX; \
5255 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
5256 if [ z$(build_canonical) != z$(host_canoncial) ] ; then \
5257 AR="$(AR)"; export AR; \
5258 AS="$(AS)"; export AS; \
5259 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
5260 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
5261 LD="$(LD)"; export LD; \
5262 NM="$(NM)"; export NM; \
5263 RANLIB="$(RANLIB)"; export RANLIB; \
5264 WINDRES="$(WINDRES)"; export WINDRES; \
5265 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
5266 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
5267 fi; \
5268 echo Configuring in zip; \
5269 cd zip || exit 1; \
5270 case $(srcdir) in \
5271 \.) \
5272 srcdiroption="--srcdir=."; \
5273 libsrcdir=".";; \
5274 /* | [A-Za-z]:[\\/]*) \
5275 srcdiroption="--srcdir=$(srcdir)/zip"; \
5276 libsrcdir="$$s/zip";; \
5277 *) \
5278 srcdiroption="--srcdir=../$(srcdir)/zip"; \
5279 libsrcdir="$$s/zip";; \
5280 esac; \
5281 $(SHELL) $${libsrcdir}/configure \
5282 $(HOST_CONFIGARGS) $${srcdiroption} \
5283 || exit 1
5285 .PHONY: all-zip maybe-all-zip
5286 maybe-all-zip:
5287 all-zip: configure-zip
5288 @r=`${PWD}`; export r; \
5289 s=`cd $(srcdir); ${PWD}`; export s; \
5290 $(SET_LIB_PATH) \
5291 (cd zip; $(MAKE) $(FLAGS_TO_PASS) all)
5294 .PHONY: check-zip
5295 # This module is only tested in a native toolchain.
5296 check-zip:
5297 @if [ '$(host_canonical)' = '$(target_canonical)' ] ; then \
5298 r=`${PWD}`; export r; \
5299 s=`cd $(srcdir); ${PWD}`; export s; \
5300 $(SET_LIB_PATH) \
5301 (cd zip; $(MAKE) $(FLAGS_TO_PASS) check); \
5306 .PHONY: install-zip maybe-install-zip
5307 maybe-install-zip:
5308 install-zip: installdirs
5309 @r=`${PWD}`; export r; \
5310 s=`cd $(srcdir); ${PWD}`; export s; \
5311 $(SET_LIB_PATH) \
5312 (cd zip; $(MAKE) $(FLAGS_TO_PASS) install)
5315 .PHONY: configure-zlib maybe-configure-zlib
5316 maybe-configure-zlib:
5317 configure-zlib: zlib/Makefile
5319 zlib/Makefile: config.status
5320 @[ -d zlib ] || mkdir zlib; \
5321 r=`${PWD}`; export r; \
5322 s=`cd $(srcdir); ${PWD}`; export s; \
5323 CC="$(CC)"; export CC; \
5324 CFLAGS="$(CFLAGS)"; export CFLAGS; \
5325 CXX="$(CXX)"; export CXX; \
5326 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
5327 if [ z$(build_canonical) != z$(host_canoncial) ] ; then \
5328 AR="$(AR)"; export AR; \
5329 AS="$(AS)"; export AS; \
5330 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
5331 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
5332 LD="$(LD)"; export LD; \
5333 NM="$(NM)"; export NM; \
5334 RANLIB="$(RANLIB)"; export RANLIB; \
5335 WINDRES="$(WINDRES)"; export WINDRES; \
5336 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
5337 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
5338 fi; \
5339 echo Configuring in zlib; \
5340 cd zlib || exit 1; \
5341 case $(srcdir) in \
5342 \.) \
5343 srcdiroption="--srcdir=."; \
5344 libsrcdir=".";; \
5345 /* | [A-Za-z]:[\\/]*) \
5346 srcdiroption="--srcdir=$(srcdir)/zlib"; \
5347 libsrcdir="$$s/zlib";; \
5348 *) \
5349 srcdiroption="--srcdir=../$(srcdir)/zlib"; \
5350 libsrcdir="$$s/zlib";; \
5351 esac; \
5352 $(SHELL) $${libsrcdir}/configure \
5353 $(HOST_CONFIGARGS) $${srcdiroption} \
5354 || exit 1
5356 .PHONY: all-zlib maybe-all-zlib
5357 maybe-all-zlib:
5358 all-zlib: configure-zlib
5359 @r=`${PWD}`; export r; \
5360 s=`cd $(srcdir); ${PWD}`; export s; \
5361 $(SET_LIB_PATH) \
5362 (cd zlib; $(MAKE) $(FLAGS_TO_PASS) all)
5365 .PHONY: check-zlib
5366 check-zlib:
5370 .PHONY: install-zlib maybe-install-zlib
5371 maybe-install-zlib:
5372 install-zlib:
5375 .PHONY: configure-gdb maybe-configure-gdb
5376 maybe-configure-gdb:
5377 configure-gdb: gdb/Makefile
5379 gdb/Makefile: config.status
5380 @[ -d gdb ] || mkdir gdb; \
5381 r=`${PWD}`; export r; \
5382 s=`cd $(srcdir); ${PWD}`; export s; \
5383 CC="$(CC)"; export CC; \
5384 CFLAGS="$(CFLAGS)"; export CFLAGS; \
5385 CXX="$(CXX)"; export CXX; \
5386 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
5387 if [ z$(build_canonical) != z$(host_canoncial) ] ; then \
5388 AR="$(AR)"; export AR; \
5389 AS="$(AS)"; export AS; \
5390 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
5391 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
5392 LD="$(LD)"; export LD; \
5393 NM="$(NM)"; export NM; \
5394 RANLIB="$(RANLIB)"; export RANLIB; \
5395 WINDRES="$(WINDRES)"; export WINDRES; \
5396 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
5397 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
5398 fi; \
5399 echo Configuring in gdb; \
5400 cd gdb || exit 1; \
5401 case $(srcdir) in \
5402 \.) \
5403 srcdiroption="--srcdir=."; \
5404 libsrcdir=".";; \
5405 /* | [A-Za-z]:[\\/]*) \
5406 srcdiroption="--srcdir=$(srcdir)/gdb"; \
5407 libsrcdir="$$s/gdb";; \
5408 *) \
5409 srcdiroption="--srcdir=../$(srcdir)/gdb"; \
5410 libsrcdir="$$s/gdb";; \
5411 esac; \
5412 $(SHELL) $${libsrcdir}/configure \
5413 $(HOST_CONFIGARGS) $${srcdiroption} \
5414 || exit 1
5416 .PHONY: all-gdb maybe-all-gdb
5417 maybe-all-gdb:
5418 all-gdb: configure-gdb
5419 @r=`${PWD}`; export r; \
5420 s=`cd $(srcdir); ${PWD}`; export s; \
5421 $(SET_LIB_PATH) \
5422 (cd gdb; $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) all)
5425 .PHONY: check-gdb
5426 check-gdb:
5427 @r=`${PWD}`; export r; \
5428 s=`cd $(srcdir); ${PWD}`; export s; \
5429 $(SET_LIB_PATH) \
5430 (cd gdb; $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) check)
5434 .PHONY: install-gdb maybe-install-gdb
5435 maybe-install-gdb:
5436 install-gdb: installdirs
5437 @r=`${PWD}`; export r; \
5438 s=`cd $(srcdir); ${PWD}`; export s; \
5439 $(SET_LIB_PATH) \
5440 (cd gdb; $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) install)
5443 .PHONY: configure-expect maybe-configure-expect
5444 maybe-configure-expect:
5445 configure-expect: expect/Makefile
5447 expect/Makefile: config.status
5448 @[ -d expect ] || mkdir expect; \
5449 r=`${PWD}`; export r; \
5450 s=`cd $(srcdir); ${PWD}`; export s; \
5451 CC="$(CC)"; export CC; \
5452 CFLAGS="$(CFLAGS)"; export CFLAGS; \
5453 CXX="$(CXX)"; export CXX; \
5454 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
5455 if [ z$(build_canonical) != z$(host_canoncial) ] ; then \
5456 AR="$(AR)"; export AR; \
5457 AS="$(AS)"; export AS; \
5458 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
5459 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
5460 LD="$(LD)"; export LD; \
5461 NM="$(NM)"; export NM; \
5462 RANLIB="$(RANLIB)"; export RANLIB; \
5463 WINDRES="$(WINDRES)"; export WINDRES; \
5464 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
5465 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
5466 fi; \
5467 echo Configuring in expect; \
5468 cd expect || exit 1; \
5469 case $(srcdir) in \
5470 \.) \
5471 srcdiroption="--srcdir=."; \
5472 libsrcdir=".";; \
5473 /* | [A-Za-z]:[\\/]*) \
5474 srcdiroption="--srcdir=$(srcdir)/expect"; \
5475 libsrcdir="$$s/expect";; \
5476 *) \
5477 srcdiroption="--srcdir=../$(srcdir)/expect"; \
5478 libsrcdir="$$s/expect";; \
5479 esac; \
5480 $(SHELL) $${libsrcdir}/configure \
5481 $(HOST_CONFIGARGS) $${srcdiroption} \
5482 || exit 1
5484 .PHONY: all-expect maybe-all-expect
5485 maybe-all-expect:
5486 all-expect: configure-expect
5487 @r=`${PWD}`; export r; \
5488 s=`cd $(srcdir); ${PWD}`; export s; \
5489 $(SET_LIB_PATH) \
5490 (cd expect; $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) all)
5493 .PHONY: check-expect
5494 check-expect:
5495 @r=`${PWD}`; export r; \
5496 s=`cd $(srcdir); ${PWD}`; export s; \
5497 $(SET_LIB_PATH) \
5498 (cd expect; $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) check)
5502 .PHONY: install-expect maybe-install-expect
5503 maybe-install-expect:
5504 install-expect: installdirs
5505 @r=`${PWD}`; export r; \
5506 s=`cd $(srcdir); ${PWD}`; export s; \
5507 $(SET_LIB_PATH) \
5508 (cd expect; $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) install)
5511 .PHONY: configure-guile maybe-configure-guile
5512 maybe-configure-guile:
5513 configure-guile: guile/Makefile
5515 guile/Makefile: config.status
5516 @[ -d guile ] || mkdir guile; \
5517 r=`${PWD}`; export r; \
5518 s=`cd $(srcdir); ${PWD}`; export s; \
5519 CC="$(CC)"; export CC; \
5520 CFLAGS="$(CFLAGS)"; export CFLAGS; \
5521 CXX="$(CXX)"; export CXX; \
5522 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
5523 if [ z$(build_canonical) != z$(host_canoncial) ] ; then \
5524 AR="$(AR)"; export AR; \
5525 AS="$(AS)"; export AS; \
5526 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
5527 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
5528 LD="$(LD)"; export LD; \
5529 NM="$(NM)"; export NM; \
5530 RANLIB="$(RANLIB)"; export RANLIB; \
5531 WINDRES="$(WINDRES)"; export WINDRES; \
5532 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
5533 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
5534 fi; \
5535 echo Configuring in guile; \
5536 cd guile || exit 1; \
5537 case $(srcdir) in \
5538 \.) \
5539 srcdiroption="--srcdir=."; \
5540 libsrcdir=".";; \
5541 /* | [A-Za-z]:[\\/]*) \
5542 srcdiroption="--srcdir=$(srcdir)/guile"; \
5543 libsrcdir="$$s/guile";; \
5544 *) \
5545 srcdiroption="--srcdir=../$(srcdir)/guile"; \
5546 libsrcdir="$$s/guile";; \
5547 esac; \
5548 $(SHELL) $${libsrcdir}/configure \
5549 $(HOST_CONFIGARGS) $${srcdiroption} \
5550 || exit 1
5552 .PHONY: all-guile maybe-all-guile
5553 maybe-all-guile:
5554 all-guile: configure-guile
5555 @r=`${PWD}`; export r; \
5556 s=`cd $(srcdir); ${PWD}`; export s; \
5557 $(SET_LIB_PATH) \
5558 (cd guile; $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) all)
5561 .PHONY: check-guile
5562 check-guile:
5563 @r=`${PWD}`; export r; \
5564 s=`cd $(srcdir); ${PWD}`; export s; \
5565 $(SET_LIB_PATH) \
5566 (cd guile; $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) check)
5570 .PHONY: install-guile maybe-install-guile
5571 maybe-install-guile:
5572 install-guile: installdirs
5573 @r=`${PWD}`; export r; \
5574 s=`cd $(srcdir); ${PWD}`; export s; \
5575 $(SET_LIB_PATH) \
5576 (cd guile; $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) install)
5579 .PHONY: configure-tk maybe-configure-tk
5580 maybe-configure-tk:
5581 configure-tk: tk/Makefile
5583 tk/Makefile: config.status
5584 @[ -d tk ] || mkdir tk; \
5585 r=`${PWD}`; export r; \
5586 s=`cd $(srcdir); ${PWD}`; export s; \
5587 CC="$(CC)"; export CC; \
5588 CFLAGS="$(CFLAGS)"; export CFLAGS; \
5589 CXX="$(CXX)"; export CXX; \
5590 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
5591 if [ z$(build_canonical) != z$(host_canoncial) ] ; then \
5592 AR="$(AR)"; export AR; \
5593 AS="$(AS)"; export AS; \
5594 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
5595 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
5596 LD="$(LD)"; export LD; \
5597 NM="$(NM)"; export NM; \
5598 RANLIB="$(RANLIB)"; export RANLIB; \
5599 WINDRES="$(WINDRES)"; export WINDRES; \
5600 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
5601 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
5602 fi; \
5603 echo Configuring in tk; \
5604 cd tk || exit 1; \
5605 case $(srcdir) in \
5606 \.) \
5607 srcdiroption="--srcdir=."; \
5608 libsrcdir=".";; \
5609 /* | [A-Za-z]:[\\/]*) \
5610 srcdiroption="--srcdir=$(srcdir)/tk"; \
5611 libsrcdir="$$s/tk";; \
5612 *) \
5613 srcdiroption="--srcdir=../$(srcdir)/tk"; \
5614 libsrcdir="$$s/tk";; \
5615 esac; \
5616 $(SHELL) $${libsrcdir}/configure \
5617 $(HOST_CONFIGARGS) $${srcdiroption} \
5618 || exit 1
5620 .PHONY: all-tk maybe-all-tk
5621 maybe-all-tk:
5622 all-tk: configure-tk
5623 @r=`${PWD}`; export r; \
5624 s=`cd $(srcdir); ${PWD}`; export s; \
5625 $(SET_LIB_PATH) \
5626 (cd tk; $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) all)
5629 .PHONY: check-tk
5630 check-tk:
5631 @r=`${PWD}`; export r; \
5632 s=`cd $(srcdir); ${PWD}`; export s; \
5633 $(SET_LIB_PATH) \
5634 (cd tk; $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) check)
5638 .PHONY: install-tk maybe-install-tk
5639 maybe-install-tk:
5640 install-tk: installdirs
5641 @r=`${PWD}`; export r; \
5642 s=`cd $(srcdir); ${PWD}`; export s; \
5643 $(SET_LIB_PATH) \
5644 (cd tk; $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) install)
5647 .PHONY: configure-tix maybe-configure-tix
5648 maybe-configure-tix:
5649 configure-tix: tix/Makefile
5651 tix/Makefile: config.status
5652 @[ -d tix ] || mkdir tix; \
5653 r=`${PWD}`; export r; \
5654 s=`cd $(srcdir); ${PWD}`; export s; \
5655 CC="$(CC)"; export CC; \
5656 CFLAGS="$(CFLAGS)"; export CFLAGS; \
5657 CXX="$(CXX)"; export CXX; \
5658 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
5659 if [ z$(build_canonical) != z$(host_canoncial) ] ; then \
5660 AR="$(AR)"; export AR; \
5661 AS="$(AS)"; export AS; \
5662 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
5663 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
5664 LD="$(LD)"; export LD; \
5665 NM="$(NM)"; export NM; \
5666 RANLIB="$(RANLIB)"; export RANLIB; \
5667 WINDRES="$(WINDRES)"; export WINDRES; \
5668 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
5669 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
5670 fi; \
5671 echo Configuring in tix; \
5672 cd tix || exit 1; \
5673 case $(srcdir) in \
5674 \.) \
5675 srcdiroption="--srcdir=."; \
5676 libsrcdir=".";; \
5677 /* | [A-Za-z]:[\\/]*) \
5678 srcdiroption="--srcdir=$(srcdir)/tix"; \
5679 libsrcdir="$$s/tix";; \
5680 *) \
5681 srcdiroption="--srcdir=../$(srcdir)/tix"; \
5682 libsrcdir="$$s/tix";; \
5683 esac; \
5684 $(SHELL) $${libsrcdir}/configure \
5685 $(HOST_CONFIGARGS) $${srcdiroption} \
5686 || exit 1
5688 .PHONY: all-tix maybe-all-tix
5689 maybe-all-tix:
5690 all-tix: configure-tix
5691 @r=`${PWD}`; export r; \
5692 s=`cd $(srcdir); ${PWD}`; export s; \
5693 $(SET_LIB_PATH) \
5694 (cd tix; $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) all)
5697 .PHONY: check-tix
5698 check-tix:
5699 @r=`${PWD}`; export r; \
5700 s=`cd $(srcdir); ${PWD}`; export s; \
5701 $(SET_LIB_PATH) \
5702 (cd tix; $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) check)
5706 .PHONY: install-tix maybe-install-tix
5707 maybe-install-tix:
5708 install-tix: installdirs
5709 @r=`${PWD}`; export r; \
5710 s=`cd $(srcdir); ${PWD}`; export s; \
5711 $(SET_LIB_PATH) \
5712 (cd tix; $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) install)
5715 .PHONY: configure-libtermcap maybe-configure-libtermcap
5716 maybe-configure-libtermcap:
5717 configure-libtermcap: libtermcap/Makefile
5719 libtermcap/Makefile: config.status
5720 @[ -d libtermcap ] || mkdir libtermcap; \
5721 r=`${PWD}`; export r; \
5722 s=`cd $(srcdir); ${PWD}`; export s; \
5723 CC="$(CC)"; export CC; \
5724 CFLAGS="$(CFLAGS)"; export CFLAGS; \
5725 CXX="$(CXX)"; export CXX; \
5726 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
5727 if [ z$(build_canonical) != z$(host_canoncial) ] ; then \
5728 AR="$(AR)"; export AR; \
5729 AS="$(AS)"; export AS; \
5730 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
5731 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
5732 LD="$(LD)"; export LD; \
5733 NM="$(NM)"; export NM; \
5734 RANLIB="$(RANLIB)"; export RANLIB; \
5735 WINDRES="$(WINDRES)"; export WINDRES; \
5736 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
5737 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
5738 fi; \
5739 echo Configuring in libtermcap; \
5740 cd libtermcap || exit 1; \
5741 case $(srcdir) in \
5742 \.) \
5743 srcdiroption="--srcdir=."; \
5744 libsrcdir=".";; \
5745 /* | [A-Za-z]:[\\/]*) \
5746 srcdiroption="--srcdir=$(srcdir)/libtermcap"; \
5747 libsrcdir="$$s/libtermcap";; \
5748 *) \
5749 srcdiroption="--srcdir=../$(srcdir)/libtermcap"; \
5750 libsrcdir="$$s/libtermcap";; \
5751 esac; \
5752 $(SHELL) $${libsrcdir}/configure \
5753 $(HOST_CONFIGARGS) $${srcdiroption} \
5754 || exit 1
5756 .PHONY: all-libtermcap maybe-all-libtermcap
5757 maybe-all-libtermcap:
5758 all-libtermcap: configure-libtermcap
5759 @r=`${PWD}`; export r; \
5760 s=`cd $(srcdir); ${PWD}`; export s; \
5761 $(SET_LIB_PATH) \
5762 (cd libtermcap; $(MAKE) $(FLAGS_TO_PASS) all)
5765 .PHONY: check-libtermcap
5766 check-libtermcap:
5770 .PHONY: install-libtermcap maybe-install-libtermcap
5771 maybe-install-libtermcap:
5772 install-libtermcap: installdirs
5773 @r=`${PWD}`; export r; \
5774 s=`cd $(srcdir); ${PWD}`; export s; \
5775 $(SET_LIB_PATH) \
5776 (cd libtermcap; $(MAKE) $(FLAGS_TO_PASS) install)
5779 .PHONY: configure-utils maybe-configure-utils
5780 maybe-configure-utils:
5781 configure-utils: utils/Makefile
5783 utils/Makefile: config.status
5784 @[ -d utils ] || mkdir utils; \
5785 r=`${PWD}`; export r; \
5786 s=`cd $(srcdir); ${PWD}`; export s; \
5787 CC="$(CC)"; export CC; \
5788 CFLAGS="$(CFLAGS)"; export CFLAGS; \
5789 CXX="$(CXX)"; export CXX; \
5790 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
5791 if [ z$(build_canonical) != z$(host_canoncial) ] ; then \
5792 AR="$(AR)"; export AR; \
5793 AS="$(AS)"; export AS; \
5794 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
5795 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
5796 LD="$(LD)"; export LD; \
5797 NM="$(NM)"; export NM; \
5798 RANLIB="$(RANLIB)"; export RANLIB; \
5799 WINDRES="$(WINDRES)"; export WINDRES; \
5800 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
5801 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
5802 fi; \
5803 echo Configuring in utils; \
5804 cd utils || exit 1; \
5805 case $(srcdir) in \
5806 \.) \
5807 srcdiroption="--srcdir=."; \
5808 libsrcdir=".";; \
5809 /* | [A-Za-z]:[\\/]*) \
5810 srcdiroption="--srcdir=$(srcdir)/utils"; \
5811 libsrcdir="$$s/utils";; \
5812 *) \
5813 srcdiroption="--srcdir=../$(srcdir)/utils"; \
5814 libsrcdir="$$s/utils";; \
5815 esac; \
5816 $(SHELL) $${libsrcdir}/configure \
5817 $(HOST_CONFIGARGS) $${srcdiroption} \
5818 || exit 1
5820 .PHONY: all-utils maybe-all-utils
5821 maybe-all-utils:
5822 all-utils: configure-utils
5823 @r=`${PWD}`; export r; \
5824 s=`cd $(srcdir); ${PWD}`; export s; \
5825 $(SET_LIB_PATH) \
5826 (cd utils; $(MAKE) $(FLAGS_TO_PASS) all)
5829 .PHONY: check-utils
5830 check-utils:
5834 .PHONY: install-utils maybe-install-utils
5835 maybe-install-utils:
5836 install-utils: installdirs
5837 @r=`${PWD}`; export r; \
5838 s=`cd $(srcdir); ${PWD}`; export s; \
5839 $(SET_LIB_PATH) \
5840 (cd utils; $(MAKE) $(FLAGS_TO_PASS) install)
5844 # ---------------------------------------
5845 # Modules which run on the target machine
5846 # ---------------------------------------
5848 .PHONY: configure-target-libstdc++-v3 maybe-configure-target-libstdc++-v3
5849 maybe-configure-target-libstdc++-v3:
5850 configure-target-libstdc++-v3: $(TARGET_SUBDIR)/libstdc++-v3/Makefile
5852 # Don't manually override CC_FOR_TARGET at make time; get it set right
5853 # at configure time. Otherwise multilibs may be wrong.
5854 $(TARGET_SUBDIR)/libstdc++-v3/multilib.out: maybe-all-gcc
5855 @[ -d $(TARGET_SUBDIR)/libstdc++-v3 ] || mkdir $(TARGET_SUBDIR)/libstdc++-v3;\
5856 r=`${PWD}`; export r; \
5857 echo "Configuring multilibs for libstdc++-v3"; \
5858 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.out 2> /dev/null
5860 $(TARGET_SUBDIR)/libstdc++-v3/Makefile: config.status $(TARGET_SUBDIR)/libstdc++-v3/multilib.out
5861 @[ -d $(TARGET_SUBDIR)/libstdc++-v3 ] || mkdir $(TARGET_SUBDIR)/libstdc++-v3;\
5862 r=`${PWD}`; export r; \
5863 s=`cd $(srcdir); ${PWD}`; export s; \
5864 $(SET_LIB_PATH) \
5865 AR="$(AR_FOR_TARGET)"; export AR; \
5866 AS="$(AS_FOR_TARGET)"; export AS; \
5867 CC="$(CC_FOR_TARGET)"; export CC; \
5868 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
5869 CXX_FOR_TARGET="$(RAW_CXX_FOR_TARGET)"; export CXX_FOR_TARGET; \
5870 CXX="$(RAW_CXX_FOR_TARGET)"; export CXX; \
5871 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
5872 GCJ="$(GCJ_FOR_TARGET)"; export GCJ; \
5873 DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \
5874 LD="$(LD_FOR_TARGET)"; export LD; \
5875 LDFLAGS="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS; \
5876 NM="$(NM_FOR_TARGET)"; export NM; \
5877 RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \
5878 WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES; \
5879 echo Configuring in $(TARGET_SUBDIR)/libstdc++-v3; \
5880 cd "$(TARGET_SUBDIR)/libstdc++-v3" || exit 1; \
5881 case $(srcdir) in \
5882 /* | [A-Za-z]:[\\/]*) \
5883 topdir=$(srcdir) ;; \
5884 *) \
5885 case "$(TARGET_SUBDIR)" in \
5886 .) topdir="../$(srcdir)" ;; \
5887 *) topdir="../../$(srcdir)" ;; \
5888 esac ;; \
5889 esac; \
5890 if [ "$(srcdir)" = "." ] ; then \
5891 if [ "$(TARGET_SUBDIR)" != "." ] ; then \
5892 if $(SHELL) $$s/symlink-tree $${topdir}/libstdc++-v3 "no-such-file" ; then \
5893 if [ -f Makefile ]; then \
5894 if $(MAKE) distclean; then \
5895 true; \
5896 else \
5897 exit 1; \
5898 fi; \
5899 else \
5900 true; \
5901 fi; \
5902 else \
5903 exit 1; \
5904 fi; \
5905 else \
5906 true; \
5907 fi; \
5908 srcdiroption="--srcdir=."; \
5909 libsrcdir="."; \
5910 else \
5911 srcdiroption="--srcdir=$${topdir}/libstdc++-v3"; \
5912 libsrcdir="$$s/libstdc++-v3"; \
5913 fi; \
5914 rm -f no-such-file || : ; \
5915 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
5916 $(TARGET_CONFIGARGS) $${srcdiroption} \
5917 --with-target-subdir="$(TARGET_SUBDIR)" \
5918 || exit 1
5920 .PHONY: all-target-libstdc++-v3 maybe-all-target-libstdc++-v3
5921 maybe-all-target-libstdc++-v3:
5922 all-target-libstdc++-v3: configure-target-libstdc++-v3
5923 @r=`${PWD}`; export r; \
5924 s=`cd $(srcdir); ${PWD}`; export s; \
5925 $(SET_LIB_PATH) \
5926 (cd $(TARGET_SUBDIR)/libstdc++-v3; \
5927 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' all)
5929 .PHONY: check-target-libstdc++-v3
5930 check-target-libstdc++-v3:
5931 @r=`${PWD}`; export r; \
5932 s=`cd $(srcdir); ${PWD}`; export s; \
5933 $(SET_LIB_PATH) \
5934 (cd $(TARGET_SUBDIR)/libstdc++-v3; \
5935 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' check)
5938 .PHONY: install-target-libstdc++-v3 maybe-install-target-libstdc++-v3
5939 maybe-install-target-libstdc++-v3:
5940 install-target-libstdc++-v3: installdirs
5941 @r=`${PWD}`; export r; \
5942 s=`cd $(srcdir); ${PWD}`; export s; \
5943 $(SET_LIB_PATH) \
5944 (cd $(TARGET_SUBDIR)/libstdc++-v3; \
5945 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
5948 .PHONY: configure-target-newlib maybe-configure-target-newlib
5949 maybe-configure-target-newlib:
5950 configure-target-newlib: $(TARGET_SUBDIR)/newlib/Makefile
5952 # Don't manually override CC_FOR_TARGET at make time; get it set right
5953 # at configure time. Otherwise multilibs may be wrong.
5954 $(TARGET_SUBDIR)/newlib/multilib.out: maybe-all-gcc
5955 @[ -d $(TARGET_SUBDIR)/newlib ] || mkdir $(TARGET_SUBDIR)/newlib;\
5956 r=`${PWD}`; export r; \
5957 echo "Configuring multilibs for newlib"; \
5958 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/newlib/multilib.out 2> /dev/null
5960 $(TARGET_SUBDIR)/newlib/Makefile: config.status $(TARGET_SUBDIR)/newlib/multilib.out
5961 @[ -d $(TARGET_SUBDIR)/newlib ] || mkdir $(TARGET_SUBDIR)/newlib;\
5962 r=`${PWD}`; export r; \
5963 s=`cd $(srcdir); ${PWD}`; export s; \
5964 $(SET_LIB_PATH) \
5965 AR="$(AR_FOR_TARGET)"; export AR; \
5966 AS="$(AS_FOR_TARGET)"; export AS; \
5967 CC="$(CC_FOR_TARGET)"; export CC; \
5968 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
5969 CXX="$(CXX_FOR_TARGET)"; export CXX; \
5970 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
5971 GCJ="$(GCJ_FOR_TARGET)"; export GCJ; \
5972 DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \
5973 LD="$(LD_FOR_TARGET)"; export LD; \
5974 LDFLAGS="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS; \
5975 NM="$(NM_FOR_TARGET)"; export NM; \
5976 RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \
5977 WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES; \
5978 echo Configuring in $(TARGET_SUBDIR)/newlib; \
5979 cd "$(TARGET_SUBDIR)/newlib" || exit 1; \
5980 case $(srcdir) in \
5981 /* | [A-Za-z]:[\\/]*) \
5982 topdir=$(srcdir) ;; \
5983 *) \
5984 case "$(TARGET_SUBDIR)" in \
5985 .) topdir="../$(srcdir)" ;; \
5986 *) topdir="../../$(srcdir)" ;; \
5987 esac ;; \
5988 esac; \
5989 if [ "$(srcdir)" = "." ] ; then \
5990 if [ "$(TARGET_SUBDIR)" != "." ] ; then \
5991 if $(SHELL) $$s/symlink-tree $${topdir}/newlib "no-such-file" ; then \
5992 if [ -f Makefile ]; then \
5993 if $(MAKE) distclean; then \
5994 true; \
5995 else \
5996 exit 1; \
5997 fi; \
5998 else \
5999 true; \
6000 fi; \
6001 else \
6002 exit 1; \
6003 fi; \
6004 else \
6005 true; \
6006 fi; \
6007 srcdiroption="--srcdir=."; \
6008 libsrcdir="."; \
6009 else \
6010 srcdiroption="--srcdir=$${topdir}/newlib"; \
6011 libsrcdir="$$s/newlib"; \
6012 fi; \
6013 rm -f no-such-file || : ; \
6014 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
6015 $(TARGET_CONFIGARGS) $${srcdiroption} \
6016 --with-target-subdir="$(TARGET_SUBDIR)" \
6017 || exit 1
6019 .PHONY: all-target-newlib maybe-all-target-newlib
6020 maybe-all-target-newlib:
6021 all-target-newlib: configure-target-newlib
6022 @r=`${PWD}`; export r; \
6023 s=`cd $(srcdir); ${PWD}`; export s; \
6024 $(SET_LIB_PATH) \
6025 (cd $(TARGET_SUBDIR)/newlib; \
6026 $(MAKE) $(TARGET_FLAGS_TO_PASS) all)
6028 .PHONY: check-target-newlib
6029 check-target-newlib:
6030 @r=`${PWD}`; export r; \
6031 s=`cd $(srcdir); ${PWD}`; export s; \
6032 $(SET_LIB_PATH) \
6033 (cd $(TARGET_SUBDIR)/newlib; \
6034 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
6037 .PHONY: install-target-newlib maybe-install-target-newlib
6038 maybe-install-target-newlib:
6039 install-target-newlib: installdirs
6040 @r=`${PWD}`; export r; \
6041 s=`cd $(srcdir); ${PWD}`; export s; \
6042 $(SET_LIB_PATH) \
6043 (cd $(TARGET_SUBDIR)/newlib; \
6044 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
6047 .PHONY: configure-target-libf2c maybe-configure-target-libf2c
6048 maybe-configure-target-libf2c:
6049 configure-target-libf2c: $(TARGET_SUBDIR)/libf2c/Makefile
6051 # Don't manually override CC_FOR_TARGET at make time; get it set right
6052 # at configure time. Otherwise multilibs may be wrong.
6053 $(TARGET_SUBDIR)/libf2c/multilib.out: maybe-all-gcc
6054 @[ -d $(TARGET_SUBDIR)/libf2c ] || mkdir $(TARGET_SUBDIR)/libf2c;\
6055 r=`${PWD}`; export r; \
6056 echo "Configuring multilibs for libf2c"; \
6057 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libf2c/multilib.out 2> /dev/null
6059 $(TARGET_SUBDIR)/libf2c/Makefile: config.status $(TARGET_SUBDIR)/libf2c/multilib.out
6060 @[ -d $(TARGET_SUBDIR)/libf2c ] || mkdir $(TARGET_SUBDIR)/libf2c;\
6061 r=`${PWD}`; export r; \
6062 s=`cd $(srcdir); ${PWD}`; export s; \
6063 $(SET_LIB_PATH) \
6064 AR="$(AR_FOR_TARGET)"; export AR; \
6065 AS="$(AS_FOR_TARGET)"; export AS; \
6066 CC="$(CC_FOR_TARGET)"; export CC; \
6067 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
6068 CXX="$(CXX_FOR_TARGET)"; export CXX; \
6069 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
6070 GCJ="$(GCJ_FOR_TARGET)"; export GCJ; \
6071 DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \
6072 LD="$(LD_FOR_TARGET)"; export LD; \
6073 LDFLAGS="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS; \
6074 NM="$(NM_FOR_TARGET)"; export NM; \
6075 RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \
6076 WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES; \
6077 echo Configuring in $(TARGET_SUBDIR)/libf2c; \
6078 cd "$(TARGET_SUBDIR)/libf2c" || exit 1; \
6079 case $(srcdir) in \
6080 /* | [A-Za-z]:[\\/]*) \
6081 topdir=$(srcdir) ;; \
6082 *) \
6083 case "$(TARGET_SUBDIR)" in \
6084 .) topdir="../$(srcdir)" ;; \
6085 *) topdir="../../$(srcdir)" ;; \
6086 esac ;; \
6087 esac; \
6088 if [ "$(srcdir)" = "." ] ; then \
6089 if [ "$(TARGET_SUBDIR)" != "." ] ; then \
6090 if $(SHELL) $$s/symlink-tree $${topdir}/libf2c "no-such-file" ; then \
6091 if [ -f Makefile ]; then \
6092 if $(MAKE) distclean; then \
6093 true; \
6094 else \
6095 exit 1; \
6096 fi; \
6097 else \
6098 true; \
6099 fi; \
6100 else \
6101 exit 1; \
6102 fi; \
6103 else \
6104 true; \
6105 fi; \
6106 srcdiroption="--srcdir=."; \
6107 libsrcdir="."; \
6108 else \
6109 srcdiroption="--srcdir=$${topdir}/libf2c"; \
6110 libsrcdir="$$s/libf2c"; \
6111 fi; \
6112 rm -f no-such-file || : ; \
6113 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
6114 $(TARGET_CONFIGARGS) $${srcdiroption} \
6115 --with-target-subdir="$(TARGET_SUBDIR)" \
6116 || exit 1
6118 .PHONY: all-target-libf2c maybe-all-target-libf2c
6119 maybe-all-target-libf2c:
6120 all-target-libf2c: configure-target-libf2c
6121 @r=`${PWD}`; export r; \
6122 s=`cd $(srcdir); ${PWD}`; export s; \
6123 $(SET_LIB_PATH) \
6124 (cd $(TARGET_SUBDIR)/libf2c; \
6125 $(MAKE) $(TARGET_FLAGS_TO_PASS) all)
6127 .PHONY: check-target-libf2c
6128 check-target-libf2c:
6129 @r=`${PWD}`; export r; \
6130 s=`cd $(srcdir); ${PWD}`; export s; \
6131 $(SET_LIB_PATH) \
6132 (cd $(TARGET_SUBDIR)/libf2c; \
6133 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
6136 .PHONY: install-target-libf2c maybe-install-target-libf2c
6137 maybe-install-target-libf2c:
6138 install-target-libf2c: installdirs
6139 @r=`${PWD}`; export r; \
6140 s=`cd $(srcdir); ${PWD}`; export s; \
6141 $(SET_LIB_PATH) \
6142 (cd $(TARGET_SUBDIR)/libf2c; \
6143 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
6146 .PHONY: configure-target-libobjc maybe-configure-target-libobjc
6147 maybe-configure-target-libobjc:
6148 configure-target-libobjc: $(TARGET_SUBDIR)/libobjc/Makefile
6150 # Don't manually override CC_FOR_TARGET at make time; get it set right
6151 # at configure time. Otherwise multilibs may be wrong.
6152 $(TARGET_SUBDIR)/libobjc/multilib.out: maybe-all-gcc
6153 @[ -d $(TARGET_SUBDIR)/libobjc ] || mkdir $(TARGET_SUBDIR)/libobjc;\
6154 r=`${PWD}`; export r; \
6155 echo "Configuring multilibs for libobjc"; \
6156 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libobjc/multilib.out 2> /dev/null
6158 $(TARGET_SUBDIR)/libobjc/Makefile: config.status $(TARGET_SUBDIR)/libobjc/multilib.out
6159 @[ -d $(TARGET_SUBDIR)/libobjc ] || mkdir $(TARGET_SUBDIR)/libobjc;\
6160 r=`${PWD}`; export r; \
6161 s=`cd $(srcdir); ${PWD}`; export s; \
6162 $(SET_LIB_PATH) \
6163 AR="$(AR_FOR_TARGET)"; export AR; \
6164 AS="$(AS_FOR_TARGET)"; export AS; \
6165 CC="$(CC_FOR_TARGET)"; export CC; \
6166 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
6167 CXX="$(CXX_FOR_TARGET)"; export CXX; \
6168 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
6169 GCJ="$(GCJ_FOR_TARGET)"; export GCJ; \
6170 DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \
6171 LD="$(LD_FOR_TARGET)"; export LD; \
6172 LDFLAGS="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS; \
6173 NM="$(NM_FOR_TARGET)"; export NM; \
6174 RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \
6175 WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES; \
6176 echo Configuring in $(TARGET_SUBDIR)/libobjc; \
6177 cd "$(TARGET_SUBDIR)/libobjc" || exit 1; \
6178 case $(srcdir) in \
6179 /* | [A-Za-z]:[\\/]*) \
6180 topdir=$(srcdir) ;; \
6181 *) \
6182 case "$(TARGET_SUBDIR)" in \
6183 .) topdir="../$(srcdir)" ;; \
6184 *) topdir="../../$(srcdir)" ;; \
6185 esac ;; \
6186 esac; \
6187 if [ "$(srcdir)" = "." ] ; then \
6188 if [ "$(TARGET_SUBDIR)" != "." ] ; then \
6189 if $(SHELL) $$s/symlink-tree $${topdir}/libobjc "no-such-file" ; then \
6190 if [ -f Makefile ]; then \
6191 if $(MAKE) distclean; then \
6192 true; \
6193 else \
6194 exit 1; \
6195 fi; \
6196 else \
6197 true; \
6198 fi; \
6199 else \
6200 exit 1; \
6201 fi; \
6202 else \
6203 true; \
6204 fi; \
6205 srcdiroption="--srcdir=."; \
6206 libsrcdir="."; \
6207 else \
6208 srcdiroption="--srcdir=$${topdir}/libobjc"; \
6209 libsrcdir="$$s/libobjc"; \
6210 fi; \
6211 rm -f no-such-file || : ; \
6212 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
6213 $(TARGET_CONFIGARGS) $${srcdiroption} \
6214 --with-target-subdir="$(TARGET_SUBDIR)" \
6215 || exit 1
6217 .PHONY: all-target-libobjc maybe-all-target-libobjc
6218 maybe-all-target-libobjc:
6219 all-target-libobjc: configure-target-libobjc
6220 @r=`${PWD}`; export r; \
6221 s=`cd $(srcdir); ${PWD}`; export s; \
6222 $(SET_LIB_PATH) \
6223 (cd $(TARGET_SUBDIR)/libobjc; \
6224 $(MAKE) $(TARGET_FLAGS_TO_PASS) all)
6226 .PHONY: check-target-libobjc
6227 check-target-libobjc:
6228 @r=`${PWD}`; export r; \
6229 s=`cd $(srcdir); ${PWD}`; export s; \
6230 $(SET_LIB_PATH) \
6231 (cd $(TARGET_SUBDIR)/libobjc; \
6232 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
6235 .PHONY: install-target-libobjc maybe-install-target-libobjc
6236 maybe-install-target-libobjc:
6237 install-target-libobjc: installdirs
6238 @r=`${PWD}`; export r; \
6239 s=`cd $(srcdir); ${PWD}`; export s; \
6240 $(SET_LIB_PATH) \
6241 (cd $(TARGET_SUBDIR)/libobjc; \
6242 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
6245 .PHONY: configure-target-libtermcap maybe-configure-target-libtermcap
6246 maybe-configure-target-libtermcap:
6247 configure-target-libtermcap: $(TARGET_SUBDIR)/libtermcap/Makefile
6249 # Don't manually override CC_FOR_TARGET at make time; get it set right
6250 # at configure time. Otherwise multilibs may be wrong.
6251 $(TARGET_SUBDIR)/libtermcap/multilib.out: maybe-all-gcc
6252 @[ -d $(TARGET_SUBDIR)/libtermcap ] || mkdir $(TARGET_SUBDIR)/libtermcap;\
6253 r=`${PWD}`; export r; \
6254 echo "Configuring multilibs for libtermcap"; \
6255 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libtermcap/multilib.out 2> /dev/null
6257 $(TARGET_SUBDIR)/libtermcap/Makefile: config.status $(TARGET_SUBDIR)/libtermcap/multilib.out
6258 @[ -d $(TARGET_SUBDIR)/libtermcap ] || mkdir $(TARGET_SUBDIR)/libtermcap;\
6259 r=`${PWD}`; export r; \
6260 s=`cd $(srcdir); ${PWD}`; export s; \
6261 $(SET_LIB_PATH) \
6262 AR="$(AR_FOR_TARGET)"; export AR; \
6263 AS="$(AS_FOR_TARGET)"; export AS; \
6264 CC="$(CC_FOR_TARGET)"; export CC; \
6265 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
6266 CXX="$(CXX_FOR_TARGET)"; export CXX; \
6267 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
6268 GCJ="$(GCJ_FOR_TARGET)"; export GCJ; \
6269 DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \
6270 LD="$(LD_FOR_TARGET)"; export LD; \
6271 LDFLAGS="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS; \
6272 NM="$(NM_FOR_TARGET)"; export NM; \
6273 RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \
6274 WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES; \
6275 echo Configuring in $(TARGET_SUBDIR)/libtermcap; \
6276 cd "$(TARGET_SUBDIR)/libtermcap" || exit 1; \
6277 case $(srcdir) in \
6278 /* | [A-Za-z]:[\\/]*) \
6279 topdir=$(srcdir) ;; \
6280 *) \
6281 case "$(TARGET_SUBDIR)" in \
6282 .) topdir="../$(srcdir)" ;; \
6283 *) topdir="../../$(srcdir)" ;; \
6284 esac ;; \
6285 esac; \
6286 if [ "$(srcdir)" = "." ] ; then \
6287 if [ "$(TARGET_SUBDIR)" != "." ] ; then \
6288 if $(SHELL) $$s/symlink-tree $${topdir}/libtermcap "no-such-file" ; then \
6289 if [ -f Makefile ]; then \
6290 if $(MAKE) distclean; then \
6291 true; \
6292 else \
6293 exit 1; \
6294 fi; \
6295 else \
6296 true; \
6297 fi; \
6298 else \
6299 exit 1; \
6300 fi; \
6301 else \
6302 true; \
6303 fi; \
6304 srcdiroption="--srcdir=."; \
6305 libsrcdir="."; \
6306 else \
6307 srcdiroption="--srcdir=$${topdir}/libtermcap"; \
6308 libsrcdir="$$s/libtermcap"; \
6309 fi; \
6310 rm -f no-such-file || : ; \
6311 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
6312 $(TARGET_CONFIGARGS) $${srcdiroption} \
6313 --with-target-subdir="$(TARGET_SUBDIR)" \
6314 || exit 1
6316 .PHONY: all-target-libtermcap maybe-all-target-libtermcap
6317 maybe-all-target-libtermcap:
6318 all-target-libtermcap: configure-target-libtermcap
6319 @r=`${PWD}`; export r; \
6320 s=`cd $(srcdir); ${PWD}`; export s; \
6321 $(SET_LIB_PATH) \
6322 (cd $(TARGET_SUBDIR)/libtermcap; \
6323 $(MAKE) $(TARGET_FLAGS_TO_PASS) all)
6325 # Dummy target for uncheckable module.
6326 .PHONY: check-target-libtermcap
6327 check-target-libtermcap:
6330 .PHONY: install-target-libtermcap maybe-install-target-libtermcap
6331 maybe-install-target-libtermcap:
6332 install-target-libtermcap: installdirs
6333 @r=`${PWD}`; export r; \
6334 s=`cd $(srcdir); ${PWD}`; export s; \
6335 $(SET_LIB_PATH) \
6336 (cd $(TARGET_SUBDIR)/libtermcap; \
6337 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
6340 .PHONY: configure-target-winsup maybe-configure-target-winsup
6341 maybe-configure-target-winsup:
6342 configure-target-winsup: $(TARGET_SUBDIR)/winsup/Makefile
6344 # Don't manually override CC_FOR_TARGET at make time; get it set right
6345 # at configure time. Otherwise multilibs may be wrong.
6346 $(TARGET_SUBDIR)/winsup/multilib.out: maybe-all-gcc
6347 @[ -d $(TARGET_SUBDIR)/winsup ] || mkdir $(TARGET_SUBDIR)/winsup;\
6348 r=`${PWD}`; export r; \
6349 echo "Configuring multilibs for winsup"; \
6350 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/winsup/multilib.out 2> /dev/null
6352 $(TARGET_SUBDIR)/winsup/Makefile: config.status $(TARGET_SUBDIR)/winsup/multilib.out
6353 @[ -d $(TARGET_SUBDIR)/winsup ] || mkdir $(TARGET_SUBDIR)/winsup;\
6354 r=`${PWD}`; export r; \
6355 s=`cd $(srcdir); ${PWD}`; export s; \
6356 $(SET_LIB_PATH) \
6357 AR="$(AR_FOR_TARGET)"; export AR; \
6358 AS="$(AS_FOR_TARGET)"; export AS; \
6359 CC="$(CC_FOR_TARGET)"; export CC; \
6360 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
6361 CXX="$(CXX_FOR_TARGET)"; export CXX; \
6362 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
6363 GCJ="$(GCJ_FOR_TARGET)"; export GCJ; \
6364 DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \
6365 LD="$(LD_FOR_TARGET)"; export LD; \
6366 LDFLAGS="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS; \
6367 NM="$(NM_FOR_TARGET)"; export NM; \
6368 RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \
6369 WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES; \
6370 echo Configuring in $(TARGET_SUBDIR)/winsup; \
6371 cd "$(TARGET_SUBDIR)/winsup" || exit 1; \
6372 case $(srcdir) in \
6373 /* | [A-Za-z]:[\\/]*) \
6374 topdir=$(srcdir) ;; \
6375 *) \
6376 case "$(TARGET_SUBDIR)" in \
6377 .) topdir="../$(srcdir)" ;; \
6378 *) topdir="../../$(srcdir)" ;; \
6379 esac ;; \
6380 esac; \
6381 if [ "$(srcdir)" = "." ] ; then \
6382 if [ "$(TARGET_SUBDIR)" != "." ] ; then \
6383 if $(SHELL) $$s/symlink-tree $${topdir}/winsup "no-such-file" ; then \
6384 if [ -f Makefile ]; then \
6385 if $(MAKE) distclean; then \
6386 true; \
6387 else \
6388 exit 1; \
6389 fi; \
6390 else \
6391 true; \
6392 fi; \
6393 else \
6394 exit 1; \
6395 fi; \
6396 else \
6397 true; \
6398 fi; \
6399 srcdiroption="--srcdir=."; \
6400 libsrcdir="."; \
6401 else \
6402 srcdiroption="--srcdir=$${topdir}/winsup"; \
6403 libsrcdir="$$s/winsup"; \
6404 fi; \
6405 rm -f no-such-file || : ; \
6406 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
6407 $(TARGET_CONFIGARGS) $${srcdiroption} \
6408 --with-target-subdir="$(TARGET_SUBDIR)" \
6409 || exit 1
6411 .PHONY: all-target-winsup maybe-all-target-winsup
6412 maybe-all-target-winsup:
6413 all-target-winsup: configure-target-winsup
6414 @r=`${PWD}`; export r; \
6415 s=`cd $(srcdir); ${PWD}`; export s; \
6416 $(SET_LIB_PATH) \
6417 (cd $(TARGET_SUBDIR)/winsup; \
6418 $(MAKE) $(TARGET_FLAGS_TO_PASS) all)
6420 .PHONY: check-target-winsup
6421 check-target-winsup:
6422 @r=`${PWD}`; export r; \
6423 s=`cd $(srcdir); ${PWD}`; export s; \
6424 $(SET_LIB_PATH) \
6425 (cd $(TARGET_SUBDIR)/winsup; \
6426 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
6429 .PHONY: install-target-winsup maybe-install-target-winsup
6430 maybe-install-target-winsup:
6431 install-target-winsup: installdirs
6432 @r=`${PWD}`; export r; \
6433 s=`cd $(srcdir); ${PWD}`; export s; \
6434 $(SET_LIB_PATH) \
6435 (cd $(TARGET_SUBDIR)/winsup; \
6436 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
6439 .PHONY: configure-target-libgloss maybe-configure-target-libgloss
6440 maybe-configure-target-libgloss:
6441 configure-target-libgloss: $(TARGET_SUBDIR)/libgloss/Makefile
6443 # Don't manually override CC_FOR_TARGET at make time; get it set right
6444 # at configure time. Otherwise multilibs may be wrong.
6445 $(TARGET_SUBDIR)/libgloss/multilib.out: maybe-all-gcc
6446 @[ -d $(TARGET_SUBDIR)/libgloss ] || mkdir $(TARGET_SUBDIR)/libgloss;\
6447 r=`${PWD}`; export r; \
6448 echo "Configuring multilibs for libgloss"; \
6449 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgloss/multilib.out 2> /dev/null
6451 $(TARGET_SUBDIR)/libgloss/Makefile: config.status $(TARGET_SUBDIR)/libgloss/multilib.out
6452 @[ -d $(TARGET_SUBDIR)/libgloss ] || mkdir $(TARGET_SUBDIR)/libgloss;\
6453 r=`${PWD}`; export r; \
6454 s=`cd $(srcdir); ${PWD}`; export s; \
6455 $(SET_LIB_PATH) \
6456 AR="$(AR_FOR_TARGET)"; export AR; \
6457 AS="$(AS_FOR_TARGET)"; export AS; \
6458 CC="$(CC_FOR_TARGET)"; export CC; \
6459 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
6460 CXX="$(CXX_FOR_TARGET)"; export CXX; \
6461 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
6462 GCJ="$(GCJ_FOR_TARGET)"; export GCJ; \
6463 DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \
6464 LD="$(LD_FOR_TARGET)"; export LD; \
6465 LDFLAGS="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS; \
6466 NM="$(NM_FOR_TARGET)"; export NM; \
6467 RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \
6468 WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES; \
6469 echo Configuring in $(TARGET_SUBDIR)/libgloss; \
6470 cd "$(TARGET_SUBDIR)/libgloss" || exit 1; \
6471 case $(srcdir) in \
6472 /* | [A-Za-z]:[\\/]*) \
6473 topdir=$(srcdir) ;; \
6474 *) \
6475 case "$(TARGET_SUBDIR)" in \
6476 .) topdir="../$(srcdir)" ;; \
6477 *) topdir="../../$(srcdir)" ;; \
6478 esac ;; \
6479 esac; \
6480 if [ "$(srcdir)" = "." ] ; then \
6481 if [ "$(TARGET_SUBDIR)" != "." ] ; then \
6482 if $(SHELL) $$s/symlink-tree $${topdir}/libgloss "no-such-file" ; then \
6483 if [ -f Makefile ]; then \
6484 if $(MAKE) distclean; then \
6485 true; \
6486 else \
6487 exit 1; \
6488 fi; \
6489 else \
6490 true; \
6491 fi; \
6492 else \
6493 exit 1; \
6494 fi; \
6495 else \
6496 true; \
6497 fi; \
6498 srcdiroption="--srcdir=."; \
6499 libsrcdir="."; \
6500 else \
6501 srcdiroption="--srcdir=$${topdir}/libgloss"; \
6502 libsrcdir="$$s/libgloss"; \
6503 fi; \
6504 rm -f no-such-file || : ; \
6505 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
6506 $(TARGET_CONFIGARGS) $${srcdiroption} \
6507 --with-target-subdir="$(TARGET_SUBDIR)" \
6508 || exit 1
6510 .PHONY: all-target-libgloss maybe-all-target-libgloss
6511 maybe-all-target-libgloss:
6512 all-target-libgloss: configure-target-libgloss
6513 @r=`${PWD}`; export r; \
6514 s=`cd $(srcdir); ${PWD}`; export s; \
6515 $(SET_LIB_PATH) \
6516 (cd $(TARGET_SUBDIR)/libgloss; \
6517 $(MAKE) $(TARGET_FLAGS_TO_PASS) all)
6519 # Dummy target for uncheckable module.
6520 .PHONY: check-target-libgloss
6521 check-target-libgloss:
6524 .PHONY: install-target-libgloss maybe-install-target-libgloss
6525 maybe-install-target-libgloss:
6526 install-target-libgloss: installdirs
6527 @r=`${PWD}`; export r; \
6528 s=`cd $(srcdir); ${PWD}`; export s; \
6529 $(SET_LIB_PATH) \
6530 (cd $(TARGET_SUBDIR)/libgloss; \
6531 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
6534 .PHONY: configure-target-libiberty maybe-configure-target-libiberty
6535 maybe-configure-target-libiberty:
6536 configure-target-libiberty: $(TARGET_SUBDIR)/libiberty/Makefile
6538 # Don't manually override CC_FOR_TARGET at make time; get it set right
6539 # at configure time. Otherwise multilibs may be wrong.
6540 $(TARGET_SUBDIR)/libiberty/multilib.out: maybe-all-gcc
6541 @[ -d $(TARGET_SUBDIR)/libiberty ] || mkdir $(TARGET_SUBDIR)/libiberty;\
6542 r=`${PWD}`; export r; \
6543 echo "Configuring multilibs for libiberty"; \
6544 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libiberty/multilib.out 2> /dev/null
6546 $(TARGET_SUBDIR)/libiberty/Makefile: config.status $(TARGET_SUBDIR)/libiberty/multilib.out
6547 @[ -d $(TARGET_SUBDIR)/libiberty ] || mkdir $(TARGET_SUBDIR)/libiberty;\
6548 r=`${PWD}`; export r; \
6549 s=`cd $(srcdir); ${PWD}`; export s; \
6550 $(SET_LIB_PATH) \
6551 AR="$(AR_FOR_TARGET)"; export AR; \
6552 AS="$(AS_FOR_TARGET)"; export AS; \
6553 CC="$(CC_FOR_TARGET)"; export CC; \
6554 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
6555 CXX="$(CXX_FOR_TARGET)"; export CXX; \
6556 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
6557 GCJ="$(GCJ_FOR_TARGET)"; export GCJ; \
6558 DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \
6559 LD="$(LD_FOR_TARGET)"; export LD; \
6560 LDFLAGS="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS; \
6561 NM="$(NM_FOR_TARGET)"; export NM; \
6562 RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \
6563 WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES; \
6564 echo Configuring in $(TARGET_SUBDIR)/libiberty; \
6565 cd "$(TARGET_SUBDIR)/libiberty" || exit 1; \
6566 case $(srcdir) in \
6567 /* | [A-Za-z]:[\\/]*) \
6568 topdir=$(srcdir) ;; \
6569 *) \
6570 case "$(TARGET_SUBDIR)" in \
6571 .) topdir="../$(srcdir)" ;; \
6572 *) topdir="../../$(srcdir)" ;; \
6573 esac ;; \
6574 esac; \
6575 if [ "$(srcdir)" = "." ] ; then \
6576 if [ "$(TARGET_SUBDIR)" != "." ] ; then \
6577 if $(SHELL) $$s/symlink-tree $${topdir}/libiberty "no-such-file" ; then \
6578 if [ -f Makefile ]; then \
6579 if $(MAKE) distclean; then \
6580 true; \
6581 else \
6582 exit 1; \
6583 fi; \
6584 else \
6585 true; \
6586 fi; \
6587 else \
6588 exit 1; \
6589 fi; \
6590 else \
6591 true; \
6592 fi; \
6593 srcdiroption="--srcdir=."; \
6594 libsrcdir="."; \
6595 else \
6596 srcdiroption="--srcdir=$${topdir}/libiberty"; \
6597 libsrcdir="$$s/libiberty"; \
6598 fi; \
6599 rm -f no-such-file || : ; \
6600 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
6601 $(TARGET_CONFIGARGS) $${srcdiroption} \
6602 --with-target-subdir="$(TARGET_SUBDIR)" \
6603 || exit 1
6605 .PHONY: all-target-libiberty maybe-all-target-libiberty
6606 maybe-all-target-libiberty:
6607 all-target-libiberty: configure-target-libiberty
6608 @r=`${PWD}`; export r; \
6609 s=`cd $(srcdir); ${PWD}`; export s; \
6610 $(SET_LIB_PATH) \
6611 (cd $(TARGET_SUBDIR)/libiberty; \
6612 $(MAKE) $(TARGET_FLAGS_TO_PASS) all)
6614 .PHONY: check-target-libiberty
6615 check-target-libiberty:
6616 @r=`${PWD}`; export r; \
6617 s=`cd $(srcdir); ${PWD}`; export s; \
6618 $(SET_LIB_PATH) \
6619 (cd $(TARGET_SUBDIR)/libiberty; \
6620 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
6623 .PHONY: install-target-libiberty maybe-install-target-libiberty
6624 maybe-install-target-libiberty:
6625 install-target-libiberty: installdirs
6626 @r=`${PWD}`; export r; \
6627 s=`cd $(srcdir); ${PWD}`; export s; \
6628 $(SET_LIB_PATH) \
6629 (cd $(TARGET_SUBDIR)/libiberty; \
6630 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
6633 .PHONY: configure-target-gperf maybe-configure-target-gperf
6634 maybe-configure-target-gperf:
6635 configure-target-gperf: $(TARGET_SUBDIR)/gperf/Makefile
6637 # Don't manually override CC_FOR_TARGET at make time; get it set right
6638 # at configure time. Otherwise multilibs may be wrong.
6639 $(TARGET_SUBDIR)/gperf/multilib.out: maybe-all-gcc
6640 @[ -d $(TARGET_SUBDIR)/gperf ] || mkdir $(TARGET_SUBDIR)/gperf;\
6641 r=`${PWD}`; export r; \
6642 echo "Configuring multilibs for gperf"; \
6643 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/gperf/multilib.out 2> /dev/null
6645 $(TARGET_SUBDIR)/gperf/Makefile: config.status $(TARGET_SUBDIR)/gperf/multilib.out
6646 @[ -d $(TARGET_SUBDIR)/gperf ] || mkdir $(TARGET_SUBDIR)/gperf;\
6647 r=`${PWD}`; export r; \
6648 s=`cd $(srcdir); ${PWD}`; export s; \
6649 $(SET_LIB_PATH) \
6650 AR="$(AR_FOR_TARGET)"; export AR; \
6651 AS="$(AS_FOR_TARGET)"; export AS; \
6652 CC="$(CC_FOR_TARGET)"; export CC; \
6653 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
6654 CXX="$(CXX_FOR_TARGET)"; export CXX; \
6655 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
6656 GCJ="$(GCJ_FOR_TARGET)"; export GCJ; \
6657 DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \
6658 LD="$(LD_FOR_TARGET)"; export LD; \
6659 LDFLAGS="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS; \
6660 NM="$(NM_FOR_TARGET)"; export NM; \
6661 RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \
6662 WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES; \
6663 echo Configuring in $(TARGET_SUBDIR)/gperf; \
6664 cd "$(TARGET_SUBDIR)/gperf" || exit 1; \
6665 case $(srcdir) in \
6666 /* | [A-Za-z]:[\\/]*) \
6667 topdir=$(srcdir) ;; \
6668 *) \
6669 case "$(TARGET_SUBDIR)" in \
6670 .) topdir="../$(srcdir)" ;; \
6671 *) topdir="../../$(srcdir)" ;; \
6672 esac ;; \
6673 esac; \
6674 if [ "$(srcdir)" = "." ] ; then \
6675 if [ "$(TARGET_SUBDIR)" != "." ] ; then \
6676 if $(SHELL) $$s/symlink-tree $${topdir}/gperf "no-such-file" ; then \
6677 if [ -f Makefile ]; then \
6678 if $(MAKE) distclean; then \
6679 true; \
6680 else \
6681 exit 1; \
6682 fi; \
6683 else \
6684 true; \
6685 fi; \
6686 else \
6687 exit 1; \
6688 fi; \
6689 else \
6690 true; \
6691 fi; \
6692 srcdiroption="--srcdir=."; \
6693 libsrcdir="."; \
6694 else \
6695 srcdiroption="--srcdir=$${topdir}/gperf"; \
6696 libsrcdir="$$s/gperf"; \
6697 fi; \
6698 rm -f no-such-file || : ; \
6699 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
6700 $(TARGET_CONFIGARGS) $${srcdiroption} \
6701 --with-target-subdir="$(TARGET_SUBDIR)" \
6702 || exit 1
6704 .PHONY: all-target-gperf maybe-all-target-gperf
6705 maybe-all-target-gperf:
6706 all-target-gperf: configure-target-gperf
6707 @r=`${PWD}`; export r; \
6708 s=`cd $(srcdir); ${PWD}`; export s; \
6709 $(SET_LIB_PATH) \
6710 (cd $(TARGET_SUBDIR)/gperf; \
6711 $(MAKE) $(TARGET_FLAGS_TO_PASS) all)
6713 .PHONY: check-target-gperf
6714 check-target-gperf:
6715 @r=`${PWD}`; export r; \
6716 s=`cd $(srcdir); ${PWD}`; export s; \
6717 $(SET_LIB_PATH) \
6718 (cd $(TARGET_SUBDIR)/gperf; \
6719 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
6722 .PHONY: install-target-gperf maybe-install-target-gperf
6723 maybe-install-target-gperf:
6724 install-target-gperf: installdirs
6725 @r=`${PWD}`; export r; \
6726 s=`cd $(srcdir); ${PWD}`; export s; \
6727 $(SET_LIB_PATH) \
6728 (cd $(TARGET_SUBDIR)/gperf; \
6729 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
6732 .PHONY: configure-target-examples maybe-configure-target-examples
6733 maybe-configure-target-examples:
6734 configure-target-examples: $(TARGET_SUBDIR)/examples/Makefile
6736 # Don't manually override CC_FOR_TARGET at make time; get it set right
6737 # at configure time. Otherwise multilibs may be wrong.
6738 $(TARGET_SUBDIR)/examples/multilib.out: maybe-all-gcc
6739 @[ -d $(TARGET_SUBDIR)/examples ] || mkdir $(TARGET_SUBDIR)/examples;\
6740 r=`${PWD}`; export r; \
6741 echo "Configuring multilibs for examples"; \
6742 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/examples/multilib.out 2> /dev/null
6744 $(TARGET_SUBDIR)/examples/Makefile: config.status $(TARGET_SUBDIR)/examples/multilib.out
6745 @[ -d $(TARGET_SUBDIR)/examples ] || mkdir $(TARGET_SUBDIR)/examples;\
6746 r=`${PWD}`; export r; \
6747 s=`cd $(srcdir); ${PWD}`; export s; \
6748 $(SET_LIB_PATH) \
6749 AR="$(AR_FOR_TARGET)"; export AR; \
6750 AS="$(AS_FOR_TARGET)"; export AS; \
6751 CC="$(CC_FOR_TARGET)"; export CC; \
6752 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
6753 CXX="$(CXX_FOR_TARGET)"; export CXX; \
6754 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
6755 GCJ="$(GCJ_FOR_TARGET)"; export GCJ; \
6756 DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \
6757 LD="$(LD_FOR_TARGET)"; export LD; \
6758 LDFLAGS="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS; \
6759 NM="$(NM_FOR_TARGET)"; export NM; \
6760 RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \
6761 WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES; \
6762 echo Configuring in $(TARGET_SUBDIR)/examples; \
6763 cd "$(TARGET_SUBDIR)/examples" || exit 1; \
6764 case $(srcdir) in \
6765 /* | [A-Za-z]:[\\/]*) \
6766 topdir=$(srcdir) ;; \
6767 *) \
6768 case "$(TARGET_SUBDIR)" in \
6769 .) topdir="../$(srcdir)" ;; \
6770 *) topdir="../../$(srcdir)" ;; \
6771 esac ;; \
6772 esac; \
6773 if [ "$(srcdir)" = "." ] ; then \
6774 if [ "$(TARGET_SUBDIR)" != "." ] ; then \
6775 if $(SHELL) $$s/symlink-tree $${topdir}/examples "no-such-file" ; then \
6776 if [ -f Makefile ]; then \
6777 if $(MAKE) distclean; then \
6778 true; \
6779 else \
6780 exit 1; \
6781 fi; \
6782 else \
6783 true; \
6784 fi; \
6785 else \
6786 exit 1; \
6787 fi; \
6788 else \
6789 true; \
6790 fi; \
6791 srcdiroption="--srcdir=."; \
6792 libsrcdir="."; \
6793 else \
6794 srcdiroption="--srcdir=$${topdir}/examples"; \
6795 libsrcdir="$$s/examples"; \
6796 fi; \
6797 rm -f no-such-file || : ; \
6798 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
6799 $(TARGET_CONFIGARGS) $${srcdiroption} \
6800 --with-target-subdir="$(TARGET_SUBDIR)" \
6801 || exit 1
6803 .PHONY: all-target-examples maybe-all-target-examples
6804 maybe-all-target-examples:
6805 all-target-examples: configure-target-examples
6806 @r=`${PWD}`; export r; \
6807 s=`cd $(srcdir); ${PWD}`; export s; \
6808 $(SET_LIB_PATH) \
6809 (cd $(TARGET_SUBDIR)/examples; \
6810 $(MAKE) $(TARGET_FLAGS_TO_PASS) all)
6812 # Dummy target for uncheckable module.
6813 .PHONY: check-target-examples
6814 check-target-examples:
6817 .PHONY: install-target-examples maybe-install-target-examples
6818 maybe-install-target-examples:
6819 # Dummy target for uninstallable.
6820 install-target-examples:
6823 .PHONY: configure-target-libffi maybe-configure-target-libffi
6824 maybe-configure-target-libffi:
6825 configure-target-libffi: $(TARGET_SUBDIR)/libffi/Makefile
6827 # Don't manually override CC_FOR_TARGET at make time; get it set right
6828 # at configure time. Otherwise multilibs may be wrong.
6829 $(TARGET_SUBDIR)/libffi/multilib.out: maybe-all-gcc
6830 @[ -d $(TARGET_SUBDIR)/libffi ] || mkdir $(TARGET_SUBDIR)/libffi;\
6831 r=`${PWD}`; export r; \
6832 echo "Configuring multilibs for libffi"; \
6833 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libffi/multilib.out 2> /dev/null
6835 $(TARGET_SUBDIR)/libffi/Makefile: config.status $(TARGET_SUBDIR)/libffi/multilib.out
6836 @[ -d $(TARGET_SUBDIR)/libffi ] || mkdir $(TARGET_SUBDIR)/libffi;\
6837 r=`${PWD}`; export r; \
6838 s=`cd $(srcdir); ${PWD}`; export s; \
6839 $(SET_LIB_PATH) \
6840 AR="$(AR_FOR_TARGET)"; export AR; \
6841 AS="$(AS_FOR_TARGET)"; export AS; \
6842 CC="$(CC_FOR_TARGET)"; export CC; \
6843 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
6844 CXX="$(CXX_FOR_TARGET)"; export CXX; \
6845 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
6846 GCJ="$(GCJ_FOR_TARGET)"; export GCJ; \
6847 DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \
6848 LD="$(LD_FOR_TARGET)"; export LD; \
6849 LDFLAGS="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS; \
6850 NM="$(NM_FOR_TARGET)"; export NM; \
6851 RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \
6852 WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES; \
6853 echo Configuring in $(TARGET_SUBDIR)/libffi; \
6854 cd "$(TARGET_SUBDIR)/libffi" || exit 1; \
6855 case $(srcdir) in \
6856 /* | [A-Za-z]:[\\/]*) \
6857 topdir=$(srcdir) ;; \
6858 *) \
6859 case "$(TARGET_SUBDIR)" in \
6860 .) topdir="../$(srcdir)" ;; \
6861 *) topdir="../../$(srcdir)" ;; \
6862 esac ;; \
6863 esac; \
6864 if [ "$(srcdir)" = "." ] ; then \
6865 if [ "$(TARGET_SUBDIR)" != "." ] ; then \
6866 if $(SHELL) $$s/symlink-tree $${topdir}/libffi "no-such-file" ; then \
6867 if [ -f Makefile ]; then \
6868 if $(MAKE) distclean; then \
6869 true; \
6870 else \
6871 exit 1; \
6872 fi; \
6873 else \
6874 true; \
6875 fi; \
6876 else \
6877 exit 1; \
6878 fi; \
6879 else \
6880 true; \
6881 fi; \
6882 srcdiroption="--srcdir=."; \
6883 libsrcdir="."; \
6884 else \
6885 srcdiroption="--srcdir=$${topdir}/libffi"; \
6886 libsrcdir="$$s/libffi"; \
6887 fi; \
6888 rm -f no-such-file || : ; \
6889 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
6890 $(TARGET_CONFIGARGS) $${srcdiroption} \
6891 --with-target-subdir="$(TARGET_SUBDIR)" \
6892 || exit 1
6894 .PHONY: all-target-libffi maybe-all-target-libffi
6895 maybe-all-target-libffi:
6896 all-target-libffi: configure-target-libffi
6897 @r=`${PWD}`; export r; \
6898 s=`cd $(srcdir); ${PWD}`; export s; \
6899 $(SET_LIB_PATH) \
6900 (cd $(TARGET_SUBDIR)/libffi; \
6901 $(MAKE) $(TARGET_FLAGS_TO_PASS) all)
6903 .PHONY: check-target-libffi
6904 check-target-libffi:
6905 @r=`${PWD}`; export r; \
6906 s=`cd $(srcdir); ${PWD}`; export s; \
6907 $(SET_LIB_PATH) \
6908 (cd $(TARGET_SUBDIR)/libffi; \
6909 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
6912 .PHONY: install-target-libffi maybe-install-target-libffi
6913 maybe-install-target-libffi:
6914 # Dummy target for uninstallable.
6915 install-target-libffi:
6918 .PHONY: configure-target-libjava maybe-configure-target-libjava
6919 maybe-configure-target-libjava:
6920 configure-target-libjava: $(TARGET_SUBDIR)/libjava/Makefile
6922 # Don't manually override CC_FOR_TARGET at make time; get it set right
6923 # at configure time. Otherwise multilibs may be wrong.
6924 $(TARGET_SUBDIR)/libjava/multilib.out: maybe-all-gcc
6925 @[ -d $(TARGET_SUBDIR)/libjava ] || mkdir $(TARGET_SUBDIR)/libjava;\
6926 r=`${PWD}`; export r; \
6927 echo "Configuring multilibs for libjava"; \
6928 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libjava/multilib.out 2> /dev/null
6930 $(TARGET_SUBDIR)/libjava/Makefile: config.status $(TARGET_SUBDIR)/libjava/multilib.out
6931 @[ -d $(TARGET_SUBDIR)/libjava ] || mkdir $(TARGET_SUBDIR)/libjava;\
6932 r=`${PWD}`; export r; \
6933 s=`cd $(srcdir); ${PWD}`; export s; \
6934 $(SET_LIB_PATH) \
6935 AR="$(AR_FOR_TARGET)"; export AR; \
6936 AS="$(AS_FOR_TARGET)"; export AS; \
6937 CC="$(CC_FOR_TARGET)"; export CC; \
6938 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
6939 CXX_FOR_TARGET="$(RAW_CXX_FOR_TARGET)"; export CXX_FOR_TARGET; \
6940 CXX="$(RAW_CXX_FOR_TARGET)"; export CXX; \
6941 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
6942 GCJ="$(GCJ_FOR_TARGET)"; export GCJ; \
6943 DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \
6944 LD="$(LD_FOR_TARGET)"; export LD; \
6945 LDFLAGS="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS; \
6946 NM="$(NM_FOR_TARGET)"; export NM; \
6947 RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \
6948 WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES; \
6949 echo Configuring in $(TARGET_SUBDIR)/libjava; \
6950 cd "$(TARGET_SUBDIR)/libjava" || exit 1; \
6951 case $(srcdir) in \
6952 /* | [A-Za-z]:[\\/]*) \
6953 topdir=$(srcdir) ;; \
6954 *) \
6955 case "$(TARGET_SUBDIR)" in \
6956 .) topdir="../$(srcdir)" ;; \
6957 *) topdir="../../$(srcdir)" ;; \
6958 esac ;; \
6959 esac; \
6960 if [ "$(srcdir)" = "." ] ; then \
6961 if [ "$(TARGET_SUBDIR)" != "." ] ; then \
6962 if $(SHELL) $$s/symlink-tree $${topdir}/libjava "no-such-file" ; then \
6963 if [ -f Makefile ]; then \
6964 if $(MAKE) distclean; then \
6965 true; \
6966 else \
6967 exit 1; \
6968 fi; \
6969 else \
6970 true; \
6971 fi; \
6972 else \
6973 exit 1; \
6974 fi; \
6975 else \
6976 true; \
6977 fi; \
6978 srcdiroption="--srcdir=."; \
6979 libsrcdir="."; \
6980 else \
6981 srcdiroption="--srcdir=$${topdir}/libjava"; \
6982 libsrcdir="$$s/libjava"; \
6983 fi; \
6984 rm -f no-such-file || : ; \
6985 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
6986 $(TARGET_CONFIGARGS) $${srcdiroption} \
6987 --with-target-subdir="$(TARGET_SUBDIR)" \
6988 || exit 1
6990 .PHONY: all-target-libjava maybe-all-target-libjava
6991 maybe-all-target-libjava:
6992 all-target-libjava: configure-target-libjava
6993 @r=`${PWD}`; export r; \
6994 s=`cd $(srcdir); ${PWD}`; export s; \
6995 $(SET_LIB_PATH) \
6996 (cd $(TARGET_SUBDIR)/libjava; \
6997 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' all)
6999 .PHONY: check-target-libjava
7000 check-target-libjava:
7001 @r=`${PWD}`; export r; \
7002 s=`cd $(srcdir); ${PWD}`; export s; \
7003 $(SET_LIB_PATH) \
7004 (cd $(TARGET_SUBDIR)/libjava; \
7005 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' check)
7008 .PHONY: install-target-libjava maybe-install-target-libjava
7009 maybe-install-target-libjava:
7010 install-target-libjava: installdirs
7011 @r=`${PWD}`; export r; \
7012 s=`cd $(srcdir); ${PWD}`; export s; \
7013 $(SET_LIB_PATH) \
7014 (cd $(TARGET_SUBDIR)/libjava; \
7015 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
7018 .PHONY: configure-target-zlib maybe-configure-target-zlib
7019 maybe-configure-target-zlib:
7020 configure-target-zlib: $(TARGET_SUBDIR)/zlib/Makefile
7022 # Don't manually override CC_FOR_TARGET at make time; get it set right
7023 # at configure time. Otherwise multilibs may be wrong.
7024 $(TARGET_SUBDIR)/zlib/multilib.out: maybe-all-gcc
7025 @[ -d $(TARGET_SUBDIR)/zlib ] || mkdir $(TARGET_SUBDIR)/zlib;\
7026 r=`${PWD}`; export r; \
7027 echo "Configuring multilibs for zlib"; \
7028 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/zlib/multilib.out 2> /dev/null
7030 $(TARGET_SUBDIR)/zlib/Makefile: config.status $(TARGET_SUBDIR)/zlib/multilib.out
7031 @[ -d $(TARGET_SUBDIR)/zlib ] || mkdir $(TARGET_SUBDIR)/zlib;\
7032 r=`${PWD}`; export r; \
7033 s=`cd $(srcdir); ${PWD}`; export s; \
7034 $(SET_LIB_PATH) \
7035 AR="$(AR_FOR_TARGET)"; export AR; \
7036 AS="$(AS_FOR_TARGET)"; export AS; \
7037 CC="$(CC_FOR_TARGET)"; export CC; \
7038 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
7039 CXX="$(CXX_FOR_TARGET)"; export CXX; \
7040 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
7041 GCJ="$(GCJ_FOR_TARGET)"; export GCJ; \
7042 DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \
7043 LD="$(LD_FOR_TARGET)"; export LD; \
7044 LDFLAGS="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS; \
7045 NM="$(NM_FOR_TARGET)"; export NM; \
7046 RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \
7047 WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES; \
7048 echo Configuring in $(TARGET_SUBDIR)/zlib; \
7049 cd "$(TARGET_SUBDIR)/zlib" || exit 1; \
7050 case $(srcdir) in \
7051 /* | [A-Za-z]:[\\/]*) \
7052 topdir=$(srcdir) ;; \
7053 *) \
7054 case "$(TARGET_SUBDIR)" in \
7055 .) topdir="../$(srcdir)" ;; \
7056 *) topdir="../../$(srcdir)" ;; \
7057 esac ;; \
7058 esac; \
7059 if [ "$(srcdir)" = "." ] ; then \
7060 if [ "$(TARGET_SUBDIR)" != "." ] ; then \
7061 if $(SHELL) $$s/symlink-tree $${topdir}/zlib "no-such-file" ; then \
7062 if [ -f Makefile ]; then \
7063 if $(MAKE) distclean; then \
7064 true; \
7065 else \
7066 exit 1; \
7067 fi; \
7068 else \
7069 true; \
7070 fi; \
7071 else \
7072 exit 1; \
7073 fi; \
7074 else \
7075 true; \
7076 fi; \
7077 srcdiroption="--srcdir=."; \
7078 libsrcdir="."; \
7079 else \
7080 srcdiroption="--srcdir=$${topdir}/zlib"; \
7081 libsrcdir="$$s/zlib"; \
7082 fi; \
7083 rm -f no-such-file || : ; \
7084 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
7085 $(TARGET_CONFIGARGS) $${srcdiroption} \
7086 --with-target-subdir="$(TARGET_SUBDIR)" \
7087 || exit 1
7089 .PHONY: all-target-zlib maybe-all-target-zlib
7090 maybe-all-target-zlib:
7091 all-target-zlib: configure-target-zlib
7092 @r=`${PWD}`; export r; \
7093 s=`cd $(srcdir); ${PWD}`; export s; \
7094 $(SET_LIB_PATH) \
7095 (cd $(TARGET_SUBDIR)/zlib; \
7096 $(MAKE) $(TARGET_FLAGS_TO_PASS) all)
7098 .PHONY: check-target-zlib
7099 check-target-zlib:
7100 @r=`${PWD}`; export r; \
7101 s=`cd $(srcdir); ${PWD}`; export s; \
7102 $(SET_LIB_PATH) \
7103 (cd $(TARGET_SUBDIR)/zlib; \
7104 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
7107 .PHONY: install-target-zlib maybe-install-target-zlib
7108 maybe-install-target-zlib:
7109 install-target-zlib: installdirs
7110 @r=`${PWD}`; export r; \
7111 s=`cd $(srcdir); ${PWD}`; export s; \
7112 $(SET_LIB_PATH) \
7113 (cd $(TARGET_SUBDIR)/zlib; \
7114 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
7117 .PHONY: configure-target-boehm-gc maybe-configure-target-boehm-gc
7118 maybe-configure-target-boehm-gc:
7119 configure-target-boehm-gc: $(TARGET_SUBDIR)/boehm-gc/Makefile
7121 # Don't manually override CC_FOR_TARGET at make time; get it set right
7122 # at configure time. Otherwise multilibs may be wrong.
7123 $(TARGET_SUBDIR)/boehm-gc/multilib.out: maybe-all-gcc
7124 @[ -d $(TARGET_SUBDIR)/boehm-gc ] || mkdir $(TARGET_SUBDIR)/boehm-gc;\
7125 r=`${PWD}`; export r; \
7126 echo "Configuring multilibs for boehm-gc"; \
7127 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/boehm-gc/multilib.out 2> /dev/null
7129 $(TARGET_SUBDIR)/boehm-gc/Makefile: config.status $(TARGET_SUBDIR)/boehm-gc/multilib.out
7130 @[ -d $(TARGET_SUBDIR)/boehm-gc ] || mkdir $(TARGET_SUBDIR)/boehm-gc;\
7131 r=`${PWD}`; export r; \
7132 s=`cd $(srcdir); ${PWD}`; export s; \
7133 $(SET_LIB_PATH) \
7134 AR="$(AR_FOR_TARGET)"; export AR; \
7135 AS="$(AS_FOR_TARGET)"; export AS; \
7136 CC="$(CC_FOR_TARGET)"; export CC; \
7137 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
7138 CXX="$(CXX_FOR_TARGET)"; export CXX; \
7139 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
7140 GCJ="$(GCJ_FOR_TARGET)"; export GCJ; \
7141 DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \
7142 LD="$(LD_FOR_TARGET)"; export LD; \
7143 LDFLAGS="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS; \
7144 NM="$(NM_FOR_TARGET)"; export NM; \
7145 RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \
7146 WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES; \
7147 echo Configuring in $(TARGET_SUBDIR)/boehm-gc; \
7148 cd "$(TARGET_SUBDIR)/boehm-gc" || exit 1; \
7149 case $(srcdir) in \
7150 /* | [A-Za-z]:[\\/]*) \
7151 topdir=$(srcdir) ;; \
7152 *) \
7153 case "$(TARGET_SUBDIR)" in \
7154 .) topdir="../$(srcdir)" ;; \
7155 *) topdir="../../$(srcdir)" ;; \
7156 esac ;; \
7157 esac; \
7158 if [ "$(srcdir)" = "." ] ; then \
7159 if [ "$(TARGET_SUBDIR)" != "." ] ; then \
7160 if $(SHELL) $$s/symlink-tree $${topdir}/boehm-gc "no-such-file" ; then \
7161 if [ -f Makefile ]; then \
7162 if $(MAKE) distclean; then \
7163 true; \
7164 else \
7165 exit 1; \
7166 fi; \
7167 else \
7168 true; \
7169 fi; \
7170 else \
7171 exit 1; \
7172 fi; \
7173 else \
7174 true; \
7175 fi; \
7176 srcdiroption="--srcdir=."; \
7177 libsrcdir="."; \
7178 else \
7179 srcdiroption="--srcdir=$${topdir}/boehm-gc"; \
7180 libsrcdir="$$s/boehm-gc"; \
7181 fi; \
7182 rm -f no-such-file || : ; \
7183 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
7184 $(TARGET_CONFIGARGS) $${srcdiroption} \
7185 --with-target-subdir="$(TARGET_SUBDIR)" \
7186 || exit 1
7188 .PHONY: all-target-boehm-gc maybe-all-target-boehm-gc
7189 maybe-all-target-boehm-gc:
7190 all-target-boehm-gc: configure-target-boehm-gc
7191 @r=`${PWD}`; export r; \
7192 s=`cd $(srcdir); ${PWD}`; export s; \
7193 $(SET_LIB_PATH) \
7194 (cd $(TARGET_SUBDIR)/boehm-gc; \
7195 $(MAKE) $(TARGET_FLAGS_TO_PASS) all)
7197 .PHONY: check-target-boehm-gc
7198 check-target-boehm-gc:
7199 @r=`${PWD}`; export r; \
7200 s=`cd $(srcdir); ${PWD}`; export s; \
7201 $(SET_LIB_PATH) \
7202 (cd $(TARGET_SUBDIR)/boehm-gc; \
7203 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
7206 .PHONY: install-target-boehm-gc maybe-install-target-boehm-gc
7207 maybe-install-target-boehm-gc:
7208 install-target-boehm-gc: installdirs
7209 @r=`${PWD}`; export r; \
7210 s=`cd $(srcdir); ${PWD}`; export s; \
7211 $(SET_LIB_PATH) \
7212 (cd $(TARGET_SUBDIR)/boehm-gc; \
7213 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
7216 .PHONY: configure-target-qthreads maybe-configure-target-qthreads
7217 maybe-configure-target-qthreads:
7218 configure-target-qthreads: $(TARGET_SUBDIR)/qthreads/Makefile
7220 # Don't manually override CC_FOR_TARGET at make time; get it set right
7221 # at configure time. Otherwise multilibs may be wrong.
7222 $(TARGET_SUBDIR)/qthreads/multilib.out: maybe-all-gcc
7223 @[ -d $(TARGET_SUBDIR)/qthreads ] || mkdir $(TARGET_SUBDIR)/qthreads;\
7224 r=`${PWD}`; export r; \
7225 echo "Configuring multilibs for qthreads"; \
7226 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/qthreads/multilib.out 2> /dev/null
7228 $(TARGET_SUBDIR)/qthreads/Makefile: config.status $(TARGET_SUBDIR)/qthreads/multilib.out
7229 @[ -d $(TARGET_SUBDIR)/qthreads ] || mkdir $(TARGET_SUBDIR)/qthreads;\
7230 r=`${PWD}`; export r; \
7231 s=`cd $(srcdir); ${PWD}`; export s; \
7232 $(SET_LIB_PATH) \
7233 AR="$(AR_FOR_TARGET)"; export AR; \
7234 AS="$(AS_FOR_TARGET)"; export AS; \
7235 CC="$(CC_FOR_TARGET)"; export CC; \
7236 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
7237 CXX="$(CXX_FOR_TARGET)"; export CXX; \
7238 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
7239 GCJ="$(GCJ_FOR_TARGET)"; export GCJ; \
7240 DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \
7241 LD="$(LD_FOR_TARGET)"; export LD; \
7242 LDFLAGS="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS; \
7243 NM="$(NM_FOR_TARGET)"; export NM; \
7244 RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \
7245 WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES; \
7246 echo Configuring in $(TARGET_SUBDIR)/qthreads; \
7247 cd "$(TARGET_SUBDIR)/qthreads" || exit 1; \
7248 case $(srcdir) in \
7249 /* | [A-Za-z]:[\\/]*) \
7250 topdir=$(srcdir) ;; \
7251 *) \
7252 case "$(TARGET_SUBDIR)" in \
7253 .) topdir="../$(srcdir)" ;; \
7254 *) topdir="../../$(srcdir)" ;; \
7255 esac ;; \
7256 esac; \
7257 if [ "$(srcdir)" = "." ] ; then \
7258 if [ "$(TARGET_SUBDIR)" != "." ] ; then \
7259 if $(SHELL) $$s/symlink-tree $${topdir}/qthreads "no-such-file" ; then \
7260 if [ -f Makefile ]; then \
7261 if $(MAKE) distclean; then \
7262 true; \
7263 else \
7264 exit 1; \
7265 fi; \
7266 else \
7267 true; \
7268 fi; \
7269 else \
7270 exit 1; \
7271 fi; \
7272 else \
7273 true; \
7274 fi; \
7275 srcdiroption="--srcdir=."; \
7276 libsrcdir="."; \
7277 else \
7278 srcdiroption="--srcdir=$${topdir}/qthreads"; \
7279 libsrcdir="$$s/qthreads"; \
7280 fi; \
7281 rm -f no-such-file || : ; \
7282 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
7283 $(TARGET_CONFIGARGS) $${srcdiroption} \
7284 --with-target-subdir="$(TARGET_SUBDIR)" \
7285 || exit 1
7287 .PHONY: all-target-qthreads maybe-all-target-qthreads
7288 maybe-all-target-qthreads:
7289 all-target-qthreads: configure-target-qthreads
7290 @r=`${PWD}`; export r; \
7291 s=`cd $(srcdir); ${PWD}`; export s; \
7292 $(SET_LIB_PATH) \
7293 (cd $(TARGET_SUBDIR)/qthreads; \
7294 $(MAKE) $(TARGET_FLAGS_TO_PASS) all)
7296 .PHONY: check-target-qthreads
7297 check-target-qthreads:
7298 @r=`${PWD}`; export r; \
7299 s=`cd $(srcdir); ${PWD}`; export s; \
7300 $(SET_LIB_PATH) \
7301 (cd $(TARGET_SUBDIR)/qthreads; \
7302 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
7305 .PHONY: install-target-qthreads maybe-install-target-qthreads
7306 maybe-install-target-qthreads:
7307 install-target-qthreads: installdirs
7308 @r=`${PWD}`; export r; \
7309 s=`cd $(srcdir); ${PWD}`; export s; \
7310 $(SET_LIB_PATH) \
7311 (cd $(TARGET_SUBDIR)/qthreads; \
7312 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
7315 .PHONY: configure-target-rda maybe-configure-target-rda
7316 maybe-configure-target-rda:
7317 configure-target-rda: $(TARGET_SUBDIR)/rda/Makefile
7319 # Don't manually override CC_FOR_TARGET at make time; get it set right
7320 # at configure time. Otherwise multilibs may be wrong.
7321 $(TARGET_SUBDIR)/rda/multilib.out: maybe-all-gcc
7322 @[ -d $(TARGET_SUBDIR)/rda ] || mkdir $(TARGET_SUBDIR)/rda;\
7323 r=`${PWD}`; export r; \
7324 echo "Configuring multilibs for rda"; \
7325 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/rda/multilib.out 2> /dev/null
7327 $(TARGET_SUBDIR)/rda/Makefile: config.status $(TARGET_SUBDIR)/rda/multilib.out
7328 @[ -d $(TARGET_SUBDIR)/rda ] || mkdir $(TARGET_SUBDIR)/rda;\
7329 r=`${PWD}`; export r; \
7330 s=`cd $(srcdir); ${PWD}`; export s; \
7331 $(SET_LIB_PATH) \
7332 AR="$(AR_FOR_TARGET)"; export AR; \
7333 AS="$(AS_FOR_TARGET)"; export AS; \
7334 CC="$(CC_FOR_TARGET)"; export CC; \
7335 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
7336 CXX="$(CXX_FOR_TARGET)"; export CXX; \
7337 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
7338 GCJ="$(GCJ_FOR_TARGET)"; export GCJ; \
7339 DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \
7340 LD="$(LD_FOR_TARGET)"; export LD; \
7341 LDFLAGS="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS; \
7342 NM="$(NM_FOR_TARGET)"; export NM; \
7343 RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \
7344 WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES; \
7345 echo Configuring in $(TARGET_SUBDIR)/rda; \
7346 cd "$(TARGET_SUBDIR)/rda" || exit 1; \
7347 case $(srcdir) in \
7348 /* | [A-Za-z]:[\\/]*) \
7349 topdir=$(srcdir) ;; \
7350 *) \
7351 case "$(TARGET_SUBDIR)" in \
7352 .) topdir="../$(srcdir)" ;; \
7353 *) topdir="../../$(srcdir)" ;; \
7354 esac ;; \
7355 esac; \
7356 if [ "$(srcdir)" = "." ] ; then \
7357 if [ "$(TARGET_SUBDIR)" != "." ] ; then \
7358 if $(SHELL) $$s/symlink-tree $${topdir}/rda "no-such-file" ; then \
7359 if [ -f Makefile ]; then \
7360 if $(MAKE) distclean; then \
7361 true; \
7362 else \
7363 exit 1; \
7364 fi; \
7365 else \
7366 true; \
7367 fi; \
7368 else \
7369 exit 1; \
7370 fi; \
7371 else \
7372 true; \
7373 fi; \
7374 srcdiroption="--srcdir=."; \
7375 libsrcdir="."; \
7376 else \
7377 srcdiroption="--srcdir=$${topdir}/rda"; \
7378 libsrcdir="$$s/rda"; \
7379 fi; \
7380 rm -f no-such-file || : ; \
7381 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
7382 $(TARGET_CONFIGARGS) $${srcdiroption} \
7383 --with-target-subdir="$(TARGET_SUBDIR)" \
7384 || exit 1
7386 .PHONY: all-target-rda maybe-all-target-rda
7387 maybe-all-target-rda:
7388 all-target-rda: configure-target-rda
7389 @r=`${PWD}`; export r; \
7390 s=`cd $(srcdir); ${PWD}`; export s; \
7391 $(SET_LIB_PATH) \
7392 (cd $(TARGET_SUBDIR)/rda; \
7393 $(MAKE) $(TARGET_FLAGS_TO_PASS) all)
7395 .PHONY: check-target-rda
7396 check-target-rda:
7397 @r=`${PWD}`; export r; \
7398 s=`cd $(srcdir); ${PWD}`; export s; \
7399 $(SET_LIB_PATH) \
7400 (cd $(TARGET_SUBDIR)/rda; \
7401 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
7404 .PHONY: install-target-rda maybe-install-target-rda
7405 maybe-install-target-rda:
7406 install-target-rda: installdirs
7407 @r=`${PWD}`; export r; \
7408 s=`cd $(srcdir); ${PWD}`; export s; \
7409 $(SET_LIB_PATH) \
7410 (cd $(TARGET_SUBDIR)/rda; \
7411 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
7415 # ----------
7416 # GCC module
7417 # ----------
7419 # Unfortunately, while gcc _should_ be a host module,
7420 # libgcc is a target module, and gen* programs are
7421 # build modules. So GCC is a sort of hybrid.
7423 # gcc is the only module which uses GCC_FLAGS_TO_PASS.
7424 .PHONY: configure-gcc maybe-configure-gcc
7425 maybe-configure-gcc:
7426 configure-gcc: gcc/Makefile
7428 gcc/Makefile: config.status
7429 @[ -d gcc ] || mkdir gcc; \
7430 r=`${PWD}`; export r; \
7431 s=`cd $(srcdir); ${PWD}`; export s; \
7432 CC="$(CC)"; export CC; \
7433 CFLAGS="$(CFLAGS)"; export CFLAGS; \
7434 CXX="$(CXX)"; export CXX; \
7435 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
7436 if [ z$(build_canonical) != z$(host_canoncial) ] ; then \
7437 AR="$(AR)"; export AR; \
7438 AS="$(AS)"; export AS; \
7439 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
7440 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
7441 LD="$(LD)"; export LD; \
7442 NM="$(NM)"; export NM; \
7443 RANLIB="$(RANLIB)"; export RANLIB; \
7444 WINDRES="$(WINDRES)"; export WINDRES; \
7445 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
7446 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
7447 fi; \
7448 echo Configuring in gcc; \
7449 cd gcc || exit 1; \
7450 case $(srcdir) in \
7451 \.) \
7452 srcdiroption="--srcdir=."; \
7453 libsrcdir=".";; \
7454 /* | [A-Za-z]:[\\/]*) \
7455 srcdiroption="--srcdir=$(srcdir)/gcc"; \
7456 libsrcdir="$$s/gcc";; \
7457 *) \
7458 srcdiroption="--srcdir=../$(srcdir)/gcc"; \
7459 libsrcdir="$$s/gcc";; \
7460 esac; \
7461 $(SHELL) $${libsrcdir}/configure \
7462 $(HOST_CONFIGARGS) $${srcdiroption} \
7463 || exit 1
7465 # Don't 'make all' in gcc if it's already been made by 'bootstrap'; that
7466 # causes trouble. This wart will be fixed eventually by moving
7467 # the bootstrap behavior to this file.
7468 .PHONY: all-gcc maybe-all-gcc
7469 maybe-all-gcc:
7470 all-gcc: configure-gcc
7471 @if [ -f gcc/stage_last ] ; then \
7472 r=`${PWD}`; export r; \
7473 s=`cd $(srcdir); ${PWD}`; export s; \
7474 $(SET_LIB_PATH) \
7475 (cd gcc; $(MAKE) $(GCC_FLAGS_TO_PASS) quickstrap); \
7476 else \
7477 r=`${PWD}`; export r; \
7478 s=`cd $(srcdir); ${PWD}`; export s; \
7479 $(SET_LIB_PATH) \
7480 (cd gcc; $(MAKE) $(GCC_FLAGS_TO_PASS) all); \
7483 # Building GCC uses some tools for rebuilding "source" files
7484 # like texinfo, bison/byacc, etc. So we must depend on those.
7486 # While building GCC, it may be necessary to run various target
7487 # programs like the assembler, linker, etc. So we depend on
7488 # those too.
7490 # In theory, on an SMP all those dependencies can be resolved
7491 # in parallel.
7493 .PHONY: bootstrap bootstrap-lean bootstrap2 bootstrap2-lean bootstrap3 bootstrap3-lean bootstrap4 bootstrap4-lean bubblestrap quickstrap cleanstrap restrap
7494 bootstrap bootstrap-lean bootstrap2 bootstrap2-lean bootstrap3 bootstrap3-lean bootstrap4 bootstrap4-lean bubblestrap quickstrap cleanstrap restrap: all-bootstrap configure-gcc
7495 @r=`${PWD}`; export r; \
7496 s=`cd $(srcdir); ${PWD}`; export s; \
7497 $(SET_LIB_PATH) \
7498 echo "Bootstrapping the compiler"; \
7499 cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) $@
7500 @r=`${PWD}`; export r; \
7501 s=`cd $(srcdir); ${PWD}`; export s; \
7502 case "$@" in \
7503 *bootstrap4-lean ) \
7504 msg="Comparing stage3 and stage4 of the compiler"; \
7505 compare=compare3-lean ;; \
7506 *bootstrap4 ) msg="Comparing stage3 and stage4 of the compiler"; \
7507 compare=compare3 ;; \
7508 *-lean ) msg="Comparing stage2 and stage3 of the compiler"; \
7509 compare=compare-lean ;; \
7510 * ) msg="Comparing stage2 and stage3 of the compiler"; \
7511 compare=compare ;; \
7512 esac; \
7513 $(SET_LIB_PATH) \
7514 echo "$$msg"; \
7515 cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) $$compare
7516 @r=`${PWD}`; export r; \
7517 s=`cd $(srcdir); ${PWD}` ; export s; \
7518 $(SET_LIB_PATH) \
7519 echo "Building runtime libraries"; \
7520 $(MAKE) $(BASE_FLAGS_TO_PASS) $(RECURSE_FLAGS) all
7522 .PHONY: cross
7523 cross: all-texinfo all-bison all-byacc all-binutils all-gas all-ld
7524 @r=`${PWD}`; export r; \
7525 s=`cd $(srcdir); ${PWD}`; export s; \
7526 $(SET_LIB_PATH) \
7527 echo "Building the C and C++ compiler"; \
7528 cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) LANGUAGES="c c++"
7529 @r=`${PWD}`; export r; \
7530 s=`cd $(srcdir); ${PWD}` ; export s; \
7531 $(SET_LIB_PATH) \
7532 echo "Building runtime libraries"; \
7533 $(MAKE) $(BASE_FLAGS_TO_PASS) $(RECURSE_FLAGS) \
7534 LANGUAGES="c c++" all
7536 .PHONY: check-gcc
7537 check-gcc:
7538 @if [ -f ./gcc/Makefile ] ; then \
7539 r=`${PWD}`; export r; \
7540 s=`cd $(srcdir); ${PWD}`; export s; \
7541 $(SET_LIB_PATH) \
7542 (cd gcc; $(MAKE) $(GCC_FLAGS_TO_PASS) check); \
7543 else \
7544 true; \
7547 .PHONY: check-gcc-c++
7548 check-gcc-c++:
7549 @if [ -f ./gcc/Makefile ] ; then \
7550 r=`${PWD}`; export r; \
7551 s=`cd $(srcdir); ${PWD}`; export s; \
7552 $(SET_LIB_PATH) \
7553 (cd gcc; $(MAKE) $(GCC_FLAGS_TO_PASS) check-c++); \
7554 else \
7555 true; \
7558 .PHONY: check-c++
7559 check-c++: check-target-libstdc++-v3 check-gcc-c++
7561 .PHONY: install-gcc maybe-install-gcc
7562 maybe-install-gcc:
7563 install-gcc:
7564 @if [ -f ./gcc/Makefile ] ; then \
7565 r=`${PWD}`; export r; \
7566 s=`cd $(srcdir); ${PWD}`; export s; \
7567 $(SET_LIB_PATH) \
7568 (cd gcc; $(MAKE) $(GCC_FLAGS_TO_PASS) install); \
7569 else \
7570 true; \
7573 # Install the gcc headers files, but not the fixed include files,
7574 # which Cygnus is not allowed to distribute. This rule is very
7575 # dependent on the workings of the gcc Makefile.in.
7576 .PHONY: gcc-no-fixedincludes
7577 gcc-no-fixedincludes:
7578 @if [ -f ./gcc/Makefile ]; then \
7579 rm -rf gcc/tmp-include; \
7580 mv gcc/include gcc/tmp-include 2>/dev/null; \
7581 mkdir gcc/include; \
7582 cp $(srcdir)/gcc/gsyslimits.h gcc/include/syslimits.h; \
7583 touch gcc/stmp-fixinc gcc/include/fixed; \
7584 rm -f gcc/stmp-headers gcc/stmp-int-hdrs; \
7585 r=`${PWD}`; export r; \
7586 s=`cd $(srcdir); ${PWD}` ; export s; \
7587 $(SET_LIB_PATH) \
7588 (cd ./gcc; \
7589 $(MAKE) $(GCC_FLAGS_TO_PASS) install); \
7590 rm -rf gcc/include; \
7591 mv gcc/tmp-include gcc/include 2>/dev/null; \
7592 else true; fi
7594 # --------------------------------------
7595 # Dependencies between different modules
7596 # --------------------------------------
7598 # There are two types of dependencies here: 'hard' dependencies, where one
7599 # module simply won't build without the other; and 'soft' dependencies, where
7600 # if the depended-on module is missing, the depending module will do without
7601 # or find a substitute somewhere (perhaps installed). Soft dependencies
7602 # are specified by depending on a 'maybe-' target. If you're not sure,
7603 # it's safer to use a soft dependency.
7605 # Host modules specific to gcc.
7606 # GCC needs to identify certain tools.
7607 configure-gcc: maybe-configure-binutils maybe-configure-gas maybe-configure-ld maybe-configure-bison maybe-configure-flex
7608 all-gcc: maybe-all-libiberty maybe-all-bison maybe-all-byacc maybe-all-binutils maybe-all-gas maybe-all-ld maybe-all-zlib
7609 # This is a slightly kludgy method of getting dependencies on
7610 # all-build-libiberty correct; it would be better to build it every time.
7611 all-gcc: maybe-all-build-libiberty
7612 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
7614 # Host modules specific to gdb.
7615 # GDB needs to know that the simulator is being built.
7616 configure-gdb: maybe-configure-tcl maybe-configure-tk maybe-configure-sim
7617 GDB_TK = @GDB_TK@
7618 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)
7619 install-gdb: maybe-install-tcl maybe-install-tk maybe-install-itcl maybe-install-tix maybe-install-libgui
7620 configure-libgui: maybe-configure-tcl maybe-configure-tk
7621 all-libgui: maybe-all-tcl maybe-all-tk maybe-all-itcl
7623 # Host modules specific to binutils.
7624 configure-bfd: configure-libiberty
7625 all-bfd: maybe-all-libiberty maybe-all-intl
7626 all-binutils: maybe-all-libiberty maybe-all-opcodes maybe-all-bfd maybe-all-flex maybe-all-bison maybe-all-byacc maybe-all-intl
7627 # We put install-opcodes before install-binutils because the installed
7628 # binutils might be on PATH, and they might need the shared opcodes
7629 # library.
7630 install-binutils: maybe-install-opcodes
7631 all-gas: maybe-all-libiberty maybe-all-opcodes maybe-all-bfd maybe-all-intl
7632 all-gprof: maybe-all-libiberty maybe-all-bfd maybe-all-opcodes maybe-all-intl
7633 all-ld: maybe-all-libiberty maybe-all-bfd maybe-all-opcodes maybe-all-bison maybe-all-byacc maybe-all-flex maybe-all-intl
7634 all-opcodes: maybe-all-bfd maybe-all-libiberty
7636 # Other host modules in the 'src' repository.
7637 all-dejagnu: maybe-all-tcl maybe-all-expect maybe-all-tk
7638 configure-expect: maybe-configure-tcl maybe-configure-tk
7639 all-expect: maybe-all-tcl maybe-all-tk
7640 configure-itcl: maybe-configure-tcl maybe-configure-tk
7641 all-itcl: maybe-all-tcl maybe-all-tk
7642 # We put install-tcl before install-itcl because itcl wants to run a
7643 # program on installation which uses the Tcl libraries.
7644 install-itcl: maybe-install-tcl
7645 all-sid: maybe-all-tcl maybe-all-tk
7646 install-sid: maybe-install-tcl maybe-install-tk
7647 all-sim: maybe-all-libiberty maybe-all-bfd maybe-all-opcodes maybe-all-readline maybe-configure-gdb
7648 configure-tk: maybe-configure-tcl
7649 all-tk: maybe-all-tcl
7650 configure-tix: maybe-configure-tcl maybe-configure-tk
7651 all-tix: maybe-all-tcl maybe-all-tk
7652 all-texinfo: maybe-all-libiberty
7654 # Other host modules. Warning, these are not well tested.
7655 all-autoconf: maybe-all-m4 maybe-all-texinfo
7656 all-automake: maybe-all-m4 maybe-all-texinfo
7657 all-bison: maybe-all-texinfo
7658 all-diff: maybe-all-libiberty
7659 all-fastjar: maybe-all-zlib maybe-all-libiberty
7660 all-fileutils: maybe-all-libiberty
7661 all-flex: maybe-all-libiberty maybe-all-bison maybe-all-byacc
7662 all-grep: maybe-all-libiberty
7663 all-gzip: maybe-all-libiberty
7664 all-hello: maybe-all-libiberty
7665 all-m4: maybe-all-libiberty maybe-all-texinfo
7666 all-make: maybe-all-libiberty
7667 all-patch: maybe-all-libiberty
7668 all-prms: maybe-all-libiberty
7669 all-recode: maybe-all-libiberty
7670 all-sed: maybe-all-libiberty
7671 all-send-pr: maybe-all-prms
7672 all-snavigator: maybe-all-tcl maybe-all-tk maybe-all-itcl maybe-all-tix maybe-all-db maybe-all-grep maybe-all-libgui
7673 all-tar: maybe-all-libiberty
7674 all-uudecode: maybe-all-libiberty
7676 ALL_GCC = maybe-all-gcc
7677 ALL_GCC_C = $(ALL_GCC) maybe-all-target-newlib maybe-all-target-libgloss
7678 ALL_GCC_CXX = $(ALL_GCC_C) maybe-all-target-libstdc++-v3
7680 # Target modules specific to gcc.
7681 configure-target-boehm-gc: $(ALL_GCC_C) maybe-configure-target-qthreads
7682 configure-target-fastjar: maybe-configure-target-zlib
7683 all-target-fastjar: maybe-all-target-zlib maybe-all-target-libiberty
7684 configure-target-libf2c: $(ALL_GCC_C)
7685 all-target-libf2c: maybe-all-target-libiberty
7686 configure-target-libffi: $(ALL_GCC_C)
7687 configure-target-libjava: $(ALL_GCC_C) maybe-configure-target-zlib maybe-configure-target-boehm-gc maybe-configure-target-qthreads maybe-configure-target-libffi
7688 all-target-libjava: maybe-all-fastjar maybe-all-target-zlib maybe-all-target-boehm-gc maybe-all-target-qthreads maybe-all-target-libffi
7689 configure-target-libobjc: $(ALL_GCC_C)
7690 all-target-libobjc: maybe-all-target-libiberty
7691 configure-target-libstdc++-v3: $(ALL_GCC_C)
7692 all-target-libstdc++-v3: maybe-all-target-libiberty
7693 configure-target-zlib: $(ALL_GCC_C)
7695 # Target modules in the 'src' repository.
7696 configure-target-examples: $(ALL_GCC_C)
7697 configure-target-libgloss: $(ALL_GCC)
7698 all-target-libgloss: maybe-configure-target-newlib
7699 configure-target-libiberty: $(ALL_GCC_C)
7700 configure-target-libtermcap: $(ALL_GCC_C)
7701 configure-target-newlib: $(ALL_GCC)
7702 configure-target-rda: $(ALL_GCC_C)
7703 configure-target-winsup: $(ALL_GCC_C)
7704 all-target-winsup: maybe-all-target-libiberty maybe-all-target-libtermcap
7706 # Other target modules. Warning, these are not well tested.
7707 configure-target-gperf: $(ALL_GCC_CXX)
7708 all-target-gperf: maybe-all-target-libiberty maybe-all-target-libstdc++-v3
7709 configure-target-qthreads: $(ALL_GCC_C)
7711 # Dependencies of maybe-foo on foo. These are used because, for example,
7712 # all-gcc only depends on all-gas if gas is present and being configured.
7713 @maybe_dependencies@
7715 # Serialization dependencies. Host configures don't work well in parallel to
7716 # each other, due to contention over config.cache. Target configures and
7717 # build configures are similar.
7718 @serialization_dependencies@
7720 # --------------------------------
7721 # Regenerating top level configury
7722 # --------------------------------
7724 # Rebuilding Makefile.in, using autogen.
7725 $(srcdir)/Makefile.in: # $(srcdir)/Makefile.tpl $(srcdir)/Makefile.def
7726 cd $(srcdir) && autogen Makefile.def
7728 # with the gnu make, this is done automatically.
7730 host_makefile_frag=@host_makefile_frag@
7731 target_makefile_frag=@target_makefile_frag@
7733 Makefile: Makefile.in configure.in $(host_makefile_frag) $(target_makefile_frag) $(gcc_version_trigger)
7734 $(SHELL) ./config.status
7738 .NOEXPORT:
7739 MAKEOVERRIDES=
7741 # end of Makefile.in