2 # Makefile.in is generated from Makefile.tpl by 'autogen Makefile.def'.
4 # Makefile for directory with subdirs to build.
5 # Copyright (C) 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998,
6 # 1999, 2000, 2001, 2002, 2003 Free Software Foundation
8 # This file is free software; you can redistribute it and/or modify
9 # it under the terms of the GNU General Public License as published by
10 # the Free Software Foundation; either version 2 of the License, or
11 # (at your option) any later version.
13 # This program is distributed in the hope that it will be useful,
14 # but WITHOUT ANY WARRANTY; without even the implied warranty of
15 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 # GNU General Public License for more details.
18 # You should have received a copy of the GNU General Public License
19 # along with this program; if not, write to the Free Software
20 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
23 # -------------------------------
24 # Standard Autoconf-set variables
25 # -------------------------------
28 build_alias
=@build_alias@
30 build_vendor
=@build_vendor@
32 build_canonical
=@build_cpu@
-@build_vendor@
-@build_os@
33 host_alias
=@host_alias@
35 host_vendor
=@host_vendor@
37 host_canonical
=@host_cpu@
-@host_vendor@
-@host_os@
38 target_alias
=@target_alias@
39 target_cpu
=@target_cpu@
40 target_vendor
=@target_vendor@
42 target_canonical
=@target_cpu@
-@target_vendor@
-@target_os@
44 program_transform_name
= @program_transform_name@
47 exec_prefix = @
exec_prefix@
53 libexecdir
= @libexecdir@
55 sysconfdir
= @sysconfdir@
56 sharedstatedir
= @sharedstatedir@
57 localstatedir
= @localstatedir@
59 includedir = @
includedir@
60 oldincludedir = @
oldincludedir@
63 man1dir = $(mandir)/man1
64 man2dir = $(mandir)/man2
65 man3dir = $(mandir)/man3
66 man4dir = $(mandir)/man4
67 man5dir = $(mandir)/man5
68 man6dir = $(mandir)/man6
69 man7dir = $(mandir)/man7
70 man8dir = $(mandir)/man8
71 man9dir = $(mandir)/man9
73 # INSTALL_PROGRAM_ARGS is changed by configure.in to use -x for a
75 INSTALL_PROGRAM_ARGS
=
77 INSTALL
= $(SHELL
) $$s/install-sh
-c
78 INSTALL_PROGRAM
= $(INSTALL
) $(INSTALL_PROGRAM_ARGS
)
79 INSTALL_SCRIPT
= $(INSTALL
)
80 INSTALL_DATA
= $(INSTALL
) -m
644
82 # -------------------------------------------------
83 # Miscellaneous non-standard autoconf-set variables
84 # -------------------------------------------------
87 # The file containing GCC's version number.
88 gcc_version_trigger
= @gcc_version_trigger@
89 gcc_version
= @gcc_version@
91 # The gcc driver likes to know the arguments it was configured with.
92 TOPLEVEL_CONFIGURE_ARGUMENTS
=@TOPLEVEL_CONFIGURE_ARGUMENTS@
94 gxx_include_dir
= @gxx_include_dir@
95 libstdcxx_incdir
= @libstdcxx_incdir@
98 build_tooldir
= @build_tooldir@
100 # Directory in which the compiler finds executables, libraries, etc.
101 libsubdir
= $(libdir)/gcc-lib
/$(target_alias
)/$(gcc_version
)
104 # This is the name of the environment variable used for the path to
106 RPATH_ENVVAR
= @RPATH_ENVVAR@
108 # This is set by configure to REALLY_SET_LIB_PATH if --enable-shared
110 SET_LIB_PATH
= @SET_LIB_PATH@
112 # configure.in sets SET_LIB_PATH to this if --enable-shared was used.
113 # Some platforms don't like blank entries, so we remove duplicate,
114 # leading and trailing colons.
115 REALLY_SET_LIB_PATH
= \
116 $(RPATH_ENVVAR
)=`echo "$(HOST_LIB_PATH):$(TARGET_LIB_PATH):$$$(RPATH_ENVVAR)" | sed 's,::*,:,g;s,^:*,,;s,:*$$,,'`; export $(RPATH_ENVVAR
);
118 # This is the list of directories to be built for the build system.
119 BUILD_CONFIGDIRS
= libiberty
120 # Build programs are put under this directory.
121 BUILD_SUBDIR
= @build_subdir@
122 # This is set by the configure script to the arguments to use when configuring
123 # directories built for the build system.
124 BUILD_CONFIGARGS
= @build_configargs@
126 # This is the list of directories to built for the host system.
127 SUBDIRS
= @configdirs@
128 # This is set by the configure script to the arguments to use when configuring
129 # directories built for the host system.
130 HOST_CONFIGARGS
= @host_configargs@
132 # This is set by the configure script to the list of directories which
133 # should be built using the target tools.
134 TARGET_CONFIGDIRS
= @target_configdirs@
135 # Target libraries are put under this directory:
136 TARGET_SUBDIR
= @target_subdir@
137 # This is set by the configure script to the arguments to use when configuring
138 # directories built for the target.
139 TARGET_CONFIGARGS
= @target_configargs@
141 # ----------------------------------------------
142 # Programs producing files for the BUILD machine
143 # ----------------------------------------------
145 SHELL
= @config_shell@
147 # pwd command to use. Allow user to override default by setting PWDCMD in
148 # the environment to account for automounters. The make variable must not
149 # be called PWDCMD, otherwise the value set here is passed to make
150 # subprocesses and overrides the setting from the user's environment.
153 # compilers to use to create programs which must be run in the build
155 CC_FOR_BUILD
= @CC_FOR_BUILD@
156 CFLAGS_FOR_BUILD
= $(CFLAGS
)
158 CXX_FOR_BUILD
= $(CXX
)
160 # Special variables passed down in EXTRA_GCC_FLAGS. They are defined
161 # here so that they can be overridden by Makefile fragments.
162 BUILD_CC
= $(CC_FOR_BUILD
)
163 BUILD_PREFIX
= @BUILD_PREFIX@
164 BUILD_PREFIX_1
= @BUILD_PREFIX_1@
167 USUAL_BISON
= `if [ -f $$r/bison/bison ] ; then \
168 echo $$r/bison/bison -L $$s/bison/ ; \
173 DEFAULT_YACC
= @DEFAULT_YACC@
175 USUAL_YACC
= `if [ -f $$r/bison/bison ] ; then \
176 echo $$r/bison/bison -y -L $$s/bison/ ; \
177 elif [ -f $$r/byacc/byacc ] ; then \
178 echo $$r/byacc/byacc ; \
180 echo ${DEFAULT_YACC} ; \
183 DEFAULT_LEX
= @DEFAULT_LEX@
185 USUAL_LEX
= `if [ -f $$r/flex/flex ] ; \
186 then echo $$r/flex/flex ; \
187 else echo ${DEFAULT_LEX} ; fi`
189 DEFAULT_M4
= @DEFAULT_M4@
190 M4
= `if [ -f $$r/m4/m4 ] ; \
191 then echo $$r/m4/m4 ; \
192 else echo ${DEFAULT_M4} ; fi`
194 # For an installed makeinfo, we require it to be from texinfo 4.2 or
195 # higher, else we use the "missing" dummy.
197 USUAL_MAKEINFO
= `if [ -f $$r/texinfo/makeinfo/makeinfo ] ; \
198 then echo $$r/texinfo/makeinfo/makeinfo ; \
199 else if (makeinfo --version \
200 | egrep 'texinfo[^0-9]*([1-3][0-9]|4\.[2-9]|[5-9])') >/dev/null 2>&1; \
201 then echo makeinfo; else echo $$s/missing makeinfo; fi; fi`
203 # This just becomes part of the MAKEINFO definition passed down to
204 # sub-makes. It lets flags be given on the command line while still
205 # using the makeinfo from the object tree.
206 # (Default to avoid splitting info files by setting the threshold high.)
207 MAKEINFOFLAGS
= --split-size
=5000000
209 EXPECT
= `if [ -f $$r/expect/expect ] ; \
210 then echo $$r/expect/expect ; \
211 else echo expect ; fi`
213 RUNTEST
= `if [ -f $$s/dejagnu/runtest ] ; \
214 then echo $$s/dejagnu/runtest ; \
215 else echo runtest ; fi`
217 # ---------------------------------------------
218 # Programs producing files for the HOST machine
219 # ---------------------------------------------
221 # This is the list of directories that may be needed in RPATH_ENVVAR
222 # so that programs built for the host machine work.
223 HOST_LIB_PATH
= $$r/bfd
:$$r/opcodes
232 LIBCFLAGS
= $(CFLAGS
)
235 CXXFLAGS
= @CXXFLAGS@
236 LIBCXXFLAGS
= $(CXXFLAGS
) -fno-implicit-templates
251 # -----------------------------------------------
252 # Programs producing files for the TARGET machine
253 # -----------------------------------------------
255 # This is the list of directories that may be needed in RPATH_ENVVAR
256 # so that prorgams built for the target machine work.
257 TARGET_LIB_PATH
= $$r/$(TARGET_SUBDIR
)/libstdc
++-v3
/src
/.libs
:
259 FLAGS_FOR_TARGET
= @FLAGS_FOR_TARGET@
261 AR_FOR_TARGET
=@AR_FOR_TARGET@
262 USUAL_AR_FOR_TARGET
= ` \
263 if [ -f $$r/binutils/ar ] ; then \
264 echo $$r/binutils/ar ; \
266 if [ '$(host_canonical)' = '$(target_canonical)' ] ; then \
269 echo ar | sed '$(program_transform_name)' ; \
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 echo as | sed '$(program_transform_name)' ; \
287 CC_FOR_TARGET
= @CC_FOR_TARGET@
288 # During gcc bootstrap, if we use some random cc for stage1 then
289 # CFLAGS will be just -g. We want to ensure that TARGET libraries
290 # (which we know are built with gcc) are built with optimizations so
291 # prepend -O2 when setting CFLAGS_FOR_TARGET.
292 CFLAGS_FOR_TARGET
= -O2
$(CFLAGS
)
293 # If GCC_FOR_TARGET is not overriden on the command line, then this
294 # variable is passed down to the gcc Makefile, where it is used to
295 # build libgcc2.a. We define it here so that it can itself be
296 # overridden on the command line.
297 GCC_FOR_TARGET
=@GCC_FOR_TARGET@
298 USUAL_GCC_FOR_TARGET
= $(STAGE_CC_WRAPPER
) $$r/gcc
/xgcc
-B
$$r/gcc
/ $(FLAGS_FOR_TARGET
)
299 LIBCFLAGS_FOR_TARGET
= $(CFLAGS_FOR_TARGET
)
301 CXX_FOR_TARGET
= @CXX_FOR_TARGET@
302 RAW_CXX_FOR_TARGET
= @RAW_CXX_FOR_TARGET@
303 CXX_FOR_TARGET_FOR_RECURSIVE_MAKE
= @CXX_FOR_TARGET_FOR_RECURSIVE_MAKE@
304 RAW_CXX_FOR_TARGET_FOR_RECURSIVE_MAKE
= @RAW_CXX_FOR_TARGET_FOR_RECURSIVE_MAKE@
305 CXXFLAGS_FOR_TARGET
= $(CXXFLAGS
)
306 LIBCXXFLAGS_FOR_TARGET
= $(CXXFLAGS_FOR_TARGET
) -fno-implicit-templates
308 DLLTOOL_FOR_TARGET
=@DLLTOOL_FOR_TARGET@
309 USUAL_DLLTOOL_FOR_TARGET
= ` \
310 if [ -f $$r/binutils/dlltool ] ; then \
311 echo $$r/binutils/dlltool ; \
313 if [ '$(host_canonical)' = '$(target_canonical)' ] ; then \
316 echo dlltool | sed '$(program_transform_name)' ; \
320 GCJ_FOR_TARGET
= @GCJ_FOR_TARGET@
322 LD_FOR_TARGET
=@LD_FOR_TARGET@
323 USUAL_LD_FOR_TARGET
= ` \
324 if [ -f $$r/ld/ld-new ] ; then \
325 echo $$r/ld/ld-new ; \
326 elif [ -f $$r/gcc/xgcc ]; then \
327 $(CC_FOR_TARGET) -print-prog-name=ld ; \
329 if [ '$(host_canonical)' = '$(target_canonical)' ] ; then \
332 echo ld | sed '$(program_transform_name)' ; \
338 NM_FOR_TARGET
=@NM_FOR_TARGET@
339 USUAL_NM_FOR_TARGET
= ` \
340 if [ -f $$r/binutils/nm-new ] ; then \
341 echo $$r/binutils/nm-new ; \
342 elif [ -f $$r/gcc/xgcc ]; then \
343 $(CC_FOR_TARGET) -print-prog-name=nm ; \
345 if [ '$(host_canonical)' = '$(target_canonical)' ] ; then \
348 echo nm | sed '$(program_transform_name)' ; \
352 RANLIB_FOR_TARGET
=@RANLIB_FOR_TARGET@
353 USUAL_RANLIB_FOR_TARGET
= ` \
354 if [ -f $$r/binutils/ranlib ] ; then \
355 echo $$r/binutils/ranlib ; \
357 if [ '$(host_canonical)' = '$(target_canonical)' ] ; then \
358 if [ x'$(RANLIB)' != x ]; then \
364 echo ranlib | sed '$(program_transform_name)' ; \
368 WINDRES_FOR_TARGET
=@WINDRES_FOR_TARGET@
369 USUAL_WINDRES_FOR_TARGET
= ` \
370 if [ -f $$r/binutils/windres ] ; then \
371 echo $$r/binutils/windres ; \
373 if [ '$(host_canonical)' = '$(target_canonical)' ] ; then \
376 echo windres | sed '$(program_transform_name)' ; \
382 # ------------------------------------
383 # Miscellaneous targets and flag lists
384 # ------------------------------------
386 # The first rule in the file had better be this one. Don't put any above it.
387 # This lives here to allow makefile fragments to contain dependencies.
391 #### host and target specific makefile fragments come in here.
392 @target_makefile_frag@
398 # Flags to pass down to all sub-makes.
399 # Please keep these in alphabetical order.
400 BASE_FLAGS_TO_PASS
= \
401 "AR_FLAGS=$(AR_FLAGS)" \
402 "AR_FOR_TARGET=$(AR_FOR_TARGET)" \
403 "AS_FOR_TARGET=$(AS_FOR_TARGET)" \
405 "CC_FOR_BUILD=$(CC_FOR_BUILD)" \
406 "CC_FOR_TARGET=$(CC_FOR_TARGET)" \
408 "CFLAGS_FOR_TARGET=$(CFLAGS_FOR_TARGET)" \
409 "GCJ_FOR_TARGET=$(GCJ_FOR_TARGET)" \
410 "CXX_FOR_BUILD=$(CXX_FOR_BUILD)" \
411 "CXXFLAGS=$(CXXFLAGS)" \
412 "CXXFLAGS_FOR_TARGET=$(CXXFLAGS_FOR_TARGET)" \
413 "CXX_FOR_TARGET=$(CXX_FOR_TARGET)" \
414 "DESTDIR=$(DESTDIR)" \
415 "DLLTOOL_FOR_TARGET=$(DLLTOOL_FOR_TARGET)" \
416 "INSTALL=$(INSTALL)" \
417 "INSTALL_DATA=$(INSTALL_DATA)" \
418 "INSTALL_PROGRAM=$(INSTALL_PROGRAM)" \
419 "INSTALL_SCRIPT=$(INSTALL_SCRIPT)" \
420 "LDFLAGS=$(LDFLAGS)" \
422 "LD_FOR_TARGET=$(LD_FOR_TARGET)" \
423 "LIBCFLAGS=$(LIBCFLAGS)" \
424 "LIBCFLAGS_FOR_TARGET=$(LIBCFLAGS_FOR_TARGET)" \
425 "LIBCXXFLAGS=$(LIBCXXFLAGS)" \
426 "LIBCXXFLAGS_FOR_TARGET=$(LIBCXXFLAGS_FOR_TARGET)" \
429 "MAKEINFO=$(MAKEINFO) $(MAKEINFOFLAGS)" \
430 "NM_FOR_TARGET=$(NM_FOR_TARGET)" \
431 "RANLIB_FOR_TARGET=$(RANLIB_FOR_TARGET)" \
432 "RPATH_ENVVAR=$(RPATH_ENVVAR)" \
435 "RUNTEST=$(RUNTEST)" \
436 "RUNTESTFLAGS=$(RUNTESTFLAGS)" \
437 "TARGET_SUBDIR=$(TARGET_SUBDIR)" \
438 "WINDRES_FOR_TARGET=$(WINDRES_FOR_TARGET)" \
441 "datadir=$(datadir)" \
442 "exec_prefix=$(exec_prefix)" \
443 "includedir=$(includedir)" \
444 "infodir=$(infodir)" \
446 "libexecdir=$(libexecdir)" \
447 "lispdir=$(lispdir)" \
448 "libstdcxx_incdir=$(libstdcxx_incdir)" \
449 "libsubdir=$(libsubdir)" \
450 "localstatedir=$(localstatedir)" \
452 "oldincludedir=$(oldincludedir)" \
454 "sbindir=$(sbindir)" \
455 "sharedstatedir=$(sharedstatedir)" \
456 "sysconfdir=$(sysconfdir)" \
457 "tooldir=$(tooldir)" \
458 "build_tooldir=$(build_tooldir)" \
459 "gxx_include_dir=$(gxx_include_dir)" \
460 "gcc_version=$(gcc_version)" \
461 "gcc_version_trigger=$(gcc_version_trigger)" \
462 "target_alias=$(target_alias)"
464 # For any flags above that may contain shell code that varies from one
465 # target library to another. When doing recursive invocations of the
466 # top-level Makefile, we don't want the outer make to evaluate them,
467 # so we pass these variables down unchanged. They must not contain
468 # single nor double quotes.
470 CXX_FOR_TARGET
='$(CXX_FOR_TARGET_FOR_RECURSIVE_MAKE)' \
471 RAW_CXX_FOR_TARGET
='$(RAW_CXX_FOR_TARGET_FOR_RECURSIVE_MAKE)' \
473 # Flags to pass down to most sub-makes, in which we're building with
474 # the host environment.
475 # If any variables are added here, they must be added to do-*, below.
481 'DLLTOOL=$(DLLTOOL)' \
487 FLAGS_TO_PASS
= $(BASE_FLAGS_TO_PASS
) $(EXTRA_HOST_FLAGS
)
489 # Flags that are concerned with the location of the X11 include files
492 # NOTE: until the top-level is getting the values via autoconf, it only
493 # causes problems to have this top-level Makefile overriding the autoconf-set
494 # values in child directories. Only variables that don't conflict with
495 # autoconf'ed ones should be passed by X11_FLAGS_TO_PASS for now.
497 X11_FLAGS_TO_PASS
= \
498 'X11_EXTRA_CFLAGS=$(X11_EXTRA_CFLAGS)' \
499 'X11_EXTRA_LIBS=$(X11_EXTRA_LIBS)'
501 # Flags to pass down to makes which are built with the target environment.
502 # The double $ decreases the length of the command line; the variables
503 # are set in BASE_FLAGS_TO_PASS, and the sub-make will expand them.
504 # If any variables are added here, they must be added to do-*, below.
505 EXTRA_TARGET_FLAGS
= \
506 'AR=$$(AR_FOR_TARGET)' \
507 'AS=$$(AS_FOR_TARGET)' \
508 'CC=$$(CC_FOR_TARGET)' \
509 'CFLAGS=$$(CFLAGS_FOR_TARGET)' \
510 'CXX=$$(CXX_FOR_TARGET)' \
511 'CXXFLAGS=$$(CXXFLAGS_FOR_TARGET)' \
512 'DLLTOOL=$$(DLLTOOL_FOR_TARGET)' \
513 'LD=$$(LD_FOR_TARGET)' \
514 'LIBCFLAGS=$$(LIBCFLAGS_FOR_TARGET)' \
515 'LIBCXXFLAGS=$$(LIBCXXFLAGS_FOR_TARGET)' \
516 'NM=$$(NM_FOR_TARGET)' \
517 'RANLIB=$$(RANLIB_FOR_TARGET)' \
518 'WINDRES=$$(WINDRES_FOR_TARGET)'
520 TARGET_FLAGS_TO_PASS
= $(BASE_FLAGS_TO_PASS
) $(EXTRA_TARGET_FLAGS
)
522 # Flags to pass down to gcc. gcc builds a library, libgcc.a, so it
523 # unfortunately needs the native compiler and the target ar and
525 # If any variables are added here, they must be added to do-*, below.
526 # The HOST_* variables are a special case, which are used for the gcc
527 # cross-building scheme.
533 'DLLTOOL=$$(DLLTOOL_FOR_TARGET)' \
534 'BUILD_CC=$(CC_FOR_BUILD)' \
535 'BUILD_PREFIX=$(BUILD_PREFIX)' \
536 'BUILD_PREFIX_1=$(BUILD_PREFIX_1)' \
539 'WINDRES=$$(WINDRES_FOR_TARGET)' \
540 "GCC_FOR_TARGET=$(GCC_FOR_TARGET)" \
541 "CFLAGS_FOR_BUILD=$(CFLAGS_FOR_BUILD)" \
542 "`echo 'LANGUAGES=$(LANGUAGES)' | sed -e s/.*=$$/XFOO=/`" \
543 "`echo 'STMP_FIXPROTO=$(STMP_FIXPROTO)' | sed -e s/.*=$$/XFOO=/`" \
544 "`echo 'LIMITS_H_TEST=$(LIMITS_H_TEST)' | sed -e s/.*=$$/XFOO=/`" \
545 "`echo 'LIBGCC2_CFLAGS=$(LIBGCC2_CFLAGS)' | sed -e s/.*=$$/XFOO=/`" \
546 "`echo 'LIBGCC2_DEBUG_CFLAGS=$(LIBGCC2_DEBUG_CFLAGS)' | sed -e s/.*=$$/XFOO=/`" \
547 "`echo 'LIBGCC2_INCLUDES=$(LIBGCC2_INCLUDES)' | sed -e s/.*=$$/XFOO=/`" \
548 "`echo 'ENQUIRE=$(ENQUIRE)' | sed -e s/.*=$$/XFOO=/`" \
549 "`echo 'STAGE1_CFLAGS=$(STAGE1_CFLAGS)' | sed -e s/.*=$$/XFOO=/`" \
550 "`echo 'BOOT_CFLAGS=$(BOOT_CFLAGS)' | sed -e s/.*=$$/XFOO=/`"
552 GCC_FLAGS_TO_PASS
= $(BASE_FLAGS_TO_PASS
) $(EXTRA_GCC_FLAGS
)
554 configure-host
: @configure_host_modules@
555 configure-target
: @configure_target_modules@
557 # This is a list of the targets for which we can do a clean-{target}.
618 # All of the target modules that can be cleaned
619 CLEAN_TARGET_MODULES
= \
620 clean-target-libstdc
++-v3 \
621 clean-target-newlib \
622 clean-target-libf2c \
623 clean-target-libobjc \
624 clean-target-winsup \
625 clean-target-libgloss \
626 clean-target-libiberty \
628 clean-target-examples \
629 clean-target-libffi \
630 clean-target-libjava \
632 clean-target-boehm-gc \
633 clean-target-qthreads \
636 # All of the x11 modules that can be cleaned
637 CLEAN_X11_MODULES
= \
644 # The target built for a native build.
645 # This list only includes modules actually being configured and built.
647 all.normal
: @all_build_modules@ \
651 all-host
: @all_host_modules@
652 all-target
: @all_target_modules@
654 # Do a target for all the subdirectories. A ``make do-X'' will do a
655 # ``make X'' in all subdirectories (because, in general, there is a
656 # dependency (below) of X upon do-X, a ``make X'' will also do this,
657 # but it may do additional work as well).
658 # This target ensures that $(BASE_FLAGS_TO_PASS) appears only once,
659 # because it is so large that it can easily overflow the command line
660 # length limit on some systems.
664 @r
=`${PWD}`; export r
; \
665 s
=`cd $(srcdir); ${PWD}`; export s
; \
667 for i in
$(SUBDIRS
) -dummy-
; do \
668 if
[ -f .
/$$i/Makefile
]; then \
671 for flag in
$(EXTRA_GCC_FLAGS
); do \
672 eval
`echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
676 for flag in
$(EXTRA_HOST_FLAGS
); do \
677 eval
`echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
682 $(MAKE
) $(BASE_FLAGS_TO_PASS
) "AR=$${AR}" "AS=$${AS}" \
683 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
684 "RANLIB=$${RANLIB}" \
685 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
690 # Break into two pieces
691 r
=`${PWD}`; export r
; \
692 s
=`cd $(srcdir); ${PWD}`; export s
; \
694 for i in
$(TARGET_CONFIGDIRS
) -dummy-
; do \
695 if
[ -f
$(TARGET_SUBDIR
)/$$i/Makefile
]; then \
696 for flag in
$(EXTRA_TARGET_FLAGS
); do \
697 eval
`echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
699 (cd
$(TARGET_SUBDIR
)/$$i && \
700 $(MAKE
) $(BASE_FLAGS_TO_PASS
) "AR=$${AR}" "AS=$${AS}" \
701 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
702 "RANLIB=$${RANLIB}" \
703 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
711 @r
=`${PWD}`; export r
; \
712 s
=`cd $(srcdir); ${PWD}`; export s
; \
714 for i in
$(SUBDIRS
) -dummy-
; do \
715 if
[ -f .
/$$i/Makefile
]; then \
718 for flag in
$(EXTRA_GCC_FLAGS
); do \
719 eval
`echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
723 for flag in
$(EXTRA_HOST_FLAGS
); do \
724 eval
`echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
729 $(MAKE
) $(BASE_FLAGS_TO_PASS
) "AR=$${AR}" "AS=$${AS}" \
730 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
731 "RANLIB=$${RANLIB}" \
732 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
737 # Break into two pieces
738 r
=`${PWD}`; export r
; \
739 s
=`cd $(srcdir); ${PWD}`; export s
; \
741 for i in
$(TARGET_CONFIGDIRS
) -dummy-
; do \
742 if
[ -f
$(TARGET_SUBDIR
)/$$i/Makefile
]; then \
743 for flag in
$(EXTRA_TARGET_FLAGS
); do \
744 eval
`echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
746 (cd
$(TARGET_SUBDIR
)/$$i && \
747 $(MAKE
) $(BASE_FLAGS_TO_PASS
) "AR=$${AR}" "AS=$${AS}" \
748 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
749 "RANLIB=$${RANLIB}" \
750 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
758 @r
=`${PWD}`; export r
; \
759 s
=`cd $(srcdir); ${PWD}`; export s
; \
761 for i in
$(SUBDIRS
) -dummy-
; do \
762 if
[ -f .
/$$i/Makefile
]; then \
765 for flag in
$(EXTRA_GCC_FLAGS
); do \
766 eval
`echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
770 for flag in
$(EXTRA_HOST_FLAGS
); do \
771 eval
`echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
776 $(MAKE
) $(BASE_FLAGS_TO_PASS
) "AR=$${AR}" "AS=$${AS}" \
777 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
778 "RANLIB=$${RANLIB}" \
779 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
784 # Break into two pieces
785 r
=`${PWD}`; export r
; \
786 s
=`cd $(srcdir); ${PWD}`; export s
; \
788 for i in
$(TARGET_CONFIGDIRS
) -dummy-
; do \
789 if
[ -f
$(TARGET_SUBDIR
)/$$i/Makefile
]; then \
790 for flag in
$(EXTRA_TARGET_FLAGS
); do \
791 eval
`echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
793 (cd
$(TARGET_SUBDIR
)/$$i && \
794 $(MAKE
) $(BASE_FLAGS_TO_PASS
) "AR=$${AR}" "AS=$${AS}" \
795 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
796 "RANLIB=$${RANLIB}" \
797 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
805 @r
=`${PWD}`; export r
; \
806 s
=`cd $(srcdir); ${PWD}`; export s
; \
808 for i in
$(SUBDIRS
) -dummy-
; do \
809 if
[ -f .
/$$i/Makefile
]; then \
812 for flag in
$(EXTRA_GCC_FLAGS
); do \
813 eval
`echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
817 for flag in
$(EXTRA_HOST_FLAGS
); do \
818 eval
`echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
823 $(MAKE
) $(BASE_FLAGS_TO_PASS
) "AR=$${AR}" "AS=$${AS}" \
824 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
825 "RANLIB=$${RANLIB}" \
826 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
831 # Break into two pieces
832 r
=`${PWD}`; export r
; \
833 s
=`cd $(srcdir); ${PWD}`; export s
; \
835 for i in
$(TARGET_CONFIGDIRS
) -dummy-
; do \
836 if
[ -f
$(TARGET_SUBDIR
)/$$i/Makefile
]; then \
837 for flag in
$(EXTRA_TARGET_FLAGS
); do \
838 eval
`echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
840 (cd
$(TARGET_SUBDIR
)/$$i && \
841 $(MAKE
) $(BASE_FLAGS_TO_PASS
) "AR=$${AR}" "AS=$${AS}" \
842 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
843 "RANLIB=$${RANLIB}" \
844 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
850 .PHONY
: do-install-info
852 @r
=`${PWD}`; export r
; \
853 s
=`cd $(srcdir); ${PWD}`; export s
; \
855 for i in
$(SUBDIRS
) -dummy-
; do \
856 if
[ -f .
/$$i/Makefile
]; then \
859 for flag in
$(EXTRA_GCC_FLAGS
); do \
860 eval
`echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
864 for flag in
$(EXTRA_HOST_FLAGS
); do \
865 eval
`echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
870 $(MAKE
) $(BASE_FLAGS_TO_PASS
) "AR=$${AR}" "AS=$${AS}" \
871 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
872 "RANLIB=$${RANLIB}" \
873 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
878 # Break into two pieces
879 r
=`${PWD}`; export r
; \
880 s
=`cd $(srcdir); ${PWD}`; export s
; \
882 for i in
$(TARGET_CONFIGDIRS
) -dummy-
; do \
883 if
[ -f
$(TARGET_SUBDIR
)/$$i/Makefile
]; then \
884 for flag in
$(EXTRA_TARGET_FLAGS
); do \
885 eval
`echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
887 (cd
$(TARGET_SUBDIR
)/$$i && \
888 $(MAKE
) $(BASE_FLAGS_TO_PASS
) "AR=$${AR}" "AS=$${AS}" \
889 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
890 "RANLIB=$${RANLIB}" \
891 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
897 .PHONY
: do-installcheck
899 @r
=`${PWD}`; export r
; \
900 s
=`cd $(srcdir); ${PWD}`; export s
; \
902 for i in
$(SUBDIRS
) -dummy-
; do \
903 if
[ -f .
/$$i/Makefile
]; then \
906 for flag in
$(EXTRA_GCC_FLAGS
); do \
907 eval
`echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
911 for flag in
$(EXTRA_HOST_FLAGS
); do \
912 eval
`echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
917 $(MAKE
) $(BASE_FLAGS_TO_PASS
) "AR=$${AR}" "AS=$${AS}" \
918 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
919 "RANLIB=$${RANLIB}" \
920 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
925 # Break into two pieces
926 r
=`${PWD}`; export r
; \
927 s
=`cd $(srcdir); ${PWD}`; export s
; \
929 for i in
$(TARGET_CONFIGDIRS
) -dummy-
; do \
930 if
[ -f
$(TARGET_SUBDIR
)/$$i/Makefile
]; then \
931 for flag in
$(EXTRA_TARGET_FLAGS
); do \
932 eval
`echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
934 (cd
$(TARGET_SUBDIR
)/$$i && \
935 $(MAKE
) $(BASE_FLAGS_TO_PASS
) "AR=$${AR}" "AS=$${AS}" \
936 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
937 "RANLIB=$${RANLIB}" \
938 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
944 .PHONY
: do-mostlyclean
946 @r
=`${PWD}`; export r
; \
947 s
=`cd $(srcdir); ${PWD}`; export s
; \
949 for i in
$(SUBDIRS
) -dummy-
; do \
950 if
[ -f .
/$$i/Makefile
]; then \
953 for flag in
$(EXTRA_GCC_FLAGS
); do \
954 eval
`echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
958 for flag in
$(EXTRA_HOST_FLAGS
); do \
959 eval
`echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
964 $(MAKE
) $(BASE_FLAGS_TO_PASS
) "AR=$${AR}" "AS=$${AS}" \
965 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
966 "RANLIB=$${RANLIB}" \
967 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
972 # Break into two pieces
973 r
=`${PWD}`; export r
; \
974 s
=`cd $(srcdir); ${PWD}`; export s
; \
976 for i in
$(TARGET_CONFIGDIRS
) -dummy-
; do \
977 if
[ -f
$(TARGET_SUBDIR
)/$$i/Makefile
]; then \
978 for flag in
$(EXTRA_TARGET_FLAGS
); do \
979 eval
`echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
981 (cd
$(TARGET_SUBDIR
)/$$i && \
982 $(MAKE
) $(BASE_FLAGS_TO_PASS
) "AR=$${AR}" "AS=$${AS}" \
983 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
984 "RANLIB=$${RANLIB}" \
985 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
991 .PHONY
: do-maintainer-clean
993 @r
=`${PWD}`; export r
; \
994 s
=`cd $(srcdir); ${PWD}`; export s
; \
996 for i in
$(SUBDIRS
) -dummy-
; do \
997 if
[ -f .
/$$i/Makefile
]; then \
1000 for flag in
$(EXTRA_GCC_FLAGS
); do \
1001 eval
`echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
1005 for flag in
$(EXTRA_HOST_FLAGS
); do \
1006 eval
`echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
1011 $(MAKE
) $(BASE_FLAGS_TO_PASS
) "AR=$${AR}" "AS=$${AS}" \
1012 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
1013 "RANLIB=$${RANLIB}" \
1014 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
1019 # Break into two pieces
1020 r
=`${PWD}`; export r
; \
1021 s
=`cd $(srcdir); ${PWD}`; export s
; \
1023 for i in
$(TARGET_CONFIGDIRS
) -dummy-
; do \
1024 if
[ -f
$(TARGET_SUBDIR
)/$$i/Makefile
]; then \
1025 for flag in
$(EXTRA_TARGET_FLAGS
); do \
1026 eval
`echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
1028 (cd
$(TARGET_SUBDIR
)/$$i && \
1029 $(MAKE
) $(BASE_FLAGS_TO_PASS
) "AR=$${AR}" "AS=$${AS}" \
1030 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
1031 "RANLIB=$${RANLIB}" \
1032 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
1040 @r
=`${PWD}`; export r
; \
1041 s
=`cd $(srcdir); ${PWD}`; export s
; \
1043 for i in
$(SUBDIRS
) -dummy-
; do \
1044 if
[ -f .
/$$i/Makefile
]; then \
1047 for flag in
$(EXTRA_GCC_FLAGS
); do \
1048 eval
`echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
1052 for flag in
$(EXTRA_HOST_FLAGS
); do \
1053 eval
`echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
1058 $(MAKE
) $(BASE_FLAGS_TO_PASS
) "AR=$${AR}" "AS=$${AS}" \
1059 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
1060 "RANLIB=$${RANLIB}" \
1061 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
1066 # Break into two pieces
1067 r
=`${PWD}`; export r
; \
1068 s
=`cd $(srcdir); ${PWD}`; export s
; \
1070 for i in
$(TARGET_CONFIGDIRS
) -dummy-
; do \
1071 if
[ -f
$(TARGET_SUBDIR
)/$$i/Makefile
]; then \
1072 for flag in
$(EXTRA_TARGET_FLAGS
); do \
1073 eval
`echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
1075 (cd
$(TARGET_SUBDIR
)/$$i && \
1076 $(MAKE
) $(BASE_FLAGS_TO_PASS
) "AR=$${AR}" "AS=$${AS}" \
1077 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
1078 "RANLIB=$${RANLIB}" \
1079 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
1087 # Here are the targets which correspond to the do-X targets.
1089 .PHONY
: info installcheck dvi install-info
1090 .PHONY
: clean distclean mostlyclean maintainer-clean
realclean
1091 .PHONY
: local-clean local-distclean local-maintainer-clean
1093 installcheck: do-installcheck
1096 # Make sure makeinfo is built before we do a `make info', if we're
1097 # in fact building texinfo.
1098 do-info
: maybe-all-texinfo
1100 install-info
: do-install-info
dir.
info
1101 s
=`cd $(srcdir); ${PWD}`; export s
; \
1102 if
[ -f
dir.
info ] ; then \
1103 $(INSTALL_DATA
) dir.
info $(DESTDIR
)$(infodir)/dir.
info ; \
1107 -rm -f
*.a TEMP errs core
*.o
*~ \
#* TAGS *.E *.log
1110 -rm -f Makefile config.status config.cache mh-frag mt-frag
1111 -rm -f multilib.out multilib.tmp maybedep.tmp serdep.tmp
1112 -if
[ "$(TARGET_SUBDIR)" != "." ]; then \
1113 rm -rf
$(TARGET_SUBDIR
); \
1115 -rm -rf
$(BUILD_SUBDIR
)
1116 -rm -f texinfo
/po
/Makefile texinfo
/po
/Makefile.in texinfo
/info/Makefile
1117 -rm -f texinfo
/doc
/Makefile texinfo
/po
/POTFILES
1118 -rmdir texinfo
/doc texinfo
/info texinfo
/intl texinfo
/lib
2>/dev
/null
1119 -rmdir texinfo
/makeinfo texinfo
/po texinfo
/util
2>/dev
/null
1120 -rmdir fastjar gcc libiberty texinfo zlib
2>/dev
/null
1122 local-maintainer-clean
:
1123 @echo
"This command is intended for maintainers to use;"
1124 @echo
"it deletes files that may require special tools to rebuild."
1126 clean: do-clean local-clean
1127 mostlyclean: do-mostlyclean local-clean
1128 distclean: do-distclean local-clean local-distclean
1129 maintainer-clean
: local-maintainer-clean do-maintainer-clean local-clean
1130 maintainer-clean
: local-distclean
1131 realclean: maintainer-clean
1133 # This rule is used to clean specific modules.
1134 .PHONY
: $(CLEAN_MODULES
) $(CLEAN_X11_MODULES
) clean-gcc
1135 $(CLEAN_MODULES
) $(CLEAN_X11_MODULES
) clean-gcc
:
1136 @
dir=`echo $@ | sed -e 's/clean-//'`; \
1137 if
[ -f .
/$${dir}/Makefile
] ; then \
1138 r
=`${PWD}`; export r
; \
1139 s
=`cd $(srcdir); ${PWD}`; export s
; \
1141 (cd
$${dir} && $(MAKE
) $(FLAGS_TO_PASS
) clean); \
1146 .PHONY
: $(CLEAN_TARGET_MODULES
)
1147 $(CLEAN_TARGET_MODULES
):
1148 @
dir=`echo $@ | sed -e 's/clean-target-//'`; \
1149 rm -f
$(TARGET_SUBDIR
)/$${dir}/multilib.out
$(TARGET_SUBDIR
)/$${dir}/tmpmulti.out
; \
1150 if
[ -f
$(TARGET_SUBDIR
)/$${dir}/Makefile
] ; then \
1151 r
=`${PWD}`; export r
; \
1152 s
=`cd $(srcdir); ${PWD}`; export s
; \
1154 (cd
$(TARGET_SUBDIR
)/$${dir} && $(MAKE
) $(TARGET_FLAGS_TO_PASS
) clean); \
1159 clean-target
: $(CLEAN_TARGET_MODULES
) clean-target-libgcc
1160 clean-target-libgcc
:
1161 test ! -d gcc
/libgcc || \
1162 (cd gcc
/libgcc
&& find .
-type d
-print) | \
1163 while read d
; do
rm -f gcc
/$$d/libgcc.a ||
: ; done
1168 .PHONY
: check do-check
1170 $(MAKE
) do-check NOTPARALLEL
=parallel-ok
1172 # Only include modules actually being configured and built.
1173 do-check
: @check_host_modules@ \
1174 @check_target_modules@
1176 # Automated reporting of test results.
1178 warning.log
: build.log
1179 $(srcdir)/contrib
/warn_summary build.log
> $@
1182 if
test x
'$(BOOT_CFLAGS)' != x
''; then \
1183 BOOT_CFLAGS
='$(BOOT_CFLAGS)'; export BOOT_CFLAGS
; \
1185 $(srcdir)/contrib
/test_summary
-t
>$@
1187 echo If you really want to send e-mail
, run .
/$@ now
1189 mail-report-with-warnings.log
: warning.log
1190 if
test x
'$(BOOT_CFLAGS)' != x
''; then \
1191 BOOT_CFLAGS
='$(BOOT_CFLAGS)'; export BOOT_CFLAGS
; \
1193 $(srcdir)/contrib
/test_summary
-t
-i warning.log
>$@
1195 echo If you really want to send e-mail
, run .
/$@ now
1197 # Installation targets.
1199 .PHONY
: install uninstall
1200 install: installdirs @install_host_modules@ @install_target_modules@
1202 install-target
: @install_target_modules@
1205 @echo
"the uninstall target is not supported in this tree"
1208 install.
all: install-no-fixedincludes
1209 @if
[ -f .
/gcc
/Makefile
] ; then \
1210 r
=`${PWD}` ; export r
; \
1213 $(MAKE
) $(FLAGS_TO_PASS
) install-headers
) ; \
1218 # install-no-fixedincludes is used because Cygnus can not distribute
1219 # the fixed header files.
1220 .PHONY
: install-no-fixedincludes
1221 install-no-fixedincludes
: installdirs @install_host_modules_nogcc@ \
1222 @install_target_modules@ gcc-no-fixedincludes
1224 ### other supporting targets
1227 $(DESTDIR
)$(prefix) \
1228 $(DESTDIR
)$(exec_prefix)
1230 installdirs: mkinstalldirs
1231 $(SHELL
) $(srcdir)/mkinstalldirs
$(MAKEDIRS
)
1233 dir.
info: do-install-info
1234 if
[ -f
$(srcdir)/texinfo
/gen-info-dir
] ; then \
1235 $(srcdir)/texinfo
/gen-info-dir
$(DESTDIR
)$(infodir) $(srcdir)/texinfo
/dir.info-template
> dir.
info.new
; \
1236 mv
-f
dir.
info.new
dir.
info ; \
1241 @echo
"Building a full distribution of this tree isn't done"
1242 @echo
"via 'make dist'. Check out the etc/ subdirectory"
1246 # Right now this just builds TAGS in each subdirectory. emacs19 has the
1247 # ability to use several tags files at once, so there is probably no need
1248 # to combine them into one big TAGS file (like CVS 1.3 does). We could
1249 # (if we felt like it) have this Makefile write a piece of elisp which
1250 # the user could load to tell emacs19 where all the TAGS files we just
1254 # --------------------------------------
1255 # Modules which run on the build machine
1256 # --------------------------------------
1258 .PHONY
: configure-build-libiberty maybe-configure-build-libiberty
1259 maybe-configure-build-libiberty
:
1260 configure-build-libiberty
:
1261 @
test ! -f
$(BUILD_SUBDIR
)/libiberty
/Makefile || exit
0; \
1262 [ -d
$(BUILD_SUBDIR
)/libiberty
] || \
1263 mkdir
$(BUILD_SUBDIR
)/libiberty
;\
1264 r
=`${PWD}`; export r
; \
1265 s
=`cd $(srcdir); ${PWD}`; export s
; \
1266 AR
="$(AR_FOR_BUILD)"; export AR
; \
1267 AS
="$(AS_FOR_BUILD)"; export AS
; \
1268 CC
="$(CC_FOR_BUILD)"; export CC
; \
1269 CFLAGS
="$(CFLAGS_FOR_BUILD)"; export CFLAGS
; \
1270 CXX
="$(CXX_FOR_BUILD)"; export CXX
; \
1271 CXXFLAGS
="$(CXXFLAGS_FOR_BUILD)"; export CXXFLAGS
; \
1272 GCJ
="$(GCJ_FOR_BUILD)"; export GCJ
; \
1273 DLLTOOL
="$(DLLTOOL_FOR_BUILD)"; export DLLTOOL
; \
1274 LD
="$(LD_FOR_BUILD)"; export LD
; \
1275 LDFLAGS
="$(LDFLAGS_FOR_BUILD)"; export LDFLAGS
; \
1276 NM
="$(NM_FOR_BUILD)"; export NM
; \
1277 RANLIB
="$(RANLIB_FOR_BUILD)"; export RANLIB
; \
1278 WINDRES
="$(WINDRES_FOR_BUILD)"; export WINDRES
; \
1279 echo Configuring in
$(BUILD_SUBDIR
)/libiberty
; \
1280 cd
"$(BUILD_SUBDIR)/libiberty" || exit
1; \
1282 /* |
[A-Za-z
]:[\\/]*) \
1283 topdir
=$(srcdir) ;; \
1285 case
"$(BUILD_SUBDIR)" in \
1286 .
) topdir
="../$(srcdir)" ;; \
1287 *) topdir
="../../$(srcdir)" ;; \
1290 if
[ "$(srcdir)" = "." ] ; then \
1291 if
[ "$(BUILD_SUBDIR)" != "." ] ; then \
1292 if
$(SHELL
) $$s/symlink-tree
$${topdir}/libiberty
"no-such-file" ; then \
1293 if
[ -f Makefile
]; then \
1294 if
$(MAKE
) distclean; then \
1308 srcdiroption
="--srcdir=."; \
1311 srcdiroption
="--srcdir=$${topdir}/libiberty"; \
1312 libsrcdir
="$$s/libiberty"; \
1314 rm -f no-such-file ||
: ; \
1315 CONFIG_SITE
=no-such-file
$(SHELL
) $${libsrcdir}/configure \
1316 $(BUILD_CONFIGARGS
) $${srcdiroption} \
1317 --with-build-subdir
="$(BUILD_SUBDIR)" \
1320 .PHONY
: all-build-libiberty maybe-all-build-libiberty
1321 maybe-all-build-libiberty
:
1322 all-build-libiberty
: configure-build-libiberty
1323 @r
=`${PWD}`; export r
; \
1324 s
=`cd $(srcdir); ${PWD}`; export s
; \
1325 (cd
$(BUILD_SUBDIR
)/libiberty
&& $(MAKE
) all)
1328 # --------------------------------------
1329 # Modules which run on the host machine
1330 # --------------------------------------
1332 .PHONY
: configure-ash maybe-configure-ash
1333 maybe-configure-ash
:
1335 @
test ! -f ash
/Makefile || exit
0; \
1336 [ -d ash
] || mkdir ash
; \
1337 r
=`${PWD}`; export r
; \
1338 s
=`cd $(srcdir); ${PWD}`; export s
; \
1339 CC
="$(CC)"; export CC
; \
1340 CFLAGS
="$(CFLAGS)"; export CFLAGS
; \
1341 CXX
="$(CXX)"; export CXX
; \
1342 CXXFLAGS
="$(CXXFLAGS)"; export CXXFLAGS
; \
1343 if
[ z
$(build_canonical
) != z
$(host_canoncial
) ] ; then \
1344 AR
="$(AR)"; export AR
; \
1345 AS
="$(AS)"; export AS
; \
1346 CC_FOR_BUILD
="$(CC_FOR_BUILD)"; export CC_FOR_BUILD
; \
1347 DLLTOOL
="$(DLLTOOL)"; export DLLTOOL
; \
1348 LD
="$(LD)"; export LD
; \
1349 NM
="$(NM)"; export NM
; \
1350 RANLIB
="$(RANLIB)"; export RANLIB
; \
1351 WINDRES
="$(WINDRES)"; export WINDRES
; \
1352 OBJCOPY
="$(OBJCOPY)"; export OBJCOPY
; \
1353 OBJDUMP
="$(OBJDUMP)"; export OBJDUMP
; \
1355 echo Configuring in ash
; \
1359 srcdiroption
="--srcdir=."; \
1361 /* |
[A-Za-z
]:[\\/]*) \
1362 srcdiroption
="--srcdir=$(srcdir)/ash"; \
1363 libsrcdir
="$$s/ash";; \
1365 srcdiroption
="--srcdir=../$(srcdir)/ash"; \
1366 libsrcdir
="$$s/ash";; \
1368 $(SHELL
) $${libsrcdir}/configure \
1369 $(HOST_CONFIGARGS
) $${srcdiroption} \
1372 .PHONY
: all-ash maybe-all-ash
1374 all-ash
: configure-ash
1375 @r
=`${PWD}`; export r
; \
1376 s
=`cd $(srcdir); ${PWD}`; export s
; \
1378 (cd ash
&& $(MAKE
) $(FLAGS_TO_PASS
) all)
1383 @r
=`${PWD}`; export r
; \
1384 s
=`cd $(srcdir); ${PWD}`; export s
; \
1386 (cd ash
&& $(MAKE
) $(FLAGS_TO_PASS
) check)
1390 .PHONY
: install-ash maybe-install-ash
1392 install-ash
: installdirs
1393 @r
=`${PWD}`; export r
; \
1394 s
=`cd $(srcdir); ${PWD}`; export s
; \
1396 (cd ash
&& $(MAKE
) $(FLAGS_TO_PASS
) install)
1399 .PHONY
: configure-autoconf maybe-configure-autoconf
1400 maybe-configure-autoconf
:
1402 @
test ! -f autoconf
/Makefile || exit
0; \
1403 [ -d autoconf
] || mkdir autoconf
; \
1404 r
=`${PWD}`; export r
; \
1405 s
=`cd $(srcdir); ${PWD}`; export s
; \
1406 CC
="$(CC)"; export CC
; \
1407 CFLAGS
="$(CFLAGS)"; export CFLAGS
; \
1408 CXX
="$(CXX)"; export CXX
; \
1409 CXXFLAGS
="$(CXXFLAGS)"; export CXXFLAGS
; \
1410 if
[ z
$(build_canonical
) != z
$(host_canoncial
) ] ; then \
1411 AR
="$(AR)"; export AR
; \
1412 AS
="$(AS)"; export AS
; \
1413 CC_FOR_BUILD
="$(CC_FOR_BUILD)"; export CC_FOR_BUILD
; \
1414 DLLTOOL
="$(DLLTOOL)"; export DLLTOOL
; \
1415 LD
="$(LD)"; export LD
; \
1416 NM
="$(NM)"; export NM
; \
1417 RANLIB
="$(RANLIB)"; export RANLIB
; \
1418 WINDRES
="$(WINDRES)"; export WINDRES
; \
1419 OBJCOPY
="$(OBJCOPY)"; export OBJCOPY
; \
1420 OBJDUMP
="$(OBJDUMP)"; export OBJDUMP
; \
1422 echo Configuring in autoconf
; \
1423 cd autoconf || exit
1; \
1426 srcdiroption
="--srcdir=."; \
1428 /* |
[A-Za-z
]:[\\/]*) \
1429 srcdiroption
="--srcdir=$(srcdir)/autoconf"; \
1430 libsrcdir
="$$s/autoconf";; \
1432 srcdiroption
="--srcdir=../$(srcdir)/autoconf"; \
1433 libsrcdir
="$$s/autoconf";; \
1435 $(SHELL
) $${libsrcdir}/configure \
1436 $(HOST_CONFIGARGS
) $${srcdiroption} \
1439 .PHONY
: all-autoconf maybe-all-autoconf
1441 all-autoconf
: configure-autoconf
1442 @r
=`${PWD}`; export r
; \
1443 s
=`cd $(srcdir); ${PWD}`; export s
; \
1445 (cd autoconf
&& $(MAKE
) $(FLAGS_TO_PASS
) all)
1448 .PHONY
: check-autoconf
1450 @r
=`${PWD}`; export r
; \
1451 s
=`cd $(srcdir); ${PWD}`; export s
; \
1453 (cd autoconf
&& $(MAKE
) $(FLAGS_TO_PASS
) check)
1457 .PHONY
: install-autoconf maybe-install-autoconf
1458 maybe-install-autoconf
:
1459 install-autoconf
: installdirs
1460 @r
=`${PWD}`; export r
; \
1461 s
=`cd $(srcdir); ${PWD}`; export s
; \
1463 (cd autoconf
&& $(MAKE
) $(FLAGS_TO_PASS
) install)
1466 .PHONY
: configure-automake maybe-configure-automake
1467 maybe-configure-automake
:
1469 @
test ! -f automake
/Makefile || exit
0; \
1470 [ -d automake
] || mkdir automake
; \
1471 r
=`${PWD}`; export r
; \
1472 s
=`cd $(srcdir); ${PWD}`; export s
; \
1473 CC
="$(CC)"; export CC
; \
1474 CFLAGS
="$(CFLAGS)"; export CFLAGS
; \
1475 CXX
="$(CXX)"; export CXX
; \
1476 CXXFLAGS
="$(CXXFLAGS)"; export CXXFLAGS
; \
1477 if
[ z
$(build_canonical
) != z
$(host_canoncial
) ] ; then \
1478 AR
="$(AR)"; export AR
; \
1479 AS
="$(AS)"; export AS
; \
1480 CC_FOR_BUILD
="$(CC_FOR_BUILD)"; export CC_FOR_BUILD
; \
1481 DLLTOOL
="$(DLLTOOL)"; export DLLTOOL
; \
1482 LD
="$(LD)"; export LD
; \
1483 NM
="$(NM)"; export NM
; \
1484 RANLIB
="$(RANLIB)"; export RANLIB
; \
1485 WINDRES
="$(WINDRES)"; export WINDRES
; \
1486 OBJCOPY
="$(OBJCOPY)"; export OBJCOPY
; \
1487 OBJDUMP
="$(OBJDUMP)"; export OBJDUMP
; \
1489 echo Configuring in automake
; \
1490 cd automake || exit
1; \
1493 srcdiroption
="--srcdir=."; \
1495 /* |
[A-Za-z
]:[\\/]*) \
1496 srcdiroption
="--srcdir=$(srcdir)/automake"; \
1497 libsrcdir
="$$s/automake";; \
1499 srcdiroption
="--srcdir=../$(srcdir)/automake"; \
1500 libsrcdir
="$$s/automake";; \
1502 $(SHELL
) $${libsrcdir}/configure \
1503 $(HOST_CONFIGARGS
) $${srcdiroption} \
1506 .PHONY
: all-automake maybe-all-automake
1508 all-automake
: configure-automake
1509 @r
=`${PWD}`; export r
; \
1510 s
=`cd $(srcdir); ${PWD}`; export s
; \
1512 (cd automake
&& $(MAKE
) $(FLAGS_TO_PASS
) all)
1515 .PHONY
: check-automake
1517 @r
=`${PWD}`; export r
; \
1518 s
=`cd $(srcdir); ${PWD}`; export s
; \
1520 (cd automake
&& $(MAKE
) $(FLAGS_TO_PASS
) check)
1524 .PHONY
: install-automake maybe-install-automake
1525 maybe-install-automake
:
1526 install-automake
: installdirs
1527 @r
=`${PWD}`; export r
; \
1528 s
=`cd $(srcdir); ${PWD}`; export s
; \
1530 (cd automake
&& $(MAKE
) $(FLAGS_TO_PASS
) install)
1533 .PHONY
: configure-bash maybe-configure-bash
1534 maybe-configure-bash
:
1536 @
test ! -f bash
/Makefile || exit
0; \
1537 [ -d bash
] || mkdir bash
; \
1538 r
=`${PWD}`; export r
; \
1539 s
=`cd $(srcdir); ${PWD}`; export s
; \
1540 CC
="$(CC)"; export CC
; \
1541 CFLAGS
="$(CFLAGS)"; export CFLAGS
; \
1542 CXX
="$(CXX)"; export CXX
; \
1543 CXXFLAGS
="$(CXXFLAGS)"; export CXXFLAGS
; \
1544 if
[ z
$(build_canonical
) != z
$(host_canoncial
) ] ; then \
1545 AR
="$(AR)"; export AR
; \
1546 AS
="$(AS)"; export AS
; \
1547 CC_FOR_BUILD
="$(CC_FOR_BUILD)"; export CC_FOR_BUILD
; \
1548 DLLTOOL
="$(DLLTOOL)"; export DLLTOOL
; \
1549 LD
="$(LD)"; export LD
; \
1550 NM
="$(NM)"; export NM
; \
1551 RANLIB
="$(RANLIB)"; export RANLIB
; \
1552 WINDRES
="$(WINDRES)"; export WINDRES
; \
1553 OBJCOPY
="$(OBJCOPY)"; export OBJCOPY
; \
1554 OBJDUMP
="$(OBJDUMP)"; export OBJDUMP
; \
1556 echo Configuring in bash
; \
1557 cd bash || exit
1; \
1560 srcdiroption
="--srcdir=."; \
1562 /* |
[A-Za-z
]:[\\/]*) \
1563 srcdiroption
="--srcdir=$(srcdir)/bash"; \
1564 libsrcdir
="$$s/bash";; \
1566 srcdiroption
="--srcdir=../$(srcdir)/bash"; \
1567 libsrcdir
="$$s/bash";; \
1569 $(SHELL
) $${libsrcdir}/configure \
1570 $(HOST_CONFIGARGS
) $${srcdiroption} \
1573 .PHONY
: all-bash maybe-all-bash
1575 all-bash
: configure-bash
1576 @r
=`${PWD}`; export r
; \
1577 s
=`cd $(srcdir); ${PWD}`; export s
; \
1579 (cd bash
&& $(MAKE
) $(FLAGS_TO_PASS
) all)
1584 @r
=`${PWD}`; export r
; \
1585 s
=`cd $(srcdir); ${PWD}`; export s
; \
1587 (cd bash
&& $(MAKE
) $(FLAGS_TO_PASS
) check)
1591 .PHONY
: install-bash maybe-install-bash
1593 install-bash
: installdirs
1594 @r
=`${PWD}`; export r
; \
1595 s
=`cd $(srcdir); ${PWD}`; export s
; \
1597 (cd bash
&& $(MAKE
) $(FLAGS_TO_PASS
) install)
1600 .PHONY
: configure-bfd maybe-configure-bfd
1601 maybe-configure-bfd
:
1603 @
test ! -f bfd
/Makefile || exit
0; \
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
1642 all-bfd
: configure-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
:
1670 @
test ! -f opcodes
/Makefile || exit
0; \
1671 [ -d opcodes
] || mkdir opcodes
; \
1672 r
=`${PWD}`; export r
; \
1673 s
=`cd $(srcdir); ${PWD}`; export s
; \
1674 CC
="$(CC)"; export CC
; \
1675 CFLAGS
="$(CFLAGS)"; export CFLAGS
; \
1676 CXX
="$(CXX)"; export CXX
; \
1677 CXXFLAGS
="$(CXXFLAGS)"; export CXXFLAGS
; \
1678 if
[ z
$(build_canonical
) != z
$(host_canoncial
) ] ; then \
1679 AR
="$(AR)"; export AR
; \
1680 AS
="$(AS)"; export AS
; \
1681 CC_FOR_BUILD
="$(CC_FOR_BUILD)"; export CC_FOR_BUILD
; \
1682 DLLTOOL
="$(DLLTOOL)"; export DLLTOOL
; \
1683 LD
="$(LD)"; export LD
; \
1684 NM
="$(NM)"; export NM
; \
1685 RANLIB
="$(RANLIB)"; export RANLIB
; \
1686 WINDRES
="$(WINDRES)"; export WINDRES
; \
1687 OBJCOPY
="$(OBJCOPY)"; export OBJCOPY
; \
1688 OBJDUMP
="$(OBJDUMP)"; export OBJDUMP
; \
1690 echo Configuring in opcodes
; \
1691 cd opcodes || exit
1; \
1694 srcdiroption
="--srcdir=."; \
1696 /* |
[A-Za-z
]:[\\/]*) \
1697 srcdiroption
="--srcdir=$(srcdir)/opcodes"; \
1698 libsrcdir
="$$s/opcodes";; \
1700 srcdiroption
="--srcdir=../$(srcdir)/opcodes"; \
1701 libsrcdir
="$$s/opcodes";; \
1703 $(SHELL
) $${libsrcdir}/configure \
1704 $(HOST_CONFIGARGS
) $${srcdiroption} \
1707 .PHONY
: all-opcodes maybe-all-opcodes
1709 all-opcodes
: configure-opcodes
1710 @r
=`${PWD}`; export r
; \
1711 s
=`cd $(srcdir); ${PWD}`; export s
; \
1713 (cd opcodes
&& $(MAKE
) $(FLAGS_TO_PASS
) all)
1716 .PHONY
: check-opcodes
1718 @r
=`${PWD}`; export r
; \
1719 s
=`cd $(srcdir); ${PWD}`; export s
; \
1721 (cd opcodes
&& $(MAKE
) $(FLAGS_TO_PASS
) check)
1725 .PHONY
: install-opcodes maybe-install-opcodes
1726 maybe-install-opcodes
:
1727 install-opcodes
: installdirs
1728 @r
=`${PWD}`; export r
; \
1729 s
=`cd $(srcdir); ${PWD}`; export s
; \
1731 (cd opcodes
&& $(MAKE
) $(FLAGS_TO_PASS
) install)
1734 .PHONY
: configure-binutils maybe-configure-binutils
1735 maybe-configure-binutils
:
1737 @
test ! -f binutils
/Makefile || exit
0; \
1738 [ -d binutils
] || mkdir binutils
; \
1739 r
=`${PWD}`; export r
; \
1740 s
=`cd $(srcdir); ${PWD}`; export s
; \
1741 CC
="$(CC)"; export CC
; \
1742 CFLAGS
="$(CFLAGS)"; export CFLAGS
; \
1743 CXX
="$(CXX)"; export CXX
; \
1744 CXXFLAGS
="$(CXXFLAGS)"; export CXXFLAGS
; \
1745 if
[ z
$(build_canonical
) != z
$(host_canoncial
) ] ; then \
1746 AR
="$(AR)"; export AR
; \
1747 AS
="$(AS)"; export AS
; \
1748 CC_FOR_BUILD
="$(CC_FOR_BUILD)"; export CC_FOR_BUILD
; \
1749 DLLTOOL
="$(DLLTOOL)"; export DLLTOOL
; \
1750 LD
="$(LD)"; export LD
; \
1751 NM
="$(NM)"; export NM
; \
1752 RANLIB
="$(RANLIB)"; export RANLIB
; \
1753 WINDRES
="$(WINDRES)"; export WINDRES
; \
1754 OBJCOPY
="$(OBJCOPY)"; export OBJCOPY
; \
1755 OBJDUMP
="$(OBJDUMP)"; export OBJDUMP
; \
1757 echo Configuring in binutils
; \
1758 cd binutils || exit
1; \
1761 srcdiroption
="--srcdir=."; \
1763 /* |
[A-Za-z
]:[\\/]*) \
1764 srcdiroption
="--srcdir=$(srcdir)/binutils"; \
1765 libsrcdir
="$$s/binutils";; \
1767 srcdiroption
="--srcdir=../$(srcdir)/binutils"; \
1768 libsrcdir
="$$s/binutils";; \
1770 $(SHELL
) $${libsrcdir}/configure \
1771 $(HOST_CONFIGARGS
) $${srcdiroption} \
1774 .PHONY
: all-binutils maybe-all-binutils
1776 all-binutils
: configure-binutils
1777 @r
=`${PWD}`; export r
; \
1778 s
=`cd $(srcdir); ${PWD}`; export s
; \
1780 (cd binutils
&& $(MAKE
) $(FLAGS_TO_PASS
) all)
1783 .PHONY
: check-binutils
1785 @r
=`${PWD}`; export r
; \
1786 s
=`cd $(srcdir); ${PWD}`; export s
; \
1788 (cd binutils
&& $(MAKE
) $(FLAGS_TO_PASS
) check)
1792 .PHONY
: install-binutils maybe-install-binutils
1793 maybe-install-binutils
:
1794 install-binutils
: installdirs
1795 @r
=`${PWD}`; export r
; \
1796 s
=`cd $(srcdir); ${PWD}`; export s
; \
1798 (cd binutils
&& $(MAKE
) $(FLAGS_TO_PASS
) install)
1801 .PHONY
: configure-bison maybe-configure-bison
1802 maybe-configure-bison
:
1804 @
test ! -f bison
/Makefile || exit
0; \
1805 [ -d bison
] || mkdir bison
; \
1806 r
=`${PWD}`; export r
; \
1807 s
=`cd $(srcdir); ${PWD}`; export s
; \
1808 CC
="$(CC)"; export CC
; \
1809 CFLAGS
="$(CFLAGS)"; export CFLAGS
; \
1810 CXX
="$(CXX)"; export CXX
; \
1811 CXXFLAGS
="$(CXXFLAGS)"; export CXXFLAGS
; \
1812 if
[ z
$(build_canonical
) != z
$(host_canoncial
) ] ; then \
1813 AR
="$(AR)"; export AR
; \
1814 AS
="$(AS)"; export AS
; \
1815 CC_FOR_BUILD
="$(CC_FOR_BUILD)"; export CC_FOR_BUILD
; \
1816 DLLTOOL
="$(DLLTOOL)"; export DLLTOOL
; \
1817 LD
="$(LD)"; export LD
; \
1818 NM
="$(NM)"; export NM
; \
1819 RANLIB
="$(RANLIB)"; export RANLIB
; \
1820 WINDRES
="$(WINDRES)"; export WINDRES
; \
1821 OBJCOPY
="$(OBJCOPY)"; export OBJCOPY
; \
1822 OBJDUMP
="$(OBJDUMP)"; export OBJDUMP
; \
1824 echo Configuring in bison
; \
1825 cd bison || exit
1; \
1828 srcdiroption
="--srcdir=."; \
1830 /* |
[A-Za-z
]:[\\/]*) \
1831 srcdiroption
="--srcdir=$(srcdir)/bison"; \
1832 libsrcdir
="$$s/bison";; \
1834 srcdiroption
="--srcdir=../$(srcdir)/bison"; \
1835 libsrcdir
="$$s/bison";; \
1837 $(SHELL
) $${libsrcdir}/configure \
1838 $(HOST_CONFIGARGS
) $${srcdiroption} \
1841 .PHONY
: all-bison maybe-all-bison
1843 all-bison
: configure-bison
1844 @r
=`${PWD}`; export r
; \
1845 s
=`cd $(srcdir); ${PWD}`; export s
; \
1847 (cd bison
&& $(MAKE
) $(FLAGS_TO_PASS
) all)
1851 # This module is only tested in a native toolchain.
1853 @if
[ '$(host_canonical)' = '$(target_canonical)' ] ; then \
1854 r
=`${PWD}`; export r
; \
1855 s
=`cd $(srcdir); ${PWD}`; export s
; \
1857 (cd bison
&& $(MAKE
) $(FLAGS_TO_PASS
) check); \
1862 .PHONY
: install-bison maybe-install-bison
1863 maybe-install-bison
:
1864 install-bison
: installdirs
1865 @r
=`${PWD}`; export r
; \
1866 s
=`cd $(srcdir); ${PWD}`; export s
; \
1868 (cd bison
&& $(MAKE
) $(FLAGS_TO_PASS
) install)
1871 .PHONY
: configure-byacc maybe-configure-byacc
1872 maybe-configure-byacc
:
1874 @
test ! -f byacc
/Makefile || exit
0; \
1875 [ -d byacc
] || mkdir byacc
; \
1876 r
=`${PWD}`; export r
; \
1877 s
=`cd $(srcdir); ${PWD}`; export s
; \
1878 CC
="$(CC)"; export CC
; \
1879 CFLAGS
="$(CFLAGS)"; export CFLAGS
; \
1880 CXX
="$(CXX)"; export CXX
; \
1881 CXXFLAGS
="$(CXXFLAGS)"; export CXXFLAGS
; \
1882 if
[ z
$(build_canonical
) != z
$(host_canoncial
) ] ; then \
1883 AR
="$(AR)"; export AR
; \
1884 AS
="$(AS)"; export AS
; \
1885 CC_FOR_BUILD
="$(CC_FOR_BUILD)"; export CC_FOR_BUILD
; \
1886 DLLTOOL
="$(DLLTOOL)"; export DLLTOOL
; \
1887 LD
="$(LD)"; export LD
; \
1888 NM
="$(NM)"; export NM
; \
1889 RANLIB
="$(RANLIB)"; export RANLIB
; \
1890 WINDRES
="$(WINDRES)"; export WINDRES
; \
1891 OBJCOPY
="$(OBJCOPY)"; export OBJCOPY
; \
1892 OBJDUMP
="$(OBJDUMP)"; export OBJDUMP
; \
1894 echo Configuring in byacc
; \
1895 cd byacc || exit
1; \
1898 srcdiroption
="--srcdir=."; \
1900 /* |
[A-Za-z
]:[\\/]*) \
1901 srcdiroption
="--srcdir=$(srcdir)/byacc"; \
1902 libsrcdir
="$$s/byacc";; \
1904 srcdiroption
="--srcdir=../$(srcdir)/byacc"; \
1905 libsrcdir
="$$s/byacc";; \
1907 $(SHELL
) $${libsrcdir}/configure \
1908 $(HOST_CONFIGARGS
) $${srcdiroption} \
1911 .PHONY
: all-byacc maybe-all-byacc
1913 all-byacc
: configure-byacc
1914 @r
=`${PWD}`; export r
; \
1915 s
=`cd $(srcdir); ${PWD}`; export s
; \
1917 (cd byacc
&& $(MAKE
) $(FLAGS_TO_PASS
) all)
1921 # This module is only tested in a native toolchain.
1923 @if
[ '$(host_canonical)' = '$(target_canonical)' ] ; then \
1924 r
=`${PWD}`; export r
; \
1925 s
=`cd $(srcdir); ${PWD}`; export s
; \
1927 (cd byacc
&& $(MAKE
) $(FLAGS_TO_PASS
) check); \
1932 .PHONY
: install-byacc maybe-install-byacc
1933 maybe-install-byacc
:
1934 install-byacc
: installdirs
1935 @r
=`${PWD}`; export r
; \
1936 s
=`cd $(srcdir); ${PWD}`; export s
; \
1938 (cd byacc
&& $(MAKE
) $(FLAGS_TO_PASS
) install)
1941 .PHONY
: configure-bzip2 maybe-configure-bzip2
1942 maybe-configure-bzip2
:
1944 @
test ! -f bzip2
/Makefile || exit
0; \
1945 [ -d bzip2
] || mkdir bzip2
; \
1946 r
=`${PWD}`; export r
; \
1947 s
=`cd $(srcdir); ${PWD}`; export s
; \
1948 CC
="$(CC)"; export CC
; \
1949 CFLAGS
="$(CFLAGS)"; export CFLAGS
; \
1950 CXX
="$(CXX)"; export CXX
; \
1951 CXXFLAGS
="$(CXXFLAGS)"; export CXXFLAGS
; \
1952 if
[ z
$(build_canonical
) != z
$(host_canoncial
) ] ; then \
1953 AR
="$(AR)"; export AR
; \
1954 AS
="$(AS)"; export AS
; \
1955 CC_FOR_BUILD
="$(CC_FOR_BUILD)"; export CC_FOR_BUILD
; \
1956 DLLTOOL
="$(DLLTOOL)"; export DLLTOOL
; \
1957 LD
="$(LD)"; export LD
; \
1958 NM
="$(NM)"; export NM
; \
1959 RANLIB
="$(RANLIB)"; export RANLIB
; \
1960 WINDRES
="$(WINDRES)"; export WINDRES
; \
1961 OBJCOPY
="$(OBJCOPY)"; export OBJCOPY
; \
1962 OBJDUMP
="$(OBJDUMP)"; export OBJDUMP
; \
1964 echo Configuring in bzip2
; \
1965 cd bzip2 || exit
1; \
1968 srcdiroption
="--srcdir=."; \
1970 /* |
[A-Za-z
]:[\\/]*) \
1971 srcdiroption
="--srcdir=$(srcdir)/bzip2"; \
1972 libsrcdir
="$$s/bzip2";; \
1974 srcdiroption
="--srcdir=../$(srcdir)/bzip2"; \
1975 libsrcdir
="$$s/bzip2";; \
1977 $(SHELL
) $${libsrcdir}/configure \
1978 $(HOST_CONFIGARGS
) $${srcdiroption} \
1981 .PHONY
: all-bzip2 maybe-all-bzip2
1983 all-bzip2
: configure-bzip2
1984 @r
=`${PWD}`; export r
; \
1985 s
=`cd $(srcdir); ${PWD}`; export s
; \
1987 (cd bzip2
&& $(MAKE
) $(FLAGS_TO_PASS
) all)
1992 @r
=`${PWD}`; export r
; \
1993 s
=`cd $(srcdir); ${PWD}`; export s
; \
1995 (cd bzip2
&& $(MAKE
) $(FLAGS_TO_PASS
) check)
1999 .PHONY
: install-bzip2 maybe-install-bzip2
2000 maybe-install-bzip2
:
2001 install-bzip2
: installdirs
2002 @r
=`${PWD}`; export r
; \
2003 s
=`cd $(srcdir); ${PWD}`; export s
; \
2005 (cd bzip2
&& $(MAKE
) $(FLAGS_TO_PASS
) install)
2008 .PHONY
: configure-dejagnu maybe-configure-dejagnu
2009 maybe-configure-dejagnu
:
2011 @
test ! -f dejagnu
/Makefile || exit
0; \
2012 [ -d dejagnu
] || mkdir dejagnu
; \
2013 r
=`${PWD}`; export r
; \
2014 s
=`cd $(srcdir); ${PWD}`; export s
; \
2015 CC
="$(CC)"; export CC
; \
2016 CFLAGS
="$(CFLAGS)"; export CFLAGS
; \
2017 CXX
="$(CXX)"; export CXX
; \
2018 CXXFLAGS
="$(CXXFLAGS)"; export CXXFLAGS
; \
2019 if
[ z
$(build_canonical
) != z
$(host_canoncial
) ] ; then \
2020 AR
="$(AR)"; export AR
; \
2021 AS
="$(AS)"; export AS
; \
2022 CC_FOR_BUILD
="$(CC_FOR_BUILD)"; export CC_FOR_BUILD
; \
2023 DLLTOOL
="$(DLLTOOL)"; export DLLTOOL
; \
2024 LD
="$(LD)"; export LD
; \
2025 NM
="$(NM)"; export NM
; \
2026 RANLIB
="$(RANLIB)"; export RANLIB
; \
2027 WINDRES
="$(WINDRES)"; export WINDRES
; \
2028 OBJCOPY
="$(OBJCOPY)"; export OBJCOPY
; \
2029 OBJDUMP
="$(OBJDUMP)"; export OBJDUMP
; \
2031 echo Configuring in dejagnu
; \
2032 cd dejagnu || exit
1; \
2035 srcdiroption
="--srcdir=."; \
2037 /* |
[A-Za-z
]:[\\/]*) \
2038 srcdiroption
="--srcdir=$(srcdir)/dejagnu"; \
2039 libsrcdir
="$$s/dejagnu";; \
2041 srcdiroption
="--srcdir=../$(srcdir)/dejagnu"; \
2042 libsrcdir
="$$s/dejagnu";; \
2044 $(SHELL
) $${libsrcdir}/configure \
2045 $(HOST_CONFIGARGS
) $${srcdiroption} \
2048 .PHONY
: all-dejagnu maybe-all-dejagnu
2050 all-dejagnu
: configure-dejagnu
2051 @r
=`${PWD}`; export r
; \
2052 s
=`cd $(srcdir); ${PWD}`; export s
; \
2054 (cd dejagnu
&& $(MAKE
) $(FLAGS_TO_PASS
) all)
2057 .PHONY
: check-dejagnu
2059 @r
=`${PWD}`; export r
; \
2060 s
=`cd $(srcdir); ${PWD}`; export s
; \
2062 (cd dejagnu
&& $(MAKE
) $(FLAGS_TO_PASS
) check)
2066 .PHONY
: install-dejagnu maybe-install-dejagnu
2067 maybe-install-dejagnu
:
2068 install-dejagnu
: installdirs
2069 @r
=`${PWD}`; export r
; \
2070 s
=`cd $(srcdir); ${PWD}`; export s
; \
2072 (cd dejagnu
&& $(MAKE
) $(FLAGS_TO_PASS
) install)
2075 .PHONY
: configure-diff maybe-configure-diff
2076 maybe-configure-diff
:
2078 @
test ! -f diff
/Makefile || exit
0; \
2079 [ -d diff
] || mkdir diff
; \
2080 r
=`${PWD}`; export r
; \
2081 s
=`cd $(srcdir); ${PWD}`; export s
; \
2082 CC
="$(CC)"; export CC
; \
2083 CFLAGS
="$(CFLAGS)"; export CFLAGS
; \
2084 CXX
="$(CXX)"; export CXX
; \
2085 CXXFLAGS
="$(CXXFLAGS)"; export CXXFLAGS
; \
2086 if
[ z
$(build_canonical
) != z
$(host_canoncial
) ] ; then \
2087 AR
="$(AR)"; export AR
; \
2088 AS
="$(AS)"; export AS
; \
2089 CC_FOR_BUILD
="$(CC_FOR_BUILD)"; export CC_FOR_BUILD
; \
2090 DLLTOOL
="$(DLLTOOL)"; export DLLTOOL
; \
2091 LD
="$(LD)"; export LD
; \
2092 NM
="$(NM)"; export NM
; \
2093 RANLIB
="$(RANLIB)"; export RANLIB
; \
2094 WINDRES
="$(WINDRES)"; export WINDRES
; \
2095 OBJCOPY
="$(OBJCOPY)"; export OBJCOPY
; \
2096 OBJDUMP
="$(OBJDUMP)"; export OBJDUMP
; \
2098 echo Configuring in diff
; \
2099 cd diff || exit
1; \
2102 srcdiroption
="--srcdir=."; \
2104 /* |
[A-Za-z
]:[\\/]*) \
2105 srcdiroption
="--srcdir=$(srcdir)/diff"; \
2106 libsrcdir
="$$s/diff";; \
2108 srcdiroption
="--srcdir=../$(srcdir)/diff"; \
2109 libsrcdir
="$$s/diff";; \
2111 $(SHELL
) $${libsrcdir}/configure \
2112 $(HOST_CONFIGARGS
) $${srcdiroption} \
2115 .PHONY
: all-diff maybe-all-diff
2117 all-diff
: configure-diff
2118 @r
=`${PWD}`; export r
; \
2119 s
=`cd $(srcdir); ${PWD}`; export s
; \
2121 (cd diff
&& $(MAKE
) $(FLAGS_TO_PASS
) all)
2126 @r
=`${PWD}`; export r
; \
2127 s
=`cd $(srcdir); ${PWD}`; export s
; \
2129 (cd diff
&& $(MAKE
) $(FLAGS_TO_PASS
) check)
2133 .PHONY
: install-diff maybe-install-diff
2135 install-diff
: installdirs
2136 @r
=`${PWD}`; export r
; \
2137 s
=`cd $(srcdir); ${PWD}`; export s
; \
2139 (cd diff
&& $(MAKE
) $(FLAGS_TO_PASS
) install)
2142 .PHONY
: configure-dosutils maybe-configure-dosutils
2143 maybe-configure-dosutils
:
2145 @
test ! -f dosutils
/Makefile || exit
0; \
2146 [ -d dosutils
] || mkdir dosutils
; \
2147 r
=`${PWD}`; export r
; \
2148 s
=`cd $(srcdir); ${PWD}`; export s
; \
2149 CC
="$(CC)"; export CC
; \
2150 CFLAGS
="$(CFLAGS)"; export CFLAGS
; \
2151 CXX
="$(CXX)"; export CXX
; \
2152 CXXFLAGS
="$(CXXFLAGS)"; export CXXFLAGS
; \
2153 if
[ z
$(build_canonical
) != z
$(host_canoncial
) ] ; then \
2154 AR
="$(AR)"; export AR
; \
2155 AS
="$(AS)"; export AS
; \
2156 CC_FOR_BUILD
="$(CC_FOR_BUILD)"; export CC_FOR_BUILD
; \
2157 DLLTOOL
="$(DLLTOOL)"; export DLLTOOL
; \
2158 LD
="$(LD)"; export LD
; \
2159 NM
="$(NM)"; export NM
; \
2160 RANLIB
="$(RANLIB)"; export RANLIB
; \
2161 WINDRES
="$(WINDRES)"; export WINDRES
; \
2162 OBJCOPY
="$(OBJCOPY)"; export OBJCOPY
; \
2163 OBJDUMP
="$(OBJDUMP)"; export OBJDUMP
; \
2165 echo Configuring in dosutils
; \
2166 cd dosutils || exit
1; \
2169 srcdiroption
="--srcdir=."; \
2171 /* |
[A-Za-z
]:[\\/]*) \
2172 srcdiroption
="--srcdir=$(srcdir)/dosutils"; \
2173 libsrcdir
="$$s/dosutils";; \
2175 srcdiroption
="--srcdir=../$(srcdir)/dosutils"; \
2176 libsrcdir
="$$s/dosutils";; \
2178 $(SHELL
) $${libsrcdir}/configure \
2179 $(HOST_CONFIGARGS
) $${srcdiroption} \
2182 .PHONY
: all-dosutils maybe-all-dosutils
2184 all-dosutils
: configure-dosutils
2185 @r
=`${PWD}`; export r
; \
2186 s
=`cd $(srcdir); ${PWD}`; export s
; \
2188 (cd dosutils
&& $(MAKE
) $(FLAGS_TO_PASS
) all)
2191 .PHONY
: check-dosutils
2196 .PHONY
: install-dosutils maybe-install-dosutils
2197 maybe-install-dosutils
:
2198 install-dosutils
: installdirs
2199 @r
=`${PWD}`; export r
; \
2200 s
=`cd $(srcdir); ${PWD}`; export s
; \
2202 (cd dosutils
&& $(MAKE
) $(FLAGS_TO_PASS
) install)
2205 .PHONY
: configure-etc maybe-configure-etc
2206 maybe-configure-etc
:
2208 @
test ! -f etc
/Makefile || exit
0; \
2209 [ -d etc
] || mkdir etc
; \
2210 r
=`${PWD}`; export r
; \
2211 s
=`cd $(srcdir); ${PWD}`; export s
; \
2212 CC
="$(CC)"; export CC
; \
2213 CFLAGS
="$(CFLAGS)"; export CFLAGS
; \
2214 CXX
="$(CXX)"; export CXX
; \
2215 CXXFLAGS
="$(CXXFLAGS)"; export CXXFLAGS
; \
2216 if
[ z
$(build_canonical
) != z
$(host_canoncial
) ] ; then \
2217 AR
="$(AR)"; export AR
; \
2218 AS
="$(AS)"; export AS
; \
2219 CC_FOR_BUILD
="$(CC_FOR_BUILD)"; export CC_FOR_BUILD
; \
2220 DLLTOOL
="$(DLLTOOL)"; export DLLTOOL
; \
2221 LD
="$(LD)"; export LD
; \
2222 NM
="$(NM)"; export NM
; \
2223 RANLIB
="$(RANLIB)"; export RANLIB
; \
2224 WINDRES
="$(WINDRES)"; export WINDRES
; \
2225 OBJCOPY
="$(OBJCOPY)"; export OBJCOPY
; \
2226 OBJDUMP
="$(OBJDUMP)"; export OBJDUMP
; \
2228 echo Configuring in etc
; \
2232 srcdiroption
="--srcdir=."; \
2234 /* |
[A-Za-z
]:[\\/]*) \
2235 srcdiroption
="--srcdir=$(srcdir)/etc"; \
2236 libsrcdir
="$$s/etc";; \
2238 srcdiroption
="--srcdir=../$(srcdir)/etc"; \
2239 libsrcdir
="$$s/etc";; \
2241 $(SHELL
) $${libsrcdir}/configure \
2242 $(HOST_CONFIGARGS
) $${srcdiroption} \
2245 .PHONY
: all-etc maybe-all-etc
2247 all-etc
: configure-etc
2248 @r
=`${PWD}`; export r
; \
2249 s
=`cd $(srcdir); ${PWD}`; export s
; \
2251 (cd etc
&& $(MAKE
) $(FLAGS_TO_PASS
) all)
2256 @r
=`${PWD}`; export r
; \
2257 s
=`cd $(srcdir); ${PWD}`; export s
; \
2259 (cd etc
&& $(MAKE
) $(FLAGS_TO_PASS
) check)
2263 .PHONY
: install-etc maybe-install-etc
2265 install-etc
: installdirs
2266 @r
=`${PWD}`; export r
; \
2267 s
=`cd $(srcdir); ${PWD}`; export s
; \
2269 (cd etc
&& $(MAKE
) $(FLAGS_TO_PASS
) install)
2272 .PHONY
: configure-fastjar maybe-configure-fastjar
2273 maybe-configure-fastjar
:
2275 @
test ! -f fastjar
/Makefile || exit
0; \
2276 [ -d fastjar
] || mkdir fastjar
; \
2277 r
=`${PWD}`; export r
; \
2278 s
=`cd $(srcdir); ${PWD}`; export s
; \
2279 CC
="$(CC)"; export CC
; \
2280 CFLAGS
="$(CFLAGS)"; export CFLAGS
; \
2281 CXX
="$(CXX)"; export CXX
; \
2282 CXXFLAGS
="$(CXXFLAGS)"; export CXXFLAGS
; \
2283 if
[ z
$(build_canonical
) != z
$(host_canoncial
) ] ; then \
2284 AR
="$(AR)"; export AR
; \
2285 AS
="$(AS)"; export AS
; \
2286 CC_FOR_BUILD
="$(CC_FOR_BUILD)"; export CC_FOR_BUILD
; \
2287 DLLTOOL
="$(DLLTOOL)"; export DLLTOOL
; \
2288 LD
="$(LD)"; export LD
; \
2289 NM
="$(NM)"; export NM
; \
2290 RANLIB
="$(RANLIB)"; export RANLIB
; \
2291 WINDRES
="$(WINDRES)"; export WINDRES
; \
2292 OBJCOPY
="$(OBJCOPY)"; export OBJCOPY
; \
2293 OBJDUMP
="$(OBJDUMP)"; export OBJDUMP
; \
2295 echo Configuring in fastjar
; \
2296 cd fastjar || exit
1; \
2299 srcdiroption
="--srcdir=."; \
2301 /* |
[A-Za-z
]:[\\/]*) \
2302 srcdiroption
="--srcdir=$(srcdir)/fastjar"; \
2303 libsrcdir
="$$s/fastjar";; \
2305 srcdiroption
="--srcdir=../$(srcdir)/fastjar"; \
2306 libsrcdir
="$$s/fastjar";; \
2308 $(SHELL
) $${libsrcdir}/configure \
2309 $(HOST_CONFIGARGS
) $${srcdiroption} \
2312 .PHONY
: all-fastjar maybe-all-fastjar
2314 all-fastjar
: configure-fastjar
2315 @r
=`${PWD}`; export r
; \
2316 s
=`cd $(srcdir); ${PWD}`; export s
; \
2318 (cd fastjar
&& $(MAKE
) $(FLAGS_TO_PASS
) all)
2321 .PHONY
: check-fastjar
2322 # This module is only tested in a native toolchain.
2324 @if
[ '$(host_canonical)' = '$(target_canonical)' ] ; then \
2325 r
=`${PWD}`; export r
; \
2326 s
=`cd $(srcdir); ${PWD}`; export s
; \
2328 (cd fastjar
&& $(MAKE
) $(FLAGS_TO_PASS
) check); \
2333 .PHONY
: install-fastjar maybe-install-fastjar
2334 maybe-install-fastjar
:
2335 install-fastjar
: installdirs
2336 @r
=`${PWD}`; export r
; \
2337 s
=`cd $(srcdir); ${PWD}`; export s
; \
2339 (cd fastjar
&& $(MAKE
) $(FLAGS_TO_PASS
) install)
2342 .PHONY
: configure-fileutils maybe-configure-fileutils
2343 maybe-configure-fileutils
:
2344 configure-fileutils
:
2345 @
test ! -f fileutils
/Makefile || exit
0; \
2346 [ -d fileutils
] || mkdir fileutils
; \
2347 r
=`${PWD}`; export r
; \
2348 s
=`cd $(srcdir); ${PWD}`; export s
; \
2349 CC
="$(CC)"; export CC
; \
2350 CFLAGS
="$(CFLAGS)"; export CFLAGS
; \
2351 CXX
="$(CXX)"; export CXX
; \
2352 CXXFLAGS
="$(CXXFLAGS)"; export CXXFLAGS
; \
2353 if
[ z
$(build_canonical
) != z
$(host_canoncial
) ] ; then \
2354 AR
="$(AR)"; export AR
; \
2355 AS
="$(AS)"; export AS
; \
2356 CC_FOR_BUILD
="$(CC_FOR_BUILD)"; export CC_FOR_BUILD
; \
2357 DLLTOOL
="$(DLLTOOL)"; export DLLTOOL
; \
2358 LD
="$(LD)"; export LD
; \
2359 NM
="$(NM)"; export NM
; \
2360 RANLIB
="$(RANLIB)"; export RANLIB
; \
2361 WINDRES
="$(WINDRES)"; export WINDRES
; \
2362 OBJCOPY
="$(OBJCOPY)"; export OBJCOPY
; \
2363 OBJDUMP
="$(OBJDUMP)"; export OBJDUMP
; \
2365 echo Configuring in fileutils
; \
2366 cd fileutils || exit
1; \
2369 srcdiroption
="--srcdir=."; \
2371 /* |
[A-Za-z
]:[\\/]*) \
2372 srcdiroption
="--srcdir=$(srcdir)/fileutils"; \
2373 libsrcdir
="$$s/fileutils";; \
2375 srcdiroption
="--srcdir=../$(srcdir)/fileutils"; \
2376 libsrcdir
="$$s/fileutils";; \
2378 $(SHELL
) $${libsrcdir}/configure \
2379 $(HOST_CONFIGARGS
) $${srcdiroption} \
2382 .PHONY
: all-fileutils maybe-all-fileutils
2383 maybe-all-fileutils
:
2384 all-fileutils
: configure-fileutils
2385 @r
=`${PWD}`; export r
; \
2386 s
=`cd $(srcdir); ${PWD}`; export s
; \
2388 (cd fileutils
&& $(MAKE
) $(FLAGS_TO_PASS
) all)
2391 .PHONY
: check-fileutils
2393 @r
=`${PWD}`; export r
; \
2394 s
=`cd $(srcdir); ${PWD}`; export s
; \
2396 (cd fileutils
&& $(MAKE
) $(FLAGS_TO_PASS
) check)
2400 .PHONY
: install-fileutils maybe-install-fileutils
2401 maybe-install-fileutils
:
2402 install-fileutils
: installdirs
2403 @r
=`${PWD}`; export r
; \
2404 s
=`cd $(srcdir); ${PWD}`; export s
; \
2406 (cd fileutils
&& $(MAKE
) $(FLAGS_TO_PASS
) install)
2409 .PHONY
: configure-findutils maybe-configure-findutils
2410 maybe-configure-findutils
:
2411 configure-findutils
:
2412 @
test ! -f findutils
/Makefile || exit
0; \
2413 [ -d findutils
] || mkdir findutils
; \
2414 r
=`${PWD}`; export r
; \
2415 s
=`cd $(srcdir); ${PWD}`; export s
; \
2416 CC
="$(CC)"; export CC
; \
2417 CFLAGS
="$(CFLAGS)"; export CFLAGS
; \
2418 CXX
="$(CXX)"; export CXX
; \
2419 CXXFLAGS
="$(CXXFLAGS)"; export CXXFLAGS
; \
2420 if
[ z
$(build_canonical
) != z
$(host_canoncial
) ] ; then \
2421 AR
="$(AR)"; export AR
; \
2422 AS
="$(AS)"; export AS
; \
2423 CC_FOR_BUILD
="$(CC_FOR_BUILD)"; export CC_FOR_BUILD
; \
2424 DLLTOOL
="$(DLLTOOL)"; export DLLTOOL
; \
2425 LD
="$(LD)"; export LD
; \
2426 NM
="$(NM)"; export NM
; \
2427 RANLIB
="$(RANLIB)"; export RANLIB
; \
2428 WINDRES
="$(WINDRES)"; export WINDRES
; \
2429 OBJCOPY
="$(OBJCOPY)"; export OBJCOPY
; \
2430 OBJDUMP
="$(OBJDUMP)"; export OBJDUMP
; \
2432 echo Configuring in findutils
; \
2433 cd findutils || exit
1; \
2436 srcdiroption
="--srcdir=."; \
2438 /* |
[A-Za-z
]:[\\/]*) \
2439 srcdiroption
="--srcdir=$(srcdir)/findutils"; \
2440 libsrcdir
="$$s/findutils";; \
2442 srcdiroption
="--srcdir=../$(srcdir)/findutils"; \
2443 libsrcdir
="$$s/findutils";; \
2445 $(SHELL
) $${libsrcdir}/configure \
2446 $(HOST_CONFIGARGS
) $${srcdiroption} \
2449 .PHONY
: all-findutils maybe-all-findutils
2450 maybe-all-findutils
:
2451 all-findutils
: configure-findutils
2452 @r
=`${PWD}`; export r
; \
2453 s
=`cd $(srcdir); ${PWD}`; export s
; \
2455 (cd findutils
&& $(MAKE
) $(FLAGS_TO_PASS
) all)
2458 .PHONY
: check-findutils
2460 @r
=`${PWD}`; export r
; \
2461 s
=`cd $(srcdir); ${PWD}`; export s
; \
2463 (cd findutils
&& $(MAKE
) $(FLAGS_TO_PASS
) check)
2467 .PHONY
: install-findutils maybe-install-findutils
2468 maybe-install-findutils
:
2469 install-findutils
: installdirs
2470 @r
=`${PWD}`; export r
; \
2471 s
=`cd $(srcdir); ${PWD}`; export s
; \
2473 (cd findutils
&& $(MAKE
) $(FLAGS_TO_PASS
) install)
2476 .PHONY
: configure-find maybe-configure-find
2477 maybe-configure-find
:
2479 @
test ! -f find
/Makefile || exit
0; \
2480 [ -d find
] || mkdir find
; \
2481 r
=`${PWD}`; export r
; \
2482 s
=`cd $(srcdir); ${PWD}`; export s
; \
2483 CC
="$(CC)"; export CC
; \
2484 CFLAGS
="$(CFLAGS)"; export CFLAGS
; \
2485 CXX
="$(CXX)"; export CXX
; \
2486 CXXFLAGS
="$(CXXFLAGS)"; export CXXFLAGS
; \
2487 if
[ z
$(build_canonical
) != z
$(host_canoncial
) ] ; then \
2488 AR
="$(AR)"; export AR
; \
2489 AS
="$(AS)"; export AS
; \
2490 CC_FOR_BUILD
="$(CC_FOR_BUILD)"; export CC_FOR_BUILD
; \
2491 DLLTOOL
="$(DLLTOOL)"; export DLLTOOL
; \
2492 LD
="$(LD)"; export LD
; \
2493 NM
="$(NM)"; export NM
; \
2494 RANLIB
="$(RANLIB)"; export RANLIB
; \
2495 WINDRES
="$(WINDRES)"; export WINDRES
; \
2496 OBJCOPY
="$(OBJCOPY)"; export OBJCOPY
; \
2497 OBJDUMP
="$(OBJDUMP)"; export OBJDUMP
; \
2499 echo Configuring in find
; \
2500 cd find || exit
1; \
2503 srcdiroption
="--srcdir=."; \
2505 /* |
[A-Za-z
]:[\\/]*) \
2506 srcdiroption
="--srcdir=$(srcdir)/find"; \
2507 libsrcdir
="$$s/find";; \
2509 srcdiroption
="--srcdir=../$(srcdir)/find"; \
2510 libsrcdir
="$$s/find";; \
2512 $(SHELL
) $${libsrcdir}/configure \
2513 $(HOST_CONFIGARGS
) $${srcdiroption} \
2516 .PHONY
: all-find maybe-all-find
2518 all-find
: configure-find
2519 @r
=`${PWD}`; export r
; \
2520 s
=`cd $(srcdir); ${PWD}`; export s
; \
2522 (cd find
&& $(MAKE
) $(FLAGS_TO_PASS
) all)
2527 @r
=`${PWD}`; export r
; \
2528 s
=`cd $(srcdir); ${PWD}`; export s
; \
2530 (cd find
&& $(MAKE
) $(FLAGS_TO_PASS
) check)
2534 .PHONY
: install-find maybe-install-find
2536 install-find
: installdirs
2537 @r
=`${PWD}`; export r
; \
2538 s
=`cd $(srcdir); ${PWD}`; export s
; \
2540 (cd find
&& $(MAKE
) $(FLAGS_TO_PASS
) install)
2543 .PHONY
: configure-flex maybe-configure-flex
2544 maybe-configure-flex
:
2546 @
test ! -f flex
/Makefile || exit
0; \
2547 [ -d flex
] || mkdir flex
; \
2548 r
=`${PWD}`; export r
; \
2549 s
=`cd $(srcdir); ${PWD}`; export s
; \
2550 CC
="$(CC)"; export CC
; \
2551 CFLAGS
="$(CFLAGS)"; export CFLAGS
; \
2552 CXX
="$(CXX)"; export CXX
; \
2553 CXXFLAGS
="$(CXXFLAGS)"; export CXXFLAGS
; \
2554 if
[ z
$(build_canonical
) != z
$(host_canoncial
) ] ; then \
2555 AR
="$(AR)"; export AR
; \
2556 AS
="$(AS)"; export AS
; \
2557 CC_FOR_BUILD
="$(CC_FOR_BUILD)"; export CC_FOR_BUILD
; \
2558 DLLTOOL
="$(DLLTOOL)"; export DLLTOOL
; \
2559 LD
="$(LD)"; export LD
; \
2560 NM
="$(NM)"; export NM
; \
2561 RANLIB
="$(RANLIB)"; export RANLIB
; \
2562 WINDRES
="$(WINDRES)"; export WINDRES
; \
2563 OBJCOPY
="$(OBJCOPY)"; export OBJCOPY
; \
2564 OBJDUMP
="$(OBJDUMP)"; export OBJDUMP
; \
2566 echo Configuring in flex
; \
2567 cd flex || exit
1; \
2570 srcdiroption
="--srcdir=."; \
2572 /* |
[A-Za-z
]:[\\/]*) \
2573 srcdiroption
="--srcdir=$(srcdir)/flex"; \
2574 libsrcdir
="$$s/flex";; \
2576 srcdiroption
="--srcdir=../$(srcdir)/flex"; \
2577 libsrcdir
="$$s/flex";; \
2579 $(SHELL
) $${libsrcdir}/configure \
2580 $(HOST_CONFIGARGS
) $${srcdiroption} \
2583 .PHONY
: all-flex maybe-all-flex
2585 all-flex
: configure-flex
2586 @r
=`${PWD}`; export r
; \
2587 s
=`cd $(srcdir); ${PWD}`; export s
; \
2589 (cd flex
&& $(MAKE
) $(FLAGS_TO_PASS
) all)
2593 # This module is only tested in a native toolchain.
2595 @if
[ '$(host_canonical)' = '$(target_canonical)' ] ; then \
2596 r
=`${PWD}`; export r
; \
2597 s
=`cd $(srcdir); ${PWD}`; export s
; \
2599 (cd flex
&& $(MAKE
) $(FLAGS_TO_PASS
) check); \
2604 .PHONY
: install-flex maybe-install-flex
2606 install-flex
: installdirs
2607 @r
=`${PWD}`; export r
; \
2608 s
=`cd $(srcdir); ${PWD}`; export s
; \
2610 (cd flex
&& $(MAKE
) $(FLAGS_TO_PASS
) install)
2613 .PHONY
: configure-gas maybe-configure-gas
2614 maybe-configure-gas
:
2616 @
test ! -f gas
/Makefile || exit
0; \
2617 [ -d gas
] || mkdir gas
; \
2618 r
=`${PWD}`; export r
; \
2619 s
=`cd $(srcdir); ${PWD}`; export s
; \
2620 CC
="$(CC)"; export CC
; \
2621 CFLAGS
="$(CFLAGS)"; export CFLAGS
; \
2622 CXX
="$(CXX)"; export CXX
; \
2623 CXXFLAGS
="$(CXXFLAGS)"; export CXXFLAGS
; \
2624 if
[ z
$(build_canonical
) != z
$(host_canoncial
) ] ; then \
2625 AR
="$(AR)"; export AR
; \
2626 AS
="$(AS)"; export AS
; \
2627 CC_FOR_BUILD
="$(CC_FOR_BUILD)"; export CC_FOR_BUILD
; \
2628 DLLTOOL
="$(DLLTOOL)"; export DLLTOOL
; \
2629 LD
="$(LD)"; export LD
; \
2630 NM
="$(NM)"; export NM
; \
2631 RANLIB
="$(RANLIB)"; export RANLIB
; \
2632 WINDRES
="$(WINDRES)"; export WINDRES
; \
2633 OBJCOPY
="$(OBJCOPY)"; export OBJCOPY
; \
2634 OBJDUMP
="$(OBJDUMP)"; export OBJDUMP
; \
2636 echo Configuring in gas
; \
2640 srcdiroption
="--srcdir=."; \
2642 /* |
[A-Za-z
]:[\\/]*) \
2643 srcdiroption
="--srcdir=$(srcdir)/gas"; \
2644 libsrcdir
="$$s/gas";; \
2646 srcdiroption
="--srcdir=../$(srcdir)/gas"; \
2647 libsrcdir
="$$s/gas";; \
2649 $(SHELL
) $${libsrcdir}/configure \
2650 $(HOST_CONFIGARGS
) $${srcdiroption} \
2653 .PHONY
: all-gas maybe-all-gas
2655 all-gas
: configure-gas
2656 @r
=`${PWD}`; export r
; \
2657 s
=`cd $(srcdir); ${PWD}`; export s
; \
2659 (cd gas
&& $(MAKE
) $(FLAGS_TO_PASS
) all)
2664 @r
=`${PWD}`; export r
; \
2665 s
=`cd $(srcdir); ${PWD}`; export s
; \
2667 (cd gas
&& $(MAKE
) $(FLAGS_TO_PASS
) check)
2671 .PHONY
: install-gas maybe-install-gas
2673 install-gas
: installdirs
2674 @r
=`${PWD}`; export r
; \
2675 s
=`cd $(srcdir); ${PWD}`; export s
; \
2677 (cd gas
&& $(MAKE
) $(FLAGS_TO_PASS
) install)
2680 .PHONY
: configure-gawk maybe-configure-gawk
2681 maybe-configure-gawk
:
2683 @
test ! -f gawk
/Makefile || exit
0; \
2684 [ -d gawk
] || mkdir gawk
; \
2685 r
=`${PWD}`; export r
; \
2686 s
=`cd $(srcdir); ${PWD}`; export s
; \
2687 CC
="$(CC)"; export CC
; \
2688 CFLAGS
="$(CFLAGS)"; export CFLAGS
; \
2689 CXX
="$(CXX)"; export CXX
; \
2690 CXXFLAGS
="$(CXXFLAGS)"; export CXXFLAGS
; \
2691 if
[ z
$(build_canonical
) != z
$(host_canoncial
) ] ; then \
2692 AR
="$(AR)"; export AR
; \
2693 AS
="$(AS)"; export AS
; \
2694 CC_FOR_BUILD
="$(CC_FOR_BUILD)"; export CC_FOR_BUILD
; \
2695 DLLTOOL
="$(DLLTOOL)"; export DLLTOOL
; \
2696 LD
="$(LD)"; export LD
; \
2697 NM
="$(NM)"; export NM
; \
2698 RANLIB
="$(RANLIB)"; export RANLIB
; \
2699 WINDRES
="$(WINDRES)"; export WINDRES
; \
2700 OBJCOPY
="$(OBJCOPY)"; export OBJCOPY
; \
2701 OBJDUMP
="$(OBJDUMP)"; export OBJDUMP
; \
2703 echo Configuring in gawk
; \
2704 cd gawk || exit
1; \
2707 srcdiroption
="--srcdir=."; \
2709 /* |
[A-Za-z
]:[\\/]*) \
2710 srcdiroption
="--srcdir=$(srcdir)/gawk"; \
2711 libsrcdir
="$$s/gawk";; \
2713 srcdiroption
="--srcdir=../$(srcdir)/gawk"; \
2714 libsrcdir
="$$s/gawk";; \
2716 $(SHELL
) $${libsrcdir}/configure \
2717 $(HOST_CONFIGARGS
) $${srcdiroption} \
2720 .PHONY
: all-gawk maybe-all-gawk
2722 all-gawk
: configure-gawk
2723 @r
=`${PWD}`; export r
; \
2724 s
=`cd $(srcdir); ${PWD}`; export s
; \
2726 (cd gawk
&& $(MAKE
) $(FLAGS_TO_PASS
) all)
2731 @r
=`${PWD}`; export r
; \
2732 s
=`cd $(srcdir); ${PWD}`; export s
; \
2734 (cd gawk
&& $(MAKE
) $(FLAGS_TO_PASS
) check)
2738 .PHONY
: install-gawk maybe-install-gawk
2740 install-gawk
: installdirs
2741 @r
=`${PWD}`; export r
; \
2742 s
=`cd $(srcdir); ${PWD}`; export s
; \
2744 (cd gawk
&& $(MAKE
) $(FLAGS_TO_PASS
) install)
2747 .PHONY
: configure-gettext maybe-configure-gettext
2748 maybe-configure-gettext
:
2750 @
test ! -f gettext
/Makefile || exit
0; \
2751 [ -d gettext
] || mkdir gettext
; \
2752 r
=`${PWD}`; export r
; \
2753 s
=`cd $(srcdir); ${PWD}`; export s
; \
2754 CC
="$(CC)"; export CC
; \
2755 CFLAGS
="$(CFLAGS)"; export CFLAGS
; \
2756 CXX
="$(CXX)"; export CXX
; \
2757 CXXFLAGS
="$(CXXFLAGS)"; export CXXFLAGS
; \
2758 if
[ z
$(build_canonical
) != z
$(host_canoncial
) ] ; then \
2759 AR
="$(AR)"; export AR
; \
2760 AS
="$(AS)"; export AS
; \
2761 CC_FOR_BUILD
="$(CC_FOR_BUILD)"; export CC_FOR_BUILD
; \
2762 DLLTOOL
="$(DLLTOOL)"; export DLLTOOL
; \
2763 LD
="$(LD)"; export LD
; \
2764 NM
="$(NM)"; export NM
; \
2765 RANLIB
="$(RANLIB)"; export RANLIB
; \
2766 WINDRES
="$(WINDRES)"; export WINDRES
; \
2767 OBJCOPY
="$(OBJCOPY)"; export OBJCOPY
; \
2768 OBJDUMP
="$(OBJDUMP)"; export OBJDUMP
; \
2770 echo Configuring in gettext
; \
2771 cd gettext || exit
1; \
2774 srcdiroption
="--srcdir=."; \
2776 /* |
[A-Za-z
]:[\\/]*) \
2777 srcdiroption
="--srcdir=$(srcdir)/gettext"; \
2778 libsrcdir
="$$s/gettext";; \
2780 srcdiroption
="--srcdir=../$(srcdir)/gettext"; \
2781 libsrcdir
="$$s/gettext";; \
2783 $(SHELL
) $${libsrcdir}/configure \
2784 $(HOST_CONFIGARGS
) $${srcdiroption} \
2787 .PHONY
: all-gettext maybe-all-gettext
2789 all-gettext
: configure-gettext
2790 @r
=`${PWD}`; export r
; \
2791 s
=`cd $(srcdir); ${PWD}`; export s
; \
2793 (cd gettext
&& $(MAKE
) $(FLAGS_TO_PASS
) all)
2796 .PHONY
: check-gettext
2798 @r
=`${PWD}`; export r
; \
2799 s
=`cd $(srcdir); ${PWD}`; export s
; \
2801 (cd gettext
&& $(MAKE
) $(FLAGS_TO_PASS
) check)
2805 .PHONY
: install-gettext maybe-install-gettext
2806 maybe-install-gettext
:
2807 install-gettext
: installdirs
2808 @r
=`${PWD}`; export r
; \
2809 s
=`cd $(srcdir); ${PWD}`; export s
; \
2811 (cd gettext
&& $(MAKE
) $(FLAGS_TO_PASS
) install)
2814 .PHONY
: configure-gnuserv maybe-configure-gnuserv
2815 maybe-configure-gnuserv
:
2817 @
test ! -f gnuserv
/Makefile || exit
0; \
2818 [ -d gnuserv
] || mkdir gnuserv
; \
2819 r
=`${PWD}`; export r
; \
2820 s
=`cd $(srcdir); ${PWD}`; export s
; \
2821 CC
="$(CC)"; export CC
; \
2822 CFLAGS
="$(CFLAGS)"; export CFLAGS
; \
2823 CXX
="$(CXX)"; export CXX
; \
2824 CXXFLAGS
="$(CXXFLAGS)"; export CXXFLAGS
; \
2825 if
[ z
$(build_canonical
) != z
$(host_canoncial
) ] ; then \
2826 AR
="$(AR)"; export AR
; \
2827 AS
="$(AS)"; export AS
; \
2828 CC_FOR_BUILD
="$(CC_FOR_BUILD)"; export CC_FOR_BUILD
; \
2829 DLLTOOL
="$(DLLTOOL)"; export DLLTOOL
; \
2830 LD
="$(LD)"; export LD
; \
2831 NM
="$(NM)"; export NM
; \
2832 RANLIB
="$(RANLIB)"; export RANLIB
; \
2833 WINDRES
="$(WINDRES)"; export WINDRES
; \
2834 OBJCOPY
="$(OBJCOPY)"; export OBJCOPY
; \
2835 OBJDUMP
="$(OBJDUMP)"; export OBJDUMP
; \
2837 echo Configuring in gnuserv
; \
2838 cd gnuserv || exit
1; \
2841 srcdiroption
="--srcdir=."; \
2843 /* |
[A-Za-z
]:[\\/]*) \
2844 srcdiroption
="--srcdir=$(srcdir)/gnuserv"; \
2845 libsrcdir
="$$s/gnuserv";; \
2847 srcdiroption
="--srcdir=../$(srcdir)/gnuserv"; \
2848 libsrcdir
="$$s/gnuserv";; \
2850 $(SHELL
) $${libsrcdir}/configure \
2851 $(HOST_CONFIGARGS
) $${srcdiroption} \
2854 .PHONY
: all-gnuserv maybe-all-gnuserv
2856 all-gnuserv
: configure-gnuserv
2857 @r
=`${PWD}`; export r
; \
2858 s
=`cd $(srcdir); ${PWD}`; export s
; \
2860 (cd gnuserv
&& $(MAKE
) $(FLAGS_TO_PASS
) all)
2863 .PHONY
: check-gnuserv
2865 @r
=`${PWD}`; export r
; \
2866 s
=`cd $(srcdir); ${PWD}`; export s
; \
2868 (cd gnuserv
&& $(MAKE
) $(FLAGS_TO_PASS
) check)
2872 .PHONY
: install-gnuserv maybe-install-gnuserv
2873 maybe-install-gnuserv
:
2874 install-gnuserv
: installdirs
2875 @r
=`${PWD}`; export r
; \
2876 s
=`cd $(srcdir); ${PWD}`; export s
; \
2878 (cd gnuserv
&& $(MAKE
) $(FLAGS_TO_PASS
) install)
2881 .PHONY
: configure-gprof maybe-configure-gprof
2882 maybe-configure-gprof
:
2884 @
test ! -f gprof
/Makefile || exit
0; \
2885 [ -d gprof
] || mkdir gprof
; \
2886 r
=`${PWD}`; export r
; \
2887 s
=`cd $(srcdir); ${PWD}`; export s
; \
2888 CC
="$(CC)"; export CC
; \
2889 CFLAGS
="$(CFLAGS)"; export CFLAGS
; \
2890 CXX
="$(CXX)"; export CXX
; \
2891 CXXFLAGS
="$(CXXFLAGS)"; export CXXFLAGS
; \
2892 if
[ z
$(build_canonical
) != z
$(host_canoncial
) ] ; then \
2893 AR
="$(AR)"; export AR
; \
2894 AS
="$(AS)"; export AS
; \
2895 CC_FOR_BUILD
="$(CC_FOR_BUILD)"; export CC_FOR_BUILD
; \
2896 DLLTOOL
="$(DLLTOOL)"; export DLLTOOL
; \
2897 LD
="$(LD)"; export LD
; \
2898 NM
="$(NM)"; export NM
; \
2899 RANLIB
="$(RANLIB)"; export RANLIB
; \
2900 WINDRES
="$(WINDRES)"; export WINDRES
; \
2901 OBJCOPY
="$(OBJCOPY)"; export OBJCOPY
; \
2902 OBJDUMP
="$(OBJDUMP)"; export OBJDUMP
; \
2904 echo Configuring in gprof
; \
2905 cd gprof || exit
1; \
2908 srcdiroption
="--srcdir=."; \
2910 /* |
[A-Za-z
]:[\\/]*) \
2911 srcdiroption
="--srcdir=$(srcdir)/gprof"; \
2912 libsrcdir
="$$s/gprof";; \
2914 srcdiroption
="--srcdir=../$(srcdir)/gprof"; \
2915 libsrcdir
="$$s/gprof";; \
2917 $(SHELL
) $${libsrcdir}/configure \
2918 $(HOST_CONFIGARGS
) $${srcdiroption} \
2921 .PHONY
: all-gprof maybe-all-gprof
2923 all-gprof
: configure-gprof
2924 @r
=`${PWD}`; export r
; \
2925 s
=`cd $(srcdir); ${PWD}`; export s
; \
2927 (cd gprof
&& $(MAKE
) $(FLAGS_TO_PASS
) all)
2932 @r
=`${PWD}`; export r
; \
2933 s
=`cd $(srcdir); ${PWD}`; export s
; \
2935 (cd gprof
&& $(MAKE
) $(FLAGS_TO_PASS
) check)
2939 .PHONY
: install-gprof maybe-install-gprof
2940 maybe-install-gprof
:
2941 install-gprof
: installdirs
2942 @r
=`${PWD}`; export r
; \
2943 s
=`cd $(srcdir); ${PWD}`; export s
; \
2945 (cd gprof
&& $(MAKE
) $(FLAGS_TO_PASS
) install)
2948 .PHONY
: configure-gzip maybe-configure-gzip
2949 maybe-configure-gzip
:
2951 @
test ! -f gzip
/Makefile || exit
0; \
2952 [ -d gzip
] || mkdir gzip
; \
2953 r
=`${PWD}`; export r
; \
2954 s
=`cd $(srcdir); ${PWD}`; export s
; \
2955 CC
="$(CC)"; export CC
; \
2956 CFLAGS
="$(CFLAGS)"; export CFLAGS
; \
2957 CXX
="$(CXX)"; export CXX
; \
2958 CXXFLAGS
="$(CXXFLAGS)"; export CXXFLAGS
; \
2959 if
[ z
$(build_canonical
) != z
$(host_canoncial
) ] ; then \
2960 AR
="$(AR)"; export AR
; \
2961 AS
="$(AS)"; export AS
; \
2962 CC_FOR_BUILD
="$(CC_FOR_BUILD)"; export CC_FOR_BUILD
; \
2963 DLLTOOL
="$(DLLTOOL)"; export DLLTOOL
; \
2964 LD
="$(LD)"; export LD
; \
2965 NM
="$(NM)"; export NM
; \
2966 RANLIB
="$(RANLIB)"; export RANLIB
; \
2967 WINDRES
="$(WINDRES)"; export WINDRES
; \
2968 OBJCOPY
="$(OBJCOPY)"; export OBJCOPY
; \
2969 OBJDUMP
="$(OBJDUMP)"; export OBJDUMP
; \
2971 echo Configuring in gzip
; \
2972 cd gzip || exit
1; \
2975 srcdiroption
="--srcdir=."; \
2977 /* |
[A-Za-z
]:[\\/]*) \
2978 srcdiroption
="--srcdir=$(srcdir)/gzip"; \
2979 libsrcdir
="$$s/gzip";; \
2981 srcdiroption
="--srcdir=../$(srcdir)/gzip"; \
2982 libsrcdir
="$$s/gzip";; \
2984 $(SHELL
) $${libsrcdir}/configure \
2985 $(HOST_CONFIGARGS
) $${srcdiroption} \
2988 .PHONY
: all-gzip maybe-all-gzip
2990 all-gzip
: configure-gzip
2991 @r
=`${PWD}`; export r
; \
2992 s
=`cd $(srcdir); ${PWD}`; export s
; \
2994 (cd gzip
&& $(MAKE
) $(FLAGS_TO_PASS
) all)
2999 @r
=`${PWD}`; export r
; \
3000 s
=`cd $(srcdir); ${PWD}`; export s
; \
3002 (cd gzip
&& $(MAKE
) $(FLAGS_TO_PASS
) check)
3006 .PHONY
: install-gzip maybe-install-gzip
3008 install-gzip
: installdirs
3009 @r
=`${PWD}`; export r
; \
3010 s
=`cd $(srcdir); ${PWD}`; export s
; \
3012 (cd gzip
&& $(MAKE
) $(FLAGS_TO_PASS
) install)
3015 .PHONY
: configure-hello maybe-configure-hello
3016 maybe-configure-hello
:
3018 @
test ! -f hello
/Makefile || exit
0; \
3019 [ -d hello
] || mkdir hello
; \
3020 r
=`${PWD}`; export r
; \
3021 s
=`cd $(srcdir); ${PWD}`; export s
; \
3022 CC
="$(CC)"; export CC
; \
3023 CFLAGS
="$(CFLAGS)"; export CFLAGS
; \
3024 CXX
="$(CXX)"; export CXX
; \
3025 CXXFLAGS
="$(CXXFLAGS)"; export CXXFLAGS
; \
3026 if
[ z
$(build_canonical
) != z
$(host_canoncial
) ] ; then \
3027 AR
="$(AR)"; export AR
; \
3028 AS
="$(AS)"; export AS
; \
3029 CC_FOR_BUILD
="$(CC_FOR_BUILD)"; export CC_FOR_BUILD
; \
3030 DLLTOOL
="$(DLLTOOL)"; export DLLTOOL
; \
3031 LD
="$(LD)"; export LD
; \
3032 NM
="$(NM)"; export NM
; \
3033 RANLIB
="$(RANLIB)"; export RANLIB
; \
3034 WINDRES
="$(WINDRES)"; export WINDRES
; \
3035 OBJCOPY
="$(OBJCOPY)"; export OBJCOPY
; \
3036 OBJDUMP
="$(OBJDUMP)"; export OBJDUMP
; \
3038 echo Configuring in hello
; \
3039 cd hello || exit
1; \
3042 srcdiroption
="--srcdir=."; \
3044 /* |
[A-Za-z
]:[\\/]*) \
3045 srcdiroption
="--srcdir=$(srcdir)/hello"; \
3046 libsrcdir
="$$s/hello";; \
3048 srcdiroption
="--srcdir=../$(srcdir)/hello"; \
3049 libsrcdir
="$$s/hello";; \
3051 $(SHELL
) $${libsrcdir}/configure \
3052 $(HOST_CONFIGARGS
) $${srcdiroption} \
3055 .PHONY
: all-hello maybe-all-hello
3057 all-hello
: configure-hello
3058 @r
=`${PWD}`; export r
; \
3059 s
=`cd $(srcdir); ${PWD}`; export s
; \
3061 (cd hello
&& $(MAKE
) $(FLAGS_TO_PASS
) all)
3066 @r
=`${PWD}`; export r
; \
3067 s
=`cd $(srcdir); ${PWD}`; export s
; \
3069 (cd hello
&& $(MAKE
) $(FLAGS_TO_PASS
) check)
3073 .PHONY
: install-hello maybe-install-hello
3074 maybe-install-hello
:
3075 install-hello
: installdirs
3076 @r
=`${PWD}`; export r
; \
3077 s
=`cd $(srcdir); ${PWD}`; export s
; \
3079 (cd hello
&& $(MAKE
) $(FLAGS_TO_PASS
) install)
3082 .PHONY
: configure-indent maybe-configure-indent
3083 maybe-configure-indent
:
3085 @
test ! -f indent
/Makefile || exit
0; \
3086 [ -d indent
] || mkdir indent
; \
3087 r
=`${PWD}`; export r
; \
3088 s
=`cd $(srcdir); ${PWD}`; export s
; \
3089 CC
="$(CC)"; export CC
; \
3090 CFLAGS
="$(CFLAGS)"; export CFLAGS
; \
3091 CXX
="$(CXX)"; export CXX
; \
3092 CXXFLAGS
="$(CXXFLAGS)"; export CXXFLAGS
; \
3093 if
[ z
$(build_canonical
) != z
$(host_canoncial
) ] ; then \
3094 AR
="$(AR)"; export AR
; \
3095 AS
="$(AS)"; export AS
; \
3096 CC_FOR_BUILD
="$(CC_FOR_BUILD)"; export CC_FOR_BUILD
; \
3097 DLLTOOL
="$(DLLTOOL)"; export DLLTOOL
; \
3098 LD
="$(LD)"; export LD
; \
3099 NM
="$(NM)"; export NM
; \
3100 RANLIB
="$(RANLIB)"; export RANLIB
; \
3101 WINDRES
="$(WINDRES)"; export WINDRES
; \
3102 OBJCOPY
="$(OBJCOPY)"; export OBJCOPY
; \
3103 OBJDUMP
="$(OBJDUMP)"; export OBJDUMP
; \
3105 echo Configuring in indent
; \
3106 cd indent || exit
1; \
3109 srcdiroption
="--srcdir=."; \
3111 /* |
[A-Za-z
]:[\\/]*) \
3112 srcdiroption
="--srcdir=$(srcdir)/indent"; \
3113 libsrcdir
="$$s/indent";; \
3115 srcdiroption
="--srcdir=../$(srcdir)/indent"; \
3116 libsrcdir
="$$s/indent";; \
3118 $(SHELL
) $${libsrcdir}/configure \
3119 $(HOST_CONFIGARGS
) $${srcdiroption} \
3122 .PHONY
: all-indent maybe-all-indent
3124 all-indent
: configure-indent
3125 @r
=`${PWD}`; export r
; \
3126 s
=`cd $(srcdir); ${PWD}`; export s
; \
3128 (cd indent
&& $(MAKE
) $(FLAGS_TO_PASS
) all)
3131 .PHONY
: check-indent
3133 @r
=`${PWD}`; export r
; \
3134 s
=`cd $(srcdir); ${PWD}`; export s
; \
3136 (cd indent
&& $(MAKE
) $(FLAGS_TO_PASS
) check)
3140 .PHONY
: install-indent maybe-install-indent
3141 maybe-install-indent
:
3142 install-indent
: installdirs
3143 @r
=`${PWD}`; export r
; \
3144 s
=`cd $(srcdir); ${PWD}`; export s
; \
3146 (cd indent
&& $(MAKE
) $(FLAGS_TO_PASS
) install)
3149 .PHONY
: configure-intl maybe-configure-intl
3150 maybe-configure-intl
:
3152 @
test ! -f intl
/Makefile || exit
0; \
3153 [ -d intl
] || mkdir intl
; \
3154 r
=`${PWD}`; export r
; \
3155 s
=`cd $(srcdir); ${PWD}`; export s
; \
3156 CC
="$(CC)"; export CC
; \
3157 CFLAGS
="$(CFLAGS)"; export CFLAGS
; \
3158 CXX
="$(CXX)"; export CXX
; \
3159 CXXFLAGS
="$(CXXFLAGS)"; export CXXFLAGS
; \
3160 if
[ z
$(build_canonical
) != z
$(host_canoncial
) ] ; then \
3161 AR
="$(AR)"; export AR
; \
3162 AS
="$(AS)"; export AS
; \
3163 CC_FOR_BUILD
="$(CC_FOR_BUILD)"; export CC_FOR_BUILD
; \
3164 DLLTOOL
="$(DLLTOOL)"; export DLLTOOL
; \
3165 LD
="$(LD)"; export LD
; \
3166 NM
="$(NM)"; export NM
; \
3167 RANLIB
="$(RANLIB)"; export RANLIB
; \
3168 WINDRES
="$(WINDRES)"; export WINDRES
; \
3169 OBJCOPY
="$(OBJCOPY)"; export OBJCOPY
; \
3170 OBJDUMP
="$(OBJDUMP)"; export OBJDUMP
; \
3172 echo Configuring in intl
; \
3173 cd intl || exit
1; \
3176 srcdiroption
="--srcdir=."; \
3178 /* |
[A-Za-z
]:[\\/]*) \
3179 srcdiroption
="--srcdir=$(srcdir)/intl"; \
3180 libsrcdir
="$$s/intl";; \
3182 srcdiroption
="--srcdir=../$(srcdir)/intl"; \
3183 libsrcdir
="$$s/intl";; \
3185 $(SHELL
) $${libsrcdir}/configure \
3186 $(HOST_CONFIGARGS
) $${srcdiroption} \
3189 .PHONY
: all-intl maybe-all-intl
3191 all-intl
: configure-intl
3192 @r
=`${PWD}`; export r
; \
3193 s
=`cd $(srcdir); ${PWD}`; export s
; \
3195 (cd intl
&& $(MAKE
) $(FLAGS_TO_PASS
) all)
3200 @r
=`${PWD}`; export r
; \
3201 s
=`cd $(srcdir); ${PWD}`; export s
; \
3203 (cd intl
&& $(MAKE
) $(FLAGS_TO_PASS
) check)
3207 .PHONY
: install-intl maybe-install-intl
3209 install-intl
: installdirs
3210 @r
=`${PWD}`; export r
; \
3211 s
=`cd $(srcdir); ${PWD}`; export s
; \
3213 (cd intl
&& $(MAKE
) $(FLAGS_TO_PASS
) install)
3216 .PHONY
: configure-tcl maybe-configure-tcl
3217 maybe-configure-tcl
:
3219 @
test ! -f tcl
/Makefile || exit
0; \
3220 [ -d tcl
] || mkdir tcl
; \
3221 r
=`${PWD}`; export r
; \
3222 s
=`cd $(srcdir); ${PWD}`; export s
; \
3223 CC
="$(CC)"; export CC
; \
3224 CFLAGS
="$(CFLAGS)"; export CFLAGS
; \
3225 CXX
="$(CXX)"; export CXX
; \
3226 CXXFLAGS
="$(CXXFLAGS)"; export CXXFLAGS
; \
3227 if
[ z
$(build_canonical
) != z
$(host_canoncial
) ] ; then \
3228 AR
="$(AR)"; export AR
; \
3229 AS
="$(AS)"; export AS
; \
3230 CC_FOR_BUILD
="$(CC_FOR_BUILD)"; export CC_FOR_BUILD
; \
3231 DLLTOOL
="$(DLLTOOL)"; export DLLTOOL
; \
3232 LD
="$(LD)"; export LD
; \
3233 NM
="$(NM)"; export NM
; \
3234 RANLIB
="$(RANLIB)"; export RANLIB
; \
3235 WINDRES
="$(WINDRES)"; export WINDRES
; \
3236 OBJCOPY
="$(OBJCOPY)"; export OBJCOPY
; \
3237 OBJDUMP
="$(OBJDUMP)"; export OBJDUMP
; \
3239 echo Configuring in tcl
; \
3243 srcdiroption
="--srcdir=."; \
3245 /* |
[A-Za-z
]:[\\/]*) \
3246 srcdiroption
="--srcdir=$(srcdir)/tcl"; \
3247 libsrcdir
="$$s/tcl";; \
3249 srcdiroption
="--srcdir=../$(srcdir)/tcl"; \
3250 libsrcdir
="$$s/tcl";; \
3252 $(SHELL
) $${libsrcdir}/configure \
3253 $(HOST_CONFIGARGS
) $${srcdiroption} \
3256 .PHONY
: all-tcl maybe-all-tcl
3258 all-tcl
: configure-tcl
3259 @r
=`${PWD}`; export r
; \
3260 s
=`cd $(srcdir); ${PWD}`; export s
; \
3262 (cd tcl
&& $(MAKE
) $(FLAGS_TO_PASS
) all)
3267 @r
=`${PWD}`; export r
; \
3268 s
=`cd $(srcdir); ${PWD}`; export s
; \
3270 (cd tcl
&& $(MAKE
) $(FLAGS_TO_PASS
) check)
3274 .PHONY
: install-tcl maybe-install-tcl
3276 install-tcl
: installdirs
3277 @r
=`${PWD}`; export r
; \
3278 s
=`cd $(srcdir); ${PWD}`; export s
; \
3280 (cd tcl
&& $(MAKE
) $(FLAGS_TO_PASS
) install)
3283 .PHONY
: configure-itcl maybe-configure-itcl
3284 maybe-configure-itcl
:
3286 @
test ! -f itcl
/Makefile || exit
0; \
3287 [ -d itcl
] || mkdir itcl
; \
3288 r
=`${PWD}`; export r
; \
3289 s
=`cd $(srcdir); ${PWD}`; export s
; \
3290 CC
="$(CC)"; export CC
; \
3291 CFLAGS
="$(CFLAGS)"; export CFLAGS
; \
3292 CXX
="$(CXX)"; export CXX
; \
3293 CXXFLAGS
="$(CXXFLAGS)"; export CXXFLAGS
; \
3294 if
[ z
$(build_canonical
) != z
$(host_canoncial
) ] ; then \
3295 AR
="$(AR)"; export AR
; \
3296 AS
="$(AS)"; export AS
; \
3297 CC_FOR_BUILD
="$(CC_FOR_BUILD)"; export CC_FOR_BUILD
; \
3298 DLLTOOL
="$(DLLTOOL)"; export DLLTOOL
; \
3299 LD
="$(LD)"; export LD
; \
3300 NM
="$(NM)"; export NM
; \
3301 RANLIB
="$(RANLIB)"; export RANLIB
; \
3302 WINDRES
="$(WINDRES)"; export WINDRES
; \
3303 OBJCOPY
="$(OBJCOPY)"; export OBJCOPY
; \
3304 OBJDUMP
="$(OBJDUMP)"; export OBJDUMP
; \
3306 echo Configuring in itcl
; \
3307 cd itcl || exit
1; \
3310 srcdiroption
="--srcdir=."; \
3312 /* |
[A-Za-z
]:[\\/]*) \
3313 srcdiroption
="--srcdir=$(srcdir)/itcl"; \
3314 libsrcdir
="$$s/itcl";; \
3316 srcdiroption
="--srcdir=../$(srcdir)/itcl"; \
3317 libsrcdir
="$$s/itcl";; \
3319 $(SHELL
) $${libsrcdir}/configure \
3320 $(HOST_CONFIGARGS
) $${srcdiroption} \
3323 .PHONY
: all-itcl maybe-all-itcl
3325 all-itcl
: configure-itcl
3326 @r
=`${PWD}`; export r
; \
3327 s
=`cd $(srcdir); ${PWD}`; export s
; \
3329 (cd itcl
&& $(MAKE
) $(FLAGS_TO_PASS
) all)
3334 @r
=`${PWD}`; export r
; \
3335 s
=`cd $(srcdir); ${PWD}`; export s
; \
3337 (cd itcl
&& $(MAKE
) $(FLAGS_TO_PASS
) check)
3341 .PHONY
: install-itcl maybe-install-itcl
3343 install-itcl
: installdirs
3344 @r
=`${PWD}`; export r
; \
3345 s
=`cd $(srcdir); ${PWD}`; export s
; \
3347 (cd itcl
&& $(MAKE
) $(FLAGS_TO_PASS
) install)
3350 .PHONY
: configure-ld maybe-configure-ld
3353 @
test ! -f
ld/Makefile || exit
0; \
3354 [ -d
ld ] || mkdir
ld; \
3355 r
=`${PWD}`; export r
; \
3356 s
=`cd $(srcdir); ${PWD}`; export s
; \
3357 CC
="$(CC)"; export CC
; \
3358 CFLAGS
="$(CFLAGS)"; export CFLAGS
; \
3359 CXX
="$(CXX)"; export CXX
; \
3360 CXXFLAGS
="$(CXXFLAGS)"; export CXXFLAGS
; \
3361 if
[ z
$(build_canonical
) != z
$(host_canoncial
) ] ; then \
3362 AR
="$(AR)"; export AR
; \
3363 AS
="$(AS)"; export AS
; \
3364 CC_FOR_BUILD
="$(CC_FOR_BUILD)"; export CC_FOR_BUILD
; \
3365 DLLTOOL
="$(DLLTOOL)"; export DLLTOOL
; \
3366 LD
="$(LD)"; export LD
; \
3367 NM
="$(NM)"; export NM
; \
3368 RANLIB
="$(RANLIB)"; export RANLIB
; \
3369 WINDRES
="$(WINDRES)"; export WINDRES
; \
3370 OBJCOPY
="$(OBJCOPY)"; export OBJCOPY
; \
3371 OBJDUMP
="$(OBJDUMP)"; export OBJDUMP
; \
3373 echo Configuring in
ld; \
3377 srcdiroption
="--srcdir=."; \
3379 /* |
[A-Za-z
]:[\\/]*) \
3380 srcdiroption
="--srcdir=$(srcdir)/ld"; \
3381 libsrcdir
="$$s/ld";; \
3383 srcdiroption
="--srcdir=../$(srcdir)/ld"; \
3384 libsrcdir
="$$s/ld";; \
3386 $(SHELL
) $${libsrcdir}/configure \
3387 $(HOST_CONFIGARGS
) $${srcdiroption} \
3390 .PHONY
: all-ld maybe-all-ld
3392 all-ld
: configure-ld
3393 @r
=`${PWD}`; export r
; \
3394 s
=`cd $(srcdir); ${PWD}`; export s
; \
3396 (cd
ld && $(MAKE
) $(FLAGS_TO_PASS
) all)
3401 @r
=`${PWD}`; export r
; \
3402 s
=`cd $(srcdir); ${PWD}`; export s
; \
3404 (cd
ld && $(MAKE
) $(FLAGS_TO_PASS
) check)
3408 .PHONY
: install-ld maybe-install-ld
3410 install-ld
: installdirs
3411 @r
=`${PWD}`; export r
; \
3412 s
=`cd $(srcdir); ${PWD}`; export s
; \
3414 (cd
ld && $(MAKE
) $(FLAGS_TO_PASS
) install)
3417 .PHONY
: configure-libgui maybe-configure-libgui
3418 maybe-configure-libgui
:
3420 @
test ! -f libgui
/Makefile || exit
0; \
3421 [ -d libgui
] || mkdir libgui
; \
3422 r
=`${PWD}`; export r
; \
3423 s
=`cd $(srcdir); ${PWD}`; export s
; \
3424 CC
="$(CC)"; export CC
; \
3425 CFLAGS
="$(CFLAGS)"; export CFLAGS
; \
3426 CXX
="$(CXX)"; export CXX
; \
3427 CXXFLAGS
="$(CXXFLAGS)"; export CXXFLAGS
; \
3428 if
[ z
$(build_canonical
) != z
$(host_canoncial
) ] ; then \
3429 AR
="$(AR)"; export AR
; \
3430 AS
="$(AS)"; export AS
; \
3431 CC_FOR_BUILD
="$(CC_FOR_BUILD)"; export CC_FOR_BUILD
; \
3432 DLLTOOL
="$(DLLTOOL)"; export DLLTOOL
; \
3433 LD
="$(LD)"; export LD
; \
3434 NM
="$(NM)"; export NM
; \
3435 RANLIB
="$(RANLIB)"; export RANLIB
; \
3436 WINDRES
="$(WINDRES)"; export WINDRES
; \
3437 OBJCOPY
="$(OBJCOPY)"; export OBJCOPY
; \
3438 OBJDUMP
="$(OBJDUMP)"; export OBJDUMP
; \
3440 echo Configuring in libgui
; \
3441 cd libgui || exit
1; \
3444 srcdiroption
="--srcdir=."; \
3446 /* |
[A-Za-z
]:[\\/]*) \
3447 srcdiroption
="--srcdir=$(srcdir)/libgui"; \
3448 libsrcdir
="$$s/libgui";; \
3450 srcdiroption
="--srcdir=../$(srcdir)/libgui"; \
3451 libsrcdir
="$$s/libgui";; \
3453 $(SHELL
) $${libsrcdir}/configure \
3454 $(HOST_CONFIGARGS
) $${srcdiroption} \
3457 .PHONY
: all-libgui maybe-all-libgui
3459 all-libgui
: configure-libgui
3460 @r
=`${PWD}`; export r
; \
3461 s
=`cd $(srcdir); ${PWD}`; export s
; \
3463 (cd libgui
&& $(MAKE
) $(FLAGS_TO_PASS
) all)
3466 .PHONY
: check-libgui
3468 @r
=`${PWD}`; export r
; \
3469 s
=`cd $(srcdir); ${PWD}`; export s
; \
3471 (cd libgui
&& $(MAKE
) $(FLAGS_TO_PASS
) check)
3475 .PHONY
: install-libgui maybe-install-libgui
3476 maybe-install-libgui
:
3477 install-libgui
: installdirs
3478 @r
=`${PWD}`; export r
; \
3479 s
=`cd $(srcdir); ${PWD}`; export s
; \
3481 (cd libgui
&& $(MAKE
) $(FLAGS_TO_PASS
) install)
3484 .PHONY
: configure-libiberty maybe-configure-libiberty
3485 maybe-configure-libiberty
:
3486 configure-libiberty
:
3487 @
test ! -f libiberty
/Makefile || exit
0; \
3488 [ -d libiberty
] || mkdir libiberty
; \
3489 r
=`${PWD}`; export r
; \
3490 s
=`cd $(srcdir); ${PWD}`; export s
; \
3491 CC
="$(CC)"; export CC
; \
3492 CFLAGS
="$(CFLAGS)"; export CFLAGS
; \
3493 CXX
="$(CXX)"; export CXX
; \
3494 CXXFLAGS
="$(CXXFLAGS)"; export CXXFLAGS
; \
3495 if
[ z
$(build_canonical
) != z
$(host_canoncial
) ] ; then \
3496 AR
="$(AR)"; export AR
; \
3497 AS
="$(AS)"; export AS
; \
3498 CC_FOR_BUILD
="$(CC_FOR_BUILD)"; export CC_FOR_BUILD
; \
3499 DLLTOOL
="$(DLLTOOL)"; export DLLTOOL
; \
3500 LD
="$(LD)"; export LD
; \
3501 NM
="$(NM)"; export NM
; \
3502 RANLIB
="$(RANLIB)"; export RANLIB
; \
3503 WINDRES
="$(WINDRES)"; export WINDRES
; \
3504 OBJCOPY
="$(OBJCOPY)"; export OBJCOPY
; \
3505 OBJDUMP
="$(OBJDUMP)"; export OBJDUMP
; \
3507 echo Configuring in libiberty
; \
3508 cd libiberty || exit
1; \
3511 srcdiroption
="--srcdir=."; \
3513 /* |
[A-Za-z
]:[\\/]*) \
3514 srcdiroption
="--srcdir=$(srcdir)/libiberty"; \
3515 libsrcdir
="$$s/libiberty";; \
3517 srcdiroption
="--srcdir=../$(srcdir)/libiberty"; \
3518 libsrcdir
="$$s/libiberty";; \
3520 $(SHELL
) $${libsrcdir}/configure \
3521 $(HOST_CONFIGARGS
) $${srcdiroption} \
3524 .PHONY
: all-libiberty maybe-all-libiberty
3525 maybe-all-libiberty
:
3526 all-libiberty
: configure-libiberty
3527 @r
=`${PWD}`; export r
; \
3528 s
=`cd $(srcdir); ${PWD}`; export s
; \
3530 (cd libiberty
&& $(MAKE
) $(FLAGS_TO_PASS
) all)
3533 .PHONY
: check-libiberty
3535 @r
=`${PWD}`; export r
; \
3536 s
=`cd $(srcdir); ${PWD}`; export s
; \
3538 (cd libiberty
&& $(MAKE
) $(FLAGS_TO_PASS
) check)
3542 .PHONY
: install-libiberty maybe-install-libiberty
3543 maybe-install-libiberty
:
3544 install-libiberty
: installdirs
3545 @r
=`${PWD}`; export r
; \
3546 s
=`cd $(srcdir); ${PWD}`; export s
; \
3548 (cd libiberty
&& $(MAKE
) $(FLAGS_TO_PASS
) install)
3551 .PHONY
: configure-libtool maybe-configure-libtool
3552 maybe-configure-libtool
:
3554 @
test ! -f libtool
/Makefile || exit
0; \
3555 [ -d libtool
] || mkdir libtool
; \
3556 r
=`${PWD}`; export r
; \
3557 s
=`cd $(srcdir); ${PWD}`; export s
; \
3558 CC
="$(CC)"; export CC
; \
3559 CFLAGS
="$(CFLAGS)"; export CFLAGS
; \
3560 CXX
="$(CXX)"; export CXX
; \
3561 CXXFLAGS
="$(CXXFLAGS)"; export CXXFLAGS
; \
3562 if
[ z
$(build_canonical
) != z
$(host_canoncial
) ] ; then \
3563 AR
="$(AR)"; export AR
; \
3564 AS
="$(AS)"; export AS
; \
3565 CC_FOR_BUILD
="$(CC_FOR_BUILD)"; export CC_FOR_BUILD
; \
3566 DLLTOOL
="$(DLLTOOL)"; export DLLTOOL
; \
3567 LD
="$(LD)"; export LD
; \
3568 NM
="$(NM)"; export NM
; \
3569 RANLIB
="$(RANLIB)"; export RANLIB
; \
3570 WINDRES
="$(WINDRES)"; export WINDRES
; \
3571 OBJCOPY
="$(OBJCOPY)"; export OBJCOPY
; \
3572 OBJDUMP
="$(OBJDUMP)"; export OBJDUMP
; \
3574 echo Configuring in libtool
; \
3575 cd libtool || exit
1; \
3578 srcdiroption
="--srcdir=."; \
3580 /* |
[A-Za-z
]:[\\/]*) \
3581 srcdiroption
="--srcdir=$(srcdir)/libtool"; \
3582 libsrcdir
="$$s/libtool";; \
3584 srcdiroption
="--srcdir=../$(srcdir)/libtool"; \
3585 libsrcdir
="$$s/libtool";; \
3587 $(SHELL
) $${libsrcdir}/configure \
3588 $(HOST_CONFIGARGS
) $${srcdiroption} \
3591 .PHONY
: all-libtool maybe-all-libtool
3593 all-libtool
: configure-libtool
3594 @r
=`${PWD}`; export r
; \
3595 s
=`cd $(srcdir); ${PWD}`; export s
; \
3597 (cd libtool
&& $(MAKE
) $(FLAGS_TO_PASS
) all)
3600 .PHONY
: check-libtool
3602 @r
=`${PWD}`; export r
; \
3603 s
=`cd $(srcdir); ${PWD}`; export s
; \
3605 (cd libtool
&& $(MAKE
) $(FLAGS_TO_PASS
) check)
3609 .PHONY
: install-libtool maybe-install-libtool
3610 maybe-install-libtool
:
3611 install-libtool
: installdirs
3612 @r
=`${PWD}`; export r
; \
3613 s
=`cd $(srcdir); ${PWD}`; export s
; \
3615 (cd libtool
&& $(MAKE
) $(FLAGS_TO_PASS
) install)
3618 .PHONY
: configure-m4 maybe-configure-m4
3621 @
test ! -f m4
/Makefile || exit
0; \
3622 [ -d m4
] || mkdir m4
; \
3623 r
=`${PWD}`; export r
; \
3624 s
=`cd $(srcdir); ${PWD}`; export s
; \
3625 CC
="$(CC)"; export CC
; \
3626 CFLAGS
="$(CFLAGS)"; export CFLAGS
; \
3627 CXX
="$(CXX)"; export CXX
; \
3628 CXXFLAGS
="$(CXXFLAGS)"; export CXXFLAGS
; \
3629 if
[ z
$(build_canonical
) != z
$(host_canoncial
) ] ; then \
3630 AR
="$(AR)"; export AR
; \
3631 AS
="$(AS)"; export AS
; \
3632 CC_FOR_BUILD
="$(CC_FOR_BUILD)"; export CC_FOR_BUILD
; \
3633 DLLTOOL
="$(DLLTOOL)"; export DLLTOOL
; \
3634 LD
="$(LD)"; export LD
; \
3635 NM
="$(NM)"; export NM
; \
3636 RANLIB
="$(RANLIB)"; export RANLIB
; \
3637 WINDRES
="$(WINDRES)"; export WINDRES
; \
3638 OBJCOPY
="$(OBJCOPY)"; export OBJCOPY
; \
3639 OBJDUMP
="$(OBJDUMP)"; export OBJDUMP
; \
3641 echo Configuring in m4
; \
3645 srcdiroption
="--srcdir=."; \
3647 /* |
[A-Za-z
]:[\\/]*) \
3648 srcdiroption
="--srcdir=$(srcdir)/m4"; \
3649 libsrcdir
="$$s/m4";; \
3651 srcdiroption
="--srcdir=../$(srcdir)/m4"; \
3652 libsrcdir
="$$s/m4";; \
3654 $(SHELL
) $${libsrcdir}/configure \
3655 $(HOST_CONFIGARGS
) $${srcdiroption} \
3658 .PHONY
: all-m4 maybe-all-m4
3660 all-m4
: configure-m4
3661 @r
=`${PWD}`; export r
; \
3662 s
=`cd $(srcdir); ${PWD}`; export s
; \
3664 (cd m4
&& $(MAKE
) $(FLAGS_TO_PASS
) all)
3669 @r
=`${PWD}`; export r
; \
3670 s
=`cd $(srcdir); ${PWD}`; export s
; \
3672 (cd m4
&& $(MAKE
) $(FLAGS_TO_PASS
) check)
3676 .PHONY
: install-m4 maybe-install-m4
3678 install-m4
: installdirs
3679 @r
=`${PWD}`; export r
; \
3680 s
=`cd $(srcdir); ${PWD}`; export s
; \
3682 (cd m4
&& $(MAKE
) $(FLAGS_TO_PASS
) install)
3685 .PHONY
: configure-make maybe-configure-make
3686 maybe-configure-make
:
3688 @
test ! -f make
/Makefile || exit
0; \
3689 [ -d make
] || mkdir make
; \
3690 r
=`${PWD}`; export r
; \
3691 s
=`cd $(srcdir); ${PWD}`; export s
; \
3692 CC
="$(CC)"; export CC
; \
3693 CFLAGS
="$(CFLAGS)"; export CFLAGS
; \
3694 CXX
="$(CXX)"; export CXX
; \
3695 CXXFLAGS
="$(CXXFLAGS)"; export CXXFLAGS
; \
3696 if
[ z
$(build_canonical
) != z
$(host_canoncial
) ] ; then \
3697 AR
="$(AR)"; export AR
; \
3698 AS
="$(AS)"; export AS
; \
3699 CC_FOR_BUILD
="$(CC_FOR_BUILD)"; export CC_FOR_BUILD
; \
3700 DLLTOOL
="$(DLLTOOL)"; export DLLTOOL
; \
3701 LD
="$(LD)"; export LD
; \
3702 NM
="$(NM)"; export NM
; \
3703 RANLIB
="$(RANLIB)"; export RANLIB
; \
3704 WINDRES
="$(WINDRES)"; export WINDRES
; \
3705 OBJCOPY
="$(OBJCOPY)"; export OBJCOPY
; \
3706 OBJDUMP
="$(OBJDUMP)"; export OBJDUMP
; \
3708 echo Configuring in make
; \
3709 cd make || exit
1; \
3712 srcdiroption
="--srcdir=."; \
3714 /* |
[A-Za-z
]:[\\/]*) \
3715 srcdiroption
="--srcdir=$(srcdir)/make"; \
3716 libsrcdir
="$$s/make";; \
3718 srcdiroption
="--srcdir=../$(srcdir)/make"; \
3719 libsrcdir
="$$s/make";; \
3721 $(SHELL
) $${libsrcdir}/configure \
3722 $(HOST_CONFIGARGS
) $${srcdiroption} \
3725 .PHONY
: all-make maybe-all-make
3727 all-make
: configure-make
3728 @r
=`${PWD}`; export r
; \
3729 s
=`cd $(srcdir); ${PWD}`; export s
; \
3731 (cd make
&& $(MAKE
) $(FLAGS_TO_PASS
) all)
3736 @r
=`${PWD}`; export r
; \
3737 s
=`cd $(srcdir); ${PWD}`; export s
; \
3739 (cd make
&& $(MAKE
) $(FLAGS_TO_PASS
) check)
3743 .PHONY
: install-make maybe-install-make
3745 install-make
: installdirs
3746 @r
=`${PWD}`; export r
; \
3747 s
=`cd $(srcdir); ${PWD}`; export s
; \
3749 (cd make
&& $(MAKE
) $(FLAGS_TO_PASS
) install)
3752 .PHONY
: configure-mmalloc maybe-configure-mmalloc
3753 maybe-configure-mmalloc
:
3755 @
test ! -f mmalloc
/Makefile || exit
0; \
3756 [ -d mmalloc
] || mkdir mmalloc
; \
3757 r
=`${PWD}`; export r
; \
3758 s
=`cd $(srcdir); ${PWD}`; export s
; \
3759 CC
="$(CC)"; export CC
; \
3760 CFLAGS
="$(CFLAGS)"; export CFLAGS
; \
3761 CXX
="$(CXX)"; export CXX
; \
3762 CXXFLAGS
="$(CXXFLAGS)"; export CXXFLAGS
; \
3763 if
[ z
$(build_canonical
) != z
$(host_canoncial
) ] ; then \
3764 AR
="$(AR)"; export AR
; \
3765 AS
="$(AS)"; export AS
; \
3766 CC_FOR_BUILD
="$(CC_FOR_BUILD)"; export CC_FOR_BUILD
; \
3767 DLLTOOL
="$(DLLTOOL)"; export DLLTOOL
; \
3768 LD
="$(LD)"; export LD
; \
3769 NM
="$(NM)"; export NM
; \
3770 RANLIB
="$(RANLIB)"; export RANLIB
; \
3771 WINDRES
="$(WINDRES)"; export WINDRES
; \
3772 OBJCOPY
="$(OBJCOPY)"; export OBJCOPY
; \
3773 OBJDUMP
="$(OBJDUMP)"; export OBJDUMP
; \
3775 echo Configuring in mmalloc
; \
3776 cd mmalloc || exit
1; \
3779 srcdiroption
="--srcdir=."; \
3781 /* |
[A-Za-z
]:[\\/]*) \
3782 srcdiroption
="--srcdir=$(srcdir)/mmalloc"; \
3783 libsrcdir
="$$s/mmalloc";; \
3785 srcdiroption
="--srcdir=../$(srcdir)/mmalloc"; \
3786 libsrcdir
="$$s/mmalloc";; \
3788 $(SHELL
) $${libsrcdir}/configure \
3789 $(HOST_CONFIGARGS
) $${srcdiroption} \
3792 .PHONY
: all-mmalloc maybe-all-mmalloc
3794 all-mmalloc
: configure-mmalloc
3795 @r
=`${PWD}`; export r
; \
3796 s
=`cd $(srcdir); ${PWD}`; export s
; \
3798 (cd mmalloc
&& $(MAKE
) $(FLAGS_TO_PASS
) all)
3801 .PHONY
: check-mmalloc
3806 .PHONY
: install-mmalloc maybe-install-mmalloc
3807 maybe-install-mmalloc
:
3808 install-mmalloc
: installdirs
3809 @r
=`${PWD}`; export r
; \
3810 s
=`cd $(srcdir); ${PWD}`; export s
; \
3812 (cd mmalloc
&& $(MAKE
) $(FLAGS_TO_PASS
) install)
3815 .PHONY
: configure-patch maybe-configure-patch
3816 maybe-configure-patch
:
3818 @
test ! -f patch
/Makefile || exit
0; \
3819 [ -d patch
] || mkdir patch
; \
3820 r
=`${PWD}`; export r
; \
3821 s
=`cd $(srcdir); ${PWD}`; export s
; \
3822 CC
="$(CC)"; export CC
; \
3823 CFLAGS
="$(CFLAGS)"; export CFLAGS
; \
3824 CXX
="$(CXX)"; export CXX
; \
3825 CXXFLAGS
="$(CXXFLAGS)"; export CXXFLAGS
; \
3826 if
[ z
$(build_canonical
) != z
$(host_canoncial
) ] ; then \
3827 AR
="$(AR)"; export AR
; \
3828 AS
="$(AS)"; export AS
; \
3829 CC_FOR_BUILD
="$(CC_FOR_BUILD)"; export CC_FOR_BUILD
; \
3830 DLLTOOL
="$(DLLTOOL)"; export DLLTOOL
; \
3831 LD
="$(LD)"; export LD
; \
3832 NM
="$(NM)"; export NM
; \
3833 RANLIB
="$(RANLIB)"; export RANLIB
; \
3834 WINDRES
="$(WINDRES)"; export WINDRES
; \
3835 OBJCOPY
="$(OBJCOPY)"; export OBJCOPY
; \
3836 OBJDUMP
="$(OBJDUMP)"; export OBJDUMP
; \
3838 echo Configuring in patch
; \
3839 cd patch || exit
1; \
3842 srcdiroption
="--srcdir=."; \
3844 /* |
[A-Za-z
]:[\\/]*) \
3845 srcdiroption
="--srcdir=$(srcdir)/patch"; \
3846 libsrcdir
="$$s/patch";; \
3848 srcdiroption
="--srcdir=../$(srcdir)/patch"; \
3849 libsrcdir
="$$s/patch";; \
3851 $(SHELL
) $${libsrcdir}/configure \
3852 $(HOST_CONFIGARGS
) $${srcdiroption} \
3855 .PHONY
: all-patch maybe-all-patch
3857 all-patch
: configure-patch
3858 @r
=`${PWD}`; export r
; \
3859 s
=`cd $(srcdir); ${PWD}`; export s
; \
3861 (cd patch
&& $(MAKE
) $(FLAGS_TO_PASS
) all)
3866 @r
=`${PWD}`; export r
; \
3867 s
=`cd $(srcdir); ${PWD}`; export s
; \
3869 (cd patch
&& $(MAKE
) $(FLAGS_TO_PASS
) check)
3873 .PHONY
: install-patch maybe-install-patch
3874 maybe-install-patch
:
3875 install-patch
: installdirs
3876 @r
=`${PWD}`; export r
; \
3877 s
=`cd $(srcdir); ${PWD}`; export s
; \
3879 (cd patch
&& $(MAKE
) $(FLAGS_TO_PASS
) install)
3882 .PHONY
: configure-perl maybe-configure-perl
3883 maybe-configure-perl
:
3885 @
test ! -f perl
/Makefile || exit
0; \
3886 [ -d perl
] || mkdir perl
; \
3887 r
=`${PWD}`; export r
; \
3888 s
=`cd $(srcdir); ${PWD}`; export s
; \
3889 CC
="$(CC)"; export CC
; \
3890 CFLAGS
="$(CFLAGS)"; export CFLAGS
; \
3891 CXX
="$(CXX)"; export CXX
; \
3892 CXXFLAGS
="$(CXXFLAGS)"; export CXXFLAGS
; \
3893 if
[ z
$(build_canonical
) != z
$(host_canoncial
) ] ; then \
3894 AR
="$(AR)"; export AR
; \
3895 AS
="$(AS)"; export AS
; \
3896 CC_FOR_BUILD
="$(CC_FOR_BUILD)"; export CC_FOR_BUILD
; \
3897 DLLTOOL
="$(DLLTOOL)"; export DLLTOOL
; \
3898 LD
="$(LD)"; export LD
; \
3899 NM
="$(NM)"; export NM
; \
3900 RANLIB
="$(RANLIB)"; export RANLIB
; \
3901 WINDRES
="$(WINDRES)"; export WINDRES
; \
3902 OBJCOPY
="$(OBJCOPY)"; export OBJCOPY
; \
3903 OBJDUMP
="$(OBJDUMP)"; export OBJDUMP
; \
3905 echo Configuring in perl
; \
3906 cd perl || exit
1; \
3909 srcdiroption
="--srcdir=."; \
3911 /* |
[A-Za-z
]:[\\/]*) \
3912 srcdiroption
="--srcdir=$(srcdir)/perl"; \
3913 libsrcdir
="$$s/perl";; \
3915 srcdiroption
="--srcdir=../$(srcdir)/perl"; \
3916 libsrcdir
="$$s/perl";; \
3918 $(SHELL
) $${libsrcdir}/configure \
3919 $(HOST_CONFIGARGS
) $${srcdiroption} \
3922 .PHONY
: all-perl maybe-all-perl
3924 all-perl
: configure-perl
3925 @r
=`${PWD}`; export r
; \
3926 s
=`cd $(srcdir); ${PWD}`; export s
; \
3928 (cd perl
&& $(MAKE
) $(FLAGS_TO_PASS
) all)
3933 @r
=`${PWD}`; export r
; \
3934 s
=`cd $(srcdir); ${PWD}`; export s
; \
3936 (cd perl
&& $(MAKE
) $(FLAGS_TO_PASS
) check)
3940 .PHONY
: install-perl maybe-install-perl
3942 install-perl
: installdirs
3943 @r
=`${PWD}`; export r
; \
3944 s
=`cd $(srcdir); ${PWD}`; export s
; \
3946 (cd perl
&& $(MAKE
) $(FLAGS_TO_PASS
) install)
3949 .PHONY
: configure-prms maybe-configure-prms
3950 maybe-configure-prms
:
3952 @
test ! -f prms
/Makefile || exit
0; \
3953 [ -d prms
] || mkdir prms
; \
3954 r
=`${PWD}`; export r
; \
3955 s
=`cd $(srcdir); ${PWD}`; export s
; \
3956 CC
="$(CC)"; export CC
; \
3957 CFLAGS
="$(CFLAGS)"; export CFLAGS
; \
3958 CXX
="$(CXX)"; export CXX
; \
3959 CXXFLAGS
="$(CXXFLAGS)"; export CXXFLAGS
; \
3960 if
[ z
$(build_canonical
) != z
$(host_canoncial
) ] ; then \
3961 AR
="$(AR)"; export AR
; \
3962 AS
="$(AS)"; export AS
; \
3963 CC_FOR_BUILD
="$(CC_FOR_BUILD)"; export CC_FOR_BUILD
; \
3964 DLLTOOL
="$(DLLTOOL)"; export DLLTOOL
; \
3965 LD
="$(LD)"; export LD
; \
3966 NM
="$(NM)"; export NM
; \
3967 RANLIB
="$(RANLIB)"; export RANLIB
; \
3968 WINDRES
="$(WINDRES)"; export WINDRES
; \
3969 OBJCOPY
="$(OBJCOPY)"; export OBJCOPY
; \
3970 OBJDUMP
="$(OBJDUMP)"; export OBJDUMP
; \
3972 echo Configuring in prms
; \
3973 cd prms || exit
1; \
3976 srcdiroption
="--srcdir=."; \
3978 /* |
[A-Za-z
]:[\\/]*) \
3979 srcdiroption
="--srcdir=$(srcdir)/prms"; \
3980 libsrcdir
="$$s/prms";; \
3982 srcdiroption
="--srcdir=../$(srcdir)/prms"; \
3983 libsrcdir
="$$s/prms";; \
3985 $(SHELL
) $${libsrcdir}/configure \
3986 $(HOST_CONFIGARGS
) $${srcdiroption} \
3989 .PHONY
: all-prms maybe-all-prms
3991 all-prms
: configure-prms
3992 @r
=`${PWD}`; export r
; \
3993 s
=`cd $(srcdir); ${PWD}`; export s
; \
3995 (cd prms
&& $(MAKE
) $(FLAGS_TO_PASS
) all)
4000 @r
=`${PWD}`; export r
; \
4001 s
=`cd $(srcdir); ${PWD}`; export s
; \
4003 (cd prms
&& $(MAKE
) $(FLAGS_TO_PASS
) check)
4007 .PHONY
: install-prms maybe-install-prms
4009 install-prms
: installdirs
4010 @r
=`${PWD}`; export r
; \
4011 s
=`cd $(srcdir); ${PWD}`; export s
; \
4013 (cd prms
&& $(MAKE
) $(FLAGS_TO_PASS
) install)
4016 .PHONY
: configure-rcs maybe-configure-rcs
4017 maybe-configure-rcs
:
4019 @
test ! -f rcs
/Makefile || exit
0; \
4020 [ -d rcs
] || mkdir rcs
; \
4021 r
=`${PWD}`; export r
; \
4022 s
=`cd $(srcdir); ${PWD}`; export s
; \
4023 CC
="$(CC)"; export CC
; \
4024 CFLAGS
="$(CFLAGS)"; export CFLAGS
; \
4025 CXX
="$(CXX)"; export CXX
; \
4026 CXXFLAGS
="$(CXXFLAGS)"; export CXXFLAGS
; \
4027 if
[ z
$(build_canonical
) != z
$(host_canoncial
) ] ; then \
4028 AR
="$(AR)"; export AR
; \
4029 AS
="$(AS)"; export AS
; \
4030 CC_FOR_BUILD
="$(CC_FOR_BUILD)"; export CC_FOR_BUILD
; \
4031 DLLTOOL
="$(DLLTOOL)"; export DLLTOOL
; \
4032 LD
="$(LD)"; export LD
; \
4033 NM
="$(NM)"; export NM
; \
4034 RANLIB
="$(RANLIB)"; export RANLIB
; \
4035 WINDRES
="$(WINDRES)"; export WINDRES
; \
4036 OBJCOPY
="$(OBJCOPY)"; export OBJCOPY
; \
4037 OBJDUMP
="$(OBJDUMP)"; export OBJDUMP
; \
4039 echo Configuring in rcs
; \
4043 srcdiroption
="--srcdir=."; \
4045 /* |
[A-Za-z
]:[\\/]*) \
4046 srcdiroption
="--srcdir=$(srcdir)/rcs"; \
4047 libsrcdir
="$$s/rcs";; \
4049 srcdiroption
="--srcdir=../$(srcdir)/rcs"; \
4050 libsrcdir
="$$s/rcs";; \
4052 $(SHELL
) $${libsrcdir}/configure \
4053 $(HOST_CONFIGARGS
) $${srcdiroption} \
4056 .PHONY
: all-rcs maybe-all-rcs
4058 all-rcs
: configure-rcs
4059 @r
=`${PWD}`; export r
; \
4060 s
=`cd $(srcdir); ${PWD}`; export s
; \
4062 (cd rcs
&& $(MAKE
) $(FLAGS_TO_PASS
) all)
4067 @r
=`${PWD}`; export r
; \
4068 s
=`cd $(srcdir); ${PWD}`; export s
; \
4070 (cd rcs
&& $(MAKE
) $(FLAGS_TO_PASS
) check)
4074 .PHONY
: install-rcs maybe-install-rcs
4076 install-rcs
: installdirs
4077 @r
=`${PWD}`; export r
; \
4078 s
=`cd $(srcdir); ${PWD}`; export s
; \
4080 (cd rcs
&& $(MAKE
) $(FLAGS_TO_PASS
) install)
4083 .PHONY
: configure-readline maybe-configure-readline
4084 maybe-configure-readline
:
4086 @
test ! -f readline
/Makefile || exit
0; \
4087 [ -d readline
] || mkdir readline
; \
4088 r
=`${PWD}`; export r
; \
4089 s
=`cd $(srcdir); ${PWD}`; export s
; \
4090 CC
="$(CC)"; export CC
; \
4091 CFLAGS
="$(CFLAGS)"; export CFLAGS
; \
4092 CXX
="$(CXX)"; export CXX
; \
4093 CXXFLAGS
="$(CXXFLAGS)"; export CXXFLAGS
; \
4094 if
[ z
$(build_canonical
) != z
$(host_canoncial
) ] ; then \
4095 AR
="$(AR)"; export AR
; \
4096 AS
="$(AS)"; export AS
; \
4097 CC_FOR_BUILD
="$(CC_FOR_BUILD)"; export CC_FOR_BUILD
; \
4098 DLLTOOL
="$(DLLTOOL)"; export DLLTOOL
; \
4099 LD
="$(LD)"; export LD
; \
4100 NM
="$(NM)"; export NM
; \
4101 RANLIB
="$(RANLIB)"; export RANLIB
; \
4102 WINDRES
="$(WINDRES)"; export WINDRES
; \
4103 OBJCOPY
="$(OBJCOPY)"; export OBJCOPY
; \
4104 OBJDUMP
="$(OBJDUMP)"; export OBJDUMP
; \
4106 echo Configuring in readline
; \
4107 cd readline || exit
1; \
4110 srcdiroption
="--srcdir=."; \
4112 /* |
[A-Za-z
]:[\\/]*) \
4113 srcdiroption
="--srcdir=$(srcdir)/readline"; \
4114 libsrcdir
="$$s/readline";; \
4116 srcdiroption
="--srcdir=../$(srcdir)/readline"; \
4117 libsrcdir
="$$s/readline";; \
4119 $(SHELL
) $${libsrcdir}/configure \
4120 $(HOST_CONFIGARGS
) $${srcdiroption} \
4123 .PHONY
: all-readline maybe-all-readline
4125 all-readline
: configure-readline
4126 @r
=`${PWD}`; export r
; \
4127 s
=`cd $(srcdir); ${PWD}`; export s
; \
4129 (cd readline
&& $(MAKE
) $(FLAGS_TO_PASS
) all)
4132 .PHONY
: check-readline
4134 @r
=`${PWD}`; export r
; \
4135 s
=`cd $(srcdir); ${PWD}`; export s
; \
4137 (cd readline
&& $(MAKE
) $(FLAGS_TO_PASS
) check)
4141 .PHONY
: install-readline maybe-install-readline
4142 maybe-install-readline
:
4143 install-readline
: installdirs
4144 @r
=`${PWD}`; export r
; \
4145 s
=`cd $(srcdir); ${PWD}`; export s
; \
4147 (cd readline
&& $(MAKE
) $(FLAGS_TO_PASS
) install)
4150 .PHONY
: configure-release maybe-configure-release
4151 maybe-configure-release
:
4153 @
test ! -f release
/Makefile || exit
0; \
4154 [ -d release
] || mkdir release
; \
4155 r
=`${PWD}`; export r
; \
4156 s
=`cd $(srcdir); ${PWD}`; export s
; \
4157 CC
="$(CC)"; export CC
; \
4158 CFLAGS
="$(CFLAGS)"; export CFLAGS
; \
4159 CXX
="$(CXX)"; export CXX
; \
4160 CXXFLAGS
="$(CXXFLAGS)"; export CXXFLAGS
; \
4161 if
[ z
$(build_canonical
) != z
$(host_canoncial
) ] ; then \
4162 AR
="$(AR)"; export AR
; \
4163 AS
="$(AS)"; export AS
; \
4164 CC_FOR_BUILD
="$(CC_FOR_BUILD)"; export CC_FOR_BUILD
; \
4165 DLLTOOL
="$(DLLTOOL)"; export DLLTOOL
; \
4166 LD
="$(LD)"; export LD
; \
4167 NM
="$(NM)"; export NM
; \
4168 RANLIB
="$(RANLIB)"; export RANLIB
; \
4169 WINDRES
="$(WINDRES)"; export WINDRES
; \
4170 OBJCOPY
="$(OBJCOPY)"; export OBJCOPY
; \
4171 OBJDUMP
="$(OBJDUMP)"; export OBJDUMP
; \
4173 echo Configuring in release
; \
4174 cd release || exit
1; \
4177 srcdiroption
="--srcdir=."; \
4179 /* |
[A-Za-z
]:[\\/]*) \
4180 srcdiroption
="--srcdir=$(srcdir)/release"; \
4181 libsrcdir
="$$s/release";; \
4183 srcdiroption
="--srcdir=../$(srcdir)/release"; \
4184 libsrcdir
="$$s/release";; \
4186 $(SHELL
) $${libsrcdir}/configure \
4187 $(HOST_CONFIGARGS
) $${srcdiroption} \
4190 .PHONY
: all-release maybe-all-release
4192 all-release
: configure-release
4193 @r
=`${PWD}`; export r
; \
4194 s
=`cd $(srcdir); ${PWD}`; export s
; \
4196 (cd release
&& $(MAKE
) $(FLAGS_TO_PASS
) all)
4199 .PHONY
: check-release
4204 .PHONY
: install-release maybe-install-release
4205 maybe-install-release
:
4209 .PHONY
: configure-recode maybe-configure-recode
4210 maybe-configure-recode
:
4212 @
test ! -f recode
/Makefile || exit
0; \
4213 [ -d recode
] || mkdir recode
; \
4214 r
=`${PWD}`; export r
; \
4215 s
=`cd $(srcdir); ${PWD}`; export s
; \
4216 CC
="$(CC)"; export CC
; \
4217 CFLAGS
="$(CFLAGS)"; export CFLAGS
; \
4218 CXX
="$(CXX)"; export CXX
; \
4219 CXXFLAGS
="$(CXXFLAGS)"; export CXXFLAGS
; \
4220 if
[ z
$(build_canonical
) != z
$(host_canoncial
) ] ; then \
4221 AR
="$(AR)"; export AR
; \
4222 AS
="$(AS)"; export AS
; \
4223 CC_FOR_BUILD
="$(CC_FOR_BUILD)"; export CC_FOR_BUILD
; \
4224 DLLTOOL
="$(DLLTOOL)"; export DLLTOOL
; \
4225 LD
="$(LD)"; export LD
; \
4226 NM
="$(NM)"; export NM
; \
4227 RANLIB
="$(RANLIB)"; export RANLIB
; \
4228 WINDRES
="$(WINDRES)"; export WINDRES
; \
4229 OBJCOPY
="$(OBJCOPY)"; export OBJCOPY
; \
4230 OBJDUMP
="$(OBJDUMP)"; export OBJDUMP
; \
4232 echo Configuring in recode
; \
4233 cd recode || exit
1; \
4236 srcdiroption
="--srcdir=."; \
4238 /* |
[A-Za-z
]:[\\/]*) \
4239 srcdiroption
="--srcdir=$(srcdir)/recode"; \
4240 libsrcdir
="$$s/recode";; \
4242 srcdiroption
="--srcdir=../$(srcdir)/recode"; \
4243 libsrcdir
="$$s/recode";; \
4245 $(SHELL
) $${libsrcdir}/configure \
4246 $(HOST_CONFIGARGS
) $${srcdiroption} \
4249 .PHONY
: all-recode maybe-all-recode
4251 all-recode
: configure-recode
4252 @r
=`${PWD}`; export r
; \
4253 s
=`cd $(srcdir); ${PWD}`; export s
; \
4255 (cd recode
&& $(MAKE
) $(FLAGS_TO_PASS
) all)
4258 .PHONY
: check-recode
4260 @r
=`${PWD}`; export r
; \
4261 s
=`cd $(srcdir); ${PWD}`; export s
; \
4263 (cd recode
&& $(MAKE
) $(FLAGS_TO_PASS
) check)
4267 .PHONY
: install-recode maybe-install-recode
4268 maybe-install-recode
:
4269 install-recode
: installdirs
4270 @r
=`${PWD}`; export r
; \
4271 s
=`cd $(srcdir); ${PWD}`; export s
; \
4273 (cd recode
&& $(MAKE
) $(FLAGS_TO_PASS
) install)
4276 .PHONY
: configure-sed maybe-configure-sed
4277 maybe-configure-sed
:
4279 @
test ! -f sed
/Makefile || exit
0; \
4280 [ -d sed
] || mkdir sed
; \
4281 r
=`${PWD}`; export r
; \
4282 s
=`cd $(srcdir); ${PWD}`; export s
; \
4283 CC
="$(CC)"; export CC
; \
4284 CFLAGS
="$(CFLAGS)"; export CFLAGS
; \
4285 CXX
="$(CXX)"; export CXX
; \
4286 CXXFLAGS
="$(CXXFLAGS)"; export CXXFLAGS
; \
4287 if
[ z
$(build_canonical
) != z
$(host_canoncial
) ] ; then \
4288 AR
="$(AR)"; export AR
; \
4289 AS
="$(AS)"; export AS
; \
4290 CC_FOR_BUILD
="$(CC_FOR_BUILD)"; export CC_FOR_BUILD
; \
4291 DLLTOOL
="$(DLLTOOL)"; export DLLTOOL
; \
4292 LD
="$(LD)"; export LD
; \
4293 NM
="$(NM)"; export NM
; \
4294 RANLIB
="$(RANLIB)"; export RANLIB
; \
4295 WINDRES
="$(WINDRES)"; export WINDRES
; \
4296 OBJCOPY
="$(OBJCOPY)"; export OBJCOPY
; \
4297 OBJDUMP
="$(OBJDUMP)"; export OBJDUMP
; \
4299 echo Configuring in sed
; \
4303 srcdiroption
="--srcdir=."; \
4305 /* |
[A-Za-z
]:[\\/]*) \
4306 srcdiroption
="--srcdir=$(srcdir)/sed"; \
4307 libsrcdir
="$$s/sed";; \
4309 srcdiroption
="--srcdir=../$(srcdir)/sed"; \
4310 libsrcdir
="$$s/sed";; \
4312 $(SHELL
) $${libsrcdir}/configure \
4313 $(HOST_CONFIGARGS
) $${srcdiroption} \
4316 .PHONY
: all-sed maybe-all-sed
4318 all-sed
: configure-sed
4319 @r
=`${PWD}`; export r
; \
4320 s
=`cd $(srcdir); ${PWD}`; export s
; \
4322 (cd sed
&& $(MAKE
) $(FLAGS_TO_PASS
) all)
4327 @r
=`${PWD}`; export r
; \
4328 s
=`cd $(srcdir); ${PWD}`; export s
; \
4330 (cd sed
&& $(MAKE
) $(FLAGS_TO_PASS
) check)
4334 .PHONY
: install-sed maybe-install-sed
4336 install-sed
: installdirs
4337 @r
=`${PWD}`; export r
; \
4338 s
=`cd $(srcdir); ${PWD}`; export s
; \
4340 (cd sed
&& $(MAKE
) $(FLAGS_TO_PASS
) install)
4343 .PHONY
: configure-send-pr maybe-configure-send-pr
4344 maybe-configure-send-pr
:
4346 @
test ! -f send-pr
/Makefile || exit
0; \
4347 [ -d send-pr
] || mkdir send-pr
; \
4348 r
=`${PWD}`; export r
; \
4349 s
=`cd $(srcdir); ${PWD}`; export s
; \
4350 CC
="$(CC)"; export CC
; \
4351 CFLAGS
="$(CFLAGS)"; export CFLAGS
; \
4352 CXX
="$(CXX)"; export CXX
; \
4353 CXXFLAGS
="$(CXXFLAGS)"; export CXXFLAGS
; \
4354 if
[ z
$(build_canonical
) != z
$(host_canoncial
) ] ; then \
4355 AR
="$(AR)"; export AR
; \
4356 AS
="$(AS)"; export AS
; \
4357 CC_FOR_BUILD
="$(CC_FOR_BUILD)"; export CC_FOR_BUILD
; \
4358 DLLTOOL
="$(DLLTOOL)"; export DLLTOOL
; \
4359 LD
="$(LD)"; export LD
; \
4360 NM
="$(NM)"; export NM
; \
4361 RANLIB
="$(RANLIB)"; export RANLIB
; \
4362 WINDRES
="$(WINDRES)"; export WINDRES
; \
4363 OBJCOPY
="$(OBJCOPY)"; export OBJCOPY
; \
4364 OBJDUMP
="$(OBJDUMP)"; export OBJDUMP
; \
4366 echo Configuring in send-pr
; \
4367 cd send-pr || exit
1; \
4370 srcdiroption
="--srcdir=."; \
4372 /* |
[A-Za-z
]:[\\/]*) \
4373 srcdiroption
="--srcdir=$(srcdir)/send-pr"; \
4374 libsrcdir
="$$s/send-pr";; \
4376 srcdiroption
="--srcdir=../$(srcdir)/send-pr"; \
4377 libsrcdir
="$$s/send-pr";; \
4379 $(SHELL
) $${libsrcdir}/configure \
4380 $(HOST_CONFIGARGS
) $${srcdiroption} \
4383 .PHONY
: all-send-pr maybe-all-send-pr
4385 all-send-pr
: configure-send-pr
4386 @r
=`${PWD}`; export r
; \
4387 s
=`cd $(srcdir); ${PWD}`; export s
; \
4389 (cd send-pr
&& $(MAKE
) $(FLAGS_TO_PASS
) all)
4392 .PHONY
: check-send-pr
4394 @r
=`${PWD}`; export r
; \
4395 s
=`cd $(srcdir); ${PWD}`; export s
; \
4397 (cd send-pr
&& $(MAKE
) $(FLAGS_TO_PASS
) check)
4401 .PHONY
: install-send-pr maybe-install-send-pr
4402 maybe-install-send-pr
:
4403 install-send-pr
: installdirs
4404 @r
=`${PWD}`; export r
; \
4405 s
=`cd $(srcdir); ${PWD}`; export s
; \
4407 (cd send-pr
&& $(MAKE
) $(FLAGS_TO_PASS
) install)
4410 .PHONY
: configure-shellutils maybe-configure-shellutils
4411 maybe-configure-shellutils
:
4412 configure-shellutils
:
4413 @
test ! -f shellutils
/Makefile || exit
0; \
4414 [ -d shellutils
] || mkdir shellutils
; \
4415 r
=`${PWD}`; export r
; \
4416 s
=`cd $(srcdir); ${PWD}`; export s
; \
4417 CC
="$(CC)"; export CC
; \
4418 CFLAGS
="$(CFLAGS)"; export CFLAGS
; \
4419 CXX
="$(CXX)"; export CXX
; \
4420 CXXFLAGS
="$(CXXFLAGS)"; export CXXFLAGS
; \
4421 if
[ z
$(build_canonical
) != z
$(host_canoncial
) ] ; then \
4422 AR
="$(AR)"; export AR
; \
4423 AS
="$(AS)"; export AS
; \
4424 CC_FOR_BUILD
="$(CC_FOR_BUILD)"; export CC_FOR_BUILD
; \
4425 DLLTOOL
="$(DLLTOOL)"; export DLLTOOL
; \
4426 LD
="$(LD)"; export LD
; \
4427 NM
="$(NM)"; export NM
; \
4428 RANLIB
="$(RANLIB)"; export RANLIB
; \
4429 WINDRES
="$(WINDRES)"; export WINDRES
; \
4430 OBJCOPY
="$(OBJCOPY)"; export OBJCOPY
; \
4431 OBJDUMP
="$(OBJDUMP)"; export OBJDUMP
; \
4433 echo Configuring in shellutils
; \
4434 cd shellutils || exit
1; \
4437 srcdiroption
="--srcdir=."; \
4439 /* |
[A-Za-z
]:[\\/]*) \
4440 srcdiroption
="--srcdir=$(srcdir)/shellutils"; \
4441 libsrcdir
="$$s/shellutils";; \
4443 srcdiroption
="--srcdir=../$(srcdir)/shellutils"; \
4444 libsrcdir
="$$s/shellutils";; \
4446 $(SHELL
) $${libsrcdir}/configure \
4447 $(HOST_CONFIGARGS
) $${srcdiroption} \
4450 .PHONY
: all-shellutils maybe-all-shellutils
4451 maybe-all-shellutils
:
4452 all-shellutils
: configure-shellutils
4453 @r
=`${PWD}`; export r
; \
4454 s
=`cd $(srcdir); ${PWD}`; export s
; \
4456 (cd shellutils
&& $(MAKE
) $(FLAGS_TO_PASS
) all)
4459 .PHONY
: check-shellutils
4461 @r
=`${PWD}`; export r
; \
4462 s
=`cd $(srcdir); ${PWD}`; export s
; \
4464 (cd shellutils
&& $(MAKE
) $(FLAGS_TO_PASS
) check)
4468 .PHONY
: install-shellutils maybe-install-shellutils
4469 maybe-install-shellutils
:
4470 install-shellutils
: installdirs
4471 @r
=`${PWD}`; export r
; \
4472 s
=`cd $(srcdir); ${PWD}`; export s
; \
4474 (cd shellutils
&& $(MAKE
) $(FLAGS_TO_PASS
) install)
4477 .PHONY
: configure-sid maybe-configure-sid
4478 maybe-configure-sid
:
4480 @
test ! -f sid
/Makefile || exit
0; \
4481 [ -d sid
] || mkdir sid
; \
4482 r
=`${PWD}`; export r
; \
4483 s
=`cd $(srcdir); ${PWD}`; export s
; \
4484 CC
="$(CC)"; export CC
; \
4485 CFLAGS
="$(CFLAGS)"; export CFLAGS
; \
4486 CXX
="$(CXX)"; export CXX
; \
4487 CXXFLAGS
="$(CXXFLAGS)"; export CXXFLAGS
; \
4488 if
[ z
$(build_canonical
) != z
$(host_canoncial
) ] ; then \
4489 AR
="$(AR)"; export AR
; \
4490 AS
="$(AS)"; export AS
; \
4491 CC_FOR_BUILD
="$(CC_FOR_BUILD)"; export CC_FOR_BUILD
; \
4492 DLLTOOL
="$(DLLTOOL)"; export DLLTOOL
; \
4493 LD
="$(LD)"; export LD
; \
4494 NM
="$(NM)"; export NM
; \
4495 RANLIB
="$(RANLIB)"; export RANLIB
; \
4496 WINDRES
="$(WINDRES)"; export WINDRES
; \
4497 OBJCOPY
="$(OBJCOPY)"; export OBJCOPY
; \
4498 OBJDUMP
="$(OBJDUMP)"; export OBJDUMP
; \
4500 echo Configuring in sid
; \
4504 srcdiroption
="--srcdir=."; \
4506 /* |
[A-Za-z
]:[\\/]*) \
4507 srcdiroption
="--srcdir=$(srcdir)/sid"; \
4508 libsrcdir
="$$s/sid";; \
4510 srcdiroption
="--srcdir=../$(srcdir)/sid"; \
4511 libsrcdir
="$$s/sid";; \
4513 $(SHELL
) $${libsrcdir}/configure \
4514 $(HOST_CONFIGARGS
) $${srcdiroption} \
4517 .PHONY
: all-sid maybe-all-sid
4519 all-sid
: configure-sid
4520 @r
=`${PWD}`; export r
; \
4521 s
=`cd $(srcdir); ${PWD}`; export s
; \
4523 (cd sid
&& $(MAKE
) $(FLAGS_TO_PASS
) all)
4528 @r
=`${PWD}`; export r
; \
4529 s
=`cd $(srcdir); ${PWD}`; export s
; \
4531 (cd sid
&& $(MAKE
) $(FLAGS_TO_PASS
) check)
4535 .PHONY
: install-sid maybe-install-sid
4537 install-sid
: installdirs
4538 @r
=`${PWD}`; export r
; \
4539 s
=`cd $(srcdir); ${PWD}`; export s
; \
4541 (cd sid
&& $(MAKE
) $(FLAGS_TO_PASS
) install)
4544 .PHONY
: configure-sim maybe-configure-sim
4545 maybe-configure-sim
:
4547 @
test ! -f sim
/Makefile || exit
0; \
4548 [ -d sim
] || mkdir sim
; \
4549 r
=`${PWD}`; export r
; \
4550 s
=`cd $(srcdir); ${PWD}`; export s
; \
4551 CC
="$(CC)"; export CC
; \
4552 CFLAGS
="$(CFLAGS)"; export CFLAGS
; \
4553 CXX
="$(CXX)"; export CXX
; \
4554 CXXFLAGS
="$(CXXFLAGS)"; export CXXFLAGS
; \
4555 if
[ z
$(build_canonical
) != z
$(host_canoncial
) ] ; then \
4556 AR
="$(AR)"; export AR
; \
4557 AS
="$(AS)"; export AS
; \
4558 CC_FOR_BUILD
="$(CC_FOR_BUILD)"; export CC_FOR_BUILD
; \
4559 DLLTOOL
="$(DLLTOOL)"; export DLLTOOL
; \
4560 LD
="$(LD)"; export LD
; \
4561 NM
="$(NM)"; export NM
; \
4562 RANLIB
="$(RANLIB)"; export RANLIB
; \
4563 WINDRES
="$(WINDRES)"; export WINDRES
; \
4564 OBJCOPY
="$(OBJCOPY)"; export OBJCOPY
; \
4565 OBJDUMP
="$(OBJDUMP)"; export OBJDUMP
; \
4567 echo Configuring in sim
; \
4571 srcdiroption
="--srcdir=."; \
4573 /* |
[A-Za-z
]:[\\/]*) \
4574 srcdiroption
="--srcdir=$(srcdir)/sim"; \
4575 libsrcdir
="$$s/sim";; \
4577 srcdiroption
="--srcdir=../$(srcdir)/sim"; \
4578 libsrcdir
="$$s/sim";; \
4580 $(SHELL
) $${libsrcdir}/configure \
4581 $(HOST_CONFIGARGS
) $${srcdiroption} \
4584 .PHONY
: all-sim maybe-all-sim
4586 all-sim
: configure-sim
4587 @r
=`${PWD}`; export r
; \
4588 s
=`cd $(srcdir); ${PWD}`; export s
; \
4590 (cd sim
&& $(MAKE
) $(FLAGS_TO_PASS
) all)
4595 @r
=`${PWD}`; export r
; \
4596 s
=`cd $(srcdir); ${PWD}`; export s
; \
4598 (cd sim
&& $(MAKE
) $(FLAGS_TO_PASS
) check)
4602 .PHONY
: install-sim maybe-install-sim
4604 install-sim
: installdirs
4605 @r
=`${PWD}`; export r
; \
4606 s
=`cd $(srcdir); ${PWD}`; export s
; \
4608 (cd sim
&& $(MAKE
) $(FLAGS_TO_PASS
) install)
4611 .PHONY
: configure-tar maybe-configure-tar
4612 maybe-configure-tar
:
4614 @
test ! -f
tar/Makefile || exit
0; \
4615 [ -d
tar ] || mkdir
tar; \
4616 r
=`${PWD}`; export r
; \
4617 s
=`cd $(srcdir); ${PWD}`; export s
; \
4618 CC
="$(CC)"; export CC
; \
4619 CFLAGS
="$(CFLAGS)"; export CFLAGS
; \
4620 CXX
="$(CXX)"; export CXX
; \
4621 CXXFLAGS
="$(CXXFLAGS)"; export CXXFLAGS
; \
4622 if
[ z
$(build_canonical
) != z
$(host_canoncial
) ] ; then \
4623 AR
="$(AR)"; export AR
; \
4624 AS
="$(AS)"; export AS
; \
4625 CC_FOR_BUILD
="$(CC_FOR_BUILD)"; export CC_FOR_BUILD
; \
4626 DLLTOOL
="$(DLLTOOL)"; export DLLTOOL
; \
4627 LD
="$(LD)"; export LD
; \
4628 NM
="$(NM)"; export NM
; \
4629 RANLIB
="$(RANLIB)"; export RANLIB
; \
4630 WINDRES
="$(WINDRES)"; export WINDRES
; \
4631 OBJCOPY
="$(OBJCOPY)"; export OBJCOPY
; \
4632 OBJDUMP
="$(OBJDUMP)"; export OBJDUMP
; \
4634 echo Configuring in
tar; \
4638 srcdiroption
="--srcdir=."; \
4640 /* |
[A-Za-z
]:[\\/]*) \
4641 srcdiroption
="--srcdir=$(srcdir)/tar"; \
4642 libsrcdir
="$$s/tar";; \
4644 srcdiroption
="--srcdir=../$(srcdir)/tar"; \
4645 libsrcdir
="$$s/tar";; \
4647 $(SHELL
) $${libsrcdir}/configure \
4648 $(HOST_CONFIGARGS
) $${srcdiroption} \
4651 .PHONY
: all-tar maybe-all-tar
4653 all-tar
: configure-tar
4654 @r
=`${PWD}`; export r
; \
4655 s
=`cd $(srcdir); ${PWD}`; export s
; \
4657 (cd
tar && $(MAKE
) $(FLAGS_TO_PASS
) all)
4662 @r
=`${PWD}`; export r
; \
4663 s
=`cd $(srcdir); ${PWD}`; export s
; \
4665 (cd
tar && $(MAKE
) $(FLAGS_TO_PASS
) check)
4669 .PHONY
: install-tar maybe-install-tar
4671 install-tar
: installdirs
4672 @r
=`${PWD}`; export r
; \
4673 s
=`cd $(srcdir); ${PWD}`; export s
; \
4675 (cd
tar && $(MAKE
) $(FLAGS_TO_PASS
) install)
4678 .PHONY
: configure-texinfo maybe-configure-texinfo
4679 maybe-configure-texinfo
:
4681 @
test ! -f texinfo
/Makefile || exit
0; \
4682 [ -d texinfo
] || mkdir texinfo
; \
4683 r
=`${PWD}`; export r
; \
4684 s
=`cd $(srcdir); ${PWD}`; export s
; \
4685 CC
="$(CC)"; export CC
; \
4686 CFLAGS
="$(CFLAGS)"; export CFLAGS
; \
4687 CXX
="$(CXX)"; export CXX
; \
4688 CXXFLAGS
="$(CXXFLAGS)"; export CXXFLAGS
; \
4689 if
[ z
$(build_canonical
) != z
$(host_canoncial
) ] ; then \
4690 AR
="$(AR)"; export AR
; \
4691 AS
="$(AS)"; export AS
; \
4692 CC_FOR_BUILD
="$(CC_FOR_BUILD)"; export CC_FOR_BUILD
; \
4693 DLLTOOL
="$(DLLTOOL)"; export DLLTOOL
; \
4694 LD
="$(LD)"; export LD
; \
4695 NM
="$(NM)"; export NM
; \
4696 RANLIB
="$(RANLIB)"; export RANLIB
; \
4697 WINDRES
="$(WINDRES)"; export WINDRES
; \
4698 OBJCOPY
="$(OBJCOPY)"; export OBJCOPY
; \
4699 OBJDUMP
="$(OBJDUMP)"; export OBJDUMP
; \
4701 echo Configuring in texinfo
; \
4702 cd texinfo || exit
1; \
4705 srcdiroption
="--srcdir=."; \
4707 /* |
[A-Za-z
]:[\\/]*) \
4708 srcdiroption
="--srcdir=$(srcdir)/texinfo"; \
4709 libsrcdir
="$$s/texinfo";; \
4711 srcdiroption
="--srcdir=../$(srcdir)/texinfo"; \
4712 libsrcdir
="$$s/texinfo";; \
4714 $(SHELL
) $${libsrcdir}/configure \
4715 $(HOST_CONFIGARGS
) $${srcdiroption} \
4718 .PHONY
: all-texinfo maybe-all-texinfo
4720 all-texinfo
: configure-texinfo
4721 @r
=`${PWD}`; export r
; \
4722 s
=`cd $(srcdir); ${PWD}`; export s
; \
4724 (cd texinfo
&& $(MAKE
) $(FLAGS_TO_PASS
) all)
4727 .PHONY
: check-texinfo
4729 @r
=`${PWD}`; export r
; \
4730 s
=`cd $(srcdir); ${PWD}`; export s
; \
4732 (cd texinfo
&& $(MAKE
) $(FLAGS_TO_PASS
) check)
4736 .PHONY
: install-texinfo maybe-install-texinfo
4737 maybe-install-texinfo
:
4741 .PHONY
: configure-textutils maybe-configure-textutils
4742 maybe-configure-textutils
:
4743 configure-textutils
:
4744 @
test ! -f textutils
/Makefile || exit
0; \
4745 [ -d textutils
] || mkdir textutils
; \
4746 r
=`${PWD}`; export r
; \
4747 s
=`cd $(srcdir); ${PWD}`; export s
; \
4748 CC
="$(CC)"; export CC
; \
4749 CFLAGS
="$(CFLAGS)"; export CFLAGS
; \
4750 CXX
="$(CXX)"; export CXX
; \
4751 CXXFLAGS
="$(CXXFLAGS)"; export CXXFLAGS
; \
4752 if
[ z
$(build_canonical
) != z
$(host_canoncial
) ] ; then \
4753 AR
="$(AR)"; export AR
; \
4754 AS
="$(AS)"; export AS
; \
4755 CC_FOR_BUILD
="$(CC_FOR_BUILD)"; export CC_FOR_BUILD
; \
4756 DLLTOOL
="$(DLLTOOL)"; export DLLTOOL
; \
4757 LD
="$(LD)"; export LD
; \
4758 NM
="$(NM)"; export NM
; \
4759 RANLIB
="$(RANLIB)"; export RANLIB
; \
4760 WINDRES
="$(WINDRES)"; export WINDRES
; \
4761 OBJCOPY
="$(OBJCOPY)"; export OBJCOPY
; \
4762 OBJDUMP
="$(OBJDUMP)"; export OBJDUMP
; \
4764 echo Configuring in textutils
; \
4765 cd textutils || exit
1; \
4768 srcdiroption
="--srcdir=."; \
4770 /* |
[A-Za-z
]:[\\/]*) \
4771 srcdiroption
="--srcdir=$(srcdir)/textutils"; \
4772 libsrcdir
="$$s/textutils";; \
4774 srcdiroption
="--srcdir=../$(srcdir)/textutils"; \
4775 libsrcdir
="$$s/textutils";; \
4777 $(SHELL
) $${libsrcdir}/configure \
4778 $(HOST_CONFIGARGS
) $${srcdiroption} \
4781 .PHONY
: all-textutils maybe-all-textutils
4782 maybe-all-textutils
:
4783 all-textutils
: configure-textutils
4784 @r
=`${PWD}`; export r
; \
4785 s
=`cd $(srcdir); ${PWD}`; export s
; \
4787 (cd textutils
&& $(MAKE
) $(FLAGS_TO_PASS
) all)
4790 .PHONY
: check-textutils
4792 @r
=`${PWD}`; export r
; \
4793 s
=`cd $(srcdir); ${PWD}`; export s
; \
4795 (cd textutils
&& $(MAKE
) $(FLAGS_TO_PASS
) check)
4799 .PHONY
: install-textutils maybe-install-textutils
4800 maybe-install-textutils
:
4801 install-textutils
: installdirs
4802 @r
=`${PWD}`; export r
; \
4803 s
=`cd $(srcdir); ${PWD}`; export s
; \
4805 (cd textutils
&& $(MAKE
) $(FLAGS_TO_PASS
) install)
4808 .PHONY
: configure-time maybe-configure-time
4809 maybe-configure-time
:
4811 @
test ! -f time
/Makefile || exit
0; \
4812 [ -d time
] || mkdir time
; \
4813 r
=`${PWD}`; export r
; \
4814 s
=`cd $(srcdir); ${PWD}`; export s
; \
4815 CC
="$(CC)"; export CC
; \
4816 CFLAGS
="$(CFLAGS)"; export CFLAGS
; \
4817 CXX
="$(CXX)"; export CXX
; \
4818 CXXFLAGS
="$(CXXFLAGS)"; export CXXFLAGS
; \
4819 if
[ z
$(build_canonical
) != z
$(host_canoncial
) ] ; then \
4820 AR
="$(AR)"; export AR
; \
4821 AS
="$(AS)"; export AS
; \
4822 CC_FOR_BUILD
="$(CC_FOR_BUILD)"; export CC_FOR_BUILD
; \
4823 DLLTOOL
="$(DLLTOOL)"; export DLLTOOL
; \
4824 LD
="$(LD)"; export LD
; \
4825 NM
="$(NM)"; export NM
; \
4826 RANLIB
="$(RANLIB)"; export RANLIB
; \
4827 WINDRES
="$(WINDRES)"; export WINDRES
; \
4828 OBJCOPY
="$(OBJCOPY)"; export OBJCOPY
; \
4829 OBJDUMP
="$(OBJDUMP)"; export OBJDUMP
; \
4831 echo Configuring in time
; \
4832 cd time || exit
1; \
4835 srcdiroption
="--srcdir=."; \
4837 /* |
[A-Za-z
]:[\\/]*) \
4838 srcdiroption
="--srcdir=$(srcdir)/time"; \
4839 libsrcdir
="$$s/time";; \
4841 srcdiroption
="--srcdir=../$(srcdir)/time"; \
4842 libsrcdir
="$$s/time";; \
4844 $(SHELL
) $${libsrcdir}/configure \
4845 $(HOST_CONFIGARGS
) $${srcdiroption} \
4848 .PHONY
: all-time maybe-all-time
4850 all-time
: configure-time
4851 @r
=`${PWD}`; export r
; \
4852 s
=`cd $(srcdir); ${PWD}`; export s
; \
4854 (cd time
&& $(MAKE
) $(FLAGS_TO_PASS
) all)
4859 @r
=`${PWD}`; export r
; \
4860 s
=`cd $(srcdir); ${PWD}`; export s
; \
4862 (cd time
&& $(MAKE
) $(FLAGS_TO_PASS
) check)
4866 .PHONY
: install-time maybe-install-time
4868 install-time
: installdirs
4869 @r
=`${PWD}`; export r
; \
4870 s
=`cd $(srcdir); ${PWD}`; export s
; \
4872 (cd time
&& $(MAKE
) $(FLAGS_TO_PASS
) install)
4875 .PHONY
: configure-uudecode maybe-configure-uudecode
4876 maybe-configure-uudecode
:
4878 @
test ! -f uudecode
/Makefile || exit
0; \
4879 [ -d uudecode
] || mkdir uudecode
; \
4880 r
=`${PWD}`; export r
; \
4881 s
=`cd $(srcdir); ${PWD}`; export s
; \
4882 CC
="$(CC)"; export CC
; \
4883 CFLAGS
="$(CFLAGS)"; export CFLAGS
; \
4884 CXX
="$(CXX)"; export CXX
; \
4885 CXXFLAGS
="$(CXXFLAGS)"; export CXXFLAGS
; \
4886 if
[ z
$(build_canonical
) != z
$(host_canoncial
) ] ; then \
4887 AR
="$(AR)"; export AR
; \
4888 AS
="$(AS)"; export AS
; \
4889 CC_FOR_BUILD
="$(CC_FOR_BUILD)"; export CC_FOR_BUILD
; \
4890 DLLTOOL
="$(DLLTOOL)"; export DLLTOOL
; \
4891 LD
="$(LD)"; export LD
; \
4892 NM
="$(NM)"; export NM
; \
4893 RANLIB
="$(RANLIB)"; export RANLIB
; \
4894 WINDRES
="$(WINDRES)"; export WINDRES
; \
4895 OBJCOPY
="$(OBJCOPY)"; export OBJCOPY
; \
4896 OBJDUMP
="$(OBJDUMP)"; export OBJDUMP
; \
4898 echo Configuring in uudecode
; \
4899 cd uudecode || exit
1; \
4902 srcdiroption
="--srcdir=."; \
4904 /* |
[A-Za-z
]:[\\/]*) \
4905 srcdiroption
="--srcdir=$(srcdir)/uudecode"; \
4906 libsrcdir
="$$s/uudecode";; \
4908 srcdiroption
="--srcdir=../$(srcdir)/uudecode"; \
4909 libsrcdir
="$$s/uudecode";; \
4911 $(SHELL
) $${libsrcdir}/configure \
4912 $(HOST_CONFIGARGS
) $${srcdiroption} \
4915 .PHONY
: all-uudecode maybe-all-uudecode
4917 all-uudecode
: configure-uudecode
4918 @r
=`${PWD}`; export r
; \
4919 s
=`cd $(srcdir); ${PWD}`; export s
; \
4921 (cd uudecode
&& $(MAKE
) $(FLAGS_TO_PASS
) all)
4924 .PHONY
: check-uudecode
4926 @r
=`${PWD}`; export r
; \
4927 s
=`cd $(srcdir); ${PWD}`; export s
; \
4929 (cd uudecode
&& $(MAKE
) $(FLAGS_TO_PASS
) check)
4933 .PHONY
: install-uudecode maybe-install-uudecode
4934 maybe-install-uudecode
:
4935 install-uudecode
: installdirs
4936 @r
=`${PWD}`; export r
; \
4937 s
=`cd $(srcdir); ${PWD}`; export s
; \
4939 (cd uudecode
&& $(MAKE
) $(FLAGS_TO_PASS
) install)
4942 .PHONY
: configure-wdiff maybe-configure-wdiff
4943 maybe-configure-wdiff
:
4945 @
test ! -f wdiff
/Makefile || exit
0; \
4946 [ -d wdiff
] || mkdir wdiff
; \
4947 r
=`${PWD}`; export r
; \
4948 s
=`cd $(srcdir); ${PWD}`; export s
; \
4949 CC
="$(CC)"; export CC
; \
4950 CFLAGS
="$(CFLAGS)"; export CFLAGS
; \
4951 CXX
="$(CXX)"; export CXX
; \
4952 CXXFLAGS
="$(CXXFLAGS)"; export CXXFLAGS
; \
4953 if
[ z
$(build_canonical
) != z
$(host_canoncial
) ] ; then \
4954 AR
="$(AR)"; export AR
; \
4955 AS
="$(AS)"; export AS
; \
4956 CC_FOR_BUILD
="$(CC_FOR_BUILD)"; export CC_FOR_BUILD
; \
4957 DLLTOOL
="$(DLLTOOL)"; export DLLTOOL
; \
4958 LD
="$(LD)"; export LD
; \
4959 NM
="$(NM)"; export NM
; \
4960 RANLIB
="$(RANLIB)"; export RANLIB
; \
4961 WINDRES
="$(WINDRES)"; export WINDRES
; \
4962 OBJCOPY
="$(OBJCOPY)"; export OBJCOPY
; \
4963 OBJDUMP
="$(OBJDUMP)"; export OBJDUMP
; \
4965 echo Configuring in wdiff
; \
4966 cd wdiff || exit
1; \
4969 srcdiroption
="--srcdir=."; \
4971 /* |
[A-Za-z
]:[\\/]*) \
4972 srcdiroption
="--srcdir=$(srcdir)/wdiff"; \
4973 libsrcdir
="$$s/wdiff";; \
4975 srcdiroption
="--srcdir=../$(srcdir)/wdiff"; \
4976 libsrcdir
="$$s/wdiff";; \
4978 $(SHELL
) $${libsrcdir}/configure \
4979 $(HOST_CONFIGARGS
) $${srcdiroption} \
4982 .PHONY
: all-wdiff maybe-all-wdiff
4984 all-wdiff
: configure-wdiff
4985 @r
=`${PWD}`; export r
; \
4986 s
=`cd $(srcdir); ${PWD}`; export s
; \
4988 (cd wdiff
&& $(MAKE
) $(FLAGS_TO_PASS
) all)
4993 @r
=`${PWD}`; export r
; \
4994 s
=`cd $(srcdir); ${PWD}`; export s
; \
4996 (cd wdiff
&& $(MAKE
) $(FLAGS_TO_PASS
) check)
5000 .PHONY
: install-wdiff maybe-install-wdiff
5001 maybe-install-wdiff
:
5002 install-wdiff
: installdirs
5003 @r
=`${PWD}`; export r
; \
5004 s
=`cd $(srcdir); ${PWD}`; export s
; \
5006 (cd wdiff
&& $(MAKE
) $(FLAGS_TO_PASS
) install)
5009 .PHONY
: configure-zip maybe-configure-zip
5010 maybe-configure-zip
:
5012 @
test ! -f zip
/Makefile || exit
0; \
5013 [ -d zip
] || mkdir zip
; \
5014 r
=`${PWD}`; export r
; \
5015 s
=`cd $(srcdir); ${PWD}`; export s
; \
5016 CC
="$(CC)"; export CC
; \
5017 CFLAGS
="$(CFLAGS)"; export CFLAGS
; \
5018 CXX
="$(CXX)"; export CXX
; \
5019 CXXFLAGS
="$(CXXFLAGS)"; export CXXFLAGS
; \
5020 if
[ z
$(build_canonical
) != z
$(host_canoncial
) ] ; then \
5021 AR
="$(AR)"; export AR
; \
5022 AS
="$(AS)"; export AS
; \
5023 CC_FOR_BUILD
="$(CC_FOR_BUILD)"; export CC_FOR_BUILD
; \
5024 DLLTOOL
="$(DLLTOOL)"; export DLLTOOL
; \
5025 LD
="$(LD)"; export LD
; \
5026 NM
="$(NM)"; export NM
; \
5027 RANLIB
="$(RANLIB)"; export RANLIB
; \
5028 WINDRES
="$(WINDRES)"; export WINDRES
; \
5029 OBJCOPY
="$(OBJCOPY)"; export OBJCOPY
; \
5030 OBJDUMP
="$(OBJDUMP)"; export OBJDUMP
; \
5032 echo Configuring in zip
; \
5036 srcdiroption
="--srcdir=."; \
5038 /* |
[A-Za-z
]:[\\/]*) \
5039 srcdiroption
="--srcdir=$(srcdir)/zip"; \
5040 libsrcdir
="$$s/zip";; \
5042 srcdiroption
="--srcdir=../$(srcdir)/zip"; \
5043 libsrcdir
="$$s/zip";; \
5045 $(SHELL
) $${libsrcdir}/configure \
5046 $(HOST_CONFIGARGS
) $${srcdiroption} \
5049 .PHONY
: all-zip maybe-all-zip
5051 all-zip
: configure-zip
5052 @r
=`${PWD}`; export r
; \
5053 s
=`cd $(srcdir); ${PWD}`; export s
; \
5055 (cd zip
&& $(MAKE
) $(FLAGS_TO_PASS
) all)
5059 # This module is only tested in a native toolchain.
5061 @if
[ '$(host_canonical)' = '$(target_canonical)' ] ; then \
5062 r
=`${PWD}`; export r
; \
5063 s
=`cd $(srcdir); ${PWD}`; export s
; \
5065 (cd zip
&& $(MAKE
) $(FLAGS_TO_PASS
) check); \
5070 .PHONY
: install-zip maybe-install-zip
5072 install-zip
: installdirs
5073 @r
=`${PWD}`; export r
; \
5074 s
=`cd $(srcdir); ${PWD}`; export s
; \
5076 (cd zip
&& $(MAKE
) $(FLAGS_TO_PASS
) install)
5079 .PHONY
: configure-zlib maybe-configure-zlib
5080 maybe-configure-zlib
:
5082 @
test ! -f zlib
/Makefile || exit
0; \
5083 [ -d zlib
] || mkdir zlib
; \
5084 r
=`${PWD}`; export r
; \
5085 s
=`cd $(srcdir); ${PWD}`; export s
; \
5086 CC
="$(CC)"; export CC
; \
5087 CFLAGS
="$(CFLAGS)"; export CFLAGS
; \
5088 CXX
="$(CXX)"; export CXX
; \
5089 CXXFLAGS
="$(CXXFLAGS)"; export CXXFLAGS
; \
5090 if
[ z
$(build_canonical
) != z
$(host_canoncial
) ] ; then \
5091 AR
="$(AR)"; export AR
; \
5092 AS
="$(AS)"; export AS
; \
5093 CC_FOR_BUILD
="$(CC_FOR_BUILD)"; export CC_FOR_BUILD
; \
5094 DLLTOOL
="$(DLLTOOL)"; export DLLTOOL
; \
5095 LD
="$(LD)"; export LD
; \
5096 NM
="$(NM)"; export NM
; \
5097 RANLIB
="$(RANLIB)"; export RANLIB
; \
5098 WINDRES
="$(WINDRES)"; export WINDRES
; \
5099 OBJCOPY
="$(OBJCOPY)"; export OBJCOPY
; \
5100 OBJDUMP
="$(OBJDUMP)"; export OBJDUMP
; \
5102 echo Configuring in zlib
; \
5103 cd zlib || exit
1; \
5106 srcdiroption
="--srcdir=."; \
5108 /* |
[A-Za-z
]:[\\/]*) \
5109 srcdiroption
="--srcdir=$(srcdir)/zlib"; \
5110 libsrcdir
="$$s/zlib";; \
5112 srcdiroption
="--srcdir=../$(srcdir)/zlib"; \
5113 libsrcdir
="$$s/zlib";; \
5115 $(SHELL
) $${libsrcdir}/configure \
5116 $(HOST_CONFIGARGS
) $${srcdiroption} \
5119 .PHONY
: all-zlib maybe-all-zlib
5121 all-zlib
: configure-zlib
5122 @r
=`${PWD}`; export r
; \
5123 s
=`cd $(srcdir); ${PWD}`; export s
; \
5125 (cd zlib
&& $(MAKE
) $(FLAGS_TO_PASS
) all)
5133 .PHONY
: install-zlib maybe-install-zlib
5138 .PHONY
: configure-gdb maybe-configure-gdb
5139 maybe-configure-gdb
:
5141 @
test ! -f gdb
/Makefile || exit
0; \
5142 [ -d gdb
] || mkdir gdb
; \
5143 r
=`${PWD}`; export r
; \
5144 s
=`cd $(srcdir); ${PWD}`; export s
; \
5145 CC
="$(CC)"; export CC
; \
5146 CFLAGS
="$(CFLAGS)"; export CFLAGS
; \
5147 CXX
="$(CXX)"; export CXX
; \
5148 CXXFLAGS
="$(CXXFLAGS)"; export CXXFLAGS
; \
5149 if
[ z
$(build_canonical
) != z
$(host_canoncial
) ] ; then \
5150 AR
="$(AR)"; export AR
; \
5151 AS
="$(AS)"; export AS
; \
5152 CC_FOR_BUILD
="$(CC_FOR_BUILD)"; export CC_FOR_BUILD
; \
5153 DLLTOOL
="$(DLLTOOL)"; export DLLTOOL
; \
5154 LD
="$(LD)"; export LD
; \
5155 NM
="$(NM)"; export NM
; \
5156 RANLIB
="$(RANLIB)"; export RANLIB
; \
5157 WINDRES
="$(WINDRES)"; export WINDRES
; \
5158 OBJCOPY
="$(OBJCOPY)"; export OBJCOPY
; \
5159 OBJDUMP
="$(OBJDUMP)"; export OBJDUMP
; \
5161 echo Configuring in gdb
; \
5165 srcdiroption
="--srcdir=."; \
5167 /* |
[A-Za-z
]:[\\/]*) \
5168 srcdiroption
="--srcdir=$(srcdir)/gdb"; \
5169 libsrcdir
="$$s/gdb";; \
5171 srcdiroption
="--srcdir=../$(srcdir)/gdb"; \
5172 libsrcdir
="$$s/gdb";; \
5174 $(SHELL
) $${libsrcdir}/configure \
5175 $(HOST_CONFIGARGS
) $${srcdiroption} \
5178 .PHONY
: all-gdb maybe-all-gdb
5180 all-gdb
: configure-gdb
5181 @r
=`${PWD}`; export r
; \
5182 s
=`cd $(srcdir); ${PWD}`; export s
; \
5184 (cd gdb
&& $(MAKE
) $(FLAGS_TO_PASS
) $(X11_FLAGS_TO_PASS
) all)
5189 @r
=`${PWD}`; export r
; \
5190 s
=`cd $(srcdir); ${PWD}`; export s
; \
5192 (cd gdb
&& $(MAKE
) $(FLAGS_TO_PASS
) $(X11_FLAGS_TO_PASS
) check)
5196 .PHONY
: install-gdb maybe-install-gdb
5198 install-gdb
: installdirs
5199 @r
=`${PWD}`; export r
; \
5200 s
=`cd $(srcdir); ${PWD}`; export s
; \
5202 (cd gdb
&& $(MAKE
) $(FLAGS_TO_PASS
) $(X11_FLAGS_TO_PASS
) install)
5205 .PHONY
: configure-expect maybe-configure-expect
5206 maybe-configure-expect
:
5208 @
test ! -f expect
/Makefile || exit
0; \
5209 [ -d expect
] || mkdir expect
; \
5210 r
=`${PWD}`; export r
; \
5211 s
=`cd $(srcdir); ${PWD}`; export s
; \
5212 CC
="$(CC)"; export CC
; \
5213 CFLAGS
="$(CFLAGS)"; export CFLAGS
; \
5214 CXX
="$(CXX)"; export CXX
; \
5215 CXXFLAGS
="$(CXXFLAGS)"; export CXXFLAGS
; \
5216 if
[ z
$(build_canonical
) != z
$(host_canoncial
) ] ; then \
5217 AR
="$(AR)"; export AR
; \
5218 AS
="$(AS)"; export AS
; \
5219 CC_FOR_BUILD
="$(CC_FOR_BUILD)"; export CC_FOR_BUILD
; \
5220 DLLTOOL
="$(DLLTOOL)"; export DLLTOOL
; \
5221 LD
="$(LD)"; export LD
; \
5222 NM
="$(NM)"; export NM
; \
5223 RANLIB
="$(RANLIB)"; export RANLIB
; \
5224 WINDRES
="$(WINDRES)"; export WINDRES
; \
5225 OBJCOPY
="$(OBJCOPY)"; export OBJCOPY
; \
5226 OBJDUMP
="$(OBJDUMP)"; export OBJDUMP
; \
5228 echo Configuring in expect
; \
5229 cd expect || exit
1; \
5232 srcdiroption
="--srcdir=."; \
5234 /* |
[A-Za-z
]:[\\/]*) \
5235 srcdiroption
="--srcdir=$(srcdir)/expect"; \
5236 libsrcdir
="$$s/expect";; \
5238 srcdiroption
="--srcdir=../$(srcdir)/expect"; \
5239 libsrcdir
="$$s/expect";; \
5241 $(SHELL
) $${libsrcdir}/configure \
5242 $(HOST_CONFIGARGS
) $${srcdiroption} \
5245 .PHONY
: all-expect maybe-all-expect
5247 all-expect
: configure-expect
5248 @r
=`${PWD}`; export r
; \
5249 s
=`cd $(srcdir); ${PWD}`; export s
; \
5251 (cd expect
&& $(MAKE
) $(FLAGS_TO_PASS
) $(X11_FLAGS_TO_PASS
) all)
5254 .PHONY
: check-expect
5256 @r
=`${PWD}`; export r
; \
5257 s
=`cd $(srcdir); ${PWD}`; export s
; \
5259 (cd expect
&& $(MAKE
) $(FLAGS_TO_PASS
) $(X11_FLAGS_TO_PASS
) check)
5263 .PHONY
: install-expect maybe-install-expect
5264 maybe-install-expect
:
5265 install-expect
: installdirs
5266 @r
=`${PWD}`; export r
; \
5267 s
=`cd $(srcdir); ${PWD}`; export s
; \
5269 (cd expect
&& $(MAKE
) $(FLAGS_TO_PASS
) $(X11_FLAGS_TO_PASS
) install)
5272 .PHONY
: configure-guile maybe-configure-guile
5273 maybe-configure-guile
:
5275 @
test ! -f guile
/Makefile || exit
0; \
5276 [ -d guile
] || mkdir guile
; \
5277 r
=`${PWD}`; export r
; \
5278 s
=`cd $(srcdir); ${PWD}`; export s
; \
5279 CC
="$(CC)"; export CC
; \
5280 CFLAGS
="$(CFLAGS)"; export CFLAGS
; \
5281 CXX
="$(CXX)"; export CXX
; \
5282 CXXFLAGS
="$(CXXFLAGS)"; export CXXFLAGS
; \
5283 if
[ z
$(build_canonical
) != z
$(host_canoncial
) ] ; then \
5284 AR
="$(AR)"; export AR
; \
5285 AS
="$(AS)"; export AS
; \
5286 CC_FOR_BUILD
="$(CC_FOR_BUILD)"; export CC_FOR_BUILD
; \
5287 DLLTOOL
="$(DLLTOOL)"; export DLLTOOL
; \
5288 LD
="$(LD)"; export LD
; \
5289 NM
="$(NM)"; export NM
; \
5290 RANLIB
="$(RANLIB)"; export RANLIB
; \
5291 WINDRES
="$(WINDRES)"; export WINDRES
; \
5292 OBJCOPY
="$(OBJCOPY)"; export OBJCOPY
; \
5293 OBJDUMP
="$(OBJDUMP)"; export OBJDUMP
; \
5295 echo Configuring in guile
; \
5296 cd guile || exit
1; \
5299 srcdiroption
="--srcdir=."; \
5301 /* |
[A-Za-z
]:[\\/]*) \
5302 srcdiroption
="--srcdir=$(srcdir)/guile"; \
5303 libsrcdir
="$$s/guile";; \
5305 srcdiroption
="--srcdir=../$(srcdir)/guile"; \
5306 libsrcdir
="$$s/guile";; \
5308 $(SHELL
) $${libsrcdir}/configure \
5309 $(HOST_CONFIGARGS
) $${srcdiroption} \
5312 .PHONY
: all-guile maybe-all-guile
5314 all-guile
: configure-guile
5315 @r
=`${PWD}`; export r
; \
5316 s
=`cd $(srcdir); ${PWD}`; export s
; \
5318 (cd guile
&& $(MAKE
) $(FLAGS_TO_PASS
) $(X11_FLAGS_TO_PASS
) all)
5323 @r
=`${PWD}`; export r
; \
5324 s
=`cd $(srcdir); ${PWD}`; export s
; \
5326 (cd guile
&& $(MAKE
) $(FLAGS_TO_PASS
) $(X11_FLAGS_TO_PASS
) check)
5330 .PHONY
: install-guile maybe-install-guile
5331 maybe-install-guile
:
5332 install-guile
: installdirs
5333 @r
=`${PWD}`; export r
; \
5334 s
=`cd $(srcdir); ${PWD}`; export s
; \
5336 (cd guile
&& $(MAKE
) $(FLAGS_TO_PASS
) $(X11_FLAGS_TO_PASS
) install)
5339 .PHONY
: configure-tk maybe-configure-tk
5342 @
test ! -f tk
/Makefile || exit
0; \
5343 [ -d tk
] || mkdir tk
; \
5344 r
=`${PWD}`; export r
; \
5345 s
=`cd $(srcdir); ${PWD}`; export s
; \
5346 CC
="$(CC)"; export CC
; \
5347 CFLAGS
="$(CFLAGS)"; export CFLAGS
; \
5348 CXX
="$(CXX)"; export CXX
; \
5349 CXXFLAGS
="$(CXXFLAGS)"; export CXXFLAGS
; \
5350 if
[ z
$(build_canonical
) != z
$(host_canoncial
) ] ; then \
5351 AR
="$(AR)"; export AR
; \
5352 AS
="$(AS)"; export AS
; \
5353 CC_FOR_BUILD
="$(CC_FOR_BUILD)"; export CC_FOR_BUILD
; \
5354 DLLTOOL
="$(DLLTOOL)"; export DLLTOOL
; \
5355 LD
="$(LD)"; export LD
; \
5356 NM
="$(NM)"; export NM
; \
5357 RANLIB
="$(RANLIB)"; export RANLIB
; \
5358 WINDRES
="$(WINDRES)"; export WINDRES
; \
5359 OBJCOPY
="$(OBJCOPY)"; export OBJCOPY
; \
5360 OBJDUMP
="$(OBJDUMP)"; export OBJDUMP
; \
5362 echo Configuring in tk
; \
5366 srcdiroption
="--srcdir=."; \
5368 /* |
[A-Za-z
]:[\\/]*) \
5369 srcdiroption
="--srcdir=$(srcdir)/tk"; \
5370 libsrcdir
="$$s/tk";; \
5372 srcdiroption
="--srcdir=../$(srcdir)/tk"; \
5373 libsrcdir
="$$s/tk";; \
5375 $(SHELL
) $${libsrcdir}/configure \
5376 $(HOST_CONFIGARGS
) $${srcdiroption} \
5379 .PHONY
: all-tk maybe-all-tk
5381 all-tk
: configure-tk
5382 @r
=`${PWD}`; export r
; \
5383 s
=`cd $(srcdir); ${PWD}`; export s
; \
5385 (cd tk
&& $(MAKE
) $(FLAGS_TO_PASS
) $(X11_FLAGS_TO_PASS
) all)
5390 @r
=`${PWD}`; export r
; \
5391 s
=`cd $(srcdir); ${PWD}`; export s
; \
5393 (cd tk
&& $(MAKE
) $(FLAGS_TO_PASS
) $(X11_FLAGS_TO_PASS
) check)
5397 .PHONY
: install-tk maybe-install-tk
5399 install-tk
: installdirs
5400 @r
=`${PWD}`; export r
; \
5401 s
=`cd $(srcdir); ${PWD}`; export s
; \
5403 (cd tk
&& $(MAKE
) $(FLAGS_TO_PASS
) $(X11_FLAGS_TO_PASS
) install)
5406 .PHONY
: configure-tix maybe-configure-tix
5407 maybe-configure-tix
:
5409 @
test ! -f tix
/Makefile || exit
0; \
5410 [ -d tix
] || mkdir tix
; \
5411 r
=`${PWD}`; export r
; \
5412 s
=`cd $(srcdir); ${PWD}`; export s
; \
5413 CC
="$(CC)"; export CC
; \
5414 CFLAGS
="$(CFLAGS)"; export CFLAGS
; \
5415 CXX
="$(CXX)"; export CXX
; \
5416 CXXFLAGS
="$(CXXFLAGS)"; export CXXFLAGS
; \
5417 if
[ z
$(build_canonical
) != z
$(host_canoncial
) ] ; then \
5418 AR
="$(AR)"; export AR
; \
5419 AS
="$(AS)"; export AS
; \
5420 CC_FOR_BUILD
="$(CC_FOR_BUILD)"; export CC_FOR_BUILD
; \
5421 DLLTOOL
="$(DLLTOOL)"; export DLLTOOL
; \
5422 LD
="$(LD)"; export LD
; \
5423 NM
="$(NM)"; export NM
; \
5424 RANLIB
="$(RANLIB)"; export RANLIB
; \
5425 WINDRES
="$(WINDRES)"; export WINDRES
; \
5426 OBJCOPY
="$(OBJCOPY)"; export OBJCOPY
; \
5427 OBJDUMP
="$(OBJDUMP)"; export OBJDUMP
; \
5429 echo Configuring in tix
; \
5433 srcdiroption
="--srcdir=."; \
5435 /* |
[A-Za-z
]:[\\/]*) \
5436 srcdiroption
="--srcdir=$(srcdir)/tix"; \
5437 libsrcdir
="$$s/tix";; \
5439 srcdiroption
="--srcdir=../$(srcdir)/tix"; \
5440 libsrcdir
="$$s/tix";; \
5442 $(SHELL
) $${libsrcdir}/configure \
5443 $(HOST_CONFIGARGS
) $${srcdiroption} \
5446 .PHONY
: all-tix maybe-all-tix
5448 all-tix
: configure-tix
5449 @r
=`${PWD}`; export r
; \
5450 s
=`cd $(srcdir); ${PWD}`; export s
; \
5452 (cd tix
&& $(MAKE
) $(FLAGS_TO_PASS
) $(X11_FLAGS_TO_PASS
) all)
5457 @r
=`${PWD}`; export r
; \
5458 s
=`cd $(srcdir); ${PWD}`; export s
; \
5460 (cd tix
&& $(MAKE
) $(FLAGS_TO_PASS
) $(X11_FLAGS_TO_PASS
) check)
5464 .PHONY
: install-tix maybe-install-tix
5466 install-tix
: installdirs
5467 @r
=`${PWD}`; export r
; \
5468 s
=`cd $(srcdir); ${PWD}`; export s
; \
5470 (cd tix
&& $(MAKE
) $(FLAGS_TO_PASS
) $(X11_FLAGS_TO_PASS
) install)
5473 .PHONY
: configure-libtermcap maybe-configure-libtermcap
5474 maybe-configure-libtermcap
:
5475 configure-libtermcap
:
5476 @
test ! -f libtermcap
/Makefile || exit
0; \
5477 [ -d libtermcap
] || mkdir libtermcap
; \
5478 r
=`${PWD}`; export r
; \
5479 s
=`cd $(srcdir); ${PWD}`; export s
; \
5480 CC
="$(CC)"; export CC
; \
5481 CFLAGS
="$(CFLAGS)"; export CFLAGS
; \
5482 CXX
="$(CXX)"; export CXX
; \
5483 CXXFLAGS
="$(CXXFLAGS)"; export CXXFLAGS
; \
5484 if
[ z
$(build_canonical
) != z
$(host_canoncial
) ] ; then \
5485 AR
="$(AR)"; export AR
; \
5486 AS
="$(AS)"; export AS
; \
5487 CC_FOR_BUILD
="$(CC_FOR_BUILD)"; export CC_FOR_BUILD
; \
5488 DLLTOOL
="$(DLLTOOL)"; export DLLTOOL
; \
5489 LD
="$(LD)"; export LD
; \
5490 NM
="$(NM)"; export NM
; \
5491 RANLIB
="$(RANLIB)"; export RANLIB
; \
5492 WINDRES
="$(WINDRES)"; export WINDRES
; \
5493 OBJCOPY
="$(OBJCOPY)"; export OBJCOPY
; \
5494 OBJDUMP
="$(OBJDUMP)"; export OBJDUMP
; \
5496 echo Configuring in libtermcap
; \
5497 cd libtermcap || exit
1; \
5500 srcdiroption
="--srcdir=."; \
5502 /* |
[A-Za-z
]:[\\/]*) \
5503 srcdiroption
="--srcdir=$(srcdir)/libtermcap"; \
5504 libsrcdir
="$$s/libtermcap";; \
5506 srcdiroption
="--srcdir=../$(srcdir)/libtermcap"; \
5507 libsrcdir
="$$s/libtermcap";; \
5509 $(SHELL
) $${libsrcdir}/configure \
5510 $(HOST_CONFIGARGS
) $${srcdiroption} \
5513 .PHONY
: all-libtermcap maybe-all-libtermcap
5514 maybe-all-libtermcap
:
5515 all-libtermcap
: configure-libtermcap
5516 @r
=`${PWD}`; export r
; \
5517 s
=`cd $(srcdir); ${PWD}`; export s
; \
5519 (cd libtermcap
&& $(MAKE
) $(FLAGS_TO_PASS
) all)
5522 .PHONY
: check-libtermcap
5527 .PHONY
: install-libtermcap maybe-install-libtermcap
5528 maybe-install-libtermcap
:
5529 install-libtermcap
: installdirs
5530 @r
=`${PWD}`; export r
; \
5531 s
=`cd $(srcdir); ${PWD}`; export s
; \
5533 (cd libtermcap
&& $(MAKE
) $(FLAGS_TO_PASS
) install)
5536 .PHONY
: configure-utils maybe-configure-utils
5537 maybe-configure-utils
:
5539 @
test ! -f utils
/Makefile || exit
0; \
5540 [ -d utils
] || mkdir utils
; \
5541 r
=`${PWD}`; export r
; \
5542 s
=`cd $(srcdir); ${PWD}`; export s
; \
5543 CC
="$(CC)"; export CC
; \
5544 CFLAGS
="$(CFLAGS)"; export CFLAGS
; \
5545 CXX
="$(CXX)"; export CXX
; \
5546 CXXFLAGS
="$(CXXFLAGS)"; export CXXFLAGS
; \
5547 if
[ z
$(build_canonical
) != z
$(host_canoncial
) ] ; then \
5548 AR
="$(AR)"; export AR
; \
5549 AS
="$(AS)"; export AS
; \
5550 CC_FOR_BUILD
="$(CC_FOR_BUILD)"; export CC_FOR_BUILD
; \
5551 DLLTOOL
="$(DLLTOOL)"; export DLLTOOL
; \
5552 LD
="$(LD)"; export LD
; \
5553 NM
="$(NM)"; export NM
; \
5554 RANLIB
="$(RANLIB)"; export RANLIB
; \
5555 WINDRES
="$(WINDRES)"; export WINDRES
; \
5556 OBJCOPY
="$(OBJCOPY)"; export OBJCOPY
; \
5557 OBJDUMP
="$(OBJDUMP)"; export OBJDUMP
; \
5559 echo Configuring in utils
; \
5560 cd utils || exit
1; \
5563 srcdiroption
="--srcdir=."; \
5565 /* |
[A-Za-z
]:[\\/]*) \
5566 srcdiroption
="--srcdir=$(srcdir)/utils"; \
5567 libsrcdir
="$$s/utils";; \
5569 srcdiroption
="--srcdir=../$(srcdir)/utils"; \
5570 libsrcdir
="$$s/utils";; \
5572 $(SHELL
) $${libsrcdir}/configure \
5573 $(HOST_CONFIGARGS
) $${srcdiroption} \
5576 .PHONY
: all-utils maybe-all-utils
5578 all-utils
: configure-utils
5579 @r
=`${PWD}`; export r
; \
5580 s
=`cd $(srcdir); ${PWD}`; export s
; \
5582 (cd utils
&& $(MAKE
) $(FLAGS_TO_PASS
) all)
5590 .PHONY
: install-utils maybe-install-utils
5591 maybe-install-utils
:
5592 install-utils
: installdirs
5593 @r
=`${PWD}`; export r
; \
5594 s
=`cd $(srcdir); ${PWD}`; export s
; \
5596 (cd utils
&& $(MAKE
) $(FLAGS_TO_PASS
) install)
5600 # ---------------------------------------
5601 # Modules which run on the target machine
5602 # ---------------------------------------
5604 .PHONY
: configure-target-libstdc
++-v3 maybe-configure-target-libstdc
++-v3
5605 maybe-configure-target-libstdc
++-v3
:
5607 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
5608 $(TARGET_SUBDIR
)/libstdc
++-v3
/multilib.out
: multilib.out
5609 @
[ -d
$(TARGET_SUBDIR
)/libstdc
++-v3
] || \
5610 mkdir
$(TARGET_SUBDIR
)/libstdc
++-v3
; \
5611 rm -f
$(TARGET_SUBDIR
)/libstdc
++-v3
/Makefile ||
: ; \
5612 cp multilib.out
$(TARGET_SUBDIR
)/libstdc
++-v3
/multilib.out
5614 configure-target-libstdc
++-v3
: $(TARGET_SUBDIR
)/libstdc
++-v3
/multilib.out
5615 @
test ! -f
$(TARGET_SUBDIR
)/libstdc
++-v3
/Makefile || exit
0; \
5616 [ -d
$(TARGET_SUBDIR
)/libstdc
++-v3
] || \
5617 mkdir
$(TARGET_SUBDIR
)/libstdc
++-v3
;\
5618 r
=`${PWD}`; export r
; \
5619 s
=`cd $(srcdir); ${PWD}`; export s
; \
5621 AR
="$(AR_FOR_TARGET)"; export AR
; \
5622 AS
="$(AS_FOR_TARGET)"; export AS
; \
5623 CC
="$(CC_FOR_TARGET)"; export CC
; \
5624 CFLAGS
="$(CFLAGS_FOR_TARGET)"; export CFLAGS
; \
5625 CPPFLAGS
="$(CFLAGS_FOR_TARGET)"; export CPPFLAGS
; \
5626 CXX_FOR_TARGET
="$(RAW_CXX_FOR_TARGET)"; export CXX_FOR_TARGET
; \
5627 CXX
="$(RAW_CXX_FOR_TARGET)"; export CXX
; \
5628 CXXFLAGS
="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS
; \
5629 GCJ
="$(GCJ_FOR_TARGET)"; export GCJ
; \
5630 DLLTOOL
="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL
; \
5631 LD
="$(LD_FOR_TARGET)"; export LD
; \
5632 LDFLAGS
="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS
; \
5633 NM
="$(NM_FOR_TARGET)"; export NM
; \
5634 RANLIB
="$(RANLIB_FOR_TARGET)"; export RANLIB
; \
5635 WINDRES
="$(WINDRES_FOR_TARGET)"; export WINDRES
; \
5636 echo Configuring in
$(TARGET_SUBDIR
)/libstdc
++-v3
; \
5637 cd
"$(TARGET_SUBDIR)/libstdc++-v3" || exit
1; \
5639 /* |
[A-Za-z
]:[\\/]*) \
5640 topdir
=$(srcdir) ;; \
5642 case
"$(TARGET_SUBDIR)" in \
5643 .
) topdir
="../$(srcdir)" ;; \
5644 *) topdir
="../../$(srcdir)" ;; \
5647 if
[ "$(srcdir)" = "." ] ; then \
5648 if
[ "$(TARGET_SUBDIR)" != "." ] ; then \
5649 if
$(SHELL
) $$s/symlink-tree
$${topdir}/libstdc
++-v3
"no-such-file" ; then \
5650 if
[ -f Makefile
]; then \
5651 if
$(MAKE
) distclean; then \
5665 srcdiroption
="--srcdir=."; \
5668 srcdiroption
="--srcdir=$${topdir}/libstdc++-v3"; \
5669 libsrcdir
="$$s/libstdc++-v3"; \
5671 rm -f no-such-file ||
: ; \
5672 CONFIG_SITE
=no-such-file
$(SHELL
) $${libsrcdir}/configure \
5673 $(TARGET_CONFIGARGS
) $${srcdiroption} \
5674 --with-target-subdir
="$(TARGET_SUBDIR)" \
5677 .PHONY
: all-target-libstdc
++-v3 maybe-all-target-libstdc
++-v3
5678 maybe-all-target-libstdc
++-v3
:
5679 all-target-libstdc
++-v3
: configure-target-libstdc
++-v3
5680 @r
=`${PWD}`; export r
; \
5681 s
=`cd $(srcdir); ${PWD}`; export s
; \
5683 (cd
$(TARGET_SUBDIR
)/libstdc
++-v3
&& \
5684 $(MAKE
) $(TARGET_FLAGS_TO_PASS
) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' all)
5686 .PHONY
: check-target-libstdc
++-v3
5687 check-target-libstdc
++-v3
:
5688 @r
=`${PWD}`; export r
; \
5689 s
=`cd $(srcdir); ${PWD}`; export s
; \
5691 (cd
$(TARGET_SUBDIR
)/libstdc
++-v3
&& \
5692 $(MAKE
) $(TARGET_FLAGS_TO_PASS
) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' check)
5695 .PHONY
: install-target-libstdc
++-v3 maybe-install-target-libstdc
++-v3
5696 maybe-install-target-libstdc
++-v3
:
5697 install-target-libstdc
++-v3
: installdirs
5698 @r
=`${PWD}`; export r
; \
5699 s
=`cd $(srcdir); ${PWD}`; export s
; \
5701 (cd
$(TARGET_SUBDIR
)/libstdc
++-v3
&& \
5702 $(MAKE
) $(TARGET_FLAGS_TO_PASS
) install)
5705 .PHONY
: configure-target-newlib maybe-configure-target-newlib
5706 maybe-configure-target-newlib
:
5708 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
5709 $(TARGET_SUBDIR
)/newlib
/multilib.out
: multilib.out
5710 @
[ -d
$(TARGET_SUBDIR
)/newlib
] || \
5711 mkdir
$(TARGET_SUBDIR
)/newlib
; \
5712 rm -f
$(TARGET_SUBDIR
)/newlib
/Makefile ||
: ; \
5713 cp multilib.out
$(TARGET_SUBDIR
)/newlib
/multilib.out
5715 configure-target-newlib
: $(TARGET_SUBDIR
)/newlib
/multilib.out
5716 @
test ! -f
$(TARGET_SUBDIR
)/newlib
/Makefile || exit
0; \
5717 [ -d
$(TARGET_SUBDIR
)/newlib
] || \
5718 mkdir
$(TARGET_SUBDIR
)/newlib
;\
5719 r
=`${PWD}`; export r
; \
5720 s
=`cd $(srcdir); ${PWD}`; export s
; \
5722 AR
="$(AR_FOR_TARGET)"; export AR
; \
5723 AS
="$(AS_FOR_TARGET)"; export AS
; \
5724 CC
="$(CC_FOR_TARGET)"; export CC
; \
5725 CFLAGS
="$(CFLAGS_FOR_TARGET)"; export CFLAGS
; \
5726 CPPFLAGS
="$(CFLAGS_FOR_TARGET)"; export CPPFLAGS
; \
5727 CXX
="$(CXX_FOR_TARGET)"; export CXX
; \
5728 CXXFLAGS
="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS
; \
5729 GCJ
="$(GCJ_FOR_TARGET)"; export GCJ
; \
5730 DLLTOOL
="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL
; \
5731 LD
="$(LD_FOR_TARGET)"; export LD
; \
5732 LDFLAGS
="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS
; \
5733 NM
="$(NM_FOR_TARGET)"; export NM
; \
5734 RANLIB
="$(RANLIB_FOR_TARGET)"; export RANLIB
; \
5735 WINDRES
="$(WINDRES_FOR_TARGET)"; export WINDRES
; \
5736 echo Configuring in
$(TARGET_SUBDIR
)/newlib
; \
5737 cd
"$(TARGET_SUBDIR)/newlib" || exit
1; \
5739 /* |
[A-Za-z
]:[\\/]*) \
5740 topdir
=$(srcdir) ;; \
5742 case
"$(TARGET_SUBDIR)" in \
5743 .
) topdir
="../$(srcdir)" ;; \
5744 *) topdir
="../../$(srcdir)" ;; \
5747 if
[ "$(srcdir)" = "." ] ; then \
5748 if
[ "$(TARGET_SUBDIR)" != "." ] ; then \
5749 if
$(SHELL
) $$s/symlink-tree
$${topdir}/newlib
"no-such-file" ; then \
5750 if
[ -f Makefile
]; then \
5751 if
$(MAKE
) distclean; then \
5765 srcdiroption
="--srcdir=."; \
5768 srcdiroption
="--srcdir=$${topdir}/newlib"; \
5769 libsrcdir
="$$s/newlib"; \
5771 rm -f no-such-file ||
: ; \
5772 CONFIG_SITE
=no-such-file
$(SHELL
) $${libsrcdir}/configure \
5773 $(TARGET_CONFIGARGS
) $${srcdiroption} \
5774 --with-target-subdir
="$(TARGET_SUBDIR)" \
5777 .PHONY
: all-target-newlib maybe-all-target-newlib
5778 maybe-all-target-newlib
:
5779 all-target-newlib
: configure-target-newlib
5780 @r
=`${PWD}`; export r
; \
5781 s
=`cd $(srcdir); ${PWD}`; export s
; \
5783 (cd
$(TARGET_SUBDIR
)/newlib
&& \
5784 $(MAKE
) $(TARGET_FLAGS_TO_PASS
) all)
5786 .PHONY
: check-target-newlib
5787 check-target-newlib
:
5788 @r
=`${PWD}`; export r
; \
5789 s
=`cd $(srcdir); ${PWD}`; export s
; \
5791 (cd
$(TARGET_SUBDIR
)/newlib
&& \
5792 $(MAKE
) $(TARGET_FLAGS_TO_PASS
) check)
5795 .PHONY
: install-target-newlib maybe-install-target-newlib
5796 maybe-install-target-newlib
:
5797 install-target-newlib
: installdirs
5798 @r
=`${PWD}`; export r
; \
5799 s
=`cd $(srcdir); ${PWD}`; export s
; \
5801 (cd
$(TARGET_SUBDIR
)/newlib
&& \
5802 $(MAKE
) $(TARGET_FLAGS_TO_PASS
) install)
5805 .PHONY
: configure-target-libf2c maybe-configure-target-libf2c
5806 maybe-configure-target-libf2c
:
5808 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
5809 $(TARGET_SUBDIR
)/libf2c
/multilib.out
: multilib.out
5810 @
[ -d
$(TARGET_SUBDIR
)/libf2c
] || \
5811 mkdir
$(TARGET_SUBDIR
)/libf2c
; \
5812 rm -f
$(TARGET_SUBDIR
)/libf2c
/Makefile ||
: ; \
5813 cp multilib.out
$(TARGET_SUBDIR
)/libf2c
/multilib.out
5815 configure-target-libf2c
: $(TARGET_SUBDIR
)/libf2c
/multilib.out
5816 @
test ! -f
$(TARGET_SUBDIR
)/libf2c
/Makefile || exit
0; \
5817 [ -d
$(TARGET_SUBDIR
)/libf2c
] || \
5818 mkdir
$(TARGET_SUBDIR
)/libf2c
;\
5819 r
=`${PWD}`; export r
; \
5820 s
=`cd $(srcdir); ${PWD}`; export s
; \
5822 AR
="$(AR_FOR_TARGET)"; export AR
; \
5823 AS
="$(AS_FOR_TARGET)"; export AS
; \
5824 CC
="$(CC_FOR_TARGET)"; export CC
; \
5825 CFLAGS
="$(CFLAGS_FOR_TARGET)"; export CFLAGS
; \
5826 CPPFLAGS
="$(CFLAGS_FOR_TARGET)"; export CPPFLAGS
; \
5827 CXX
="$(CXX_FOR_TARGET)"; export CXX
; \
5828 CXXFLAGS
="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS
; \
5829 GCJ
="$(GCJ_FOR_TARGET)"; export GCJ
; \
5830 DLLTOOL
="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL
; \
5831 LD
="$(LD_FOR_TARGET)"; export LD
; \
5832 LDFLAGS
="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS
; \
5833 NM
="$(NM_FOR_TARGET)"; export NM
; \
5834 RANLIB
="$(RANLIB_FOR_TARGET)"; export RANLIB
; \
5835 WINDRES
="$(WINDRES_FOR_TARGET)"; export WINDRES
; \
5836 echo Configuring in
$(TARGET_SUBDIR
)/libf2c
; \
5837 cd
"$(TARGET_SUBDIR)/libf2c" || exit
1; \
5839 /* |
[A-Za-z
]:[\\/]*) \
5840 topdir
=$(srcdir) ;; \
5842 case
"$(TARGET_SUBDIR)" in \
5843 .
) topdir
="../$(srcdir)" ;; \
5844 *) topdir
="../../$(srcdir)" ;; \
5847 if
[ "$(srcdir)" = "." ] ; then \
5848 if
[ "$(TARGET_SUBDIR)" != "." ] ; then \
5849 if
$(SHELL
) $$s/symlink-tree
$${topdir}/libf2c
"no-such-file" ; then \
5850 if
[ -f Makefile
]; then \
5851 if
$(MAKE
) distclean; then \
5865 srcdiroption
="--srcdir=."; \
5868 srcdiroption
="--srcdir=$${topdir}/libf2c"; \
5869 libsrcdir
="$$s/libf2c"; \
5871 rm -f no-such-file ||
: ; \
5872 CONFIG_SITE
=no-such-file
$(SHELL
) $${libsrcdir}/configure \
5873 $(TARGET_CONFIGARGS
) $${srcdiroption} \
5874 --with-target-subdir
="$(TARGET_SUBDIR)" \
5877 .PHONY
: all-target-libf2c maybe-all-target-libf2c
5878 maybe-all-target-libf2c
:
5879 all-target-libf2c
: configure-target-libf2c
5880 @r
=`${PWD}`; export r
; \
5881 s
=`cd $(srcdir); ${PWD}`; export s
; \
5883 (cd
$(TARGET_SUBDIR
)/libf2c
&& \
5884 $(MAKE
) $(TARGET_FLAGS_TO_PASS
) all)
5886 .PHONY
: check-target-libf2c
5887 check-target-libf2c
:
5888 @r
=`${PWD}`; export r
; \
5889 s
=`cd $(srcdir); ${PWD}`; export s
; \
5891 (cd
$(TARGET_SUBDIR
)/libf2c
&& \
5892 $(MAKE
) $(TARGET_FLAGS_TO_PASS
) check)
5895 .PHONY
: install-target-libf2c maybe-install-target-libf2c
5896 maybe-install-target-libf2c
:
5897 install-target-libf2c
: installdirs
5898 @r
=`${PWD}`; export r
; \
5899 s
=`cd $(srcdir); ${PWD}`; export s
; \
5901 (cd
$(TARGET_SUBDIR
)/libf2c
&& \
5902 $(MAKE
) $(TARGET_FLAGS_TO_PASS
) install)
5905 .PHONY
: configure-target-libobjc maybe-configure-target-libobjc
5906 maybe-configure-target-libobjc
:
5908 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
5909 $(TARGET_SUBDIR
)/libobjc
/multilib.out
: multilib.out
5910 @
[ -d
$(TARGET_SUBDIR
)/libobjc
] || \
5911 mkdir
$(TARGET_SUBDIR
)/libobjc
; \
5912 rm -f
$(TARGET_SUBDIR
)/libobjc
/Makefile ||
: ; \
5913 cp multilib.out
$(TARGET_SUBDIR
)/libobjc
/multilib.out
5915 configure-target-libobjc
: $(TARGET_SUBDIR
)/libobjc
/multilib.out
5916 @
test ! -f
$(TARGET_SUBDIR
)/libobjc
/Makefile || exit
0; \
5917 [ -d
$(TARGET_SUBDIR
)/libobjc
] || \
5918 mkdir
$(TARGET_SUBDIR
)/libobjc
;\
5919 r
=`${PWD}`; export r
; \
5920 s
=`cd $(srcdir); ${PWD}`; export s
; \
5922 AR
="$(AR_FOR_TARGET)"; export AR
; \
5923 AS
="$(AS_FOR_TARGET)"; export AS
; \
5924 CC
="$(CC_FOR_TARGET)"; export CC
; \
5925 CFLAGS
="$(CFLAGS_FOR_TARGET)"; export CFLAGS
; \
5926 CPPFLAGS
="$(CFLAGS_FOR_TARGET)"; export CPPFLAGS
; \
5927 CXX
="$(CXX_FOR_TARGET)"; export CXX
; \
5928 CXXFLAGS
="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS
; \
5929 GCJ
="$(GCJ_FOR_TARGET)"; export GCJ
; \
5930 DLLTOOL
="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL
; \
5931 LD
="$(LD_FOR_TARGET)"; export LD
; \
5932 LDFLAGS
="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS
; \
5933 NM
="$(NM_FOR_TARGET)"; export NM
; \
5934 RANLIB
="$(RANLIB_FOR_TARGET)"; export RANLIB
; \
5935 WINDRES
="$(WINDRES_FOR_TARGET)"; export WINDRES
; \
5936 echo Configuring in
$(TARGET_SUBDIR
)/libobjc
; \
5937 cd
"$(TARGET_SUBDIR)/libobjc" || exit
1; \
5939 /* |
[A-Za-z
]:[\\/]*) \
5940 topdir
=$(srcdir) ;; \
5942 case
"$(TARGET_SUBDIR)" in \
5943 .
) topdir
="../$(srcdir)" ;; \
5944 *) topdir
="../../$(srcdir)" ;; \
5947 if
[ "$(srcdir)" = "." ] ; then \
5948 if
[ "$(TARGET_SUBDIR)" != "." ] ; then \
5949 if
$(SHELL
) $$s/symlink-tree
$${topdir}/libobjc
"no-such-file" ; then \
5950 if
[ -f Makefile
]; then \
5951 if
$(MAKE
) distclean; then \
5965 srcdiroption
="--srcdir=."; \
5968 srcdiroption
="--srcdir=$${topdir}/libobjc"; \
5969 libsrcdir
="$$s/libobjc"; \
5971 rm -f no-such-file ||
: ; \
5972 CONFIG_SITE
=no-such-file
$(SHELL
) $${libsrcdir}/configure \
5973 $(TARGET_CONFIGARGS
) $${srcdiroption} \
5974 --with-target-subdir
="$(TARGET_SUBDIR)" \
5977 .PHONY
: all-target-libobjc maybe-all-target-libobjc
5978 maybe-all-target-libobjc
:
5979 all-target-libobjc
: configure-target-libobjc
5980 @r
=`${PWD}`; export r
; \
5981 s
=`cd $(srcdir); ${PWD}`; export s
; \
5983 (cd
$(TARGET_SUBDIR
)/libobjc
&& \
5984 $(MAKE
) $(TARGET_FLAGS_TO_PASS
) all)
5986 .PHONY
: check-target-libobjc
5987 check-target-libobjc
:
5988 @r
=`${PWD}`; export r
; \
5989 s
=`cd $(srcdir); ${PWD}`; export s
; \
5991 (cd
$(TARGET_SUBDIR
)/libobjc
&& \
5992 $(MAKE
) $(TARGET_FLAGS_TO_PASS
) check)
5995 .PHONY
: install-target-libobjc maybe-install-target-libobjc
5996 maybe-install-target-libobjc
:
5997 install-target-libobjc
: installdirs
5998 @r
=`${PWD}`; export r
; \
5999 s
=`cd $(srcdir); ${PWD}`; export s
; \
6001 (cd
$(TARGET_SUBDIR
)/libobjc
&& \
6002 $(MAKE
) $(TARGET_FLAGS_TO_PASS
) install)
6005 .PHONY
: configure-target-libtermcap maybe-configure-target-libtermcap
6006 maybe-configure-target-libtermcap
:
6008 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
6009 $(TARGET_SUBDIR
)/libtermcap
/multilib.out
: multilib.out
6010 @
[ -d
$(TARGET_SUBDIR
)/libtermcap
] || \
6011 mkdir
$(TARGET_SUBDIR
)/libtermcap
; \
6012 rm -f
$(TARGET_SUBDIR
)/libtermcap
/Makefile ||
: ; \
6013 cp multilib.out
$(TARGET_SUBDIR
)/libtermcap
/multilib.out
6015 configure-target-libtermcap
: $(TARGET_SUBDIR
)/libtermcap
/multilib.out
6016 @
test ! -f
$(TARGET_SUBDIR
)/libtermcap
/Makefile || exit
0; \
6017 [ -d
$(TARGET_SUBDIR
)/libtermcap
] || \
6018 mkdir
$(TARGET_SUBDIR
)/libtermcap
;\
6019 r
=`${PWD}`; export r
; \
6020 s
=`cd $(srcdir); ${PWD}`; export s
; \
6022 AR
="$(AR_FOR_TARGET)"; export AR
; \
6023 AS
="$(AS_FOR_TARGET)"; export AS
; \
6024 CC
="$(CC_FOR_TARGET)"; export CC
; \
6025 CFLAGS
="$(CFLAGS_FOR_TARGET)"; export CFLAGS
; \
6026 CPPFLAGS
="$(CFLAGS_FOR_TARGET)"; export CPPFLAGS
; \
6027 CXX
="$(CXX_FOR_TARGET)"; export CXX
; \
6028 CXXFLAGS
="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS
; \
6029 GCJ
="$(GCJ_FOR_TARGET)"; export GCJ
; \
6030 DLLTOOL
="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL
; \
6031 LD
="$(LD_FOR_TARGET)"; export LD
; \
6032 LDFLAGS
="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS
; \
6033 NM
="$(NM_FOR_TARGET)"; export NM
; \
6034 RANLIB
="$(RANLIB_FOR_TARGET)"; export RANLIB
; \
6035 WINDRES
="$(WINDRES_FOR_TARGET)"; export WINDRES
; \
6036 echo Configuring in
$(TARGET_SUBDIR
)/libtermcap
; \
6037 cd
"$(TARGET_SUBDIR)/libtermcap" || exit
1; \
6039 /* |
[A-Za-z
]:[\\/]*) \
6040 topdir
=$(srcdir) ;; \
6042 case
"$(TARGET_SUBDIR)" in \
6043 .
) topdir
="../$(srcdir)" ;; \
6044 *) topdir
="../../$(srcdir)" ;; \
6047 if
[ "$(srcdir)" = "." ] ; then \
6048 if
[ "$(TARGET_SUBDIR)" != "." ] ; then \
6049 if
$(SHELL
) $$s/symlink-tree
$${topdir}/libtermcap
"no-such-file" ; then \
6050 if
[ -f Makefile
]; then \
6051 if
$(MAKE
) distclean; then \
6065 srcdiroption
="--srcdir=."; \
6068 srcdiroption
="--srcdir=$${topdir}/libtermcap"; \
6069 libsrcdir
="$$s/libtermcap"; \
6071 rm -f no-such-file ||
: ; \
6072 CONFIG_SITE
=no-such-file
$(SHELL
) $${libsrcdir}/configure \
6073 $(TARGET_CONFIGARGS
) $${srcdiroption} \
6074 --with-target-subdir
="$(TARGET_SUBDIR)" \
6077 .PHONY
: all-target-libtermcap maybe-all-target-libtermcap
6078 maybe-all-target-libtermcap
:
6079 all-target-libtermcap
: configure-target-libtermcap
6080 @r
=`${PWD}`; export r
; \
6081 s
=`cd $(srcdir); ${PWD}`; export s
; \
6083 (cd
$(TARGET_SUBDIR
)/libtermcap
&& \
6084 $(MAKE
) $(TARGET_FLAGS_TO_PASS
) all)
6086 # Dummy target for uncheckable module.
6087 .PHONY
: check-target-libtermcap
6088 check-target-libtermcap
:
6091 .PHONY
: install-target-libtermcap maybe-install-target-libtermcap
6092 maybe-install-target-libtermcap
:
6093 install-target-libtermcap
: installdirs
6094 @r
=`${PWD}`; export r
; \
6095 s
=`cd $(srcdir); ${PWD}`; export s
; \
6097 (cd
$(TARGET_SUBDIR
)/libtermcap
&& \
6098 $(MAKE
) $(TARGET_FLAGS_TO_PASS
) install)
6101 .PHONY
: configure-target-winsup maybe-configure-target-winsup
6102 maybe-configure-target-winsup
:
6104 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
6105 $(TARGET_SUBDIR
)/winsup
/multilib.out
: multilib.out
6106 @
[ -d
$(TARGET_SUBDIR
)/winsup
] || \
6107 mkdir
$(TARGET_SUBDIR
)/winsup
; \
6108 rm -f
$(TARGET_SUBDIR
)/winsup
/Makefile ||
: ; \
6109 cp multilib.out
$(TARGET_SUBDIR
)/winsup
/multilib.out
6111 configure-target-winsup
: $(TARGET_SUBDIR
)/winsup
/multilib.out
6112 @
test ! -f
$(TARGET_SUBDIR
)/winsup
/Makefile || exit
0; \
6113 [ -d
$(TARGET_SUBDIR
)/winsup
] || \
6114 mkdir
$(TARGET_SUBDIR
)/winsup
;\
6115 r
=`${PWD}`; export r
; \
6116 s
=`cd $(srcdir); ${PWD}`; export s
; \
6118 AR
="$(AR_FOR_TARGET)"; export AR
; \
6119 AS
="$(AS_FOR_TARGET)"; export AS
; \
6120 CC
="$(CC_FOR_TARGET)"; export CC
; \
6121 CFLAGS
="$(CFLAGS_FOR_TARGET)"; export CFLAGS
; \
6122 CPPFLAGS
="$(CFLAGS_FOR_TARGET)"; export CPPFLAGS
; \
6123 CXX
="$(CXX_FOR_TARGET)"; export CXX
; \
6124 CXXFLAGS
="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS
; \
6125 GCJ
="$(GCJ_FOR_TARGET)"; export GCJ
; \
6126 DLLTOOL
="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL
; \
6127 LD
="$(LD_FOR_TARGET)"; export LD
; \
6128 LDFLAGS
="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS
; \
6129 NM
="$(NM_FOR_TARGET)"; export NM
; \
6130 RANLIB
="$(RANLIB_FOR_TARGET)"; export RANLIB
; \
6131 WINDRES
="$(WINDRES_FOR_TARGET)"; export WINDRES
; \
6132 echo Configuring in
$(TARGET_SUBDIR
)/winsup
; \
6133 cd
"$(TARGET_SUBDIR)/winsup" || exit
1; \
6135 /* |
[A-Za-z
]:[\\/]*) \
6136 topdir
=$(srcdir) ;; \
6138 case
"$(TARGET_SUBDIR)" in \
6139 .
) topdir
="../$(srcdir)" ;; \
6140 *) topdir
="../../$(srcdir)" ;; \
6143 if
[ "$(srcdir)" = "." ] ; then \
6144 if
[ "$(TARGET_SUBDIR)" != "." ] ; then \
6145 if
$(SHELL
) $$s/symlink-tree
$${topdir}/winsup
"no-such-file" ; then \
6146 if
[ -f Makefile
]; then \
6147 if
$(MAKE
) distclean; then \
6161 srcdiroption
="--srcdir=."; \
6164 srcdiroption
="--srcdir=$${topdir}/winsup"; \
6165 libsrcdir
="$$s/winsup"; \
6167 rm -f no-such-file ||
: ; \
6168 CONFIG_SITE
=no-such-file
$(SHELL
) $${libsrcdir}/configure \
6169 $(TARGET_CONFIGARGS
) $${srcdiroption} \
6170 --with-target-subdir
="$(TARGET_SUBDIR)" \
6173 .PHONY
: all-target-winsup maybe-all-target-winsup
6174 maybe-all-target-winsup
:
6175 all-target-winsup
: configure-target-winsup
6176 @r
=`${PWD}`; export r
; \
6177 s
=`cd $(srcdir); ${PWD}`; export s
; \
6179 (cd
$(TARGET_SUBDIR
)/winsup
&& \
6180 $(MAKE
) $(TARGET_FLAGS_TO_PASS
) all)
6182 .PHONY
: check-target-winsup
6183 check-target-winsup
:
6184 @r
=`${PWD}`; export r
; \
6185 s
=`cd $(srcdir); ${PWD}`; export s
; \
6187 (cd
$(TARGET_SUBDIR
)/winsup
&& \
6188 $(MAKE
) $(TARGET_FLAGS_TO_PASS
) check)
6191 .PHONY
: install-target-winsup maybe-install-target-winsup
6192 maybe-install-target-winsup
:
6193 install-target-winsup
: installdirs
6194 @r
=`${PWD}`; export r
; \
6195 s
=`cd $(srcdir); ${PWD}`; export s
; \
6197 (cd
$(TARGET_SUBDIR
)/winsup
&& \
6198 $(MAKE
) $(TARGET_FLAGS_TO_PASS
) install)
6201 .PHONY
: configure-target-libgloss maybe-configure-target-libgloss
6202 maybe-configure-target-libgloss
:
6204 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
6205 $(TARGET_SUBDIR
)/libgloss
/multilib.out
: multilib.out
6206 @
[ -d
$(TARGET_SUBDIR
)/libgloss
] || \
6207 mkdir
$(TARGET_SUBDIR
)/libgloss
; \
6208 rm -f
$(TARGET_SUBDIR
)/libgloss
/Makefile ||
: ; \
6209 cp multilib.out
$(TARGET_SUBDIR
)/libgloss
/multilib.out
6211 configure-target-libgloss
: $(TARGET_SUBDIR
)/libgloss
/multilib.out
6212 @
test ! -f
$(TARGET_SUBDIR
)/libgloss
/Makefile || exit
0; \
6213 [ -d
$(TARGET_SUBDIR
)/libgloss
] || \
6214 mkdir
$(TARGET_SUBDIR
)/libgloss
;\
6215 r
=`${PWD}`; export r
; \
6216 s
=`cd $(srcdir); ${PWD}`; export s
; \
6218 AR
="$(AR_FOR_TARGET)"; export AR
; \
6219 AS
="$(AS_FOR_TARGET)"; export AS
; \
6220 CC
="$(CC_FOR_TARGET)"; export CC
; \
6221 CFLAGS
="$(CFLAGS_FOR_TARGET)"; export CFLAGS
; \
6222 CPPFLAGS
="$(CFLAGS_FOR_TARGET)"; export CPPFLAGS
; \
6223 CXX
="$(CXX_FOR_TARGET)"; export CXX
; \
6224 CXXFLAGS
="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS
; \
6225 GCJ
="$(GCJ_FOR_TARGET)"; export GCJ
; \
6226 DLLTOOL
="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL
; \
6227 LD
="$(LD_FOR_TARGET)"; export LD
; \
6228 LDFLAGS
="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS
; \
6229 NM
="$(NM_FOR_TARGET)"; export NM
; \
6230 RANLIB
="$(RANLIB_FOR_TARGET)"; export RANLIB
; \
6231 WINDRES
="$(WINDRES_FOR_TARGET)"; export WINDRES
; \
6232 echo Configuring in
$(TARGET_SUBDIR
)/libgloss
; \
6233 cd
"$(TARGET_SUBDIR)/libgloss" || exit
1; \
6235 /* |
[A-Za-z
]:[\\/]*) \
6236 topdir
=$(srcdir) ;; \
6238 case
"$(TARGET_SUBDIR)" in \
6239 .
) topdir
="../$(srcdir)" ;; \
6240 *) topdir
="../../$(srcdir)" ;; \
6243 if
[ "$(srcdir)" = "." ] ; then \
6244 if
[ "$(TARGET_SUBDIR)" != "." ] ; then \
6245 if
$(SHELL
) $$s/symlink-tree
$${topdir}/libgloss
"no-such-file" ; then \
6246 if
[ -f Makefile
]; then \
6247 if
$(MAKE
) distclean; then \
6261 srcdiroption
="--srcdir=."; \
6264 srcdiroption
="--srcdir=$${topdir}/libgloss"; \
6265 libsrcdir
="$$s/libgloss"; \
6267 rm -f no-such-file ||
: ; \
6268 CONFIG_SITE
=no-such-file
$(SHELL
) $${libsrcdir}/configure \
6269 $(TARGET_CONFIGARGS
) $${srcdiroption} \
6270 --with-target-subdir
="$(TARGET_SUBDIR)" \
6273 .PHONY
: all-target-libgloss maybe-all-target-libgloss
6274 maybe-all-target-libgloss
:
6275 all-target-libgloss
: configure-target-libgloss
6276 @r
=`${PWD}`; export r
; \
6277 s
=`cd $(srcdir); ${PWD}`; export s
; \
6279 (cd
$(TARGET_SUBDIR
)/libgloss
&& \
6280 $(MAKE
) $(TARGET_FLAGS_TO_PASS
) all)
6282 # Dummy target for uncheckable module.
6283 .PHONY
: check-target-libgloss
6284 check-target-libgloss
:
6287 .PHONY
: install-target-libgloss maybe-install-target-libgloss
6288 maybe-install-target-libgloss
:
6289 install-target-libgloss
: installdirs
6290 @r
=`${PWD}`; export r
; \
6291 s
=`cd $(srcdir); ${PWD}`; export s
; \
6293 (cd
$(TARGET_SUBDIR
)/libgloss
&& \
6294 $(MAKE
) $(TARGET_FLAGS_TO_PASS
) install)
6297 .PHONY
: configure-target-libiberty maybe-configure-target-libiberty
6298 maybe-configure-target-libiberty
:
6300 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
6301 $(TARGET_SUBDIR
)/libiberty
/multilib.out
: multilib.out
6302 @
[ -d
$(TARGET_SUBDIR
)/libiberty
] || \
6303 mkdir
$(TARGET_SUBDIR
)/libiberty
; \
6304 rm -f
$(TARGET_SUBDIR
)/libiberty
/Makefile ||
: ; \
6305 cp multilib.out
$(TARGET_SUBDIR
)/libiberty
/multilib.out
6307 configure-target-libiberty
: $(TARGET_SUBDIR
)/libiberty
/multilib.out
6308 @
test ! -f
$(TARGET_SUBDIR
)/libiberty
/Makefile || exit
0; \
6309 [ -d
$(TARGET_SUBDIR
)/libiberty
] || \
6310 mkdir
$(TARGET_SUBDIR
)/libiberty
;\
6311 r
=`${PWD}`; export r
; \
6312 s
=`cd $(srcdir); ${PWD}`; export s
; \
6314 AR
="$(AR_FOR_TARGET)"; export AR
; \
6315 AS
="$(AS_FOR_TARGET)"; export AS
; \
6316 CC
="$(CC_FOR_TARGET)"; export CC
; \
6317 CFLAGS
="$(CFLAGS_FOR_TARGET)"; export CFLAGS
; \
6318 CPPFLAGS
="$(CFLAGS_FOR_TARGET)"; export CPPFLAGS
; \
6319 CXX
="$(CXX_FOR_TARGET)"; export CXX
; \
6320 CXXFLAGS
="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS
; \
6321 GCJ
="$(GCJ_FOR_TARGET)"; export GCJ
; \
6322 DLLTOOL
="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL
; \
6323 LD
="$(LD_FOR_TARGET)"; export LD
; \
6324 LDFLAGS
="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS
; \
6325 NM
="$(NM_FOR_TARGET)"; export NM
; \
6326 RANLIB
="$(RANLIB_FOR_TARGET)"; export RANLIB
; \
6327 WINDRES
="$(WINDRES_FOR_TARGET)"; export WINDRES
; \
6328 echo Configuring in
$(TARGET_SUBDIR
)/libiberty
; \
6329 cd
"$(TARGET_SUBDIR)/libiberty" || exit
1; \
6331 /* |
[A-Za-z
]:[\\/]*) \
6332 topdir
=$(srcdir) ;; \
6334 case
"$(TARGET_SUBDIR)" in \
6335 .
) topdir
="../$(srcdir)" ;; \
6336 *) topdir
="../../$(srcdir)" ;; \
6339 if
[ "$(srcdir)" = "." ] ; then \
6340 if
[ "$(TARGET_SUBDIR)" != "." ] ; then \
6341 if
$(SHELL
) $$s/symlink-tree
$${topdir}/libiberty
"no-such-file" ; then \
6342 if
[ -f Makefile
]; then \
6343 if
$(MAKE
) distclean; then \
6357 srcdiroption
="--srcdir=."; \
6360 srcdiroption
="--srcdir=$${topdir}/libiberty"; \
6361 libsrcdir
="$$s/libiberty"; \
6363 rm -f no-such-file ||
: ; \
6364 CONFIG_SITE
=no-such-file
$(SHELL
) $${libsrcdir}/configure \
6365 $(TARGET_CONFIGARGS
) $${srcdiroption} \
6366 --with-target-subdir
="$(TARGET_SUBDIR)" \
6369 .PHONY
: all-target-libiberty maybe-all-target-libiberty
6370 maybe-all-target-libiberty
:
6371 all-target-libiberty
: configure-target-libiberty
6372 @r
=`${PWD}`; export r
; \
6373 s
=`cd $(srcdir); ${PWD}`; export s
; \
6375 (cd
$(TARGET_SUBDIR
)/libiberty
&& \
6376 $(MAKE
) $(TARGET_FLAGS_TO_PASS
) all)
6378 .PHONY
: check-target-libiberty
6379 check-target-libiberty
:
6380 @r
=`${PWD}`; export r
; \
6381 s
=`cd $(srcdir); ${PWD}`; export s
; \
6383 (cd
$(TARGET_SUBDIR
)/libiberty
&& \
6384 $(MAKE
) $(TARGET_FLAGS_TO_PASS
) check)
6387 .PHONY
: install-target-libiberty maybe-install-target-libiberty
6388 maybe-install-target-libiberty
:
6389 install-target-libiberty
: installdirs
6390 @r
=`${PWD}`; export r
; \
6391 s
=`cd $(srcdir); ${PWD}`; export s
; \
6393 (cd
$(TARGET_SUBDIR
)/libiberty
&& \
6394 $(MAKE
) $(TARGET_FLAGS_TO_PASS
) install)
6397 .PHONY
: configure-target-gperf maybe-configure-target-gperf
6398 maybe-configure-target-gperf
:
6400 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
6401 $(TARGET_SUBDIR
)/gperf
/multilib.out
: multilib.out
6402 @
[ -d
$(TARGET_SUBDIR
)/gperf
] || \
6403 mkdir
$(TARGET_SUBDIR
)/gperf
; \
6404 rm -f
$(TARGET_SUBDIR
)/gperf
/Makefile ||
: ; \
6405 cp multilib.out
$(TARGET_SUBDIR
)/gperf
/multilib.out
6407 configure-target-gperf
: $(TARGET_SUBDIR
)/gperf
/multilib.out
6408 @
test ! -f
$(TARGET_SUBDIR
)/gperf
/Makefile || exit
0; \
6409 [ -d
$(TARGET_SUBDIR
)/gperf
] || \
6410 mkdir
$(TARGET_SUBDIR
)/gperf
;\
6411 r
=`${PWD}`; export r
; \
6412 s
=`cd $(srcdir); ${PWD}`; export s
; \
6414 AR
="$(AR_FOR_TARGET)"; export AR
; \
6415 AS
="$(AS_FOR_TARGET)"; export AS
; \
6416 CC
="$(CC_FOR_TARGET)"; export CC
; \
6417 CFLAGS
="$(CFLAGS_FOR_TARGET)"; export CFLAGS
; \
6418 CPPFLAGS
="$(CFLAGS_FOR_TARGET)"; export CPPFLAGS
; \
6419 CXX
="$(CXX_FOR_TARGET)"; export CXX
; \
6420 CXXFLAGS
="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS
; \
6421 GCJ
="$(GCJ_FOR_TARGET)"; export GCJ
; \
6422 DLLTOOL
="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL
; \
6423 LD
="$(LD_FOR_TARGET)"; export LD
; \
6424 LDFLAGS
="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS
; \
6425 NM
="$(NM_FOR_TARGET)"; export NM
; \
6426 RANLIB
="$(RANLIB_FOR_TARGET)"; export RANLIB
; \
6427 WINDRES
="$(WINDRES_FOR_TARGET)"; export WINDRES
; \
6428 echo Configuring in
$(TARGET_SUBDIR
)/gperf
; \
6429 cd
"$(TARGET_SUBDIR)/gperf" || exit
1; \
6431 /* |
[A-Za-z
]:[\\/]*) \
6432 topdir
=$(srcdir) ;; \
6434 case
"$(TARGET_SUBDIR)" in \
6435 .
) topdir
="../$(srcdir)" ;; \
6436 *) topdir
="../../$(srcdir)" ;; \
6439 if
[ "$(srcdir)" = "." ] ; then \
6440 if
[ "$(TARGET_SUBDIR)" != "." ] ; then \
6441 if
$(SHELL
) $$s/symlink-tree
$${topdir}/gperf
"no-such-file" ; then \
6442 if
[ -f Makefile
]; then \
6443 if
$(MAKE
) distclean; then \
6457 srcdiroption
="--srcdir=."; \
6460 srcdiroption
="--srcdir=$${topdir}/gperf"; \
6461 libsrcdir
="$$s/gperf"; \
6463 rm -f no-such-file ||
: ; \
6464 CONFIG_SITE
=no-such-file
$(SHELL
) $${libsrcdir}/configure \
6465 $(TARGET_CONFIGARGS
) $${srcdiroption} \
6466 --with-target-subdir
="$(TARGET_SUBDIR)" \
6469 .PHONY
: all-target-gperf maybe-all-target-gperf
6470 maybe-all-target-gperf
:
6471 all-target-gperf
: configure-target-gperf
6472 @r
=`${PWD}`; export r
; \
6473 s
=`cd $(srcdir); ${PWD}`; export s
; \
6475 (cd
$(TARGET_SUBDIR
)/gperf
&& \
6476 $(MAKE
) $(TARGET_FLAGS_TO_PASS
) all)
6478 .PHONY
: check-target-gperf
6480 @r
=`${PWD}`; export r
; \
6481 s
=`cd $(srcdir); ${PWD}`; export s
; \
6483 (cd
$(TARGET_SUBDIR
)/gperf
&& \
6484 $(MAKE
) $(TARGET_FLAGS_TO_PASS
) check)
6487 .PHONY
: install-target-gperf maybe-install-target-gperf
6488 maybe-install-target-gperf
:
6489 install-target-gperf
: installdirs
6490 @r
=`${PWD}`; export r
; \
6491 s
=`cd $(srcdir); ${PWD}`; export s
; \
6493 (cd
$(TARGET_SUBDIR
)/gperf
&& \
6494 $(MAKE
) $(TARGET_FLAGS_TO_PASS
) install)
6497 .PHONY
: configure-target-examples maybe-configure-target-examples
6498 maybe-configure-target-examples
:
6500 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
6501 $(TARGET_SUBDIR
)/examples
/multilib.out
: multilib.out
6502 @
[ -d
$(TARGET_SUBDIR
)/examples
] || \
6503 mkdir
$(TARGET_SUBDIR
)/examples
; \
6504 rm -f
$(TARGET_SUBDIR
)/examples
/Makefile ||
: ; \
6505 cp multilib.out
$(TARGET_SUBDIR
)/examples
/multilib.out
6507 configure-target-examples
: $(TARGET_SUBDIR
)/examples
/multilib.out
6508 @
test ! -f
$(TARGET_SUBDIR
)/examples
/Makefile || exit
0; \
6509 [ -d
$(TARGET_SUBDIR
)/examples
] || \
6510 mkdir
$(TARGET_SUBDIR
)/examples
;\
6511 r
=`${PWD}`; export r
; \
6512 s
=`cd $(srcdir); ${PWD}`; export s
; \
6514 AR
="$(AR_FOR_TARGET)"; export AR
; \
6515 AS
="$(AS_FOR_TARGET)"; export AS
; \
6516 CC
="$(CC_FOR_TARGET)"; export CC
; \
6517 CFLAGS
="$(CFLAGS_FOR_TARGET)"; export CFLAGS
; \
6518 CPPFLAGS
="$(CFLAGS_FOR_TARGET)"; export CPPFLAGS
; \
6519 CXX
="$(CXX_FOR_TARGET)"; export CXX
; \
6520 CXXFLAGS
="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS
; \
6521 GCJ
="$(GCJ_FOR_TARGET)"; export GCJ
; \
6522 DLLTOOL
="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL
; \
6523 LD
="$(LD_FOR_TARGET)"; export LD
; \
6524 LDFLAGS
="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS
; \
6525 NM
="$(NM_FOR_TARGET)"; export NM
; \
6526 RANLIB
="$(RANLIB_FOR_TARGET)"; export RANLIB
; \
6527 WINDRES
="$(WINDRES_FOR_TARGET)"; export WINDRES
; \
6528 echo Configuring in
$(TARGET_SUBDIR
)/examples
; \
6529 cd
"$(TARGET_SUBDIR)/examples" || exit
1; \
6531 /* |
[A-Za-z
]:[\\/]*) \
6532 topdir
=$(srcdir) ;; \
6534 case
"$(TARGET_SUBDIR)" in \
6535 .
) topdir
="../$(srcdir)" ;; \
6536 *) topdir
="../../$(srcdir)" ;; \
6539 if
[ "$(srcdir)" = "." ] ; then \
6540 if
[ "$(TARGET_SUBDIR)" != "." ] ; then \
6541 if
$(SHELL
) $$s/symlink-tree
$${topdir}/examples
"no-such-file" ; then \
6542 if
[ -f Makefile
]; then \
6543 if
$(MAKE
) distclean; then \
6557 srcdiroption
="--srcdir=."; \
6560 srcdiroption
="--srcdir=$${topdir}/examples"; \
6561 libsrcdir
="$$s/examples"; \
6563 rm -f no-such-file ||
: ; \
6564 CONFIG_SITE
=no-such-file
$(SHELL
) $${libsrcdir}/configure \
6565 $(TARGET_CONFIGARGS
) $${srcdiroption} \
6566 --with-target-subdir
="$(TARGET_SUBDIR)" \
6569 .PHONY
: all-target-examples maybe-all-target-examples
6570 maybe-all-target-examples
:
6571 all-target-examples
: configure-target-examples
6572 @r
=`${PWD}`; export r
; \
6573 s
=`cd $(srcdir); ${PWD}`; export s
; \
6575 (cd
$(TARGET_SUBDIR
)/examples
&& \
6576 $(MAKE
) $(TARGET_FLAGS_TO_PASS
) all)
6578 # Dummy target for uncheckable module.
6579 .PHONY
: check-target-examples
6580 check-target-examples
:
6583 .PHONY
: install-target-examples maybe-install-target-examples
6584 maybe-install-target-examples
:
6585 # Dummy target for uninstallable.
6586 install-target-examples
:
6589 .PHONY
: configure-target-libffi maybe-configure-target-libffi
6590 maybe-configure-target-libffi
:
6592 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
6593 $(TARGET_SUBDIR
)/libffi
/multilib.out
: multilib.out
6594 @
[ -d
$(TARGET_SUBDIR
)/libffi
] || \
6595 mkdir
$(TARGET_SUBDIR
)/libffi
; \
6596 rm -f
$(TARGET_SUBDIR
)/libffi
/Makefile ||
: ; \
6597 cp multilib.out
$(TARGET_SUBDIR
)/libffi
/multilib.out
6599 configure-target-libffi
: $(TARGET_SUBDIR
)/libffi
/multilib.out
6600 @
test ! -f
$(TARGET_SUBDIR
)/libffi
/Makefile || exit
0; \
6601 [ -d
$(TARGET_SUBDIR
)/libffi
] || \
6602 mkdir
$(TARGET_SUBDIR
)/libffi
;\
6603 r
=`${PWD}`; export r
; \
6604 s
=`cd $(srcdir); ${PWD}`; export s
; \
6606 AR
="$(AR_FOR_TARGET)"; export AR
; \
6607 AS
="$(AS_FOR_TARGET)"; export AS
; \
6608 CC
="$(CC_FOR_TARGET)"; export CC
; \
6609 CFLAGS
="$(CFLAGS_FOR_TARGET)"; export CFLAGS
; \
6610 CPPFLAGS
="$(CFLAGS_FOR_TARGET)"; export CPPFLAGS
; \
6611 CXX
="$(CXX_FOR_TARGET)"; export CXX
; \
6612 CXXFLAGS
="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS
; \
6613 GCJ
="$(GCJ_FOR_TARGET)"; export GCJ
; \
6614 DLLTOOL
="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL
; \
6615 LD
="$(LD_FOR_TARGET)"; export LD
; \
6616 LDFLAGS
="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS
; \
6617 NM
="$(NM_FOR_TARGET)"; export NM
; \
6618 RANLIB
="$(RANLIB_FOR_TARGET)"; export RANLIB
; \
6619 WINDRES
="$(WINDRES_FOR_TARGET)"; export WINDRES
; \
6620 echo Configuring in
$(TARGET_SUBDIR
)/libffi
; \
6621 cd
"$(TARGET_SUBDIR)/libffi" || exit
1; \
6623 /* |
[A-Za-z
]:[\\/]*) \
6624 topdir
=$(srcdir) ;; \
6626 case
"$(TARGET_SUBDIR)" in \
6627 .
) topdir
="../$(srcdir)" ;; \
6628 *) topdir
="../../$(srcdir)" ;; \
6631 if
[ "$(srcdir)" = "." ] ; then \
6632 if
[ "$(TARGET_SUBDIR)" != "." ] ; then \
6633 if
$(SHELL
) $$s/symlink-tree
$${topdir}/libffi
"no-such-file" ; then \
6634 if
[ -f Makefile
]; then \
6635 if
$(MAKE
) distclean; then \
6649 srcdiroption
="--srcdir=."; \
6652 srcdiroption
="--srcdir=$${topdir}/libffi"; \
6653 libsrcdir
="$$s/libffi"; \
6655 rm -f no-such-file ||
: ; \
6656 CONFIG_SITE
=no-such-file
$(SHELL
) $${libsrcdir}/configure \
6657 $(TARGET_CONFIGARGS
) $${srcdiroption} \
6658 --with-target-subdir
="$(TARGET_SUBDIR)" \
6661 .PHONY
: all-target-libffi maybe-all-target-libffi
6662 maybe-all-target-libffi
:
6663 all-target-libffi
: configure-target-libffi
6664 @r
=`${PWD}`; export r
; \
6665 s
=`cd $(srcdir); ${PWD}`; export s
; \
6667 (cd
$(TARGET_SUBDIR
)/libffi
&& \
6668 $(MAKE
) $(TARGET_FLAGS_TO_PASS
) all)
6670 .PHONY
: check-target-libffi
6671 check-target-libffi
:
6672 @r
=`${PWD}`; export r
; \
6673 s
=`cd $(srcdir); ${PWD}`; export s
; \
6675 (cd
$(TARGET_SUBDIR
)/libffi
&& \
6676 $(MAKE
) $(TARGET_FLAGS_TO_PASS
) check)
6679 .PHONY
: install-target-libffi maybe-install-target-libffi
6680 maybe-install-target-libffi
:
6681 install-target-libffi
: installdirs
6682 @r
=`${PWD}`; export r
; \
6683 s
=`cd $(srcdir); ${PWD}`; export s
; \
6685 (cd
$(TARGET_SUBDIR
)/libffi
&& \
6686 $(MAKE
) $(TARGET_FLAGS_TO_PASS
) install)
6689 .PHONY
: configure-target-libjava maybe-configure-target-libjava
6690 maybe-configure-target-libjava
:
6692 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
6693 $(TARGET_SUBDIR
)/libjava
/multilib.out
: multilib.out
6694 @
[ -d
$(TARGET_SUBDIR
)/libjava
] || \
6695 mkdir
$(TARGET_SUBDIR
)/libjava
; \
6696 rm -f
$(TARGET_SUBDIR
)/libjava
/Makefile ||
: ; \
6697 cp multilib.out
$(TARGET_SUBDIR
)/libjava
/multilib.out
6699 configure-target-libjava
: $(TARGET_SUBDIR
)/libjava
/multilib.out
6700 @
test ! -f
$(TARGET_SUBDIR
)/libjava
/Makefile || exit
0; \
6701 [ -d
$(TARGET_SUBDIR
)/libjava
] || \
6702 mkdir
$(TARGET_SUBDIR
)/libjava
;\
6703 r
=`${PWD}`; export r
; \
6704 s
=`cd $(srcdir); ${PWD}`; export s
; \
6706 AR
="$(AR_FOR_TARGET)"; export AR
; \
6707 AS
="$(AS_FOR_TARGET)"; export AS
; \
6708 CC
="$(CC_FOR_TARGET)"; export CC
; \
6709 CFLAGS
="$(CFLAGS_FOR_TARGET)"; export CFLAGS
; \
6710 CPPFLAGS
="$(CFLAGS_FOR_TARGET)"; export CPPFLAGS
; \
6711 CXX_FOR_TARGET
="$(RAW_CXX_FOR_TARGET)"; export CXX_FOR_TARGET
; \
6712 CXX
="$(RAW_CXX_FOR_TARGET)"; export CXX
; \
6713 CXXFLAGS
="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS
; \
6714 GCJ
="$(GCJ_FOR_TARGET)"; export GCJ
; \
6715 DLLTOOL
="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL
; \
6716 LD
="$(LD_FOR_TARGET)"; export LD
; \
6717 LDFLAGS
="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS
; \
6718 NM
="$(NM_FOR_TARGET)"; export NM
; \
6719 RANLIB
="$(RANLIB_FOR_TARGET)"; export RANLIB
; \
6720 WINDRES
="$(WINDRES_FOR_TARGET)"; export WINDRES
; \
6721 echo Configuring in
$(TARGET_SUBDIR
)/libjava
; \
6722 cd
"$(TARGET_SUBDIR)/libjava" || exit
1; \
6724 /* |
[A-Za-z
]:[\\/]*) \
6725 topdir
=$(srcdir) ;; \
6727 case
"$(TARGET_SUBDIR)" in \
6728 .
) topdir
="../$(srcdir)" ;; \
6729 *) topdir
="../../$(srcdir)" ;; \
6732 if
[ "$(srcdir)" = "." ] ; then \
6733 if
[ "$(TARGET_SUBDIR)" != "." ] ; then \
6734 if
$(SHELL
) $$s/symlink-tree
$${topdir}/libjava
"no-such-file" ; then \
6735 if
[ -f Makefile
]; then \
6736 if
$(MAKE
) distclean; then \
6750 srcdiroption
="--srcdir=."; \
6753 srcdiroption
="--srcdir=$${topdir}/libjava"; \
6754 libsrcdir
="$$s/libjava"; \
6756 rm -f no-such-file ||
: ; \
6757 CONFIG_SITE
=no-such-file
$(SHELL
) $${libsrcdir}/configure \
6758 $(TARGET_CONFIGARGS
) $${srcdiroption} \
6759 --with-target-subdir
="$(TARGET_SUBDIR)" \
6762 .PHONY
: all-target-libjava maybe-all-target-libjava
6763 maybe-all-target-libjava
:
6764 all-target-libjava
: configure-target-libjava
6765 @r
=`${PWD}`; export r
; \
6766 s
=`cd $(srcdir); ${PWD}`; export s
; \
6768 (cd
$(TARGET_SUBDIR
)/libjava
&& \
6769 $(MAKE
) $(TARGET_FLAGS_TO_PASS
) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' all)
6771 .PHONY
: check-target-libjava
6772 check-target-libjava
:
6773 @r
=`${PWD}`; export r
; \
6774 s
=`cd $(srcdir); ${PWD}`; export s
; \
6776 (cd
$(TARGET_SUBDIR
)/libjava
&& \
6777 $(MAKE
) $(TARGET_FLAGS_TO_PASS
) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' check)
6780 .PHONY
: install-target-libjava maybe-install-target-libjava
6781 maybe-install-target-libjava
:
6782 install-target-libjava
: installdirs
6783 @r
=`${PWD}`; export r
; \
6784 s
=`cd $(srcdir); ${PWD}`; export s
; \
6786 (cd
$(TARGET_SUBDIR
)/libjava
&& \
6787 $(MAKE
) $(TARGET_FLAGS_TO_PASS
) install)
6790 .PHONY
: configure-target-zlib maybe-configure-target-zlib
6791 maybe-configure-target-zlib
:
6793 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
6794 $(TARGET_SUBDIR
)/zlib
/multilib.out
: multilib.out
6795 @
[ -d
$(TARGET_SUBDIR
)/zlib
] || \
6796 mkdir
$(TARGET_SUBDIR
)/zlib
; \
6797 rm -f
$(TARGET_SUBDIR
)/zlib
/Makefile ||
: ; \
6798 cp multilib.out
$(TARGET_SUBDIR
)/zlib
/multilib.out
6800 configure-target-zlib
: $(TARGET_SUBDIR
)/zlib
/multilib.out
6801 @
test ! -f
$(TARGET_SUBDIR
)/zlib
/Makefile || exit
0; \
6802 [ -d
$(TARGET_SUBDIR
)/zlib
] || \
6803 mkdir
$(TARGET_SUBDIR
)/zlib
;\
6804 r
=`${PWD}`; export r
; \
6805 s
=`cd $(srcdir); ${PWD}`; export s
; \
6807 AR
="$(AR_FOR_TARGET)"; export AR
; \
6808 AS
="$(AS_FOR_TARGET)"; export AS
; \
6809 CC
="$(CC_FOR_TARGET)"; export CC
; \
6810 CFLAGS
="$(CFLAGS_FOR_TARGET)"; export CFLAGS
; \
6811 CPPFLAGS
="$(CFLAGS_FOR_TARGET)"; export CPPFLAGS
; \
6812 CXX
="$(CXX_FOR_TARGET)"; export CXX
; \
6813 CXXFLAGS
="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS
; \
6814 GCJ
="$(GCJ_FOR_TARGET)"; export GCJ
; \
6815 DLLTOOL
="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL
; \
6816 LD
="$(LD_FOR_TARGET)"; export LD
; \
6817 LDFLAGS
="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS
; \
6818 NM
="$(NM_FOR_TARGET)"; export NM
; \
6819 RANLIB
="$(RANLIB_FOR_TARGET)"; export RANLIB
; \
6820 WINDRES
="$(WINDRES_FOR_TARGET)"; export WINDRES
; \
6821 echo Configuring in
$(TARGET_SUBDIR
)/zlib
; \
6822 cd
"$(TARGET_SUBDIR)/zlib" || exit
1; \
6824 /* |
[A-Za-z
]:[\\/]*) \
6825 topdir
=$(srcdir) ;; \
6827 case
"$(TARGET_SUBDIR)" in \
6828 .
) topdir
="../$(srcdir)" ;; \
6829 *) topdir
="../../$(srcdir)" ;; \
6832 if
[ "$(srcdir)" = "." ] ; then \
6833 if
[ "$(TARGET_SUBDIR)" != "." ] ; then \
6834 if
$(SHELL
) $$s/symlink-tree
$${topdir}/zlib
"no-such-file" ; then \
6835 if
[ -f Makefile
]; then \
6836 if
$(MAKE
) distclean; then \
6850 srcdiroption
="--srcdir=."; \
6853 srcdiroption
="--srcdir=$${topdir}/zlib"; \
6854 libsrcdir
="$$s/zlib"; \
6856 rm -f no-such-file ||
: ; \
6857 CONFIG_SITE
=no-such-file
$(SHELL
) $${libsrcdir}/configure \
6858 $(TARGET_CONFIGARGS
) $${srcdiroption} \
6859 --with-target-subdir
="$(TARGET_SUBDIR)" \
6862 .PHONY
: all-target-zlib maybe-all-target-zlib
6863 maybe-all-target-zlib
:
6864 all-target-zlib
: configure-target-zlib
6865 @r
=`${PWD}`; export r
; \
6866 s
=`cd $(srcdir); ${PWD}`; export s
; \
6868 (cd
$(TARGET_SUBDIR
)/zlib
&& \
6869 $(MAKE
) $(TARGET_FLAGS_TO_PASS
) all)
6871 .PHONY
: check-target-zlib
6873 @r
=`${PWD}`; export r
; \
6874 s
=`cd $(srcdir); ${PWD}`; export s
; \
6876 (cd
$(TARGET_SUBDIR
)/zlib
&& \
6877 $(MAKE
) $(TARGET_FLAGS_TO_PASS
) check)
6880 .PHONY
: install-target-zlib maybe-install-target-zlib
6881 maybe-install-target-zlib
:
6882 install-target-zlib
: installdirs
6883 @r
=`${PWD}`; export r
; \
6884 s
=`cd $(srcdir); ${PWD}`; export s
; \
6886 (cd
$(TARGET_SUBDIR
)/zlib
&& \
6887 $(MAKE
) $(TARGET_FLAGS_TO_PASS
) install)
6890 .PHONY
: configure-target-boehm-gc maybe-configure-target-boehm-gc
6891 maybe-configure-target-boehm-gc
:
6893 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
6894 $(TARGET_SUBDIR
)/boehm-gc
/multilib.out
: multilib.out
6895 @
[ -d
$(TARGET_SUBDIR
)/boehm-gc
] || \
6896 mkdir
$(TARGET_SUBDIR
)/boehm-gc
; \
6897 rm -f
$(TARGET_SUBDIR
)/boehm-gc
/Makefile ||
: ; \
6898 cp multilib.out
$(TARGET_SUBDIR
)/boehm-gc
/multilib.out
6900 configure-target-boehm-gc
: $(TARGET_SUBDIR
)/boehm-gc
/multilib.out
6901 @
test ! -f
$(TARGET_SUBDIR
)/boehm-gc
/Makefile || exit
0; \
6902 [ -d
$(TARGET_SUBDIR
)/boehm-gc
] || \
6903 mkdir
$(TARGET_SUBDIR
)/boehm-gc
;\
6904 r
=`${PWD}`; export r
; \
6905 s
=`cd $(srcdir); ${PWD}`; export s
; \
6907 AR
="$(AR_FOR_TARGET)"; export AR
; \
6908 AS
="$(AS_FOR_TARGET)"; export AS
; \
6909 CC
="$(CC_FOR_TARGET)"; export CC
; \
6910 CFLAGS
="$(CFLAGS_FOR_TARGET)"; export CFLAGS
; \
6911 CPPFLAGS
="$(CFLAGS_FOR_TARGET)"; export CPPFLAGS
; \
6912 CXX
="$(CXX_FOR_TARGET)"; export CXX
; \
6913 CXXFLAGS
="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS
; \
6914 GCJ
="$(GCJ_FOR_TARGET)"; export GCJ
; \
6915 DLLTOOL
="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL
; \
6916 LD
="$(LD_FOR_TARGET)"; export LD
; \
6917 LDFLAGS
="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS
; \
6918 NM
="$(NM_FOR_TARGET)"; export NM
; \
6919 RANLIB
="$(RANLIB_FOR_TARGET)"; export RANLIB
; \
6920 WINDRES
="$(WINDRES_FOR_TARGET)"; export WINDRES
; \
6921 echo Configuring in
$(TARGET_SUBDIR
)/boehm-gc
; \
6922 cd
"$(TARGET_SUBDIR)/boehm-gc" || exit
1; \
6924 /* |
[A-Za-z
]:[\\/]*) \
6925 topdir
=$(srcdir) ;; \
6927 case
"$(TARGET_SUBDIR)" in \
6928 .
) topdir
="../$(srcdir)" ;; \
6929 *) topdir
="../../$(srcdir)" ;; \
6932 if
[ "$(srcdir)" = "." ] ; then \
6933 if
[ "$(TARGET_SUBDIR)" != "." ] ; then \
6934 if
$(SHELL
) $$s/symlink-tree
$${topdir}/boehm-gc
"no-such-file" ; then \
6935 if
[ -f Makefile
]; then \
6936 if
$(MAKE
) distclean; then \
6950 srcdiroption
="--srcdir=."; \
6953 srcdiroption
="--srcdir=$${topdir}/boehm-gc"; \
6954 libsrcdir
="$$s/boehm-gc"; \
6956 rm -f no-such-file ||
: ; \
6957 CONFIG_SITE
=no-such-file
$(SHELL
) $${libsrcdir}/configure \
6958 $(TARGET_CONFIGARGS
) $${srcdiroption} \
6959 --with-target-subdir
="$(TARGET_SUBDIR)" \
6962 .PHONY
: all-target-boehm-gc maybe-all-target-boehm-gc
6963 maybe-all-target-boehm-gc
:
6964 all-target-boehm-gc
: configure-target-boehm-gc
6965 @r
=`${PWD}`; export r
; \
6966 s
=`cd $(srcdir); ${PWD}`; export s
; \
6968 (cd
$(TARGET_SUBDIR
)/boehm-gc
&& \
6969 $(MAKE
) $(TARGET_FLAGS_TO_PASS
) all)
6971 .PHONY
: check-target-boehm-gc
6972 check-target-boehm-gc
:
6973 @r
=`${PWD}`; export r
; \
6974 s
=`cd $(srcdir); ${PWD}`; export s
; \
6976 (cd
$(TARGET_SUBDIR
)/boehm-gc
&& \
6977 $(MAKE
) $(TARGET_FLAGS_TO_PASS
) check)
6980 .PHONY
: install-target-boehm-gc maybe-install-target-boehm-gc
6981 maybe-install-target-boehm-gc
:
6982 install-target-boehm-gc
: installdirs
6983 @r
=`${PWD}`; export r
; \
6984 s
=`cd $(srcdir); ${PWD}`; export s
; \
6986 (cd
$(TARGET_SUBDIR
)/boehm-gc
&& \
6987 $(MAKE
) $(TARGET_FLAGS_TO_PASS
) install)
6990 .PHONY
: configure-target-qthreads maybe-configure-target-qthreads
6991 maybe-configure-target-qthreads
:
6993 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
6994 $(TARGET_SUBDIR
)/qthreads
/multilib.out
: multilib.out
6995 @
[ -d
$(TARGET_SUBDIR
)/qthreads
] || \
6996 mkdir
$(TARGET_SUBDIR
)/qthreads
; \
6997 rm -f
$(TARGET_SUBDIR
)/qthreads
/Makefile ||
: ; \
6998 cp multilib.out
$(TARGET_SUBDIR
)/qthreads
/multilib.out
7000 configure-target-qthreads
: $(TARGET_SUBDIR
)/qthreads
/multilib.out
7001 @
test ! -f
$(TARGET_SUBDIR
)/qthreads
/Makefile || exit
0; \
7002 [ -d
$(TARGET_SUBDIR
)/qthreads
] || \
7003 mkdir
$(TARGET_SUBDIR
)/qthreads
;\
7004 r
=`${PWD}`; export r
; \
7005 s
=`cd $(srcdir); ${PWD}`; export s
; \
7007 AR
="$(AR_FOR_TARGET)"; export AR
; \
7008 AS
="$(AS_FOR_TARGET)"; export AS
; \
7009 CC
="$(CC_FOR_TARGET)"; export CC
; \
7010 CFLAGS
="$(CFLAGS_FOR_TARGET)"; export CFLAGS
; \
7011 CPPFLAGS
="$(CFLAGS_FOR_TARGET)"; export CPPFLAGS
; \
7012 CXX
="$(CXX_FOR_TARGET)"; export CXX
; \
7013 CXXFLAGS
="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS
; \
7014 GCJ
="$(GCJ_FOR_TARGET)"; export GCJ
; \
7015 DLLTOOL
="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL
; \
7016 LD
="$(LD_FOR_TARGET)"; export LD
; \
7017 LDFLAGS
="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS
; \
7018 NM
="$(NM_FOR_TARGET)"; export NM
; \
7019 RANLIB
="$(RANLIB_FOR_TARGET)"; export RANLIB
; \
7020 WINDRES
="$(WINDRES_FOR_TARGET)"; export WINDRES
; \
7021 echo Configuring in
$(TARGET_SUBDIR
)/qthreads
; \
7022 cd
"$(TARGET_SUBDIR)/qthreads" || exit
1; \
7024 /* |
[A-Za-z
]:[\\/]*) \
7025 topdir
=$(srcdir) ;; \
7027 case
"$(TARGET_SUBDIR)" in \
7028 .
) topdir
="../$(srcdir)" ;; \
7029 *) topdir
="../../$(srcdir)" ;; \
7032 if
[ "$(srcdir)" = "." ] ; then \
7033 if
[ "$(TARGET_SUBDIR)" != "." ] ; then \
7034 if
$(SHELL
) $$s/symlink-tree
$${topdir}/qthreads
"no-such-file" ; then \
7035 if
[ -f Makefile
]; then \
7036 if
$(MAKE
) distclean; then \
7050 srcdiroption
="--srcdir=."; \
7053 srcdiroption
="--srcdir=$${topdir}/qthreads"; \
7054 libsrcdir
="$$s/qthreads"; \
7056 rm -f no-such-file ||
: ; \
7057 CONFIG_SITE
=no-such-file
$(SHELL
) $${libsrcdir}/configure \
7058 $(TARGET_CONFIGARGS
) $${srcdiroption} \
7059 --with-target-subdir
="$(TARGET_SUBDIR)" \
7062 .PHONY
: all-target-qthreads maybe-all-target-qthreads
7063 maybe-all-target-qthreads
:
7064 all-target-qthreads
: configure-target-qthreads
7065 @r
=`${PWD}`; export r
; \
7066 s
=`cd $(srcdir); ${PWD}`; export s
; \
7068 (cd
$(TARGET_SUBDIR
)/qthreads
&& \
7069 $(MAKE
) $(TARGET_FLAGS_TO_PASS
) all)
7071 .PHONY
: check-target-qthreads
7072 check-target-qthreads
:
7073 @r
=`${PWD}`; export r
; \
7074 s
=`cd $(srcdir); ${PWD}`; export s
; \
7076 (cd
$(TARGET_SUBDIR
)/qthreads
&& \
7077 $(MAKE
) $(TARGET_FLAGS_TO_PASS
) check)
7080 .PHONY
: install-target-qthreads maybe-install-target-qthreads
7081 maybe-install-target-qthreads
:
7082 install-target-qthreads
: installdirs
7083 @r
=`${PWD}`; export r
; \
7084 s
=`cd $(srcdir); ${PWD}`; export s
; \
7086 (cd
$(TARGET_SUBDIR
)/qthreads
&& \
7087 $(MAKE
) $(TARGET_FLAGS_TO_PASS
) install)
7090 .PHONY
: configure-target-rda maybe-configure-target-rda
7091 maybe-configure-target-rda
:
7093 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
7094 $(TARGET_SUBDIR
)/rda
/multilib.out
: multilib.out
7095 @
[ -d
$(TARGET_SUBDIR
)/rda
] || \
7096 mkdir
$(TARGET_SUBDIR
)/rda
; \
7097 rm -f
$(TARGET_SUBDIR
)/rda
/Makefile ||
: ; \
7098 cp multilib.out
$(TARGET_SUBDIR
)/rda
/multilib.out
7100 configure-target-rda
: $(TARGET_SUBDIR
)/rda
/multilib.out
7101 @
test ! -f
$(TARGET_SUBDIR
)/rda
/Makefile || exit
0; \
7102 [ -d
$(TARGET_SUBDIR
)/rda
] || \
7103 mkdir
$(TARGET_SUBDIR
)/rda
;\
7104 r
=`${PWD}`; export r
; \
7105 s
=`cd $(srcdir); ${PWD}`; export s
; \
7107 AR
="$(AR_FOR_TARGET)"; export AR
; \
7108 AS
="$(AS_FOR_TARGET)"; export AS
; \
7109 CC
="$(CC_FOR_TARGET)"; export CC
; \
7110 CFLAGS
="$(CFLAGS_FOR_TARGET)"; export CFLAGS
; \
7111 CPPFLAGS
="$(CFLAGS_FOR_TARGET)"; export CPPFLAGS
; \
7112 CXX
="$(CXX_FOR_TARGET)"; export CXX
; \
7113 CXXFLAGS
="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS
; \
7114 GCJ
="$(GCJ_FOR_TARGET)"; export GCJ
; \
7115 DLLTOOL
="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL
; \
7116 LD
="$(LD_FOR_TARGET)"; export LD
; \
7117 LDFLAGS
="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS
; \
7118 NM
="$(NM_FOR_TARGET)"; export NM
; \
7119 RANLIB
="$(RANLIB_FOR_TARGET)"; export RANLIB
; \
7120 WINDRES
="$(WINDRES_FOR_TARGET)"; export WINDRES
; \
7121 echo Configuring in
$(TARGET_SUBDIR
)/rda
; \
7122 cd
"$(TARGET_SUBDIR)/rda" || exit
1; \
7124 /* |
[A-Za-z
]:[\\/]*) \
7125 topdir
=$(srcdir) ;; \
7127 case
"$(TARGET_SUBDIR)" in \
7128 .
) topdir
="../$(srcdir)" ;; \
7129 *) topdir
="../../$(srcdir)" ;; \
7132 if
[ "$(srcdir)" = "." ] ; then \
7133 if
[ "$(TARGET_SUBDIR)" != "." ] ; then \
7134 if
$(SHELL
) $$s/symlink-tree
$${topdir}/rda
"no-such-file" ; then \
7135 if
[ -f Makefile
]; then \
7136 if
$(MAKE
) distclean; then \
7150 srcdiroption
="--srcdir=."; \
7153 srcdiroption
="--srcdir=$${topdir}/rda"; \
7154 libsrcdir
="$$s/rda"; \
7156 rm -f no-such-file ||
: ; \
7157 CONFIG_SITE
=no-such-file
$(SHELL
) $${libsrcdir}/configure \
7158 $(TARGET_CONFIGARGS
) $${srcdiroption} \
7159 --with-target-subdir
="$(TARGET_SUBDIR)" \
7162 .PHONY
: all-target-rda maybe-all-target-rda
7163 maybe-all-target-rda
:
7164 all-target-rda
: configure-target-rda
7165 @r
=`${PWD}`; export r
; \
7166 s
=`cd $(srcdir); ${PWD}`; export s
; \
7168 (cd
$(TARGET_SUBDIR
)/rda
&& \
7169 $(MAKE
) $(TARGET_FLAGS_TO_PASS
) all)
7171 .PHONY
: check-target-rda
7173 @r
=`${PWD}`; export r
; \
7174 s
=`cd $(srcdir); ${PWD}`; export s
; \
7176 (cd
$(TARGET_SUBDIR
)/rda
&& \
7177 $(MAKE
) $(TARGET_FLAGS_TO_PASS
) check)
7180 .PHONY
: install-target-rda maybe-install-target-rda
7181 maybe-install-target-rda
:
7182 install-target-rda
: installdirs
7183 @r
=`${PWD}`; export r
; \
7184 s
=`cd $(srcdir); ${PWD}`; export s
; \
7186 (cd
$(TARGET_SUBDIR
)/rda
&& \
7187 $(MAKE
) $(TARGET_FLAGS_TO_PASS
) install)
7195 # Unfortunately, while gcc _should_ be a host module,
7196 # libgcc is a target module, and gen* programs are
7197 # build modules. So GCC is a sort of hybrid.
7199 # gcc is the only module which uses GCC_FLAGS_TO_PASS.
7200 .PHONY
: configure-gcc maybe-configure-gcc
7201 maybe-configure-gcc
:
7203 @
test ! -f gcc
/Makefile || exit
0; \
7204 [ -d gcc
] || mkdir gcc
; \
7205 r
=`${PWD}`; export r
; \
7206 s
=`cd $(srcdir); ${PWD}`; export s
; \
7207 CC
="$(CC)"; export CC
; \
7208 CFLAGS
="$(CFLAGS)"; export CFLAGS
; \
7209 CXX
="$(CXX)"; export CXX
; \
7210 CXXFLAGS
="$(CXXFLAGS)"; export CXXFLAGS
; \
7211 TOPLEVEL_CONFIGURE_ARGUMENTS
="$(TOPLEVEL_CONFIGURE_ARGUMENTS)"; export TOPLEVEL_CONFIGURE_ARGUMENTS
; \
7212 if
[ z
$(build_canonical
) != z
$(host_canoncial
) ] ; then \
7213 AR
="$(AR)"; export AR
; \
7214 AS
="$(AS)"; export AS
; \
7215 CC_FOR_BUILD
="$(CC_FOR_BUILD)"; export CC_FOR_BUILD
; \
7216 DLLTOOL
="$(DLLTOOL)"; export DLLTOOL
; \
7217 LD
="$(LD)"; export LD
; \
7218 NM
="$(NM)"; export NM
; \
7219 RANLIB
="$(RANLIB)"; export RANLIB
; \
7220 WINDRES
="$(WINDRES)"; export WINDRES
; \
7221 OBJCOPY
="$(OBJCOPY)"; export OBJCOPY
; \
7222 OBJDUMP
="$(OBJDUMP)"; export OBJDUMP
; \
7224 echo Configuring in gcc
; \
7228 srcdiroption
="--srcdir=."; \
7230 /* |
[A-Za-z
]:[\\/]*) \
7231 srcdiroption
="--srcdir=$(srcdir)/gcc"; \
7232 libsrcdir
="$$s/gcc";; \
7234 srcdiroption
="--srcdir=../$(srcdir)/gcc"; \
7235 libsrcdir
="$$s/gcc";; \
7237 $(SHELL
) $${libsrcdir}/configure \
7238 $(HOST_CONFIGARGS
) $${srcdiroption} \
7241 # Don't 'make all' in gcc if it's already been made by 'bootstrap'; that
7242 # causes trouble. This wart will be fixed eventually by moving
7243 # the bootstrap behavior to this file.
7244 .PHONY
: all-gcc maybe-all-gcc
7246 all-gcc
: configure-gcc
7247 @if
[ -f gcc
/stage_last
] ; then \
7248 r
=`${PWD}`; export r
; \
7249 s
=`cd $(srcdir); ${PWD}`; export s
; \
7251 (cd gcc
&& $(MAKE
) $(GCC_FLAGS_TO_PASS
) quickstrap
); \
7253 r
=`${PWD}`; export r
; \
7254 s
=`cd $(srcdir); ${PWD}`; export s
; \
7256 (cd gcc
&& $(MAKE
) $(GCC_FLAGS_TO_PASS
) all); \
7259 # Building GCC uses some tools for rebuilding "source" files
7260 # like texinfo, bison/byacc, etc. So we must depend on those.
7262 # While building GCC, it may be necessary to run various target
7263 # programs like the assembler, linker, etc. So we depend on
7266 # In theory, on an SMP all those dependencies can be resolved
7269 GCC_STRAP_TARGETS
= bootstrap bootstrap-lean bootstrap2 bootstrap2-lean bootstrap3 bootstrap3-lean bootstrap4 bootstrap4-lean bubblestrap quickstrap cleanstrap restrap
7270 .PHONY
: $(GCC_STRAP_TARGETS
)
7271 $(GCC_STRAP_TARGETS
): all-bootstrap configure-gcc
7272 @r
=`${PWD}`; export r
; \
7273 s
=`cd $(srcdir); ${PWD}`; export s
; \
7275 echo
"Bootstrapping the compiler"; \
7276 cd gcc
&& $(MAKE
) $(GCC_FLAGS_TO_PASS
) $@
7277 @r
=`${PWD}`; export r
; \
7278 s
=`cd $(srcdir); ${PWD}`; export s
; \
7280 *bootstrap4-lean
) \
7281 msg
="Comparing stage3 and stage4 of the compiler"; \
7282 compare
=compare3-lean
;; \
7284 msg
="Comparing stage3 and stage4 of the compiler"; \
7285 compare
=compare3
;; \
7287 msg
="Comparing stage2 and stage3 of the compiler"; \
7288 compare
=compare-lean
;; \
7290 msg
="Comparing stage2 and stage3 of the compiler"; \
7291 compare
=compare
;; \
7295 cd gcc
&& $(MAKE
) $(GCC_FLAGS_TO_PASS
) $$compare
7296 @r
=`${PWD}`; export r
; \
7297 s
=`cd $(srcdir); ${PWD}` ; export s
; \
7299 echo
"Building runtime libraries"; \
7300 $(MAKE
) $(BASE_FLAGS_TO_PASS
) $(RECURSE_FLAGS
) all
7303 cross
: all-texinfo all-bison all-byacc all-binutils all-gas all-ld
7304 @r
=`${PWD}`; export r
; \
7305 s
=`cd $(srcdir); ${PWD}`; export s
; \
7307 echo
"Building the C and C++ compiler"; \
7308 cd gcc
&& $(MAKE
) $(GCC_FLAGS_TO_PASS
) LANGUAGES
="c c++"
7309 @r
=`${PWD}`; export r
; \
7310 s
=`cd $(srcdir); ${PWD}` ; export s
; \
7312 echo
"Building runtime libraries"; \
7313 $(MAKE
) $(BASE_FLAGS_TO_PASS
) $(RECURSE_FLAGS
) \
7314 LANGUAGES
="c c++" all
7318 @if
[ -f .
/gcc
/Makefile
] ; then \
7319 r
=`${PWD}`; export r
; \
7320 s
=`cd $(srcdir); ${PWD}`; export s
; \
7322 (cd gcc
&& $(MAKE
) $(GCC_FLAGS_TO_PASS
) check); \
7327 .PHONY
: check-gcc-c
++
7329 @if
[ -f .
/gcc
/Makefile
] ; then \
7330 r
=`${PWD}`; export r
; \
7331 s
=`cd $(srcdir); ${PWD}`; export s
; \
7333 (cd gcc
&& $(MAKE
) $(GCC_FLAGS_TO_PASS
) check-c
++); \
7340 $(MAKE
) check-target-libstdc
++-v3 check-gcc-c
++ NOTPARALLEL
=parallel-ok
7342 .PHONY
: install-gcc maybe-install-gcc
7345 @if
[ -f .
/gcc
/Makefile
] ; then \
7346 r
=`${PWD}`; export r
; \
7347 s
=`cd $(srcdir); ${PWD}`; export s
; \
7349 (cd gcc
&& $(MAKE
) $(GCC_FLAGS_TO_PASS
) install); \
7354 # Install the gcc headers files, but not the fixed include files,
7355 # which Cygnus is not allowed to distribute. This rule is very
7356 # dependent on the workings of the gcc Makefile.in.
7357 .PHONY
: gcc-no-fixedincludes
7358 gcc-no-fixedincludes
:
7359 @if
[ -f .
/gcc
/Makefile
]; then \
7360 rm -rf gcc
/tmp-include
; \
7361 mv gcc
/include gcc
/tmp-include
2>/dev
/null
; \
7362 mkdir gcc
/include; \
7363 cp
$(srcdir)/gcc
/gsyslimits.h gcc
/include/syslimits.h
; \
7364 touch gcc
/stmp-fixinc gcc
/include/fixed
; \
7365 rm -f gcc
/stmp-headers gcc
/stmp-int-hdrs
; \
7366 r
=`${PWD}`; export r
; \
7367 s
=`cd $(srcdir); ${PWD}` ; export s
; \
7370 $(MAKE
) $(GCC_FLAGS_TO_PASS
) install); \
7371 rm -rf gcc
/include; \
7372 mv gcc
/tmp-include gcc
/include 2>/dev
/null
; \
7375 # --------------------------------------
7376 # Dependencies between different modules
7377 # --------------------------------------
7379 # There are two types of dependencies here: 'hard' dependencies, where one
7380 # module simply won't build without the other; and 'soft' dependencies, where
7381 # if the depended-on module is missing, the depending module will do without
7382 # or find a substitute somewhere (perhaps installed). Soft dependencies
7383 # are specified by depending on a 'maybe-' target. If you're not sure,
7384 # it's safer to use a soft dependency.
7386 # Host modules specific to gcc.
7387 # GCC needs to identify certain tools.
7388 configure-gcc
: maybe-configure-binutils maybe-configure-gas maybe-configure-ld maybe-configure-bison maybe-configure-flex
7389 all-gcc
: maybe-all-libiberty maybe-all-bison maybe-all-byacc maybe-all-binutils maybe-all-gas maybe-all-ld maybe-all-zlib
7390 # This is a slightly kludgy method of getting dependencies on
7391 # all-build-libiberty correct; it would be better to build it every time.
7392 all-gcc
: maybe-all-build-libiberty
7393 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
7395 # Host modules specific to gdb.
7396 # GDB needs to know that the simulator is being built.
7397 configure-gdb
: maybe-configure-tcl maybe-configure-tk maybe-configure-sim
7399 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
)
7400 install-gdb
: maybe-install-tcl maybe-install-tk maybe-install-itcl maybe-install-tix maybe-install-libgui
7401 configure-libgui
: maybe-configure-tcl maybe-configure-tk
7402 all-libgui
: maybe-all-tcl maybe-all-tk maybe-all-itcl
7404 # Host modules specific to binutils.
7405 configure-bfd
: configure-libiberty
7406 all-bfd
: maybe-all-libiberty maybe-all-intl
7407 all-binutils
: maybe-all-libiberty maybe-all-opcodes maybe-all-bfd maybe-all-flex maybe-all-bison maybe-all-byacc maybe-all-intl
7408 # We put install-opcodes before install-binutils because the installed
7409 # binutils might be on PATH, and they might need the shared opcodes
7411 install-binutils
: maybe-install-opcodes
7412 all-gas
: maybe-all-libiberty maybe-all-opcodes maybe-all-bfd maybe-all-intl
7413 all-gprof
: maybe-all-libiberty maybe-all-bfd maybe-all-opcodes maybe-all-intl
7414 all-ld
: maybe-all-libiberty maybe-all-bfd maybe-all-opcodes maybe-all-bison maybe-all-byacc maybe-all-flex maybe-all-intl
7415 all-opcodes
: maybe-all-bfd maybe-all-libiberty
7417 # Other host modules in the 'src' repository.
7418 all-dejagnu
: maybe-all-tcl maybe-all-expect maybe-all-tk
7419 configure-expect
: maybe-configure-tcl maybe-configure-tk
7420 all-expect
: maybe-all-tcl maybe-all-tk
7421 configure-itcl
: maybe-configure-tcl maybe-configure-tk
7422 all-itcl
: maybe-all-tcl maybe-all-tk
7423 # We put install-tcl before install-itcl because itcl wants to run a
7424 # program on installation which uses the Tcl libraries.
7425 install-itcl
: maybe-install-tcl
7426 all-sid
: maybe-all-libiberty maybe-all-bfd maybe-all-opcodes maybe-all-tcl maybe-all-tk
7427 install-sid
: maybe-install-tcl maybe-install-tk
7428 all-sim
: maybe-all-libiberty maybe-all-bfd maybe-all-opcodes maybe-all-readline maybe-configure-gdb
7429 configure-tk
: maybe-configure-tcl
7430 all-tk
: maybe-all-tcl
7431 configure-tix
: maybe-configure-tcl maybe-configure-tk
7432 all-tix
: maybe-all-tcl maybe-all-tk
7433 all-texinfo
: maybe-all-libiberty
7435 # Other host modules. Warning, these are not well tested.
7436 all-autoconf
: maybe-all-m4 maybe-all-texinfo
7437 all-automake
: maybe-all-m4 maybe-all-texinfo
7438 all-bison
: maybe-all-texinfo
7439 all-diff
: maybe-all-libiberty
7440 all-fastjar
: maybe-all-zlib maybe-all-libiberty
7441 all-fileutils
: maybe-all-libiberty
7442 all-flex
: maybe-all-libiberty maybe-all-bison maybe-all-byacc
7443 all-gzip
: maybe-all-libiberty
7444 all-hello
: maybe-all-libiberty
7445 all-m4
: maybe-all-libiberty maybe-all-texinfo
7446 all-make
: maybe-all-libiberty
7447 all-patch
: maybe-all-libiberty
7448 all-prms
: maybe-all-libiberty
7449 all-recode
: maybe-all-libiberty
7450 all-sed
: maybe-all-libiberty
7451 all-send-pr
: maybe-all-prms
7452 all-tar
: maybe-all-libiberty
7453 all-uudecode
: maybe-all-libiberty
7455 ALL_GCC
= maybe-all-gcc
7456 ALL_GCC_C
= $(ALL_GCC
) maybe-all-target-newlib maybe-all-target-libgloss
7457 ALL_GCC_CXX
= $(ALL_GCC_C
) maybe-all-target-libstdc
++-v3
7459 # Target modules specific to gcc.
7460 configure-target-boehm-gc
: $(ALL_GCC_C
) maybe-configure-target-qthreads
7461 configure-target-fastjar
: maybe-configure-target-zlib
7462 all-target-fastjar
: maybe-all-target-zlib maybe-all-target-libiberty
7463 configure-target-libf2c
: $(ALL_GCC_C
)
7464 all-target-libf2c
: maybe-all-target-libiberty
7465 configure-target-libffi
: $(ALL_GCC_C
)
7466 configure-target-libjava
: $(ALL_GCC_C
) maybe-configure-target-zlib maybe-configure-target-boehm-gc maybe-configure-target-qthreads maybe-configure-target-libffi
7467 all-target-libjava
: maybe-all-fastjar maybe-all-target-zlib maybe-all-target-boehm-gc maybe-all-target-qthreads maybe-all-target-libffi
7468 configure-target-libobjc
: $(ALL_GCC_C
)
7469 all-target-libobjc
: maybe-all-target-libiberty
7470 configure-target-libstdc
++-v3
: $(ALL_GCC_C
)
7471 all-target-libstdc
++-v3
: maybe-all-target-libiberty
7472 configure-target-zlib
: $(ALL_GCC_C
)
7474 # Target modules in the 'src' repository.
7475 configure-target-examples
: $(ALL_GCC_C
)
7476 configure-target-libgloss
: $(ALL_GCC
)
7477 all-target-libgloss
: maybe-configure-target-newlib
7478 configure-target-libiberty
: $(ALL_GCC_C
)
7479 configure-target-libtermcap
: $(ALL_GCC_C
)
7480 configure-target-newlib
: $(ALL_GCC
)
7481 configure-target-rda
: $(ALL_GCC_C
)
7482 configure-target-winsup
: $(ALL_GCC_C
)
7483 all-target-winsup
: maybe-all-target-libiberty maybe-all-target-libtermcap
7485 # Other target modules. Warning, these are not well tested.
7486 configure-target-gperf
: $(ALL_GCC_CXX
)
7487 all-target-gperf
: maybe-all-target-libiberty maybe-all-target-libstdc
++-v3
7488 configure-target-qthreads
: $(ALL_GCC_C
)
7490 # Dependencies of maybe-foo on foo. These are used because, for example,
7491 # all-gcc only depends on all-gas if gas is present and being configured.
7492 @maybe_dependencies@
7494 # Serialization dependencies. Host configures don't work well in parallel to
7495 # each other, due to contention over config.cache. Target configures and
7496 # build configures are similar.
7497 @serialization_dependencies@
7499 # --------------------------------
7500 # Regenerating top level configury
7501 # --------------------------------
7503 # Multilib.out tells target dirs what multilibs they should build.
7504 # There is really only one copy. We use the 'timestamp' method to
7505 # work around various timestamp bugs on some systems.
7506 # We use move-if-change so that it's only considered updated when it
7507 # actually changes, because it has to depend on a phony target.
7508 multilib.out
: maybe-all-gcc
7509 @r
=`${PWD}`; export r
; \
7510 echo
"Checking multilib configuration..."; \
7511 $(CC_FOR_TARGET
) --print-multi-lib
> multilib.tmp
2> /dev
/null
; \
7512 $(SHELL
) $(srcdir)/move-if-change multilib.tmp multilib.out
; \
7514 # Rebuilding Makefile.in, using autogen.
7516 $(srcdir)/Makefile.in
: @MAINT@
$(srcdir)/Makefile.tpl
$(srcdir)/Makefile.def
7517 cd
$(srcdir) && $(AUTOGEN
) Makefile.def
7519 # Rebuilding Makefile.
7520 Makefile
: $(srcdir)/Makefile.in config.status
7521 CONFIG_FILES
=$@ CONFIG_HEADERS
= $(SHELL
) .
/config.status
7523 config.status
: configure
$(gcc_version_trigger
)
7524 $(SHELL
) .
/config.status
--recheck
7526 # Rebuilding configure.
7528 $(srcdir)/configure
: @MAINT@
$(srcdir)/configure.in
$(srcdir)/config
/acx.m4
7529 cd
$(srcdir) && $(AUTOCONF
)
7531 # ------------------------------
7532 # Special directives to GNU Make
7533 # ------------------------------
7535 # Tell GNU make 3.79 not to run the top level in parallel. This
7536 # prevents contention for $builddir/$target/config.cache, as well
7537 # as minimizing scatter in file system caches.
7538 NOTPARALLEL
= .NOTPARALLEL
7541 # Don't pass command-line variables to submakes.
7545 # end of Makefile.in