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 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-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 -f texinfo
/po
/Makefile texinfo
/po
/Makefile.in texinfo
/info/Makefile
1116 -rm -f texinfo
/doc
/Makefile texinfo
/po
/POTFILES
1117 -rmdir texinfo
/doc texinfo
/info texinfo
/intl texinfo
/lib
2>/dev
/null
1118 -rmdir texinfo
/makeinfo texinfo
/po texinfo
/util
2>/dev
/null
1119 -rmdir fastjar gcc libiberty texinfo zlib
2>/dev
/null
1121 local-maintainer-clean
:
1122 @echo
"This command is intended for maintainers to use;"
1123 @echo
"it deletes files that may require special tools to rebuild."
1125 clean: do-clean local-clean
1126 mostlyclean: do-mostlyclean local-clean
1127 distclean: do-distclean local-clean local-distclean
1128 maintainer-clean
: local-maintainer-clean do-maintainer-clean local-clean
1129 maintainer-clean
: local-distclean
1130 realclean: maintainer-clean
1132 # This rule is used to clean specific modules.
1133 .PHONY
: $(CLEAN_MODULES
) $(CLEAN_X11_MODULES
) clean-gcc
1134 $(CLEAN_MODULES
) $(CLEAN_X11_MODULES
) clean-gcc
:
1135 @
dir=`echo $@ | sed -e 's/clean-//'`; \
1136 if
[ -f .
/$${dir}/Makefile
] ; then \
1137 r
=`${PWD}`; export r
; \
1138 s
=`cd $(srcdir); ${PWD}`; export s
; \
1140 (cd
$${dir} && $(MAKE
) $(FLAGS_TO_PASS
) clean); \
1145 .PHONY
: $(CLEAN_TARGET_MODULES
)
1146 $(CLEAN_TARGET_MODULES
):
1147 @
dir=`echo $@ | sed -e 's/clean-target-//'`; \
1148 rm -f
$(TARGET_SUBDIR
)/$${dir}/multilib.out
$(TARGET_SUBDIR
)/$${dir}/tmpmulti.out
; \
1149 if
[ -f
$(TARGET_SUBDIR
)/$${dir}/Makefile
] ; then \
1150 r
=`${PWD}`; export r
; \
1151 s
=`cd $(srcdir); ${PWD}`; export s
; \
1153 (cd
$(TARGET_SUBDIR
)/$${dir} && $(MAKE
) $(TARGET_FLAGS_TO_PASS
) clean); \
1158 clean-target
: $(CLEAN_TARGET_MODULES
) clean-target-libgcc
1159 clean-target-libgcc
:
1160 test ! -d gcc
/libgcc || \
1161 (cd gcc
/libgcc
&& find .
-type d
-print) | \
1162 while read d
; do
rm -f gcc
/$$d/libgcc.a ||
: ; done
1167 .PHONY
: check do-check
1169 $(MAKE
) do-check NOTPARALLEL
=parallel-ok
1171 # Only include modules actually being configured and built.
1172 do-check
: @check_host_modules@ \
1173 @check_target_modules@
1175 # Automated reporting of test results.
1177 warning.log
: build.log
1178 $(srcdir)/contrib
/warn_summary build.log
> $@
1181 if
test x
'$(BOOT_CFLAGS)' != x
''; then \
1182 BOOT_CFLAGS
='$(BOOT_CFLAGS)'; export BOOT_CFLAGS
; \
1184 $(srcdir)/contrib
/test_summary
-t
>$@
1186 echo If you really want to send e-mail
, run .
/$@ now
1188 mail-report-with-warnings.log
: warning.log
1189 if
test x
'$(BOOT_CFLAGS)' != x
''; then \
1190 BOOT_CFLAGS
='$(BOOT_CFLAGS)'; export BOOT_CFLAGS
; \
1192 $(srcdir)/contrib
/test_summary
-t
-i warning.log
>$@
1194 echo If you really want to send e-mail
, run .
/$@ now
1196 # Installation targets.
1198 .PHONY
: install uninstall
1199 install: installdirs @install_host_modules@ @install_target_modules@
1201 install-target
: @install_target_modules@
1204 @echo
"the uninstall target is not supported in this tree"
1207 install.
all: install-no-fixedincludes
1208 @if
[ -f .
/gcc
/Makefile
] ; then \
1209 r
=`${PWD}` ; export r
; \
1212 $(MAKE
) $(FLAGS_TO_PASS
) install-headers
) ; \
1217 # install-no-fixedincludes is used because Cygnus can not distribute
1218 # the fixed header files.
1219 .PHONY
: install-no-fixedincludes
1220 install-no-fixedincludes
: installdirs @install_host_modules_nogcc@ \
1221 @install_target_modules@ gcc-no-fixedincludes
1223 ### other supporting targets
1226 $(DESTDIR
)$(prefix) \
1227 $(DESTDIR
)$(exec_prefix)
1229 installdirs: mkinstalldirs
1230 $(SHELL
) $(srcdir)/mkinstalldirs
$(MAKEDIRS
)
1232 dir.
info: do-install-info
1233 if
[ -f
$(srcdir)/texinfo
/gen-info-dir
] ; then \
1234 $(srcdir)/texinfo
/gen-info-dir
$(DESTDIR
)$(infodir) $(srcdir)/texinfo
/dir.info-template
> dir.
info.new
; \
1235 mv
-f
dir.
info.new
dir.
info ; \
1240 @echo
"Building a full distribution of this tree isn't done"
1241 @echo
"via 'make dist'. Check out the etc/ subdirectory"
1245 # Right now this just builds TAGS in each subdirectory. emacs19 has the
1246 # ability to use several tags files at once, so there is probably no need
1247 # to combine them into one big TAGS file (like CVS 1.3 does). We could
1248 # (if we felt like it) have this Makefile write a piece of elisp which
1249 # the user could load to tell emacs19 where all the TAGS files we just
1253 # --------------------------------------
1254 # Modules which run on the build machine
1255 # --------------------------------------
1257 .PHONY
: configure-build-libiberty maybe-configure-build-libiberty
1258 maybe-configure-build-libiberty
:
1259 configure-build-libiberty
:
1260 @
test ! -f
$(BUILD_SUBDIR
)/libiberty
/Makefile || exit
0; \
1261 [ -d
$(BUILD_SUBDIR
)/libiberty
] || \
1262 mkdir
$(BUILD_SUBDIR
)/libiberty
;\
1263 r
=`${PWD}`; export r
; \
1264 s
=`cd $(srcdir); ${PWD}`; export s
; \
1265 AR
="$(AR_FOR_BUILD)"; export AR
; \
1266 AS
="$(AS_FOR_BUILD)"; export AS
; \
1267 CC
="$(CC_FOR_BUILD)"; export CC
; \
1268 CFLAGS
="$(CFLAGS_FOR_BUILD)"; export CFLAGS
; \
1269 CXX
="$(CXX_FOR_BUILD)"; export CXX
; \
1270 CXXFLAGS
="$(CXXFLAGS_FOR_BUILD)"; export CXXFLAGS
; \
1271 GCJ
="$(GCJ_FOR_BUILD)"; export GCJ
; \
1272 DLLTOOL
="$(DLLTOOL_FOR_BUILD)"; export DLLTOOL
; \
1273 LD
="$(LD_FOR_BUILD)"; export LD
; \
1274 LDFLAGS
="$(LDFLAGS_FOR_BUILD)"; export LDFLAGS
; \
1275 NM
="$(NM_FOR_BUILD)"; export NM
; \
1276 RANLIB
="$(RANLIB_FOR_BUILD)"; export RANLIB
; \
1277 WINDRES
="$(WINDRES_FOR_BUILD)"; export WINDRES
; \
1278 echo Configuring in
$(BUILD_SUBDIR
)/libiberty
; \
1279 cd
"$(BUILD_SUBDIR)/libiberty" || exit
1; \
1281 /* |
[A-Za-z
]:[\\/]*) \
1282 topdir
=$(srcdir) ;; \
1284 case
"$(BUILD_SUBDIR)" in \
1285 .
) topdir
="../$(srcdir)" ;; \
1286 *) topdir
="../../$(srcdir)" ;; \
1289 if
[ "$(srcdir)" = "." ] ; then \
1290 if
[ "$(BUILD_SUBDIR)" != "." ] ; then \
1291 if
$(SHELL
) $$s/symlink-tree
$${topdir}/libiberty
"no-such-file" ; then \
1292 if
[ -f Makefile
]; then \
1293 if
$(MAKE
) distclean; then \
1307 srcdiroption
="--srcdir=."; \
1310 srcdiroption
="--srcdir=$${topdir}/libiberty"; \
1311 libsrcdir
="$$s/libiberty"; \
1313 rm -f no-such-file ||
: ; \
1314 CONFIG_SITE
=no-such-file
$(SHELL
) $${libsrcdir}/configure \
1315 $(BUILD_CONFIGARGS
) $${srcdiroption} \
1316 --with-build-subdir
="$(BUILD_SUBDIR)" \
1319 .PHONY
: all-build-libiberty maybe-all-build-libiberty
1320 maybe-all-build-libiberty
:
1321 all-build-libiberty
: configure-build-libiberty
1322 @r
=`${PWD}`; export r
; \
1323 s
=`cd $(srcdir); ${PWD}`; export s
; \
1324 (cd
$(BUILD_SUBDIR
)/libiberty
&& $(MAKE
) all)
1327 # --------------------------------------
1328 # Modules which run on the host machine
1329 # --------------------------------------
1331 .PHONY
: configure-ash maybe-configure-ash
1332 maybe-configure-ash
:
1334 @
test ! -f ash
/Makefile || exit
0; \
1335 [ -d ash
] || mkdir ash
; \
1336 r
=`${PWD}`; export r
; \
1337 s
=`cd $(srcdir); ${PWD}`; export s
; \
1338 CC
="$(CC)"; export CC
; \
1339 CFLAGS
="$(CFLAGS)"; export CFLAGS
; \
1340 CXX
="$(CXX)"; export CXX
; \
1341 CXXFLAGS
="$(CXXFLAGS)"; export CXXFLAGS
; \
1342 if
[ z
$(build_canonical
) != z
$(host_canoncial
) ] ; then \
1343 AR
="$(AR)"; export AR
; \
1344 AS
="$(AS)"; export AS
; \
1345 CC_FOR_BUILD
="$(CC_FOR_BUILD)"; export CC_FOR_BUILD
; \
1346 DLLTOOL
="$(DLLTOOL)"; export DLLTOOL
; \
1347 LD
="$(LD)"; export LD
; \
1348 NM
="$(NM)"; export NM
; \
1349 RANLIB
="$(RANLIB)"; export RANLIB
; \
1350 WINDRES
="$(WINDRES)"; export WINDRES
; \
1351 OBJCOPY
="$(OBJCOPY)"; export OBJCOPY
; \
1352 OBJDUMP
="$(OBJDUMP)"; export OBJDUMP
; \
1354 echo Configuring in ash
; \
1358 srcdiroption
="--srcdir=."; \
1360 /* |
[A-Za-z
]:[\\/]*) \
1361 srcdiroption
="--srcdir=$(srcdir)/ash"; \
1362 libsrcdir
="$$s/ash";; \
1364 srcdiroption
="--srcdir=../$(srcdir)/ash"; \
1365 libsrcdir
="$$s/ash";; \
1367 $(SHELL
) $${libsrcdir}/configure \
1368 $(HOST_CONFIGARGS
) $${srcdiroption} \
1371 .PHONY
: all-ash maybe-all-ash
1373 all-ash
: configure-ash
1374 @r
=`${PWD}`; export r
; \
1375 s
=`cd $(srcdir); ${PWD}`; export s
; \
1377 (cd ash
&& $(MAKE
) $(FLAGS_TO_PASS
) all)
1382 @r
=`${PWD}`; export r
; \
1383 s
=`cd $(srcdir); ${PWD}`; export s
; \
1385 (cd ash
&& $(MAKE
) $(FLAGS_TO_PASS
) check)
1389 .PHONY
: install-ash maybe-install-ash
1391 install-ash
: installdirs
1392 @r
=`${PWD}`; export r
; \
1393 s
=`cd $(srcdir); ${PWD}`; export s
; \
1395 (cd ash
&& $(MAKE
) $(FLAGS_TO_PASS
) install)
1398 .PHONY
: configure-autoconf maybe-configure-autoconf
1399 maybe-configure-autoconf
:
1401 @
test ! -f autoconf
/Makefile || exit
0; \
1402 [ -d autoconf
] || mkdir autoconf
; \
1403 r
=`${PWD}`; export r
; \
1404 s
=`cd $(srcdir); ${PWD}`; export s
; \
1405 CC
="$(CC)"; export CC
; \
1406 CFLAGS
="$(CFLAGS)"; export CFLAGS
; \
1407 CXX
="$(CXX)"; export CXX
; \
1408 CXXFLAGS
="$(CXXFLAGS)"; export CXXFLAGS
; \
1409 if
[ z
$(build_canonical
) != z
$(host_canoncial
) ] ; then \
1410 AR
="$(AR)"; export AR
; \
1411 AS
="$(AS)"; export AS
; \
1412 CC_FOR_BUILD
="$(CC_FOR_BUILD)"; export CC_FOR_BUILD
; \
1413 DLLTOOL
="$(DLLTOOL)"; export DLLTOOL
; \
1414 LD
="$(LD)"; export LD
; \
1415 NM
="$(NM)"; export NM
; \
1416 RANLIB
="$(RANLIB)"; export RANLIB
; \
1417 WINDRES
="$(WINDRES)"; export WINDRES
; \
1418 OBJCOPY
="$(OBJCOPY)"; export OBJCOPY
; \
1419 OBJDUMP
="$(OBJDUMP)"; export OBJDUMP
; \
1421 echo Configuring in autoconf
; \
1422 cd autoconf || exit
1; \
1425 srcdiroption
="--srcdir=."; \
1427 /* |
[A-Za-z
]:[\\/]*) \
1428 srcdiroption
="--srcdir=$(srcdir)/autoconf"; \
1429 libsrcdir
="$$s/autoconf";; \
1431 srcdiroption
="--srcdir=../$(srcdir)/autoconf"; \
1432 libsrcdir
="$$s/autoconf";; \
1434 $(SHELL
) $${libsrcdir}/configure \
1435 $(HOST_CONFIGARGS
) $${srcdiroption} \
1438 .PHONY
: all-autoconf maybe-all-autoconf
1440 all-autoconf
: configure-autoconf
1441 @r
=`${PWD}`; export r
; \
1442 s
=`cd $(srcdir); ${PWD}`; export s
; \
1444 (cd autoconf
&& $(MAKE
) $(FLAGS_TO_PASS
) all)
1447 .PHONY
: check-autoconf
1449 @r
=`${PWD}`; export r
; \
1450 s
=`cd $(srcdir); ${PWD}`; export s
; \
1452 (cd autoconf
&& $(MAKE
) $(FLAGS_TO_PASS
) check)
1456 .PHONY
: install-autoconf maybe-install-autoconf
1457 maybe-install-autoconf
:
1458 install-autoconf
: installdirs
1459 @r
=`${PWD}`; export r
; \
1460 s
=`cd $(srcdir); ${PWD}`; export s
; \
1462 (cd autoconf
&& $(MAKE
) $(FLAGS_TO_PASS
) install)
1465 .PHONY
: configure-automake maybe-configure-automake
1466 maybe-configure-automake
:
1468 @
test ! -f automake
/Makefile || exit
0; \
1469 [ -d automake
] || mkdir automake
; \
1470 r
=`${PWD}`; export r
; \
1471 s
=`cd $(srcdir); ${PWD}`; export s
; \
1472 CC
="$(CC)"; export CC
; \
1473 CFLAGS
="$(CFLAGS)"; export CFLAGS
; \
1474 CXX
="$(CXX)"; export CXX
; \
1475 CXXFLAGS
="$(CXXFLAGS)"; export CXXFLAGS
; \
1476 if
[ z
$(build_canonical
) != z
$(host_canoncial
) ] ; then \
1477 AR
="$(AR)"; export AR
; \
1478 AS
="$(AS)"; export AS
; \
1479 CC_FOR_BUILD
="$(CC_FOR_BUILD)"; export CC_FOR_BUILD
; \
1480 DLLTOOL
="$(DLLTOOL)"; export DLLTOOL
; \
1481 LD
="$(LD)"; export LD
; \
1482 NM
="$(NM)"; export NM
; \
1483 RANLIB
="$(RANLIB)"; export RANLIB
; \
1484 WINDRES
="$(WINDRES)"; export WINDRES
; \
1485 OBJCOPY
="$(OBJCOPY)"; export OBJCOPY
; \
1486 OBJDUMP
="$(OBJDUMP)"; export OBJDUMP
; \
1488 echo Configuring in automake
; \
1489 cd automake || exit
1; \
1492 srcdiroption
="--srcdir=."; \
1494 /* |
[A-Za-z
]:[\\/]*) \
1495 srcdiroption
="--srcdir=$(srcdir)/automake"; \
1496 libsrcdir
="$$s/automake";; \
1498 srcdiroption
="--srcdir=../$(srcdir)/automake"; \
1499 libsrcdir
="$$s/automake";; \
1501 $(SHELL
) $${libsrcdir}/configure \
1502 $(HOST_CONFIGARGS
) $${srcdiroption} \
1505 .PHONY
: all-automake maybe-all-automake
1507 all-automake
: configure-automake
1508 @r
=`${PWD}`; export r
; \
1509 s
=`cd $(srcdir); ${PWD}`; export s
; \
1511 (cd automake
&& $(MAKE
) $(FLAGS_TO_PASS
) all)
1514 .PHONY
: check-automake
1516 @r
=`${PWD}`; export r
; \
1517 s
=`cd $(srcdir); ${PWD}`; export s
; \
1519 (cd automake
&& $(MAKE
) $(FLAGS_TO_PASS
) check)
1523 .PHONY
: install-automake maybe-install-automake
1524 maybe-install-automake
:
1525 install-automake
: installdirs
1526 @r
=`${PWD}`; export r
; \
1527 s
=`cd $(srcdir); ${PWD}`; export s
; \
1529 (cd automake
&& $(MAKE
) $(FLAGS_TO_PASS
) install)
1532 .PHONY
: configure-bash maybe-configure-bash
1533 maybe-configure-bash
:
1535 @
test ! -f bash
/Makefile || exit
0; \
1536 [ -d bash
] || mkdir bash
; \
1537 r
=`${PWD}`; export r
; \
1538 s
=`cd $(srcdir); ${PWD}`; export s
; \
1539 CC
="$(CC)"; export CC
; \
1540 CFLAGS
="$(CFLAGS)"; export CFLAGS
; \
1541 CXX
="$(CXX)"; export CXX
; \
1542 CXXFLAGS
="$(CXXFLAGS)"; export CXXFLAGS
; \
1543 if
[ z
$(build_canonical
) != z
$(host_canoncial
) ] ; then \
1544 AR
="$(AR)"; export AR
; \
1545 AS
="$(AS)"; export AS
; \
1546 CC_FOR_BUILD
="$(CC_FOR_BUILD)"; export CC_FOR_BUILD
; \
1547 DLLTOOL
="$(DLLTOOL)"; export DLLTOOL
; \
1548 LD
="$(LD)"; export LD
; \
1549 NM
="$(NM)"; export NM
; \
1550 RANLIB
="$(RANLIB)"; export RANLIB
; \
1551 WINDRES
="$(WINDRES)"; export WINDRES
; \
1552 OBJCOPY
="$(OBJCOPY)"; export OBJCOPY
; \
1553 OBJDUMP
="$(OBJDUMP)"; export OBJDUMP
; \
1555 echo Configuring in bash
; \
1556 cd bash || exit
1; \
1559 srcdiroption
="--srcdir=."; \
1561 /* |
[A-Za-z
]:[\\/]*) \
1562 srcdiroption
="--srcdir=$(srcdir)/bash"; \
1563 libsrcdir
="$$s/bash";; \
1565 srcdiroption
="--srcdir=../$(srcdir)/bash"; \
1566 libsrcdir
="$$s/bash";; \
1568 $(SHELL
) $${libsrcdir}/configure \
1569 $(HOST_CONFIGARGS
) $${srcdiroption} \
1572 .PHONY
: all-bash maybe-all-bash
1574 all-bash
: configure-bash
1575 @r
=`${PWD}`; export r
; \
1576 s
=`cd $(srcdir); ${PWD}`; export s
; \
1578 (cd bash
&& $(MAKE
) $(FLAGS_TO_PASS
) all)
1583 @r
=`${PWD}`; export r
; \
1584 s
=`cd $(srcdir); ${PWD}`; export s
; \
1586 (cd bash
&& $(MAKE
) $(FLAGS_TO_PASS
) check)
1590 .PHONY
: install-bash maybe-install-bash
1592 install-bash
: installdirs
1593 @r
=`${PWD}`; export r
; \
1594 s
=`cd $(srcdir); ${PWD}`; export s
; \
1596 (cd bash
&& $(MAKE
) $(FLAGS_TO_PASS
) install)
1599 .PHONY
: configure-bfd maybe-configure-bfd
1600 maybe-configure-bfd
:
1602 @
test ! -f bfd
/Makefile || exit
0; \
1603 [ -d bfd
] || mkdir bfd
; \
1604 r
=`${PWD}`; export r
; \
1605 s
=`cd $(srcdir); ${PWD}`; export s
; \
1606 CC
="$(CC)"; export CC
; \
1607 CFLAGS
="$(CFLAGS)"; export CFLAGS
; \
1608 CXX
="$(CXX)"; export CXX
; \
1609 CXXFLAGS
="$(CXXFLAGS)"; export CXXFLAGS
; \
1610 if
[ z
$(build_canonical
) != z
$(host_canoncial
) ] ; then \
1611 AR
="$(AR)"; export AR
; \
1612 AS
="$(AS)"; export AS
; \
1613 CC_FOR_BUILD
="$(CC_FOR_BUILD)"; export CC_FOR_BUILD
; \
1614 DLLTOOL
="$(DLLTOOL)"; export DLLTOOL
; \
1615 LD
="$(LD)"; export LD
; \
1616 NM
="$(NM)"; export NM
; \
1617 RANLIB
="$(RANLIB)"; export RANLIB
; \
1618 WINDRES
="$(WINDRES)"; export WINDRES
; \
1619 OBJCOPY
="$(OBJCOPY)"; export OBJCOPY
; \
1620 OBJDUMP
="$(OBJDUMP)"; export OBJDUMP
; \
1622 echo Configuring in bfd
; \
1626 srcdiroption
="--srcdir=."; \
1628 /* |
[A-Za-z
]:[\\/]*) \
1629 srcdiroption
="--srcdir=$(srcdir)/bfd"; \
1630 libsrcdir
="$$s/bfd";; \
1632 srcdiroption
="--srcdir=../$(srcdir)/bfd"; \
1633 libsrcdir
="$$s/bfd";; \
1635 $(SHELL
) $${libsrcdir}/configure \
1636 $(HOST_CONFIGARGS
) $${srcdiroption} \
1639 .PHONY
: all-bfd maybe-all-bfd
1641 all-bfd
: configure-bfd
1642 @r
=`${PWD}`; export r
; \
1643 s
=`cd $(srcdir); ${PWD}`; export s
; \
1645 (cd bfd
&& $(MAKE
) $(FLAGS_TO_PASS
) all)
1650 @r
=`${PWD}`; export r
; \
1651 s
=`cd $(srcdir); ${PWD}`; export s
; \
1653 (cd bfd
&& $(MAKE
) $(FLAGS_TO_PASS
) check)
1657 .PHONY
: install-bfd maybe-install-bfd
1659 install-bfd
: installdirs
1660 @r
=`${PWD}`; export r
; \
1661 s
=`cd $(srcdir); ${PWD}`; export s
; \
1663 (cd bfd
&& $(MAKE
) $(FLAGS_TO_PASS
) install)
1666 .PHONY
: configure-opcodes maybe-configure-opcodes
1667 maybe-configure-opcodes
:
1669 @
test ! -f opcodes
/Makefile || exit
0; \
1670 [ -d opcodes
] || mkdir opcodes
; \
1671 r
=`${PWD}`; export r
; \
1672 s
=`cd $(srcdir); ${PWD}`; export s
; \
1673 CC
="$(CC)"; export CC
; \
1674 CFLAGS
="$(CFLAGS)"; export CFLAGS
; \
1675 CXX
="$(CXX)"; export CXX
; \
1676 CXXFLAGS
="$(CXXFLAGS)"; export CXXFLAGS
; \
1677 if
[ z
$(build_canonical
) != z
$(host_canoncial
) ] ; then \
1678 AR
="$(AR)"; export AR
; \
1679 AS
="$(AS)"; export AS
; \
1680 CC_FOR_BUILD
="$(CC_FOR_BUILD)"; export CC_FOR_BUILD
; \
1681 DLLTOOL
="$(DLLTOOL)"; export DLLTOOL
; \
1682 LD
="$(LD)"; export LD
; \
1683 NM
="$(NM)"; export NM
; \
1684 RANLIB
="$(RANLIB)"; export RANLIB
; \
1685 WINDRES
="$(WINDRES)"; export WINDRES
; \
1686 OBJCOPY
="$(OBJCOPY)"; export OBJCOPY
; \
1687 OBJDUMP
="$(OBJDUMP)"; export OBJDUMP
; \
1689 echo Configuring in opcodes
; \
1690 cd opcodes || exit
1; \
1693 srcdiroption
="--srcdir=."; \
1695 /* |
[A-Za-z
]:[\\/]*) \
1696 srcdiroption
="--srcdir=$(srcdir)/opcodes"; \
1697 libsrcdir
="$$s/opcodes";; \
1699 srcdiroption
="--srcdir=../$(srcdir)/opcodes"; \
1700 libsrcdir
="$$s/opcodes";; \
1702 $(SHELL
) $${libsrcdir}/configure \
1703 $(HOST_CONFIGARGS
) $${srcdiroption} \
1706 .PHONY
: all-opcodes maybe-all-opcodes
1708 all-opcodes
: configure-opcodes
1709 @r
=`${PWD}`; export r
; \
1710 s
=`cd $(srcdir); ${PWD}`; export s
; \
1712 (cd opcodes
&& $(MAKE
) $(FLAGS_TO_PASS
) all)
1715 .PHONY
: check-opcodes
1717 @r
=`${PWD}`; export r
; \
1718 s
=`cd $(srcdir); ${PWD}`; export s
; \
1720 (cd opcodes
&& $(MAKE
) $(FLAGS_TO_PASS
) check)
1724 .PHONY
: install-opcodes maybe-install-opcodes
1725 maybe-install-opcodes
:
1726 install-opcodes
: installdirs
1727 @r
=`${PWD}`; export r
; \
1728 s
=`cd $(srcdir); ${PWD}`; export s
; \
1730 (cd opcodes
&& $(MAKE
) $(FLAGS_TO_PASS
) install)
1733 .PHONY
: configure-binutils maybe-configure-binutils
1734 maybe-configure-binutils
:
1736 @
test ! -f binutils
/Makefile || exit
0; \
1737 [ -d binutils
] || mkdir binutils
; \
1738 r
=`${PWD}`; export r
; \
1739 s
=`cd $(srcdir); ${PWD}`; export s
; \
1740 CC
="$(CC)"; export CC
; \
1741 CFLAGS
="$(CFLAGS)"; export CFLAGS
; \
1742 CXX
="$(CXX)"; export CXX
; \
1743 CXXFLAGS
="$(CXXFLAGS)"; export CXXFLAGS
; \
1744 if
[ z
$(build_canonical
) != z
$(host_canoncial
) ] ; then \
1745 AR
="$(AR)"; export AR
; \
1746 AS
="$(AS)"; export AS
; \
1747 CC_FOR_BUILD
="$(CC_FOR_BUILD)"; export CC_FOR_BUILD
; \
1748 DLLTOOL
="$(DLLTOOL)"; export DLLTOOL
; \
1749 LD
="$(LD)"; export LD
; \
1750 NM
="$(NM)"; export NM
; \
1751 RANLIB
="$(RANLIB)"; export RANLIB
; \
1752 WINDRES
="$(WINDRES)"; export WINDRES
; \
1753 OBJCOPY
="$(OBJCOPY)"; export OBJCOPY
; \
1754 OBJDUMP
="$(OBJDUMP)"; export OBJDUMP
; \
1756 echo Configuring in binutils
; \
1757 cd binutils || exit
1; \
1760 srcdiroption
="--srcdir=."; \
1762 /* |
[A-Za-z
]:[\\/]*) \
1763 srcdiroption
="--srcdir=$(srcdir)/binutils"; \
1764 libsrcdir
="$$s/binutils";; \
1766 srcdiroption
="--srcdir=../$(srcdir)/binutils"; \
1767 libsrcdir
="$$s/binutils";; \
1769 $(SHELL
) $${libsrcdir}/configure \
1770 $(HOST_CONFIGARGS
) $${srcdiroption} \
1773 .PHONY
: all-binutils maybe-all-binutils
1775 all-binutils
: configure-binutils
1776 @r
=`${PWD}`; export r
; \
1777 s
=`cd $(srcdir); ${PWD}`; export s
; \
1779 (cd binutils
&& $(MAKE
) $(FLAGS_TO_PASS
) all)
1782 .PHONY
: check-binutils
1784 @r
=`${PWD}`; export r
; \
1785 s
=`cd $(srcdir); ${PWD}`; export s
; \
1787 (cd binutils
&& $(MAKE
) $(FLAGS_TO_PASS
) check)
1791 .PHONY
: install-binutils maybe-install-binutils
1792 maybe-install-binutils
:
1793 install-binutils
: installdirs
1794 @r
=`${PWD}`; export r
; \
1795 s
=`cd $(srcdir); ${PWD}`; export s
; \
1797 (cd binutils
&& $(MAKE
) $(FLAGS_TO_PASS
) install)
1800 .PHONY
: configure-bison maybe-configure-bison
1801 maybe-configure-bison
:
1803 @
test ! -f bison
/Makefile || exit
0; \
1804 [ -d bison
] || mkdir bison
; \
1805 r
=`${PWD}`; export r
; \
1806 s
=`cd $(srcdir); ${PWD}`; export s
; \
1807 CC
="$(CC)"; export CC
; \
1808 CFLAGS
="$(CFLAGS)"; export CFLAGS
; \
1809 CXX
="$(CXX)"; export CXX
; \
1810 CXXFLAGS
="$(CXXFLAGS)"; export CXXFLAGS
; \
1811 if
[ z
$(build_canonical
) != z
$(host_canoncial
) ] ; then \
1812 AR
="$(AR)"; export AR
; \
1813 AS
="$(AS)"; export AS
; \
1814 CC_FOR_BUILD
="$(CC_FOR_BUILD)"; export CC_FOR_BUILD
; \
1815 DLLTOOL
="$(DLLTOOL)"; export DLLTOOL
; \
1816 LD
="$(LD)"; export LD
; \
1817 NM
="$(NM)"; export NM
; \
1818 RANLIB
="$(RANLIB)"; export RANLIB
; \
1819 WINDRES
="$(WINDRES)"; export WINDRES
; \
1820 OBJCOPY
="$(OBJCOPY)"; export OBJCOPY
; \
1821 OBJDUMP
="$(OBJDUMP)"; export OBJDUMP
; \
1823 echo Configuring in bison
; \
1824 cd bison || exit
1; \
1827 srcdiroption
="--srcdir=."; \
1829 /* |
[A-Za-z
]:[\\/]*) \
1830 srcdiroption
="--srcdir=$(srcdir)/bison"; \
1831 libsrcdir
="$$s/bison";; \
1833 srcdiroption
="--srcdir=../$(srcdir)/bison"; \
1834 libsrcdir
="$$s/bison";; \
1836 $(SHELL
) $${libsrcdir}/configure \
1837 $(HOST_CONFIGARGS
) $${srcdiroption} \
1840 .PHONY
: all-bison maybe-all-bison
1842 all-bison
: configure-bison
1843 @r
=`${PWD}`; export r
; \
1844 s
=`cd $(srcdir); ${PWD}`; export s
; \
1846 (cd bison
&& $(MAKE
) $(FLAGS_TO_PASS
) all)
1850 # This module is only tested in a native toolchain.
1852 @if
[ '$(host_canonical)' = '$(target_canonical)' ] ; then \
1853 r
=`${PWD}`; export r
; \
1854 s
=`cd $(srcdir); ${PWD}`; export s
; \
1856 (cd bison
&& $(MAKE
) $(FLAGS_TO_PASS
) check); \
1861 .PHONY
: install-bison maybe-install-bison
1862 maybe-install-bison
:
1863 install-bison
: installdirs
1864 @r
=`${PWD}`; export r
; \
1865 s
=`cd $(srcdir); ${PWD}`; export s
; \
1867 (cd bison
&& $(MAKE
) $(FLAGS_TO_PASS
) install)
1870 .PHONY
: configure-byacc maybe-configure-byacc
1871 maybe-configure-byacc
:
1873 @
test ! -f byacc
/Makefile || exit
0; \
1874 [ -d byacc
] || mkdir byacc
; \
1875 r
=`${PWD}`; export r
; \
1876 s
=`cd $(srcdir); ${PWD}`; export s
; \
1877 CC
="$(CC)"; export CC
; \
1878 CFLAGS
="$(CFLAGS)"; export CFLAGS
; \
1879 CXX
="$(CXX)"; export CXX
; \
1880 CXXFLAGS
="$(CXXFLAGS)"; export CXXFLAGS
; \
1881 if
[ z
$(build_canonical
) != z
$(host_canoncial
) ] ; then \
1882 AR
="$(AR)"; export AR
; \
1883 AS
="$(AS)"; export AS
; \
1884 CC_FOR_BUILD
="$(CC_FOR_BUILD)"; export CC_FOR_BUILD
; \
1885 DLLTOOL
="$(DLLTOOL)"; export DLLTOOL
; \
1886 LD
="$(LD)"; export LD
; \
1887 NM
="$(NM)"; export NM
; \
1888 RANLIB
="$(RANLIB)"; export RANLIB
; \
1889 WINDRES
="$(WINDRES)"; export WINDRES
; \
1890 OBJCOPY
="$(OBJCOPY)"; export OBJCOPY
; \
1891 OBJDUMP
="$(OBJDUMP)"; export OBJDUMP
; \
1893 echo Configuring in byacc
; \
1894 cd byacc || exit
1; \
1897 srcdiroption
="--srcdir=."; \
1899 /* |
[A-Za-z
]:[\\/]*) \
1900 srcdiroption
="--srcdir=$(srcdir)/byacc"; \
1901 libsrcdir
="$$s/byacc";; \
1903 srcdiroption
="--srcdir=../$(srcdir)/byacc"; \
1904 libsrcdir
="$$s/byacc";; \
1906 $(SHELL
) $${libsrcdir}/configure \
1907 $(HOST_CONFIGARGS
) $${srcdiroption} \
1910 .PHONY
: all-byacc maybe-all-byacc
1912 all-byacc
: configure-byacc
1913 @r
=`${PWD}`; export r
; \
1914 s
=`cd $(srcdir); ${PWD}`; export s
; \
1916 (cd byacc
&& $(MAKE
) $(FLAGS_TO_PASS
) all)
1920 # This module is only tested in a native toolchain.
1922 @if
[ '$(host_canonical)' = '$(target_canonical)' ] ; then \
1923 r
=`${PWD}`; export r
; \
1924 s
=`cd $(srcdir); ${PWD}`; export s
; \
1926 (cd byacc
&& $(MAKE
) $(FLAGS_TO_PASS
) check); \
1931 .PHONY
: install-byacc maybe-install-byacc
1932 maybe-install-byacc
:
1933 install-byacc
: installdirs
1934 @r
=`${PWD}`; export r
; \
1935 s
=`cd $(srcdir); ${PWD}`; export s
; \
1937 (cd byacc
&& $(MAKE
) $(FLAGS_TO_PASS
) install)
1940 .PHONY
: configure-bzip2 maybe-configure-bzip2
1941 maybe-configure-bzip2
:
1943 @
test ! -f bzip2
/Makefile || exit
0; \
1944 [ -d bzip2
] || mkdir bzip2
; \
1945 r
=`${PWD}`; export r
; \
1946 s
=`cd $(srcdir); ${PWD}`; export s
; \
1947 CC
="$(CC)"; export CC
; \
1948 CFLAGS
="$(CFLAGS)"; export CFLAGS
; \
1949 CXX
="$(CXX)"; export CXX
; \
1950 CXXFLAGS
="$(CXXFLAGS)"; export CXXFLAGS
; \
1951 if
[ z
$(build_canonical
) != z
$(host_canoncial
) ] ; then \
1952 AR
="$(AR)"; export AR
; \
1953 AS
="$(AS)"; export AS
; \
1954 CC_FOR_BUILD
="$(CC_FOR_BUILD)"; export CC_FOR_BUILD
; \
1955 DLLTOOL
="$(DLLTOOL)"; export DLLTOOL
; \
1956 LD
="$(LD)"; export LD
; \
1957 NM
="$(NM)"; export NM
; \
1958 RANLIB
="$(RANLIB)"; export RANLIB
; \
1959 WINDRES
="$(WINDRES)"; export WINDRES
; \
1960 OBJCOPY
="$(OBJCOPY)"; export OBJCOPY
; \
1961 OBJDUMP
="$(OBJDUMP)"; export OBJDUMP
; \
1963 echo Configuring in bzip2
; \
1964 cd bzip2 || exit
1; \
1967 srcdiroption
="--srcdir=."; \
1969 /* |
[A-Za-z
]:[\\/]*) \
1970 srcdiroption
="--srcdir=$(srcdir)/bzip2"; \
1971 libsrcdir
="$$s/bzip2";; \
1973 srcdiroption
="--srcdir=../$(srcdir)/bzip2"; \
1974 libsrcdir
="$$s/bzip2";; \
1976 $(SHELL
) $${libsrcdir}/configure \
1977 $(HOST_CONFIGARGS
) $${srcdiroption} \
1980 .PHONY
: all-bzip2 maybe-all-bzip2
1982 all-bzip2
: configure-bzip2
1983 @r
=`${PWD}`; export r
; \
1984 s
=`cd $(srcdir); ${PWD}`; export s
; \
1986 (cd bzip2
&& $(MAKE
) $(FLAGS_TO_PASS
) all)
1991 @r
=`${PWD}`; export r
; \
1992 s
=`cd $(srcdir); ${PWD}`; export s
; \
1994 (cd bzip2
&& $(MAKE
) $(FLAGS_TO_PASS
) check)
1998 .PHONY
: install-bzip2 maybe-install-bzip2
1999 maybe-install-bzip2
:
2000 install-bzip2
: installdirs
2001 @r
=`${PWD}`; export r
; \
2002 s
=`cd $(srcdir); ${PWD}`; export s
; \
2004 (cd bzip2
&& $(MAKE
) $(FLAGS_TO_PASS
) install)
2007 .PHONY
: configure-dejagnu maybe-configure-dejagnu
2008 maybe-configure-dejagnu
:
2010 @
test ! -f dejagnu
/Makefile || exit
0; \
2011 [ -d dejagnu
] || mkdir dejagnu
; \
2012 r
=`${PWD}`; export r
; \
2013 s
=`cd $(srcdir); ${PWD}`; export s
; \
2014 CC
="$(CC)"; export CC
; \
2015 CFLAGS
="$(CFLAGS)"; export CFLAGS
; \
2016 CXX
="$(CXX)"; export CXX
; \
2017 CXXFLAGS
="$(CXXFLAGS)"; export CXXFLAGS
; \
2018 if
[ z
$(build_canonical
) != z
$(host_canoncial
) ] ; then \
2019 AR
="$(AR)"; export AR
; \
2020 AS
="$(AS)"; export AS
; \
2021 CC_FOR_BUILD
="$(CC_FOR_BUILD)"; export CC_FOR_BUILD
; \
2022 DLLTOOL
="$(DLLTOOL)"; export DLLTOOL
; \
2023 LD
="$(LD)"; export LD
; \
2024 NM
="$(NM)"; export NM
; \
2025 RANLIB
="$(RANLIB)"; export RANLIB
; \
2026 WINDRES
="$(WINDRES)"; export WINDRES
; \
2027 OBJCOPY
="$(OBJCOPY)"; export OBJCOPY
; \
2028 OBJDUMP
="$(OBJDUMP)"; export OBJDUMP
; \
2030 echo Configuring in dejagnu
; \
2031 cd dejagnu || exit
1; \
2034 srcdiroption
="--srcdir=."; \
2036 /* |
[A-Za-z
]:[\\/]*) \
2037 srcdiroption
="--srcdir=$(srcdir)/dejagnu"; \
2038 libsrcdir
="$$s/dejagnu";; \
2040 srcdiroption
="--srcdir=../$(srcdir)/dejagnu"; \
2041 libsrcdir
="$$s/dejagnu";; \
2043 $(SHELL
) $${libsrcdir}/configure \
2044 $(HOST_CONFIGARGS
) $${srcdiroption} \
2047 .PHONY
: all-dejagnu maybe-all-dejagnu
2049 all-dejagnu
: configure-dejagnu
2050 @r
=`${PWD}`; export r
; \
2051 s
=`cd $(srcdir); ${PWD}`; export s
; \
2053 (cd dejagnu
&& $(MAKE
) $(FLAGS_TO_PASS
) all)
2056 .PHONY
: check-dejagnu
2058 @r
=`${PWD}`; export r
; \
2059 s
=`cd $(srcdir); ${PWD}`; export s
; \
2061 (cd dejagnu
&& $(MAKE
) $(FLAGS_TO_PASS
) check)
2065 .PHONY
: install-dejagnu maybe-install-dejagnu
2066 maybe-install-dejagnu
:
2067 install-dejagnu
: installdirs
2068 @r
=`${PWD}`; export r
; \
2069 s
=`cd $(srcdir); ${PWD}`; export s
; \
2071 (cd dejagnu
&& $(MAKE
) $(FLAGS_TO_PASS
) install)
2074 .PHONY
: configure-diff maybe-configure-diff
2075 maybe-configure-diff
:
2077 @
test ! -f diff
/Makefile || exit
0; \
2078 [ -d diff
] || mkdir diff
; \
2079 r
=`${PWD}`; export r
; \
2080 s
=`cd $(srcdir); ${PWD}`; export s
; \
2081 CC
="$(CC)"; export CC
; \
2082 CFLAGS
="$(CFLAGS)"; export CFLAGS
; \
2083 CXX
="$(CXX)"; export CXX
; \
2084 CXXFLAGS
="$(CXXFLAGS)"; export CXXFLAGS
; \
2085 if
[ z
$(build_canonical
) != z
$(host_canoncial
) ] ; then \
2086 AR
="$(AR)"; export AR
; \
2087 AS
="$(AS)"; export AS
; \
2088 CC_FOR_BUILD
="$(CC_FOR_BUILD)"; export CC_FOR_BUILD
; \
2089 DLLTOOL
="$(DLLTOOL)"; export DLLTOOL
; \
2090 LD
="$(LD)"; export LD
; \
2091 NM
="$(NM)"; export NM
; \
2092 RANLIB
="$(RANLIB)"; export RANLIB
; \
2093 WINDRES
="$(WINDRES)"; export WINDRES
; \
2094 OBJCOPY
="$(OBJCOPY)"; export OBJCOPY
; \
2095 OBJDUMP
="$(OBJDUMP)"; export OBJDUMP
; \
2097 echo Configuring in diff
; \
2098 cd diff || exit
1; \
2101 srcdiroption
="--srcdir=."; \
2103 /* |
[A-Za-z
]:[\\/]*) \
2104 srcdiroption
="--srcdir=$(srcdir)/diff"; \
2105 libsrcdir
="$$s/diff";; \
2107 srcdiroption
="--srcdir=../$(srcdir)/diff"; \
2108 libsrcdir
="$$s/diff";; \
2110 $(SHELL
) $${libsrcdir}/configure \
2111 $(HOST_CONFIGARGS
) $${srcdiroption} \
2114 .PHONY
: all-diff maybe-all-diff
2116 all-diff
: configure-diff
2117 @r
=`${PWD}`; export r
; \
2118 s
=`cd $(srcdir); ${PWD}`; export s
; \
2120 (cd diff
&& $(MAKE
) $(FLAGS_TO_PASS
) all)
2125 @r
=`${PWD}`; export r
; \
2126 s
=`cd $(srcdir); ${PWD}`; export s
; \
2128 (cd diff
&& $(MAKE
) $(FLAGS_TO_PASS
) check)
2132 .PHONY
: install-diff maybe-install-diff
2134 install-diff
: installdirs
2135 @r
=`${PWD}`; export r
; \
2136 s
=`cd $(srcdir); ${PWD}`; export s
; \
2138 (cd diff
&& $(MAKE
) $(FLAGS_TO_PASS
) install)
2141 .PHONY
: configure-dosutils maybe-configure-dosutils
2142 maybe-configure-dosutils
:
2144 @
test ! -f dosutils
/Makefile || exit
0; \
2145 [ -d dosutils
] || mkdir dosutils
; \
2146 r
=`${PWD}`; export r
; \
2147 s
=`cd $(srcdir); ${PWD}`; export s
; \
2148 CC
="$(CC)"; export CC
; \
2149 CFLAGS
="$(CFLAGS)"; export CFLAGS
; \
2150 CXX
="$(CXX)"; export CXX
; \
2151 CXXFLAGS
="$(CXXFLAGS)"; export CXXFLAGS
; \
2152 if
[ z
$(build_canonical
) != z
$(host_canoncial
) ] ; then \
2153 AR
="$(AR)"; export AR
; \
2154 AS
="$(AS)"; export AS
; \
2155 CC_FOR_BUILD
="$(CC_FOR_BUILD)"; export CC_FOR_BUILD
; \
2156 DLLTOOL
="$(DLLTOOL)"; export DLLTOOL
; \
2157 LD
="$(LD)"; export LD
; \
2158 NM
="$(NM)"; export NM
; \
2159 RANLIB
="$(RANLIB)"; export RANLIB
; \
2160 WINDRES
="$(WINDRES)"; export WINDRES
; \
2161 OBJCOPY
="$(OBJCOPY)"; export OBJCOPY
; \
2162 OBJDUMP
="$(OBJDUMP)"; export OBJDUMP
; \
2164 echo Configuring in dosutils
; \
2165 cd dosutils || exit
1; \
2168 srcdiroption
="--srcdir=."; \
2170 /* |
[A-Za-z
]:[\\/]*) \
2171 srcdiroption
="--srcdir=$(srcdir)/dosutils"; \
2172 libsrcdir
="$$s/dosutils";; \
2174 srcdiroption
="--srcdir=../$(srcdir)/dosutils"; \
2175 libsrcdir
="$$s/dosutils";; \
2177 $(SHELL
) $${libsrcdir}/configure \
2178 $(HOST_CONFIGARGS
) $${srcdiroption} \
2181 .PHONY
: all-dosutils maybe-all-dosutils
2183 all-dosutils
: configure-dosutils
2184 @r
=`${PWD}`; export r
; \
2185 s
=`cd $(srcdir); ${PWD}`; export s
; \
2187 (cd dosutils
&& $(MAKE
) $(FLAGS_TO_PASS
) all)
2190 .PHONY
: check-dosutils
2195 .PHONY
: install-dosutils maybe-install-dosutils
2196 maybe-install-dosutils
:
2197 install-dosutils
: installdirs
2198 @r
=`${PWD}`; export r
; \
2199 s
=`cd $(srcdir); ${PWD}`; export s
; \
2201 (cd dosutils
&& $(MAKE
) $(FLAGS_TO_PASS
) install)
2204 .PHONY
: configure-etc maybe-configure-etc
2205 maybe-configure-etc
:
2207 @
test ! -f etc
/Makefile || exit
0; \
2208 [ -d etc
] || mkdir etc
; \
2209 r
=`${PWD}`; export r
; \
2210 s
=`cd $(srcdir); ${PWD}`; export s
; \
2211 CC
="$(CC)"; export CC
; \
2212 CFLAGS
="$(CFLAGS)"; export CFLAGS
; \
2213 CXX
="$(CXX)"; export CXX
; \
2214 CXXFLAGS
="$(CXXFLAGS)"; export CXXFLAGS
; \
2215 if
[ z
$(build_canonical
) != z
$(host_canoncial
) ] ; then \
2216 AR
="$(AR)"; export AR
; \
2217 AS
="$(AS)"; export AS
; \
2218 CC_FOR_BUILD
="$(CC_FOR_BUILD)"; export CC_FOR_BUILD
; \
2219 DLLTOOL
="$(DLLTOOL)"; export DLLTOOL
; \
2220 LD
="$(LD)"; export LD
; \
2221 NM
="$(NM)"; export NM
; \
2222 RANLIB
="$(RANLIB)"; export RANLIB
; \
2223 WINDRES
="$(WINDRES)"; export WINDRES
; \
2224 OBJCOPY
="$(OBJCOPY)"; export OBJCOPY
; \
2225 OBJDUMP
="$(OBJDUMP)"; export OBJDUMP
; \
2227 echo Configuring in etc
; \
2231 srcdiroption
="--srcdir=."; \
2233 /* |
[A-Za-z
]:[\\/]*) \
2234 srcdiroption
="--srcdir=$(srcdir)/etc"; \
2235 libsrcdir
="$$s/etc";; \
2237 srcdiroption
="--srcdir=../$(srcdir)/etc"; \
2238 libsrcdir
="$$s/etc";; \
2240 $(SHELL
) $${libsrcdir}/configure \
2241 $(HOST_CONFIGARGS
) $${srcdiroption} \
2244 .PHONY
: all-etc maybe-all-etc
2246 all-etc
: configure-etc
2247 @r
=`${PWD}`; export r
; \
2248 s
=`cd $(srcdir); ${PWD}`; export s
; \
2250 (cd etc
&& $(MAKE
) $(FLAGS_TO_PASS
) all)
2255 @r
=`${PWD}`; export r
; \
2256 s
=`cd $(srcdir); ${PWD}`; export s
; \
2258 (cd etc
&& $(MAKE
) $(FLAGS_TO_PASS
) check)
2262 .PHONY
: install-etc maybe-install-etc
2264 install-etc
: installdirs
2265 @r
=`${PWD}`; export r
; \
2266 s
=`cd $(srcdir); ${PWD}`; export s
; \
2268 (cd etc
&& $(MAKE
) $(FLAGS_TO_PASS
) install)
2271 .PHONY
: configure-fastjar maybe-configure-fastjar
2272 maybe-configure-fastjar
:
2274 @
test ! -f fastjar
/Makefile || exit
0; \
2275 [ -d fastjar
] || mkdir fastjar
; \
2276 r
=`${PWD}`; export r
; \
2277 s
=`cd $(srcdir); ${PWD}`; export s
; \
2278 CC
="$(CC)"; export CC
; \
2279 CFLAGS
="$(CFLAGS)"; export CFLAGS
; \
2280 CXX
="$(CXX)"; export CXX
; \
2281 CXXFLAGS
="$(CXXFLAGS)"; export CXXFLAGS
; \
2282 if
[ z
$(build_canonical
) != z
$(host_canoncial
) ] ; then \
2283 AR
="$(AR)"; export AR
; \
2284 AS
="$(AS)"; export AS
; \
2285 CC_FOR_BUILD
="$(CC_FOR_BUILD)"; export CC_FOR_BUILD
; \
2286 DLLTOOL
="$(DLLTOOL)"; export DLLTOOL
; \
2287 LD
="$(LD)"; export LD
; \
2288 NM
="$(NM)"; export NM
; \
2289 RANLIB
="$(RANLIB)"; export RANLIB
; \
2290 WINDRES
="$(WINDRES)"; export WINDRES
; \
2291 OBJCOPY
="$(OBJCOPY)"; export OBJCOPY
; \
2292 OBJDUMP
="$(OBJDUMP)"; export OBJDUMP
; \
2294 echo Configuring in fastjar
; \
2295 cd fastjar || exit
1; \
2298 srcdiroption
="--srcdir=."; \
2300 /* |
[A-Za-z
]:[\\/]*) \
2301 srcdiroption
="--srcdir=$(srcdir)/fastjar"; \
2302 libsrcdir
="$$s/fastjar";; \
2304 srcdiroption
="--srcdir=../$(srcdir)/fastjar"; \
2305 libsrcdir
="$$s/fastjar";; \
2307 $(SHELL
) $${libsrcdir}/configure \
2308 $(HOST_CONFIGARGS
) $${srcdiroption} \
2311 .PHONY
: all-fastjar maybe-all-fastjar
2313 all-fastjar
: configure-fastjar
2314 @r
=`${PWD}`; export r
; \
2315 s
=`cd $(srcdir); ${PWD}`; export s
; \
2317 (cd fastjar
&& $(MAKE
) $(FLAGS_TO_PASS
) all)
2320 .PHONY
: check-fastjar
2321 # This module is only tested in a native toolchain.
2323 @if
[ '$(host_canonical)' = '$(target_canonical)' ] ; then \
2324 r
=`${PWD}`; export r
; \
2325 s
=`cd $(srcdir); ${PWD}`; export s
; \
2327 (cd fastjar
&& $(MAKE
) $(FLAGS_TO_PASS
) check); \
2332 .PHONY
: install-fastjar maybe-install-fastjar
2333 maybe-install-fastjar
:
2334 install-fastjar
: installdirs
2335 @r
=`${PWD}`; export r
; \
2336 s
=`cd $(srcdir); ${PWD}`; export s
; \
2338 (cd fastjar
&& $(MAKE
) $(FLAGS_TO_PASS
) install)
2341 .PHONY
: configure-fileutils maybe-configure-fileutils
2342 maybe-configure-fileutils
:
2343 configure-fileutils
:
2344 @
test ! -f fileutils
/Makefile || exit
0; \
2345 [ -d fileutils
] || mkdir fileutils
; \
2346 r
=`${PWD}`; export r
; \
2347 s
=`cd $(srcdir); ${PWD}`; export s
; \
2348 CC
="$(CC)"; export CC
; \
2349 CFLAGS
="$(CFLAGS)"; export CFLAGS
; \
2350 CXX
="$(CXX)"; export CXX
; \
2351 CXXFLAGS
="$(CXXFLAGS)"; export CXXFLAGS
; \
2352 if
[ z
$(build_canonical
) != z
$(host_canoncial
) ] ; then \
2353 AR
="$(AR)"; export AR
; \
2354 AS
="$(AS)"; export AS
; \
2355 CC_FOR_BUILD
="$(CC_FOR_BUILD)"; export CC_FOR_BUILD
; \
2356 DLLTOOL
="$(DLLTOOL)"; export DLLTOOL
; \
2357 LD
="$(LD)"; export LD
; \
2358 NM
="$(NM)"; export NM
; \
2359 RANLIB
="$(RANLIB)"; export RANLIB
; \
2360 WINDRES
="$(WINDRES)"; export WINDRES
; \
2361 OBJCOPY
="$(OBJCOPY)"; export OBJCOPY
; \
2362 OBJDUMP
="$(OBJDUMP)"; export OBJDUMP
; \
2364 echo Configuring in fileutils
; \
2365 cd fileutils || exit
1; \
2368 srcdiroption
="--srcdir=."; \
2370 /* |
[A-Za-z
]:[\\/]*) \
2371 srcdiroption
="--srcdir=$(srcdir)/fileutils"; \
2372 libsrcdir
="$$s/fileutils";; \
2374 srcdiroption
="--srcdir=../$(srcdir)/fileutils"; \
2375 libsrcdir
="$$s/fileutils";; \
2377 $(SHELL
) $${libsrcdir}/configure \
2378 $(HOST_CONFIGARGS
) $${srcdiroption} \
2381 .PHONY
: all-fileutils maybe-all-fileutils
2382 maybe-all-fileutils
:
2383 all-fileutils
: configure-fileutils
2384 @r
=`${PWD}`; export r
; \
2385 s
=`cd $(srcdir); ${PWD}`; export s
; \
2387 (cd fileutils
&& $(MAKE
) $(FLAGS_TO_PASS
) all)
2390 .PHONY
: check-fileutils
2392 @r
=`${PWD}`; export r
; \
2393 s
=`cd $(srcdir); ${PWD}`; export s
; \
2395 (cd fileutils
&& $(MAKE
) $(FLAGS_TO_PASS
) check)
2399 .PHONY
: install-fileutils maybe-install-fileutils
2400 maybe-install-fileutils
:
2401 install-fileutils
: installdirs
2402 @r
=`${PWD}`; export r
; \
2403 s
=`cd $(srcdir); ${PWD}`; export s
; \
2405 (cd fileutils
&& $(MAKE
) $(FLAGS_TO_PASS
) install)
2408 .PHONY
: configure-findutils maybe-configure-findutils
2409 maybe-configure-findutils
:
2410 configure-findutils
:
2411 @
test ! -f findutils
/Makefile || exit
0; \
2412 [ -d findutils
] || mkdir findutils
; \
2413 r
=`${PWD}`; export r
; \
2414 s
=`cd $(srcdir); ${PWD}`; export s
; \
2415 CC
="$(CC)"; export CC
; \
2416 CFLAGS
="$(CFLAGS)"; export CFLAGS
; \
2417 CXX
="$(CXX)"; export CXX
; \
2418 CXXFLAGS
="$(CXXFLAGS)"; export CXXFLAGS
; \
2419 if
[ z
$(build_canonical
) != z
$(host_canoncial
) ] ; then \
2420 AR
="$(AR)"; export AR
; \
2421 AS
="$(AS)"; export AS
; \
2422 CC_FOR_BUILD
="$(CC_FOR_BUILD)"; export CC_FOR_BUILD
; \
2423 DLLTOOL
="$(DLLTOOL)"; export DLLTOOL
; \
2424 LD
="$(LD)"; export LD
; \
2425 NM
="$(NM)"; export NM
; \
2426 RANLIB
="$(RANLIB)"; export RANLIB
; \
2427 WINDRES
="$(WINDRES)"; export WINDRES
; \
2428 OBJCOPY
="$(OBJCOPY)"; export OBJCOPY
; \
2429 OBJDUMP
="$(OBJDUMP)"; export OBJDUMP
; \
2431 echo Configuring in findutils
; \
2432 cd findutils || exit
1; \
2435 srcdiroption
="--srcdir=."; \
2437 /* |
[A-Za-z
]:[\\/]*) \
2438 srcdiroption
="--srcdir=$(srcdir)/findutils"; \
2439 libsrcdir
="$$s/findutils";; \
2441 srcdiroption
="--srcdir=../$(srcdir)/findutils"; \
2442 libsrcdir
="$$s/findutils";; \
2444 $(SHELL
) $${libsrcdir}/configure \
2445 $(HOST_CONFIGARGS
) $${srcdiroption} \
2448 .PHONY
: all-findutils maybe-all-findutils
2449 maybe-all-findutils
:
2450 all-findutils
: configure-findutils
2451 @r
=`${PWD}`; export r
; \
2452 s
=`cd $(srcdir); ${PWD}`; export s
; \
2454 (cd findutils
&& $(MAKE
) $(FLAGS_TO_PASS
) all)
2457 .PHONY
: check-findutils
2459 @r
=`${PWD}`; export r
; \
2460 s
=`cd $(srcdir); ${PWD}`; export s
; \
2462 (cd findutils
&& $(MAKE
) $(FLAGS_TO_PASS
) check)
2466 .PHONY
: install-findutils maybe-install-findutils
2467 maybe-install-findutils
:
2468 install-findutils
: installdirs
2469 @r
=`${PWD}`; export r
; \
2470 s
=`cd $(srcdir); ${PWD}`; export s
; \
2472 (cd findutils
&& $(MAKE
) $(FLAGS_TO_PASS
) install)
2475 .PHONY
: configure-find maybe-configure-find
2476 maybe-configure-find
:
2478 @
test ! -f find
/Makefile || exit
0; \
2479 [ -d find
] || mkdir find
; \
2480 r
=`${PWD}`; export r
; \
2481 s
=`cd $(srcdir); ${PWD}`; export s
; \
2482 CC
="$(CC)"; export CC
; \
2483 CFLAGS
="$(CFLAGS)"; export CFLAGS
; \
2484 CXX
="$(CXX)"; export CXX
; \
2485 CXXFLAGS
="$(CXXFLAGS)"; export CXXFLAGS
; \
2486 if
[ z
$(build_canonical
) != z
$(host_canoncial
) ] ; then \
2487 AR
="$(AR)"; export AR
; \
2488 AS
="$(AS)"; export AS
; \
2489 CC_FOR_BUILD
="$(CC_FOR_BUILD)"; export CC_FOR_BUILD
; \
2490 DLLTOOL
="$(DLLTOOL)"; export DLLTOOL
; \
2491 LD
="$(LD)"; export LD
; \
2492 NM
="$(NM)"; export NM
; \
2493 RANLIB
="$(RANLIB)"; export RANLIB
; \
2494 WINDRES
="$(WINDRES)"; export WINDRES
; \
2495 OBJCOPY
="$(OBJCOPY)"; export OBJCOPY
; \
2496 OBJDUMP
="$(OBJDUMP)"; export OBJDUMP
; \
2498 echo Configuring in find
; \
2499 cd find || exit
1; \
2502 srcdiroption
="--srcdir=."; \
2504 /* |
[A-Za-z
]:[\\/]*) \
2505 srcdiroption
="--srcdir=$(srcdir)/find"; \
2506 libsrcdir
="$$s/find";; \
2508 srcdiroption
="--srcdir=../$(srcdir)/find"; \
2509 libsrcdir
="$$s/find";; \
2511 $(SHELL
) $${libsrcdir}/configure \
2512 $(HOST_CONFIGARGS
) $${srcdiroption} \
2515 .PHONY
: all-find maybe-all-find
2517 all-find
: configure-find
2518 @r
=`${PWD}`; export r
; \
2519 s
=`cd $(srcdir); ${PWD}`; export s
; \
2521 (cd find
&& $(MAKE
) $(FLAGS_TO_PASS
) all)
2526 @r
=`${PWD}`; export r
; \
2527 s
=`cd $(srcdir); ${PWD}`; export s
; \
2529 (cd find
&& $(MAKE
) $(FLAGS_TO_PASS
) check)
2533 .PHONY
: install-find maybe-install-find
2535 install-find
: installdirs
2536 @r
=`${PWD}`; export r
; \
2537 s
=`cd $(srcdir); ${PWD}`; export s
; \
2539 (cd find
&& $(MAKE
) $(FLAGS_TO_PASS
) install)
2542 .PHONY
: configure-flex maybe-configure-flex
2543 maybe-configure-flex
:
2545 @
test ! -f flex
/Makefile || exit
0; \
2546 [ -d flex
] || mkdir flex
; \
2547 r
=`${PWD}`; export r
; \
2548 s
=`cd $(srcdir); ${PWD}`; export s
; \
2549 CC
="$(CC)"; export CC
; \
2550 CFLAGS
="$(CFLAGS)"; export CFLAGS
; \
2551 CXX
="$(CXX)"; export CXX
; \
2552 CXXFLAGS
="$(CXXFLAGS)"; export CXXFLAGS
; \
2553 if
[ z
$(build_canonical
) != z
$(host_canoncial
) ] ; then \
2554 AR
="$(AR)"; export AR
; \
2555 AS
="$(AS)"; export AS
; \
2556 CC_FOR_BUILD
="$(CC_FOR_BUILD)"; export CC_FOR_BUILD
; \
2557 DLLTOOL
="$(DLLTOOL)"; export DLLTOOL
; \
2558 LD
="$(LD)"; export LD
; \
2559 NM
="$(NM)"; export NM
; \
2560 RANLIB
="$(RANLIB)"; export RANLIB
; \
2561 WINDRES
="$(WINDRES)"; export WINDRES
; \
2562 OBJCOPY
="$(OBJCOPY)"; export OBJCOPY
; \
2563 OBJDUMP
="$(OBJDUMP)"; export OBJDUMP
; \
2565 echo Configuring in flex
; \
2566 cd flex || exit
1; \
2569 srcdiroption
="--srcdir=."; \
2571 /* |
[A-Za-z
]:[\\/]*) \
2572 srcdiroption
="--srcdir=$(srcdir)/flex"; \
2573 libsrcdir
="$$s/flex";; \
2575 srcdiroption
="--srcdir=../$(srcdir)/flex"; \
2576 libsrcdir
="$$s/flex";; \
2578 $(SHELL
) $${libsrcdir}/configure \
2579 $(HOST_CONFIGARGS
) $${srcdiroption} \
2582 .PHONY
: all-flex maybe-all-flex
2584 all-flex
: configure-flex
2585 @r
=`${PWD}`; export r
; \
2586 s
=`cd $(srcdir); ${PWD}`; export s
; \
2588 (cd flex
&& $(MAKE
) $(FLAGS_TO_PASS
) all)
2592 # This module is only tested in a native toolchain.
2594 @if
[ '$(host_canonical)' = '$(target_canonical)' ] ; then \
2595 r
=`${PWD}`; export r
; \
2596 s
=`cd $(srcdir); ${PWD}`; export s
; \
2598 (cd flex
&& $(MAKE
) $(FLAGS_TO_PASS
) check); \
2603 .PHONY
: install-flex maybe-install-flex
2605 install-flex
: installdirs
2606 @r
=`${PWD}`; export r
; \
2607 s
=`cd $(srcdir); ${PWD}`; export s
; \
2609 (cd flex
&& $(MAKE
) $(FLAGS_TO_PASS
) install)
2612 .PHONY
: configure-gas maybe-configure-gas
2613 maybe-configure-gas
:
2615 @
test ! -f gas
/Makefile || exit
0; \
2616 [ -d gas
] || mkdir gas
; \
2617 r
=`${PWD}`; export r
; \
2618 s
=`cd $(srcdir); ${PWD}`; export s
; \
2619 CC
="$(CC)"; export CC
; \
2620 CFLAGS
="$(CFLAGS)"; export CFLAGS
; \
2621 CXX
="$(CXX)"; export CXX
; \
2622 CXXFLAGS
="$(CXXFLAGS)"; export CXXFLAGS
; \
2623 if
[ z
$(build_canonical
) != z
$(host_canoncial
) ] ; then \
2624 AR
="$(AR)"; export AR
; \
2625 AS
="$(AS)"; export AS
; \
2626 CC_FOR_BUILD
="$(CC_FOR_BUILD)"; export CC_FOR_BUILD
; \
2627 DLLTOOL
="$(DLLTOOL)"; export DLLTOOL
; \
2628 LD
="$(LD)"; export LD
; \
2629 NM
="$(NM)"; export NM
; \
2630 RANLIB
="$(RANLIB)"; export RANLIB
; \
2631 WINDRES
="$(WINDRES)"; export WINDRES
; \
2632 OBJCOPY
="$(OBJCOPY)"; export OBJCOPY
; \
2633 OBJDUMP
="$(OBJDUMP)"; export OBJDUMP
; \
2635 echo Configuring in gas
; \
2639 srcdiroption
="--srcdir=."; \
2641 /* |
[A-Za-z
]:[\\/]*) \
2642 srcdiroption
="--srcdir=$(srcdir)/gas"; \
2643 libsrcdir
="$$s/gas";; \
2645 srcdiroption
="--srcdir=../$(srcdir)/gas"; \
2646 libsrcdir
="$$s/gas";; \
2648 $(SHELL
) $${libsrcdir}/configure \
2649 $(HOST_CONFIGARGS
) $${srcdiroption} \
2652 .PHONY
: all-gas maybe-all-gas
2654 all-gas
: configure-gas
2655 @r
=`${PWD}`; export r
; \
2656 s
=`cd $(srcdir); ${PWD}`; export s
; \
2658 (cd gas
&& $(MAKE
) $(FLAGS_TO_PASS
) all)
2663 @r
=`${PWD}`; export r
; \
2664 s
=`cd $(srcdir); ${PWD}`; export s
; \
2666 (cd gas
&& $(MAKE
) $(FLAGS_TO_PASS
) check)
2670 .PHONY
: install-gas maybe-install-gas
2672 install-gas
: installdirs
2673 @r
=`${PWD}`; export r
; \
2674 s
=`cd $(srcdir); ${PWD}`; export s
; \
2676 (cd gas
&& $(MAKE
) $(FLAGS_TO_PASS
) install)
2679 .PHONY
: configure-gawk maybe-configure-gawk
2680 maybe-configure-gawk
:
2682 @
test ! -f gawk
/Makefile || exit
0; \
2683 [ -d gawk
] || mkdir gawk
; \
2684 r
=`${PWD}`; export r
; \
2685 s
=`cd $(srcdir); ${PWD}`; export s
; \
2686 CC
="$(CC)"; export CC
; \
2687 CFLAGS
="$(CFLAGS)"; export CFLAGS
; \
2688 CXX
="$(CXX)"; export CXX
; \
2689 CXXFLAGS
="$(CXXFLAGS)"; export CXXFLAGS
; \
2690 if
[ z
$(build_canonical
) != z
$(host_canoncial
) ] ; then \
2691 AR
="$(AR)"; export AR
; \
2692 AS
="$(AS)"; export AS
; \
2693 CC_FOR_BUILD
="$(CC_FOR_BUILD)"; export CC_FOR_BUILD
; \
2694 DLLTOOL
="$(DLLTOOL)"; export DLLTOOL
; \
2695 LD
="$(LD)"; export LD
; \
2696 NM
="$(NM)"; export NM
; \
2697 RANLIB
="$(RANLIB)"; export RANLIB
; \
2698 WINDRES
="$(WINDRES)"; export WINDRES
; \
2699 OBJCOPY
="$(OBJCOPY)"; export OBJCOPY
; \
2700 OBJDUMP
="$(OBJDUMP)"; export OBJDUMP
; \
2702 echo Configuring in gawk
; \
2703 cd gawk || exit
1; \
2706 srcdiroption
="--srcdir=."; \
2708 /* |
[A-Za-z
]:[\\/]*) \
2709 srcdiroption
="--srcdir=$(srcdir)/gawk"; \
2710 libsrcdir
="$$s/gawk";; \
2712 srcdiroption
="--srcdir=../$(srcdir)/gawk"; \
2713 libsrcdir
="$$s/gawk";; \
2715 $(SHELL
) $${libsrcdir}/configure \
2716 $(HOST_CONFIGARGS
) $${srcdiroption} \
2719 .PHONY
: all-gawk maybe-all-gawk
2721 all-gawk
: configure-gawk
2722 @r
=`${PWD}`; export r
; \
2723 s
=`cd $(srcdir); ${PWD}`; export s
; \
2725 (cd gawk
&& $(MAKE
) $(FLAGS_TO_PASS
) all)
2730 @r
=`${PWD}`; export r
; \
2731 s
=`cd $(srcdir); ${PWD}`; export s
; \
2733 (cd gawk
&& $(MAKE
) $(FLAGS_TO_PASS
) check)
2737 .PHONY
: install-gawk maybe-install-gawk
2739 install-gawk
: installdirs
2740 @r
=`${PWD}`; export r
; \
2741 s
=`cd $(srcdir); ${PWD}`; export s
; \
2743 (cd gawk
&& $(MAKE
) $(FLAGS_TO_PASS
) install)
2746 .PHONY
: configure-gettext maybe-configure-gettext
2747 maybe-configure-gettext
:
2749 @
test ! -f gettext
/Makefile || exit
0; \
2750 [ -d gettext
] || mkdir gettext
; \
2751 r
=`${PWD}`; export r
; \
2752 s
=`cd $(srcdir); ${PWD}`; export s
; \
2753 CC
="$(CC)"; export CC
; \
2754 CFLAGS
="$(CFLAGS)"; export CFLAGS
; \
2755 CXX
="$(CXX)"; export CXX
; \
2756 CXXFLAGS
="$(CXXFLAGS)"; export CXXFLAGS
; \
2757 if
[ z
$(build_canonical
) != z
$(host_canoncial
) ] ; then \
2758 AR
="$(AR)"; export AR
; \
2759 AS
="$(AS)"; export AS
; \
2760 CC_FOR_BUILD
="$(CC_FOR_BUILD)"; export CC_FOR_BUILD
; \
2761 DLLTOOL
="$(DLLTOOL)"; export DLLTOOL
; \
2762 LD
="$(LD)"; export LD
; \
2763 NM
="$(NM)"; export NM
; \
2764 RANLIB
="$(RANLIB)"; export RANLIB
; \
2765 WINDRES
="$(WINDRES)"; export WINDRES
; \
2766 OBJCOPY
="$(OBJCOPY)"; export OBJCOPY
; \
2767 OBJDUMP
="$(OBJDUMP)"; export OBJDUMP
; \
2769 echo Configuring in gettext
; \
2770 cd gettext || exit
1; \
2773 srcdiroption
="--srcdir=."; \
2775 /* |
[A-Za-z
]:[\\/]*) \
2776 srcdiroption
="--srcdir=$(srcdir)/gettext"; \
2777 libsrcdir
="$$s/gettext";; \
2779 srcdiroption
="--srcdir=../$(srcdir)/gettext"; \
2780 libsrcdir
="$$s/gettext";; \
2782 $(SHELL
) $${libsrcdir}/configure \
2783 $(HOST_CONFIGARGS
) $${srcdiroption} \
2786 .PHONY
: all-gettext maybe-all-gettext
2788 all-gettext
: configure-gettext
2789 @r
=`${PWD}`; export r
; \
2790 s
=`cd $(srcdir); ${PWD}`; export s
; \
2792 (cd gettext
&& $(MAKE
) $(FLAGS_TO_PASS
) all)
2795 .PHONY
: check-gettext
2797 @r
=`${PWD}`; export r
; \
2798 s
=`cd $(srcdir); ${PWD}`; export s
; \
2800 (cd gettext
&& $(MAKE
) $(FLAGS_TO_PASS
) check)
2804 .PHONY
: install-gettext maybe-install-gettext
2805 maybe-install-gettext
:
2806 install-gettext
: installdirs
2807 @r
=`${PWD}`; export r
; \
2808 s
=`cd $(srcdir); ${PWD}`; export s
; \
2810 (cd gettext
&& $(MAKE
) $(FLAGS_TO_PASS
) install)
2813 .PHONY
: configure-gnuserv maybe-configure-gnuserv
2814 maybe-configure-gnuserv
:
2816 @
test ! -f gnuserv
/Makefile || exit
0; \
2817 [ -d gnuserv
] || mkdir gnuserv
; \
2818 r
=`${PWD}`; export r
; \
2819 s
=`cd $(srcdir); ${PWD}`; export s
; \
2820 CC
="$(CC)"; export CC
; \
2821 CFLAGS
="$(CFLAGS)"; export CFLAGS
; \
2822 CXX
="$(CXX)"; export CXX
; \
2823 CXXFLAGS
="$(CXXFLAGS)"; export CXXFLAGS
; \
2824 if
[ z
$(build_canonical
) != z
$(host_canoncial
) ] ; then \
2825 AR
="$(AR)"; export AR
; \
2826 AS
="$(AS)"; export AS
; \
2827 CC_FOR_BUILD
="$(CC_FOR_BUILD)"; export CC_FOR_BUILD
; \
2828 DLLTOOL
="$(DLLTOOL)"; export DLLTOOL
; \
2829 LD
="$(LD)"; export LD
; \
2830 NM
="$(NM)"; export NM
; \
2831 RANLIB
="$(RANLIB)"; export RANLIB
; \
2832 WINDRES
="$(WINDRES)"; export WINDRES
; \
2833 OBJCOPY
="$(OBJCOPY)"; export OBJCOPY
; \
2834 OBJDUMP
="$(OBJDUMP)"; export OBJDUMP
; \
2836 echo Configuring in gnuserv
; \
2837 cd gnuserv || exit
1; \
2840 srcdiroption
="--srcdir=."; \
2842 /* |
[A-Za-z
]:[\\/]*) \
2843 srcdiroption
="--srcdir=$(srcdir)/gnuserv"; \
2844 libsrcdir
="$$s/gnuserv";; \
2846 srcdiroption
="--srcdir=../$(srcdir)/gnuserv"; \
2847 libsrcdir
="$$s/gnuserv";; \
2849 $(SHELL
) $${libsrcdir}/configure \
2850 $(HOST_CONFIGARGS
) $${srcdiroption} \
2853 .PHONY
: all-gnuserv maybe-all-gnuserv
2855 all-gnuserv
: configure-gnuserv
2856 @r
=`${PWD}`; export r
; \
2857 s
=`cd $(srcdir); ${PWD}`; export s
; \
2859 (cd gnuserv
&& $(MAKE
) $(FLAGS_TO_PASS
) all)
2862 .PHONY
: check-gnuserv
2864 @r
=`${PWD}`; export r
; \
2865 s
=`cd $(srcdir); ${PWD}`; export s
; \
2867 (cd gnuserv
&& $(MAKE
) $(FLAGS_TO_PASS
) check)
2871 .PHONY
: install-gnuserv maybe-install-gnuserv
2872 maybe-install-gnuserv
:
2873 install-gnuserv
: installdirs
2874 @r
=`${PWD}`; export r
; \
2875 s
=`cd $(srcdir); ${PWD}`; export s
; \
2877 (cd gnuserv
&& $(MAKE
) $(FLAGS_TO_PASS
) install)
2880 .PHONY
: configure-gprof maybe-configure-gprof
2881 maybe-configure-gprof
:
2883 @
test ! -f gprof
/Makefile || exit
0; \
2884 [ -d gprof
] || mkdir gprof
; \
2885 r
=`${PWD}`; export r
; \
2886 s
=`cd $(srcdir); ${PWD}`; export s
; \
2887 CC
="$(CC)"; export CC
; \
2888 CFLAGS
="$(CFLAGS)"; export CFLAGS
; \
2889 CXX
="$(CXX)"; export CXX
; \
2890 CXXFLAGS
="$(CXXFLAGS)"; export CXXFLAGS
; \
2891 if
[ z
$(build_canonical
) != z
$(host_canoncial
) ] ; then \
2892 AR
="$(AR)"; export AR
; \
2893 AS
="$(AS)"; export AS
; \
2894 CC_FOR_BUILD
="$(CC_FOR_BUILD)"; export CC_FOR_BUILD
; \
2895 DLLTOOL
="$(DLLTOOL)"; export DLLTOOL
; \
2896 LD
="$(LD)"; export LD
; \
2897 NM
="$(NM)"; export NM
; \
2898 RANLIB
="$(RANLIB)"; export RANLIB
; \
2899 WINDRES
="$(WINDRES)"; export WINDRES
; \
2900 OBJCOPY
="$(OBJCOPY)"; export OBJCOPY
; \
2901 OBJDUMP
="$(OBJDUMP)"; export OBJDUMP
; \
2903 echo Configuring in gprof
; \
2904 cd gprof || exit
1; \
2907 srcdiroption
="--srcdir=."; \
2909 /* |
[A-Za-z
]:[\\/]*) \
2910 srcdiroption
="--srcdir=$(srcdir)/gprof"; \
2911 libsrcdir
="$$s/gprof";; \
2913 srcdiroption
="--srcdir=../$(srcdir)/gprof"; \
2914 libsrcdir
="$$s/gprof";; \
2916 $(SHELL
) $${libsrcdir}/configure \
2917 $(HOST_CONFIGARGS
) $${srcdiroption} \
2920 .PHONY
: all-gprof maybe-all-gprof
2922 all-gprof
: configure-gprof
2923 @r
=`${PWD}`; export r
; \
2924 s
=`cd $(srcdir); ${PWD}`; export s
; \
2926 (cd gprof
&& $(MAKE
) $(FLAGS_TO_PASS
) all)
2931 @r
=`${PWD}`; export r
; \
2932 s
=`cd $(srcdir); ${PWD}`; export s
; \
2934 (cd gprof
&& $(MAKE
) $(FLAGS_TO_PASS
) check)
2938 .PHONY
: install-gprof maybe-install-gprof
2939 maybe-install-gprof
:
2940 install-gprof
: installdirs
2941 @r
=`${PWD}`; export r
; \
2942 s
=`cd $(srcdir); ${PWD}`; export s
; \
2944 (cd gprof
&& $(MAKE
) $(FLAGS_TO_PASS
) install)
2947 .PHONY
: configure-gzip maybe-configure-gzip
2948 maybe-configure-gzip
:
2950 @
test ! -f gzip
/Makefile || exit
0; \
2951 [ -d gzip
] || mkdir gzip
; \
2952 r
=`${PWD}`; export r
; \
2953 s
=`cd $(srcdir); ${PWD}`; export s
; \
2954 CC
="$(CC)"; export CC
; \
2955 CFLAGS
="$(CFLAGS)"; export CFLAGS
; \
2956 CXX
="$(CXX)"; export CXX
; \
2957 CXXFLAGS
="$(CXXFLAGS)"; export CXXFLAGS
; \
2958 if
[ z
$(build_canonical
) != z
$(host_canoncial
) ] ; then \
2959 AR
="$(AR)"; export AR
; \
2960 AS
="$(AS)"; export AS
; \
2961 CC_FOR_BUILD
="$(CC_FOR_BUILD)"; export CC_FOR_BUILD
; \
2962 DLLTOOL
="$(DLLTOOL)"; export DLLTOOL
; \
2963 LD
="$(LD)"; export LD
; \
2964 NM
="$(NM)"; export NM
; \
2965 RANLIB
="$(RANLIB)"; export RANLIB
; \
2966 WINDRES
="$(WINDRES)"; export WINDRES
; \
2967 OBJCOPY
="$(OBJCOPY)"; export OBJCOPY
; \
2968 OBJDUMP
="$(OBJDUMP)"; export OBJDUMP
; \
2970 echo Configuring in gzip
; \
2971 cd gzip || exit
1; \
2974 srcdiroption
="--srcdir=."; \
2976 /* |
[A-Za-z
]:[\\/]*) \
2977 srcdiroption
="--srcdir=$(srcdir)/gzip"; \
2978 libsrcdir
="$$s/gzip";; \
2980 srcdiroption
="--srcdir=../$(srcdir)/gzip"; \
2981 libsrcdir
="$$s/gzip";; \
2983 $(SHELL
) $${libsrcdir}/configure \
2984 $(HOST_CONFIGARGS
) $${srcdiroption} \
2987 .PHONY
: all-gzip maybe-all-gzip
2989 all-gzip
: configure-gzip
2990 @r
=`${PWD}`; export r
; \
2991 s
=`cd $(srcdir); ${PWD}`; export s
; \
2993 (cd gzip
&& $(MAKE
) $(FLAGS_TO_PASS
) all)
2998 @r
=`${PWD}`; export r
; \
2999 s
=`cd $(srcdir); ${PWD}`; export s
; \
3001 (cd gzip
&& $(MAKE
) $(FLAGS_TO_PASS
) check)
3005 .PHONY
: install-gzip maybe-install-gzip
3007 install-gzip
: installdirs
3008 @r
=`${PWD}`; export r
; \
3009 s
=`cd $(srcdir); ${PWD}`; export s
; \
3011 (cd gzip
&& $(MAKE
) $(FLAGS_TO_PASS
) install)
3014 .PHONY
: configure-hello maybe-configure-hello
3015 maybe-configure-hello
:
3017 @
test ! -f hello
/Makefile || exit
0; \
3018 [ -d hello
] || mkdir hello
; \
3019 r
=`${PWD}`; export r
; \
3020 s
=`cd $(srcdir); ${PWD}`; export s
; \
3021 CC
="$(CC)"; export CC
; \
3022 CFLAGS
="$(CFLAGS)"; export CFLAGS
; \
3023 CXX
="$(CXX)"; export CXX
; \
3024 CXXFLAGS
="$(CXXFLAGS)"; export CXXFLAGS
; \
3025 if
[ z
$(build_canonical
) != z
$(host_canoncial
) ] ; then \
3026 AR
="$(AR)"; export AR
; \
3027 AS
="$(AS)"; export AS
; \
3028 CC_FOR_BUILD
="$(CC_FOR_BUILD)"; export CC_FOR_BUILD
; \
3029 DLLTOOL
="$(DLLTOOL)"; export DLLTOOL
; \
3030 LD
="$(LD)"; export LD
; \
3031 NM
="$(NM)"; export NM
; \
3032 RANLIB
="$(RANLIB)"; export RANLIB
; \
3033 WINDRES
="$(WINDRES)"; export WINDRES
; \
3034 OBJCOPY
="$(OBJCOPY)"; export OBJCOPY
; \
3035 OBJDUMP
="$(OBJDUMP)"; export OBJDUMP
; \
3037 echo Configuring in hello
; \
3038 cd hello || exit
1; \
3041 srcdiroption
="--srcdir=."; \
3043 /* |
[A-Za-z
]:[\\/]*) \
3044 srcdiroption
="--srcdir=$(srcdir)/hello"; \
3045 libsrcdir
="$$s/hello";; \
3047 srcdiroption
="--srcdir=../$(srcdir)/hello"; \
3048 libsrcdir
="$$s/hello";; \
3050 $(SHELL
) $${libsrcdir}/configure \
3051 $(HOST_CONFIGARGS
) $${srcdiroption} \
3054 .PHONY
: all-hello maybe-all-hello
3056 all-hello
: configure-hello
3057 @r
=`${PWD}`; export r
; \
3058 s
=`cd $(srcdir); ${PWD}`; export s
; \
3060 (cd hello
&& $(MAKE
) $(FLAGS_TO_PASS
) all)
3065 @r
=`${PWD}`; export r
; \
3066 s
=`cd $(srcdir); ${PWD}`; export s
; \
3068 (cd hello
&& $(MAKE
) $(FLAGS_TO_PASS
) check)
3072 .PHONY
: install-hello maybe-install-hello
3073 maybe-install-hello
:
3074 install-hello
: installdirs
3075 @r
=`${PWD}`; export r
; \
3076 s
=`cd $(srcdir); ${PWD}`; export s
; \
3078 (cd hello
&& $(MAKE
) $(FLAGS_TO_PASS
) install)
3081 .PHONY
: configure-indent maybe-configure-indent
3082 maybe-configure-indent
:
3084 @
test ! -f indent
/Makefile || exit
0; \
3085 [ -d indent
] || mkdir indent
; \
3086 r
=`${PWD}`; export r
; \
3087 s
=`cd $(srcdir); ${PWD}`; export s
; \
3088 CC
="$(CC)"; export CC
; \
3089 CFLAGS
="$(CFLAGS)"; export CFLAGS
; \
3090 CXX
="$(CXX)"; export CXX
; \
3091 CXXFLAGS
="$(CXXFLAGS)"; export CXXFLAGS
; \
3092 if
[ z
$(build_canonical
) != z
$(host_canoncial
) ] ; then \
3093 AR
="$(AR)"; export AR
; \
3094 AS
="$(AS)"; export AS
; \
3095 CC_FOR_BUILD
="$(CC_FOR_BUILD)"; export CC_FOR_BUILD
; \
3096 DLLTOOL
="$(DLLTOOL)"; export DLLTOOL
; \
3097 LD
="$(LD)"; export LD
; \
3098 NM
="$(NM)"; export NM
; \
3099 RANLIB
="$(RANLIB)"; export RANLIB
; \
3100 WINDRES
="$(WINDRES)"; export WINDRES
; \
3101 OBJCOPY
="$(OBJCOPY)"; export OBJCOPY
; \
3102 OBJDUMP
="$(OBJDUMP)"; export OBJDUMP
; \
3104 echo Configuring in indent
; \
3105 cd indent || exit
1; \
3108 srcdiroption
="--srcdir=."; \
3110 /* |
[A-Za-z
]:[\\/]*) \
3111 srcdiroption
="--srcdir=$(srcdir)/indent"; \
3112 libsrcdir
="$$s/indent";; \
3114 srcdiroption
="--srcdir=../$(srcdir)/indent"; \
3115 libsrcdir
="$$s/indent";; \
3117 $(SHELL
) $${libsrcdir}/configure \
3118 $(HOST_CONFIGARGS
) $${srcdiroption} \
3121 .PHONY
: all-indent maybe-all-indent
3123 all-indent
: configure-indent
3124 @r
=`${PWD}`; export r
; \
3125 s
=`cd $(srcdir); ${PWD}`; export s
; \
3127 (cd indent
&& $(MAKE
) $(FLAGS_TO_PASS
) all)
3130 .PHONY
: check-indent
3132 @r
=`${PWD}`; export r
; \
3133 s
=`cd $(srcdir); ${PWD}`; export s
; \
3135 (cd indent
&& $(MAKE
) $(FLAGS_TO_PASS
) check)
3139 .PHONY
: install-indent maybe-install-indent
3140 maybe-install-indent
:
3141 install-indent
: installdirs
3142 @r
=`${PWD}`; export r
; \
3143 s
=`cd $(srcdir); ${PWD}`; export s
; \
3145 (cd indent
&& $(MAKE
) $(FLAGS_TO_PASS
) install)
3148 .PHONY
: configure-intl maybe-configure-intl
3149 maybe-configure-intl
:
3151 @
test ! -f intl
/Makefile || exit
0; \
3152 [ -d intl
] || mkdir intl
; \
3153 r
=`${PWD}`; export r
; \
3154 s
=`cd $(srcdir); ${PWD}`; export s
; \
3155 CC
="$(CC)"; export CC
; \
3156 CFLAGS
="$(CFLAGS)"; export CFLAGS
; \
3157 CXX
="$(CXX)"; export CXX
; \
3158 CXXFLAGS
="$(CXXFLAGS)"; export CXXFLAGS
; \
3159 if
[ z
$(build_canonical
) != z
$(host_canoncial
) ] ; then \
3160 AR
="$(AR)"; export AR
; \
3161 AS
="$(AS)"; export AS
; \
3162 CC_FOR_BUILD
="$(CC_FOR_BUILD)"; export CC_FOR_BUILD
; \
3163 DLLTOOL
="$(DLLTOOL)"; export DLLTOOL
; \
3164 LD
="$(LD)"; export LD
; \
3165 NM
="$(NM)"; export NM
; \
3166 RANLIB
="$(RANLIB)"; export RANLIB
; \
3167 WINDRES
="$(WINDRES)"; export WINDRES
; \
3168 OBJCOPY
="$(OBJCOPY)"; export OBJCOPY
; \
3169 OBJDUMP
="$(OBJDUMP)"; export OBJDUMP
; \
3171 echo Configuring in intl
; \
3172 cd intl || exit
1; \
3175 srcdiroption
="--srcdir=."; \
3177 /* |
[A-Za-z
]:[\\/]*) \
3178 srcdiroption
="--srcdir=$(srcdir)/intl"; \
3179 libsrcdir
="$$s/intl";; \
3181 srcdiroption
="--srcdir=../$(srcdir)/intl"; \
3182 libsrcdir
="$$s/intl";; \
3184 $(SHELL
) $${libsrcdir}/configure \
3185 $(HOST_CONFIGARGS
) $${srcdiroption} \
3188 .PHONY
: all-intl maybe-all-intl
3190 all-intl
: configure-intl
3191 @r
=`${PWD}`; export r
; \
3192 s
=`cd $(srcdir); ${PWD}`; export s
; \
3194 (cd intl
&& $(MAKE
) $(FLAGS_TO_PASS
) all)
3199 @r
=`${PWD}`; export r
; \
3200 s
=`cd $(srcdir); ${PWD}`; export s
; \
3202 (cd intl
&& $(MAKE
) $(FLAGS_TO_PASS
) check)
3206 .PHONY
: install-intl maybe-install-intl
3208 install-intl
: installdirs
3209 @r
=`${PWD}`; export r
; \
3210 s
=`cd $(srcdir); ${PWD}`; export s
; \
3212 (cd intl
&& $(MAKE
) $(FLAGS_TO_PASS
) install)
3215 .PHONY
: configure-tcl maybe-configure-tcl
3216 maybe-configure-tcl
:
3218 @
test ! -f tcl
/Makefile || exit
0; \
3219 [ -d tcl
] || mkdir tcl
; \
3220 r
=`${PWD}`; export r
; \
3221 s
=`cd $(srcdir); ${PWD}`; export s
; \
3222 CC
="$(CC)"; export CC
; \
3223 CFLAGS
="$(CFLAGS)"; export CFLAGS
; \
3224 CXX
="$(CXX)"; export CXX
; \
3225 CXXFLAGS
="$(CXXFLAGS)"; export CXXFLAGS
; \
3226 if
[ z
$(build_canonical
) != z
$(host_canoncial
) ] ; then \
3227 AR
="$(AR)"; export AR
; \
3228 AS
="$(AS)"; export AS
; \
3229 CC_FOR_BUILD
="$(CC_FOR_BUILD)"; export CC_FOR_BUILD
; \
3230 DLLTOOL
="$(DLLTOOL)"; export DLLTOOL
; \
3231 LD
="$(LD)"; export LD
; \
3232 NM
="$(NM)"; export NM
; \
3233 RANLIB
="$(RANLIB)"; export RANLIB
; \
3234 WINDRES
="$(WINDRES)"; export WINDRES
; \
3235 OBJCOPY
="$(OBJCOPY)"; export OBJCOPY
; \
3236 OBJDUMP
="$(OBJDUMP)"; export OBJDUMP
; \
3238 echo Configuring in tcl
; \
3242 srcdiroption
="--srcdir=."; \
3244 /* |
[A-Za-z
]:[\\/]*) \
3245 srcdiroption
="--srcdir=$(srcdir)/tcl"; \
3246 libsrcdir
="$$s/tcl";; \
3248 srcdiroption
="--srcdir=../$(srcdir)/tcl"; \
3249 libsrcdir
="$$s/tcl";; \
3251 $(SHELL
) $${libsrcdir}/configure \
3252 $(HOST_CONFIGARGS
) $${srcdiroption} \
3255 .PHONY
: all-tcl maybe-all-tcl
3257 all-tcl
: configure-tcl
3258 @r
=`${PWD}`; export r
; \
3259 s
=`cd $(srcdir); ${PWD}`; export s
; \
3261 (cd tcl
&& $(MAKE
) $(FLAGS_TO_PASS
) all)
3266 @r
=`${PWD}`; export r
; \
3267 s
=`cd $(srcdir); ${PWD}`; export s
; \
3269 (cd tcl
&& $(MAKE
) $(FLAGS_TO_PASS
) check)
3273 .PHONY
: install-tcl maybe-install-tcl
3275 install-tcl
: installdirs
3276 @r
=`${PWD}`; export r
; \
3277 s
=`cd $(srcdir); ${PWD}`; export s
; \
3279 (cd tcl
&& $(MAKE
) $(FLAGS_TO_PASS
) install)
3282 .PHONY
: configure-itcl maybe-configure-itcl
3283 maybe-configure-itcl
:
3285 @
test ! -f itcl
/Makefile || exit
0; \
3286 [ -d itcl
] || mkdir itcl
; \
3287 r
=`${PWD}`; export r
; \
3288 s
=`cd $(srcdir); ${PWD}`; export s
; \
3289 CC
="$(CC)"; export CC
; \
3290 CFLAGS
="$(CFLAGS)"; export CFLAGS
; \
3291 CXX
="$(CXX)"; export CXX
; \
3292 CXXFLAGS
="$(CXXFLAGS)"; export CXXFLAGS
; \
3293 if
[ z
$(build_canonical
) != z
$(host_canoncial
) ] ; then \
3294 AR
="$(AR)"; export AR
; \
3295 AS
="$(AS)"; export AS
; \
3296 CC_FOR_BUILD
="$(CC_FOR_BUILD)"; export CC_FOR_BUILD
; \
3297 DLLTOOL
="$(DLLTOOL)"; export DLLTOOL
; \
3298 LD
="$(LD)"; export LD
; \
3299 NM
="$(NM)"; export NM
; \
3300 RANLIB
="$(RANLIB)"; export RANLIB
; \
3301 WINDRES
="$(WINDRES)"; export WINDRES
; \
3302 OBJCOPY
="$(OBJCOPY)"; export OBJCOPY
; \
3303 OBJDUMP
="$(OBJDUMP)"; export OBJDUMP
; \
3305 echo Configuring in itcl
; \
3306 cd itcl || exit
1; \
3309 srcdiroption
="--srcdir=."; \
3311 /* |
[A-Za-z
]:[\\/]*) \
3312 srcdiroption
="--srcdir=$(srcdir)/itcl"; \
3313 libsrcdir
="$$s/itcl";; \
3315 srcdiroption
="--srcdir=../$(srcdir)/itcl"; \
3316 libsrcdir
="$$s/itcl";; \
3318 $(SHELL
) $${libsrcdir}/configure \
3319 $(HOST_CONFIGARGS
) $${srcdiroption} \
3322 .PHONY
: all-itcl maybe-all-itcl
3324 all-itcl
: configure-itcl
3325 @r
=`${PWD}`; export r
; \
3326 s
=`cd $(srcdir); ${PWD}`; export s
; \
3328 (cd itcl
&& $(MAKE
) $(FLAGS_TO_PASS
) all)
3333 @r
=`${PWD}`; export r
; \
3334 s
=`cd $(srcdir); ${PWD}`; export s
; \
3336 (cd itcl
&& $(MAKE
) $(FLAGS_TO_PASS
) check)
3340 .PHONY
: install-itcl maybe-install-itcl
3342 install-itcl
: installdirs
3343 @r
=`${PWD}`; export r
; \
3344 s
=`cd $(srcdir); ${PWD}`; export s
; \
3346 (cd itcl
&& $(MAKE
) $(FLAGS_TO_PASS
) install)
3349 .PHONY
: configure-ld maybe-configure-ld
3352 @
test ! -f
ld/Makefile || exit
0; \
3353 [ -d
ld ] || mkdir
ld; \
3354 r
=`${PWD}`; export r
; \
3355 s
=`cd $(srcdir); ${PWD}`; export s
; \
3356 CC
="$(CC)"; export CC
; \
3357 CFLAGS
="$(CFLAGS)"; export CFLAGS
; \
3358 CXX
="$(CXX)"; export CXX
; \
3359 CXXFLAGS
="$(CXXFLAGS)"; export CXXFLAGS
; \
3360 if
[ z
$(build_canonical
) != z
$(host_canoncial
) ] ; then \
3361 AR
="$(AR)"; export AR
; \
3362 AS
="$(AS)"; export AS
; \
3363 CC_FOR_BUILD
="$(CC_FOR_BUILD)"; export CC_FOR_BUILD
; \
3364 DLLTOOL
="$(DLLTOOL)"; export DLLTOOL
; \
3365 LD
="$(LD)"; export LD
; \
3366 NM
="$(NM)"; export NM
; \
3367 RANLIB
="$(RANLIB)"; export RANLIB
; \
3368 WINDRES
="$(WINDRES)"; export WINDRES
; \
3369 OBJCOPY
="$(OBJCOPY)"; export OBJCOPY
; \
3370 OBJDUMP
="$(OBJDUMP)"; export OBJDUMP
; \
3372 echo Configuring in
ld; \
3376 srcdiroption
="--srcdir=."; \
3378 /* |
[A-Za-z
]:[\\/]*) \
3379 srcdiroption
="--srcdir=$(srcdir)/ld"; \
3380 libsrcdir
="$$s/ld";; \
3382 srcdiroption
="--srcdir=../$(srcdir)/ld"; \
3383 libsrcdir
="$$s/ld";; \
3385 $(SHELL
) $${libsrcdir}/configure \
3386 $(HOST_CONFIGARGS
) $${srcdiroption} \
3389 .PHONY
: all-ld maybe-all-ld
3391 all-ld
: configure-ld
3392 @r
=`${PWD}`; export r
; \
3393 s
=`cd $(srcdir); ${PWD}`; export s
; \
3395 (cd
ld && $(MAKE
) $(FLAGS_TO_PASS
) all)
3400 @r
=`${PWD}`; export r
; \
3401 s
=`cd $(srcdir); ${PWD}`; export s
; \
3403 (cd
ld && $(MAKE
) $(FLAGS_TO_PASS
) check)
3407 .PHONY
: install-ld maybe-install-ld
3409 install-ld
: installdirs
3410 @r
=`${PWD}`; export r
; \
3411 s
=`cd $(srcdir); ${PWD}`; export s
; \
3413 (cd
ld && $(MAKE
) $(FLAGS_TO_PASS
) install)
3416 .PHONY
: configure-libgui maybe-configure-libgui
3417 maybe-configure-libgui
:
3419 @
test ! -f libgui
/Makefile || exit
0; \
3420 [ -d libgui
] || mkdir libgui
; \
3421 r
=`${PWD}`; export r
; \
3422 s
=`cd $(srcdir); ${PWD}`; export s
; \
3423 CC
="$(CC)"; export CC
; \
3424 CFLAGS
="$(CFLAGS)"; export CFLAGS
; \
3425 CXX
="$(CXX)"; export CXX
; \
3426 CXXFLAGS
="$(CXXFLAGS)"; export CXXFLAGS
; \
3427 if
[ z
$(build_canonical
) != z
$(host_canoncial
) ] ; then \
3428 AR
="$(AR)"; export AR
; \
3429 AS
="$(AS)"; export AS
; \
3430 CC_FOR_BUILD
="$(CC_FOR_BUILD)"; export CC_FOR_BUILD
; \
3431 DLLTOOL
="$(DLLTOOL)"; export DLLTOOL
; \
3432 LD
="$(LD)"; export LD
; \
3433 NM
="$(NM)"; export NM
; \
3434 RANLIB
="$(RANLIB)"; export RANLIB
; \
3435 WINDRES
="$(WINDRES)"; export WINDRES
; \
3436 OBJCOPY
="$(OBJCOPY)"; export OBJCOPY
; \
3437 OBJDUMP
="$(OBJDUMP)"; export OBJDUMP
; \
3439 echo Configuring in libgui
; \
3440 cd libgui || exit
1; \
3443 srcdiroption
="--srcdir=."; \
3445 /* |
[A-Za-z
]:[\\/]*) \
3446 srcdiroption
="--srcdir=$(srcdir)/libgui"; \
3447 libsrcdir
="$$s/libgui";; \
3449 srcdiroption
="--srcdir=../$(srcdir)/libgui"; \
3450 libsrcdir
="$$s/libgui";; \
3452 $(SHELL
) $${libsrcdir}/configure \
3453 $(HOST_CONFIGARGS
) $${srcdiroption} \
3456 .PHONY
: all-libgui maybe-all-libgui
3458 all-libgui
: configure-libgui
3459 @r
=`${PWD}`; export r
; \
3460 s
=`cd $(srcdir); ${PWD}`; export s
; \
3462 (cd libgui
&& $(MAKE
) $(FLAGS_TO_PASS
) all)
3465 .PHONY
: check-libgui
3467 @r
=`${PWD}`; export r
; \
3468 s
=`cd $(srcdir); ${PWD}`; export s
; \
3470 (cd libgui
&& $(MAKE
) $(FLAGS_TO_PASS
) check)
3474 .PHONY
: install-libgui maybe-install-libgui
3475 maybe-install-libgui
:
3476 install-libgui
: installdirs
3477 @r
=`${PWD}`; export r
; \
3478 s
=`cd $(srcdir); ${PWD}`; export s
; \
3480 (cd libgui
&& $(MAKE
) $(FLAGS_TO_PASS
) install)
3483 .PHONY
: configure-libiberty maybe-configure-libiberty
3484 maybe-configure-libiberty
:
3485 configure-libiberty
:
3486 @
test ! -f libiberty
/Makefile || exit
0; \
3487 [ -d libiberty
] || mkdir libiberty
; \
3488 r
=`${PWD}`; export r
; \
3489 s
=`cd $(srcdir); ${PWD}`; export s
; \
3490 CC
="$(CC)"; export CC
; \
3491 CFLAGS
="$(CFLAGS)"; export CFLAGS
; \
3492 CXX
="$(CXX)"; export CXX
; \
3493 CXXFLAGS
="$(CXXFLAGS)"; export CXXFLAGS
; \
3494 if
[ z
$(build_canonical
) != z
$(host_canoncial
) ] ; then \
3495 AR
="$(AR)"; export AR
; \
3496 AS
="$(AS)"; export AS
; \
3497 CC_FOR_BUILD
="$(CC_FOR_BUILD)"; export CC_FOR_BUILD
; \
3498 DLLTOOL
="$(DLLTOOL)"; export DLLTOOL
; \
3499 LD
="$(LD)"; export LD
; \
3500 NM
="$(NM)"; export NM
; \
3501 RANLIB
="$(RANLIB)"; export RANLIB
; \
3502 WINDRES
="$(WINDRES)"; export WINDRES
; \
3503 OBJCOPY
="$(OBJCOPY)"; export OBJCOPY
; \
3504 OBJDUMP
="$(OBJDUMP)"; export OBJDUMP
; \
3506 echo Configuring in libiberty
; \
3507 cd libiberty || exit
1; \
3510 srcdiroption
="--srcdir=."; \
3512 /* |
[A-Za-z
]:[\\/]*) \
3513 srcdiroption
="--srcdir=$(srcdir)/libiberty"; \
3514 libsrcdir
="$$s/libiberty";; \
3516 srcdiroption
="--srcdir=../$(srcdir)/libiberty"; \
3517 libsrcdir
="$$s/libiberty";; \
3519 $(SHELL
) $${libsrcdir}/configure \
3520 $(HOST_CONFIGARGS
) $${srcdiroption} \
3523 .PHONY
: all-libiberty maybe-all-libiberty
3524 maybe-all-libiberty
:
3525 all-libiberty
: configure-libiberty
3526 @r
=`${PWD}`; export r
; \
3527 s
=`cd $(srcdir); ${PWD}`; export s
; \
3529 (cd libiberty
&& $(MAKE
) $(FLAGS_TO_PASS
) all)
3532 .PHONY
: check-libiberty
3534 @r
=`${PWD}`; export r
; \
3535 s
=`cd $(srcdir); ${PWD}`; export s
; \
3537 (cd libiberty
&& $(MAKE
) $(FLAGS_TO_PASS
) check)
3541 .PHONY
: install-libiberty maybe-install-libiberty
3542 maybe-install-libiberty
:
3543 install-libiberty
: installdirs
3544 @r
=`${PWD}`; export r
; \
3545 s
=`cd $(srcdir); ${PWD}`; export s
; \
3547 (cd libiberty
&& $(MAKE
) $(FLAGS_TO_PASS
) install)
3550 .PHONY
: configure-libtool maybe-configure-libtool
3551 maybe-configure-libtool
:
3553 @
test ! -f libtool
/Makefile || exit
0; \
3554 [ -d libtool
] || mkdir libtool
; \
3555 r
=`${PWD}`; export r
; \
3556 s
=`cd $(srcdir); ${PWD}`; export s
; \
3557 CC
="$(CC)"; export CC
; \
3558 CFLAGS
="$(CFLAGS)"; export CFLAGS
; \
3559 CXX
="$(CXX)"; export CXX
; \
3560 CXXFLAGS
="$(CXXFLAGS)"; export CXXFLAGS
; \
3561 if
[ z
$(build_canonical
) != z
$(host_canoncial
) ] ; then \
3562 AR
="$(AR)"; export AR
; \
3563 AS
="$(AS)"; export AS
; \
3564 CC_FOR_BUILD
="$(CC_FOR_BUILD)"; export CC_FOR_BUILD
; \
3565 DLLTOOL
="$(DLLTOOL)"; export DLLTOOL
; \
3566 LD
="$(LD)"; export LD
; \
3567 NM
="$(NM)"; export NM
; \
3568 RANLIB
="$(RANLIB)"; export RANLIB
; \
3569 WINDRES
="$(WINDRES)"; export WINDRES
; \
3570 OBJCOPY
="$(OBJCOPY)"; export OBJCOPY
; \
3571 OBJDUMP
="$(OBJDUMP)"; export OBJDUMP
; \
3573 echo Configuring in libtool
; \
3574 cd libtool || exit
1; \
3577 srcdiroption
="--srcdir=."; \
3579 /* |
[A-Za-z
]:[\\/]*) \
3580 srcdiroption
="--srcdir=$(srcdir)/libtool"; \
3581 libsrcdir
="$$s/libtool";; \
3583 srcdiroption
="--srcdir=../$(srcdir)/libtool"; \
3584 libsrcdir
="$$s/libtool";; \
3586 $(SHELL
) $${libsrcdir}/configure \
3587 $(HOST_CONFIGARGS
) $${srcdiroption} \
3590 .PHONY
: all-libtool maybe-all-libtool
3592 all-libtool
: configure-libtool
3593 @r
=`${PWD}`; export r
; \
3594 s
=`cd $(srcdir); ${PWD}`; export s
; \
3596 (cd libtool
&& $(MAKE
) $(FLAGS_TO_PASS
) all)
3599 .PHONY
: check-libtool
3601 @r
=`${PWD}`; export r
; \
3602 s
=`cd $(srcdir); ${PWD}`; export s
; \
3604 (cd libtool
&& $(MAKE
) $(FLAGS_TO_PASS
) check)
3608 .PHONY
: install-libtool maybe-install-libtool
3609 maybe-install-libtool
:
3610 install-libtool
: installdirs
3611 @r
=`${PWD}`; export r
; \
3612 s
=`cd $(srcdir); ${PWD}`; export s
; \
3614 (cd libtool
&& $(MAKE
) $(FLAGS_TO_PASS
) install)
3617 .PHONY
: configure-m4 maybe-configure-m4
3620 @
test ! -f m4
/Makefile || exit
0; \
3621 [ -d m4
] || mkdir m4
; \
3622 r
=`${PWD}`; export r
; \
3623 s
=`cd $(srcdir); ${PWD}`; export s
; \
3624 CC
="$(CC)"; export CC
; \
3625 CFLAGS
="$(CFLAGS)"; export CFLAGS
; \
3626 CXX
="$(CXX)"; export CXX
; \
3627 CXXFLAGS
="$(CXXFLAGS)"; export CXXFLAGS
; \
3628 if
[ z
$(build_canonical
) != z
$(host_canoncial
) ] ; then \
3629 AR
="$(AR)"; export AR
; \
3630 AS
="$(AS)"; export AS
; \
3631 CC_FOR_BUILD
="$(CC_FOR_BUILD)"; export CC_FOR_BUILD
; \
3632 DLLTOOL
="$(DLLTOOL)"; export DLLTOOL
; \
3633 LD
="$(LD)"; export LD
; \
3634 NM
="$(NM)"; export NM
; \
3635 RANLIB
="$(RANLIB)"; export RANLIB
; \
3636 WINDRES
="$(WINDRES)"; export WINDRES
; \
3637 OBJCOPY
="$(OBJCOPY)"; export OBJCOPY
; \
3638 OBJDUMP
="$(OBJDUMP)"; export OBJDUMP
; \
3640 echo Configuring in m4
; \
3644 srcdiroption
="--srcdir=."; \
3646 /* |
[A-Za-z
]:[\\/]*) \
3647 srcdiroption
="--srcdir=$(srcdir)/m4"; \
3648 libsrcdir
="$$s/m4";; \
3650 srcdiroption
="--srcdir=../$(srcdir)/m4"; \
3651 libsrcdir
="$$s/m4";; \
3653 $(SHELL
) $${libsrcdir}/configure \
3654 $(HOST_CONFIGARGS
) $${srcdiroption} \
3657 .PHONY
: all-m4 maybe-all-m4
3659 all-m4
: configure-m4
3660 @r
=`${PWD}`; export r
; \
3661 s
=`cd $(srcdir); ${PWD}`; export s
; \
3663 (cd m4
&& $(MAKE
) $(FLAGS_TO_PASS
) all)
3668 @r
=`${PWD}`; export r
; \
3669 s
=`cd $(srcdir); ${PWD}`; export s
; \
3671 (cd m4
&& $(MAKE
) $(FLAGS_TO_PASS
) check)
3675 .PHONY
: install-m4 maybe-install-m4
3677 install-m4
: installdirs
3678 @r
=`${PWD}`; export r
; \
3679 s
=`cd $(srcdir); ${PWD}`; export s
; \
3681 (cd m4
&& $(MAKE
) $(FLAGS_TO_PASS
) install)
3684 .PHONY
: configure-make maybe-configure-make
3685 maybe-configure-make
:
3687 @
test ! -f make
/Makefile || exit
0; \
3688 [ -d make
] || mkdir make
; \
3689 r
=`${PWD}`; export r
; \
3690 s
=`cd $(srcdir); ${PWD}`; export s
; \
3691 CC
="$(CC)"; export CC
; \
3692 CFLAGS
="$(CFLAGS)"; export CFLAGS
; \
3693 CXX
="$(CXX)"; export CXX
; \
3694 CXXFLAGS
="$(CXXFLAGS)"; export CXXFLAGS
; \
3695 if
[ z
$(build_canonical
) != z
$(host_canoncial
) ] ; then \
3696 AR
="$(AR)"; export AR
; \
3697 AS
="$(AS)"; export AS
; \
3698 CC_FOR_BUILD
="$(CC_FOR_BUILD)"; export CC_FOR_BUILD
; \
3699 DLLTOOL
="$(DLLTOOL)"; export DLLTOOL
; \
3700 LD
="$(LD)"; export LD
; \
3701 NM
="$(NM)"; export NM
; \
3702 RANLIB
="$(RANLIB)"; export RANLIB
; \
3703 WINDRES
="$(WINDRES)"; export WINDRES
; \
3704 OBJCOPY
="$(OBJCOPY)"; export OBJCOPY
; \
3705 OBJDUMP
="$(OBJDUMP)"; export OBJDUMP
; \
3707 echo Configuring in make
; \
3708 cd make || exit
1; \
3711 srcdiroption
="--srcdir=."; \
3713 /* |
[A-Za-z
]:[\\/]*) \
3714 srcdiroption
="--srcdir=$(srcdir)/make"; \
3715 libsrcdir
="$$s/make";; \
3717 srcdiroption
="--srcdir=../$(srcdir)/make"; \
3718 libsrcdir
="$$s/make";; \
3720 $(SHELL
) $${libsrcdir}/configure \
3721 $(HOST_CONFIGARGS
) $${srcdiroption} \
3724 .PHONY
: all-make maybe-all-make
3726 all-make
: configure-make
3727 @r
=`${PWD}`; export r
; \
3728 s
=`cd $(srcdir); ${PWD}`; export s
; \
3730 (cd make
&& $(MAKE
) $(FLAGS_TO_PASS
) all)
3735 @r
=`${PWD}`; export r
; \
3736 s
=`cd $(srcdir); ${PWD}`; export s
; \
3738 (cd make
&& $(MAKE
) $(FLAGS_TO_PASS
) check)
3742 .PHONY
: install-make maybe-install-make
3744 install-make
: installdirs
3745 @r
=`${PWD}`; export r
; \
3746 s
=`cd $(srcdir); ${PWD}`; export s
; \
3748 (cd make
&& $(MAKE
) $(FLAGS_TO_PASS
) install)
3751 .PHONY
: configure-mmalloc maybe-configure-mmalloc
3752 maybe-configure-mmalloc
:
3754 @
test ! -f mmalloc
/Makefile || exit
0; \
3755 [ -d mmalloc
] || mkdir mmalloc
; \
3756 r
=`${PWD}`; export r
; \
3757 s
=`cd $(srcdir); ${PWD}`; export s
; \
3758 CC
="$(CC)"; export CC
; \
3759 CFLAGS
="$(CFLAGS)"; export CFLAGS
; \
3760 CXX
="$(CXX)"; export CXX
; \
3761 CXXFLAGS
="$(CXXFLAGS)"; export CXXFLAGS
; \
3762 if
[ z
$(build_canonical
) != z
$(host_canoncial
) ] ; then \
3763 AR
="$(AR)"; export AR
; \
3764 AS
="$(AS)"; export AS
; \
3765 CC_FOR_BUILD
="$(CC_FOR_BUILD)"; export CC_FOR_BUILD
; \
3766 DLLTOOL
="$(DLLTOOL)"; export DLLTOOL
; \
3767 LD
="$(LD)"; export LD
; \
3768 NM
="$(NM)"; export NM
; \
3769 RANLIB
="$(RANLIB)"; export RANLIB
; \
3770 WINDRES
="$(WINDRES)"; export WINDRES
; \
3771 OBJCOPY
="$(OBJCOPY)"; export OBJCOPY
; \
3772 OBJDUMP
="$(OBJDUMP)"; export OBJDUMP
; \
3774 echo Configuring in mmalloc
; \
3775 cd mmalloc || exit
1; \
3778 srcdiroption
="--srcdir=."; \
3780 /* |
[A-Za-z
]:[\\/]*) \
3781 srcdiroption
="--srcdir=$(srcdir)/mmalloc"; \
3782 libsrcdir
="$$s/mmalloc";; \
3784 srcdiroption
="--srcdir=../$(srcdir)/mmalloc"; \
3785 libsrcdir
="$$s/mmalloc";; \
3787 $(SHELL
) $${libsrcdir}/configure \
3788 $(HOST_CONFIGARGS
) $${srcdiroption} \
3791 .PHONY
: all-mmalloc maybe-all-mmalloc
3793 all-mmalloc
: configure-mmalloc
3794 @r
=`${PWD}`; export r
; \
3795 s
=`cd $(srcdir); ${PWD}`; export s
; \
3797 (cd mmalloc
&& $(MAKE
) $(FLAGS_TO_PASS
) all)
3800 .PHONY
: check-mmalloc
3805 .PHONY
: install-mmalloc maybe-install-mmalloc
3806 maybe-install-mmalloc
:
3807 install-mmalloc
: installdirs
3808 @r
=`${PWD}`; export r
; \
3809 s
=`cd $(srcdir); ${PWD}`; export s
; \
3811 (cd mmalloc
&& $(MAKE
) $(FLAGS_TO_PASS
) install)
3814 .PHONY
: configure-patch maybe-configure-patch
3815 maybe-configure-patch
:
3817 @
test ! -f patch
/Makefile || exit
0; \
3818 [ -d patch
] || mkdir patch
; \
3819 r
=`${PWD}`; export r
; \
3820 s
=`cd $(srcdir); ${PWD}`; export s
; \
3821 CC
="$(CC)"; export CC
; \
3822 CFLAGS
="$(CFLAGS)"; export CFLAGS
; \
3823 CXX
="$(CXX)"; export CXX
; \
3824 CXXFLAGS
="$(CXXFLAGS)"; export CXXFLAGS
; \
3825 if
[ z
$(build_canonical
) != z
$(host_canoncial
) ] ; then \
3826 AR
="$(AR)"; export AR
; \
3827 AS
="$(AS)"; export AS
; \
3828 CC_FOR_BUILD
="$(CC_FOR_BUILD)"; export CC_FOR_BUILD
; \
3829 DLLTOOL
="$(DLLTOOL)"; export DLLTOOL
; \
3830 LD
="$(LD)"; export LD
; \
3831 NM
="$(NM)"; export NM
; \
3832 RANLIB
="$(RANLIB)"; export RANLIB
; \
3833 WINDRES
="$(WINDRES)"; export WINDRES
; \
3834 OBJCOPY
="$(OBJCOPY)"; export OBJCOPY
; \
3835 OBJDUMP
="$(OBJDUMP)"; export OBJDUMP
; \
3837 echo Configuring in patch
; \
3838 cd patch || exit
1; \
3841 srcdiroption
="--srcdir=."; \
3843 /* |
[A-Za-z
]:[\\/]*) \
3844 srcdiroption
="--srcdir=$(srcdir)/patch"; \
3845 libsrcdir
="$$s/patch";; \
3847 srcdiroption
="--srcdir=../$(srcdir)/patch"; \
3848 libsrcdir
="$$s/patch";; \
3850 $(SHELL
) $${libsrcdir}/configure \
3851 $(HOST_CONFIGARGS
) $${srcdiroption} \
3854 .PHONY
: all-patch maybe-all-patch
3856 all-patch
: configure-patch
3857 @r
=`${PWD}`; export r
; \
3858 s
=`cd $(srcdir); ${PWD}`; export s
; \
3860 (cd patch
&& $(MAKE
) $(FLAGS_TO_PASS
) all)
3865 @r
=`${PWD}`; export r
; \
3866 s
=`cd $(srcdir); ${PWD}`; export s
; \
3868 (cd patch
&& $(MAKE
) $(FLAGS_TO_PASS
) check)
3872 .PHONY
: install-patch maybe-install-patch
3873 maybe-install-patch
:
3874 install-patch
: installdirs
3875 @r
=`${PWD}`; export r
; \
3876 s
=`cd $(srcdir); ${PWD}`; export s
; \
3878 (cd patch
&& $(MAKE
) $(FLAGS_TO_PASS
) install)
3881 .PHONY
: configure-perl maybe-configure-perl
3882 maybe-configure-perl
:
3884 @
test ! -f perl
/Makefile || exit
0; \
3885 [ -d perl
] || mkdir perl
; \
3886 r
=`${PWD}`; export r
; \
3887 s
=`cd $(srcdir); ${PWD}`; export s
; \
3888 CC
="$(CC)"; export CC
; \
3889 CFLAGS
="$(CFLAGS)"; export CFLAGS
; \
3890 CXX
="$(CXX)"; export CXX
; \
3891 CXXFLAGS
="$(CXXFLAGS)"; export CXXFLAGS
; \
3892 if
[ z
$(build_canonical
) != z
$(host_canoncial
) ] ; then \
3893 AR
="$(AR)"; export AR
; \
3894 AS
="$(AS)"; export AS
; \
3895 CC_FOR_BUILD
="$(CC_FOR_BUILD)"; export CC_FOR_BUILD
; \
3896 DLLTOOL
="$(DLLTOOL)"; export DLLTOOL
; \
3897 LD
="$(LD)"; export LD
; \
3898 NM
="$(NM)"; export NM
; \
3899 RANLIB
="$(RANLIB)"; export RANLIB
; \
3900 WINDRES
="$(WINDRES)"; export WINDRES
; \
3901 OBJCOPY
="$(OBJCOPY)"; export OBJCOPY
; \
3902 OBJDUMP
="$(OBJDUMP)"; export OBJDUMP
; \
3904 echo Configuring in perl
; \
3905 cd perl || exit
1; \
3908 srcdiroption
="--srcdir=."; \
3910 /* |
[A-Za-z
]:[\\/]*) \
3911 srcdiroption
="--srcdir=$(srcdir)/perl"; \
3912 libsrcdir
="$$s/perl";; \
3914 srcdiroption
="--srcdir=../$(srcdir)/perl"; \
3915 libsrcdir
="$$s/perl";; \
3917 $(SHELL
) $${libsrcdir}/configure \
3918 $(HOST_CONFIGARGS
) $${srcdiroption} \
3921 .PHONY
: all-perl maybe-all-perl
3923 all-perl
: configure-perl
3924 @r
=`${PWD}`; export r
; \
3925 s
=`cd $(srcdir); ${PWD}`; export s
; \
3927 (cd perl
&& $(MAKE
) $(FLAGS_TO_PASS
) all)
3932 @r
=`${PWD}`; export r
; \
3933 s
=`cd $(srcdir); ${PWD}`; export s
; \
3935 (cd perl
&& $(MAKE
) $(FLAGS_TO_PASS
) check)
3939 .PHONY
: install-perl maybe-install-perl
3941 install-perl
: installdirs
3942 @r
=`${PWD}`; export r
; \
3943 s
=`cd $(srcdir); ${PWD}`; export s
; \
3945 (cd perl
&& $(MAKE
) $(FLAGS_TO_PASS
) install)
3948 .PHONY
: configure-prms maybe-configure-prms
3949 maybe-configure-prms
:
3951 @
test ! -f prms
/Makefile || exit
0; \
3952 [ -d prms
] || mkdir prms
; \
3953 r
=`${PWD}`; export r
; \
3954 s
=`cd $(srcdir); ${PWD}`; export s
; \
3955 CC
="$(CC)"; export CC
; \
3956 CFLAGS
="$(CFLAGS)"; export CFLAGS
; \
3957 CXX
="$(CXX)"; export CXX
; \
3958 CXXFLAGS
="$(CXXFLAGS)"; export CXXFLAGS
; \
3959 if
[ z
$(build_canonical
) != z
$(host_canoncial
) ] ; then \
3960 AR
="$(AR)"; export AR
; \
3961 AS
="$(AS)"; export AS
; \
3962 CC_FOR_BUILD
="$(CC_FOR_BUILD)"; export CC_FOR_BUILD
; \
3963 DLLTOOL
="$(DLLTOOL)"; export DLLTOOL
; \
3964 LD
="$(LD)"; export LD
; \
3965 NM
="$(NM)"; export NM
; \
3966 RANLIB
="$(RANLIB)"; export RANLIB
; \
3967 WINDRES
="$(WINDRES)"; export WINDRES
; \
3968 OBJCOPY
="$(OBJCOPY)"; export OBJCOPY
; \
3969 OBJDUMP
="$(OBJDUMP)"; export OBJDUMP
; \
3971 echo Configuring in prms
; \
3972 cd prms || exit
1; \
3975 srcdiroption
="--srcdir=."; \
3977 /* |
[A-Za-z
]:[\\/]*) \
3978 srcdiroption
="--srcdir=$(srcdir)/prms"; \
3979 libsrcdir
="$$s/prms";; \
3981 srcdiroption
="--srcdir=../$(srcdir)/prms"; \
3982 libsrcdir
="$$s/prms";; \
3984 $(SHELL
) $${libsrcdir}/configure \
3985 $(HOST_CONFIGARGS
) $${srcdiroption} \
3988 .PHONY
: all-prms maybe-all-prms
3990 all-prms
: configure-prms
3991 @r
=`${PWD}`; export r
; \
3992 s
=`cd $(srcdir); ${PWD}`; export s
; \
3994 (cd prms
&& $(MAKE
) $(FLAGS_TO_PASS
) all)
3999 @r
=`${PWD}`; export r
; \
4000 s
=`cd $(srcdir); ${PWD}`; export s
; \
4002 (cd prms
&& $(MAKE
) $(FLAGS_TO_PASS
) check)
4006 .PHONY
: install-prms maybe-install-prms
4008 install-prms
: installdirs
4009 @r
=`${PWD}`; export r
; \
4010 s
=`cd $(srcdir); ${PWD}`; export s
; \
4012 (cd prms
&& $(MAKE
) $(FLAGS_TO_PASS
) install)
4015 .PHONY
: configure-rcs maybe-configure-rcs
4016 maybe-configure-rcs
:
4018 @
test ! -f rcs
/Makefile || exit
0; \
4019 [ -d rcs
] || mkdir rcs
; \
4020 r
=`${PWD}`; export r
; \
4021 s
=`cd $(srcdir); ${PWD}`; export s
; \
4022 CC
="$(CC)"; export CC
; \
4023 CFLAGS
="$(CFLAGS)"; export CFLAGS
; \
4024 CXX
="$(CXX)"; export CXX
; \
4025 CXXFLAGS
="$(CXXFLAGS)"; export CXXFLAGS
; \
4026 if
[ z
$(build_canonical
) != z
$(host_canoncial
) ] ; then \
4027 AR
="$(AR)"; export AR
; \
4028 AS
="$(AS)"; export AS
; \
4029 CC_FOR_BUILD
="$(CC_FOR_BUILD)"; export CC_FOR_BUILD
; \
4030 DLLTOOL
="$(DLLTOOL)"; export DLLTOOL
; \
4031 LD
="$(LD)"; export LD
; \
4032 NM
="$(NM)"; export NM
; \
4033 RANLIB
="$(RANLIB)"; export RANLIB
; \
4034 WINDRES
="$(WINDRES)"; export WINDRES
; \
4035 OBJCOPY
="$(OBJCOPY)"; export OBJCOPY
; \
4036 OBJDUMP
="$(OBJDUMP)"; export OBJDUMP
; \
4038 echo Configuring in rcs
; \
4042 srcdiroption
="--srcdir=."; \
4044 /* |
[A-Za-z
]:[\\/]*) \
4045 srcdiroption
="--srcdir=$(srcdir)/rcs"; \
4046 libsrcdir
="$$s/rcs";; \
4048 srcdiroption
="--srcdir=../$(srcdir)/rcs"; \
4049 libsrcdir
="$$s/rcs";; \
4051 $(SHELL
) $${libsrcdir}/configure \
4052 $(HOST_CONFIGARGS
) $${srcdiroption} \
4055 .PHONY
: all-rcs maybe-all-rcs
4057 all-rcs
: configure-rcs
4058 @r
=`${PWD}`; export r
; \
4059 s
=`cd $(srcdir); ${PWD}`; export s
; \
4061 (cd rcs
&& $(MAKE
) $(FLAGS_TO_PASS
) all)
4066 @r
=`${PWD}`; export r
; \
4067 s
=`cd $(srcdir); ${PWD}`; export s
; \
4069 (cd rcs
&& $(MAKE
) $(FLAGS_TO_PASS
) check)
4073 .PHONY
: install-rcs maybe-install-rcs
4075 install-rcs
: installdirs
4076 @r
=`${PWD}`; export r
; \
4077 s
=`cd $(srcdir); ${PWD}`; export s
; \
4079 (cd rcs
&& $(MAKE
) $(FLAGS_TO_PASS
) install)
4082 .PHONY
: configure-readline maybe-configure-readline
4083 maybe-configure-readline
:
4085 @
test ! -f readline
/Makefile || exit
0; \
4086 [ -d readline
] || mkdir readline
; \
4087 r
=`${PWD}`; export r
; \
4088 s
=`cd $(srcdir); ${PWD}`; export s
; \
4089 CC
="$(CC)"; export CC
; \
4090 CFLAGS
="$(CFLAGS)"; export CFLAGS
; \
4091 CXX
="$(CXX)"; export CXX
; \
4092 CXXFLAGS
="$(CXXFLAGS)"; export CXXFLAGS
; \
4093 if
[ z
$(build_canonical
) != z
$(host_canoncial
) ] ; then \
4094 AR
="$(AR)"; export AR
; \
4095 AS
="$(AS)"; export AS
; \
4096 CC_FOR_BUILD
="$(CC_FOR_BUILD)"; export CC_FOR_BUILD
; \
4097 DLLTOOL
="$(DLLTOOL)"; export DLLTOOL
; \
4098 LD
="$(LD)"; export LD
; \
4099 NM
="$(NM)"; export NM
; \
4100 RANLIB
="$(RANLIB)"; export RANLIB
; \
4101 WINDRES
="$(WINDRES)"; export WINDRES
; \
4102 OBJCOPY
="$(OBJCOPY)"; export OBJCOPY
; \
4103 OBJDUMP
="$(OBJDUMP)"; export OBJDUMP
; \
4105 echo Configuring in readline
; \
4106 cd readline || exit
1; \
4109 srcdiroption
="--srcdir=."; \
4111 /* |
[A-Za-z
]:[\\/]*) \
4112 srcdiroption
="--srcdir=$(srcdir)/readline"; \
4113 libsrcdir
="$$s/readline";; \
4115 srcdiroption
="--srcdir=../$(srcdir)/readline"; \
4116 libsrcdir
="$$s/readline";; \
4118 $(SHELL
) $${libsrcdir}/configure \
4119 $(HOST_CONFIGARGS
) $${srcdiroption} \
4122 .PHONY
: all-readline maybe-all-readline
4124 all-readline
: configure-readline
4125 @r
=`${PWD}`; export r
; \
4126 s
=`cd $(srcdir); ${PWD}`; export s
; \
4128 (cd readline
&& $(MAKE
) $(FLAGS_TO_PASS
) all)
4131 .PHONY
: check-readline
4133 @r
=`${PWD}`; export r
; \
4134 s
=`cd $(srcdir); ${PWD}`; export s
; \
4136 (cd readline
&& $(MAKE
) $(FLAGS_TO_PASS
) check)
4140 .PHONY
: install-readline maybe-install-readline
4141 maybe-install-readline
:
4142 install-readline
: installdirs
4143 @r
=`${PWD}`; export r
; \
4144 s
=`cd $(srcdir); ${PWD}`; export s
; \
4146 (cd readline
&& $(MAKE
) $(FLAGS_TO_PASS
) install)
4149 .PHONY
: configure-release maybe-configure-release
4150 maybe-configure-release
:
4152 @
test ! -f release
/Makefile || exit
0; \
4153 [ -d release
] || mkdir release
; \
4154 r
=`${PWD}`; export r
; \
4155 s
=`cd $(srcdir); ${PWD}`; export s
; \
4156 CC
="$(CC)"; export CC
; \
4157 CFLAGS
="$(CFLAGS)"; export CFLAGS
; \
4158 CXX
="$(CXX)"; export CXX
; \
4159 CXXFLAGS
="$(CXXFLAGS)"; export CXXFLAGS
; \
4160 if
[ z
$(build_canonical
) != z
$(host_canoncial
) ] ; then \
4161 AR
="$(AR)"; export AR
; \
4162 AS
="$(AS)"; export AS
; \
4163 CC_FOR_BUILD
="$(CC_FOR_BUILD)"; export CC_FOR_BUILD
; \
4164 DLLTOOL
="$(DLLTOOL)"; export DLLTOOL
; \
4165 LD
="$(LD)"; export LD
; \
4166 NM
="$(NM)"; export NM
; \
4167 RANLIB
="$(RANLIB)"; export RANLIB
; \
4168 WINDRES
="$(WINDRES)"; export WINDRES
; \
4169 OBJCOPY
="$(OBJCOPY)"; export OBJCOPY
; \
4170 OBJDUMP
="$(OBJDUMP)"; export OBJDUMP
; \
4172 echo Configuring in release
; \
4173 cd release || exit
1; \
4176 srcdiroption
="--srcdir=."; \
4178 /* |
[A-Za-z
]:[\\/]*) \
4179 srcdiroption
="--srcdir=$(srcdir)/release"; \
4180 libsrcdir
="$$s/release";; \
4182 srcdiroption
="--srcdir=../$(srcdir)/release"; \
4183 libsrcdir
="$$s/release";; \
4185 $(SHELL
) $${libsrcdir}/configure \
4186 $(HOST_CONFIGARGS
) $${srcdiroption} \
4189 .PHONY
: all-release maybe-all-release
4191 all-release
: configure-release
4192 @r
=`${PWD}`; export r
; \
4193 s
=`cd $(srcdir); ${PWD}`; export s
; \
4195 (cd release
&& $(MAKE
) $(FLAGS_TO_PASS
) all)
4198 .PHONY
: check-release
4203 .PHONY
: install-release maybe-install-release
4204 maybe-install-release
:
4208 .PHONY
: configure-recode maybe-configure-recode
4209 maybe-configure-recode
:
4211 @
test ! -f recode
/Makefile || exit
0; \
4212 [ -d recode
] || mkdir recode
; \
4213 r
=`${PWD}`; export r
; \
4214 s
=`cd $(srcdir); ${PWD}`; export s
; \
4215 CC
="$(CC)"; export CC
; \
4216 CFLAGS
="$(CFLAGS)"; export CFLAGS
; \
4217 CXX
="$(CXX)"; export CXX
; \
4218 CXXFLAGS
="$(CXXFLAGS)"; export CXXFLAGS
; \
4219 if
[ z
$(build_canonical
) != z
$(host_canoncial
) ] ; then \
4220 AR
="$(AR)"; export AR
; \
4221 AS
="$(AS)"; export AS
; \
4222 CC_FOR_BUILD
="$(CC_FOR_BUILD)"; export CC_FOR_BUILD
; \
4223 DLLTOOL
="$(DLLTOOL)"; export DLLTOOL
; \
4224 LD
="$(LD)"; export LD
; \
4225 NM
="$(NM)"; export NM
; \
4226 RANLIB
="$(RANLIB)"; export RANLIB
; \
4227 WINDRES
="$(WINDRES)"; export WINDRES
; \
4228 OBJCOPY
="$(OBJCOPY)"; export OBJCOPY
; \
4229 OBJDUMP
="$(OBJDUMP)"; export OBJDUMP
; \
4231 echo Configuring in recode
; \
4232 cd recode || exit
1; \
4235 srcdiroption
="--srcdir=."; \
4237 /* |
[A-Za-z
]:[\\/]*) \
4238 srcdiroption
="--srcdir=$(srcdir)/recode"; \
4239 libsrcdir
="$$s/recode";; \
4241 srcdiroption
="--srcdir=../$(srcdir)/recode"; \
4242 libsrcdir
="$$s/recode";; \
4244 $(SHELL
) $${libsrcdir}/configure \
4245 $(HOST_CONFIGARGS
) $${srcdiroption} \
4248 .PHONY
: all-recode maybe-all-recode
4250 all-recode
: configure-recode
4251 @r
=`${PWD}`; export r
; \
4252 s
=`cd $(srcdir); ${PWD}`; export s
; \
4254 (cd recode
&& $(MAKE
) $(FLAGS_TO_PASS
) all)
4257 .PHONY
: check-recode
4259 @r
=`${PWD}`; export r
; \
4260 s
=`cd $(srcdir); ${PWD}`; export s
; \
4262 (cd recode
&& $(MAKE
) $(FLAGS_TO_PASS
) check)
4266 .PHONY
: install-recode maybe-install-recode
4267 maybe-install-recode
:
4268 install-recode
: installdirs
4269 @r
=`${PWD}`; export r
; \
4270 s
=`cd $(srcdir); ${PWD}`; export s
; \
4272 (cd recode
&& $(MAKE
) $(FLAGS_TO_PASS
) install)
4275 .PHONY
: configure-sed maybe-configure-sed
4276 maybe-configure-sed
:
4278 @
test ! -f sed
/Makefile || exit
0; \
4279 [ -d sed
] || mkdir sed
; \
4280 r
=`${PWD}`; export r
; \
4281 s
=`cd $(srcdir); ${PWD}`; export s
; \
4282 CC
="$(CC)"; export CC
; \
4283 CFLAGS
="$(CFLAGS)"; export CFLAGS
; \
4284 CXX
="$(CXX)"; export CXX
; \
4285 CXXFLAGS
="$(CXXFLAGS)"; export CXXFLAGS
; \
4286 if
[ z
$(build_canonical
) != z
$(host_canoncial
) ] ; then \
4287 AR
="$(AR)"; export AR
; \
4288 AS
="$(AS)"; export AS
; \
4289 CC_FOR_BUILD
="$(CC_FOR_BUILD)"; export CC_FOR_BUILD
; \
4290 DLLTOOL
="$(DLLTOOL)"; export DLLTOOL
; \
4291 LD
="$(LD)"; export LD
; \
4292 NM
="$(NM)"; export NM
; \
4293 RANLIB
="$(RANLIB)"; export RANLIB
; \
4294 WINDRES
="$(WINDRES)"; export WINDRES
; \
4295 OBJCOPY
="$(OBJCOPY)"; export OBJCOPY
; \
4296 OBJDUMP
="$(OBJDUMP)"; export OBJDUMP
; \
4298 echo Configuring in sed
; \
4302 srcdiroption
="--srcdir=."; \
4304 /* |
[A-Za-z
]:[\\/]*) \
4305 srcdiroption
="--srcdir=$(srcdir)/sed"; \
4306 libsrcdir
="$$s/sed";; \
4308 srcdiroption
="--srcdir=../$(srcdir)/sed"; \
4309 libsrcdir
="$$s/sed";; \
4311 $(SHELL
) $${libsrcdir}/configure \
4312 $(HOST_CONFIGARGS
) $${srcdiroption} \
4315 .PHONY
: all-sed maybe-all-sed
4317 all-sed
: configure-sed
4318 @r
=`${PWD}`; export r
; \
4319 s
=`cd $(srcdir); ${PWD}`; export s
; \
4321 (cd sed
&& $(MAKE
) $(FLAGS_TO_PASS
) all)
4326 @r
=`${PWD}`; export r
; \
4327 s
=`cd $(srcdir); ${PWD}`; export s
; \
4329 (cd sed
&& $(MAKE
) $(FLAGS_TO_PASS
) check)
4333 .PHONY
: install-sed maybe-install-sed
4335 install-sed
: installdirs
4336 @r
=`${PWD}`; export r
; \
4337 s
=`cd $(srcdir); ${PWD}`; export s
; \
4339 (cd sed
&& $(MAKE
) $(FLAGS_TO_PASS
) install)
4342 .PHONY
: configure-send-pr maybe-configure-send-pr
4343 maybe-configure-send-pr
:
4345 @
test ! -f send-pr
/Makefile || exit
0; \
4346 [ -d send-pr
] || mkdir send-pr
; \
4347 r
=`${PWD}`; export r
; \
4348 s
=`cd $(srcdir); ${PWD}`; export s
; \
4349 CC
="$(CC)"; export CC
; \
4350 CFLAGS
="$(CFLAGS)"; export CFLAGS
; \
4351 CXX
="$(CXX)"; export CXX
; \
4352 CXXFLAGS
="$(CXXFLAGS)"; export CXXFLAGS
; \
4353 if
[ z
$(build_canonical
) != z
$(host_canoncial
) ] ; then \
4354 AR
="$(AR)"; export AR
; \
4355 AS
="$(AS)"; export AS
; \
4356 CC_FOR_BUILD
="$(CC_FOR_BUILD)"; export CC_FOR_BUILD
; \
4357 DLLTOOL
="$(DLLTOOL)"; export DLLTOOL
; \
4358 LD
="$(LD)"; export LD
; \
4359 NM
="$(NM)"; export NM
; \
4360 RANLIB
="$(RANLIB)"; export RANLIB
; \
4361 WINDRES
="$(WINDRES)"; export WINDRES
; \
4362 OBJCOPY
="$(OBJCOPY)"; export OBJCOPY
; \
4363 OBJDUMP
="$(OBJDUMP)"; export OBJDUMP
; \
4365 echo Configuring in send-pr
; \
4366 cd send-pr || exit
1; \
4369 srcdiroption
="--srcdir=."; \
4371 /* |
[A-Za-z
]:[\\/]*) \
4372 srcdiroption
="--srcdir=$(srcdir)/send-pr"; \
4373 libsrcdir
="$$s/send-pr";; \
4375 srcdiroption
="--srcdir=../$(srcdir)/send-pr"; \
4376 libsrcdir
="$$s/send-pr";; \
4378 $(SHELL
) $${libsrcdir}/configure \
4379 $(HOST_CONFIGARGS
) $${srcdiroption} \
4382 .PHONY
: all-send-pr maybe-all-send-pr
4384 all-send-pr
: configure-send-pr
4385 @r
=`${PWD}`; export r
; \
4386 s
=`cd $(srcdir); ${PWD}`; export s
; \
4388 (cd send-pr
&& $(MAKE
) $(FLAGS_TO_PASS
) all)
4391 .PHONY
: check-send-pr
4393 @r
=`${PWD}`; export r
; \
4394 s
=`cd $(srcdir); ${PWD}`; export s
; \
4396 (cd send-pr
&& $(MAKE
) $(FLAGS_TO_PASS
) check)
4400 .PHONY
: install-send-pr maybe-install-send-pr
4401 maybe-install-send-pr
:
4402 install-send-pr
: installdirs
4403 @r
=`${PWD}`; export r
; \
4404 s
=`cd $(srcdir); ${PWD}`; export s
; \
4406 (cd send-pr
&& $(MAKE
) $(FLAGS_TO_PASS
) install)
4409 .PHONY
: configure-shellutils maybe-configure-shellutils
4410 maybe-configure-shellutils
:
4411 configure-shellutils
:
4412 @
test ! -f shellutils
/Makefile || exit
0; \
4413 [ -d shellutils
] || mkdir shellutils
; \
4414 r
=`${PWD}`; export r
; \
4415 s
=`cd $(srcdir); ${PWD}`; export s
; \
4416 CC
="$(CC)"; export CC
; \
4417 CFLAGS
="$(CFLAGS)"; export CFLAGS
; \
4418 CXX
="$(CXX)"; export CXX
; \
4419 CXXFLAGS
="$(CXXFLAGS)"; export CXXFLAGS
; \
4420 if
[ z
$(build_canonical
) != z
$(host_canoncial
) ] ; then \
4421 AR
="$(AR)"; export AR
; \
4422 AS
="$(AS)"; export AS
; \
4423 CC_FOR_BUILD
="$(CC_FOR_BUILD)"; export CC_FOR_BUILD
; \
4424 DLLTOOL
="$(DLLTOOL)"; export DLLTOOL
; \
4425 LD
="$(LD)"; export LD
; \
4426 NM
="$(NM)"; export NM
; \
4427 RANLIB
="$(RANLIB)"; export RANLIB
; \
4428 WINDRES
="$(WINDRES)"; export WINDRES
; \
4429 OBJCOPY
="$(OBJCOPY)"; export OBJCOPY
; \
4430 OBJDUMP
="$(OBJDUMP)"; export OBJDUMP
; \
4432 echo Configuring in shellutils
; \
4433 cd shellutils || exit
1; \
4436 srcdiroption
="--srcdir=."; \
4438 /* |
[A-Za-z
]:[\\/]*) \
4439 srcdiroption
="--srcdir=$(srcdir)/shellutils"; \
4440 libsrcdir
="$$s/shellutils";; \
4442 srcdiroption
="--srcdir=../$(srcdir)/shellutils"; \
4443 libsrcdir
="$$s/shellutils";; \
4445 $(SHELL
) $${libsrcdir}/configure \
4446 $(HOST_CONFIGARGS
) $${srcdiroption} \
4449 .PHONY
: all-shellutils maybe-all-shellutils
4450 maybe-all-shellutils
:
4451 all-shellutils
: configure-shellutils
4452 @r
=`${PWD}`; export r
; \
4453 s
=`cd $(srcdir); ${PWD}`; export s
; \
4455 (cd shellutils
&& $(MAKE
) $(FLAGS_TO_PASS
) all)
4458 .PHONY
: check-shellutils
4460 @r
=`${PWD}`; export r
; \
4461 s
=`cd $(srcdir); ${PWD}`; export s
; \
4463 (cd shellutils
&& $(MAKE
) $(FLAGS_TO_PASS
) check)
4467 .PHONY
: install-shellutils maybe-install-shellutils
4468 maybe-install-shellutils
:
4469 install-shellutils
: installdirs
4470 @r
=`${PWD}`; export r
; \
4471 s
=`cd $(srcdir); ${PWD}`; export s
; \
4473 (cd shellutils
&& $(MAKE
) $(FLAGS_TO_PASS
) install)
4476 .PHONY
: configure-sid maybe-configure-sid
4477 maybe-configure-sid
:
4479 @
test ! -f sid
/Makefile || exit
0; \
4480 [ -d sid
] || mkdir sid
; \
4481 r
=`${PWD}`; export r
; \
4482 s
=`cd $(srcdir); ${PWD}`; export s
; \
4483 CC
="$(CC)"; export CC
; \
4484 CFLAGS
="$(CFLAGS)"; export CFLAGS
; \
4485 CXX
="$(CXX)"; export CXX
; \
4486 CXXFLAGS
="$(CXXFLAGS)"; export CXXFLAGS
; \
4487 if
[ z
$(build_canonical
) != z
$(host_canoncial
) ] ; then \
4488 AR
="$(AR)"; export AR
; \
4489 AS
="$(AS)"; export AS
; \
4490 CC_FOR_BUILD
="$(CC_FOR_BUILD)"; export CC_FOR_BUILD
; \
4491 DLLTOOL
="$(DLLTOOL)"; export DLLTOOL
; \
4492 LD
="$(LD)"; export LD
; \
4493 NM
="$(NM)"; export NM
; \
4494 RANLIB
="$(RANLIB)"; export RANLIB
; \
4495 WINDRES
="$(WINDRES)"; export WINDRES
; \
4496 OBJCOPY
="$(OBJCOPY)"; export OBJCOPY
; \
4497 OBJDUMP
="$(OBJDUMP)"; export OBJDUMP
; \
4499 echo Configuring in sid
; \
4503 srcdiroption
="--srcdir=."; \
4505 /* |
[A-Za-z
]:[\\/]*) \
4506 srcdiroption
="--srcdir=$(srcdir)/sid"; \
4507 libsrcdir
="$$s/sid";; \
4509 srcdiroption
="--srcdir=../$(srcdir)/sid"; \
4510 libsrcdir
="$$s/sid";; \
4512 $(SHELL
) $${libsrcdir}/configure \
4513 $(HOST_CONFIGARGS
) $${srcdiroption} \
4516 .PHONY
: all-sid maybe-all-sid
4518 all-sid
: configure-sid
4519 @r
=`${PWD}`; export r
; \
4520 s
=`cd $(srcdir); ${PWD}`; export s
; \
4522 (cd sid
&& $(MAKE
) $(FLAGS_TO_PASS
) all)
4527 @r
=`${PWD}`; export r
; \
4528 s
=`cd $(srcdir); ${PWD}`; export s
; \
4530 (cd sid
&& $(MAKE
) $(FLAGS_TO_PASS
) check)
4534 .PHONY
: install-sid maybe-install-sid
4536 install-sid
: installdirs
4537 @r
=`${PWD}`; export r
; \
4538 s
=`cd $(srcdir); ${PWD}`; export s
; \
4540 (cd sid
&& $(MAKE
) $(FLAGS_TO_PASS
) install)
4543 .PHONY
: configure-sim maybe-configure-sim
4544 maybe-configure-sim
:
4546 @
test ! -f sim
/Makefile || exit
0; \
4547 [ -d sim
] || mkdir sim
; \
4548 r
=`${PWD}`; export r
; \
4549 s
=`cd $(srcdir); ${PWD}`; export s
; \
4550 CC
="$(CC)"; export CC
; \
4551 CFLAGS
="$(CFLAGS)"; export CFLAGS
; \
4552 CXX
="$(CXX)"; export CXX
; \
4553 CXXFLAGS
="$(CXXFLAGS)"; export CXXFLAGS
; \
4554 if
[ z
$(build_canonical
) != z
$(host_canoncial
) ] ; then \
4555 AR
="$(AR)"; export AR
; \
4556 AS
="$(AS)"; export AS
; \
4557 CC_FOR_BUILD
="$(CC_FOR_BUILD)"; export CC_FOR_BUILD
; \
4558 DLLTOOL
="$(DLLTOOL)"; export DLLTOOL
; \
4559 LD
="$(LD)"; export LD
; \
4560 NM
="$(NM)"; export NM
; \
4561 RANLIB
="$(RANLIB)"; export RANLIB
; \
4562 WINDRES
="$(WINDRES)"; export WINDRES
; \
4563 OBJCOPY
="$(OBJCOPY)"; export OBJCOPY
; \
4564 OBJDUMP
="$(OBJDUMP)"; export OBJDUMP
; \
4566 echo Configuring in sim
; \
4570 srcdiroption
="--srcdir=."; \
4572 /* |
[A-Za-z
]:[\\/]*) \
4573 srcdiroption
="--srcdir=$(srcdir)/sim"; \
4574 libsrcdir
="$$s/sim";; \
4576 srcdiroption
="--srcdir=../$(srcdir)/sim"; \
4577 libsrcdir
="$$s/sim";; \
4579 $(SHELL
) $${libsrcdir}/configure \
4580 $(HOST_CONFIGARGS
) $${srcdiroption} \
4583 .PHONY
: all-sim maybe-all-sim
4585 all-sim
: configure-sim
4586 @r
=`${PWD}`; export r
; \
4587 s
=`cd $(srcdir); ${PWD}`; export s
; \
4589 (cd sim
&& $(MAKE
) $(FLAGS_TO_PASS
) all)
4594 @r
=`${PWD}`; export r
; \
4595 s
=`cd $(srcdir); ${PWD}`; export s
; \
4597 (cd sim
&& $(MAKE
) $(FLAGS_TO_PASS
) check)
4601 .PHONY
: install-sim maybe-install-sim
4603 install-sim
: installdirs
4604 @r
=`${PWD}`; export r
; \
4605 s
=`cd $(srcdir); ${PWD}`; export s
; \
4607 (cd sim
&& $(MAKE
) $(FLAGS_TO_PASS
) install)
4610 .PHONY
: configure-tar maybe-configure-tar
4611 maybe-configure-tar
:
4613 @
test ! -f
tar/Makefile || exit
0; \
4614 [ -d
tar ] || mkdir
tar; \
4615 r
=`${PWD}`; export r
; \
4616 s
=`cd $(srcdir); ${PWD}`; export s
; \
4617 CC
="$(CC)"; export CC
; \
4618 CFLAGS
="$(CFLAGS)"; export CFLAGS
; \
4619 CXX
="$(CXX)"; export CXX
; \
4620 CXXFLAGS
="$(CXXFLAGS)"; export CXXFLAGS
; \
4621 if
[ z
$(build_canonical
) != z
$(host_canoncial
) ] ; then \
4622 AR
="$(AR)"; export AR
; \
4623 AS
="$(AS)"; export AS
; \
4624 CC_FOR_BUILD
="$(CC_FOR_BUILD)"; export CC_FOR_BUILD
; \
4625 DLLTOOL
="$(DLLTOOL)"; export DLLTOOL
; \
4626 LD
="$(LD)"; export LD
; \
4627 NM
="$(NM)"; export NM
; \
4628 RANLIB
="$(RANLIB)"; export RANLIB
; \
4629 WINDRES
="$(WINDRES)"; export WINDRES
; \
4630 OBJCOPY
="$(OBJCOPY)"; export OBJCOPY
; \
4631 OBJDUMP
="$(OBJDUMP)"; export OBJDUMP
; \
4633 echo Configuring in
tar; \
4637 srcdiroption
="--srcdir=."; \
4639 /* |
[A-Za-z
]:[\\/]*) \
4640 srcdiroption
="--srcdir=$(srcdir)/tar"; \
4641 libsrcdir
="$$s/tar";; \
4643 srcdiroption
="--srcdir=../$(srcdir)/tar"; \
4644 libsrcdir
="$$s/tar";; \
4646 $(SHELL
) $${libsrcdir}/configure \
4647 $(HOST_CONFIGARGS
) $${srcdiroption} \
4650 .PHONY
: all-tar maybe-all-tar
4652 all-tar
: configure-tar
4653 @r
=`${PWD}`; export r
; \
4654 s
=`cd $(srcdir); ${PWD}`; export s
; \
4656 (cd
tar && $(MAKE
) $(FLAGS_TO_PASS
) all)
4661 @r
=`${PWD}`; export r
; \
4662 s
=`cd $(srcdir); ${PWD}`; export s
; \
4664 (cd
tar && $(MAKE
) $(FLAGS_TO_PASS
) check)
4668 .PHONY
: install-tar maybe-install-tar
4670 install-tar
: installdirs
4671 @r
=`${PWD}`; export r
; \
4672 s
=`cd $(srcdir); ${PWD}`; export s
; \
4674 (cd
tar && $(MAKE
) $(FLAGS_TO_PASS
) install)
4677 .PHONY
: configure-texinfo maybe-configure-texinfo
4678 maybe-configure-texinfo
:
4680 @
test ! -f texinfo
/Makefile || exit
0; \
4681 [ -d texinfo
] || mkdir texinfo
; \
4682 r
=`${PWD}`; export r
; \
4683 s
=`cd $(srcdir); ${PWD}`; export s
; \
4684 CC
="$(CC)"; export CC
; \
4685 CFLAGS
="$(CFLAGS)"; export CFLAGS
; \
4686 CXX
="$(CXX)"; export CXX
; \
4687 CXXFLAGS
="$(CXXFLAGS)"; export CXXFLAGS
; \
4688 if
[ z
$(build_canonical
) != z
$(host_canoncial
) ] ; then \
4689 AR
="$(AR)"; export AR
; \
4690 AS
="$(AS)"; export AS
; \
4691 CC_FOR_BUILD
="$(CC_FOR_BUILD)"; export CC_FOR_BUILD
; \
4692 DLLTOOL
="$(DLLTOOL)"; export DLLTOOL
; \
4693 LD
="$(LD)"; export LD
; \
4694 NM
="$(NM)"; export NM
; \
4695 RANLIB
="$(RANLIB)"; export RANLIB
; \
4696 WINDRES
="$(WINDRES)"; export WINDRES
; \
4697 OBJCOPY
="$(OBJCOPY)"; export OBJCOPY
; \
4698 OBJDUMP
="$(OBJDUMP)"; export OBJDUMP
; \
4700 echo Configuring in texinfo
; \
4701 cd texinfo || exit
1; \
4704 srcdiroption
="--srcdir=."; \
4706 /* |
[A-Za-z
]:[\\/]*) \
4707 srcdiroption
="--srcdir=$(srcdir)/texinfo"; \
4708 libsrcdir
="$$s/texinfo";; \
4710 srcdiroption
="--srcdir=../$(srcdir)/texinfo"; \
4711 libsrcdir
="$$s/texinfo";; \
4713 $(SHELL
) $${libsrcdir}/configure \
4714 $(HOST_CONFIGARGS
) $${srcdiroption} \
4717 .PHONY
: all-texinfo maybe-all-texinfo
4719 all-texinfo
: configure-texinfo
4720 @r
=`${PWD}`; export r
; \
4721 s
=`cd $(srcdir); ${PWD}`; export s
; \
4723 (cd texinfo
&& $(MAKE
) $(FLAGS_TO_PASS
) all)
4726 .PHONY
: check-texinfo
4728 @r
=`${PWD}`; export r
; \
4729 s
=`cd $(srcdir); ${PWD}`; export s
; \
4731 (cd texinfo
&& $(MAKE
) $(FLAGS_TO_PASS
) check)
4735 .PHONY
: install-texinfo maybe-install-texinfo
4736 maybe-install-texinfo
:
4740 .PHONY
: configure-textutils maybe-configure-textutils
4741 maybe-configure-textutils
:
4742 configure-textutils
:
4743 @
test ! -f textutils
/Makefile || exit
0; \
4744 [ -d textutils
] || mkdir textutils
; \
4745 r
=`${PWD}`; export r
; \
4746 s
=`cd $(srcdir); ${PWD}`; export s
; \
4747 CC
="$(CC)"; export CC
; \
4748 CFLAGS
="$(CFLAGS)"; export CFLAGS
; \
4749 CXX
="$(CXX)"; export CXX
; \
4750 CXXFLAGS
="$(CXXFLAGS)"; export CXXFLAGS
; \
4751 if
[ z
$(build_canonical
) != z
$(host_canoncial
) ] ; then \
4752 AR
="$(AR)"; export AR
; \
4753 AS
="$(AS)"; export AS
; \
4754 CC_FOR_BUILD
="$(CC_FOR_BUILD)"; export CC_FOR_BUILD
; \
4755 DLLTOOL
="$(DLLTOOL)"; export DLLTOOL
; \
4756 LD
="$(LD)"; export LD
; \
4757 NM
="$(NM)"; export NM
; \
4758 RANLIB
="$(RANLIB)"; export RANLIB
; \
4759 WINDRES
="$(WINDRES)"; export WINDRES
; \
4760 OBJCOPY
="$(OBJCOPY)"; export OBJCOPY
; \
4761 OBJDUMP
="$(OBJDUMP)"; export OBJDUMP
; \
4763 echo Configuring in textutils
; \
4764 cd textutils || exit
1; \
4767 srcdiroption
="--srcdir=."; \
4769 /* |
[A-Za-z
]:[\\/]*) \
4770 srcdiroption
="--srcdir=$(srcdir)/textutils"; \
4771 libsrcdir
="$$s/textutils";; \
4773 srcdiroption
="--srcdir=../$(srcdir)/textutils"; \
4774 libsrcdir
="$$s/textutils";; \
4776 $(SHELL
) $${libsrcdir}/configure \
4777 $(HOST_CONFIGARGS
) $${srcdiroption} \
4780 .PHONY
: all-textutils maybe-all-textutils
4781 maybe-all-textutils
:
4782 all-textutils
: configure-textutils
4783 @r
=`${PWD}`; export r
; \
4784 s
=`cd $(srcdir); ${PWD}`; export s
; \
4786 (cd textutils
&& $(MAKE
) $(FLAGS_TO_PASS
) all)
4789 .PHONY
: check-textutils
4791 @r
=`${PWD}`; export r
; \
4792 s
=`cd $(srcdir); ${PWD}`; export s
; \
4794 (cd textutils
&& $(MAKE
) $(FLAGS_TO_PASS
) check)
4798 .PHONY
: install-textutils maybe-install-textutils
4799 maybe-install-textutils
:
4800 install-textutils
: installdirs
4801 @r
=`${PWD}`; export r
; \
4802 s
=`cd $(srcdir); ${PWD}`; export s
; \
4804 (cd textutils
&& $(MAKE
) $(FLAGS_TO_PASS
) install)
4807 .PHONY
: configure-time maybe-configure-time
4808 maybe-configure-time
:
4810 @
test ! -f time
/Makefile || exit
0; \
4811 [ -d time
] || mkdir time
; \
4812 r
=`${PWD}`; export r
; \
4813 s
=`cd $(srcdir); ${PWD}`; export s
; \
4814 CC
="$(CC)"; export CC
; \
4815 CFLAGS
="$(CFLAGS)"; export CFLAGS
; \
4816 CXX
="$(CXX)"; export CXX
; \
4817 CXXFLAGS
="$(CXXFLAGS)"; export CXXFLAGS
; \
4818 if
[ z
$(build_canonical
) != z
$(host_canoncial
) ] ; then \
4819 AR
="$(AR)"; export AR
; \
4820 AS
="$(AS)"; export AS
; \
4821 CC_FOR_BUILD
="$(CC_FOR_BUILD)"; export CC_FOR_BUILD
; \
4822 DLLTOOL
="$(DLLTOOL)"; export DLLTOOL
; \
4823 LD
="$(LD)"; export LD
; \
4824 NM
="$(NM)"; export NM
; \
4825 RANLIB
="$(RANLIB)"; export RANLIB
; \
4826 WINDRES
="$(WINDRES)"; export WINDRES
; \
4827 OBJCOPY
="$(OBJCOPY)"; export OBJCOPY
; \
4828 OBJDUMP
="$(OBJDUMP)"; export OBJDUMP
; \
4830 echo Configuring in time
; \
4831 cd time || exit
1; \
4834 srcdiroption
="--srcdir=."; \
4836 /* |
[A-Za-z
]:[\\/]*) \
4837 srcdiroption
="--srcdir=$(srcdir)/time"; \
4838 libsrcdir
="$$s/time";; \
4840 srcdiroption
="--srcdir=../$(srcdir)/time"; \
4841 libsrcdir
="$$s/time";; \
4843 $(SHELL
) $${libsrcdir}/configure \
4844 $(HOST_CONFIGARGS
) $${srcdiroption} \
4847 .PHONY
: all-time maybe-all-time
4849 all-time
: configure-time
4850 @r
=`${PWD}`; export r
; \
4851 s
=`cd $(srcdir); ${PWD}`; export s
; \
4853 (cd time
&& $(MAKE
) $(FLAGS_TO_PASS
) all)
4858 @r
=`${PWD}`; export r
; \
4859 s
=`cd $(srcdir); ${PWD}`; export s
; \
4861 (cd time
&& $(MAKE
) $(FLAGS_TO_PASS
) check)
4865 .PHONY
: install-time maybe-install-time
4867 install-time
: installdirs
4868 @r
=`${PWD}`; export r
; \
4869 s
=`cd $(srcdir); ${PWD}`; export s
; \
4871 (cd time
&& $(MAKE
) $(FLAGS_TO_PASS
) install)
4874 .PHONY
: configure-uudecode maybe-configure-uudecode
4875 maybe-configure-uudecode
:
4877 @
test ! -f uudecode
/Makefile || exit
0; \
4878 [ -d uudecode
] || mkdir uudecode
; \
4879 r
=`${PWD}`; export r
; \
4880 s
=`cd $(srcdir); ${PWD}`; export s
; \
4881 CC
="$(CC)"; export CC
; \
4882 CFLAGS
="$(CFLAGS)"; export CFLAGS
; \
4883 CXX
="$(CXX)"; export CXX
; \
4884 CXXFLAGS
="$(CXXFLAGS)"; export CXXFLAGS
; \
4885 if
[ z
$(build_canonical
) != z
$(host_canoncial
) ] ; then \
4886 AR
="$(AR)"; export AR
; \
4887 AS
="$(AS)"; export AS
; \
4888 CC_FOR_BUILD
="$(CC_FOR_BUILD)"; export CC_FOR_BUILD
; \
4889 DLLTOOL
="$(DLLTOOL)"; export DLLTOOL
; \
4890 LD
="$(LD)"; export LD
; \
4891 NM
="$(NM)"; export NM
; \
4892 RANLIB
="$(RANLIB)"; export RANLIB
; \
4893 WINDRES
="$(WINDRES)"; export WINDRES
; \
4894 OBJCOPY
="$(OBJCOPY)"; export OBJCOPY
; \
4895 OBJDUMP
="$(OBJDUMP)"; export OBJDUMP
; \
4897 echo Configuring in uudecode
; \
4898 cd uudecode || exit
1; \
4901 srcdiroption
="--srcdir=."; \
4903 /* |
[A-Za-z
]:[\\/]*) \
4904 srcdiroption
="--srcdir=$(srcdir)/uudecode"; \
4905 libsrcdir
="$$s/uudecode";; \
4907 srcdiroption
="--srcdir=../$(srcdir)/uudecode"; \
4908 libsrcdir
="$$s/uudecode";; \
4910 $(SHELL
) $${libsrcdir}/configure \
4911 $(HOST_CONFIGARGS
) $${srcdiroption} \
4914 .PHONY
: all-uudecode maybe-all-uudecode
4916 all-uudecode
: configure-uudecode
4917 @r
=`${PWD}`; export r
; \
4918 s
=`cd $(srcdir); ${PWD}`; export s
; \
4920 (cd uudecode
&& $(MAKE
) $(FLAGS_TO_PASS
) all)
4923 .PHONY
: check-uudecode
4925 @r
=`${PWD}`; export r
; \
4926 s
=`cd $(srcdir); ${PWD}`; export s
; \
4928 (cd uudecode
&& $(MAKE
) $(FLAGS_TO_PASS
) check)
4932 .PHONY
: install-uudecode maybe-install-uudecode
4933 maybe-install-uudecode
:
4934 install-uudecode
: installdirs
4935 @r
=`${PWD}`; export r
; \
4936 s
=`cd $(srcdir); ${PWD}`; export s
; \
4938 (cd uudecode
&& $(MAKE
) $(FLAGS_TO_PASS
) install)
4941 .PHONY
: configure-wdiff maybe-configure-wdiff
4942 maybe-configure-wdiff
:
4944 @
test ! -f wdiff
/Makefile || exit
0; \
4945 [ -d wdiff
] || mkdir wdiff
; \
4946 r
=`${PWD}`; export r
; \
4947 s
=`cd $(srcdir); ${PWD}`; export s
; \
4948 CC
="$(CC)"; export CC
; \
4949 CFLAGS
="$(CFLAGS)"; export CFLAGS
; \
4950 CXX
="$(CXX)"; export CXX
; \
4951 CXXFLAGS
="$(CXXFLAGS)"; export CXXFLAGS
; \
4952 if
[ z
$(build_canonical
) != z
$(host_canoncial
) ] ; then \
4953 AR
="$(AR)"; export AR
; \
4954 AS
="$(AS)"; export AS
; \
4955 CC_FOR_BUILD
="$(CC_FOR_BUILD)"; export CC_FOR_BUILD
; \
4956 DLLTOOL
="$(DLLTOOL)"; export DLLTOOL
; \
4957 LD
="$(LD)"; export LD
; \
4958 NM
="$(NM)"; export NM
; \
4959 RANLIB
="$(RANLIB)"; export RANLIB
; \
4960 WINDRES
="$(WINDRES)"; export WINDRES
; \
4961 OBJCOPY
="$(OBJCOPY)"; export OBJCOPY
; \
4962 OBJDUMP
="$(OBJDUMP)"; export OBJDUMP
; \
4964 echo Configuring in wdiff
; \
4965 cd wdiff || exit
1; \
4968 srcdiroption
="--srcdir=."; \
4970 /* |
[A-Za-z
]:[\\/]*) \
4971 srcdiroption
="--srcdir=$(srcdir)/wdiff"; \
4972 libsrcdir
="$$s/wdiff";; \
4974 srcdiroption
="--srcdir=../$(srcdir)/wdiff"; \
4975 libsrcdir
="$$s/wdiff";; \
4977 $(SHELL
) $${libsrcdir}/configure \
4978 $(HOST_CONFIGARGS
) $${srcdiroption} \
4981 .PHONY
: all-wdiff maybe-all-wdiff
4983 all-wdiff
: configure-wdiff
4984 @r
=`${PWD}`; export r
; \
4985 s
=`cd $(srcdir); ${PWD}`; export s
; \
4987 (cd wdiff
&& $(MAKE
) $(FLAGS_TO_PASS
) all)
4992 @r
=`${PWD}`; export r
; \
4993 s
=`cd $(srcdir); ${PWD}`; export s
; \
4995 (cd wdiff
&& $(MAKE
) $(FLAGS_TO_PASS
) check)
4999 .PHONY
: install-wdiff maybe-install-wdiff
5000 maybe-install-wdiff
:
5001 install-wdiff
: installdirs
5002 @r
=`${PWD}`; export r
; \
5003 s
=`cd $(srcdir); ${PWD}`; export s
; \
5005 (cd wdiff
&& $(MAKE
) $(FLAGS_TO_PASS
) install)
5008 .PHONY
: configure-zip maybe-configure-zip
5009 maybe-configure-zip
:
5011 @
test ! -f zip
/Makefile || exit
0; \
5012 [ -d zip
] || mkdir zip
; \
5013 r
=`${PWD}`; export r
; \
5014 s
=`cd $(srcdir); ${PWD}`; export s
; \
5015 CC
="$(CC)"; export CC
; \
5016 CFLAGS
="$(CFLAGS)"; export CFLAGS
; \
5017 CXX
="$(CXX)"; export CXX
; \
5018 CXXFLAGS
="$(CXXFLAGS)"; export CXXFLAGS
; \
5019 if
[ z
$(build_canonical
) != z
$(host_canoncial
) ] ; then \
5020 AR
="$(AR)"; export AR
; \
5021 AS
="$(AS)"; export AS
; \
5022 CC_FOR_BUILD
="$(CC_FOR_BUILD)"; export CC_FOR_BUILD
; \
5023 DLLTOOL
="$(DLLTOOL)"; export DLLTOOL
; \
5024 LD
="$(LD)"; export LD
; \
5025 NM
="$(NM)"; export NM
; \
5026 RANLIB
="$(RANLIB)"; export RANLIB
; \
5027 WINDRES
="$(WINDRES)"; export WINDRES
; \
5028 OBJCOPY
="$(OBJCOPY)"; export OBJCOPY
; \
5029 OBJDUMP
="$(OBJDUMP)"; export OBJDUMP
; \
5031 echo Configuring in zip
; \
5035 srcdiroption
="--srcdir=."; \
5037 /* |
[A-Za-z
]:[\\/]*) \
5038 srcdiroption
="--srcdir=$(srcdir)/zip"; \
5039 libsrcdir
="$$s/zip";; \
5041 srcdiroption
="--srcdir=../$(srcdir)/zip"; \
5042 libsrcdir
="$$s/zip";; \
5044 $(SHELL
) $${libsrcdir}/configure \
5045 $(HOST_CONFIGARGS
) $${srcdiroption} \
5048 .PHONY
: all-zip maybe-all-zip
5050 all-zip
: configure-zip
5051 @r
=`${PWD}`; export r
; \
5052 s
=`cd $(srcdir); ${PWD}`; export s
; \
5054 (cd zip
&& $(MAKE
) $(FLAGS_TO_PASS
) all)
5058 # This module is only tested in a native toolchain.
5060 @if
[ '$(host_canonical)' = '$(target_canonical)' ] ; then \
5061 r
=`${PWD}`; export r
; \
5062 s
=`cd $(srcdir); ${PWD}`; export s
; \
5064 (cd zip
&& $(MAKE
) $(FLAGS_TO_PASS
) check); \
5069 .PHONY
: install-zip maybe-install-zip
5071 install-zip
: installdirs
5072 @r
=`${PWD}`; export r
; \
5073 s
=`cd $(srcdir); ${PWD}`; export s
; \
5075 (cd zip
&& $(MAKE
) $(FLAGS_TO_PASS
) install)
5078 .PHONY
: configure-zlib maybe-configure-zlib
5079 maybe-configure-zlib
:
5081 @
test ! -f zlib
/Makefile || exit
0; \
5082 [ -d zlib
] || mkdir zlib
; \
5083 r
=`${PWD}`; export r
; \
5084 s
=`cd $(srcdir); ${PWD}`; export s
; \
5085 CC
="$(CC)"; export CC
; \
5086 CFLAGS
="$(CFLAGS)"; export CFLAGS
; \
5087 CXX
="$(CXX)"; export CXX
; \
5088 CXXFLAGS
="$(CXXFLAGS)"; export CXXFLAGS
; \
5089 if
[ z
$(build_canonical
) != z
$(host_canoncial
) ] ; then \
5090 AR
="$(AR)"; export AR
; \
5091 AS
="$(AS)"; export AS
; \
5092 CC_FOR_BUILD
="$(CC_FOR_BUILD)"; export CC_FOR_BUILD
; \
5093 DLLTOOL
="$(DLLTOOL)"; export DLLTOOL
; \
5094 LD
="$(LD)"; export LD
; \
5095 NM
="$(NM)"; export NM
; \
5096 RANLIB
="$(RANLIB)"; export RANLIB
; \
5097 WINDRES
="$(WINDRES)"; export WINDRES
; \
5098 OBJCOPY
="$(OBJCOPY)"; export OBJCOPY
; \
5099 OBJDUMP
="$(OBJDUMP)"; export OBJDUMP
; \
5101 echo Configuring in zlib
; \
5102 cd zlib || exit
1; \
5105 srcdiroption
="--srcdir=."; \
5107 /* |
[A-Za-z
]:[\\/]*) \
5108 srcdiroption
="--srcdir=$(srcdir)/zlib"; \
5109 libsrcdir
="$$s/zlib";; \
5111 srcdiroption
="--srcdir=../$(srcdir)/zlib"; \
5112 libsrcdir
="$$s/zlib";; \
5114 $(SHELL
) $${libsrcdir}/configure \
5115 $(HOST_CONFIGARGS
) $${srcdiroption} \
5118 .PHONY
: all-zlib maybe-all-zlib
5120 all-zlib
: configure-zlib
5121 @r
=`${PWD}`; export r
; \
5122 s
=`cd $(srcdir); ${PWD}`; export s
; \
5124 (cd zlib
&& $(MAKE
) $(FLAGS_TO_PASS
) all)
5132 .PHONY
: install-zlib maybe-install-zlib
5137 .PHONY
: configure-gdb maybe-configure-gdb
5138 maybe-configure-gdb
:
5140 @
test ! -f gdb
/Makefile || exit
0; \
5141 [ -d gdb
] || mkdir gdb
; \
5142 r
=`${PWD}`; export r
; \
5143 s
=`cd $(srcdir); ${PWD}`; export s
; \
5144 CC
="$(CC)"; export CC
; \
5145 CFLAGS
="$(CFLAGS)"; export CFLAGS
; \
5146 CXX
="$(CXX)"; export CXX
; \
5147 CXXFLAGS
="$(CXXFLAGS)"; export CXXFLAGS
; \
5148 if
[ z
$(build_canonical
) != z
$(host_canoncial
) ] ; then \
5149 AR
="$(AR)"; export AR
; \
5150 AS
="$(AS)"; export AS
; \
5151 CC_FOR_BUILD
="$(CC_FOR_BUILD)"; export CC_FOR_BUILD
; \
5152 DLLTOOL
="$(DLLTOOL)"; export DLLTOOL
; \
5153 LD
="$(LD)"; export LD
; \
5154 NM
="$(NM)"; export NM
; \
5155 RANLIB
="$(RANLIB)"; export RANLIB
; \
5156 WINDRES
="$(WINDRES)"; export WINDRES
; \
5157 OBJCOPY
="$(OBJCOPY)"; export OBJCOPY
; \
5158 OBJDUMP
="$(OBJDUMP)"; export OBJDUMP
; \
5160 echo Configuring in gdb
; \
5164 srcdiroption
="--srcdir=."; \
5166 /* |
[A-Za-z
]:[\\/]*) \
5167 srcdiroption
="--srcdir=$(srcdir)/gdb"; \
5168 libsrcdir
="$$s/gdb";; \
5170 srcdiroption
="--srcdir=../$(srcdir)/gdb"; \
5171 libsrcdir
="$$s/gdb";; \
5173 $(SHELL
) $${libsrcdir}/configure \
5174 $(HOST_CONFIGARGS
) $${srcdiroption} \
5177 .PHONY
: all-gdb maybe-all-gdb
5179 all-gdb
: configure-gdb
5180 @r
=`${PWD}`; export r
; \
5181 s
=`cd $(srcdir); ${PWD}`; export s
; \
5183 (cd gdb
&& $(MAKE
) $(FLAGS_TO_PASS
) $(X11_FLAGS_TO_PASS
) all)
5188 @r
=`${PWD}`; export r
; \
5189 s
=`cd $(srcdir); ${PWD}`; export s
; \
5191 (cd gdb
&& $(MAKE
) $(FLAGS_TO_PASS
) $(X11_FLAGS_TO_PASS
) check)
5195 .PHONY
: install-gdb maybe-install-gdb
5197 install-gdb
: installdirs
5198 @r
=`${PWD}`; export r
; \
5199 s
=`cd $(srcdir); ${PWD}`; export s
; \
5201 (cd gdb
&& $(MAKE
) $(FLAGS_TO_PASS
) $(X11_FLAGS_TO_PASS
) install)
5204 .PHONY
: configure-expect maybe-configure-expect
5205 maybe-configure-expect
:
5207 @
test ! -f expect
/Makefile || exit
0; \
5208 [ -d expect
] || mkdir expect
; \
5209 r
=`${PWD}`; export r
; \
5210 s
=`cd $(srcdir); ${PWD}`; export s
; \
5211 CC
="$(CC)"; export CC
; \
5212 CFLAGS
="$(CFLAGS)"; export CFLAGS
; \
5213 CXX
="$(CXX)"; export CXX
; \
5214 CXXFLAGS
="$(CXXFLAGS)"; export CXXFLAGS
; \
5215 if
[ z
$(build_canonical
) != z
$(host_canoncial
) ] ; then \
5216 AR
="$(AR)"; export AR
; \
5217 AS
="$(AS)"; export AS
; \
5218 CC_FOR_BUILD
="$(CC_FOR_BUILD)"; export CC_FOR_BUILD
; \
5219 DLLTOOL
="$(DLLTOOL)"; export DLLTOOL
; \
5220 LD
="$(LD)"; export LD
; \
5221 NM
="$(NM)"; export NM
; \
5222 RANLIB
="$(RANLIB)"; export RANLIB
; \
5223 WINDRES
="$(WINDRES)"; export WINDRES
; \
5224 OBJCOPY
="$(OBJCOPY)"; export OBJCOPY
; \
5225 OBJDUMP
="$(OBJDUMP)"; export OBJDUMP
; \
5227 echo Configuring in expect
; \
5228 cd expect || exit
1; \
5231 srcdiroption
="--srcdir=."; \
5233 /* |
[A-Za-z
]:[\\/]*) \
5234 srcdiroption
="--srcdir=$(srcdir)/expect"; \
5235 libsrcdir
="$$s/expect";; \
5237 srcdiroption
="--srcdir=../$(srcdir)/expect"; \
5238 libsrcdir
="$$s/expect";; \
5240 $(SHELL
) $${libsrcdir}/configure \
5241 $(HOST_CONFIGARGS
) $${srcdiroption} \
5244 .PHONY
: all-expect maybe-all-expect
5246 all-expect
: configure-expect
5247 @r
=`${PWD}`; export r
; \
5248 s
=`cd $(srcdir); ${PWD}`; export s
; \
5250 (cd expect
&& $(MAKE
) $(FLAGS_TO_PASS
) $(X11_FLAGS_TO_PASS
) all)
5253 .PHONY
: check-expect
5255 @r
=`${PWD}`; export r
; \
5256 s
=`cd $(srcdir); ${PWD}`; export s
; \
5258 (cd expect
&& $(MAKE
) $(FLAGS_TO_PASS
) $(X11_FLAGS_TO_PASS
) check)
5262 .PHONY
: install-expect maybe-install-expect
5263 maybe-install-expect
:
5264 install-expect
: installdirs
5265 @r
=`${PWD}`; export r
; \
5266 s
=`cd $(srcdir); ${PWD}`; export s
; \
5268 (cd expect
&& $(MAKE
) $(FLAGS_TO_PASS
) $(X11_FLAGS_TO_PASS
) install)
5271 .PHONY
: configure-guile maybe-configure-guile
5272 maybe-configure-guile
:
5274 @
test ! -f guile
/Makefile || exit
0; \
5275 [ -d guile
] || mkdir guile
; \
5276 r
=`${PWD}`; export r
; \
5277 s
=`cd $(srcdir); ${PWD}`; export s
; \
5278 CC
="$(CC)"; export CC
; \
5279 CFLAGS
="$(CFLAGS)"; export CFLAGS
; \
5280 CXX
="$(CXX)"; export CXX
; \
5281 CXXFLAGS
="$(CXXFLAGS)"; export CXXFLAGS
; \
5282 if
[ z
$(build_canonical
) != z
$(host_canoncial
) ] ; then \
5283 AR
="$(AR)"; export AR
; \
5284 AS
="$(AS)"; export AS
; \
5285 CC_FOR_BUILD
="$(CC_FOR_BUILD)"; export CC_FOR_BUILD
; \
5286 DLLTOOL
="$(DLLTOOL)"; export DLLTOOL
; \
5287 LD
="$(LD)"; export LD
; \
5288 NM
="$(NM)"; export NM
; \
5289 RANLIB
="$(RANLIB)"; export RANLIB
; \
5290 WINDRES
="$(WINDRES)"; export WINDRES
; \
5291 OBJCOPY
="$(OBJCOPY)"; export OBJCOPY
; \
5292 OBJDUMP
="$(OBJDUMP)"; export OBJDUMP
; \
5294 echo Configuring in guile
; \
5295 cd guile || exit
1; \
5298 srcdiroption
="--srcdir=."; \
5300 /* |
[A-Za-z
]:[\\/]*) \
5301 srcdiroption
="--srcdir=$(srcdir)/guile"; \
5302 libsrcdir
="$$s/guile";; \
5304 srcdiroption
="--srcdir=../$(srcdir)/guile"; \
5305 libsrcdir
="$$s/guile";; \
5307 $(SHELL
) $${libsrcdir}/configure \
5308 $(HOST_CONFIGARGS
) $${srcdiroption} \
5311 .PHONY
: all-guile maybe-all-guile
5313 all-guile
: configure-guile
5314 @r
=`${PWD}`; export r
; \
5315 s
=`cd $(srcdir); ${PWD}`; export s
; \
5317 (cd guile
&& $(MAKE
) $(FLAGS_TO_PASS
) $(X11_FLAGS_TO_PASS
) all)
5322 @r
=`${PWD}`; export r
; \
5323 s
=`cd $(srcdir); ${PWD}`; export s
; \
5325 (cd guile
&& $(MAKE
) $(FLAGS_TO_PASS
) $(X11_FLAGS_TO_PASS
) check)
5329 .PHONY
: install-guile maybe-install-guile
5330 maybe-install-guile
:
5331 install-guile
: installdirs
5332 @r
=`${PWD}`; export r
; \
5333 s
=`cd $(srcdir); ${PWD}`; export s
; \
5335 (cd guile
&& $(MAKE
) $(FLAGS_TO_PASS
) $(X11_FLAGS_TO_PASS
) install)
5338 .PHONY
: configure-tk maybe-configure-tk
5341 @
test ! -f tk
/Makefile || exit
0; \
5342 [ -d tk
] || mkdir tk
; \
5343 r
=`${PWD}`; export r
; \
5344 s
=`cd $(srcdir); ${PWD}`; export s
; \
5345 CC
="$(CC)"; export CC
; \
5346 CFLAGS
="$(CFLAGS)"; export CFLAGS
; \
5347 CXX
="$(CXX)"; export CXX
; \
5348 CXXFLAGS
="$(CXXFLAGS)"; export CXXFLAGS
; \
5349 if
[ z
$(build_canonical
) != z
$(host_canoncial
) ] ; then \
5350 AR
="$(AR)"; export AR
; \
5351 AS
="$(AS)"; export AS
; \
5352 CC_FOR_BUILD
="$(CC_FOR_BUILD)"; export CC_FOR_BUILD
; \
5353 DLLTOOL
="$(DLLTOOL)"; export DLLTOOL
; \
5354 LD
="$(LD)"; export LD
; \
5355 NM
="$(NM)"; export NM
; \
5356 RANLIB
="$(RANLIB)"; export RANLIB
; \
5357 WINDRES
="$(WINDRES)"; export WINDRES
; \
5358 OBJCOPY
="$(OBJCOPY)"; export OBJCOPY
; \
5359 OBJDUMP
="$(OBJDUMP)"; export OBJDUMP
; \
5361 echo Configuring in tk
; \
5365 srcdiroption
="--srcdir=."; \
5367 /* |
[A-Za-z
]:[\\/]*) \
5368 srcdiroption
="--srcdir=$(srcdir)/tk"; \
5369 libsrcdir
="$$s/tk";; \
5371 srcdiroption
="--srcdir=../$(srcdir)/tk"; \
5372 libsrcdir
="$$s/tk";; \
5374 $(SHELL
) $${libsrcdir}/configure \
5375 $(HOST_CONFIGARGS
) $${srcdiroption} \
5378 .PHONY
: all-tk maybe-all-tk
5380 all-tk
: configure-tk
5381 @r
=`${PWD}`; export r
; \
5382 s
=`cd $(srcdir); ${PWD}`; export s
; \
5384 (cd tk
&& $(MAKE
) $(FLAGS_TO_PASS
) $(X11_FLAGS_TO_PASS
) all)
5389 @r
=`${PWD}`; export r
; \
5390 s
=`cd $(srcdir); ${PWD}`; export s
; \
5392 (cd tk
&& $(MAKE
) $(FLAGS_TO_PASS
) $(X11_FLAGS_TO_PASS
) check)
5396 .PHONY
: install-tk maybe-install-tk
5398 install-tk
: installdirs
5399 @r
=`${PWD}`; export r
; \
5400 s
=`cd $(srcdir); ${PWD}`; export s
; \
5402 (cd tk
&& $(MAKE
) $(FLAGS_TO_PASS
) $(X11_FLAGS_TO_PASS
) install)
5405 .PHONY
: configure-tix maybe-configure-tix
5406 maybe-configure-tix
:
5408 @
test ! -f tix
/Makefile || exit
0; \
5409 [ -d tix
] || mkdir tix
; \
5410 r
=`${PWD}`; export r
; \
5411 s
=`cd $(srcdir); ${PWD}`; export s
; \
5412 CC
="$(CC)"; export CC
; \
5413 CFLAGS
="$(CFLAGS)"; export CFLAGS
; \
5414 CXX
="$(CXX)"; export CXX
; \
5415 CXXFLAGS
="$(CXXFLAGS)"; export CXXFLAGS
; \
5416 if
[ z
$(build_canonical
) != z
$(host_canoncial
) ] ; then \
5417 AR
="$(AR)"; export AR
; \
5418 AS
="$(AS)"; export AS
; \
5419 CC_FOR_BUILD
="$(CC_FOR_BUILD)"; export CC_FOR_BUILD
; \
5420 DLLTOOL
="$(DLLTOOL)"; export DLLTOOL
; \
5421 LD
="$(LD)"; export LD
; \
5422 NM
="$(NM)"; export NM
; \
5423 RANLIB
="$(RANLIB)"; export RANLIB
; \
5424 WINDRES
="$(WINDRES)"; export WINDRES
; \
5425 OBJCOPY
="$(OBJCOPY)"; export OBJCOPY
; \
5426 OBJDUMP
="$(OBJDUMP)"; export OBJDUMP
; \
5428 echo Configuring in tix
; \
5432 srcdiroption
="--srcdir=."; \
5434 /* |
[A-Za-z
]:[\\/]*) \
5435 srcdiroption
="--srcdir=$(srcdir)/tix"; \
5436 libsrcdir
="$$s/tix";; \
5438 srcdiroption
="--srcdir=../$(srcdir)/tix"; \
5439 libsrcdir
="$$s/tix";; \
5441 $(SHELL
) $${libsrcdir}/configure \
5442 $(HOST_CONFIGARGS
) $${srcdiroption} \
5445 .PHONY
: all-tix maybe-all-tix
5447 all-tix
: configure-tix
5448 @r
=`${PWD}`; export r
; \
5449 s
=`cd $(srcdir); ${PWD}`; export s
; \
5451 (cd tix
&& $(MAKE
) $(FLAGS_TO_PASS
) $(X11_FLAGS_TO_PASS
) all)
5456 @r
=`${PWD}`; export r
; \
5457 s
=`cd $(srcdir); ${PWD}`; export s
; \
5459 (cd tix
&& $(MAKE
) $(FLAGS_TO_PASS
) $(X11_FLAGS_TO_PASS
) check)
5463 .PHONY
: install-tix maybe-install-tix
5465 install-tix
: installdirs
5466 @r
=`${PWD}`; export r
; \
5467 s
=`cd $(srcdir); ${PWD}`; export s
; \
5469 (cd tix
&& $(MAKE
) $(FLAGS_TO_PASS
) $(X11_FLAGS_TO_PASS
) install)
5472 .PHONY
: configure-libtermcap maybe-configure-libtermcap
5473 maybe-configure-libtermcap
:
5474 configure-libtermcap
:
5475 @
test ! -f libtermcap
/Makefile || exit
0; \
5476 [ -d libtermcap
] || mkdir libtermcap
; \
5477 r
=`${PWD}`; export r
; \
5478 s
=`cd $(srcdir); ${PWD}`; export s
; \
5479 CC
="$(CC)"; export CC
; \
5480 CFLAGS
="$(CFLAGS)"; export CFLAGS
; \
5481 CXX
="$(CXX)"; export CXX
; \
5482 CXXFLAGS
="$(CXXFLAGS)"; export CXXFLAGS
; \
5483 if
[ z
$(build_canonical
) != z
$(host_canoncial
) ] ; then \
5484 AR
="$(AR)"; export AR
; \
5485 AS
="$(AS)"; export AS
; \
5486 CC_FOR_BUILD
="$(CC_FOR_BUILD)"; export CC_FOR_BUILD
; \
5487 DLLTOOL
="$(DLLTOOL)"; export DLLTOOL
; \
5488 LD
="$(LD)"; export LD
; \
5489 NM
="$(NM)"; export NM
; \
5490 RANLIB
="$(RANLIB)"; export RANLIB
; \
5491 WINDRES
="$(WINDRES)"; export WINDRES
; \
5492 OBJCOPY
="$(OBJCOPY)"; export OBJCOPY
; \
5493 OBJDUMP
="$(OBJDUMP)"; export OBJDUMP
; \
5495 echo Configuring in libtermcap
; \
5496 cd libtermcap || exit
1; \
5499 srcdiroption
="--srcdir=."; \
5501 /* |
[A-Za-z
]:[\\/]*) \
5502 srcdiroption
="--srcdir=$(srcdir)/libtermcap"; \
5503 libsrcdir
="$$s/libtermcap";; \
5505 srcdiroption
="--srcdir=../$(srcdir)/libtermcap"; \
5506 libsrcdir
="$$s/libtermcap";; \
5508 $(SHELL
) $${libsrcdir}/configure \
5509 $(HOST_CONFIGARGS
) $${srcdiroption} \
5512 .PHONY
: all-libtermcap maybe-all-libtermcap
5513 maybe-all-libtermcap
:
5514 all-libtermcap
: configure-libtermcap
5515 @r
=`${PWD}`; export r
; \
5516 s
=`cd $(srcdir); ${PWD}`; export s
; \
5518 (cd libtermcap
&& $(MAKE
) $(FLAGS_TO_PASS
) all)
5521 .PHONY
: check-libtermcap
5526 .PHONY
: install-libtermcap maybe-install-libtermcap
5527 maybe-install-libtermcap
:
5528 install-libtermcap
: installdirs
5529 @r
=`${PWD}`; export r
; \
5530 s
=`cd $(srcdir); ${PWD}`; export s
; \
5532 (cd libtermcap
&& $(MAKE
) $(FLAGS_TO_PASS
) install)
5535 .PHONY
: configure-utils maybe-configure-utils
5536 maybe-configure-utils
:
5538 @
test ! -f utils
/Makefile || exit
0; \
5539 [ -d utils
] || mkdir utils
; \
5540 r
=`${PWD}`; export r
; \
5541 s
=`cd $(srcdir); ${PWD}`; export s
; \
5542 CC
="$(CC)"; export CC
; \
5543 CFLAGS
="$(CFLAGS)"; export CFLAGS
; \
5544 CXX
="$(CXX)"; export CXX
; \
5545 CXXFLAGS
="$(CXXFLAGS)"; export CXXFLAGS
; \
5546 if
[ z
$(build_canonical
) != z
$(host_canoncial
) ] ; then \
5547 AR
="$(AR)"; export AR
; \
5548 AS
="$(AS)"; export AS
; \
5549 CC_FOR_BUILD
="$(CC_FOR_BUILD)"; export CC_FOR_BUILD
; \
5550 DLLTOOL
="$(DLLTOOL)"; export DLLTOOL
; \
5551 LD
="$(LD)"; export LD
; \
5552 NM
="$(NM)"; export NM
; \
5553 RANLIB
="$(RANLIB)"; export RANLIB
; \
5554 WINDRES
="$(WINDRES)"; export WINDRES
; \
5555 OBJCOPY
="$(OBJCOPY)"; export OBJCOPY
; \
5556 OBJDUMP
="$(OBJDUMP)"; export OBJDUMP
; \
5558 echo Configuring in utils
; \
5559 cd utils || exit
1; \
5562 srcdiroption
="--srcdir=."; \
5564 /* |
[A-Za-z
]:[\\/]*) \
5565 srcdiroption
="--srcdir=$(srcdir)/utils"; \
5566 libsrcdir
="$$s/utils";; \
5568 srcdiroption
="--srcdir=../$(srcdir)/utils"; \
5569 libsrcdir
="$$s/utils";; \
5571 $(SHELL
) $${libsrcdir}/configure \
5572 $(HOST_CONFIGARGS
) $${srcdiroption} \
5575 .PHONY
: all-utils maybe-all-utils
5577 all-utils
: configure-utils
5578 @r
=`${PWD}`; export r
; \
5579 s
=`cd $(srcdir); ${PWD}`; export s
; \
5581 (cd utils
&& $(MAKE
) $(FLAGS_TO_PASS
) all)
5589 .PHONY
: install-utils maybe-install-utils
5590 maybe-install-utils
:
5591 install-utils
: installdirs
5592 @r
=`${PWD}`; export r
; \
5593 s
=`cd $(srcdir); ${PWD}`; export s
; \
5595 (cd utils
&& $(MAKE
) $(FLAGS_TO_PASS
) install)
5599 # ---------------------------------------
5600 # Modules which run on the target machine
5601 # ---------------------------------------
5603 .PHONY
: configure-target-libstdc
++-v3 maybe-configure-target-libstdc
++-v3
5604 maybe-configure-target-libstdc
++-v3
:
5606 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
5607 $(TARGET_SUBDIR
)/libstdc
++-v3
/multilib.out
: multilib.out
5608 @
[ -d
$(TARGET_SUBDIR
)/libstdc
++-v3
] || \
5609 mkdir
$(TARGET_SUBDIR
)/libstdc
++-v3
; \
5610 rm -f
$(TARGET_SUBDIR
)/libstdc
++-v3
/Makefile ||
: ; \
5611 cp multilib.out
$(TARGET_SUBDIR
)/libstdc
++-v3
/multilib.out
5613 configure-target-libstdc
++-v3
: $(TARGET_SUBDIR
)/libstdc
++-v3
/multilib.out
5614 @
test ! -f
$(TARGET_SUBDIR
)/libstdc
++-v3
/Makefile || exit
0; \
5615 [ -d
$(TARGET_SUBDIR
)/libstdc
++-v3
] || \
5616 mkdir
$(TARGET_SUBDIR
)/libstdc
++-v3
;\
5617 r
=`${PWD}`; export r
; \
5618 s
=`cd $(srcdir); ${PWD}`; export s
; \
5620 AR
="$(AR_FOR_TARGET)"; export AR
; \
5621 AS
="$(AS_FOR_TARGET)"; export AS
; \
5622 CC
="$(CC_FOR_TARGET)"; export CC
; \
5623 CFLAGS
="$(CFLAGS_FOR_TARGET)"; export CFLAGS
; \
5624 CPPFLAGS
="$(CFLAGS_FOR_TARGET)"; export CPPFLAGS
; \
5625 CXX_FOR_TARGET
="$(RAW_CXX_FOR_TARGET)"; export CXX_FOR_TARGET
; \
5626 CXX
="$(RAW_CXX_FOR_TARGET)"; export CXX
; \
5627 CXXFLAGS
="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS
; \
5628 GCJ
="$(GCJ_FOR_TARGET)"; export GCJ
; \
5629 DLLTOOL
="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL
; \
5630 LD
="$(LD_FOR_TARGET)"; export LD
; \
5631 LDFLAGS
="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS
; \
5632 NM
="$(NM_FOR_TARGET)"; export NM
; \
5633 RANLIB
="$(RANLIB_FOR_TARGET)"; export RANLIB
; \
5634 WINDRES
="$(WINDRES_FOR_TARGET)"; export WINDRES
; \
5635 echo Configuring in
$(TARGET_SUBDIR
)/libstdc
++-v3
; \
5636 cd
"$(TARGET_SUBDIR)/libstdc++-v3" || exit
1; \
5638 /* |
[A-Za-z
]:[\\/]*) \
5639 topdir
=$(srcdir) ;; \
5641 case
"$(TARGET_SUBDIR)" in \
5642 .
) topdir
="../$(srcdir)" ;; \
5643 *) topdir
="../../$(srcdir)" ;; \
5646 if
[ "$(srcdir)" = "." ] ; then \
5647 if
[ "$(TARGET_SUBDIR)" != "." ] ; then \
5648 if
$(SHELL
) $$s/symlink-tree
$${topdir}/libstdc
++-v3
"no-such-file" ; then \
5649 if
[ -f Makefile
]; then \
5650 if
$(MAKE
) distclean; then \
5664 srcdiroption
="--srcdir=."; \
5667 srcdiroption
="--srcdir=$${topdir}/libstdc++-v3"; \
5668 libsrcdir
="$$s/libstdc++-v3"; \
5670 rm -f no-such-file ||
: ; \
5671 CONFIG_SITE
=no-such-file
$(SHELL
) $${libsrcdir}/configure \
5672 $(TARGET_CONFIGARGS
) $${srcdiroption} \
5673 --with-target-subdir
="$(TARGET_SUBDIR)" \
5676 .PHONY
: all-target-libstdc
++-v3 maybe-all-target-libstdc
++-v3
5677 maybe-all-target-libstdc
++-v3
:
5678 all-target-libstdc
++-v3
: configure-target-libstdc
++-v3
5679 @r
=`${PWD}`; export r
; \
5680 s
=`cd $(srcdir); ${PWD}`; export s
; \
5682 (cd
$(TARGET_SUBDIR
)/libstdc
++-v3
&& \
5683 $(MAKE
) $(TARGET_FLAGS_TO_PASS
) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' all)
5685 .PHONY
: check-target-libstdc
++-v3
5686 check-target-libstdc
++-v3
:
5687 @r
=`${PWD}`; export r
; \
5688 s
=`cd $(srcdir); ${PWD}`; export s
; \
5690 (cd
$(TARGET_SUBDIR
)/libstdc
++-v3
&& \
5691 $(MAKE
) $(TARGET_FLAGS_TO_PASS
) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' check)
5694 .PHONY
: install-target-libstdc
++-v3 maybe-install-target-libstdc
++-v3
5695 maybe-install-target-libstdc
++-v3
:
5696 install-target-libstdc
++-v3
: installdirs
5697 @r
=`${PWD}`; export r
; \
5698 s
=`cd $(srcdir); ${PWD}`; export s
; \
5700 (cd
$(TARGET_SUBDIR
)/libstdc
++-v3
&& \
5701 $(MAKE
) $(TARGET_FLAGS_TO_PASS
) install)
5704 .PHONY
: configure-target-newlib maybe-configure-target-newlib
5705 maybe-configure-target-newlib
:
5707 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
5708 $(TARGET_SUBDIR
)/newlib
/multilib.out
: multilib.out
5709 @
[ -d
$(TARGET_SUBDIR
)/newlib
] || \
5710 mkdir
$(TARGET_SUBDIR
)/newlib
; \
5711 rm -f
$(TARGET_SUBDIR
)/newlib
/Makefile ||
: ; \
5712 cp multilib.out
$(TARGET_SUBDIR
)/newlib
/multilib.out
5714 configure-target-newlib
: $(TARGET_SUBDIR
)/newlib
/multilib.out
5715 @
test ! -f
$(TARGET_SUBDIR
)/newlib
/Makefile || exit
0; \
5716 [ -d
$(TARGET_SUBDIR
)/newlib
] || \
5717 mkdir
$(TARGET_SUBDIR
)/newlib
;\
5718 r
=`${PWD}`; export r
; \
5719 s
=`cd $(srcdir); ${PWD}`; export s
; \
5721 AR
="$(AR_FOR_TARGET)"; export AR
; \
5722 AS
="$(AS_FOR_TARGET)"; export AS
; \
5723 CC
="$(CC_FOR_TARGET)"; export CC
; \
5724 CFLAGS
="$(CFLAGS_FOR_TARGET)"; export CFLAGS
; \
5725 CPPFLAGS
="$(CFLAGS_FOR_TARGET)"; export CPPFLAGS
; \
5726 CXX
="$(CXX_FOR_TARGET)"; export CXX
; \
5727 CXXFLAGS
="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS
; \
5728 GCJ
="$(GCJ_FOR_TARGET)"; export GCJ
; \
5729 DLLTOOL
="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL
; \
5730 LD
="$(LD_FOR_TARGET)"; export LD
; \
5731 LDFLAGS
="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS
; \
5732 NM
="$(NM_FOR_TARGET)"; export NM
; \
5733 RANLIB
="$(RANLIB_FOR_TARGET)"; export RANLIB
; \
5734 WINDRES
="$(WINDRES_FOR_TARGET)"; export WINDRES
; \
5735 echo Configuring in
$(TARGET_SUBDIR
)/newlib
; \
5736 cd
"$(TARGET_SUBDIR)/newlib" || exit
1; \
5738 /* |
[A-Za-z
]:[\\/]*) \
5739 topdir
=$(srcdir) ;; \
5741 case
"$(TARGET_SUBDIR)" in \
5742 .
) topdir
="../$(srcdir)" ;; \
5743 *) topdir
="../../$(srcdir)" ;; \
5746 if
[ "$(srcdir)" = "." ] ; then \
5747 if
[ "$(TARGET_SUBDIR)" != "." ] ; then \
5748 if
$(SHELL
) $$s/symlink-tree
$${topdir}/newlib
"no-such-file" ; then \
5749 if
[ -f Makefile
]; then \
5750 if
$(MAKE
) distclean; then \
5764 srcdiroption
="--srcdir=."; \
5767 srcdiroption
="--srcdir=$${topdir}/newlib"; \
5768 libsrcdir
="$$s/newlib"; \
5770 rm -f no-such-file ||
: ; \
5771 CONFIG_SITE
=no-such-file
$(SHELL
) $${libsrcdir}/configure \
5772 $(TARGET_CONFIGARGS
) $${srcdiroption} \
5773 --with-target-subdir
="$(TARGET_SUBDIR)" \
5776 .PHONY
: all-target-newlib maybe-all-target-newlib
5777 maybe-all-target-newlib
:
5778 all-target-newlib
: configure-target-newlib
5779 @r
=`${PWD}`; export r
; \
5780 s
=`cd $(srcdir); ${PWD}`; export s
; \
5782 (cd
$(TARGET_SUBDIR
)/newlib
&& \
5783 $(MAKE
) $(TARGET_FLAGS_TO_PASS
) all)
5785 .PHONY
: check-target-newlib
5786 check-target-newlib
:
5787 @r
=`${PWD}`; export r
; \
5788 s
=`cd $(srcdir); ${PWD}`; export s
; \
5790 (cd
$(TARGET_SUBDIR
)/newlib
&& \
5791 $(MAKE
) $(TARGET_FLAGS_TO_PASS
) check)
5794 .PHONY
: install-target-newlib maybe-install-target-newlib
5795 maybe-install-target-newlib
:
5796 install-target-newlib
: installdirs
5797 @r
=`${PWD}`; export r
; \
5798 s
=`cd $(srcdir); ${PWD}`; export s
; \
5800 (cd
$(TARGET_SUBDIR
)/newlib
&& \
5801 $(MAKE
) $(TARGET_FLAGS_TO_PASS
) install)
5804 .PHONY
: configure-target-libf2c maybe-configure-target-libf2c
5805 maybe-configure-target-libf2c
:
5807 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
5808 $(TARGET_SUBDIR
)/libf2c
/multilib.out
: multilib.out
5809 @
[ -d
$(TARGET_SUBDIR
)/libf2c
] || \
5810 mkdir
$(TARGET_SUBDIR
)/libf2c
; \
5811 rm -f
$(TARGET_SUBDIR
)/libf2c
/Makefile ||
: ; \
5812 cp multilib.out
$(TARGET_SUBDIR
)/libf2c
/multilib.out
5814 configure-target-libf2c
: $(TARGET_SUBDIR
)/libf2c
/multilib.out
5815 @
test ! -f
$(TARGET_SUBDIR
)/libf2c
/Makefile || exit
0; \
5816 [ -d
$(TARGET_SUBDIR
)/libf2c
] || \
5817 mkdir
$(TARGET_SUBDIR
)/libf2c
;\
5818 r
=`${PWD}`; export r
; \
5819 s
=`cd $(srcdir); ${PWD}`; export s
; \
5821 AR
="$(AR_FOR_TARGET)"; export AR
; \
5822 AS
="$(AS_FOR_TARGET)"; export AS
; \
5823 CC
="$(CC_FOR_TARGET)"; export CC
; \
5824 CFLAGS
="$(CFLAGS_FOR_TARGET)"; export CFLAGS
; \
5825 CPPFLAGS
="$(CFLAGS_FOR_TARGET)"; export CPPFLAGS
; \
5826 CXX
="$(CXX_FOR_TARGET)"; export CXX
; \
5827 CXXFLAGS
="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS
; \
5828 GCJ
="$(GCJ_FOR_TARGET)"; export GCJ
; \
5829 DLLTOOL
="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL
; \
5830 LD
="$(LD_FOR_TARGET)"; export LD
; \
5831 LDFLAGS
="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS
; \
5832 NM
="$(NM_FOR_TARGET)"; export NM
; \
5833 RANLIB
="$(RANLIB_FOR_TARGET)"; export RANLIB
; \
5834 WINDRES
="$(WINDRES_FOR_TARGET)"; export WINDRES
; \
5835 echo Configuring in
$(TARGET_SUBDIR
)/libf2c
; \
5836 cd
"$(TARGET_SUBDIR)/libf2c" || exit
1; \
5838 /* |
[A-Za-z
]:[\\/]*) \
5839 topdir
=$(srcdir) ;; \
5841 case
"$(TARGET_SUBDIR)" in \
5842 .
) topdir
="../$(srcdir)" ;; \
5843 *) topdir
="../../$(srcdir)" ;; \
5846 if
[ "$(srcdir)" = "." ] ; then \
5847 if
[ "$(TARGET_SUBDIR)" != "." ] ; then \
5848 if
$(SHELL
) $$s/symlink-tree
$${topdir}/libf2c
"no-such-file" ; then \
5849 if
[ -f Makefile
]; then \
5850 if
$(MAKE
) distclean; then \
5864 srcdiroption
="--srcdir=."; \
5867 srcdiroption
="--srcdir=$${topdir}/libf2c"; \
5868 libsrcdir
="$$s/libf2c"; \
5870 rm -f no-such-file ||
: ; \
5871 CONFIG_SITE
=no-such-file
$(SHELL
) $${libsrcdir}/configure \
5872 $(TARGET_CONFIGARGS
) $${srcdiroption} \
5873 --with-target-subdir
="$(TARGET_SUBDIR)" \
5876 .PHONY
: all-target-libf2c maybe-all-target-libf2c
5877 maybe-all-target-libf2c
:
5878 all-target-libf2c
: configure-target-libf2c
5879 @r
=`${PWD}`; export r
; \
5880 s
=`cd $(srcdir); ${PWD}`; export s
; \
5882 (cd
$(TARGET_SUBDIR
)/libf2c
&& \
5883 $(MAKE
) $(TARGET_FLAGS_TO_PASS
) all)
5885 .PHONY
: check-target-libf2c
5886 check-target-libf2c
:
5887 @r
=`${PWD}`; export r
; \
5888 s
=`cd $(srcdir); ${PWD}`; export s
; \
5890 (cd
$(TARGET_SUBDIR
)/libf2c
&& \
5891 $(MAKE
) $(TARGET_FLAGS_TO_PASS
) check)
5894 .PHONY
: install-target-libf2c maybe-install-target-libf2c
5895 maybe-install-target-libf2c
:
5896 install-target-libf2c
: installdirs
5897 @r
=`${PWD}`; export r
; \
5898 s
=`cd $(srcdir); ${PWD}`; export s
; \
5900 (cd
$(TARGET_SUBDIR
)/libf2c
&& \
5901 $(MAKE
) $(TARGET_FLAGS_TO_PASS
) install)
5904 .PHONY
: configure-target-libobjc maybe-configure-target-libobjc
5905 maybe-configure-target-libobjc
:
5907 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
5908 $(TARGET_SUBDIR
)/libobjc
/multilib.out
: multilib.out
5909 @
[ -d
$(TARGET_SUBDIR
)/libobjc
] || \
5910 mkdir
$(TARGET_SUBDIR
)/libobjc
; \
5911 rm -f
$(TARGET_SUBDIR
)/libobjc
/Makefile ||
: ; \
5912 cp multilib.out
$(TARGET_SUBDIR
)/libobjc
/multilib.out
5914 configure-target-libobjc
: $(TARGET_SUBDIR
)/libobjc
/multilib.out
5915 @
test ! -f
$(TARGET_SUBDIR
)/libobjc
/Makefile || exit
0; \
5916 [ -d
$(TARGET_SUBDIR
)/libobjc
] || \
5917 mkdir
$(TARGET_SUBDIR
)/libobjc
;\
5918 r
=`${PWD}`; export r
; \
5919 s
=`cd $(srcdir); ${PWD}`; export s
; \
5921 AR
="$(AR_FOR_TARGET)"; export AR
; \
5922 AS
="$(AS_FOR_TARGET)"; export AS
; \
5923 CC
="$(CC_FOR_TARGET)"; export CC
; \
5924 CFLAGS
="$(CFLAGS_FOR_TARGET)"; export CFLAGS
; \
5925 CPPFLAGS
="$(CFLAGS_FOR_TARGET)"; export CPPFLAGS
; \
5926 CXX
="$(CXX_FOR_TARGET)"; export CXX
; \
5927 CXXFLAGS
="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS
; \
5928 GCJ
="$(GCJ_FOR_TARGET)"; export GCJ
; \
5929 DLLTOOL
="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL
; \
5930 LD
="$(LD_FOR_TARGET)"; export LD
; \
5931 LDFLAGS
="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS
; \
5932 NM
="$(NM_FOR_TARGET)"; export NM
; \
5933 RANLIB
="$(RANLIB_FOR_TARGET)"; export RANLIB
; \
5934 WINDRES
="$(WINDRES_FOR_TARGET)"; export WINDRES
; \
5935 echo Configuring in
$(TARGET_SUBDIR
)/libobjc
; \
5936 cd
"$(TARGET_SUBDIR)/libobjc" || exit
1; \
5938 /* |
[A-Za-z
]:[\\/]*) \
5939 topdir
=$(srcdir) ;; \
5941 case
"$(TARGET_SUBDIR)" in \
5942 .
) topdir
="../$(srcdir)" ;; \
5943 *) topdir
="../../$(srcdir)" ;; \
5946 if
[ "$(srcdir)" = "." ] ; then \
5947 if
[ "$(TARGET_SUBDIR)" != "." ] ; then \
5948 if
$(SHELL
) $$s/symlink-tree
$${topdir}/libobjc
"no-such-file" ; then \
5949 if
[ -f Makefile
]; then \
5950 if
$(MAKE
) distclean; then \
5964 srcdiroption
="--srcdir=."; \
5967 srcdiroption
="--srcdir=$${topdir}/libobjc"; \
5968 libsrcdir
="$$s/libobjc"; \
5970 rm -f no-such-file ||
: ; \
5971 CONFIG_SITE
=no-such-file
$(SHELL
) $${libsrcdir}/configure \
5972 $(TARGET_CONFIGARGS
) $${srcdiroption} \
5973 --with-target-subdir
="$(TARGET_SUBDIR)" \
5976 .PHONY
: all-target-libobjc maybe-all-target-libobjc
5977 maybe-all-target-libobjc
:
5978 all-target-libobjc
: configure-target-libobjc
5979 @r
=`${PWD}`; export r
; \
5980 s
=`cd $(srcdir); ${PWD}`; export s
; \
5982 (cd
$(TARGET_SUBDIR
)/libobjc
&& \
5983 $(MAKE
) $(TARGET_FLAGS_TO_PASS
) all)
5985 .PHONY
: check-target-libobjc
5986 check-target-libobjc
:
5987 @r
=`${PWD}`; export r
; \
5988 s
=`cd $(srcdir); ${PWD}`; export s
; \
5990 (cd
$(TARGET_SUBDIR
)/libobjc
&& \
5991 $(MAKE
) $(TARGET_FLAGS_TO_PASS
) check)
5994 .PHONY
: install-target-libobjc maybe-install-target-libobjc
5995 maybe-install-target-libobjc
:
5996 install-target-libobjc
: installdirs
5997 @r
=`${PWD}`; export r
; \
5998 s
=`cd $(srcdir); ${PWD}`; export s
; \
6000 (cd
$(TARGET_SUBDIR
)/libobjc
&& \
6001 $(MAKE
) $(TARGET_FLAGS_TO_PASS
) install)
6004 .PHONY
: configure-target-libtermcap maybe-configure-target-libtermcap
6005 maybe-configure-target-libtermcap
:
6007 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
6008 $(TARGET_SUBDIR
)/libtermcap
/multilib.out
: multilib.out
6009 @
[ -d
$(TARGET_SUBDIR
)/libtermcap
] || \
6010 mkdir
$(TARGET_SUBDIR
)/libtermcap
; \
6011 rm -f
$(TARGET_SUBDIR
)/libtermcap
/Makefile ||
: ; \
6012 cp multilib.out
$(TARGET_SUBDIR
)/libtermcap
/multilib.out
6014 configure-target-libtermcap
: $(TARGET_SUBDIR
)/libtermcap
/multilib.out
6015 @
test ! -f
$(TARGET_SUBDIR
)/libtermcap
/Makefile || exit
0; \
6016 [ -d
$(TARGET_SUBDIR
)/libtermcap
] || \
6017 mkdir
$(TARGET_SUBDIR
)/libtermcap
;\
6018 r
=`${PWD}`; export r
; \
6019 s
=`cd $(srcdir); ${PWD}`; export s
; \
6021 AR
="$(AR_FOR_TARGET)"; export AR
; \
6022 AS
="$(AS_FOR_TARGET)"; export AS
; \
6023 CC
="$(CC_FOR_TARGET)"; export CC
; \
6024 CFLAGS
="$(CFLAGS_FOR_TARGET)"; export CFLAGS
; \
6025 CPPFLAGS
="$(CFLAGS_FOR_TARGET)"; export CPPFLAGS
; \
6026 CXX
="$(CXX_FOR_TARGET)"; export CXX
; \
6027 CXXFLAGS
="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS
; \
6028 GCJ
="$(GCJ_FOR_TARGET)"; export GCJ
; \
6029 DLLTOOL
="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL
; \
6030 LD
="$(LD_FOR_TARGET)"; export LD
; \
6031 LDFLAGS
="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS
; \
6032 NM
="$(NM_FOR_TARGET)"; export NM
; \
6033 RANLIB
="$(RANLIB_FOR_TARGET)"; export RANLIB
; \
6034 WINDRES
="$(WINDRES_FOR_TARGET)"; export WINDRES
; \
6035 echo Configuring in
$(TARGET_SUBDIR
)/libtermcap
; \
6036 cd
"$(TARGET_SUBDIR)/libtermcap" || exit
1; \
6038 /* |
[A-Za-z
]:[\\/]*) \
6039 topdir
=$(srcdir) ;; \
6041 case
"$(TARGET_SUBDIR)" in \
6042 .
) topdir
="../$(srcdir)" ;; \
6043 *) topdir
="../../$(srcdir)" ;; \
6046 if
[ "$(srcdir)" = "." ] ; then \
6047 if
[ "$(TARGET_SUBDIR)" != "." ] ; then \
6048 if
$(SHELL
) $$s/symlink-tree
$${topdir}/libtermcap
"no-such-file" ; then \
6049 if
[ -f Makefile
]; then \
6050 if
$(MAKE
) distclean; then \
6064 srcdiroption
="--srcdir=."; \
6067 srcdiroption
="--srcdir=$${topdir}/libtermcap"; \
6068 libsrcdir
="$$s/libtermcap"; \
6070 rm -f no-such-file ||
: ; \
6071 CONFIG_SITE
=no-such-file
$(SHELL
) $${libsrcdir}/configure \
6072 $(TARGET_CONFIGARGS
) $${srcdiroption} \
6073 --with-target-subdir
="$(TARGET_SUBDIR)" \
6076 .PHONY
: all-target-libtermcap maybe-all-target-libtermcap
6077 maybe-all-target-libtermcap
:
6078 all-target-libtermcap
: configure-target-libtermcap
6079 @r
=`${PWD}`; export r
; \
6080 s
=`cd $(srcdir); ${PWD}`; export s
; \
6082 (cd
$(TARGET_SUBDIR
)/libtermcap
&& \
6083 $(MAKE
) $(TARGET_FLAGS_TO_PASS
) all)
6085 # Dummy target for uncheckable module.
6086 .PHONY
: check-target-libtermcap
6087 check-target-libtermcap
:
6090 .PHONY
: install-target-libtermcap maybe-install-target-libtermcap
6091 maybe-install-target-libtermcap
:
6092 install-target-libtermcap
: installdirs
6093 @r
=`${PWD}`; export r
; \
6094 s
=`cd $(srcdir); ${PWD}`; export s
; \
6096 (cd
$(TARGET_SUBDIR
)/libtermcap
&& \
6097 $(MAKE
) $(TARGET_FLAGS_TO_PASS
) install)
6100 .PHONY
: configure-target-winsup maybe-configure-target-winsup
6101 maybe-configure-target-winsup
:
6103 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
6104 $(TARGET_SUBDIR
)/winsup
/multilib.out
: multilib.out
6105 @
[ -d
$(TARGET_SUBDIR
)/winsup
] || \
6106 mkdir
$(TARGET_SUBDIR
)/winsup
; \
6107 rm -f
$(TARGET_SUBDIR
)/winsup
/Makefile ||
: ; \
6108 cp multilib.out
$(TARGET_SUBDIR
)/winsup
/multilib.out
6110 configure-target-winsup
: $(TARGET_SUBDIR
)/winsup
/multilib.out
6111 @
test ! -f
$(TARGET_SUBDIR
)/winsup
/Makefile || exit
0; \
6112 [ -d
$(TARGET_SUBDIR
)/winsup
] || \
6113 mkdir
$(TARGET_SUBDIR
)/winsup
;\
6114 r
=`${PWD}`; export r
; \
6115 s
=`cd $(srcdir); ${PWD}`; export s
; \
6117 AR
="$(AR_FOR_TARGET)"; export AR
; \
6118 AS
="$(AS_FOR_TARGET)"; export AS
; \
6119 CC
="$(CC_FOR_TARGET)"; export CC
; \
6120 CFLAGS
="$(CFLAGS_FOR_TARGET)"; export CFLAGS
; \
6121 CPPFLAGS
="$(CFLAGS_FOR_TARGET)"; export CPPFLAGS
; \
6122 CXX
="$(CXX_FOR_TARGET)"; export CXX
; \
6123 CXXFLAGS
="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS
; \
6124 GCJ
="$(GCJ_FOR_TARGET)"; export GCJ
; \
6125 DLLTOOL
="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL
; \
6126 LD
="$(LD_FOR_TARGET)"; export LD
; \
6127 LDFLAGS
="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS
; \
6128 NM
="$(NM_FOR_TARGET)"; export NM
; \
6129 RANLIB
="$(RANLIB_FOR_TARGET)"; export RANLIB
; \
6130 WINDRES
="$(WINDRES_FOR_TARGET)"; export WINDRES
; \
6131 echo Configuring in
$(TARGET_SUBDIR
)/winsup
; \
6132 cd
"$(TARGET_SUBDIR)/winsup" || exit
1; \
6134 /* |
[A-Za-z
]:[\\/]*) \
6135 topdir
=$(srcdir) ;; \
6137 case
"$(TARGET_SUBDIR)" in \
6138 .
) topdir
="../$(srcdir)" ;; \
6139 *) topdir
="../../$(srcdir)" ;; \
6142 if
[ "$(srcdir)" = "." ] ; then \
6143 if
[ "$(TARGET_SUBDIR)" != "." ] ; then \
6144 if
$(SHELL
) $$s/symlink-tree
$${topdir}/winsup
"no-such-file" ; then \
6145 if
[ -f Makefile
]; then \
6146 if
$(MAKE
) distclean; then \
6160 srcdiroption
="--srcdir=."; \
6163 srcdiroption
="--srcdir=$${topdir}/winsup"; \
6164 libsrcdir
="$$s/winsup"; \
6166 rm -f no-such-file ||
: ; \
6167 CONFIG_SITE
=no-such-file
$(SHELL
) $${libsrcdir}/configure \
6168 $(TARGET_CONFIGARGS
) $${srcdiroption} \
6169 --with-target-subdir
="$(TARGET_SUBDIR)" \
6172 .PHONY
: all-target-winsup maybe-all-target-winsup
6173 maybe-all-target-winsup
:
6174 all-target-winsup
: configure-target-winsup
6175 @r
=`${PWD}`; export r
; \
6176 s
=`cd $(srcdir); ${PWD}`; export s
; \
6178 (cd
$(TARGET_SUBDIR
)/winsup
&& \
6179 $(MAKE
) $(TARGET_FLAGS_TO_PASS
) all)
6181 .PHONY
: check-target-winsup
6182 check-target-winsup
:
6183 @r
=`${PWD}`; export r
; \
6184 s
=`cd $(srcdir); ${PWD}`; export s
; \
6186 (cd
$(TARGET_SUBDIR
)/winsup
&& \
6187 $(MAKE
) $(TARGET_FLAGS_TO_PASS
) check)
6190 .PHONY
: install-target-winsup maybe-install-target-winsup
6191 maybe-install-target-winsup
:
6192 install-target-winsup
: installdirs
6193 @r
=`${PWD}`; export r
; \
6194 s
=`cd $(srcdir); ${PWD}`; export s
; \
6196 (cd
$(TARGET_SUBDIR
)/winsup
&& \
6197 $(MAKE
) $(TARGET_FLAGS_TO_PASS
) install)
6200 .PHONY
: configure-target-libgloss maybe-configure-target-libgloss
6201 maybe-configure-target-libgloss
:
6203 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
6204 $(TARGET_SUBDIR
)/libgloss
/multilib.out
: multilib.out
6205 @
[ -d
$(TARGET_SUBDIR
)/libgloss
] || \
6206 mkdir
$(TARGET_SUBDIR
)/libgloss
; \
6207 rm -f
$(TARGET_SUBDIR
)/libgloss
/Makefile ||
: ; \
6208 cp multilib.out
$(TARGET_SUBDIR
)/libgloss
/multilib.out
6210 configure-target-libgloss
: $(TARGET_SUBDIR
)/libgloss
/multilib.out
6211 @
test ! -f
$(TARGET_SUBDIR
)/libgloss
/Makefile || exit
0; \
6212 [ -d
$(TARGET_SUBDIR
)/libgloss
] || \
6213 mkdir
$(TARGET_SUBDIR
)/libgloss
;\
6214 r
=`${PWD}`; export r
; \
6215 s
=`cd $(srcdir); ${PWD}`; export s
; \
6217 AR
="$(AR_FOR_TARGET)"; export AR
; \
6218 AS
="$(AS_FOR_TARGET)"; export AS
; \
6219 CC
="$(CC_FOR_TARGET)"; export CC
; \
6220 CFLAGS
="$(CFLAGS_FOR_TARGET)"; export CFLAGS
; \
6221 CPPFLAGS
="$(CFLAGS_FOR_TARGET)"; export CPPFLAGS
; \
6222 CXX
="$(CXX_FOR_TARGET)"; export CXX
; \
6223 CXXFLAGS
="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS
; \
6224 GCJ
="$(GCJ_FOR_TARGET)"; export GCJ
; \
6225 DLLTOOL
="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL
; \
6226 LD
="$(LD_FOR_TARGET)"; export LD
; \
6227 LDFLAGS
="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS
; \
6228 NM
="$(NM_FOR_TARGET)"; export NM
; \
6229 RANLIB
="$(RANLIB_FOR_TARGET)"; export RANLIB
; \
6230 WINDRES
="$(WINDRES_FOR_TARGET)"; export WINDRES
; \
6231 echo Configuring in
$(TARGET_SUBDIR
)/libgloss
; \
6232 cd
"$(TARGET_SUBDIR)/libgloss" || exit
1; \
6234 /* |
[A-Za-z
]:[\\/]*) \
6235 topdir
=$(srcdir) ;; \
6237 case
"$(TARGET_SUBDIR)" in \
6238 .
) topdir
="../$(srcdir)" ;; \
6239 *) topdir
="../../$(srcdir)" ;; \
6242 if
[ "$(srcdir)" = "." ] ; then \
6243 if
[ "$(TARGET_SUBDIR)" != "." ] ; then \
6244 if
$(SHELL
) $$s/symlink-tree
$${topdir}/libgloss
"no-such-file" ; then \
6245 if
[ -f Makefile
]; then \
6246 if
$(MAKE
) distclean; then \
6260 srcdiroption
="--srcdir=."; \
6263 srcdiroption
="--srcdir=$${topdir}/libgloss"; \
6264 libsrcdir
="$$s/libgloss"; \
6266 rm -f no-such-file ||
: ; \
6267 CONFIG_SITE
=no-such-file
$(SHELL
) $${libsrcdir}/configure \
6268 $(TARGET_CONFIGARGS
) $${srcdiroption} \
6269 --with-target-subdir
="$(TARGET_SUBDIR)" \
6272 .PHONY
: all-target-libgloss maybe-all-target-libgloss
6273 maybe-all-target-libgloss
:
6274 all-target-libgloss
: configure-target-libgloss
6275 @r
=`${PWD}`; export r
; \
6276 s
=`cd $(srcdir); ${PWD}`; export s
; \
6278 (cd
$(TARGET_SUBDIR
)/libgloss
&& \
6279 $(MAKE
) $(TARGET_FLAGS_TO_PASS
) all)
6281 # Dummy target for uncheckable module.
6282 .PHONY
: check-target-libgloss
6283 check-target-libgloss
:
6286 .PHONY
: install-target-libgloss maybe-install-target-libgloss
6287 maybe-install-target-libgloss
:
6288 install-target-libgloss
: installdirs
6289 @r
=`${PWD}`; export r
; \
6290 s
=`cd $(srcdir); ${PWD}`; export s
; \
6292 (cd
$(TARGET_SUBDIR
)/libgloss
&& \
6293 $(MAKE
) $(TARGET_FLAGS_TO_PASS
) install)
6296 .PHONY
: configure-target-libiberty maybe-configure-target-libiberty
6297 maybe-configure-target-libiberty
:
6299 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
6300 $(TARGET_SUBDIR
)/libiberty
/multilib.out
: multilib.out
6301 @
[ -d
$(TARGET_SUBDIR
)/libiberty
] || \
6302 mkdir
$(TARGET_SUBDIR
)/libiberty
; \
6303 rm -f
$(TARGET_SUBDIR
)/libiberty
/Makefile ||
: ; \
6304 cp multilib.out
$(TARGET_SUBDIR
)/libiberty
/multilib.out
6306 configure-target-libiberty
: $(TARGET_SUBDIR
)/libiberty
/multilib.out
6307 @
test ! -f
$(TARGET_SUBDIR
)/libiberty
/Makefile || exit
0; \
6308 [ -d
$(TARGET_SUBDIR
)/libiberty
] || \
6309 mkdir
$(TARGET_SUBDIR
)/libiberty
;\
6310 r
=`${PWD}`; export r
; \
6311 s
=`cd $(srcdir); ${PWD}`; export s
; \
6313 AR
="$(AR_FOR_TARGET)"; export AR
; \
6314 AS
="$(AS_FOR_TARGET)"; export AS
; \
6315 CC
="$(CC_FOR_TARGET)"; export CC
; \
6316 CFLAGS
="$(CFLAGS_FOR_TARGET)"; export CFLAGS
; \
6317 CPPFLAGS
="$(CFLAGS_FOR_TARGET)"; export CPPFLAGS
; \
6318 CXX
="$(CXX_FOR_TARGET)"; export CXX
; \
6319 CXXFLAGS
="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS
; \
6320 GCJ
="$(GCJ_FOR_TARGET)"; export GCJ
; \
6321 DLLTOOL
="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL
; \
6322 LD
="$(LD_FOR_TARGET)"; export LD
; \
6323 LDFLAGS
="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS
; \
6324 NM
="$(NM_FOR_TARGET)"; export NM
; \
6325 RANLIB
="$(RANLIB_FOR_TARGET)"; export RANLIB
; \
6326 WINDRES
="$(WINDRES_FOR_TARGET)"; export WINDRES
; \
6327 echo Configuring in
$(TARGET_SUBDIR
)/libiberty
; \
6328 cd
"$(TARGET_SUBDIR)/libiberty" || exit
1; \
6330 /* |
[A-Za-z
]:[\\/]*) \
6331 topdir
=$(srcdir) ;; \
6333 case
"$(TARGET_SUBDIR)" in \
6334 .
) topdir
="../$(srcdir)" ;; \
6335 *) topdir
="../../$(srcdir)" ;; \
6338 if
[ "$(srcdir)" = "." ] ; then \
6339 if
[ "$(TARGET_SUBDIR)" != "." ] ; then \
6340 if
$(SHELL
) $$s/symlink-tree
$${topdir}/libiberty
"no-such-file" ; then \
6341 if
[ -f Makefile
]; then \
6342 if
$(MAKE
) distclean; then \
6356 srcdiroption
="--srcdir=."; \
6359 srcdiroption
="--srcdir=$${topdir}/libiberty"; \
6360 libsrcdir
="$$s/libiberty"; \
6362 rm -f no-such-file ||
: ; \
6363 CONFIG_SITE
=no-such-file
$(SHELL
) $${libsrcdir}/configure \
6364 $(TARGET_CONFIGARGS
) $${srcdiroption} \
6365 --with-target-subdir
="$(TARGET_SUBDIR)" \
6368 .PHONY
: all-target-libiberty maybe-all-target-libiberty
6369 maybe-all-target-libiberty
:
6370 all-target-libiberty
: configure-target-libiberty
6371 @r
=`${PWD}`; export r
; \
6372 s
=`cd $(srcdir); ${PWD}`; export s
; \
6374 (cd
$(TARGET_SUBDIR
)/libiberty
&& \
6375 $(MAKE
) $(TARGET_FLAGS_TO_PASS
) all)
6377 .PHONY
: check-target-libiberty
6378 check-target-libiberty
:
6379 @r
=`${PWD}`; export r
; \
6380 s
=`cd $(srcdir); ${PWD}`; export s
; \
6382 (cd
$(TARGET_SUBDIR
)/libiberty
&& \
6383 $(MAKE
) $(TARGET_FLAGS_TO_PASS
) check)
6386 .PHONY
: install-target-libiberty maybe-install-target-libiberty
6387 maybe-install-target-libiberty
:
6388 install-target-libiberty
: installdirs
6389 @r
=`${PWD}`; export r
; \
6390 s
=`cd $(srcdir); ${PWD}`; export s
; \
6392 (cd
$(TARGET_SUBDIR
)/libiberty
&& \
6393 $(MAKE
) $(TARGET_FLAGS_TO_PASS
) install)
6396 .PHONY
: configure-target-gperf maybe-configure-target-gperf
6397 maybe-configure-target-gperf
:
6399 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
6400 $(TARGET_SUBDIR
)/gperf
/multilib.out
: multilib.out
6401 @
[ -d
$(TARGET_SUBDIR
)/gperf
] || \
6402 mkdir
$(TARGET_SUBDIR
)/gperf
; \
6403 rm -f
$(TARGET_SUBDIR
)/gperf
/Makefile ||
: ; \
6404 cp multilib.out
$(TARGET_SUBDIR
)/gperf
/multilib.out
6406 configure-target-gperf
: $(TARGET_SUBDIR
)/gperf
/multilib.out
6407 @
test ! -f
$(TARGET_SUBDIR
)/gperf
/Makefile || exit
0; \
6408 [ -d
$(TARGET_SUBDIR
)/gperf
] || \
6409 mkdir
$(TARGET_SUBDIR
)/gperf
;\
6410 r
=`${PWD}`; export r
; \
6411 s
=`cd $(srcdir); ${PWD}`; export s
; \
6413 AR
="$(AR_FOR_TARGET)"; export AR
; \
6414 AS
="$(AS_FOR_TARGET)"; export AS
; \
6415 CC
="$(CC_FOR_TARGET)"; export CC
; \
6416 CFLAGS
="$(CFLAGS_FOR_TARGET)"; export CFLAGS
; \
6417 CPPFLAGS
="$(CFLAGS_FOR_TARGET)"; export CPPFLAGS
; \
6418 CXX
="$(CXX_FOR_TARGET)"; export CXX
; \
6419 CXXFLAGS
="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS
; \
6420 GCJ
="$(GCJ_FOR_TARGET)"; export GCJ
; \
6421 DLLTOOL
="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL
; \
6422 LD
="$(LD_FOR_TARGET)"; export LD
; \
6423 LDFLAGS
="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS
; \
6424 NM
="$(NM_FOR_TARGET)"; export NM
; \
6425 RANLIB
="$(RANLIB_FOR_TARGET)"; export RANLIB
; \
6426 WINDRES
="$(WINDRES_FOR_TARGET)"; export WINDRES
; \
6427 echo Configuring in
$(TARGET_SUBDIR
)/gperf
; \
6428 cd
"$(TARGET_SUBDIR)/gperf" || exit
1; \
6430 /* |
[A-Za-z
]:[\\/]*) \
6431 topdir
=$(srcdir) ;; \
6433 case
"$(TARGET_SUBDIR)" in \
6434 .
) topdir
="../$(srcdir)" ;; \
6435 *) topdir
="../../$(srcdir)" ;; \
6438 if
[ "$(srcdir)" = "." ] ; then \
6439 if
[ "$(TARGET_SUBDIR)" != "." ] ; then \
6440 if
$(SHELL
) $$s/symlink-tree
$${topdir}/gperf
"no-such-file" ; then \
6441 if
[ -f Makefile
]; then \
6442 if
$(MAKE
) distclean; then \
6456 srcdiroption
="--srcdir=."; \
6459 srcdiroption
="--srcdir=$${topdir}/gperf"; \
6460 libsrcdir
="$$s/gperf"; \
6462 rm -f no-such-file ||
: ; \
6463 CONFIG_SITE
=no-such-file
$(SHELL
) $${libsrcdir}/configure \
6464 $(TARGET_CONFIGARGS
) $${srcdiroption} \
6465 --with-target-subdir
="$(TARGET_SUBDIR)" \
6468 .PHONY
: all-target-gperf maybe-all-target-gperf
6469 maybe-all-target-gperf
:
6470 all-target-gperf
: configure-target-gperf
6471 @r
=`${PWD}`; export r
; \
6472 s
=`cd $(srcdir); ${PWD}`; export s
; \
6474 (cd
$(TARGET_SUBDIR
)/gperf
&& \
6475 $(MAKE
) $(TARGET_FLAGS_TO_PASS
) all)
6477 .PHONY
: check-target-gperf
6479 @r
=`${PWD}`; export r
; \
6480 s
=`cd $(srcdir); ${PWD}`; export s
; \
6482 (cd
$(TARGET_SUBDIR
)/gperf
&& \
6483 $(MAKE
) $(TARGET_FLAGS_TO_PASS
) check)
6486 .PHONY
: install-target-gperf maybe-install-target-gperf
6487 maybe-install-target-gperf
:
6488 install-target-gperf
: installdirs
6489 @r
=`${PWD}`; export r
; \
6490 s
=`cd $(srcdir); ${PWD}`; export s
; \
6492 (cd
$(TARGET_SUBDIR
)/gperf
&& \
6493 $(MAKE
) $(TARGET_FLAGS_TO_PASS
) install)
6496 .PHONY
: configure-target-examples maybe-configure-target-examples
6497 maybe-configure-target-examples
:
6499 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
6500 $(TARGET_SUBDIR
)/examples
/multilib.out
: multilib.out
6501 @
[ -d
$(TARGET_SUBDIR
)/examples
] || \
6502 mkdir
$(TARGET_SUBDIR
)/examples
; \
6503 rm -f
$(TARGET_SUBDIR
)/examples
/Makefile ||
: ; \
6504 cp multilib.out
$(TARGET_SUBDIR
)/examples
/multilib.out
6506 configure-target-examples
: $(TARGET_SUBDIR
)/examples
/multilib.out
6507 @
test ! -f
$(TARGET_SUBDIR
)/examples
/Makefile || exit
0; \
6508 [ -d
$(TARGET_SUBDIR
)/examples
] || \
6509 mkdir
$(TARGET_SUBDIR
)/examples
;\
6510 r
=`${PWD}`; export r
; \
6511 s
=`cd $(srcdir); ${PWD}`; export s
; \
6513 AR
="$(AR_FOR_TARGET)"; export AR
; \
6514 AS
="$(AS_FOR_TARGET)"; export AS
; \
6515 CC
="$(CC_FOR_TARGET)"; export CC
; \
6516 CFLAGS
="$(CFLAGS_FOR_TARGET)"; export CFLAGS
; \
6517 CPPFLAGS
="$(CFLAGS_FOR_TARGET)"; export CPPFLAGS
; \
6518 CXX
="$(CXX_FOR_TARGET)"; export CXX
; \
6519 CXXFLAGS
="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS
; \
6520 GCJ
="$(GCJ_FOR_TARGET)"; export GCJ
; \
6521 DLLTOOL
="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL
; \
6522 LD
="$(LD_FOR_TARGET)"; export LD
; \
6523 LDFLAGS
="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS
; \
6524 NM
="$(NM_FOR_TARGET)"; export NM
; \
6525 RANLIB
="$(RANLIB_FOR_TARGET)"; export RANLIB
; \
6526 WINDRES
="$(WINDRES_FOR_TARGET)"; export WINDRES
; \
6527 echo Configuring in
$(TARGET_SUBDIR
)/examples
; \
6528 cd
"$(TARGET_SUBDIR)/examples" || exit
1; \
6530 /* |
[A-Za-z
]:[\\/]*) \
6531 topdir
=$(srcdir) ;; \
6533 case
"$(TARGET_SUBDIR)" in \
6534 .
) topdir
="../$(srcdir)" ;; \
6535 *) topdir
="../../$(srcdir)" ;; \
6538 if
[ "$(srcdir)" = "." ] ; then \
6539 if
[ "$(TARGET_SUBDIR)" != "." ] ; then \
6540 if
$(SHELL
) $$s/symlink-tree
$${topdir}/examples
"no-such-file" ; then \
6541 if
[ -f Makefile
]; then \
6542 if
$(MAKE
) distclean; then \
6556 srcdiroption
="--srcdir=."; \
6559 srcdiroption
="--srcdir=$${topdir}/examples"; \
6560 libsrcdir
="$$s/examples"; \
6562 rm -f no-such-file ||
: ; \
6563 CONFIG_SITE
=no-such-file
$(SHELL
) $${libsrcdir}/configure \
6564 $(TARGET_CONFIGARGS
) $${srcdiroption} \
6565 --with-target-subdir
="$(TARGET_SUBDIR)" \
6568 .PHONY
: all-target-examples maybe-all-target-examples
6569 maybe-all-target-examples
:
6570 all-target-examples
: configure-target-examples
6571 @r
=`${PWD}`; export r
; \
6572 s
=`cd $(srcdir); ${PWD}`; export s
; \
6574 (cd
$(TARGET_SUBDIR
)/examples
&& \
6575 $(MAKE
) $(TARGET_FLAGS_TO_PASS
) all)
6577 # Dummy target for uncheckable module.
6578 .PHONY
: check-target-examples
6579 check-target-examples
:
6582 .PHONY
: install-target-examples maybe-install-target-examples
6583 maybe-install-target-examples
:
6584 # Dummy target for uninstallable.
6585 install-target-examples
:
6588 .PHONY
: configure-target-libffi maybe-configure-target-libffi
6589 maybe-configure-target-libffi
:
6591 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
6592 $(TARGET_SUBDIR
)/libffi
/multilib.out
: multilib.out
6593 @
[ -d
$(TARGET_SUBDIR
)/libffi
] || \
6594 mkdir
$(TARGET_SUBDIR
)/libffi
; \
6595 rm -f
$(TARGET_SUBDIR
)/libffi
/Makefile ||
: ; \
6596 cp multilib.out
$(TARGET_SUBDIR
)/libffi
/multilib.out
6598 configure-target-libffi
: $(TARGET_SUBDIR
)/libffi
/multilib.out
6599 @
test ! -f
$(TARGET_SUBDIR
)/libffi
/Makefile || exit
0; \
6600 [ -d
$(TARGET_SUBDIR
)/libffi
] || \
6601 mkdir
$(TARGET_SUBDIR
)/libffi
;\
6602 r
=`${PWD}`; export r
; \
6603 s
=`cd $(srcdir); ${PWD}`; export s
; \
6605 AR
="$(AR_FOR_TARGET)"; export AR
; \
6606 AS
="$(AS_FOR_TARGET)"; export AS
; \
6607 CC
="$(CC_FOR_TARGET)"; export CC
; \
6608 CFLAGS
="$(CFLAGS_FOR_TARGET)"; export CFLAGS
; \
6609 CPPFLAGS
="$(CFLAGS_FOR_TARGET)"; export CPPFLAGS
; \
6610 CXX
="$(CXX_FOR_TARGET)"; export CXX
; \
6611 CXXFLAGS
="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS
; \
6612 GCJ
="$(GCJ_FOR_TARGET)"; export GCJ
; \
6613 DLLTOOL
="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL
; \
6614 LD
="$(LD_FOR_TARGET)"; export LD
; \
6615 LDFLAGS
="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS
; \
6616 NM
="$(NM_FOR_TARGET)"; export NM
; \
6617 RANLIB
="$(RANLIB_FOR_TARGET)"; export RANLIB
; \
6618 WINDRES
="$(WINDRES_FOR_TARGET)"; export WINDRES
; \
6619 echo Configuring in
$(TARGET_SUBDIR
)/libffi
; \
6620 cd
"$(TARGET_SUBDIR)/libffi" || exit
1; \
6622 /* |
[A-Za-z
]:[\\/]*) \
6623 topdir
=$(srcdir) ;; \
6625 case
"$(TARGET_SUBDIR)" in \
6626 .
) topdir
="../$(srcdir)" ;; \
6627 *) topdir
="../../$(srcdir)" ;; \
6630 if
[ "$(srcdir)" = "." ] ; then \
6631 if
[ "$(TARGET_SUBDIR)" != "." ] ; then \
6632 if
$(SHELL
) $$s/symlink-tree
$${topdir}/libffi
"no-such-file" ; then \
6633 if
[ -f Makefile
]; then \
6634 if
$(MAKE
) distclean; then \
6648 srcdiroption
="--srcdir=."; \
6651 srcdiroption
="--srcdir=$${topdir}/libffi"; \
6652 libsrcdir
="$$s/libffi"; \
6654 rm -f no-such-file ||
: ; \
6655 CONFIG_SITE
=no-such-file
$(SHELL
) $${libsrcdir}/configure \
6656 $(TARGET_CONFIGARGS
) $${srcdiroption} \
6657 --with-target-subdir
="$(TARGET_SUBDIR)" \
6660 .PHONY
: all-target-libffi maybe-all-target-libffi
6661 maybe-all-target-libffi
:
6662 all-target-libffi
: configure-target-libffi
6663 @r
=`${PWD}`; export r
; \
6664 s
=`cd $(srcdir); ${PWD}`; export s
; \
6666 (cd
$(TARGET_SUBDIR
)/libffi
&& \
6667 $(MAKE
) $(TARGET_FLAGS_TO_PASS
) all)
6669 .PHONY
: check-target-libffi
6670 check-target-libffi
:
6671 @r
=`${PWD}`; export r
; \
6672 s
=`cd $(srcdir); ${PWD}`; export s
; \
6674 (cd
$(TARGET_SUBDIR
)/libffi
&& \
6675 $(MAKE
) $(TARGET_FLAGS_TO_PASS
) check)
6678 .PHONY
: install-target-libffi maybe-install-target-libffi
6679 maybe-install-target-libffi
:
6680 install-target-libffi
: installdirs
6681 @r
=`${PWD}`; export r
; \
6682 s
=`cd $(srcdir); ${PWD}`; export s
; \
6684 (cd
$(TARGET_SUBDIR
)/libffi
&& \
6685 $(MAKE
) $(TARGET_FLAGS_TO_PASS
) install)
6688 .PHONY
: configure-target-libjava maybe-configure-target-libjava
6689 maybe-configure-target-libjava
:
6691 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
6692 $(TARGET_SUBDIR
)/libjava
/multilib.out
: multilib.out
6693 @
[ -d
$(TARGET_SUBDIR
)/libjava
] || \
6694 mkdir
$(TARGET_SUBDIR
)/libjava
; \
6695 rm -f
$(TARGET_SUBDIR
)/libjava
/Makefile ||
: ; \
6696 cp multilib.out
$(TARGET_SUBDIR
)/libjava
/multilib.out
6698 configure-target-libjava
: $(TARGET_SUBDIR
)/libjava
/multilib.out
6699 @
test ! -f
$(TARGET_SUBDIR
)/libjava
/Makefile || exit
0; \
6700 [ -d
$(TARGET_SUBDIR
)/libjava
] || \
6701 mkdir
$(TARGET_SUBDIR
)/libjava
;\
6702 r
=`${PWD}`; export r
; \
6703 s
=`cd $(srcdir); ${PWD}`; export s
; \
6705 AR
="$(AR_FOR_TARGET)"; export AR
; \
6706 AS
="$(AS_FOR_TARGET)"; export AS
; \
6707 CC
="$(CC_FOR_TARGET)"; export CC
; \
6708 CFLAGS
="$(CFLAGS_FOR_TARGET)"; export CFLAGS
; \
6709 CPPFLAGS
="$(CFLAGS_FOR_TARGET)"; export CPPFLAGS
; \
6710 CXX_FOR_TARGET
="$(RAW_CXX_FOR_TARGET)"; export CXX_FOR_TARGET
; \
6711 CXX
="$(RAW_CXX_FOR_TARGET)"; export CXX
; \
6712 CXXFLAGS
="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS
; \
6713 GCJ
="$(GCJ_FOR_TARGET)"; export GCJ
; \
6714 DLLTOOL
="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL
; \
6715 LD
="$(LD_FOR_TARGET)"; export LD
; \
6716 LDFLAGS
="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS
; \
6717 NM
="$(NM_FOR_TARGET)"; export NM
; \
6718 RANLIB
="$(RANLIB_FOR_TARGET)"; export RANLIB
; \
6719 WINDRES
="$(WINDRES_FOR_TARGET)"; export WINDRES
; \
6720 echo Configuring in
$(TARGET_SUBDIR
)/libjava
; \
6721 cd
"$(TARGET_SUBDIR)/libjava" || exit
1; \
6723 /* |
[A-Za-z
]:[\\/]*) \
6724 topdir
=$(srcdir) ;; \
6726 case
"$(TARGET_SUBDIR)" in \
6727 .
) topdir
="../$(srcdir)" ;; \
6728 *) topdir
="../../$(srcdir)" ;; \
6731 if
[ "$(srcdir)" = "." ] ; then \
6732 if
[ "$(TARGET_SUBDIR)" != "." ] ; then \
6733 if
$(SHELL
) $$s/symlink-tree
$${topdir}/libjava
"no-such-file" ; then \
6734 if
[ -f Makefile
]; then \
6735 if
$(MAKE
) distclean; then \
6749 srcdiroption
="--srcdir=."; \
6752 srcdiroption
="--srcdir=$${topdir}/libjava"; \
6753 libsrcdir
="$$s/libjava"; \
6755 rm -f no-such-file ||
: ; \
6756 CONFIG_SITE
=no-such-file
$(SHELL
) $${libsrcdir}/configure \
6757 $(TARGET_CONFIGARGS
) $${srcdiroption} \
6758 --with-target-subdir
="$(TARGET_SUBDIR)" \
6761 .PHONY
: all-target-libjava maybe-all-target-libjava
6762 maybe-all-target-libjava
:
6763 all-target-libjava
: configure-target-libjava
6764 @r
=`${PWD}`; export r
; \
6765 s
=`cd $(srcdir); ${PWD}`; export s
; \
6767 (cd
$(TARGET_SUBDIR
)/libjava
&& \
6768 $(MAKE
) $(TARGET_FLAGS_TO_PASS
) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' all)
6770 .PHONY
: check-target-libjava
6771 check-target-libjava
:
6772 @r
=`${PWD}`; export r
; \
6773 s
=`cd $(srcdir); ${PWD}`; export s
; \
6775 (cd
$(TARGET_SUBDIR
)/libjava
&& \
6776 $(MAKE
) $(TARGET_FLAGS_TO_PASS
) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' check)
6779 .PHONY
: install-target-libjava maybe-install-target-libjava
6780 maybe-install-target-libjava
:
6781 install-target-libjava
: installdirs
6782 @r
=`${PWD}`; export r
; \
6783 s
=`cd $(srcdir); ${PWD}`; export s
; \
6785 (cd
$(TARGET_SUBDIR
)/libjava
&& \
6786 $(MAKE
) $(TARGET_FLAGS_TO_PASS
) install)
6789 .PHONY
: configure-target-zlib maybe-configure-target-zlib
6790 maybe-configure-target-zlib
:
6792 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
6793 $(TARGET_SUBDIR
)/zlib
/multilib.out
: multilib.out
6794 @
[ -d
$(TARGET_SUBDIR
)/zlib
] || \
6795 mkdir
$(TARGET_SUBDIR
)/zlib
; \
6796 rm -f
$(TARGET_SUBDIR
)/zlib
/Makefile ||
: ; \
6797 cp multilib.out
$(TARGET_SUBDIR
)/zlib
/multilib.out
6799 configure-target-zlib
: $(TARGET_SUBDIR
)/zlib
/multilib.out
6800 @
test ! -f
$(TARGET_SUBDIR
)/zlib
/Makefile || exit
0; \
6801 [ -d
$(TARGET_SUBDIR
)/zlib
] || \
6802 mkdir
$(TARGET_SUBDIR
)/zlib
;\
6803 r
=`${PWD}`; export r
; \
6804 s
=`cd $(srcdir); ${PWD}`; export s
; \
6806 AR
="$(AR_FOR_TARGET)"; export AR
; \
6807 AS
="$(AS_FOR_TARGET)"; export AS
; \
6808 CC
="$(CC_FOR_TARGET)"; export CC
; \
6809 CFLAGS
="$(CFLAGS_FOR_TARGET)"; export CFLAGS
; \
6810 CPPFLAGS
="$(CFLAGS_FOR_TARGET)"; export CPPFLAGS
; \
6811 CXX
="$(CXX_FOR_TARGET)"; export CXX
; \
6812 CXXFLAGS
="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS
; \
6813 GCJ
="$(GCJ_FOR_TARGET)"; export GCJ
; \
6814 DLLTOOL
="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL
; \
6815 LD
="$(LD_FOR_TARGET)"; export LD
; \
6816 LDFLAGS
="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS
; \
6817 NM
="$(NM_FOR_TARGET)"; export NM
; \
6818 RANLIB
="$(RANLIB_FOR_TARGET)"; export RANLIB
; \
6819 WINDRES
="$(WINDRES_FOR_TARGET)"; export WINDRES
; \
6820 echo Configuring in
$(TARGET_SUBDIR
)/zlib
; \
6821 cd
"$(TARGET_SUBDIR)/zlib" || exit
1; \
6823 /* |
[A-Za-z
]:[\\/]*) \
6824 topdir
=$(srcdir) ;; \
6826 case
"$(TARGET_SUBDIR)" in \
6827 .
) topdir
="../$(srcdir)" ;; \
6828 *) topdir
="../../$(srcdir)" ;; \
6831 if
[ "$(srcdir)" = "." ] ; then \
6832 if
[ "$(TARGET_SUBDIR)" != "." ] ; then \
6833 if
$(SHELL
) $$s/symlink-tree
$${topdir}/zlib
"no-such-file" ; then \
6834 if
[ -f Makefile
]; then \
6835 if
$(MAKE
) distclean; then \
6849 srcdiroption
="--srcdir=."; \
6852 srcdiroption
="--srcdir=$${topdir}/zlib"; \
6853 libsrcdir
="$$s/zlib"; \
6855 rm -f no-such-file ||
: ; \
6856 CONFIG_SITE
=no-such-file
$(SHELL
) $${libsrcdir}/configure \
6857 $(TARGET_CONFIGARGS
) $${srcdiroption} \
6858 --with-target-subdir
="$(TARGET_SUBDIR)" \
6861 .PHONY
: all-target-zlib maybe-all-target-zlib
6862 maybe-all-target-zlib
:
6863 all-target-zlib
: configure-target-zlib
6864 @r
=`${PWD}`; export r
; \
6865 s
=`cd $(srcdir); ${PWD}`; export s
; \
6867 (cd
$(TARGET_SUBDIR
)/zlib
&& \
6868 $(MAKE
) $(TARGET_FLAGS_TO_PASS
) all)
6870 .PHONY
: check-target-zlib
6872 @r
=`${PWD}`; export r
; \
6873 s
=`cd $(srcdir); ${PWD}`; export s
; \
6875 (cd
$(TARGET_SUBDIR
)/zlib
&& \
6876 $(MAKE
) $(TARGET_FLAGS_TO_PASS
) check)
6879 .PHONY
: install-target-zlib maybe-install-target-zlib
6880 maybe-install-target-zlib
:
6881 install-target-zlib
: installdirs
6882 @r
=`${PWD}`; export r
; \
6883 s
=`cd $(srcdir); ${PWD}`; export s
; \
6885 (cd
$(TARGET_SUBDIR
)/zlib
&& \
6886 $(MAKE
) $(TARGET_FLAGS_TO_PASS
) install)
6889 .PHONY
: configure-target-boehm-gc maybe-configure-target-boehm-gc
6890 maybe-configure-target-boehm-gc
:
6892 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
6893 $(TARGET_SUBDIR
)/boehm-gc
/multilib.out
: multilib.out
6894 @
[ -d
$(TARGET_SUBDIR
)/boehm-gc
] || \
6895 mkdir
$(TARGET_SUBDIR
)/boehm-gc
; \
6896 rm -f
$(TARGET_SUBDIR
)/boehm-gc
/Makefile ||
: ; \
6897 cp multilib.out
$(TARGET_SUBDIR
)/boehm-gc
/multilib.out
6899 configure-target-boehm-gc
: $(TARGET_SUBDIR
)/boehm-gc
/multilib.out
6900 @
test ! -f
$(TARGET_SUBDIR
)/boehm-gc
/Makefile || exit
0; \
6901 [ -d
$(TARGET_SUBDIR
)/boehm-gc
] || \
6902 mkdir
$(TARGET_SUBDIR
)/boehm-gc
;\
6903 r
=`${PWD}`; export r
; \
6904 s
=`cd $(srcdir); ${PWD}`; export s
; \
6906 AR
="$(AR_FOR_TARGET)"; export AR
; \
6907 AS
="$(AS_FOR_TARGET)"; export AS
; \
6908 CC
="$(CC_FOR_TARGET)"; export CC
; \
6909 CFLAGS
="$(CFLAGS_FOR_TARGET)"; export CFLAGS
; \
6910 CPPFLAGS
="$(CFLAGS_FOR_TARGET)"; export CPPFLAGS
; \
6911 CXX
="$(CXX_FOR_TARGET)"; export CXX
; \
6912 CXXFLAGS
="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS
; \
6913 GCJ
="$(GCJ_FOR_TARGET)"; export GCJ
; \
6914 DLLTOOL
="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL
; \
6915 LD
="$(LD_FOR_TARGET)"; export LD
; \
6916 LDFLAGS
="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS
; \
6917 NM
="$(NM_FOR_TARGET)"; export NM
; \
6918 RANLIB
="$(RANLIB_FOR_TARGET)"; export RANLIB
; \
6919 WINDRES
="$(WINDRES_FOR_TARGET)"; export WINDRES
; \
6920 echo Configuring in
$(TARGET_SUBDIR
)/boehm-gc
; \
6921 cd
"$(TARGET_SUBDIR)/boehm-gc" || exit
1; \
6923 /* |
[A-Za-z
]:[\\/]*) \
6924 topdir
=$(srcdir) ;; \
6926 case
"$(TARGET_SUBDIR)" in \
6927 .
) topdir
="../$(srcdir)" ;; \
6928 *) topdir
="../../$(srcdir)" ;; \
6931 if
[ "$(srcdir)" = "." ] ; then \
6932 if
[ "$(TARGET_SUBDIR)" != "." ] ; then \
6933 if
$(SHELL
) $$s/symlink-tree
$${topdir}/boehm-gc
"no-such-file" ; then \
6934 if
[ -f Makefile
]; then \
6935 if
$(MAKE
) distclean; then \
6949 srcdiroption
="--srcdir=."; \
6952 srcdiroption
="--srcdir=$${topdir}/boehm-gc"; \
6953 libsrcdir
="$$s/boehm-gc"; \
6955 rm -f no-such-file ||
: ; \
6956 CONFIG_SITE
=no-such-file
$(SHELL
) $${libsrcdir}/configure \
6957 $(TARGET_CONFIGARGS
) $${srcdiroption} \
6958 --with-target-subdir
="$(TARGET_SUBDIR)" \
6961 .PHONY
: all-target-boehm-gc maybe-all-target-boehm-gc
6962 maybe-all-target-boehm-gc
:
6963 all-target-boehm-gc
: configure-target-boehm-gc
6964 @r
=`${PWD}`; export r
; \
6965 s
=`cd $(srcdir); ${PWD}`; export s
; \
6967 (cd
$(TARGET_SUBDIR
)/boehm-gc
&& \
6968 $(MAKE
) $(TARGET_FLAGS_TO_PASS
) all)
6970 .PHONY
: check-target-boehm-gc
6971 check-target-boehm-gc
:
6972 @r
=`${PWD}`; export r
; \
6973 s
=`cd $(srcdir); ${PWD}`; export s
; \
6975 (cd
$(TARGET_SUBDIR
)/boehm-gc
&& \
6976 $(MAKE
) $(TARGET_FLAGS_TO_PASS
) check)
6979 .PHONY
: install-target-boehm-gc maybe-install-target-boehm-gc
6980 maybe-install-target-boehm-gc
:
6981 install-target-boehm-gc
: installdirs
6982 @r
=`${PWD}`; export r
; \
6983 s
=`cd $(srcdir); ${PWD}`; export s
; \
6985 (cd
$(TARGET_SUBDIR
)/boehm-gc
&& \
6986 $(MAKE
) $(TARGET_FLAGS_TO_PASS
) install)
6989 .PHONY
: configure-target-qthreads maybe-configure-target-qthreads
6990 maybe-configure-target-qthreads
:
6992 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
6993 $(TARGET_SUBDIR
)/qthreads
/multilib.out
: multilib.out
6994 @
[ -d
$(TARGET_SUBDIR
)/qthreads
] || \
6995 mkdir
$(TARGET_SUBDIR
)/qthreads
; \
6996 rm -f
$(TARGET_SUBDIR
)/qthreads
/Makefile ||
: ; \
6997 cp multilib.out
$(TARGET_SUBDIR
)/qthreads
/multilib.out
6999 configure-target-qthreads
: $(TARGET_SUBDIR
)/qthreads
/multilib.out
7000 @
test ! -f
$(TARGET_SUBDIR
)/qthreads
/Makefile || exit
0; \
7001 [ -d
$(TARGET_SUBDIR
)/qthreads
] || \
7002 mkdir
$(TARGET_SUBDIR
)/qthreads
;\
7003 r
=`${PWD}`; export r
; \
7004 s
=`cd $(srcdir); ${PWD}`; export s
; \
7006 AR
="$(AR_FOR_TARGET)"; export AR
; \
7007 AS
="$(AS_FOR_TARGET)"; export AS
; \
7008 CC
="$(CC_FOR_TARGET)"; export CC
; \
7009 CFLAGS
="$(CFLAGS_FOR_TARGET)"; export CFLAGS
; \
7010 CPPFLAGS
="$(CFLAGS_FOR_TARGET)"; export CPPFLAGS
; \
7011 CXX
="$(CXX_FOR_TARGET)"; export CXX
; \
7012 CXXFLAGS
="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS
; \
7013 GCJ
="$(GCJ_FOR_TARGET)"; export GCJ
; \
7014 DLLTOOL
="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL
; \
7015 LD
="$(LD_FOR_TARGET)"; export LD
; \
7016 LDFLAGS
="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS
; \
7017 NM
="$(NM_FOR_TARGET)"; export NM
; \
7018 RANLIB
="$(RANLIB_FOR_TARGET)"; export RANLIB
; \
7019 WINDRES
="$(WINDRES_FOR_TARGET)"; export WINDRES
; \
7020 echo Configuring in
$(TARGET_SUBDIR
)/qthreads
; \
7021 cd
"$(TARGET_SUBDIR)/qthreads" || exit
1; \
7023 /* |
[A-Za-z
]:[\\/]*) \
7024 topdir
=$(srcdir) ;; \
7026 case
"$(TARGET_SUBDIR)" in \
7027 .
) topdir
="../$(srcdir)" ;; \
7028 *) topdir
="../../$(srcdir)" ;; \
7031 if
[ "$(srcdir)" = "." ] ; then \
7032 if
[ "$(TARGET_SUBDIR)" != "." ] ; then \
7033 if
$(SHELL
) $$s/symlink-tree
$${topdir}/qthreads
"no-such-file" ; then \
7034 if
[ -f Makefile
]; then \
7035 if
$(MAKE
) distclean; then \
7049 srcdiroption
="--srcdir=."; \
7052 srcdiroption
="--srcdir=$${topdir}/qthreads"; \
7053 libsrcdir
="$$s/qthreads"; \
7055 rm -f no-such-file ||
: ; \
7056 CONFIG_SITE
=no-such-file
$(SHELL
) $${libsrcdir}/configure \
7057 $(TARGET_CONFIGARGS
) $${srcdiroption} \
7058 --with-target-subdir
="$(TARGET_SUBDIR)" \
7061 .PHONY
: all-target-qthreads maybe-all-target-qthreads
7062 maybe-all-target-qthreads
:
7063 all-target-qthreads
: configure-target-qthreads
7064 @r
=`${PWD}`; export r
; \
7065 s
=`cd $(srcdir); ${PWD}`; export s
; \
7067 (cd
$(TARGET_SUBDIR
)/qthreads
&& \
7068 $(MAKE
) $(TARGET_FLAGS_TO_PASS
) all)
7070 .PHONY
: check-target-qthreads
7071 check-target-qthreads
:
7072 @r
=`${PWD}`; export r
; \
7073 s
=`cd $(srcdir); ${PWD}`; export s
; \
7075 (cd
$(TARGET_SUBDIR
)/qthreads
&& \
7076 $(MAKE
) $(TARGET_FLAGS_TO_PASS
) check)
7079 .PHONY
: install-target-qthreads maybe-install-target-qthreads
7080 maybe-install-target-qthreads
:
7081 install-target-qthreads
: installdirs
7082 @r
=`${PWD}`; export r
; \
7083 s
=`cd $(srcdir); ${PWD}`; export s
; \
7085 (cd
$(TARGET_SUBDIR
)/qthreads
&& \
7086 $(MAKE
) $(TARGET_FLAGS_TO_PASS
) install)
7089 .PHONY
: configure-target-rda maybe-configure-target-rda
7090 maybe-configure-target-rda
:
7092 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
7093 $(TARGET_SUBDIR
)/rda
/multilib.out
: multilib.out
7094 @
[ -d
$(TARGET_SUBDIR
)/rda
] || \
7095 mkdir
$(TARGET_SUBDIR
)/rda
; \
7096 rm -f
$(TARGET_SUBDIR
)/rda
/Makefile ||
: ; \
7097 cp multilib.out
$(TARGET_SUBDIR
)/rda
/multilib.out
7099 configure-target-rda
: $(TARGET_SUBDIR
)/rda
/multilib.out
7100 @
test ! -f
$(TARGET_SUBDIR
)/rda
/Makefile || exit
0; \
7101 [ -d
$(TARGET_SUBDIR
)/rda
] || \
7102 mkdir
$(TARGET_SUBDIR
)/rda
;\
7103 r
=`${PWD}`; export r
; \
7104 s
=`cd $(srcdir); ${PWD}`; export s
; \
7106 AR
="$(AR_FOR_TARGET)"; export AR
; \
7107 AS
="$(AS_FOR_TARGET)"; export AS
; \
7108 CC
="$(CC_FOR_TARGET)"; export CC
; \
7109 CFLAGS
="$(CFLAGS_FOR_TARGET)"; export CFLAGS
; \
7110 CPPFLAGS
="$(CFLAGS_FOR_TARGET)"; export CPPFLAGS
; \
7111 CXX
="$(CXX_FOR_TARGET)"; export CXX
; \
7112 CXXFLAGS
="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS
; \
7113 GCJ
="$(GCJ_FOR_TARGET)"; export GCJ
; \
7114 DLLTOOL
="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL
; \
7115 LD
="$(LD_FOR_TARGET)"; export LD
; \
7116 LDFLAGS
="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS
; \
7117 NM
="$(NM_FOR_TARGET)"; export NM
; \
7118 RANLIB
="$(RANLIB_FOR_TARGET)"; export RANLIB
; \
7119 WINDRES
="$(WINDRES_FOR_TARGET)"; export WINDRES
; \
7120 echo Configuring in
$(TARGET_SUBDIR
)/rda
; \
7121 cd
"$(TARGET_SUBDIR)/rda" || exit
1; \
7123 /* |
[A-Za-z
]:[\\/]*) \
7124 topdir
=$(srcdir) ;; \
7126 case
"$(TARGET_SUBDIR)" in \
7127 .
) topdir
="../$(srcdir)" ;; \
7128 *) topdir
="../../$(srcdir)" ;; \
7131 if
[ "$(srcdir)" = "." ] ; then \
7132 if
[ "$(TARGET_SUBDIR)" != "." ] ; then \
7133 if
$(SHELL
) $$s/symlink-tree
$${topdir}/rda
"no-such-file" ; then \
7134 if
[ -f Makefile
]; then \
7135 if
$(MAKE
) distclean; then \
7149 srcdiroption
="--srcdir=."; \
7152 srcdiroption
="--srcdir=$${topdir}/rda"; \
7153 libsrcdir
="$$s/rda"; \
7155 rm -f no-such-file ||
: ; \
7156 CONFIG_SITE
=no-such-file
$(SHELL
) $${libsrcdir}/configure \
7157 $(TARGET_CONFIGARGS
) $${srcdiroption} \
7158 --with-target-subdir
="$(TARGET_SUBDIR)" \
7161 .PHONY
: all-target-rda maybe-all-target-rda
7162 maybe-all-target-rda
:
7163 all-target-rda
: configure-target-rda
7164 @r
=`${PWD}`; export r
; \
7165 s
=`cd $(srcdir); ${PWD}`; export s
; \
7167 (cd
$(TARGET_SUBDIR
)/rda
&& \
7168 $(MAKE
) $(TARGET_FLAGS_TO_PASS
) all)
7170 .PHONY
: check-target-rda
7172 @r
=`${PWD}`; export r
; \
7173 s
=`cd $(srcdir); ${PWD}`; export s
; \
7175 (cd
$(TARGET_SUBDIR
)/rda
&& \
7176 $(MAKE
) $(TARGET_FLAGS_TO_PASS
) check)
7179 .PHONY
: install-target-rda maybe-install-target-rda
7180 maybe-install-target-rda
:
7181 install-target-rda
: installdirs
7182 @r
=`${PWD}`; export r
; \
7183 s
=`cd $(srcdir); ${PWD}`; export s
; \
7185 (cd
$(TARGET_SUBDIR
)/rda
&& \
7186 $(MAKE
) $(TARGET_FLAGS_TO_PASS
) install)
7194 # Unfortunately, while gcc _should_ be a host module,
7195 # libgcc is a target module, and gen* programs are
7196 # build modules. So GCC is a sort of hybrid.
7198 # gcc is the only module which uses GCC_FLAGS_TO_PASS.
7199 .PHONY
: configure-gcc maybe-configure-gcc
7200 maybe-configure-gcc
:
7202 @
test ! -f gcc
/Makefile || exit
0; \
7203 [ -d gcc
] || mkdir gcc
; \
7204 r
=`${PWD}`; export r
; \
7205 s
=`cd $(srcdir); ${PWD}`; export s
; \
7206 CC
="$(CC)"; export CC
; \
7207 CFLAGS
="$(CFLAGS)"; export CFLAGS
; \
7208 CXX
="$(CXX)"; export CXX
; \
7209 CXXFLAGS
="$(CXXFLAGS)"; export CXXFLAGS
; \
7210 TOPLEVEL_CONFIGURE_ARGUMENTS
="$(TOPLEVEL_CONFIGURE_ARGUMENTS)"; export TOPLEVEL_CONFIGURE_ARGUMENTS
; \
7211 if
[ z
$(build_canonical
) != z
$(host_canoncial
) ] ; then \
7212 AR
="$(AR)"; export AR
; \
7213 AS
="$(AS)"; export AS
; \
7214 CC_FOR_BUILD
="$(CC_FOR_BUILD)"; export CC_FOR_BUILD
; \
7215 DLLTOOL
="$(DLLTOOL)"; export DLLTOOL
; \
7216 LD
="$(LD)"; export LD
; \
7217 NM
="$(NM)"; export NM
; \
7218 RANLIB
="$(RANLIB)"; export RANLIB
; \
7219 WINDRES
="$(WINDRES)"; export WINDRES
; \
7220 OBJCOPY
="$(OBJCOPY)"; export OBJCOPY
; \
7221 OBJDUMP
="$(OBJDUMP)"; export OBJDUMP
; \
7223 echo Configuring in gcc
; \
7227 srcdiroption
="--srcdir=."; \
7229 /* |
[A-Za-z
]:[\\/]*) \
7230 srcdiroption
="--srcdir=$(srcdir)/gcc"; \
7231 libsrcdir
="$$s/gcc";; \
7233 srcdiroption
="--srcdir=../$(srcdir)/gcc"; \
7234 libsrcdir
="$$s/gcc";; \
7236 $(SHELL
) $${libsrcdir}/configure \
7237 $(HOST_CONFIGARGS
) $${srcdiroption} \
7240 # Don't 'make all' in gcc if it's already been made by 'bootstrap'; that
7241 # causes trouble. This wart will be fixed eventually by moving
7242 # the bootstrap behavior to this file.
7243 .PHONY
: all-gcc maybe-all-gcc
7245 all-gcc
: configure-gcc
7246 @if
[ -f gcc
/stage_last
] ; then \
7247 r
=`${PWD}`; export r
; \
7248 s
=`cd $(srcdir); ${PWD}`; export s
; \
7250 (cd gcc
&& $(MAKE
) $(GCC_FLAGS_TO_PASS
) quickstrap
); \
7252 r
=`${PWD}`; export r
; \
7253 s
=`cd $(srcdir); ${PWD}`; export s
; \
7255 (cd gcc
&& $(MAKE
) $(GCC_FLAGS_TO_PASS
) all); \
7258 # Building GCC uses some tools for rebuilding "source" files
7259 # like texinfo, bison/byacc, etc. So we must depend on those.
7261 # While building GCC, it may be necessary to run various target
7262 # programs like the assembler, linker, etc. So we depend on
7265 # In theory, on an SMP all those dependencies can be resolved
7268 GCC_STRAP_TARGETS
= bootstrap bootstrap-lean bootstrap2 bootstrap2-lean bootstrap3 bootstrap3-lean bootstrap4 bootstrap4-lean bubblestrap quickstrap cleanstrap restrap
7269 .PHONY
: $(GCC_STRAP_TARGETS
)
7270 $(GCC_STRAP_TARGETS
): all-bootstrap configure-gcc
7271 @r
=`${PWD}`; export r
; \
7272 s
=`cd $(srcdir); ${PWD}`; export s
; \
7274 echo
"Bootstrapping the compiler"; \
7275 cd gcc
&& $(MAKE
) $(GCC_FLAGS_TO_PASS
) $@
7276 @r
=`${PWD}`; export r
; \
7277 s
=`cd $(srcdir); ${PWD}`; export s
; \
7279 *bootstrap4-lean
) \
7280 msg
="Comparing stage3 and stage4 of the compiler"; \
7281 compare
=compare3-lean
;; \
7283 msg
="Comparing stage3 and stage4 of the compiler"; \
7284 compare
=compare3
;; \
7286 msg
="Comparing stage2 and stage3 of the compiler"; \
7287 compare
=compare-lean
;; \
7289 msg
="Comparing stage2 and stage3 of the compiler"; \
7290 compare
=compare
;; \
7294 cd gcc
&& $(MAKE
) $(GCC_FLAGS_TO_PASS
) $$compare
7295 @r
=`${PWD}`; export r
; \
7296 s
=`cd $(srcdir); ${PWD}` ; export s
; \
7298 echo
"Building runtime libraries"; \
7299 $(MAKE
) $(BASE_FLAGS_TO_PASS
) $(RECURSE_FLAGS
) all
7302 cross
: all-texinfo all-bison all-byacc all-binutils all-gas all-ld
7303 @r
=`${PWD}`; export r
; \
7304 s
=`cd $(srcdir); ${PWD}`; export s
; \
7306 echo
"Building the C and C++ compiler"; \
7307 cd gcc
&& $(MAKE
) $(GCC_FLAGS_TO_PASS
) LANGUAGES
="c c++"
7308 @r
=`${PWD}`; export r
; \
7309 s
=`cd $(srcdir); ${PWD}` ; export s
; \
7311 echo
"Building runtime libraries"; \
7312 $(MAKE
) $(BASE_FLAGS_TO_PASS
) $(RECURSE_FLAGS
) \
7313 LANGUAGES
="c c++" all
7317 @if
[ -f .
/gcc
/Makefile
] ; then \
7318 r
=`${PWD}`; export r
; \
7319 s
=`cd $(srcdir); ${PWD}`; export s
; \
7321 (cd gcc
&& $(MAKE
) $(GCC_FLAGS_TO_PASS
) check); \
7326 .PHONY
: check-gcc-c
++
7328 @if
[ -f .
/gcc
/Makefile
] ; then \
7329 r
=`${PWD}`; export r
; \
7330 s
=`cd $(srcdir); ${PWD}`; export s
; \
7332 (cd gcc
&& $(MAKE
) $(GCC_FLAGS_TO_PASS
) check-c
++); \
7339 $(MAKE
) check-target-libstdc
++-v3 check-gcc-c
++ NOTPARALLEL
=parallel-ok
7341 .PHONY
: install-gcc maybe-install-gcc
7344 @if
[ -f .
/gcc
/Makefile
] ; then \
7345 r
=`${PWD}`; export r
; \
7346 s
=`cd $(srcdir); ${PWD}`; export s
; \
7348 (cd gcc
&& $(MAKE
) $(GCC_FLAGS_TO_PASS
) install); \
7353 # Install the gcc headers files, but not the fixed include files,
7354 # which Cygnus is not allowed to distribute. This rule is very
7355 # dependent on the workings of the gcc Makefile.in.
7356 .PHONY
: gcc-no-fixedincludes
7357 gcc-no-fixedincludes
:
7358 @if
[ -f .
/gcc
/Makefile
]; then \
7359 rm -rf gcc
/tmp-include
; \
7360 mv gcc
/include gcc
/tmp-include
2>/dev
/null
; \
7361 mkdir gcc
/include; \
7362 cp
$(srcdir)/gcc
/gsyslimits.h gcc
/include/syslimits.h
; \
7363 touch gcc
/stmp-fixinc gcc
/include/fixed
; \
7364 rm -f gcc
/stmp-headers gcc
/stmp-int-hdrs
; \
7365 r
=`${PWD}`; export r
; \
7366 s
=`cd $(srcdir); ${PWD}` ; export s
; \
7369 $(MAKE
) $(GCC_FLAGS_TO_PASS
) install); \
7370 rm -rf gcc
/include; \
7371 mv gcc
/tmp-include gcc
/include 2>/dev
/null
; \
7374 # --------------------------------------
7375 # Dependencies between different modules
7376 # --------------------------------------
7378 # There are two types of dependencies here: 'hard' dependencies, where one
7379 # module simply won't build without the other; and 'soft' dependencies, where
7380 # if the depended-on module is missing, the depending module will do without
7381 # or find a substitute somewhere (perhaps installed). Soft dependencies
7382 # are specified by depending on a 'maybe-' target. If you're not sure,
7383 # it's safer to use a soft dependency.
7385 # Host modules specific to gcc.
7386 # GCC needs to identify certain tools.
7387 configure-gcc
: maybe-configure-binutils maybe-configure-gas maybe-configure-ld maybe-configure-bison maybe-configure-flex
7388 all-gcc
: maybe-all-libiberty maybe-all-bison maybe-all-byacc maybe-all-binutils maybe-all-gas maybe-all-ld maybe-all-zlib
7389 # This is a slightly kludgy method of getting dependencies on
7390 # all-build-libiberty correct; it would be better to build it every time.
7391 all-gcc
: maybe-all-build-libiberty
7392 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
7394 # Host modules specific to gdb.
7395 # GDB needs to know that the simulator is being built.
7396 configure-gdb
: maybe-configure-tcl maybe-configure-tk maybe-configure-sim
7398 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
)
7399 install-gdb
: maybe-install-tcl maybe-install-tk maybe-install-itcl maybe-install-tix maybe-install-libgui
7400 configure-libgui
: maybe-configure-tcl maybe-configure-tk
7401 all-libgui
: maybe-all-tcl maybe-all-tk maybe-all-itcl
7403 # Host modules specific to binutils.
7404 configure-bfd
: configure-libiberty
7405 all-bfd
: maybe-all-libiberty maybe-all-intl
7406 all-binutils
: maybe-all-libiberty maybe-all-opcodes maybe-all-bfd maybe-all-flex maybe-all-bison maybe-all-byacc maybe-all-intl
7407 # We put install-opcodes before install-binutils because the installed
7408 # binutils might be on PATH, and they might need the shared opcodes
7410 install-binutils
: maybe-install-opcodes
7411 all-gas
: maybe-all-libiberty maybe-all-opcodes maybe-all-bfd maybe-all-intl
7412 all-gprof
: maybe-all-libiberty maybe-all-bfd maybe-all-opcodes maybe-all-intl
7413 all-ld
: maybe-all-libiberty maybe-all-bfd maybe-all-opcodes maybe-all-bison maybe-all-byacc maybe-all-flex maybe-all-intl
7414 all-opcodes
: maybe-all-bfd maybe-all-libiberty
7416 # Other host modules in the 'src' repository.
7417 all-dejagnu
: maybe-all-tcl maybe-all-expect maybe-all-tk
7418 configure-expect
: maybe-configure-tcl maybe-configure-tk
7419 all-expect
: maybe-all-tcl maybe-all-tk
7420 configure-itcl
: maybe-configure-tcl maybe-configure-tk
7421 all-itcl
: maybe-all-tcl maybe-all-tk
7422 # We put install-tcl before install-itcl because itcl wants to run a
7423 # program on installation which uses the Tcl libraries.
7424 install-itcl
: maybe-install-tcl
7425 all-sid
: maybe-all-libiberty maybe-all-bfd maybe-all-opcodes maybe-all-tcl maybe-all-tk
7426 install-sid
: maybe-install-tcl maybe-install-tk
7427 all-sim
: maybe-all-libiberty maybe-all-bfd maybe-all-opcodes maybe-all-readline maybe-configure-gdb
7428 configure-tk
: maybe-configure-tcl
7429 all-tk
: maybe-all-tcl
7430 configure-tix
: maybe-configure-tcl maybe-configure-tk
7431 all-tix
: maybe-all-tcl maybe-all-tk
7432 all-texinfo
: maybe-all-libiberty
7434 # Other host modules. Warning, these are not well tested.
7435 all-autoconf
: maybe-all-m4 maybe-all-texinfo
7436 all-automake
: maybe-all-m4 maybe-all-texinfo
7437 all-bison
: maybe-all-texinfo
7438 all-diff
: maybe-all-libiberty
7439 all-fastjar
: maybe-all-zlib maybe-all-libiberty
7440 all-fileutils
: maybe-all-libiberty
7441 all-flex
: maybe-all-libiberty maybe-all-bison maybe-all-byacc
7442 all-gzip
: maybe-all-libiberty
7443 all-hello
: maybe-all-libiberty
7444 all-m4
: maybe-all-libiberty maybe-all-texinfo
7445 all-make
: maybe-all-libiberty
7446 all-patch
: maybe-all-libiberty
7447 all-prms
: maybe-all-libiberty
7448 all-recode
: maybe-all-libiberty
7449 all-sed
: maybe-all-libiberty
7450 all-send-pr
: maybe-all-prms
7451 all-tar
: maybe-all-libiberty
7452 all-uudecode
: maybe-all-libiberty
7454 ALL_GCC
= maybe-all-gcc
7455 ALL_GCC_C
= $(ALL_GCC
) maybe-all-target-newlib maybe-all-target-libgloss
7456 ALL_GCC_CXX
= $(ALL_GCC_C
) maybe-all-target-libstdc
++-v3
7458 # Target modules specific to gcc.
7459 configure-target-boehm-gc
: $(ALL_GCC_C
) maybe-configure-target-qthreads
7460 configure-target-fastjar
: maybe-configure-target-zlib
7461 all-target-fastjar
: maybe-all-target-zlib maybe-all-target-libiberty
7462 configure-target-libf2c
: $(ALL_GCC_C
)
7463 all-target-libf2c
: maybe-all-target-libiberty
7464 configure-target-libffi
: $(ALL_GCC_C
)
7465 configure-target-libjava
: $(ALL_GCC_C
) maybe-configure-target-zlib maybe-configure-target-boehm-gc maybe-configure-target-qthreads maybe-configure-target-libffi
7466 all-target-libjava
: maybe-all-fastjar maybe-all-target-zlib maybe-all-target-boehm-gc maybe-all-target-qthreads maybe-all-target-libffi
7467 configure-target-libobjc
: $(ALL_GCC_C
)
7468 all-target-libobjc
: maybe-all-target-libiberty
7469 configure-target-libstdc
++-v3
: $(ALL_GCC_C
)
7470 all-target-libstdc
++-v3
: maybe-all-target-libiberty
7471 configure-target-zlib
: $(ALL_GCC_C
)
7473 # Target modules in the 'src' repository.
7474 configure-target-examples
: $(ALL_GCC_C
)
7475 configure-target-libgloss
: $(ALL_GCC
)
7476 all-target-libgloss
: maybe-configure-target-newlib
7477 configure-target-libiberty
: $(ALL_GCC_C
)
7478 configure-target-libtermcap
: $(ALL_GCC_C
)
7479 configure-target-newlib
: $(ALL_GCC
)
7480 configure-target-rda
: $(ALL_GCC_C
)
7481 configure-target-winsup
: $(ALL_GCC_C
)
7482 all-target-winsup
: maybe-all-target-libiberty maybe-all-target-libtermcap
7484 # Other target modules. Warning, these are not well tested.
7485 configure-target-gperf
: $(ALL_GCC_CXX
)
7486 all-target-gperf
: maybe-all-target-libiberty maybe-all-target-libstdc
++-v3
7487 configure-target-qthreads
: $(ALL_GCC_C
)
7489 # Dependencies of maybe-foo on foo. These are used because, for example,
7490 # all-gcc only depends on all-gas if gas is present and being configured.
7491 @maybe_dependencies@
7493 # Serialization dependencies. Host configures don't work well in parallel to
7494 # each other, due to contention over config.cache. Target configures and
7495 # build configures are similar.
7496 @serialization_dependencies@
7498 # --------------------------------
7499 # Regenerating top level configury
7500 # --------------------------------
7502 # Multilib.out tells target dirs what multilibs they should build.
7503 # There is really only one copy. We use the 'timestamp' method to
7504 # work around various timestamp bugs on some systems.
7505 # We use move-if-change so that it's only considered updated when it
7506 # actually changes, because it has to depend on a phony target.
7507 multilib.out
: maybe-all-gcc
7508 @r
=`${PWD}`; export r
; \
7509 echo
"Checking multilib configuration..."; \
7510 $(CC_FOR_TARGET
) --print-multi-lib
> multilib.tmp
2> /dev
/null
; \
7511 $(SHELL
) $(srcdir)/move-if-change multilib.tmp multilib.out
; \
7513 # Rebuilding Makefile.in, using autogen.
7515 $(srcdir)/Makefile.in
: @MAINT@
$(srcdir)/Makefile.tpl
$(srcdir)/Makefile.def
7516 cd
$(srcdir) && $(AUTOGEN
) Makefile.def
7518 # Rebuilding Makefile.
7519 Makefile
: $(srcdir)/Makefile.in config.status
7520 CONFIG_FILES
=$@ CONFIG_HEADERS
= $(SHELL
) .
/config.status
7522 config.status
: configure
$(gcc_version_trigger
)
7523 $(SHELL
) .
/config.status
--recheck
7525 # Rebuilding configure.
7527 $(srcdir)/configure
: @MAINT@
$(srcdir)/configure.in
$(srcdir)/config
/acx.m4
7528 cd
$(srcdir) && $(AUTOCONF
)
7530 # ------------------------------
7531 # Special directives to GNU Make
7532 # ------------------------------
7534 # Tell GNU make 3.79 not to run the top level in parallel. This
7535 # prevents contention for $builddir/$target/config.cache, as well
7536 # as minimizing scatter in file system caches.
7537 NOTPARALLEL
= .NOTPARALLEL
7540 # Don't pass command-line variables to submakes.
7544 # end of Makefile.in