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
32 build_alias=@build_alias@
34 build_vendor=@build_vendor@
36 build_canonical=@build_cpu@-@build_vendor@-@build_os@
37 host_alias=@host_alias@
39 host_vendor=@host_vendor@
41 host_canonical=@host_cpu@-@host_vendor@-@host_os@
42 target_alias=@target_alias@
43 target_cpu=@target_cpu@
44 target_vendor=@target_vendor@
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@
58 exec_prefix = @exec_prefix@
62 libexecdir = @libexecdir@
64 sysconfdir = @sysconfdir@
65 sharedstatedir = @sharedstatedir@
66 localstatedir = @localstatedir@
68 includedir = @includedir@
69 oldincludedir = @oldincludedir@
72 gxx_include_dir=@gxx_include_dir@
75 build_tooldir = @build_tooldir@
77 program_transform_name = @program_transform_name@
79 man1dir = $(mandir)/man1
80 man2dir = $(mandir)/man2
81 man3dir = $(mandir)/man3
82 man4dir = $(mandir)/man4
83 man5dir = $(mandir)/man5
84 man6dir = $(mandir)/man6
85 man7dir = $(mandir)/man7
86 man8dir = $(mandir)/man8
87 man9dir = $(mandir)/man9
88 # Directory in which the compiler finds executables, libraries, etc.
89 libsubdir = $(libdir)/gcc-lib/$(target_alias)/$(gcc_version)
92 SHELL = @config_shell@
94 # pwd command to use. Allow user to override default by setting PWDCMD in
95 # the environment to account for automounters. The make variable must not
96 # be called PWDCMD, otherwise the value set here is passed to make
97 # subprocesses and overrides the setting from the user's environment.
100 # INSTALL_PROGRAM_ARGS is changed by configure.in to use -x for a
102 INSTALL_PROGRAM_ARGS =
104 INSTALL = $(SHELL) $$s/install-sh -c
105 INSTALL_PROGRAM = $(INSTALL) $(INSTALL_PROGRAM_ARGS)
106 INSTALL_SCRIPT = $(INSTALL)
107 INSTALL_DATA = $(INSTALL) -m 644
114 # Special variables passed down in EXTRA_GCC_FLAGS. They are defined
115 # here so that they can be overridden by Makefile fragments.
116 BUILD_CC = $(CC_FOR_BUILD)
117 BUILD_PREFIX = @BUILD_PREFIX@
118 BUILD_PREFIX_1 = @BUILD_PREFIX_1@
120 # These flag values are normally overridden by the configure script.
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)
133 LIBCFLAGS_FOR_TARGET = $(CFLAGS_FOR_TARGET)
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
151 # These values are substituted by configure.
152 DEFAULT_YACC = @DEFAULT_YACC@
153 DEFAULT_LEX = @DEFAULT_LEX@
154 DEFAULT_M4 = @DEFAULT_M4@
157 USUAL_BISON = `if [ -f $$r/bison/bison ] ; then \
158 echo $$r/bison/bison -L $$s/bison/ ; \
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 ; \
169 echo ${DEFAULT_YACC} ; \
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.
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.
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
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
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 BASE_CC_FOR_TARGET = @BASE_CC_FOR_TARGET@
260 CXX_FOR_TARGET = @CXX_FOR_TARGET@
261 RAW_CXX_FOR_TARGET = @RAW_CXX_FOR_TARGET@
262 CXX_FOR_TARGET_FOR_RECURSIVE_MAKE = @CXX_FOR_TARGET_FOR_RECURSIVE_MAKE@
263 RAW_CXX_FOR_TARGET_FOR_RECURSIVE_MAKE = @RAW_CXX_FOR_TARGET_FOR_RECURSIVE_MAKE@
264 GCJ_FOR_TARGET = @GCJ_FOR_TARGET@
266 # If GCC_FOR_TARGET is not overriden on the command line, then this
267 # variable is passed down to the gcc Makefile, where it is used to
268 # build libgcc2.a. We define it here so that it can itself be
269 # overridden on the command line.
270 GCC_FOR_TARGET=@GCC_FOR_TARGET@
271 USUAL_GCC_FOR_TARGET = $(STAGE_CC_WRAPPER) $$r/gcc/xgcc -B$$r/gcc/ $(FLAGS_FOR_TARGET)
273 AS_FOR_TARGET=@AS_FOR_TARGET@
274 USUAL_AS_FOR_TARGET = ` \
275 if [ -f $$r/gas/as-new ] ; then \
276 echo $$r/gas/as-new ; \
277 elif [ -f $$r/gcc/xgcc ]; then \
278 $(CC_FOR_TARGET) -print-prog-name=as ; \
280 if [ '$(host_canonical)' = '$(target_canonical)' ] ; then \
283 t='$(program_transform_name)'; echo as | sed -e 's/x/x/' $$t ; \
287 LD_FOR_TARGET=@LD_FOR_TARGET@
288 USUAL_LD_FOR_TARGET = ` \
289 if [ -f $$r/ld/ld-new ] ; then \
290 echo $$r/ld/ld-new ; \
291 elif [ -f $$r/gcc/xgcc ]; then \
292 $(CC_FOR_TARGET) -print-prog-name=ld ; \
294 if [ '$(host_canonical)' = '$(target_canonical)' ] ; then \
297 t='$(program_transform_name)'; echo ld | sed -e 's/x/x/' $$t ; \
301 DLLTOOL_FOR_TARGET=@DLLTOOL_FOR_TARGET@
302 USUAL_DLLTOOL_FOR_TARGET = ` \
303 if [ -f $$r/binutils/dlltool ] ; then \
304 echo $$r/binutils/dlltool ; \
306 if [ '$(host_canonical)' = '$(target_canonical)' ] ; then \
309 t='$(program_transform_name)'; echo dlltool | sed -e 's/x/x/' $$t ; \
313 WINDRES_FOR_TARGET=@WINDRES_FOR_TARGET@
314 USUAL_WINDRES_FOR_TARGET = ` \
315 if [ -f $$r/binutils/windres ] ; then \
316 echo $$r/binutils/windres ; \
318 if [ '$(host_canonical)' = '$(target_canonical)' ] ; then \
321 t='$(program_transform_name)'; echo windres | sed -e 's/x/x/' $$t ; \
325 AR_FOR_TARGET=@AR_FOR_TARGET@
326 USUAL_AR_FOR_TARGET = ` \
327 if [ -f $$r/binutils/ar ] ; then \
328 echo $$r/binutils/ar ; \
330 if [ '$(host_canonical)' = '$(target_canonical)' ] ; then \
333 t='$(program_transform_name)'; echo ar | sed -e 's/x/x/' $$t ; \
337 RANLIB_FOR_TARGET=@RANLIB_FOR_TARGET@
338 USUAL_RANLIB_FOR_TARGET = ` \
339 if [ -f $$r/binutils/ranlib ] ; then \
340 echo $$r/binutils/ranlib ; \
342 if [ '$(host_canonical)' = '$(target_canonical)' ] ; then \
343 if [ x'$(RANLIB)' != x ]; then \
349 t='$(program_transform_name)'; echo ranlib | sed -e 's/x/x/' $$t ; \
353 NM_FOR_TARGET=@NM_FOR_TARGET@
354 USUAL_NM_FOR_TARGET = ` \
355 if [ -f $$r/binutils/nm-new ] ; then \
356 echo $$r/binutils/nm-new ; \
357 elif [ -f $$r/gcc/xgcc ]; then \
358 $(CC_FOR_TARGET) -print-prog-name=nm ; \
360 if [ '$(host_canonical)' = '$(target_canonical)' ] ; then \
363 t='$(program_transform_name)'; echo nm | sed -e 's/x/x/' $$t ; \
367 # The first rule in the file had better be this one. Don't put any above it.
368 # This lives here to allow makefile fragments to contain dependencies.
372 #### host and target specific makefile fragments come in here.
375 # Flags to pass down to all sub-makes.
376 # Please keep these in alphabetical order.
377 BASE_FLAGS_TO_PASS = \
378 "AR_FLAGS=$(AR_FLAGS)" \
379 "AR_FOR_TARGET=$(AR_FOR_TARGET)" \
380 "AS_FOR_TARGET=$(AS_FOR_TARGET)" \
382 "CC_FOR_BUILD=$(CC_FOR_BUILD)" \
383 "CC_FOR_TARGET=$(CC_FOR_TARGET)" \
385 "CFLAGS_FOR_TARGET=$(CFLAGS_FOR_TARGET)" \
386 "GCJ_FOR_TARGET=$(GCJ_FOR_TARGET)" \
387 "CXX_FOR_BUILD=$(CXX_FOR_BUILD)" \
388 "CXXFLAGS=$(CXXFLAGS)" \
389 "CXXFLAGS_FOR_TARGET=$(CXXFLAGS_FOR_TARGET)" \
390 "CXX_FOR_TARGET=$(CXX_FOR_TARGET)" \
391 "DLLTOOL_FOR_TARGET=$(DLLTOOL_FOR_TARGET)" \
392 "INSTALL=$(INSTALL)" \
393 "INSTALL_DATA=$(INSTALL_DATA)" \
394 "INSTALL_PROGRAM=$(INSTALL_PROGRAM)" \
395 "INSTALL_SCRIPT=$(INSTALL_SCRIPT)" \
396 "LDFLAGS=$(LDFLAGS)" \
398 "LD_FOR_TARGET=$(LD_FOR_TARGET)" \
399 "LIBCFLAGS=$(LIBCFLAGS)" \
400 "LIBCFLAGS_FOR_TARGET=$(LIBCFLAGS_FOR_TARGET)" \
401 "LIBCXXFLAGS=$(LIBCXXFLAGS)" \
402 "LIBCXXFLAGS_FOR_TARGET=$(LIBCXXFLAGS_FOR_TARGET)" \
405 "MAKEINFO=$(MAKEINFO) $(MAKEINFOFLAGS)" \
406 "NM_FOR_TARGET=$(NM_FOR_TARGET)" \
407 "RANLIB_FOR_TARGET=$(RANLIB_FOR_TARGET)" \
408 "RPATH_ENVVAR=$(RPATH_ENVVAR)" \
411 "RUNTEST=$(RUNTEST)" \
412 "RUNTESTFLAGS=$(RUNTESTFLAGS)" \
413 "TARGET_SUBDIR=$(TARGET_SUBDIR)" \
414 "WINDRES_FOR_TARGET=$(WINDRES_FOR_TARGET)" \
417 "datadir=$(datadir)" \
418 "exec_prefix=$(exec_prefix)" \
419 "includedir=$(includedir)" \
420 "infodir=$(infodir)" \
422 "libexecdir=$(libexecdir)" \
423 "lispdir=$(lispdir)" \
424 "libstdcxx_incdir=$(libstdcxx_incdir)" \
425 "libsubdir=$(libsubdir)" \
426 "localstatedir=$(localstatedir)" \
428 "oldincludedir=$(oldincludedir)" \
430 "sbindir=$(sbindir)" \
431 "sharedstatedir=$(sharedstatedir)" \
432 "sysconfdir=$(sysconfdir)" \
433 "tooldir=$(tooldir)" \
434 "build_tooldir=$(build_tooldir)" \
435 "gxx_include_dir=$(gxx_include_dir)" \
436 "gcc_version=$(gcc_version)" \
437 "gcc_version_trigger=$(gcc_version_trigger)" \
438 "target_alias=$(target_alias)"
440 # For any flags above that may contain shell code that varies from one
441 # target library to another. When doing recursive invocations of the
442 # top-level Makefile, we don't want the outer make to evaluate them,
443 # so we pass these variables down unchanged. They must not contain
444 # single nor double quotes.
446 CXX_FOR_TARGET='$(CXX_FOR_TARGET_FOR_RECURSIVE_MAKE)' \
447 RAW_CXX_FOR_TARGET='$(RAW_CXX_FOR_TARGET_FOR_RECURSIVE_MAKE)' \
449 # Flags to pass down to most sub-makes, in which we're building with
450 # the host environment.
451 # If any variables are added here, they must be added to do-*, below.
457 'DLLTOOL=$(DLLTOOL)' \
460 "`echo 'RANLIB=$(RANLIB)' | sed -e s/.*=$$/XFOO=/`" \
463 FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS)
465 # Flags that are concerned with the location of the X11 include files
468 # NOTE: until the top-level is getting the values via autoconf, it only
469 # causes problems to have this top-level Makefile overriding the autoconf-set
470 # values in child directories. Only variables that don't conflict with
471 # autoconf'ed ones should be passed by X11_FLAGS_TO_PASS for now.
473 X11_FLAGS_TO_PASS = \
474 'X11_EXTRA_CFLAGS=$(X11_EXTRA_CFLAGS)' \
475 'X11_EXTRA_LIBS=$(X11_EXTRA_LIBS)'
477 # Flags to pass down to makes which are built with the target environment.
478 # The double $ decreases the length of the command line; the variables
479 # are set in BASE_FLAGS_TO_PASS, and the sub-make will expand them.
480 # If any variables are added here, they must be added to do-*, below.
481 EXTRA_TARGET_FLAGS = \
482 'AR=$$(AR_FOR_TARGET)' \
483 'AS=$$(AS_FOR_TARGET)' \
484 'CC=$$(CC_FOR_TARGET)' \
485 'CFLAGS=$$(CFLAGS_FOR_TARGET)' \
486 'CXX=$$(CXX_FOR_TARGET)' \
487 'CXXFLAGS=$$(CXXFLAGS_FOR_TARGET)' \
488 'DLLTOOL=$$(DLLTOOL_FOR_TARGET)' \
489 'LD=$$(LD_FOR_TARGET)' \
490 'LIBCFLAGS=$$(LIBCFLAGS_FOR_TARGET)' \
491 'LIBCXXFLAGS=$$(LIBCXXFLAGS_FOR_TARGET)' \
492 'NM=$$(NM_FOR_TARGET)' \
493 'RANLIB=$$(RANLIB_FOR_TARGET)' \
494 'WINDRES=$$(WINDRES_FOR_TARGET)'
496 TARGET_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS)
498 # Flags to pass down to gcc. gcc builds a library, libgcc.a, so it
499 # unfortunately needs the native compiler and the target ar and
501 # If any variables are added here, they must be added to do-*, below.
502 # The HOST_* variables are a special case, which are used for the gcc
503 # cross-building scheme.
509 'DLLTOOL=$$(DLLTOOL_FOR_TARGET)' \
510 'BUILD_CC=$(CC_FOR_BUILD)' \
511 'BUILD_PREFIX=$(BUILD_PREFIX)' \
512 'BUILD_PREFIX_1=$(BUILD_PREFIX_1)' \
514 "`echo 'RANLIB=$(RANLIB)' | sed -e s/.*=$$/XFOO=/`" \
515 'WINDRES=$$(WINDRES_FOR_TARGET)' \
516 "GCC_FOR_TARGET=$(GCC_FOR_TARGET)" \
517 "CFLAGS_FOR_BUILD=$(CFLAGS_FOR_BUILD)" \
518 "`echo 'LANGUAGES=$(LANGUAGES)' | sed -e s/.*=$$/XFOO=/`" \
519 "`echo 'STMP_FIXPROTO=$(STMP_FIXPROTO)' | sed -e s/.*=$$/XFOO=/`" \
520 "`echo 'LIMITS_H_TEST=$(LIMITS_H_TEST)' | sed -e s/.*=$$/XFOO=/`" \
521 "`echo 'LIBGCC2_CFLAGS=$(LIBGCC2_CFLAGS)' | sed -e s/.*=$$/XFOO=/`" \
522 "`echo 'LIBGCC2_DEBUG_CFLAGS=$(LIBGCC2_DEBUG_CFLAGS)' | sed -e s/.*=$$/XFOO=/`" \
523 "`echo 'LIBGCC2_INCLUDES=$(LIBGCC2_INCLUDES)' | sed -e s/.*=$$/XFOO=/`" \
524 "`echo 'ENQUIRE=$(ENQUIRE)' | sed -e s/.*=$$/XFOO=/`" \
525 "`echo 'STAGE1_CFLAGS=$(STAGE1_CFLAGS)' | sed -e s/.*=$$/XFOO=/`" \
526 "`echo 'BOOT_CFLAGS=$(BOOT_CFLAGS)' | sed -e s/.*=$$/XFOO=/`"
528 GCC_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS)
530 # This is a list of the configure targets for all of the modules which
531 # are compiled using the target tools.
532 CONFIGURE_TARGET_MODULES = \
533 configure-target-libstdc++-v3 \
534 configure-target-newlib \
535 configure-target-libf2c \
536 configure-target-libobjc \
537 configure-target-libtermcap \
538 configure-target-winsup \
539 configure-target-libgloss \
540 configure-target-libiberty \
541 configure-target-gperf \
542 configure-target-examples \
543 configure-target-libffi \
544 configure-target-libjava \
545 configure-target-zlib \
546 configure-target-boehm-gc \
547 configure-target-qthreads \
550 configure-target: $(CONFIGURE_TARGET_MODULES)
552 # This is a list of the targets for which we can do a clean-{target}.
616 # All of the target modules that can be cleaned
617 CLEAN_TARGET_MODULES = \
618 clean-target-libstdc++-v3 \
619 clean-target-newlib \
620 clean-target-libf2c \
621 clean-target-libobjc \
622 clean-target-winsup \
623 clean-target-libgloss \
624 clean-target-libiberty \
626 clean-target-examples \
627 clean-target-libffi \
628 clean-target-libjava \
630 clean-target-boehm-gc \
631 clean-target-qthreads \
634 # All of the x11 modules that can be cleaned
635 CLEAN_X11_MODULES = \
643 # The target built for a native build.
644 # This list only includes modules actually being configured and built.
646 all.normal: @all_build_modules@ \
650 all-target: @all_target_modules@
652 # Do a target for all the subdirectories. A ``make do-X'' will do a
653 # ``make X'' in all subdirectories (because, in general, there is a
654 # dependency (below) of X upon do-X, a ``make X'' will also do this,
655 # but it may do additional work as well).
656 # This target ensures that $(BASE_FLAGS_TO_PASS) appears only once,
657 # because it is so large that it can easily overflow the command line
658 # length limit on some systems.
662 @r=`${PWD}`; export r; \
663 s=`cd $(srcdir); ${PWD}`; export s; \
665 for i in $(SUBDIRS) -dummy-; do \
666 if [ -f ./$$i/Makefile ]; then \
669 for flag in $(EXTRA_GCC_FLAGS); do \
670 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
674 for flag in $(EXTRA_HOST_FLAGS); do \
675 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
680 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
681 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
682 "`echo \"RANLIB=$${RANLIB}\" | sed -e 's/.*=$$/XFOO=/'`" \
683 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
685 then true; else exit 1; fi; \
688 # Break into two pieces
689 r=`${PWD}`; export r; \
690 s=`cd $(srcdir); ${PWD}`; export s; \
692 for i in $(TARGET_CONFIGDIRS) -dummy-; do \
693 if [ -f $(TARGET_SUBDIR)/$$i/Makefile ]; then \
694 for flag in $(EXTRA_TARGET_FLAGS); do \
695 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
697 if (cd $(TARGET_SUBDIR)/$$i; \
698 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
699 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
700 "`echo \"RANLIB=$${RANLIB}\" | sed -e 's/.*=$$/XFOO=/'`" \
701 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
703 then true; else exit 1; fi; \
709 @r=`${PWD}`; export r; \
710 s=`cd $(srcdir); ${PWD}`; export s; \
712 for i in $(SUBDIRS) -dummy-; do \
713 if [ -f ./$$i/Makefile ]; then \
716 for flag in $(EXTRA_GCC_FLAGS); do \
717 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
721 for flag in $(EXTRA_HOST_FLAGS); do \
722 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
727 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
728 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
729 "`echo \"RANLIB=$${RANLIB}\" | sed -e 's/.*=$$/XFOO=/'`" \
730 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
732 then true; else exit 1; fi; \
735 # Break into two pieces
736 r=`${PWD}`; export r; \
737 s=`cd $(srcdir); ${PWD}`; export s; \
739 for i in $(TARGET_CONFIGDIRS) -dummy-; do \
740 if [ -f $(TARGET_SUBDIR)/$$i/Makefile ]; then \
741 for flag in $(EXTRA_TARGET_FLAGS); do \
742 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
744 if (cd $(TARGET_SUBDIR)/$$i; \
745 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
746 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
747 "`echo \"RANLIB=$${RANLIB}\" | sed -e 's/.*=$$/XFOO=/'`" \
748 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
750 then true; else exit 1; fi; \
756 @r=`${PWD}`; export r; \
757 s=`cd $(srcdir); ${PWD}`; export s; \
759 for i in $(SUBDIRS) -dummy-; do \
760 if [ -f ./$$i/Makefile ]; then \
763 for flag in $(EXTRA_GCC_FLAGS); do \
764 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
768 for flag in $(EXTRA_HOST_FLAGS); do \
769 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
774 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
775 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
776 "`echo \"RANLIB=$${RANLIB}\" | sed -e 's/.*=$$/XFOO=/'`" \
777 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
779 then true; else exit 1; fi; \
782 # Break into two pieces
783 r=`${PWD}`; export r; \
784 s=`cd $(srcdir); ${PWD}`; export s; \
786 for i in $(TARGET_CONFIGDIRS) -dummy-; do \
787 if [ -f $(TARGET_SUBDIR)/$$i/Makefile ]; then \
788 for flag in $(EXTRA_TARGET_FLAGS); do \
789 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
791 if (cd $(TARGET_SUBDIR)/$$i; \
792 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
793 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
794 "`echo \"RANLIB=$${RANLIB}\" | sed -e 's/.*=$$/XFOO=/'`" \
795 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
797 then true; else exit 1; fi; \
803 @r=`${PWD}`; export r; \
804 s=`cd $(srcdir); ${PWD}`; export s; \
806 for i in $(SUBDIRS) -dummy-; do \
807 if [ -f ./$$i/Makefile ]; then \
810 for flag in $(EXTRA_GCC_FLAGS); do \
811 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
815 for flag in $(EXTRA_HOST_FLAGS); do \
816 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
821 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
822 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
823 "`echo \"RANLIB=$${RANLIB}\" | sed -e 's/.*=$$/XFOO=/'`" \
824 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
826 then true; else exit 1; fi; \
829 # Break into two pieces
830 r=`${PWD}`; export r; \
831 s=`cd $(srcdir); ${PWD}`; export s; \
833 for i in $(TARGET_CONFIGDIRS) -dummy-; do \
834 if [ -f $(TARGET_SUBDIR)/$$i/Makefile ]; then \
835 for flag in $(EXTRA_TARGET_FLAGS); do \
836 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
838 if (cd $(TARGET_SUBDIR)/$$i; \
839 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
840 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
841 "`echo \"RANLIB=$${RANLIB}\" | sed -e 's/.*=$$/XFOO=/'`" \
842 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
844 then true; else exit 1; fi; \
848 .PHONY: do-install-info
850 @r=`${PWD}`; export r; \
851 s=`cd $(srcdir); ${PWD}`; export s; \
853 for i in $(SUBDIRS) -dummy-; do \
854 if [ -f ./$$i/Makefile ]; then \
857 for flag in $(EXTRA_GCC_FLAGS); do \
858 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
862 for flag in $(EXTRA_HOST_FLAGS); do \
863 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
868 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
869 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
870 "`echo \"RANLIB=$${RANLIB}\" | sed -e 's/.*=$$/XFOO=/'`" \
871 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
873 then true; else exit 1; fi; \
876 # Break into two pieces
877 r=`${PWD}`; export r; \
878 s=`cd $(srcdir); ${PWD}`; export s; \
880 for i in $(TARGET_CONFIGDIRS) -dummy-; do \
881 if [ -f $(TARGET_SUBDIR)/$$i/Makefile ]; then \
882 for flag in $(EXTRA_TARGET_FLAGS); do \
883 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
885 if (cd $(TARGET_SUBDIR)/$$i; \
886 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
887 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
888 "`echo \"RANLIB=$${RANLIB}\" | sed -e 's/.*=$$/XFOO=/'`" \
889 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
891 then true; else exit 1; fi; \
895 .PHONY: do-installcheck
897 @r=`${PWD}`; export r; \
898 s=`cd $(srcdir); ${PWD}`; export s; \
900 for i in $(SUBDIRS) -dummy-; do \
901 if [ -f ./$$i/Makefile ]; then \
904 for flag in $(EXTRA_GCC_FLAGS); do \
905 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
909 for flag in $(EXTRA_HOST_FLAGS); do \
910 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
915 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
916 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
917 "`echo \"RANLIB=$${RANLIB}\" | sed -e 's/.*=$$/XFOO=/'`" \
918 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
920 then true; else exit 1; fi; \
923 # Break into two pieces
924 r=`${PWD}`; export r; \
925 s=`cd $(srcdir); ${PWD}`; export s; \
927 for i in $(TARGET_CONFIGDIRS) -dummy-; do \
928 if [ -f $(TARGET_SUBDIR)/$$i/Makefile ]; then \
929 for flag in $(EXTRA_TARGET_FLAGS); do \
930 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
932 if (cd $(TARGET_SUBDIR)/$$i; \
933 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
934 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
935 "`echo \"RANLIB=$${RANLIB}\" | sed -e 's/.*=$$/XFOO=/'`" \
936 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
938 then true; else exit 1; fi; \
942 .PHONY: do-mostlyclean
944 @r=`${PWD}`; export r; \
945 s=`cd $(srcdir); ${PWD}`; export s; \
947 for i in $(SUBDIRS) -dummy-; do \
948 if [ -f ./$$i/Makefile ]; then \
951 for flag in $(EXTRA_GCC_FLAGS); do \
952 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
956 for flag in $(EXTRA_HOST_FLAGS); do \
957 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
962 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
963 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
964 "`echo \"RANLIB=$${RANLIB}\" | sed -e 's/.*=$$/XFOO=/'`" \
965 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
967 then true; else exit 1; fi; \
970 # Break into two pieces
971 r=`${PWD}`; export r; \
972 s=`cd $(srcdir); ${PWD}`; export s; \
974 for i in $(TARGET_CONFIGDIRS) -dummy-; do \
975 if [ -f $(TARGET_SUBDIR)/$$i/Makefile ]; then \
976 for flag in $(EXTRA_TARGET_FLAGS); do \
977 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
979 if (cd $(TARGET_SUBDIR)/$$i; \
980 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
981 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
982 "`echo \"RANLIB=$${RANLIB}\" | sed -e 's/.*=$$/XFOO=/'`" \
983 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
985 then true; else exit 1; fi; \
989 .PHONY: do-maintainer-clean
991 @r=`${PWD}`; export r; \
992 s=`cd $(srcdir); ${PWD}`; export s; \
994 for i in $(SUBDIRS) -dummy-; do \
995 if [ -f ./$$i/Makefile ]; then \
998 for flag in $(EXTRA_GCC_FLAGS); do \
999 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
1003 for flag in $(EXTRA_HOST_FLAGS); do \
1004 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
1009 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
1010 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
1011 "`echo \"RANLIB=$${RANLIB}\" | sed -e 's/.*=$$/XFOO=/'`" \
1012 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
1013 maintainer-clean); \
1014 then true; else exit 1; fi; \
1017 # Break into two pieces
1018 r=`${PWD}`; export r; \
1019 s=`cd $(srcdir); ${PWD}`; export s; \
1021 for i in $(TARGET_CONFIGDIRS) -dummy-; do \
1022 if [ -f $(TARGET_SUBDIR)/$$i/Makefile ]; then \
1023 for flag in $(EXTRA_TARGET_FLAGS); do \
1024 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
1026 if (cd $(TARGET_SUBDIR)/$$i; \
1027 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
1028 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
1029 "`echo \"RANLIB=$${RANLIB}\" | sed -e 's/.*=$$/XFOO=/'`" \
1030 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
1031 maintainer-clean); \
1032 then true; else exit 1; fi; \
1038 @r=`${PWD}`; export r; \
1039 s=`cd $(srcdir); ${PWD}`; export s; \
1041 for i in $(SUBDIRS) -dummy-; do \
1042 if [ -f ./$$i/Makefile ]; then \
1045 for flag in $(EXTRA_GCC_FLAGS); do \
1046 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
1050 for flag in $(EXTRA_HOST_FLAGS); do \
1051 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
1056 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
1057 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
1058 "`echo \"RANLIB=$${RANLIB}\" | sed -e 's/.*=$$/XFOO=/'`" \
1059 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
1061 then true; else exit 1; fi; \
1064 # Break into two pieces
1065 r=`${PWD}`; export r; \
1066 s=`cd $(srcdir); ${PWD}`; export s; \
1068 for i in $(TARGET_CONFIGDIRS) -dummy-; do \
1069 if [ -f $(TARGET_SUBDIR)/$$i/Makefile ]; then \
1070 for flag in $(EXTRA_TARGET_FLAGS); do \
1071 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
1073 if (cd $(TARGET_SUBDIR)/$$i; \
1074 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
1075 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
1076 "`echo \"RANLIB=$${RANLIB}\" | sed -e 's/.*=$$/XFOO=/'`" \
1077 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
1079 then true; else exit 1; fi; \
1085 # Here are the targets which correspond to the do-X targets.
1087 .PHONY: info installcheck dvi install-info
1088 .PHONY: clean distclean mostlyclean maintainer-clean realclean
1089 .PHONY: local-clean local-distclean local-maintainer-clean
1091 installcheck: do-installcheck
1094 # Make sure makeinfo is built before we do a `make info'.
1095 do-info: all-texinfo
1097 install-info: do-install-info dir.info
1098 s=`cd $(srcdir); ${PWD}`; export s; \
1099 if [ -f dir.info ] ; then \
1100 $(INSTALL_DATA) dir.info $(infodir)/dir.info ; \
1104 -rm -f *.a TEMP errs core *.o *~ \#* TAGS *.E *.log
1107 -rm -f Makefile config.status config.cache mh-frag mt-frag
1108 -if [ "$(TARGET_SUBDIR)" != "." ]; then \
1109 rm -rf $(TARGET_SUBDIR); \
1111 -rm -f texinfo/po/Makefile texinfo/po/Makefile.in texinfo/info/Makefile
1112 -rm -f texinfo/doc/Makefile texinfo/po/POTFILES
1113 -rmdir texinfo/doc texinfo/info texinfo/intl texinfo/lib 2>/dev/null
1114 -rmdir texinfo/makeinfo texinfo/po texinfo/util 2>/dev/null
1115 -rmdir fastjar gcc libiberty texinfo zlib 2>/dev/null
1117 local-maintainer-clean:
1118 @echo "This command is intended for maintainers to use;"
1119 @echo "it deletes files that may require special tools to rebuild."
1121 clean: do-clean local-clean
1122 mostlyclean: do-mostlyclean local-clean
1123 distclean: do-distclean local-clean local-distclean
1124 maintainer-clean: local-maintainer-clean do-maintainer-clean local-clean
1125 maintainer-clean: local-distclean
1126 realclean: maintainer-clean
1128 # This rule is used to clean specific modules.
1129 .PHONY: $(CLEAN_MODULES) $(CLEAN_X11_MODULES) clean-gcc
1130 $(CLEAN_MODULES) $(CLEAN_X11_MODULES) clean-gcc:
1131 @dir=`echo $@ | sed -e 's/clean-//'`; \
1132 if [ -f ./$${dir}/Makefile ] ; then \
1133 r=`${PWD}`; export r; \
1134 s=`cd $(srcdir); ${PWD}`; export s; \
1136 (cd $${dir}; $(MAKE) $(FLAGS_TO_PASS) clean); \
1141 .PHONY: $(CLEAN_TARGET_MODULES)
1142 $(CLEAN_TARGET_MODULES):
1143 @dir=`echo $@ | sed -e 's/clean-target-//'`; \
1144 rm -f $(TARGET_SUBDIR)/$${dir}/multilib.out $(TARGET_SUBDIR)/$${dir}/tmpmulti.out; \
1145 if [ -f $(TARGET_SUBDIR)/$${dir}/Makefile ] ; then \
1146 r=`${PWD}`; export r; \
1147 s=`cd $(srcdir); ${PWD}`; export s; \
1149 (cd $(TARGET_SUBDIR)/$${dir}; $(MAKE) $(TARGET_FLAGS_TO_PASS) clean); \
1154 clean-target: $(CLEAN_TARGET_MODULES) clean-target-libgcc
1155 clean-target-libgcc:
1156 test ! -d gcc/libgcc || \
1157 (cd gcc/libgcc && find . -type d -print) | \
1158 while read d; do rm -f gcc/$$d/libgcc.a || : ; done
1163 .PHONY: check do-check
1165 $(MAKE) do-check NOTPARALLEL=parallel-ok
1167 # Only include modules actually being configured and built.
1168 do-check: @check_host_modules@ \
1169 @check_target_modules@
1171 # Automated reporting of test results.
1173 warning.log: build.log
1174 $(srcdir)/contrib/warn_summary build.log > $@
1177 if test x'$(BOOT_CFLAGS)' != x''; then \
1178 BOOT_CFLAGS='$(BOOT_CFLAGS)'; export BOOT_CFLAGS; \
1180 $(srcdir)/contrib/test_summary -t >$@
1182 echo If you really want to send e-mail, run ./$@ now
1184 mail-report-with-warnings.log: warning.log
1185 if test x'$(BOOT_CFLAGS)' != x''; then \
1186 BOOT_CFLAGS='$(BOOT_CFLAGS)'; export BOOT_CFLAGS; \
1188 $(srcdir)/contrib/test_summary -t -i warning.log >$@
1190 echo If you really want to send e-mail, run ./$@ now
1192 # Installation targets.
1194 .PHONY: install uninstall
1195 install: installdirs @install_host_modules@ @install_target_modules@
1197 install-target: @install_target_modules@
1200 @echo "the uninstall target is not supported in this tree"
1203 install.all: install-no-fixedincludes
1204 @if [ -f ./gcc/Makefile ] ; then \
1205 r=`${PWD}` ; export r ; \
1208 $(MAKE) $(FLAGS_TO_PASS) install-headers) ; \
1213 # install-no-fixedincludes is used because Cygnus can not distribute
1214 # the fixed header files.
1215 .PHONY: install-no-fixedincludes
1216 install-no-fixedincludes: installdirs @install_host_modules_nogcc@ \
1217 @install_target_modules@ gcc-no-fixedincludes
1219 ### other supporting targets
1222 $(DESTDIR)$(prefix) \
1223 $(DESTDIR)$(exec_prefix)
1225 installdirs: mkinstalldirs
1226 $(SHELL) $(srcdir)/mkinstalldirs $(MAKEDIRS)
1228 dir.info: do-install-info
1229 if [ -f $(srcdir)/texinfo/gen-info-dir ] ; then \
1230 $(srcdir)/texinfo/gen-info-dir $(infodir) $(srcdir)/texinfo/dir.info-template > dir.info.new ; \
1231 mv -f dir.info.new dir.info ; \
1236 @echo "Building a full distribution of this tree isn't done"
1237 @echo "via 'make dist'. Check out the etc/ subdirectory"
1241 # Right now this just builds TAGS in each subdirectory. emacs19 has the
1242 # ability to use several tags files at once, so there is probably no need
1243 # to combine them into one big TAGS file (like CVS 1.3 does). We could
1244 # (if we felt like it) have this Makefile write a piece of elisp which
1245 # the user could load to tell emacs19 where all the TAGS files we just
1250 # --------------------------------------
1251 # Modules which run on the build machine
1252 # --------------------------------------
1254 .PHONY: configure-build-libiberty maybe-configure-build-libiberty
1255 maybe-configure-build-libiberty:
1256 configure-build-libiberty: $(BUILD_SUBDIR)/libiberty/Makefile
1257 $(BUILD_SUBDIR)/libiberty/Makefile: config.status
1258 @[ -d $(BUILD_SUBDIR)/libiberty ] || mkdir $(BUILD_SUBDIR)/libiberty;\
1259 r=`${PWD}`; export r; \
1260 s=`cd $(srcdir); ${PWD}`; export s; \
1261 AR="$(AR_FOR_BUILD)"; export AR; \
1262 AS="$(AS_FOR_BUILD)"; export AS; \
1263 CC="$(CC_FOR_BUILD)"; export CC; \
1264 CFLAGS="$(CFLAGS_FOR_BUILD)"; export CFLAGS; \
1265 CXX="$(CXX_FOR_BUILD)"; export CXX; \
1266 CXXFLAGS="$(CXXFLAGS_FOR_BUILD)"; export CXXFLAGS; \
1267 GCJ="$(GCJ_FOR_BUILD)"; export GCJ; \
1268 DLLTOOL="$(DLLTOOL_FOR_BUILD)"; export DLLTOOL; \
1269 LD="$(LD_FOR_BUILD)"; export LD; \
1270 LDFLAGS="$(LDFLAGS_FOR_BUILD)"; export LDFLAGS; \
1271 NM="$(NM_FOR_BUILD)"; export NM; \
1272 RANLIB="$(RANLIB_FOR_BUILD)"; export RANLIB; \
1273 WINDRES="$(WINDRES_FOR_BUILD)"; export WINDRES; \
1274 echo Configuring in $(BUILD_SUBDIR)/libiberty; \
1275 cd "$(BUILD_SUBDIR)/libiberty" || exit 1; \
1277 /* | [A-Za-z]:[\\/]*) \
1278 topdir=$(srcdir) ;; \
1280 case "$(BUILD_SUBDIR)" in \
1281 .) topdir="../$(srcdir)" ;; \
1282 *) topdir="../../$(srcdir)" ;; \
1285 if [ "$(srcdir)" = "." ] ; then \
1286 if [ "$(BUILD_SUBDIR)" != "." ] ; then \
1287 if $(SHELL) $$s/symlink-tree $${topdir}/libiberty "no-such-file" ; then \
1288 if [ -f Makefile ]; then \
1289 if $(MAKE) distclean; then \
1303 srcdiroption="--srcdir=."; \
1306 srcdiroption="--srcdir=$${topdir}/libiberty"; \
1307 libsrcdir="$$s/libiberty"; \
1309 rm -f no-such-file || : ; \
1310 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
1311 $(BUILD_CONFIGARGS) $${srcdiroption} \
1312 --with-build-subdir="$(BUILD_SUBDIR)" \
1315 .PHONY: all-build-libiberty maybe-all-build-libiberty
1316 maybe-all-build-libiberty:
1317 all-build-libiberty: configure-build-libiberty
1318 @r=`${PWD}`; export r; \
1319 s=`cd $(srcdir); ${PWD}`; export s; \
1320 (cd $(BUILD_SUBDIR)/libiberty && $(MAKE) all)
1323 # --------------------------------------
1324 # Modules which run on the host machine
1325 # --------------------------------------
1327 .PHONY: configure-ash maybe-configure-ash
1328 maybe-configure-ash:
1329 configure-ash: ash/Makefile
1331 ash/Makefile: config.status
1332 @[ -d ash ] || mkdir ash; \
1333 r=`${PWD}`; export r; \
1334 s=`cd $(srcdir); ${PWD}`; export s; \
1335 CC="$(CC)"; export CC; \
1336 CFLAGS="$(CFLAGS)"; export CFLAGS; \
1337 CXX="$(CXX)"; export CXX; \
1338 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
1339 if [ z$(build_canonical) != z$(host_canoncial) ] ; then \
1340 AR="$(AR)"; export AR; \
1341 AS="$(AS)"; export AS; \
1342 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
1343 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
1344 LD="$(LD)"; export LD; \
1345 NM="$(NM)"; export NM; \
1346 RANLIB="$(RANLIB)"; export RANLIB; \
1347 WINDRES="$(WINDRES)"; export WINDRES; \
1348 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
1349 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
1351 echo Configuring in ash; \
1355 srcdiroption="--srcdir=."; \
1357 /* | [A-Za-z]:[\\/]*) \
1358 srcdiroption="--srcdir=$(srcdir)/ash"; \
1359 libsrcdir="$$s/ash";; \
1361 srcdiroption="--srcdir=../$(srcdir)/ash"; \
1362 libsrcdir="$$s/ash";; \
1364 $(SHELL) $${libsrcdir}/configure \
1365 $(HOST_CONFIGARGS) $${srcdiroption} \
1368 .PHONY: all-ash maybe-all-ash
1371 @r=`${PWD}`; export r; \
1372 s=`cd $(srcdir); ${PWD}`; export s; \
1374 (cd ash; $(MAKE) $(FLAGS_TO_PASS) all)
1379 @r=`${PWD}`; export r; \
1380 s=`cd $(srcdir); ${PWD}`; export s; \
1382 (cd ash; $(MAKE) $(FLAGS_TO_PASS) check)
1386 .PHONY: install-ash maybe-install-ash
1388 install-ash: installdirs
1389 @r=`${PWD}`; export r; \
1390 s=`cd $(srcdir); ${PWD}`; export s; \
1392 (cd ash; $(MAKE) $(FLAGS_TO_PASS) install)
1395 .PHONY: configure-autoconf maybe-configure-autoconf
1396 maybe-configure-autoconf:
1397 configure-autoconf: autoconf/Makefile
1399 autoconf/Makefile: config.status
1400 @[ -d autoconf ] || mkdir autoconf; \
1401 r=`${PWD}`; export r; \
1402 s=`cd $(srcdir); ${PWD}`; export s; \
1403 CC="$(CC)"; export CC; \
1404 CFLAGS="$(CFLAGS)"; export CFLAGS; \
1405 CXX="$(CXX)"; export CXX; \
1406 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
1407 if [ z$(build_canonical) != z$(host_canoncial) ] ; then \
1408 AR="$(AR)"; export AR; \
1409 AS="$(AS)"; export AS; \
1410 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
1411 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
1412 LD="$(LD)"; export LD; \
1413 NM="$(NM)"; export NM; \
1414 RANLIB="$(RANLIB)"; export RANLIB; \
1415 WINDRES="$(WINDRES)"; export WINDRES; \
1416 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
1417 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
1419 echo Configuring in autoconf; \
1420 cd autoconf || exit 1; \
1423 srcdiroption="--srcdir=."; \
1425 /* | [A-Za-z]:[\\/]*) \
1426 srcdiroption="--srcdir=$(srcdir)/autoconf"; \
1427 libsrcdir="$$s/autoconf";; \
1429 srcdiroption="--srcdir=../$(srcdir)/autoconf"; \
1430 libsrcdir="$$s/autoconf";; \
1432 $(SHELL) $${libsrcdir}/configure \
1433 $(HOST_CONFIGARGS) $${srcdiroption} \
1436 .PHONY: all-autoconf maybe-all-autoconf
1439 @r=`${PWD}`; export r; \
1440 s=`cd $(srcdir); ${PWD}`; export s; \
1442 (cd autoconf; $(MAKE) $(FLAGS_TO_PASS) all)
1445 .PHONY: check-autoconf
1447 @r=`${PWD}`; export r; \
1448 s=`cd $(srcdir); ${PWD}`; export s; \
1450 (cd autoconf; $(MAKE) $(FLAGS_TO_PASS) check)
1454 .PHONY: install-autoconf maybe-install-autoconf
1455 maybe-install-autoconf:
1456 install-autoconf: installdirs
1457 @r=`${PWD}`; export r; \
1458 s=`cd $(srcdir); ${PWD}`; export s; \
1460 (cd autoconf; $(MAKE) $(FLAGS_TO_PASS) install)
1463 .PHONY: configure-automake maybe-configure-automake
1464 maybe-configure-automake:
1465 configure-automake: automake/Makefile
1467 automake/Makefile: config.status
1468 @[ -d automake ] || mkdir automake; \
1469 r=`${PWD}`; export r; \
1470 s=`cd $(srcdir); ${PWD}`; export s; \
1471 CC="$(CC)"; export CC; \
1472 CFLAGS="$(CFLAGS)"; export CFLAGS; \
1473 CXX="$(CXX)"; export CXX; \
1474 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
1475 if [ z$(build_canonical) != z$(host_canoncial) ] ; then \
1476 AR="$(AR)"; export AR; \
1477 AS="$(AS)"; export AS; \
1478 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
1479 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
1480 LD="$(LD)"; export LD; \
1481 NM="$(NM)"; export NM; \
1482 RANLIB="$(RANLIB)"; export RANLIB; \
1483 WINDRES="$(WINDRES)"; export WINDRES; \
1484 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
1485 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
1487 echo Configuring in automake; \
1488 cd automake || exit 1; \
1491 srcdiroption="--srcdir=."; \
1493 /* | [A-Za-z]:[\\/]*) \
1494 srcdiroption="--srcdir=$(srcdir)/automake"; \
1495 libsrcdir="$$s/automake";; \
1497 srcdiroption="--srcdir=../$(srcdir)/automake"; \
1498 libsrcdir="$$s/automake";; \
1500 $(SHELL) $${libsrcdir}/configure \
1501 $(HOST_CONFIGARGS) $${srcdiroption} \
1504 .PHONY: all-automake maybe-all-automake
1507 @r=`${PWD}`; export r; \
1508 s=`cd $(srcdir); ${PWD}`; export s; \
1510 (cd automake; $(MAKE) $(FLAGS_TO_PASS) all)
1513 .PHONY: check-automake
1515 @r=`${PWD}`; export r; \
1516 s=`cd $(srcdir); ${PWD}`; export s; \
1518 (cd automake; $(MAKE) $(FLAGS_TO_PASS) check)
1522 .PHONY: install-automake maybe-install-automake
1523 maybe-install-automake:
1524 install-automake: installdirs
1525 @r=`${PWD}`; export r; \
1526 s=`cd $(srcdir); ${PWD}`; export s; \
1528 (cd automake; $(MAKE) $(FLAGS_TO_PASS) install)
1531 .PHONY: configure-bash maybe-configure-bash
1532 maybe-configure-bash:
1533 configure-bash: bash/Makefile
1535 bash/Makefile: config.status
1536 @[ -d bash ] || mkdir bash; \
1537 r=`${PWD}`; export r; \
1538 s=`cd $(srcdir); ${PWD}`; export s; \
1539 CC="$(CC)"; export CC; \
1540 CFLAGS="$(CFLAGS)"; export CFLAGS; \
1541 CXX="$(CXX)"; export CXX; \
1542 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
1543 if [ z$(build_canonical) != z$(host_canoncial) ] ; then \
1544 AR="$(AR)"; export AR; \
1545 AS="$(AS)"; export AS; \
1546 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
1547 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
1548 LD="$(LD)"; export LD; \
1549 NM="$(NM)"; export NM; \
1550 RANLIB="$(RANLIB)"; export RANLIB; \
1551 WINDRES="$(WINDRES)"; export WINDRES; \
1552 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
1553 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
1555 echo Configuring in bash; \
1556 cd bash || exit 1; \
1559 srcdiroption="--srcdir=."; \
1561 /* | [A-Za-z]:[\\/]*) \
1562 srcdiroption="--srcdir=$(srcdir)/bash"; \
1563 libsrcdir="$$s/bash";; \
1565 srcdiroption="--srcdir=../$(srcdir)/bash"; \
1566 libsrcdir="$$s/bash";; \
1568 $(SHELL) $${libsrcdir}/configure \
1569 $(HOST_CONFIGARGS) $${srcdiroption} \
1572 .PHONY: all-bash maybe-all-bash
1575 @r=`${PWD}`; export r; \
1576 s=`cd $(srcdir); ${PWD}`; export s; \
1578 (cd bash; $(MAKE) $(FLAGS_TO_PASS) all)
1583 @r=`${PWD}`; export r; \
1584 s=`cd $(srcdir); ${PWD}`; export s; \
1586 (cd bash; $(MAKE) $(FLAGS_TO_PASS) check)
1590 .PHONY: install-bash maybe-install-bash
1592 install-bash: installdirs
1593 @r=`${PWD}`; export r; \
1594 s=`cd $(srcdir); ${PWD}`; export s; \
1596 (cd bash; $(MAKE) $(FLAGS_TO_PASS) install)
1599 .PHONY: configure-bfd maybe-configure-bfd
1600 maybe-configure-bfd:
1601 configure-bfd: bfd/Makefile
1603 bfd/Makefile: config.status
1604 @[ -d bfd ] || mkdir bfd; \
1605 r=`${PWD}`; export r; \
1606 s=`cd $(srcdir); ${PWD}`; export s; \
1607 CC="$(CC)"; export CC; \
1608 CFLAGS="$(CFLAGS)"; export CFLAGS; \
1609 CXX="$(CXX)"; export CXX; \
1610 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
1611 if [ z$(build_canonical) != z$(host_canoncial) ] ; then \
1612 AR="$(AR)"; export AR; \
1613 AS="$(AS)"; export AS; \
1614 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
1615 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
1616 LD="$(LD)"; export LD; \
1617 NM="$(NM)"; export NM; \
1618 RANLIB="$(RANLIB)"; export RANLIB; \
1619 WINDRES="$(WINDRES)"; export WINDRES; \
1620 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
1621 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
1623 echo Configuring in bfd; \
1627 srcdiroption="--srcdir=."; \
1629 /* | [A-Za-z]:[\\/]*) \
1630 srcdiroption="--srcdir=$(srcdir)/bfd"; \
1631 libsrcdir="$$s/bfd";; \
1633 srcdiroption="--srcdir=../$(srcdir)/bfd"; \
1634 libsrcdir="$$s/bfd";; \
1636 $(SHELL) $${libsrcdir}/configure \
1637 $(HOST_CONFIGARGS) $${srcdiroption} \
1640 .PHONY: all-bfd maybe-all-bfd
1643 @r=`${PWD}`; export r; \
1644 s=`cd $(srcdir); ${PWD}`; export s; \
1646 (cd bfd; $(MAKE) $(FLAGS_TO_PASS) all)
1651 @r=`${PWD}`; export r; \
1652 s=`cd $(srcdir); ${PWD}`; export s; \
1654 (cd bfd; $(MAKE) $(FLAGS_TO_PASS) check)
1658 .PHONY: install-bfd maybe-install-bfd
1660 install-bfd: installdirs
1661 @r=`${PWD}`; export r; \
1662 s=`cd $(srcdir); ${PWD}`; export s; \
1664 (cd bfd; $(MAKE) $(FLAGS_TO_PASS) install)
1667 .PHONY: configure-opcodes maybe-configure-opcodes
1668 maybe-configure-opcodes:
1669 configure-opcodes: opcodes/Makefile
1671 opcodes/Makefile: config.status
1672 @[ -d opcodes ] || mkdir opcodes; \
1673 r=`${PWD}`; export r; \
1674 s=`cd $(srcdir); ${PWD}`; export s; \
1675 CC="$(CC)"; export CC; \
1676 CFLAGS="$(CFLAGS)"; export CFLAGS; \
1677 CXX="$(CXX)"; export CXX; \
1678 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
1679 if [ z$(build_canonical) != z$(host_canoncial) ] ; then \
1680 AR="$(AR)"; export AR; \
1681 AS="$(AS)"; export AS; \
1682 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
1683 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
1684 LD="$(LD)"; export LD; \
1685 NM="$(NM)"; export NM; \
1686 RANLIB="$(RANLIB)"; export RANLIB; \
1687 WINDRES="$(WINDRES)"; export WINDRES; \
1688 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
1689 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
1691 echo Configuring in opcodes; \
1692 cd opcodes || exit 1; \
1695 srcdiroption="--srcdir=."; \
1697 /* | [A-Za-z]:[\\/]*) \
1698 srcdiroption="--srcdir=$(srcdir)/opcodes"; \
1699 libsrcdir="$$s/opcodes";; \
1701 srcdiroption="--srcdir=../$(srcdir)/opcodes"; \
1702 libsrcdir="$$s/opcodes";; \
1704 $(SHELL) $${libsrcdir}/configure \
1705 $(HOST_CONFIGARGS) $${srcdiroption} \
1708 .PHONY: all-opcodes maybe-all-opcodes
1711 @r=`${PWD}`; export r; \
1712 s=`cd $(srcdir); ${PWD}`; export s; \
1714 (cd opcodes; $(MAKE) $(FLAGS_TO_PASS) all)
1717 .PHONY: check-opcodes
1719 @r=`${PWD}`; export r; \
1720 s=`cd $(srcdir); ${PWD}`; export s; \
1722 (cd opcodes; $(MAKE) $(FLAGS_TO_PASS) check)
1726 .PHONY: install-opcodes maybe-install-opcodes
1727 maybe-install-opcodes:
1728 install-opcodes: installdirs
1729 @r=`${PWD}`; export r; \
1730 s=`cd $(srcdir); ${PWD}`; export s; \
1732 (cd opcodes; $(MAKE) $(FLAGS_TO_PASS) install)
1735 .PHONY: configure-binutils maybe-configure-binutils
1736 maybe-configure-binutils:
1737 configure-binutils: binutils/Makefile
1739 binutils/Makefile: config.status
1740 @[ -d binutils ] || mkdir binutils; \
1741 r=`${PWD}`; export r; \
1742 s=`cd $(srcdir); ${PWD}`; export s; \
1743 CC="$(CC)"; export CC; \
1744 CFLAGS="$(CFLAGS)"; export CFLAGS; \
1745 CXX="$(CXX)"; export CXX; \
1746 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
1747 if [ z$(build_canonical) != z$(host_canoncial) ] ; then \
1748 AR="$(AR)"; export AR; \
1749 AS="$(AS)"; export AS; \
1750 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
1751 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
1752 LD="$(LD)"; export LD; \
1753 NM="$(NM)"; export NM; \
1754 RANLIB="$(RANLIB)"; export RANLIB; \
1755 WINDRES="$(WINDRES)"; export WINDRES; \
1756 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
1757 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
1759 echo Configuring in binutils; \
1760 cd binutils || exit 1; \
1763 srcdiroption="--srcdir=."; \
1765 /* | [A-Za-z]:[\\/]*) \
1766 srcdiroption="--srcdir=$(srcdir)/binutils"; \
1767 libsrcdir="$$s/binutils";; \
1769 srcdiroption="--srcdir=../$(srcdir)/binutils"; \
1770 libsrcdir="$$s/binutils";; \
1772 $(SHELL) $${libsrcdir}/configure \
1773 $(HOST_CONFIGARGS) $${srcdiroption} \
1776 .PHONY: all-binutils maybe-all-binutils
1779 @r=`${PWD}`; export r; \
1780 s=`cd $(srcdir); ${PWD}`; export s; \
1782 (cd binutils; $(MAKE) $(FLAGS_TO_PASS) all)
1785 .PHONY: check-binutils
1787 @r=`${PWD}`; export r; \
1788 s=`cd $(srcdir); ${PWD}`; export s; \
1790 (cd binutils; $(MAKE) $(FLAGS_TO_PASS) check)
1794 .PHONY: install-binutils maybe-install-binutils
1795 maybe-install-binutils:
1796 install-binutils: installdirs
1797 @r=`${PWD}`; export r; \
1798 s=`cd $(srcdir); ${PWD}`; export s; \
1800 (cd binutils; $(MAKE) $(FLAGS_TO_PASS) install)
1803 .PHONY: configure-bison maybe-configure-bison
1804 maybe-configure-bison:
1805 configure-bison: bison/Makefile
1807 bison/Makefile: config.status
1808 @[ -d bison ] || mkdir bison; \
1809 r=`${PWD}`; export r; \
1810 s=`cd $(srcdir); ${PWD}`; export s; \
1811 CC="$(CC)"; export CC; \
1812 CFLAGS="$(CFLAGS)"; export CFLAGS; \
1813 CXX="$(CXX)"; export CXX; \
1814 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
1815 if [ z$(build_canonical) != z$(host_canoncial) ] ; then \
1816 AR="$(AR)"; export AR; \
1817 AS="$(AS)"; export AS; \
1818 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
1819 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
1820 LD="$(LD)"; export LD; \
1821 NM="$(NM)"; export NM; \
1822 RANLIB="$(RANLIB)"; export RANLIB; \
1823 WINDRES="$(WINDRES)"; export WINDRES; \
1824 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
1825 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
1827 echo Configuring in bison; \
1828 cd bison || exit 1; \
1831 srcdiroption="--srcdir=."; \
1833 /* | [A-Za-z]:[\\/]*) \
1834 srcdiroption="--srcdir=$(srcdir)/bison"; \
1835 libsrcdir="$$s/bison";; \
1837 srcdiroption="--srcdir=../$(srcdir)/bison"; \
1838 libsrcdir="$$s/bison";; \
1840 $(SHELL) $${libsrcdir}/configure \
1841 $(HOST_CONFIGARGS) $${srcdiroption} \
1844 .PHONY: all-bison maybe-all-bison
1847 @r=`${PWD}`; export r; \
1848 s=`cd $(srcdir); ${PWD}`; export s; \
1850 (cd bison; $(MAKE) $(FLAGS_TO_PASS) all)
1854 # This module is only tested in a native toolchain.
1856 @if [ '$(host_canonical)' = '$(target_canonical)' ] ; then \
1857 r=`${PWD}`; export r; \
1858 s=`cd $(srcdir); ${PWD}`; export s; \
1860 (cd bison; $(MAKE) $(FLAGS_TO_PASS) check); \
1865 .PHONY: install-bison maybe-install-bison
1866 maybe-install-bison:
1867 install-bison: installdirs
1868 @r=`${PWD}`; export r; \
1869 s=`cd $(srcdir); ${PWD}`; export s; \
1871 (cd bison; $(MAKE) $(FLAGS_TO_PASS) install)
1874 .PHONY: configure-byacc maybe-configure-byacc
1875 maybe-configure-byacc:
1876 configure-byacc: byacc/Makefile
1878 byacc/Makefile: config.status
1879 @[ -d byacc ] || mkdir byacc; \
1880 r=`${PWD}`; export r; \
1881 s=`cd $(srcdir); ${PWD}`; export s; \
1882 CC="$(CC)"; export CC; \
1883 CFLAGS="$(CFLAGS)"; export CFLAGS; \
1884 CXX="$(CXX)"; export CXX; \
1885 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
1886 if [ z$(build_canonical) != z$(host_canoncial) ] ; then \
1887 AR="$(AR)"; export AR; \
1888 AS="$(AS)"; export AS; \
1889 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
1890 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
1891 LD="$(LD)"; export LD; \
1892 NM="$(NM)"; export NM; \
1893 RANLIB="$(RANLIB)"; export RANLIB; \
1894 WINDRES="$(WINDRES)"; export WINDRES; \
1895 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
1896 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
1898 echo Configuring in byacc; \
1899 cd byacc || exit 1; \
1902 srcdiroption="--srcdir=."; \
1904 /* | [A-Za-z]:[\\/]*) \
1905 srcdiroption="--srcdir=$(srcdir)/byacc"; \
1906 libsrcdir="$$s/byacc";; \
1908 srcdiroption="--srcdir=../$(srcdir)/byacc"; \
1909 libsrcdir="$$s/byacc";; \
1911 $(SHELL) $${libsrcdir}/configure \
1912 $(HOST_CONFIGARGS) $${srcdiroption} \
1915 .PHONY: all-byacc maybe-all-byacc
1918 @r=`${PWD}`; export r; \
1919 s=`cd $(srcdir); ${PWD}`; export s; \
1921 (cd byacc; $(MAKE) $(FLAGS_TO_PASS) all)
1925 # This module is only tested in a native toolchain.
1927 @if [ '$(host_canonical)' = '$(target_canonical)' ] ; then \
1928 r=`${PWD}`; export r; \
1929 s=`cd $(srcdir); ${PWD}`; export s; \
1931 (cd byacc; $(MAKE) $(FLAGS_TO_PASS) check); \
1936 .PHONY: install-byacc maybe-install-byacc
1937 maybe-install-byacc:
1938 install-byacc: installdirs
1939 @r=`${PWD}`; export r; \
1940 s=`cd $(srcdir); ${PWD}`; export s; \
1942 (cd byacc; $(MAKE) $(FLAGS_TO_PASS) install)
1945 .PHONY: configure-bzip2 maybe-configure-bzip2
1946 maybe-configure-bzip2:
1947 configure-bzip2: bzip2/Makefile
1949 bzip2/Makefile: config.status
1950 @[ -d bzip2 ] || mkdir bzip2; \
1951 r=`${PWD}`; export r; \
1952 s=`cd $(srcdir); ${PWD}`; export s; \
1953 CC="$(CC)"; export CC; \
1954 CFLAGS="$(CFLAGS)"; export CFLAGS; \
1955 CXX="$(CXX)"; export CXX; \
1956 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
1957 if [ z$(build_canonical) != z$(host_canoncial) ] ; then \
1958 AR="$(AR)"; export AR; \
1959 AS="$(AS)"; export AS; \
1960 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
1961 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
1962 LD="$(LD)"; export LD; \
1963 NM="$(NM)"; export NM; \
1964 RANLIB="$(RANLIB)"; export RANLIB; \
1965 WINDRES="$(WINDRES)"; export WINDRES; \
1966 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
1967 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
1969 echo Configuring in bzip2; \
1970 cd bzip2 || exit 1; \
1973 srcdiroption="--srcdir=."; \
1975 /* | [A-Za-z]:[\\/]*) \
1976 srcdiroption="--srcdir=$(srcdir)/bzip2"; \
1977 libsrcdir="$$s/bzip2";; \
1979 srcdiroption="--srcdir=../$(srcdir)/bzip2"; \
1980 libsrcdir="$$s/bzip2";; \
1982 $(SHELL) $${libsrcdir}/configure \
1983 $(HOST_CONFIGARGS) $${srcdiroption} \
1986 .PHONY: all-bzip2 maybe-all-bzip2
1989 @r=`${PWD}`; export r; \
1990 s=`cd $(srcdir); ${PWD}`; export s; \
1992 (cd bzip2; $(MAKE) $(FLAGS_TO_PASS) all)
1997 @r=`${PWD}`; export r; \
1998 s=`cd $(srcdir); ${PWD}`; export s; \
2000 (cd bzip2; $(MAKE) $(FLAGS_TO_PASS) check)
2004 .PHONY: install-bzip2 maybe-install-bzip2
2005 maybe-install-bzip2:
2006 install-bzip2: installdirs
2007 @r=`${PWD}`; export r; \
2008 s=`cd $(srcdir); ${PWD}`; export s; \
2010 (cd bzip2; $(MAKE) $(FLAGS_TO_PASS) install)
2013 .PHONY: configure-db maybe-configure-db
2015 configure-db: db/Makefile
2017 db/Makefile: config.status
2018 @[ -d db ] || mkdir db; \
2019 r=`${PWD}`; export r; \
2020 s=`cd $(srcdir); ${PWD}`; export s; \
2021 CC="$(CC)"; export CC; \
2022 CFLAGS="$(CFLAGS)"; export CFLAGS; \
2023 CXX="$(CXX)"; export CXX; \
2024 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
2025 if [ z$(build_canonical) != z$(host_canoncial) ] ; then \
2026 AR="$(AR)"; export AR; \
2027 AS="$(AS)"; export AS; \
2028 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
2029 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
2030 LD="$(LD)"; export LD; \
2031 NM="$(NM)"; export NM; \
2032 RANLIB="$(RANLIB)"; export RANLIB; \
2033 WINDRES="$(WINDRES)"; export WINDRES; \
2034 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
2035 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
2037 echo Configuring in db; \
2041 srcdiroption="--srcdir=."; \
2043 /* | [A-Za-z]:[\\/]*) \
2044 srcdiroption="--srcdir=$(srcdir)/db"; \
2045 libsrcdir="$$s/db";; \
2047 srcdiroption="--srcdir=../$(srcdir)/db"; \
2048 libsrcdir="$$s/db";; \
2050 $(SHELL) $${libsrcdir}/configure \
2051 $(HOST_CONFIGARGS) $${srcdiroption} \
2054 .PHONY: all-db maybe-all-db
2057 @r=`${PWD}`; export r; \
2058 s=`cd $(srcdir); ${PWD}`; export s; \
2060 (cd db; $(MAKE) $(FLAGS_TO_PASS) all)
2065 @r=`${PWD}`; export r; \
2066 s=`cd $(srcdir); ${PWD}`; export s; \
2068 (cd db; $(MAKE) $(FLAGS_TO_PASS) check)
2072 .PHONY: install-db maybe-install-db
2074 install-db: installdirs
2075 @r=`${PWD}`; export r; \
2076 s=`cd $(srcdir); ${PWD}`; export s; \
2078 (cd db; $(MAKE) $(FLAGS_TO_PASS) install)
2081 .PHONY: configure-dejagnu maybe-configure-dejagnu
2082 maybe-configure-dejagnu:
2083 configure-dejagnu: dejagnu/Makefile
2085 dejagnu/Makefile: config.status
2086 @[ -d dejagnu ] || mkdir dejagnu; \
2087 r=`${PWD}`; export r; \
2088 s=`cd $(srcdir); ${PWD}`; export s; \
2089 CC="$(CC)"; export CC; \
2090 CFLAGS="$(CFLAGS)"; export CFLAGS; \
2091 CXX="$(CXX)"; export CXX; \
2092 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
2093 if [ z$(build_canonical) != z$(host_canoncial) ] ; then \
2094 AR="$(AR)"; export AR; \
2095 AS="$(AS)"; export AS; \
2096 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
2097 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
2098 LD="$(LD)"; export LD; \
2099 NM="$(NM)"; export NM; \
2100 RANLIB="$(RANLIB)"; export RANLIB; \
2101 WINDRES="$(WINDRES)"; export WINDRES; \
2102 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
2103 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
2105 echo Configuring in dejagnu; \
2106 cd dejagnu || exit 1; \
2109 srcdiroption="--srcdir=."; \
2111 /* | [A-Za-z]:[\\/]*) \
2112 srcdiroption="--srcdir=$(srcdir)/dejagnu"; \
2113 libsrcdir="$$s/dejagnu";; \
2115 srcdiroption="--srcdir=../$(srcdir)/dejagnu"; \
2116 libsrcdir="$$s/dejagnu";; \
2118 $(SHELL) $${libsrcdir}/configure \
2119 $(HOST_CONFIGARGS) $${srcdiroption} \
2122 .PHONY: all-dejagnu maybe-all-dejagnu
2125 @r=`${PWD}`; export r; \
2126 s=`cd $(srcdir); ${PWD}`; export s; \
2128 (cd dejagnu; $(MAKE) $(FLAGS_TO_PASS) all)
2131 .PHONY: check-dejagnu
2133 @r=`${PWD}`; export r; \
2134 s=`cd $(srcdir); ${PWD}`; export s; \
2136 (cd dejagnu; $(MAKE) $(FLAGS_TO_PASS) check)
2140 .PHONY: install-dejagnu maybe-install-dejagnu
2141 maybe-install-dejagnu:
2142 install-dejagnu: installdirs
2143 @r=`${PWD}`; export r; \
2144 s=`cd $(srcdir); ${PWD}`; export s; \
2146 (cd dejagnu; $(MAKE) $(FLAGS_TO_PASS) install)
2149 .PHONY: configure-diff maybe-configure-diff
2150 maybe-configure-diff:
2151 configure-diff: diff/Makefile
2153 diff/Makefile: config.status
2154 @[ -d diff ] || mkdir diff; \
2155 r=`${PWD}`; export r; \
2156 s=`cd $(srcdir); ${PWD}`; export s; \
2157 CC="$(CC)"; export CC; \
2158 CFLAGS="$(CFLAGS)"; export CFLAGS; \
2159 CXX="$(CXX)"; export CXX; \
2160 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
2161 if [ z$(build_canonical) != z$(host_canoncial) ] ; then \
2162 AR="$(AR)"; export AR; \
2163 AS="$(AS)"; export AS; \
2164 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
2165 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
2166 LD="$(LD)"; export LD; \
2167 NM="$(NM)"; export NM; \
2168 RANLIB="$(RANLIB)"; export RANLIB; \
2169 WINDRES="$(WINDRES)"; export WINDRES; \
2170 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
2171 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
2173 echo Configuring in diff; \
2174 cd diff || exit 1; \
2177 srcdiroption="--srcdir=."; \
2179 /* | [A-Za-z]:[\\/]*) \
2180 srcdiroption="--srcdir=$(srcdir)/diff"; \
2181 libsrcdir="$$s/diff";; \
2183 srcdiroption="--srcdir=../$(srcdir)/diff"; \
2184 libsrcdir="$$s/diff";; \
2186 $(SHELL) $${libsrcdir}/configure \
2187 $(HOST_CONFIGARGS) $${srcdiroption} \
2190 .PHONY: all-diff maybe-all-diff
2193 @r=`${PWD}`; export r; \
2194 s=`cd $(srcdir); ${PWD}`; export s; \
2196 (cd diff; $(MAKE) $(FLAGS_TO_PASS) all)
2201 @r=`${PWD}`; export r; \
2202 s=`cd $(srcdir); ${PWD}`; export s; \
2204 (cd diff; $(MAKE) $(FLAGS_TO_PASS) check)
2208 .PHONY: install-diff maybe-install-diff
2210 install-diff: installdirs
2211 @r=`${PWD}`; export r; \
2212 s=`cd $(srcdir); ${PWD}`; export s; \
2214 (cd diff; $(MAKE) $(FLAGS_TO_PASS) install)
2217 .PHONY: configure-dosutils maybe-configure-dosutils
2218 maybe-configure-dosutils:
2219 configure-dosutils: dosutils/Makefile
2221 dosutils/Makefile: config.status
2222 @[ -d dosutils ] || mkdir dosutils; \
2223 r=`${PWD}`; export r; \
2224 s=`cd $(srcdir); ${PWD}`; export s; \
2225 CC="$(CC)"; export CC; \
2226 CFLAGS="$(CFLAGS)"; export CFLAGS; \
2227 CXX="$(CXX)"; export CXX; \
2228 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
2229 if [ z$(build_canonical) != z$(host_canoncial) ] ; then \
2230 AR="$(AR)"; export AR; \
2231 AS="$(AS)"; export AS; \
2232 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
2233 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
2234 LD="$(LD)"; export LD; \
2235 NM="$(NM)"; export NM; \
2236 RANLIB="$(RANLIB)"; export RANLIB; \
2237 WINDRES="$(WINDRES)"; export WINDRES; \
2238 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
2239 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
2241 echo Configuring in dosutils; \
2242 cd dosutils || exit 1; \
2245 srcdiroption="--srcdir=."; \
2247 /* | [A-Za-z]:[\\/]*) \
2248 srcdiroption="--srcdir=$(srcdir)/dosutils"; \
2249 libsrcdir="$$s/dosutils";; \
2251 srcdiroption="--srcdir=../$(srcdir)/dosutils"; \
2252 libsrcdir="$$s/dosutils";; \
2254 $(SHELL) $${libsrcdir}/configure \
2255 $(HOST_CONFIGARGS) $${srcdiroption} \
2258 .PHONY: all-dosutils maybe-all-dosutils
2261 @r=`${PWD}`; export r; \
2262 s=`cd $(srcdir); ${PWD}`; export s; \
2264 (cd dosutils; $(MAKE) $(FLAGS_TO_PASS) all)
2267 .PHONY: check-dosutils
2272 .PHONY: install-dosutils maybe-install-dosutils
2273 maybe-install-dosutils:
2274 install-dosutils: installdirs
2275 @r=`${PWD}`; export r; \
2276 s=`cd $(srcdir); ${PWD}`; export s; \
2278 (cd dosutils; $(MAKE) $(FLAGS_TO_PASS) install)
2281 .PHONY: configure-etc maybe-configure-etc
2282 maybe-configure-etc:
2283 configure-etc: etc/Makefile
2285 etc/Makefile: config.status
2286 @[ -d etc ] || mkdir etc; \
2287 r=`${PWD}`; export r; \
2288 s=`cd $(srcdir); ${PWD}`; export s; \
2289 CC="$(CC)"; export CC; \
2290 CFLAGS="$(CFLAGS)"; export CFLAGS; \
2291 CXX="$(CXX)"; export CXX; \
2292 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
2293 if [ z$(build_canonical) != z$(host_canoncial) ] ; then \
2294 AR="$(AR)"; export AR; \
2295 AS="$(AS)"; export AS; \
2296 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
2297 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
2298 LD="$(LD)"; export LD; \
2299 NM="$(NM)"; export NM; \
2300 RANLIB="$(RANLIB)"; export RANLIB; \
2301 WINDRES="$(WINDRES)"; export WINDRES; \
2302 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
2303 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
2305 echo Configuring in etc; \
2309 srcdiroption="--srcdir=."; \
2311 /* | [A-Za-z]:[\\/]*) \
2312 srcdiroption="--srcdir=$(srcdir)/etc"; \
2313 libsrcdir="$$s/etc";; \
2315 srcdiroption="--srcdir=../$(srcdir)/etc"; \
2316 libsrcdir="$$s/etc";; \
2318 $(SHELL) $${libsrcdir}/configure \
2319 $(HOST_CONFIGARGS) $${srcdiroption} \
2322 .PHONY: all-etc maybe-all-etc
2325 @r=`${PWD}`; export r; \
2326 s=`cd $(srcdir); ${PWD}`; export s; \
2328 (cd etc; $(MAKE) $(FLAGS_TO_PASS) all)
2333 @r=`${PWD}`; export r; \
2334 s=`cd $(srcdir); ${PWD}`; export s; \
2336 (cd etc; $(MAKE) $(FLAGS_TO_PASS) check)
2340 .PHONY: install-etc maybe-install-etc
2342 install-etc: installdirs
2343 @r=`${PWD}`; export r; \
2344 s=`cd $(srcdir); ${PWD}`; export s; \
2346 (cd etc; $(MAKE) $(FLAGS_TO_PASS) install)
2349 .PHONY: configure-fastjar maybe-configure-fastjar
2350 maybe-configure-fastjar:
2351 configure-fastjar: fastjar/Makefile
2353 fastjar/Makefile: config.status
2354 @[ -d fastjar ] || mkdir fastjar; \
2355 r=`${PWD}`; export r; \
2356 s=`cd $(srcdir); ${PWD}`; export s; \
2357 CC="$(CC)"; export CC; \
2358 CFLAGS="$(CFLAGS)"; export CFLAGS; \
2359 CXX="$(CXX)"; export CXX; \
2360 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
2361 if [ z$(build_canonical) != z$(host_canoncial) ] ; then \
2362 AR="$(AR)"; export AR; \
2363 AS="$(AS)"; export AS; \
2364 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
2365 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
2366 LD="$(LD)"; export LD; \
2367 NM="$(NM)"; export NM; \
2368 RANLIB="$(RANLIB)"; export RANLIB; \
2369 WINDRES="$(WINDRES)"; export WINDRES; \
2370 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
2371 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
2373 echo Configuring in fastjar; \
2374 cd fastjar || exit 1; \
2377 srcdiroption="--srcdir=."; \
2379 /* | [A-Za-z]:[\\/]*) \
2380 srcdiroption="--srcdir=$(srcdir)/fastjar"; \
2381 libsrcdir="$$s/fastjar";; \
2383 srcdiroption="--srcdir=../$(srcdir)/fastjar"; \
2384 libsrcdir="$$s/fastjar";; \
2386 $(SHELL) $${libsrcdir}/configure \
2387 $(HOST_CONFIGARGS) $${srcdiroption} \
2390 .PHONY: all-fastjar maybe-all-fastjar
2393 @r=`${PWD}`; export r; \
2394 s=`cd $(srcdir); ${PWD}`; export s; \
2396 (cd fastjar; $(MAKE) $(FLAGS_TO_PASS) all)
2399 .PHONY: check-fastjar
2400 # This module is only tested in a native toolchain.
2402 @if [ '$(host_canonical)' = '$(target_canonical)' ] ; then \
2403 r=`${PWD}`; export r; \
2404 s=`cd $(srcdir); ${PWD}`; export s; \
2406 (cd fastjar; $(MAKE) $(FLAGS_TO_PASS) check); \
2411 .PHONY: install-fastjar maybe-install-fastjar
2412 maybe-install-fastjar:
2413 install-fastjar: installdirs
2414 @r=`${PWD}`; export r; \
2415 s=`cd $(srcdir); ${PWD}`; export s; \
2417 (cd fastjar; $(MAKE) $(FLAGS_TO_PASS) install)
2420 .PHONY: configure-fileutils maybe-configure-fileutils
2421 maybe-configure-fileutils:
2422 configure-fileutils: fileutils/Makefile
2424 fileutils/Makefile: config.status
2425 @[ -d fileutils ] || mkdir fileutils; \
2426 r=`${PWD}`; export r; \
2427 s=`cd $(srcdir); ${PWD}`; export s; \
2428 CC="$(CC)"; export CC; \
2429 CFLAGS="$(CFLAGS)"; export CFLAGS; \
2430 CXX="$(CXX)"; export CXX; \
2431 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
2432 if [ z$(build_canonical) != z$(host_canoncial) ] ; then \
2433 AR="$(AR)"; export AR; \
2434 AS="$(AS)"; export AS; \
2435 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
2436 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
2437 LD="$(LD)"; export LD; \
2438 NM="$(NM)"; export NM; \
2439 RANLIB="$(RANLIB)"; export RANLIB; \
2440 WINDRES="$(WINDRES)"; export WINDRES; \
2441 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
2442 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
2444 echo Configuring in fileutils; \
2445 cd fileutils || exit 1; \
2448 srcdiroption="--srcdir=."; \
2450 /* | [A-Za-z]:[\\/]*) \
2451 srcdiroption="--srcdir=$(srcdir)/fileutils"; \
2452 libsrcdir="$$s/fileutils";; \
2454 srcdiroption="--srcdir=../$(srcdir)/fileutils"; \
2455 libsrcdir="$$s/fileutils";; \
2457 $(SHELL) $${libsrcdir}/configure \
2458 $(HOST_CONFIGARGS) $${srcdiroption} \
2461 .PHONY: all-fileutils maybe-all-fileutils
2462 maybe-all-fileutils:
2464 @r=`${PWD}`; export r; \
2465 s=`cd $(srcdir); ${PWD}`; export s; \
2467 (cd fileutils; $(MAKE) $(FLAGS_TO_PASS) all)
2470 .PHONY: check-fileutils
2472 @r=`${PWD}`; export r; \
2473 s=`cd $(srcdir); ${PWD}`; export s; \
2475 (cd fileutils; $(MAKE) $(FLAGS_TO_PASS) check)
2479 .PHONY: install-fileutils maybe-install-fileutils
2480 maybe-install-fileutils:
2481 install-fileutils: installdirs
2482 @r=`${PWD}`; export r; \
2483 s=`cd $(srcdir); ${PWD}`; export s; \
2485 (cd fileutils; $(MAKE) $(FLAGS_TO_PASS) install)
2488 .PHONY: configure-findutils maybe-configure-findutils
2489 maybe-configure-findutils:
2490 configure-findutils: findutils/Makefile
2492 findutils/Makefile: config.status
2493 @[ -d findutils ] || mkdir findutils; \
2494 r=`${PWD}`; export r; \
2495 s=`cd $(srcdir); ${PWD}`; export s; \
2496 CC="$(CC)"; export CC; \
2497 CFLAGS="$(CFLAGS)"; export CFLAGS; \
2498 CXX="$(CXX)"; export CXX; \
2499 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
2500 if [ z$(build_canonical) != z$(host_canoncial) ] ; then \
2501 AR="$(AR)"; export AR; \
2502 AS="$(AS)"; export AS; \
2503 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
2504 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
2505 LD="$(LD)"; export LD; \
2506 NM="$(NM)"; export NM; \
2507 RANLIB="$(RANLIB)"; export RANLIB; \
2508 WINDRES="$(WINDRES)"; export WINDRES; \
2509 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
2510 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
2512 echo Configuring in findutils; \
2513 cd findutils || exit 1; \
2516 srcdiroption="--srcdir=."; \
2518 /* | [A-Za-z]:[\\/]*) \
2519 srcdiroption="--srcdir=$(srcdir)/findutils"; \
2520 libsrcdir="$$s/findutils";; \
2522 srcdiroption="--srcdir=../$(srcdir)/findutils"; \
2523 libsrcdir="$$s/findutils";; \
2525 $(SHELL) $${libsrcdir}/configure \
2526 $(HOST_CONFIGARGS) $${srcdiroption} \
2529 .PHONY: all-findutils maybe-all-findutils
2530 maybe-all-findutils:
2532 @r=`${PWD}`; export r; \
2533 s=`cd $(srcdir); ${PWD}`; export s; \
2535 (cd findutils; $(MAKE) $(FLAGS_TO_PASS) all)
2538 .PHONY: check-findutils
2540 @r=`${PWD}`; export r; \
2541 s=`cd $(srcdir); ${PWD}`; export s; \
2543 (cd findutils; $(MAKE) $(FLAGS_TO_PASS) check)
2547 .PHONY: install-findutils maybe-install-findutils
2548 maybe-install-findutils:
2549 install-findutils: installdirs
2550 @r=`${PWD}`; export r; \
2551 s=`cd $(srcdir); ${PWD}`; export s; \
2553 (cd findutils; $(MAKE) $(FLAGS_TO_PASS) install)
2556 .PHONY: configure-find maybe-configure-find
2557 maybe-configure-find:
2558 configure-find: find/Makefile
2560 find/Makefile: config.status
2561 @[ -d find ] || mkdir find; \
2562 r=`${PWD}`; export r; \
2563 s=`cd $(srcdir); ${PWD}`; export s; \
2564 CC="$(CC)"; export CC; \
2565 CFLAGS="$(CFLAGS)"; export CFLAGS; \
2566 CXX="$(CXX)"; export CXX; \
2567 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
2568 if [ z$(build_canonical) != z$(host_canoncial) ] ; then \
2569 AR="$(AR)"; export AR; \
2570 AS="$(AS)"; export AS; \
2571 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
2572 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
2573 LD="$(LD)"; export LD; \
2574 NM="$(NM)"; export NM; \
2575 RANLIB="$(RANLIB)"; export RANLIB; \
2576 WINDRES="$(WINDRES)"; export WINDRES; \
2577 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
2578 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
2580 echo Configuring in find; \
2581 cd find || exit 1; \
2584 srcdiroption="--srcdir=."; \
2586 /* | [A-Za-z]:[\\/]*) \
2587 srcdiroption="--srcdir=$(srcdir)/find"; \
2588 libsrcdir="$$s/find";; \
2590 srcdiroption="--srcdir=../$(srcdir)/find"; \
2591 libsrcdir="$$s/find";; \
2593 $(SHELL) $${libsrcdir}/configure \
2594 $(HOST_CONFIGARGS) $${srcdiroption} \
2597 .PHONY: all-find maybe-all-find
2600 @r=`${PWD}`; export r; \
2601 s=`cd $(srcdir); ${PWD}`; export s; \
2603 (cd find; $(MAKE) $(FLAGS_TO_PASS) all)
2608 @r=`${PWD}`; export r; \
2609 s=`cd $(srcdir); ${PWD}`; export s; \
2611 (cd find; $(MAKE) $(FLAGS_TO_PASS) check)
2615 .PHONY: install-find maybe-install-find
2617 install-find: installdirs
2618 @r=`${PWD}`; export r; \
2619 s=`cd $(srcdir); ${PWD}`; export s; \
2621 (cd find; $(MAKE) $(FLAGS_TO_PASS) install)
2624 .PHONY: configure-flex maybe-configure-flex
2625 maybe-configure-flex:
2626 configure-flex: flex/Makefile
2628 flex/Makefile: config.status
2629 @[ -d flex ] || mkdir flex; \
2630 r=`${PWD}`; export r; \
2631 s=`cd $(srcdir); ${PWD}`; export s; \
2632 CC="$(CC)"; export CC; \
2633 CFLAGS="$(CFLAGS)"; export CFLAGS; \
2634 CXX="$(CXX)"; export CXX; \
2635 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
2636 if [ z$(build_canonical) != z$(host_canoncial) ] ; then \
2637 AR="$(AR)"; export AR; \
2638 AS="$(AS)"; export AS; \
2639 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
2640 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
2641 LD="$(LD)"; export LD; \
2642 NM="$(NM)"; export NM; \
2643 RANLIB="$(RANLIB)"; export RANLIB; \
2644 WINDRES="$(WINDRES)"; export WINDRES; \
2645 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
2646 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
2648 echo Configuring in flex; \
2649 cd flex || exit 1; \
2652 srcdiroption="--srcdir=."; \
2654 /* | [A-Za-z]:[\\/]*) \
2655 srcdiroption="--srcdir=$(srcdir)/flex"; \
2656 libsrcdir="$$s/flex";; \
2658 srcdiroption="--srcdir=../$(srcdir)/flex"; \
2659 libsrcdir="$$s/flex";; \
2661 $(SHELL) $${libsrcdir}/configure \
2662 $(HOST_CONFIGARGS) $${srcdiroption} \
2665 .PHONY: all-flex maybe-all-flex
2668 @r=`${PWD}`; export r; \
2669 s=`cd $(srcdir); ${PWD}`; export s; \
2671 (cd flex; $(MAKE) $(FLAGS_TO_PASS) all)
2675 # This module is only tested in a native toolchain.
2677 @if [ '$(host_canonical)' = '$(target_canonical)' ] ; then \
2678 r=`${PWD}`; export r; \
2679 s=`cd $(srcdir); ${PWD}`; export s; \
2681 (cd flex; $(MAKE) $(FLAGS_TO_PASS) check); \
2686 .PHONY: install-flex maybe-install-flex
2688 install-flex: installdirs
2689 @r=`${PWD}`; export r; \
2690 s=`cd $(srcdir); ${PWD}`; export s; \
2692 (cd flex; $(MAKE) $(FLAGS_TO_PASS) install)
2695 .PHONY: configure-gas maybe-configure-gas
2696 maybe-configure-gas:
2697 configure-gas: gas/Makefile
2699 gas/Makefile: config.status
2700 @[ -d gas ] || mkdir gas; \
2701 r=`${PWD}`; export r; \
2702 s=`cd $(srcdir); ${PWD}`; export s; \
2703 CC="$(CC)"; export CC; \
2704 CFLAGS="$(CFLAGS)"; export CFLAGS; \
2705 CXX="$(CXX)"; export CXX; \
2706 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
2707 if [ z$(build_canonical) != z$(host_canoncial) ] ; then \
2708 AR="$(AR)"; export AR; \
2709 AS="$(AS)"; export AS; \
2710 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
2711 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
2712 LD="$(LD)"; export LD; \
2713 NM="$(NM)"; export NM; \
2714 RANLIB="$(RANLIB)"; export RANLIB; \
2715 WINDRES="$(WINDRES)"; export WINDRES; \
2716 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
2717 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
2719 echo Configuring in gas; \
2723 srcdiroption="--srcdir=."; \
2725 /* | [A-Za-z]:[\\/]*) \
2726 srcdiroption="--srcdir=$(srcdir)/gas"; \
2727 libsrcdir="$$s/gas";; \
2729 srcdiroption="--srcdir=../$(srcdir)/gas"; \
2730 libsrcdir="$$s/gas";; \
2732 $(SHELL) $${libsrcdir}/configure \
2733 $(HOST_CONFIGARGS) $${srcdiroption} \
2736 .PHONY: all-gas maybe-all-gas
2739 @r=`${PWD}`; export r; \
2740 s=`cd $(srcdir); ${PWD}`; export s; \
2742 (cd gas; $(MAKE) $(FLAGS_TO_PASS) all)
2747 @r=`${PWD}`; export r; \
2748 s=`cd $(srcdir); ${PWD}`; export s; \
2750 (cd gas; $(MAKE) $(FLAGS_TO_PASS) check)
2754 .PHONY: install-gas maybe-install-gas
2756 install-gas: installdirs
2757 @r=`${PWD}`; export r; \
2758 s=`cd $(srcdir); ${PWD}`; export s; \
2760 (cd gas; $(MAKE) $(FLAGS_TO_PASS) install)
2763 .PHONY: configure-gawk maybe-configure-gawk
2764 maybe-configure-gawk:
2765 configure-gawk: gawk/Makefile
2767 gawk/Makefile: config.status
2768 @[ -d gawk ] || mkdir gawk; \
2769 r=`${PWD}`; export r; \
2770 s=`cd $(srcdir); ${PWD}`; export s; \
2771 CC="$(CC)"; export CC; \
2772 CFLAGS="$(CFLAGS)"; export CFLAGS; \
2773 CXX="$(CXX)"; export CXX; \
2774 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
2775 if [ z$(build_canonical) != z$(host_canoncial) ] ; then \
2776 AR="$(AR)"; export AR; \
2777 AS="$(AS)"; export AS; \
2778 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
2779 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
2780 LD="$(LD)"; export LD; \
2781 NM="$(NM)"; export NM; \
2782 RANLIB="$(RANLIB)"; export RANLIB; \
2783 WINDRES="$(WINDRES)"; export WINDRES; \
2784 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
2785 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
2787 echo Configuring in gawk; \
2788 cd gawk || exit 1; \
2791 srcdiroption="--srcdir=."; \
2793 /* | [A-Za-z]:[\\/]*) \
2794 srcdiroption="--srcdir=$(srcdir)/gawk"; \
2795 libsrcdir="$$s/gawk";; \
2797 srcdiroption="--srcdir=../$(srcdir)/gawk"; \
2798 libsrcdir="$$s/gawk";; \
2800 $(SHELL) $${libsrcdir}/configure \
2801 $(HOST_CONFIGARGS) $${srcdiroption} \
2804 .PHONY: all-gawk maybe-all-gawk
2807 @r=`${PWD}`; export r; \
2808 s=`cd $(srcdir); ${PWD}`; export s; \
2810 (cd gawk; $(MAKE) $(FLAGS_TO_PASS) all)
2815 @r=`${PWD}`; export r; \
2816 s=`cd $(srcdir); ${PWD}`; export s; \
2818 (cd gawk; $(MAKE) $(FLAGS_TO_PASS) check)
2822 .PHONY: install-gawk maybe-install-gawk
2824 install-gawk: installdirs
2825 @r=`${PWD}`; export r; \
2826 s=`cd $(srcdir); ${PWD}`; export s; \
2828 (cd gawk; $(MAKE) $(FLAGS_TO_PASS) install)
2831 .PHONY: configure-gettext maybe-configure-gettext
2832 maybe-configure-gettext:
2833 configure-gettext: gettext/Makefile
2835 gettext/Makefile: config.status
2836 @[ -d gettext ] || mkdir gettext; \
2837 r=`${PWD}`; export r; \
2838 s=`cd $(srcdir); ${PWD}`; export s; \
2839 CC="$(CC)"; export CC; \
2840 CFLAGS="$(CFLAGS)"; export CFLAGS; \
2841 CXX="$(CXX)"; export CXX; \
2842 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
2843 if [ z$(build_canonical) != z$(host_canoncial) ] ; then \
2844 AR="$(AR)"; export AR; \
2845 AS="$(AS)"; export AS; \
2846 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
2847 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
2848 LD="$(LD)"; export LD; \
2849 NM="$(NM)"; export NM; \
2850 RANLIB="$(RANLIB)"; export RANLIB; \
2851 WINDRES="$(WINDRES)"; export WINDRES; \
2852 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
2853 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
2855 echo Configuring in gettext; \
2856 cd gettext || exit 1; \
2859 srcdiroption="--srcdir=."; \
2861 /* | [A-Za-z]:[\\/]*) \
2862 srcdiroption="--srcdir=$(srcdir)/gettext"; \
2863 libsrcdir="$$s/gettext";; \
2865 srcdiroption="--srcdir=../$(srcdir)/gettext"; \
2866 libsrcdir="$$s/gettext";; \
2868 $(SHELL) $${libsrcdir}/configure \
2869 $(HOST_CONFIGARGS) $${srcdiroption} \
2872 .PHONY: all-gettext maybe-all-gettext
2875 @r=`${PWD}`; export r; \
2876 s=`cd $(srcdir); ${PWD}`; export s; \
2878 (cd gettext; $(MAKE) $(FLAGS_TO_PASS) all)
2881 .PHONY: check-gettext
2883 @r=`${PWD}`; export r; \
2884 s=`cd $(srcdir); ${PWD}`; export s; \
2886 (cd gettext; $(MAKE) $(FLAGS_TO_PASS) check)
2890 .PHONY: install-gettext maybe-install-gettext
2891 maybe-install-gettext:
2892 install-gettext: installdirs
2893 @r=`${PWD}`; export r; \
2894 s=`cd $(srcdir); ${PWD}`; export s; \
2896 (cd gettext; $(MAKE) $(FLAGS_TO_PASS) install)
2899 .PHONY: configure-gnuserv maybe-configure-gnuserv
2900 maybe-configure-gnuserv:
2901 configure-gnuserv: gnuserv/Makefile
2903 gnuserv/Makefile: config.status
2904 @[ -d gnuserv ] || mkdir gnuserv; \
2905 r=`${PWD}`; export r; \
2906 s=`cd $(srcdir); ${PWD}`; export s; \
2907 CC="$(CC)"; export CC; \
2908 CFLAGS="$(CFLAGS)"; export CFLAGS; \
2909 CXX="$(CXX)"; export CXX; \
2910 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
2911 if [ z$(build_canonical) != z$(host_canoncial) ] ; then \
2912 AR="$(AR)"; export AR; \
2913 AS="$(AS)"; export AS; \
2914 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
2915 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
2916 LD="$(LD)"; export LD; \
2917 NM="$(NM)"; export NM; \
2918 RANLIB="$(RANLIB)"; export RANLIB; \
2919 WINDRES="$(WINDRES)"; export WINDRES; \
2920 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
2921 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
2923 echo Configuring in gnuserv; \
2924 cd gnuserv || exit 1; \
2927 srcdiroption="--srcdir=."; \
2929 /* | [A-Za-z]:[\\/]*) \
2930 srcdiroption="--srcdir=$(srcdir)/gnuserv"; \
2931 libsrcdir="$$s/gnuserv";; \
2933 srcdiroption="--srcdir=../$(srcdir)/gnuserv"; \
2934 libsrcdir="$$s/gnuserv";; \
2936 $(SHELL) $${libsrcdir}/configure \
2937 $(HOST_CONFIGARGS) $${srcdiroption} \
2940 .PHONY: all-gnuserv maybe-all-gnuserv
2943 @r=`${PWD}`; export r; \
2944 s=`cd $(srcdir); ${PWD}`; export s; \
2946 (cd gnuserv; $(MAKE) $(FLAGS_TO_PASS) all)
2949 .PHONY: check-gnuserv
2951 @r=`${PWD}`; export r; \
2952 s=`cd $(srcdir); ${PWD}`; export s; \
2954 (cd gnuserv; $(MAKE) $(FLAGS_TO_PASS) check)
2958 .PHONY: install-gnuserv maybe-install-gnuserv
2959 maybe-install-gnuserv:
2960 install-gnuserv: installdirs
2961 @r=`${PWD}`; export r; \
2962 s=`cd $(srcdir); ${PWD}`; export s; \
2964 (cd gnuserv; $(MAKE) $(FLAGS_TO_PASS) install)
2967 .PHONY: configure-gprof maybe-configure-gprof
2968 maybe-configure-gprof:
2969 configure-gprof: gprof/Makefile
2971 gprof/Makefile: config.status
2972 @[ -d gprof ] || mkdir gprof; \
2973 r=`${PWD}`; export r; \
2974 s=`cd $(srcdir); ${PWD}`; export s; \
2975 CC="$(CC)"; export CC; \
2976 CFLAGS="$(CFLAGS)"; export CFLAGS; \
2977 CXX="$(CXX)"; export CXX; \
2978 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
2979 if [ z$(build_canonical) != z$(host_canoncial) ] ; then \
2980 AR="$(AR)"; export AR; \
2981 AS="$(AS)"; export AS; \
2982 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
2983 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
2984 LD="$(LD)"; export LD; \
2985 NM="$(NM)"; export NM; \
2986 RANLIB="$(RANLIB)"; export RANLIB; \
2987 WINDRES="$(WINDRES)"; export WINDRES; \
2988 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
2989 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
2991 echo Configuring in gprof; \
2992 cd gprof || exit 1; \
2995 srcdiroption="--srcdir=."; \
2997 /* | [A-Za-z]:[\\/]*) \
2998 srcdiroption="--srcdir=$(srcdir)/gprof"; \
2999 libsrcdir="$$s/gprof";; \
3001 srcdiroption="--srcdir=../$(srcdir)/gprof"; \
3002 libsrcdir="$$s/gprof";; \
3004 $(SHELL) $${libsrcdir}/configure \
3005 $(HOST_CONFIGARGS) $${srcdiroption} \
3008 .PHONY: all-gprof maybe-all-gprof
3011 @r=`${PWD}`; export r; \
3012 s=`cd $(srcdir); ${PWD}`; export s; \
3014 (cd gprof; $(MAKE) $(FLAGS_TO_PASS) all)
3019 @r=`${PWD}`; export r; \
3020 s=`cd $(srcdir); ${PWD}`; export s; \
3022 (cd gprof; $(MAKE) $(FLAGS_TO_PASS) check)
3026 .PHONY: install-gprof maybe-install-gprof
3027 maybe-install-gprof:
3028 install-gprof: installdirs
3029 @r=`${PWD}`; export r; \
3030 s=`cd $(srcdir); ${PWD}`; export s; \
3032 (cd gprof; $(MAKE) $(FLAGS_TO_PASS) install)
3035 .PHONY: configure-grep maybe-configure-grep
3036 maybe-configure-grep:
3037 configure-grep: grep/Makefile
3039 grep/Makefile: config.status
3040 @[ -d grep ] || mkdir grep; \
3041 r=`${PWD}`; export r; \
3042 s=`cd $(srcdir); ${PWD}`; export s; \
3043 CC="$(CC)"; export CC; \
3044 CFLAGS="$(CFLAGS)"; export CFLAGS; \
3045 CXX="$(CXX)"; export CXX; \
3046 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
3047 if [ z$(build_canonical) != z$(host_canoncial) ] ; then \
3048 AR="$(AR)"; export AR; \
3049 AS="$(AS)"; export AS; \
3050 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
3051 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
3052 LD="$(LD)"; export LD; \
3053 NM="$(NM)"; export NM; \
3054 RANLIB="$(RANLIB)"; export RANLIB; \
3055 WINDRES="$(WINDRES)"; export WINDRES; \
3056 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
3057 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
3059 echo Configuring in grep; \
3060 cd grep || exit 1; \
3063 srcdiroption="--srcdir=."; \
3065 /* | [A-Za-z]:[\\/]*) \
3066 srcdiroption="--srcdir=$(srcdir)/grep"; \
3067 libsrcdir="$$s/grep";; \
3069 srcdiroption="--srcdir=../$(srcdir)/grep"; \
3070 libsrcdir="$$s/grep";; \
3072 $(SHELL) $${libsrcdir}/configure \
3073 $(HOST_CONFIGARGS) $${srcdiroption} \
3076 .PHONY: all-grep maybe-all-grep
3079 @r=`${PWD}`; export r; \
3080 s=`cd $(srcdir); ${PWD}`; export s; \
3082 (cd grep; $(MAKE) $(FLAGS_TO_PASS) all)
3087 @r=`${PWD}`; export r; \
3088 s=`cd $(srcdir); ${PWD}`; export s; \
3090 (cd grep; $(MAKE) $(FLAGS_TO_PASS) check)
3094 .PHONY: install-grep maybe-install-grep
3096 install-grep: installdirs
3097 @r=`${PWD}`; export r; \
3098 s=`cd $(srcdir); ${PWD}`; export s; \
3100 (cd grep; $(MAKE) $(FLAGS_TO_PASS) install)
3103 .PHONY: configure-gzip maybe-configure-gzip
3104 maybe-configure-gzip:
3105 configure-gzip: gzip/Makefile
3107 gzip/Makefile: config.status
3108 @[ -d gzip ] || mkdir gzip; \
3109 r=`${PWD}`; export r; \
3110 s=`cd $(srcdir); ${PWD}`; export s; \
3111 CC="$(CC)"; export CC; \
3112 CFLAGS="$(CFLAGS)"; export CFLAGS; \
3113 CXX="$(CXX)"; export CXX; \
3114 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
3115 if [ z$(build_canonical) != z$(host_canoncial) ] ; then \
3116 AR="$(AR)"; export AR; \
3117 AS="$(AS)"; export AS; \
3118 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
3119 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
3120 LD="$(LD)"; export LD; \
3121 NM="$(NM)"; export NM; \
3122 RANLIB="$(RANLIB)"; export RANLIB; \
3123 WINDRES="$(WINDRES)"; export WINDRES; \
3124 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
3125 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
3127 echo Configuring in gzip; \
3128 cd gzip || exit 1; \
3131 srcdiroption="--srcdir=."; \
3133 /* | [A-Za-z]:[\\/]*) \
3134 srcdiroption="--srcdir=$(srcdir)/gzip"; \
3135 libsrcdir="$$s/gzip";; \
3137 srcdiroption="--srcdir=../$(srcdir)/gzip"; \
3138 libsrcdir="$$s/gzip";; \
3140 $(SHELL) $${libsrcdir}/configure \
3141 $(HOST_CONFIGARGS) $${srcdiroption} \
3144 .PHONY: all-gzip maybe-all-gzip
3147 @r=`${PWD}`; export r; \
3148 s=`cd $(srcdir); ${PWD}`; export s; \
3150 (cd gzip; $(MAKE) $(FLAGS_TO_PASS) all)
3155 @r=`${PWD}`; export r; \
3156 s=`cd $(srcdir); ${PWD}`; export s; \
3158 (cd gzip; $(MAKE) $(FLAGS_TO_PASS) check)
3162 .PHONY: install-gzip maybe-install-gzip
3164 install-gzip: installdirs
3165 @r=`${PWD}`; export r; \
3166 s=`cd $(srcdir); ${PWD}`; export s; \
3168 (cd gzip; $(MAKE) $(FLAGS_TO_PASS) install)
3171 .PHONY: configure-hello maybe-configure-hello
3172 maybe-configure-hello:
3173 configure-hello: hello/Makefile
3175 hello/Makefile: config.status
3176 @[ -d hello ] || mkdir hello; \
3177 r=`${PWD}`; export r; \
3178 s=`cd $(srcdir); ${PWD}`; export s; \
3179 CC="$(CC)"; export CC; \
3180 CFLAGS="$(CFLAGS)"; export CFLAGS; \
3181 CXX="$(CXX)"; export CXX; \
3182 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
3183 if [ z$(build_canonical) != z$(host_canoncial) ] ; then \
3184 AR="$(AR)"; export AR; \
3185 AS="$(AS)"; export AS; \
3186 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
3187 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
3188 LD="$(LD)"; export LD; \
3189 NM="$(NM)"; export NM; \
3190 RANLIB="$(RANLIB)"; export RANLIB; \
3191 WINDRES="$(WINDRES)"; export WINDRES; \
3192 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
3193 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
3195 echo Configuring in hello; \
3196 cd hello || exit 1; \
3199 srcdiroption="--srcdir=."; \
3201 /* | [A-Za-z]:[\\/]*) \
3202 srcdiroption="--srcdir=$(srcdir)/hello"; \
3203 libsrcdir="$$s/hello";; \
3205 srcdiroption="--srcdir=../$(srcdir)/hello"; \
3206 libsrcdir="$$s/hello";; \
3208 $(SHELL) $${libsrcdir}/configure \
3209 $(HOST_CONFIGARGS) $${srcdiroption} \
3212 .PHONY: all-hello maybe-all-hello
3215 @r=`${PWD}`; export r; \
3216 s=`cd $(srcdir); ${PWD}`; export s; \
3218 (cd hello; $(MAKE) $(FLAGS_TO_PASS) all)
3223 @r=`${PWD}`; export r; \
3224 s=`cd $(srcdir); ${PWD}`; export s; \
3226 (cd hello; $(MAKE) $(FLAGS_TO_PASS) check)
3230 .PHONY: install-hello maybe-install-hello
3231 maybe-install-hello:
3232 install-hello: installdirs
3233 @r=`${PWD}`; export r; \
3234 s=`cd $(srcdir); ${PWD}`; export s; \
3236 (cd hello; $(MAKE) $(FLAGS_TO_PASS) install)
3239 .PHONY: configure-indent maybe-configure-indent
3240 maybe-configure-indent:
3241 configure-indent: indent/Makefile
3243 indent/Makefile: config.status
3244 @[ -d indent ] || mkdir indent; \
3245 r=`${PWD}`; export r; \
3246 s=`cd $(srcdir); ${PWD}`; export s; \
3247 CC="$(CC)"; export CC; \
3248 CFLAGS="$(CFLAGS)"; export CFLAGS; \
3249 CXX="$(CXX)"; export CXX; \
3250 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
3251 if [ z$(build_canonical) != z$(host_canoncial) ] ; then \
3252 AR="$(AR)"; export AR; \
3253 AS="$(AS)"; export AS; \
3254 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
3255 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
3256 LD="$(LD)"; export LD; \
3257 NM="$(NM)"; export NM; \
3258 RANLIB="$(RANLIB)"; export RANLIB; \
3259 WINDRES="$(WINDRES)"; export WINDRES; \
3260 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
3261 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
3263 echo Configuring in indent; \
3264 cd indent || exit 1; \
3267 srcdiroption="--srcdir=."; \
3269 /* | [A-Za-z]:[\\/]*) \
3270 srcdiroption="--srcdir=$(srcdir)/indent"; \
3271 libsrcdir="$$s/indent";; \
3273 srcdiroption="--srcdir=../$(srcdir)/indent"; \
3274 libsrcdir="$$s/indent";; \
3276 $(SHELL) $${libsrcdir}/configure \
3277 $(HOST_CONFIGARGS) $${srcdiroption} \
3280 .PHONY: all-indent maybe-all-indent
3283 @r=`${PWD}`; export r; \
3284 s=`cd $(srcdir); ${PWD}`; export s; \
3286 (cd indent; $(MAKE) $(FLAGS_TO_PASS) all)
3289 .PHONY: check-indent
3291 @r=`${PWD}`; export r; \
3292 s=`cd $(srcdir); ${PWD}`; export s; \
3294 (cd indent; $(MAKE) $(FLAGS_TO_PASS) check)
3298 .PHONY: install-indent maybe-install-indent
3299 maybe-install-indent:
3300 install-indent: installdirs
3301 @r=`${PWD}`; export r; \
3302 s=`cd $(srcdir); ${PWD}`; export s; \
3304 (cd indent; $(MAKE) $(FLAGS_TO_PASS) install)
3307 .PHONY: configure-intl maybe-configure-intl
3308 maybe-configure-intl:
3309 configure-intl: intl/Makefile
3311 intl/Makefile: config.status
3312 @[ -d intl ] || mkdir intl; \
3313 r=`${PWD}`; export r; \
3314 s=`cd $(srcdir); ${PWD}`; export s; \
3315 CC="$(CC)"; export CC; \
3316 CFLAGS="$(CFLAGS)"; export CFLAGS; \
3317 CXX="$(CXX)"; export CXX; \
3318 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
3319 if [ z$(build_canonical) != z$(host_canoncial) ] ; then \
3320 AR="$(AR)"; export AR; \
3321 AS="$(AS)"; export AS; \
3322 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
3323 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
3324 LD="$(LD)"; export LD; \
3325 NM="$(NM)"; export NM; \
3326 RANLIB="$(RANLIB)"; export RANLIB; \
3327 WINDRES="$(WINDRES)"; export WINDRES; \
3328 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
3329 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
3331 echo Configuring in intl; \
3332 cd intl || exit 1; \
3335 srcdiroption="--srcdir=."; \
3337 /* | [A-Za-z]:[\\/]*) \
3338 srcdiroption="--srcdir=$(srcdir)/intl"; \
3339 libsrcdir="$$s/intl";; \
3341 srcdiroption="--srcdir=../$(srcdir)/intl"; \
3342 libsrcdir="$$s/intl";; \
3344 $(SHELL) $${libsrcdir}/configure \
3345 $(HOST_CONFIGARGS) $${srcdiroption} \
3348 .PHONY: all-intl maybe-all-intl
3351 @r=`${PWD}`; export r; \
3352 s=`cd $(srcdir); ${PWD}`; export s; \
3354 (cd intl; $(MAKE) $(FLAGS_TO_PASS) all)
3359 @r=`${PWD}`; export r; \
3360 s=`cd $(srcdir); ${PWD}`; export s; \
3362 (cd intl; $(MAKE) $(FLAGS_TO_PASS) check)
3366 .PHONY: install-intl maybe-install-intl
3368 install-intl: installdirs
3369 @r=`${PWD}`; export r; \
3370 s=`cd $(srcdir); ${PWD}`; export s; \
3372 (cd intl; $(MAKE) $(FLAGS_TO_PASS) install)
3375 .PHONY: configure-tcl maybe-configure-tcl
3376 maybe-configure-tcl:
3377 configure-tcl: tcl/Makefile
3379 tcl/Makefile: config.status
3380 @[ -d tcl ] || mkdir tcl; \
3381 r=`${PWD}`; export r; \
3382 s=`cd $(srcdir); ${PWD}`; export s; \
3383 CC="$(CC)"; export CC; \
3384 CFLAGS="$(CFLAGS)"; export CFLAGS; \
3385 CXX="$(CXX)"; export CXX; \
3386 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
3387 if [ z$(build_canonical) != z$(host_canoncial) ] ; then \
3388 AR="$(AR)"; export AR; \
3389 AS="$(AS)"; export AS; \
3390 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
3391 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
3392 LD="$(LD)"; export LD; \
3393 NM="$(NM)"; export NM; \
3394 RANLIB="$(RANLIB)"; export RANLIB; \
3395 WINDRES="$(WINDRES)"; export WINDRES; \
3396 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
3397 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
3399 echo Configuring in tcl; \
3403 srcdiroption="--srcdir=."; \
3405 /* | [A-Za-z]:[\\/]*) \
3406 srcdiroption="--srcdir=$(srcdir)/tcl"; \
3407 libsrcdir="$$s/tcl";; \
3409 srcdiroption="--srcdir=../$(srcdir)/tcl"; \
3410 libsrcdir="$$s/tcl";; \
3412 $(SHELL) $${libsrcdir}/configure \
3413 $(HOST_CONFIGARGS) $${srcdiroption} \
3416 .PHONY: all-tcl maybe-all-tcl
3419 @r=`${PWD}`; export r; \
3420 s=`cd $(srcdir); ${PWD}`; export s; \
3422 (cd tcl; $(MAKE) $(FLAGS_TO_PASS) all)
3427 @r=`${PWD}`; export r; \
3428 s=`cd $(srcdir); ${PWD}`; export s; \
3430 (cd tcl; $(MAKE) $(FLAGS_TO_PASS) check)
3434 .PHONY: install-tcl maybe-install-tcl
3436 install-tcl: installdirs
3437 @r=`${PWD}`; export r; \
3438 s=`cd $(srcdir); ${PWD}`; export s; \
3440 (cd tcl; $(MAKE) $(FLAGS_TO_PASS) install)
3443 .PHONY: configure-itcl maybe-configure-itcl
3444 maybe-configure-itcl:
3445 configure-itcl: itcl/Makefile
3447 itcl/Makefile: config.status
3448 @[ -d itcl ] || mkdir itcl; \
3449 r=`${PWD}`; export r; \
3450 s=`cd $(srcdir); ${PWD}`; export s; \
3451 CC="$(CC)"; export CC; \
3452 CFLAGS="$(CFLAGS)"; export CFLAGS; \
3453 CXX="$(CXX)"; export CXX; \
3454 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
3455 if [ z$(build_canonical) != z$(host_canoncial) ] ; then \
3456 AR="$(AR)"; export AR; \
3457 AS="$(AS)"; export AS; \
3458 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
3459 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
3460 LD="$(LD)"; export LD; \
3461 NM="$(NM)"; export NM; \
3462 RANLIB="$(RANLIB)"; export RANLIB; \
3463 WINDRES="$(WINDRES)"; export WINDRES; \
3464 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
3465 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
3467 echo Configuring in itcl; \
3468 cd itcl || exit 1; \
3471 srcdiroption="--srcdir=."; \
3473 /* | [A-Za-z]:[\\/]*) \
3474 srcdiroption="--srcdir=$(srcdir)/itcl"; \
3475 libsrcdir="$$s/itcl";; \
3477 srcdiroption="--srcdir=../$(srcdir)/itcl"; \
3478 libsrcdir="$$s/itcl";; \
3480 $(SHELL) $${libsrcdir}/configure \
3481 $(HOST_CONFIGARGS) $${srcdiroption} \
3484 .PHONY: all-itcl maybe-all-itcl
3487 @r=`${PWD}`; export r; \
3488 s=`cd $(srcdir); ${PWD}`; export s; \
3490 (cd itcl; $(MAKE) $(FLAGS_TO_PASS) all)
3495 @r=`${PWD}`; export r; \
3496 s=`cd $(srcdir); ${PWD}`; export s; \
3498 (cd itcl; $(MAKE) $(FLAGS_TO_PASS) check)
3502 .PHONY: install-itcl maybe-install-itcl
3504 install-itcl: installdirs
3505 @r=`${PWD}`; export r; \
3506 s=`cd $(srcdir); ${PWD}`; export s; \
3508 (cd itcl; $(MAKE) $(FLAGS_TO_PASS) install)
3511 .PHONY: configure-ld maybe-configure-ld
3513 configure-ld: ld/Makefile
3515 ld/Makefile: config.status
3516 @[ -d ld ] || mkdir ld; \
3517 r=`${PWD}`; export r; \
3518 s=`cd $(srcdir); ${PWD}`; export s; \
3519 CC="$(CC)"; export CC; \
3520 CFLAGS="$(CFLAGS)"; export CFLAGS; \
3521 CXX="$(CXX)"; export CXX; \
3522 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
3523 if [ z$(build_canonical) != z$(host_canoncial) ] ; then \
3524 AR="$(AR)"; export AR; \
3525 AS="$(AS)"; export AS; \
3526 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
3527 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
3528 LD="$(LD)"; export LD; \
3529 NM="$(NM)"; export NM; \
3530 RANLIB="$(RANLIB)"; export RANLIB; \
3531 WINDRES="$(WINDRES)"; export WINDRES; \
3532 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
3533 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
3535 echo Configuring in ld; \
3539 srcdiroption="--srcdir=."; \
3541 /* | [A-Za-z]:[\\/]*) \
3542 srcdiroption="--srcdir=$(srcdir)/ld"; \
3543 libsrcdir="$$s/ld";; \
3545 srcdiroption="--srcdir=../$(srcdir)/ld"; \
3546 libsrcdir="$$s/ld";; \
3548 $(SHELL) $${libsrcdir}/configure \
3549 $(HOST_CONFIGARGS) $${srcdiroption} \
3552 .PHONY: all-ld maybe-all-ld
3555 @r=`${PWD}`; export r; \
3556 s=`cd $(srcdir); ${PWD}`; export s; \
3558 (cd ld; $(MAKE) $(FLAGS_TO_PASS) all)
3563 @r=`${PWD}`; export r; \
3564 s=`cd $(srcdir); ${PWD}`; export s; \
3566 (cd ld; $(MAKE) $(FLAGS_TO_PASS) check)
3570 .PHONY: install-ld maybe-install-ld
3572 install-ld: installdirs
3573 @r=`${PWD}`; export r; \
3574 s=`cd $(srcdir); ${PWD}`; export s; \
3576 (cd ld; $(MAKE) $(FLAGS_TO_PASS) install)
3579 .PHONY: configure-libgui maybe-configure-libgui
3580 maybe-configure-libgui:
3581 configure-libgui: libgui/Makefile
3583 libgui/Makefile: config.status
3584 @[ -d libgui ] || mkdir libgui; \
3585 r=`${PWD}`; export r; \
3586 s=`cd $(srcdir); ${PWD}`; export s; \
3587 CC="$(CC)"; export CC; \
3588 CFLAGS="$(CFLAGS)"; export CFLAGS; \
3589 CXX="$(CXX)"; export CXX; \
3590 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
3591 if [ z$(build_canonical) != z$(host_canoncial) ] ; then \
3592 AR="$(AR)"; export AR; \
3593 AS="$(AS)"; export AS; \
3594 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
3595 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
3596 LD="$(LD)"; export LD; \
3597 NM="$(NM)"; export NM; \
3598 RANLIB="$(RANLIB)"; export RANLIB; \
3599 WINDRES="$(WINDRES)"; export WINDRES; \
3600 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
3601 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
3603 echo Configuring in libgui; \
3604 cd libgui || exit 1; \
3607 srcdiroption="--srcdir=."; \
3609 /* | [A-Za-z]:[\\/]*) \
3610 srcdiroption="--srcdir=$(srcdir)/libgui"; \
3611 libsrcdir="$$s/libgui";; \
3613 srcdiroption="--srcdir=../$(srcdir)/libgui"; \
3614 libsrcdir="$$s/libgui";; \
3616 $(SHELL) $${libsrcdir}/configure \
3617 $(HOST_CONFIGARGS) $${srcdiroption} \
3620 .PHONY: all-libgui maybe-all-libgui
3623 @r=`${PWD}`; export r; \
3624 s=`cd $(srcdir); ${PWD}`; export s; \
3626 (cd libgui; $(MAKE) $(FLAGS_TO_PASS) all)
3629 .PHONY: check-libgui
3631 @r=`${PWD}`; export r; \
3632 s=`cd $(srcdir); ${PWD}`; export s; \
3634 (cd libgui; $(MAKE) $(FLAGS_TO_PASS) check)
3638 .PHONY: install-libgui maybe-install-libgui
3639 maybe-install-libgui:
3640 install-libgui: installdirs
3641 @r=`${PWD}`; export r; \
3642 s=`cd $(srcdir); ${PWD}`; export s; \
3644 (cd libgui; $(MAKE) $(FLAGS_TO_PASS) install)
3647 .PHONY: configure-libiberty maybe-configure-libiberty
3648 maybe-configure-libiberty:
3649 configure-libiberty: libiberty/Makefile
3651 libiberty/Makefile: config.status
3652 @[ -d libiberty ] || mkdir libiberty; \
3653 r=`${PWD}`; export r; \
3654 s=`cd $(srcdir); ${PWD}`; export s; \
3655 CC="$(CC)"; export CC; \
3656 CFLAGS="$(CFLAGS)"; export CFLAGS; \
3657 CXX="$(CXX)"; export CXX; \
3658 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
3659 if [ z$(build_canonical) != z$(host_canoncial) ] ; then \
3660 AR="$(AR)"; export AR; \
3661 AS="$(AS)"; export AS; \
3662 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
3663 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
3664 LD="$(LD)"; export LD; \
3665 NM="$(NM)"; export NM; \
3666 RANLIB="$(RANLIB)"; export RANLIB; \
3667 WINDRES="$(WINDRES)"; export WINDRES; \
3668 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
3669 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
3671 echo Configuring in libiberty; \
3672 cd libiberty || exit 1; \
3675 srcdiroption="--srcdir=."; \
3677 /* | [A-Za-z]:[\\/]*) \
3678 srcdiroption="--srcdir=$(srcdir)/libiberty"; \
3679 libsrcdir="$$s/libiberty";; \
3681 srcdiroption="--srcdir=../$(srcdir)/libiberty"; \
3682 libsrcdir="$$s/libiberty";; \
3684 $(SHELL) $${libsrcdir}/configure \
3685 $(HOST_CONFIGARGS) $${srcdiroption} \
3688 .PHONY: all-libiberty maybe-all-libiberty
3689 maybe-all-libiberty:
3691 @r=`${PWD}`; export r; \
3692 s=`cd $(srcdir); ${PWD}`; export s; \
3694 (cd libiberty; $(MAKE) $(FLAGS_TO_PASS) all)
3697 .PHONY: check-libiberty
3699 @r=`${PWD}`; export r; \
3700 s=`cd $(srcdir); ${PWD}`; export s; \
3702 (cd libiberty; $(MAKE) $(FLAGS_TO_PASS) check)
3706 .PHONY: install-libiberty maybe-install-libiberty
3707 maybe-install-libiberty:
3708 install-libiberty: installdirs
3709 @r=`${PWD}`; export r; \
3710 s=`cd $(srcdir); ${PWD}`; export s; \
3712 (cd libiberty; $(MAKE) $(FLAGS_TO_PASS) install)
3715 .PHONY: configure-libtool maybe-configure-libtool
3716 maybe-configure-libtool:
3717 configure-libtool: libtool/Makefile
3719 libtool/Makefile: config.status
3720 @[ -d libtool ] || mkdir libtool; \
3721 r=`${PWD}`; export r; \
3722 s=`cd $(srcdir); ${PWD}`; export s; \
3723 CC="$(CC)"; export CC; \
3724 CFLAGS="$(CFLAGS)"; export CFLAGS; \
3725 CXX="$(CXX)"; export CXX; \
3726 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
3727 if [ z$(build_canonical) != z$(host_canoncial) ] ; then \
3728 AR="$(AR)"; export AR; \
3729 AS="$(AS)"; export AS; \
3730 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
3731 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
3732 LD="$(LD)"; export LD; \
3733 NM="$(NM)"; export NM; \
3734 RANLIB="$(RANLIB)"; export RANLIB; \
3735 WINDRES="$(WINDRES)"; export WINDRES; \
3736 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
3737 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
3739 echo Configuring in libtool; \
3740 cd libtool || exit 1; \
3743 srcdiroption="--srcdir=."; \
3745 /* | [A-Za-z]:[\\/]*) \
3746 srcdiroption="--srcdir=$(srcdir)/libtool"; \
3747 libsrcdir="$$s/libtool";; \
3749 srcdiroption="--srcdir=../$(srcdir)/libtool"; \
3750 libsrcdir="$$s/libtool";; \
3752 $(SHELL) $${libsrcdir}/configure \
3753 $(HOST_CONFIGARGS) $${srcdiroption} \
3756 .PHONY: all-libtool maybe-all-libtool
3759 @r=`${PWD}`; export r; \
3760 s=`cd $(srcdir); ${PWD}`; export s; \
3762 (cd libtool; $(MAKE) $(FLAGS_TO_PASS) all)
3765 .PHONY: check-libtool
3767 @r=`${PWD}`; export r; \
3768 s=`cd $(srcdir); ${PWD}`; export s; \
3770 (cd libtool; $(MAKE) $(FLAGS_TO_PASS) check)
3774 .PHONY: install-libtool maybe-install-libtool
3775 maybe-install-libtool:
3776 install-libtool: installdirs
3777 @r=`${PWD}`; export r; \
3778 s=`cd $(srcdir); ${PWD}`; export s; \
3780 (cd libtool; $(MAKE) $(FLAGS_TO_PASS) install)
3783 .PHONY: configure-m4 maybe-configure-m4
3785 configure-m4: m4/Makefile
3787 m4/Makefile: config.status
3788 @[ -d m4 ] || mkdir m4; \
3789 r=`${PWD}`; export r; \
3790 s=`cd $(srcdir); ${PWD}`; export s; \
3791 CC="$(CC)"; export CC; \
3792 CFLAGS="$(CFLAGS)"; export CFLAGS; \
3793 CXX="$(CXX)"; export CXX; \
3794 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
3795 if [ z$(build_canonical) != z$(host_canoncial) ] ; then \
3796 AR="$(AR)"; export AR; \
3797 AS="$(AS)"; export AS; \
3798 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
3799 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
3800 LD="$(LD)"; export LD; \
3801 NM="$(NM)"; export NM; \
3802 RANLIB="$(RANLIB)"; export RANLIB; \
3803 WINDRES="$(WINDRES)"; export WINDRES; \
3804 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
3805 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
3807 echo Configuring in m4; \
3811 srcdiroption="--srcdir=."; \
3813 /* | [A-Za-z]:[\\/]*) \
3814 srcdiroption="--srcdir=$(srcdir)/m4"; \
3815 libsrcdir="$$s/m4";; \
3817 srcdiroption="--srcdir=../$(srcdir)/m4"; \
3818 libsrcdir="$$s/m4";; \
3820 $(SHELL) $${libsrcdir}/configure \
3821 $(HOST_CONFIGARGS) $${srcdiroption} \
3824 .PHONY: all-m4 maybe-all-m4
3827 @r=`${PWD}`; export r; \
3828 s=`cd $(srcdir); ${PWD}`; export s; \
3830 (cd m4; $(MAKE) $(FLAGS_TO_PASS) all)
3835 @r=`${PWD}`; export r; \
3836 s=`cd $(srcdir); ${PWD}`; export s; \
3838 (cd m4; $(MAKE) $(FLAGS_TO_PASS) check)
3842 .PHONY: install-m4 maybe-install-m4
3844 install-m4: installdirs
3845 @r=`${PWD}`; export r; \
3846 s=`cd $(srcdir); ${PWD}`; export s; \
3848 (cd m4; $(MAKE) $(FLAGS_TO_PASS) install)
3851 .PHONY: configure-make maybe-configure-make
3852 maybe-configure-make:
3853 configure-make: make/Makefile
3855 make/Makefile: config.status
3856 @[ -d make ] || mkdir make; \
3857 r=`${PWD}`; export r; \
3858 s=`cd $(srcdir); ${PWD}`; export s; \
3859 CC="$(CC)"; export CC; \
3860 CFLAGS="$(CFLAGS)"; export CFLAGS; \
3861 CXX="$(CXX)"; export CXX; \
3862 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
3863 if [ z$(build_canonical) != z$(host_canoncial) ] ; then \
3864 AR="$(AR)"; export AR; \
3865 AS="$(AS)"; export AS; \
3866 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
3867 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
3868 LD="$(LD)"; export LD; \
3869 NM="$(NM)"; export NM; \
3870 RANLIB="$(RANLIB)"; export RANLIB; \
3871 WINDRES="$(WINDRES)"; export WINDRES; \
3872 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
3873 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
3875 echo Configuring in make; \
3876 cd make || exit 1; \
3879 srcdiroption="--srcdir=."; \
3881 /* | [A-Za-z]:[\\/]*) \
3882 srcdiroption="--srcdir=$(srcdir)/make"; \
3883 libsrcdir="$$s/make";; \
3885 srcdiroption="--srcdir=../$(srcdir)/make"; \
3886 libsrcdir="$$s/make";; \
3888 $(SHELL) $${libsrcdir}/configure \
3889 $(HOST_CONFIGARGS) $${srcdiroption} \
3892 .PHONY: all-make maybe-all-make
3895 @r=`${PWD}`; export r; \
3896 s=`cd $(srcdir); ${PWD}`; export s; \
3898 (cd make; $(MAKE) $(FLAGS_TO_PASS) all)
3903 @r=`${PWD}`; export r; \
3904 s=`cd $(srcdir); ${PWD}`; export s; \
3906 (cd make; $(MAKE) $(FLAGS_TO_PASS) check)
3910 .PHONY: install-make maybe-install-make
3912 install-make: installdirs
3913 @r=`${PWD}`; export r; \
3914 s=`cd $(srcdir); ${PWD}`; export s; \
3916 (cd make; $(MAKE) $(FLAGS_TO_PASS) install)
3919 .PHONY: configure-mmalloc maybe-configure-mmalloc
3920 maybe-configure-mmalloc:
3921 configure-mmalloc: mmalloc/Makefile
3923 mmalloc/Makefile: config.status
3924 @[ -d mmalloc ] || mkdir mmalloc; \
3925 r=`${PWD}`; export r; \
3926 s=`cd $(srcdir); ${PWD}`; export s; \
3927 CC="$(CC)"; export CC; \
3928 CFLAGS="$(CFLAGS)"; export CFLAGS; \
3929 CXX="$(CXX)"; export CXX; \
3930 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
3931 if [ z$(build_canonical) != z$(host_canoncial) ] ; then \
3932 AR="$(AR)"; export AR; \
3933 AS="$(AS)"; export AS; \
3934 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
3935 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
3936 LD="$(LD)"; export LD; \
3937 NM="$(NM)"; export NM; \
3938 RANLIB="$(RANLIB)"; export RANLIB; \
3939 WINDRES="$(WINDRES)"; export WINDRES; \
3940 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
3941 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
3943 echo Configuring in mmalloc; \
3944 cd mmalloc || exit 1; \
3947 srcdiroption="--srcdir=."; \
3949 /* | [A-Za-z]:[\\/]*) \
3950 srcdiroption="--srcdir=$(srcdir)/mmalloc"; \
3951 libsrcdir="$$s/mmalloc";; \
3953 srcdiroption="--srcdir=../$(srcdir)/mmalloc"; \
3954 libsrcdir="$$s/mmalloc";; \
3956 $(SHELL) $${libsrcdir}/configure \
3957 $(HOST_CONFIGARGS) $${srcdiroption} \
3960 .PHONY: all-mmalloc maybe-all-mmalloc
3963 @r=`${PWD}`; export r; \
3964 s=`cd $(srcdir); ${PWD}`; export s; \
3966 (cd mmalloc; $(MAKE) $(FLAGS_TO_PASS) all)
3969 .PHONY: check-mmalloc
3974 .PHONY: install-mmalloc maybe-install-mmalloc
3975 maybe-install-mmalloc:
3976 install-mmalloc: installdirs
3977 @r=`${PWD}`; export r; \
3978 s=`cd $(srcdir); ${PWD}`; export s; \
3980 (cd mmalloc; $(MAKE) $(FLAGS_TO_PASS) install)
3983 .PHONY: configure-patch maybe-configure-patch
3984 maybe-configure-patch:
3985 configure-patch: patch/Makefile
3987 patch/Makefile: config.status
3988 @[ -d patch ] || mkdir patch; \
3989 r=`${PWD}`; export r; \
3990 s=`cd $(srcdir); ${PWD}`; export s; \
3991 CC="$(CC)"; export CC; \
3992 CFLAGS="$(CFLAGS)"; export CFLAGS; \
3993 CXX="$(CXX)"; export CXX; \
3994 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
3995 if [ z$(build_canonical) != z$(host_canoncial) ] ; then \
3996 AR="$(AR)"; export AR; \
3997 AS="$(AS)"; export AS; \
3998 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
3999 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
4000 LD="$(LD)"; export LD; \
4001 NM="$(NM)"; export NM; \
4002 RANLIB="$(RANLIB)"; export RANLIB; \
4003 WINDRES="$(WINDRES)"; export WINDRES; \
4004 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
4005 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
4007 echo Configuring in patch; \
4008 cd patch || exit 1; \
4011 srcdiroption="--srcdir=."; \
4013 /* | [A-Za-z]:[\\/]*) \
4014 srcdiroption="--srcdir=$(srcdir)/patch"; \
4015 libsrcdir="$$s/patch";; \
4017 srcdiroption="--srcdir=../$(srcdir)/patch"; \
4018 libsrcdir="$$s/patch";; \
4020 $(SHELL) $${libsrcdir}/configure \
4021 $(HOST_CONFIGARGS) $${srcdiroption} \
4024 .PHONY: all-patch maybe-all-patch
4027 @r=`${PWD}`; export r; \
4028 s=`cd $(srcdir); ${PWD}`; export s; \
4030 (cd patch; $(MAKE) $(FLAGS_TO_PASS) all)
4035 @r=`${PWD}`; export r; \
4036 s=`cd $(srcdir); ${PWD}`; export s; \
4038 (cd patch; $(MAKE) $(FLAGS_TO_PASS) check)
4042 .PHONY: install-patch maybe-install-patch
4043 maybe-install-patch:
4044 install-patch: installdirs
4045 @r=`${PWD}`; export r; \
4046 s=`cd $(srcdir); ${PWD}`; export s; \
4048 (cd patch; $(MAKE) $(FLAGS_TO_PASS) install)
4051 .PHONY: configure-perl maybe-configure-perl
4052 maybe-configure-perl:
4053 configure-perl: perl/Makefile
4055 perl/Makefile: config.status
4056 @[ -d perl ] || mkdir perl; \
4057 r=`${PWD}`; export r; \
4058 s=`cd $(srcdir); ${PWD}`; export s; \
4059 CC="$(CC)"; export CC; \
4060 CFLAGS="$(CFLAGS)"; export CFLAGS; \
4061 CXX="$(CXX)"; export CXX; \
4062 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
4063 if [ z$(build_canonical) != z$(host_canoncial) ] ; then \
4064 AR="$(AR)"; export AR; \
4065 AS="$(AS)"; export AS; \
4066 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
4067 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
4068 LD="$(LD)"; export LD; \
4069 NM="$(NM)"; export NM; \
4070 RANLIB="$(RANLIB)"; export RANLIB; \
4071 WINDRES="$(WINDRES)"; export WINDRES; \
4072 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
4073 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
4075 echo Configuring in perl; \
4076 cd perl || exit 1; \
4079 srcdiroption="--srcdir=."; \
4081 /* | [A-Za-z]:[\\/]*) \
4082 srcdiroption="--srcdir=$(srcdir)/perl"; \
4083 libsrcdir="$$s/perl";; \
4085 srcdiroption="--srcdir=../$(srcdir)/perl"; \
4086 libsrcdir="$$s/perl";; \
4088 $(SHELL) $${libsrcdir}/configure \
4089 $(HOST_CONFIGARGS) $${srcdiroption} \
4092 .PHONY: all-perl maybe-all-perl
4095 @r=`${PWD}`; export r; \
4096 s=`cd $(srcdir); ${PWD}`; export s; \
4098 (cd perl; $(MAKE) $(FLAGS_TO_PASS) all)
4103 @r=`${PWD}`; export r; \
4104 s=`cd $(srcdir); ${PWD}`; export s; \
4106 (cd perl; $(MAKE) $(FLAGS_TO_PASS) check)
4110 .PHONY: install-perl maybe-install-perl
4112 install-perl: installdirs
4113 @r=`${PWD}`; export r; \
4114 s=`cd $(srcdir); ${PWD}`; export s; \
4116 (cd perl; $(MAKE) $(FLAGS_TO_PASS) install)
4119 .PHONY: configure-prms maybe-configure-prms
4120 maybe-configure-prms:
4121 configure-prms: prms/Makefile
4123 prms/Makefile: config.status
4124 @[ -d prms ] || mkdir prms; \
4125 r=`${PWD}`; export r; \
4126 s=`cd $(srcdir); ${PWD}`; export s; \
4127 CC="$(CC)"; export CC; \
4128 CFLAGS="$(CFLAGS)"; export CFLAGS; \
4129 CXX="$(CXX)"; export CXX; \
4130 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
4131 if [ z$(build_canonical) != z$(host_canoncial) ] ; then \
4132 AR="$(AR)"; export AR; \
4133 AS="$(AS)"; export AS; \
4134 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
4135 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
4136 LD="$(LD)"; export LD; \
4137 NM="$(NM)"; export NM; \
4138 RANLIB="$(RANLIB)"; export RANLIB; \
4139 WINDRES="$(WINDRES)"; export WINDRES; \
4140 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
4141 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
4143 echo Configuring in prms; \
4144 cd prms || exit 1; \
4147 srcdiroption="--srcdir=."; \
4149 /* | [A-Za-z]:[\\/]*) \
4150 srcdiroption="--srcdir=$(srcdir)/prms"; \
4151 libsrcdir="$$s/prms";; \
4153 srcdiroption="--srcdir=../$(srcdir)/prms"; \
4154 libsrcdir="$$s/prms";; \
4156 $(SHELL) $${libsrcdir}/configure \
4157 $(HOST_CONFIGARGS) $${srcdiroption} \
4160 .PHONY: all-prms maybe-all-prms
4163 @r=`${PWD}`; export r; \
4164 s=`cd $(srcdir); ${PWD}`; export s; \
4166 (cd prms; $(MAKE) $(FLAGS_TO_PASS) all)
4171 @r=`${PWD}`; export r; \
4172 s=`cd $(srcdir); ${PWD}`; export s; \
4174 (cd prms; $(MAKE) $(FLAGS_TO_PASS) check)
4178 .PHONY: install-prms maybe-install-prms
4180 install-prms: installdirs
4181 @r=`${PWD}`; export r; \
4182 s=`cd $(srcdir); ${PWD}`; export s; \
4184 (cd prms; $(MAKE) $(FLAGS_TO_PASS) install)
4187 .PHONY: configure-rcs maybe-configure-rcs
4188 maybe-configure-rcs:
4189 configure-rcs: rcs/Makefile
4191 rcs/Makefile: config.status
4192 @[ -d rcs ] || mkdir rcs; \
4193 r=`${PWD}`; export r; \
4194 s=`cd $(srcdir); ${PWD}`; export s; \
4195 CC="$(CC)"; export CC; \
4196 CFLAGS="$(CFLAGS)"; export CFLAGS; \
4197 CXX="$(CXX)"; export CXX; \
4198 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
4199 if [ z$(build_canonical) != z$(host_canoncial) ] ; then \
4200 AR="$(AR)"; export AR; \
4201 AS="$(AS)"; export AS; \
4202 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
4203 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
4204 LD="$(LD)"; export LD; \
4205 NM="$(NM)"; export NM; \
4206 RANLIB="$(RANLIB)"; export RANLIB; \
4207 WINDRES="$(WINDRES)"; export WINDRES; \
4208 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
4209 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
4211 echo Configuring in rcs; \
4215 srcdiroption="--srcdir=."; \
4217 /* | [A-Za-z]:[\\/]*) \
4218 srcdiroption="--srcdir=$(srcdir)/rcs"; \
4219 libsrcdir="$$s/rcs";; \
4221 srcdiroption="--srcdir=../$(srcdir)/rcs"; \
4222 libsrcdir="$$s/rcs";; \
4224 $(SHELL) $${libsrcdir}/configure \
4225 $(HOST_CONFIGARGS) $${srcdiroption} \
4228 .PHONY: all-rcs maybe-all-rcs
4231 @r=`${PWD}`; export r; \
4232 s=`cd $(srcdir); ${PWD}`; export s; \
4234 (cd rcs; $(MAKE) $(FLAGS_TO_PASS) all)
4239 @r=`${PWD}`; export r; \
4240 s=`cd $(srcdir); ${PWD}`; export s; \
4242 (cd rcs; $(MAKE) $(FLAGS_TO_PASS) check)
4246 .PHONY: install-rcs maybe-install-rcs
4248 install-rcs: installdirs
4249 @r=`${PWD}`; export r; \
4250 s=`cd $(srcdir); ${PWD}`; export s; \
4252 (cd rcs; $(MAKE) $(FLAGS_TO_PASS) install)
4255 .PHONY: configure-readline maybe-configure-readline
4256 maybe-configure-readline:
4257 configure-readline: readline/Makefile
4259 readline/Makefile: config.status
4260 @[ -d readline ] || mkdir readline; \
4261 r=`${PWD}`; export r; \
4262 s=`cd $(srcdir); ${PWD}`; export s; \
4263 CC="$(CC)"; export CC; \
4264 CFLAGS="$(CFLAGS)"; export CFLAGS; \
4265 CXX="$(CXX)"; export CXX; \
4266 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
4267 if [ z$(build_canonical) != z$(host_canoncial) ] ; then \
4268 AR="$(AR)"; export AR; \
4269 AS="$(AS)"; export AS; \
4270 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
4271 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
4272 LD="$(LD)"; export LD; \
4273 NM="$(NM)"; export NM; \
4274 RANLIB="$(RANLIB)"; export RANLIB; \
4275 WINDRES="$(WINDRES)"; export WINDRES; \
4276 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
4277 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
4279 echo Configuring in readline; \
4280 cd readline || exit 1; \
4283 srcdiroption="--srcdir=."; \
4285 /* | [A-Za-z]:[\\/]*) \
4286 srcdiroption="--srcdir=$(srcdir)/readline"; \
4287 libsrcdir="$$s/readline";; \
4289 srcdiroption="--srcdir=../$(srcdir)/readline"; \
4290 libsrcdir="$$s/readline";; \
4292 $(SHELL) $${libsrcdir}/configure \
4293 $(HOST_CONFIGARGS) $${srcdiroption} \
4296 .PHONY: all-readline maybe-all-readline
4299 @r=`${PWD}`; export r; \
4300 s=`cd $(srcdir); ${PWD}`; export s; \
4302 (cd readline; $(MAKE) $(FLAGS_TO_PASS) all)
4305 .PHONY: check-readline
4307 @r=`${PWD}`; export r; \
4308 s=`cd $(srcdir); ${PWD}`; export s; \
4310 (cd readline; $(MAKE) $(FLAGS_TO_PASS) check)
4314 .PHONY: install-readline maybe-install-readline
4315 maybe-install-readline:
4316 install-readline: installdirs
4317 @r=`${PWD}`; export r; \
4318 s=`cd $(srcdir); ${PWD}`; export s; \
4320 (cd readline; $(MAKE) $(FLAGS_TO_PASS) install)
4323 .PHONY: configure-release maybe-configure-release
4324 maybe-configure-release:
4325 configure-release: release/Makefile
4327 release/Makefile: config.status
4328 @[ -d release ] || mkdir release; \
4329 r=`${PWD}`; export r; \
4330 s=`cd $(srcdir); ${PWD}`; export s; \
4331 CC="$(CC)"; export CC; \
4332 CFLAGS="$(CFLAGS)"; export CFLAGS; \
4333 CXX="$(CXX)"; export CXX; \
4334 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
4335 if [ z$(build_canonical) != z$(host_canoncial) ] ; then \
4336 AR="$(AR)"; export AR; \
4337 AS="$(AS)"; export AS; \
4338 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
4339 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
4340 LD="$(LD)"; export LD; \
4341 NM="$(NM)"; export NM; \
4342 RANLIB="$(RANLIB)"; export RANLIB; \
4343 WINDRES="$(WINDRES)"; export WINDRES; \
4344 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
4345 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
4347 echo Configuring in release; \
4348 cd release || exit 1; \
4351 srcdiroption="--srcdir=."; \
4353 /* | [A-Za-z]:[\\/]*) \
4354 srcdiroption="--srcdir=$(srcdir)/release"; \
4355 libsrcdir="$$s/release";; \
4357 srcdiroption="--srcdir=../$(srcdir)/release"; \
4358 libsrcdir="$$s/release";; \
4360 $(SHELL) $${libsrcdir}/configure \
4361 $(HOST_CONFIGARGS) $${srcdiroption} \
4364 .PHONY: all-release maybe-all-release
4367 @r=`${PWD}`; export r; \
4368 s=`cd $(srcdir); ${PWD}`; export s; \
4370 (cd release; $(MAKE) $(FLAGS_TO_PASS) all)
4373 .PHONY: check-release
4378 .PHONY: install-release maybe-install-release
4379 maybe-install-release:
4383 .PHONY: configure-recode maybe-configure-recode
4384 maybe-configure-recode:
4385 configure-recode: recode/Makefile
4387 recode/Makefile: config.status
4388 @[ -d recode ] || mkdir recode; \
4389 r=`${PWD}`; export r; \
4390 s=`cd $(srcdir); ${PWD}`; export s; \
4391 CC="$(CC)"; export CC; \
4392 CFLAGS="$(CFLAGS)"; export CFLAGS; \
4393 CXX="$(CXX)"; export CXX; \
4394 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
4395 if [ z$(build_canonical) != z$(host_canoncial) ] ; then \
4396 AR="$(AR)"; export AR; \
4397 AS="$(AS)"; export AS; \
4398 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
4399 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
4400 LD="$(LD)"; export LD; \
4401 NM="$(NM)"; export NM; \
4402 RANLIB="$(RANLIB)"; export RANLIB; \
4403 WINDRES="$(WINDRES)"; export WINDRES; \
4404 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
4405 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
4407 echo Configuring in recode; \
4408 cd recode || exit 1; \
4411 srcdiroption="--srcdir=."; \
4413 /* | [A-Za-z]:[\\/]*) \
4414 srcdiroption="--srcdir=$(srcdir)/recode"; \
4415 libsrcdir="$$s/recode";; \
4417 srcdiroption="--srcdir=../$(srcdir)/recode"; \
4418 libsrcdir="$$s/recode";; \
4420 $(SHELL) $${libsrcdir}/configure \
4421 $(HOST_CONFIGARGS) $${srcdiroption} \
4424 .PHONY: all-recode maybe-all-recode
4427 @r=`${PWD}`; export r; \
4428 s=`cd $(srcdir); ${PWD}`; export s; \
4430 (cd recode; $(MAKE) $(FLAGS_TO_PASS) all)
4433 .PHONY: check-recode
4435 @r=`${PWD}`; export r; \
4436 s=`cd $(srcdir); ${PWD}`; export s; \
4438 (cd recode; $(MAKE) $(FLAGS_TO_PASS) check)
4442 .PHONY: install-recode maybe-install-recode
4443 maybe-install-recode:
4444 install-recode: installdirs
4445 @r=`${PWD}`; export r; \
4446 s=`cd $(srcdir); ${PWD}`; export s; \
4448 (cd recode; $(MAKE) $(FLAGS_TO_PASS) install)
4451 .PHONY: configure-sed maybe-configure-sed
4452 maybe-configure-sed:
4453 configure-sed: sed/Makefile
4455 sed/Makefile: config.status
4456 @[ -d sed ] || mkdir sed; \
4457 r=`${PWD}`; export r; \
4458 s=`cd $(srcdir); ${PWD}`; export s; \
4459 CC="$(CC)"; export CC; \
4460 CFLAGS="$(CFLAGS)"; export CFLAGS; \
4461 CXX="$(CXX)"; export CXX; \
4462 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
4463 if [ z$(build_canonical) != z$(host_canoncial) ] ; then \
4464 AR="$(AR)"; export AR; \
4465 AS="$(AS)"; export AS; \
4466 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
4467 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
4468 LD="$(LD)"; export LD; \
4469 NM="$(NM)"; export NM; \
4470 RANLIB="$(RANLIB)"; export RANLIB; \
4471 WINDRES="$(WINDRES)"; export WINDRES; \
4472 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
4473 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
4475 echo Configuring in sed; \
4479 srcdiroption="--srcdir=."; \
4481 /* | [A-Za-z]:[\\/]*) \
4482 srcdiroption="--srcdir=$(srcdir)/sed"; \
4483 libsrcdir="$$s/sed";; \
4485 srcdiroption="--srcdir=../$(srcdir)/sed"; \
4486 libsrcdir="$$s/sed";; \
4488 $(SHELL) $${libsrcdir}/configure \
4489 $(HOST_CONFIGARGS) $${srcdiroption} \
4492 .PHONY: all-sed maybe-all-sed
4495 @r=`${PWD}`; export r; \
4496 s=`cd $(srcdir); ${PWD}`; export s; \
4498 (cd sed; $(MAKE) $(FLAGS_TO_PASS) all)
4503 @r=`${PWD}`; export r; \
4504 s=`cd $(srcdir); ${PWD}`; export s; \
4506 (cd sed; $(MAKE) $(FLAGS_TO_PASS) check)
4510 .PHONY: install-sed maybe-install-sed
4512 install-sed: installdirs
4513 @r=`${PWD}`; export r; \
4514 s=`cd $(srcdir); ${PWD}`; export s; \
4516 (cd sed; $(MAKE) $(FLAGS_TO_PASS) install)
4519 .PHONY: configure-send-pr maybe-configure-send-pr
4520 maybe-configure-send-pr:
4521 configure-send-pr: send-pr/Makefile
4523 send-pr/Makefile: config.status
4524 @[ -d send-pr ] || mkdir send-pr; \
4525 r=`${PWD}`; export r; \
4526 s=`cd $(srcdir); ${PWD}`; export s; \
4527 CC="$(CC)"; export CC; \
4528 CFLAGS="$(CFLAGS)"; export CFLAGS; \
4529 CXX="$(CXX)"; export CXX; \
4530 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
4531 if [ z$(build_canonical) != z$(host_canoncial) ] ; then \
4532 AR="$(AR)"; export AR; \
4533 AS="$(AS)"; export AS; \
4534 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
4535 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
4536 LD="$(LD)"; export LD; \
4537 NM="$(NM)"; export NM; \
4538 RANLIB="$(RANLIB)"; export RANLIB; \
4539 WINDRES="$(WINDRES)"; export WINDRES; \
4540 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
4541 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
4543 echo Configuring in send-pr; \
4544 cd send-pr || exit 1; \
4547 srcdiroption="--srcdir=."; \
4549 /* | [A-Za-z]:[\\/]*) \
4550 srcdiroption="--srcdir=$(srcdir)/send-pr"; \
4551 libsrcdir="$$s/send-pr";; \
4553 srcdiroption="--srcdir=../$(srcdir)/send-pr"; \
4554 libsrcdir="$$s/send-pr";; \
4556 $(SHELL) $${libsrcdir}/configure \
4557 $(HOST_CONFIGARGS) $${srcdiroption} \
4560 .PHONY: all-send-pr maybe-all-send-pr
4563 @r=`${PWD}`; export r; \
4564 s=`cd $(srcdir); ${PWD}`; export s; \
4566 (cd send-pr; $(MAKE) $(FLAGS_TO_PASS) all)
4569 .PHONY: check-send-pr
4571 @r=`${PWD}`; export r; \
4572 s=`cd $(srcdir); ${PWD}`; export s; \
4574 (cd send-pr; $(MAKE) $(FLAGS_TO_PASS) check)
4578 .PHONY: install-send-pr maybe-install-send-pr
4579 maybe-install-send-pr:
4580 install-send-pr: installdirs
4581 @r=`${PWD}`; export r; \
4582 s=`cd $(srcdir); ${PWD}`; export s; \
4584 (cd send-pr; $(MAKE) $(FLAGS_TO_PASS) install)
4587 .PHONY: configure-shellutils maybe-configure-shellutils
4588 maybe-configure-shellutils:
4589 configure-shellutils: shellutils/Makefile
4591 shellutils/Makefile: config.status
4592 @[ -d shellutils ] || mkdir shellutils; \
4593 r=`${PWD}`; export r; \
4594 s=`cd $(srcdir); ${PWD}`; export s; \
4595 CC="$(CC)"; export CC; \
4596 CFLAGS="$(CFLAGS)"; export CFLAGS; \
4597 CXX="$(CXX)"; export CXX; \
4598 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
4599 if [ z$(build_canonical) != z$(host_canoncial) ] ; then \
4600 AR="$(AR)"; export AR; \
4601 AS="$(AS)"; export AS; \
4602 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
4603 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
4604 LD="$(LD)"; export LD; \
4605 NM="$(NM)"; export NM; \
4606 RANLIB="$(RANLIB)"; export RANLIB; \
4607 WINDRES="$(WINDRES)"; export WINDRES; \
4608 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
4609 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
4611 echo Configuring in shellutils; \
4612 cd shellutils || exit 1; \
4615 srcdiroption="--srcdir=."; \
4617 /* | [A-Za-z]:[\\/]*) \
4618 srcdiroption="--srcdir=$(srcdir)/shellutils"; \
4619 libsrcdir="$$s/shellutils";; \
4621 srcdiroption="--srcdir=../$(srcdir)/shellutils"; \
4622 libsrcdir="$$s/shellutils";; \
4624 $(SHELL) $${libsrcdir}/configure \
4625 $(HOST_CONFIGARGS) $${srcdiroption} \
4628 .PHONY: all-shellutils maybe-all-shellutils
4629 maybe-all-shellutils:
4631 @r=`${PWD}`; export r; \
4632 s=`cd $(srcdir); ${PWD}`; export s; \
4634 (cd shellutils; $(MAKE) $(FLAGS_TO_PASS) all)
4637 .PHONY: check-shellutils
4639 @r=`${PWD}`; export r; \
4640 s=`cd $(srcdir); ${PWD}`; export s; \
4642 (cd shellutils; $(MAKE) $(FLAGS_TO_PASS) check)
4646 .PHONY: install-shellutils maybe-install-shellutils
4647 maybe-install-shellutils:
4648 install-shellutils: installdirs
4649 @r=`${PWD}`; export r; \
4650 s=`cd $(srcdir); ${PWD}`; export s; \
4652 (cd shellutils; $(MAKE) $(FLAGS_TO_PASS) install)
4655 .PHONY: configure-sid maybe-configure-sid
4656 maybe-configure-sid:
4657 configure-sid: sid/Makefile
4659 sid/Makefile: config.status
4660 @[ -d sid ] || mkdir sid; \
4661 r=`${PWD}`; export r; \
4662 s=`cd $(srcdir); ${PWD}`; export s; \
4663 CC="$(CC)"; export CC; \
4664 CFLAGS="$(CFLAGS)"; export CFLAGS; \
4665 CXX="$(CXX)"; export CXX; \
4666 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
4667 if [ z$(build_canonical) != z$(host_canoncial) ] ; then \
4668 AR="$(AR)"; export AR; \
4669 AS="$(AS)"; export AS; \
4670 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
4671 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
4672 LD="$(LD)"; export LD; \
4673 NM="$(NM)"; export NM; \
4674 RANLIB="$(RANLIB)"; export RANLIB; \
4675 WINDRES="$(WINDRES)"; export WINDRES; \
4676 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
4677 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
4679 echo Configuring in sid; \
4683 srcdiroption="--srcdir=."; \
4685 /* | [A-Za-z]:[\\/]*) \
4686 srcdiroption="--srcdir=$(srcdir)/sid"; \
4687 libsrcdir="$$s/sid";; \
4689 srcdiroption="--srcdir=../$(srcdir)/sid"; \
4690 libsrcdir="$$s/sid";; \
4692 $(SHELL) $${libsrcdir}/configure \
4693 $(HOST_CONFIGARGS) $${srcdiroption} \
4696 .PHONY: all-sid maybe-all-sid
4699 @r=`${PWD}`; export r; \
4700 s=`cd $(srcdir); ${PWD}`; export s; \
4702 (cd sid; $(MAKE) $(FLAGS_TO_PASS) all)
4707 @r=`${PWD}`; export r; \
4708 s=`cd $(srcdir); ${PWD}`; export s; \
4710 (cd sid; $(MAKE) $(FLAGS_TO_PASS) check)
4714 .PHONY: install-sid maybe-install-sid
4716 install-sid: installdirs
4717 @r=`${PWD}`; export r; \
4718 s=`cd $(srcdir); ${PWD}`; export s; \
4720 (cd sid; $(MAKE) $(FLAGS_TO_PASS) install)
4723 .PHONY: configure-sim maybe-configure-sim
4724 maybe-configure-sim:
4725 configure-sim: sim/Makefile
4727 sim/Makefile: config.status
4728 @[ -d sim ] || mkdir sim; \
4729 r=`${PWD}`; export r; \
4730 s=`cd $(srcdir); ${PWD}`; export s; \
4731 CC="$(CC)"; export CC; \
4732 CFLAGS="$(CFLAGS)"; export CFLAGS; \
4733 CXX="$(CXX)"; export CXX; \
4734 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
4735 if [ z$(build_canonical) != z$(host_canoncial) ] ; then \
4736 AR="$(AR)"; export AR; \
4737 AS="$(AS)"; export AS; \
4738 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
4739 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
4740 LD="$(LD)"; export LD; \
4741 NM="$(NM)"; export NM; \
4742 RANLIB="$(RANLIB)"; export RANLIB; \
4743 WINDRES="$(WINDRES)"; export WINDRES; \
4744 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
4745 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
4747 echo Configuring in sim; \
4751 srcdiroption="--srcdir=."; \
4753 /* | [A-Za-z]:[\\/]*) \
4754 srcdiroption="--srcdir=$(srcdir)/sim"; \
4755 libsrcdir="$$s/sim";; \
4757 srcdiroption="--srcdir=../$(srcdir)/sim"; \
4758 libsrcdir="$$s/sim";; \
4760 $(SHELL) $${libsrcdir}/configure \
4761 $(HOST_CONFIGARGS) $${srcdiroption} \
4764 .PHONY: all-sim maybe-all-sim
4767 @r=`${PWD}`; export r; \
4768 s=`cd $(srcdir); ${PWD}`; export s; \
4770 (cd sim; $(MAKE) $(FLAGS_TO_PASS) all)
4775 @r=`${PWD}`; export r; \
4776 s=`cd $(srcdir); ${PWD}`; export s; \
4778 (cd sim; $(MAKE) $(FLAGS_TO_PASS) check)
4782 .PHONY: install-sim maybe-install-sim
4784 install-sim: installdirs
4785 @r=`${PWD}`; export r; \
4786 s=`cd $(srcdir); ${PWD}`; export s; \
4788 (cd sim; $(MAKE) $(FLAGS_TO_PASS) install)
4791 .PHONY: configure-snavigator maybe-configure-snavigator
4792 maybe-configure-snavigator:
4793 configure-snavigator: snavigator/Makefile
4795 snavigator/Makefile: config.status
4796 @[ -d snavigator ] || mkdir snavigator; \
4797 r=`${PWD}`; export r; \
4798 s=`cd $(srcdir); ${PWD}`; export s; \
4799 CC="$(CC)"; export CC; \
4800 CFLAGS="$(CFLAGS)"; export CFLAGS; \
4801 CXX="$(CXX)"; export CXX; \
4802 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
4803 if [ z$(build_canonical) != z$(host_canoncial) ] ; then \
4804 AR="$(AR)"; export AR; \
4805 AS="$(AS)"; export AS; \
4806 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
4807 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
4808 LD="$(LD)"; export LD; \
4809 NM="$(NM)"; export NM; \
4810 RANLIB="$(RANLIB)"; export RANLIB; \
4811 WINDRES="$(WINDRES)"; export WINDRES; \
4812 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
4813 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
4815 echo Configuring in snavigator; \
4816 cd snavigator || exit 1; \
4819 srcdiroption="--srcdir=."; \
4821 /* | [A-Za-z]:[\\/]*) \
4822 srcdiroption="--srcdir=$(srcdir)/snavigator"; \
4823 libsrcdir="$$s/snavigator";; \
4825 srcdiroption="--srcdir=../$(srcdir)/snavigator"; \
4826 libsrcdir="$$s/snavigator";; \
4828 $(SHELL) $${libsrcdir}/configure \
4829 $(HOST_CONFIGARGS) $${srcdiroption} \
4832 .PHONY: all-snavigator maybe-all-snavigator
4833 maybe-all-snavigator:
4835 @r=`${PWD}`; export r; \
4836 s=`cd $(srcdir); ${PWD}`; export s; \
4838 (cd snavigator; $(MAKE) $(FLAGS_TO_PASS) all)
4841 .PHONY: check-snavigator
4843 @r=`${PWD}`; export r; \
4844 s=`cd $(srcdir); ${PWD}`; export s; \
4846 (cd snavigator; $(MAKE) $(FLAGS_TO_PASS) check)
4850 .PHONY: install-snavigator maybe-install-snavigator
4851 maybe-install-snavigator:
4852 install-snavigator: installdirs
4853 @r=`${PWD}`; export r; \
4854 s=`cd $(srcdir); ${PWD}`; export s; \
4856 (cd snavigator; $(MAKE) $(FLAGS_TO_PASS) install)
4859 .PHONY: configure-tar maybe-configure-tar
4860 maybe-configure-tar:
4861 configure-tar: tar/Makefile
4863 tar/Makefile: config.status
4864 @[ -d tar ] || mkdir tar; \
4865 r=`${PWD}`; export r; \
4866 s=`cd $(srcdir); ${PWD}`; export s; \
4867 CC="$(CC)"; export CC; \
4868 CFLAGS="$(CFLAGS)"; export CFLAGS; \
4869 CXX="$(CXX)"; export CXX; \
4870 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
4871 if [ z$(build_canonical) != z$(host_canoncial) ] ; then \
4872 AR="$(AR)"; export AR; \
4873 AS="$(AS)"; export AS; \
4874 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
4875 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
4876 LD="$(LD)"; export LD; \
4877 NM="$(NM)"; export NM; \
4878 RANLIB="$(RANLIB)"; export RANLIB; \
4879 WINDRES="$(WINDRES)"; export WINDRES; \
4880 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
4881 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
4883 echo Configuring in tar; \
4887 srcdiroption="--srcdir=."; \
4889 /* | [A-Za-z]:[\\/]*) \
4890 srcdiroption="--srcdir=$(srcdir)/tar"; \
4891 libsrcdir="$$s/tar";; \
4893 srcdiroption="--srcdir=../$(srcdir)/tar"; \
4894 libsrcdir="$$s/tar";; \
4896 $(SHELL) $${libsrcdir}/configure \
4897 $(HOST_CONFIGARGS) $${srcdiroption} \
4900 .PHONY: all-tar maybe-all-tar
4903 @r=`${PWD}`; export r; \
4904 s=`cd $(srcdir); ${PWD}`; export s; \
4906 (cd tar; $(MAKE) $(FLAGS_TO_PASS) all)
4911 @r=`${PWD}`; export r; \
4912 s=`cd $(srcdir); ${PWD}`; export s; \
4914 (cd tar; $(MAKE) $(FLAGS_TO_PASS) check)
4918 .PHONY: install-tar maybe-install-tar
4920 install-tar: installdirs
4921 @r=`${PWD}`; export r; \
4922 s=`cd $(srcdir); ${PWD}`; export s; \
4924 (cd tar; $(MAKE) $(FLAGS_TO_PASS) install)
4927 .PHONY: configure-texinfo maybe-configure-texinfo
4928 maybe-configure-texinfo:
4929 configure-texinfo: texinfo/Makefile
4931 texinfo/Makefile: config.status
4932 @[ -d texinfo ] || mkdir texinfo; \
4933 r=`${PWD}`; export r; \
4934 s=`cd $(srcdir); ${PWD}`; export s; \
4935 CC="$(CC)"; export CC; \
4936 CFLAGS="$(CFLAGS)"; export CFLAGS; \
4937 CXX="$(CXX)"; export CXX; \
4938 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
4939 if [ z$(build_canonical) != z$(host_canoncial) ] ; then \
4940 AR="$(AR)"; export AR; \
4941 AS="$(AS)"; export AS; \
4942 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
4943 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
4944 LD="$(LD)"; export LD; \
4945 NM="$(NM)"; export NM; \
4946 RANLIB="$(RANLIB)"; export RANLIB; \
4947 WINDRES="$(WINDRES)"; export WINDRES; \
4948 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
4949 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
4951 echo Configuring in texinfo; \
4952 cd texinfo || exit 1; \
4955 srcdiroption="--srcdir=."; \
4957 /* | [A-Za-z]:[\\/]*) \
4958 srcdiroption="--srcdir=$(srcdir)/texinfo"; \
4959 libsrcdir="$$s/texinfo";; \
4961 srcdiroption="--srcdir=../$(srcdir)/texinfo"; \
4962 libsrcdir="$$s/texinfo";; \
4964 $(SHELL) $${libsrcdir}/configure \
4965 $(HOST_CONFIGARGS) $${srcdiroption} \
4968 .PHONY: all-texinfo maybe-all-texinfo
4971 @r=`${PWD}`; export r; \
4972 s=`cd $(srcdir); ${PWD}`; export s; \
4974 (cd texinfo; $(MAKE) $(FLAGS_TO_PASS) all)
4977 .PHONY: check-texinfo
4979 @r=`${PWD}`; export r; \
4980 s=`cd $(srcdir); ${PWD}`; export s; \
4982 (cd texinfo; $(MAKE) $(FLAGS_TO_PASS) check)
4986 .PHONY: install-texinfo maybe-install-texinfo
4987 maybe-install-texinfo:
4991 .PHONY: configure-textutils maybe-configure-textutils
4992 maybe-configure-textutils:
4993 configure-textutils: textutils/Makefile
4995 textutils/Makefile: config.status
4996 @[ -d textutils ] || mkdir textutils; \
4997 r=`${PWD}`; export r; \
4998 s=`cd $(srcdir); ${PWD}`; export s; \
4999 CC="$(CC)"; export CC; \
5000 CFLAGS="$(CFLAGS)"; export CFLAGS; \
5001 CXX="$(CXX)"; export CXX; \
5002 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
5003 if [ z$(build_canonical) != z$(host_canoncial) ] ; then \
5004 AR="$(AR)"; export AR; \
5005 AS="$(AS)"; export AS; \
5006 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
5007 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
5008 LD="$(LD)"; export LD; \
5009 NM="$(NM)"; export NM; \
5010 RANLIB="$(RANLIB)"; export RANLIB; \
5011 WINDRES="$(WINDRES)"; export WINDRES; \
5012 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
5013 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
5015 echo Configuring in textutils; \
5016 cd textutils || exit 1; \
5019 srcdiroption="--srcdir=."; \
5021 /* | [A-Za-z]:[\\/]*) \
5022 srcdiroption="--srcdir=$(srcdir)/textutils"; \
5023 libsrcdir="$$s/textutils";; \
5025 srcdiroption="--srcdir=../$(srcdir)/textutils"; \
5026 libsrcdir="$$s/textutils";; \
5028 $(SHELL) $${libsrcdir}/configure \
5029 $(HOST_CONFIGARGS) $${srcdiroption} \
5032 .PHONY: all-textutils maybe-all-textutils
5033 maybe-all-textutils:
5035 @r=`${PWD}`; export r; \
5036 s=`cd $(srcdir); ${PWD}`; export s; \
5038 (cd textutils; $(MAKE) $(FLAGS_TO_PASS) all)
5041 .PHONY: check-textutils
5043 @r=`${PWD}`; export r; \
5044 s=`cd $(srcdir); ${PWD}`; export s; \
5046 (cd textutils; $(MAKE) $(FLAGS_TO_PASS) check)
5050 .PHONY: install-textutils maybe-install-textutils
5051 maybe-install-textutils:
5052 install-textutils: installdirs
5053 @r=`${PWD}`; export r; \
5054 s=`cd $(srcdir); ${PWD}`; export s; \
5056 (cd textutils; $(MAKE) $(FLAGS_TO_PASS) install)
5059 .PHONY: configure-time maybe-configure-time
5060 maybe-configure-time:
5061 configure-time: time/Makefile
5063 time/Makefile: config.status
5064 @[ -d time ] || mkdir time; \
5065 r=`${PWD}`; export r; \
5066 s=`cd $(srcdir); ${PWD}`; export s; \
5067 CC="$(CC)"; export CC; \
5068 CFLAGS="$(CFLAGS)"; export CFLAGS; \
5069 CXX="$(CXX)"; export CXX; \
5070 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
5071 if [ z$(build_canonical) != z$(host_canoncial) ] ; then \
5072 AR="$(AR)"; export AR; \
5073 AS="$(AS)"; export AS; \
5074 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
5075 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
5076 LD="$(LD)"; export LD; \
5077 NM="$(NM)"; export NM; \
5078 RANLIB="$(RANLIB)"; export RANLIB; \
5079 WINDRES="$(WINDRES)"; export WINDRES; \
5080 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
5081 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
5083 echo Configuring in time; \
5084 cd time || exit 1; \
5087 srcdiroption="--srcdir=."; \
5089 /* | [A-Za-z]:[\\/]*) \
5090 srcdiroption="--srcdir=$(srcdir)/time"; \
5091 libsrcdir="$$s/time";; \
5093 srcdiroption="--srcdir=../$(srcdir)/time"; \
5094 libsrcdir="$$s/time";; \
5096 $(SHELL) $${libsrcdir}/configure \
5097 $(HOST_CONFIGARGS) $${srcdiroption} \
5100 .PHONY: all-time maybe-all-time
5103 @r=`${PWD}`; export r; \
5104 s=`cd $(srcdir); ${PWD}`; export s; \
5106 (cd time; $(MAKE) $(FLAGS_TO_PASS) all)
5111 @r=`${PWD}`; export r; \
5112 s=`cd $(srcdir); ${PWD}`; export s; \
5114 (cd time; $(MAKE) $(FLAGS_TO_PASS) check)
5118 .PHONY: install-time maybe-install-time
5120 install-time: installdirs
5121 @r=`${PWD}`; export r; \
5122 s=`cd $(srcdir); ${PWD}`; export s; \
5124 (cd time; $(MAKE) $(FLAGS_TO_PASS) install)
5127 .PHONY: configure-uudecode maybe-configure-uudecode
5128 maybe-configure-uudecode:
5129 configure-uudecode: uudecode/Makefile
5131 uudecode/Makefile: config.status
5132 @[ -d uudecode ] || mkdir uudecode; \
5133 r=`${PWD}`; export r; \
5134 s=`cd $(srcdir); ${PWD}`; export s; \
5135 CC="$(CC)"; export CC; \
5136 CFLAGS="$(CFLAGS)"; export CFLAGS; \
5137 CXX="$(CXX)"; export CXX; \
5138 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
5139 if [ z$(build_canonical) != z$(host_canoncial) ] ; then \
5140 AR="$(AR)"; export AR; \
5141 AS="$(AS)"; export AS; \
5142 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
5143 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
5144 LD="$(LD)"; export LD; \
5145 NM="$(NM)"; export NM; \
5146 RANLIB="$(RANLIB)"; export RANLIB; \
5147 WINDRES="$(WINDRES)"; export WINDRES; \
5148 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
5149 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
5151 echo Configuring in uudecode; \
5152 cd uudecode || exit 1; \
5155 srcdiroption="--srcdir=."; \
5157 /* | [A-Za-z]:[\\/]*) \
5158 srcdiroption="--srcdir=$(srcdir)/uudecode"; \
5159 libsrcdir="$$s/uudecode";; \
5161 srcdiroption="--srcdir=../$(srcdir)/uudecode"; \
5162 libsrcdir="$$s/uudecode";; \
5164 $(SHELL) $${libsrcdir}/configure \
5165 $(HOST_CONFIGARGS) $${srcdiroption} \
5168 .PHONY: all-uudecode maybe-all-uudecode
5171 @r=`${PWD}`; export r; \
5172 s=`cd $(srcdir); ${PWD}`; export s; \
5174 (cd uudecode; $(MAKE) $(FLAGS_TO_PASS) all)
5177 .PHONY: check-uudecode
5179 @r=`${PWD}`; export r; \
5180 s=`cd $(srcdir); ${PWD}`; export s; \
5182 (cd uudecode; $(MAKE) $(FLAGS_TO_PASS) check)
5186 .PHONY: install-uudecode maybe-install-uudecode
5187 maybe-install-uudecode:
5188 install-uudecode: installdirs
5189 @r=`${PWD}`; export r; \
5190 s=`cd $(srcdir); ${PWD}`; export s; \
5192 (cd uudecode; $(MAKE) $(FLAGS_TO_PASS) install)
5195 .PHONY: configure-wdiff maybe-configure-wdiff
5196 maybe-configure-wdiff:
5197 configure-wdiff: wdiff/Makefile
5199 wdiff/Makefile: config.status
5200 @[ -d wdiff ] || mkdir wdiff; \
5201 r=`${PWD}`; export r; \
5202 s=`cd $(srcdir); ${PWD}`; export s; \
5203 CC="$(CC)"; export CC; \
5204 CFLAGS="$(CFLAGS)"; export CFLAGS; \
5205 CXX="$(CXX)"; export CXX; \
5206 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
5207 if [ z$(build_canonical) != z$(host_canoncial) ] ; then \
5208 AR="$(AR)"; export AR; \
5209 AS="$(AS)"; export AS; \
5210 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
5211 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
5212 LD="$(LD)"; export LD; \
5213 NM="$(NM)"; export NM; \
5214 RANLIB="$(RANLIB)"; export RANLIB; \
5215 WINDRES="$(WINDRES)"; export WINDRES; \
5216 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
5217 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
5219 echo Configuring in wdiff; \
5220 cd wdiff || exit 1; \
5223 srcdiroption="--srcdir=."; \
5225 /* | [A-Za-z]:[\\/]*) \
5226 srcdiroption="--srcdir=$(srcdir)/wdiff"; \
5227 libsrcdir="$$s/wdiff";; \
5229 srcdiroption="--srcdir=../$(srcdir)/wdiff"; \
5230 libsrcdir="$$s/wdiff";; \
5232 $(SHELL) $${libsrcdir}/configure \
5233 $(HOST_CONFIGARGS) $${srcdiroption} \
5236 .PHONY: all-wdiff maybe-all-wdiff
5239 @r=`${PWD}`; export r; \
5240 s=`cd $(srcdir); ${PWD}`; export s; \
5242 (cd wdiff; $(MAKE) $(FLAGS_TO_PASS) all)
5247 @r=`${PWD}`; export r; \
5248 s=`cd $(srcdir); ${PWD}`; export s; \
5250 (cd wdiff; $(MAKE) $(FLAGS_TO_PASS) check)
5254 .PHONY: install-wdiff maybe-install-wdiff
5255 maybe-install-wdiff:
5256 install-wdiff: installdirs
5257 @r=`${PWD}`; export r; \
5258 s=`cd $(srcdir); ${PWD}`; export s; \
5260 (cd wdiff; $(MAKE) $(FLAGS_TO_PASS) install)
5263 .PHONY: configure-zip maybe-configure-zip
5264 maybe-configure-zip:
5265 configure-zip: zip/Makefile
5267 zip/Makefile: config.status
5268 @[ -d zip ] || mkdir zip; \
5269 r=`${PWD}`; export r; \
5270 s=`cd $(srcdir); ${PWD}`; export s; \
5271 CC="$(CC)"; export CC; \
5272 CFLAGS="$(CFLAGS)"; export CFLAGS; \
5273 CXX="$(CXX)"; export CXX; \
5274 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
5275 if [ z$(build_canonical) != z$(host_canoncial) ] ; then \
5276 AR="$(AR)"; export AR; \
5277 AS="$(AS)"; export AS; \
5278 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
5279 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
5280 LD="$(LD)"; export LD; \
5281 NM="$(NM)"; export NM; \
5282 RANLIB="$(RANLIB)"; export RANLIB; \
5283 WINDRES="$(WINDRES)"; export WINDRES; \
5284 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
5285 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
5287 echo Configuring in zip; \
5291 srcdiroption="--srcdir=."; \
5293 /* | [A-Za-z]:[\\/]*) \
5294 srcdiroption="--srcdir=$(srcdir)/zip"; \
5295 libsrcdir="$$s/zip";; \
5297 srcdiroption="--srcdir=../$(srcdir)/zip"; \
5298 libsrcdir="$$s/zip";; \
5300 $(SHELL) $${libsrcdir}/configure \
5301 $(HOST_CONFIGARGS) $${srcdiroption} \
5304 .PHONY: all-zip maybe-all-zip
5307 @r=`${PWD}`; export r; \
5308 s=`cd $(srcdir); ${PWD}`; export s; \
5310 (cd zip; $(MAKE) $(FLAGS_TO_PASS) all)
5314 # This module is only tested in a native toolchain.
5316 @if [ '$(host_canonical)' = '$(target_canonical)' ] ; then \
5317 r=`${PWD}`; export r; \
5318 s=`cd $(srcdir); ${PWD}`; export s; \
5320 (cd zip; $(MAKE) $(FLAGS_TO_PASS) check); \
5325 .PHONY: install-zip maybe-install-zip
5327 install-zip: installdirs
5328 @r=`${PWD}`; export r; \
5329 s=`cd $(srcdir); ${PWD}`; export s; \
5331 (cd zip; $(MAKE) $(FLAGS_TO_PASS) install)
5334 .PHONY: configure-zlib maybe-configure-zlib
5335 maybe-configure-zlib:
5336 configure-zlib: zlib/Makefile
5338 zlib/Makefile: config.status
5339 @[ -d zlib ] || mkdir zlib; \
5340 r=`${PWD}`; export r; \
5341 s=`cd $(srcdir); ${PWD}`; export s; \
5342 CC="$(CC)"; export CC; \
5343 CFLAGS="$(CFLAGS)"; export CFLAGS; \
5344 CXX="$(CXX)"; export CXX; \
5345 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
5346 if [ z$(build_canonical) != z$(host_canoncial) ] ; then \
5347 AR="$(AR)"; export AR; \
5348 AS="$(AS)"; export AS; \
5349 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
5350 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
5351 LD="$(LD)"; export LD; \
5352 NM="$(NM)"; export NM; \
5353 RANLIB="$(RANLIB)"; export RANLIB; \
5354 WINDRES="$(WINDRES)"; export WINDRES; \
5355 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
5356 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
5358 echo Configuring in zlib; \
5359 cd zlib || exit 1; \
5362 srcdiroption="--srcdir=."; \
5364 /* | [A-Za-z]:[\\/]*) \
5365 srcdiroption="--srcdir=$(srcdir)/zlib"; \
5366 libsrcdir="$$s/zlib";; \
5368 srcdiroption="--srcdir=../$(srcdir)/zlib"; \
5369 libsrcdir="$$s/zlib";; \
5371 $(SHELL) $${libsrcdir}/configure \
5372 $(HOST_CONFIGARGS) $${srcdiroption} \
5375 .PHONY: all-zlib maybe-all-zlib
5378 @r=`${PWD}`; export r; \
5379 s=`cd $(srcdir); ${PWD}`; export s; \
5381 (cd zlib; $(MAKE) $(FLAGS_TO_PASS) all)
5389 .PHONY: install-zlib maybe-install-zlib
5394 .PHONY: configure-gdb maybe-configure-gdb
5395 maybe-configure-gdb:
5396 configure-gdb: gdb/Makefile
5398 gdb/Makefile: config.status
5399 @[ -d gdb ] || mkdir gdb; \
5400 r=`${PWD}`; export r; \
5401 s=`cd $(srcdir); ${PWD}`; export s; \
5402 CC="$(CC)"; export CC; \
5403 CFLAGS="$(CFLAGS)"; export CFLAGS; \
5404 CXX="$(CXX)"; export CXX; \
5405 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
5406 if [ z$(build_canonical) != z$(host_canoncial) ] ; then \
5407 AR="$(AR)"; export AR; \
5408 AS="$(AS)"; export AS; \
5409 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
5410 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
5411 LD="$(LD)"; export LD; \
5412 NM="$(NM)"; export NM; \
5413 RANLIB="$(RANLIB)"; export RANLIB; \
5414 WINDRES="$(WINDRES)"; export WINDRES; \
5415 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
5416 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
5418 echo Configuring in gdb; \
5422 srcdiroption="--srcdir=."; \
5424 /* | [A-Za-z]:[\\/]*) \
5425 srcdiroption="--srcdir=$(srcdir)/gdb"; \
5426 libsrcdir="$$s/gdb";; \
5428 srcdiroption="--srcdir=../$(srcdir)/gdb"; \
5429 libsrcdir="$$s/gdb";; \
5431 $(SHELL) $${libsrcdir}/configure \
5432 $(HOST_CONFIGARGS) $${srcdiroption} \
5435 .PHONY: all-gdb maybe-all-gdb
5438 @r=`${PWD}`; export r; \
5439 s=`cd $(srcdir); ${PWD}`; export s; \
5441 (cd gdb; $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) all)
5446 @r=`${PWD}`; export r; \
5447 s=`cd $(srcdir); ${PWD}`; export s; \
5449 (cd gdb; $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) check)
5453 .PHONY: install-gdb maybe-install-gdb
5455 install-gdb: installdirs
5456 @r=`${PWD}`; export r; \
5457 s=`cd $(srcdir); ${PWD}`; export s; \
5459 (cd gdb; $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) install)
5462 .PHONY: configure-expect maybe-configure-expect
5463 maybe-configure-expect:
5464 configure-expect: expect/Makefile
5466 expect/Makefile: config.status
5467 @[ -d expect ] || mkdir expect; \
5468 r=`${PWD}`; export r; \
5469 s=`cd $(srcdir); ${PWD}`; export s; \
5470 CC="$(CC)"; export CC; \
5471 CFLAGS="$(CFLAGS)"; export CFLAGS; \
5472 CXX="$(CXX)"; export CXX; \
5473 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
5474 if [ z$(build_canonical) != z$(host_canoncial) ] ; then \
5475 AR="$(AR)"; export AR; \
5476 AS="$(AS)"; export AS; \
5477 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
5478 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
5479 LD="$(LD)"; export LD; \
5480 NM="$(NM)"; export NM; \
5481 RANLIB="$(RANLIB)"; export RANLIB; \
5482 WINDRES="$(WINDRES)"; export WINDRES; \
5483 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
5484 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
5486 echo Configuring in expect; \
5487 cd expect || exit 1; \
5490 srcdiroption="--srcdir=."; \
5492 /* | [A-Za-z]:[\\/]*) \
5493 srcdiroption="--srcdir=$(srcdir)/expect"; \
5494 libsrcdir="$$s/expect";; \
5496 srcdiroption="--srcdir=../$(srcdir)/expect"; \
5497 libsrcdir="$$s/expect";; \
5499 $(SHELL) $${libsrcdir}/configure \
5500 $(HOST_CONFIGARGS) $${srcdiroption} \
5503 .PHONY: all-expect maybe-all-expect
5506 @r=`${PWD}`; export r; \
5507 s=`cd $(srcdir); ${PWD}`; export s; \
5509 (cd expect; $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) all)
5512 .PHONY: check-expect
5514 @r=`${PWD}`; export r; \
5515 s=`cd $(srcdir); ${PWD}`; export s; \
5517 (cd expect; $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) check)
5521 .PHONY: install-expect maybe-install-expect
5522 maybe-install-expect:
5523 install-expect: installdirs
5524 @r=`${PWD}`; export r; \
5525 s=`cd $(srcdir); ${PWD}`; export s; \
5527 (cd expect; $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) install)
5530 .PHONY: configure-guile maybe-configure-guile
5531 maybe-configure-guile:
5532 configure-guile: guile/Makefile
5534 guile/Makefile: config.status
5535 @[ -d guile ] || mkdir guile; \
5536 r=`${PWD}`; export r; \
5537 s=`cd $(srcdir); ${PWD}`; export s; \
5538 CC="$(CC)"; export CC; \
5539 CFLAGS="$(CFLAGS)"; export CFLAGS; \
5540 CXX="$(CXX)"; export CXX; \
5541 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
5542 if [ z$(build_canonical) != z$(host_canoncial) ] ; then \
5543 AR="$(AR)"; export AR; \
5544 AS="$(AS)"; export AS; \
5545 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
5546 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
5547 LD="$(LD)"; export LD; \
5548 NM="$(NM)"; export NM; \
5549 RANLIB="$(RANLIB)"; export RANLIB; \
5550 WINDRES="$(WINDRES)"; export WINDRES; \
5551 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
5552 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
5554 echo Configuring in guile; \
5555 cd guile || exit 1; \
5558 srcdiroption="--srcdir=."; \
5560 /* | [A-Za-z]:[\\/]*) \
5561 srcdiroption="--srcdir=$(srcdir)/guile"; \
5562 libsrcdir="$$s/guile";; \
5564 srcdiroption="--srcdir=../$(srcdir)/guile"; \
5565 libsrcdir="$$s/guile";; \
5567 $(SHELL) $${libsrcdir}/configure \
5568 $(HOST_CONFIGARGS) $${srcdiroption} \
5571 .PHONY: all-guile maybe-all-guile
5574 @r=`${PWD}`; export r; \
5575 s=`cd $(srcdir); ${PWD}`; export s; \
5577 (cd guile; $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) all)
5582 @r=`${PWD}`; export r; \
5583 s=`cd $(srcdir); ${PWD}`; export s; \
5585 (cd guile; $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) check)
5589 .PHONY: install-guile maybe-install-guile
5590 maybe-install-guile:
5591 install-guile: installdirs
5592 @r=`${PWD}`; export r; \
5593 s=`cd $(srcdir); ${PWD}`; export s; \
5595 (cd guile; $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) install)
5598 .PHONY: configure-tclX maybe-configure-tclX
5599 maybe-configure-tclX:
5600 configure-tclX: tclX/Makefile
5602 tclX/Makefile: config.status
5603 @[ -d tclX ] || mkdir tclX; \
5604 r=`${PWD}`; export r; \
5605 s=`cd $(srcdir); ${PWD}`; export s; \
5606 CC="$(CC)"; export CC; \
5607 CFLAGS="$(CFLAGS)"; export CFLAGS; \
5608 CXX="$(CXX)"; export CXX; \
5609 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
5610 if [ z$(build_canonical) != z$(host_canoncial) ] ; then \
5611 AR="$(AR)"; export AR; \
5612 AS="$(AS)"; export AS; \
5613 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
5614 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
5615 LD="$(LD)"; export LD; \
5616 NM="$(NM)"; export NM; \
5617 RANLIB="$(RANLIB)"; export RANLIB; \
5618 WINDRES="$(WINDRES)"; export WINDRES; \
5619 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
5620 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
5622 echo Configuring in tclX; \
5623 cd tclX || exit 1; \
5626 srcdiroption="--srcdir=."; \
5628 /* | [A-Za-z]:[\\/]*) \
5629 srcdiroption="--srcdir=$(srcdir)/tclX"; \
5630 libsrcdir="$$s/tclX";; \
5632 srcdiroption="--srcdir=../$(srcdir)/tclX"; \
5633 libsrcdir="$$s/tclX";; \
5635 $(SHELL) $${libsrcdir}/configure \
5636 $(HOST_CONFIGARGS) $${srcdiroption} \
5639 .PHONY: all-tclX maybe-all-tclX
5642 @r=`${PWD}`; export r; \
5643 s=`cd $(srcdir); ${PWD}`; export s; \
5645 (cd tclX; $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) all)
5650 @r=`${PWD}`; export r; \
5651 s=`cd $(srcdir); ${PWD}`; export s; \
5653 (cd tclX; $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) check)
5657 .PHONY: install-tclX maybe-install-tclX
5659 install-tclX: installdirs
5660 @r=`${PWD}`; export r; \
5661 s=`cd $(srcdir); ${PWD}`; export s; \
5663 (cd tclX; $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) install)
5666 .PHONY: configure-tk maybe-configure-tk
5668 configure-tk: tk/Makefile
5670 tk/Makefile: config.status
5671 @[ -d tk ] || mkdir tk; \
5672 r=`${PWD}`; export r; \
5673 s=`cd $(srcdir); ${PWD}`; export s; \
5674 CC="$(CC)"; export CC; \
5675 CFLAGS="$(CFLAGS)"; export CFLAGS; \
5676 CXX="$(CXX)"; export CXX; \
5677 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
5678 if [ z$(build_canonical) != z$(host_canoncial) ] ; then \
5679 AR="$(AR)"; export AR; \
5680 AS="$(AS)"; export AS; \
5681 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
5682 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
5683 LD="$(LD)"; export LD; \
5684 NM="$(NM)"; export NM; \
5685 RANLIB="$(RANLIB)"; export RANLIB; \
5686 WINDRES="$(WINDRES)"; export WINDRES; \
5687 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
5688 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
5690 echo Configuring in tk; \
5694 srcdiroption="--srcdir=."; \
5696 /* | [A-Za-z]:[\\/]*) \
5697 srcdiroption="--srcdir=$(srcdir)/tk"; \
5698 libsrcdir="$$s/tk";; \
5700 srcdiroption="--srcdir=../$(srcdir)/tk"; \
5701 libsrcdir="$$s/tk";; \
5703 $(SHELL) $${libsrcdir}/configure \
5704 $(HOST_CONFIGARGS) $${srcdiroption} \
5707 .PHONY: all-tk maybe-all-tk
5710 @r=`${PWD}`; export r; \
5711 s=`cd $(srcdir); ${PWD}`; export s; \
5713 (cd tk; $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) all)
5718 @r=`${PWD}`; export r; \
5719 s=`cd $(srcdir); ${PWD}`; export s; \
5721 (cd tk; $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) check)
5725 .PHONY: install-tk maybe-install-tk
5727 install-tk: installdirs
5728 @r=`${PWD}`; export r; \
5729 s=`cd $(srcdir); ${PWD}`; export s; \
5731 (cd tk; $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) install)
5734 .PHONY: configure-tix maybe-configure-tix
5735 maybe-configure-tix:
5736 configure-tix: tix/Makefile
5738 tix/Makefile: config.status
5739 @[ -d tix ] || mkdir tix; \
5740 r=`${PWD}`; export r; \
5741 s=`cd $(srcdir); ${PWD}`; export s; \
5742 CC="$(CC)"; export CC; \
5743 CFLAGS="$(CFLAGS)"; export CFLAGS; \
5744 CXX="$(CXX)"; export CXX; \
5745 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
5746 if [ z$(build_canonical) != z$(host_canoncial) ] ; then \
5747 AR="$(AR)"; export AR; \
5748 AS="$(AS)"; export AS; \
5749 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
5750 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
5751 LD="$(LD)"; export LD; \
5752 NM="$(NM)"; export NM; \
5753 RANLIB="$(RANLIB)"; export RANLIB; \
5754 WINDRES="$(WINDRES)"; export WINDRES; \
5755 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
5756 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
5758 echo Configuring in tix; \
5762 srcdiroption="--srcdir=."; \
5764 /* | [A-Za-z]:[\\/]*) \
5765 srcdiroption="--srcdir=$(srcdir)/tix"; \
5766 libsrcdir="$$s/tix";; \
5768 srcdiroption="--srcdir=../$(srcdir)/tix"; \
5769 libsrcdir="$$s/tix";; \
5771 $(SHELL) $${libsrcdir}/configure \
5772 $(HOST_CONFIGARGS) $${srcdiroption} \
5775 .PHONY: all-tix maybe-all-tix
5778 @r=`${PWD}`; export r; \
5779 s=`cd $(srcdir); ${PWD}`; export s; \
5781 (cd tix; $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) all)
5786 @r=`${PWD}`; export r; \
5787 s=`cd $(srcdir); ${PWD}`; export s; \
5789 (cd tix; $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) check)
5793 .PHONY: install-tix maybe-install-tix
5795 install-tix: installdirs
5796 @r=`${PWD}`; export r; \
5797 s=`cd $(srcdir); ${PWD}`; export s; \
5799 (cd tix; $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) install)
5802 .PHONY: configure-libtermcap maybe-configure-libtermcap
5803 maybe-configure-libtermcap:
5804 configure-libtermcap: libtermcap/Makefile
5806 libtermcap/Makefile: config.status
5807 @[ -d libtermcap ] || mkdir libtermcap; \
5808 r=`${PWD}`; export r; \
5809 s=`cd $(srcdir); ${PWD}`; export s; \
5810 CC="$(CC)"; export CC; \
5811 CFLAGS="$(CFLAGS)"; export CFLAGS; \
5812 CXX="$(CXX)"; export CXX; \
5813 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
5814 if [ z$(build_canonical) != z$(host_canoncial) ] ; then \
5815 AR="$(AR)"; export AR; \
5816 AS="$(AS)"; export AS; \
5817 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
5818 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
5819 LD="$(LD)"; export LD; \
5820 NM="$(NM)"; export NM; \
5821 RANLIB="$(RANLIB)"; export RANLIB; \
5822 WINDRES="$(WINDRES)"; export WINDRES; \
5823 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
5824 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
5826 echo Configuring in libtermcap; \
5827 cd libtermcap || exit 1; \
5830 srcdiroption="--srcdir=."; \
5832 /* | [A-Za-z]:[\\/]*) \
5833 srcdiroption="--srcdir=$(srcdir)/libtermcap"; \
5834 libsrcdir="$$s/libtermcap";; \
5836 srcdiroption="--srcdir=../$(srcdir)/libtermcap"; \
5837 libsrcdir="$$s/libtermcap";; \
5839 $(SHELL) $${libsrcdir}/configure \
5840 $(HOST_CONFIGARGS) $${srcdiroption} \
5843 .PHONY: all-libtermcap maybe-all-libtermcap
5844 maybe-all-libtermcap:
5846 @r=`${PWD}`; export r; \
5847 s=`cd $(srcdir); ${PWD}`; export s; \
5849 (cd libtermcap; $(MAKE) $(FLAGS_TO_PASS) all)
5852 .PHONY: check-libtermcap
5857 .PHONY: install-libtermcap maybe-install-libtermcap
5858 maybe-install-libtermcap:
5859 install-libtermcap: installdirs
5860 @r=`${PWD}`; export r; \
5861 s=`cd $(srcdir); ${PWD}`; export s; \
5863 (cd libtermcap; $(MAKE) $(FLAGS_TO_PASS) install)
5866 .PHONY: configure-utils maybe-configure-utils
5867 maybe-configure-utils:
5868 configure-utils: utils/Makefile
5870 utils/Makefile: config.status
5871 @[ -d utils ] || mkdir utils; \
5872 r=`${PWD}`; export r; \
5873 s=`cd $(srcdir); ${PWD}`; export s; \
5874 CC="$(CC)"; export CC; \
5875 CFLAGS="$(CFLAGS)"; export CFLAGS; \
5876 CXX="$(CXX)"; export CXX; \
5877 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
5878 if [ z$(build_canonical) != z$(host_canoncial) ] ; then \
5879 AR="$(AR)"; export AR; \
5880 AS="$(AS)"; export AS; \
5881 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
5882 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
5883 LD="$(LD)"; export LD; \
5884 NM="$(NM)"; export NM; \
5885 RANLIB="$(RANLIB)"; export RANLIB; \
5886 WINDRES="$(WINDRES)"; export WINDRES; \
5887 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
5888 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
5890 echo Configuring in utils; \
5891 cd utils || exit 1; \
5894 srcdiroption="--srcdir=."; \
5896 /* | [A-Za-z]:[\\/]*) \
5897 srcdiroption="--srcdir=$(srcdir)/utils"; \
5898 libsrcdir="$$s/utils";; \
5900 srcdiroption="--srcdir=../$(srcdir)/utils"; \
5901 libsrcdir="$$s/utils";; \
5903 $(SHELL) $${libsrcdir}/configure \
5904 $(HOST_CONFIGARGS) $${srcdiroption} \
5907 .PHONY: all-utils maybe-all-utils
5910 @r=`${PWD}`; export r; \
5911 s=`cd $(srcdir); ${PWD}`; export s; \
5913 (cd utils; $(MAKE) $(FLAGS_TO_PASS) all)
5921 .PHONY: install-utils maybe-install-utils
5922 maybe-install-utils:
5923 install-utils: installdirs
5924 @r=`${PWD}`; export r; \
5925 s=`cd $(srcdir); ${PWD}`; export s; \
5927 (cd utils; $(MAKE) $(FLAGS_TO_PASS) install)
5931 # ---------------------------------------
5932 # Modules which run on the target machine
5933 # ---------------------------------------
5935 .PHONY: configure-target-libstdc++-v3 maybe-configure-target-libstdc++-v3
5936 maybe-configure-target-libstdc++-v3:
5937 configure-target-libstdc++-v3: $(TARGET_SUBDIR)/libstdc++-v3/Makefile
5939 $(TARGET_SUBDIR)/libstdc++-v3/multilib.out: $(BASE_CC_FOR_TARGET)
5940 @[ -d $(TARGET_SUBDIR)/libstdc++-v3 ] || mkdir $(TARGET_SUBDIR)/libstdc++-v3;\
5941 r=`${PWD}`; export r; \
5942 echo "Configuring multilibs for libstdc++-v3"; \
5943 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.out 2> /dev/null
5945 $(TARGET_SUBDIR)/libstdc++-v3/Makefile: config.status $(TARGET_SUBDIR)/libstdc++-v3/multilib.out
5946 @[ -d $(TARGET_SUBDIR)/libstdc++-v3 ] || mkdir $(TARGET_SUBDIR)/libstdc++-v3;\
5947 r=`${PWD}`; export r; \
5948 s=`cd $(srcdir); ${PWD}`; export s; \
5950 AR="$(AR_FOR_TARGET)"; export AR; \
5951 AS="$(AS_FOR_TARGET)"; export AS; \
5952 CC="$(CC_FOR_TARGET)"; export CC; \
5953 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
5954 CXX_FOR_TARGET="$(RAW_CXX_FOR_TARGET)"; export CXX_FOR_TARGET; \
5955 CXX="$(RAW_CXX_FOR_TARGET)"; export CXX; \
5956 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
5957 GCJ="$(GCJ_FOR_TARGET)"; export GCJ; \
5958 DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \
5959 LD="$(LD_FOR_TARGET)"; export LD; \
5960 LDFLAGS="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS; \
5961 NM="$(NM_FOR_TARGET)"; export NM; \
5962 RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \
5963 WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES; \
5964 echo Configuring in $(TARGET_SUBDIR)/libstdc++-v3; \
5965 cd "$(TARGET_SUBDIR)/libstdc++-v3" || exit 1; \
5967 /* | [A-Za-z]:[\\/]*) \
5968 topdir=$(srcdir) ;; \
5970 case "$(TARGET_SUBDIR)" in \
5971 .) topdir="../$(srcdir)" ;; \
5972 *) topdir="../../$(srcdir)" ;; \
5975 if [ "$(srcdir)" = "." ] ; then \
5976 if [ "$(TARGET_SUBDIR)" != "." ] ; then \
5977 if $(SHELL) $$s/symlink-tree $${topdir}/libstdc++-v3 "no-such-file" ; then \
5978 if [ -f Makefile ]; then \
5979 if $(MAKE) distclean; then \
5993 srcdiroption="--srcdir=."; \
5996 srcdiroption="--srcdir=$${topdir}/libstdc++-v3"; \
5997 libsrcdir="$$s/libstdc++-v3"; \
5999 rm -f no-such-file || : ; \
6000 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
6001 $(TARGET_CONFIGARGS) $${srcdiroption} \
6002 --with-target-subdir="$(TARGET_SUBDIR)" \
6005 .PHONY: all-target-libstdc++-v3 maybe-all-target-libstdc++-v3
6006 maybe-all-target-libstdc++-v3:
6007 all-target-libstdc++-v3: configure-target-libstdc++-v3
6008 @r=`${PWD}`; export r; \
6009 s=`cd $(srcdir); ${PWD}`; export s; \
6011 (cd $(TARGET_SUBDIR)/libstdc++-v3; \
6012 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' all)
6014 .PHONY: check-target-libstdc++-v3
6015 check-target-libstdc++-v3:
6016 @r=`${PWD}`; export r; \
6017 s=`cd $(srcdir); ${PWD}`; export s; \
6019 (cd $(TARGET_SUBDIR)/libstdc++-v3; \
6020 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' check)
6023 .PHONY: install-target-libstdc++-v3 maybe-install-target-libstdc++-v3
6024 maybe-install-target-libstdc++-v3:
6025 install-target-libstdc++-v3: installdirs
6026 @r=`${PWD}`; export r; \
6027 s=`cd $(srcdir); ${PWD}`; export s; \
6029 (cd $(TARGET_SUBDIR)/libstdc++-v3; \
6030 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
6033 .PHONY: configure-target-newlib maybe-configure-target-newlib
6034 maybe-configure-target-newlib:
6035 configure-target-newlib: $(TARGET_SUBDIR)/newlib/Makefile
6037 $(TARGET_SUBDIR)/newlib/multilib.out: $(BASE_CC_FOR_TARGET)
6038 @[ -d $(TARGET_SUBDIR)/newlib ] || mkdir $(TARGET_SUBDIR)/newlib;\
6039 r=`${PWD}`; export r; \
6040 echo "Configuring multilibs for newlib"; \
6041 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/newlib/multilib.out 2> /dev/null
6043 $(TARGET_SUBDIR)/newlib/Makefile: config.status $(TARGET_SUBDIR)/newlib/multilib.out
6044 @[ -d $(TARGET_SUBDIR)/newlib ] || mkdir $(TARGET_SUBDIR)/newlib;\
6045 r=`${PWD}`; export r; \
6046 s=`cd $(srcdir); ${PWD}`; export s; \
6048 AR="$(AR_FOR_TARGET)"; export AR; \
6049 AS="$(AS_FOR_TARGET)"; export AS; \
6050 CC="$(CC_FOR_TARGET)"; export CC; \
6051 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
6052 CXX="$(CXX_FOR_TARGET)"; export CXX; \
6053 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
6054 GCJ="$(GCJ_FOR_TARGET)"; export GCJ; \
6055 DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \
6056 LD="$(LD_FOR_TARGET)"; export LD; \
6057 LDFLAGS="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS; \
6058 NM="$(NM_FOR_TARGET)"; export NM; \
6059 RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \
6060 WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES; \
6061 echo Configuring in $(TARGET_SUBDIR)/newlib; \
6062 cd "$(TARGET_SUBDIR)/newlib" || exit 1; \
6064 /* | [A-Za-z]:[\\/]*) \
6065 topdir=$(srcdir) ;; \
6067 case "$(TARGET_SUBDIR)" in \
6068 .) topdir="../$(srcdir)" ;; \
6069 *) topdir="../../$(srcdir)" ;; \
6072 if [ "$(srcdir)" = "." ] ; then \
6073 if [ "$(TARGET_SUBDIR)" != "." ] ; then \
6074 if $(SHELL) $$s/symlink-tree $${topdir}/newlib "no-such-file" ; then \
6075 if [ -f Makefile ]; then \
6076 if $(MAKE) distclean; then \
6090 srcdiroption="--srcdir=."; \
6093 srcdiroption="--srcdir=$${topdir}/newlib"; \
6094 libsrcdir="$$s/newlib"; \
6096 rm -f no-such-file || : ; \
6097 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
6098 $(TARGET_CONFIGARGS) $${srcdiroption} \
6099 --with-target-subdir="$(TARGET_SUBDIR)" \
6102 .PHONY: all-target-newlib maybe-all-target-newlib
6103 maybe-all-target-newlib:
6104 all-target-newlib: configure-target-newlib
6105 @r=`${PWD}`; export r; \
6106 s=`cd $(srcdir); ${PWD}`; export s; \
6108 (cd $(TARGET_SUBDIR)/newlib; \
6109 $(MAKE) $(TARGET_FLAGS_TO_PASS) all)
6111 .PHONY: check-target-newlib
6112 check-target-newlib:
6113 @r=`${PWD}`; export r; \
6114 s=`cd $(srcdir); ${PWD}`; export s; \
6116 (cd $(TARGET_SUBDIR)/newlib; \
6117 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
6120 .PHONY: install-target-newlib maybe-install-target-newlib
6121 maybe-install-target-newlib:
6122 install-target-newlib: installdirs
6123 @r=`${PWD}`; export r; \
6124 s=`cd $(srcdir); ${PWD}`; export s; \
6126 (cd $(TARGET_SUBDIR)/newlib; \
6127 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
6130 .PHONY: configure-target-libf2c maybe-configure-target-libf2c
6131 maybe-configure-target-libf2c:
6132 configure-target-libf2c: $(TARGET_SUBDIR)/libf2c/Makefile
6134 $(TARGET_SUBDIR)/libf2c/multilib.out: $(BASE_CC_FOR_TARGET)
6135 @[ -d $(TARGET_SUBDIR)/libf2c ] || mkdir $(TARGET_SUBDIR)/libf2c;\
6136 r=`${PWD}`; export r; \
6137 echo "Configuring multilibs for libf2c"; \
6138 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libf2c/multilib.out 2> /dev/null
6140 $(TARGET_SUBDIR)/libf2c/Makefile: config.status $(TARGET_SUBDIR)/libf2c/multilib.out
6141 @[ -d $(TARGET_SUBDIR)/libf2c ] || mkdir $(TARGET_SUBDIR)/libf2c;\
6142 r=`${PWD}`; export r; \
6143 s=`cd $(srcdir); ${PWD}`; export s; \
6145 AR="$(AR_FOR_TARGET)"; export AR; \
6146 AS="$(AS_FOR_TARGET)"; export AS; \
6147 CC="$(CC_FOR_TARGET)"; export CC; \
6148 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
6149 CXX="$(CXX_FOR_TARGET)"; export CXX; \
6150 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
6151 GCJ="$(GCJ_FOR_TARGET)"; export GCJ; \
6152 DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \
6153 LD="$(LD_FOR_TARGET)"; export LD; \
6154 LDFLAGS="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS; \
6155 NM="$(NM_FOR_TARGET)"; export NM; \
6156 RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \
6157 WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES; \
6158 echo Configuring in $(TARGET_SUBDIR)/libf2c; \
6159 cd "$(TARGET_SUBDIR)/libf2c" || exit 1; \
6161 /* | [A-Za-z]:[\\/]*) \
6162 topdir=$(srcdir) ;; \
6164 case "$(TARGET_SUBDIR)" in \
6165 .) topdir="../$(srcdir)" ;; \
6166 *) topdir="../../$(srcdir)" ;; \
6169 if [ "$(srcdir)" = "." ] ; then \
6170 if [ "$(TARGET_SUBDIR)" != "." ] ; then \
6171 if $(SHELL) $$s/symlink-tree $${topdir}/libf2c "no-such-file" ; then \
6172 if [ -f Makefile ]; then \
6173 if $(MAKE) distclean; then \
6187 srcdiroption="--srcdir=."; \
6190 srcdiroption="--srcdir=$${topdir}/libf2c"; \
6191 libsrcdir="$$s/libf2c"; \
6193 rm -f no-such-file || : ; \
6194 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
6195 $(TARGET_CONFIGARGS) $${srcdiroption} \
6196 --with-target-subdir="$(TARGET_SUBDIR)" \
6199 .PHONY: all-target-libf2c maybe-all-target-libf2c
6200 maybe-all-target-libf2c:
6201 all-target-libf2c: configure-target-libf2c
6202 @r=`${PWD}`; export r; \
6203 s=`cd $(srcdir); ${PWD}`; export s; \
6205 (cd $(TARGET_SUBDIR)/libf2c; \
6206 $(MAKE) $(TARGET_FLAGS_TO_PASS) all)
6208 .PHONY: check-target-libf2c
6209 check-target-libf2c:
6210 @r=`${PWD}`; export r; \
6211 s=`cd $(srcdir); ${PWD}`; export s; \
6213 (cd $(TARGET_SUBDIR)/libf2c; \
6214 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
6217 .PHONY: install-target-libf2c maybe-install-target-libf2c
6218 maybe-install-target-libf2c:
6219 install-target-libf2c: installdirs
6220 @r=`${PWD}`; export r; \
6221 s=`cd $(srcdir); ${PWD}`; export s; \
6223 (cd $(TARGET_SUBDIR)/libf2c; \
6224 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
6227 .PHONY: configure-target-libobjc maybe-configure-target-libobjc
6228 maybe-configure-target-libobjc:
6229 configure-target-libobjc: $(TARGET_SUBDIR)/libobjc/Makefile
6231 $(TARGET_SUBDIR)/libobjc/multilib.out: $(BASE_CC_FOR_TARGET)
6232 @[ -d $(TARGET_SUBDIR)/libobjc ] || mkdir $(TARGET_SUBDIR)/libobjc;\
6233 r=`${PWD}`; export r; \
6234 echo "Configuring multilibs for libobjc"; \
6235 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libobjc/multilib.out 2> /dev/null
6237 $(TARGET_SUBDIR)/libobjc/Makefile: config.status $(TARGET_SUBDIR)/libobjc/multilib.out
6238 @[ -d $(TARGET_SUBDIR)/libobjc ] || mkdir $(TARGET_SUBDIR)/libobjc;\
6239 r=`${PWD}`; export r; \
6240 s=`cd $(srcdir); ${PWD}`; export s; \
6242 AR="$(AR_FOR_TARGET)"; export AR; \
6243 AS="$(AS_FOR_TARGET)"; export AS; \
6244 CC="$(CC_FOR_TARGET)"; export CC; \
6245 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
6246 CXX="$(CXX_FOR_TARGET)"; export CXX; \
6247 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
6248 GCJ="$(GCJ_FOR_TARGET)"; export GCJ; \
6249 DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \
6250 LD="$(LD_FOR_TARGET)"; export LD; \
6251 LDFLAGS="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS; \
6252 NM="$(NM_FOR_TARGET)"; export NM; \
6253 RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \
6254 WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES; \
6255 echo Configuring in $(TARGET_SUBDIR)/libobjc; \
6256 cd "$(TARGET_SUBDIR)/libobjc" || exit 1; \
6258 /* | [A-Za-z]:[\\/]*) \
6259 topdir=$(srcdir) ;; \
6261 case "$(TARGET_SUBDIR)" in \
6262 .) topdir="../$(srcdir)" ;; \
6263 *) topdir="../../$(srcdir)" ;; \
6266 if [ "$(srcdir)" = "." ] ; then \
6267 if [ "$(TARGET_SUBDIR)" != "." ] ; then \
6268 if $(SHELL) $$s/symlink-tree $${topdir}/libobjc "no-such-file" ; then \
6269 if [ -f Makefile ]; then \
6270 if $(MAKE) distclean; then \
6284 srcdiroption="--srcdir=."; \
6287 srcdiroption="--srcdir=$${topdir}/libobjc"; \
6288 libsrcdir="$$s/libobjc"; \
6290 rm -f no-such-file || : ; \
6291 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
6292 $(TARGET_CONFIGARGS) $${srcdiroption} \
6293 --with-target-subdir="$(TARGET_SUBDIR)" \
6296 .PHONY: all-target-libobjc maybe-all-target-libobjc
6297 maybe-all-target-libobjc:
6298 all-target-libobjc: configure-target-libobjc
6299 @r=`${PWD}`; export r; \
6300 s=`cd $(srcdir); ${PWD}`; export s; \
6302 (cd $(TARGET_SUBDIR)/libobjc; \
6303 $(MAKE) $(TARGET_FLAGS_TO_PASS) all)
6305 .PHONY: check-target-libobjc
6306 check-target-libobjc:
6307 @r=`${PWD}`; export r; \
6308 s=`cd $(srcdir); ${PWD}`; export s; \
6310 (cd $(TARGET_SUBDIR)/libobjc; \
6311 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
6314 .PHONY: install-target-libobjc maybe-install-target-libobjc
6315 maybe-install-target-libobjc:
6316 install-target-libobjc: installdirs
6317 @r=`${PWD}`; export r; \
6318 s=`cd $(srcdir); ${PWD}`; export s; \
6320 (cd $(TARGET_SUBDIR)/libobjc; \
6321 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
6324 .PHONY: configure-target-libtermcap maybe-configure-target-libtermcap
6325 maybe-configure-target-libtermcap:
6326 configure-target-libtermcap: $(TARGET_SUBDIR)/libtermcap/Makefile
6328 $(TARGET_SUBDIR)/libtermcap/multilib.out: $(BASE_CC_FOR_TARGET)
6329 @[ -d $(TARGET_SUBDIR)/libtermcap ] || mkdir $(TARGET_SUBDIR)/libtermcap;\
6330 r=`${PWD}`; export r; \
6331 echo "Configuring multilibs for libtermcap"; \
6332 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libtermcap/multilib.out 2> /dev/null
6334 $(TARGET_SUBDIR)/libtermcap/Makefile: config.status $(TARGET_SUBDIR)/libtermcap/multilib.out
6335 @[ -d $(TARGET_SUBDIR)/libtermcap ] || mkdir $(TARGET_SUBDIR)/libtermcap;\
6336 r=`${PWD}`; export r; \
6337 s=`cd $(srcdir); ${PWD}`; export s; \
6339 AR="$(AR_FOR_TARGET)"; export AR; \
6340 AS="$(AS_FOR_TARGET)"; export AS; \
6341 CC="$(CC_FOR_TARGET)"; export CC; \
6342 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
6343 CXX="$(CXX_FOR_TARGET)"; export CXX; \
6344 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
6345 GCJ="$(GCJ_FOR_TARGET)"; export GCJ; \
6346 DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \
6347 LD="$(LD_FOR_TARGET)"; export LD; \
6348 LDFLAGS="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS; \
6349 NM="$(NM_FOR_TARGET)"; export NM; \
6350 RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \
6351 WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES; \
6352 echo Configuring in $(TARGET_SUBDIR)/libtermcap; \
6353 cd "$(TARGET_SUBDIR)/libtermcap" || exit 1; \
6355 /* | [A-Za-z]:[\\/]*) \
6356 topdir=$(srcdir) ;; \
6358 case "$(TARGET_SUBDIR)" in \
6359 .) topdir="../$(srcdir)" ;; \
6360 *) topdir="../../$(srcdir)" ;; \
6363 if [ "$(srcdir)" = "." ] ; then \
6364 if [ "$(TARGET_SUBDIR)" != "." ] ; then \
6365 if $(SHELL) $$s/symlink-tree $${topdir}/libtermcap "no-such-file" ; then \
6366 if [ -f Makefile ]; then \
6367 if $(MAKE) distclean; then \
6381 srcdiroption="--srcdir=."; \
6384 srcdiroption="--srcdir=$${topdir}/libtermcap"; \
6385 libsrcdir="$$s/libtermcap"; \
6387 rm -f no-such-file || : ; \
6388 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
6389 $(TARGET_CONFIGARGS) $${srcdiroption} \
6390 --with-target-subdir="$(TARGET_SUBDIR)" \
6393 .PHONY: all-target-libtermcap maybe-all-target-libtermcap
6394 maybe-all-target-libtermcap:
6395 all-target-libtermcap: configure-target-libtermcap
6396 @r=`${PWD}`; export r; \
6397 s=`cd $(srcdir); ${PWD}`; export s; \
6399 (cd $(TARGET_SUBDIR)/libtermcap; \
6400 $(MAKE) $(TARGET_FLAGS_TO_PASS) all)
6402 # Dummy target for uncheckable module.
6403 .PHONY: check-target-libtermcap
6404 check-target-libtermcap:
6407 .PHONY: install-target-libtermcap maybe-install-target-libtermcap
6408 maybe-install-target-libtermcap:
6409 install-target-libtermcap: installdirs
6410 @r=`${PWD}`; export r; \
6411 s=`cd $(srcdir); ${PWD}`; export s; \
6413 (cd $(TARGET_SUBDIR)/libtermcap; \
6414 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
6417 .PHONY: configure-target-winsup maybe-configure-target-winsup
6418 maybe-configure-target-winsup:
6419 configure-target-winsup: $(TARGET_SUBDIR)/winsup/Makefile
6421 $(TARGET_SUBDIR)/winsup/multilib.out: $(BASE_CC_FOR_TARGET)
6422 @[ -d $(TARGET_SUBDIR)/winsup ] || mkdir $(TARGET_SUBDIR)/winsup;\
6423 r=`${PWD}`; export r; \
6424 echo "Configuring multilibs for winsup"; \
6425 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/winsup/multilib.out 2> /dev/null
6427 $(TARGET_SUBDIR)/winsup/Makefile: config.status $(TARGET_SUBDIR)/winsup/multilib.out
6428 @[ -d $(TARGET_SUBDIR)/winsup ] || mkdir $(TARGET_SUBDIR)/winsup;\
6429 r=`${PWD}`; export r; \
6430 s=`cd $(srcdir); ${PWD}`; export s; \
6432 AR="$(AR_FOR_TARGET)"; export AR; \
6433 AS="$(AS_FOR_TARGET)"; export AS; \
6434 CC="$(CC_FOR_TARGET)"; export CC; \
6435 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
6436 CXX="$(CXX_FOR_TARGET)"; export CXX; \
6437 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
6438 GCJ="$(GCJ_FOR_TARGET)"; export GCJ; \
6439 DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \
6440 LD="$(LD_FOR_TARGET)"; export LD; \
6441 LDFLAGS="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS; \
6442 NM="$(NM_FOR_TARGET)"; export NM; \
6443 RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \
6444 WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES; \
6445 echo Configuring in $(TARGET_SUBDIR)/winsup; \
6446 cd "$(TARGET_SUBDIR)/winsup" || exit 1; \
6448 /* | [A-Za-z]:[\\/]*) \
6449 topdir=$(srcdir) ;; \
6451 case "$(TARGET_SUBDIR)" in \
6452 .) topdir="../$(srcdir)" ;; \
6453 *) topdir="../../$(srcdir)" ;; \
6456 if [ "$(srcdir)" = "." ] ; then \
6457 if [ "$(TARGET_SUBDIR)" != "." ] ; then \
6458 if $(SHELL) $$s/symlink-tree $${topdir}/winsup "no-such-file" ; then \
6459 if [ -f Makefile ]; then \
6460 if $(MAKE) distclean; then \
6474 srcdiroption="--srcdir=."; \
6477 srcdiroption="--srcdir=$${topdir}/winsup"; \
6478 libsrcdir="$$s/winsup"; \
6480 rm -f no-such-file || : ; \
6481 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
6482 $(TARGET_CONFIGARGS) $${srcdiroption} \
6483 --with-target-subdir="$(TARGET_SUBDIR)" \
6486 .PHONY: all-target-winsup maybe-all-target-winsup
6487 maybe-all-target-winsup:
6488 all-target-winsup: configure-target-winsup
6489 @r=`${PWD}`; export r; \
6490 s=`cd $(srcdir); ${PWD}`; export s; \
6492 (cd $(TARGET_SUBDIR)/winsup; \
6493 $(MAKE) $(TARGET_FLAGS_TO_PASS) all)
6495 .PHONY: check-target-winsup
6496 check-target-winsup:
6497 @r=`${PWD}`; export r; \
6498 s=`cd $(srcdir); ${PWD}`; export s; \
6500 (cd $(TARGET_SUBDIR)/winsup; \
6501 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
6504 .PHONY: install-target-winsup maybe-install-target-winsup
6505 maybe-install-target-winsup:
6506 install-target-winsup: installdirs
6507 @r=`${PWD}`; export r; \
6508 s=`cd $(srcdir); ${PWD}`; export s; \
6510 (cd $(TARGET_SUBDIR)/winsup; \
6511 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
6514 .PHONY: configure-target-libgloss maybe-configure-target-libgloss
6515 maybe-configure-target-libgloss:
6516 configure-target-libgloss: $(TARGET_SUBDIR)/libgloss/Makefile
6518 $(TARGET_SUBDIR)/libgloss/multilib.out: $(BASE_CC_FOR_TARGET)
6519 @[ -d $(TARGET_SUBDIR)/libgloss ] || mkdir $(TARGET_SUBDIR)/libgloss;\
6520 r=`${PWD}`; export r; \
6521 echo "Configuring multilibs for libgloss"; \
6522 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgloss/multilib.out 2> /dev/null
6524 $(TARGET_SUBDIR)/libgloss/Makefile: config.status $(TARGET_SUBDIR)/libgloss/multilib.out
6525 @[ -d $(TARGET_SUBDIR)/libgloss ] || mkdir $(TARGET_SUBDIR)/libgloss;\
6526 r=`${PWD}`; export r; \
6527 s=`cd $(srcdir); ${PWD}`; export s; \
6529 AR="$(AR_FOR_TARGET)"; export AR; \
6530 AS="$(AS_FOR_TARGET)"; export AS; \
6531 CC="$(CC_FOR_TARGET)"; export CC; \
6532 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
6533 CXX="$(CXX_FOR_TARGET)"; export CXX; \
6534 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
6535 GCJ="$(GCJ_FOR_TARGET)"; export GCJ; \
6536 DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \
6537 LD="$(LD_FOR_TARGET)"; export LD; \
6538 LDFLAGS="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS; \
6539 NM="$(NM_FOR_TARGET)"; export NM; \
6540 RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \
6541 WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES; \
6542 echo Configuring in $(TARGET_SUBDIR)/libgloss; \
6543 cd "$(TARGET_SUBDIR)/libgloss" || exit 1; \
6545 /* | [A-Za-z]:[\\/]*) \
6546 topdir=$(srcdir) ;; \
6548 case "$(TARGET_SUBDIR)" in \
6549 .) topdir="../$(srcdir)" ;; \
6550 *) topdir="../../$(srcdir)" ;; \
6553 if [ "$(srcdir)" = "." ] ; then \
6554 if [ "$(TARGET_SUBDIR)" != "." ] ; then \
6555 if $(SHELL) $$s/symlink-tree $${topdir}/libgloss "no-such-file" ; then \
6556 if [ -f Makefile ]; then \
6557 if $(MAKE) distclean; then \
6571 srcdiroption="--srcdir=."; \
6574 srcdiroption="--srcdir=$${topdir}/libgloss"; \
6575 libsrcdir="$$s/libgloss"; \
6577 rm -f no-such-file || : ; \
6578 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
6579 $(TARGET_CONFIGARGS) $${srcdiroption} \
6580 --with-target-subdir="$(TARGET_SUBDIR)" \
6583 .PHONY: all-target-libgloss maybe-all-target-libgloss
6584 maybe-all-target-libgloss:
6585 all-target-libgloss: configure-target-libgloss
6586 @r=`${PWD}`; export r; \
6587 s=`cd $(srcdir); ${PWD}`; export s; \
6589 (cd $(TARGET_SUBDIR)/libgloss; \
6590 $(MAKE) $(TARGET_FLAGS_TO_PASS) all)
6592 # Dummy target for uncheckable module.
6593 .PHONY: check-target-libgloss
6594 check-target-libgloss:
6597 .PHONY: install-target-libgloss maybe-install-target-libgloss
6598 maybe-install-target-libgloss:
6599 install-target-libgloss: installdirs
6600 @r=`${PWD}`; export r; \
6601 s=`cd $(srcdir); ${PWD}`; export s; \
6603 (cd $(TARGET_SUBDIR)/libgloss; \
6604 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
6607 .PHONY: configure-target-libiberty maybe-configure-target-libiberty
6608 maybe-configure-target-libiberty:
6609 configure-target-libiberty: $(TARGET_SUBDIR)/libiberty/Makefile
6611 $(TARGET_SUBDIR)/libiberty/multilib.out: $(BASE_CC_FOR_TARGET)
6612 @[ -d $(TARGET_SUBDIR)/libiberty ] || mkdir $(TARGET_SUBDIR)/libiberty;\
6613 r=`${PWD}`; export r; \
6614 echo "Configuring multilibs for libiberty"; \
6615 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libiberty/multilib.out 2> /dev/null
6617 $(TARGET_SUBDIR)/libiberty/Makefile: config.status $(TARGET_SUBDIR)/libiberty/multilib.out
6618 @[ -d $(TARGET_SUBDIR)/libiberty ] || mkdir $(TARGET_SUBDIR)/libiberty;\
6619 r=`${PWD}`; export r; \
6620 s=`cd $(srcdir); ${PWD}`; export s; \
6622 AR="$(AR_FOR_TARGET)"; export AR; \
6623 AS="$(AS_FOR_TARGET)"; export AS; \
6624 CC="$(CC_FOR_TARGET)"; export CC; \
6625 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
6626 CXX="$(CXX_FOR_TARGET)"; export CXX; \
6627 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
6628 GCJ="$(GCJ_FOR_TARGET)"; export GCJ; \
6629 DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \
6630 LD="$(LD_FOR_TARGET)"; export LD; \
6631 LDFLAGS="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS; \
6632 NM="$(NM_FOR_TARGET)"; export NM; \
6633 RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \
6634 WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES; \
6635 echo Configuring in $(TARGET_SUBDIR)/libiberty; \
6636 cd "$(TARGET_SUBDIR)/libiberty" || exit 1; \
6638 /* | [A-Za-z]:[\\/]*) \
6639 topdir=$(srcdir) ;; \
6641 case "$(TARGET_SUBDIR)" in \
6642 .) topdir="../$(srcdir)" ;; \
6643 *) topdir="../../$(srcdir)" ;; \
6646 if [ "$(srcdir)" = "." ] ; then \
6647 if [ "$(TARGET_SUBDIR)" != "." ] ; then \
6648 if $(SHELL) $$s/symlink-tree $${topdir}/libiberty "no-such-file" ; then \
6649 if [ -f Makefile ]; then \
6650 if $(MAKE) distclean; then \
6664 srcdiroption="--srcdir=."; \
6667 srcdiroption="--srcdir=$${topdir}/libiberty"; \
6668 libsrcdir="$$s/libiberty"; \
6670 rm -f no-such-file || : ; \
6671 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
6672 $(TARGET_CONFIGARGS) $${srcdiroption} \
6673 --with-target-subdir="$(TARGET_SUBDIR)" \
6676 .PHONY: all-target-libiberty maybe-all-target-libiberty
6677 maybe-all-target-libiberty:
6678 all-target-libiberty: configure-target-libiberty
6679 @r=`${PWD}`; export r; \
6680 s=`cd $(srcdir); ${PWD}`; export s; \
6682 (cd $(TARGET_SUBDIR)/libiberty; \
6683 $(MAKE) $(TARGET_FLAGS_TO_PASS) all)
6685 .PHONY: check-target-libiberty
6686 check-target-libiberty:
6687 @r=`${PWD}`; export r; \
6688 s=`cd $(srcdir); ${PWD}`; export s; \
6690 (cd $(TARGET_SUBDIR)/libiberty; \
6691 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
6694 .PHONY: install-target-libiberty maybe-install-target-libiberty
6695 maybe-install-target-libiberty:
6696 install-target-libiberty: installdirs
6697 @r=`${PWD}`; export r; \
6698 s=`cd $(srcdir); ${PWD}`; export s; \
6700 (cd $(TARGET_SUBDIR)/libiberty; \
6701 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
6704 .PHONY: configure-target-gperf maybe-configure-target-gperf
6705 maybe-configure-target-gperf:
6706 configure-target-gperf: $(TARGET_SUBDIR)/gperf/Makefile
6708 $(TARGET_SUBDIR)/gperf/multilib.out: $(BASE_CC_FOR_TARGET)
6709 @[ -d $(TARGET_SUBDIR)/gperf ] || mkdir $(TARGET_SUBDIR)/gperf;\
6710 r=`${PWD}`; export r; \
6711 echo "Configuring multilibs for gperf"; \
6712 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/gperf/multilib.out 2> /dev/null
6714 $(TARGET_SUBDIR)/gperf/Makefile: config.status $(TARGET_SUBDIR)/gperf/multilib.out
6715 @[ -d $(TARGET_SUBDIR)/gperf ] || mkdir $(TARGET_SUBDIR)/gperf;\
6716 r=`${PWD}`; export r; \
6717 s=`cd $(srcdir); ${PWD}`; export s; \
6719 AR="$(AR_FOR_TARGET)"; export AR; \
6720 AS="$(AS_FOR_TARGET)"; export AS; \
6721 CC="$(CC_FOR_TARGET)"; export CC; \
6722 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
6723 CXX="$(CXX_FOR_TARGET)"; export CXX; \
6724 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
6725 GCJ="$(GCJ_FOR_TARGET)"; export GCJ; \
6726 DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \
6727 LD="$(LD_FOR_TARGET)"; export LD; \
6728 LDFLAGS="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS; \
6729 NM="$(NM_FOR_TARGET)"; export NM; \
6730 RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \
6731 WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES; \
6732 echo Configuring in $(TARGET_SUBDIR)/gperf; \
6733 cd "$(TARGET_SUBDIR)/gperf" || exit 1; \
6735 /* | [A-Za-z]:[\\/]*) \
6736 topdir=$(srcdir) ;; \
6738 case "$(TARGET_SUBDIR)" in \
6739 .) topdir="../$(srcdir)" ;; \
6740 *) topdir="../../$(srcdir)" ;; \
6743 if [ "$(srcdir)" = "." ] ; then \
6744 if [ "$(TARGET_SUBDIR)" != "." ] ; then \
6745 if $(SHELL) $$s/symlink-tree $${topdir}/gperf "no-such-file" ; then \
6746 if [ -f Makefile ]; then \
6747 if $(MAKE) distclean; then \
6761 srcdiroption="--srcdir=."; \
6764 srcdiroption="--srcdir=$${topdir}/gperf"; \
6765 libsrcdir="$$s/gperf"; \
6767 rm -f no-such-file || : ; \
6768 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
6769 $(TARGET_CONFIGARGS) $${srcdiroption} \
6770 --with-target-subdir="$(TARGET_SUBDIR)" \
6773 .PHONY: all-target-gperf maybe-all-target-gperf
6774 maybe-all-target-gperf:
6775 all-target-gperf: configure-target-gperf
6776 @r=`${PWD}`; export r; \
6777 s=`cd $(srcdir); ${PWD}`; export s; \
6779 (cd $(TARGET_SUBDIR)/gperf; \
6780 $(MAKE) $(TARGET_FLAGS_TO_PASS) all)
6782 .PHONY: check-target-gperf
6784 @r=`${PWD}`; export r; \
6785 s=`cd $(srcdir); ${PWD}`; export s; \
6787 (cd $(TARGET_SUBDIR)/gperf; \
6788 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
6791 .PHONY: install-target-gperf maybe-install-target-gperf
6792 maybe-install-target-gperf:
6793 install-target-gperf: installdirs
6794 @r=`${PWD}`; export r; \
6795 s=`cd $(srcdir); ${PWD}`; export s; \
6797 (cd $(TARGET_SUBDIR)/gperf; \
6798 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
6801 .PHONY: configure-target-examples maybe-configure-target-examples
6802 maybe-configure-target-examples:
6803 configure-target-examples: $(TARGET_SUBDIR)/examples/Makefile
6805 $(TARGET_SUBDIR)/examples/multilib.out: $(BASE_CC_FOR_TARGET)
6806 @[ -d $(TARGET_SUBDIR)/examples ] || mkdir $(TARGET_SUBDIR)/examples;\
6807 r=`${PWD}`; export r; \
6808 echo "Configuring multilibs for examples"; \
6809 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/examples/multilib.out 2> /dev/null
6811 $(TARGET_SUBDIR)/examples/Makefile: config.status $(TARGET_SUBDIR)/examples/multilib.out
6812 @[ -d $(TARGET_SUBDIR)/examples ] || mkdir $(TARGET_SUBDIR)/examples;\
6813 r=`${PWD}`; export r; \
6814 s=`cd $(srcdir); ${PWD}`; export s; \
6816 AR="$(AR_FOR_TARGET)"; export AR; \
6817 AS="$(AS_FOR_TARGET)"; export AS; \
6818 CC="$(CC_FOR_TARGET)"; export CC; \
6819 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
6820 CXX="$(CXX_FOR_TARGET)"; export CXX; \
6821 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
6822 GCJ="$(GCJ_FOR_TARGET)"; export GCJ; \
6823 DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \
6824 LD="$(LD_FOR_TARGET)"; export LD; \
6825 LDFLAGS="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS; \
6826 NM="$(NM_FOR_TARGET)"; export NM; \
6827 RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \
6828 WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES; \
6829 echo Configuring in $(TARGET_SUBDIR)/examples; \
6830 cd "$(TARGET_SUBDIR)/examples" || exit 1; \
6832 /* | [A-Za-z]:[\\/]*) \
6833 topdir=$(srcdir) ;; \
6835 case "$(TARGET_SUBDIR)" in \
6836 .) topdir="../$(srcdir)" ;; \
6837 *) topdir="../../$(srcdir)" ;; \
6840 if [ "$(srcdir)" = "." ] ; then \
6841 if [ "$(TARGET_SUBDIR)" != "." ] ; then \
6842 if $(SHELL) $$s/symlink-tree $${topdir}/examples "no-such-file" ; then \
6843 if [ -f Makefile ]; then \
6844 if $(MAKE) distclean; then \
6858 srcdiroption="--srcdir=."; \
6861 srcdiroption="--srcdir=$${topdir}/examples"; \
6862 libsrcdir="$$s/examples"; \
6864 rm -f no-such-file || : ; \
6865 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
6866 $(TARGET_CONFIGARGS) $${srcdiroption} \
6867 --with-target-subdir="$(TARGET_SUBDIR)" \
6870 .PHONY: all-target-examples maybe-all-target-examples
6871 maybe-all-target-examples:
6872 all-target-examples: configure-target-examples
6873 @r=`${PWD}`; export r; \
6874 s=`cd $(srcdir); ${PWD}`; export s; \
6876 (cd $(TARGET_SUBDIR)/examples; \
6877 $(MAKE) $(TARGET_FLAGS_TO_PASS) all)
6879 # Dummy target for uncheckable module.
6880 .PHONY: check-target-examples
6881 check-target-examples:
6884 .PHONY: install-target-examples maybe-install-target-examples
6885 maybe-install-target-examples:
6886 # Dummy target for uninstallable.
6887 install-target-examples:
6890 .PHONY: configure-target-libffi maybe-configure-target-libffi
6891 maybe-configure-target-libffi:
6892 configure-target-libffi: $(TARGET_SUBDIR)/libffi/Makefile
6894 $(TARGET_SUBDIR)/libffi/multilib.out: $(BASE_CC_FOR_TARGET)
6895 @[ -d $(TARGET_SUBDIR)/libffi ] || mkdir $(TARGET_SUBDIR)/libffi;\
6896 r=`${PWD}`; export r; \
6897 echo "Configuring multilibs for libffi"; \
6898 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libffi/multilib.out 2> /dev/null
6900 $(TARGET_SUBDIR)/libffi/Makefile: config.status $(TARGET_SUBDIR)/libffi/multilib.out
6901 @[ -d $(TARGET_SUBDIR)/libffi ] || mkdir $(TARGET_SUBDIR)/libffi;\
6902 r=`${PWD}`; export r; \
6903 s=`cd $(srcdir); ${PWD}`; export s; \
6905 AR="$(AR_FOR_TARGET)"; export AR; \
6906 AS="$(AS_FOR_TARGET)"; export AS; \
6907 CC="$(CC_FOR_TARGET)"; export CC; \
6908 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
6909 CXX="$(CXX_FOR_TARGET)"; export CXX; \
6910 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
6911 GCJ="$(GCJ_FOR_TARGET)"; export GCJ; \
6912 DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \
6913 LD="$(LD_FOR_TARGET)"; export LD; \
6914 LDFLAGS="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS; \
6915 NM="$(NM_FOR_TARGET)"; export NM; \
6916 RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \
6917 WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES; \
6918 echo Configuring in $(TARGET_SUBDIR)/libffi; \
6919 cd "$(TARGET_SUBDIR)/libffi" || exit 1; \
6921 /* | [A-Za-z]:[\\/]*) \
6922 topdir=$(srcdir) ;; \
6924 case "$(TARGET_SUBDIR)" in \
6925 .) topdir="../$(srcdir)" ;; \
6926 *) topdir="../../$(srcdir)" ;; \
6929 if [ "$(srcdir)" = "." ] ; then \
6930 if [ "$(TARGET_SUBDIR)" != "." ] ; then \
6931 if $(SHELL) $$s/symlink-tree $${topdir}/libffi "no-such-file" ; then \
6932 if [ -f Makefile ]; then \
6933 if $(MAKE) distclean; then \
6947 srcdiroption="--srcdir=."; \
6950 srcdiroption="--srcdir=$${topdir}/libffi"; \
6951 libsrcdir="$$s/libffi"; \
6953 rm -f no-such-file || : ; \
6954 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
6955 $(TARGET_CONFIGARGS) $${srcdiroption} \
6956 --with-target-subdir="$(TARGET_SUBDIR)" \
6959 .PHONY: all-target-libffi maybe-all-target-libffi
6960 maybe-all-target-libffi:
6961 all-target-libffi: configure-target-libffi
6962 @r=`${PWD}`; export r; \
6963 s=`cd $(srcdir); ${PWD}`; export s; \
6965 (cd $(TARGET_SUBDIR)/libffi; \
6966 $(MAKE) $(TARGET_FLAGS_TO_PASS) all)
6968 .PHONY: check-target-libffi
6969 check-target-libffi:
6970 @r=`${PWD}`; export r; \
6971 s=`cd $(srcdir); ${PWD}`; export s; \
6973 (cd $(TARGET_SUBDIR)/libffi; \
6974 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
6977 .PHONY: install-target-libffi maybe-install-target-libffi
6978 maybe-install-target-libffi:
6979 # Dummy target for uninstallable.
6980 install-target-libffi:
6983 .PHONY: configure-target-libjava maybe-configure-target-libjava
6984 maybe-configure-target-libjava:
6985 configure-target-libjava: $(TARGET_SUBDIR)/libjava/Makefile
6987 $(TARGET_SUBDIR)/libjava/multilib.out: $(BASE_CC_FOR_TARGET)
6988 @[ -d $(TARGET_SUBDIR)/libjava ] || mkdir $(TARGET_SUBDIR)/libjava;\
6989 r=`${PWD}`; export r; \
6990 echo "Configuring multilibs for libjava"; \
6991 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libjava/multilib.out 2> /dev/null
6993 $(TARGET_SUBDIR)/libjava/Makefile: config.status $(TARGET_SUBDIR)/libjava/multilib.out
6994 @[ -d $(TARGET_SUBDIR)/libjava ] || mkdir $(TARGET_SUBDIR)/libjava;\
6995 r=`${PWD}`; export r; \
6996 s=`cd $(srcdir); ${PWD}`; export s; \
6998 AR="$(AR_FOR_TARGET)"; export AR; \
6999 AS="$(AS_FOR_TARGET)"; export AS; \
7000 CC="$(CC_FOR_TARGET)"; export CC; \
7001 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
7002 CXX_FOR_TARGET="$(RAW_CXX_FOR_TARGET)"; export CXX_FOR_TARGET; \
7003 CXX="$(RAW_CXX_FOR_TARGET)"; export CXX; \
7004 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
7005 GCJ="$(GCJ_FOR_TARGET)"; export GCJ; \
7006 DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \
7007 LD="$(LD_FOR_TARGET)"; export LD; \
7008 LDFLAGS="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS; \
7009 NM="$(NM_FOR_TARGET)"; export NM; \
7010 RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \
7011 WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES; \
7012 echo Configuring in $(TARGET_SUBDIR)/libjava; \
7013 cd "$(TARGET_SUBDIR)/libjava" || exit 1; \
7015 /* | [A-Za-z]:[\\/]*) \
7016 topdir=$(srcdir) ;; \
7018 case "$(TARGET_SUBDIR)" in \
7019 .) topdir="../$(srcdir)" ;; \
7020 *) topdir="../../$(srcdir)" ;; \
7023 if [ "$(srcdir)" = "." ] ; then \
7024 if [ "$(TARGET_SUBDIR)" != "." ] ; then \
7025 if $(SHELL) $$s/symlink-tree $${topdir}/libjava "no-such-file" ; then \
7026 if [ -f Makefile ]; then \
7027 if $(MAKE) distclean; then \
7041 srcdiroption="--srcdir=."; \
7044 srcdiroption="--srcdir=$${topdir}/libjava"; \
7045 libsrcdir="$$s/libjava"; \
7047 rm -f no-such-file || : ; \
7048 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
7049 $(TARGET_CONFIGARGS) $${srcdiroption} \
7050 --with-target-subdir="$(TARGET_SUBDIR)" \
7053 .PHONY: all-target-libjava maybe-all-target-libjava
7054 maybe-all-target-libjava:
7055 all-target-libjava: configure-target-libjava
7056 @r=`${PWD}`; export r; \
7057 s=`cd $(srcdir); ${PWD}`; export s; \
7059 (cd $(TARGET_SUBDIR)/libjava; \
7060 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' all)
7062 .PHONY: check-target-libjava
7063 check-target-libjava:
7064 @r=`${PWD}`; export r; \
7065 s=`cd $(srcdir); ${PWD}`; export s; \
7067 (cd $(TARGET_SUBDIR)/libjava; \
7068 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' check)
7071 .PHONY: install-target-libjava maybe-install-target-libjava
7072 maybe-install-target-libjava:
7073 install-target-libjava: installdirs
7074 @r=`${PWD}`; export r; \
7075 s=`cd $(srcdir); ${PWD}`; export s; \
7077 (cd $(TARGET_SUBDIR)/libjava; \
7078 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
7081 .PHONY: configure-target-zlib maybe-configure-target-zlib
7082 maybe-configure-target-zlib:
7083 configure-target-zlib: $(TARGET_SUBDIR)/zlib/Makefile
7085 $(TARGET_SUBDIR)/zlib/multilib.out: $(BASE_CC_FOR_TARGET)
7086 @[ -d $(TARGET_SUBDIR)/zlib ] || mkdir $(TARGET_SUBDIR)/zlib;\
7087 r=`${PWD}`; export r; \
7088 echo "Configuring multilibs for zlib"; \
7089 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/zlib/multilib.out 2> /dev/null
7091 $(TARGET_SUBDIR)/zlib/Makefile: config.status $(TARGET_SUBDIR)/zlib/multilib.out
7092 @[ -d $(TARGET_SUBDIR)/zlib ] || mkdir $(TARGET_SUBDIR)/zlib;\
7093 r=`${PWD}`; export r; \
7094 s=`cd $(srcdir); ${PWD}`; export s; \
7096 AR="$(AR_FOR_TARGET)"; export AR; \
7097 AS="$(AS_FOR_TARGET)"; export AS; \
7098 CC="$(CC_FOR_TARGET)"; export CC; \
7099 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
7100 CXX="$(CXX_FOR_TARGET)"; export CXX; \
7101 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
7102 GCJ="$(GCJ_FOR_TARGET)"; export GCJ; \
7103 DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \
7104 LD="$(LD_FOR_TARGET)"; export LD; \
7105 LDFLAGS="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS; \
7106 NM="$(NM_FOR_TARGET)"; export NM; \
7107 RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \
7108 WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES; \
7109 echo Configuring in $(TARGET_SUBDIR)/zlib; \
7110 cd "$(TARGET_SUBDIR)/zlib" || exit 1; \
7112 /* | [A-Za-z]:[\\/]*) \
7113 topdir=$(srcdir) ;; \
7115 case "$(TARGET_SUBDIR)" in \
7116 .) topdir="../$(srcdir)" ;; \
7117 *) topdir="../../$(srcdir)" ;; \
7120 if [ "$(srcdir)" = "." ] ; then \
7121 if [ "$(TARGET_SUBDIR)" != "." ] ; then \
7122 if $(SHELL) $$s/symlink-tree $${topdir}/zlib "no-such-file" ; then \
7123 if [ -f Makefile ]; then \
7124 if $(MAKE) distclean; then \
7138 srcdiroption="--srcdir=."; \
7141 srcdiroption="--srcdir=$${topdir}/zlib"; \
7142 libsrcdir="$$s/zlib"; \
7144 rm -f no-such-file || : ; \
7145 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
7146 $(TARGET_CONFIGARGS) $${srcdiroption} \
7147 --with-target-subdir="$(TARGET_SUBDIR)" \
7150 .PHONY: all-target-zlib maybe-all-target-zlib
7151 maybe-all-target-zlib:
7152 all-target-zlib: configure-target-zlib
7153 @r=`${PWD}`; export r; \
7154 s=`cd $(srcdir); ${PWD}`; export s; \
7156 (cd $(TARGET_SUBDIR)/zlib; \
7157 $(MAKE) $(TARGET_FLAGS_TO_PASS) all)
7159 .PHONY: check-target-zlib
7161 @r=`${PWD}`; export r; \
7162 s=`cd $(srcdir); ${PWD}`; export s; \
7164 (cd $(TARGET_SUBDIR)/zlib; \
7165 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
7168 .PHONY: install-target-zlib maybe-install-target-zlib
7169 maybe-install-target-zlib:
7170 install-target-zlib: installdirs
7171 @r=`${PWD}`; export r; \
7172 s=`cd $(srcdir); ${PWD}`; export s; \
7174 (cd $(TARGET_SUBDIR)/zlib; \
7175 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
7178 .PHONY: configure-target-boehm-gc maybe-configure-target-boehm-gc
7179 maybe-configure-target-boehm-gc:
7180 configure-target-boehm-gc: $(TARGET_SUBDIR)/boehm-gc/Makefile
7182 $(TARGET_SUBDIR)/boehm-gc/multilib.out: $(BASE_CC_FOR_TARGET)
7183 @[ -d $(TARGET_SUBDIR)/boehm-gc ] || mkdir $(TARGET_SUBDIR)/boehm-gc;\
7184 r=`${PWD}`; export r; \
7185 echo "Configuring multilibs for boehm-gc"; \
7186 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/boehm-gc/multilib.out 2> /dev/null
7188 $(TARGET_SUBDIR)/boehm-gc/Makefile: config.status $(TARGET_SUBDIR)/boehm-gc/multilib.out
7189 @[ -d $(TARGET_SUBDIR)/boehm-gc ] || mkdir $(TARGET_SUBDIR)/boehm-gc;\
7190 r=`${PWD}`; export r; \
7191 s=`cd $(srcdir); ${PWD}`; export s; \
7193 AR="$(AR_FOR_TARGET)"; export AR; \
7194 AS="$(AS_FOR_TARGET)"; export AS; \
7195 CC="$(CC_FOR_TARGET)"; export CC; \
7196 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
7197 CXX="$(CXX_FOR_TARGET)"; export CXX; \
7198 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
7199 GCJ="$(GCJ_FOR_TARGET)"; export GCJ; \
7200 DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \
7201 LD="$(LD_FOR_TARGET)"; export LD; \
7202 LDFLAGS="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS; \
7203 NM="$(NM_FOR_TARGET)"; export NM; \
7204 RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \
7205 WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES; \
7206 echo Configuring in $(TARGET_SUBDIR)/boehm-gc; \
7207 cd "$(TARGET_SUBDIR)/boehm-gc" || exit 1; \
7209 /* | [A-Za-z]:[\\/]*) \
7210 topdir=$(srcdir) ;; \
7212 case "$(TARGET_SUBDIR)" in \
7213 .) topdir="../$(srcdir)" ;; \
7214 *) topdir="../../$(srcdir)" ;; \
7217 if [ "$(srcdir)" = "." ] ; then \
7218 if [ "$(TARGET_SUBDIR)" != "." ] ; then \
7219 if $(SHELL) $$s/symlink-tree $${topdir}/boehm-gc "no-such-file" ; then \
7220 if [ -f Makefile ]; then \
7221 if $(MAKE) distclean; then \
7235 srcdiroption="--srcdir=."; \
7238 srcdiroption="--srcdir=$${topdir}/boehm-gc"; \
7239 libsrcdir="$$s/boehm-gc"; \
7241 rm -f no-such-file || : ; \
7242 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
7243 $(TARGET_CONFIGARGS) $${srcdiroption} \
7244 --with-target-subdir="$(TARGET_SUBDIR)" \
7247 .PHONY: all-target-boehm-gc maybe-all-target-boehm-gc
7248 maybe-all-target-boehm-gc:
7249 all-target-boehm-gc: configure-target-boehm-gc
7250 @r=`${PWD}`; export r; \
7251 s=`cd $(srcdir); ${PWD}`; export s; \
7253 (cd $(TARGET_SUBDIR)/boehm-gc; \
7254 $(MAKE) $(TARGET_FLAGS_TO_PASS) all)
7256 .PHONY: check-target-boehm-gc
7257 check-target-boehm-gc:
7258 @r=`${PWD}`; export r; \
7259 s=`cd $(srcdir); ${PWD}`; export s; \
7261 (cd $(TARGET_SUBDIR)/boehm-gc; \
7262 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
7265 .PHONY: install-target-boehm-gc maybe-install-target-boehm-gc
7266 maybe-install-target-boehm-gc:
7267 install-target-boehm-gc: installdirs
7268 @r=`${PWD}`; export r; \
7269 s=`cd $(srcdir); ${PWD}`; export s; \
7271 (cd $(TARGET_SUBDIR)/boehm-gc; \
7272 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
7275 .PHONY: configure-target-qthreads maybe-configure-target-qthreads
7276 maybe-configure-target-qthreads:
7277 configure-target-qthreads: $(TARGET_SUBDIR)/qthreads/Makefile
7279 $(TARGET_SUBDIR)/qthreads/multilib.out: $(BASE_CC_FOR_TARGET)
7280 @[ -d $(TARGET_SUBDIR)/qthreads ] || mkdir $(TARGET_SUBDIR)/qthreads;\
7281 r=`${PWD}`; export r; \
7282 echo "Configuring multilibs for qthreads"; \
7283 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/qthreads/multilib.out 2> /dev/null
7285 $(TARGET_SUBDIR)/qthreads/Makefile: config.status $(TARGET_SUBDIR)/qthreads/multilib.out
7286 @[ -d $(TARGET_SUBDIR)/qthreads ] || mkdir $(TARGET_SUBDIR)/qthreads;\
7287 r=`${PWD}`; export r; \
7288 s=`cd $(srcdir); ${PWD}`; export s; \
7290 AR="$(AR_FOR_TARGET)"; export AR; \
7291 AS="$(AS_FOR_TARGET)"; export AS; \
7292 CC="$(CC_FOR_TARGET)"; export CC; \
7293 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
7294 CXX="$(CXX_FOR_TARGET)"; export CXX; \
7295 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
7296 GCJ="$(GCJ_FOR_TARGET)"; export GCJ; \
7297 DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \
7298 LD="$(LD_FOR_TARGET)"; export LD; \
7299 LDFLAGS="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS; \
7300 NM="$(NM_FOR_TARGET)"; export NM; \
7301 RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \
7302 WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES; \
7303 echo Configuring in $(TARGET_SUBDIR)/qthreads; \
7304 cd "$(TARGET_SUBDIR)/qthreads" || exit 1; \
7306 /* | [A-Za-z]:[\\/]*) \
7307 topdir=$(srcdir) ;; \
7309 case "$(TARGET_SUBDIR)" in \
7310 .) topdir="../$(srcdir)" ;; \
7311 *) topdir="../../$(srcdir)" ;; \
7314 if [ "$(srcdir)" = "." ] ; then \
7315 if [ "$(TARGET_SUBDIR)" != "." ] ; then \
7316 if $(SHELL) $$s/symlink-tree $${topdir}/qthreads "no-such-file" ; then \
7317 if [ -f Makefile ]; then \
7318 if $(MAKE) distclean; then \
7332 srcdiroption="--srcdir=."; \
7335 srcdiroption="--srcdir=$${topdir}/qthreads"; \
7336 libsrcdir="$$s/qthreads"; \
7338 rm -f no-such-file || : ; \
7339 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
7340 $(TARGET_CONFIGARGS) $${srcdiroption} \
7341 --with-target-subdir="$(TARGET_SUBDIR)" \
7344 .PHONY: all-target-qthreads maybe-all-target-qthreads
7345 maybe-all-target-qthreads:
7346 all-target-qthreads: configure-target-qthreads
7347 @r=`${PWD}`; export r; \
7348 s=`cd $(srcdir); ${PWD}`; export s; \
7350 (cd $(TARGET_SUBDIR)/qthreads; \
7351 $(MAKE) $(TARGET_FLAGS_TO_PASS) all)
7353 .PHONY: check-target-qthreads
7354 check-target-qthreads:
7355 @r=`${PWD}`; export r; \
7356 s=`cd $(srcdir); ${PWD}`; export s; \
7358 (cd $(TARGET_SUBDIR)/qthreads; \
7359 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
7362 .PHONY: install-target-qthreads maybe-install-target-qthreads
7363 maybe-install-target-qthreads:
7364 install-target-qthreads: installdirs
7365 @r=`${PWD}`; export r; \
7366 s=`cd $(srcdir); ${PWD}`; export s; \
7368 (cd $(TARGET_SUBDIR)/qthreads; \
7369 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
7372 .PHONY: configure-target-rda maybe-configure-target-rda
7373 maybe-configure-target-rda:
7374 configure-target-rda: $(TARGET_SUBDIR)/rda/Makefile
7376 $(TARGET_SUBDIR)/rda/multilib.out: $(BASE_CC_FOR_TARGET)
7377 @[ -d $(TARGET_SUBDIR)/rda ] || mkdir $(TARGET_SUBDIR)/rda;\
7378 r=`${PWD}`; export r; \
7379 echo "Configuring multilibs for rda"; \
7380 $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/rda/multilib.out 2> /dev/null
7382 $(TARGET_SUBDIR)/rda/Makefile: config.status $(TARGET_SUBDIR)/rda/multilib.out
7383 @[ -d $(TARGET_SUBDIR)/rda ] || mkdir $(TARGET_SUBDIR)/rda;\
7384 r=`${PWD}`; export r; \
7385 s=`cd $(srcdir); ${PWD}`; export s; \
7387 AR="$(AR_FOR_TARGET)"; export AR; \
7388 AS="$(AS_FOR_TARGET)"; export AS; \
7389 CC="$(CC_FOR_TARGET)"; export CC; \
7390 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
7391 CXX="$(CXX_FOR_TARGET)"; export CXX; \
7392 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
7393 GCJ="$(GCJ_FOR_TARGET)"; export GCJ; \
7394 DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \
7395 LD="$(LD_FOR_TARGET)"; export LD; \
7396 LDFLAGS="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS; \
7397 NM="$(NM_FOR_TARGET)"; export NM; \
7398 RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \
7399 WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES; \
7400 echo Configuring in $(TARGET_SUBDIR)/rda; \
7401 cd "$(TARGET_SUBDIR)/rda" || exit 1; \
7403 /* | [A-Za-z]:[\\/]*) \
7404 topdir=$(srcdir) ;; \
7406 case "$(TARGET_SUBDIR)" in \
7407 .) topdir="../$(srcdir)" ;; \
7408 *) topdir="../../$(srcdir)" ;; \
7411 if [ "$(srcdir)" = "." ] ; then \
7412 if [ "$(TARGET_SUBDIR)" != "." ] ; then \
7413 if $(SHELL) $$s/symlink-tree $${topdir}/rda "no-such-file" ; then \
7414 if [ -f Makefile ]; then \
7415 if $(MAKE) distclean; then \
7429 srcdiroption="--srcdir=."; \
7432 srcdiroption="--srcdir=$${topdir}/rda"; \
7433 libsrcdir="$$s/rda"; \
7435 rm -f no-such-file || : ; \
7436 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
7437 $(TARGET_CONFIGARGS) $${srcdiroption} \
7438 --with-target-subdir="$(TARGET_SUBDIR)" \
7441 .PHONY: all-target-rda maybe-all-target-rda
7442 maybe-all-target-rda:
7443 all-target-rda: configure-target-rda
7444 @r=`${PWD}`; export r; \
7445 s=`cd $(srcdir); ${PWD}`; export s; \
7447 (cd $(TARGET_SUBDIR)/rda; \
7448 $(MAKE) $(TARGET_FLAGS_TO_PASS) all)
7450 .PHONY: check-target-rda
7452 @r=`${PWD}`; export r; \
7453 s=`cd $(srcdir); ${PWD}`; export s; \
7455 (cd $(TARGET_SUBDIR)/rda; \
7456 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
7459 .PHONY: install-target-rda maybe-install-target-rda
7460 maybe-install-target-rda:
7461 install-target-rda: installdirs
7462 @r=`${PWD}`; export r; \
7463 s=`cd $(srcdir); ${PWD}`; export s; \
7465 (cd $(TARGET_SUBDIR)/rda; \
7466 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
7474 # Unfortunately, while gcc _should_ be a host module,
7475 # libgcc is a target module, and gen* programs are
7476 # build modules. So GCC is a sort of hybrid.
7478 # gcc is the only module which uses GCC_FLAGS_TO_PASS.
7479 .PHONY: configure-gcc maybe-configure-gcc
7480 maybe-configure-gcc:
7481 configure-gcc: gcc/Makefile
7483 gcc/Makefile: config.status
7484 @[ -d gcc ] || mkdir gcc; \
7485 r=`${PWD}`; export r; \
7486 s=`cd $(srcdir); ${PWD}`; export s; \
7487 CC="$(CC)"; export CC; \
7488 CFLAGS="$(CFLAGS)"; export CFLAGS; \
7489 CXX="$(CXX)"; export CXX; \
7490 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
7491 if [ z$(build_canonical) != z$(host_canoncial) ] ; then \
7492 AR="$(AR)"; export AR; \
7493 AS="$(AS)"; export AS; \
7494 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
7495 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
7496 LD="$(LD)"; export LD; \
7497 NM="$(NM)"; export NM; \
7498 RANLIB="$(RANLIB)"; export RANLIB; \
7499 WINDRES="$(WINDRES)"; export WINDRES; \
7500 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
7501 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
7503 echo Configuring in gcc; \
7507 srcdiroption="--srcdir=."; \
7509 /* | [A-Za-z]:[\\/]*) \
7510 srcdiroption="--srcdir=$(srcdir)/gcc"; \
7511 libsrcdir="$$s/gcc";; \
7513 srcdiroption="--srcdir=../$(srcdir)/gcc"; \
7514 libsrcdir="$$s/gcc";; \
7516 $(SHELL) $${libsrcdir}/configure \
7517 $(HOST_CONFIGARGS) $${srcdiroption} \
7520 .PHONY: all-gcc maybe-all-gcc
7523 @if [ -f ./gcc/Makefile ] ; then \
7524 r=`${PWD}`; export r; \
7525 s=`cd $(srcdir); ${PWD}`; export s; \
7527 (cd gcc; $(MAKE) $(GCC_FLAGS_TO_PASS) all); \
7532 # Building GCC uses some tools for rebuilding "source" files
7533 # like texinfo, bison/byacc, etc. So we must depend on those.
7535 # While building GCC, it may be necessary to run various target
7536 # programs like the assembler, linker, etc. So we depend on
7539 # In theory, on an SMP all those dependencies can be resolved
7542 .PHONY: bootstrap bootstrap-lean bootstrap2 bootstrap2-lean bootstrap3 bootstrap3-lean bootstrap4 bootstrap4-lean bubblestrap quickstrap cleanstrap restrap
7543 bootstrap bootstrap-lean bootstrap2 bootstrap2-lean bootstrap3 bootstrap3-lean bootstrap4 bootstrap4-lean bubblestrap quickstrap cleanstrap restrap: all-bootstrap
7544 @r=`${PWD}`; export r; \
7545 s=`cd $(srcdir); ${PWD}`; export s; \
7547 echo "Bootstrapping the compiler"; \
7548 cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) $@
7549 @r=`${PWD}`; export r; \
7550 s=`cd $(srcdir); ${PWD}`; export s; \
7552 *bootstrap4-lean ) \
7553 msg="Comparing stage3 and stage4 of the compiler"; \
7554 compare=compare3-lean ;; \
7555 *bootstrap4 ) msg="Comparing stage3 and stage4 of the compiler"; \
7556 compare=compare3 ;; \
7557 *-lean ) msg="Comparing stage2 and stage3 of the compiler"; \
7558 compare=compare-lean ;; \
7559 * ) msg="Comparing stage2 and stage3 of the compiler"; \
7560 compare=compare ;; \
7564 cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) $$compare
7565 @r=`${PWD}`; export r; \
7566 s=`cd $(srcdir); ${PWD}` ; export s; \
7568 echo "Building runtime libraries"; \
7569 $(MAKE) $(BASE_FLAGS_TO_PASS) $(RECURSE_FLAGS) all
7572 cross: all-texinfo all-bison all-byacc all-binutils all-gas all-ld
7573 @r=`${PWD}`; export r; \
7574 s=`cd $(srcdir); ${PWD}`; export s; \
7576 echo "Building the C and C++ compiler"; \
7577 cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) LANGUAGES="c c++"
7578 @r=`${PWD}`; export r; \
7579 s=`cd $(srcdir); ${PWD}` ; export s; \
7581 echo "Building runtime libraries"; \
7582 $(MAKE) $(BASE_FLAGS_TO_PASS) $(RECURSE_FLAGS) \
7583 LANGUAGES="c c++" all
7587 @if [ -f ./gcc/Makefile ] ; then \
7588 r=`${PWD}`; export r; \
7589 s=`cd $(srcdir); ${PWD}`; export s; \
7591 (cd gcc; $(MAKE) $(GCC_FLAGS_TO_PASS) check); \
7598 @if [ -f ./gcc/Makefile ] ; then \
7599 r=`${PWD}`; export r; \
7600 s=`cd $(srcdir); ${PWD}`; export s; \
7602 (cd gcc; $(MAKE) $(GCC_FLAGS_TO_PASS) check-c++); \
7603 $(MAKE) check-target-libstdc++-v3; \
7608 .PHONY: install-gcc maybe-install-gcc
7611 @if [ -f ./gcc/Makefile ] ; then \
7612 r=`${PWD}`; export r; \
7613 s=`cd $(srcdir); ${PWD}`; export s; \
7615 (cd gcc; $(MAKE) $(GCC_FLAGS_TO_PASS) install); \
7620 # Install the gcc headers files, but not the fixed include files,
7621 # which Cygnus is not allowed to distribute. This rule is very
7622 # dependent on the workings of the gcc Makefile.in.
7623 .PHONY: gcc-no-fixedincludes
7624 gcc-no-fixedincludes:
7625 @if [ -f ./gcc/Makefile ]; then \
7626 rm -rf gcc/tmp-include; \
7627 mv gcc/include gcc/tmp-include 2>/dev/null; \
7628 mkdir gcc/include; \
7629 cp $(srcdir)/gcc/gsyslimits.h gcc/include/syslimits.h; \
7630 touch gcc/stmp-fixinc gcc/include/fixed; \
7631 rm -f gcc/stmp-headers gcc/stmp-int-hdrs; \
7632 r=`${PWD}`; export r; \
7633 s=`cd $(srcdir); ${PWD}` ; export s; \
7636 $(MAKE) $(GCC_FLAGS_TO_PASS) install); \
7637 rm -rf gcc/include; \
7638 mv gcc/tmp-include gcc/include 2>/dev/null; \
7641 # --------------------------------------
7642 # Dependencies between different modules
7643 # --------------------------------------
7645 # There are two types of dependencies here: 'hard' dependencies, where one
7646 # module simply won't build without the other; and 'soft' dependencies, where
7647 # if the depended-on module is missing, the depending module will do without
7648 # or find a substitute somewhere (perhaps installed). Soft dependencies
7649 # are specified by depending on a 'maybe-' target. If you're not sure,
7650 # it's safer to use a soft dependency.
7652 # Host modules specific to gcc.
7653 # GCC needs to identify certain tools.
7654 gcc/Makefile: maybe-configure-binutils maybe-configure-gas maybe-configure-ld maybe-configure-bison maybe-configure-flex
7655 all-gcc: maybe-all-libiberty maybe-all-bison maybe-all-byacc maybe-all-binutils maybe-all-gas maybe-all-ld maybe-all-zlib
7656 # This is a slightly kludgy method of getting dependencies on
7657 # all-build-libiberty correct; it would be better to build it every time.
7658 all-gcc: maybe-all-build-libiberty
7659 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
7661 # Host modules specific to gdb.
7662 # GDB needs to know that the simulator is being built.
7663 gdb/Makefile: maybe-configure-tcl maybe-configure-tk maybe-configure-sim
7665 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)
7666 install-gdb: maybe-install-tcl maybe-install-tk maybe-install-itcl maybe-install-tix maybe-install-libgui
7667 libgui/Makefile: maybe-configure-tcl maybe-configure-tk
7668 all-libgui: maybe-all-tcl maybe-all-tk maybe-all-itcl
7670 # Host modules specific to binutils.
7671 bfd/Makefile: configure-libiberty
7672 all-bfd: maybe-all-libiberty maybe-all-intl
7673 all-binutils: maybe-all-libiberty maybe-all-opcodes maybe-all-bfd maybe-all-flex maybe-all-bison maybe-all-byacc maybe-all-intl
7674 # We put install-opcodes before install-binutils because the installed
7675 # binutils might be on PATH, and they might need the shared opcodes
7677 install-binutils: maybe-install-opcodes
7678 all-gas: maybe-all-libiberty maybe-all-opcodes maybe-all-bfd maybe-all-intl
7679 all-gprof: maybe-all-libiberty maybe-all-bfd maybe-all-opcodes maybe-all-intl
7680 all-ld: maybe-all-libiberty maybe-all-bfd maybe-all-opcodes maybe-all-bison maybe-all-byacc maybe-all-flex maybe-all-intl
7681 all-opcodes: maybe-all-bfd maybe-all-libiberty
7683 # Other host modules in the 'src' repository.
7684 all-dejagnu: maybe-all-tcl maybe-all-expect maybe-all-tk
7685 expect/Makefile: maybe-configure-tcl maybe-configure-tk
7686 all-expect: maybe-all-tcl maybe-all-tk
7687 itcl/Makefile: maybe-configure-tcl maybe-configure-tk
7688 all-itcl: maybe-all-tcl maybe-all-tk
7689 # We put install-tcl before install-itcl because itcl wants to run a
7690 # program on installation which uses the Tcl libraries.
7691 install-itcl: maybe-install-tcl
7692 all-sid: maybe-all-tcl maybe-all-tk
7693 install-sid: maybe-install-tcl maybe-install-tk
7694 all-sim: maybe-all-libiberty maybe-all-bfd maybe-all-opcodes maybe-all-readline
7695 tk/Makefile: maybe-configure-tcl
7696 all-tk: maybe-all-tcl
7697 tix/Makefile: maybe-configure-tcl maybe-configure-tk
7698 all-tix: maybe-all-tcl maybe-all-tk
7699 all-texinfo: maybe-all-libiberty
7701 # Other host modules. Warning, these are not well tested.
7702 all-autoconf: maybe-all-m4 maybe-all-texinfo
7703 all-automake: maybe-all-m4 maybe-all-texinfo
7704 all-bison: maybe-all-texinfo
7705 all-diff: maybe-all-libiberty
7706 all-fastjar: maybe-all-zlib maybe-all-libiberty
7707 all-fileutils: maybe-all-libiberty
7708 all-flex: maybe-all-libiberty maybe-all-bison maybe-all-byacc
7709 all-grep: maybe-all-libiberty
7710 all-gzip: maybe-all-libiberty
7711 all-hello: maybe-all-libiberty
7712 all-m4: maybe-all-libiberty maybe-all-texinfo
7713 all-make: maybe-all-libiberty
7714 all-patch: maybe-all-libiberty
7715 all-prms: maybe-all-libiberty
7716 all-recode: maybe-all-libiberty
7717 all-sed: maybe-all-libiberty
7718 all-send-pr: maybe-all-prms
7719 all-snavigator: maybe-all-tcl maybe-all-tk maybe-all-itcl maybe-all-tix maybe-all-db maybe-all-grep maybe-all-libgui
7720 all-tar: maybe-all-libiberty
7721 all-tclX: maybe-all-tcl maybe-all-tk
7722 all-uudecode: maybe-all-libiberty
7724 ALL_GCC = maybe-all-gcc
7725 ALL_GCC_C = $(ALL_GCC) maybe-all-target-newlib maybe-all-target-libgloss
7726 ALL_GCC_CXX = $(ALL_GCC_C) maybe-all-target-libstdc++-v3
7728 # Target modules specific to gcc.
7729 $(TARGET_SUBDIR)/boehm-gc/Makefile: $(ALL_GCC_C) maybe-configure-target-qthreads
7730 $(TARGET_SUBDIR)/fastjar/Makefile: maybe-configure-target-zlib
7731 all-target-fastjar: maybe-all-target-zlib maybe-all-target-libiberty
7732 $(TARGET_SUBDIR)/libf2c/Makefile: $(ALL_GCC_C)
7733 all-target-libf2c: maybe-all-target-libiberty
7734 $(TARGET_SUBDIR)/libffi/Makefile: $(ALL_GCC_C)
7735 $(TARGET_SUBDIR)/libjava/Makefile: $(ALL_GCC_C) maybe-configure-target-zlib maybe-configure-target-boehm-gc maybe-configure-target-qthreads maybe-configure-target-libffi
7736 all-target-libjava: maybe-all-fastjar maybe-all-target-zlib maybe-all-target-boehm-gc maybe-all-target-qthreads maybe-all-target-libffi
7737 $(TARGET_SUBDIR)/libobjc/Makefile: $(ALL_GCC_C)
7738 all-target-libobjc: maybe-all-target-libiberty
7739 $(TARGET_SUBDIR)/libstdc++-v3/Makefile: $(ALL_GCC_C)
7740 all-target-libstdc++-v3: maybe-all-target-libiberty
7741 $(TARGET_SUBDIR)/zlib/Makefile: $(ALL_GCC_C)
7743 # Target modules in the 'src' repository.
7744 $(TARGET_SUBDIR)/examples/Makefile: $(ALL_GCC_C)
7745 $(TARGET_SUBDIR)/libgloss/Makefile: $(ALL_GCC)
7746 all-target-libgloss: maybe-configure-target-newlib
7747 $(TARGET_SUBDIR)/libiberty/Makefile: $(ALL_GCC_C)
7748 $(TARGET_SUBDIR)/libtermcap/Makefile: $(ALL_GCC_C)
7749 $(TARGET_SUBDIR)/newlib/Makefile: $(ALL_GCC)
7750 $(TARGET_SUBDIR)/winsup/Makefile: $(ALL_GCC_C)
7751 all-target-winsup: maybe-all-target-libiberty maybe-all-target-libtermcap
7753 # Other target modules. Warning, these are not well tested.
7754 $(TARGET_SUBDIR)/gperf/Makefile: $(ALL_GCC_CXX)
7755 all-target-gperf: maybe-all-target-libiberty maybe-all-target-libstdc++-v3
7756 $(TARGET_SUBDIR)/qthreads/Makefile: $(ALL_GCC_C)
7758 # Dependencies of maybe-foo on foo. These are used because, for example,
7759 # all-gcc only depends on all-gas if gas is present and being configured.
7760 @maybe_dependencies@
7762 # Serialization dependencies. Host configures don't work well in parallel to
7763 # each other, due to contention over config.cache. Target configures and
7764 # build configures are similar.
7765 @serialization_dependencies@
7767 # --------------------------------
7768 # Regenerating top level configury
7769 # --------------------------------
7771 # Rebuilding Makefile.in, using autogen.
7772 $(srcdir)/Makefile.in: # $(srcdir)/Makefile.tpl $(srcdir)/Makefile.def
7773 cd $(srcdir) && autogen Makefile.def
7775 # with the gnu make, this is done automatically.
7777 host_makefile_frag=@host_makefile_frag@
7778 target_makefile_frag=@target_makefile_frag@
7780 Makefile: Makefile.in configure.in $(host_makefile_frag) $(target_makefile_frag) $(gcc_version_trigger)
7781 $(SHELL) ./config.status
7788 # end of Makefile.in