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 # Don't pass command-line variables to submakes.
27 # -------------------------------
28 # Standard Autoconf-set variables
29 # -------------------------------
32 build_alias
=@build_alias@
34 build_vendor
=@build_vendor@
36 build_canonical
=@build_cpu@
-@build_vendor@
-@build_os@
37 host_alias
=@host_alias@
39 host_vendor
=@host_vendor@
41 host_canonical
=@host_cpu@
-@host_vendor@
-@host_os@
42 target_alias
=@target_alias@
43 target_cpu
=@target_cpu@
44 target_vendor
=@target_vendor@
46 target_canonical
=@target_cpu@
-@target_vendor@
-@target_os@
48 program_transform_name
= @program_transform_name@
51 exec_prefix = @
exec_prefix@
57 libexecdir
= @libexecdir@
59 sysconfdir
= @sysconfdir@
60 sharedstatedir
= @sharedstatedir@
61 localstatedir
= @localstatedir@
63 includedir = @
includedir@
64 oldincludedir = @
oldincludedir@
67 man1dir = $(mandir)/man1
68 man2dir = $(mandir)/man2
69 man3dir = $(mandir)/man3
70 man4dir = $(mandir)/man4
71 man5dir = $(mandir)/man5
72 man6dir = $(mandir)/man6
73 man7dir = $(mandir)/man7
74 man8dir = $(mandir)/man8
75 man9dir = $(mandir)/man9
77 # INSTALL_PROGRAM_ARGS is changed by configure.in to use -x for a
79 INSTALL_PROGRAM_ARGS
=
81 INSTALL
= $(SHELL
) $$s/install-sh
-c
82 INSTALL_PROGRAM
= $(INSTALL
) $(INSTALL_PROGRAM_ARGS
)
83 INSTALL_SCRIPT
= $(INSTALL
)
84 INSTALL_DATA
= $(INSTALL
) -m
644
86 # -------------------------------------------------
87 # Miscellaneous non-standard autoconf-set variables
88 # -------------------------------------------------
91 # The file containing GCC's version number.
92 gcc_version_trigger
= @gcc_version_trigger@
93 gcc_version
= @gcc_version@
95 # The gcc driver likes to know the arguments it was configured with.
96 TOPLEVEL_CONFIGURE_ARGUMENTS
=@TOPLEVEL_CONFIGURE_ARGUMENTS@
98 gxx_include_dir
= @gxx_include_dir@
99 libstdcxx_incdir
= @libstdcxx_incdir@
102 build_tooldir
= @build_tooldir@
104 # Directory in which the compiler finds executables, libraries, etc.
105 libsubdir
= $(libdir)/gcc-lib
/$(target_alias
)/$(gcc_version
)
108 # This is the name of the environment variable used for the path to
110 RPATH_ENVVAR
= @RPATH_ENVVAR@
112 # This is set by configure to REALLY_SET_LIB_PATH if --enable-shared
114 SET_LIB_PATH
= @SET_LIB_PATH@
116 # configure.in sets SET_LIB_PATH to this if --enable-shared was used.
117 # Some platforms don't like blank entries, so we remove duplicate,
118 # leading and trailing colons.
119 REALLY_SET_LIB_PATH
= \
120 $(RPATH_ENVVAR
)=`echo "$(HOST_LIB_PATH):$(TARGET_LIB_PATH):$$$(RPATH_ENVVAR)" | sed 's,::*,:,g;s,^:*,,;s,:*$$,,'`; export $(RPATH_ENVVAR
);
122 # This is the list of directories to be built for the build system.
123 BUILD_CONFIGDIRS
= libiberty
124 # Build programs are put under this directory.
125 BUILD_SUBDIR
= @build_subdir@
126 # This is set by the configure script to the arguments to use when configuring
127 # directories built for the build system.
128 BUILD_CONFIGARGS
= @build_configargs@
130 # This is the list of directories to built for the host system.
131 SUBDIRS
= @configdirs@
132 # This is set by the configure script to the arguments to use when configuring
133 # directories built for the host system.
134 HOST_CONFIGARGS
= @host_configargs@
136 # This is set by the configure script to the list of directories which
137 # should be built using the target tools.
138 TARGET_CONFIGDIRS
= @target_configdirs@
139 # Target libraries are put under this directory:
140 TARGET_SUBDIR
= @target_subdir@
141 # This is set by the configure script to the arguments to use when configuring
142 # directories built for the target.
143 TARGET_CONFIGARGS
= @target_configargs@
145 # ----------------------------------------------
146 # Programs producing files for the BUILD machine
147 # ----------------------------------------------
149 SHELL
= @config_shell@
151 # pwd command to use. Allow user to override default by setting PWDCMD in
152 # the environment to account for automounters. The make variable must not
153 # be called PWDCMD, otherwise the value set here is passed to make
154 # subprocesses and overrides the setting from the user's environment.
157 # compilers to use to create programs which must be run in the build
159 CC_FOR_BUILD
= @CC_FOR_BUILD@
160 CFLAGS_FOR_BUILD
= $(CFLAGS
)
162 CXX_FOR_BUILD
= $(CXX
)
164 # Special variables passed down in EXTRA_GCC_FLAGS. They are defined
165 # here so that they can be overridden by Makefile fragments.
166 BUILD_CC
= $(CC_FOR_BUILD
)
167 BUILD_PREFIX
= @BUILD_PREFIX@
168 BUILD_PREFIX_1
= @BUILD_PREFIX_1@
171 USUAL_BISON
= `if [ -f $$r/bison/bison ] ; then \
172 echo $$r/bison/bison -L $$s/bison/ ; \
177 DEFAULT_YACC
= @DEFAULT_YACC@
179 USUAL_YACC
= `if [ -f $$r/bison/bison ] ; then \
180 echo $$r/bison/bison -y -L $$s/bison/ ; \
181 elif [ -f $$r/byacc/byacc ] ; then \
182 echo $$r/byacc/byacc ; \
184 echo ${DEFAULT_YACC} ; \
187 DEFAULT_LEX
= @DEFAULT_LEX@
189 USUAL_LEX
= `if [ -f $$r/flex/flex ] ; \
190 then echo $$r/flex/flex ; \
191 else echo ${DEFAULT_LEX} ; fi`
193 DEFAULT_M4
= @DEFAULT_M4@
194 M4
= `if [ -f $$r/m4/m4 ] ; \
195 then echo $$r/m4/m4 ; \
196 else echo ${DEFAULT_M4} ; fi`
198 # For an installed makeinfo, we require it to be from texinfo 4 or
199 # higher, else we use the "missing" dummy.
201 USUAL_MAKEINFO
= `if [ -f $$r/texinfo/makeinfo/makeinfo ] ; \
202 then echo $$r/texinfo/makeinfo/makeinfo ; \
203 else if (makeinfo --version \
204 | egrep 'texinfo[^0-9]*([1-3][0-9]|[4-9])') >/dev/null 2>&1; \
205 then echo makeinfo; else echo $$s/missing makeinfo; fi; fi`
207 # This just becomes part of the MAKEINFO definition passed down to
208 # sub-makes. It lets flags be given on the command line while still
209 # using the makeinfo from the object tree.
212 EXPECT
= `if [ -f $$r/expect/expect ] ; \
213 then echo $$r/expect/expect ; \
214 else echo expect ; fi`
216 RUNTEST
= `if [ -f $$s/dejagnu/runtest ] ; \
217 then echo $$s/dejagnu/runtest ; \
218 else echo runtest ; fi`
220 # ---------------------------------------------
221 # Programs producing files for the HOST machine
222 # ---------------------------------------------
224 # This is the list of directories that may be needed in RPATH_ENVVAR
225 # so that programs built for the host machine work.
226 HOST_LIB_PATH
= $$r/bfd
:$$r/opcodes
235 LIBCFLAGS
= $(CFLAGS
)
238 CXXFLAGS
= @CXXFLAGS@
239 LIBCXXFLAGS
= $(CXXFLAGS
) -fno-implicit-templates
254 # -----------------------------------------------
255 # Programs producing files for the TARGET machine
256 # -----------------------------------------------
258 # This is the list of directories that may be needed in RPATH_ENVVAR
259 # so that prorgams built for the target machine work.
260 TARGET_LIB_PATH
= $$r/$(TARGET_SUBDIR
)/libstdc
++-v3
/src
/.libs
:
262 FLAGS_FOR_TARGET
= @FLAGS_FOR_TARGET@
264 AR_FOR_TARGET
=@AR_FOR_TARGET@
265 USUAL_AR_FOR_TARGET
= ` \
266 if [ -f $$r/binutils/ar ] ; then \
267 echo $$r/binutils/ar ; \
269 if [ '$(host_canonical)' = '$(target_canonical)' ] ; then \
272 echo ar | sed '$(program_transform_name)' ; \
276 AS_FOR_TARGET
=@AS_FOR_TARGET@
277 USUAL_AS_FOR_TARGET
= ` \
278 if [ -f $$r/gas/as-new ] ; then \
279 echo $$r/gas/as-new ; \
280 elif [ -f $$r/gcc/xgcc ]; then \
281 $(CC_FOR_TARGET) -print-prog-name=as ; \
283 if [ '$(host_canonical)' = '$(target_canonical)' ] ; then \
286 echo as | sed '$(program_transform_name)' ; \
290 CC_FOR_TARGET
= @CC_FOR_TARGET@
291 # During gcc bootstrap, if we use some random cc for stage1 then
292 # CFLAGS will be just -g. We want to ensure that TARGET libraries
293 # (which we know are built with gcc) are built with optimizations so
294 # prepend -O2 when setting CFLAGS_FOR_TARGET.
295 CFLAGS_FOR_TARGET
= -O2
$(CFLAGS
)
296 # If GCC_FOR_TARGET is not overriden on the command line, then this
297 # variable is passed down to the gcc Makefile, where it is used to
298 # build libgcc2.a. We define it here so that it can itself be
299 # overridden on the command line.
300 GCC_FOR_TARGET
=@GCC_FOR_TARGET@
301 USUAL_GCC_FOR_TARGET
= $(STAGE_CC_WRAPPER
) $$r/gcc
/xgcc
-B
$$r/gcc
/ $(FLAGS_FOR_TARGET
)
302 LIBCFLAGS_FOR_TARGET
= $(CFLAGS_FOR_TARGET
)
304 CXX_FOR_TARGET
= @CXX_FOR_TARGET@
305 RAW_CXX_FOR_TARGET
= @RAW_CXX_FOR_TARGET@
306 CXX_FOR_TARGET_FOR_RECURSIVE_MAKE
= @CXX_FOR_TARGET_FOR_RECURSIVE_MAKE@
307 RAW_CXX_FOR_TARGET_FOR_RECURSIVE_MAKE
= @RAW_CXX_FOR_TARGET_FOR_RECURSIVE_MAKE@
308 CXXFLAGS_FOR_TARGET
= $(CXXFLAGS
)
309 LIBCXXFLAGS_FOR_TARGET
= $(CXXFLAGS_FOR_TARGET
) -fno-implicit-templates
311 DLLTOOL_FOR_TARGET
=@DLLTOOL_FOR_TARGET@
312 USUAL_DLLTOOL_FOR_TARGET
= ` \
313 if [ -f $$r/binutils/dlltool ] ; then \
314 echo $$r/binutils/dlltool ; \
316 if [ '$(host_canonical)' = '$(target_canonical)' ] ; then \
319 echo dlltool | sed '$(program_transform_name)' ; \
323 GCJ_FOR_TARGET
= @GCJ_FOR_TARGET@
325 LD_FOR_TARGET
=@LD_FOR_TARGET@
326 USUAL_LD_FOR_TARGET
= ` \
327 if [ -f $$r/ld/ld-new ] ; then \
328 echo $$r/ld/ld-new ; \
329 elif [ -f $$r/gcc/xgcc ]; then \
330 $(CC_FOR_TARGET) -print-prog-name=ld ; \
332 if [ '$(host_canonical)' = '$(target_canonical)' ] ; then \
335 echo ld | sed '$(program_transform_name)' ; \
341 NM_FOR_TARGET
=@NM_FOR_TARGET@
342 USUAL_NM_FOR_TARGET
= ` \
343 if [ -f $$r/binutils/nm-new ] ; then \
344 echo $$r/binutils/nm-new ; \
345 elif [ -f $$r/gcc/xgcc ]; then \
346 $(CC_FOR_TARGET) -print-prog-name=nm ; \
348 if [ '$(host_canonical)' = '$(target_canonical)' ] ; then \
351 echo nm | sed '$(program_transform_name)' ; \
355 RANLIB_FOR_TARGET
=@RANLIB_FOR_TARGET@
356 USUAL_RANLIB_FOR_TARGET
= ` \
357 if [ -f $$r/binutils/ranlib ] ; then \
358 echo $$r/binutils/ranlib ; \
360 if [ '$(host_canonical)' = '$(target_canonical)' ] ; then \
361 if [ x'$(RANLIB)' != x ]; then \
367 echo ranlib | sed '$(program_transform_name)' ; \
371 WINDRES_FOR_TARGET
=@WINDRES_FOR_TARGET@
372 USUAL_WINDRES_FOR_TARGET
= ` \
373 if [ -f $$r/binutils/windres ] ; then \
374 echo $$r/binutils/windres ; \
376 if [ '$(host_canonical)' = '$(target_canonical)' ] ; then \
379 echo windres | sed '$(program_transform_name)' ; \
385 # ------------------------------------
386 # Miscellaneous targets and flag lists
387 # ------------------------------------
389 # The first rule in the file had better be this one. Don't put any above it.
390 # This lives here to allow makefile fragments to contain dependencies.
394 #### host and target specific makefile fragments come in here.
395 @target_makefile_frag@
401 # Flags to pass down to all sub-makes.
402 # Please keep these in alphabetical order.
403 BASE_FLAGS_TO_PASS
= \
404 "AR_FLAGS=$(AR_FLAGS)" \
405 "AR_FOR_TARGET=$(AR_FOR_TARGET)" \
406 "AS_FOR_TARGET=$(AS_FOR_TARGET)" \
408 "CC_FOR_BUILD=$(CC_FOR_BUILD)" \
409 "CC_FOR_TARGET=$(CC_FOR_TARGET)" \
411 "CFLAGS_FOR_TARGET=$(CFLAGS_FOR_TARGET)" \
412 "GCJ_FOR_TARGET=$(GCJ_FOR_TARGET)" \
413 "CXX_FOR_BUILD=$(CXX_FOR_BUILD)" \
414 "CXXFLAGS=$(CXXFLAGS)" \
415 "CXXFLAGS_FOR_TARGET=$(CXXFLAGS_FOR_TARGET)" \
416 "CXX_FOR_TARGET=$(CXX_FOR_TARGET)" \
417 "DESTDIR=$(DESTDIR)" \
418 "DLLTOOL_FOR_TARGET=$(DLLTOOL_FOR_TARGET)" \
419 "INSTALL=$(INSTALL)" \
420 "INSTALL_DATA=$(INSTALL_DATA)" \
421 "INSTALL_PROGRAM=$(INSTALL_PROGRAM)" \
422 "INSTALL_SCRIPT=$(INSTALL_SCRIPT)" \
423 "LDFLAGS=$(LDFLAGS)" \
425 "LD_FOR_TARGET=$(LD_FOR_TARGET)" \
426 "LIBCFLAGS=$(LIBCFLAGS)" \
427 "LIBCFLAGS_FOR_TARGET=$(LIBCFLAGS_FOR_TARGET)" \
428 "LIBCXXFLAGS=$(LIBCXXFLAGS)" \
429 "LIBCXXFLAGS_FOR_TARGET=$(LIBCXXFLAGS_FOR_TARGET)" \
432 "MAKEINFO=$(MAKEINFO) $(MAKEINFOFLAGS)" \
433 "NM_FOR_TARGET=$(NM_FOR_TARGET)" \
434 "RANLIB_FOR_TARGET=$(RANLIB_FOR_TARGET)" \
435 "RPATH_ENVVAR=$(RPATH_ENVVAR)" \
438 "RUNTEST=$(RUNTEST)" \
439 "RUNTESTFLAGS=$(RUNTESTFLAGS)" \
440 "TARGET_SUBDIR=$(TARGET_SUBDIR)" \
441 "WINDRES_FOR_TARGET=$(WINDRES_FOR_TARGET)" \
444 "datadir=$(datadir)" \
445 "exec_prefix=$(exec_prefix)" \
446 "includedir=$(includedir)" \
447 "infodir=$(infodir)" \
449 "libexecdir=$(libexecdir)" \
450 "lispdir=$(lispdir)" \
451 "libstdcxx_incdir=$(libstdcxx_incdir)" \
452 "libsubdir=$(libsubdir)" \
453 "localstatedir=$(localstatedir)" \
455 "oldincludedir=$(oldincludedir)" \
457 "sbindir=$(sbindir)" \
458 "sharedstatedir=$(sharedstatedir)" \
459 "sysconfdir=$(sysconfdir)" \
460 "tooldir=$(tooldir)" \
461 "build_tooldir=$(build_tooldir)" \
462 "gxx_include_dir=$(gxx_include_dir)" \
463 "gcc_version=$(gcc_version)" \
464 "gcc_version_trigger=$(gcc_version_trigger)" \
465 "target_alias=$(target_alias)"
467 # For any flags above that may contain shell code that varies from one
468 # target library to another. When doing recursive invocations of the
469 # top-level Makefile, we don't want the outer make to evaluate them,
470 # so we pass these variables down unchanged. They must not contain
471 # single nor double quotes.
473 CXX_FOR_TARGET
='$(CXX_FOR_TARGET_FOR_RECURSIVE_MAKE)' \
474 RAW_CXX_FOR_TARGET
='$(RAW_CXX_FOR_TARGET_FOR_RECURSIVE_MAKE)' \
476 # Flags to pass down to most sub-makes, in which we're building with
477 # the host environment.
478 # If any variables are added here, they must be added to do-*, below.
484 'DLLTOOL=$(DLLTOOL)' \
490 FLAGS_TO_PASS
= $(BASE_FLAGS_TO_PASS
) $(EXTRA_HOST_FLAGS
)
492 # Flags that are concerned with the location of the X11 include files
495 # NOTE: until the top-level is getting the values via autoconf, it only
496 # causes problems to have this top-level Makefile overriding the autoconf-set
497 # values in child directories. Only variables that don't conflict with
498 # autoconf'ed ones should be passed by X11_FLAGS_TO_PASS for now.
500 X11_FLAGS_TO_PASS
= \
501 'X11_EXTRA_CFLAGS=$(X11_EXTRA_CFLAGS)' \
502 'X11_EXTRA_LIBS=$(X11_EXTRA_LIBS)'
504 # Flags to pass down to makes which are built with the target environment.
505 # The double $ decreases the length of the command line; the variables
506 # are set in BASE_FLAGS_TO_PASS, and the sub-make will expand them.
507 # If any variables are added here, they must be added to do-*, below.
508 EXTRA_TARGET_FLAGS
= \
509 'AR=$$(AR_FOR_TARGET)' \
510 'AS=$$(AS_FOR_TARGET)' \
511 'CC=$$(CC_FOR_TARGET)' \
512 'CFLAGS=$$(CFLAGS_FOR_TARGET)' \
513 'CXX=$$(CXX_FOR_TARGET)' \
514 'CXXFLAGS=$$(CXXFLAGS_FOR_TARGET)' \
515 'DLLTOOL=$$(DLLTOOL_FOR_TARGET)' \
516 'LD=$$(LD_FOR_TARGET)' \
517 'LIBCFLAGS=$$(LIBCFLAGS_FOR_TARGET)' \
518 'LIBCXXFLAGS=$$(LIBCXXFLAGS_FOR_TARGET)' \
519 'NM=$$(NM_FOR_TARGET)' \
520 'RANLIB=$$(RANLIB_FOR_TARGET)' \
521 'WINDRES=$$(WINDRES_FOR_TARGET)'
523 TARGET_FLAGS_TO_PASS
= $(BASE_FLAGS_TO_PASS
) $(EXTRA_TARGET_FLAGS
)
525 # Flags to pass down to gcc. gcc builds a library, libgcc.a, so it
526 # unfortunately needs the native compiler and the target ar and
528 # If any variables are added here, they must be added to do-*, below.
529 # The HOST_* variables are a special case, which are used for the gcc
530 # cross-building scheme.
536 'DLLTOOL=$$(DLLTOOL_FOR_TARGET)' \
537 'BUILD_CC=$(CC_FOR_BUILD)' \
538 'BUILD_PREFIX=$(BUILD_PREFIX)' \
539 'BUILD_PREFIX_1=$(BUILD_PREFIX_1)' \
542 'WINDRES=$$(WINDRES_FOR_TARGET)' \
543 "GCC_FOR_TARGET=$(GCC_FOR_TARGET)" \
544 "CFLAGS_FOR_BUILD=$(CFLAGS_FOR_BUILD)" \
545 "`echo 'LANGUAGES=$(LANGUAGES)' | sed -e s/.*=$$/XFOO=/`" \
546 "`echo 'STMP_FIXPROTO=$(STMP_FIXPROTO)' | sed -e s/.*=$$/XFOO=/`" \
547 "`echo 'LIMITS_H_TEST=$(LIMITS_H_TEST)' | sed -e s/.*=$$/XFOO=/`" \
548 "`echo 'LIBGCC2_CFLAGS=$(LIBGCC2_CFLAGS)' | sed -e s/.*=$$/XFOO=/`" \
549 "`echo 'LIBGCC2_DEBUG_CFLAGS=$(LIBGCC2_DEBUG_CFLAGS)' | sed -e s/.*=$$/XFOO=/`" \
550 "`echo 'LIBGCC2_INCLUDES=$(LIBGCC2_INCLUDES)' | sed -e s/.*=$$/XFOO=/`" \
551 "`echo 'ENQUIRE=$(ENQUIRE)' | sed -e s/.*=$$/XFOO=/`" \
552 "`echo 'STAGE1_CFLAGS=$(STAGE1_CFLAGS)' | sed -e s/.*=$$/XFOO=/`" \
553 "`echo 'BOOT_CFLAGS=$(BOOT_CFLAGS)' | sed -e s/.*=$$/XFOO=/`"
555 GCC_FLAGS_TO_PASS
= $(BASE_FLAGS_TO_PASS
) $(EXTRA_GCC_FLAGS
)
557 configure-host
: @configure_host_modules@
558 configure-target
: @configure_target_modules@
560 # This is a list of the targets for which we can do a clean-{target}.
621 # All of the target modules that can be cleaned
622 CLEAN_TARGET_MODULES
= \
623 clean-target-libstdc
++-v3 \
624 clean-target-newlib \
625 clean-target-libf2c \
626 clean-target-libobjc \
627 clean-target-winsup \
628 clean-target-libgloss \
629 clean-target-libiberty \
631 clean-target-examples \
632 clean-target-libffi \
633 clean-target-libjava \
635 clean-target-boehm-gc \
636 clean-target-qthreads \
639 # All of the x11 modules that can be cleaned
640 CLEAN_X11_MODULES
= \
646 # The target built for a native build.
647 # This list only includes modules actually being configured and built.
649 all.normal
: @all_build_modules@ \
653 all-host
: @all_host_modules@
654 all-target
: @all_target_modules@
656 # Do a target for all the subdirectories. A ``make do-X'' will do a
657 # ``make X'' in all subdirectories (because, in general, there is a
658 # dependency (below) of X upon do-X, a ``make X'' will also do this,
659 # but it may do additional work as well).
660 # This target ensures that $(BASE_FLAGS_TO_PASS) appears only once,
661 # because it is so large that it can easily overflow the command line
662 # length limit on some systems.
666 @r
=`${PWD}`; export r
; \
667 s
=`cd $(srcdir); ${PWD}`; export s
; \
669 for i in
$(SUBDIRS
) -dummy-
; do \
670 if
[ -f .
/$$i/Makefile
]; then \
673 for flag in
$(EXTRA_GCC_FLAGS
); do \
674 eval
`echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
678 for flag in
$(EXTRA_HOST_FLAGS
); do \
679 eval
`echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
684 $(MAKE
) $(BASE_FLAGS_TO_PASS
) "AR=$${AR}" "AS=$${AS}" \
685 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
686 "RANLIB=$${RANLIB}" \
687 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
692 # Break into two pieces
693 r
=`${PWD}`; export r
; \
694 s
=`cd $(srcdir); ${PWD}`; export s
; \
696 for i in
$(TARGET_CONFIGDIRS
) -dummy-
; do \
697 if
[ -f
$(TARGET_SUBDIR
)/$$i/Makefile
]; then \
698 for flag in
$(EXTRA_TARGET_FLAGS
); do \
699 eval
`echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
701 (cd
$(TARGET_SUBDIR
)/$$i && \
702 $(MAKE
) $(BASE_FLAGS_TO_PASS
) "AR=$${AR}" "AS=$${AS}" \
703 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
704 "RANLIB=$${RANLIB}" \
705 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
713 @r
=`${PWD}`; export r
; \
714 s
=`cd $(srcdir); ${PWD}`; export s
; \
716 for i in
$(SUBDIRS
) -dummy-
; do \
717 if
[ -f .
/$$i/Makefile
]; then \
720 for flag in
$(EXTRA_GCC_FLAGS
); do \
721 eval
`echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
725 for flag in
$(EXTRA_HOST_FLAGS
); do \
726 eval
`echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
731 $(MAKE
) $(BASE_FLAGS_TO_PASS
) "AR=$${AR}" "AS=$${AS}" \
732 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
733 "RANLIB=$${RANLIB}" \
734 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
739 # Break into two pieces
740 r
=`${PWD}`; export r
; \
741 s
=`cd $(srcdir); ${PWD}`; export s
; \
743 for i in
$(TARGET_CONFIGDIRS
) -dummy-
; do \
744 if
[ -f
$(TARGET_SUBDIR
)/$$i/Makefile
]; then \
745 for flag in
$(EXTRA_TARGET_FLAGS
); do \
746 eval
`echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
748 (cd
$(TARGET_SUBDIR
)/$$i && \
749 $(MAKE
) $(BASE_FLAGS_TO_PASS
) "AR=$${AR}" "AS=$${AS}" \
750 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
751 "RANLIB=$${RANLIB}" \
752 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
760 @r
=`${PWD}`; export r
; \
761 s
=`cd $(srcdir); ${PWD}`; export s
; \
763 for i in
$(SUBDIRS
) -dummy-
; do \
764 if
[ -f .
/$$i/Makefile
]; then \
767 for flag in
$(EXTRA_GCC_FLAGS
); do \
768 eval
`echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
772 for flag in
$(EXTRA_HOST_FLAGS
); do \
773 eval
`echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
778 $(MAKE
) $(BASE_FLAGS_TO_PASS
) "AR=$${AR}" "AS=$${AS}" \
779 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
780 "RANLIB=$${RANLIB}" \
781 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
786 # Break into two pieces
787 r
=`${PWD}`; export r
; \
788 s
=`cd $(srcdir); ${PWD}`; export s
; \
790 for i in
$(TARGET_CONFIGDIRS
) -dummy-
; do \
791 if
[ -f
$(TARGET_SUBDIR
)/$$i/Makefile
]; then \
792 for flag in
$(EXTRA_TARGET_FLAGS
); do \
793 eval
`echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
795 (cd
$(TARGET_SUBDIR
)/$$i && \
796 $(MAKE
) $(BASE_FLAGS_TO_PASS
) "AR=$${AR}" "AS=$${AS}" \
797 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
798 "RANLIB=$${RANLIB}" \
799 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
807 @r
=`${PWD}`; export r
; \
808 s
=`cd $(srcdir); ${PWD}`; export s
; \
810 for i in
$(SUBDIRS
) -dummy-
; do \
811 if
[ -f .
/$$i/Makefile
]; then \
814 for flag in
$(EXTRA_GCC_FLAGS
); do \
815 eval
`echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
819 for flag in
$(EXTRA_HOST_FLAGS
); do \
820 eval
`echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
825 $(MAKE
) $(BASE_FLAGS_TO_PASS
) "AR=$${AR}" "AS=$${AS}" \
826 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
827 "RANLIB=$${RANLIB}" \
828 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
833 # Break into two pieces
834 r
=`${PWD}`; export r
; \
835 s
=`cd $(srcdir); ${PWD}`; export s
; \
837 for i in
$(TARGET_CONFIGDIRS
) -dummy-
; do \
838 if
[ -f
$(TARGET_SUBDIR
)/$$i/Makefile
]; then \
839 for flag in
$(EXTRA_TARGET_FLAGS
); do \
840 eval
`echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
842 (cd
$(TARGET_SUBDIR
)/$$i && \
843 $(MAKE
) $(BASE_FLAGS_TO_PASS
) "AR=$${AR}" "AS=$${AS}" \
844 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
845 "RANLIB=$${RANLIB}" \
846 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
852 .PHONY
: do-install-info
854 @r
=`${PWD}`; export r
; \
855 s
=`cd $(srcdir); ${PWD}`; export s
; \
857 for i in
$(SUBDIRS
) -dummy-
; do \
858 if
[ -f .
/$$i/Makefile
]; then \
861 for flag in
$(EXTRA_GCC_FLAGS
); do \
862 eval
`echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
866 for flag in
$(EXTRA_HOST_FLAGS
); do \
867 eval
`echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
872 $(MAKE
) $(BASE_FLAGS_TO_PASS
) "AR=$${AR}" "AS=$${AS}" \
873 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
874 "RANLIB=$${RANLIB}" \
875 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
880 # Break into two pieces
881 r
=`${PWD}`; export r
; \
882 s
=`cd $(srcdir); ${PWD}`; export s
; \
884 for i in
$(TARGET_CONFIGDIRS
) -dummy-
; do \
885 if
[ -f
$(TARGET_SUBDIR
)/$$i/Makefile
]; then \
886 for flag in
$(EXTRA_TARGET_FLAGS
); do \
887 eval
`echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
889 (cd
$(TARGET_SUBDIR
)/$$i && \
890 $(MAKE
) $(BASE_FLAGS_TO_PASS
) "AR=$${AR}" "AS=$${AS}" \
891 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
892 "RANLIB=$${RANLIB}" \
893 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
899 .PHONY
: do-installcheck
901 @r
=`${PWD}`; export r
; \
902 s
=`cd $(srcdir); ${PWD}`; export s
; \
904 for i in
$(SUBDIRS
) -dummy-
; do \
905 if
[ -f .
/$$i/Makefile
]; then \
908 for flag in
$(EXTRA_GCC_FLAGS
); do \
909 eval
`echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
913 for flag in
$(EXTRA_HOST_FLAGS
); do \
914 eval
`echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
919 $(MAKE
) $(BASE_FLAGS_TO_PASS
) "AR=$${AR}" "AS=$${AS}" \
920 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
921 "RANLIB=$${RANLIB}" \
922 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
927 # Break into two pieces
928 r
=`${PWD}`; export r
; \
929 s
=`cd $(srcdir); ${PWD}`; export s
; \
931 for i in
$(TARGET_CONFIGDIRS
) -dummy-
; do \
932 if
[ -f
$(TARGET_SUBDIR
)/$$i/Makefile
]; then \
933 for flag in
$(EXTRA_TARGET_FLAGS
); do \
934 eval
`echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
936 (cd
$(TARGET_SUBDIR
)/$$i && \
937 $(MAKE
) $(BASE_FLAGS_TO_PASS
) "AR=$${AR}" "AS=$${AS}" \
938 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
939 "RANLIB=$${RANLIB}" \
940 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
946 .PHONY
: do-mostlyclean
948 @r
=`${PWD}`; export r
; \
949 s
=`cd $(srcdir); ${PWD}`; export s
; \
951 for i in
$(SUBDIRS
) -dummy-
; do \
952 if
[ -f .
/$$i/Makefile
]; then \
955 for flag in
$(EXTRA_GCC_FLAGS
); do \
956 eval
`echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
960 for flag in
$(EXTRA_HOST_FLAGS
); do \
961 eval
`echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
966 $(MAKE
) $(BASE_FLAGS_TO_PASS
) "AR=$${AR}" "AS=$${AS}" \
967 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
968 "RANLIB=$${RANLIB}" \
969 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
974 # Break into two pieces
975 r
=`${PWD}`; export r
; \
976 s
=`cd $(srcdir); ${PWD}`; export s
; \
978 for i in
$(TARGET_CONFIGDIRS
) -dummy-
; do \
979 if
[ -f
$(TARGET_SUBDIR
)/$$i/Makefile
]; then \
980 for flag in
$(EXTRA_TARGET_FLAGS
); do \
981 eval
`echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
983 (cd
$(TARGET_SUBDIR
)/$$i && \
984 $(MAKE
) $(BASE_FLAGS_TO_PASS
) "AR=$${AR}" "AS=$${AS}" \
985 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
986 "RANLIB=$${RANLIB}" \
987 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
993 .PHONY
: do-maintainer-clean
995 @r
=`${PWD}`; export r
; \
996 s
=`cd $(srcdir); ${PWD}`; export s
; \
998 for i in
$(SUBDIRS
) -dummy-
; do \
999 if
[ -f .
/$$i/Makefile
]; then \
1002 for flag in
$(EXTRA_GCC_FLAGS
); do \
1003 eval
`echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
1007 for flag in
$(EXTRA_HOST_FLAGS
); do \
1008 eval
`echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
1013 $(MAKE
) $(BASE_FLAGS_TO_PASS
) "AR=$${AR}" "AS=$${AS}" \
1014 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
1015 "RANLIB=$${RANLIB}" \
1016 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
1021 # Break into two pieces
1022 r
=`${PWD}`; export r
; \
1023 s
=`cd $(srcdir); ${PWD}`; export s
; \
1025 for i in
$(TARGET_CONFIGDIRS
) -dummy-
; do \
1026 if
[ -f
$(TARGET_SUBDIR
)/$$i/Makefile
]; then \
1027 for flag in
$(EXTRA_TARGET_FLAGS
); do \
1028 eval
`echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
1030 (cd
$(TARGET_SUBDIR
)/$$i && \
1031 $(MAKE
) $(BASE_FLAGS_TO_PASS
) "AR=$${AR}" "AS=$${AS}" \
1032 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
1033 "RANLIB=$${RANLIB}" \
1034 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
1042 @r
=`${PWD}`; export r
; \
1043 s
=`cd $(srcdir); ${PWD}`; export s
; \
1045 for i in
$(SUBDIRS
) -dummy-
; do \
1046 if
[ -f .
/$$i/Makefile
]; then \
1049 for flag in
$(EXTRA_GCC_FLAGS
); do \
1050 eval
`echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
1054 for flag in
$(EXTRA_HOST_FLAGS
); do \
1055 eval
`echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
1060 $(MAKE
) $(BASE_FLAGS_TO_PASS
) "AR=$${AR}" "AS=$${AS}" \
1061 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
1062 "RANLIB=$${RANLIB}" \
1063 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
1068 # Break into two pieces
1069 r
=`${PWD}`; export r
; \
1070 s
=`cd $(srcdir); ${PWD}`; export s
; \
1072 for i in
$(TARGET_CONFIGDIRS
) -dummy-
; do \
1073 if
[ -f
$(TARGET_SUBDIR
)/$$i/Makefile
]; then \
1074 for flag in
$(EXTRA_TARGET_FLAGS
); do \
1075 eval
`echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
1077 (cd
$(TARGET_SUBDIR
)/$$i && \
1078 $(MAKE
) $(BASE_FLAGS_TO_PASS
) "AR=$${AR}" "AS=$${AS}" \
1079 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
1080 "RANLIB=$${RANLIB}" \
1081 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
1089 # Here are the targets which correspond to the do-X targets.
1091 .PHONY
: info installcheck dvi install-info
1092 .PHONY
: clean distclean mostlyclean maintainer-clean
realclean
1093 .PHONY
: local-clean local-distclean local-maintainer-clean
1095 installcheck: do-installcheck
1098 # Make sure makeinfo is built before we do a `make info', if we're
1099 # in fact building texinfo.
1100 do-info
: maybe-all-texinfo
1102 install-info
: do-install-info
dir.
info
1103 s
=`cd $(srcdir); ${PWD}`; export s
; \
1104 if
[ -f
dir.
info ] ; then \
1105 $(INSTALL_DATA
) dir.
info $(DESTDIR
)$(infodir)/dir.
info ; \
1109 -rm -f
*.a TEMP errs core
*.o
*~ \
#* TAGS *.E *.log
1112 -rm -f Makefile config.status config.cache mh-frag mt-frag
1113 -rm -f multilib.out multilib.tmp maybedep.tmp serdep.tmp
1114 -if
[ "$(TARGET_SUBDIR)" != "." ]; then \
1115 rm -rf
$(TARGET_SUBDIR
); \
1117 -rm -f texinfo
/po
/Makefile texinfo
/po
/Makefile.in texinfo
/info/Makefile
1118 -rm -f texinfo
/doc
/Makefile texinfo
/po
/POTFILES
1119 -rmdir texinfo
/doc texinfo
/info texinfo
/intl texinfo
/lib
2>/dev
/null
1120 -rmdir texinfo
/makeinfo texinfo
/po texinfo
/util
2>/dev
/null
1121 -rmdir fastjar gcc libiberty texinfo zlib
2>/dev
/null
1123 local-maintainer-clean
:
1124 @echo
"This command is intended for maintainers to use;"
1125 @echo
"it deletes files that may require special tools to rebuild."
1127 clean: do-clean local-clean
1128 mostlyclean: do-mostlyclean local-clean
1129 distclean: do-distclean local-clean local-distclean
1130 maintainer-clean
: local-maintainer-clean do-maintainer-clean local-clean
1131 maintainer-clean
: local-distclean
1132 realclean: maintainer-clean
1134 # This rule is used to clean specific modules.
1135 .PHONY
: $(CLEAN_MODULES
) $(CLEAN_X11_MODULES
) clean-gcc
1136 $(CLEAN_MODULES
) $(CLEAN_X11_MODULES
) clean-gcc
:
1137 @
dir=`echo $@ | sed -e 's/clean-//'`; \
1138 if
[ -f .
/$${dir}/Makefile
] ; then \
1139 r
=`${PWD}`; export r
; \
1140 s
=`cd $(srcdir); ${PWD}`; export s
; \
1142 (cd
$${dir} && $(MAKE
) $(FLAGS_TO_PASS
) clean); \
1147 .PHONY
: $(CLEAN_TARGET_MODULES
)
1148 $(CLEAN_TARGET_MODULES
):
1149 @
dir=`echo $@ | sed -e 's/clean-target-//'`; \
1150 rm -f
$(TARGET_SUBDIR
)/$${dir}/multilib.out
$(TARGET_SUBDIR
)/$${dir}/tmpmulti.out
; \
1151 if
[ -f
$(TARGET_SUBDIR
)/$${dir}/Makefile
] ; then \
1152 r
=`${PWD}`; export r
; \
1153 s
=`cd $(srcdir); ${PWD}`; export s
; \
1155 (cd
$(TARGET_SUBDIR
)/$${dir} && $(MAKE
) $(TARGET_FLAGS_TO_PASS
) clean); \
1160 clean-target
: $(CLEAN_TARGET_MODULES
) clean-target-libgcc
1161 clean-target-libgcc
:
1162 test ! -d gcc
/libgcc || \
1163 (cd gcc
/libgcc
&& find .
-type d
-print) | \
1164 while read d
; do
rm -f gcc
/$$d/libgcc.a ||
: ; done
1169 .PHONY
: check do-check
1171 $(MAKE
) do-check NOTPARALLEL
=parallel-ok
1173 # Only include modules actually being configured and built.
1174 do-check
: @check_host_modules@ \
1175 @check_target_modules@
1177 # Automated reporting of test results.
1179 warning.log
: build.log
1180 $(srcdir)/contrib
/warn_summary build.log
> $@
1183 if
test x
'$(BOOT_CFLAGS)' != x
''; then \
1184 BOOT_CFLAGS
='$(BOOT_CFLAGS)'; export BOOT_CFLAGS
; \
1186 $(srcdir)/contrib
/test_summary
-t
>$@
1188 echo If you really want to send e-mail
, run .
/$@ now
1190 mail-report-with-warnings.log
: warning.log
1191 if
test x
'$(BOOT_CFLAGS)' != x
''; then \
1192 BOOT_CFLAGS
='$(BOOT_CFLAGS)'; export BOOT_CFLAGS
; \
1194 $(srcdir)/contrib
/test_summary
-t
-i warning.log
>$@
1196 echo If you really want to send e-mail
, run .
/$@ now
1198 # Installation targets.
1200 .PHONY
: install uninstall
1201 install: installdirs @install_host_modules@ @install_target_modules@
1203 install-target
: @install_target_modules@
1206 @echo
"the uninstall target is not supported in this tree"
1209 install.
all: install-no-fixedincludes
1210 @if
[ -f .
/gcc
/Makefile
] ; then \
1211 r
=`${PWD}` ; export r
; \
1214 $(MAKE
) $(FLAGS_TO_PASS
) install-headers
) ; \
1219 # install-no-fixedincludes is used because Cygnus can not distribute
1220 # the fixed header files.
1221 .PHONY
: install-no-fixedincludes
1222 install-no-fixedincludes
: installdirs @install_host_modules_nogcc@ \
1223 @install_target_modules@ gcc-no-fixedincludes
1225 ### other supporting targets
1228 $(DESTDIR
)$(prefix) \
1229 $(DESTDIR
)$(exec_prefix)
1231 installdirs: mkinstalldirs
1232 $(SHELL
) $(srcdir)/mkinstalldirs
$(MAKEDIRS
)
1234 dir.
info: do-install-info
1235 if
[ -f
$(srcdir)/texinfo
/gen-info-dir
] ; then \
1236 $(srcdir)/texinfo
/gen-info-dir
$(DESTDIR
)$(infodir) $(srcdir)/texinfo
/dir.info-template
> dir.
info.new
; \
1237 mv
-f
dir.
info.new
dir.
info ; \
1242 @echo
"Building a full distribution of this tree isn't done"
1243 @echo
"via 'make dist'. Check out the etc/ subdirectory"
1247 # Right now this just builds TAGS in each subdirectory. emacs19 has the
1248 # ability to use several tags files at once, so there is probably no need
1249 # to combine them into one big TAGS file (like CVS 1.3 does). We could
1250 # (if we felt like it) have this Makefile write a piece of elisp which
1251 # the user could load to tell emacs19 where all the TAGS files we just
1255 # --------------------------------------
1256 # Modules which run on the build machine
1257 # --------------------------------------
1259 .PHONY
: configure-build-libiberty maybe-configure-build-libiberty
1260 maybe-configure-build-libiberty
:
1261 configure-build-libiberty
:
1262 @
test ! -f
$(BUILD_SUBDIR
)/libiberty
/Makefile || exit
0; \
1263 [ -d
$(BUILD_SUBDIR
)/libiberty
] || \
1264 mkdir
$(BUILD_SUBDIR
)/libiberty
;\
1265 r
=`${PWD}`; export r
; \
1266 s
=`cd $(srcdir); ${PWD}`; export s
; \
1267 AR
="$(AR_FOR_BUILD)"; export AR
; \
1268 AS
="$(AS_FOR_BUILD)"; export AS
; \
1269 CC
="$(CC_FOR_BUILD)"; export CC
; \
1270 CFLAGS
="$(CFLAGS_FOR_BUILD)"; export CFLAGS
; \
1271 CXX
="$(CXX_FOR_BUILD)"; export CXX
; \
1272 CXXFLAGS
="$(CXXFLAGS_FOR_BUILD)"; export CXXFLAGS
; \
1273 GCJ
="$(GCJ_FOR_BUILD)"; export GCJ
; \
1274 DLLTOOL
="$(DLLTOOL_FOR_BUILD)"; export DLLTOOL
; \
1275 LD
="$(LD_FOR_BUILD)"; export LD
; \
1276 LDFLAGS
="$(LDFLAGS_FOR_BUILD)"; export LDFLAGS
; \
1277 NM
="$(NM_FOR_BUILD)"; export NM
; \
1278 RANLIB
="$(RANLIB_FOR_BUILD)"; export RANLIB
; \
1279 WINDRES
="$(WINDRES_FOR_BUILD)"; export WINDRES
; \
1280 echo Configuring in
$(BUILD_SUBDIR
)/libiberty
; \
1281 cd
"$(BUILD_SUBDIR)/libiberty" || exit
1; \
1283 /* |
[A-Za-z
]:[\\/]*) \
1284 topdir
=$(srcdir) ;; \
1286 case
"$(BUILD_SUBDIR)" in \
1287 .
) topdir
="../$(srcdir)" ;; \
1288 *) topdir
="../../$(srcdir)" ;; \
1291 if
[ "$(srcdir)" = "." ] ; then \
1292 if
[ "$(BUILD_SUBDIR)" != "." ] ; then \
1293 if
$(SHELL
) $$s/symlink-tree
$${topdir}/libiberty
"no-such-file" ; then \
1294 if
[ -f Makefile
]; then \
1295 if
$(MAKE
) distclean; then \
1309 srcdiroption
="--srcdir=."; \
1312 srcdiroption
="--srcdir=$${topdir}/libiberty"; \
1313 libsrcdir
="$$s/libiberty"; \
1315 rm -f no-such-file ||
: ; \
1316 CONFIG_SITE
=no-such-file
$(SHELL
) $${libsrcdir}/configure \
1317 $(BUILD_CONFIGARGS
) $${srcdiroption} \
1318 --with-build-subdir
="$(BUILD_SUBDIR)" \
1321 .PHONY
: all-build-libiberty maybe-all-build-libiberty
1322 maybe-all-build-libiberty
:
1323 all-build-libiberty
: configure-build-libiberty
1324 @r
=`${PWD}`; export r
; \
1325 s
=`cd $(srcdir); ${PWD}`; export s
; \
1326 (cd
$(BUILD_SUBDIR
)/libiberty
&& $(MAKE
) all)
1329 # --------------------------------------
1330 # Modules which run on the host machine
1331 # --------------------------------------
1333 .PHONY
: configure-ash maybe-configure-ash
1334 maybe-configure-ash
:
1336 @
test ! -f ash
/Makefile || exit
0; \
1337 [ -d ash
] || mkdir ash
; \
1338 r
=`${PWD}`; export r
; \
1339 s
=`cd $(srcdir); ${PWD}`; export s
; \
1340 CC
="$(CC)"; export CC
; \
1341 CFLAGS
="$(CFLAGS)"; export CFLAGS
; \
1342 CXX
="$(CXX)"; export CXX
; \
1343 CXXFLAGS
="$(CXXFLAGS)"; export CXXFLAGS
; \
1344 if
[ z
$(build_canonical
) != z
$(host_canoncial
) ] ; then \
1345 AR
="$(AR)"; export AR
; \
1346 AS
="$(AS)"; export AS
; \
1347 CC_FOR_BUILD
="$(CC_FOR_BUILD)"; export CC_FOR_BUILD
; \
1348 DLLTOOL
="$(DLLTOOL)"; export DLLTOOL
; \
1349 LD
="$(LD)"; export LD
; \
1350 NM
="$(NM)"; export NM
; \
1351 RANLIB
="$(RANLIB)"; export RANLIB
; \
1352 WINDRES
="$(WINDRES)"; export WINDRES
; \
1353 OBJCOPY
="$(OBJCOPY)"; export OBJCOPY
; \
1354 OBJDUMP
="$(OBJDUMP)"; export OBJDUMP
; \
1356 echo Configuring in ash
; \
1360 srcdiroption
="--srcdir=."; \
1362 /* |
[A-Za-z
]:[\\/]*) \
1363 srcdiroption
="--srcdir=$(srcdir)/ash"; \
1364 libsrcdir
="$$s/ash";; \
1366 srcdiroption
="--srcdir=../$(srcdir)/ash"; \
1367 libsrcdir
="$$s/ash";; \
1369 $(SHELL
) $${libsrcdir}/configure \
1370 $(HOST_CONFIGARGS
) $${srcdiroption} \
1373 .PHONY
: all-ash maybe-all-ash
1375 all-ash
: configure-ash
1376 @r
=`${PWD}`; export r
; \
1377 s
=`cd $(srcdir); ${PWD}`; export s
; \
1379 (cd ash
&& $(MAKE
) $(FLAGS_TO_PASS
) all)
1384 @r
=`${PWD}`; export r
; \
1385 s
=`cd $(srcdir); ${PWD}`; export s
; \
1387 (cd ash
&& $(MAKE
) $(FLAGS_TO_PASS
) check)
1391 .PHONY
: install-ash maybe-install-ash
1393 install-ash
: installdirs
1394 @r
=`${PWD}`; export r
; \
1395 s
=`cd $(srcdir); ${PWD}`; export s
; \
1397 (cd ash
&& $(MAKE
) $(FLAGS_TO_PASS
) install)
1400 .PHONY
: configure-autoconf maybe-configure-autoconf
1401 maybe-configure-autoconf
:
1403 @
test ! -f autoconf
/Makefile || exit
0; \
1404 [ -d autoconf
] || mkdir autoconf
; \
1405 r
=`${PWD}`; export r
; \
1406 s
=`cd $(srcdir); ${PWD}`; export s
; \
1407 CC
="$(CC)"; export CC
; \
1408 CFLAGS
="$(CFLAGS)"; export CFLAGS
; \
1409 CXX
="$(CXX)"; export CXX
; \
1410 CXXFLAGS
="$(CXXFLAGS)"; export CXXFLAGS
; \
1411 if
[ z
$(build_canonical
) != z
$(host_canoncial
) ] ; then \
1412 AR
="$(AR)"; export AR
; \
1413 AS
="$(AS)"; export AS
; \
1414 CC_FOR_BUILD
="$(CC_FOR_BUILD)"; export CC_FOR_BUILD
; \
1415 DLLTOOL
="$(DLLTOOL)"; export DLLTOOL
; \
1416 LD
="$(LD)"; export LD
; \
1417 NM
="$(NM)"; export NM
; \
1418 RANLIB
="$(RANLIB)"; export RANLIB
; \
1419 WINDRES
="$(WINDRES)"; export WINDRES
; \
1420 OBJCOPY
="$(OBJCOPY)"; export OBJCOPY
; \
1421 OBJDUMP
="$(OBJDUMP)"; export OBJDUMP
; \
1423 echo Configuring in autoconf
; \
1424 cd autoconf || exit
1; \
1427 srcdiroption
="--srcdir=."; \
1429 /* |
[A-Za-z
]:[\\/]*) \
1430 srcdiroption
="--srcdir=$(srcdir)/autoconf"; \
1431 libsrcdir
="$$s/autoconf";; \
1433 srcdiroption
="--srcdir=../$(srcdir)/autoconf"; \
1434 libsrcdir
="$$s/autoconf";; \
1436 $(SHELL
) $${libsrcdir}/configure \
1437 $(HOST_CONFIGARGS
) $${srcdiroption} \
1440 .PHONY
: all-autoconf maybe-all-autoconf
1442 all-autoconf
: configure-autoconf
1443 @r
=`${PWD}`; export r
; \
1444 s
=`cd $(srcdir); ${PWD}`; export s
; \
1446 (cd autoconf
&& $(MAKE
) $(FLAGS_TO_PASS
) all)
1449 .PHONY
: check-autoconf
1451 @r
=`${PWD}`; export r
; \
1452 s
=`cd $(srcdir); ${PWD}`; export s
; \
1454 (cd autoconf
&& $(MAKE
) $(FLAGS_TO_PASS
) check)
1458 .PHONY
: install-autoconf maybe-install-autoconf
1459 maybe-install-autoconf
:
1460 install-autoconf
: installdirs
1461 @r
=`${PWD}`; export r
; \
1462 s
=`cd $(srcdir); ${PWD}`; export s
; \
1464 (cd autoconf
&& $(MAKE
) $(FLAGS_TO_PASS
) install)
1467 .PHONY
: configure-automake maybe-configure-automake
1468 maybe-configure-automake
:
1470 @
test ! -f automake
/Makefile || exit
0; \
1471 [ -d automake
] || mkdir automake
; \
1472 r
=`${PWD}`; export r
; \
1473 s
=`cd $(srcdir); ${PWD}`; export s
; \
1474 CC
="$(CC)"; export CC
; \
1475 CFLAGS
="$(CFLAGS)"; export CFLAGS
; \
1476 CXX
="$(CXX)"; export CXX
; \
1477 CXXFLAGS
="$(CXXFLAGS)"; export CXXFLAGS
; \
1478 if
[ z
$(build_canonical
) != z
$(host_canoncial
) ] ; then \
1479 AR
="$(AR)"; export AR
; \
1480 AS
="$(AS)"; export AS
; \
1481 CC_FOR_BUILD
="$(CC_FOR_BUILD)"; export CC_FOR_BUILD
; \
1482 DLLTOOL
="$(DLLTOOL)"; export DLLTOOL
; \
1483 LD
="$(LD)"; export LD
; \
1484 NM
="$(NM)"; export NM
; \
1485 RANLIB
="$(RANLIB)"; export RANLIB
; \
1486 WINDRES
="$(WINDRES)"; export WINDRES
; \
1487 OBJCOPY
="$(OBJCOPY)"; export OBJCOPY
; \
1488 OBJDUMP
="$(OBJDUMP)"; export OBJDUMP
; \
1490 echo Configuring in automake
; \
1491 cd automake || exit
1; \
1494 srcdiroption
="--srcdir=."; \
1496 /* |
[A-Za-z
]:[\\/]*) \
1497 srcdiroption
="--srcdir=$(srcdir)/automake"; \
1498 libsrcdir
="$$s/automake";; \
1500 srcdiroption
="--srcdir=../$(srcdir)/automake"; \
1501 libsrcdir
="$$s/automake";; \
1503 $(SHELL
) $${libsrcdir}/configure \
1504 $(HOST_CONFIGARGS
) $${srcdiroption} \
1507 .PHONY
: all-automake maybe-all-automake
1509 all-automake
: configure-automake
1510 @r
=`${PWD}`; export r
; \
1511 s
=`cd $(srcdir); ${PWD}`; export s
; \
1513 (cd automake
&& $(MAKE
) $(FLAGS_TO_PASS
) all)
1516 .PHONY
: check-automake
1518 @r
=`${PWD}`; export r
; \
1519 s
=`cd $(srcdir); ${PWD}`; export s
; \
1521 (cd automake
&& $(MAKE
) $(FLAGS_TO_PASS
) check)
1525 .PHONY
: install-automake maybe-install-automake
1526 maybe-install-automake
:
1527 install-automake
: installdirs
1528 @r
=`${PWD}`; export r
; \
1529 s
=`cd $(srcdir); ${PWD}`; export s
; \
1531 (cd automake
&& $(MAKE
) $(FLAGS_TO_PASS
) install)
1534 .PHONY
: configure-bash maybe-configure-bash
1535 maybe-configure-bash
:
1537 @
test ! -f bash
/Makefile || exit
0; \
1538 [ -d bash
] || mkdir bash
; \
1539 r
=`${PWD}`; export r
; \
1540 s
=`cd $(srcdir); ${PWD}`; export s
; \
1541 CC
="$(CC)"; export CC
; \
1542 CFLAGS
="$(CFLAGS)"; export CFLAGS
; \
1543 CXX
="$(CXX)"; export CXX
; \
1544 CXXFLAGS
="$(CXXFLAGS)"; export CXXFLAGS
; \
1545 if
[ z
$(build_canonical
) != z
$(host_canoncial
) ] ; then \
1546 AR
="$(AR)"; export AR
; \
1547 AS
="$(AS)"; export AS
; \
1548 CC_FOR_BUILD
="$(CC_FOR_BUILD)"; export CC_FOR_BUILD
; \
1549 DLLTOOL
="$(DLLTOOL)"; export DLLTOOL
; \
1550 LD
="$(LD)"; export LD
; \
1551 NM
="$(NM)"; export NM
; \
1552 RANLIB
="$(RANLIB)"; export RANLIB
; \
1553 WINDRES
="$(WINDRES)"; export WINDRES
; \
1554 OBJCOPY
="$(OBJCOPY)"; export OBJCOPY
; \
1555 OBJDUMP
="$(OBJDUMP)"; export OBJDUMP
; \
1557 echo Configuring in bash
; \
1558 cd bash || exit
1; \
1561 srcdiroption
="--srcdir=."; \
1563 /* |
[A-Za-z
]:[\\/]*) \
1564 srcdiroption
="--srcdir=$(srcdir)/bash"; \
1565 libsrcdir
="$$s/bash";; \
1567 srcdiroption
="--srcdir=../$(srcdir)/bash"; \
1568 libsrcdir
="$$s/bash";; \
1570 $(SHELL
) $${libsrcdir}/configure \
1571 $(HOST_CONFIGARGS
) $${srcdiroption} \
1574 .PHONY
: all-bash maybe-all-bash
1576 all-bash
: configure-bash
1577 @r
=`${PWD}`; export r
; \
1578 s
=`cd $(srcdir); ${PWD}`; export s
; \
1580 (cd bash
&& $(MAKE
) $(FLAGS_TO_PASS
) all)
1585 @r
=`${PWD}`; export r
; \
1586 s
=`cd $(srcdir); ${PWD}`; export s
; \
1588 (cd bash
&& $(MAKE
) $(FLAGS_TO_PASS
) check)
1592 .PHONY
: install-bash maybe-install-bash
1594 install-bash
: installdirs
1595 @r
=`${PWD}`; export r
; \
1596 s
=`cd $(srcdir); ${PWD}`; export s
; \
1598 (cd bash
&& $(MAKE
) $(FLAGS_TO_PASS
) install)
1601 .PHONY
: configure-bfd maybe-configure-bfd
1602 maybe-configure-bfd
:
1604 @
test ! -f bfd
/Makefile || exit
0; \
1605 [ -d bfd
] || mkdir bfd
; \
1606 r
=`${PWD}`; export r
; \
1607 s
=`cd $(srcdir); ${PWD}`; export s
; \
1608 CC
="$(CC)"; export CC
; \
1609 CFLAGS
="$(CFLAGS)"; export CFLAGS
; \
1610 CXX
="$(CXX)"; export CXX
; \
1611 CXXFLAGS
="$(CXXFLAGS)"; export CXXFLAGS
; \
1612 if
[ z
$(build_canonical
) != z
$(host_canoncial
) ] ; then \
1613 AR
="$(AR)"; export AR
; \
1614 AS
="$(AS)"; export AS
; \
1615 CC_FOR_BUILD
="$(CC_FOR_BUILD)"; export CC_FOR_BUILD
; \
1616 DLLTOOL
="$(DLLTOOL)"; export DLLTOOL
; \
1617 LD
="$(LD)"; export LD
; \
1618 NM
="$(NM)"; export NM
; \
1619 RANLIB
="$(RANLIB)"; export RANLIB
; \
1620 WINDRES
="$(WINDRES)"; export WINDRES
; \
1621 OBJCOPY
="$(OBJCOPY)"; export OBJCOPY
; \
1622 OBJDUMP
="$(OBJDUMP)"; export OBJDUMP
; \
1624 echo Configuring in bfd
; \
1628 srcdiroption
="--srcdir=."; \
1630 /* |
[A-Za-z
]:[\\/]*) \
1631 srcdiroption
="--srcdir=$(srcdir)/bfd"; \
1632 libsrcdir
="$$s/bfd";; \
1634 srcdiroption
="--srcdir=../$(srcdir)/bfd"; \
1635 libsrcdir
="$$s/bfd";; \
1637 $(SHELL
) $${libsrcdir}/configure \
1638 $(HOST_CONFIGARGS
) $${srcdiroption} \
1641 .PHONY
: all-bfd maybe-all-bfd
1643 all-bfd
: configure-bfd
1644 @r
=`${PWD}`; export r
; \
1645 s
=`cd $(srcdir); ${PWD}`; export s
; \
1647 (cd bfd
&& $(MAKE
) $(FLAGS_TO_PASS
) all)
1652 @r
=`${PWD}`; export r
; \
1653 s
=`cd $(srcdir); ${PWD}`; export s
; \
1655 (cd bfd
&& $(MAKE
) $(FLAGS_TO_PASS
) check)
1659 .PHONY
: install-bfd maybe-install-bfd
1661 install-bfd
: installdirs
1662 @r
=`${PWD}`; export r
; \
1663 s
=`cd $(srcdir); ${PWD}`; export s
; \
1665 (cd bfd
&& $(MAKE
) $(FLAGS_TO_PASS
) install)
1668 .PHONY
: configure-opcodes maybe-configure-opcodes
1669 maybe-configure-opcodes
:
1671 @
test ! -f opcodes
/Makefile || exit
0; \
1672 [ -d opcodes
] || mkdir opcodes
; \
1673 r
=`${PWD}`; export r
; \
1674 s
=`cd $(srcdir); ${PWD}`; export s
; \
1675 CC
="$(CC)"; export CC
; \
1676 CFLAGS
="$(CFLAGS)"; export CFLAGS
; \
1677 CXX
="$(CXX)"; export CXX
; \
1678 CXXFLAGS
="$(CXXFLAGS)"; export CXXFLAGS
; \
1679 if
[ z
$(build_canonical
) != z
$(host_canoncial
) ] ; then \
1680 AR
="$(AR)"; export AR
; \
1681 AS
="$(AS)"; export AS
; \
1682 CC_FOR_BUILD
="$(CC_FOR_BUILD)"; export CC_FOR_BUILD
; \
1683 DLLTOOL
="$(DLLTOOL)"; export DLLTOOL
; \
1684 LD
="$(LD)"; export LD
; \
1685 NM
="$(NM)"; export NM
; \
1686 RANLIB
="$(RANLIB)"; export RANLIB
; \
1687 WINDRES
="$(WINDRES)"; export WINDRES
; \
1688 OBJCOPY
="$(OBJCOPY)"; export OBJCOPY
; \
1689 OBJDUMP
="$(OBJDUMP)"; export OBJDUMP
; \
1691 echo Configuring in opcodes
; \
1692 cd opcodes || exit
1; \
1695 srcdiroption
="--srcdir=."; \
1697 /* |
[A-Za-z
]:[\\/]*) \
1698 srcdiroption
="--srcdir=$(srcdir)/opcodes"; \
1699 libsrcdir
="$$s/opcodes";; \
1701 srcdiroption
="--srcdir=../$(srcdir)/opcodes"; \
1702 libsrcdir
="$$s/opcodes";; \
1704 $(SHELL
) $${libsrcdir}/configure \
1705 $(HOST_CONFIGARGS
) $${srcdiroption} \
1708 .PHONY
: all-opcodes maybe-all-opcodes
1710 all-opcodes
: configure-opcodes
1711 @r
=`${PWD}`; export r
; \
1712 s
=`cd $(srcdir); ${PWD}`; export s
; \
1714 (cd opcodes
&& $(MAKE
) $(FLAGS_TO_PASS
) all)
1717 .PHONY
: check-opcodes
1719 @r
=`${PWD}`; export r
; \
1720 s
=`cd $(srcdir); ${PWD}`; export s
; \
1722 (cd opcodes
&& $(MAKE
) $(FLAGS_TO_PASS
) check)
1726 .PHONY
: install-opcodes maybe-install-opcodes
1727 maybe-install-opcodes
:
1728 install-opcodes
: installdirs
1729 @r
=`${PWD}`; export r
; \
1730 s
=`cd $(srcdir); ${PWD}`; export s
; \
1732 (cd opcodes
&& $(MAKE
) $(FLAGS_TO_PASS
) install)
1735 .PHONY
: configure-binutils maybe-configure-binutils
1736 maybe-configure-binutils
:
1738 @
test ! -f binutils
/Makefile || exit
0; \
1739 [ -d binutils
] || mkdir binutils
; \
1740 r
=`${PWD}`; export r
; \
1741 s
=`cd $(srcdir); ${PWD}`; export s
; \
1742 CC
="$(CC)"; export CC
; \
1743 CFLAGS
="$(CFLAGS)"; export CFLAGS
; \
1744 CXX
="$(CXX)"; export CXX
; \
1745 CXXFLAGS
="$(CXXFLAGS)"; export CXXFLAGS
; \
1746 if
[ z
$(build_canonical
) != z
$(host_canoncial
) ] ; then \
1747 AR
="$(AR)"; export AR
; \
1748 AS
="$(AS)"; export AS
; \
1749 CC_FOR_BUILD
="$(CC_FOR_BUILD)"; export CC_FOR_BUILD
; \
1750 DLLTOOL
="$(DLLTOOL)"; export DLLTOOL
; \
1751 LD
="$(LD)"; export LD
; \
1752 NM
="$(NM)"; export NM
; \
1753 RANLIB
="$(RANLIB)"; export RANLIB
; \
1754 WINDRES
="$(WINDRES)"; export WINDRES
; \
1755 OBJCOPY
="$(OBJCOPY)"; export OBJCOPY
; \
1756 OBJDUMP
="$(OBJDUMP)"; export OBJDUMP
; \
1758 echo Configuring in binutils
; \
1759 cd binutils || exit
1; \
1762 srcdiroption
="--srcdir=."; \
1764 /* |
[A-Za-z
]:[\\/]*) \
1765 srcdiroption
="--srcdir=$(srcdir)/binutils"; \
1766 libsrcdir
="$$s/binutils";; \
1768 srcdiroption
="--srcdir=../$(srcdir)/binutils"; \
1769 libsrcdir
="$$s/binutils";; \
1771 $(SHELL
) $${libsrcdir}/configure \
1772 $(HOST_CONFIGARGS
) $${srcdiroption} \
1775 .PHONY
: all-binutils maybe-all-binutils
1777 all-binutils
: configure-binutils
1778 @r
=`${PWD}`; export r
; \
1779 s
=`cd $(srcdir); ${PWD}`; export s
; \
1781 (cd binutils
&& $(MAKE
) $(FLAGS_TO_PASS
) all)
1784 .PHONY
: check-binutils
1786 @r
=`${PWD}`; export r
; \
1787 s
=`cd $(srcdir); ${PWD}`; export s
; \
1789 (cd binutils
&& $(MAKE
) $(FLAGS_TO_PASS
) check)
1793 .PHONY
: install-binutils maybe-install-binutils
1794 maybe-install-binutils
:
1795 install-binutils
: installdirs
1796 @r
=`${PWD}`; export r
; \
1797 s
=`cd $(srcdir); ${PWD}`; export s
; \
1799 (cd binutils
&& $(MAKE
) $(FLAGS_TO_PASS
) install)
1802 .PHONY
: configure-bison maybe-configure-bison
1803 maybe-configure-bison
:
1805 @
test ! -f bison
/Makefile || exit
0; \
1806 [ -d bison
] || mkdir bison
; \
1807 r
=`${PWD}`; export r
; \
1808 s
=`cd $(srcdir); ${PWD}`; export s
; \
1809 CC
="$(CC)"; export CC
; \
1810 CFLAGS
="$(CFLAGS)"; export CFLAGS
; \
1811 CXX
="$(CXX)"; export CXX
; \
1812 CXXFLAGS
="$(CXXFLAGS)"; export CXXFLAGS
; \
1813 if
[ z
$(build_canonical
) != z
$(host_canoncial
) ] ; then \
1814 AR
="$(AR)"; export AR
; \
1815 AS
="$(AS)"; export AS
; \
1816 CC_FOR_BUILD
="$(CC_FOR_BUILD)"; export CC_FOR_BUILD
; \
1817 DLLTOOL
="$(DLLTOOL)"; export DLLTOOL
; \
1818 LD
="$(LD)"; export LD
; \
1819 NM
="$(NM)"; export NM
; \
1820 RANLIB
="$(RANLIB)"; export RANLIB
; \
1821 WINDRES
="$(WINDRES)"; export WINDRES
; \
1822 OBJCOPY
="$(OBJCOPY)"; export OBJCOPY
; \
1823 OBJDUMP
="$(OBJDUMP)"; export OBJDUMP
; \
1825 echo Configuring in bison
; \
1826 cd bison || exit
1; \
1829 srcdiroption
="--srcdir=."; \
1831 /* |
[A-Za-z
]:[\\/]*) \
1832 srcdiroption
="--srcdir=$(srcdir)/bison"; \
1833 libsrcdir
="$$s/bison";; \
1835 srcdiroption
="--srcdir=../$(srcdir)/bison"; \
1836 libsrcdir
="$$s/bison";; \
1838 $(SHELL
) $${libsrcdir}/configure \
1839 $(HOST_CONFIGARGS
) $${srcdiroption} \
1842 .PHONY
: all-bison maybe-all-bison
1844 all-bison
: configure-bison
1845 @r
=`${PWD}`; export r
; \
1846 s
=`cd $(srcdir); ${PWD}`; export s
; \
1848 (cd bison
&& $(MAKE
) $(FLAGS_TO_PASS
) all)
1852 # This module is only tested in a native toolchain.
1854 @if
[ '$(host_canonical)' = '$(target_canonical)' ] ; then \
1855 r
=`${PWD}`; export r
; \
1856 s
=`cd $(srcdir); ${PWD}`; export s
; \
1858 (cd bison
&& $(MAKE
) $(FLAGS_TO_PASS
) check); \
1863 .PHONY
: install-bison maybe-install-bison
1864 maybe-install-bison
:
1865 install-bison
: installdirs
1866 @r
=`${PWD}`; export r
; \
1867 s
=`cd $(srcdir); ${PWD}`; export s
; \
1869 (cd bison
&& $(MAKE
) $(FLAGS_TO_PASS
) install)
1872 .PHONY
: configure-byacc maybe-configure-byacc
1873 maybe-configure-byacc
:
1875 @
test ! -f byacc
/Makefile || exit
0; \
1876 [ -d byacc
] || mkdir byacc
; \
1877 r
=`${PWD}`; export r
; \
1878 s
=`cd $(srcdir); ${PWD}`; export s
; \
1879 CC
="$(CC)"; export CC
; \
1880 CFLAGS
="$(CFLAGS)"; export CFLAGS
; \
1881 CXX
="$(CXX)"; export CXX
; \
1882 CXXFLAGS
="$(CXXFLAGS)"; export CXXFLAGS
; \
1883 if
[ z
$(build_canonical
) != z
$(host_canoncial
) ] ; then \
1884 AR
="$(AR)"; export AR
; \
1885 AS
="$(AS)"; export AS
; \
1886 CC_FOR_BUILD
="$(CC_FOR_BUILD)"; export CC_FOR_BUILD
; \
1887 DLLTOOL
="$(DLLTOOL)"; export DLLTOOL
; \
1888 LD
="$(LD)"; export LD
; \
1889 NM
="$(NM)"; export NM
; \
1890 RANLIB
="$(RANLIB)"; export RANLIB
; \
1891 WINDRES
="$(WINDRES)"; export WINDRES
; \
1892 OBJCOPY
="$(OBJCOPY)"; export OBJCOPY
; \
1893 OBJDUMP
="$(OBJDUMP)"; export OBJDUMP
; \
1895 echo Configuring in byacc
; \
1896 cd byacc || exit
1; \
1899 srcdiroption
="--srcdir=."; \
1901 /* |
[A-Za-z
]:[\\/]*) \
1902 srcdiroption
="--srcdir=$(srcdir)/byacc"; \
1903 libsrcdir
="$$s/byacc";; \
1905 srcdiroption
="--srcdir=../$(srcdir)/byacc"; \
1906 libsrcdir
="$$s/byacc";; \
1908 $(SHELL
) $${libsrcdir}/configure \
1909 $(HOST_CONFIGARGS
) $${srcdiroption} \
1912 .PHONY
: all-byacc maybe-all-byacc
1914 all-byacc
: configure-byacc
1915 @r
=`${PWD}`; export r
; \
1916 s
=`cd $(srcdir); ${PWD}`; export s
; \
1918 (cd byacc
&& $(MAKE
) $(FLAGS_TO_PASS
) all)
1922 # This module is only tested in a native toolchain.
1924 @if
[ '$(host_canonical)' = '$(target_canonical)' ] ; then \
1925 r
=`${PWD}`; export r
; \
1926 s
=`cd $(srcdir); ${PWD}`; export s
; \
1928 (cd byacc
&& $(MAKE
) $(FLAGS_TO_PASS
) check); \
1933 .PHONY
: install-byacc maybe-install-byacc
1934 maybe-install-byacc
:
1935 install-byacc
: installdirs
1936 @r
=`${PWD}`; export r
; \
1937 s
=`cd $(srcdir); ${PWD}`; export s
; \
1939 (cd byacc
&& $(MAKE
) $(FLAGS_TO_PASS
) install)
1942 .PHONY
: configure-bzip2 maybe-configure-bzip2
1943 maybe-configure-bzip2
:
1945 @
test ! -f bzip2
/Makefile || exit
0; \
1946 [ -d bzip2
] || mkdir bzip2
; \
1947 r
=`${PWD}`; export r
; \
1948 s
=`cd $(srcdir); ${PWD}`; export s
; \
1949 CC
="$(CC)"; export CC
; \
1950 CFLAGS
="$(CFLAGS)"; export CFLAGS
; \
1951 CXX
="$(CXX)"; export CXX
; \
1952 CXXFLAGS
="$(CXXFLAGS)"; export CXXFLAGS
; \
1953 if
[ z
$(build_canonical
) != z
$(host_canoncial
) ] ; then \
1954 AR
="$(AR)"; export AR
; \
1955 AS
="$(AS)"; export AS
; \
1956 CC_FOR_BUILD
="$(CC_FOR_BUILD)"; export CC_FOR_BUILD
; \
1957 DLLTOOL
="$(DLLTOOL)"; export DLLTOOL
; \
1958 LD
="$(LD)"; export LD
; \
1959 NM
="$(NM)"; export NM
; \
1960 RANLIB
="$(RANLIB)"; export RANLIB
; \
1961 WINDRES
="$(WINDRES)"; export WINDRES
; \
1962 OBJCOPY
="$(OBJCOPY)"; export OBJCOPY
; \
1963 OBJDUMP
="$(OBJDUMP)"; export OBJDUMP
; \
1965 echo Configuring in bzip2
; \
1966 cd bzip2 || exit
1; \
1969 srcdiroption
="--srcdir=."; \
1971 /* |
[A-Za-z
]:[\\/]*) \
1972 srcdiroption
="--srcdir=$(srcdir)/bzip2"; \
1973 libsrcdir
="$$s/bzip2";; \
1975 srcdiroption
="--srcdir=../$(srcdir)/bzip2"; \
1976 libsrcdir
="$$s/bzip2";; \
1978 $(SHELL
) $${libsrcdir}/configure \
1979 $(HOST_CONFIGARGS
) $${srcdiroption} \
1982 .PHONY
: all-bzip2 maybe-all-bzip2
1984 all-bzip2
: configure-bzip2
1985 @r
=`${PWD}`; export r
; \
1986 s
=`cd $(srcdir); ${PWD}`; export s
; \
1988 (cd bzip2
&& $(MAKE
) $(FLAGS_TO_PASS
) all)
1993 @r
=`${PWD}`; export r
; \
1994 s
=`cd $(srcdir); ${PWD}`; export s
; \
1996 (cd bzip2
&& $(MAKE
) $(FLAGS_TO_PASS
) check)
2000 .PHONY
: install-bzip2 maybe-install-bzip2
2001 maybe-install-bzip2
:
2002 install-bzip2
: installdirs
2003 @r
=`${PWD}`; export r
; \
2004 s
=`cd $(srcdir); ${PWD}`; export s
; \
2006 (cd bzip2
&& $(MAKE
) $(FLAGS_TO_PASS
) install)
2009 .PHONY
: configure-dejagnu maybe-configure-dejagnu
2010 maybe-configure-dejagnu
:
2012 @
test ! -f dejagnu
/Makefile || exit
0; \
2013 [ -d dejagnu
] || mkdir dejagnu
; \
2014 r
=`${PWD}`; export r
; \
2015 s
=`cd $(srcdir); ${PWD}`; export s
; \
2016 CC
="$(CC)"; export CC
; \
2017 CFLAGS
="$(CFLAGS)"; export CFLAGS
; \
2018 CXX
="$(CXX)"; export CXX
; \
2019 CXXFLAGS
="$(CXXFLAGS)"; export CXXFLAGS
; \
2020 if
[ z
$(build_canonical
) != z
$(host_canoncial
) ] ; then \
2021 AR
="$(AR)"; export AR
; \
2022 AS
="$(AS)"; export AS
; \
2023 CC_FOR_BUILD
="$(CC_FOR_BUILD)"; export CC_FOR_BUILD
; \
2024 DLLTOOL
="$(DLLTOOL)"; export DLLTOOL
; \
2025 LD
="$(LD)"; export LD
; \
2026 NM
="$(NM)"; export NM
; \
2027 RANLIB
="$(RANLIB)"; export RANLIB
; \
2028 WINDRES
="$(WINDRES)"; export WINDRES
; \
2029 OBJCOPY
="$(OBJCOPY)"; export OBJCOPY
; \
2030 OBJDUMP
="$(OBJDUMP)"; export OBJDUMP
; \
2032 echo Configuring in dejagnu
; \
2033 cd dejagnu || exit
1; \
2036 srcdiroption
="--srcdir=."; \
2038 /* |
[A-Za-z
]:[\\/]*) \
2039 srcdiroption
="--srcdir=$(srcdir)/dejagnu"; \
2040 libsrcdir
="$$s/dejagnu";; \
2042 srcdiroption
="--srcdir=../$(srcdir)/dejagnu"; \
2043 libsrcdir
="$$s/dejagnu";; \
2045 $(SHELL
) $${libsrcdir}/configure \
2046 $(HOST_CONFIGARGS
) $${srcdiroption} \
2049 .PHONY
: all-dejagnu maybe-all-dejagnu
2051 all-dejagnu
: configure-dejagnu
2052 @r
=`${PWD}`; export r
; \
2053 s
=`cd $(srcdir); ${PWD}`; export s
; \
2055 (cd dejagnu
&& $(MAKE
) $(FLAGS_TO_PASS
) all)
2058 .PHONY
: check-dejagnu
2060 @r
=`${PWD}`; export r
; \
2061 s
=`cd $(srcdir); ${PWD}`; export s
; \
2063 (cd dejagnu
&& $(MAKE
) $(FLAGS_TO_PASS
) check)
2067 .PHONY
: install-dejagnu maybe-install-dejagnu
2068 maybe-install-dejagnu
:
2069 install-dejagnu
: installdirs
2070 @r
=`${PWD}`; export r
; \
2071 s
=`cd $(srcdir); ${PWD}`; export s
; \
2073 (cd dejagnu
&& $(MAKE
) $(FLAGS_TO_PASS
) install)
2076 .PHONY
: configure-diff maybe-configure-diff
2077 maybe-configure-diff
:
2079 @
test ! -f diff
/Makefile || exit
0; \
2080 [ -d diff
] || mkdir diff
; \
2081 r
=`${PWD}`; export r
; \
2082 s
=`cd $(srcdir); ${PWD}`; export s
; \
2083 CC
="$(CC)"; export CC
; \
2084 CFLAGS
="$(CFLAGS)"; export CFLAGS
; \
2085 CXX
="$(CXX)"; export CXX
; \
2086 CXXFLAGS
="$(CXXFLAGS)"; export CXXFLAGS
; \
2087 if
[ z
$(build_canonical
) != z
$(host_canoncial
) ] ; then \
2088 AR
="$(AR)"; export AR
; \
2089 AS
="$(AS)"; export AS
; \
2090 CC_FOR_BUILD
="$(CC_FOR_BUILD)"; export CC_FOR_BUILD
; \
2091 DLLTOOL
="$(DLLTOOL)"; export DLLTOOL
; \
2092 LD
="$(LD)"; export LD
; \
2093 NM
="$(NM)"; export NM
; \
2094 RANLIB
="$(RANLIB)"; export RANLIB
; \
2095 WINDRES
="$(WINDRES)"; export WINDRES
; \
2096 OBJCOPY
="$(OBJCOPY)"; export OBJCOPY
; \
2097 OBJDUMP
="$(OBJDUMP)"; export OBJDUMP
; \
2099 echo Configuring in diff
; \
2100 cd diff || exit
1; \
2103 srcdiroption
="--srcdir=."; \
2105 /* |
[A-Za-z
]:[\\/]*) \
2106 srcdiroption
="--srcdir=$(srcdir)/diff"; \
2107 libsrcdir
="$$s/diff";; \
2109 srcdiroption
="--srcdir=../$(srcdir)/diff"; \
2110 libsrcdir
="$$s/diff";; \
2112 $(SHELL
) $${libsrcdir}/configure \
2113 $(HOST_CONFIGARGS
) $${srcdiroption} \
2116 .PHONY
: all-diff maybe-all-diff
2118 all-diff
: configure-diff
2119 @r
=`${PWD}`; export r
; \
2120 s
=`cd $(srcdir); ${PWD}`; export s
; \
2122 (cd diff
&& $(MAKE
) $(FLAGS_TO_PASS
) all)
2127 @r
=`${PWD}`; export r
; \
2128 s
=`cd $(srcdir); ${PWD}`; export s
; \
2130 (cd diff
&& $(MAKE
) $(FLAGS_TO_PASS
) check)
2134 .PHONY
: install-diff maybe-install-diff
2136 install-diff
: installdirs
2137 @r
=`${PWD}`; export r
; \
2138 s
=`cd $(srcdir); ${PWD}`; export s
; \
2140 (cd diff
&& $(MAKE
) $(FLAGS_TO_PASS
) install)
2143 .PHONY
: configure-dosutils maybe-configure-dosutils
2144 maybe-configure-dosutils
:
2146 @
test ! -f dosutils
/Makefile || exit
0; \
2147 [ -d dosutils
] || mkdir dosutils
; \
2148 r
=`${PWD}`; export r
; \
2149 s
=`cd $(srcdir); ${PWD}`; export s
; \
2150 CC
="$(CC)"; export CC
; \
2151 CFLAGS
="$(CFLAGS)"; export CFLAGS
; \
2152 CXX
="$(CXX)"; export CXX
; \
2153 CXXFLAGS
="$(CXXFLAGS)"; export CXXFLAGS
; \
2154 if
[ z
$(build_canonical
) != z
$(host_canoncial
) ] ; then \
2155 AR
="$(AR)"; export AR
; \
2156 AS
="$(AS)"; export AS
; \
2157 CC_FOR_BUILD
="$(CC_FOR_BUILD)"; export CC_FOR_BUILD
; \
2158 DLLTOOL
="$(DLLTOOL)"; export DLLTOOL
; \
2159 LD
="$(LD)"; export LD
; \
2160 NM
="$(NM)"; export NM
; \
2161 RANLIB
="$(RANLIB)"; export RANLIB
; \
2162 WINDRES
="$(WINDRES)"; export WINDRES
; \
2163 OBJCOPY
="$(OBJCOPY)"; export OBJCOPY
; \
2164 OBJDUMP
="$(OBJDUMP)"; export OBJDUMP
; \
2166 echo Configuring in dosutils
; \
2167 cd dosutils || exit
1; \
2170 srcdiroption
="--srcdir=."; \
2172 /* |
[A-Za-z
]:[\\/]*) \
2173 srcdiroption
="--srcdir=$(srcdir)/dosutils"; \
2174 libsrcdir
="$$s/dosutils";; \
2176 srcdiroption
="--srcdir=../$(srcdir)/dosutils"; \
2177 libsrcdir
="$$s/dosutils";; \
2179 $(SHELL
) $${libsrcdir}/configure \
2180 $(HOST_CONFIGARGS
) $${srcdiroption} \
2183 .PHONY
: all-dosutils maybe-all-dosutils
2185 all-dosutils
: configure-dosutils
2186 @r
=`${PWD}`; export r
; \
2187 s
=`cd $(srcdir); ${PWD}`; export s
; \
2189 (cd dosutils
&& $(MAKE
) $(FLAGS_TO_PASS
) all)
2192 .PHONY
: check-dosutils
2197 .PHONY
: install-dosutils maybe-install-dosutils
2198 maybe-install-dosutils
:
2199 install-dosutils
: installdirs
2200 @r
=`${PWD}`; export r
; \
2201 s
=`cd $(srcdir); ${PWD}`; export s
; \
2203 (cd dosutils
&& $(MAKE
) $(FLAGS_TO_PASS
) install)
2206 .PHONY
: configure-etc maybe-configure-etc
2207 maybe-configure-etc
:
2209 @
test ! -f etc
/Makefile || exit
0; \
2210 [ -d etc
] || mkdir etc
; \
2211 r
=`${PWD}`; export r
; \
2212 s
=`cd $(srcdir); ${PWD}`; export s
; \
2213 CC
="$(CC)"; export CC
; \
2214 CFLAGS
="$(CFLAGS)"; export CFLAGS
; \
2215 CXX
="$(CXX)"; export CXX
; \
2216 CXXFLAGS
="$(CXXFLAGS)"; export CXXFLAGS
; \
2217 if
[ z
$(build_canonical
) != z
$(host_canoncial
) ] ; then \
2218 AR
="$(AR)"; export AR
; \
2219 AS
="$(AS)"; export AS
; \
2220 CC_FOR_BUILD
="$(CC_FOR_BUILD)"; export CC_FOR_BUILD
; \
2221 DLLTOOL
="$(DLLTOOL)"; export DLLTOOL
; \
2222 LD
="$(LD)"; export LD
; \
2223 NM
="$(NM)"; export NM
; \
2224 RANLIB
="$(RANLIB)"; export RANLIB
; \
2225 WINDRES
="$(WINDRES)"; export WINDRES
; \
2226 OBJCOPY
="$(OBJCOPY)"; export OBJCOPY
; \
2227 OBJDUMP
="$(OBJDUMP)"; export OBJDUMP
; \
2229 echo Configuring in etc
; \
2233 srcdiroption
="--srcdir=."; \
2235 /* |
[A-Za-z
]:[\\/]*) \
2236 srcdiroption
="--srcdir=$(srcdir)/etc"; \
2237 libsrcdir
="$$s/etc";; \
2239 srcdiroption
="--srcdir=../$(srcdir)/etc"; \
2240 libsrcdir
="$$s/etc";; \
2242 $(SHELL
) $${libsrcdir}/configure \
2243 $(HOST_CONFIGARGS
) $${srcdiroption} \
2246 .PHONY
: all-etc maybe-all-etc
2248 all-etc
: configure-etc
2249 @r
=`${PWD}`; export r
; \
2250 s
=`cd $(srcdir); ${PWD}`; export s
; \
2252 (cd etc
&& $(MAKE
) $(FLAGS_TO_PASS
) all)
2257 @r
=`${PWD}`; export r
; \
2258 s
=`cd $(srcdir); ${PWD}`; export s
; \
2260 (cd etc
&& $(MAKE
) $(FLAGS_TO_PASS
) check)
2264 .PHONY
: install-etc maybe-install-etc
2266 install-etc
: installdirs
2267 @r
=`${PWD}`; export r
; \
2268 s
=`cd $(srcdir); ${PWD}`; export s
; \
2270 (cd etc
&& $(MAKE
) $(FLAGS_TO_PASS
) install)
2273 .PHONY
: configure-fastjar maybe-configure-fastjar
2274 maybe-configure-fastjar
:
2276 @
test ! -f fastjar
/Makefile || exit
0; \
2277 [ -d fastjar
] || mkdir fastjar
; \
2278 r
=`${PWD}`; export r
; \
2279 s
=`cd $(srcdir); ${PWD}`; export s
; \
2280 CC
="$(CC)"; export CC
; \
2281 CFLAGS
="$(CFLAGS)"; export CFLAGS
; \
2282 CXX
="$(CXX)"; export CXX
; \
2283 CXXFLAGS
="$(CXXFLAGS)"; export CXXFLAGS
; \
2284 if
[ z
$(build_canonical
) != z
$(host_canoncial
) ] ; then \
2285 AR
="$(AR)"; export AR
; \
2286 AS
="$(AS)"; export AS
; \
2287 CC_FOR_BUILD
="$(CC_FOR_BUILD)"; export CC_FOR_BUILD
; \
2288 DLLTOOL
="$(DLLTOOL)"; export DLLTOOL
; \
2289 LD
="$(LD)"; export LD
; \
2290 NM
="$(NM)"; export NM
; \
2291 RANLIB
="$(RANLIB)"; export RANLIB
; \
2292 WINDRES
="$(WINDRES)"; export WINDRES
; \
2293 OBJCOPY
="$(OBJCOPY)"; export OBJCOPY
; \
2294 OBJDUMP
="$(OBJDUMP)"; export OBJDUMP
; \
2296 echo Configuring in fastjar
; \
2297 cd fastjar || exit
1; \
2300 srcdiroption
="--srcdir=."; \
2302 /* |
[A-Za-z
]:[\\/]*) \
2303 srcdiroption
="--srcdir=$(srcdir)/fastjar"; \
2304 libsrcdir
="$$s/fastjar";; \
2306 srcdiroption
="--srcdir=../$(srcdir)/fastjar"; \
2307 libsrcdir
="$$s/fastjar";; \
2309 $(SHELL
) $${libsrcdir}/configure \
2310 $(HOST_CONFIGARGS
) $${srcdiroption} \
2313 .PHONY
: all-fastjar maybe-all-fastjar
2315 all-fastjar
: configure-fastjar
2316 @r
=`${PWD}`; export r
; \
2317 s
=`cd $(srcdir); ${PWD}`; export s
; \
2319 (cd fastjar
&& $(MAKE
) $(FLAGS_TO_PASS
) all)
2322 .PHONY
: check-fastjar
2323 # This module is only tested in a native toolchain.
2325 @if
[ '$(host_canonical)' = '$(target_canonical)' ] ; then \
2326 r
=`${PWD}`; export r
; \
2327 s
=`cd $(srcdir); ${PWD}`; export s
; \
2329 (cd fastjar
&& $(MAKE
) $(FLAGS_TO_PASS
) check); \
2334 .PHONY
: install-fastjar maybe-install-fastjar
2335 maybe-install-fastjar
:
2336 install-fastjar
: installdirs
2337 @r
=`${PWD}`; export r
; \
2338 s
=`cd $(srcdir); ${PWD}`; export s
; \
2340 (cd fastjar
&& $(MAKE
) $(FLAGS_TO_PASS
) install)
2343 .PHONY
: configure-fileutils maybe-configure-fileutils
2344 maybe-configure-fileutils
:
2345 configure-fileutils
:
2346 @
test ! -f fileutils
/Makefile || exit
0; \
2347 [ -d fileutils
] || mkdir fileutils
; \
2348 r
=`${PWD}`; export r
; \
2349 s
=`cd $(srcdir); ${PWD}`; export s
; \
2350 CC
="$(CC)"; export CC
; \
2351 CFLAGS
="$(CFLAGS)"; export CFLAGS
; \
2352 CXX
="$(CXX)"; export CXX
; \
2353 CXXFLAGS
="$(CXXFLAGS)"; export CXXFLAGS
; \
2354 if
[ z
$(build_canonical
) != z
$(host_canoncial
) ] ; then \
2355 AR
="$(AR)"; export AR
; \
2356 AS
="$(AS)"; export AS
; \
2357 CC_FOR_BUILD
="$(CC_FOR_BUILD)"; export CC_FOR_BUILD
; \
2358 DLLTOOL
="$(DLLTOOL)"; export DLLTOOL
; \
2359 LD
="$(LD)"; export LD
; \
2360 NM
="$(NM)"; export NM
; \
2361 RANLIB
="$(RANLIB)"; export RANLIB
; \
2362 WINDRES
="$(WINDRES)"; export WINDRES
; \
2363 OBJCOPY
="$(OBJCOPY)"; export OBJCOPY
; \
2364 OBJDUMP
="$(OBJDUMP)"; export OBJDUMP
; \
2366 echo Configuring in fileutils
; \
2367 cd fileutils || exit
1; \
2370 srcdiroption
="--srcdir=."; \
2372 /* |
[A-Za-z
]:[\\/]*) \
2373 srcdiroption
="--srcdir=$(srcdir)/fileutils"; \
2374 libsrcdir
="$$s/fileutils";; \
2376 srcdiroption
="--srcdir=../$(srcdir)/fileutils"; \
2377 libsrcdir
="$$s/fileutils";; \
2379 $(SHELL
) $${libsrcdir}/configure \
2380 $(HOST_CONFIGARGS
) $${srcdiroption} \
2383 .PHONY
: all-fileutils maybe-all-fileutils
2384 maybe-all-fileutils
:
2385 all-fileutils
: configure-fileutils
2386 @r
=`${PWD}`; export r
; \
2387 s
=`cd $(srcdir); ${PWD}`; export s
; \
2389 (cd fileutils
&& $(MAKE
) $(FLAGS_TO_PASS
) all)
2392 .PHONY
: check-fileutils
2394 @r
=`${PWD}`; export r
; \
2395 s
=`cd $(srcdir); ${PWD}`; export s
; \
2397 (cd fileutils
&& $(MAKE
) $(FLAGS_TO_PASS
) check)
2401 .PHONY
: install-fileutils maybe-install-fileutils
2402 maybe-install-fileutils
:
2403 install-fileutils
: installdirs
2404 @r
=`${PWD}`; export r
; \
2405 s
=`cd $(srcdir); ${PWD}`; export s
; \
2407 (cd fileutils
&& $(MAKE
) $(FLAGS_TO_PASS
) install)
2410 .PHONY
: configure-findutils maybe-configure-findutils
2411 maybe-configure-findutils
:
2412 configure-findutils
:
2413 @
test ! -f findutils
/Makefile || exit
0; \
2414 [ -d findutils
] || mkdir findutils
; \
2415 r
=`${PWD}`; export r
; \
2416 s
=`cd $(srcdir); ${PWD}`; export s
; \
2417 CC
="$(CC)"; export CC
; \
2418 CFLAGS
="$(CFLAGS)"; export CFLAGS
; \
2419 CXX
="$(CXX)"; export CXX
; \
2420 CXXFLAGS
="$(CXXFLAGS)"; export CXXFLAGS
; \
2421 if
[ z
$(build_canonical
) != z
$(host_canoncial
) ] ; then \
2422 AR
="$(AR)"; export AR
; \
2423 AS
="$(AS)"; export AS
; \
2424 CC_FOR_BUILD
="$(CC_FOR_BUILD)"; export CC_FOR_BUILD
; \
2425 DLLTOOL
="$(DLLTOOL)"; export DLLTOOL
; \
2426 LD
="$(LD)"; export LD
; \
2427 NM
="$(NM)"; export NM
; \
2428 RANLIB
="$(RANLIB)"; export RANLIB
; \
2429 WINDRES
="$(WINDRES)"; export WINDRES
; \
2430 OBJCOPY
="$(OBJCOPY)"; export OBJCOPY
; \
2431 OBJDUMP
="$(OBJDUMP)"; export OBJDUMP
; \
2433 echo Configuring in findutils
; \
2434 cd findutils || exit
1; \
2437 srcdiroption
="--srcdir=."; \
2439 /* |
[A-Za-z
]:[\\/]*) \
2440 srcdiroption
="--srcdir=$(srcdir)/findutils"; \
2441 libsrcdir
="$$s/findutils";; \
2443 srcdiroption
="--srcdir=../$(srcdir)/findutils"; \
2444 libsrcdir
="$$s/findutils";; \
2446 $(SHELL
) $${libsrcdir}/configure \
2447 $(HOST_CONFIGARGS
) $${srcdiroption} \
2450 .PHONY
: all-findutils maybe-all-findutils
2451 maybe-all-findutils
:
2452 all-findutils
: configure-findutils
2453 @r
=`${PWD}`; export r
; \
2454 s
=`cd $(srcdir); ${PWD}`; export s
; \
2456 (cd findutils
&& $(MAKE
) $(FLAGS_TO_PASS
) all)
2459 .PHONY
: check-findutils
2461 @r
=`${PWD}`; export r
; \
2462 s
=`cd $(srcdir); ${PWD}`; export s
; \
2464 (cd findutils
&& $(MAKE
) $(FLAGS_TO_PASS
) check)
2468 .PHONY
: install-findutils maybe-install-findutils
2469 maybe-install-findutils
:
2470 install-findutils
: installdirs
2471 @r
=`${PWD}`; export r
; \
2472 s
=`cd $(srcdir); ${PWD}`; export s
; \
2474 (cd findutils
&& $(MAKE
) $(FLAGS_TO_PASS
) install)
2477 .PHONY
: configure-find maybe-configure-find
2478 maybe-configure-find
:
2480 @
test ! -f find
/Makefile || exit
0; \
2481 [ -d find
] || mkdir find
; \
2482 r
=`${PWD}`; export r
; \
2483 s
=`cd $(srcdir); ${PWD}`; export s
; \
2484 CC
="$(CC)"; export CC
; \
2485 CFLAGS
="$(CFLAGS)"; export CFLAGS
; \
2486 CXX
="$(CXX)"; export CXX
; \
2487 CXXFLAGS
="$(CXXFLAGS)"; export CXXFLAGS
; \
2488 if
[ z
$(build_canonical
) != z
$(host_canoncial
) ] ; then \
2489 AR
="$(AR)"; export AR
; \
2490 AS
="$(AS)"; export AS
; \
2491 CC_FOR_BUILD
="$(CC_FOR_BUILD)"; export CC_FOR_BUILD
; \
2492 DLLTOOL
="$(DLLTOOL)"; export DLLTOOL
; \
2493 LD
="$(LD)"; export LD
; \
2494 NM
="$(NM)"; export NM
; \
2495 RANLIB
="$(RANLIB)"; export RANLIB
; \
2496 WINDRES
="$(WINDRES)"; export WINDRES
; \
2497 OBJCOPY
="$(OBJCOPY)"; export OBJCOPY
; \
2498 OBJDUMP
="$(OBJDUMP)"; export OBJDUMP
; \
2500 echo Configuring in find
; \
2501 cd find || exit
1; \
2504 srcdiroption
="--srcdir=."; \
2506 /* |
[A-Za-z
]:[\\/]*) \
2507 srcdiroption
="--srcdir=$(srcdir)/find"; \
2508 libsrcdir
="$$s/find";; \
2510 srcdiroption
="--srcdir=../$(srcdir)/find"; \
2511 libsrcdir
="$$s/find";; \
2513 $(SHELL
) $${libsrcdir}/configure \
2514 $(HOST_CONFIGARGS
) $${srcdiroption} \
2517 .PHONY
: all-find maybe-all-find
2519 all-find
: configure-find
2520 @r
=`${PWD}`; export r
; \
2521 s
=`cd $(srcdir); ${PWD}`; export s
; \
2523 (cd find
&& $(MAKE
) $(FLAGS_TO_PASS
) all)
2528 @r
=`${PWD}`; export r
; \
2529 s
=`cd $(srcdir); ${PWD}`; export s
; \
2531 (cd find
&& $(MAKE
) $(FLAGS_TO_PASS
) check)
2535 .PHONY
: install-find maybe-install-find
2537 install-find
: installdirs
2538 @r
=`${PWD}`; export r
; \
2539 s
=`cd $(srcdir); ${PWD}`; export s
; \
2541 (cd find
&& $(MAKE
) $(FLAGS_TO_PASS
) install)
2544 .PHONY
: configure-flex maybe-configure-flex
2545 maybe-configure-flex
:
2547 @
test ! -f flex
/Makefile || exit
0; \
2548 [ -d flex
] || mkdir flex
; \
2549 r
=`${PWD}`; export r
; \
2550 s
=`cd $(srcdir); ${PWD}`; export s
; \
2551 CC
="$(CC)"; export CC
; \
2552 CFLAGS
="$(CFLAGS)"; export CFLAGS
; \
2553 CXX
="$(CXX)"; export CXX
; \
2554 CXXFLAGS
="$(CXXFLAGS)"; export CXXFLAGS
; \
2555 if
[ z
$(build_canonical
) != z
$(host_canoncial
) ] ; then \
2556 AR
="$(AR)"; export AR
; \
2557 AS
="$(AS)"; export AS
; \
2558 CC_FOR_BUILD
="$(CC_FOR_BUILD)"; export CC_FOR_BUILD
; \
2559 DLLTOOL
="$(DLLTOOL)"; export DLLTOOL
; \
2560 LD
="$(LD)"; export LD
; \
2561 NM
="$(NM)"; export NM
; \
2562 RANLIB
="$(RANLIB)"; export RANLIB
; \
2563 WINDRES
="$(WINDRES)"; export WINDRES
; \
2564 OBJCOPY
="$(OBJCOPY)"; export OBJCOPY
; \
2565 OBJDUMP
="$(OBJDUMP)"; export OBJDUMP
; \
2567 echo Configuring in flex
; \
2568 cd flex || exit
1; \
2571 srcdiroption
="--srcdir=."; \
2573 /* |
[A-Za-z
]:[\\/]*) \
2574 srcdiroption
="--srcdir=$(srcdir)/flex"; \
2575 libsrcdir
="$$s/flex";; \
2577 srcdiroption
="--srcdir=../$(srcdir)/flex"; \
2578 libsrcdir
="$$s/flex";; \
2580 $(SHELL
) $${libsrcdir}/configure \
2581 $(HOST_CONFIGARGS
) $${srcdiroption} \
2584 .PHONY
: all-flex maybe-all-flex
2586 all-flex
: configure-flex
2587 @r
=`${PWD}`; export r
; \
2588 s
=`cd $(srcdir); ${PWD}`; export s
; \
2590 (cd flex
&& $(MAKE
) $(FLAGS_TO_PASS
) all)
2594 # This module is only tested in a native toolchain.
2596 @if
[ '$(host_canonical)' = '$(target_canonical)' ] ; then \
2597 r
=`${PWD}`; export r
; \
2598 s
=`cd $(srcdir); ${PWD}`; export s
; \
2600 (cd flex
&& $(MAKE
) $(FLAGS_TO_PASS
) check); \
2605 .PHONY
: install-flex maybe-install-flex
2607 install-flex
: installdirs
2608 @r
=`${PWD}`; export r
; \
2609 s
=`cd $(srcdir); ${PWD}`; export s
; \
2611 (cd flex
&& $(MAKE
) $(FLAGS_TO_PASS
) install)
2614 .PHONY
: configure-gas maybe-configure-gas
2615 maybe-configure-gas
:
2617 @
test ! -f gas
/Makefile || exit
0; \
2618 [ -d gas
] || mkdir gas
; \
2619 r
=`${PWD}`; export r
; \
2620 s
=`cd $(srcdir); ${PWD}`; export s
; \
2621 CC
="$(CC)"; export CC
; \
2622 CFLAGS
="$(CFLAGS)"; export CFLAGS
; \
2623 CXX
="$(CXX)"; export CXX
; \
2624 CXXFLAGS
="$(CXXFLAGS)"; export CXXFLAGS
; \
2625 if
[ z
$(build_canonical
) != z
$(host_canoncial
) ] ; then \
2626 AR
="$(AR)"; export AR
; \
2627 AS
="$(AS)"; export AS
; \
2628 CC_FOR_BUILD
="$(CC_FOR_BUILD)"; export CC_FOR_BUILD
; \
2629 DLLTOOL
="$(DLLTOOL)"; export DLLTOOL
; \
2630 LD
="$(LD)"; export LD
; \
2631 NM
="$(NM)"; export NM
; \
2632 RANLIB
="$(RANLIB)"; export RANLIB
; \
2633 WINDRES
="$(WINDRES)"; export WINDRES
; \
2634 OBJCOPY
="$(OBJCOPY)"; export OBJCOPY
; \
2635 OBJDUMP
="$(OBJDUMP)"; export OBJDUMP
; \
2637 echo Configuring in gas
; \
2641 srcdiroption
="--srcdir=."; \
2643 /* |
[A-Za-z
]:[\\/]*) \
2644 srcdiroption
="--srcdir=$(srcdir)/gas"; \
2645 libsrcdir
="$$s/gas";; \
2647 srcdiroption
="--srcdir=../$(srcdir)/gas"; \
2648 libsrcdir
="$$s/gas";; \
2650 $(SHELL
) $${libsrcdir}/configure \
2651 $(HOST_CONFIGARGS
) $${srcdiroption} \
2654 .PHONY
: all-gas maybe-all-gas
2656 all-gas
: configure-gas
2657 @r
=`${PWD}`; export r
; \
2658 s
=`cd $(srcdir); ${PWD}`; export s
; \
2660 (cd gas
&& $(MAKE
) $(FLAGS_TO_PASS
) all)
2665 @r
=`${PWD}`; export r
; \
2666 s
=`cd $(srcdir); ${PWD}`; export s
; \
2668 (cd gas
&& $(MAKE
) $(FLAGS_TO_PASS
) check)
2672 .PHONY
: install-gas maybe-install-gas
2674 install-gas
: installdirs
2675 @r
=`${PWD}`; export r
; \
2676 s
=`cd $(srcdir); ${PWD}`; export s
; \
2678 (cd gas
&& $(MAKE
) $(FLAGS_TO_PASS
) install)
2681 .PHONY
: configure-gawk maybe-configure-gawk
2682 maybe-configure-gawk
:
2684 @
test ! -f gawk
/Makefile || exit
0; \
2685 [ -d gawk
] || mkdir gawk
; \
2686 r
=`${PWD}`; export r
; \
2687 s
=`cd $(srcdir); ${PWD}`; export s
; \
2688 CC
="$(CC)"; export CC
; \
2689 CFLAGS
="$(CFLAGS)"; export CFLAGS
; \
2690 CXX
="$(CXX)"; export CXX
; \
2691 CXXFLAGS
="$(CXXFLAGS)"; export CXXFLAGS
; \
2692 if
[ z
$(build_canonical
) != z
$(host_canoncial
) ] ; then \
2693 AR
="$(AR)"; export AR
; \
2694 AS
="$(AS)"; export AS
; \
2695 CC_FOR_BUILD
="$(CC_FOR_BUILD)"; export CC_FOR_BUILD
; \
2696 DLLTOOL
="$(DLLTOOL)"; export DLLTOOL
; \
2697 LD
="$(LD)"; export LD
; \
2698 NM
="$(NM)"; export NM
; \
2699 RANLIB
="$(RANLIB)"; export RANLIB
; \
2700 WINDRES
="$(WINDRES)"; export WINDRES
; \
2701 OBJCOPY
="$(OBJCOPY)"; export OBJCOPY
; \
2702 OBJDUMP
="$(OBJDUMP)"; export OBJDUMP
; \
2704 echo Configuring in gawk
; \
2705 cd gawk || exit
1; \
2708 srcdiroption
="--srcdir=."; \
2710 /* |
[A-Za-z
]:[\\/]*) \
2711 srcdiroption
="--srcdir=$(srcdir)/gawk"; \
2712 libsrcdir
="$$s/gawk";; \
2714 srcdiroption
="--srcdir=../$(srcdir)/gawk"; \
2715 libsrcdir
="$$s/gawk";; \
2717 $(SHELL
) $${libsrcdir}/configure \
2718 $(HOST_CONFIGARGS
) $${srcdiroption} \
2721 .PHONY
: all-gawk maybe-all-gawk
2723 all-gawk
: configure-gawk
2724 @r
=`${PWD}`; export r
; \
2725 s
=`cd $(srcdir); ${PWD}`; export s
; \
2727 (cd gawk
&& $(MAKE
) $(FLAGS_TO_PASS
) all)
2732 @r
=`${PWD}`; export r
; \
2733 s
=`cd $(srcdir); ${PWD}`; export s
; \
2735 (cd gawk
&& $(MAKE
) $(FLAGS_TO_PASS
) check)
2739 .PHONY
: install-gawk maybe-install-gawk
2741 install-gawk
: installdirs
2742 @r
=`${PWD}`; export r
; \
2743 s
=`cd $(srcdir); ${PWD}`; export s
; \
2745 (cd gawk
&& $(MAKE
) $(FLAGS_TO_PASS
) install)
2748 .PHONY
: configure-gettext maybe-configure-gettext
2749 maybe-configure-gettext
:
2751 @
test ! -f gettext
/Makefile || exit
0; \
2752 [ -d gettext
] || mkdir gettext
; \
2753 r
=`${PWD}`; export r
; \
2754 s
=`cd $(srcdir); ${PWD}`; export s
; \
2755 CC
="$(CC)"; export CC
; \
2756 CFLAGS
="$(CFLAGS)"; export CFLAGS
; \
2757 CXX
="$(CXX)"; export CXX
; \
2758 CXXFLAGS
="$(CXXFLAGS)"; export CXXFLAGS
; \
2759 if
[ z
$(build_canonical
) != z
$(host_canoncial
) ] ; then \
2760 AR
="$(AR)"; export AR
; \
2761 AS
="$(AS)"; export AS
; \
2762 CC_FOR_BUILD
="$(CC_FOR_BUILD)"; export CC_FOR_BUILD
; \
2763 DLLTOOL
="$(DLLTOOL)"; export DLLTOOL
; \
2764 LD
="$(LD)"; export LD
; \
2765 NM
="$(NM)"; export NM
; \
2766 RANLIB
="$(RANLIB)"; export RANLIB
; \
2767 WINDRES
="$(WINDRES)"; export WINDRES
; \
2768 OBJCOPY
="$(OBJCOPY)"; export OBJCOPY
; \
2769 OBJDUMP
="$(OBJDUMP)"; export OBJDUMP
; \
2771 echo Configuring in gettext
; \
2772 cd gettext || exit
1; \
2775 srcdiroption
="--srcdir=."; \
2777 /* |
[A-Za-z
]:[\\/]*) \
2778 srcdiroption
="--srcdir=$(srcdir)/gettext"; \
2779 libsrcdir
="$$s/gettext";; \
2781 srcdiroption
="--srcdir=../$(srcdir)/gettext"; \
2782 libsrcdir
="$$s/gettext";; \
2784 $(SHELL
) $${libsrcdir}/configure \
2785 $(HOST_CONFIGARGS
) $${srcdiroption} \
2788 .PHONY
: all-gettext maybe-all-gettext
2790 all-gettext
: configure-gettext
2791 @r
=`${PWD}`; export r
; \
2792 s
=`cd $(srcdir); ${PWD}`; export s
; \
2794 (cd gettext
&& $(MAKE
) $(FLAGS_TO_PASS
) all)
2797 .PHONY
: check-gettext
2799 @r
=`${PWD}`; export r
; \
2800 s
=`cd $(srcdir); ${PWD}`; export s
; \
2802 (cd gettext
&& $(MAKE
) $(FLAGS_TO_PASS
) check)
2806 .PHONY
: install-gettext maybe-install-gettext
2807 maybe-install-gettext
:
2808 install-gettext
: installdirs
2809 @r
=`${PWD}`; export r
; \
2810 s
=`cd $(srcdir); ${PWD}`; export s
; \
2812 (cd gettext
&& $(MAKE
) $(FLAGS_TO_PASS
) install)
2815 .PHONY
: configure-gnuserv maybe-configure-gnuserv
2816 maybe-configure-gnuserv
:
2818 @
test ! -f gnuserv
/Makefile || exit
0; \
2819 [ -d gnuserv
] || mkdir gnuserv
; \
2820 r
=`${PWD}`; export r
; \
2821 s
=`cd $(srcdir); ${PWD}`; export s
; \
2822 CC
="$(CC)"; export CC
; \
2823 CFLAGS
="$(CFLAGS)"; export CFLAGS
; \
2824 CXX
="$(CXX)"; export CXX
; \
2825 CXXFLAGS
="$(CXXFLAGS)"; export CXXFLAGS
; \
2826 if
[ z
$(build_canonical
) != z
$(host_canoncial
) ] ; then \
2827 AR
="$(AR)"; export AR
; \
2828 AS
="$(AS)"; export AS
; \
2829 CC_FOR_BUILD
="$(CC_FOR_BUILD)"; export CC_FOR_BUILD
; \
2830 DLLTOOL
="$(DLLTOOL)"; export DLLTOOL
; \
2831 LD
="$(LD)"; export LD
; \
2832 NM
="$(NM)"; export NM
; \
2833 RANLIB
="$(RANLIB)"; export RANLIB
; \
2834 WINDRES
="$(WINDRES)"; export WINDRES
; \
2835 OBJCOPY
="$(OBJCOPY)"; export OBJCOPY
; \
2836 OBJDUMP
="$(OBJDUMP)"; export OBJDUMP
; \
2838 echo Configuring in gnuserv
; \
2839 cd gnuserv || exit
1; \
2842 srcdiroption
="--srcdir=."; \
2844 /* |
[A-Za-z
]:[\\/]*) \
2845 srcdiroption
="--srcdir=$(srcdir)/gnuserv"; \
2846 libsrcdir
="$$s/gnuserv";; \
2848 srcdiroption
="--srcdir=../$(srcdir)/gnuserv"; \
2849 libsrcdir
="$$s/gnuserv";; \
2851 $(SHELL
) $${libsrcdir}/configure \
2852 $(HOST_CONFIGARGS
) $${srcdiroption} \
2855 .PHONY
: all-gnuserv maybe-all-gnuserv
2857 all-gnuserv
: configure-gnuserv
2858 @r
=`${PWD}`; export r
; \
2859 s
=`cd $(srcdir); ${PWD}`; export s
; \
2861 (cd gnuserv
&& $(MAKE
) $(FLAGS_TO_PASS
) all)
2864 .PHONY
: check-gnuserv
2866 @r
=`${PWD}`; export r
; \
2867 s
=`cd $(srcdir); ${PWD}`; export s
; \
2869 (cd gnuserv
&& $(MAKE
) $(FLAGS_TO_PASS
) check)
2873 .PHONY
: install-gnuserv maybe-install-gnuserv
2874 maybe-install-gnuserv
:
2875 install-gnuserv
: installdirs
2876 @r
=`${PWD}`; export r
; \
2877 s
=`cd $(srcdir); ${PWD}`; export s
; \
2879 (cd gnuserv
&& $(MAKE
) $(FLAGS_TO_PASS
) install)
2882 .PHONY
: configure-gprof maybe-configure-gprof
2883 maybe-configure-gprof
:
2885 @
test ! -f gprof
/Makefile || exit
0; \
2886 [ -d gprof
] || mkdir gprof
; \
2887 r
=`${PWD}`; export r
; \
2888 s
=`cd $(srcdir); ${PWD}`; export s
; \
2889 CC
="$(CC)"; export CC
; \
2890 CFLAGS
="$(CFLAGS)"; export CFLAGS
; \
2891 CXX
="$(CXX)"; export CXX
; \
2892 CXXFLAGS
="$(CXXFLAGS)"; export CXXFLAGS
; \
2893 if
[ z
$(build_canonical
) != z
$(host_canoncial
) ] ; then \
2894 AR
="$(AR)"; export AR
; \
2895 AS
="$(AS)"; export AS
; \
2896 CC_FOR_BUILD
="$(CC_FOR_BUILD)"; export CC_FOR_BUILD
; \
2897 DLLTOOL
="$(DLLTOOL)"; export DLLTOOL
; \
2898 LD
="$(LD)"; export LD
; \
2899 NM
="$(NM)"; export NM
; \
2900 RANLIB
="$(RANLIB)"; export RANLIB
; \
2901 WINDRES
="$(WINDRES)"; export WINDRES
; \
2902 OBJCOPY
="$(OBJCOPY)"; export OBJCOPY
; \
2903 OBJDUMP
="$(OBJDUMP)"; export OBJDUMP
; \
2905 echo Configuring in gprof
; \
2906 cd gprof || exit
1; \
2909 srcdiroption
="--srcdir=."; \
2911 /* |
[A-Za-z
]:[\\/]*) \
2912 srcdiroption
="--srcdir=$(srcdir)/gprof"; \
2913 libsrcdir
="$$s/gprof";; \
2915 srcdiroption
="--srcdir=../$(srcdir)/gprof"; \
2916 libsrcdir
="$$s/gprof";; \
2918 $(SHELL
) $${libsrcdir}/configure \
2919 $(HOST_CONFIGARGS
) $${srcdiroption} \
2922 .PHONY
: all-gprof maybe-all-gprof
2924 all-gprof
: configure-gprof
2925 @r
=`${PWD}`; export r
; \
2926 s
=`cd $(srcdir); ${PWD}`; export s
; \
2928 (cd gprof
&& $(MAKE
) $(FLAGS_TO_PASS
) all)
2933 @r
=`${PWD}`; export r
; \
2934 s
=`cd $(srcdir); ${PWD}`; export s
; \
2936 (cd gprof
&& $(MAKE
) $(FLAGS_TO_PASS
) check)
2940 .PHONY
: install-gprof maybe-install-gprof
2941 maybe-install-gprof
:
2942 install-gprof
: installdirs
2943 @r
=`${PWD}`; export r
; \
2944 s
=`cd $(srcdir); ${PWD}`; export s
; \
2946 (cd gprof
&& $(MAKE
) $(FLAGS_TO_PASS
) install)
2949 .PHONY
: configure-gzip maybe-configure-gzip
2950 maybe-configure-gzip
:
2952 @
test ! -f gzip
/Makefile || exit
0; \
2953 [ -d gzip
] || mkdir gzip
; \
2954 r
=`${PWD}`; export r
; \
2955 s
=`cd $(srcdir); ${PWD}`; export s
; \
2956 CC
="$(CC)"; export CC
; \
2957 CFLAGS
="$(CFLAGS)"; export CFLAGS
; \
2958 CXX
="$(CXX)"; export CXX
; \
2959 CXXFLAGS
="$(CXXFLAGS)"; export CXXFLAGS
; \
2960 if
[ z
$(build_canonical
) != z
$(host_canoncial
) ] ; then \
2961 AR
="$(AR)"; export AR
; \
2962 AS
="$(AS)"; export AS
; \
2963 CC_FOR_BUILD
="$(CC_FOR_BUILD)"; export CC_FOR_BUILD
; \
2964 DLLTOOL
="$(DLLTOOL)"; export DLLTOOL
; \
2965 LD
="$(LD)"; export LD
; \
2966 NM
="$(NM)"; export NM
; \
2967 RANLIB
="$(RANLIB)"; export RANLIB
; \
2968 WINDRES
="$(WINDRES)"; export WINDRES
; \
2969 OBJCOPY
="$(OBJCOPY)"; export OBJCOPY
; \
2970 OBJDUMP
="$(OBJDUMP)"; export OBJDUMP
; \
2972 echo Configuring in gzip
; \
2973 cd gzip || exit
1; \
2976 srcdiroption
="--srcdir=."; \
2978 /* |
[A-Za-z
]:[\\/]*) \
2979 srcdiroption
="--srcdir=$(srcdir)/gzip"; \
2980 libsrcdir
="$$s/gzip";; \
2982 srcdiroption
="--srcdir=../$(srcdir)/gzip"; \
2983 libsrcdir
="$$s/gzip";; \
2985 $(SHELL
) $${libsrcdir}/configure \
2986 $(HOST_CONFIGARGS
) $${srcdiroption} \
2989 .PHONY
: all-gzip maybe-all-gzip
2991 all-gzip
: configure-gzip
2992 @r
=`${PWD}`; export r
; \
2993 s
=`cd $(srcdir); ${PWD}`; export s
; \
2995 (cd gzip
&& $(MAKE
) $(FLAGS_TO_PASS
) all)
3000 @r
=`${PWD}`; export r
; \
3001 s
=`cd $(srcdir); ${PWD}`; export s
; \
3003 (cd gzip
&& $(MAKE
) $(FLAGS_TO_PASS
) check)
3007 .PHONY
: install-gzip maybe-install-gzip
3009 install-gzip
: installdirs
3010 @r
=`${PWD}`; export r
; \
3011 s
=`cd $(srcdir); ${PWD}`; export s
; \
3013 (cd gzip
&& $(MAKE
) $(FLAGS_TO_PASS
) install)
3016 .PHONY
: configure-hello maybe-configure-hello
3017 maybe-configure-hello
:
3019 @
test ! -f hello
/Makefile || exit
0; \
3020 [ -d hello
] || mkdir hello
; \
3021 r
=`${PWD}`; export r
; \
3022 s
=`cd $(srcdir); ${PWD}`; export s
; \
3023 CC
="$(CC)"; export CC
; \
3024 CFLAGS
="$(CFLAGS)"; export CFLAGS
; \
3025 CXX
="$(CXX)"; export CXX
; \
3026 CXXFLAGS
="$(CXXFLAGS)"; export CXXFLAGS
; \
3027 if
[ z
$(build_canonical
) != z
$(host_canoncial
) ] ; then \
3028 AR
="$(AR)"; export AR
; \
3029 AS
="$(AS)"; export AS
; \
3030 CC_FOR_BUILD
="$(CC_FOR_BUILD)"; export CC_FOR_BUILD
; \
3031 DLLTOOL
="$(DLLTOOL)"; export DLLTOOL
; \
3032 LD
="$(LD)"; export LD
; \
3033 NM
="$(NM)"; export NM
; \
3034 RANLIB
="$(RANLIB)"; export RANLIB
; \
3035 WINDRES
="$(WINDRES)"; export WINDRES
; \
3036 OBJCOPY
="$(OBJCOPY)"; export OBJCOPY
; \
3037 OBJDUMP
="$(OBJDUMP)"; export OBJDUMP
; \
3039 echo Configuring in hello
; \
3040 cd hello || exit
1; \
3043 srcdiroption
="--srcdir=."; \
3045 /* |
[A-Za-z
]:[\\/]*) \
3046 srcdiroption
="--srcdir=$(srcdir)/hello"; \
3047 libsrcdir
="$$s/hello";; \
3049 srcdiroption
="--srcdir=../$(srcdir)/hello"; \
3050 libsrcdir
="$$s/hello";; \
3052 $(SHELL
) $${libsrcdir}/configure \
3053 $(HOST_CONFIGARGS
) $${srcdiroption} \
3056 .PHONY
: all-hello maybe-all-hello
3058 all-hello
: configure-hello
3059 @r
=`${PWD}`; export r
; \
3060 s
=`cd $(srcdir); ${PWD}`; export s
; \
3062 (cd hello
&& $(MAKE
) $(FLAGS_TO_PASS
) all)
3067 @r
=`${PWD}`; export r
; \
3068 s
=`cd $(srcdir); ${PWD}`; export s
; \
3070 (cd hello
&& $(MAKE
) $(FLAGS_TO_PASS
) check)
3074 .PHONY
: install-hello maybe-install-hello
3075 maybe-install-hello
:
3076 install-hello
: installdirs
3077 @r
=`${PWD}`; export r
; \
3078 s
=`cd $(srcdir); ${PWD}`; export s
; \
3080 (cd hello
&& $(MAKE
) $(FLAGS_TO_PASS
) install)
3083 .PHONY
: configure-indent maybe-configure-indent
3084 maybe-configure-indent
:
3086 @
test ! -f indent
/Makefile || exit
0; \
3087 [ -d indent
] || mkdir indent
; \
3088 r
=`${PWD}`; export r
; \
3089 s
=`cd $(srcdir); ${PWD}`; export s
; \
3090 CC
="$(CC)"; export CC
; \
3091 CFLAGS
="$(CFLAGS)"; export CFLAGS
; \
3092 CXX
="$(CXX)"; export CXX
; \
3093 CXXFLAGS
="$(CXXFLAGS)"; export CXXFLAGS
; \
3094 if
[ z
$(build_canonical
) != z
$(host_canoncial
) ] ; then \
3095 AR
="$(AR)"; export AR
; \
3096 AS
="$(AS)"; export AS
; \
3097 CC_FOR_BUILD
="$(CC_FOR_BUILD)"; export CC_FOR_BUILD
; \
3098 DLLTOOL
="$(DLLTOOL)"; export DLLTOOL
; \
3099 LD
="$(LD)"; export LD
; \
3100 NM
="$(NM)"; export NM
; \
3101 RANLIB
="$(RANLIB)"; export RANLIB
; \
3102 WINDRES
="$(WINDRES)"; export WINDRES
; \
3103 OBJCOPY
="$(OBJCOPY)"; export OBJCOPY
; \
3104 OBJDUMP
="$(OBJDUMP)"; export OBJDUMP
; \
3106 echo Configuring in indent
; \
3107 cd indent || exit
1; \
3110 srcdiroption
="--srcdir=."; \
3112 /* |
[A-Za-z
]:[\\/]*) \
3113 srcdiroption
="--srcdir=$(srcdir)/indent"; \
3114 libsrcdir
="$$s/indent";; \
3116 srcdiroption
="--srcdir=../$(srcdir)/indent"; \
3117 libsrcdir
="$$s/indent";; \
3119 $(SHELL
) $${libsrcdir}/configure \
3120 $(HOST_CONFIGARGS
) $${srcdiroption} \
3123 .PHONY
: all-indent maybe-all-indent
3125 all-indent
: configure-indent
3126 @r
=`${PWD}`; export r
; \
3127 s
=`cd $(srcdir); ${PWD}`; export s
; \
3129 (cd indent
&& $(MAKE
) $(FLAGS_TO_PASS
) all)
3132 .PHONY
: check-indent
3134 @r
=`${PWD}`; export r
; \
3135 s
=`cd $(srcdir); ${PWD}`; export s
; \
3137 (cd indent
&& $(MAKE
) $(FLAGS_TO_PASS
) check)
3141 .PHONY
: install-indent maybe-install-indent
3142 maybe-install-indent
:
3143 install-indent
: installdirs
3144 @r
=`${PWD}`; export r
; \
3145 s
=`cd $(srcdir); ${PWD}`; export s
; \
3147 (cd indent
&& $(MAKE
) $(FLAGS_TO_PASS
) install)
3150 .PHONY
: configure-intl maybe-configure-intl
3151 maybe-configure-intl
:
3153 @
test ! -f intl
/Makefile || exit
0; \
3154 [ -d intl
] || mkdir intl
; \
3155 r
=`${PWD}`; export r
; \
3156 s
=`cd $(srcdir); ${PWD}`; export s
; \
3157 CC
="$(CC)"; export CC
; \
3158 CFLAGS
="$(CFLAGS)"; export CFLAGS
; \
3159 CXX
="$(CXX)"; export CXX
; \
3160 CXXFLAGS
="$(CXXFLAGS)"; export CXXFLAGS
; \
3161 if
[ z
$(build_canonical
) != z
$(host_canoncial
) ] ; then \
3162 AR
="$(AR)"; export AR
; \
3163 AS
="$(AS)"; export AS
; \
3164 CC_FOR_BUILD
="$(CC_FOR_BUILD)"; export CC_FOR_BUILD
; \
3165 DLLTOOL
="$(DLLTOOL)"; export DLLTOOL
; \
3166 LD
="$(LD)"; export LD
; \
3167 NM
="$(NM)"; export NM
; \
3168 RANLIB
="$(RANLIB)"; export RANLIB
; \
3169 WINDRES
="$(WINDRES)"; export WINDRES
; \
3170 OBJCOPY
="$(OBJCOPY)"; export OBJCOPY
; \
3171 OBJDUMP
="$(OBJDUMP)"; export OBJDUMP
; \
3173 echo Configuring in intl
; \
3174 cd intl || exit
1; \
3177 srcdiroption
="--srcdir=."; \
3179 /* |
[A-Za-z
]:[\\/]*) \
3180 srcdiroption
="--srcdir=$(srcdir)/intl"; \
3181 libsrcdir
="$$s/intl";; \
3183 srcdiroption
="--srcdir=../$(srcdir)/intl"; \
3184 libsrcdir
="$$s/intl";; \
3186 $(SHELL
) $${libsrcdir}/configure \
3187 $(HOST_CONFIGARGS
) $${srcdiroption} \
3190 .PHONY
: all-intl maybe-all-intl
3192 all-intl
: configure-intl
3193 @r
=`${PWD}`; export r
; \
3194 s
=`cd $(srcdir); ${PWD}`; export s
; \
3196 (cd intl
&& $(MAKE
) $(FLAGS_TO_PASS
) all)
3201 @r
=`${PWD}`; export r
; \
3202 s
=`cd $(srcdir); ${PWD}`; export s
; \
3204 (cd intl
&& $(MAKE
) $(FLAGS_TO_PASS
) check)
3208 .PHONY
: install-intl maybe-install-intl
3210 install-intl
: installdirs
3211 @r
=`${PWD}`; export r
; \
3212 s
=`cd $(srcdir); ${PWD}`; export s
; \
3214 (cd intl
&& $(MAKE
) $(FLAGS_TO_PASS
) install)
3217 .PHONY
: configure-tcl maybe-configure-tcl
3218 maybe-configure-tcl
:
3220 @
test ! -f tcl
/Makefile || exit
0; \
3221 [ -d tcl
] || mkdir tcl
; \
3222 r
=`${PWD}`; export r
; \
3223 s
=`cd $(srcdir); ${PWD}`; export s
; \
3224 CC
="$(CC)"; export CC
; \
3225 CFLAGS
="$(CFLAGS)"; export CFLAGS
; \
3226 CXX
="$(CXX)"; export CXX
; \
3227 CXXFLAGS
="$(CXXFLAGS)"; export CXXFLAGS
; \
3228 if
[ z
$(build_canonical
) != z
$(host_canoncial
) ] ; then \
3229 AR
="$(AR)"; export AR
; \
3230 AS
="$(AS)"; export AS
; \
3231 CC_FOR_BUILD
="$(CC_FOR_BUILD)"; export CC_FOR_BUILD
; \
3232 DLLTOOL
="$(DLLTOOL)"; export DLLTOOL
; \
3233 LD
="$(LD)"; export LD
; \
3234 NM
="$(NM)"; export NM
; \
3235 RANLIB
="$(RANLIB)"; export RANLIB
; \
3236 WINDRES
="$(WINDRES)"; export WINDRES
; \
3237 OBJCOPY
="$(OBJCOPY)"; export OBJCOPY
; \
3238 OBJDUMP
="$(OBJDUMP)"; export OBJDUMP
; \
3240 echo Configuring in tcl
; \
3244 srcdiroption
="--srcdir=."; \
3246 /* |
[A-Za-z
]:[\\/]*) \
3247 srcdiroption
="--srcdir=$(srcdir)/tcl"; \
3248 libsrcdir
="$$s/tcl";; \
3250 srcdiroption
="--srcdir=../$(srcdir)/tcl"; \
3251 libsrcdir
="$$s/tcl";; \
3253 $(SHELL
) $${libsrcdir}/configure \
3254 $(HOST_CONFIGARGS
) $${srcdiroption} \
3257 .PHONY
: all-tcl maybe-all-tcl
3259 all-tcl
: configure-tcl
3260 @r
=`${PWD}`; export r
; \
3261 s
=`cd $(srcdir); ${PWD}`; export s
; \
3263 (cd tcl
&& $(MAKE
) $(FLAGS_TO_PASS
) all)
3268 @r
=`${PWD}`; export r
; \
3269 s
=`cd $(srcdir); ${PWD}`; export s
; \
3271 (cd tcl
&& $(MAKE
) $(FLAGS_TO_PASS
) check)
3275 .PHONY
: install-tcl maybe-install-tcl
3277 install-tcl
: installdirs
3278 @r
=`${PWD}`; export r
; \
3279 s
=`cd $(srcdir); ${PWD}`; export s
; \
3281 (cd tcl
&& $(MAKE
) $(FLAGS_TO_PASS
) install)
3284 .PHONY
: configure-itcl maybe-configure-itcl
3285 maybe-configure-itcl
:
3287 @
test ! -f itcl
/Makefile || exit
0; \
3288 [ -d itcl
] || mkdir itcl
; \
3289 r
=`${PWD}`; export r
; \
3290 s
=`cd $(srcdir); ${PWD}`; export s
; \
3291 CC
="$(CC)"; export CC
; \
3292 CFLAGS
="$(CFLAGS)"; export CFLAGS
; \
3293 CXX
="$(CXX)"; export CXX
; \
3294 CXXFLAGS
="$(CXXFLAGS)"; export CXXFLAGS
; \
3295 if
[ z
$(build_canonical
) != z
$(host_canoncial
) ] ; then \
3296 AR
="$(AR)"; export AR
; \
3297 AS
="$(AS)"; export AS
; \
3298 CC_FOR_BUILD
="$(CC_FOR_BUILD)"; export CC_FOR_BUILD
; \
3299 DLLTOOL
="$(DLLTOOL)"; export DLLTOOL
; \
3300 LD
="$(LD)"; export LD
; \
3301 NM
="$(NM)"; export NM
; \
3302 RANLIB
="$(RANLIB)"; export RANLIB
; \
3303 WINDRES
="$(WINDRES)"; export WINDRES
; \
3304 OBJCOPY
="$(OBJCOPY)"; export OBJCOPY
; \
3305 OBJDUMP
="$(OBJDUMP)"; export OBJDUMP
; \
3307 echo Configuring in itcl
; \
3308 cd itcl || exit
1; \
3311 srcdiroption
="--srcdir=."; \
3313 /* |
[A-Za-z
]:[\\/]*) \
3314 srcdiroption
="--srcdir=$(srcdir)/itcl"; \
3315 libsrcdir
="$$s/itcl";; \
3317 srcdiroption
="--srcdir=../$(srcdir)/itcl"; \
3318 libsrcdir
="$$s/itcl";; \
3320 $(SHELL
) $${libsrcdir}/configure \
3321 $(HOST_CONFIGARGS
) $${srcdiroption} \
3324 .PHONY
: all-itcl maybe-all-itcl
3326 all-itcl
: configure-itcl
3327 @r
=`${PWD}`; export r
; \
3328 s
=`cd $(srcdir); ${PWD}`; export s
; \
3330 (cd itcl
&& $(MAKE
) $(FLAGS_TO_PASS
) all)
3335 @r
=`${PWD}`; export r
; \
3336 s
=`cd $(srcdir); ${PWD}`; export s
; \
3338 (cd itcl
&& $(MAKE
) $(FLAGS_TO_PASS
) check)
3342 .PHONY
: install-itcl maybe-install-itcl
3344 install-itcl
: installdirs
3345 @r
=`${PWD}`; export r
; \
3346 s
=`cd $(srcdir); ${PWD}`; export s
; \
3348 (cd itcl
&& $(MAKE
) $(FLAGS_TO_PASS
) install)
3351 .PHONY
: configure-ld maybe-configure-ld
3354 @
test ! -f
ld/Makefile || exit
0; \
3355 [ -d
ld ] || mkdir
ld; \
3356 r
=`${PWD}`; export r
; \
3357 s
=`cd $(srcdir); ${PWD}`; export s
; \
3358 CC
="$(CC)"; export CC
; \
3359 CFLAGS
="$(CFLAGS)"; export CFLAGS
; \
3360 CXX
="$(CXX)"; export CXX
; \
3361 CXXFLAGS
="$(CXXFLAGS)"; export CXXFLAGS
; \
3362 if
[ z
$(build_canonical
) != z
$(host_canoncial
) ] ; then \
3363 AR
="$(AR)"; export AR
; \
3364 AS
="$(AS)"; export AS
; \
3365 CC_FOR_BUILD
="$(CC_FOR_BUILD)"; export CC_FOR_BUILD
; \
3366 DLLTOOL
="$(DLLTOOL)"; export DLLTOOL
; \
3367 LD
="$(LD)"; export LD
; \
3368 NM
="$(NM)"; export NM
; \
3369 RANLIB
="$(RANLIB)"; export RANLIB
; \
3370 WINDRES
="$(WINDRES)"; export WINDRES
; \
3371 OBJCOPY
="$(OBJCOPY)"; export OBJCOPY
; \
3372 OBJDUMP
="$(OBJDUMP)"; export OBJDUMP
; \
3374 echo Configuring in
ld; \
3378 srcdiroption
="--srcdir=."; \
3380 /* |
[A-Za-z
]:[\\/]*) \
3381 srcdiroption
="--srcdir=$(srcdir)/ld"; \
3382 libsrcdir
="$$s/ld";; \
3384 srcdiroption
="--srcdir=../$(srcdir)/ld"; \
3385 libsrcdir
="$$s/ld";; \
3387 $(SHELL
) $${libsrcdir}/configure \
3388 $(HOST_CONFIGARGS
) $${srcdiroption} \
3391 .PHONY
: all-ld maybe-all-ld
3393 all-ld
: configure-ld
3394 @r
=`${PWD}`; export r
; \
3395 s
=`cd $(srcdir); ${PWD}`; export s
; \
3397 (cd
ld && $(MAKE
) $(FLAGS_TO_PASS
) all)
3402 @r
=`${PWD}`; export r
; \
3403 s
=`cd $(srcdir); ${PWD}`; export s
; \
3405 (cd
ld && $(MAKE
) $(FLAGS_TO_PASS
) check)
3409 .PHONY
: install-ld maybe-install-ld
3411 install-ld
: installdirs
3412 @r
=`${PWD}`; export r
; \
3413 s
=`cd $(srcdir); ${PWD}`; export s
; \
3415 (cd
ld && $(MAKE
) $(FLAGS_TO_PASS
) install)
3418 .PHONY
: configure-libgui maybe-configure-libgui
3419 maybe-configure-libgui
:
3421 @
test ! -f libgui
/Makefile || exit
0; \
3422 [ -d libgui
] || mkdir libgui
; \
3423 r
=`${PWD}`; export r
; \
3424 s
=`cd $(srcdir); ${PWD}`; export s
; \
3425 CC
="$(CC)"; export CC
; \
3426 CFLAGS
="$(CFLAGS)"; export CFLAGS
; \
3427 CXX
="$(CXX)"; export CXX
; \
3428 CXXFLAGS
="$(CXXFLAGS)"; export CXXFLAGS
; \
3429 if
[ z
$(build_canonical
) != z
$(host_canoncial
) ] ; then \
3430 AR
="$(AR)"; export AR
; \
3431 AS
="$(AS)"; export AS
; \
3432 CC_FOR_BUILD
="$(CC_FOR_BUILD)"; export CC_FOR_BUILD
; \
3433 DLLTOOL
="$(DLLTOOL)"; export DLLTOOL
; \
3434 LD
="$(LD)"; export LD
; \
3435 NM
="$(NM)"; export NM
; \
3436 RANLIB
="$(RANLIB)"; export RANLIB
; \
3437 WINDRES
="$(WINDRES)"; export WINDRES
; \
3438 OBJCOPY
="$(OBJCOPY)"; export OBJCOPY
; \
3439 OBJDUMP
="$(OBJDUMP)"; export OBJDUMP
; \
3441 echo Configuring in libgui
; \
3442 cd libgui || exit
1; \
3445 srcdiroption
="--srcdir=."; \
3447 /* |
[A-Za-z
]:[\\/]*) \
3448 srcdiroption
="--srcdir=$(srcdir)/libgui"; \
3449 libsrcdir
="$$s/libgui";; \
3451 srcdiroption
="--srcdir=../$(srcdir)/libgui"; \
3452 libsrcdir
="$$s/libgui";; \
3454 $(SHELL
) $${libsrcdir}/configure \
3455 $(HOST_CONFIGARGS
) $${srcdiroption} \
3458 .PHONY
: all-libgui maybe-all-libgui
3460 all-libgui
: configure-libgui
3461 @r
=`${PWD}`; export r
; \
3462 s
=`cd $(srcdir); ${PWD}`; export s
; \
3464 (cd libgui
&& $(MAKE
) $(FLAGS_TO_PASS
) all)
3467 .PHONY
: check-libgui
3469 @r
=`${PWD}`; export r
; \
3470 s
=`cd $(srcdir); ${PWD}`; export s
; \
3472 (cd libgui
&& $(MAKE
) $(FLAGS_TO_PASS
) check)
3476 .PHONY
: install-libgui maybe-install-libgui
3477 maybe-install-libgui
:
3478 install-libgui
: installdirs
3479 @r
=`${PWD}`; export r
; \
3480 s
=`cd $(srcdir); ${PWD}`; export s
; \
3482 (cd libgui
&& $(MAKE
) $(FLAGS_TO_PASS
) install)
3485 .PHONY
: configure-libiberty maybe-configure-libiberty
3486 maybe-configure-libiberty
:
3487 configure-libiberty
:
3488 @
test ! -f libiberty
/Makefile || exit
0; \
3489 [ -d libiberty
] || mkdir libiberty
; \
3490 r
=`${PWD}`; export r
; \
3491 s
=`cd $(srcdir); ${PWD}`; export s
; \
3492 CC
="$(CC)"; export CC
; \
3493 CFLAGS
="$(CFLAGS)"; export CFLAGS
; \
3494 CXX
="$(CXX)"; export CXX
; \
3495 CXXFLAGS
="$(CXXFLAGS)"; export CXXFLAGS
; \
3496 if
[ z
$(build_canonical
) != z
$(host_canoncial
) ] ; then \
3497 AR
="$(AR)"; export AR
; \
3498 AS
="$(AS)"; export AS
; \
3499 CC_FOR_BUILD
="$(CC_FOR_BUILD)"; export CC_FOR_BUILD
; \
3500 DLLTOOL
="$(DLLTOOL)"; export DLLTOOL
; \
3501 LD
="$(LD)"; export LD
; \
3502 NM
="$(NM)"; export NM
; \
3503 RANLIB
="$(RANLIB)"; export RANLIB
; \
3504 WINDRES
="$(WINDRES)"; export WINDRES
; \
3505 OBJCOPY
="$(OBJCOPY)"; export OBJCOPY
; \
3506 OBJDUMP
="$(OBJDUMP)"; export OBJDUMP
; \
3508 echo Configuring in libiberty
; \
3509 cd libiberty || exit
1; \
3512 srcdiroption
="--srcdir=."; \
3514 /* |
[A-Za-z
]:[\\/]*) \
3515 srcdiroption
="--srcdir=$(srcdir)/libiberty"; \
3516 libsrcdir
="$$s/libiberty";; \
3518 srcdiroption
="--srcdir=../$(srcdir)/libiberty"; \
3519 libsrcdir
="$$s/libiberty";; \
3521 $(SHELL
) $${libsrcdir}/configure \
3522 $(HOST_CONFIGARGS
) $${srcdiroption} \
3525 .PHONY
: all-libiberty maybe-all-libiberty
3526 maybe-all-libiberty
:
3527 all-libiberty
: configure-libiberty
3528 @r
=`${PWD}`; export r
; \
3529 s
=`cd $(srcdir); ${PWD}`; export s
; \
3531 (cd libiberty
&& $(MAKE
) $(FLAGS_TO_PASS
) all)
3534 .PHONY
: check-libiberty
3536 @r
=`${PWD}`; export r
; \
3537 s
=`cd $(srcdir); ${PWD}`; export s
; \
3539 (cd libiberty
&& $(MAKE
) $(FLAGS_TO_PASS
) check)
3543 .PHONY
: install-libiberty maybe-install-libiberty
3544 maybe-install-libiberty
:
3545 install-libiberty
: installdirs
3546 @r
=`${PWD}`; export r
; \
3547 s
=`cd $(srcdir); ${PWD}`; export s
; \
3549 (cd libiberty
&& $(MAKE
) $(FLAGS_TO_PASS
) install)
3552 .PHONY
: configure-libtool maybe-configure-libtool
3553 maybe-configure-libtool
:
3555 @
test ! -f libtool
/Makefile || exit
0; \
3556 [ -d libtool
] || mkdir libtool
; \
3557 r
=`${PWD}`; export r
; \
3558 s
=`cd $(srcdir); ${PWD}`; export s
; \
3559 CC
="$(CC)"; export CC
; \
3560 CFLAGS
="$(CFLAGS)"; export CFLAGS
; \
3561 CXX
="$(CXX)"; export CXX
; \
3562 CXXFLAGS
="$(CXXFLAGS)"; export CXXFLAGS
; \
3563 if
[ z
$(build_canonical
) != z
$(host_canoncial
) ] ; then \
3564 AR
="$(AR)"; export AR
; \
3565 AS
="$(AS)"; export AS
; \
3566 CC_FOR_BUILD
="$(CC_FOR_BUILD)"; export CC_FOR_BUILD
; \
3567 DLLTOOL
="$(DLLTOOL)"; export DLLTOOL
; \
3568 LD
="$(LD)"; export LD
; \
3569 NM
="$(NM)"; export NM
; \
3570 RANLIB
="$(RANLIB)"; export RANLIB
; \
3571 WINDRES
="$(WINDRES)"; export WINDRES
; \
3572 OBJCOPY
="$(OBJCOPY)"; export OBJCOPY
; \
3573 OBJDUMP
="$(OBJDUMP)"; export OBJDUMP
; \
3575 echo Configuring in libtool
; \
3576 cd libtool || exit
1; \
3579 srcdiroption
="--srcdir=."; \
3581 /* |
[A-Za-z
]:[\\/]*) \
3582 srcdiroption
="--srcdir=$(srcdir)/libtool"; \
3583 libsrcdir
="$$s/libtool";; \
3585 srcdiroption
="--srcdir=../$(srcdir)/libtool"; \
3586 libsrcdir
="$$s/libtool";; \
3588 $(SHELL
) $${libsrcdir}/configure \
3589 $(HOST_CONFIGARGS
) $${srcdiroption} \
3592 .PHONY
: all-libtool maybe-all-libtool
3594 all-libtool
: configure-libtool
3595 @r
=`${PWD}`; export r
; \
3596 s
=`cd $(srcdir); ${PWD}`; export s
; \
3598 (cd libtool
&& $(MAKE
) $(FLAGS_TO_PASS
) all)
3601 .PHONY
: check-libtool
3603 @r
=`${PWD}`; export r
; \
3604 s
=`cd $(srcdir); ${PWD}`; export s
; \
3606 (cd libtool
&& $(MAKE
) $(FLAGS_TO_PASS
) check)
3610 .PHONY
: install-libtool maybe-install-libtool
3611 maybe-install-libtool
:
3612 install-libtool
: installdirs
3613 @r
=`${PWD}`; export r
; \
3614 s
=`cd $(srcdir); ${PWD}`; export s
; \
3616 (cd libtool
&& $(MAKE
) $(FLAGS_TO_PASS
) install)
3619 .PHONY
: configure-m4 maybe-configure-m4
3622 @
test ! -f m4
/Makefile || exit
0; \
3623 [ -d m4
] || mkdir m4
; \
3624 r
=`${PWD}`; export r
; \
3625 s
=`cd $(srcdir); ${PWD}`; export s
; \
3626 CC
="$(CC)"; export CC
; \
3627 CFLAGS
="$(CFLAGS)"; export CFLAGS
; \
3628 CXX
="$(CXX)"; export CXX
; \
3629 CXXFLAGS
="$(CXXFLAGS)"; export CXXFLAGS
; \
3630 if
[ z
$(build_canonical
) != z
$(host_canoncial
) ] ; then \
3631 AR
="$(AR)"; export AR
; \
3632 AS
="$(AS)"; export AS
; \
3633 CC_FOR_BUILD
="$(CC_FOR_BUILD)"; export CC_FOR_BUILD
; \
3634 DLLTOOL
="$(DLLTOOL)"; export DLLTOOL
; \
3635 LD
="$(LD)"; export LD
; \
3636 NM
="$(NM)"; export NM
; \
3637 RANLIB
="$(RANLIB)"; export RANLIB
; \
3638 WINDRES
="$(WINDRES)"; export WINDRES
; \
3639 OBJCOPY
="$(OBJCOPY)"; export OBJCOPY
; \
3640 OBJDUMP
="$(OBJDUMP)"; export OBJDUMP
; \
3642 echo Configuring in m4
; \
3646 srcdiroption
="--srcdir=."; \
3648 /* |
[A-Za-z
]:[\\/]*) \
3649 srcdiroption
="--srcdir=$(srcdir)/m4"; \
3650 libsrcdir
="$$s/m4";; \
3652 srcdiroption
="--srcdir=../$(srcdir)/m4"; \
3653 libsrcdir
="$$s/m4";; \
3655 $(SHELL
) $${libsrcdir}/configure \
3656 $(HOST_CONFIGARGS
) $${srcdiroption} \
3659 .PHONY
: all-m4 maybe-all-m4
3661 all-m4
: configure-m4
3662 @r
=`${PWD}`; export r
; \
3663 s
=`cd $(srcdir); ${PWD}`; export s
; \
3665 (cd m4
&& $(MAKE
) $(FLAGS_TO_PASS
) all)
3670 @r
=`${PWD}`; export r
; \
3671 s
=`cd $(srcdir); ${PWD}`; export s
; \
3673 (cd m4
&& $(MAKE
) $(FLAGS_TO_PASS
) check)
3677 .PHONY
: install-m4 maybe-install-m4
3679 install-m4
: installdirs
3680 @r
=`${PWD}`; export r
; \
3681 s
=`cd $(srcdir); ${PWD}`; export s
; \
3683 (cd m4
&& $(MAKE
) $(FLAGS_TO_PASS
) install)
3686 .PHONY
: configure-make maybe-configure-make
3687 maybe-configure-make
:
3689 @
test ! -f make
/Makefile || exit
0; \
3690 [ -d make
] || mkdir make
; \
3691 r
=`${PWD}`; export r
; \
3692 s
=`cd $(srcdir); ${PWD}`; export s
; \
3693 CC
="$(CC)"; export CC
; \
3694 CFLAGS
="$(CFLAGS)"; export CFLAGS
; \
3695 CXX
="$(CXX)"; export CXX
; \
3696 CXXFLAGS
="$(CXXFLAGS)"; export CXXFLAGS
; \
3697 if
[ z
$(build_canonical
) != z
$(host_canoncial
) ] ; then \
3698 AR
="$(AR)"; export AR
; \
3699 AS
="$(AS)"; export AS
; \
3700 CC_FOR_BUILD
="$(CC_FOR_BUILD)"; export CC_FOR_BUILD
; \
3701 DLLTOOL
="$(DLLTOOL)"; export DLLTOOL
; \
3702 LD
="$(LD)"; export LD
; \
3703 NM
="$(NM)"; export NM
; \
3704 RANLIB
="$(RANLIB)"; export RANLIB
; \
3705 WINDRES
="$(WINDRES)"; export WINDRES
; \
3706 OBJCOPY
="$(OBJCOPY)"; export OBJCOPY
; \
3707 OBJDUMP
="$(OBJDUMP)"; export OBJDUMP
; \
3709 echo Configuring in make
; \
3710 cd make || exit
1; \
3713 srcdiroption
="--srcdir=."; \
3715 /* |
[A-Za-z
]:[\\/]*) \
3716 srcdiroption
="--srcdir=$(srcdir)/make"; \
3717 libsrcdir
="$$s/make";; \
3719 srcdiroption
="--srcdir=../$(srcdir)/make"; \
3720 libsrcdir
="$$s/make";; \
3722 $(SHELL
) $${libsrcdir}/configure \
3723 $(HOST_CONFIGARGS
) $${srcdiroption} \
3726 .PHONY
: all-make maybe-all-make
3728 all-make
: configure-make
3729 @r
=`${PWD}`; export r
; \
3730 s
=`cd $(srcdir); ${PWD}`; export s
; \
3732 (cd make
&& $(MAKE
) $(FLAGS_TO_PASS
) all)
3737 @r
=`${PWD}`; export r
; \
3738 s
=`cd $(srcdir); ${PWD}`; export s
; \
3740 (cd make
&& $(MAKE
) $(FLAGS_TO_PASS
) check)
3744 .PHONY
: install-make maybe-install-make
3746 install-make
: installdirs
3747 @r
=`${PWD}`; export r
; \
3748 s
=`cd $(srcdir); ${PWD}`; export s
; \
3750 (cd make
&& $(MAKE
) $(FLAGS_TO_PASS
) install)
3753 .PHONY
: configure-mmalloc maybe-configure-mmalloc
3754 maybe-configure-mmalloc
:
3756 @
test ! -f mmalloc
/Makefile || exit
0; \
3757 [ -d mmalloc
] || mkdir mmalloc
; \
3758 r
=`${PWD}`; export r
; \
3759 s
=`cd $(srcdir); ${PWD}`; export s
; \
3760 CC
="$(CC)"; export CC
; \
3761 CFLAGS
="$(CFLAGS)"; export CFLAGS
; \
3762 CXX
="$(CXX)"; export CXX
; \
3763 CXXFLAGS
="$(CXXFLAGS)"; export CXXFLAGS
; \
3764 if
[ z
$(build_canonical
) != z
$(host_canoncial
) ] ; then \
3765 AR
="$(AR)"; export AR
; \
3766 AS
="$(AS)"; export AS
; \
3767 CC_FOR_BUILD
="$(CC_FOR_BUILD)"; export CC_FOR_BUILD
; \
3768 DLLTOOL
="$(DLLTOOL)"; export DLLTOOL
; \
3769 LD
="$(LD)"; export LD
; \
3770 NM
="$(NM)"; export NM
; \
3771 RANLIB
="$(RANLIB)"; export RANLIB
; \
3772 WINDRES
="$(WINDRES)"; export WINDRES
; \
3773 OBJCOPY
="$(OBJCOPY)"; export OBJCOPY
; \
3774 OBJDUMP
="$(OBJDUMP)"; export OBJDUMP
; \
3776 echo Configuring in mmalloc
; \
3777 cd mmalloc || exit
1; \
3780 srcdiroption
="--srcdir=."; \
3782 /* |
[A-Za-z
]:[\\/]*) \
3783 srcdiroption
="--srcdir=$(srcdir)/mmalloc"; \
3784 libsrcdir
="$$s/mmalloc";; \
3786 srcdiroption
="--srcdir=../$(srcdir)/mmalloc"; \
3787 libsrcdir
="$$s/mmalloc";; \
3789 $(SHELL
) $${libsrcdir}/configure \
3790 $(HOST_CONFIGARGS
) $${srcdiroption} \
3793 .PHONY
: all-mmalloc maybe-all-mmalloc
3795 all-mmalloc
: configure-mmalloc
3796 @r
=`${PWD}`; export r
; \
3797 s
=`cd $(srcdir); ${PWD}`; export s
; \
3799 (cd mmalloc
&& $(MAKE
) $(FLAGS_TO_PASS
) all)
3802 .PHONY
: check-mmalloc
3807 .PHONY
: install-mmalloc maybe-install-mmalloc
3808 maybe-install-mmalloc
:
3809 install-mmalloc
: installdirs
3810 @r
=`${PWD}`; export r
; \
3811 s
=`cd $(srcdir); ${PWD}`; export s
; \
3813 (cd mmalloc
&& $(MAKE
) $(FLAGS_TO_PASS
) install)
3816 .PHONY
: configure-patch maybe-configure-patch
3817 maybe-configure-patch
:
3819 @
test ! -f patch
/Makefile || exit
0; \
3820 [ -d patch
] || mkdir patch
; \
3821 r
=`${PWD}`; export r
; \
3822 s
=`cd $(srcdir); ${PWD}`; export s
; \
3823 CC
="$(CC)"; export CC
; \
3824 CFLAGS
="$(CFLAGS)"; export CFLAGS
; \
3825 CXX
="$(CXX)"; export CXX
; \
3826 CXXFLAGS
="$(CXXFLAGS)"; export CXXFLAGS
; \
3827 if
[ z
$(build_canonical
) != z
$(host_canoncial
) ] ; then \
3828 AR
="$(AR)"; export AR
; \
3829 AS
="$(AS)"; export AS
; \
3830 CC_FOR_BUILD
="$(CC_FOR_BUILD)"; export CC_FOR_BUILD
; \
3831 DLLTOOL
="$(DLLTOOL)"; export DLLTOOL
; \
3832 LD
="$(LD)"; export LD
; \
3833 NM
="$(NM)"; export NM
; \
3834 RANLIB
="$(RANLIB)"; export RANLIB
; \
3835 WINDRES
="$(WINDRES)"; export WINDRES
; \
3836 OBJCOPY
="$(OBJCOPY)"; export OBJCOPY
; \
3837 OBJDUMP
="$(OBJDUMP)"; export OBJDUMP
; \
3839 echo Configuring in patch
; \
3840 cd patch || exit
1; \
3843 srcdiroption
="--srcdir=."; \
3845 /* |
[A-Za-z
]:[\\/]*) \
3846 srcdiroption
="--srcdir=$(srcdir)/patch"; \
3847 libsrcdir
="$$s/patch";; \
3849 srcdiroption
="--srcdir=../$(srcdir)/patch"; \
3850 libsrcdir
="$$s/patch";; \
3852 $(SHELL
) $${libsrcdir}/configure \
3853 $(HOST_CONFIGARGS
) $${srcdiroption} \
3856 .PHONY
: all-patch maybe-all-patch
3858 all-patch
: configure-patch
3859 @r
=`${PWD}`; export r
; \
3860 s
=`cd $(srcdir); ${PWD}`; export s
; \
3862 (cd patch
&& $(MAKE
) $(FLAGS_TO_PASS
) all)
3867 @r
=`${PWD}`; export r
; \
3868 s
=`cd $(srcdir); ${PWD}`; export s
; \
3870 (cd patch
&& $(MAKE
) $(FLAGS_TO_PASS
) check)
3874 .PHONY
: install-patch maybe-install-patch
3875 maybe-install-patch
:
3876 install-patch
: installdirs
3877 @r
=`${PWD}`; export r
; \
3878 s
=`cd $(srcdir); ${PWD}`; export s
; \
3880 (cd patch
&& $(MAKE
) $(FLAGS_TO_PASS
) install)
3883 .PHONY
: configure-perl maybe-configure-perl
3884 maybe-configure-perl
:
3886 @
test ! -f perl
/Makefile || exit
0; \
3887 [ -d perl
] || mkdir perl
; \
3888 r
=`${PWD}`; export r
; \
3889 s
=`cd $(srcdir); ${PWD}`; export s
; \
3890 CC
="$(CC)"; export CC
; \
3891 CFLAGS
="$(CFLAGS)"; export CFLAGS
; \
3892 CXX
="$(CXX)"; export CXX
; \
3893 CXXFLAGS
="$(CXXFLAGS)"; export CXXFLAGS
; \
3894 if
[ z
$(build_canonical
) != z
$(host_canoncial
) ] ; then \
3895 AR
="$(AR)"; export AR
; \
3896 AS
="$(AS)"; export AS
; \
3897 CC_FOR_BUILD
="$(CC_FOR_BUILD)"; export CC_FOR_BUILD
; \
3898 DLLTOOL
="$(DLLTOOL)"; export DLLTOOL
; \
3899 LD
="$(LD)"; export LD
; \
3900 NM
="$(NM)"; export NM
; \
3901 RANLIB
="$(RANLIB)"; export RANLIB
; \
3902 WINDRES
="$(WINDRES)"; export WINDRES
; \
3903 OBJCOPY
="$(OBJCOPY)"; export OBJCOPY
; \
3904 OBJDUMP
="$(OBJDUMP)"; export OBJDUMP
; \
3906 echo Configuring in perl
; \
3907 cd perl || exit
1; \
3910 srcdiroption
="--srcdir=."; \
3912 /* |
[A-Za-z
]:[\\/]*) \
3913 srcdiroption
="--srcdir=$(srcdir)/perl"; \
3914 libsrcdir
="$$s/perl";; \
3916 srcdiroption
="--srcdir=../$(srcdir)/perl"; \
3917 libsrcdir
="$$s/perl";; \
3919 $(SHELL
) $${libsrcdir}/configure \
3920 $(HOST_CONFIGARGS
) $${srcdiroption} \
3923 .PHONY
: all-perl maybe-all-perl
3925 all-perl
: configure-perl
3926 @r
=`${PWD}`; export r
; \
3927 s
=`cd $(srcdir); ${PWD}`; export s
; \
3929 (cd perl
&& $(MAKE
) $(FLAGS_TO_PASS
) all)
3934 @r
=`${PWD}`; export r
; \
3935 s
=`cd $(srcdir); ${PWD}`; export s
; \
3937 (cd perl
&& $(MAKE
) $(FLAGS_TO_PASS
) check)
3941 .PHONY
: install-perl maybe-install-perl
3943 install-perl
: installdirs
3944 @r
=`${PWD}`; export r
; \
3945 s
=`cd $(srcdir); ${PWD}`; export s
; \
3947 (cd perl
&& $(MAKE
) $(FLAGS_TO_PASS
) install)
3950 .PHONY
: configure-prms maybe-configure-prms
3951 maybe-configure-prms
:
3953 @
test ! -f prms
/Makefile || exit
0; \
3954 [ -d prms
] || mkdir prms
; \
3955 r
=`${PWD}`; export r
; \
3956 s
=`cd $(srcdir); ${PWD}`; export s
; \
3957 CC
="$(CC)"; export CC
; \
3958 CFLAGS
="$(CFLAGS)"; export CFLAGS
; \
3959 CXX
="$(CXX)"; export CXX
; \
3960 CXXFLAGS
="$(CXXFLAGS)"; export CXXFLAGS
; \
3961 if
[ z
$(build_canonical
) != z
$(host_canoncial
) ] ; then \
3962 AR
="$(AR)"; export AR
; \
3963 AS
="$(AS)"; export AS
; \
3964 CC_FOR_BUILD
="$(CC_FOR_BUILD)"; export CC_FOR_BUILD
; \
3965 DLLTOOL
="$(DLLTOOL)"; export DLLTOOL
; \
3966 LD
="$(LD)"; export LD
; \
3967 NM
="$(NM)"; export NM
; \
3968 RANLIB
="$(RANLIB)"; export RANLIB
; \
3969 WINDRES
="$(WINDRES)"; export WINDRES
; \
3970 OBJCOPY
="$(OBJCOPY)"; export OBJCOPY
; \
3971 OBJDUMP
="$(OBJDUMP)"; export OBJDUMP
; \
3973 echo Configuring in prms
; \
3974 cd prms || exit
1; \
3977 srcdiroption
="--srcdir=."; \
3979 /* |
[A-Za-z
]:[\\/]*) \
3980 srcdiroption
="--srcdir=$(srcdir)/prms"; \
3981 libsrcdir
="$$s/prms";; \
3983 srcdiroption
="--srcdir=../$(srcdir)/prms"; \
3984 libsrcdir
="$$s/prms";; \
3986 $(SHELL
) $${libsrcdir}/configure \
3987 $(HOST_CONFIGARGS
) $${srcdiroption} \
3990 .PHONY
: all-prms maybe-all-prms
3992 all-prms
: configure-prms
3993 @r
=`${PWD}`; export r
; \
3994 s
=`cd $(srcdir); ${PWD}`; export s
; \
3996 (cd prms
&& $(MAKE
) $(FLAGS_TO_PASS
) all)
4001 @r
=`${PWD}`; export r
; \
4002 s
=`cd $(srcdir); ${PWD}`; export s
; \
4004 (cd prms
&& $(MAKE
) $(FLAGS_TO_PASS
) check)
4008 .PHONY
: install-prms maybe-install-prms
4010 install-prms
: installdirs
4011 @r
=`${PWD}`; export r
; \
4012 s
=`cd $(srcdir); ${PWD}`; export s
; \
4014 (cd prms
&& $(MAKE
) $(FLAGS_TO_PASS
) install)
4017 .PHONY
: configure-rcs maybe-configure-rcs
4018 maybe-configure-rcs
:
4020 @
test ! -f rcs
/Makefile || exit
0; \
4021 [ -d rcs
] || mkdir rcs
; \
4022 r
=`${PWD}`; export r
; \
4023 s
=`cd $(srcdir); ${PWD}`; export s
; \
4024 CC
="$(CC)"; export CC
; \
4025 CFLAGS
="$(CFLAGS)"; export CFLAGS
; \
4026 CXX
="$(CXX)"; export CXX
; \
4027 CXXFLAGS
="$(CXXFLAGS)"; export CXXFLAGS
; \
4028 if
[ z
$(build_canonical
) != z
$(host_canoncial
) ] ; then \
4029 AR
="$(AR)"; export AR
; \
4030 AS
="$(AS)"; export AS
; \
4031 CC_FOR_BUILD
="$(CC_FOR_BUILD)"; export CC_FOR_BUILD
; \
4032 DLLTOOL
="$(DLLTOOL)"; export DLLTOOL
; \
4033 LD
="$(LD)"; export LD
; \
4034 NM
="$(NM)"; export NM
; \
4035 RANLIB
="$(RANLIB)"; export RANLIB
; \
4036 WINDRES
="$(WINDRES)"; export WINDRES
; \
4037 OBJCOPY
="$(OBJCOPY)"; export OBJCOPY
; \
4038 OBJDUMP
="$(OBJDUMP)"; export OBJDUMP
; \
4040 echo Configuring in rcs
; \
4044 srcdiroption
="--srcdir=."; \
4046 /* |
[A-Za-z
]:[\\/]*) \
4047 srcdiroption
="--srcdir=$(srcdir)/rcs"; \
4048 libsrcdir
="$$s/rcs";; \
4050 srcdiroption
="--srcdir=../$(srcdir)/rcs"; \
4051 libsrcdir
="$$s/rcs";; \
4053 $(SHELL
) $${libsrcdir}/configure \
4054 $(HOST_CONFIGARGS
) $${srcdiroption} \
4057 .PHONY
: all-rcs maybe-all-rcs
4059 all-rcs
: configure-rcs
4060 @r
=`${PWD}`; export r
; \
4061 s
=`cd $(srcdir); ${PWD}`; export s
; \
4063 (cd rcs
&& $(MAKE
) $(FLAGS_TO_PASS
) all)
4068 @r
=`${PWD}`; export r
; \
4069 s
=`cd $(srcdir); ${PWD}`; export s
; \
4071 (cd rcs
&& $(MAKE
) $(FLAGS_TO_PASS
) check)
4075 .PHONY
: install-rcs maybe-install-rcs
4077 install-rcs
: installdirs
4078 @r
=`${PWD}`; export r
; \
4079 s
=`cd $(srcdir); ${PWD}`; export s
; \
4081 (cd rcs
&& $(MAKE
) $(FLAGS_TO_PASS
) install)
4084 .PHONY
: configure-readline maybe-configure-readline
4085 maybe-configure-readline
:
4087 @
test ! -f readline
/Makefile || exit
0; \
4088 [ -d readline
] || mkdir readline
; \
4089 r
=`${PWD}`; export r
; \
4090 s
=`cd $(srcdir); ${PWD}`; export s
; \
4091 CC
="$(CC)"; export CC
; \
4092 CFLAGS
="$(CFLAGS)"; export CFLAGS
; \
4093 CXX
="$(CXX)"; export CXX
; \
4094 CXXFLAGS
="$(CXXFLAGS)"; export CXXFLAGS
; \
4095 if
[ z
$(build_canonical
) != z
$(host_canoncial
) ] ; then \
4096 AR
="$(AR)"; export AR
; \
4097 AS
="$(AS)"; export AS
; \
4098 CC_FOR_BUILD
="$(CC_FOR_BUILD)"; export CC_FOR_BUILD
; \
4099 DLLTOOL
="$(DLLTOOL)"; export DLLTOOL
; \
4100 LD
="$(LD)"; export LD
; \
4101 NM
="$(NM)"; export NM
; \
4102 RANLIB
="$(RANLIB)"; export RANLIB
; \
4103 WINDRES
="$(WINDRES)"; export WINDRES
; \
4104 OBJCOPY
="$(OBJCOPY)"; export OBJCOPY
; \
4105 OBJDUMP
="$(OBJDUMP)"; export OBJDUMP
; \
4107 echo Configuring in readline
; \
4108 cd readline || exit
1; \
4111 srcdiroption
="--srcdir=."; \
4113 /* |
[A-Za-z
]:[\\/]*) \
4114 srcdiroption
="--srcdir=$(srcdir)/readline"; \
4115 libsrcdir
="$$s/readline";; \
4117 srcdiroption
="--srcdir=../$(srcdir)/readline"; \
4118 libsrcdir
="$$s/readline";; \
4120 $(SHELL
) $${libsrcdir}/configure \
4121 $(HOST_CONFIGARGS
) $${srcdiroption} \
4124 .PHONY
: all-readline maybe-all-readline
4126 all-readline
: configure-readline
4127 @r
=`${PWD}`; export r
; \
4128 s
=`cd $(srcdir); ${PWD}`; export s
; \
4130 (cd readline
&& $(MAKE
) $(FLAGS_TO_PASS
) all)
4133 .PHONY
: check-readline
4135 @r
=`${PWD}`; export r
; \
4136 s
=`cd $(srcdir); ${PWD}`; export s
; \
4138 (cd readline
&& $(MAKE
) $(FLAGS_TO_PASS
) check)
4142 .PHONY
: install-readline maybe-install-readline
4143 maybe-install-readline
:
4144 install-readline
: installdirs
4145 @r
=`${PWD}`; export r
; \
4146 s
=`cd $(srcdir); ${PWD}`; export s
; \
4148 (cd readline
&& $(MAKE
) $(FLAGS_TO_PASS
) install)
4151 .PHONY
: configure-release maybe-configure-release
4152 maybe-configure-release
:
4154 @
test ! -f release
/Makefile || exit
0; \
4155 [ -d release
] || mkdir release
; \
4156 r
=`${PWD}`; export r
; \
4157 s
=`cd $(srcdir); ${PWD}`; export s
; \
4158 CC
="$(CC)"; export CC
; \
4159 CFLAGS
="$(CFLAGS)"; export CFLAGS
; \
4160 CXX
="$(CXX)"; export CXX
; \
4161 CXXFLAGS
="$(CXXFLAGS)"; export CXXFLAGS
; \
4162 if
[ z
$(build_canonical
) != z
$(host_canoncial
) ] ; then \
4163 AR
="$(AR)"; export AR
; \
4164 AS
="$(AS)"; export AS
; \
4165 CC_FOR_BUILD
="$(CC_FOR_BUILD)"; export CC_FOR_BUILD
; \
4166 DLLTOOL
="$(DLLTOOL)"; export DLLTOOL
; \
4167 LD
="$(LD)"; export LD
; \
4168 NM
="$(NM)"; export NM
; \
4169 RANLIB
="$(RANLIB)"; export RANLIB
; \
4170 WINDRES
="$(WINDRES)"; export WINDRES
; \
4171 OBJCOPY
="$(OBJCOPY)"; export OBJCOPY
; \
4172 OBJDUMP
="$(OBJDUMP)"; export OBJDUMP
; \
4174 echo Configuring in release
; \
4175 cd release || exit
1; \
4178 srcdiroption
="--srcdir=."; \
4180 /* |
[A-Za-z
]:[\\/]*) \
4181 srcdiroption
="--srcdir=$(srcdir)/release"; \
4182 libsrcdir
="$$s/release";; \
4184 srcdiroption
="--srcdir=../$(srcdir)/release"; \
4185 libsrcdir
="$$s/release";; \
4187 $(SHELL
) $${libsrcdir}/configure \
4188 $(HOST_CONFIGARGS
) $${srcdiroption} \
4191 .PHONY
: all-release maybe-all-release
4193 all-release
: configure-release
4194 @r
=`${PWD}`; export r
; \
4195 s
=`cd $(srcdir); ${PWD}`; export s
; \
4197 (cd release
&& $(MAKE
) $(FLAGS_TO_PASS
) all)
4200 .PHONY
: check-release
4205 .PHONY
: install-release maybe-install-release
4206 maybe-install-release
:
4210 .PHONY
: configure-recode maybe-configure-recode
4211 maybe-configure-recode
:
4213 @
test ! -f recode
/Makefile || exit
0; \
4214 [ -d recode
] || mkdir recode
; \
4215 r
=`${PWD}`; export r
; \
4216 s
=`cd $(srcdir); ${PWD}`; export s
; \
4217 CC
="$(CC)"; export CC
; \
4218 CFLAGS
="$(CFLAGS)"; export CFLAGS
; \
4219 CXX
="$(CXX)"; export CXX
; \
4220 CXXFLAGS
="$(CXXFLAGS)"; export CXXFLAGS
; \
4221 if
[ z
$(build_canonical
) != z
$(host_canoncial
) ] ; then \
4222 AR
="$(AR)"; export AR
; \
4223 AS
="$(AS)"; export AS
; \
4224 CC_FOR_BUILD
="$(CC_FOR_BUILD)"; export CC_FOR_BUILD
; \
4225 DLLTOOL
="$(DLLTOOL)"; export DLLTOOL
; \
4226 LD
="$(LD)"; export LD
; \
4227 NM
="$(NM)"; export NM
; \
4228 RANLIB
="$(RANLIB)"; export RANLIB
; \
4229 WINDRES
="$(WINDRES)"; export WINDRES
; \
4230 OBJCOPY
="$(OBJCOPY)"; export OBJCOPY
; \
4231 OBJDUMP
="$(OBJDUMP)"; export OBJDUMP
; \
4233 echo Configuring in recode
; \
4234 cd recode || exit
1; \
4237 srcdiroption
="--srcdir=."; \
4239 /* |
[A-Za-z
]:[\\/]*) \
4240 srcdiroption
="--srcdir=$(srcdir)/recode"; \
4241 libsrcdir
="$$s/recode";; \
4243 srcdiroption
="--srcdir=../$(srcdir)/recode"; \
4244 libsrcdir
="$$s/recode";; \
4246 $(SHELL
) $${libsrcdir}/configure \
4247 $(HOST_CONFIGARGS
) $${srcdiroption} \
4250 .PHONY
: all-recode maybe-all-recode
4252 all-recode
: configure-recode
4253 @r
=`${PWD}`; export r
; \
4254 s
=`cd $(srcdir); ${PWD}`; export s
; \
4256 (cd recode
&& $(MAKE
) $(FLAGS_TO_PASS
) all)
4259 .PHONY
: check-recode
4261 @r
=`${PWD}`; export r
; \
4262 s
=`cd $(srcdir); ${PWD}`; export s
; \
4264 (cd recode
&& $(MAKE
) $(FLAGS_TO_PASS
) check)
4268 .PHONY
: install-recode maybe-install-recode
4269 maybe-install-recode
:
4270 install-recode
: installdirs
4271 @r
=`${PWD}`; export r
; \
4272 s
=`cd $(srcdir); ${PWD}`; export s
; \
4274 (cd recode
&& $(MAKE
) $(FLAGS_TO_PASS
) install)
4277 .PHONY
: configure-sed maybe-configure-sed
4278 maybe-configure-sed
:
4280 @
test ! -f sed
/Makefile || exit
0; \
4281 [ -d sed
] || mkdir sed
; \
4282 r
=`${PWD}`; export r
; \
4283 s
=`cd $(srcdir); ${PWD}`; export s
; \
4284 CC
="$(CC)"; export CC
; \
4285 CFLAGS
="$(CFLAGS)"; export CFLAGS
; \
4286 CXX
="$(CXX)"; export CXX
; \
4287 CXXFLAGS
="$(CXXFLAGS)"; export CXXFLAGS
; \
4288 if
[ z
$(build_canonical
) != z
$(host_canoncial
) ] ; then \
4289 AR
="$(AR)"; export AR
; \
4290 AS
="$(AS)"; export AS
; \
4291 CC_FOR_BUILD
="$(CC_FOR_BUILD)"; export CC_FOR_BUILD
; \
4292 DLLTOOL
="$(DLLTOOL)"; export DLLTOOL
; \
4293 LD
="$(LD)"; export LD
; \
4294 NM
="$(NM)"; export NM
; \
4295 RANLIB
="$(RANLIB)"; export RANLIB
; \
4296 WINDRES
="$(WINDRES)"; export WINDRES
; \
4297 OBJCOPY
="$(OBJCOPY)"; export OBJCOPY
; \
4298 OBJDUMP
="$(OBJDUMP)"; export OBJDUMP
; \
4300 echo Configuring in sed
; \
4304 srcdiroption
="--srcdir=."; \
4306 /* |
[A-Za-z
]:[\\/]*) \
4307 srcdiroption
="--srcdir=$(srcdir)/sed"; \
4308 libsrcdir
="$$s/sed";; \
4310 srcdiroption
="--srcdir=../$(srcdir)/sed"; \
4311 libsrcdir
="$$s/sed";; \
4313 $(SHELL
) $${libsrcdir}/configure \
4314 $(HOST_CONFIGARGS
) $${srcdiroption} \
4317 .PHONY
: all-sed maybe-all-sed
4319 all-sed
: configure-sed
4320 @r
=`${PWD}`; export r
; \
4321 s
=`cd $(srcdir); ${PWD}`; export s
; \
4323 (cd sed
&& $(MAKE
) $(FLAGS_TO_PASS
) all)
4328 @r
=`${PWD}`; export r
; \
4329 s
=`cd $(srcdir); ${PWD}`; export s
; \
4331 (cd sed
&& $(MAKE
) $(FLAGS_TO_PASS
) check)
4335 .PHONY
: install-sed maybe-install-sed
4337 install-sed
: installdirs
4338 @r
=`${PWD}`; export r
; \
4339 s
=`cd $(srcdir); ${PWD}`; export s
; \
4341 (cd sed
&& $(MAKE
) $(FLAGS_TO_PASS
) install)
4344 .PHONY
: configure-send-pr maybe-configure-send-pr
4345 maybe-configure-send-pr
:
4347 @
test ! -f send-pr
/Makefile || exit
0; \
4348 [ -d send-pr
] || mkdir send-pr
; \
4349 r
=`${PWD}`; export r
; \
4350 s
=`cd $(srcdir); ${PWD}`; export s
; \
4351 CC
="$(CC)"; export CC
; \
4352 CFLAGS
="$(CFLAGS)"; export CFLAGS
; \
4353 CXX
="$(CXX)"; export CXX
; \
4354 CXXFLAGS
="$(CXXFLAGS)"; export CXXFLAGS
; \
4355 if
[ z
$(build_canonical
) != z
$(host_canoncial
) ] ; then \
4356 AR
="$(AR)"; export AR
; \
4357 AS
="$(AS)"; export AS
; \
4358 CC_FOR_BUILD
="$(CC_FOR_BUILD)"; export CC_FOR_BUILD
; \
4359 DLLTOOL
="$(DLLTOOL)"; export DLLTOOL
; \
4360 LD
="$(LD)"; export LD
; \
4361 NM
="$(NM)"; export NM
; \
4362 RANLIB
="$(RANLIB)"; export RANLIB
; \
4363 WINDRES
="$(WINDRES)"; export WINDRES
; \
4364 OBJCOPY
="$(OBJCOPY)"; export OBJCOPY
; \
4365 OBJDUMP
="$(OBJDUMP)"; export OBJDUMP
; \
4367 echo Configuring in send-pr
; \
4368 cd send-pr || exit
1; \
4371 srcdiroption
="--srcdir=."; \
4373 /* |
[A-Za-z
]:[\\/]*) \
4374 srcdiroption
="--srcdir=$(srcdir)/send-pr"; \
4375 libsrcdir
="$$s/send-pr";; \
4377 srcdiroption
="--srcdir=../$(srcdir)/send-pr"; \
4378 libsrcdir
="$$s/send-pr";; \
4380 $(SHELL
) $${libsrcdir}/configure \
4381 $(HOST_CONFIGARGS
) $${srcdiroption} \
4384 .PHONY
: all-send-pr maybe-all-send-pr
4386 all-send-pr
: configure-send-pr
4387 @r
=`${PWD}`; export r
; \
4388 s
=`cd $(srcdir); ${PWD}`; export s
; \
4390 (cd send-pr
&& $(MAKE
) $(FLAGS_TO_PASS
) all)
4393 .PHONY
: check-send-pr
4395 @r
=`${PWD}`; export r
; \
4396 s
=`cd $(srcdir); ${PWD}`; export s
; \
4398 (cd send-pr
&& $(MAKE
) $(FLAGS_TO_PASS
) check)
4402 .PHONY
: install-send-pr maybe-install-send-pr
4403 maybe-install-send-pr
:
4404 install-send-pr
: installdirs
4405 @r
=`${PWD}`; export r
; \
4406 s
=`cd $(srcdir); ${PWD}`; export s
; \
4408 (cd send-pr
&& $(MAKE
) $(FLAGS_TO_PASS
) install)
4411 .PHONY
: configure-shellutils maybe-configure-shellutils
4412 maybe-configure-shellutils
:
4413 configure-shellutils
:
4414 @
test ! -f shellutils
/Makefile || exit
0; \
4415 [ -d shellutils
] || mkdir shellutils
; \
4416 r
=`${PWD}`; export r
; \
4417 s
=`cd $(srcdir); ${PWD}`; export s
; \
4418 CC
="$(CC)"; export CC
; \
4419 CFLAGS
="$(CFLAGS)"; export CFLAGS
; \
4420 CXX
="$(CXX)"; export CXX
; \
4421 CXXFLAGS
="$(CXXFLAGS)"; export CXXFLAGS
; \
4422 if
[ z
$(build_canonical
) != z
$(host_canoncial
) ] ; then \
4423 AR
="$(AR)"; export AR
; \
4424 AS
="$(AS)"; export AS
; \
4425 CC_FOR_BUILD
="$(CC_FOR_BUILD)"; export CC_FOR_BUILD
; \
4426 DLLTOOL
="$(DLLTOOL)"; export DLLTOOL
; \
4427 LD
="$(LD)"; export LD
; \
4428 NM
="$(NM)"; export NM
; \
4429 RANLIB
="$(RANLIB)"; export RANLIB
; \
4430 WINDRES
="$(WINDRES)"; export WINDRES
; \
4431 OBJCOPY
="$(OBJCOPY)"; export OBJCOPY
; \
4432 OBJDUMP
="$(OBJDUMP)"; export OBJDUMP
; \
4434 echo Configuring in shellutils
; \
4435 cd shellutils || exit
1; \
4438 srcdiroption
="--srcdir=."; \
4440 /* |
[A-Za-z
]:[\\/]*) \
4441 srcdiroption
="--srcdir=$(srcdir)/shellutils"; \
4442 libsrcdir
="$$s/shellutils";; \
4444 srcdiroption
="--srcdir=../$(srcdir)/shellutils"; \
4445 libsrcdir
="$$s/shellutils";; \
4447 $(SHELL
) $${libsrcdir}/configure \
4448 $(HOST_CONFIGARGS
) $${srcdiroption} \
4451 .PHONY
: all-shellutils maybe-all-shellutils
4452 maybe-all-shellutils
:
4453 all-shellutils
: configure-shellutils
4454 @r
=`${PWD}`; export r
; \
4455 s
=`cd $(srcdir); ${PWD}`; export s
; \
4457 (cd shellutils
&& $(MAKE
) $(FLAGS_TO_PASS
) all)
4460 .PHONY
: check-shellutils
4462 @r
=`${PWD}`; export r
; \
4463 s
=`cd $(srcdir); ${PWD}`; export s
; \
4465 (cd shellutils
&& $(MAKE
) $(FLAGS_TO_PASS
) check)
4469 .PHONY
: install-shellutils maybe-install-shellutils
4470 maybe-install-shellutils
:
4471 install-shellutils
: installdirs
4472 @r
=`${PWD}`; export r
; \
4473 s
=`cd $(srcdir); ${PWD}`; export s
; \
4475 (cd shellutils
&& $(MAKE
) $(FLAGS_TO_PASS
) install)
4478 .PHONY
: configure-sid maybe-configure-sid
4479 maybe-configure-sid
:
4481 @
test ! -f sid
/Makefile || exit
0; \
4482 [ -d sid
] || mkdir sid
; \
4483 r
=`${PWD}`; export r
; \
4484 s
=`cd $(srcdir); ${PWD}`; export s
; \
4485 CC
="$(CC)"; export CC
; \
4486 CFLAGS
="$(CFLAGS)"; export CFLAGS
; \
4487 CXX
="$(CXX)"; export CXX
; \
4488 CXXFLAGS
="$(CXXFLAGS)"; export CXXFLAGS
; \
4489 if
[ z
$(build_canonical
) != z
$(host_canoncial
) ] ; then \
4490 AR
="$(AR)"; export AR
; \
4491 AS
="$(AS)"; export AS
; \
4492 CC_FOR_BUILD
="$(CC_FOR_BUILD)"; export CC_FOR_BUILD
; \
4493 DLLTOOL
="$(DLLTOOL)"; export DLLTOOL
; \
4494 LD
="$(LD)"; export LD
; \
4495 NM
="$(NM)"; export NM
; \
4496 RANLIB
="$(RANLIB)"; export RANLIB
; \
4497 WINDRES
="$(WINDRES)"; export WINDRES
; \
4498 OBJCOPY
="$(OBJCOPY)"; export OBJCOPY
; \
4499 OBJDUMP
="$(OBJDUMP)"; export OBJDUMP
; \
4501 echo Configuring in sid
; \
4505 srcdiroption
="--srcdir=."; \
4507 /* |
[A-Za-z
]:[\\/]*) \
4508 srcdiroption
="--srcdir=$(srcdir)/sid"; \
4509 libsrcdir
="$$s/sid";; \
4511 srcdiroption
="--srcdir=../$(srcdir)/sid"; \
4512 libsrcdir
="$$s/sid";; \
4514 $(SHELL
) $${libsrcdir}/configure \
4515 $(HOST_CONFIGARGS
) $${srcdiroption} \
4518 .PHONY
: all-sid maybe-all-sid
4520 all-sid
: configure-sid
4521 @r
=`${PWD}`; export r
; \
4522 s
=`cd $(srcdir); ${PWD}`; export s
; \
4524 (cd sid
&& $(MAKE
) $(FLAGS_TO_PASS
) all)
4529 @r
=`${PWD}`; export r
; \
4530 s
=`cd $(srcdir); ${PWD}`; export s
; \
4532 (cd sid
&& $(MAKE
) $(FLAGS_TO_PASS
) check)
4536 .PHONY
: install-sid maybe-install-sid
4538 install-sid
: installdirs
4539 @r
=`${PWD}`; export r
; \
4540 s
=`cd $(srcdir); ${PWD}`; export s
; \
4542 (cd sid
&& $(MAKE
) $(FLAGS_TO_PASS
) install)
4545 .PHONY
: configure-sim maybe-configure-sim
4546 maybe-configure-sim
:
4548 @
test ! -f sim
/Makefile || exit
0; \
4549 [ -d sim
] || mkdir sim
; \
4550 r
=`${PWD}`; export r
; \
4551 s
=`cd $(srcdir); ${PWD}`; export s
; \
4552 CC
="$(CC)"; export CC
; \
4553 CFLAGS
="$(CFLAGS)"; export CFLAGS
; \
4554 CXX
="$(CXX)"; export CXX
; \
4555 CXXFLAGS
="$(CXXFLAGS)"; export CXXFLAGS
; \
4556 if
[ z
$(build_canonical
) != z
$(host_canoncial
) ] ; then \
4557 AR
="$(AR)"; export AR
; \
4558 AS
="$(AS)"; export AS
; \
4559 CC_FOR_BUILD
="$(CC_FOR_BUILD)"; export CC_FOR_BUILD
; \
4560 DLLTOOL
="$(DLLTOOL)"; export DLLTOOL
; \
4561 LD
="$(LD)"; export LD
; \
4562 NM
="$(NM)"; export NM
; \
4563 RANLIB
="$(RANLIB)"; export RANLIB
; \
4564 WINDRES
="$(WINDRES)"; export WINDRES
; \
4565 OBJCOPY
="$(OBJCOPY)"; export OBJCOPY
; \
4566 OBJDUMP
="$(OBJDUMP)"; export OBJDUMP
; \
4568 echo Configuring in sim
; \
4572 srcdiroption
="--srcdir=."; \
4574 /* |
[A-Za-z
]:[\\/]*) \
4575 srcdiroption
="--srcdir=$(srcdir)/sim"; \
4576 libsrcdir
="$$s/sim";; \
4578 srcdiroption
="--srcdir=../$(srcdir)/sim"; \
4579 libsrcdir
="$$s/sim";; \
4581 $(SHELL
) $${libsrcdir}/configure \
4582 $(HOST_CONFIGARGS
) $${srcdiroption} \
4585 .PHONY
: all-sim maybe-all-sim
4587 all-sim
: configure-sim
4588 @r
=`${PWD}`; export r
; \
4589 s
=`cd $(srcdir); ${PWD}`; export s
; \
4591 (cd sim
&& $(MAKE
) $(FLAGS_TO_PASS
) all)
4596 @r
=`${PWD}`; export r
; \
4597 s
=`cd $(srcdir); ${PWD}`; export s
; \
4599 (cd sim
&& $(MAKE
) $(FLAGS_TO_PASS
) check)
4603 .PHONY
: install-sim maybe-install-sim
4605 install-sim
: installdirs
4606 @r
=`${PWD}`; export r
; \
4607 s
=`cd $(srcdir); ${PWD}`; export s
; \
4609 (cd sim
&& $(MAKE
) $(FLAGS_TO_PASS
) install)
4612 .PHONY
: configure-tar maybe-configure-tar
4613 maybe-configure-tar
:
4615 @
test ! -f
tar/Makefile || exit
0; \
4616 [ -d
tar ] || mkdir
tar; \
4617 r
=`${PWD}`; export r
; \
4618 s
=`cd $(srcdir); ${PWD}`; export s
; \
4619 CC
="$(CC)"; export CC
; \
4620 CFLAGS
="$(CFLAGS)"; export CFLAGS
; \
4621 CXX
="$(CXX)"; export CXX
; \
4622 CXXFLAGS
="$(CXXFLAGS)"; export CXXFLAGS
; \
4623 if
[ z
$(build_canonical
) != z
$(host_canoncial
) ] ; then \
4624 AR
="$(AR)"; export AR
; \
4625 AS
="$(AS)"; export AS
; \
4626 CC_FOR_BUILD
="$(CC_FOR_BUILD)"; export CC_FOR_BUILD
; \
4627 DLLTOOL
="$(DLLTOOL)"; export DLLTOOL
; \
4628 LD
="$(LD)"; export LD
; \
4629 NM
="$(NM)"; export NM
; \
4630 RANLIB
="$(RANLIB)"; export RANLIB
; \
4631 WINDRES
="$(WINDRES)"; export WINDRES
; \
4632 OBJCOPY
="$(OBJCOPY)"; export OBJCOPY
; \
4633 OBJDUMP
="$(OBJDUMP)"; export OBJDUMP
; \
4635 echo Configuring in
tar; \
4639 srcdiroption
="--srcdir=."; \
4641 /* |
[A-Za-z
]:[\\/]*) \
4642 srcdiroption
="--srcdir=$(srcdir)/tar"; \
4643 libsrcdir
="$$s/tar";; \
4645 srcdiroption
="--srcdir=../$(srcdir)/tar"; \
4646 libsrcdir
="$$s/tar";; \
4648 $(SHELL
) $${libsrcdir}/configure \
4649 $(HOST_CONFIGARGS
) $${srcdiroption} \
4652 .PHONY
: all-tar maybe-all-tar
4654 all-tar
: configure-tar
4655 @r
=`${PWD}`; export r
; \
4656 s
=`cd $(srcdir); ${PWD}`; export s
; \
4658 (cd
tar && $(MAKE
) $(FLAGS_TO_PASS
) all)
4663 @r
=`${PWD}`; export r
; \
4664 s
=`cd $(srcdir); ${PWD}`; export s
; \
4666 (cd
tar && $(MAKE
) $(FLAGS_TO_PASS
) check)
4670 .PHONY
: install-tar maybe-install-tar
4672 install-tar
: installdirs
4673 @r
=`${PWD}`; export r
; \
4674 s
=`cd $(srcdir); ${PWD}`; export s
; \
4676 (cd
tar && $(MAKE
) $(FLAGS_TO_PASS
) install)
4679 .PHONY
: configure-texinfo maybe-configure-texinfo
4680 maybe-configure-texinfo
:
4682 @
test ! -f texinfo
/Makefile || exit
0; \
4683 [ -d texinfo
] || mkdir texinfo
; \
4684 r
=`${PWD}`; export r
; \
4685 s
=`cd $(srcdir); ${PWD}`; export s
; \
4686 CC
="$(CC)"; export CC
; \
4687 CFLAGS
="$(CFLAGS)"; export CFLAGS
; \
4688 CXX
="$(CXX)"; export CXX
; \
4689 CXXFLAGS
="$(CXXFLAGS)"; export CXXFLAGS
; \
4690 if
[ z
$(build_canonical
) != z
$(host_canoncial
) ] ; then \
4691 AR
="$(AR)"; export AR
; \
4692 AS
="$(AS)"; export AS
; \
4693 CC_FOR_BUILD
="$(CC_FOR_BUILD)"; export CC_FOR_BUILD
; \
4694 DLLTOOL
="$(DLLTOOL)"; export DLLTOOL
; \
4695 LD
="$(LD)"; export LD
; \
4696 NM
="$(NM)"; export NM
; \
4697 RANLIB
="$(RANLIB)"; export RANLIB
; \
4698 WINDRES
="$(WINDRES)"; export WINDRES
; \
4699 OBJCOPY
="$(OBJCOPY)"; export OBJCOPY
; \
4700 OBJDUMP
="$(OBJDUMP)"; export OBJDUMP
; \
4702 echo Configuring in texinfo
; \
4703 cd texinfo || exit
1; \
4706 srcdiroption
="--srcdir=."; \
4708 /* |
[A-Za-z
]:[\\/]*) \
4709 srcdiroption
="--srcdir=$(srcdir)/texinfo"; \
4710 libsrcdir
="$$s/texinfo";; \
4712 srcdiroption
="--srcdir=../$(srcdir)/texinfo"; \
4713 libsrcdir
="$$s/texinfo";; \
4715 $(SHELL
) $${libsrcdir}/configure \
4716 $(HOST_CONFIGARGS
) $${srcdiroption} \
4719 .PHONY
: all-texinfo maybe-all-texinfo
4721 all-texinfo
: configure-texinfo
4722 @r
=`${PWD}`; export r
; \
4723 s
=`cd $(srcdir); ${PWD}`; export s
; \
4725 (cd texinfo
&& $(MAKE
) $(FLAGS_TO_PASS
) all)
4728 .PHONY
: check-texinfo
4730 @r
=`${PWD}`; export r
; \
4731 s
=`cd $(srcdir); ${PWD}`; export s
; \
4733 (cd texinfo
&& $(MAKE
) $(FLAGS_TO_PASS
) check)
4737 .PHONY
: install-texinfo maybe-install-texinfo
4738 maybe-install-texinfo
:
4742 .PHONY
: configure-textutils maybe-configure-textutils
4743 maybe-configure-textutils
:
4744 configure-textutils
:
4745 @
test ! -f textutils
/Makefile || exit
0; \
4746 [ -d textutils
] || mkdir textutils
; \
4747 r
=`${PWD}`; export r
; \
4748 s
=`cd $(srcdir); ${PWD}`; export s
; \
4749 CC
="$(CC)"; export CC
; \
4750 CFLAGS
="$(CFLAGS)"; export CFLAGS
; \
4751 CXX
="$(CXX)"; export CXX
; \
4752 CXXFLAGS
="$(CXXFLAGS)"; export CXXFLAGS
; \
4753 if
[ z
$(build_canonical
) != z
$(host_canoncial
) ] ; then \
4754 AR
="$(AR)"; export AR
; \
4755 AS
="$(AS)"; export AS
; \
4756 CC_FOR_BUILD
="$(CC_FOR_BUILD)"; export CC_FOR_BUILD
; \
4757 DLLTOOL
="$(DLLTOOL)"; export DLLTOOL
; \
4758 LD
="$(LD)"; export LD
; \
4759 NM
="$(NM)"; export NM
; \
4760 RANLIB
="$(RANLIB)"; export RANLIB
; \
4761 WINDRES
="$(WINDRES)"; export WINDRES
; \
4762 OBJCOPY
="$(OBJCOPY)"; export OBJCOPY
; \
4763 OBJDUMP
="$(OBJDUMP)"; export OBJDUMP
; \
4765 echo Configuring in textutils
; \
4766 cd textutils || exit
1; \
4769 srcdiroption
="--srcdir=."; \
4771 /* |
[A-Za-z
]:[\\/]*) \
4772 srcdiroption
="--srcdir=$(srcdir)/textutils"; \
4773 libsrcdir
="$$s/textutils";; \
4775 srcdiroption
="--srcdir=../$(srcdir)/textutils"; \
4776 libsrcdir
="$$s/textutils";; \
4778 $(SHELL
) $${libsrcdir}/configure \
4779 $(HOST_CONFIGARGS
) $${srcdiroption} \
4782 .PHONY
: all-textutils maybe-all-textutils
4783 maybe-all-textutils
:
4784 all-textutils
: configure-textutils
4785 @r
=`${PWD}`; export r
; \
4786 s
=`cd $(srcdir); ${PWD}`; export s
; \
4788 (cd textutils
&& $(MAKE
) $(FLAGS_TO_PASS
) all)
4791 .PHONY
: check-textutils
4793 @r
=`${PWD}`; export r
; \
4794 s
=`cd $(srcdir); ${PWD}`; export s
; \
4796 (cd textutils
&& $(MAKE
) $(FLAGS_TO_PASS
) check)
4800 .PHONY
: install-textutils maybe-install-textutils
4801 maybe-install-textutils
:
4802 install-textutils
: installdirs
4803 @r
=`${PWD}`; export r
; \
4804 s
=`cd $(srcdir); ${PWD}`; export s
; \
4806 (cd textutils
&& $(MAKE
) $(FLAGS_TO_PASS
) install)
4809 .PHONY
: configure-time maybe-configure-time
4810 maybe-configure-time
:
4812 @
test ! -f time
/Makefile || exit
0; \
4813 [ -d time
] || mkdir time
; \
4814 r
=`${PWD}`; export r
; \
4815 s
=`cd $(srcdir); ${PWD}`; export s
; \
4816 CC
="$(CC)"; export CC
; \
4817 CFLAGS
="$(CFLAGS)"; export CFLAGS
; \
4818 CXX
="$(CXX)"; export CXX
; \
4819 CXXFLAGS
="$(CXXFLAGS)"; export CXXFLAGS
; \
4820 if
[ z
$(build_canonical
) != z
$(host_canoncial
) ] ; then \
4821 AR
="$(AR)"; export AR
; \
4822 AS
="$(AS)"; export AS
; \
4823 CC_FOR_BUILD
="$(CC_FOR_BUILD)"; export CC_FOR_BUILD
; \
4824 DLLTOOL
="$(DLLTOOL)"; export DLLTOOL
; \
4825 LD
="$(LD)"; export LD
; \
4826 NM
="$(NM)"; export NM
; \
4827 RANLIB
="$(RANLIB)"; export RANLIB
; \
4828 WINDRES
="$(WINDRES)"; export WINDRES
; \
4829 OBJCOPY
="$(OBJCOPY)"; export OBJCOPY
; \
4830 OBJDUMP
="$(OBJDUMP)"; export OBJDUMP
; \
4832 echo Configuring in time
; \
4833 cd time || exit
1; \
4836 srcdiroption
="--srcdir=."; \
4838 /* |
[A-Za-z
]:[\\/]*) \
4839 srcdiroption
="--srcdir=$(srcdir)/time"; \
4840 libsrcdir
="$$s/time";; \
4842 srcdiroption
="--srcdir=../$(srcdir)/time"; \
4843 libsrcdir
="$$s/time";; \
4845 $(SHELL
) $${libsrcdir}/configure \
4846 $(HOST_CONFIGARGS
) $${srcdiroption} \
4849 .PHONY
: all-time maybe-all-time
4851 all-time
: configure-time
4852 @r
=`${PWD}`; export r
; \
4853 s
=`cd $(srcdir); ${PWD}`; export s
; \
4855 (cd time
&& $(MAKE
) $(FLAGS_TO_PASS
) all)
4860 @r
=`${PWD}`; export r
; \
4861 s
=`cd $(srcdir); ${PWD}`; export s
; \
4863 (cd time
&& $(MAKE
) $(FLAGS_TO_PASS
) check)
4867 .PHONY
: install-time maybe-install-time
4869 install-time
: installdirs
4870 @r
=`${PWD}`; export r
; \
4871 s
=`cd $(srcdir); ${PWD}`; export s
; \
4873 (cd time
&& $(MAKE
) $(FLAGS_TO_PASS
) install)
4876 .PHONY
: configure-uudecode maybe-configure-uudecode
4877 maybe-configure-uudecode
:
4879 @
test ! -f uudecode
/Makefile || exit
0; \
4880 [ -d uudecode
] || mkdir uudecode
; \
4881 r
=`${PWD}`; export r
; \
4882 s
=`cd $(srcdir); ${PWD}`; export s
; \
4883 CC
="$(CC)"; export CC
; \
4884 CFLAGS
="$(CFLAGS)"; export CFLAGS
; \
4885 CXX
="$(CXX)"; export CXX
; \
4886 CXXFLAGS
="$(CXXFLAGS)"; export CXXFLAGS
; \
4887 if
[ z
$(build_canonical
) != z
$(host_canoncial
) ] ; then \
4888 AR
="$(AR)"; export AR
; \
4889 AS
="$(AS)"; export AS
; \
4890 CC_FOR_BUILD
="$(CC_FOR_BUILD)"; export CC_FOR_BUILD
; \
4891 DLLTOOL
="$(DLLTOOL)"; export DLLTOOL
; \
4892 LD
="$(LD)"; export LD
; \
4893 NM
="$(NM)"; export NM
; \
4894 RANLIB
="$(RANLIB)"; export RANLIB
; \
4895 WINDRES
="$(WINDRES)"; export WINDRES
; \
4896 OBJCOPY
="$(OBJCOPY)"; export OBJCOPY
; \
4897 OBJDUMP
="$(OBJDUMP)"; export OBJDUMP
; \
4899 echo Configuring in uudecode
; \
4900 cd uudecode || exit
1; \
4903 srcdiroption
="--srcdir=."; \
4905 /* |
[A-Za-z
]:[\\/]*) \
4906 srcdiroption
="--srcdir=$(srcdir)/uudecode"; \
4907 libsrcdir
="$$s/uudecode";; \
4909 srcdiroption
="--srcdir=../$(srcdir)/uudecode"; \
4910 libsrcdir
="$$s/uudecode";; \
4912 $(SHELL
) $${libsrcdir}/configure \
4913 $(HOST_CONFIGARGS
) $${srcdiroption} \
4916 .PHONY
: all-uudecode maybe-all-uudecode
4918 all-uudecode
: configure-uudecode
4919 @r
=`${PWD}`; export r
; \
4920 s
=`cd $(srcdir); ${PWD}`; export s
; \
4922 (cd uudecode
&& $(MAKE
) $(FLAGS_TO_PASS
) all)
4925 .PHONY
: check-uudecode
4927 @r
=`${PWD}`; export r
; \
4928 s
=`cd $(srcdir); ${PWD}`; export s
; \
4930 (cd uudecode
&& $(MAKE
) $(FLAGS_TO_PASS
) check)
4934 .PHONY
: install-uudecode maybe-install-uudecode
4935 maybe-install-uudecode
:
4936 install-uudecode
: installdirs
4937 @r
=`${PWD}`; export r
; \
4938 s
=`cd $(srcdir); ${PWD}`; export s
; \
4940 (cd uudecode
&& $(MAKE
) $(FLAGS_TO_PASS
) install)
4943 .PHONY
: configure-wdiff maybe-configure-wdiff
4944 maybe-configure-wdiff
:
4946 @
test ! -f wdiff
/Makefile || exit
0; \
4947 [ -d wdiff
] || mkdir wdiff
; \
4948 r
=`${PWD}`; export r
; \
4949 s
=`cd $(srcdir); ${PWD}`; export s
; \
4950 CC
="$(CC)"; export CC
; \
4951 CFLAGS
="$(CFLAGS)"; export CFLAGS
; \
4952 CXX
="$(CXX)"; export CXX
; \
4953 CXXFLAGS
="$(CXXFLAGS)"; export CXXFLAGS
; \
4954 if
[ z
$(build_canonical
) != z
$(host_canoncial
) ] ; then \
4955 AR
="$(AR)"; export AR
; \
4956 AS
="$(AS)"; export AS
; \
4957 CC_FOR_BUILD
="$(CC_FOR_BUILD)"; export CC_FOR_BUILD
; \
4958 DLLTOOL
="$(DLLTOOL)"; export DLLTOOL
; \
4959 LD
="$(LD)"; export LD
; \
4960 NM
="$(NM)"; export NM
; \
4961 RANLIB
="$(RANLIB)"; export RANLIB
; \
4962 WINDRES
="$(WINDRES)"; export WINDRES
; \
4963 OBJCOPY
="$(OBJCOPY)"; export OBJCOPY
; \
4964 OBJDUMP
="$(OBJDUMP)"; export OBJDUMP
; \
4966 echo Configuring in wdiff
; \
4967 cd wdiff || exit
1; \
4970 srcdiroption
="--srcdir=."; \
4972 /* |
[A-Za-z
]:[\\/]*) \
4973 srcdiroption
="--srcdir=$(srcdir)/wdiff"; \
4974 libsrcdir
="$$s/wdiff";; \
4976 srcdiroption
="--srcdir=../$(srcdir)/wdiff"; \
4977 libsrcdir
="$$s/wdiff";; \
4979 $(SHELL
) $${libsrcdir}/configure \
4980 $(HOST_CONFIGARGS
) $${srcdiroption} \
4983 .PHONY
: all-wdiff maybe-all-wdiff
4985 all-wdiff
: configure-wdiff
4986 @r
=`${PWD}`; export r
; \
4987 s
=`cd $(srcdir); ${PWD}`; export s
; \
4989 (cd wdiff
&& $(MAKE
) $(FLAGS_TO_PASS
) all)
4994 @r
=`${PWD}`; export r
; \
4995 s
=`cd $(srcdir); ${PWD}`; export s
; \
4997 (cd wdiff
&& $(MAKE
) $(FLAGS_TO_PASS
) check)
5001 .PHONY
: install-wdiff maybe-install-wdiff
5002 maybe-install-wdiff
:
5003 install-wdiff
: installdirs
5004 @r
=`${PWD}`; export r
; \
5005 s
=`cd $(srcdir); ${PWD}`; export s
; \
5007 (cd wdiff
&& $(MAKE
) $(FLAGS_TO_PASS
) install)
5010 .PHONY
: configure-zip maybe-configure-zip
5011 maybe-configure-zip
:
5013 @
test ! -f zip
/Makefile || exit
0; \
5014 [ -d zip
] || mkdir zip
; \
5015 r
=`${PWD}`; export r
; \
5016 s
=`cd $(srcdir); ${PWD}`; export s
; \
5017 CC
="$(CC)"; export CC
; \
5018 CFLAGS
="$(CFLAGS)"; export CFLAGS
; \
5019 CXX
="$(CXX)"; export CXX
; \
5020 CXXFLAGS
="$(CXXFLAGS)"; export CXXFLAGS
; \
5021 if
[ z
$(build_canonical
) != z
$(host_canoncial
) ] ; then \
5022 AR
="$(AR)"; export AR
; \
5023 AS
="$(AS)"; export AS
; \
5024 CC_FOR_BUILD
="$(CC_FOR_BUILD)"; export CC_FOR_BUILD
; \
5025 DLLTOOL
="$(DLLTOOL)"; export DLLTOOL
; \
5026 LD
="$(LD)"; export LD
; \
5027 NM
="$(NM)"; export NM
; \
5028 RANLIB
="$(RANLIB)"; export RANLIB
; \
5029 WINDRES
="$(WINDRES)"; export WINDRES
; \
5030 OBJCOPY
="$(OBJCOPY)"; export OBJCOPY
; \
5031 OBJDUMP
="$(OBJDUMP)"; export OBJDUMP
; \
5033 echo Configuring in zip
; \
5037 srcdiroption
="--srcdir=."; \
5039 /* |
[A-Za-z
]:[\\/]*) \
5040 srcdiroption
="--srcdir=$(srcdir)/zip"; \
5041 libsrcdir
="$$s/zip";; \
5043 srcdiroption
="--srcdir=../$(srcdir)/zip"; \
5044 libsrcdir
="$$s/zip";; \
5046 $(SHELL
) $${libsrcdir}/configure \
5047 $(HOST_CONFIGARGS
) $${srcdiroption} \
5050 .PHONY
: all-zip maybe-all-zip
5052 all-zip
: configure-zip
5053 @r
=`${PWD}`; export r
; \
5054 s
=`cd $(srcdir); ${PWD}`; export s
; \
5056 (cd zip
&& $(MAKE
) $(FLAGS_TO_PASS
) all)
5060 # This module is only tested in a native toolchain.
5062 @if
[ '$(host_canonical)' = '$(target_canonical)' ] ; then \
5063 r
=`${PWD}`; export r
; \
5064 s
=`cd $(srcdir); ${PWD}`; export s
; \
5066 (cd zip
&& $(MAKE
) $(FLAGS_TO_PASS
) check); \
5071 .PHONY
: install-zip maybe-install-zip
5073 install-zip
: installdirs
5074 @r
=`${PWD}`; export r
; \
5075 s
=`cd $(srcdir); ${PWD}`; export s
; \
5077 (cd zip
&& $(MAKE
) $(FLAGS_TO_PASS
) install)
5080 .PHONY
: configure-zlib maybe-configure-zlib
5081 maybe-configure-zlib
:
5083 @
test ! -f zlib
/Makefile || exit
0; \
5084 [ -d zlib
] || mkdir zlib
; \
5085 r
=`${PWD}`; export r
; \
5086 s
=`cd $(srcdir); ${PWD}`; export s
; \
5087 CC
="$(CC)"; export CC
; \
5088 CFLAGS
="$(CFLAGS)"; export CFLAGS
; \
5089 CXX
="$(CXX)"; export CXX
; \
5090 CXXFLAGS
="$(CXXFLAGS)"; export CXXFLAGS
; \
5091 if
[ z
$(build_canonical
) != z
$(host_canoncial
) ] ; then \
5092 AR
="$(AR)"; export AR
; \
5093 AS
="$(AS)"; export AS
; \
5094 CC_FOR_BUILD
="$(CC_FOR_BUILD)"; export CC_FOR_BUILD
; \
5095 DLLTOOL
="$(DLLTOOL)"; export DLLTOOL
; \
5096 LD
="$(LD)"; export LD
; \
5097 NM
="$(NM)"; export NM
; \
5098 RANLIB
="$(RANLIB)"; export RANLIB
; \
5099 WINDRES
="$(WINDRES)"; export WINDRES
; \
5100 OBJCOPY
="$(OBJCOPY)"; export OBJCOPY
; \
5101 OBJDUMP
="$(OBJDUMP)"; export OBJDUMP
; \
5103 echo Configuring in zlib
; \
5104 cd zlib || exit
1; \
5107 srcdiroption
="--srcdir=."; \
5109 /* |
[A-Za-z
]:[\\/]*) \
5110 srcdiroption
="--srcdir=$(srcdir)/zlib"; \
5111 libsrcdir
="$$s/zlib";; \
5113 srcdiroption
="--srcdir=../$(srcdir)/zlib"; \
5114 libsrcdir
="$$s/zlib";; \
5116 $(SHELL
) $${libsrcdir}/configure \
5117 $(HOST_CONFIGARGS
) $${srcdiroption} \
5120 .PHONY
: all-zlib maybe-all-zlib
5122 all-zlib
: configure-zlib
5123 @r
=`${PWD}`; export r
; \
5124 s
=`cd $(srcdir); ${PWD}`; export s
; \
5126 (cd zlib
&& $(MAKE
) $(FLAGS_TO_PASS
) all)
5134 .PHONY
: install-zlib maybe-install-zlib
5139 .PHONY
: configure-gdb maybe-configure-gdb
5140 maybe-configure-gdb
:
5142 @
test ! -f gdb
/Makefile || exit
0; \
5143 [ -d gdb
] || mkdir gdb
; \
5144 r
=`${PWD}`; export r
; \
5145 s
=`cd $(srcdir); ${PWD}`; export s
; \
5146 CC
="$(CC)"; export CC
; \
5147 CFLAGS
="$(CFLAGS)"; export CFLAGS
; \
5148 CXX
="$(CXX)"; export CXX
; \
5149 CXXFLAGS
="$(CXXFLAGS)"; export CXXFLAGS
; \
5150 if
[ z
$(build_canonical
) != z
$(host_canoncial
) ] ; then \
5151 AR
="$(AR)"; export AR
; \
5152 AS
="$(AS)"; export AS
; \
5153 CC_FOR_BUILD
="$(CC_FOR_BUILD)"; export CC_FOR_BUILD
; \
5154 DLLTOOL
="$(DLLTOOL)"; export DLLTOOL
; \
5155 LD
="$(LD)"; export LD
; \
5156 NM
="$(NM)"; export NM
; \
5157 RANLIB
="$(RANLIB)"; export RANLIB
; \
5158 WINDRES
="$(WINDRES)"; export WINDRES
; \
5159 OBJCOPY
="$(OBJCOPY)"; export OBJCOPY
; \
5160 OBJDUMP
="$(OBJDUMP)"; export OBJDUMP
; \
5162 echo Configuring in gdb
; \
5166 srcdiroption
="--srcdir=."; \
5168 /* |
[A-Za-z
]:[\\/]*) \
5169 srcdiroption
="--srcdir=$(srcdir)/gdb"; \
5170 libsrcdir
="$$s/gdb";; \
5172 srcdiroption
="--srcdir=../$(srcdir)/gdb"; \
5173 libsrcdir
="$$s/gdb";; \
5175 $(SHELL
) $${libsrcdir}/configure \
5176 $(HOST_CONFIGARGS
) $${srcdiroption} \
5179 .PHONY
: all-gdb maybe-all-gdb
5181 all-gdb
: configure-gdb
5182 @r
=`${PWD}`; export r
; \
5183 s
=`cd $(srcdir); ${PWD}`; export s
; \
5185 (cd gdb
&& $(MAKE
) $(FLAGS_TO_PASS
) $(X11_FLAGS_TO_PASS
) all)
5190 @r
=`${PWD}`; export r
; \
5191 s
=`cd $(srcdir); ${PWD}`; export s
; \
5193 (cd gdb
&& $(MAKE
) $(FLAGS_TO_PASS
) $(X11_FLAGS_TO_PASS
) check)
5197 .PHONY
: install-gdb maybe-install-gdb
5199 install-gdb
: installdirs
5200 @r
=`${PWD}`; export r
; \
5201 s
=`cd $(srcdir); ${PWD}`; export s
; \
5203 (cd gdb
&& $(MAKE
) $(FLAGS_TO_PASS
) $(X11_FLAGS_TO_PASS
) install)
5206 .PHONY
: configure-expect maybe-configure-expect
5207 maybe-configure-expect
:
5209 @
test ! -f expect
/Makefile || exit
0; \
5210 [ -d expect
] || mkdir expect
; \
5211 r
=`${PWD}`; export r
; \
5212 s
=`cd $(srcdir); ${PWD}`; export s
; \
5213 CC
="$(CC)"; export CC
; \
5214 CFLAGS
="$(CFLAGS)"; export CFLAGS
; \
5215 CXX
="$(CXX)"; export CXX
; \
5216 CXXFLAGS
="$(CXXFLAGS)"; export CXXFLAGS
; \
5217 if
[ z
$(build_canonical
) != z
$(host_canoncial
) ] ; then \
5218 AR
="$(AR)"; export AR
; \
5219 AS
="$(AS)"; export AS
; \
5220 CC_FOR_BUILD
="$(CC_FOR_BUILD)"; export CC_FOR_BUILD
; \
5221 DLLTOOL
="$(DLLTOOL)"; export DLLTOOL
; \
5222 LD
="$(LD)"; export LD
; \
5223 NM
="$(NM)"; export NM
; \
5224 RANLIB
="$(RANLIB)"; export RANLIB
; \
5225 WINDRES
="$(WINDRES)"; export WINDRES
; \
5226 OBJCOPY
="$(OBJCOPY)"; export OBJCOPY
; \
5227 OBJDUMP
="$(OBJDUMP)"; export OBJDUMP
; \
5229 echo Configuring in expect
; \
5230 cd expect || exit
1; \
5233 srcdiroption
="--srcdir=."; \
5235 /* |
[A-Za-z
]:[\\/]*) \
5236 srcdiroption
="--srcdir=$(srcdir)/expect"; \
5237 libsrcdir
="$$s/expect";; \
5239 srcdiroption
="--srcdir=../$(srcdir)/expect"; \
5240 libsrcdir
="$$s/expect";; \
5242 $(SHELL
) $${libsrcdir}/configure \
5243 $(HOST_CONFIGARGS
) $${srcdiroption} \
5246 .PHONY
: all-expect maybe-all-expect
5248 all-expect
: configure-expect
5249 @r
=`${PWD}`; export r
; \
5250 s
=`cd $(srcdir); ${PWD}`; export s
; \
5252 (cd expect
&& $(MAKE
) $(FLAGS_TO_PASS
) $(X11_FLAGS_TO_PASS
) all)
5255 .PHONY
: check-expect
5257 @r
=`${PWD}`; export r
; \
5258 s
=`cd $(srcdir); ${PWD}`; export s
; \
5260 (cd expect
&& $(MAKE
) $(FLAGS_TO_PASS
) $(X11_FLAGS_TO_PASS
) check)
5264 .PHONY
: install-expect maybe-install-expect
5265 maybe-install-expect
:
5266 install-expect
: installdirs
5267 @r
=`${PWD}`; export r
; \
5268 s
=`cd $(srcdir); ${PWD}`; export s
; \
5270 (cd expect
&& $(MAKE
) $(FLAGS_TO_PASS
) $(X11_FLAGS_TO_PASS
) install)
5273 .PHONY
: configure-guile maybe-configure-guile
5274 maybe-configure-guile
:
5276 @
test ! -f guile
/Makefile || exit
0; \
5277 [ -d guile
] || mkdir guile
; \
5278 r
=`${PWD}`; export r
; \
5279 s
=`cd $(srcdir); ${PWD}`; export s
; \
5280 CC
="$(CC)"; export CC
; \
5281 CFLAGS
="$(CFLAGS)"; export CFLAGS
; \
5282 CXX
="$(CXX)"; export CXX
; \
5283 CXXFLAGS
="$(CXXFLAGS)"; export CXXFLAGS
; \
5284 if
[ z
$(build_canonical
) != z
$(host_canoncial
) ] ; then \
5285 AR
="$(AR)"; export AR
; \
5286 AS
="$(AS)"; export AS
; \
5287 CC_FOR_BUILD
="$(CC_FOR_BUILD)"; export CC_FOR_BUILD
; \
5288 DLLTOOL
="$(DLLTOOL)"; export DLLTOOL
; \
5289 LD
="$(LD)"; export LD
; \
5290 NM
="$(NM)"; export NM
; \
5291 RANLIB
="$(RANLIB)"; export RANLIB
; \
5292 WINDRES
="$(WINDRES)"; export WINDRES
; \
5293 OBJCOPY
="$(OBJCOPY)"; export OBJCOPY
; \
5294 OBJDUMP
="$(OBJDUMP)"; export OBJDUMP
; \
5296 echo Configuring in guile
; \
5297 cd guile || exit
1; \
5300 srcdiroption
="--srcdir=."; \
5302 /* |
[A-Za-z
]:[\\/]*) \
5303 srcdiroption
="--srcdir=$(srcdir)/guile"; \
5304 libsrcdir
="$$s/guile";; \
5306 srcdiroption
="--srcdir=../$(srcdir)/guile"; \
5307 libsrcdir
="$$s/guile";; \
5309 $(SHELL
) $${libsrcdir}/configure \
5310 $(HOST_CONFIGARGS
) $${srcdiroption} \
5313 .PHONY
: all-guile maybe-all-guile
5315 all-guile
: configure-guile
5316 @r
=`${PWD}`; export r
; \
5317 s
=`cd $(srcdir); ${PWD}`; export s
; \
5319 (cd guile
&& $(MAKE
) $(FLAGS_TO_PASS
) $(X11_FLAGS_TO_PASS
) all)
5324 @r
=`${PWD}`; export r
; \
5325 s
=`cd $(srcdir); ${PWD}`; export s
; \
5327 (cd guile
&& $(MAKE
) $(FLAGS_TO_PASS
) $(X11_FLAGS_TO_PASS
) check)
5331 .PHONY
: install-guile maybe-install-guile
5332 maybe-install-guile
:
5333 install-guile
: installdirs
5334 @r
=`${PWD}`; export r
; \
5335 s
=`cd $(srcdir); ${PWD}`; export s
; \
5337 (cd guile
&& $(MAKE
) $(FLAGS_TO_PASS
) $(X11_FLAGS_TO_PASS
) install)
5340 .PHONY
: configure-tk maybe-configure-tk
5343 @
test ! -f tk
/Makefile || exit
0; \
5344 [ -d tk
] || mkdir tk
; \
5345 r
=`${PWD}`; export r
; \
5346 s
=`cd $(srcdir); ${PWD}`; export s
; \
5347 CC
="$(CC)"; export CC
; \
5348 CFLAGS
="$(CFLAGS)"; export CFLAGS
; \
5349 CXX
="$(CXX)"; export CXX
; \
5350 CXXFLAGS
="$(CXXFLAGS)"; export CXXFLAGS
; \
5351 if
[ z
$(build_canonical
) != z
$(host_canoncial
) ] ; then \
5352 AR
="$(AR)"; export AR
; \
5353 AS
="$(AS)"; export AS
; \
5354 CC_FOR_BUILD
="$(CC_FOR_BUILD)"; export CC_FOR_BUILD
; \
5355 DLLTOOL
="$(DLLTOOL)"; export DLLTOOL
; \
5356 LD
="$(LD)"; export LD
; \
5357 NM
="$(NM)"; export NM
; \
5358 RANLIB
="$(RANLIB)"; export RANLIB
; \
5359 WINDRES
="$(WINDRES)"; export WINDRES
; \
5360 OBJCOPY
="$(OBJCOPY)"; export OBJCOPY
; \
5361 OBJDUMP
="$(OBJDUMP)"; export OBJDUMP
; \
5363 echo Configuring in tk
; \
5367 srcdiroption
="--srcdir=."; \
5369 /* |
[A-Za-z
]:[\\/]*) \
5370 srcdiroption
="--srcdir=$(srcdir)/tk"; \
5371 libsrcdir
="$$s/tk";; \
5373 srcdiroption
="--srcdir=../$(srcdir)/tk"; \
5374 libsrcdir
="$$s/tk";; \
5376 $(SHELL
) $${libsrcdir}/configure \
5377 $(HOST_CONFIGARGS
) $${srcdiroption} \
5380 .PHONY
: all-tk maybe-all-tk
5382 all-tk
: configure-tk
5383 @r
=`${PWD}`; export r
; \
5384 s
=`cd $(srcdir); ${PWD}`; export s
; \
5386 (cd tk
&& $(MAKE
) $(FLAGS_TO_PASS
) $(X11_FLAGS_TO_PASS
) all)
5391 @r
=`${PWD}`; export r
; \
5392 s
=`cd $(srcdir); ${PWD}`; export s
; \
5394 (cd tk
&& $(MAKE
) $(FLAGS_TO_PASS
) $(X11_FLAGS_TO_PASS
) check)
5398 .PHONY
: install-tk maybe-install-tk
5400 install-tk
: installdirs
5401 @r
=`${PWD}`; export r
; \
5402 s
=`cd $(srcdir); ${PWD}`; export s
; \
5404 (cd tk
&& $(MAKE
) $(FLAGS_TO_PASS
) $(X11_FLAGS_TO_PASS
) install)
5407 .PHONY
: configure-libtermcap maybe-configure-libtermcap
5408 maybe-configure-libtermcap
:
5409 configure-libtermcap
:
5410 @
test ! -f libtermcap
/Makefile || exit
0; \
5411 [ -d libtermcap
] || mkdir libtermcap
; \
5412 r
=`${PWD}`; export r
; \
5413 s
=`cd $(srcdir); ${PWD}`; export s
; \
5414 CC
="$(CC)"; export CC
; \
5415 CFLAGS
="$(CFLAGS)"; export CFLAGS
; \
5416 CXX
="$(CXX)"; export CXX
; \
5417 CXXFLAGS
="$(CXXFLAGS)"; export CXXFLAGS
; \
5418 if
[ z
$(build_canonical
) != z
$(host_canoncial
) ] ; then \
5419 AR
="$(AR)"; export AR
; \
5420 AS
="$(AS)"; export AS
; \
5421 CC_FOR_BUILD
="$(CC_FOR_BUILD)"; export CC_FOR_BUILD
; \
5422 DLLTOOL
="$(DLLTOOL)"; export DLLTOOL
; \
5423 LD
="$(LD)"; export LD
; \
5424 NM
="$(NM)"; export NM
; \
5425 RANLIB
="$(RANLIB)"; export RANLIB
; \
5426 WINDRES
="$(WINDRES)"; export WINDRES
; \
5427 OBJCOPY
="$(OBJCOPY)"; export OBJCOPY
; \
5428 OBJDUMP
="$(OBJDUMP)"; export OBJDUMP
; \
5430 echo Configuring in libtermcap
; \
5431 cd libtermcap || exit
1; \
5434 srcdiroption
="--srcdir=."; \
5436 /* |
[A-Za-z
]:[\\/]*) \
5437 srcdiroption
="--srcdir=$(srcdir)/libtermcap"; \
5438 libsrcdir
="$$s/libtermcap";; \
5440 srcdiroption
="--srcdir=../$(srcdir)/libtermcap"; \
5441 libsrcdir
="$$s/libtermcap";; \
5443 $(SHELL
) $${libsrcdir}/configure \
5444 $(HOST_CONFIGARGS
) $${srcdiroption} \
5447 .PHONY
: all-libtermcap maybe-all-libtermcap
5448 maybe-all-libtermcap
:
5449 all-libtermcap
: configure-libtermcap
5450 @r
=`${PWD}`; export r
; \
5451 s
=`cd $(srcdir); ${PWD}`; export s
; \
5453 (cd libtermcap
&& $(MAKE
) $(FLAGS_TO_PASS
) all)
5456 .PHONY
: check-libtermcap
5461 .PHONY
: install-libtermcap maybe-install-libtermcap
5462 maybe-install-libtermcap
:
5463 install-libtermcap
: installdirs
5464 @r
=`${PWD}`; export r
; \
5465 s
=`cd $(srcdir); ${PWD}`; export s
; \
5467 (cd libtermcap
&& $(MAKE
) $(FLAGS_TO_PASS
) install)
5470 .PHONY
: configure-utils maybe-configure-utils
5471 maybe-configure-utils
:
5473 @
test ! -f utils
/Makefile || exit
0; \
5474 [ -d utils
] || mkdir utils
; \
5475 r
=`${PWD}`; export r
; \
5476 s
=`cd $(srcdir); ${PWD}`; export s
; \
5477 CC
="$(CC)"; export CC
; \
5478 CFLAGS
="$(CFLAGS)"; export CFLAGS
; \
5479 CXX
="$(CXX)"; export CXX
; \
5480 CXXFLAGS
="$(CXXFLAGS)"; export CXXFLAGS
; \
5481 if
[ z
$(build_canonical
) != z
$(host_canoncial
) ] ; then \
5482 AR
="$(AR)"; export AR
; \
5483 AS
="$(AS)"; export AS
; \
5484 CC_FOR_BUILD
="$(CC_FOR_BUILD)"; export CC_FOR_BUILD
; \
5485 DLLTOOL
="$(DLLTOOL)"; export DLLTOOL
; \
5486 LD
="$(LD)"; export LD
; \
5487 NM
="$(NM)"; export NM
; \
5488 RANLIB
="$(RANLIB)"; export RANLIB
; \
5489 WINDRES
="$(WINDRES)"; export WINDRES
; \
5490 OBJCOPY
="$(OBJCOPY)"; export OBJCOPY
; \
5491 OBJDUMP
="$(OBJDUMP)"; export OBJDUMP
; \
5493 echo Configuring in utils
; \
5494 cd utils || exit
1; \
5497 srcdiroption
="--srcdir=."; \
5499 /* |
[A-Za-z
]:[\\/]*) \
5500 srcdiroption
="--srcdir=$(srcdir)/utils"; \
5501 libsrcdir
="$$s/utils";; \
5503 srcdiroption
="--srcdir=../$(srcdir)/utils"; \
5504 libsrcdir
="$$s/utils";; \
5506 $(SHELL
) $${libsrcdir}/configure \
5507 $(HOST_CONFIGARGS
) $${srcdiroption} \
5510 .PHONY
: all-utils maybe-all-utils
5512 all-utils
: configure-utils
5513 @r
=`${PWD}`; export r
; \
5514 s
=`cd $(srcdir); ${PWD}`; export s
; \
5516 (cd utils
&& $(MAKE
) $(FLAGS_TO_PASS
) all)
5524 .PHONY
: install-utils maybe-install-utils
5525 maybe-install-utils
:
5526 install-utils
: installdirs
5527 @r
=`${PWD}`; export r
; \
5528 s
=`cd $(srcdir); ${PWD}`; export s
; \
5530 (cd utils
&& $(MAKE
) $(FLAGS_TO_PASS
) install)
5534 # ---------------------------------------
5535 # Modules which run on the target machine
5536 # ---------------------------------------
5538 .PHONY
: configure-target-libstdc
++-v3 maybe-configure-target-libstdc
++-v3
5539 maybe-configure-target-libstdc
++-v3
:
5541 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
5542 $(TARGET_SUBDIR
)/libstdc
++-v3
/multilib.out
: multilib.out
5543 @
[ -d
$(TARGET_SUBDIR
)/libstdc
++-v3
] || \
5544 mkdir
$(TARGET_SUBDIR
)/libstdc
++-v3
; \
5545 rm -f
$(TARGET_SUBDIR
)/libstdc
++-v3
/Makefile ||
: ; \
5546 cp multilib.out
$(TARGET_SUBDIR
)/libstdc
++-v3
/multilib.out
5548 configure-target-libstdc
++-v3
: $(TARGET_SUBDIR
)/libstdc
++-v3
/multilib.out
5549 @
test ! -f
$(TARGET_SUBDIR
)/libstdc
++-v3
/Makefile || exit
0; \
5550 [ -d
$(TARGET_SUBDIR
)/libstdc
++-v3
] || \
5551 mkdir
$(TARGET_SUBDIR
)/libstdc
++-v3
;\
5552 r
=`${PWD}`; export r
; \
5553 s
=`cd $(srcdir); ${PWD}`; export s
; \
5555 AR
="$(AR_FOR_TARGET)"; export AR
; \
5556 AS
="$(AS_FOR_TARGET)"; export AS
; \
5557 CC
="$(CC_FOR_TARGET)"; export CC
; \
5558 CFLAGS
="$(CFLAGS_FOR_TARGET)"; export CFLAGS
; \
5559 CPPFLAGS
="$(CFLAGS_FOR_TARGET)"; export CPPFLAGS
; \
5560 CXX_FOR_TARGET
="$(RAW_CXX_FOR_TARGET)"; export CXX_FOR_TARGET
; \
5561 CXX
="$(RAW_CXX_FOR_TARGET)"; export CXX
; \
5562 CXXFLAGS
="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS
; \
5563 GCJ
="$(GCJ_FOR_TARGET)"; export GCJ
; \
5564 DLLTOOL
="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL
; \
5565 LD
="$(LD_FOR_TARGET)"; export LD
; \
5566 LDFLAGS
="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS
; \
5567 NM
="$(NM_FOR_TARGET)"; export NM
; \
5568 RANLIB
="$(RANLIB_FOR_TARGET)"; export RANLIB
; \
5569 WINDRES
="$(WINDRES_FOR_TARGET)"; export WINDRES
; \
5570 echo Configuring in
$(TARGET_SUBDIR
)/libstdc
++-v3
; \
5571 cd
"$(TARGET_SUBDIR)/libstdc++-v3" || exit
1; \
5573 /* |
[A-Za-z
]:[\\/]*) \
5574 topdir
=$(srcdir) ;; \
5576 case
"$(TARGET_SUBDIR)" in \
5577 .
) topdir
="../$(srcdir)" ;; \
5578 *) topdir
="../../$(srcdir)" ;; \
5581 if
[ "$(srcdir)" = "." ] ; then \
5582 if
[ "$(TARGET_SUBDIR)" != "." ] ; then \
5583 if
$(SHELL
) $$s/symlink-tree
$${topdir}/libstdc
++-v3
"no-such-file" ; then \
5584 if
[ -f Makefile
]; then \
5585 if
$(MAKE
) distclean; then \
5599 srcdiroption
="--srcdir=."; \
5602 srcdiroption
="--srcdir=$${topdir}/libstdc++-v3"; \
5603 libsrcdir
="$$s/libstdc++-v3"; \
5605 rm -f no-such-file ||
: ; \
5606 CONFIG_SITE
=no-such-file
$(SHELL
) $${libsrcdir}/configure \
5607 $(TARGET_CONFIGARGS
) $${srcdiroption} \
5608 --with-target-subdir
="$(TARGET_SUBDIR)" \
5611 .PHONY
: all-target-libstdc
++-v3 maybe-all-target-libstdc
++-v3
5612 maybe-all-target-libstdc
++-v3
:
5613 all-target-libstdc
++-v3
: configure-target-libstdc
++-v3
5614 @r
=`${PWD}`; export r
; \
5615 s
=`cd $(srcdir); ${PWD}`; export s
; \
5617 (cd
$(TARGET_SUBDIR
)/libstdc
++-v3
&& \
5618 $(MAKE
) $(TARGET_FLAGS_TO_PASS
) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' all)
5620 .PHONY
: check-target-libstdc
++-v3
5621 check-target-libstdc
++-v3
:
5622 @r
=`${PWD}`; export r
; \
5623 s
=`cd $(srcdir); ${PWD}`; export s
; \
5625 (cd
$(TARGET_SUBDIR
)/libstdc
++-v3
&& \
5626 $(MAKE
) $(TARGET_FLAGS_TO_PASS
) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' check)
5629 .PHONY
: install-target-libstdc
++-v3 maybe-install-target-libstdc
++-v3
5630 maybe-install-target-libstdc
++-v3
:
5631 install-target-libstdc
++-v3
: installdirs
5632 @r
=`${PWD}`; export r
; \
5633 s
=`cd $(srcdir); ${PWD}`; export s
; \
5635 (cd
$(TARGET_SUBDIR
)/libstdc
++-v3
&& \
5636 $(MAKE
) $(TARGET_FLAGS_TO_PASS
) install)
5639 .PHONY
: configure-target-newlib maybe-configure-target-newlib
5640 maybe-configure-target-newlib
:
5642 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
5643 $(TARGET_SUBDIR
)/newlib
/multilib.out
: multilib.out
5644 @
[ -d
$(TARGET_SUBDIR
)/newlib
] || \
5645 mkdir
$(TARGET_SUBDIR
)/newlib
; \
5646 rm -f
$(TARGET_SUBDIR
)/newlib
/Makefile ||
: ; \
5647 cp multilib.out
$(TARGET_SUBDIR
)/newlib
/multilib.out
5649 configure-target-newlib
: $(TARGET_SUBDIR
)/newlib
/multilib.out
5650 @
test ! -f
$(TARGET_SUBDIR
)/newlib
/Makefile || exit
0; \
5651 [ -d
$(TARGET_SUBDIR
)/newlib
] || \
5652 mkdir
$(TARGET_SUBDIR
)/newlib
;\
5653 r
=`${PWD}`; export r
; \
5654 s
=`cd $(srcdir); ${PWD}`; export s
; \
5656 AR
="$(AR_FOR_TARGET)"; export AR
; \
5657 AS
="$(AS_FOR_TARGET)"; export AS
; \
5658 CC
="$(CC_FOR_TARGET)"; export CC
; \
5659 CFLAGS
="$(CFLAGS_FOR_TARGET)"; export CFLAGS
; \
5660 CPPFLAGS
="$(CFLAGS_FOR_TARGET)"; export CPPFLAGS
; \
5661 CXX
="$(CXX_FOR_TARGET)"; export CXX
; \
5662 CXXFLAGS
="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS
; \
5663 GCJ
="$(GCJ_FOR_TARGET)"; export GCJ
; \
5664 DLLTOOL
="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL
; \
5665 LD
="$(LD_FOR_TARGET)"; export LD
; \
5666 LDFLAGS
="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS
; \
5667 NM
="$(NM_FOR_TARGET)"; export NM
; \
5668 RANLIB
="$(RANLIB_FOR_TARGET)"; export RANLIB
; \
5669 WINDRES
="$(WINDRES_FOR_TARGET)"; export WINDRES
; \
5670 echo Configuring in
$(TARGET_SUBDIR
)/newlib
; \
5671 cd
"$(TARGET_SUBDIR)/newlib" || exit
1; \
5673 /* |
[A-Za-z
]:[\\/]*) \
5674 topdir
=$(srcdir) ;; \
5676 case
"$(TARGET_SUBDIR)" in \
5677 .
) topdir
="../$(srcdir)" ;; \
5678 *) topdir
="../../$(srcdir)" ;; \
5681 if
[ "$(srcdir)" = "." ] ; then \
5682 if
[ "$(TARGET_SUBDIR)" != "." ] ; then \
5683 if
$(SHELL
) $$s/symlink-tree
$${topdir}/newlib
"no-such-file" ; then \
5684 if
[ -f Makefile
]; then \
5685 if
$(MAKE
) distclean; then \
5699 srcdiroption
="--srcdir=."; \
5702 srcdiroption
="--srcdir=$${topdir}/newlib"; \
5703 libsrcdir
="$$s/newlib"; \
5705 rm -f no-such-file ||
: ; \
5706 CONFIG_SITE
=no-such-file
$(SHELL
) $${libsrcdir}/configure \
5707 $(TARGET_CONFIGARGS
) $${srcdiroption} \
5708 --with-target-subdir
="$(TARGET_SUBDIR)" \
5711 .PHONY
: all-target-newlib maybe-all-target-newlib
5712 maybe-all-target-newlib
:
5713 all-target-newlib
: configure-target-newlib
5714 @r
=`${PWD}`; export r
; \
5715 s
=`cd $(srcdir); ${PWD}`; export s
; \
5717 (cd
$(TARGET_SUBDIR
)/newlib
&& \
5718 $(MAKE
) $(TARGET_FLAGS_TO_PASS
) all)
5720 .PHONY
: check-target-newlib
5721 check-target-newlib
:
5722 @r
=`${PWD}`; export r
; \
5723 s
=`cd $(srcdir); ${PWD}`; export s
; \
5725 (cd
$(TARGET_SUBDIR
)/newlib
&& \
5726 $(MAKE
) $(TARGET_FLAGS_TO_PASS
) check)
5729 .PHONY
: install-target-newlib maybe-install-target-newlib
5730 maybe-install-target-newlib
:
5731 install-target-newlib
: installdirs
5732 @r
=`${PWD}`; export r
; \
5733 s
=`cd $(srcdir); ${PWD}`; export s
; \
5735 (cd
$(TARGET_SUBDIR
)/newlib
&& \
5736 $(MAKE
) $(TARGET_FLAGS_TO_PASS
) install)
5739 .PHONY
: configure-target-libf2c maybe-configure-target-libf2c
5740 maybe-configure-target-libf2c
:
5742 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
5743 $(TARGET_SUBDIR
)/libf2c
/multilib.out
: multilib.out
5744 @
[ -d
$(TARGET_SUBDIR
)/libf2c
] || \
5745 mkdir
$(TARGET_SUBDIR
)/libf2c
; \
5746 rm -f
$(TARGET_SUBDIR
)/libf2c
/Makefile ||
: ; \
5747 cp multilib.out
$(TARGET_SUBDIR
)/libf2c
/multilib.out
5749 configure-target-libf2c
: $(TARGET_SUBDIR
)/libf2c
/multilib.out
5750 @
test ! -f
$(TARGET_SUBDIR
)/libf2c
/Makefile || exit
0; \
5751 [ -d
$(TARGET_SUBDIR
)/libf2c
] || \
5752 mkdir
$(TARGET_SUBDIR
)/libf2c
;\
5753 r
=`${PWD}`; export r
; \
5754 s
=`cd $(srcdir); ${PWD}`; export s
; \
5756 AR
="$(AR_FOR_TARGET)"; export AR
; \
5757 AS
="$(AS_FOR_TARGET)"; export AS
; \
5758 CC
="$(CC_FOR_TARGET)"; export CC
; \
5759 CFLAGS
="$(CFLAGS_FOR_TARGET)"; export CFLAGS
; \
5760 CPPFLAGS
="$(CFLAGS_FOR_TARGET)"; export CPPFLAGS
; \
5761 CXX
="$(CXX_FOR_TARGET)"; export CXX
; \
5762 CXXFLAGS
="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS
; \
5763 GCJ
="$(GCJ_FOR_TARGET)"; export GCJ
; \
5764 DLLTOOL
="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL
; \
5765 LD
="$(LD_FOR_TARGET)"; export LD
; \
5766 LDFLAGS
="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS
; \
5767 NM
="$(NM_FOR_TARGET)"; export NM
; \
5768 RANLIB
="$(RANLIB_FOR_TARGET)"; export RANLIB
; \
5769 WINDRES
="$(WINDRES_FOR_TARGET)"; export WINDRES
; \
5770 echo Configuring in
$(TARGET_SUBDIR
)/libf2c
; \
5771 cd
"$(TARGET_SUBDIR)/libf2c" || exit
1; \
5773 /* |
[A-Za-z
]:[\\/]*) \
5774 topdir
=$(srcdir) ;; \
5776 case
"$(TARGET_SUBDIR)" in \
5777 .
) topdir
="../$(srcdir)" ;; \
5778 *) topdir
="../../$(srcdir)" ;; \
5781 if
[ "$(srcdir)" = "." ] ; then \
5782 if
[ "$(TARGET_SUBDIR)" != "." ] ; then \
5783 if
$(SHELL
) $$s/symlink-tree
$${topdir}/libf2c
"no-such-file" ; then \
5784 if
[ -f Makefile
]; then \
5785 if
$(MAKE
) distclean; then \
5799 srcdiroption
="--srcdir=."; \
5802 srcdiroption
="--srcdir=$${topdir}/libf2c"; \
5803 libsrcdir
="$$s/libf2c"; \
5805 rm -f no-such-file ||
: ; \
5806 CONFIG_SITE
=no-such-file
$(SHELL
) $${libsrcdir}/configure \
5807 $(TARGET_CONFIGARGS
) $${srcdiroption} \
5808 --with-target-subdir
="$(TARGET_SUBDIR)" \
5811 .PHONY
: all-target-libf2c maybe-all-target-libf2c
5812 maybe-all-target-libf2c
:
5813 all-target-libf2c
: configure-target-libf2c
5814 @r
=`${PWD}`; export r
; \
5815 s
=`cd $(srcdir); ${PWD}`; export s
; \
5817 (cd
$(TARGET_SUBDIR
)/libf2c
&& \
5818 $(MAKE
) $(TARGET_FLAGS_TO_PASS
) all)
5820 .PHONY
: check-target-libf2c
5821 check-target-libf2c
:
5822 @r
=`${PWD}`; export r
; \
5823 s
=`cd $(srcdir); ${PWD}`; export s
; \
5825 (cd
$(TARGET_SUBDIR
)/libf2c
&& \
5826 $(MAKE
) $(TARGET_FLAGS_TO_PASS
) check)
5829 .PHONY
: install-target-libf2c maybe-install-target-libf2c
5830 maybe-install-target-libf2c
:
5831 install-target-libf2c
: installdirs
5832 @r
=`${PWD}`; export r
; \
5833 s
=`cd $(srcdir); ${PWD}`; export s
; \
5835 (cd
$(TARGET_SUBDIR
)/libf2c
&& \
5836 $(MAKE
) $(TARGET_FLAGS_TO_PASS
) install)
5839 .PHONY
: configure-target-libobjc maybe-configure-target-libobjc
5840 maybe-configure-target-libobjc
:
5842 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
5843 $(TARGET_SUBDIR
)/libobjc
/multilib.out
: multilib.out
5844 @
[ -d
$(TARGET_SUBDIR
)/libobjc
] || \
5845 mkdir
$(TARGET_SUBDIR
)/libobjc
; \
5846 rm -f
$(TARGET_SUBDIR
)/libobjc
/Makefile ||
: ; \
5847 cp multilib.out
$(TARGET_SUBDIR
)/libobjc
/multilib.out
5849 configure-target-libobjc
: $(TARGET_SUBDIR
)/libobjc
/multilib.out
5850 @
test ! -f
$(TARGET_SUBDIR
)/libobjc
/Makefile || exit
0; \
5851 [ -d
$(TARGET_SUBDIR
)/libobjc
] || \
5852 mkdir
$(TARGET_SUBDIR
)/libobjc
;\
5853 r
=`${PWD}`; export r
; \
5854 s
=`cd $(srcdir); ${PWD}`; export s
; \
5856 AR
="$(AR_FOR_TARGET)"; export AR
; \
5857 AS
="$(AS_FOR_TARGET)"; export AS
; \
5858 CC
="$(CC_FOR_TARGET)"; export CC
; \
5859 CFLAGS
="$(CFLAGS_FOR_TARGET)"; export CFLAGS
; \
5860 CPPFLAGS
="$(CFLAGS_FOR_TARGET)"; export CPPFLAGS
; \
5861 CXX
="$(CXX_FOR_TARGET)"; export CXX
; \
5862 CXXFLAGS
="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS
; \
5863 GCJ
="$(GCJ_FOR_TARGET)"; export GCJ
; \
5864 DLLTOOL
="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL
; \
5865 LD
="$(LD_FOR_TARGET)"; export LD
; \
5866 LDFLAGS
="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS
; \
5867 NM
="$(NM_FOR_TARGET)"; export NM
; \
5868 RANLIB
="$(RANLIB_FOR_TARGET)"; export RANLIB
; \
5869 WINDRES
="$(WINDRES_FOR_TARGET)"; export WINDRES
; \
5870 echo Configuring in
$(TARGET_SUBDIR
)/libobjc
; \
5871 cd
"$(TARGET_SUBDIR)/libobjc" || exit
1; \
5873 /* |
[A-Za-z
]:[\\/]*) \
5874 topdir
=$(srcdir) ;; \
5876 case
"$(TARGET_SUBDIR)" in \
5877 .
) topdir
="../$(srcdir)" ;; \
5878 *) topdir
="../../$(srcdir)" ;; \
5881 if
[ "$(srcdir)" = "." ] ; then \
5882 if
[ "$(TARGET_SUBDIR)" != "." ] ; then \
5883 if
$(SHELL
) $$s/symlink-tree
$${topdir}/libobjc
"no-such-file" ; then \
5884 if
[ -f Makefile
]; then \
5885 if
$(MAKE
) distclean; then \
5899 srcdiroption
="--srcdir=."; \
5902 srcdiroption
="--srcdir=$${topdir}/libobjc"; \
5903 libsrcdir
="$$s/libobjc"; \
5905 rm -f no-such-file ||
: ; \
5906 CONFIG_SITE
=no-such-file
$(SHELL
) $${libsrcdir}/configure \
5907 $(TARGET_CONFIGARGS
) $${srcdiroption} \
5908 --with-target-subdir
="$(TARGET_SUBDIR)" \
5911 .PHONY
: all-target-libobjc maybe-all-target-libobjc
5912 maybe-all-target-libobjc
:
5913 all-target-libobjc
: configure-target-libobjc
5914 @r
=`${PWD}`; export r
; \
5915 s
=`cd $(srcdir); ${PWD}`; export s
; \
5917 (cd
$(TARGET_SUBDIR
)/libobjc
&& \
5918 $(MAKE
) $(TARGET_FLAGS_TO_PASS
) all)
5920 .PHONY
: check-target-libobjc
5921 check-target-libobjc
:
5922 @r
=`${PWD}`; export r
; \
5923 s
=`cd $(srcdir); ${PWD}`; export s
; \
5925 (cd
$(TARGET_SUBDIR
)/libobjc
&& \
5926 $(MAKE
) $(TARGET_FLAGS_TO_PASS
) check)
5929 .PHONY
: install-target-libobjc maybe-install-target-libobjc
5930 maybe-install-target-libobjc
:
5931 install-target-libobjc
: installdirs
5932 @r
=`${PWD}`; export r
; \
5933 s
=`cd $(srcdir); ${PWD}`; export s
; \
5935 (cd
$(TARGET_SUBDIR
)/libobjc
&& \
5936 $(MAKE
) $(TARGET_FLAGS_TO_PASS
) install)
5939 .PHONY
: configure-target-libtermcap maybe-configure-target-libtermcap
5940 maybe-configure-target-libtermcap
:
5942 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
5943 $(TARGET_SUBDIR
)/libtermcap
/multilib.out
: multilib.out
5944 @
[ -d
$(TARGET_SUBDIR
)/libtermcap
] || \
5945 mkdir
$(TARGET_SUBDIR
)/libtermcap
; \
5946 rm -f
$(TARGET_SUBDIR
)/libtermcap
/Makefile ||
: ; \
5947 cp multilib.out
$(TARGET_SUBDIR
)/libtermcap
/multilib.out
5949 configure-target-libtermcap
: $(TARGET_SUBDIR
)/libtermcap
/multilib.out
5950 @
test ! -f
$(TARGET_SUBDIR
)/libtermcap
/Makefile || exit
0; \
5951 [ -d
$(TARGET_SUBDIR
)/libtermcap
] || \
5952 mkdir
$(TARGET_SUBDIR
)/libtermcap
;\
5953 r
=`${PWD}`; export r
; \
5954 s
=`cd $(srcdir); ${PWD}`; export s
; \
5956 AR
="$(AR_FOR_TARGET)"; export AR
; \
5957 AS
="$(AS_FOR_TARGET)"; export AS
; \
5958 CC
="$(CC_FOR_TARGET)"; export CC
; \
5959 CFLAGS
="$(CFLAGS_FOR_TARGET)"; export CFLAGS
; \
5960 CPPFLAGS
="$(CFLAGS_FOR_TARGET)"; export CPPFLAGS
; \
5961 CXX
="$(CXX_FOR_TARGET)"; export CXX
; \
5962 CXXFLAGS
="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS
; \
5963 GCJ
="$(GCJ_FOR_TARGET)"; export GCJ
; \
5964 DLLTOOL
="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL
; \
5965 LD
="$(LD_FOR_TARGET)"; export LD
; \
5966 LDFLAGS
="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS
; \
5967 NM
="$(NM_FOR_TARGET)"; export NM
; \
5968 RANLIB
="$(RANLIB_FOR_TARGET)"; export RANLIB
; \
5969 WINDRES
="$(WINDRES_FOR_TARGET)"; export WINDRES
; \
5970 echo Configuring in
$(TARGET_SUBDIR
)/libtermcap
; \
5971 cd
"$(TARGET_SUBDIR)/libtermcap" || exit
1; \
5973 /* |
[A-Za-z
]:[\\/]*) \
5974 topdir
=$(srcdir) ;; \
5976 case
"$(TARGET_SUBDIR)" in \
5977 .
) topdir
="../$(srcdir)" ;; \
5978 *) topdir
="../../$(srcdir)" ;; \
5981 if
[ "$(srcdir)" = "." ] ; then \
5982 if
[ "$(TARGET_SUBDIR)" != "." ] ; then \
5983 if
$(SHELL
) $$s/symlink-tree
$${topdir}/libtermcap
"no-such-file" ; then \
5984 if
[ -f Makefile
]; then \
5985 if
$(MAKE
) distclean; then \
5999 srcdiroption
="--srcdir=."; \
6002 srcdiroption
="--srcdir=$${topdir}/libtermcap"; \
6003 libsrcdir
="$$s/libtermcap"; \
6005 rm -f no-such-file ||
: ; \
6006 CONFIG_SITE
=no-such-file
$(SHELL
) $${libsrcdir}/configure \
6007 $(TARGET_CONFIGARGS
) $${srcdiroption} \
6008 --with-target-subdir
="$(TARGET_SUBDIR)" \
6011 .PHONY
: all-target-libtermcap maybe-all-target-libtermcap
6012 maybe-all-target-libtermcap
:
6013 all-target-libtermcap
: configure-target-libtermcap
6014 @r
=`${PWD}`; export r
; \
6015 s
=`cd $(srcdir); ${PWD}`; export s
; \
6017 (cd
$(TARGET_SUBDIR
)/libtermcap
&& \
6018 $(MAKE
) $(TARGET_FLAGS_TO_PASS
) all)
6020 # Dummy target for uncheckable module.
6021 .PHONY
: check-target-libtermcap
6022 check-target-libtermcap
:
6025 .PHONY
: install-target-libtermcap maybe-install-target-libtermcap
6026 maybe-install-target-libtermcap
:
6027 install-target-libtermcap
: installdirs
6028 @r
=`${PWD}`; export r
; \
6029 s
=`cd $(srcdir); ${PWD}`; export s
; \
6031 (cd
$(TARGET_SUBDIR
)/libtermcap
&& \
6032 $(MAKE
) $(TARGET_FLAGS_TO_PASS
) install)
6035 .PHONY
: configure-target-winsup maybe-configure-target-winsup
6036 maybe-configure-target-winsup
:
6038 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
6039 $(TARGET_SUBDIR
)/winsup
/multilib.out
: multilib.out
6040 @
[ -d
$(TARGET_SUBDIR
)/winsup
] || \
6041 mkdir
$(TARGET_SUBDIR
)/winsup
; \
6042 rm -f
$(TARGET_SUBDIR
)/winsup
/Makefile ||
: ; \
6043 cp multilib.out
$(TARGET_SUBDIR
)/winsup
/multilib.out
6045 configure-target-winsup
: $(TARGET_SUBDIR
)/winsup
/multilib.out
6046 @
test ! -f
$(TARGET_SUBDIR
)/winsup
/Makefile || exit
0; \
6047 [ -d
$(TARGET_SUBDIR
)/winsup
] || \
6048 mkdir
$(TARGET_SUBDIR
)/winsup
;\
6049 r
=`${PWD}`; export r
; \
6050 s
=`cd $(srcdir); ${PWD}`; export s
; \
6052 AR
="$(AR_FOR_TARGET)"; export AR
; \
6053 AS
="$(AS_FOR_TARGET)"; export AS
; \
6054 CC
="$(CC_FOR_TARGET)"; export CC
; \
6055 CFLAGS
="$(CFLAGS_FOR_TARGET)"; export CFLAGS
; \
6056 CPPFLAGS
="$(CFLAGS_FOR_TARGET)"; export CPPFLAGS
; \
6057 CXX
="$(CXX_FOR_TARGET)"; export CXX
; \
6058 CXXFLAGS
="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS
; \
6059 GCJ
="$(GCJ_FOR_TARGET)"; export GCJ
; \
6060 DLLTOOL
="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL
; \
6061 LD
="$(LD_FOR_TARGET)"; export LD
; \
6062 LDFLAGS
="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS
; \
6063 NM
="$(NM_FOR_TARGET)"; export NM
; \
6064 RANLIB
="$(RANLIB_FOR_TARGET)"; export RANLIB
; \
6065 WINDRES
="$(WINDRES_FOR_TARGET)"; export WINDRES
; \
6066 echo Configuring in
$(TARGET_SUBDIR
)/winsup
; \
6067 cd
"$(TARGET_SUBDIR)/winsup" || exit
1; \
6069 /* |
[A-Za-z
]:[\\/]*) \
6070 topdir
=$(srcdir) ;; \
6072 case
"$(TARGET_SUBDIR)" in \
6073 .
) topdir
="../$(srcdir)" ;; \
6074 *) topdir
="../../$(srcdir)" ;; \
6077 if
[ "$(srcdir)" = "." ] ; then \
6078 if
[ "$(TARGET_SUBDIR)" != "." ] ; then \
6079 if
$(SHELL
) $$s/symlink-tree
$${topdir}/winsup
"no-such-file" ; then \
6080 if
[ -f Makefile
]; then \
6081 if
$(MAKE
) distclean; then \
6095 srcdiroption
="--srcdir=."; \
6098 srcdiroption
="--srcdir=$${topdir}/winsup"; \
6099 libsrcdir
="$$s/winsup"; \
6101 rm -f no-such-file ||
: ; \
6102 CONFIG_SITE
=no-such-file
$(SHELL
) $${libsrcdir}/configure \
6103 $(TARGET_CONFIGARGS
) $${srcdiroption} \
6104 --with-target-subdir
="$(TARGET_SUBDIR)" \
6107 .PHONY
: all-target-winsup maybe-all-target-winsup
6108 maybe-all-target-winsup
:
6109 all-target-winsup
: configure-target-winsup
6110 @r
=`${PWD}`; export r
; \
6111 s
=`cd $(srcdir); ${PWD}`; export s
; \
6113 (cd
$(TARGET_SUBDIR
)/winsup
&& \
6114 $(MAKE
) $(TARGET_FLAGS_TO_PASS
) all)
6116 .PHONY
: check-target-winsup
6117 check-target-winsup
:
6118 @r
=`${PWD}`; export r
; \
6119 s
=`cd $(srcdir); ${PWD}`; export s
; \
6121 (cd
$(TARGET_SUBDIR
)/winsup
&& \
6122 $(MAKE
) $(TARGET_FLAGS_TO_PASS
) check)
6125 .PHONY
: install-target-winsup maybe-install-target-winsup
6126 maybe-install-target-winsup
:
6127 install-target-winsup
: installdirs
6128 @r
=`${PWD}`; export r
; \
6129 s
=`cd $(srcdir); ${PWD}`; export s
; \
6131 (cd
$(TARGET_SUBDIR
)/winsup
&& \
6132 $(MAKE
) $(TARGET_FLAGS_TO_PASS
) install)
6135 .PHONY
: configure-target-libgloss maybe-configure-target-libgloss
6136 maybe-configure-target-libgloss
:
6138 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
6139 $(TARGET_SUBDIR
)/libgloss
/multilib.out
: multilib.out
6140 @
[ -d
$(TARGET_SUBDIR
)/libgloss
] || \
6141 mkdir
$(TARGET_SUBDIR
)/libgloss
; \
6142 rm -f
$(TARGET_SUBDIR
)/libgloss
/Makefile ||
: ; \
6143 cp multilib.out
$(TARGET_SUBDIR
)/libgloss
/multilib.out
6145 configure-target-libgloss
: $(TARGET_SUBDIR
)/libgloss
/multilib.out
6146 @
test ! -f
$(TARGET_SUBDIR
)/libgloss
/Makefile || exit
0; \
6147 [ -d
$(TARGET_SUBDIR
)/libgloss
] || \
6148 mkdir
$(TARGET_SUBDIR
)/libgloss
;\
6149 r
=`${PWD}`; export r
; \
6150 s
=`cd $(srcdir); ${PWD}`; export s
; \
6152 AR
="$(AR_FOR_TARGET)"; export AR
; \
6153 AS
="$(AS_FOR_TARGET)"; export AS
; \
6154 CC
="$(CC_FOR_TARGET)"; export CC
; \
6155 CFLAGS
="$(CFLAGS_FOR_TARGET)"; export CFLAGS
; \
6156 CPPFLAGS
="$(CFLAGS_FOR_TARGET)"; export CPPFLAGS
; \
6157 CXX
="$(CXX_FOR_TARGET)"; export CXX
; \
6158 CXXFLAGS
="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS
; \
6159 GCJ
="$(GCJ_FOR_TARGET)"; export GCJ
; \
6160 DLLTOOL
="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL
; \
6161 LD
="$(LD_FOR_TARGET)"; export LD
; \
6162 LDFLAGS
="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS
; \
6163 NM
="$(NM_FOR_TARGET)"; export NM
; \
6164 RANLIB
="$(RANLIB_FOR_TARGET)"; export RANLIB
; \
6165 WINDRES
="$(WINDRES_FOR_TARGET)"; export WINDRES
; \
6166 echo Configuring in
$(TARGET_SUBDIR
)/libgloss
; \
6167 cd
"$(TARGET_SUBDIR)/libgloss" || exit
1; \
6169 /* |
[A-Za-z
]:[\\/]*) \
6170 topdir
=$(srcdir) ;; \
6172 case
"$(TARGET_SUBDIR)" in \
6173 .
) topdir
="../$(srcdir)" ;; \
6174 *) topdir
="../../$(srcdir)" ;; \
6177 if
[ "$(srcdir)" = "." ] ; then \
6178 if
[ "$(TARGET_SUBDIR)" != "." ] ; then \
6179 if
$(SHELL
) $$s/symlink-tree
$${topdir}/libgloss
"no-such-file" ; then \
6180 if
[ -f Makefile
]; then \
6181 if
$(MAKE
) distclean; then \
6195 srcdiroption
="--srcdir=."; \
6198 srcdiroption
="--srcdir=$${topdir}/libgloss"; \
6199 libsrcdir
="$$s/libgloss"; \
6201 rm -f no-such-file ||
: ; \
6202 CONFIG_SITE
=no-such-file
$(SHELL
) $${libsrcdir}/configure \
6203 $(TARGET_CONFIGARGS
) $${srcdiroption} \
6204 --with-target-subdir
="$(TARGET_SUBDIR)" \
6207 .PHONY
: all-target-libgloss maybe-all-target-libgloss
6208 maybe-all-target-libgloss
:
6209 all-target-libgloss
: configure-target-libgloss
6210 @r
=`${PWD}`; export r
; \
6211 s
=`cd $(srcdir); ${PWD}`; export s
; \
6213 (cd
$(TARGET_SUBDIR
)/libgloss
&& \
6214 $(MAKE
) $(TARGET_FLAGS_TO_PASS
) all)
6216 # Dummy target for uncheckable module.
6217 .PHONY
: check-target-libgloss
6218 check-target-libgloss
:
6221 .PHONY
: install-target-libgloss maybe-install-target-libgloss
6222 maybe-install-target-libgloss
:
6223 install-target-libgloss
: installdirs
6224 @r
=`${PWD}`; export r
; \
6225 s
=`cd $(srcdir); ${PWD}`; export s
; \
6227 (cd
$(TARGET_SUBDIR
)/libgloss
&& \
6228 $(MAKE
) $(TARGET_FLAGS_TO_PASS
) install)
6231 .PHONY
: configure-target-libiberty maybe-configure-target-libiberty
6232 maybe-configure-target-libiberty
:
6234 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
6235 $(TARGET_SUBDIR
)/libiberty
/multilib.out
: multilib.out
6236 @
[ -d
$(TARGET_SUBDIR
)/libiberty
] || \
6237 mkdir
$(TARGET_SUBDIR
)/libiberty
; \
6238 rm -f
$(TARGET_SUBDIR
)/libiberty
/Makefile ||
: ; \
6239 cp multilib.out
$(TARGET_SUBDIR
)/libiberty
/multilib.out
6241 configure-target-libiberty
: $(TARGET_SUBDIR
)/libiberty
/multilib.out
6242 @
test ! -f
$(TARGET_SUBDIR
)/libiberty
/Makefile || exit
0; \
6243 [ -d
$(TARGET_SUBDIR
)/libiberty
] || \
6244 mkdir
$(TARGET_SUBDIR
)/libiberty
;\
6245 r
=`${PWD}`; export r
; \
6246 s
=`cd $(srcdir); ${PWD}`; export s
; \
6248 AR
="$(AR_FOR_TARGET)"; export AR
; \
6249 AS
="$(AS_FOR_TARGET)"; export AS
; \
6250 CC
="$(CC_FOR_TARGET)"; export CC
; \
6251 CFLAGS
="$(CFLAGS_FOR_TARGET)"; export CFLAGS
; \
6252 CPPFLAGS
="$(CFLAGS_FOR_TARGET)"; export CPPFLAGS
; \
6253 CXX
="$(CXX_FOR_TARGET)"; export CXX
; \
6254 CXXFLAGS
="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS
; \
6255 GCJ
="$(GCJ_FOR_TARGET)"; export GCJ
; \
6256 DLLTOOL
="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL
; \
6257 LD
="$(LD_FOR_TARGET)"; export LD
; \
6258 LDFLAGS
="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS
; \
6259 NM
="$(NM_FOR_TARGET)"; export NM
; \
6260 RANLIB
="$(RANLIB_FOR_TARGET)"; export RANLIB
; \
6261 WINDRES
="$(WINDRES_FOR_TARGET)"; export WINDRES
; \
6262 echo Configuring in
$(TARGET_SUBDIR
)/libiberty
; \
6263 cd
"$(TARGET_SUBDIR)/libiberty" || exit
1; \
6265 /* |
[A-Za-z
]:[\\/]*) \
6266 topdir
=$(srcdir) ;; \
6268 case
"$(TARGET_SUBDIR)" in \
6269 .
) topdir
="../$(srcdir)" ;; \
6270 *) topdir
="../../$(srcdir)" ;; \
6273 if
[ "$(srcdir)" = "." ] ; then \
6274 if
[ "$(TARGET_SUBDIR)" != "." ] ; then \
6275 if
$(SHELL
) $$s/symlink-tree
$${topdir}/libiberty
"no-such-file" ; then \
6276 if
[ -f Makefile
]; then \
6277 if
$(MAKE
) distclean; then \
6291 srcdiroption
="--srcdir=."; \
6294 srcdiroption
="--srcdir=$${topdir}/libiberty"; \
6295 libsrcdir
="$$s/libiberty"; \
6297 rm -f no-such-file ||
: ; \
6298 CONFIG_SITE
=no-such-file
$(SHELL
) $${libsrcdir}/configure \
6299 $(TARGET_CONFIGARGS
) $${srcdiroption} \
6300 --with-target-subdir
="$(TARGET_SUBDIR)" \
6303 .PHONY
: all-target-libiberty maybe-all-target-libiberty
6304 maybe-all-target-libiberty
:
6305 all-target-libiberty
: configure-target-libiberty
6306 @r
=`${PWD}`; export r
; \
6307 s
=`cd $(srcdir); ${PWD}`; export s
; \
6309 (cd
$(TARGET_SUBDIR
)/libiberty
&& \
6310 $(MAKE
) $(TARGET_FLAGS_TO_PASS
) all)
6312 .PHONY
: check-target-libiberty
6313 check-target-libiberty
:
6314 @r
=`${PWD}`; export r
; \
6315 s
=`cd $(srcdir); ${PWD}`; export s
; \
6317 (cd
$(TARGET_SUBDIR
)/libiberty
&& \
6318 $(MAKE
) $(TARGET_FLAGS_TO_PASS
) check)
6321 .PHONY
: install-target-libiberty maybe-install-target-libiberty
6322 maybe-install-target-libiberty
:
6323 install-target-libiberty
: installdirs
6324 @r
=`${PWD}`; export r
; \
6325 s
=`cd $(srcdir); ${PWD}`; export s
; \
6327 (cd
$(TARGET_SUBDIR
)/libiberty
&& \
6328 $(MAKE
) $(TARGET_FLAGS_TO_PASS
) install)
6331 .PHONY
: configure-target-gperf maybe-configure-target-gperf
6332 maybe-configure-target-gperf
:
6334 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
6335 $(TARGET_SUBDIR
)/gperf
/multilib.out
: multilib.out
6336 @
[ -d
$(TARGET_SUBDIR
)/gperf
] || \
6337 mkdir
$(TARGET_SUBDIR
)/gperf
; \
6338 rm -f
$(TARGET_SUBDIR
)/gperf
/Makefile ||
: ; \
6339 cp multilib.out
$(TARGET_SUBDIR
)/gperf
/multilib.out
6341 configure-target-gperf
: $(TARGET_SUBDIR
)/gperf
/multilib.out
6342 @
test ! -f
$(TARGET_SUBDIR
)/gperf
/Makefile || exit
0; \
6343 [ -d
$(TARGET_SUBDIR
)/gperf
] || \
6344 mkdir
$(TARGET_SUBDIR
)/gperf
;\
6345 r
=`${PWD}`; export r
; \
6346 s
=`cd $(srcdir); ${PWD}`; export s
; \
6348 AR
="$(AR_FOR_TARGET)"; export AR
; \
6349 AS
="$(AS_FOR_TARGET)"; export AS
; \
6350 CC
="$(CC_FOR_TARGET)"; export CC
; \
6351 CFLAGS
="$(CFLAGS_FOR_TARGET)"; export CFLAGS
; \
6352 CPPFLAGS
="$(CFLAGS_FOR_TARGET)"; export CPPFLAGS
; \
6353 CXX
="$(CXX_FOR_TARGET)"; export CXX
; \
6354 CXXFLAGS
="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS
; \
6355 GCJ
="$(GCJ_FOR_TARGET)"; export GCJ
; \
6356 DLLTOOL
="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL
; \
6357 LD
="$(LD_FOR_TARGET)"; export LD
; \
6358 LDFLAGS
="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS
; \
6359 NM
="$(NM_FOR_TARGET)"; export NM
; \
6360 RANLIB
="$(RANLIB_FOR_TARGET)"; export RANLIB
; \
6361 WINDRES
="$(WINDRES_FOR_TARGET)"; export WINDRES
; \
6362 echo Configuring in
$(TARGET_SUBDIR
)/gperf
; \
6363 cd
"$(TARGET_SUBDIR)/gperf" || exit
1; \
6365 /* |
[A-Za-z
]:[\\/]*) \
6366 topdir
=$(srcdir) ;; \
6368 case
"$(TARGET_SUBDIR)" in \
6369 .
) topdir
="../$(srcdir)" ;; \
6370 *) topdir
="../../$(srcdir)" ;; \
6373 if
[ "$(srcdir)" = "." ] ; then \
6374 if
[ "$(TARGET_SUBDIR)" != "." ] ; then \
6375 if
$(SHELL
) $$s/symlink-tree
$${topdir}/gperf
"no-such-file" ; then \
6376 if
[ -f Makefile
]; then \
6377 if
$(MAKE
) distclean; then \
6391 srcdiroption
="--srcdir=."; \
6394 srcdiroption
="--srcdir=$${topdir}/gperf"; \
6395 libsrcdir
="$$s/gperf"; \
6397 rm -f no-such-file ||
: ; \
6398 CONFIG_SITE
=no-such-file
$(SHELL
) $${libsrcdir}/configure \
6399 $(TARGET_CONFIGARGS
) $${srcdiroption} \
6400 --with-target-subdir
="$(TARGET_SUBDIR)" \
6403 .PHONY
: all-target-gperf maybe-all-target-gperf
6404 maybe-all-target-gperf
:
6405 all-target-gperf
: configure-target-gperf
6406 @r
=`${PWD}`; export r
; \
6407 s
=`cd $(srcdir); ${PWD}`; export s
; \
6409 (cd
$(TARGET_SUBDIR
)/gperf
&& \
6410 $(MAKE
) $(TARGET_FLAGS_TO_PASS
) all)
6412 .PHONY
: check-target-gperf
6414 @r
=`${PWD}`; export r
; \
6415 s
=`cd $(srcdir); ${PWD}`; export s
; \
6417 (cd
$(TARGET_SUBDIR
)/gperf
&& \
6418 $(MAKE
) $(TARGET_FLAGS_TO_PASS
) check)
6421 .PHONY
: install-target-gperf maybe-install-target-gperf
6422 maybe-install-target-gperf
:
6423 install-target-gperf
: installdirs
6424 @r
=`${PWD}`; export r
; \
6425 s
=`cd $(srcdir); ${PWD}`; export s
; \
6427 (cd
$(TARGET_SUBDIR
)/gperf
&& \
6428 $(MAKE
) $(TARGET_FLAGS_TO_PASS
) install)
6431 .PHONY
: configure-target-examples maybe-configure-target-examples
6432 maybe-configure-target-examples
:
6434 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
6435 $(TARGET_SUBDIR
)/examples
/multilib.out
: multilib.out
6436 @
[ -d
$(TARGET_SUBDIR
)/examples
] || \
6437 mkdir
$(TARGET_SUBDIR
)/examples
; \
6438 rm -f
$(TARGET_SUBDIR
)/examples
/Makefile ||
: ; \
6439 cp multilib.out
$(TARGET_SUBDIR
)/examples
/multilib.out
6441 configure-target-examples
: $(TARGET_SUBDIR
)/examples
/multilib.out
6442 @
test ! -f
$(TARGET_SUBDIR
)/examples
/Makefile || exit
0; \
6443 [ -d
$(TARGET_SUBDIR
)/examples
] || \
6444 mkdir
$(TARGET_SUBDIR
)/examples
;\
6445 r
=`${PWD}`; export r
; \
6446 s
=`cd $(srcdir); ${PWD}`; export s
; \
6448 AR
="$(AR_FOR_TARGET)"; export AR
; \
6449 AS
="$(AS_FOR_TARGET)"; export AS
; \
6450 CC
="$(CC_FOR_TARGET)"; export CC
; \
6451 CFLAGS
="$(CFLAGS_FOR_TARGET)"; export CFLAGS
; \
6452 CPPFLAGS
="$(CFLAGS_FOR_TARGET)"; export CPPFLAGS
; \
6453 CXX
="$(CXX_FOR_TARGET)"; export CXX
; \
6454 CXXFLAGS
="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS
; \
6455 GCJ
="$(GCJ_FOR_TARGET)"; export GCJ
; \
6456 DLLTOOL
="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL
; \
6457 LD
="$(LD_FOR_TARGET)"; export LD
; \
6458 LDFLAGS
="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS
; \
6459 NM
="$(NM_FOR_TARGET)"; export NM
; \
6460 RANLIB
="$(RANLIB_FOR_TARGET)"; export RANLIB
; \
6461 WINDRES
="$(WINDRES_FOR_TARGET)"; export WINDRES
; \
6462 echo Configuring in
$(TARGET_SUBDIR
)/examples
; \
6463 cd
"$(TARGET_SUBDIR)/examples" || exit
1; \
6465 /* |
[A-Za-z
]:[\\/]*) \
6466 topdir
=$(srcdir) ;; \
6468 case
"$(TARGET_SUBDIR)" in \
6469 .
) topdir
="../$(srcdir)" ;; \
6470 *) topdir
="../../$(srcdir)" ;; \
6473 if
[ "$(srcdir)" = "." ] ; then \
6474 if
[ "$(TARGET_SUBDIR)" != "." ] ; then \
6475 if
$(SHELL
) $$s/symlink-tree
$${topdir}/examples
"no-such-file" ; then \
6476 if
[ -f Makefile
]; then \
6477 if
$(MAKE
) distclean; then \
6491 srcdiroption
="--srcdir=."; \
6494 srcdiroption
="--srcdir=$${topdir}/examples"; \
6495 libsrcdir
="$$s/examples"; \
6497 rm -f no-such-file ||
: ; \
6498 CONFIG_SITE
=no-such-file
$(SHELL
) $${libsrcdir}/configure \
6499 $(TARGET_CONFIGARGS
) $${srcdiroption} \
6500 --with-target-subdir
="$(TARGET_SUBDIR)" \
6503 .PHONY
: all-target-examples maybe-all-target-examples
6504 maybe-all-target-examples
:
6505 all-target-examples
: configure-target-examples
6506 @r
=`${PWD}`; export r
; \
6507 s
=`cd $(srcdir); ${PWD}`; export s
; \
6509 (cd
$(TARGET_SUBDIR
)/examples
&& \
6510 $(MAKE
) $(TARGET_FLAGS_TO_PASS
) all)
6512 # Dummy target for uncheckable module.
6513 .PHONY
: check-target-examples
6514 check-target-examples
:
6517 .PHONY
: install-target-examples maybe-install-target-examples
6518 maybe-install-target-examples
:
6519 # Dummy target for uninstallable.
6520 install-target-examples
:
6523 .PHONY
: configure-target-libffi maybe-configure-target-libffi
6524 maybe-configure-target-libffi
:
6526 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
6527 $(TARGET_SUBDIR
)/libffi
/multilib.out
: multilib.out
6528 @
[ -d
$(TARGET_SUBDIR
)/libffi
] || \
6529 mkdir
$(TARGET_SUBDIR
)/libffi
; \
6530 rm -f
$(TARGET_SUBDIR
)/libffi
/Makefile ||
: ; \
6531 cp multilib.out
$(TARGET_SUBDIR
)/libffi
/multilib.out
6533 configure-target-libffi
: $(TARGET_SUBDIR
)/libffi
/multilib.out
6534 @
test ! -f
$(TARGET_SUBDIR
)/libffi
/Makefile || exit
0; \
6535 [ -d
$(TARGET_SUBDIR
)/libffi
] || \
6536 mkdir
$(TARGET_SUBDIR
)/libffi
;\
6537 r
=`${PWD}`; export r
; \
6538 s
=`cd $(srcdir); ${PWD}`; export s
; \
6540 AR
="$(AR_FOR_TARGET)"; export AR
; \
6541 AS
="$(AS_FOR_TARGET)"; export AS
; \
6542 CC
="$(CC_FOR_TARGET)"; export CC
; \
6543 CFLAGS
="$(CFLAGS_FOR_TARGET)"; export CFLAGS
; \
6544 CPPFLAGS
="$(CFLAGS_FOR_TARGET)"; export CPPFLAGS
; \
6545 CXX
="$(CXX_FOR_TARGET)"; export CXX
; \
6546 CXXFLAGS
="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS
; \
6547 GCJ
="$(GCJ_FOR_TARGET)"; export GCJ
; \
6548 DLLTOOL
="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL
; \
6549 LD
="$(LD_FOR_TARGET)"; export LD
; \
6550 LDFLAGS
="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS
; \
6551 NM
="$(NM_FOR_TARGET)"; export NM
; \
6552 RANLIB
="$(RANLIB_FOR_TARGET)"; export RANLIB
; \
6553 WINDRES
="$(WINDRES_FOR_TARGET)"; export WINDRES
; \
6554 echo Configuring in
$(TARGET_SUBDIR
)/libffi
; \
6555 cd
"$(TARGET_SUBDIR)/libffi" || exit
1; \
6557 /* |
[A-Za-z
]:[\\/]*) \
6558 topdir
=$(srcdir) ;; \
6560 case
"$(TARGET_SUBDIR)" in \
6561 .
) topdir
="../$(srcdir)" ;; \
6562 *) topdir
="../../$(srcdir)" ;; \
6565 if
[ "$(srcdir)" = "." ] ; then \
6566 if
[ "$(TARGET_SUBDIR)" != "." ] ; then \
6567 if
$(SHELL
) $$s/symlink-tree
$${topdir}/libffi
"no-such-file" ; then \
6568 if
[ -f Makefile
]; then \
6569 if
$(MAKE
) distclean; then \
6583 srcdiroption
="--srcdir=."; \
6586 srcdiroption
="--srcdir=$${topdir}/libffi"; \
6587 libsrcdir
="$$s/libffi"; \
6589 rm -f no-such-file ||
: ; \
6590 CONFIG_SITE
=no-such-file
$(SHELL
) $${libsrcdir}/configure \
6591 $(TARGET_CONFIGARGS
) $${srcdiroption} \
6592 --with-target-subdir
="$(TARGET_SUBDIR)" \
6595 .PHONY
: all-target-libffi maybe-all-target-libffi
6596 maybe-all-target-libffi
:
6597 all-target-libffi
: configure-target-libffi
6598 @r
=`${PWD}`; export r
; \
6599 s
=`cd $(srcdir); ${PWD}`; export s
; \
6601 (cd
$(TARGET_SUBDIR
)/libffi
&& \
6602 $(MAKE
) $(TARGET_FLAGS_TO_PASS
) all)
6604 .PHONY
: check-target-libffi
6605 check-target-libffi
:
6606 @r
=`${PWD}`; export r
; \
6607 s
=`cd $(srcdir); ${PWD}`; export s
; \
6609 (cd
$(TARGET_SUBDIR
)/libffi
&& \
6610 $(MAKE
) $(TARGET_FLAGS_TO_PASS
) check)
6613 .PHONY
: install-target-libffi maybe-install-target-libffi
6614 maybe-install-target-libffi
:
6615 install-target-libffi
: installdirs
6616 @r
=`${PWD}`; export r
; \
6617 s
=`cd $(srcdir); ${PWD}`; export s
; \
6619 (cd
$(TARGET_SUBDIR
)/libffi
&& \
6620 $(MAKE
) $(TARGET_FLAGS_TO_PASS
) install)
6623 .PHONY
: configure-target-libjava maybe-configure-target-libjava
6624 maybe-configure-target-libjava
:
6626 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
6627 $(TARGET_SUBDIR
)/libjava
/multilib.out
: multilib.out
6628 @
[ -d
$(TARGET_SUBDIR
)/libjava
] || \
6629 mkdir
$(TARGET_SUBDIR
)/libjava
; \
6630 rm -f
$(TARGET_SUBDIR
)/libjava
/Makefile ||
: ; \
6631 cp multilib.out
$(TARGET_SUBDIR
)/libjava
/multilib.out
6633 configure-target-libjava
: $(TARGET_SUBDIR
)/libjava
/multilib.out
6634 @
test ! -f
$(TARGET_SUBDIR
)/libjava
/Makefile || exit
0; \
6635 [ -d
$(TARGET_SUBDIR
)/libjava
] || \
6636 mkdir
$(TARGET_SUBDIR
)/libjava
;\
6637 r
=`${PWD}`; export r
; \
6638 s
=`cd $(srcdir); ${PWD}`; export s
; \
6640 AR
="$(AR_FOR_TARGET)"; export AR
; \
6641 AS
="$(AS_FOR_TARGET)"; export AS
; \
6642 CC
="$(CC_FOR_TARGET)"; export CC
; \
6643 CFLAGS
="$(CFLAGS_FOR_TARGET)"; export CFLAGS
; \
6644 CPPFLAGS
="$(CFLAGS_FOR_TARGET)"; export CPPFLAGS
; \
6645 CXX_FOR_TARGET
="$(RAW_CXX_FOR_TARGET)"; export CXX_FOR_TARGET
; \
6646 CXX
="$(RAW_CXX_FOR_TARGET)"; export CXX
; \
6647 CXXFLAGS
="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS
; \
6648 GCJ
="$(GCJ_FOR_TARGET)"; export GCJ
; \
6649 DLLTOOL
="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL
; \
6650 LD
="$(LD_FOR_TARGET)"; export LD
; \
6651 LDFLAGS
="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS
; \
6652 NM
="$(NM_FOR_TARGET)"; export NM
; \
6653 RANLIB
="$(RANLIB_FOR_TARGET)"; export RANLIB
; \
6654 WINDRES
="$(WINDRES_FOR_TARGET)"; export WINDRES
; \
6655 echo Configuring in
$(TARGET_SUBDIR
)/libjava
; \
6656 cd
"$(TARGET_SUBDIR)/libjava" || exit
1; \
6658 /* |
[A-Za-z
]:[\\/]*) \
6659 topdir
=$(srcdir) ;; \
6661 case
"$(TARGET_SUBDIR)" in \
6662 .
) topdir
="../$(srcdir)" ;; \
6663 *) topdir
="../../$(srcdir)" ;; \
6666 if
[ "$(srcdir)" = "." ] ; then \
6667 if
[ "$(TARGET_SUBDIR)" != "." ] ; then \
6668 if
$(SHELL
) $$s/symlink-tree
$${topdir}/libjava
"no-such-file" ; then \
6669 if
[ -f Makefile
]; then \
6670 if
$(MAKE
) distclean; then \
6684 srcdiroption
="--srcdir=."; \
6687 srcdiroption
="--srcdir=$${topdir}/libjava"; \
6688 libsrcdir
="$$s/libjava"; \
6690 rm -f no-such-file ||
: ; \
6691 CONFIG_SITE
=no-such-file
$(SHELL
) $${libsrcdir}/configure \
6692 $(TARGET_CONFIGARGS
) $${srcdiroption} \
6693 --with-target-subdir
="$(TARGET_SUBDIR)" \
6696 .PHONY
: all-target-libjava maybe-all-target-libjava
6697 maybe-all-target-libjava
:
6698 all-target-libjava
: configure-target-libjava
6699 @r
=`${PWD}`; export r
; \
6700 s
=`cd $(srcdir); ${PWD}`; export s
; \
6702 (cd
$(TARGET_SUBDIR
)/libjava
&& \
6703 $(MAKE
) $(TARGET_FLAGS_TO_PASS
) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' all)
6705 .PHONY
: check-target-libjava
6706 check-target-libjava
:
6707 @r
=`${PWD}`; export r
; \
6708 s
=`cd $(srcdir); ${PWD}`; export s
; \
6710 (cd
$(TARGET_SUBDIR
)/libjava
&& \
6711 $(MAKE
) $(TARGET_FLAGS_TO_PASS
) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' check)
6714 .PHONY
: install-target-libjava maybe-install-target-libjava
6715 maybe-install-target-libjava
:
6716 install-target-libjava
: installdirs
6717 @r
=`${PWD}`; export r
; \
6718 s
=`cd $(srcdir); ${PWD}`; export s
; \
6720 (cd
$(TARGET_SUBDIR
)/libjava
&& \
6721 $(MAKE
) $(TARGET_FLAGS_TO_PASS
) install)
6724 .PHONY
: configure-target-zlib maybe-configure-target-zlib
6725 maybe-configure-target-zlib
:
6727 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
6728 $(TARGET_SUBDIR
)/zlib
/multilib.out
: multilib.out
6729 @
[ -d
$(TARGET_SUBDIR
)/zlib
] || \
6730 mkdir
$(TARGET_SUBDIR
)/zlib
; \
6731 rm -f
$(TARGET_SUBDIR
)/zlib
/Makefile ||
: ; \
6732 cp multilib.out
$(TARGET_SUBDIR
)/zlib
/multilib.out
6734 configure-target-zlib
: $(TARGET_SUBDIR
)/zlib
/multilib.out
6735 @
test ! -f
$(TARGET_SUBDIR
)/zlib
/Makefile || exit
0; \
6736 [ -d
$(TARGET_SUBDIR
)/zlib
] || \
6737 mkdir
$(TARGET_SUBDIR
)/zlib
;\
6738 r
=`${PWD}`; export r
; \
6739 s
=`cd $(srcdir); ${PWD}`; export s
; \
6741 AR
="$(AR_FOR_TARGET)"; export AR
; \
6742 AS
="$(AS_FOR_TARGET)"; export AS
; \
6743 CC
="$(CC_FOR_TARGET)"; export CC
; \
6744 CFLAGS
="$(CFLAGS_FOR_TARGET)"; export CFLAGS
; \
6745 CPPFLAGS
="$(CFLAGS_FOR_TARGET)"; export CPPFLAGS
; \
6746 CXX
="$(CXX_FOR_TARGET)"; export CXX
; \
6747 CXXFLAGS
="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS
; \
6748 GCJ
="$(GCJ_FOR_TARGET)"; export GCJ
; \
6749 DLLTOOL
="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL
; \
6750 LD
="$(LD_FOR_TARGET)"; export LD
; \
6751 LDFLAGS
="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS
; \
6752 NM
="$(NM_FOR_TARGET)"; export NM
; \
6753 RANLIB
="$(RANLIB_FOR_TARGET)"; export RANLIB
; \
6754 WINDRES
="$(WINDRES_FOR_TARGET)"; export WINDRES
; \
6755 echo Configuring in
$(TARGET_SUBDIR
)/zlib
; \
6756 cd
"$(TARGET_SUBDIR)/zlib" || exit
1; \
6758 /* |
[A-Za-z
]:[\\/]*) \
6759 topdir
=$(srcdir) ;; \
6761 case
"$(TARGET_SUBDIR)" in \
6762 .
) topdir
="../$(srcdir)" ;; \
6763 *) topdir
="../../$(srcdir)" ;; \
6766 if
[ "$(srcdir)" = "." ] ; then \
6767 if
[ "$(TARGET_SUBDIR)" != "." ] ; then \
6768 if
$(SHELL
) $$s/symlink-tree
$${topdir}/zlib
"no-such-file" ; then \
6769 if
[ -f Makefile
]; then \
6770 if
$(MAKE
) distclean; then \
6784 srcdiroption
="--srcdir=."; \
6787 srcdiroption
="--srcdir=$${topdir}/zlib"; \
6788 libsrcdir
="$$s/zlib"; \
6790 rm -f no-such-file ||
: ; \
6791 CONFIG_SITE
=no-such-file
$(SHELL
) $${libsrcdir}/configure \
6792 $(TARGET_CONFIGARGS
) $${srcdiroption} \
6793 --with-target-subdir
="$(TARGET_SUBDIR)" \
6796 .PHONY
: all-target-zlib maybe-all-target-zlib
6797 maybe-all-target-zlib
:
6798 all-target-zlib
: configure-target-zlib
6799 @r
=`${PWD}`; export r
; \
6800 s
=`cd $(srcdir); ${PWD}`; export s
; \
6802 (cd
$(TARGET_SUBDIR
)/zlib
&& \
6803 $(MAKE
) $(TARGET_FLAGS_TO_PASS
) all)
6805 .PHONY
: check-target-zlib
6807 @r
=`${PWD}`; export r
; \
6808 s
=`cd $(srcdir); ${PWD}`; export s
; \
6810 (cd
$(TARGET_SUBDIR
)/zlib
&& \
6811 $(MAKE
) $(TARGET_FLAGS_TO_PASS
) check)
6814 .PHONY
: install-target-zlib maybe-install-target-zlib
6815 maybe-install-target-zlib
:
6816 install-target-zlib
: installdirs
6817 @r
=`${PWD}`; export r
; \
6818 s
=`cd $(srcdir); ${PWD}`; export s
; \
6820 (cd
$(TARGET_SUBDIR
)/zlib
&& \
6821 $(MAKE
) $(TARGET_FLAGS_TO_PASS
) install)
6824 .PHONY
: configure-target-boehm-gc maybe-configure-target-boehm-gc
6825 maybe-configure-target-boehm-gc
:
6827 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
6828 $(TARGET_SUBDIR
)/boehm-gc
/multilib.out
: multilib.out
6829 @
[ -d
$(TARGET_SUBDIR
)/boehm-gc
] || \
6830 mkdir
$(TARGET_SUBDIR
)/boehm-gc
; \
6831 rm -f
$(TARGET_SUBDIR
)/boehm-gc
/Makefile ||
: ; \
6832 cp multilib.out
$(TARGET_SUBDIR
)/boehm-gc
/multilib.out
6834 configure-target-boehm-gc
: $(TARGET_SUBDIR
)/boehm-gc
/multilib.out
6835 @
test ! -f
$(TARGET_SUBDIR
)/boehm-gc
/Makefile || exit
0; \
6836 [ -d
$(TARGET_SUBDIR
)/boehm-gc
] || \
6837 mkdir
$(TARGET_SUBDIR
)/boehm-gc
;\
6838 r
=`${PWD}`; export r
; \
6839 s
=`cd $(srcdir); ${PWD}`; export s
; \
6841 AR
="$(AR_FOR_TARGET)"; export AR
; \
6842 AS
="$(AS_FOR_TARGET)"; export AS
; \
6843 CC
="$(CC_FOR_TARGET)"; export CC
; \
6844 CFLAGS
="$(CFLAGS_FOR_TARGET)"; export CFLAGS
; \
6845 CPPFLAGS
="$(CFLAGS_FOR_TARGET)"; export CPPFLAGS
; \
6846 CXX
="$(CXX_FOR_TARGET)"; export CXX
; \
6847 CXXFLAGS
="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS
; \
6848 GCJ
="$(GCJ_FOR_TARGET)"; export GCJ
; \
6849 DLLTOOL
="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL
; \
6850 LD
="$(LD_FOR_TARGET)"; export LD
; \
6851 LDFLAGS
="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS
; \
6852 NM
="$(NM_FOR_TARGET)"; export NM
; \
6853 RANLIB
="$(RANLIB_FOR_TARGET)"; export RANLIB
; \
6854 WINDRES
="$(WINDRES_FOR_TARGET)"; export WINDRES
; \
6855 echo Configuring in
$(TARGET_SUBDIR
)/boehm-gc
; \
6856 cd
"$(TARGET_SUBDIR)/boehm-gc" || exit
1; \
6858 /* |
[A-Za-z
]:[\\/]*) \
6859 topdir
=$(srcdir) ;; \
6861 case
"$(TARGET_SUBDIR)" in \
6862 .
) topdir
="../$(srcdir)" ;; \
6863 *) topdir
="../../$(srcdir)" ;; \
6866 if
[ "$(srcdir)" = "." ] ; then \
6867 if
[ "$(TARGET_SUBDIR)" != "." ] ; then \
6868 if
$(SHELL
) $$s/symlink-tree
$${topdir}/boehm-gc
"no-such-file" ; then \
6869 if
[ -f Makefile
]; then \
6870 if
$(MAKE
) distclean; then \
6884 srcdiroption
="--srcdir=."; \
6887 srcdiroption
="--srcdir=$${topdir}/boehm-gc"; \
6888 libsrcdir
="$$s/boehm-gc"; \
6890 rm -f no-such-file ||
: ; \
6891 CONFIG_SITE
=no-such-file
$(SHELL
) $${libsrcdir}/configure \
6892 $(TARGET_CONFIGARGS
) $${srcdiroption} \
6893 --with-target-subdir
="$(TARGET_SUBDIR)" \
6896 .PHONY
: all-target-boehm-gc maybe-all-target-boehm-gc
6897 maybe-all-target-boehm-gc
:
6898 all-target-boehm-gc
: configure-target-boehm-gc
6899 @r
=`${PWD}`; export r
; \
6900 s
=`cd $(srcdir); ${PWD}`; export s
; \
6902 (cd
$(TARGET_SUBDIR
)/boehm-gc
&& \
6903 $(MAKE
) $(TARGET_FLAGS_TO_PASS
) all)
6905 .PHONY
: check-target-boehm-gc
6906 check-target-boehm-gc
:
6907 @r
=`${PWD}`; export r
; \
6908 s
=`cd $(srcdir); ${PWD}`; export s
; \
6910 (cd
$(TARGET_SUBDIR
)/boehm-gc
&& \
6911 $(MAKE
) $(TARGET_FLAGS_TO_PASS
) check)
6914 .PHONY
: install-target-boehm-gc maybe-install-target-boehm-gc
6915 maybe-install-target-boehm-gc
:
6916 install-target-boehm-gc
: installdirs
6917 @r
=`${PWD}`; export r
; \
6918 s
=`cd $(srcdir); ${PWD}`; export s
; \
6920 (cd
$(TARGET_SUBDIR
)/boehm-gc
&& \
6921 $(MAKE
) $(TARGET_FLAGS_TO_PASS
) install)
6924 .PHONY
: configure-target-qthreads maybe-configure-target-qthreads
6925 maybe-configure-target-qthreads
:
6927 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
6928 $(TARGET_SUBDIR
)/qthreads
/multilib.out
: multilib.out
6929 @
[ -d
$(TARGET_SUBDIR
)/qthreads
] || \
6930 mkdir
$(TARGET_SUBDIR
)/qthreads
; \
6931 rm -f
$(TARGET_SUBDIR
)/qthreads
/Makefile ||
: ; \
6932 cp multilib.out
$(TARGET_SUBDIR
)/qthreads
/multilib.out
6934 configure-target-qthreads
: $(TARGET_SUBDIR
)/qthreads
/multilib.out
6935 @
test ! -f
$(TARGET_SUBDIR
)/qthreads
/Makefile || exit
0; \
6936 [ -d
$(TARGET_SUBDIR
)/qthreads
] || \
6937 mkdir
$(TARGET_SUBDIR
)/qthreads
;\
6938 r
=`${PWD}`; export r
; \
6939 s
=`cd $(srcdir); ${PWD}`; export s
; \
6941 AR
="$(AR_FOR_TARGET)"; export AR
; \
6942 AS
="$(AS_FOR_TARGET)"; export AS
; \
6943 CC
="$(CC_FOR_TARGET)"; export CC
; \
6944 CFLAGS
="$(CFLAGS_FOR_TARGET)"; export CFLAGS
; \
6945 CPPFLAGS
="$(CFLAGS_FOR_TARGET)"; export CPPFLAGS
; \
6946 CXX
="$(CXX_FOR_TARGET)"; export CXX
; \
6947 CXXFLAGS
="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS
; \
6948 GCJ
="$(GCJ_FOR_TARGET)"; export GCJ
; \
6949 DLLTOOL
="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL
; \
6950 LD
="$(LD_FOR_TARGET)"; export LD
; \
6951 LDFLAGS
="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS
; \
6952 NM
="$(NM_FOR_TARGET)"; export NM
; \
6953 RANLIB
="$(RANLIB_FOR_TARGET)"; export RANLIB
; \
6954 WINDRES
="$(WINDRES_FOR_TARGET)"; export WINDRES
; \
6955 echo Configuring in
$(TARGET_SUBDIR
)/qthreads
; \
6956 cd
"$(TARGET_SUBDIR)/qthreads" || exit
1; \
6958 /* |
[A-Za-z
]:[\\/]*) \
6959 topdir
=$(srcdir) ;; \
6961 case
"$(TARGET_SUBDIR)" in \
6962 .
) topdir
="../$(srcdir)" ;; \
6963 *) topdir
="../../$(srcdir)" ;; \
6966 if
[ "$(srcdir)" = "." ] ; then \
6967 if
[ "$(TARGET_SUBDIR)" != "." ] ; then \
6968 if
$(SHELL
) $$s/symlink-tree
$${topdir}/qthreads
"no-such-file" ; then \
6969 if
[ -f Makefile
]; then \
6970 if
$(MAKE
) distclean; then \
6984 srcdiroption
="--srcdir=."; \
6987 srcdiroption
="--srcdir=$${topdir}/qthreads"; \
6988 libsrcdir
="$$s/qthreads"; \
6990 rm -f no-such-file ||
: ; \
6991 CONFIG_SITE
=no-such-file
$(SHELL
) $${libsrcdir}/configure \
6992 $(TARGET_CONFIGARGS
) $${srcdiroption} \
6993 --with-target-subdir
="$(TARGET_SUBDIR)" \
6996 .PHONY
: all-target-qthreads maybe-all-target-qthreads
6997 maybe-all-target-qthreads
:
6998 all-target-qthreads
: configure-target-qthreads
6999 @r
=`${PWD}`; export r
; \
7000 s
=`cd $(srcdir); ${PWD}`; export s
; \
7002 (cd
$(TARGET_SUBDIR
)/qthreads
&& \
7003 $(MAKE
) $(TARGET_FLAGS_TO_PASS
) all)
7005 .PHONY
: check-target-qthreads
7006 check-target-qthreads
:
7007 @r
=`${PWD}`; export r
; \
7008 s
=`cd $(srcdir); ${PWD}`; export s
; \
7010 (cd
$(TARGET_SUBDIR
)/qthreads
&& \
7011 $(MAKE
) $(TARGET_FLAGS_TO_PASS
) check)
7014 .PHONY
: install-target-qthreads maybe-install-target-qthreads
7015 maybe-install-target-qthreads
:
7016 install-target-qthreads
: installdirs
7017 @r
=`${PWD}`; export r
; \
7018 s
=`cd $(srcdir); ${PWD}`; export s
; \
7020 (cd
$(TARGET_SUBDIR
)/qthreads
&& \
7021 $(MAKE
) $(TARGET_FLAGS_TO_PASS
) install)
7024 .PHONY
: configure-target-rda maybe-configure-target-rda
7025 maybe-configure-target-rda
:
7027 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
7028 $(TARGET_SUBDIR
)/rda
/multilib.out
: multilib.out
7029 @
[ -d
$(TARGET_SUBDIR
)/rda
] || \
7030 mkdir
$(TARGET_SUBDIR
)/rda
; \
7031 rm -f
$(TARGET_SUBDIR
)/rda
/Makefile ||
: ; \
7032 cp multilib.out
$(TARGET_SUBDIR
)/rda
/multilib.out
7034 configure-target-rda
: $(TARGET_SUBDIR
)/rda
/multilib.out
7035 @
test ! -f
$(TARGET_SUBDIR
)/rda
/Makefile || exit
0; \
7036 [ -d
$(TARGET_SUBDIR
)/rda
] || \
7037 mkdir
$(TARGET_SUBDIR
)/rda
;\
7038 r
=`${PWD}`; export r
; \
7039 s
=`cd $(srcdir); ${PWD}`; export s
; \
7041 AR
="$(AR_FOR_TARGET)"; export AR
; \
7042 AS
="$(AS_FOR_TARGET)"; export AS
; \
7043 CC
="$(CC_FOR_TARGET)"; export CC
; \
7044 CFLAGS
="$(CFLAGS_FOR_TARGET)"; export CFLAGS
; \
7045 CPPFLAGS
="$(CFLAGS_FOR_TARGET)"; export CPPFLAGS
; \
7046 CXX
="$(CXX_FOR_TARGET)"; export CXX
; \
7047 CXXFLAGS
="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS
; \
7048 GCJ
="$(GCJ_FOR_TARGET)"; export GCJ
; \
7049 DLLTOOL
="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL
; \
7050 LD
="$(LD_FOR_TARGET)"; export LD
; \
7051 LDFLAGS
="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS
; \
7052 NM
="$(NM_FOR_TARGET)"; export NM
; \
7053 RANLIB
="$(RANLIB_FOR_TARGET)"; export RANLIB
; \
7054 WINDRES
="$(WINDRES_FOR_TARGET)"; export WINDRES
; \
7055 echo Configuring in
$(TARGET_SUBDIR
)/rda
; \
7056 cd
"$(TARGET_SUBDIR)/rda" || exit
1; \
7058 /* |
[A-Za-z
]:[\\/]*) \
7059 topdir
=$(srcdir) ;; \
7061 case
"$(TARGET_SUBDIR)" in \
7062 .
) topdir
="../$(srcdir)" ;; \
7063 *) topdir
="../../$(srcdir)" ;; \
7066 if
[ "$(srcdir)" = "." ] ; then \
7067 if
[ "$(TARGET_SUBDIR)" != "." ] ; then \
7068 if
$(SHELL
) $$s/symlink-tree
$${topdir}/rda
"no-such-file" ; then \
7069 if
[ -f Makefile
]; then \
7070 if
$(MAKE
) distclean; then \
7084 srcdiroption
="--srcdir=."; \
7087 srcdiroption
="--srcdir=$${topdir}/rda"; \
7088 libsrcdir
="$$s/rda"; \
7090 rm -f no-such-file ||
: ; \
7091 CONFIG_SITE
=no-such-file
$(SHELL
) $${libsrcdir}/configure \
7092 $(TARGET_CONFIGARGS
) $${srcdiroption} \
7093 --with-target-subdir
="$(TARGET_SUBDIR)" \
7096 .PHONY
: all-target-rda maybe-all-target-rda
7097 maybe-all-target-rda
:
7098 all-target-rda
: configure-target-rda
7099 @r
=`${PWD}`; export r
; \
7100 s
=`cd $(srcdir); ${PWD}`; export s
; \
7102 (cd
$(TARGET_SUBDIR
)/rda
&& \
7103 $(MAKE
) $(TARGET_FLAGS_TO_PASS
) all)
7105 .PHONY
: check-target-rda
7107 @r
=`${PWD}`; export r
; \
7108 s
=`cd $(srcdir); ${PWD}`; export s
; \
7110 (cd
$(TARGET_SUBDIR
)/rda
&& \
7111 $(MAKE
) $(TARGET_FLAGS_TO_PASS
) check)
7114 .PHONY
: install-target-rda maybe-install-target-rda
7115 maybe-install-target-rda
:
7116 install-target-rda
: installdirs
7117 @r
=`${PWD}`; export r
; \
7118 s
=`cd $(srcdir); ${PWD}`; export s
; \
7120 (cd
$(TARGET_SUBDIR
)/rda
&& \
7121 $(MAKE
) $(TARGET_FLAGS_TO_PASS
) install)
7129 # Unfortunately, while gcc _should_ be a host module,
7130 # libgcc is a target module, and gen* programs are
7131 # build modules. So GCC is a sort of hybrid.
7133 # gcc is the only module which uses GCC_FLAGS_TO_PASS.
7134 .PHONY
: configure-gcc maybe-configure-gcc
7135 maybe-configure-gcc
:
7137 @
test ! -f gcc
/Makefile || exit
0; \
7138 [ -d gcc
] || mkdir gcc
; \
7139 r
=`${PWD}`; export r
; \
7140 s
=`cd $(srcdir); ${PWD}`; export s
; \
7141 CC
="$(CC)"; export CC
; \
7142 CFLAGS
="$(CFLAGS)"; export CFLAGS
; \
7143 CXX
="$(CXX)"; export CXX
; \
7144 CXXFLAGS
="$(CXXFLAGS)"; export CXXFLAGS
; \
7145 TOPLEVEL_CONFIGURE_ARGUMENTS
="$(TOPLEVEL_CONFIGURE_ARGUMENTS)"; export TOPLEVEL_CONFIGURE_ARGUMENTS
; \
7146 if
[ z
$(build_canonical
) != z
$(host_canoncial
) ] ; then \
7147 AR
="$(AR)"; export AR
; \
7148 AS
="$(AS)"; export AS
; \
7149 CC_FOR_BUILD
="$(CC_FOR_BUILD)"; export CC_FOR_BUILD
; \
7150 DLLTOOL
="$(DLLTOOL)"; export DLLTOOL
; \
7151 LD
="$(LD)"; export LD
; \
7152 NM
="$(NM)"; export NM
; \
7153 RANLIB
="$(RANLIB)"; export RANLIB
; \
7154 WINDRES
="$(WINDRES)"; export WINDRES
; \
7155 OBJCOPY
="$(OBJCOPY)"; export OBJCOPY
; \
7156 OBJDUMP
="$(OBJDUMP)"; export OBJDUMP
; \
7158 echo Configuring in gcc
; \
7162 srcdiroption
="--srcdir=."; \
7164 /* |
[A-Za-z
]:[\\/]*) \
7165 srcdiroption
="--srcdir=$(srcdir)/gcc"; \
7166 libsrcdir
="$$s/gcc";; \
7168 srcdiroption
="--srcdir=../$(srcdir)/gcc"; \
7169 libsrcdir
="$$s/gcc";; \
7171 $(SHELL
) $${libsrcdir}/configure \
7172 $(HOST_CONFIGARGS
) $${srcdiroption} \
7175 # Don't 'make all' in gcc if it's already been made by 'bootstrap'; that
7176 # causes trouble. This wart will be fixed eventually by moving
7177 # the bootstrap behavior to this file.
7178 .PHONY
: all-gcc maybe-all-gcc
7180 all-gcc
: configure-gcc
7181 @if
[ -f gcc
/stage_last
] ; then \
7182 r
=`${PWD}`; export r
; \
7183 s
=`cd $(srcdir); ${PWD}`; export s
; \
7185 (cd gcc
&& $(MAKE
) $(GCC_FLAGS_TO_PASS
) quickstrap
); \
7187 r
=`${PWD}`; export r
; \
7188 s
=`cd $(srcdir); ${PWD}`; export s
; \
7190 (cd gcc
&& $(MAKE
) $(GCC_FLAGS_TO_PASS
) all); \
7193 # Building GCC uses some tools for rebuilding "source" files
7194 # like texinfo, bison/byacc, etc. So we must depend on those.
7196 # While building GCC, it may be necessary to run various target
7197 # programs like the assembler, linker, etc. So we depend on
7200 # In theory, on an SMP all those dependencies can be resolved
7203 .PHONY
: bootstrap bootstrap-lean bootstrap2 bootstrap2-lean bootstrap3 bootstrap3-lean bootstrap4 bootstrap4-lean bubblestrap quickstrap cleanstrap restrap
7204 bootstrap bootstrap-lean bootstrap2 bootstrap2-lean bootstrap3 bootstrap3-lean bootstrap4 bootstrap4-lean bubblestrap quickstrap cleanstrap restrap
: all-bootstrap configure-gcc
7205 @r
=`${PWD}`; export r
; \
7206 s
=`cd $(srcdir); ${PWD}`; export s
; \
7208 echo
"Bootstrapping the compiler"; \
7209 cd gcc
&& $(MAKE
) $(GCC_FLAGS_TO_PASS
) $@
7210 @r
=`${PWD}`; export r
; \
7211 s
=`cd $(srcdir); ${PWD}`; export s
; \
7213 *bootstrap4-lean
) \
7214 msg
="Comparing stage3 and stage4 of the compiler"; \
7215 compare
=compare3-lean
;; \
7217 msg
="Comparing stage3 and stage4 of the compiler"; \
7218 compare
=compare3
;; \
7220 msg
="Comparing stage2 and stage3 of the compiler"; \
7221 compare
=compare-lean
;; \
7223 msg
="Comparing stage2 and stage3 of the compiler"; \
7224 compare
=compare
;; \
7228 cd gcc
&& $(MAKE
) $(GCC_FLAGS_TO_PASS
) $$compare
7229 @r
=`${PWD}`; export r
; \
7230 s
=`cd $(srcdir); ${PWD}` ; export s
; \
7232 echo
"Building runtime libraries"; \
7233 $(MAKE
) $(BASE_FLAGS_TO_PASS
) $(RECURSE_FLAGS
) all
7236 cross
: all-texinfo all-bison all-byacc all-binutils all-gas all-ld
7237 @r
=`${PWD}`; export r
; \
7238 s
=`cd $(srcdir); ${PWD}`; export s
; \
7240 echo
"Building the C and C++ compiler"; \
7241 cd gcc
&& $(MAKE
) $(GCC_FLAGS_TO_PASS
) LANGUAGES
="c c++"
7242 @r
=`${PWD}`; export r
; \
7243 s
=`cd $(srcdir); ${PWD}` ; export s
; \
7245 echo
"Building runtime libraries"; \
7246 $(MAKE
) $(BASE_FLAGS_TO_PASS
) $(RECURSE_FLAGS
) \
7247 LANGUAGES
="c c++" all
7251 @if
[ -f .
/gcc
/Makefile
] ; then \
7252 r
=`${PWD}`; export r
; \
7253 s
=`cd $(srcdir); ${PWD}`; export s
; \
7255 (cd gcc
&& $(MAKE
) $(GCC_FLAGS_TO_PASS
) check); \
7260 .PHONY
: check-gcc-c
++
7262 @if
[ -f .
/gcc
/Makefile
] ; then \
7263 r
=`${PWD}`; export r
; \
7264 s
=`cd $(srcdir); ${PWD}`; export s
; \
7266 (cd gcc
&& $(MAKE
) $(GCC_FLAGS_TO_PASS
) check-c
++); \
7273 $(MAKE
) check-target-libstdc
++-v3 check-gcc-c
++ NOTPARALLEL
=parallel-ok
7275 .PHONY
: install-gcc maybe-install-gcc
7278 @if
[ -f .
/gcc
/Makefile
] ; then \
7279 r
=`${PWD}`; export r
; \
7280 s
=`cd $(srcdir); ${PWD}`; export s
; \
7282 (cd gcc
&& $(MAKE
) $(GCC_FLAGS_TO_PASS
) install); \
7287 # Install the gcc headers files, but not the fixed include files,
7288 # which Cygnus is not allowed to distribute. This rule is very
7289 # dependent on the workings of the gcc Makefile.in.
7290 .PHONY
: gcc-no-fixedincludes
7291 gcc-no-fixedincludes
:
7292 @if
[ -f .
/gcc
/Makefile
]; then \
7293 rm -rf gcc
/tmp-include
; \
7294 mv gcc
/include gcc
/tmp-include
2>/dev
/null
; \
7295 mkdir gcc
/include; \
7296 cp
$(srcdir)/gcc
/gsyslimits.h gcc
/include/syslimits.h
; \
7297 touch gcc
/stmp-fixinc gcc
/include/fixed
; \
7298 rm -f gcc
/stmp-headers gcc
/stmp-int-hdrs
; \
7299 r
=`${PWD}`; export r
; \
7300 s
=`cd $(srcdir); ${PWD}` ; export s
; \
7303 $(MAKE
) $(GCC_FLAGS_TO_PASS
) install); \
7304 rm -rf gcc
/include; \
7305 mv gcc
/tmp-include gcc
/include 2>/dev
/null
; \
7308 # --------------------------------------
7309 # Dependencies between different modules
7310 # --------------------------------------
7312 # There are two types of dependencies here: 'hard' dependencies, where one
7313 # module simply won't build without the other; and 'soft' dependencies, where
7314 # if the depended-on module is missing, the depending module will do without
7315 # or find a substitute somewhere (perhaps installed). Soft dependencies
7316 # are specified by depending on a 'maybe-' target. If you're not sure,
7317 # it's safer to use a soft dependency.
7319 # Host modules specific to gcc.
7320 # GCC needs to identify certain tools.
7321 configure-gcc
: maybe-configure-binutils maybe-configure-gas maybe-configure-ld maybe-configure-bison maybe-configure-flex
7322 all-gcc
: maybe-all-libiberty maybe-all-bison maybe-all-byacc maybe-all-binutils maybe-all-gas maybe-all-ld maybe-all-zlib
7323 # This is a slightly kludgy method of getting dependencies on
7324 # all-build-libiberty correct; it would be better to build it every time.
7325 all-gcc
: maybe-all-build-libiberty
7326 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
7328 # Host modules specific to gdb.
7329 # GDB needs to know that the simulator is being built.
7330 configure-gdb
: maybe-configure-tcl maybe-configure-tk maybe-configure-sim
7332 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
)
7333 install-gdb
: maybe-install-tcl maybe-install-tk maybe-install-itcl maybe-install-tix maybe-install-libgui
7334 configure-libgui
: maybe-configure-tcl maybe-configure-tk
7335 all-libgui
: maybe-all-tcl maybe-all-tk maybe-all-itcl
7337 # Host modules specific to binutils.
7338 configure-bfd
: configure-libiberty
7339 all-bfd
: maybe-all-libiberty maybe-all-intl
7340 all-binutils
: maybe-all-libiberty maybe-all-opcodes maybe-all-bfd maybe-all-flex maybe-all-bison maybe-all-byacc maybe-all-intl
7341 # We put install-opcodes before install-binutils because the installed
7342 # binutils might be on PATH, and they might need the shared opcodes
7344 install-binutils
: maybe-install-opcodes
7345 all-gas
: maybe-all-libiberty maybe-all-opcodes maybe-all-bfd maybe-all-intl
7346 all-gprof
: maybe-all-libiberty maybe-all-bfd maybe-all-opcodes maybe-all-intl
7347 all-ld
: maybe-all-libiberty maybe-all-bfd maybe-all-opcodes maybe-all-bison maybe-all-byacc maybe-all-flex maybe-all-intl
7348 all-opcodes
: maybe-all-bfd maybe-all-libiberty
7350 # Other host modules in the 'src' repository.
7351 all-dejagnu
: maybe-all-tcl maybe-all-expect maybe-all-tk
7352 configure-expect
: maybe-configure-tcl maybe-configure-tk
7353 all-expect
: maybe-all-tcl maybe-all-tk
7354 configure-itcl
: maybe-configure-tcl maybe-configure-tk
7355 all-itcl
: maybe-all-tcl maybe-all-tk
7356 # We put install-tcl before install-itcl because itcl wants to run a
7357 # program on installation which uses the Tcl libraries.
7358 install-itcl
: maybe-install-tcl
7359 all-sid
: maybe-all-libiberty maybe-all-bfd maybe-all-opcodes maybe-all-tcl maybe-all-tk
7360 install-sid
: maybe-install-tcl maybe-install-tk
7361 all-sim
: maybe-all-libiberty maybe-all-bfd maybe-all-opcodes maybe-all-readline maybe-configure-gdb
7362 configure-tk
: maybe-configure-tcl
7363 all-tk
: maybe-all-tcl
7364 configure-tix
: maybe-configure-tcl maybe-configure-tk
7365 all-tix
: maybe-all-tcl maybe-all-tk
7366 all-texinfo
: maybe-all-libiberty
7368 # Other host modules. Warning, these are not well tested.
7369 all-autoconf
: maybe-all-m4 maybe-all-texinfo
7370 all-automake
: maybe-all-m4 maybe-all-texinfo
7371 all-bison
: maybe-all-texinfo
7372 all-diff
: maybe-all-libiberty
7373 all-fastjar
: maybe-all-zlib maybe-all-libiberty
7374 all-fileutils
: maybe-all-libiberty
7375 all-flex
: maybe-all-libiberty maybe-all-bison maybe-all-byacc
7376 all-gzip
: maybe-all-libiberty
7377 all-hello
: maybe-all-libiberty
7378 all-m4
: maybe-all-libiberty maybe-all-texinfo
7379 all-make
: maybe-all-libiberty
7380 all-patch
: maybe-all-libiberty
7381 all-prms
: maybe-all-libiberty
7382 all-recode
: maybe-all-libiberty
7383 all-sed
: maybe-all-libiberty
7384 all-send-pr
: maybe-all-prms
7385 all-tar
: maybe-all-libiberty
7386 all-uudecode
: maybe-all-libiberty
7388 ALL_GCC
= maybe-all-gcc
7389 ALL_GCC_C
= $(ALL_GCC
) maybe-all-target-newlib maybe-all-target-libgloss
7390 ALL_GCC_CXX
= $(ALL_GCC_C
) maybe-all-target-libstdc
++-v3
7392 # Target modules specific to gcc.
7393 configure-target-boehm-gc
: $(ALL_GCC_C
) maybe-configure-target-qthreads
7394 configure-target-fastjar
: maybe-configure-target-zlib
7395 all-target-fastjar
: maybe-all-target-zlib maybe-all-target-libiberty
7396 configure-target-libf2c
: $(ALL_GCC_C
)
7397 all-target-libf2c
: maybe-all-target-libiberty
7398 configure-target-libffi
: $(ALL_GCC_C
)
7399 configure-target-libjava
: $(ALL_GCC_C
) maybe-configure-target-zlib maybe-configure-target-boehm-gc maybe-configure-target-qthreads maybe-configure-target-libffi
7400 all-target-libjava
: maybe-all-fastjar maybe-all-target-zlib maybe-all-target-boehm-gc maybe-all-target-qthreads maybe-all-target-libffi
7401 configure-target-libobjc
: $(ALL_GCC_C
)
7402 all-target-libobjc
: maybe-all-target-libiberty
7403 configure-target-libstdc
++-v3
: $(ALL_GCC_C
)
7404 all-target-libstdc
++-v3
: maybe-all-target-libiberty
7405 configure-target-zlib
: $(ALL_GCC_C
)
7407 # Target modules in the 'src' repository.
7408 configure-target-examples
: $(ALL_GCC_C
)
7409 configure-target-libgloss
: $(ALL_GCC
)
7410 all-target-libgloss
: maybe-configure-target-newlib
7411 configure-target-libiberty
: $(ALL_GCC_C
)
7412 configure-target-libtermcap
: $(ALL_GCC_C
)
7413 configure-target-newlib
: $(ALL_GCC
)
7414 configure-target-rda
: $(ALL_GCC_C
)
7415 configure-target-winsup
: $(ALL_GCC_C
)
7416 all-target-winsup
: maybe-all-target-libiberty maybe-all-target-libtermcap
7418 # Other target modules. Warning, these are not well tested.
7419 configure-target-gperf
: $(ALL_GCC_CXX
)
7420 all-target-gperf
: maybe-all-target-libiberty maybe-all-target-libstdc
++-v3
7421 configure-target-qthreads
: $(ALL_GCC_C
)
7423 # Dependencies of maybe-foo on foo. These are used because, for example,
7424 # all-gcc only depends on all-gas if gas is present and being configured.
7425 @maybe_dependencies@
7427 # Serialization dependencies. Host configures don't work well in parallel to
7428 # each other, due to contention over config.cache. Target configures and
7429 # build configures are similar.
7430 @serialization_dependencies@
7432 # --------------------------------
7433 # Regenerating top level configury
7434 # --------------------------------
7436 # Multilib.out tells target dirs what multilibs they should build.
7437 # There is really only one copy. We use the 'timestamp' method to
7438 # work around various timestamp bugs on some systems.
7439 # We use move-if-change so that it's only considered updated when it
7440 # actually changes, because it has to depend on a phony target.
7441 multilib.out
: maybe-all-gcc
7442 @r
=`${PWD}`; export r
; \
7443 echo
"Checking multilib configuration..."; \
7444 $(CC_FOR_TARGET
) --print-multi-lib
> multilib.tmp
2> /dev
/null
; \
7445 $(SHELL
) $(srcdir)/move-if-change multilib.tmp multilib.out
; \
7447 # Rebuilding Makefile.in, using autogen.
7449 $(srcdir)/Makefile.in
: @MAINT@
$(srcdir)/Makefile.tpl
$(srcdir)/Makefile.def
7450 cd
$(srcdir) && $(AUTOGEN
) Makefile.def
7452 # Rebuilding Makefile.
7453 Makefile
: $(srcdir)/Makefile.in config.status
7454 CONFIG_FILES
=$@ CONFIG_HEADERS
= $(SHELL
) .
/config.status
7456 config.status
: configure
$(gcc_version_trigger
)
7457 $(SHELL
) .
/config.status
--recheck
7459 # Rebuilding configure.
7461 $(srcdir)/configure
: @MAINT@
$(srcdir)/configure.in
$(srcdir)/config
/acx.m4
7462 cd
$(srcdir) && $(AUTOCONF
)
7464 # Tell GNU make 3.79 not to run the top level in parallel. This
7465 # prevents contention for $builddir/$target/config.cache, as well
7466 # as minimizing scatter in file system caches.
7467 NOTPARALLEL
= .NOTPARALLEL
7470 # end of Makefile.in