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.
26 build_alias
=@build_alias@
28 build_vendor
=@build_vendor@
30 build_canonical
=@build_cpu@
-@build_vendor@
-@build_os@
31 host_alias
=@host_alias@
33 host_vendor
=@host_vendor@
35 host_canonical
=@host_cpu@
-@host_vendor@
-@host_os@
36 target_alias
=@target_alias@
37 target_cpu
=@target_cpu@
38 target_vendor
=@target_vendor@
40 target_canonical
=@target_cpu@
-@target_vendor@
-@target_os@
42 enable_shared
= @enable_shared@
43 enable_threads
= @enable_threads@
44 enable_version_specific_runtime_libs
= @enable_version_specific_runtime_libs@
45 # The file containing GCC's version number.
46 gcc_version_trigger
= @gcc_version_trigger@
47 gcc_version
= @gcc_version@
49 # The gcc driver likes to know the arguments it was configured with.
50 TOPLEVEL_CONFIGURE_ARGUMENTS
=@TOPLEVEL_CONFIGURE_ARGUMENTS@
55 exec_prefix = @
exec_prefix@
59 libexecdir
= @libexecdir@
61 sysconfdir
= @sysconfdir@
62 sharedstatedir
= @sharedstatedir@
63 localstatedir
= @localstatedir@
65 includedir = @
includedir@
66 oldincludedir = @
oldincludedir@
69 gxx_include_dir
= @gxx_include_dir@
70 libstdcxx_incdir
= @libstdcxx_incdir@
73 build_tooldir
= @build_tooldir@
75 program_transform_name
= @program_transform_name@
77 man1dir = $(mandir)/man1
78 man2dir = $(mandir)/man2
79 man3dir = $(mandir)/man3
80 man4dir = $(mandir)/man4
81 man5dir = $(mandir)/man5
82 man6dir = $(mandir)/man6
83 man7dir = $(mandir)/man7
84 man8dir = $(mandir)/man8
85 man9dir = $(mandir)/man9
86 # Directory in which the compiler finds executables, libraries, etc.
87 libsubdir
= $(libdir)/gcc-lib
/$(target_alias
)/$(gcc_version
)
90 SHELL
= @config_shell@
92 # pwd command to use. Allow user to override default by setting PWDCMD in
93 # the environment to account for automounters. The make variable must not
94 # be called PWDCMD, otherwise the value set here is passed to make
95 # subprocesses and overrides the setting from the user's environment.
98 # INSTALL_PROGRAM_ARGS is changed by configure.in to use -x for a
100 INSTALL_PROGRAM_ARGS
=
102 INSTALL
= $(SHELL
) $$s/install-sh
-c
103 INSTALL_PROGRAM
= $(INSTALL
) $(INSTALL_PROGRAM_ARGS
)
104 INSTALL_SCRIPT
= $(INSTALL
)
105 INSTALL_DATA
= $(INSTALL
) -m
644
113 # Special variables passed down in EXTRA_GCC_FLAGS. They are defined
114 # here so that they can be overridden by Makefile fragments.
115 BUILD_CC
= $(CC_FOR_BUILD
)
116 BUILD_PREFIX
= @BUILD_PREFIX@
117 BUILD_PREFIX_1
= @BUILD_PREFIX_1@
120 CXXFLAGS
= @CXXFLAGS@
123 LIBCFLAGS
= $(CFLAGS
)
124 CFLAGS_FOR_BUILD
= $(CFLAGS
)
125 # During gcc bootstrap, if we use some random cc for stage1 then
126 # CFLAGS will be just -g. We want to ensure that TARGET libraries
127 # (which we know are built with gcc) are built with optimizations so
128 # prepend -O2 when setting CFLAGS_FOR_TARGET.
129 CFLAGS_FOR_TARGET
= -O2
$(CFLAGS
)
131 LIBCFLAGS_FOR_TARGET
= $(CFLAGS_FOR_TARGET
)
137 # Use -O2 to stress test the compiler.
138 LIBCXXFLAGS
= $(CXXFLAGS
) -fno-implicit-templates
139 CXXFLAGS_FOR_TARGET
= $(CXXFLAGS
)
140 LIBCXXFLAGS_FOR_TARGET
= $(CXXFLAGS_FOR_TARGET
) -fno-implicit-templates
149 # These values are substituted by configure.
150 DEFAULT_YACC
= @DEFAULT_YACC@
151 DEFAULT_LEX
= @DEFAULT_LEX@
152 DEFAULT_M4
= @DEFAULT_M4@
155 USUAL_BISON
= `if [ -f $$r/bison/bison ] ; then \
156 echo $$r/bison/bison -L $$s/bison/ ; \
162 USUAL_YACC
= `if [ -f $$r/bison/bison ] ; then \
163 echo $$r/bison/bison -y -L $$s/bison/ ; \
164 elif [ -f $$r/byacc/byacc ] ; then \
165 echo $$r/byacc/byacc ; \
167 echo ${DEFAULT_YACC} ; \
171 USUAL_LEX
= `if [ -f $$r/flex/flex ] ; \
172 then echo $$r/flex/flex ; \
173 else echo ${DEFAULT_LEX} ; fi`
175 M4
= `if [ -f $$r/m4/m4 ] ; \
176 then echo $$r/m4/m4 ; \
177 else echo ${DEFAULT_M4} ; fi`
179 # For an installed makeinfo, we require it to be from texinfo 4 or
180 # higher, else we use the "missing" dummy.
182 USUAL_MAKEINFO
= `if [ -f $$r/texinfo/makeinfo/makeinfo ] ; \
183 then echo $$r/texinfo/makeinfo/makeinfo ; \
184 else if (makeinfo --version \
185 | egrep 'texinfo[^0-9]*([1-3][0-9]|[4-9])') >/dev/null 2>&1; \
186 then echo makeinfo; else echo $$s/missing makeinfo; fi; fi`
188 # This just becomes part of the MAKEINFO definition passed down to
189 # sub-makes. It lets flags be given on the command line while still
190 # using the makeinfo from the object tree.
193 EXPECT
= `if [ -f $$r/expect/expect ] ; \
194 then echo $$r/expect/expect ; \
195 else echo expect ; fi`
197 RUNTEST
= `if [ -f $$s/dejagnu/runtest ] ; \
198 then echo $$s/dejagnu/runtest ; \
199 else echo runtest ; fi`
202 # compilers to use to create programs which must be run in the build
204 CC_FOR_BUILD
= @CC_FOR_BUILD@
205 CXX_FOR_BUILD
= $(CXX
)
207 SUBDIRS
= @configdirs@
209 # This is set by the configure script to the list of directories which
210 # should be built using the target tools.
211 TARGET_CONFIGDIRS
= @target_configdirs@
213 # Target libraries are put under this directory:
214 # Changed by configure to $(target_alias) if cross.
215 TARGET_SUBDIR
= @target_subdir@
217 BUILD_CONFIGDIRS
= libiberty
218 BUILD_SUBDIR
= @build_subdir@
220 # This is set by the configure script to the arguments to use when configuring
221 # directories built for the build system.
222 BUILD_CONFIGARGS
= @build_configargs@
224 # This is set by the configure script to the arguments to use when configuring
225 # directories built for the host system.
226 HOST_CONFIGARGS
= @host_configargs@
228 # This is set by the configure script to the arguments to use when configuring
229 # directories built for the target.
230 TARGET_CONFIGARGS
= @target_configargs@
232 # This is set by configure to REALLY_SET_LIB_PATH if --enable-shared
234 SET_LIB_PATH
= @SET_LIB_PATH@
236 # This is the name of the environment variable used for the path to
237 # the libraries. This may be changed by configure.in.
238 RPATH_ENVVAR
= @RPATH_ENVVAR@
240 # This is the list of directories that may be needed in RPATH_ENVVAR
241 # so that programs built for the host machine work.
242 HOST_LIB_PATH
= $$r/bfd
:$$r/opcodes
244 # This is the list of directories that may be needed in RPATH_ENVVAR
245 # so that prorgams built for the target machine work.
246 TARGET_LIB_PATH
= $$r/$(TARGET_SUBDIR
)/libstdc
++-v3
/src
/.libs
:
248 # configure.in sets SET_LIB_PATH to this if --enable-shared was used.
249 # Some platforms don't like blank entries, so we remove duplicate,
250 # leading and trailing colons.
251 REALLY_SET_LIB_PATH
= \
252 $(RPATH_ENVVAR
)=`echo "$(HOST_LIB_PATH):$(TARGET_LIB_PATH):$$$(RPATH_ENVVAR)" | sed 's,::*,:,g;s,^:*,,;s,:*$$,,'`; export $(RPATH_ENVVAR
);
254 # Should be substed by configure.in
255 FLAGS_FOR_TARGET
= @FLAGS_FOR_TARGET@
256 CC_FOR_TARGET
= @CC_FOR_TARGET@
257 CXX_FOR_TARGET
= @CXX_FOR_TARGET@
258 RAW_CXX_FOR_TARGET
= @RAW_CXX_FOR_TARGET@
259 CXX_FOR_TARGET_FOR_RECURSIVE_MAKE
= @CXX_FOR_TARGET_FOR_RECURSIVE_MAKE@
260 RAW_CXX_FOR_TARGET_FOR_RECURSIVE_MAKE
= @RAW_CXX_FOR_TARGET_FOR_RECURSIVE_MAKE@
261 GCJ_FOR_TARGET
= @GCJ_FOR_TARGET@
263 # If GCC_FOR_TARGET is not overriden on the command line, then this
264 # variable is passed down to the gcc Makefile, where it is used to
265 # build libgcc2.a. We define it here so that it can itself be
266 # overridden on the command line.
267 GCC_FOR_TARGET
=@GCC_FOR_TARGET@
268 USUAL_GCC_FOR_TARGET
= $(STAGE_CC_WRAPPER
) $$r/gcc
/xgcc
-B
$$r/gcc
/ $(FLAGS_FOR_TARGET
)
270 AS_FOR_TARGET
=@AS_FOR_TARGET@
271 USUAL_AS_FOR_TARGET
= ` \
272 if [ -f $$r/gas/as-new ] ; then \
273 echo $$r/gas/as-new ; \
274 elif [ -f $$r/gcc/xgcc ]; then \
275 $(CC_FOR_TARGET) -print-prog-name=as ; \
277 if [ '$(host_canonical)' = '$(target_canonical)' ] ; then \
280 echo as | sed '$(program_transform_name)' ; \
284 LD_FOR_TARGET
=@LD_FOR_TARGET@
285 USUAL_LD_FOR_TARGET
= ` \
286 if [ -f $$r/ld/ld-new ] ; then \
287 echo $$r/ld/ld-new ; \
288 elif [ -f $$r/gcc/xgcc ]; then \
289 $(CC_FOR_TARGET) -print-prog-name=ld ; \
291 if [ '$(host_canonical)' = '$(target_canonical)' ] ; then \
294 echo ld | sed '$(program_transform_name)' ; \
298 DLLTOOL_FOR_TARGET
=@DLLTOOL_FOR_TARGET@
299 USUAL_DLLTOOL_FOR_TARGET
= ` \
300 if [ -f $$r/binutils/dlltool ] ; then \
301 echo $$r/binutils/dlltool ; \
303 if [ '$(host_canonical)' = '$(target_canonical)' ] ; then \
306 echo dlltool | sed '$(program_transform_name)' ; \
310 WINDRES_FOR_TARGET
=@WINDRES_FOR_TARGET@
311 USUAL_WINDRES_FOR_TARGET
= ` \
312 if [ -f $$r/binutils/windres ] ; then \
313 echo $$r/binutils/windres ; \
315 if [ '$(host_canonical)' = '$(target_canonical)' ] ; then \
318 echo windres | sed '$(program_transform_name)' ; \
322 AR_FOR_TARGET
=@AR_FOR_TARGET@
323 USUAL_AR_FOR_TARGET
= ` \
324 if [ -f $$r/binutils/ar ] ; then \
325 echo $$r/binutils/ar ; \
327 if [ '$(host_canonical)' = '$(target_canonical)' ] ; then \
330 echo ar | sed '$(program_transform_name)' ; \
334 RANLIB_FOR_TARGET
=@RANLIB_FOR_TARGET@
335 USUAL_RANLIB_FOR_TARGET
= ` \
336 if [ -f $$r/binutils/ranlib ] ; then \
337 echo $$r/binutils/ranlib ; \
339 if [ '$(host_canonical)' = '$(target_canonical)' ] ; then \
340 if [ x'$(RANLIB)' != x ]; then \
346 echo ranlib | sed '$(program_transform_name)' ; \
350 NM_FOR_TARGET
=@NM_FOR_TARGET@
351 USUAL_NM_FOR_TARGET
= ` \
352 if [ -f $$r/binutils/nm-new ] ; then \
353 echo $$r/binutils/nm-new ; \
354 elif [ -f $$r/gcc/xgcc ]; then \
355 $(CC_FOR_TARGET) -print-prog-name=nm ; \
357 if [ '$(host_canonical)' = '$(target_canonical)' ] ; then \
360 echo nm | sed '$(program_transform_name)' ; \
364 # The first rule in the file had better be this one. Don't put any above it.
365 # This lives here to allow makefile fragments to contain dependencies.
369 #### host and target specific makefile fragments come in here.
370 @target_makefile_frag@
376 # Flags to pass down to all sub-makes.
377 # Please keep these in alphabetical order.
378 BASE_FLAGS_TO_PASS
= \
379 "AR_FLAGS=$(AR_FLAGS)" \
380 "AR_FOR_TARGET=$(AR_FOR_TARGET)" \
381 "AS_FOR_TARGET=$(AS_FOR_TARGET)" \
383 "CC_FOR_BUILD=$(CC_FOR_BUILD)" \
384 "CC_FOR_TARGET=$(CC_FOR_TARGET)" \
386 "CFLAGS_FOR_TARGET=$(CFLAGS_FOR_TARGET)" \
387 "GCJ_FOR_TARGET=$(GCJ_FOR_TARGET)" \
388 "CXX_FOR_BUILD=$(CXX_FOR_BUILD)" \
389 "CXXFLAGS=$(CXXFLAGS)" \
390 "CXXFLAGS_FOR_TARGET=$(CXXFLAGS_FOR_TARGET)" \
391 "CXX_FOR_TARGET=$(CXX_FOR_TARGET)" \
392 "DESTDIR=$(DESTDIR)" \
393 "DLLTOOL_FOR_TARGET=$(DLLTOOL_FOR_TARGET)" \
394 "INSTALL=$(INSTALL)" \
395 "INSTALL_DATA=$(INSTALL_DATA)" \
396 "INSTALL_PROGRAM=$(INSTALL_PROGRAM)" \
397 "INSTALL_SCRIPT=$(INSTALL_SCRIPT)" \
398 "LDFLAGS=$(LDFLAGS)" \
400 "LD_FOR_TARGET=$(LD_FOR_TARGET)" \
401 "LIBCFLAGS=$(LIBCFLAGS)" \
402 "LIBCFLAGS_FOR_TARGET=$(LIBCFLAGS_FOR_TARGET)" \
403 "LIBCXXFLAGS=$(LIBCXXFLAGS)" \
404 "LIBCXXFLAGS_FOR_TARGET=$(LIBCXXFLAGS_FOR_TARGET)" \
407 "MAKEINFO=$(MAKEINFO) $(MAKEINFOFLAGS)" \
408 "NM_FOR_TARGET=$(NM_FOR_TARGET)" \
409 "RANLIB_FOR_TARGET=$(RANLIB_FOR_TARGET)" \
410 "RPATH_ENVVAR=$(RPATH_ENVVAR)" \
413 "RUNTEST=$(RUNTEST)" \
414 "RUNTESTFLAGS=$(RUNTESTFLAGS)" \
415 "TARGET_SUBDIR=$(TARGET_SUBDIR)" \
416 "WINDRES_FOR_TARGET=$(WINDRES_FOR_TARGET)" \
419 "datadir=$(datadir)" \
420 "exec_prefix=$(exec_prefix)" \
421 "includedir=$(includedir)" \
422 "infodir=$(infodir)" \
424 "libexecdir=$(libexecdir)" \
425 "lispdir=$(lispdir)" \
426 "libstdcxx_incdir=$(libstdcxx_incdir)" \
427 "libsubdir=$(libsubdir)" \
428 "localstatedir=$(localstatedir)" \
430 "oldincludedir=$(oldincludedir)" \
432 "sbindir=$(sbindir)" \
433 "sharedstatedir=$(sharedstatedir)" \
434 "sysconfdir=$(sysconfdir)" \
435 "tooldir=$(tooldir)" \
436 "build_tooldir=$(build_tooldir)" \
437 "gxx_include_dir=$(gxx_include_dir)" \
438 "gcc_version=$(gcc_version)" \
439 "gcc_version_trigger=$(gcc_version_trigger)" \
440 "target_alias=$(target_alias)"
442 # For any flags above that may contain shell code that varies from one
443 # target library to another. When doing recursive invocations of the
444 # top-level Makefile, we don't want the outer make to evaluate them,
445 # so we pass these variables down unchanged. They must not contain
446 # single nor double quotes.
448 CXX_FOR_TARGET
='$(CXX_FOR_TARGET_FOR_RECURSIVE_MAKE)' \
449 RAW_CXX_FOR_TARGET
='$(RAW_CXX_FOR_TARGET_FOR_RECURSIVE_MAKE)' \
451 # Flags to pass down to most sub-makes, in which we're building with
452 # the host environment.
453 # If any variables are added here, they must be added to do-*, below.
459 'DLLTOOL=$(DLLTOOL)' \
462 "`echo 'RANLIB=$(RANLIB)' | sed -e s/.*=$$/XFOO=/`" \
465 FLAGS_TO_PASS
= $(BASE_FLAGS_TO_PASS
) $(EXTRA_HOST_FLAGS
)
467 # Flags that are concerned with the location of the X11 include files
470 # NOTE: until the top-level is getting the values via autoconf, it only
471 # causes problems to have this top-level Makefile overriding the autoconf-set
472 # values in child directories. Only variables that don't conflict with
473 # autoconf'ed ones should be passed by X11_FLAGS_TO_PASS for now.
475 X11_FLAGS_TO_PASS
= \
476 'X11_EXTRA_CFLAGS=$(X11_EXTRA_CFLAGS)' \
477 'X11_EXTRA_LIBS=$(X11_EXTRA_LIBS)'
479 # Flags to pass down to makes which are built with the target environment.
480 # The double $ decreases the length of the command line; the variables
481 # are set in BASE_FLAGS_TO_PASS, and the sub-make will expand them.
482 # If any variables are added here, they must be added to do-*, below.
483 EXTRA_TARGET_FLAGS
= \
484 'AR=$$(AR_FOR_TARGET)' \
485 'AS=$$(AS_FOR_TARGET)' \
486 'CC=$$(CC_FOR_TARGET)' \
487 'CFLAGS=$$(CFLAGS_FOR_TARGET)' \
488 'CXX=$$(CXX_FOR_TARGET)' \
489 'CXXFLAGS=$$(CXXFLAGS_FOR_TARGET)' \
490 'DLLTOOL=$$(DLLTOOL_FOR_TARGET)' \
491 'LD=$$(LD_FOR_TARGET)' \
492 'LIBCFLAGS=$$(LIBCFLAGS_FOR_TARGET)' \
493 'LIBCXXFLAGS=$$(LIBCXXFLAGS_FOR_TARGET)' \
494 'NM=$$(NM_FOR_TARGET)' \
495 'RANLIB=$$(RANLIB_FOR_TARGET)' \
496 'WINDRES=$$(WINDRES_FOR_TARGET)'
498 TARGET_FLAGS_TO_PASS
= $(BASE_FLAGS_TO_PASS
) $(EXTRA_TARGET_FLAGS
)
500 # Flags to pass down to gcc. gcc builds a library, libgcc.a, so it
501 # unfortunately needs the native compiler and the target ar and
503 # If any variables are added here, they must be added to do-*, below.
504 # The HOST_* variables are a special case, which are used for the gcc
505 # cross-building scheme.
511 'DLLTOOL=$$(DLLTOOL_FOR_TARGET)' \
512 'BUILD_CC=$(CC_FOR_BUILD)' \
513 'BUILD_PREFIX=$(BUILD_PREFIX)' \
514 'BUILD_PREFIX_1=$(BUILD_PREFIX_1)' \
516 "`echo 'RANLIB=$(RANLIB)' | sed -e s/.*=$$/XFOO=/`" \
517 'WINDRES=$$(WINDRES_FOR_TARGET)' \
518 "GCC_FOR_TARGET=$(GCC_FOR_TARGET)" \
519 "CFLAGS_FOR_BUILD=$(CFLAGS_FOR_BUILD)" \
520 "`echo 'LANGUAGES=$(LANGUAGES)' | sed -e s/.*=$$/XFOO=/`" \
521 "`echo 'STMP_FIXPROTO=$(STMP_FIXPROTO)' | sed -e s/.*=$$/XFOO=/`" \
522 "`echo 'LIMITS_H_TEST=$(LIMITS_H_TEST)' | sed -e s/.*=$$/XFOO=/`" \
523 "`echo 'LIBGCC2_CFLAGS=$(LIBGCC2_CFLAGS)' | sed -e s/.*=$$/XFOO=/`" \
524 "`echo 'LIBGCC2_DEBUG_CFLAGS=$(LIBGCC2_DEBUG_CFLAGS)' | sed -e s/.*=$$/XFOO=/`" \
525 "`echo 'LIBGCC2_INCLUDES=$(LIBGCC2_INCLUDES)' | sed -e s/.*=$$/XFOO=/`" \
526 "`echo 'ENQUIRE=$(ENQUIRE)' | sed -e s/.*=$$/XFOO=/`" \
527 "`echo 'STAGE1_CFLAGS=$(STAGE1_CFLAGS)' | sed -e s/.*=$$/XFOO=/`" \
528 "`echo 'BOOT_CFLAGS=$(BOOT_CFLAGS)' | sed -e s/.*=$$/XFOO=/`"
530 GCC_FLAGS_TO_PASS
= $(BASE_FLAGS_TO_PASS
) $(EXTRA_GCC_FLAGS
)
532 configure-host
: @configure_host_modules@
533 configure-target
: @configure_target_modules@
535 # This is a list of the targets for which we can do a clean-{target}.
596 # All of the target modules that can be cleaned
597 CLEAN_TARGET_MODULES
= \
598 clean-target-libstdc
++-v3 \
599 clean-target-newlib \
600 clean-target-libf2c \
601 clean-target-libobjc \
602 clean-target-winsup \
603 clean-target-libgloss \
604 clean-target-libiberty \
606 clean-target-examples \
607 clean-target-libffi \
608 clean-target-libjava \
610 clean-target-boehm-gc \
611 clean-target-qthreads \
614 # All of the x11 modules that can be cleaned
615 CLEAN_X11_MODULES
= \
622 # The target built for a native build.
623 # This list only includes modules actually being configured and built.
625 all.normal
: @all_build_modules@ \
629 all-host
: @all_host_modules@
630 all-target
: @all_target_modules@
632 # Do a target for all the subdirectories. A ``make do-X'' will do a
633 # ``make X'' in all subdirectories (because, in general, there is a
634 # dependency (below) of X upon do-X, a ``make X'' will also do this,
635 # but it may do additional work as well).
636 # This target ensures that $(BASE_FLAGS_TO_PASS) appears only once,
637 # because it is so large that it can easily overflow the command line
638 # length limit on some systems.
642 @r
=`${PWD}`; export r
; \
643 s
=`cd $(srcdir); ${PWD}`; export s
; \
645 for i in
$(SUBDIRS
) -dummy-
; do \
646 if
[ -f .
/$$i/Makefile
]; then \
649 for flag in
$(EXTRA_GCC_FLAGS
); do \
650 eval
`echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
654 for flag in
$(EXTRA_HOST_FLAGS
); do \
655 eval
`echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
660 $(MAKE
) $(BASE_FLAGS_TO_PASS
) "AR=$${AR}" "AS=$${AS}" \
661 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
662 "`echo \"RANLIB=$${RANLIB}\" | sed -e 's/.*=$$/XFOO=/'`" \
663 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
668 # Break into two pieces
669 r
=`${PWD}`; export r
; \
670 s
=`cd $(srcdir); ${PWD}`; export s
; \
672 for i in
$(TARGET_CONFIGDIRS
) -dummy-
; do \
673 if
[ -f
$(TARGET_SUBDIR
)/$$i/Makefile
]; then \
674 for flag in
$(EXTRA_TARGET_FLAGS
); do \
675 eval
`echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
677 (cd
$(TARGET_SUBDIR
)/$$i && \
678 $(MAKE
) $(BASE_FLAGS_TO_PASS
) "AR=$${AR}" "AS=$${AS}" \
679 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
680 "`echo \"RANLIB=$${RANLIB}\" | sed -e 's/.*=$$/XFOO=/'`" \
681 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
689 @r
=`${PWD}`; export r
; \
690 s
=`cd $(srcdir); ${PWD}`; export s
; \
692 for i in
$(SUBDIRS
) -dummy-
; do \
693 if
[ -f .
/$$i/Makefile
]; then \
696 for flag in
$(EXTRA_GCC_FLAGS
); do \
697 eval
`echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
701 for flag in
$(EXTRA_HOST_FLAGS
); do \
702 eval
`echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
707 $(MAKE
) $(BASE_FLAGS_TO_PASS
) "AR=$${AR}" "AS=$${AS}" \
708 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
709 "`echo \"RANLIB=$${RANLIB}\" | sed -e 's/.*=$$/XFOO=/'`" \
710 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
715 # Break into two pieces
716 r
=`${PWD}`; export r
; \
717 s
=`cd $(srcdir); ${PWD}`; export s
; \
719 for i in
$(TARGET_CONFIGDIRS
) -dummy-
; do \
720 if
[ -f
$(TARGET_SUBDIR
)/$$i/Makefile
]; then \
721 for flag in
$(EXTRA_TARGET_FLAGS
); do \
722 eval
`echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
724 (cd
$(TARGET_SUBDIR
)/$$i && \
725 $(MAKE
) $(BASE_FLAGS_TO_PASS
) "AR=$${AR}" "AS=$${AS}" \
726 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
727 "`echo \"RANLIB=$${RANLIB}\" | sed -e 's/.*=$$/XFOO=/'`" \
728 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
736 @r
=`${PWD}`; export r
; \
737 s
=`cd $(srcdir); ${PWD}`; export s
; \
739 for i in
$(SUBDIRS
) -dummy-
; do \
740 if
[ -f .
/$$i/Makefile
]; then \
743 for flag in
$(EXTRA_GCC_FLAGS
); do \
744 eval
`echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
748 for flag in
$(EXTRA_HOST_FLAGS
); do \
749 eval
`echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
754 $(MAKE
) $(BASE_FLAGS_TO_PASS
) "AR=$${AR}" "AS=$${AS}" \
755 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
756 "`echo \"RANLIB=$${RANLIB}\" | sed -e 's/.*=$$/XFOO=/'`" \
757 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
762 # Break into two pieces
763 r
=`${PWD}`; export r
; \
764 s
=`cd $(srcdir); ${PWD}`; export s
; \
766 for i in
$(TARGET_CONFIGDIRS
) -dummy-
; do \
767 if
[ -f
$(TARGET_SUBDIR
)/$$i/Makefile
]; then \
768 for flag in
$(EXTRA_TARGET_FLAGS
); do \
769 eval
`echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
771 (cd
$(TARGET_SUBDIR
)/$$i && \
772 $(MAKE
) $(BASE_FLAGS_TO_PASS
) "AR=$${AR}" "AS=$${AS}" \
773 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
774 "`echo \"RANLIB=$${RANLIB}\" | sed -e 's/.*=$$/XFOO=/'`" \
775 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
783 @r
=`${PWD}`; export r
; \
784 s
=`cd $(srcdir); ${PWD}`; export s
; \
786 for i in
$(SUBDIRS
) -dummy-
; do \
787 if
[ -f .
/$$i/Makefile
]; then \
790 for flag in
$(EXTRA_GCC_FLAGS
); do \
791 eval
`echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
795 for flag in
$(EXTRA_HOST_FLAGS
); do \
796 eval
`echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
801 $(MAKE
) $(BASE_FLAGS_TO_PASS
) "AR=$${AR}" "AS=$${AS}" \
802 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
803 "`echo \"RANLIB=$${RANLIB}\" | sed -e 's/.*=$$/XFOO=/'`" \
804 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
809 # Break into two pieces
810 r
=`${PWD}`; export r
; \
811 s
=`cd $(srcdir); ${PWD}`; export s
; \
813 for i in
$(TARGET_CONFIGDIRS
) -dummy-
; do \
814 if
[ -f
$(TARGET_SUBDIR
)/$$i/Makefile
]; then \
815 for flag in
$(EXTRA_TARGET_FLAGS
); do \
816 eval
`echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
818 (cd
$(TARGET_SUBDIR
)/$$i && \
819 $(MAKE
) $(BASE_FLAGS_TO_PASS
) "AR=$${AR}" "AS=$${AS}" \
820 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
821 "`echo \"RANLIB=$${RANLIB}\" | sed -e 's/.*=$$/XFOO=/'`" \
822 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
828 .PHONY
: do-install-info
830 @r
=`${PWD}`; export r
; \
831 s
=`cd $(srcdir); ${PWD}`; export s
; \
833 for i in
$(SUBDIRS
) -dummy-
; do \
834 if
[ -f .
/$$i/Makefile
]; then \
837 for flag in
$(EXTRA_GCC_FLAGS
); do \
838 eval
`echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
842 for flag in
$(EXTRA_HOST_FLAGS
); do \
843 eval
`echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
848 $(MAKE
) $(BASE_FLAGS_TO_PASS
) "AR=$${AR}" "AS=$${AS}" \
849 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
850 "`echo \"RANLIB=$${RANLIB}\" | sed -e 's/.*=$$/XFOO=/'`" \
851 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
856 # Break into two pieces
857 r
=`${PWD}`; export r
; \
858 s
=`cd $(srcdir); ${PWD}`; export s
; \
860 for i in
$(TARGET_CONFIGDIRS
) -dummy-
; do \
861 if
[ -f
$(TARGET_SUBDIR
)/$$i/Makefile
]; then \
862 for flag in
$(EXTRA_TARGET_FLAGS
); do \
863 eval
`echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
865 (cd
$(TARGET_SUBDIR
)/$$i && \
866 $(MAKE
) $(BASE_FLAGS_TO_PASS
) "AR=$${AR}" "AS=$${AS}" \
867 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
868 "`echo \"RANLIB=$${RANLIB}\" | sed -e 's/.*=$$/XFOO=/'`" \
869 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
875 .PHONY
: do-installcheck
877 @r
=`${PWD}`; export r
; \
878 s
=`cd $(srcdir); ${PWD}`; export s
; \
880 for i in
$(SUBDIRS
) -dummy-
; do \
881 if
[ -f .
/$$i/Makefile
]; then \
884 for flag in
$(EXTRA_GCC_FLAGS
); do \
885 eval
`echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
889 for flag in
$(EXTRA_HOST_FLAGS
); do \
890 eval
`echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
895 $(MAKE
) $(BASE_FLAGS_TO_PASS
) "AR=$${AR}" "AS=$${AS}" \
896 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
897 "`echo \"RANLIB=$${RANLIB}\" | sed -e 's/.*=$$/XFOO=/'`" \
898 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
903 # Break into two pieces
904 r
=`${PWD}`; export r
; \
905 s
=`cd $(srcdir); ${PWD}`; export s
; \
907 for i in
$(TARGET_CONFIGDIRS
) -dummy-
; do \
908 if
[ -f
$(TARGET_SUBDIR
)/$$i/Makefile
]; then \
909 for flag in
$(EXTRA_TARGET_FLAGS
); do \
910 eval
`echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
912 (cd
$(TARGET_SUBDIR
)/$$i && \
913 $(MAKE
) $(BASE_FLAGS_TO_PASS
) "AR=$${AR}" "AS=$${AS}" \
914 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
915 "`echo \"RANLIB=$${RANLIB}\" | sed -e 's/.*=$$/XFOO=/'`" \
916 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
922 .PHONY
: do-mostlyclean
924 @r
=`${PWD}`; export r
; \
925 s
=`cd $(srcdir); ${PWD}`; export s
; \
927 for i in
$(SUBDIRS
) -dummy-
; do \
928 if
[ -f .
/$$i/Makefile
]; then \
931 for flag in
$(EXTRA_GCC_FLAGS
); do \
932 eval
`echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
936 for flag in
$(EXTRA_HOST_FLAGS
); do \
937 eval
`echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
942 $(MAKE
) $(BASE_FLAGS_TO_PASS
) "AR=$${AR}" "AS=$${AS}" \
943 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
944 "`echo \"RANLIB=$${RANLIB}\" | sed -e 's/.*=$$/XFOO=/'`" \
945 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
950 # Break into two pieces
951 r
=`${PWD}`; export r
; \
952 s
=`cd $(srcdir); ${PWD}`; export s
; \
954 for i in
$(TARGET_CONFIGDIRS
) -dummy-
; do \
955 if
[ -f
$(TARGET_SUBDIR
)/$$i/Makefile
]; then \
956 for flag in
$(EXTRA_TARGET_FLAGS
); do \
957 eval
`echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
959 (cd
$(TARGET_SUBDIR
)/$$i && \
960 $(MAKE
) $(BASE_FLAGS_TO_PASS
) "AR=$${AR}" "AS=$${AS}" \
961 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
962 "`echo \"RANLIB=$${RANLIB}\" | sed -e 's/.*=$$/XFOO=/'`" \
963 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
969 .PHONY
: do-maintainer-clean
971 @r
=`${PWD}`; export r
; \
972 s
=`cd $(srcdir); ${PWD}`; export s
; \
974 for i in
$(SUBDIRS
) -dummy-
; do \
975 if
[ -f .
/$$i/Makefile
]; then \
978 for flag in
$(EXTRA_GCC_FLAGS
); do \
979 eval
`echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
983 for flag in
$(EXTRA_HOST_FLAGS
); do \
984 eval
`echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
989 $(MAKE
) $(BASE_FLAGS_TO_PASS
) "AR=$${AR}" "AS=$${AS}" \
990 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
991 "`echo \"RANLIB=$${RANLIB}\" | sed -e 's/.*=$$/XFOO=/'`" \
992 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
997 # Break into two pieces
998 r
=`${PWD}`; export r
; \
999 s
=`cd $(srcdir); ${PWD}`; export s
; \
1001 for i in
$(TARGET_CONFIGDIRS
) -dummy-
; do \
1002 if
[ -f
$(TARGET_SUBDIR
)/$$i/Makefile
]; then \
1003 for flag in
$(EXTRA_TARGET_FLAGS
); do \
1004 eval
`echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
1006 (cd
$(TARGET_SUBDIR
)/$$i && \
1007 $(MAKE
) $(BASE_FLAGS_TO_PASS
) "AR=$${AR}" "AS=$${AS}" \
1008 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
1009 "`echo \"RANLIB=$${RANLIB}\" | sed -e 's/.*=$$/XFOO=/'`" \
1010 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
1018 @r
=`${PWD}`; export r
; \
1019 s
=`cd $(srcdir); ${PWD}`; export s
; \
1021 for i in
$(SUBDIRS
) -dummy-
; do \
1022 if
[ -f .
/$$i/Makefile
]; then \
1025 for flag in
$(EXTRA_GCC_FLAGS
); do \
1026 eval
`echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
1030 for flag in
$(EXTRA_HOST_FLAGS
); do \
1031 eval
`echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
1036 $(MAKE
) $(BASE_FLAGS_TO_PASS
) "AR=$${AR}" "AS=$${AS}" \
1037 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
1038 "`echo \"RANLIB=$${RANLIB}\" | sed -e 's/.*=$$/XFOO=/'`" \
1039 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
1044 # Break into two pieces
1045 r
=`${PWD}`; export r
; \
1046 s
=`cd $(srcdir); ${PWD}`; export s
; \
1048 for i in
$(TARGET_CONFIGDIRS
) -dummy-
; do \
1049 if
[ -f
$(TARGET_SUBDIR
)/$$i/Makefile
]; then \
1050 for flag in
$(EXTRA_TARGET_FLAGS
); do \
1051 eval
`echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
1053 (cd
$(TARGET_SUBDIR
)/$$i && \
1054 $(MAKE
) $(BASE_FLAGS_TO_PASS
) "AR=$${AR}" "AS=$${AS}" \
1055 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
1056 "`echo \"RANLIB=$${RANLIB}\" | sed -e 's/.*=$$/XFOO=/'`" \
1057 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
1065 # Here are the targets which correspond to the do-X targets.
1067 .PHONY
: info installcheck dvi install-info
1068 .PHONY
: clean distclean mostlyclean maintainer-clean
realclean
1069 .PHONY
: local-clean local-distclean local-maintainer-clean
1071 installcheck: do-installcheck
1074 # Make sure makeinfo is built before we do a `make info', if we're
1075 # in fact building texinfo.
1076 do-info
: maybe-all-texinfo
1078 install-info
: do-install-info
dir.
info
1079 s
=`cd $(srcdir); ${PWD}`; export s
; \
1080 if
[ -f
dir.
info ] ; then \
1081 $(INSTALL_DATA
) dir.
info $(DESTDIR
)$(infodir)/dir.
info ; \
1085 -rm -f
*.a TEMP errs core
*.o
*~ \
#* TAGS *.E *.log
1088 -rm -f Makefile config.status config.cache mh-frag mt-frag
1089 -rm -f multilib.out multilib.tmp maybedep.tmp serdep.tmp
1090 -if
[ "$(TARGET_SUBDIR)" != "." ]; then \
1091 rm -rf
$(TARGET_SUBDIR
); \
1093 -rm -f texinfo
/po
/Makefile texinfo
/po
/Makefile.in texinfo
/info/Makefile
1094 -rm -f texinfo
/doc
/Makefile texinfo
/po
/POTFILES
1095 -rmdir texinfo
/doc texinfo
/info texinfo
/intl texinfo
/lib
2>/dev
/null
1096 -rmdir texinfo
/makeinfo texinfo
/po texinfo
/util
2>/dev
/null
1097 -rmdir fastjar gcc libiberty texinfo zlib
2>/dev
/null
1099 local-maintainer-clean
:
1100 @echo
"This command is intended for maintainers to use;"
1101 @echo
"it deletes files that may require special tools to rebuild."
1103 clean: do-clean local-clean
1104 mostlyclean: do-mostlyclean local-clean
1105 distclean: do-distclean local-clean local-distclean
1106 maintainer-clean
: local-maintainer-clean do-maintainer-clean local-clean
1107 maintainer-clean
: local-distclean
1108 realclean: maintainer-clean
1110 # This rule is used to clean specific modules.
1111 .PHONY
: $(CLEAN_MODULES
) $(CLEAN_X11_MODULES
) clean-gcc
1112 $(CLEAN_MODULES
) $(CLEAN_X11_MODULES
) clean-gcc
:
1113 @
dir=`echo $@ | sed -e 's/clean-//'`; \
1114 if
[ -f .
/$${dir}/Makefile
] ; then \
1115 r
=`${PWD}`; export r
; \
1116 s
=`cd $(srcdir); ${PWD}`; export s
; \
1118 (cd
$${dir} && $(MAKE
) $(FLAGS_TO_PASS
) clean); \
1123 .PHONY
: $(CLEAN_TARGET_MODULES
)
1124 $(CLEAN_TARGET_MODULES
):
1125 @
dir=`echo $@ | sed -e 's/clean-target-//'`; \
1126 rm -f
$(TARGET_SUBDIR
)/$${dir}/multilib.out
$(TARGET_SUBDIR
)/$${dir}/tmpmulti.out
; \
1127 if
[ -f
$(TARGET_SUBDIR
)/$${dir}/Makefile
] ; then \
1128 r
=`${PWD}`; export r
; \
1129 s
=`cd $(srcdir); ${PWD}`; export s
; \
1131 (cd
$(TARGET_SUBDIR
)/$${dir} && $(MAKE
) $(TARGET_FLAGS_TO_PASS
) clean); \
1136 clean-target
: $(CLEAN_TARGET_MODULES
) clean-target-libgcc
1137 clean-target-libgcc
:
1138 test ! -d gcc
/libgcc || \
1139 (cd gcc
/libgcc
&& find .
-type d
-print) | \
1140 while read d
; do
rm -f gcc
/$$d/libgcc.a ||
: ; done
1145 .PHONY
: check do-check
1147 $(MAKE
) do-check NOTPARALLEL
=parallel-ok
1149 # Only include modules actually being configured and built.
1150 do-check
: @check_host_modules@ \
1151 @check_target_modules@
1153 # Automated reporting of test results.
1155 warning.log
: build.log
1156 $(srcdir)/contrib
/warn_summary build.log
> $@
1159 if
test x
'$(BOOT_CFLAGS)' != x
''; then \
1160 BOOT_CFLAGS
='$(BOOT_CFLAGS)'; export BOOT_CFLAGS
; \
1162 $(srcdir)/contrib
/test_summary
-t
>$@
1164 echo If you really want to send e-mail
, run .
/$@ now
1166 mail-report-with-warnings.log
: warning.log
1167 if
test x
'$(BOOT_CFLAGS)' != x
''; then \
1168 BOOT_CFLAGS
='$(BOOT_CFLAGS)'; export BOOT_CFLAGS
; \
1170 $(srcdir)/contrib
/test_summary
-t
-i warning.log
>$@
1172 echo If you really want to send e-mail
, run .
/$@ now
1174 # Installation targets.
1176 .PHONY
: install uninstall
1177 install: installdirs @install_host_modules@ @install_target_modules@
1179 install-target
: @install_target_modules@
1182 @echo
"the uninstall target is not supported in this tree"
1185 install.
all: install-no-fixedincludes
1186 @if
[ -f .
/gcc
/Makefile
] ; then \
1187 r
=`${PWD}` ; export r
; \
1190 $(MAKE
) $(FLAGS_TO_PASS
) install-headers
) ; \
1195 # install-no-fixedincludes is used because Cygnus can not distribute
1196 # the fixed header files.
1197 .PHONY
: install-no-fixedincludes
1198 install-no-fixedincludes
: installdirs @install_host_modules_nogcc@ \
1199 @install_target_modules@ gcc-no-fixedincludes
1201 ### other supporting targets
1204 $(DESTDIR
)$(prefix) \
1205 $(DESTDIR
)$(exec_prefix)
1207 installdirs: mkinstalldirs
1208 $(SHELL
) $(srcdir)/mkinstalldirs
$(MAKEDIRS
)
1210 dir.
info: do-install-info
1211 if
[ -f
$(srcdir)/texinfo
/gen-info-dir
] ; then \
1212 $(srcdir)/texinfo
/gen-info-dir
$(DESTDIR
)$(infodir) $(srcdir)/texinfo
/dir.info-template
> dir.
info.new
; \
1213 mv
-f
dir.
info.new
dir.
info ; \
1218 @echo
"Building a full distribution of this tree isn't done"
1219 @echo
"via 'make dist'. Check out the etc/ subdirectory"
1223 # Right now this just builds TAGS in each subdirectory. emacs19 has the
1224 # ability to use several tags files at once, so there is probably no need
1225 # to combine them into one big TAGS file (like CVS 1.3 does). We could
1226 # (if we felt like it) have this Makefile write a piece of elisp which
1227 # the user could load to tell emacs19 where all the TAGS files we just
1231 # --------------------------------------
1232 # Modules which run on the build machine
1233 # --------------------------------------
1235 .PHONY
: configure-build-libiberty maybe-configure-build-libiberty
1236 maybe-configure-build-libiberty
:
1237 configure-build-libiberty
:
1238 @
test ! -f
$(BUILD_SUBDIR
)/libiberty
/Makefile || exit
0; \
1239 [ -d
$(BUILD_SUBDIR
)/libiberty
] || \
1240 mkdir
$(BUILD_SUBDIR
)/libiberty
;\
1241 r
=`${PWD}`; export r
; \
1242 s
=`cd $(srcdir); ${PWD}`; export s
; \
1243 AR
="$(AR_FOR_BUILD)"; export AR
; \
1244 AS
="$(AS_FOR_BUILD)"; export AS
; \
1245 CC
="$(CC_FOR_BUILD)"; export CC
; \
1246 CFLAGS
="$(CFLAGS_FOR_BUILD)"; export CFLAGS
; \
1247 CXX
="$(CXX_FOR_BUILD)"; export CXX
; \
1248 CXXFLAGS
="$(CXXFLAGS_FOR_BUILD)"; export CXXFLAGS
; \
1249 GCJ
="$(GCJ_FOR_BUILD)"; export GCJ
; \
1250 DLLTOOL
="$(DLLTOOL_FOR_BUILD)"; export DLLTOOL
; \
1251 LD
="$(LD_FOR_BUILD)"; export LD
; \
1252 LDFLAGS
="$(LDFLAGS_FOR_BUILD)"; export LDFLAGS
; \
1253 NM
="$(NM_FOR_BUILD)"; export NM
; \
1254 RANLIB
="$(RANLIB_FOR_BUILD)"; export RANLIB
; \
1255 WINDRES
="$(WINDRES_FOR_BUILD)"; export WINDRES
; \
1256 echo Configuring in
$(BUILD_SUBDIR
)/libiberty
; \
1257 cd
"$(BUILD_SUBDIR)/libiberty" || exit
1; \
1259 /* |
[A-Za-z
]:[\\/]*) \
1260 topdir
=$(srcdir) ;; \
1262 case
"$(BUILD_SUBDIR)" in \
1263 .
) topdir
="../$(srcdir)" ;; \
1264 *) topdir
="../../$(srcdir)" ;; \
1267 if
[ "$(srcdir)" = "." ] ; then \
1268 if
[ "$(BUILD_SUBDIR)" != "." ] ; then \
1269 if
$(SHELL
) $$s/symlink-tree
$${topdir}/libiberty
"no-such-file" ; then \
1270 if
[ -f Makefile
]; then \
1271 if
$(MAKE
) distclean; then \
1285 srcdiroption
="--srcdir=."; \
1288 srcdiroption
="--srcdir=$${topdir}/libiberty"; \
1289 libsrcdir
="$$s/libiberty"; \
1291 rm -f no-such-file ||
: ; \
1292 CONFIG_SITE
=no-such-file
$(SHELL
) $${libsrcdir}/configure \
1293 $(BUILD_CONFIGARGS
) $${srcdiroption} \
1294 --with-build-subdir
="$(BUILD_SUBDIR)" \
1297 .PHONY
: all-build-libiberty maybe-all-build-libiberty
1298 maybe-all-build-libiberty
:
1299 all-build-libiberty
: configure-build-libiberty
1300 @r
=`${PWD}`; export r
; \
1301 s
=`cd $(srcdir); ${PWD}`; export s
; \
1302 (cd
$(BUILD_SUBDIR
)/libiberty
&& $(MAKE
) all)
1305 # --------------------------------------
1306 # Modules which run on the host machine
1307 # --------------------------------------
1309 .PHONY
: configure-ash maybe-configure-ash
1310 maybe-configure-ash
:
1312 @
test ! -f ash
/Makefile || exit
0; \
1313 [ -d ash
] || mkdir ash
; \
1314 r
=`${PWD}`; export r
; \
1315 s
=`cd $(srcdir); ${PWD}`; export s
; \
1316 CC
="$(CC)"; export CC
; \
1317 CFLAGS
="$(CFLAGS)"; export CFLAGS
; \
1318 CXX
="$(CXX)"; export CXX
; \
1319 CXXFLAGS
="$(CXXFLAGS)"; export CXXFLAGS
; \
1320 if
[ z
$(build_canonical
) != z
$(host_canoncial
) ] ; then \
1321 AR
="$(AR)"; export AR
; \
1322 AS
="$(AS)"; export AS
; \
1323 CC_FOR_BUILD
="$(CC_FOR_BUILD)"; export CC_FOR_BUILD
; \
1324 DLLTOOL
="$(DLLTOOL)"; export DLLTOOL
; \
1325 LD
="$(LD)"; export LD
; \
1326 NM
="$(NM)"; export NM
; \
1327 RANLIB
="$(RANLIB)"; export RANLIB
; \
1328 WINDRES
="$(WINDRES)"; export WINDRES
; \
1329 OBJCOPY
="$(OBJCOPY)"; export OBJCOPY
; \
1330 OBJDUMP
="$(OBJDUMP)"; export OBJDUMP
; \
1332 echo Configuring in ash
; \
1336 srcdiroption
="--srcdir=."; \
1338 /* |
[A-Za-z
]:[\\/]*) \
1339 srcdiroption
="--srcdir=$(srcdir)/ash"; \
1340 libsrcdir
="$$s/ash";; \
1342 srcdiroption
="--srcdir=../$(srcdir)/ash"; \
1343 libsrcdir
="$$s/ash";; \
1345 $(SHELL
) $${libsrcdir}/configure \
1346 $(HOST_CONFIGARGS
) $${srcdiroption} \
1349 .PHONY
: all-ash maybe-all-ash
1351 all-ash
: configure-ash
1352 @r
=`${PWD}`; export r
; \
1353 s
=`cd $(srcdir); ${PWD}`; export s
; \
1355 (cd ash
&& $(MAKE
) $(FLAGS_TO_PASS
) all)
1360 @r
=`${PWD}`; export r
; \
1361 s
=`cd $(srcdir); ${PWD}`; export s
; \
1363 (cd ash
&& $(MAKE
) $(FLAGS_TO_PASS
) check)
1367 .PHONY
: install-ash maybe-install-ash
1369 install-ash
: installdirs
1370 @r
=`${PWD}`; export r
; \
1371 s
=`cd $(srcdir); ${PWD}`; export s
; \
1373 (cd ash
&& $(MAKE
) $(FLAGS_TO_PASS
) install)
1376 .PHONY
: configure-autoconf maybe-configure-autoconf
1377 maybe-configure-autoconf
:
1379 @
test ! -f autoconf
/Makefile || exit
0; \
1380 [ -d autoconf
] || mkdir autoconf
; \
1381 r
=`${PWD}`; export r
; \
1382 s
=`cd $(srcdir); ${PWD}`; export s
; \
1383 CC
="$(CC)"; export CC
; \
1384 CFLAGS
="$(CFLAGS)"; export CFLAGS
; \
1385 CXX
="$(CXX)"; export CXX
; \
1386 CXXFLAGS
="$(CXXFLAGS)"; export CXXFLAGS
; \
1387 if
[ z
$(build_canonical
) != z
$(host_canoncial
) ] ; then \
1388 AR
="$(AR)"; export AR
; \
1389 AS
="$(AS)"; export AS
; \
1390 CC_FOR_BUILD
="$(CC_FOR_BUILD)"; export CC_FOR_BUILD
; \
1391 DLLTOOL
="$(DLLTOOL)"; export DLLTOOL
; \
1392 LD
="$(LD)"; export LD
; \
1393 NM
="$(NM)"; export NM
; \
1394 RANLIB
="$(RANLIB)"; export RANLIB
; \
1395 WINDRES
="$(WINDRES)"; export WINDRES
; \
1396 OBJCOPY
="$(OBJCOPY)"; export OBJCOPY
; \
1397 OBJDUMP
="$(OBJDUMP)"; export OBJDUMP
; \
1399 echo Configuring in autoconf
; \
1400 cd autoconf || exit
1; \
1403 srcdiroption
="--srcdir=."; \
1405 /* |
[A-Za-z
]:[\\/]*) \
1406 srcdiroption
="--srcdir=$(srcdir)/autoconf"; \
1407 libsrcdir
="$$s/autoconf";; \
1409 srcdiroption
="--srcdir=../$(srcdir)/autoconf"; \
1410 libsrcdir
="$$s/autoconf";; \
1412 $(SHELL
) $${libsrcdir}/configure \
1413 $(HOST_CONFIGARGS
) $${srcdiroption} \
1416 .PHONY
: all-autoconf maybe-all-autoconf
1418 all-autoconf
: configure-autoconf
1419 @r
=`${PWD}`; export r
; \
1420 s
=`cd $(srcdir); ${PWD}`; export s
; \
1422 (cd autoconf
&& $(MAKE
) $(FLAGS_TO_PASS
) all)
1425 .PHONY
: check-autoconf
1427 @r
=`${PWD}`; export r
; \
1428 s
=`cd $(srcdir); ${PWD}`; export s
; \
1430 (cd autoconf
&& $(MAKE
) $(FLAGS_TO_PASS
) check)
1434 .PHONY
: install-autoconf maybe-install-autoconf
1435 maybe-install-autoconf
:
1436 install-autoconf
: installdirs
1437 @r
=`${PWD}`; export r
; \
1438 s
=`cd $(srcdir); ${PWD}`; export s
; \
1440 (cd autoconf
&& $(MAKE
) $(FLAGS_TO_PASS
) install)
1443 .PHONY
: configure-automake maybe-configure-automake
1444 maybe-configure-automake
:
1446 @
test ! -f automake
/Makefile || exit
0; \
1447 [ -d automake
] || mkdir automake
; \
1448 r
=`${PWD}`; export r
; \
1449 s
=`cd $(srcdir); ${PWD}`; export s
; \
1450 CC
="$(CC)"; export CC
; \
1451 CFLAGS
="$(CFLAGS)"; export CFLAGS
; \
1452 CXX
="$(CXX)"; export CXX
; \
1453 CXXFLAGS
="$(CXXFLAGS)"; export CXXFLAGS
; \
1454 if
[ z
$(build_canonical
) != z
$(host_canoncial
) ] ; then \
1455 AR
="$(AR)"; export AR
; \
1456 AS
="$(AS)"; export AS
; \
1457 CC_FOR_BUILD
="$(CC_FOR_BUILD)"; export CC_FOR_BUILD
; \
1458 DLLTOOL
="$(DLLTOOL)"; export DLLTOOL
; \
1459 LD
="$(LD)"; export LD
; \
1460 NM
="$(NM)"; export NM
; \
1461 RANLIB
="$(RANLIB)"; export RANLIB
; \
1462 WINDRES
="$(WINDRES)"; export WINDRES
; \
1463 OBJCOPY
="$(OBJCOPY)"; export OBJCOPY
; \
1464 OBJDUMP
="$(OBJDUMP)"; export OBJDUMP
; \
1466 echo Configuring in automake
; \
1467 cd automake || exit
1; \
1470 srcdiroption
="--srcdir=."; \
1472 /* |
[A-Za-z
]:[\\/]*) \
1473 srcdiroption
="--srcdir=$(srcdir)/automake"; \
1474 libsrcdir
="$$s/automake";; \
1476 srcdiroption
="--srcdir=../$(srcdir)/automake"; \
1477 libsrcdir
="$$s/automake";; \
1479 $(SHELL
) $${libsrcdir}/configure \
1480 $(HOST_CONFIGARGS
) $${srcdiroption} \
1483 .PHONY
: all-automake maybe-all-automake
1485 all-automake
: configure-automake
1486 @r
=`${PWD}`; export r
; \
1487 s
=`cd $(srcdir); ${PWD}`; export s
; \
1489 (cd automake
&& $(MAKE
) $(FLAGS_TO_PASS
) all)
1492 .PHONY
: check-automake
1494 @r
=`${PWD}`; export r
; \
1495 s
=`cd $(srcdir); ${PWD}`; export s
; \
1497 (cd automake
&& $(MAKE
) $(FLAGS_TO_PASS
) check)
1501 .PHONY
: install-automake maybe-install-automake
1502 maybe-install-automake
:
1503 install-automake
: installdirs
1504 @r
=`${PWD}`; export r
; \
1505 s
=`cd $(srcdir); ${PWD}`; export s
; \
1507 (cd automake
&& $(MAKE
) $(FLAGS_TO_PASS
) install)
1510 .PHONY
: configure-bash maybe-configure-bash
1511 maybe-configure-bash
:
1513 @
test ! -f bash
/Makefile || exit
0; \
1514 [ -d bash
] || mkdir bash
; \
1515 r
=`${PWD}`; export r
; \
1516 s
=`cd $(srcdir); ${PWD}`; export s
; \
1517 CC
="$(CC)"; export CC
; \
1518 CFLAGS
="$(CFLAGS)"; export CFLAGS
; \
1519 CXX
="$(CXX)"; export CXX
; \
1520 CXXFLAGS
="$(CXXFLAGS)"; export CXXFLAGS
; \
1521 if
[ z
$(build_canonical
) != z
$(host_canoncial
) ] ; then \
1522 AR
="$(AR)"; export AR
; \
1523 AS
="$(AS)"; export AS
; \
1524 CC_FOR_BUILD
="$(CC_FOR_BUILD)"; export CC_FOR_BUILD
; \
1525 DLLTOOL
="$(DLLTOOL)"; export DLLTOOL
; \
1526 LD
="$(LD)"; export LD
; \
1527 NM
="$(NM)"; export NM
; \
1528 RANLIB
="$(RANLIB)"; export RANLIB
; \
1529 WINDRES
="$(WINDRES)"; export WINDRES
; \
1530 OBJCOPY
="$(OBJCOPY)"; export OBJCOPY
; \
1531 OBJDUMP
="$(OBJDUMP)"; export OBJDUMP
; \
1533 echo Configuring in bash
; \
1534 cd bash || exit
1; \
1537 srcdiroption
="--srcdir=."; \
1539 /* |
[A-Za-z
]:[\\/]*) \
1540 srcdiroption
="--srcdir=$(srcdir)/bash"; \
1541 libsrcdir
="$$s/bash";; \
1543 srcdiroption
="--srcdir=../$(srcdir)/bash"; \
1544 libsrcdir
="$$s/bash";; \
1546 $(SHELL
) $${libsrcdir}/configure \
1547 $(HOST_CONFIGARGS
) $${srcdiroption} \
1550 .PHONY
: all-bash maybe-all-bash
1552 all-bash
: configure-bash
1553 @r
=`${PWD}`; export r
; \
1554 s
=`cd $(srcdir); ${PWD}`; export s
; \
1556 (cd bash
&& $(MAKE
) $(FLAGS_TO_PASS
) all)
1561 @r
=`${PWD}`; export r
; \
1562 s
=`cd $(srcdir); ${PWD}`; export s
; \
1564 (cd bash
&& $(MAKE
) $(FLAGS_TO_PASS
) check)
1568 .PHONY
: install-bash maybe-install-bash
1570 install-bash
: installdirs
1571 @r
=`${PWD}`; export r
; \
1572 s
=`cd $(srcdir); ${PWD}`; export s
; \
1574 (cd bash
&& $(MAKE
) $(FLAGS_TO_PASS
) install)
1577 .PHONY
: configure-bfd maybe-configure-bfd
1578 maybe-configure-bfd
:
1580 @
test ! -f bfd
/Makefile || exit
0; \
1581 [ -d bfd
] || mkdir bfd
; \
1582 r
=`${PWD}`; export r
; \
1583 s
=`cd $(srcdir); ${PWD}`; export s
; \
1584 CC
="$(CC)"; export CC
; \
1585 CFLAGS
="$(CFLAGS)"; export CFLAGS
; \
1586 CXX
="$(CXX)"; export CXX
; \
1587 CXXFLAGS
="$(CXXFLAGS)"; export CXXFLAGS
; \
1588 if
[ z
$(build_canonical
) != z
$(host_canoncial
) ] ; then \
1589 AR
="$(AR)"; export AR
; \
1590 AS
="$(AS)"; export AS
; \
1591 CC_FOR_BUILD
="$(CC_FOR_BUILD)"; export CC_FOR_BUILD
; \
1592 DLLTOOL
="$(DLLTOOL)"; export DLLTOOL
; \
1593 LD
="$(LD)"; export LD
; \
1594 NM
="$(NM)"; export NM
; \
1595 RANLIB
="$(RANLIB)"; export RANLIB
; \
1596 WINDRES
="$(WINDRES)"; export WINDRES
; \
1597 OBJCOPY
="$(OBJCOPY)"; export OBJCOPY
; \
1598 OBJDUMP
="$(OBJDUMP)"; export OBJDUMP
; \
1600 echo Configuring in bfd
; \
1604 srcdiroption
="--srcdir=."; \
1606 /* |
[A-Za-z
]:[\\/]*) \
1607 srcdiroption
="--srcdir=$(srcdir)/bfd"; \
1608 libsrcdir
="$$s/bfd";; \
1610 srcdiroption
="--srcdir=../$(srcdir)/bfd"; \
1611 libsrcdir
="$$s/bfd";; \
1613 $(SHELL
) $${libsrcdir}/configure \
1614 $(HOST_CONFIGARGS
) $${srcdiroption} \
1617 .PHONY
: all-bfd maybe-all-bfd
1619 all-bfd
: configure-bfd
1620 @r
=`${PWD}`; export r
; \
1621 s
=`cd $(srcdir); ${PWD}`; export s
; \
1623 (cd bfd
&& $(MAKE
) $(FLAGS_TO_PASS
) all)
1628 @r
=`${PWD}`; export r
; \
1629 s
=`cd $(srcdir); ${PWD}`; export s
; \
1631 (cd bfd
&& $(MAKE
) $(FLAGS_TO_PASS
) check)
1635 .PHONY
: install-bfd maybe-install-bfd
1637 install-bfd
: installdirs
1638 @r
=`${PWD}`; export r
; \
1639 s
=`cd $(srcdir); ${PWD}`; export s
; \
1641 (cd bfd
&& $(MAKE
) $(FLAGS_TO_PASS
) install)
1644 .PHONY
: configure-opcodes maybe-configure-opcodes
1645 maybe-configure-opcodes
:
1647 @
test ! -f opcodes
/Makefile || exit
0; \
1648 [ -d opcodes
] || mkdir opcodes
; \
1649 r
=`${PWD}`; export r
; \
1650 s
=`cd $(srcdir); ${PWD}`; export s
; \
1651 CC
="$(CC)"; export CC
; \
1652 CFLAGS
="$(CFLAGS)"; export CFLAGS
; \
1653 CXX
="$(CXX)"; export CXX
; \
1654 CXXFLAGS
="$(CXXFLAGS)"; export CXXFLAGS
; \
1655 if
[ z
$(build_canonical
) != z
$(host_canoncial
) ] ; then \
1656 AR
="$(AR)"; export AR
; \
1657 AS
="$(AS)"; export AS
; \
1658 CC_FOR_BUILD
="$(CC_FOR_BUILD)"; export CC_FOR_BUILD
; \
1659 DLLTOOL
="$(DLLTOOL)"; export DLLTOOL
; \
1660 LD
="$(LD)"; export LD
; \
1661 NM
="$(NM)"; export NM
; \
1662 RANLIB
="$(RANLIB)"; export RANLIB
; \
1663 WINDRES
="$(WINDRES)"; export WINDRES
; \
1664 OBJCOPY
="$(OBJCOPY)"; export OBJCOPY
; \
1665 OBJDUMP
="$(OBJDUMP)"; export OBJDUMP
; \
1667 echo Configuring in opcodes
; \
1668 cd opcodes || exit
1; \
1671 srcdiroption
="--srcdir=."; \
1673 /* |
[A-Za-z
]:[\\/]*) \
1674 srcdiroption
="--srcdir=$(srcdir)/opcodes"; \
1675 libsrcdir
="$$s/opcodes";; \
1677 srcdiroption
="--srcdir=../$(srcdir)/opcodes"; \
1678 libsrcdir
="$$s/opcodes";; \
1680 $(SHELL
) $${libsrcdir}/configure \
1681 $(HOST_CONFIGARGS
) $${srcdiroption} \
1684 .PHONY
: all-opcodes maybe-all-opcodes
1686 all-opcodes
: configure-opcodes
1687 @r
=`${PWD}`; export r
; \
1688 s
=`cd $(srcdir); ${PWD}`; export s
; \
1690 (cd opcodes
&& $(MAKE
) $(FLAGS_TO_PASS
) all)
1693 .PHONY
: check-opcodes
1695 @r
=`${PWD}`; export r
; \
1696 s
=`cd $(srcdir); ${PWD}`; export s
; \
1698 (cd opcodes
&& $(MAKE
) $(FLAGS_TO_PASS
) check)
1702 .PHONY
: install-opcodes maybe-install-opcodes
1703 maybe-install-opcodes
:
1704 install-opcodes
: installdirs
1705 @r
=`${PWD}`; export r
; \
1706 s
=`cd $(srcdir); ${PWD}`; export s
; \
1708 (cd opcodes
&& $(MAKE
) $(FLAGS_TO_PASS
) install)
1711 .PHONY
: configure-binutils maybe-configure-binutils
1712 maybe-configure-binutils
:
1714 @
test ! -f binutils
/Makefile || exit
0; \
1715 [ -d binutils
] || mkdir binutils
; \
1716 r
=`${PWD}`; export r
; \
1717 s
=`cd $(srcdir); ${PWD}`; export s
; \
1718 CC
="$(CC)"; export CC
; \
1719 CFLAGS
="$(CFLAGS)"; export CFLAGS
; \
1720 CXX
="$(CXX)"; export CXX
; \
1721 CXXFLAGS
="$(CXXFLAGS)"; export CXXFLAGS
; \
1722 if
[ z
$(build_canonical
) != z
$(host_canoncial
) ] ; then \
1723 AR
="$(AR)"; export AR
; \
1724 AS
="$(AS)"; export AS
; \
1725 CC_FOR_BUILD
="$(CC_FOR_BUILD)"; export CC_FOR_BUILD
; \
1726 DLLTOOL
="$(DLLTOOL)"; export DLLTOOL
; \
1727 LD
="$(LD)"; export LD
; \
1728 NM
="$(NM)"; export NM
; \
1729 RANLIB
="$(RANLIB)"; export RANLIB
; \
1730 WINDRES
="$(WINDRES)"; export WINDRES
; \
1731 OBJCOPY
="$(OBJCOPY)"; export OBJCOPY
; \
1732 OBJDUMP
="$(OBJDUMP)"; export OBJDUMP
; \
1734 echo Configuring in binutils
; \
1735 cd binutils || exit
1; \
1738 srcdiroption
="--srcdir=."; \
1740 /* |
[A-Za-z
]:[\\/]*) \
1741 srcdiroption
="--srcdir=$(srcdir)/binutils"; \
1742 libsrcdir
="$$s/binutils";; \
1744 srcdiroption
="--srcdir=../$(srcdir)/binutils"; \
1745 libsrcdir
="$$s/binutils";; \
1747 $(SHELL
) $${libsrcdir}/configure \
1748 $(HOST_CONFIGARGS
) $${srcdiroption} \
1751 .PHONY
: all-binutils maybe-all-binutils
1753 all-binutils
: configure-binutils
1754 @r
=`${PWD}`; export r
; \
1755 s
=`cd $(srcdir); ${PWD}`; export s
; \
1757 (cd binutils
&& $(MAKE
) $(FLAGS_TO_PASS
) all)
1760 .PHONY
: check-binutils
1762 @r
=`${PWD}`; export r
; \
1763 s
=`cd $(srcdir); ${PWD}`; export s
; \
1765 (cd binutils
&& $(MAKE
) $(FLAGS_TO_PASS
) check)
1769 .PHONY
: install-binutils maybe-install-binutils
1770 maybe-install-binutils
:
1771 install-binutils
: installdirs
1772 @r
=`${PWD}`; export r
; \
1773 s
=`cd $(srcdir); ${PWD}`; export s
; \
1775 (cd binutils
&& $(MAKE
) $(FLAGS_TO_PASS
) install)
1778 .PHONY
: configure-bison maybe-configure-bison
1779 maybe-configure-bison
:
1781 @
test ! -f bison
/Makefile || exit
0; \
1782 [ -d bison
] || mkdir bison
; \
1783 r
=`${PWD}`; export r
; \
1784 s
=`cd $(srcdir); ${PWD}`; export s
; \
1785 CC
="$(CC)"; export CC
; \
1786 CFLAGS
="$(CFLAGS)"; export CFLAGS
; \
1787 CXX
="$(CXX)"; export CXX
; \
1788 CXXFLAGS
="$(CXXFLAGS)"; export CXXFLAGS
; \
1789 if
[ z
$(build_canonical
) != z
$(host_canoncial
) ] ; then \
1790 AR
="$(AR)"; export AR
; \
1791 AS
="$(AS)"; export AS
; \
1792 CC_FOR_BUILD
="$(CC_FOR_BUILD)"; export CC_FOR_BUILD
; \
1793 DLLTOOL
="$(DLLTOOL)"; export DLLTOOL
; \
1794 LD
="$(LD)"; export LD
; \
1795 NM
="$(NM)"; export NM
; \
1796 RANLIB
="$(RANLIB)"; export RANLIB
; \
1797 WINDRES
="$(WINDRES)"; export WINDRES
; \
1798 OBJCOPY
="$(OBJCOPY)"; export OBJCOPY
; \
1799 OBJDUMP
="$(OBJDUMP)"; export OBJDUMP
; \
1801 echo Configuring in bison
; \
1802 cd bison || exit
1; \
1805 srcdiroption
="--srcdir=."; \
1807 /* |
[A-Za-z
]:[\\/]*) \
1808 srcdiroption
="--srcdir=$(srcdir)/bison"; \
1809 libsrcdir
="$$s/bison";; \
1811 srcdiroption
="--srcdir=../$(srcdir)/bison"; \
1812 libsrcdir
="$$s/bison";; \
1814 $(SHELL
) $${libsrcdir}/configure \
1815 $(HOST_CONFIGARGS
) $${srcdiroption} \
1818 .PHONY
: all-bison maybe-all-bison
1820 all-bison
: configure-bison
1821 @r
=`${PWD}`; export r
; \
1822 s
=`cd $(srcdir); ${PWD}`; export s
; \
1824 (cd bison
&& $(MAKE
) $(FLAGS_TO_PASS
) all)
1828 # This module is only tested in a native toolchain.
1830 @if
[ '$(host_canonical)' = '$(target_canonical)' ] ; then \
1831 r
=`${PWD}`; export r
; \
1832 s
=`cd $(srcdir); ${PWD}`; export s
; \
1834 (cd bison
&& $(MAKE
) $(FLAGS_TO_PASS
) check); \
1839 .PHONY
: install-bison maybe-install-bison
1840 maybe-install-bison
:
1841 install-bison
: installdirs
1842 @r
=`${PWD}`; export r
; \
1843 s
=`cd $(srcdir); ${PWD}`; export s
; \
1845 (cd bison
&& $(MAKE
) $(FLAGS_TO_PASS
) install)
1848 .PHONY
: configure-byacc maybe-configure-byacc
1849 maybe-configure-byacc
:
1851 @
test ! -f byacc
/Makefile || exit
0; \
1852 [ -d byacc
] || mkdir byacc
; \
1853 r
=`${PWD}`; export r
; \
1854 s
=`cd $(srcdir); ${PWD}`; export s
; \
1855 CC
="$(CC)"; export CC
; \
1856 CFLAGS
="$(CFLAGS)"; export CFLAGS
; \
1857 CXX
="$(CXX)"; export CXX
; \
1858 CXXFLAGS
="$(CXXFLAGS)"; export CXXFLAGS
; \
1859 if
[ z
$(build_canonical
) != z
$(host_canoncial
) ] ; then \
1860 AR
="$(AR)"; export AR
; \
1861 AS
="$(AS)"; export AS
; \
1862 CC_FOR_BUILD
="$(CC_FOR_BUILD)"; export CC_FOR_BUILD
; \
1863 DLLTOOL
="$(DLLTOOL)"; export DLLTOOL
; \
1864 LD
="$(LD)"; export LD
; \
1865 NM
="$(NM)"; export NM
; \
1866 RANLIB
="$(RANLIB)"; export RANLIB
; \
1867 WINDRES
="$(WINDRES)"; export WINDRES
; \
1868 OBJCOPY
="$(OBJCOPY)"; export OBJCOPY
; \
1869 OBJDUMP
="$(OBJDUMP)"; export OBJDUMP
; \
1871 echo Configuring in byacc
; \
1872 cd byacc || exit
1; \
1875 srcdiroption
="--srcdir=."; \
1877 /* |
[A-Za-z
]:[\\/]*) \
1878 srcdiroption
="--srcdir=$(srcdir)/byacc"; \
1879 libsrcdir
="$$s/byacc";; \
1881 srcdiroption
="--srcdir=../$(srcdir)/byacc"; \
1882 libsrcdir
="$$s/byacc";; \
1884 $(SHELL
) $${libsrcdir}/configure \
1885 $(HOST_CONFIGARGS
) $${srcdiroption} \
1888 .PHONY
: all-byacc maybe-all-byacc
1890 all-byacc
: configure-byacc
1891 @r
=`${PWD}`; export r
; \
1892 s
=`cd $(srcdir); ${PWD}`; export s
; \
1894 (cd byacc
&& $(MAKE
) $(FLAGS_TO_PASS
) all)
1898 # This module is only tested in a native toolchain.
1900 @if
[ '$(host_canonical)' = '$(target_canonical)' ] ; then \
1901 r
=`${PWD}`; export r
; \
1902 s
=`cd $(srcdir); ${PWD}`; export s
; \
1904 (cd byacc
&& $(MAKE
) $(FLAGS_TO_PASS
) check); \
1909 .PHONY
: install-byacc maybe-install-byacc
1910 maybe-install-byacc
:
1911 install-byacc
: installdirs
1912 @r
=`${PWD}`; export r
; \
1913 s
=`cd $(srcdir); ${PWD}`; export s
; \
1915 (cd byacc
&& $(MAKE
) $(FLAGS_TO_PASS
) install)
1918 .PHONY
: configure-bzip2 maybe-configure-bzip2
1919 maybe-configure-bzip2
:
1921 @
test ! -f bzip2
/Makefile || exit
0; \
1922 [ -d bzip2
] || mkdir bzip2
; \
1923 r
=`${PWD}`; export r
; \
1924 s
=`cd $(srcdir); ${PWD}`; export s
; \
1925 CC
="$(CC)"; export CC
; \
1926 CFLAGS
="$(CFLAGS)"; export CFLAGS
; \
1927 CXX
="$(CXX)"; export CXX
; \
1928 CXXFLAGS
="$(CXXFLAGS)"; export CXXFLAGS
; \
1929 if
[ z
$(build_canonical
) != z
$(host_canoncial
) ] ; then \
1930 AR
="$(AR)"; export AR
; \
1931 AS
="$(AS)"; export AS
; \
1932 CC_FOR_BUILD
="$(CC_FOR_BUILD)"; export CC_FOR_BUILD
; \
1933 DLLTOOL
="$(DLLTOOL)"; export DLLTOOL
; \
1934 LD
="$(LD)"; export LD
; \
1935 NM
="$(NM)"; export NM
; \
1936 RANLIB
="$(RANLIB)"; export RANLIB
; \
1937 WINDRES
="$(WINDRES)"; export WINDRES
; \
1938 OBJCOPY
="$(OBJCOPY)"; export OBJCOPY
; \
1939 OBJDUMP
="$(OBJDUMP)"; export OBJDUMP
; \
1941 echo Configuring in bzip2
; \
1942 cd bzip2 || exit
1; \
1945 srcdiroption
="--srcdir=."; \
1947 /* |
[A-Za-z
]:[\\/]*) \
1948 srcdiroption
="--srcdir=$(srcdir)/bzip2"; \
1949 libsrcdir
="$$s/bzip2";; \
1951 srcdiroption
="--srcdir=../$(srcdir)/bzip2"; \
1952 libsrcdir
="$$s/bzip2";; \
1954 $(SHELL
) $${libsrcdir}/configure \
1955 $(HOST_CONFIGARGS
) $${srcdiroption} \
1958 .PHONY
: all-bzip2 maybe-all-bzip2
1960 all-bzip2
: configure-bzip2
1961 @r
=`${PWD}`; export r
; \
1962 s
=`cd $(srcdir); ${PWD}`; export s
; \
1964 (cd bzip2
&& $(MAKE
) $(FLAGS_TO_PASS
) all)
1969 @r
=`${PWD}`; export r
; \
1970 s
=`cd $(srcdir); ${PWD}`; export s
; \
1972 (cd bzip2
&& $(MAKE
) $(FLAGS_TO_PASS
) check)
1976 .PHONY
: install-bzip2 maybe-install-bzip2
1977 maybe-install-bzip2
:
1978 install-bzip2
: installdirs
1979 @r
=`${PWD}`; export r
; \
1980 s
=`cd $(srcdir); ${PWD}`; export s
; \
1982 (cd bzip2
&& $(MAKE
) $(FLAGS_TO_PASS
) install)
1985 .PHONY
: configure-dejagnu maybe-configure-dejagnu
1986 maybe-configure-dejagnu
:
1988 @
test ! -f dejagnu
/Makefile || exit
0; \
1989 [ -d dejagnu
] || mkdir dejagnu
; \
1990 r
=`${PWD}`; export r
; \
1991 s
=`cd $(srcdir); ${PWD}`; export s
; \
1992 CC
="$(CC)"; export CC
; \
1993 CFLAGS
="$(CFLAGS)"; export CFLAGS
; \
1994 CXX
="$(CXX)"; export CXX
; \
1995 CXXFLAGS
="$(CXXFLAGS)"; export CXXFLAGS
; \
1996 if
[ z
$(build_canonical
) != z
$(host_canoncial
) ] ; then \
1997 AR
="$(AR)"; export AR
; \
1998 AS
="$(AS)"; export AS
; \
1999 CC_FOR_BUILD
="$(CC_FOR_BUILD)"; export CC_FOR_BUILD
; \
2000 DLLTOOL
="$(DLLTOOL)"; export DLLTOOL
; \
2001 LD
="$(LD)"; export LD
; \
2002 NM
="$(NM)"; export NM
; \
2003 RANLIB
="$(RANLIB)"; export RANLIB
; \
2004 WINDRES
="$(WINDRES)"; export WINDRES
; \
2005 OBJCOPY
="$(OBJCOPY)"; export OBJCOPY
; \
2006 OBJDUMP
="$(OBJDUMP)"; export OBJDUMP
; \
2008 echo Configuring in dejagnu
; \
2009 cd dejagnu || exit
1; \
2012 srcdiroption
="--srcdir=."; \
2014 /* |
[A-Za-z
]:[\\/]*) \
2015 srcdiroption
="--srcdir=$(srcdir)/dejagnu"; \
2016 libsrcdir
="$$s/dejagnu";; \
2018 srcdiroption
="--srcdir=../$(srcdir)/dejagnu"; \
2019 libsrcdir
="$$s/dejagnu";; \
2021 $(SHELL
) $${libsrcdir}/configure \
2022 $(HOST_CONFIGARGS
) $${srcdiroption} \
2025 .PHONY
: all-dejagnu maybe-all-dejagnu
2027 all-dejagnu
: configure-dejagnu
2028 @r
=`${PWD}`; export r
; \
2029 s
=`cd $(srcdir); ${PWD}`; export s
; \
2031 (cd dejagnu
&& $(MAKE
) $(FLAGS_TO_PASS
) all)
2034 .PHONY
: check-dejagnu
2036 @r
=`${PWD}`; export r
; \
2037 s
=`cd $(srcdir); ${PWD}`; export s
; \
2039 (cd dejagnu
&& $(MAKE
) $(FLAGS_TO_PASS
) check)
2043 .PHONY
: install-dejagnu maybe-install-dejagnu
2044 maybe-install-dejagnu
:
2045 install-dejagnu
: installdirs
2046 @r
=`${PWD}`; export r
; \
2047 s
=`cd $(srcdir); ${PWD}`; export s
; \
2049 (cd dejagnu
&& $(MAKE
) $(FLAGS_TO_PASS
) install)
2052 .PHONY
: configure-diff maybe-configure-diff
2053 maybe-configure-diff
:
2055 @
test ! -f diff
/Makefile || exit
0; \
2056 [ -d diff
] || mkdir diff
; \
2057 r
=`${PWD}`; export r
; \
2058 s
=`cd $(srcdir); ${PWD}`; export s
; \
2059 CC
="$(CC)"; export CC
; \
2060 CFLAGS
="$(CFLAGS)"; export CFLAGS
; \
2061 CXX
="$(CXX)"; export CXX
; \
2062 CXXFLAGS
="$(CXXFLAGS)"; export CXXFLAGS
; \
2063 if
[ z
$(build_canonical
) != z
$(host_canoncial
) ] ; then \
2064 AR
="$(AR)"; export AR
; \
2065 AS
="$(AS)"; export AS
; \
2066 CC_FOR_BUILD
="$(CC_FOR_BUILD)"; export CC_FOR_BUILD
; \
2067 DLLTOOL
="$(DLLTOOL)"; export DLLTOOL
; \
2068 LD
="$(LD)"; export LD
; \
2069 NM
="$(NM)"; export NM
; \
2070 RANLIB
="$(RANLIB)"; export RANLIB
; \
2071 WINDRES
="$(WINDRES)"; export WINDRES
; \
2072 OBJCOPY
="$(OBJCOPY)"; export OBJCOPY
; \
2073 OBJDUMP
="$(OBJDUMP)"; export OBJDUMP
; \
2075 echo Configuring in diff
; \
2076 cd diff || exit
1; \
2079 srcdiroption
="--srcdir=."; \
2081 /* |
[A-Za-z
]:[\\/]*) \
2082 srcdiroption
="--srcdir=$(srcdir)/diff"; \
2083 libsrcdir
="$$s/diff";; \
2085 srcdiroption
="--srcdir=../$(srcdir)/diff"; \
2086 libsrcdir
="$$s/diff";; \
2088 $(SHELL
) $${libsrcdir}/configure \
2089 $(HOST_CONFIGARGS
) $${srcdiroption} \
2092 .PHONY
: all-diff maybe-all-diff
2094 all-diff
: configure-diff
2095 @r
=`${PWD}`; export r
; \
2096 s
=`cd $(srcdir); ${PWD}`; export s
; \
2098 (cd diff
&& $(MAKE
) $(FLAGS_TO_PASS
) all)
2103 @r
=`${PWD}`; export r
; \
2104 s
=`cd $(srcdir); ${PWD}`; export s
; \
2106 (cd diff
&& $(MAKE
) $(FLAGS_TO_PASS
) check)
2110 .PHONY
: install-diff maybe-install-diff
2112 install-diff
: installdirs
2113 @r
=`${PWD}`; export r
; \
2114 s
=`cd $(srcdir); ${PWD}`; export s
; \
2116 (cd diff
&& $(MAKE
) $(FLAGS_TO_PASS
) install)
2119 .PHONY
: configure-dosutils maybe-configure-dosutils
2120 maybe-configure-dosutils
:
2122 @
test ! -f dosutils
/Makefile || exit
0; \
2123 [ -d dosutils
] || mkdir dosutils
; \
2124 r
=`${PWD}`; export r
; \
2125 s
=`cd $(srcdir); ${PWD}`; export s
; \
2126 CC
="$(CC)"; export CC
; \
2127 CFLAGS
="$(CFLAGS)"; export CFLAGS
; \
2128 CXX
="$(CXX)"; export CXX
; \
2129 CXXFLAGS
="$(CXXFLAGS)"; export CXXFLAGS
; \
2130 if
[ z
$(build_canonical
) != z
$(host_canoncial
) ] ; then \
2131 AR
="$(AR)"; export AR
; \
2132 AS
="$(AS)"; export AS
; \
2133 CC_FOR_BUILD
="$(CC_FOR_BUILD)"; export CC_FOR_BUILD
; \
2134 DLLTOOL
="$(DLLTOOL)"; export DLLTOOL
; \
2135 LD
="$(LD)"; export LD
; \
2136 NM
="$(NM)"; export NM
; \
2137 RANLIB
="$(RANLIB)"; export RANLIB
; \
2138 WINDRES
="$(WINDRES)"; export WINDRES
; \
2139 OBJCOPY
="$(OBJCOPY)"; export OBJCOPY
; \
2140 OBJDUMP
="$(OBJDUMP)"; export OBJDUMP
; \
2142 echo Configuring in dosutils
; \
2143 cd dosutils || exit
1; \
2146 srcdiroption
="--srcdir=."; \
2148 /* |
[A-Za-z
]:[\\/]*) \
2149 srcdiroption
="--srcdir=$(srcdir)/dosutils"; \
2150 libsrcdir
="$$s/dosutils";; \
2152 srcdiroption
="--srcdir=../$(srcdir)/dosutils"; \
2153 libsrcdir
="$$s/dosutils";; \
2155 $(SHELL
) $${libsrcdir}/configure \
2156 $(HOST_CONFIGARGS
) $${srcdiroption} \
2159 .PHONY
: all-dosutils maybe-all-dosutils
2161 all-dosutils
: configure-dosutils
2162 @r
=`${PWD}`; export r
; \
2163 s
=`cd $(srcdir); ${PWD}`; export s
; \
2165 (cd dosutils
&& $(MAKE
) $(FLAGS_TO_PASS
) all)
2168 .PHONY
: check-dosutils
2173 .PHONY
: install-dosutils maybe-install-dosutils
2174 maybe-install-dosutils
:
2175 install-dosutils
: installdirs
2176 @r
=`${PWD}`; export r
; \
2177 s
=`cd $(srcdir); ${PWD}`; export s
; \
2179 (cd dosutils
&& $(MAKE
) $(FLAGS_TO_PASS
) install)
2182 .PHONY
: configure-etc maybe-configure-etc
2183 maybe-configure-etc
:
2185 @
test ! -f etc
/Makefile || exit
0; \
2186 [ -d etc
] || mkdir etc
; \
2187 r
=`${PWD}`; export r
; \
2188 s
=`cd $(srcdir); ${PWD}`; export s
; \
2189 CC
="$(CC)"; export CC
; \
2190 CFLAGS
="$(CFLAGS)"; export CFLAGS
; \
2191 CXX
="$(CXX)"; export CXX
; \
2192 CXXFLAGS
="$(CXXFLAGS)"; export CXXFLAGS
; \
2193 if
[ z
$(build_canonical
) != z
$(host_canoncial
) ] ; then \
2194 AR
="$(AR)"; export AR
; \
2195 AS
="$(AS)"; export AS
; \
2196 CC_FOR_BUILD
="$(CC_FOR_BUILD)"; export CC_FOR_BUILD
; \
2197 DLLTOOL
="$(DLLTOOL)"; export DLLTOOL
; \
2198 LD
="$(LD)"; export LD
; \
2199 NM
="$(NM)"; export NM
; \
2200 RANLIB
="$(RANLIB)"; export RANLIB
; \
2201 WINDRES
="$(WINDRES)"; export WINDRES
; \
2202 OBJCOPY
="$(OBJCOPY)"; export OBJCOPY
; \
2203 OBJDUMP
="$(OBJDUMP)"; export OBJDUMP
; \
2205 echo Configuring in etc
; \
2209 srcdiroption
="--srcdir=."; \
2211 /* |
[A-Za-z
]:[\\/]*) \
2212 srcdiroption
="--srcdir=$(srcdir)/etc"; \
2213 libsrcdir
="$$s/etc";; \
2215 srcdiroption
="--srcdir=../$(srcdir)/etc"; \
2216 libsrcdir
="$$s/etc";; \
2218 $(SHELL
) $${libsrcdir}/configure \
2219 $(HOST_CONFIGARGS
) $${srcdiroption} \
2222 .PHONY
: all-etc maybe-all-etc
2224 all-etc
: configure-etc
2225 @r
=`${PWD}`; export r
; \
2226 s
=`cd $(srcdir); ${PWD}`; export s
; \
2228 (cd etc
&& $(MAKE
) $(FLAGS_TO_PASS
) all)
2233 @r
=`${PWD}`; export r
; \
2234 s
=`cd $(srcdir); ${PWD}`; export s
; \
2236 (cd etc
&& $(MAKE
) $(FLAGS_TO_PASS
) check)
2240 .PHONY
: install-etc maybe-install-etc
2242 install-etc
: installdirs
2243 @r
=`${PWD}`; export r
; \
2244 s
=`cd $(srcdir); ${PWD}`; export s
; \
2246 (cd etc
&& $(MAKE
) $(FLAGS_TO_PASS
) install)
2249 .PHONY
: configure-fastjar maybe-configure-fastjar
2250 maybe-configure-fastjar
:
2252 @
test ! -f fastjar
/Makefile || exit
0; \
2253 [ -d fastjar
] || mkdir fastjar
; \
2254 r
=`${PWD}`; export r
; \
2255 s
=`cd $(srcdir); ${PWD}`; export s
; \
2256 CC
="$(CC)"; export CC
; \
2257 CFLAGS
="$(CFLAGS)"; export CFLAGS
; \
2258 CXX
="$(CXX)"; export CXX
; \
2259 CXXFLAGS
="$(CXXFLAGS)"; export CXXFLAGS
; \
2260 if
[ z
$(build_canonical
) != z
$(host_canoncial
) ] ; then \
2261 AR
="$(AR)"; export AR
; \
2262 AS
="$(AS)"; export AS
; \
2263 CC_FOR_BUILD
="$(CC_FOR_BUILD)"; export CC_FOR_BUILD
; \
2264 DLLTOOL
="$(DLLTOOL)"; export DLLTOOL
; \
2265 LD
="$(LD)"; export LD
; \
2266 NM
="$(NM)"; export NM
; \
2267 RANLIB
="$(RANLIB)"; export RANLIB
; \
2268 WINDRES
="$(WINDRES)"; export WINDRES
; \
2269 OBJCOPY
="$(OBJCOPY)"; export OBJCOPY
; \
2270 OBJDUMP
="$(OBJDUMP)"; export OBJDUMP
; \
2272 echo Configuring in fastjar
; \
2273 cd fastjar || exit
1; \
2276 srcdiroption
="--srcdir=."; \
2278 /* |
[A-Za-z
]:[\\/]*) \
2279 srcdiroption
="--srcdir=$(srcdir)/fastjar"; \
2280 libsrcdir
="$$s/fastjar";; \
2282 srcdiroption
="--srcdir=../$(srcdir)/fastjar"; \
2283 libsrcdir
="$$s/fastjar";; \
2285 $(SHELL
) $${libsrcdir}/configure \
2286 $(HOST_CONFIGARGS
) $${srcdiroption} \
2289 .PHONY
: all-fastjar maybe-all-fastjar
2291 all-fastjar
: configure-fastjar
2292 @r
=`${PWD}`; export r
; \
2293 s
=`cd $(srcdir); ${PWD}`; export s
; \
2295 (cd fastjar
&& $(MAKE
) $(FLAGS_TO_PASS
) all)
2298 .PHONY
: check-fastjar
2299 # This module is only tested in a native toolchain.
2301 @if
[ '$(host_canonical)' = '$(target_canonical)' ] ; then \
2302 r
=`${PWD}`; export r
; \
2303 s
=`cd $(srcdir); ${PWD}`; export s
; \
2305 (cd fastjar
&& $(MAKE
) $(FLAGS_TO_PASS
) check); \
2310 .PHONY
: install-fastjar maybe-install-fastjar
2311 maybe-install-fastjar
:
2312 install-fastjar
: installdirs
2313 @r
=`${PWD}`; export r
; \
2314 s
=`cd $(srcdir); ${PWD}`; export s
; \
2316 (cd fastjar
&& $(MAKE
) $(FLAGS_TO_PASS
) install)
2319 .PHONY
: configure-fileutils maybe-configure-fileutils
2320 maybe-configure-fileutils
:
2321 configure-fileutils
:
2322 @
test ! -f fileutils
/Makefile || exit
0; \
2323 [ -d fileutils
] || mkdir fileutils
; \
2324 r
=`${PWD}`; export r
; \
2325 s
=`cd $(srcdir); ${PWD}`; export s
; \
2326 CC
="$(CC)"; export CC
; \
2327 CFLAGS
="$(CFLAGS)"; export CFLAGS
; \
2328 CXX
="$(CXX)"; export CXX
; \
2329 CXXFLAGS
="$(CXXFLAGS)"; export CXXFLAGS
; \
2330 if
[ z
$(build_canonical
) != z
$(host_canoncial
) ] ; then \
2331 AR
="$(AR)"; export AR
; \
2332 AS
="$(AS)"; export AS
; \
2333 CC_FOR_BUILD
="$(CC_FOR_BUILD)"; export CC_FOR_BUILD
; \
2334 DLLTOOL
="$(DLLTOOL)"; export DLLTOOL
; \
2335 LD
="$(LD)"; export LD
; \
2336 NM
="$(NM)"; export NM
; \
2337 RANLIB
="$(RANLIB)"; export RANLIB
; \
2338 WINDRES
="$(WINDRES)"; export WINDRES
; \
2339 OBJCOPY
="$(OBJCOPY)"; export OBJCOPY
; \
2340 OBJDUMP
="$(OBJDUMP)"; export OBJDUMP
; \
2342 echo Configuring in fileutils
; \
2343 cd fileutils || exit
1; \
2346 srcdiroption
="--srcdir=."; \
2348 /* |
[A-Za-z
]:[\\/]*) \
2349 srcdiroption
="--srcdir=$(srcdir)/fileutils"; \
2350 libsrcdir
="$$s/fileutils";; \
2352 srcdiroption
="--srcdir=../$(srcdir)/fileutils"; \
2353 libsrcdir
="$$s/fileutils";; \
2355 $(SHELL
) $${libsrcdir}/configure \
2356 $(HOST_CONFIGARGS
) $${srcdiroption} \
2359 .PHONY
: all-fileutils maybe-all-fileutils
2360 maybe-all-fileutils
:
2361 all-fileutils
: configure-fileutils
2362 @r
=`${PWD}`; export r
; \
2363 s
=`cd $(srcdir); ${PWD}`; export s
; \
2365 (cd fileutils
&& $(MAKE
) $(FLAGS_TO_PASS
) all)
2368 .PHONY
: check-fileutils
2370 @r
=`${PWD}`; export r
; \
2371 s
=`cd $(srcdir); ${PWD}`; export s
; \
2373 (cd fileutils
&& $(MAKE
) $(FLAGS_TO_PASS
) check)
2377 .PHONY
: install-fileutils maybe-install-fileutils
2378 maybe-install-fileutils
:
2379 install-fileutils
: installdirs
2380 @r
=`${PWD}`; export r
; \
2381 s
=`cd $(srcdir); ${PWD}`; export s
; \
2383 (cd fileutils
&& $(MAKE
) $(FLAGS_TO_PASS
) install)
2386 .PHONY
: configure-findutils maybe-configure-findutils
2387 maybe-configure-findutils
:
2388 configure-findutils
:
2389 @
test ! -f findutils
/Makefile || exit
0; \
2390 [ -d findutils
] || mkdir findutils
; \
2391 r
=`${PWD}`; export r
; \
2392 s
=`cd $(srcdir); ${PWD}`; export s
; \
2393 CC
="$(CC)"; export CC
; \
2394 CFLAGS
="$(CFLAGS)"; export CFLAGS
; \
2395 CXX
="$(CXX)"; export CXX
; \
2396 CXXFLAGS
="$(CXXFLAGS)"; export CXXFLAGS
; \
2397 if
[ z
$(build_canonical
) != z
$(host_canoncial
) ] ; then \
2398 AR
="$(AR)"; export AR
; \
2399 AS
="$(AS)"; export AS
; \
2400 CC_FOR_BUILD
="$(CC_FOR_BUILD)"; export CC_FOR_BUILD
; \
2401 DLLTOOL
="$(DLLTOOL)"; export DLLTOOL
; \
2402 LD
="$(LD)"; export LD
; \
2403 NM
="$(NM)"; export NM
; \
2404 RANLIB
="$(RANLIB)"; export RANLIB
; \
2405 WINDRES
="$(WINDRES)"; export WINDRES
; \
2406 OBJCOPY
="$(OBJCOPY)"; export OBJCOPY
; \
2407 OBJDUMP
="$(OBJDUMP)"; export OBJDUMP
; \
2409 echo Configuring in findutils
; \
2410 cd findutils || exit
1; \
2413 srcdiroption
="--srcdir=."; \
2415 /* |
[A-Za-z
]:[\\/]*) \
2416 srcdiroption
="--srcdir=$(srcdir)/findutils"; \
2417 libsrcdir
="$$s/findutils";; \
2419 srcdiroption
="--srcdir=../$(srcdir)/findutils"; \
2420 libsrcdir
="$$s/findutils";; \
2422 $(SHELL
) $${libsrcdir}/configure \
2423 $(HOST_CONFIGARGS
) $${srcdiroption} \
2426 .PHONY
: all-findutils maybe-all-findutils
2427 maybe-all-findutils
:
2428 all-findutils
: configure-findutils
2429 @r
=`${PWD}`; export r
; \
2430 s
=`cd $(srcdir); ${PWD}`; export s
; \
2432 (cd findutils
&& $(MAKE
) $(FLAGS_TO_PASS
) all)
2435 .PHONY
: check-findutils
2437 @r
=`${PWD}`; export r
; \
2438 s
=`cd $(srcdir); ${PWD}`; export s
; \
2440 (cd findutils
&& $(MAKE
) $(FLAGS_TO_PASS
) check)
2444 .PHONY
: install-findutils maybe-install-findutils
2445 maybe-install-findutils
:
2446 install-findutils
: installdirs
2447 @r
=`${PWD}`; export r
; \
2448 s
=`cd $(srcdir); ${PWD}`; export s
; \
2450 (cd findutils
&& $(MAKE
) $(FLAGS_TO_PASS
) install)
2453 .PHONY
: configure-find maybe-configure-find
2454 maybe-configure-find
:
2456 @
test ! -f find
/Makefile || exit
0; \
2457 [ -d find
] || mkdir find
; \
2458 r
=`${PWD}`; export r
; \
2459 s
=`cd $(srcdir); ${PWD}`; export s
; \
2460 CC
="$(CC)"; export CC
; \
2461 CFLAGS
="$(CFLAGS)"; export CFLAGS
; \
2462 CXX
="$(CXX)"; export CXX
; \
2463 CXXFLAGS
="$(CXXFLAGS)"; export CXXFLAGS
; \
2464 if
[ z
$(build_canonical
) != z
$(host_canoncial
) ] ; then \
2465 AR
="$(AR)"; export AR
; \
2466 AS
="$(AS)"; export AS
; \
2467 CC_FOR_BUILD
="$(CC_FOR_BUILD)"; export CC_FOR_BUILD
; \
2468 DLLTOOL
="$(DLLTOOL)"; export DLLTOOL
; \
2469 LD
="$(LD)"; export LD
; \
2470 NM
="$(NM)"; export NM
; \
2471 RANLIB
="$(RANLIB)"; export RANLIB
; \
2472 WINDRES
="$(WINDRES)"; export WINDRES
; \
2473 OBJCOPY
="$(OBJCOPY)"; export OBJCOPY
; \
2474 OBJDUMP
="$(OBJDUMP)"; export OBJDUMP
; \
2476 echo Configuring in find
; \
2477 cd find || exit
1; \
2480 srcdiroption
="--srcdir=."; \
2482 /* |
[A-Za-z
]:[\\/]*) \
2483 srcdiroption
="--srcdir=$(srcdir)/find"; \
2484 libsrcdir
="$$s/find";; \
2486 srcdiroption
="--srcdir=../$(srcdir)/find"; \
2487 libsrcdir
="$$s/find";; \
2489 $(SHELL
) $${libsrcdir}/configure \
2490 $(HOST_CONFIGARGS
) $${srcdiroption} \
2493 .PHONY
: all-find maybe-all-find
2495 all-find
: configure-find
2496 @r
=`${PWD}`; export r
; \
2497 s
=`cd $(srcdir); ${PWD}`; export s
; \
2499 (cd find
&& $(MAKE
) $(FLAGS_TO_PASS
) all)
2504 @r
=`${PWD}`; export r
; \
2505 s
=`cd $(srcdir); ${PWD}`; export s
; \
2507 (cd find
&& $(MAKE
) $(FLAGS_TO_PASS
) check)
2511 .PHONY
: install-find maybe-install-find
2513 install-find
: installdirs
2514 @r
=`${PWD}`; export r
; \
2515 s
=`cd $(srcdir); ${PWD}`; export s
; \
2517 (cd find
&& $(MAKE
) $(FLAGS_TO_PASS
) install)
2520 .PHONY
: configure-flex maybe-configure-flex
2521 maybe-configure-flex
:
2523 @
test ! -f flex
/Makefile || exit
0; \
2524 [ -d flex
] || mkdir flex
; \
2525 r
=`${PWD}`; export r
; \
2526 s
=`cd $(srcdir); ${PWD}`; export s
; \
2527 CC
="$(CC)"; export CC
; \
2528 CFLAGS
="$(CFLAGS)"; export CFLAGS
; \
2529 CXX
="$(CXX)"; export CXX
; \
2530 CXXFLAGS
="$(CXXFLAGS)"; export CXXFLAGS
; \
2531 if
[ z
$(build_canonical
) != z
$(host_canoncial
) ] ; then \
2532 AR
="$(AR)"; export AR
; \
2533 AS
="$(AS)"; export AS
; \
2534 CC_FOR_BUILD
="$(CC_FOR_BUILD)"; export CC_FOR_BUILD
; \
2535 DLLTOOL
="$(DLLTOOL)"; export DLLTOOL
; \
2536 LD
="$(LD)"; export LD
; \
2537 NM
="$(NM)"; export NM
; \
2538 RANLIB
="$(RANLIB)"; export RANLIB
; \
2539 WINDRES
="$(WINDRES)"; export WINDRES
; \
2540 OBJCOPY
="$(OBJCOPY)"; export OBJCOPY
; \
2541 OBJDUMP
="$(OBJDUMP)"; export OBJDUMP
; \
2543 echo Configuring in flex
; \
2544 cd flex || exit
1; \
2547 srcdiroption
="--srcdir=."; \
2549 /* |
[A-Za-z
]:[\\/]*) \
2550 srcdiroption
="--srcdir=$(srcdir)/flex"; \
2551 libsrcdir
="$$s/flex";; \
2553 srcdiroption
="--srcdir=../$(srcdir)/flex"; \
2554 libsrcdir
="$$s/flex";; \
2556 $(SHELL
) $${libsrcdir}/configure \
2557 $(HOST_CONFIGARGS
) $${srcdiroption} \
2560 .PHONY
: all-flex maybe-all-flex
2562 all-flex
: configure-flex
2563 @r
=`${PWD}`; export r
; \
2564 s
=`cd $(srcdir); ${PWD}`; export s
; \
2566 (cd flex
&& $(MAKE
) $(FLAGS_TO_PASS
) all)
2570 # This module is only tested in a native toolchain.
2572 @if
[ '$(host_canonical)' = '$(target_canonical)' ] ; then \
2573 r
=`${PWD}`; export r
; \
2574 s
=`cd $(srcdir); ${PWD}`; export s
; \
2576 (cd flex
&& $(MAKE
) $(FLAGS_TO_PASS
) check); \
2581 .PHONY
: install-flex maybe-install-flex
2583 install-flex
: installdirs
2584 @r
=`${PWD}`; export r
; \
2585 s
=`cd $(srcdir); ${PWD}`; export s
; \
2587 (cd flex
&& $(MAKE
) $(FLAGS_TO_PASS
) install)
2590 .PHONY
: configure-gas maybe-configure-gas
2591 maybe-configure-gas
:
2593 @
test ! -f gas
/Makefile || exit
0; \
2594 [ -d gas
] || mkdir gas
; \
2595 r
=`${PWD}`; export r
; \
2596 s
=`cd $(srcdir); ${PWD}`; export s
; \
2597 CC
="$(CC)"; export CC
; \
2598 CFLAGS
="$(CFLAGS)"; export CFLAGS
; \
2599 CXX
="$(CXX)"; export CXX
; \
2600 CXXFLAGS
="$(CXXFLAGS)"; export CXXFLAGS
; \
2601 if
[ z
$(build_canonical
) != z
$(host_canoncial
) ] ; then \
2602 AR
="$(AR)"; export AR
; \
2603 AS
="$(AS)"; export AS
; \
2604 CC_FOR_BUILD
="$(CC_FOR_BUILD)"; export CC_FOR_BUILD
; \
2605 DLLTOOL
="$(DLLTOOL)"; export DLLTOOL
; \
2606 LD
="$(LD)"; export LD
; \
2607 NM
="$(NM)"; export NM
; \
2608 RANLIB
="$(RANLIB)"; export RANLIB
; \
2609 WINDRES
="$(WINDRES)"; export WINDRES
; \
2610 OBJCOPY
="$(OBJCOPY)"; export OBJCOPY
; \
2611 OBJDUMP
="$(OBJDUMP)"; export OBJDUMP
; \
2613 echo Configuring in gas
; \
2617 srcdiroption
="--srcdir=."; \
2619 /* |
[A-Za-z
]:[\\/]*) \
2620 srcdiroption
="--srcdir=$(srcdir)/gas"; \
2621 libsrcdir
="$$s/gas";; \
2623 srcdiroption
="--srcdir=../$(srcdir)/gas"; \
2624 libsrcdir
="$$s/gas";; \
2626 $(SHELL
) $${libsrcdir}/configure \
2627 $(HOST_CONFIGARGS
) $${srcdiroption} \
2630 .PHONY
: all-gas maybe-all-gas
2632 all-gas
: configure-gas
2633 @r
=`${PWD}`; export r
; \
2634 s
=`cd $(srcdir); ${PWD}`; export s
; \
2636 (cd gas
&& $(MAKE
) $(FLAGS_TO_PASS
) all)
2641 @r
=`${PWD}`; export r
; \
2642 s
=`cd $(srcdir); ${PWD}`; export s
; \
2644 (cd gas
&& $(MAKE
) $(FLAGS_TO_PASS
) check)
2648 .PHONY
: install-gas maybe-install-gas
2650 install-gas
: installdirs
2651 @r
=`${PWD}`; export r
; \
2652 s
=`cd $(srcdir); ${PWD}`; export s
; \
2654 (cd gas
&& $(MAKE
) $(FLAGS_TO_PASS
) install)
2657 .PHONY
: configure-gawk maybe-configure-gawk
2658 maybe-configure-gawk
:
2660 @
test ! -f gawk
/Makefile || exit
0; \
2661 [ -d gawk
] || mkdir gawk
; \
2662 r
=`${PWD}`; export r
; \
2663 s
=`cd $(srcdir); ${PWD}`; export s
; \
2664 CC
="$(CC)"; export CC
; \
2665 CFLAGS
="$(CFLAGS)"; export CFLAGS
; \
2666 CXX
="$(CXX)"; export CXX
; \
2667 CXXFLAGS
="$(CXXFLAGS)"; export CXXFLAGS
; \
2668 if
[ z
$(build_canonical
) != z
$(host_canoncial
) ] ; then \
2669 AR
="$(AR)"; export AR
; \
2670 AS
="$(AS)"; export AS
; \
2671 CC_FOR_BUILD
="$(CC_FOR_BUILD)"; export CC_FOR_BUILD
; \
2672 DLLTOOL
="$(DLLTOOL)"; export DLLTOOL
; \
2673 LD
="$(LD)"; export LD
; \
2674 NM
="$(NM)"; export NM
; \
2675 RANLIB
="$(RANLIB)"; export RANLIB
; \
2676 WINDRES
="$(WINDRES)"; export WINDRES
; \
2677 OBJCOPY
="$(OBJCOPY)"; export OBJCOPY
; \
2678 OBJDUMP
="$(OBJDUMP)"; export OBJDUMP
; \
2680 echo Configuring in gawk
; \
2681 cd gawk || exit
1; \
2684 srcdiroption
="--srcdir=."; \
2686 /* |
[A-Za-z
]:[\\/]*) \
2687 srcdiroption
="--srcdir=$(srcdir)/gawk"; \
2688 libsrcdir
="$$s/gawk";; \
2690 srcdiroption
="--srcdir=../$(srcdir)/gawk"; \
2691 libsrcdir
="$$s/gawk";; \
2693 $(SHELL
) $${libsrcdir}/configure \
2694 $(HOST_CONFIGARGS
) $${srcdiroption} \
2697 .PHONY
: all-gawk maybe-all-gawk
2699 all-gawk
: configure-gawk
2700 @r
=`${PWD}`; export r
; \
2701 s
=`cd $(srcdir); ${PWD}`; export s
; \
2703 (cd gawk
&& $(MAKE
) $(FLAGS_TO_PASS
) all)
2708 @r
=`${PWD}`; export r
; \
2709 s
=`cd $(srcdir); ${PWD}`; export s
; \
2711 (cd gawk
&& $(MAKE
) $(FLAGS_TO_PASS
) check)
2715 .PHONY
: install-gawk maybe-install-gawk
2717 install-gawk
: installdirs
2718 @r
=`${PWD}`; export r
; \
2719 s
=`cd $(srcdir); ${PWD}`; export s
; \
2721 (cd gawk
&& $(MAKE
) $(FLAGS_TO_PASS
) install)
2724 .PHONY
: configure-gettext maybe-configure-gettext
2725 maybe-configure-gettext
:
2727 @
test ! -f gettext
/Makefile || exit
0; \
2728 [ -d gettext
] || mkdir gettext
; \
2729 r
=`${PWD}`; export r
; \
2730 s
=`cd $(srcdir); ${PWD}`; export s
; \
2731 CC
="$(CC)"; export CC
; \
2732 CFLAGS
="$(CFLAGS)"; export CFLAGS
; \
2733 CXX
="$(CXX)"; export CXX
; \
2734 CXXFLAGS
="$(CXXFLAGS)"; export CXXFLAGS
; \
2735 if
[ z
$(build_canonical
) != z
$(host_canoncial
) ] ; then \
2736 AR
="$(AR)"; export AR
; \
2737 AS
="$(AS)"; export AS
; \
2738 CC_FOR_BUILD
="$(CC_FOR_BUILD)"; export CC_FOR_BUILD
; \
2739 DLLTOOL
="$(DLLTOOL)"; export DLLTOOL
; \
2740 LD
="$(LD)"; export LD
; \
2741 NM
="$(NM)"; export NM
; \
2742 RANLIB
="$(RANLIB)"; export RANLIB
; \
2743 WINDRES
="$(WINDRES)"; export WINDRES
; \
2744 OBJCOPY
="$(OBJCOPY)"; export OBJCOPY
; \
2745 OBJDUMP
="$(OBJDUMP)"; export OBJDUMP
; \
2747 echo Configuring in gettext
; \
2748 cd gettext || exit
1; \
2751 srcdiroption
="--srcdir=."; \
2753 /* |
[A-Za-z
]:[\\/]*) \
2754 srcdiroption
="--srcdir=$(srcdir)/gettext"; \
2755 libsrcdir
="$$s/gettext";; \
2757 srcdiroption
="--srcdir=../$(srcdir)/gettext"; \
2758 libsrcdir
="$$s/gettext";; \
2760 $(SHELL
) $${libsrcdir}/configure \
2761 $(HOST_CONFIGARGS
) $${srcdiroption} \
2764 .PHONY
: all-gettext maybe-all-gettext
2766 all-gettext
: configure-gettext
2767 @r
=`${PWD}`; export r
; \
2768 s
=`cd $(srcdir); ${PWD}`; export s
; \
2770 (cd gettext
&& $(MAKE
) $(FLAGS_TO_PASS
) all)
2773 .PHONY
: check-gettext
2775 @r
=`${PWD}`; export r
; \
2776 s
=`cd $(srcdir); ${PWD}`; export s
; \
2778 (cd gettext
&& $(MAKE
) $(FLAGS_TO_PASS
) check)
2782 .PHONY
: install-gettext maybe-install-gettext
2783 maybe-install-gettext
:
2784 install-gettext
: installdirs
2785 @r
=`${PWD}`; export r
; \
2786 s
=`cd $(srcdir); ${PWD}`; export s
; \
2788 (cd gettext
&& $(MAKE
) $(FLAGS_TO_PASS
) install)
2791 .PHONY
: configure-gnuserv maybe-configure-gnuserv
2792 maybe-configure-gnuserv
:
2794 @
test ! -f gnuserv
/Makefile || exit
0; \
2795 [ -d gnuserv
] || mkdir gnuserv
; \
2796 r
=`${PWD}`; export r
; \
2797 s
=`cd $(srcdir); ${PWD}`; export s
; \
2798 CC
="$(CC)"; export CC
; \
2799 CFLAGS
="$(CFLAGS)"; export CFLAGS
; \
2800 CXX
="$(CXX)"; export CXX
; \
2801 CXXFLAGS
="$(CXXFLAGS)"; export CXXFLAGS
; \
2802 if
[ z
$(build_canonical
) != z
$(host_canoncial
) ] ; then \
2803 AR
="$(AR)"; export AR
; \
2804 AS
="$(AS)"; export AS
; \
2805 CC_FOR_BUILD
="$(CC_FOR_BUILD)"; export CC_FOR_BUILD
; \
2806 DLLTOOL
="$(DLLTOOL)"; export DLLTOOL
; \
2807 LD
="$(LD)"; export LD
; \
2808 NM
="$(NM)"; export NM
; \
2809 RANLIB
="$(RANLIB)"; export RANLIB
; \
2810 WINDRES
="$(WINDRES)"; export WINDRES
; \
2811 OBJCOPY
="$(OBJCOPY)"; export OBJCOPY
; \
2812 OBJDUMP
="$(OBJDUMP)"; export OBJDUMP
; \
2814 echo Configuring in gnuserv
; \
2815 cd gnuserv || exit
1; \
2818 srcdiroption
="--srcdir=."; \
2820 /* |
[A-Za-z
]:[\\/]*) \
2821 srcdiroption
="--srcdir=$(srcdir)/gnuserv"; \
2822 libsrcdir
="$$s/gnuserv";; \
2824 srcdiroption
="--srcdir=../$(srcdir)/gnuserv"; \
2825 libsrcdir
="$$s/gnuserv";; \
2827 $(SHELL
) $${libsrcdir}/configure \
2828 $(HOST_CONFIGARGS
) $${srcdiroption} \
2831 .PHONY
: all-gnuserv maybe-all-gnuserv
2833 all-gnuserv
: configure-gnuserv
2834 @r
=`${PWD}`; export r
; \
2835 s
=`cd $(srcdir); ${PWD}`; export s
; \
2837 (cd gnuserv
&& $(MAKE
) $(FLAGS_TO_PASS
) all)
2840 .PHONY
: check-gnuserv
2842 @r
=`${PWD}`; export r
; \
2843 s
=`cd $(srcdir); ${PWD}`; export s
; \
2845 (cd gnuserv
&& $(MAKE
) $(FLAGS_TO_PASS
) check)
2849 .PHONY
: install-gnuserv maybe-install-gnuserv
2850 maybe-install-gnuserv
:
2851 install-gnuserv
: installdirs
2852 @r
=`${PWD}`; export r
; \
2853 s
=`cd $(srcdir); ${PWD}`; export s
; \
2855 (cd gnuserv
&& $(MAKE
) $(FLAGS_TO_PASS
) install)
2858 .PHONY
: configure-gprof maybe-configure-gprof
2859 maybe-configure-gprof
:
2861 @
test ! -f gprof
/Makefile || exit
0; \
2862 [ -d gprof
] || mkdir gprof
; \
2863 r
=`${PWD}`; export r
; \
2864 s
=`cd $(srcdir); ${PWD}`; export s
; \
2865 CC
="$(CC)"; export CC
; \
2866 CFLAGS
="$(CFLAGS)"; export CFLAGS
; \
2867 CXX
="$(CXX)"; export CXX
; \
2868 CXXFLAGS
="$(CXXFLAGS)"; export CXXFLAGS
; \
2869 if
[ z
$(build_canonical
) != z
$(host_canoncial
) ] ; then \
2870 AR
="$(AR)"; export AR
; \
2871 AS
="$(AS)"; export AS
; \
2872 CC_FOR_BUILD
="$(CC_FOR_BUILD)"; export CC_FOR_BUILD
; \
2873 DLLTOOL
="$(DLLTOOL)"; export DLLTOOL
; \
2874 LD
="$(LD)"; export LD
; \
2875 NM
="$(NM)"; export NM
; \
2876 RANLIB
="$(RANLIB)"; export RANLIB
; \
2877 WINDRES
="$(WINDRES)"; export WINDRES
; \
2878 OBJCOPY
="$(OBJCOPY)"; export OBJCOPY
; \
2879 OBJDUMP
="$(OBJDUMP)"; export OBJDUMP
; \
2881 echo Configuring in gprof
; \
2882 cd gprof || exit
1; \
2885 srcdiroption
="--srcdir=."; \
2887 /* |
[A-Za-z
]:[\\/]*) \
2888 srcdiroption
="--srcdir=$(srcdir)/gprof"; \
2889 libsrcdir
="$$s/gprof";; \
2891 srcdiroption
="--srcdir=../$(srcdir)/gprof"; \
2892 libsrcdir
="$$s/gprof";; \
2894 $(SHELL
) $${libsrcdir}/configure \
2895 $(HOST_CONFIGARGS
) $${srcdiroption} \
2898 .PHONY
: all-gprof maybe-all-gprof
2900 all-gprof
: configure-gprof
2901 @r
=`${PWD}`; export r
; \
2902 s
=`cd $(srcdir); ${PWD}`; export s
; \
2904 (cd gprof
&& $(MAKE
) $(FLAGS_TO_PASS
) all)
2909 @r
=`${PWD}`; export r
; \
2910 s
=`cd $(srcdir); ${PWD}`; export s
; \
2912 (cd gprof
&& $(MAKE
) $(FLAGS_TO_PASS
) check)
2916 .PHONY
: install-gprof maybe-install-gprof
2917 maybe-install-gprof
:
2918 install-gprof
: installdirs
2919 @r
=`${PWD}`; export r
; \
2920 s
=`cd $(srcdir); ${PWD}`; export s
; \
2922 (cd gprof
&& $(MAKE
) $(FLAGS_TO_PASS
) install)
2925 .PHONY
: configure-gzip maybe-configure-gzip
2926 maybe-configure-gzip
:
2928 @
test ! -f gzip
/Makefile || exit
0; \
2929 [ -d gzip
] || mkdir gzip
; \
2930 r
=`${PWD}`; export r
; \
2931 s
=`cd $(srcdir); ${PWD}`; export s
; \
2932 CC
="$(CC)"; export CC
; \
2933 CFLAGS
="$(CFLAGS)"; export CFLAGS
; \
2934 CXX
="$(CXX)"; export CXX
; \
2935 CXXFLAGS
="$(CXXFLAGS)"; export CXXFLAGS
; \
2936 if
[ z
$(build_canonical
) != z
$(host_canoncial
) ] ; then \
2937 AR
="$(AR)"; export AR
; \
2938 AS
="$(AS)"; export AS
; \
2939 CC_FOR_BUILD
="$(CC_FOR_BUILD)"; export CC_FOR_BUILD
; \
2940 DLLTOOL
="$(DLLTOOL)"; export DLLTOOL
; \
2941 LD
="$(LD)"; export LD
; \
2942 NM
="$(NM)"; export NM
; \
2943 RANLIB
="$(RANLIB)"; export RANLIB
; \
2944 WINDRES
="$(WINDRES)"; export WINDRES
; \
2945 OBJCOPY
="$(OBJCOPY)"; export OBJCOPY
; \
2946 OBJDUMP
="$(OBJDUMP)"; export OBJDUMP
; \
2948 echo Configuring in gzip
; \
2949 cd gzip || exit
1; \
2952 srcdiroption
="--srcdir=."; \
2954 /* |
[A-Za-z
]:[\\/]*) \
2955 srcdiroption
="--srcdir=$(srcdir)/gzip"; \
2956 libsrcdir
="$$s/gzip";; \
2958 srcdiroption
="--srcdir=../$(srcdir)/gzip"; \
2959 libsrcdir
="$$s/gzip";; \
2961 $(SHELL
) $${libsrcdir}/configure \
2962 $(HOST_CONFIGARGS
) $${srcdiroption} \
2965 .PHONY
: all-gzip maybe-all-gzip
2967 all-gzip
: configure-gzip
2968 @r
=`${PWD}`; export r
; \
2969 s
=`cd $(srcdir); ${PWD}`; export s
; \
2971 (cd gzip
&& $(MAKE
) $(FLAGS_TO_PASS
) all)
2976 @r
=`${PWD}`; export r
; \
2977 s
=`cd $(srcdir); ${PWD}`; export s
; \
2979 (cd gzip
&& $(MAKE
) $(FLAGS_TO_PASS
) check)
2983 .PHONY
: install-gzip maybe-install-gzip
2985 install-gzip
: installdirs
2986 @r
=`${PWD}`; export r
; \
2987 s
=`cd $(srcdir); ${PWD}`; export s
; \
2989 (cd gzip
&& $(MAKE
) $(FLAGS_TO_PASS
) install)
2992 .PHONY
: configure-hello maybe-configure-hello
2993 maybe-configure-hello
:
2995 @
test ! -f hello
/Makefile || exit
0; \
2996 [ -d hello
] || mkdir hello
; \
2997 r
=`${PWD}`; export r
; \
2998 s
=`cd $(srcdir); ${PWD}`; export s
; \
2999 CC
="$(CC)"; export CC
; \
3000 CFLAGS
="$(CFLAGS)"; export CFLAGS
; \
3001 CXX
="$(CXX)"; export CXX
; \
3002 CXXFLAGS
="$(CXXFLAGS)"; export CXXFLAGS
; \
3003 if
[ z
$(build_canonical
) != z
$(host_canoncial
) ] ; then \
3004 AR
="$(AR)"; export AR
; \
3005 AS
="$(AS)"; export AS
; \
3006 CC_FOR_BUILD
="$(CC_FOR_BUILD)"; export CC_FOR_BUILD
; \
3007 DLLTOOL
="$(DLLTOOL)"; export DLLTOOL
; \
3008 LD
="$(LD)"; export LD
; \
3009 NM
="$(NM)"; export NM
; \
3010 RANLIB
="$(RANLIB)"; export RANLIB
; \
3011 WINDRES
="$(WINDRES)"; export WINDRES
; \
3012 OBJCOPY
="$(OBJCOPY)"; export OBJCOPY
; \
3013 OBJDUMP
="$(OBJDUMP)"; export OBJDUMP
; \
3015 echo Configuring in hello
; \
3016 cd hello || exit
1; \
3019 srcdiroption
="--srcdir=."; \
3021 /* |
[A-Za-z
]:[\\/]*) \
3022 srcdiroption
="--srcdir=$(srcdir)/hello"; \
3023 libsrcdir
="$$s/hello";; \
3025 srcdiroption
="--srcdir=../$(srcdir)/hello"; \
3026 libsrcdir
="$$s/hello";; \
3028 $(SHELL
) $${libsrcdir}/configure \
3029 $(HOST_CONFIGARGS
) $${srcdiroption} \
3032 .PHONY
: all-hello maybe-all-hello
3034 all-hello
: configure-hello
3035 @r
=`${PWD}`; export r
; \
3036 s
=`cd $(srcdir); ${PWD}`; export s
; \
3038 (cd hello
&& $(MAKE
) $(FLAGS_TO_PASS
) all)
3043 @r
=`${PWD}`; export r
; \
3044 s
=`cd $(srcdir); ${PWD}`; export s
; \
3046 (cd hello
&& $(MAKE
) $(FLAGS_TO_PASS
) check)
3050 .PHONY
: install-hello maybe-install-hello
3051 maybe-install-hello
:
3052 install-hello
: installdirs
3053 @r
=`${PWD}`; export r
; \
3054 s
=`cd $(srcdir); ${PWD}`; export s
; \
3056 (cd hello
&& $(MAKE
) $(FLAGS_TO_PASS
) install)
3059 .PHONY
: configure-indent maybe-configure-indent
3060 maybe-configure-indent
:
3062 @
test ! -f indent
/Makefile || exit
0; \
3063 [ -d indent
] || mkdir indent
; \
3064 r
=`${PWD}`; export r
; \
3065 s
=`cd $(srcdir); ${PWD}`; export s
; \
3066 CC
="$(CC)"; export CC
; \
3067 CFLAGS
="$(CFLAGS)"; export CFLAGS
; \
3068 CXX
="$(CXX)"; export CXX
; \
3069 CXXFLAGS
="$(CXXFLAGS)"; export CXXFLAGS
; \
3070 if
[ z
$(build_canonical
) != z
$(host_canoncial
) ] ; then \
3071 AR
="$(AR)"; export AR
; \
3072 AS
="$(AS)"; export AS
; \
3073 CC_FOR_BUILD
="$(CC_FOR_BUILD)"; export CC_FOR_BUILD
; \
3074 DLLTOOL
="$(DLLTOOL)"; export DLLTOOL
; \
3075 LD
="$(LD)"; export LD
; \
3076 NM
="$(NM)"; export NM
; \
3077 RANLIB
="$(RANLIB)"; export RANLIB
; \
3078 WINDRES
="$(WINDRES)"; export WINDRES
; \
3079 OBJCOPY
="$(OBJCOPY)"; export OBJCOPY
; \
3080 OBJDUMP
="$(OBJDUMP)"; export OBJDUMP
; \
3082 echo Configuring in indent
; \
3083 cd indent || exit
1; \
3086 srcdiroption
="--srcdir=."; \
3088 /* |
[A-Za-z
]:[\\/]*) \
3089 srcdiroption
="--srcdir=$(srcdir)/indent"; \
3090 libsrcdir
="$$s/indent";; \
3092 srcdiroption
="--srcdir=../$(srcdir)/indent"; \
3093 libsrcdir
="$$s/indent";; \
3095 $(SHELL
) $${libsrcdir}/configure \
3096 $(HOST_CONFIGARGS
) $${srcdiroption} \
3099 .PHONY
: all-indent maybe-all-indent
3101 all-indent
: configure-indent
3102 @r
=`${PWD}`; export r
; \
3103 s
=`cd $(srcdir); ${PWD}`; export s
; \
3105 (cd indent
&& $(MAKE
) $(FLAGS_TO_PASS
) all)
3108 .PHONY
: check-indent
3110 @r
=`${PWD}`; export r
; \
3111 s
=`cd $(srcdir); ${PWD}`; export s
; \
3113 (cd indent
&& $(MAKE
) $(FLAGS_TO_PASS
) check)
3117 .PHONY
: install-indent maybe-install-indent
3118 maybe-install-indent
:
3119 install-indent
: installdirs
3120 @r
=`${PWD}`; export r
; \
3121 s
=`cd $(srcdir); ${PWD}`; export s
; \
3123 (cd indent
&& $(MAKE
) $(FLAGS_TO_PASS
) install)
3126 .PHONY
: configure-intl maybe-configure-intl
3127 maybe-configure-intl
:
3129 @
test ! -f intl
/Makefile || exit
0; \
3130 [ -d intl
] || mkdir intl
; \
3131 r
=`${PWD}`; export r
; \
3132 s
=`cd $(srcdir); ${PWD}`; export s
; \
3133 CC
="$(CC)"; export CC
; \
3134 CFLAGS
="$(CFLAGS)"; export CFLAGS
; \
3135 CXX
="$(CXX)"; export CXX
; \
3136 CXXFLAGS
="$(CXXFLAGS)"; export CXXFLAGS
; \
3137 if
[ z
$(build_canonical
) != z
$(host_canoncial
) ] ; then \
3138 AR
="$(AR)"; export AR
; \
3139 AS
="$(AS)"; export AS
; \
3140 CC_FOR_BUILD
="$(CC_FOR_BUILD)"; export CC_FOR_BUILD
; \
3141 DLLTOOL
="$(DLLTOOL)"; export DLLTOOL
; \
3142 LD
="$(LD)"; export LD
; \
3143 NM
="$(NM)"; export NM
; \
3144 RANLIB
="$(RANLIB)"; export RANLIB
; \
3145 WINDRES
="$(WINDRES)"; export WINDRES
; \
3146 OBJCOPY
="$(OBJCOPY)"; export OBJCOPY
; \
3147 OBJDUMP
="$(OBJDUMP)"; export OBJDUMP
; \
3149 echo Configuring in intl
; \
3150 cd intl || exit
1; \
3153 srcdiroption
="--srcdir=."; \
3155 /* |
[A-Za-z
]:[\\/]*) \
3156 srcdiroption
="--srcdir=$(srcdir)/intl"; \
3157 libsrcdir
="$$s/intl";; \
3159 srcdiroption
="--srcdir=../$(srcdir)/intl"; \
3160 libsrcdir
="$$s/intl";; \
3162 $(SHELL
) $${libsrcdir}/configure \
3163 $(HOST_CONFIGARGS
) $${srcdiroption} \
3166 .PHONY
: all-intl maybe-all-intl
3168 all-intl
: configure-intl
3169 @r
=`${PWD}`; export r
; \
3170 s
=`cd $(srcdir); ${PWD}`; export s
; \
3172 (cd intl
&& $(MAKE
) $(FLAGS_TO_PASS
) all)
3177 @r
=`${PWD}`; export r
; \
3178 s
=`cd $(srcdir); ${PWD}`; export s
; \
3180 (cd intl
&& $(MAKE
) $(FLAGS_TO_PASS
) check)
3184 .PHONY
: install-intl maybe-install-intl
3186 install-intl
: installdirs
3187 @r
=`${PWD}`; export r
; \
3188 s
=`cd $(srcdir); ${PWD}`; export s
; \
3190 (cd intl
&& $(MAKE
) $(FLAGS_TO_PASS
) install)
3193 .PHONY
: configure-tcl maybe-configure-tcl
3194 maybe-configure-tcl
:
3196 @
test ! -f tcl
/Makefile || exit
0; \
3197 [ -d tcl
] || mkdir tcl
; \
3198 r
=`${PWD}`; export r
; \
3199 s
=`cd $(srcdir); ${PWD}`; export s
; \
3200 CC
="$(CC)"; export CC
; \
3201 CFLAGS
="$(CFLAGS)"; export CFLAGS
; \
3202 CXX
="$(CXX)"; export CXX
; \
3203 CXXFLAGS
="$(CXXFLAGS)"; export CXXFLAGS
; \
3204 if
[ z
$(build_canonical
) != z
$(host_canoncial
) ] ; then \
3205 AR
="$(AR)"; export AR
; \
3206 AS
="$(AS)"; export AS
; \
3207 CC_FOR_BUILD
="$(CC_FOR_BUILD)"; export CC_FOR_BUILD
; \
3208 DLLTOOL
="$(DLLTOOL)"; export DLLTOOL
; \
3209 LD
="$(LD)"; export LD
; \
3210 NM
="$(NM)"; export NM
; \
3211 RANLIB
="$(RANLIB)"; export RANLIB
; \
3212 WINDRES
="$(WINDRES)"; export WINDRES
; \
3213 OBJCOPY
="$(OBJCOPY)"; export OBJCOPY
; \
3214 OBJDUMP
="$(OBJDUMP)"; export OBJDUMP
; \
3216 echo Configuring in tcl
; \
3220 srcdiroption
="--srcdir=."; \
3222 /* |
[A-Za-z
]:[\\/]*) \
3223 srcdiroption
="--srcdir=$(srcdir)/tcl"; \
3224 libsrcdir
="$$s/tcl";; \
3226 srcdiroption
="--srcdir=../$(srcdir)/tcl"; \
3227 libsrcdir
="$$s/tcl";; \
3229 $(SHELL
) $${libsrcdir}/configure \
3230 $(HOST_CONFIGARGS
) $${srcdiroption} \
3233 .PHONY
: all-tcl maybe-all-tcl
3235 all-tcl
: configure-tcl
3236 @r
=`${PWD}`; export r
; \
3237 s
=`cd $(srcdir); ${PWD}`; export s
; \
3239 (cd tcl
&& $(MAKE
) $(FLAGS_TO_PASS
) all)
3244 @r
=`${PWD}`; export r
; \
3245 s
=`cd $(srcdir); ${PWD}`; export s
; \
3247 (cd tcl
&& $(MAKE
) $(FLAGS_TO_PASS
) check)
3251 .PHONY
: install-tcl maybe-install-tcl
3253 install-tcl
: installdirs
3254 @r
=`${PWD}`; export r
; \
3255 s
=`cd $(srcdir); ${PWD}`; export s
; \
3257 (cd tcl
&& $(MAKE
) $(FLAGS_TO_PASS
) install)
3260 .PHONY
: configure-itcl maybe-configure-itcl
3261 maybe-configure-itcl
:
3263 @
test ! -f itcl
/Makefile || exit
0; \
3264 [ -d itcl
] || mkdir itcl
; \
3265 r
=`${PWD}`; export r
; \
3266 s
=`cd $(srcdir); ${PWD}`; export s
; \
3267 CC
="$(CC)"; export CC
; \
3268 CFLAGS
="$(CFLAGS)"; export CFLAGS
; \
3269 CXX
="$(CXX)"; export CXX
; \
3270 CXXFLAGS
="$(CXXFLAGS)"; export CXXFLAGS
; \
3271 if
[ z
$(build_canonical
) != z
$(host_canoncial
) ] ; then \
3272 AR
="$(AR)"; export AR
; \
3273 AS
="$(AS)"; export AS
; \
3274 CC_FOR_BUILD
="$(CC_FOR_BUILD)"; export CC_FOR_BUILD
; \
3275 DLLTOOL
="$(DLLTOOL)"; export DLLTOOL
; \
3276 LD
="$(LD)"; export LD
; \
3277 NM
="$(NM)"; export NM
; \
3278 RANLIB
="$(RANLIB)"; export RANLIB
; \
3279 WINDRES
="$(WINDRES)"; export WINDRES
; \
3280 OBJCOPY
="$(OBJCOPY)"; export OBJCOPY
; \
3281 OBJDUMP
="$(OBJDUMP)"; export OBJDUMP
; \
3283 echo Configuring in itcl
; \
3284 cd itcl || exit
1; \
3287 srcdiroption
="--srcdir=."; \
3289 /* |
[A-Za-z
]:[\\/]*) \
3290 srcdiroption
="--srcdir=$(srcdir)/itcl"; \
3291 libsrcdir
="$$s/itcl";; \
3293 srcdiroption
="--srcdir=../$(srcdir)/itcl"; \
3294 libsrcdir
="$$s/itcl";; \
3296 $(SHELL
) $${libsrcdir}/configure \
3297 $(HOST_CONFIGARGS
) $${srcdiroption} \
3300 .PHONY
: all-itcl maybe-all-itcl
3302 all-itcl
: configure-itcl
3303 @r
=`${PWD}`; export r
; \
3304 s
=`cd $(srcdir); ${PWD}`; export s
; \
3306 (cd itcl
&& $(MAKE
) $(FLAGS_TO_PASS
) all)
3311 @r
=`${PWD}`; export r
; \
3312 s
=`cd $(srcdir); ${PWD}`; export s
; \
3314 (cd itcl
&& $(MAKE
) $(FLAGS_TO_PASS
) check)
3318 .PHONY
: install-itcl maybe-install-itcl
3320 install-itcl
: installdirs
3321 @r
=`${PWD}`; export r
; \
3322 s
=`cd $(srcdir); ${PWD}`; export s
; \
3324 (cd itcl
&& $(MAKE
) $(FLAGS_TO_PASS
) install)
3327 .PHONY
: configure-ld maybe-configure-ld
3330 @
test ! -f
ld/Makefile || exit
0; \
3331 [ -d
ld ] || mkdir
ld; \
3332 r
=`${PWD}`; export r
; \
3333 s
=`cd $(srcdir); ${PWD}`; export s
; \
3334 CC
="$(CC)"; export CC
; \
3335 CFLAGS
="$(CFLAGS)"; export CFLAGS
; \
3336 CXX
="$(CXX)"; export CXX
; \
3337 CXXFLAGS
="$(CXXFLAGS)"; export CXXFLAGS
; \
3338 if
[ z
$(build_canonical
) != z
$(host_canoncial
) ] ; then \
3339 AR
="$(AR)"; export AR
; \
3340 AS
="$(AS)"; export AS
; \
3341 CC_FOR_BUILD
="$(CC_FOR_BUILD)"; export CC_FOR_BUILD
; \
3342 DLLTOOL
="$(DLLTOOL)"; export DLLTOOL
; \
3343 LD
="$(LD)"; export LD
; \
3344 NM
="$(NM)"; export NM
; \
3345 RANLIB
="$(RANLIB)"; export RANLIB
; \
3346 WINDRES
="$(WINDRES)"; export WINDRES
; \
3347 OBJCOPY
="$(OBJCOPY)"; export OBJCOPY
; \
3348 OBJDUMP
="$(OBJDUMP)"; export OBJDUMP
; \
3350 echo Configuring in
ld; \
3354 srcdiroption
="--srcdir=."; \
3356 /* |
[A-Za-z
]:[\\/]*) \
3357 srcdiroption
="--srcdir=$(srcdir)/ld"; \
3358 libsrcdir
="$$s/ld";; \
3360 srcdiroption
="--srcdir=../$(srcdir)/ld"; \
3361 libsrcdir
="$$s/ld";; \
3363 $(SHELL
) $${libsrcdir}/configure \
3364 $(HOST_CONFIGARGS
) $${srcdiroption} \
3367 .PHONY
: all-ld maybe-all-ld
3369 all-ld
: configure-ld
3370 @r
=`${PWD}`; export r
; \
3371 s
=`cd $(srcdir); ${PWD}`; export s
; \
3373 (cd
ld && $(MAKE
) $(FLAGS_TO_PASS
) all)
3378 @r
=`${PWD}`; export r
; \
3379 s
=`cd $(srcdir); ${PWD}`; export s
; \
3381 (cd
ld && $(MAKE
) $(FLAGS_TO_PASS
) check)
3385 .PHONY
: install-ld maybe-install-ld
3387 install-ld
: installdirs
3388 @r
=`${PWD}`; export r
; \
3389 s
=`cd $(srcdir); ${PWD}`; export s
; \
3391 (cd
ld && $(MAKE
) $(FLAGS_TO_PASS
) install)
3394 .PHONY
: configure-libgui maybe-configure-libgui
3395 maybe-configure-libgui
:
3397 @
test ! -f libgui
/Makefile || exit
0; \
3398 [ -d libgui
] || mkdir libgui
; \
3399 r
=`${PWD}`; export r
; \
3400 s
=`cd $(srcdir); ${PWD}`; export s
; \
3401 CC
="$(CC)"; export CC
; \
3402 CFLAGS
="$(CFLAGS)"; export CFLAGS
; \
3403 CXX
="$(CXX)"; export CXX
; \
3404 CXXFLAGS
="$(CXXFLAGS)"; export CXXFLAGS
; \
3405 if
[ z
$(build_canonical
) != z
$(host_canoncial
) ] ; then \
3406 AR
="$(AR)"; export AR
; \
3407 AS
="$(AS)"; export AS
; \
3408 CC_FOR_BUILD
="$(CC_FOR_BUILD)"; export CC_FOR_BUILD
; \
3409 DLLTOOL
="$(DLLTOOL)"; export DLLTOOL
; \
3410 LD
="$(LD)"; export LD
; \
3411 NM
="$(NM)"; export NM
; \
3412 RANLIB
="$(RANLIB)"; export RANLIB
; \
3413 WINDRES
="$(WINDRES)"; export WINDRES
; \
3414 OBJCOPY
="$(OBJCOPY)"; export OBJCOPY
; \
3415 OBJDUMP
="$(OBJDUMP)"; export OBJDUMP
; \
3417 echo Configuring in libgui
; \
3418 cd libgui || exit
1; \
3421 srcdiroption
="--srcdir=."; \
3423 /* |
[A-Za-z
]:[\\/]*) \
3424 srcdiroption
="--srcdir=$(srcdir)/libgui"; \
3425 libsrcdir
="$$s/libgui";; \
3427 srcdiroption
="--srcdir=../$(srcdir)/libgui"; \
3428 libsrcdir
="$$s/libgui";; \
3430 $(SHELL
) $${libsrcdir}/configure \
3431 $(HOST_CONFIGARGS
) $${srcdiroption} \
3434 .PHONY
: all-libgui maybe-all-libgui
3436 all-libgui
: configure-libgui
3437 @r
=`${PWD}`; export r
; \
3438 s
=`cd $(srcdir); ${PWD}`; export s
; \
3440 (cd libgui
&& $(MAKE
) $(FLAGS_TO_PASS
) all)
3443 .PHONY
: check-libgui
3445 @r
=`${PWD}`; export r
; \
3446 s
=`cd $(srcdir); ${PWD}`; export s
; \
3448 (cd libgui
&& $(MAKE
) $(FLAGS_TO_PASS
) check)
3452 .PHONY
: install-libgui maybe-install-libgui
3453 maybe-install-libgui
:
3454 install-libgui
: installdirs
3455 @r
=`${PWD}`; export r
; \
3456 s
=`cd $(srcdir); ${PWD}`; export s
; \
3458 (cd libgui
&& $(MAKE
) $(FLAGS_TO_PASS
) install)
3461 .PHONY
: configure-libiberty maybe-configure-libiberty
3462 maybe-configure-libiberty
:
3463 configure-libiberty
:
3464 @
test ! -f libiberty
/Makefile || exit
0; \
3465 [ -d libiberty
] || mkdir libiberty
; \
3466 r
=`${PWD}`; export r
; \
3467 s
=`cd $(srcdir); ${PWD}`; export s
; \
3468 CC
="$(CC)"; export CC
; \
3469 CFLAGS
="$(CFLAGS)"; export CFLAGS
; \
3470 CXX
="$(CXX)"; export CXX
; \
3471 CXXFLAGS
="$(CXXFLAGS)"; export CXXFLAGS
; \
3472 if
[ z
$(build_canonical
) != z
$(host_canoncial
) ] ; then \
3473 AR
="$(AR)"; export AR
; \
3474 AS
="$(AS)"; export AS
; \
3475 CC_FOR_BUILD
="$(CC_FOR_BUILD)"; export CC_FOR_BUILD
; \
3476 DLLTOOL
="$(DLLTOOL)"; export DLLTOOL
; \
3477 LD
="$(LD)"; export LD
; \
3478 NM
="$(NM)"; export NM
; \
3479 RANLIB
="$(RANLIB)"; export RANLIB
; \
3480 WINDRES
="$(WINDRES)"; export WINDRES
; \
3481 OBJCOPY
="$(OBJCOPY)"; export OBJCOPY
; \
3482 OBJDUMP
="$(OBJDUMP)"; export OBJDUMP
; \
3484 echo Configuring in libiberty
; \
3485 cd libiberty || exit
1; \
3488 srcdiroption
="--srcdir=."; \
3490 /* |
[A-Za-z
]:[\\/]*) \
3491 srcdiroption
="--srcdir=$(srcdir)/libiberty"; \
3492 libsrcdir
="$$s/libiberty";; \
3494 srcdiroption
="--srcdir=../$(srcdir)/libiberty"; \
3495 libsrcdir
="$$s/libiberty";; \
3497 $(SHELL
) $${libsrcdir}/configure \
3498 $(HOST_CONFIGARGS
) $${srcdiroption} \
3501 .PHONY
: all-libiberty maybe-all-libiberty
3502 maybe-all-libiberty
:
3503 all-libiberty
: configure-libiberty
3504 @r
=`${PWD}`; export r
; \
3505 s
=`cd $(srcdir); ${PWD}`; export s
; \
3507 (cd libiberty
&& $(MAKE
) $(FLAGS_TO_PASS
) all)
3510 .PHONY
: check-libiberty
3512 @r
=`${PWD}`; export r
; \
3513 s
=`cd $(srcdir); ${PWD}`; export s
; \
3515 (cd libiberty
&& $(MAKE
) $(FLAGS_TO_PASS
) check)
3519 .PHONY
: install-libiberty maybe-install-libiberty
3520 maybe-install-libiberty
:
3521 install-libiberty
: installdirs
3522 @r
=`${PWD}`; export r
; \
3523 s
=`cd $(srcdir); ${PWD}`; export s
; \
3525 (cd libiberty
&& $(MAKE
) $(FLAGS_TO_PASS
) install)
3528 .PHONY
: configure-libtool maybe-configure-libtool
3529 maybe-configure-libtool
:
3531 @
test ! -f libtool
/Makefile || exit
0; \
3532 [ -d libtool
] || mkdir libtool
; \
3533 r
=`${PWD}`; export r
; \
3534 s
=`cd $(srcdir); ${PWD}`; export s
; \
3535 CC
="$(CC)"; export CC
; \
3536 CFLAGS
="$(CFLAGS)"; export CFLAGS
; \
3537 CXX
="$(CXX)"; export CXX
; \
3538 CXXFLAGS
="$(CXXFLAGS)"; export CXXFLAGS
; \
3539 if
[ z
$(build_canonical
) != z
$(host_canoncial
) ] ; then \
3540 AR
="$(AR)"; export AR
; \
3541 AS
="$(AS)"; export AS
; \
3542 CC_FOR_BUILD
="$(CC_FOR_BUILD)"; export CC_FOR_BUILD
; \
3543 DLLTOOL
="$(DLLTOOL)"; export DLLTOOL
; \
3544 LD
="$(LD)"; export LD
; \
3545 NM
="$(NM)"; export NM
; \
3546 RANLIB
="$(RANLIB)"; export RANLIB
; \
3547 WINDRES
="$(WINDRES)"; export WINDRES
; \
3548 OBJCOPY
="$(OBJCOPY)"; export OBJCOPY
; \
3549 OBJDUMP
="$(OBJDUMP)"; export OBJDUMP
; \
3551 echo Configuring in libtool
; \
3552 cd libtool || exit
1; \
3555 srcdiroption
="--srcdir=."; \
3557 /* |
[A-Za-z
]:[\\/]*) \
3558 srcdiroption
="--srcdir=$(srcdir)/libtool"; \
3559 libsrcdir
="$$s/libtool";; \
3561 srcdiroption
="--srcdir=../$(srcdir)/libtool"; \
3562 libsrcdir
="$$s/libtool";; \
3564 $(SHELL
) $${libsrcdir}/configure \
3565 $(HOST_CONFIGARGS
) $${srcdiroption} \
3568 .PHONY
: all-libtool maybe-all-libtool
3570 all-libtool
: configure-libtool
3571 @r
=`${PWD}`; export r
; \
3572 s
=`cd $(srcdir); ${PWD}`; export s
; \
3574 (cd libtool
&& $(MAKE
) $(FLAGS_TO_PASS
) all)
3577 .PHONY
: check-libtool
3579 @r
=`${PWD}`; export r
; \
3580 s
=`cd $(srcdir); ${PWD}`; export s
; \
3582 (cd libtool
&& $(MAKE
) $(FLAGS_TO_PASS
) check)
3586 .PHONY
: install-libtool maybe-install-libtool
3587 maybe-install-libtool
:
3588 install-libtool
: installdirs
3589 @r
=`${PWD}`; export r
; \
3590 s
=`cd $(srcdir); ${PWD}`; export s
; \
3592 (cd libtool
&& $(MAKE
) $(FLAGS_TO_PASS
) install)
3595 .PHONY
: configure-m4 maybe-configure-m4
3598 @
test ! -f m4
/Makefile || exit
0; \
3599 [ -d m4
] || mkdir m4
; \
3600 r
=`${PWD}`; export r
; \
3601 s
=`cd $(srcdir); ${PWD}`; export s
; \
3602 CC
="$(CC)"; export CC
; \
3603 CFLAGS
="$(CFLAGS)"; export CFLAGS
; \
3604 CXX
="$(CXX)"; export CXX
; \
3605 CXXFLAGS
="$(CXXFLAGS)"; export CXXFLAGS
; \
3606 if
[ z
$(build_canonical
) != z
$(host_canoncial
) ] ; then \
3607 AR
="$(AR)"; export AR
; \
3608 AS
="$(AS)"; export AS
; \
3609 CC_FOR_BUILD
="$(CC_FOR_BUILD)"; export CC_FOR_BUILD
; \
3610 DLLTOOL
="$(DLLTOOL)"; export DLLTOOL
; \
3611 LD
="$(LD)"; export LD
; \
3612 NM
="$(NM)"; export NM
; \
3613 RANLIB
="$(RANLIB)"; export RANLIB
; \
3614 WINDRES
="$(WINDRES)"; export WINDRES
; \
3615 OBJCOPY
="$(OBJCOPY)"; export OBJCOPY
; \
3616 OBJDUMP
="$(OBJDUMP)"; export OBJDUMP
; \
3618 echo Configuring in m4
; \
3622 srcdiroption
="--srcdir=."; \
3624 /* |
[A-Za-z
]:[\\/]*) \
3625 srcdiroption
="--srcdir=$(srcdir)/m4"; \
3626 libsrcdir
="$$s/m4";; \
3628 srcdiroption
="--srcdir=../$(srcdir)/m4"; \
3629 libsrcdir
="$$s/m4";; \
3631 $(SHELL
) $${libsrcdir}/configure \
3632 $(HOST_CONFIGARGS
) $${srcdiroption} \
3635 .PHONY
: all-m4 maybe-all-m4
3637 all-m4
: configure-m4
3638 @r
=`${PWD}`; export r
; \
3639 s
=`cd $(srcdir); ${PWD}`; export s
; \
3641 (cd m4
&& $(MAKE
) $(FLAGS_TO_PASS
) all)
3646 @r
=`${PWD}`; export r
; \
3647 s
=`cd $(srcdir); ${PWD}`; export s
; \
3649 (cd m4
&& $(MAKE
) $(FLAGS_TO_PASS
) check)
3653 .PHONY
: install-m4 maybe-install-m4
3655 install-m4
: installdirs
3656 @r
=`${PWD}`; export r
; \
3657 s
=`cd $(srcdir); ${PWD}`; export s
; \
3659 (cd m4
&& $(MAKE
) $(FLAGS_TO_PASS
) install)
3662 .PHONY
: configure-make maybe-configure-make
3663 maybe-configure-make
:
3665 @
test ! -f make
/Makefile || exit
0; \
3666 [ -d make
] || mkdir make
; \
3667 r
=`${PWD}`; export r
; \
3668 s
=`cd $(srcdir); ${PWD}`; export s
; \
3669 CC
="$(CC)"; export CC
; \
3670 CFLAGS
="$(CFLAGS)"; export CFLAGS
; \
3671 CXX
="$(CXX)"; export CXX
; \
3672 CXXFLAGS
="$(CXXFLAGS)"; export CXXFLAGS
; \
3673 if
[ z
$(build_canonical
) != z
$(host_canoncial
) ] ; then \
3674 AR
="$(AR)"; export AR
; \
3675 AS
="$(AS)"; export AS
; \
3676 CC_FOR_BUILD
="$(CC_FOR_BUILD)"; export CC_FOR_BUILD
; \
3677 DLLTOOL
="$(DLLTOOL)"; export DLLTOOL
; \
3678 LD
="$(LD)"; export LD
; \
3679 NM
="$(NM)"; export NM
; \
3680 RANLIB
="$(RANLIB)"; export RANLIB
; \
3681 WINDRES
="$(WINDRES)"; export WINDRES
; \
3682 OBJCOPY
="$(OBJCOPY)"; export OBJCOPY
; \
3683 OBJDUMP
="$(OBJDUMP)"; export OBJDUMP
; \
3685 echo Configuring in make
; \
3686 cd make || exit
1; \
3689 srcdiroption
="--srcdir=."; \
3691 /* |
[A-Za-z
]:[\\/]*) \
3692 srcdiroption
="--srcdir=$(srcdir)/make"; \
3693 libsrcdir
="$$s/make";; \
3695 srcdiroption
="--srcdir=../$(srcdir)/make"; \
3696 libsrcdir
="$$s/make";; \
3698 $(SHELL
) $${libsrcdir}/configure \
3699 $(HOST_CONFIGARGS
) $${srcdiroption} \
3702 .PHONY
: all-make maybe-all-make
3704 all-make
: configure-make
3705 @r
=`${PWD}`; export r
; \
3706 s
=`cd $(srcdir); ${PWD}`; export s
; \
3708 (cd make
&& $(MAKE
) $(FLAGS_TO_PASS
) all)
3713 @r
=`${PWD}`; export r
; \
3714 s
=`cd $(srcdir); ${PWD}`; export s
; \
3716 (cd make
&& $(MAKE
) $(FLAGS_TO_PASS
) check)
3720 .PHONY
: install-make maybe-install-make
3722 install-make
: installdirs
3723 @r
=`${PWD}`; export r
; \
3724 s
=`cd $(srcdir); ${PWD}`; export s
; \
3726 (cd make
&& $(MAKE
) $(FLAGS_TO_PASS
) install)
3729 .PHONY
: configure-mmalloc maybe-configure-mmalloc
3730 maybe-configure-mmalloc
:
3732 @
test ! -f mmalloc
/Makefile || exit
0; \
3733 [ -d mmalloc
] || mkdir mmalloc
; \
3734 r
=`${PWD}`; export r
; \
3735 s
=`cd $(srcdir); ${PWD}`; export s
; \
3736 CC
="$(CC)"; export CC
; \
3737 CFLAGS
="$(CFLAGS)"; export CFLAGS
; \
3738 CXX
="$(CXX)"; export CXX
; \
3739 CXXFLAGS
="$(CXXFLAGS)"; export CXXFLAGS
; \
3740 if
[ z
$(build_canonical
) != z
$(host_canoncial
) ] ; then \
3741 AR
="$(AR)"; export AR
; \
3742 AS
="$(AS)"; export AS
; \
3743 CC_FOR_BUILD
="$(CC_FOR_BUILD)"; export CC_FOR_BUILD
; \
3744 DLLTOOL
="$(DLLTOOL)"; export DLLTOOL
; \
3745 LD
="$(LD)"; export LD
; \
3746 NM
="$(NM)"; export NM
; \
3747 RANLIB
="$(RANLIB)"; export RANLIB
; \
3748 WINDRES
="$(WINDRES)"; export WINDRES
; \
3749 OBJCOPY
="$(OBJCOPY)"; export OBJCOPY
; \
3750 OBJDUMP
="$(OBJDUMP)"; export OBJDUMP
; \
3752 echo Configuring in mmalloc
; \
3753 cd mmalloc || exit
1; \
3756 srcdiroption
="--srcdir=."; \
3758 /* |
[A-Za-z
]:[\\/]*) \
3759 srcdiroption
="--srcdir=$(srcdir)/mmalloc"; \
3760 libsrcdir
="$$s/mmalloc";; \
3762 srcdiroption
="--srcdir=../$(srcdir)/mmalloc"; \
3763 libsrcdir
="$$s/mmalloc";; \
3765 $(SHELL
) $${libsrcdir}/configure \
3766 $(HOST_CONFIGARGS
) $${srcdiroption} \
3769 .PHONY
: all-mmalloc maybe-all-mmalloc
3771 all-mmalloc
: configure-mmalloc
3772 @r
=`${PWD}`; export r
; \
3773 s
=`cd $(srcdir); ${PWD}`; export s
; \
3775 (cd mmalloc
&& $(MAKE
) $(FLAGS_TO_PASS
) all)
3778 .PHONY
: check-mmalloc
3783 .PHONY
: install-mmalloc maybe-install-mmalloc
3784 maybe-install-mmalloc
:
3785 install-mmalloc
: installdirs
3786 @r
=`${PWD}`; export r
; \
3787 s
=`cd $(srcdir); ${PWD}`; export s
; \
3789 (cd mmalloc
&& $(MAKE
) $(FLAGS_TO_PASS
) install)
3792 .PHONY
: configure-patch maybe-configure-patch
3793 maybe-configure-patch
:
3795 @
test ! -f patch
/Makefile || exit
0; \
3796 [ -d patch
] || mkdir patch
; \
3797 r
=`${PWD}`; export r
; \
3798 s
=`cd $(srcdir); ${PWD}`; export s
; \
3799 CC
="$(CC)"; export CC
; \
3800 CFLAGS
="$(CFLAGS)"; export CFLAGS
; \
3801 CXX
="$(CXX)"; export CXX
; \
3802 CXXFLAGS
="$(CXXFLAGS)"; export CXXFLAGS
; \
3803 if
[ z
$(build_canonical
) != z
$(host_canoncial
) ] ; then \
3804 AR
="$(AR)"; export AR
; \
3805 AS
="$(AS)"; export AS
; \
3806 CC_FOR_BUILD
="$(CC_FOR_BUILD)"; export CC_FOR_BUILD
; \
3807 DLLTOOL
="$(DLLTOOL)"; export DLLTOOL
; \
3808 LD
="$(LD)"; export LD
; \
3809 NM
="$(NM)"; export NM
; \
3810 RANLIB
="$(RANLIB)"; export RANLIB
; \
3811 WINDRES
="$(WINDRES)"; export WINDRES
; \
3812 OBJCOPY
="$(OBJCOPY)"; export OBJCOPY
; \
3813 OBJDUMP
="$(OBJDUMP)"; export OBJDUMP
; \
3815 echo Configuring in patch
; \
3816 cd patch || exit
1; \
3819 srcdiroption
="--srcdir=."; \
3821 /* |
[A-Za-z
]:[\\/]*) \
3822 srcdiroption
="--srcdir=$(srcdir)/patch"; \
3823 libsrcdir
="$$s/patch";; \
3825 srcdiroption
="--srcdir=../$(srcdir)/patch"; \
3826 libsrcdir
="$$s/patch";; \
3828 $(SHELL
) $${libsrcdir}/configure \
3829 $(HOST_CONFIGARGS
) $${srcdiroption} \
3832 .PHONY
: all-patch maybe-all-patch
3834 all-patch
: configure-patch
3835 @r
=`${PWD}`; export r
; \
3836 s
=`cd $(srcdir); ${PWD}`; export s
; \
3838 (cd patch
&& $(MAKE
) $(FLAGS_TO_PASS
) all)
3843 @r
=`${PWD}`; export r
; \
3844 s
=`cd $(srcdir); ${PWD}`; export s
; \
3846 (cd patch
&& $(MAKE
) $(FLAGS_TO_PASS
) check)
3850 .PHONY
: install-patch maybe-install-patch
3851 maybe-install-patch
:
3852 install-patch
: installdirs
3853 @r
=`${PWD}`; export r
; \
3854 s
=`cd $(srcdir); ${PWD}`; export s
; \
3856 (cd patch
&& $(MAKE
) $(FLAGS_TO_PASS
) install)
3859 .PHONY
: configure-perl maybe-configure-perl
3860 maybe-configure-perl
:
3862 @
test ! -f perl
/Makefile || exit
0; \
3863 [ -d perl
] || mkdir perl
; \
3864 r
=`${PWD}`; export r
; \
3865 s
=`cd $(srcdir); ${PWD}`; export s
; \
3866 CC
="$(CC)"; export CC
; \
3867 CFLAGS
="$(CFLAGS)"; export CFLAGS
; \
3868 CXX
="$(CXX)"; export CXX
; \
3869 CXXFLAGS
="$(CXXFLAGS)"; export CXXFLAGS
; \
3870 if
[ z
$(build_canonical
) != z
$(host_canoncial
) ] ; then \
3871 AR
="$(AR)"; export AR
; \
3872 AS
="$(AS)"; export AS
; \
3873 CC_FOR_BUILD
="$(CC_FOR_BUILD)"; export CC_FOR_BUILD
; \
3874 DLLTOOL
="$(DLLTOOL)"; export DLLTOOL
; \
3875 LD
="$(LD)"; export LD
; \
3876 NM
="$(NM)"; export NM
; \
3877 RANLIB
="$(RANLIB)"; export RANLIB
; \
3878 WINDRES
="$(WINDRES)"; export WINDRES
; \
3879 OBJCOPY
="$(OBJCOPY)"; export OBJCOPY
; \
3880 OBJDUMP
="$(OBJDUMP)"; export OBJDUMP
; \
3882 echo Configuring in perl
; \
3883 cd perl || exit
1; \
3886 srcdiroption
="--srcdir=."; \
3888 /* |
[A-Za-z
]:[\\/]*) \
3889 srcdiroption
="--srcdir=$(srcdir)/perl"; \
3890 libsrcdir
="$$s/perl";; \
3892 srcdiroption
="--srcdir=../$(srcdir)/perl"; \
3893 libsrcdir
="$$s/perl";; \
3895 $(SHELL
) $${libsrcdir}/configure \
3896 $(HOST_CONFIGARGS
) $${srcdiroption} \
3899 .PHONY
: all-perl maybe-all-perl
3901 all-perl
: configure-perl
3902 @r
=`${PWD}`; export r
; \
3903 s
=`cd $(srcdir); ${PWD}`; export s
; \
3905 (cd perl
&& $(MAKE
) $(FLAGS_TO_PASS
) all)
3910 @r
=`${PWD}`; export r
; \
3911 s
=`cd $(srcdir); ${PWD}`; export s
; \
3913 (cd perl
&& $(MAKE
) $(FLAGS_TO_PASS
) check)
3917 .PHONY
: install-perl maybe-install-perl
3919 install-perl
: installdirs
3920 @r
=`${PWD}`; export r
; \
3921 s
=`cd $(srcdir); ${PWD}`; export s
; \
3923 (cd perl
&& $(MAKE
) $(FLAGS_TO_PASS
) install)
3926 .PHONY
: configure-prms maybe-configure-prms
3927 maybe-configure-prms
:
3929 @
test ! -f prms
/Makefile || exit
0; \
3930 [ -d prms
] || mkdir prms
; \
3931 r
=`${PWD}`; export r
; \
3932 s
=`cd $(srcdir); ${PWD}`; export s
; \
3933 CC
="$(CC)"; export CC
; \
3934 CFLAGS
="$(CFLAGS)"; export CFLAGS
; \
3935 CXX
="$(CXX)"; export CXX
; \
3936 CXXFLAGS
="$(CXXFLAGS)"; export CXXFLAGS
; \
3937 if
[ z
$(build_canonical
) != z
$(host_canoncial
) ] ; then \
3938 AR
="$(AR)"; export AR
; \
3939 AS
="$(AS)"; export AS
; \
3940 CC_FOR_BUILD
="$(CC_FOR_BUILD)"; export CC_FOR_BUILD
; \
3941 DLLTOOL
="$(DLLTOOL)"; export DLLTOOL
; \
3942 LD
="$(LD)"; export LD
; \
3943 NM
="$(NM)"; export NM
; \
3944 RANLIB
="$(RANLIB)"; export RANLIB
; \
3945 WINDRES
="$(WINDRES)"; export WINDRES
; \
3946 OBJCOPY
="$(OBJCOPY)"; export OBJCOPY
; \
3947 OBJDUMP
="$(OBJDUMP)"; export OBJDUMP
; \
3949 echo Configuring in prms
; \
3950 cd prms || exit
1; \
3953 srcdiroption
="--srcdir=."; \
3955 /* |
[A-Za-z
]:[\\/]*) \
3956 srcdiroption
="--srcdir=$(srcdir)/prms"; \
3957 libsrcdir
="$$s/prms";; \
3959 srcdiroption
="--srcdir=../$(srcdir)/prms"; \
3960 libsrcdir
="$$s/prms";; \
3962 $(SHELL
) $${libsrcdir}/configure \
3963 $(HOST_CONFIGARGS
) $${srcdiroption} \
3966 .PHONY
: all-prms maybe-all-prms
3968 all-prms
: configure-prms
3969 @r
=`${PWD}`; export r
; \
3970 s
=`cd $(srcdir); ${PWD}`; export s
; \
3972 (cd prms
&& $(MAKE
) $(FLAGS_TO_PASS
) all)
3977 @r
=`${PWD}`; export r
; \
3978 s
=`cd $(srcdir); ${PWD}`; export s
; \
3980 (cd prms
&& $(MAKE
) $(FLAGS_TO_PASS
) check)
3984 .PHONY
: install-prms maybe-install-prms
3986 install-prms
: installdirs
3987 @r
=`${PWD}`; export r
; \
3988 s
=`cd $(srcdir); ${PWD}`; export s
; \
3990 (cd prms
&& $(MAKE
) $(FLAGS_TO_PASS
) install)
3993 .PHONY
: configure-rcs maybe-configure-rcs
3994 maybe-configure-rcs
:
3996 @
test ! -f rcs
/Makefile || exit
0; \
3997 [ -d rcs
] || mkdir rcs
; \
3998 r
=`${PWD}`; export r
; \
3999 s
=`cd $(srcdir); ${PWD}`; export s
; \
4000 CC
="$(CC)"; export CC
; \
4001 CFLAGS
="$(CFLAGS)"; export CFLAGS
; \
4002 CXX
="$(CXX)"; export CXX
; \
4003 CXXFLAGS
="$(CXXFLAGS)"; export CXXFLAGS
; \
4004 if
[ z
$(build_canonical
) != z
$(host_canoncial
) ] ; then \
4005 AR
="$(AR)"; export AR
; \
4006 AS
="$(AS)"; export AS
; \
4007 CC_FOR_BUILD
="$(CC_FOR_BUILD)"; export CC_FOR_BUILD
; \
4008 DLLTOOL
="$(DLLTOOL)"; export DLLTOOL
; \
4009 LD
="$(LD)"; export LD
; \
4010 NM
="$(NM)"; export NM
; \
4011 RANLIB
="$(RANLIB)"; export RANLIB
; \
4012 WINDRES
="$(WINDRES)"; export WINDRES
; \
4013 OBJCOPY
="$(OBJCOPY)"; export OBJCOPY
; \
4014 OBJDUMP
="$(OBJDUMP)"; export OBJDUMP
; \
4016 echo Configuring in rcs
; \
4020 srcdiroption
="--srcdir=."; \
4022 /* |
[A-Za-z
]:[\\/]*) \
4023 srcdiroption
="--srcdir=$(srcdir)/rcs"; \
4024 libsrcdir
="$$s/rcs";; \
4026 srcdiroption
="--srcdir=../$(srcdir)/rcs"; \
4027 libsrcdir
="$$s/rcs";; \
4029 $(SHELL
) $${libsrcdir}/configure \
4030 $(HOST_CONFIGARGS
) $${srcdiroption} \
4033 .PHONY
: all-rcs maybe-all-rcs
4035 all-rcs
: configure-rcs
4036 @r
=`${PWD}`; export r
; \
4037 s
=`cd $(srcdir); ${PWD}`; export s
; \
4039 (cd rcs
&& $(MAKE
) $(FLAGS_TO_PASS
) all)
4044 @r
=`${PWD}`; export r
; \
4045 s
=`cd $(srcdir); ${PWD}`; export s
; \
4047 (cd rcs
&& $(MAKE
) $(FLAGS_TO_PASS
) check)
4051 .PHONY
: install-rcs maybe-install-rcs
4053 install-rcs
: installdirs
4054 @r
=`${PWD}`; export r
; \
4055 s
=`cd $(srcdir); ${PWD}`; export s
; \
4057 (cd rcs
&& $(MAKE
) $(FLAGS_TO_PASS
) install)
4060 .PHONY
: configure-readline maybe-configure-readline
4061 maybe-configure-readline
:
4063 @
test ! -f readline
/Makefile || exit
0; \
4064 [ -d readline
] || mkdir readline
; \
4065 r
=`${PWD}`; export r
; \
4066 s
=`cd $(srcdir); ${PWD}`; export s
; \
4067 CC
="$(CC)"; export CC
; \
4068 CFLAGS
="$(CFLAGS)"; export CFLAGS
; \
4069 CXX
="$(CXX)"; export CXX
; \
4070 CXXFLAGS
="$(CXXFLAGS)"; export CXXFLAGS
; \
4071 if
[ z
$(build_canonical
) != z
$(host_canoncial
) ] ; then \
4072 AR
="$(AR)"; export AR
; \
4073 AS
="$(AS)"; export AS
; \
4074 CC_FOR_BUILD
="$(CC_FOR_BUILD)"; export CC_FOR_BUILD
; \
4075 DLLTOOL
="$(DLLTOOL)"; export DLLTOOL
; \
4076 LD
="$(LD)"; export LD
; \
4077 NM
="$(NM)"; export NM
; \
4078 RANLIB
="$(RANLIB)"; export RANLIB
; \
4079 WINDRES
="$(WINDRES)"; export WINDRES
; \
4080 OBJCOPY
="$(OBJCOPY)"; export OBJCOPY
; \
4081 OBJDUMP
="$(OBJDUMP)"; export OBJDUMP
; \
4083 echo Configuring in readline
; \
4084 cd readline || exit
1; \
4087 srcdiroption
="--srcdir=."; \
4089 /* |
[A-Za-z
]:[\\/]*) \
4090 srcdiroption
="--srcdir=$(srcdir)/readline"; \
4091 libsrcdir
="$$s/readline";; \
4093 srcdiroption
="--srcdir=../$(srcdir)/readline"; \
4094 libsrcdir
="$$s/readline";; \
4096 $(SHELL
) $${libsrcdir}/configure \
4097 $(HOST_CONFIGARGS
) $${srcdiroption} \
4100 .PHONY
: all-readline maybe-all-readline
4102 all-readline
: configure-readline
4103 @r
=`${PWD}`; export r
; \
4104 s
=`cd $(srcdir); ${PWD}`; export s
; \
4106 (cd readline
&& $(MAKE
) $(FLAGS_TO_PASS
) all)
4109 .PHONY
: check-readline
4111 @r
=`${PWD}`; export r
; \
4112 s
=`cd $(srcdir); ${PWD}`; export s
; \
4114 (cd readline
&& $(MAKE
) $(FLAGS_TO_PASS
) check)
4118 .PHONY
: install-readline maybe-install-readline
4119 maybe-install-readline
:
4120 install-readline
: installdirs
4121 @r
=`${PWD}`; export r
; \
4122 s
=`cd $(srcdir); ${PWD}`; export s
; \
4124 (cd readline
&& $(MAKE
) $(FLAGS_TO_PASS
) install)
4127 .PHONY
: configure-release maybe-configure-release
4128 maybe-configure-release
:
4130 @
test ! -f release
/Makefile || exit
0; \
4131 [ -d release
] || mkdir release
; \
4132 r
=`${PWD}`; export r
; \
4133 s
=`cd $(srcdir); ${PWD}`; export s
; \
4134 CC
="$(CC)"; export CC
; \
4135 CFLAGS
="$(CFLAGS)"; export CFLAGS
; \
4136 CXX
="$(CXX)"; export CXX
; \
4137 CXXFLAGS
="$(CXXFLAGS)"; export CXXFLAGS
; \
4138 if
[ z
$(build_canonical
) != z
$(host_canoncial
) ] ; then \
4139 AR
="$(AR)"; export AR
; \
4140 AS
="$(AS)"; export AS
; \
4141 CC_FOR_BUILD
="$(CC_FOR_BUILD)"; export CC_FOR_BUILD
; \
4142 DLLTOOL
="$(DLLTOOL)"; export DLLTOOL
; \
4143 LD
="$(LD)"; export LD
; \
4144 NM
="$(NM)"; export NM
; \
4145 RANLIB
="$(RANLIB)"; export RANLIB
; \
4146 WINDRES
="$(WINDRES)"; export WINDRES
; \
4147 OBJCOPY
="$(OBJCOPY)"; export OBJCOPY
; \
4148 OBJDUMP
="$(OBJDUMP)"; export OBJDUMP
; \
4150 echo Configuring in release
; \
4151 cd release || exit
1; \
4154 srcdiroption
="--srcdir=."; \
4156 /* |
[A-Za-z
]:[\\/]*) \
4157 srcdiroption
="--srcdir=$(srcdir)/release"; \
4158 libsrcdir
="$$s/release";; \
4160 srcdiroption
="--srcdir=../$(srcdir)/release"; \
4161 libsrcdir
="$$s/release";; \
4163 $(SHELL
) $${libsrcdir}/configure \
4164 $(HOST_CONFIGARGS
) $${srcdiroption} \
4167 .PHONY
: all-release maybe-all-release
4169 all-release
: configure-release
4170 @r
=`${PWD}`; export r
; \
4171 s
=`cd $(srcdir); ${PWD}`; export s
; \
4173 (cd release
&& $(MAKE
) $(FLAGS_TO_PASS
) all)
4176 .PHONY
: check-release
4181 .PHONY
: install-release maybe-install-release
4182 maybe-install-release
:
4186 .PHONY
: configure-recode maybe-configure-recode
4187 maybe-configure-recode
:
4189 @
test ! -f recode
/Makefile || exit
0; \
4190 [ -d recode
] || mkdir recode
; \
4191 r
=`${PWD}`; export r
; \
4192 s
=`cd $(srcdir); ${PWD}`; export s
; \
4193 CC
="$(CC)"; export CC
; \
4194 CFLAGS
="$(CFLAGS)"; export CFLAGS
; \
4195 CXX
="$(CXX)"; export CXX
; \
4196 CXXFLAGS
="$(CXXFLAGS)"; export CXXFLAGS
; \
4197 if
[ z
$(build_canonical
) != z
$(host_canoncial
) ] ; then \
4198 AR
="$(AR)"; export AR
; \
4199 AS
="$(AS)"; export AS
; \
4200 CC_FOR_BUILD
="$(CC_FOR_BUILD)"; export CC_FOR_BUILD
; \
4201 DLLTOOL
="$(DLLTOOL)"; export DLLTOOL
; \
4202 LD
="$(LD)"; export LD
; \
4203 NM
="$(NM)"; export NM
; \
4204 RANLIB
="$(RANLIB)"; export RANLIB
; \
4205 WINDRES
="$(WINDRES)"; export WINDRES
; \
4206 OBJCOPY
="$(OBJCOPY)"; export OBJCOPY
; \
4207 OBJDUMP
="$(OBJDUMP)"; export OBJDUMP
; \
4209 echo Configuring in recode
; \
4210 cd recode || exit
1; \
4213 srcdiroption
="--srcdir=."; \
4215 /* |
[A-Za-z
]:[\\/]*) \
4216 srcdiroption
="--srcdir=$(srcdir)/recode"; \
4217 libsrcdir
="$$s/recode";; \
4219 srcdiroption
="--srcdir=../$(srcdir)/recode"; \
4220 libsrcdir
="$$s/recode";; \
4222 $(SHELL
) $${libsrcdir}/configure \
4223 $(HOST_CONFIGARGS
) $${srcdiroption} \
4226 .PHONY
: all-recode maybe-all-recode
4228 all-recode
: configure-recode
4229 @r
=`${PWD}`; export r
; \
4230 s
=`cd $(srcdir); ${PWD}`; export s
; \
4232 (cd recode
&& $(MAKE
) $(FLAGS_TO_PASS
) all)
4235 .PHONY
: check-recode
4237 @r
=`${PWD}`; export r
; \
4238 s
=`cd $(srcdir); ${PWD}`; export s
; \
4240 (cd recode
&& $(MAKE
) $(FLAGS_TO_PASS
) check)
4244 .PHONY
: install-recode maybe-install-recode
4245 maybe-install-recode
:
4246 install-recode
: installdirs
4247 @r
=`${PWD}`; export r
; \
4248 s
=`cd $(srcdir); ${PWD}`; export s
; \
4250 (cd recode
&& $(MAKE
) $(FLAGS_TO_PASS
) install)
4253 .PHONY
: configure-sed maybe-configure-sed
4254 maybe-configure-sed
:
4256 @
test ! -f sed
/Makefile || exit
0; \
4257 [ -d sed
] || mkdir sed
; \
4258 r
=`${PWD}`; export r
; \
4259 s
=`cd $(srcdir); ${PWD}`; export s
; \
4260 CC
="$(CC)"; export CC
; \
4261 CFLAGS
="$(CFLAGS)"; export CFLAGS
; \
4262 CXX
="$(CXX)"; export CXX
; \
4263 CXXFLAGS
="$(CXXFLAGS)"; export CXXFLAGS
; \
4264 if
[ z
$(build_canonical
) != z
$(host_canoncial
) ] ; then \
4265 AR
="$(AR)"; export AR
; \
4266 AS
="$(AS)"; export AS
; \
4267 CC_FOR_BUILD
="$(CC_FOR_BUILD)"; export CC_FOR_BUILD
; \
4268 DLLTOOL
="$(DLLTOOL)"; export DLLTOOL
; \
4269 LD
="$(LD)"; export LD
; \
4270 NM
="$(NM)"; export NM
; \
4271 RANLIB
="$(RANLIB)"; export RANLIB
; \
4272 WINDRES
="$(WINDRES)"; export WINDRES
; \
4273 OBJCOPY
="$(OBJCOPY)"; export OBJCOPY
; \
4274 OBJDUMP
="$(OBJDUMP)"; export OBJDUMP
; \
4276 echo Configuring in sed
; \
4280 srcdiroption
="--srcdir=."; \
4282 /* |
[A-Za-z
]:[\\/]*) \
4283 srcdiroption
="--srcdir=$(srcdir)/sed"; \
4284 libsrcdir
="$$s/sed";; \
4286 srcdiroption
="--srcdir=../$(srcdir)/sed"; \
4287 libsrcdir
="$$s/sed";; \
4289 $(SHELL
) $${libsrcdir}/configure \
4290 $(HOST_CONFIGARGS
) $${srcdiroption} \
4293 .PHONY
: all-sed maybe-all-sed
4295 all-sed
: configure-sed
4296 @r
=`${PWD}`; export r
; \
4297 s
=`cd $(srcdir); ${PWD}`; export s
; \
4299 (cd sed
&& $(MAKE
) $(FLAGS_TO_PASS
) all)
4304 @r
=`${PWD}`; export r
; \
4305 s
=`cd $(srcdir); ${PWD}`; export s
; \
4307 (cd sed
&& $(MAKE
) $(FLAGS_TO_PASS
) check)
4311 .PHONY
: install-sed maybe-install-sed
4313 install-sed
: installdirs
4314 @r
=`${PWD}`; export r
; \
4315 s
=`cd $(srcdir); ${PWD}`; export s
; \
4317 (cd sed
&& $(MAKE
) $(FLAGS_TO_PASS
) install)
4320 .PHONY
: configure-send-pr maybe-configure-send-pr
4321 maybe-configure-send-pr
:
4323 @
test ! -f send-pr
/Makefile || exit
0; \
4324 [ -d send-pr
] || mkdir send-pr
; \
4325 r
=`${PWD}`; export r
; \
4326 s
=`cd $(srcdir); ${PWD}`; export s
; \
4327 CC
="$(CC)"; export CC
; \
4328 CFLAGS
="$(CFLAGS)"; export CFLAGS
; \
4329 CXX
="$(CXX)"; export CXX
; \
4330 CXXFLAGS
="$(CXXFLAGS)"; export CXXFLAGS
; \
4331 if
[ z
$(build_canonical
) != z
$(host_canoncial
) ] ; then \
4332 AR
="$(AR)"; export AR
; \
4333 AS
="$(AS)"; export AS
; \
4334 CC_FOR_BUILD
="$(CC_FOR_BUILD)"; export CC_FOR_BUILD
; \
4335 DLLTOOL
="$(DLLTOOL)"; export DLLTOOL
; \
4336 LD
="$(LD)"; export LD
; \
4337 NM
="$(NM)"; export NM
; \
4338 RANLIB
="$(RANLIB)"; export RANLIB
; \
4339 WINDRES
="$(WINDRES)"; export WINDRES
; \
4340 OBJCOPY
="$(OBJCOPY)"; export OBJCOPY
; \
4341 OBJDUMP
="$(OBJDUMP)"; export OBJDUMP
; \
4343 echo Configuring in send-pr
; \
4344 cd send-pr || exit
1; \
4347 srcdiroption
="--srcdir=."; \
4349 /* |
[A-Za-z
]:[\\/]*) \
4350 srcdiroption
="--srcdir=$(srcdir)/send-pr"; \
4351 libsrcdir
="$$s/send-pr";; \
4353 srcdiroption
="--srcdir=../$(srcdir)/send-pr"; \
4354 libsrcdir
="$$s/send-pr";; \
4356 $(SHELL
) $${libsrcdir}/configure \
4357 $(HOST_CONFIGARGS
) $${srcdiroption} \
4360 .PHONY
: all-send-pr maybe-all-send-pr
4362 all-send-pr
: configure-send-pr
4363 @r
=`${PWD}`; export r
; \
4364 s
=`cd $(srcdir); ${PWD}`; export s
; \
4366 (cd send-pr
&& $(MAKE
) $(FLAGS_TO_PASS
) all)
4369 .PHONY
: check-send-pr
4371 @r
=`${PWD}`; export r
; \
4372 s
=`cd $(srcdir); ${PWD}`; export s
; \
4374 (cd send-pr
&& $(MAKE
) $(FLAGS_TO_PASS
) check)
4378 .PHONY
: install-send-pr maybe-install-send-pr
4379 maybe-install-send-pr
:
4380 install-send-pr
: installdirs
4381 @r
=`${PWD}`; export r
; \
4382 s
=`cd $(srcdir); ${PWD}`; export s
; \
4384 (cd send-pr
&& $(MAKE
) $(FLAGS_TO_PASS
) install)
4387 .PHONY
: configure-shellutils maybe-configure-shellutils
4388 maybe-configure-shellutils
:
4389 configure-shellutils
:
4390 @
test ! -f shellutils
/Makefile || exit
0; \
4391 [ -d shellutils
] || mkdir shellutils
; \
4392 r
=`${PWD}`; export r
; \
4393 s
=`cd $(srcdir); ${PWD}`; export s
; \
4394 CC
="$(CC)"; export CC
; \
4395 CFLAGS
="$(CFLAGS)"; export CFLAGS
; \
4396 CXX
="$(CXX)"; export CXX
; \
4397 CXXFLAGS
="$(CXXFLAGS)"; export CXXFLAGS
; \
4398 if
[ z
$(build_canonical
) != z
$(host_canoncial
) ] ; then \
4399 AR
="$(AR)"; export AR
; \
4400 AS
="$(AS)"; export AS
; \
4401 CC_FOR_BUILD
="$(CC_FOR_BUILD)"; export CC_FOR_BUILD
; \
4402 DLLTOOL
="$(DLLTOOL)"; export DLLTOOL
; \
4403 LD
="$(LD)"; export LD
; \
4404 NM
="$(NM)"; export NM
; \
4405 RANLIB
="$(RANLIB)"; export RANLIB
; \
4406 WINDRES
="$(WINDRES)"; export WINDRES
; \
4407 OBJCOPY
="$(OBJCOPY)"; export OBJCOPY
; \
4408 OBJDUMP
="$(OBJDUMP)"; export OBJDUMP
; \
4410 echo Configuring in shellutils
; \
4411 cd shellutils || exit
1; \
4414 srcdiroption
="--srcdir=."; \
4416 /* |
[A-Za-z
]:[\\/]*) \
4417 srcdiroption
="--srcdir=$(srcdir)/shellutils"; \
4418 libsrcdir
="$$s/shellutils";; \
4420 srcdiroption
="--srcdir=../$(srcdir)/shellutils"; \
4421 libsrcdir
="$$s/shellutils";; \
4423 $(SHELL
) $${libsrcdir}/configure \
4424 $(HOST_CONFIGARGS
) $${srcdiroption} \
4427 .PHONY
: all-shellutils maybe-all-shellutils
4428 maybe-all-shellutils
:
4429 all-shellutils
: configure-shellutils
4430 @r
=`${PWD}`; export r
; \
4431 s
=`cd $(srcdir); ${PWD}`; export s
; \
4433 (cd shellutils
&& $(MAKE
) $(FLAGS_TO_PASS
) all)
4436 .PHONY
: check-shellutils
4438 @r
=`${PWD}`; export r
; \
4439 s
=`cd $(srcdir); ${PWD}`; export s
; \
4441 (cd shellutils
&& $(MAKE
) $(FLAGS_TO_PASS
) check)
4445 .PHONY
: install-shellutils maybe-install-shellutils
4446 maybe-install-shellutils
:
4447 install-shellutils
: installdirs
4448 @r
=`${PWD}`; export r
; \
4449 s
=`cd $(srcdir); ${PWD}`; export s
; \
4451 (cd shellutils
&& $(MAKE
) $(FLAGS_TO_PASS
) install)
4454 .PHONY
: configure-sid maybe-configure-sid
4455 maybe-configure-sid
:
4457 @
test ! -f sid
/Makefile || exit
0; \
4458 [ -d sid
] || mkdir sid
; \
4459 r
=`${PWD}`; export r
; \
4460 s
=`cd $(srcdir); ${PWD}`; export s
; \
4461 CC
="$(CC)"; export CC
; \
4462 CFLAGS
="$(CFLAGS)"; export CFLAGS
; \
4463 CXX
="$(CXX)"; export CXX
; \
4464 CXXFLAGS
="$(CXXFLAGS)"; export CXXFLAGS
; \
4465 if
[ z
$(build_canonical
) != z
$(host_canoncial
) ] ; then \
4466 AR
="$(AR)"; export AR
; \
4467 AS
="$(AS)"; export AS
; \
4468 CC_FOR_BUILD
="$(CC_FOR_BUILD)"; export CC_FOR_BUILD
; \
4469 DLLTOOL
="$(DLLTOOL)"; export DLLTOOL
; \
4470 LD
="$(LD)"; export LD
; \
4471 NM
="$(NM)"; export NM
; \
4472 RANLIB
="$(RANLIB)"; export RANLIB
; \
4473 WINDRES
="$(WINDRES)"; export WINDRES
; \
4474 OBJCOPY
="$(OBJCOPY)"; export OBJCOPY
; \
4475 OBJDUMP
="$(OBJDUMP)"; export OBJDUMP
; \
4477 echo Configuring in sid
; \
4481 srcdiroption
="--srcdir=."; \
4483 /* |
[A-Za-z
]:[\\/]*) \
4484 srcdiroption
="--srcdir=$(srcdir)/sid"; \
4485 libsrcdir
="$$s/sid";; \
4487 srcdiroption
="--srcdir=../$(srcdir)/sid"; \
4488 libsrcdir
="$$s/sid";; \
4490 $(SHELL
) $${libsrcdir}/configure \
4491 $(HOST_CONFIGARGS
) $${srcdiroption} \
4494 .PHONY
: all-sid maybe-all-sid
4496 all-sid
: configure-sid
4497 @r
=`${PWD}`; export r
; \
4498 s
=`cd $(srcdir); ${PWD}`; export s
; \
4500 (cd sid
&& $(MAKE
) $(FLAGS_TO_PASS
) all)
4505 @r
=`${PWD}`; export r
; \
4506 s
=`cd $(srcdir); ${PWD}`; export s
; \
4508 (cd sid
&& $(MAKE
) $(FLAGS_TO_PASS
) check)
4512 .PHONY
: install-sid maybe-install-sid
4514 install-sid
: installdirs
4515 @r
=`${PWD}`; export r
; \
4516 s
=`cd $(srcdir); ${PWD}`; export s
; \
4518 (cd sid
&& $(MAKE
) $(FLAGS_TO_PASS
) install)
4521 .PHONY
: configure-sim maybe-configure-sim
4522 maybe-configure-sim
:
4524 @
test ! -f sim
/Makefile || exit
0; \
4525 [ -d sim
] || mkdir sim
; \
4526 r
=`${PWD}`; export r
; \
4527 s
=`cd $(srcdir); ${PWD}`; export s
; \
4528 CC
="$(CC)"; export CC
; \
4529 CFLAGS
="$(CFLAGS)"; export CFLAGS
; \
4530 CXX
="$(CXX)"; export CXX
; \
4531 CXXFLAGS
="$(CXXFLAGS)"; export CXXFLAGS
; \
4532 if
[ z
$(build_canonical
) != z
$(host_canoncial
) ] ; then \
4533 AR
="$(AR)"; export AR
; \
4534 AS
="$(AS)"; export AS
; \
4535 CC_FOR_BUILD
="$(CC_FOR_BUILD)"; export CC_FOR_BUILD
; \
4536 DLLTOOL
="$(DLLTOOL)"; export DLLTOOL
; \
4537 LD
="$(LD)"; export LD
; \
4538 NM
="$(NM)"; export NM
; \
4539 RANLIB
="$(RANLIB)"; export RANLIB
; \
4540 WINDRES
="$(WINDRES)"; export WINDRES
; \
4541 OBJCOPY
="$(OBJCOPY)"; export OBJCOPY
; \
4542 OBJDUMP
="$(OBJDUMP)"; export OBJDUMP
; \
4544 echo Configuring in sim
; \
4548 srcdiroption
="--srcdir=."; \
4550 /* |
[A-Za-z
]:[\\/]*) \
4551 srcdiroption
="--srcdir=$(srcdir)/sim"; \
4552 libsrcdir
="$$s/sim";; \
4554 srcdiroption
="--srcdir=../$(srcdir)/sim"; \
4555 libsrcdir
="$$s/sim";; \
4557 $(SHELL
) $${libsrcdir}/configure \
4558 $(HOST_CONFIGARGS
) $${srcdiroption} \
4561 .PHONY
: all-sim maybe-all-sim
4563 all-sim
: configure-sim
4564 @r
=`${PWD}`; export r
; \
4565 s
=`cd $(srcdir); ${PWD}`; export s
; \
4567 (cd sim
&& $(MAKE
) $(FLAGS_TO_PASS
) all)
4572 @r
=`${PWD}`; export r
; \
4573 s
=`cd $(srcdir); ${PWD}`; export s
; \
4575 (cd sim
&& $(MAKE
) $(FLAGS_TO_PASS
) check)
4579 .PHONY
: install-sim maybe-install-sim
4581 install-sim
: installdirs
4582 @r
=`${PWD}`; export r
; \
4583 s
=`cd $(srcdir); ${PWD}`; export s
; \
4585 (cd sim
&& $(MAKE
) $(FLAGS_TO_PASS
) install)
4588 .PHONY
: configure-tar maybe-configure-tar
4589 maybe-configure-tar
:
4591 @
test ! -f
tar/Makefile || exit
0; \
4592 [ -d
tar ] || mkdir
tar; \
4593 r
=`${PWD}`; export r
; \
4594 s
=`cd $(srcdir); ${PWD}`; export s
; \
4595 CC
="$(CC)"; export CC
; \
4596 CFLAGS
="$(CFLAGS)"; export CFLAGS
; \
4597 CXX
="$(CXX)"; export CXX
; \
4598 CXXFLAGS
="$(CXXFLAGS)"; export CXXFLAGS
; \
4599 if
[ z
$(build_canonical
) != z
$(host_canoncial
) ] ; then \
4600 AR
="$(AR)"; export AR
; \
4601 AS
="$(AS)"; export AS
; \
4602 CC_FOR_BUILD
="$(CC_FOR_BUILD)"; export CC_FOR_BUILD
; \
4603 DLLTOOL
="$(DLLTOOL)"; export DLLTOOL
; \
4604 LD
="$(LD)"; export LD
; \
4605 NM
="$(NM)"; export NM
; \
4606 RANLIB
="$(RANLIB)"; export RANLIB
; \
4607 WINDRES
="$(WINDRES)"; export WINDRES
; \
4608 OBJCOPY
="$(OBJCOPY)"; export OBJCOPY
; \
4609 OBJDUMP
="$(OBJDUMP)"; export OBJDUMP
; \
4611 echo Configuring in
tar; \
4615 srcdiroption
="--srcdir=."; \
4617 /* |
[A-Za-z
]:[\\/]*) \
4618 srcdiroption
="--srcdir=$(srcdir)/tar"; \
4619 libsrcdir
="$$s/tar";; \
4621 srcdiroption
="--srcdir=../$(srcdir)/tar"; \
4622 libsrcdir
="$$s/tar";; \
4624 $(SHELL
) $${libsrcdir}/configure \
4625 $(HOST_CONFIGARGS
) $${srcdiroption} \
4628 .PHONY
: all-tar maybe-all-tar
4630 all-tar
: configure-tar
4631 @r
=`${PWD}`; export r
; \
4632 s
=`cd $(srcdir); ${PWD}`; export s
; \
4634 (cd
tar && $(MAKE
) $(FLAGS_TO_PASS
) all)
4639 @r
=`${PWD}`; export r
; \
4640 s
=`cd $(srcdir); ${PWD}`; export s
; \
4642 (cd
tar && $(MAKE
) $(FLAGS_TO_PASS
) check)
4646 .PHONY
: install-tar maybe-install-tar
4648 install-tar
: installdirs
4649 @r
=`${PWD}`; export r
; \
4650 s
=`cd $(srcdir); ${PWD}`; export s
; \
4652 (cd
tar && $(MAKE
) $(FLAGS_TO_PASS
) install)
4655 .PHONY
: configure-texinfo maybe-configure-texinfo
4656 maybe-configure-texinfo
:
4658 @
test ! -f texinfo
/Makefile || exit
0; \
4659 [ -d texinfo
] || mkdir texinfo
; \
4660 r
=`${PWD}`; export r
; \
4661 s
=`cd $(srcdir); ${PWD}`; export s
; \
4662 CC
="$(CC)"; export CC
; \
4663 CFLAGS
="$(CFLAGS)"; export CFLAGS
; \
4664 CXX
="$(CXX)"; export CXX
; \
4665 CXXFLAGS
="$(CXXFLAGS)"; export CXXFLAGS
; \
4666 if
[ z
$(build_canonical
) != z
$(host_canoncial
) ] ; then \
4667 AR
="$(AR)"; export AR
; \
4668 AS
="$(AS)"; export AS
; \
4669 CC_FOR_BUILD
="$(CC_FOR_BUILD)"; export CC_FOR_BUILD
; \
4670 DLLTOOL
="$(DLLTOOL)"; export DLLTOOL
; \
4671 LD
="$(LD)"; export LD
; \
4672 NM
="$(NM)"; export NM
; \
4673 RANLIB
="$(RANLIB)"; export RANLIB
; \
4674 WINDRES
="$(WINDRES)"; export WINDRES
; \
4675 OBJCOPY
="$(OBJCOPY)"; export OBJCOPY
; \
4676 OBJDUMP
="$(OBJDUMP)"; export OBJDUMP
; \
4678 echo Configuring in texinfo
; \
4679 cd texinfo || exit
1; \
4682 srcdiroption
="--srcdir=."; \
4684 /* |
[A-Za-z
]:[\\/]*) \
4685 srcdiroption
="--srcdir=$(srcdir)/texinfo"; \
4686 libsrcdir
="$$s/texinfo";; \
4688 srcdiroption
="--srcdir=../$(srcdir)/texinfo"; \
4689 libsrcdir
="$$s/texinfo";; \
4691 $(SHELL
) $${libsrcdir}/configure \
4692 $(HOST_CONFIGARGS
) $${srcdiroption} \
4695 .PHONY
: all-texinfo maybe-all-texinfo
4697 all-texinfo
: configure-texinfo
4698 @r
=`${PWD}`; export r
; \
4699 s
=`cd $(srcdir); ${PWD}`; export s
; \
4701 (cd texinfo
&& $(MAKE
) $(FLAGS_TO_PASS
) all)
4704 .PHONY
: check-texinfo
4706 @r
=`${PWD}`; export r
; \
4707 s
=`cd $(srcdir); ${PWD}`; export s
; \
4709 (cd texinfo
&& $(MAKE
) $(FLAGS_TO_PASS
) check)
4713 .PHONY
: install-texinfo maybe-install-texinfo
4714 maybe-install-texinfo
:
4718 .PHONY
: configure-textutils maybe-configure-textutils
4719 maybe-configure-textutils
:
4720 configure-textutils
:
4721 @
test ! -f textutils
/Makefile || exit
0; \
4722 [ -d textutils
] || mkdir textutils
; \
4723 r
=`${PWD}`; export r
; \
4724 s
=`cd $(srcdir); ${PWD}`; export s
; \
4725 CC
="$(CC)"; export CC
; \
4726 CFLAGS
="$(CFLAGS)"; export CFLAGS
; \
4727 CXX
="$(CXX)"; export CXX
; \
4728 CXXFLAGS
="$(CXXFLAGS)"; export CXXFLAGS
; \
4729 if
[ z
$(build_canonical
) != z
$(host_canoncial
) ] ; then \
4730 AR
="$(AR)"; export AR
; \
4731 AS
="$(AS)"; export AS
; \
4732 CC_FOR_BUILD
="$(CC_FOR_BUILD)"; export CC_FOR_BUILD
; \
4733 DLLTOOL
="$(DLLTOOL)"; export DLLTOOL
; \
4734 LD
="$(LD)"; export LD
; \
4735 NM
="$(NM)"; export NM
; \
4736 RANLIB
="$(RANLIB)"; export RANLIB
; \
4737 WINDRES
="$(WINDRES)"; export WINDRES
; \
4738 OBJCOPY
="$(OBJCOPY)"; export OBJCOPY
; \
4739 OBJDUMP
="$(OBJDUMP)"; export OBJDUMP
; \
4741 echo Configuring in textutils
; \
4742 cd textutils || exit
1; \
4745 srcdiroption
="--srcdir=."; \
4747 /* |
[A-Za-z
]:[\\/]*) \
4748 srcdiroption
="--srcdir=$(srcdir)/textutils"; \
4749 libsrcdir
="$$s/textutils";; \
4751 srcdiroption
="--srcdir=../$(srcdir)/textutils"; \
4752 libsrcdir
="$$s/textutils";; \
4754 $(SHELL
) $${libsrcdir}/configure \
4755 $(HOST_CONFIGARGS
) $${srcdiroption} \
4758 .PHONY
: all-textutils maybe-all-textutils
4759 maybe-all-textutils
:
4760 all-textutils
: configure-textutils
4761 @r
=`${PWD}`; export r
; \
4762 s
=`cd $(srcdir); ${PWD}`; export s
; \
4764 (cd textutils
&& $(MAKE
) $(FLAGS_TO_PASS
) all)
4767 .PHONY
: check-textutils
4769 @r
=`${PWD}`; export r
; \
4770 s
=`cd $(srcdir); ${PWD}`; export s
; \
4772 (cd textutils
&& $(MAKE
) $(FLAGS_TO_PASS
) check)
4776 .PHONY
: install-textutils maybe-install-textutils
4777 maybe-install-textutils
:
4778 install-textutils
: installdirs
4779 @r
=`${PWD}`; export r
; \
4780 s
=`cd $(srcdir); ${PWD}`; export s
; \
4782 (cd textutils
&& $(MAKE
) $(FLAGS_TO_PASS
) install)
4785 .PHONY
: configure-time maybe-configure-time
4786 maybe-configure-time
:
4788 @
test ! -f time
/Makefile || exit
0; \
4789 [ -d time
] || mkdir time
; \
4790 r
=`${PWD}`; export r
; \
4791 s
=`cd $(srcdir); ${PWD}`; export s
; \
4792 CC
="$(CC)"; export CC
; \
4793 CFLAGS
="$(CFLAGS)"; export CFLAGS
; \
4794 CXX
="$(CXX)"; export CXX
; \
4795 CXXFLAGS
="$(CXXFLAGS)"; export CXXFLAGS
; \
4796 if
[ z
$(build_canonical
) != z
$(host_canoncial
) ] ; then \
4797 AR
="$(AR)"; export AR
; \
4798 AS
="$(AS)"; export AS
; \
4799 CC_FOR_BUILD
="$(CC_FOR_BUILD)"; export CC_FOR_BUILD
; \
4800 DLLTOOL
="$(DLLTOOL)"; export DLLTOOL
; \
4801 LD
="$(LD)"; export LD
; \
4802 NM
="$(NM)"; export NM
; \
4803 RANLIB
="$(RANLIB)"; export RANLIB
; \
4804 WINDRES
="$(WINDRES)"; export WINDRES
; \
4805 OBJCOPY
="$(OBJCOPY)"; export OBJCOPY
; \
4806 OBJDUMP
="$(OBJDUMP)"; export OBJDUMP
; \
4808 echo Configuring in time
; \
4809 cd time || exit
1; \
4812 srcdiroption
="--srcdir=."; \
4814 /* |
[A-Za-z
]:[\\/]*) \
4815 srcdiroption
="--srcdir=$(srcdir)/time"; \
4816 libsrcdir
="$$s/time";; \
4818 srcdiroption
="--srcdir=../$(srcdir)/time"; \
4819 libsrcdir
="$$s/time";; \
4821 $(SHELL
) $${libsrcdir}/configure \
4822 $(HOST_CONFIGARGS
) $${srcdiroption} \
4825 .PHONY
: all-time maybe-all-time
4827 all-time
: configure-time
4828 @r
=`${PWD}`; export r
; \
4829 s
=`cd $(srcdir); ${PWD}`; export s
; \
4831 (cd time
&& $(MAKE
) $(FLAGS_TO_PASS
) all)
4836 @r
=`${PWD}`; export r
; \
4837 s
=`cd $(srcdir); ${PWD}`; export s
; \
4839 (cd time
&& $(MAKE
) $(FLAGS_TO_PASS
) check)
4843 .PHONY
: install-time maybe-install-time
4845 install-time
: installdirs
4846 @r
=`${PWD}`; export r
; \
4847 s
=`cd $(srcdir); ${PWD}`; export s
; \
4849 (cd time
&& $(MAKE
) $(FLAGS_TO_PASS
) install)
4852 .PHONY
: configure-uudecode maybe-configure-uudecode
4853 maybe-configure-uudecode
:
4855 @
test ! -f uudecode
/Makefile || exit
0; \
4856 [ -d uudecode
] || mkdir uudecode
; \
4857 r
=`${PWD}`; export r
; \
4858 s
=`cd $(srcdir); ${PWD}`; export s
; \
4859 CC
="$(CC)"; export CC
; \
4860 CFLAGS
="$(CFLAGS)"; export CFLAGS
; \
4861 CXX
="$(CXX)"; export CXX
; \
4862 CXXFLAGS
="$(CXXFLAGS)"; export CXXFLAGS
; \
4863 if
[ z
$(build_canonical
) != z
$(host_canoncial
) ] ; then \
4864 AR
="$(AR)"; export AR
; \
4865 AS
="$(AS)"; export AS
; \
4866 CC_FOR_BUILD
="$(CC_FOR_BUILD)"; export CC_FOR_BUILD
; \
4867 DLLTOOL
="$(DLLTOOL)"; export DLLTOOL
; \
4868 LD
="$(LD)"; export LD
; \
4869 NM
="$(NM)"; export NM
; \
4870 RANLIB
="$(RANLIB)"; export RANLIB
; \
4871 WINDRES
="$(WINDRES)"; export WINDRES
; \
4872 OBJCOPY
="$(OBJCOPY)"; export OBJCOPY
; \
4873 OBJDUMP
="$(OBJDUMP)"; export OBJDUMP
; \
4875 echo Configuring in uudecode
; \
4876 cd uudecode || exit
1; \
4879 srcdiroption
="--srcdir=."; \
4881 /* |
[A-Za-z
]:[\\/]*) \
4882 srcdiroption
="--srcdir=$(srcdir)/uudecode"; \
4883 libsrcdir
="$$s/uudecode";; \
4885 srcdiroption
="--srcdir=../$(srcdir)/uudecode"; \
4886 libsrcdir
="$$s/uudecode";; \
4888 $(SHELL
) $${libsrcdir}/configure \
4889 $(HOST_CONFIGARGS
) $${srcdiroption} \
4892 .PHONY
: all-uudecode maybe-all-uudecode
4894 all-uudecode
: configure-uudecode
4895 @r
=`${PWD}`; export r
; \
4896 s
=`cd $(srcdir); ${PWD}`; export s
; \
4898 (cd uudecode
&& $(MAKE
) $(FLAGS_TO_PASS
) all)
4901 .PHONY
: check-uudecode
4903 @r
=`${PWD}`; export r
; \
4904 s
=`cd $(srcdir); ${PWD}`; export s
; \
4906 (cd uudecode
&& $(MAKE
) $(FLAGS_TO_PASS
) check)
4910 .PHONY
: install-uudecode maybe-install-uudecode
4911 maybe-install-uudecode
:
4912 install-uudecode
: installdirs
4913 @r
=`${PWD}`; export r
; \
4914 s
=`cd $(srcdir); ${PWD}`; export s
; \
4916 (cd uudecode
&& $(MAKE
) $(FLAGS_TO_PASS
) install)
4919 .PHONY
: configure-wdiff maybe-configure-wdiff
4920 maybe-configure-wdiff
:
4922 @
test ! -f wdiff
/Makefile || exit
0; \
4923 [ -d wdiff
] || mkdir wdiff
; \
4924 r
=`${PWD}`; export r
; \
4925 s
=`cd $(srcdir); ${PWD}`; export s
; \
4926 CC
="$(CC)"; export CC
; \
4927 CFLAGS
="$(CFLAGS)"; export CFLAGS
; \
4928 CXX
="$(CXX)"; export CXX
; \
4929 CXXFLAGS
="$(CXXFLAGS)"; export CXXFLAGS
; \
4930 if
[ z
$(build_canonical
) != z
$(host_canoncial
) ] ; then \
4931 AR
="$(AR)"; export AR
; \
4932 AS
="$(AS)"; export AS
; \
4933 CC_FOR_BUILD
="$(CC_FOR_BUILD)"; export CC_FOR_BUILD
; \
4934 DLLTOOL
="$(DLLTOOL)"; export DLLTOOL
; \
4935 LD
="$(LD)"; export LD
; \
4936 NM
="$(NM)"; export NM
; \
4937 RANLIB
="$(RANLIB)"; export RANLIB
; \
4938 WINDRES
="$(WINDRES)"; export WINDRES
; \
4939 OBJCOPY
="$(OBJCOPY)"; export OBJCOPY
; \
4940 OBJDUMP
="$(OBJDUMP)"; export OBJDUMP
; \
4942 echo Configuring in wdiff
; \
4943 cd wdiff || exit
1; \
4946 srcdiroption
="--srcdir=."; \
4948 /* |
[A-Za-z
]:[\\/]*) \
4949 srcdiroption
="--srcdir=$(srcdir)/wdiff"; \
4950 libsrcdir
="$$s/wdiff";; \
4952 srcdiroption
="--srcdir=../$(srcdir)/wdiff"; \
4953 libsrcdir
="$$s/wdiff";; \
4955 $(SHELL
) $${libsrcdir}/configure \
4956 $(HOST_CONFIGARGS
) $${srcdiroption} \
4959 .PHONY
: all-wdiff maybe-all-wdiff
4961 all-wdiff
: configure-wdiff
4962 @r
=`${PWD}`; export r
; \
4963 s
=`cd $(srcdir); ${PWD}`; export s
; \
4965 (cd wdiff
&& $(MAKE
) $(FLAGS_TO_PASS
) all)
4970 @r
=`${PWD}`; export r
; \
4971 s
=`cd $(srcdir); ${PWD}`; export s
; \
4973 (cd wdiff
&& $(MAKE
) $(FLAGS_TO_PASS
) check)
4977 .PHONY
: install-wdiff maybe-install-wdiff
4978 maybe-install-wdiff
:
4979 install-wdiff
: installdirs
4980 @r
=`${PWD}`; export r
; \
4981 s
=`cd $(srcdir); ${PWD}`; export s
; \
4983 (cd wdiff
&& $(MAKE
) $(FLAGS_TO_PASS
) install)
4986 .PHONY
: configure-zip maybe-configure-zip
4987 maybe-configure-zip
:
4989 @
test ! -f zip
/Makefile || exit
0; \
4990 [ -d zip
] || mkdir zip
; \
4991 r
=`${PWD}`; export r
; \
4992 s
=`cd $(srcdir); ${PWD}`; export s
; \
4993 CC
="$(CC)"; export CC
; \
4994 CFLAGS
="$(CFLAGS)"; export CFLAGS
; \
4995 CXX
="$(CXX)"; export CXX
; \
4996 CXXFLAGS
="$(CXXFLAGS)"; export CXXFLAGS
; \
4997 if
[ z
$(build_canonical
) != z
$(host_canoncial
) ] ; then \
4998 AR
="$(AR)"; export AR
; \
4999 AS
="$(AS)"; export AS
; \
5000 CC_FOR_BUILD
="$(CC_FOR_BUILD)"; export CC_FOR_BUILD
; \
5001 DLLTOOL
="$(DLLTOOL)"; export DLLTOOL
; \
5002 LD
="$(LD)"; export LD
; \
5003 NM
="$(NM)"; export NM
; \
5004 RANLIB
="$(RANLIB)"; export RANLIB
; \
5005 WINDRES
="$(WINDRES)"; export WINDRES
; \
5006 OBJCOPY
="$(OBJCOPY)"; export OBJCOPY
; \
5007 OBJDUMP
="$(OBJDUMP)"; export OBJDUMP
; \
5009 echo Configuring in zip
; \
5013 srcdiroption
="--srcdir=."; \
5015 /* |
[A-Za-z
]:[\\/]*) \
5016 srcdiroption
="--srcdir=$(srcdir)/zip"; \
5017 libsrcdir
="$$s/zip";; \
5019 srcdiroption
="--srcdir=../$(srcdir)/zip"; \
5020 libsrcdir
="$$s/zip";; \
5022 $(SHELL
) $${libsrcdir}/configure \
5023 $(HOST_CONFIGARGS
) $${srcdiroption} \
5026 .PHONY
: all-zip maybe-all-zip
5028 all-zip
: configure-zip
5029 @r
=`${PWD}`; export r
; \
5030 s
=`cd $(srcdir); ${PWD}`; export s
; \
5032 (cd zip
&& $(MAKE
) $(FLAGS_TO_PASS
) all)
5036 # This module is only tested in a native toolchain.
5038 @if
[ '$(host_canonical)' = '$(target_canonical)' ] ; then \
5039 r
=`${PWD}`; export r
; \
5040 s
=`cd $(srcdir); ${PWD}`; export s
; \
5042 (cd zip
&& $(MAKE
) $(FLAGS_TO_PASS
) check); \
5047 .PHONY
: install-zip maybe-install-zip
5049 install-zip
: installdirs
5050 @r
=`${PWD}`; export r
; \
5051 s
=`cd $(srcdir); ${PWD}`; export s
; \
5053 (cd zip
&& $(MAKE
) $(FLAGS_TO_PASS
) install)
5056 .PHONY
: configure-zlib maybe-configure-zlib
5057 maybe-configure-zlib
:
5059 @
test ! -f zlib
/Makefile || exit
0; \
5060 [ -d zlib
] || mkdir zlib
; \
5061 r
=`${PWD}`; export r
; \
5062 s
=`cd $(srcdir); ${PWD}`; export s
; \
5063 CC
="$(CC)"; export CC
; \
5064 CFLAGS
="$(CFLAGS)"; export CFLAGS
; \
5065 CXX
="$(CXX)"; export CXX
; \
5066 CXXFLAGS
="$(CXXFLAGS)"; export CXXFLAGS
; \
5067 if
[ z
$(build_canonical
) != z
$(host_canoncial
) ] ; then \
5068 AR
="$(AR)"; export AR
; \
5069 AS
="$(AS)"; export AS
; \
5070 CC_FOR_BUILD
="$(CC_FOR_BUILD)"; export CC_FOR_BUILD
; \
5071 DLLTOOL
="$(DLLTOOL)"; export DLLTOOL
; \
5072 LD
="$(LD)"; export LD
; \
5073 NM
="$(NM)"; export NM
; \
5074 RANLIB
="$(RANLIB)"; export RANLIB
; \
5075 WINDRES
="$(WINDRES)"; export WINDRES
; \
5076 OBJCOPY
="$(OBJCOPY)"; export OBJCOPY
; \
5077 OBJDUMP
="$(OBJDUMP)"; export OBJDUMP
; \
5079 echo Configuring in zlib
; \
5080 cd zlib || exit
1; \
5083 srcdiroption
="--srcdir=."; \
5085 /* |
[A-Za-z
]:[\\/]*) \
5086 srcdiroption
="--srcdir=$(srcdir)/zlib"; \
5087 libsrcdir
="$$s/zlib";; \
5089 srcdiroption
="--srcdir=../$(srcdir)/zlib"; \
5090 libsrcdir
="$$s/zlib";; \
5092 $(SHELL
) $${libsrcdir}/configure \
5093 $(HOST_CONFIGARGS
) $${srcdiroption} \
5096 .PHONY
: all-zlib maybe-all-zlib
5098 all-zlib
: configure-zlib
5099 @r
=`${PWD}`; export r
; \
5100 s
=`cd $(srcdir); ${PWD}`; export s
; \
5102 (cd zlib
&& $(MAKE
) $(FLAGS_TO_PASS
) all)
5110 .PHONY
: install-zlib maybe-install-zlib
5115 .PHONY
: configure-gdb maybe-configure-gdb
5116 maybe-configure-gdb
:
5118 @
test ! -f gdb
/Makefile || exit
0; \
5119 [ -d gdb
] || mkdir gdb
; \
5120 r
=`${PWD}`; export r
; \
5121 s
=`cd $(srcdir); ${PWD}`; export s
; \
5122 CC
="$(CC)"; export CC
; \
5123 CFLAGS
="$(CFLAGS)"; export CFLAGS
; \
5124 CXX
="$(CXX)"; export CXX
; \
5125 CXXFLAGS
="$(CXXFLAGS)"; export CXXFLAGS
; \
5126 if
[ z
$(build_canonical
) != z
$(host_canoncial
) ] ; then \
5127 AR
="$(AR)"; export AR
; \
5128 AS
="$(AS)"; export AS
; \
5129 CC_FOR_BUILD
="$(CC_FOR_BUILD)"; export CC_FOR_BUILD
; \
5130 DLLTOOL
="$(DLLTOOL)"; export DLLTOOL
; \
5131 LD
="$(LD)"; export LD
; \
5132 NM
="$(NM)"; export NM
; \
5133 RANLIB
="$(RANLIB)"; export RANLIB
; \
5134 WINDRES
="$(WINDRES)"; export WINDRES
; \
5135 OBJCOPY
="$(OBJCOPY)"; export OBJCOPY
; \
5136 OBJDUMP
="$(OBJDUMP)"; export OBJDUMP
; \
5138 echo Configuring in gdb
; \
5142 srcdiroption
="--srcdir=."; \
5144 /* |
[A-Za-z
]:[\\/]*) \
5145 srcdiroption
="--srcdir=$(srcdir)/gdb"; \
5146 libsrcdir
="$$s/gdb";; \
5148 srcdiroption
="--srcdir=../$(srcdir)/gdb"; \
5149 libsrcdir
="$$s/gdb";; \
5151 $(SHELL
) $${libsrcdir}/configure \
5152 $(HOST_CONFIGARGS
) $${srcdiroption} \
5155 .PHONY
: all-gdb maybe-all-gdb
5157 all-gdb
: configure-gdb
5158 @r
=`${PWD}`; export r
; \
5159 s
=`cd $(srcdir); ${PWD}`; export s
; \
5161 (cd gdb
&& $(MAKE
) $(FLAGS_TO_PASS
) $(X11_FLAGS_TO_PASS
) all)
5166 @r
=`${PWD}`; export r
; \
5167 s
=`cd $(srcdir); ${PWD}`; export s
; \
5169 (cd gdb
&& $(MAKE
) $(FLAGS_TO_PASS
) $(X11_FLAGS_TO_PASS
) check)
5173 .PHONY
: install-gdb maybe-install-gdb
5175 install-gdb
: installdirs
5176 @r
=`${PWD}`; export r
; \
5177 s
=`cd $(srcdir); ${PWD}`; export s
; \
5179 (cd gdb
&& $(MAKE
) $(FLAGS_TO_PASS
) $(X11_FLAGS_TO_PASS
) install)
5182 .PHONY
: configure-expect maybe-configure-expect
5183 maybe-configure-expect
:
5185 @
test ! -f expect
/Makefile || exit
0; \
5186 [ -d expect
] || mkdir expect
; \
5187 r
=`${PWD}`; export r
; \
5188 s
=`cd $(srcdir); ${PWD}`; export s
; \
5189 CC
="$(CC)"; export CC
; \
5190 CFLAGS
="$(CFLAGS)"; export CFLAGS
; \
5191 CXX
="$(CXX)"; export CXX
; \
5192 CXXFLAGS
="$(CXXFLAGS)"; export CXXFLAGS
; \
5193 if
[ z
$(build_canonical
) != z
$(host_canoncial
) ] ; then \
5194 AR
="$(AR)"; export AR
; \
5195 AS
="$(AS)"; export AS
; \
5196 CC_FOR_BUILD
="$(CC_FOR_BUILD)"; export CC_FOR_BUILD
; \
5197 DLLTOOL
="$(DLLTOOL)"; export DLLTOOL
; \
5198 LD
="$(LD)"; export LD
; \
5199 NM
="$(NM)"; export NM
; \
5200 RANLIB
="$(RANLIB)"; export RANLIB
; \
5201 WINDRES
="$(WINDRES)"; export WINDRES
; \
5202 OBJCOPY
="$(OBJCOPY)"; export OBJCOPY
; \
5203 OBJDUMP
="$(OBJDUMP)"; export OBJDUMP
; \
5205 echo Configuring in expect
; \
5206 cd expect || exit
1; \
5209 srcdiroption
="--srcdir=."; \
5211 /* |
[A-Za-z
]:[\\/]*) \
5212 srcdiroption
="--srcdir=$(srcdir)/expect"; \
5213 libsrcdir
="$$s/expect";; \
5215 srcdiroption
="--srcdir=../$(srcdir)/expect"; \
5216 libsrcdir
="$$s/expect";; \
5218 $(SHELL
) $${libsrcdir}/configure \
5219 $(HOST_CONFIGARGS
) $${srcdiroption} \
5222 .PHONY
: all-expect maybe-all-expect
5224 all-expect
: configure-expect
5225 @r
=`${PWD}`; export r
; \
5226 s
=`cd $(srcdir); ${PWD}`; export s
; \
5228 (cd expect
&& $(MAKE
) $(FLAGS_TO_PASS
) $(X11_FLAGS_TO_PASS
) all)
5231 .PHONY
: check-expect
5233 @r
=`${PWD}`; export r
; \
5234 s
=`cd $(srcdir); ${PWD}`; export s
; \
5236 (cd expect
&& $(MAKE
) $(FLAGS_TO_PASS
) $(X11_FLAGS_TO_PASS
) check)
5240 .PHONY
: install-expect maybe-install-expect
5241 maybe-install-expect
:
5242 install-expect
: installdirs
5243 @r
=`${PWD}`; export r
; \
5244 s
=`cd $(srcdir); ${PWD}`; export s
; \
5246 (cd expect
&& $(MAKE
) $(FLAGS_TO_PASS
) $(X11_FLAGS_TO_PASS
) install)
5249 .PHONY
: configure-guile maybe-configure-guile
5250 maybe-configure-guile
:
5252 @
test ! -f guile
/Makefile || exit
0; \
5253 [ -d guile
] || mkdir guile
; \
5254 r
=`${PWD}`; export r
; \
5255 s
=`cd $(srcdir); ${PWD}`; export s
; \
5256 CC
="$(CC)"; export CC
; \
5257 CFLAGS
="$(CFLAGS)"; export CFLAGS
; \
5258 CXX
="$(CXX)"; export CXX
; \
5259 CXXFLAGS
="$(CXXFLAGS)"; export CXXFLAGS
; \
5260 if
[ z
$(build_canonical
) != z
$(host_canoncial
) ] ; then \
5261 AR
="$(AR)"; export AR
; \
5262 AS
="$(AS)"; export AS
; \
5263 CC_FOR_BUILD
="$(CC_FOR_BUILD)"; export CC_FOR_BUILD
; \
5264 DLLTOOL
="$(DLLTOOL)"; export DLLTOOL
; \
5265 LD
="$(LD)"; export LD
; \
5266 NM
="$(NM)"; export NM
; \
5267 RANLIB
="$(RANLIB)"; export RANLIB
; \
5268 WINDRES
="$(WINDRES)"; export WINDRES
; \
5269 OBJCOPY
="$(OBJCOPY)"; export OBJCOPY
; \
5270 OBJDUMP
="$(OBJDUMP)"; export OBJDUMP
; \
5272 echo Configuring in guile
; \
5273 cd guile || exit
1; \
5276 srcdiroption
="--srcdir=."; \
5278 /* |
[A-Za-z
]:[\\/]*) \
5279 srcdiroption
="--srcdir=$(srcdir)/guile"; \
5280 libsrcdir
="$$s/guile";; \
5282 srcdiroption
="--srcdir=../$(srcdir)/guile"; \
5283 libsrcdir
="$$s/guile";; \
5285 $(SHELL
) $${libsrcdir}/configure \
5286 $(HOST_CONFIGARGS
) $${srcdiroption} \
5289 .PHONY
: all-guile maybe-all-guile
5291 all-guile
: configure-guile
5292 @r
=`${PWD}`; export r
; \
5293 s
=`cd $(srcdir); ${PWD}`; export s
; \
5295 (cd guile
&& $(MAKE
) $(FLAGS_TO_PASS
) $(X11_FLAGS_TO_PASS
) all)
5300 @r
=`${PWD}`; export r
; \
5301 s
=`cd $(srcdir); ${PWD}`; export s
; \
5303 (cd guile
&& $(MAKE
) $(FLAGS_TO_PASS
) $(X11_FLAGS_TO_PASS
) check)
5307 .PHONY
: install-guile maybe-install-guile
5308 maybe-install-guile
:
5309 install-guile
: installdirs
5310 @r
=`${PWD}`; export r
; \
5311 s
=`cd $(srcdir); ${PWD}`; export s
; \
5313 (cd guile
&& $(MAKE
) $(FLAGS_TO_PASS
) $(X11_FLAGS_TO_PASS
) install)
5316 .PHONY
: configure-tk maybe-configure-tk
5319 @
test ! -f tk
/Makefile || exit
0; \
5320 [ -d tk
] || mkdir tk
; \
5321 r
=`${PWD}`; export r
; \
5322 s
=`cd $(srcdir); ${PWD}`; export s
; \
5323 CC
="$(CC)"; export CC
; \
5324 CFLAGS
="$(CFLAGS)"; export CFLAGS
; \
5325 CXX
="$(CXX)"; export CXX
; \
5326 CXXFLAGS
="$(CXXFLAGS)"; export CXXFLAGS
; \
5327 if
[ z
$(build_canonical
) != z
$(host_canoncial
) ] ; then \
5328 AR
="$(AR)"; export AR
; \
5329 AS
="$(AS)"; export AS
; \
5330 CC_FOR_BUILD
="$(CC_FOR_BUILD)"; export CC_FOR_BUILD
; \
5331 DLLTOOL
="$(DLLTOOL)"; export DLLTOOL
; \
5332 LD
="$(LD)"; export LD
; \
5333 NM
="$(NM)"; export NM
; \
5334 RANLIB
="$(RANLIB)"; export RANLIB
; \
5335 WINDRES
="$(WINDRES)"; export WINDRES
; \
5336 OBJCOPY
="$(OBJCOPY)"; export OBJCOPY
; \
5337 OBJDUMP
="$(OBJDUMP)"; export OBJDUMP
; \
5339 echo Configuring in tk
; \
5343 srcdiroption
="--srcdir=."; \
5345 /* |
[A-Za-z
]:[\\/]*) \
5346 srcdiroption
="--srcdir=$(srcdir)/tk"; \
5347 libsrcdir
="$$s/tk";; \
5349 srcdiroption
="--srcdir=../$(srcdir)/tk"; \
5350 libsrcdir
="$$s/tk";; \
5352 $(SHELL
) $${libsrcdir}/configure \
5353 $(HOST_CONFIGARGS
) $${srcdiroption} \
5356 .PHONY
: all-tk maybe-all-tk
5358 all-tk
: configure-tk
5359 @r
=`${PWD}`; export r
; \
5360 s
=`cd $(srcdir); ${PWD}`; export s
; \
5362 (cd tk
&& $(MAKE
) $(FLAGS_TO_PASS
) $(X11_FLAGS_TO_PASS
) all)
5367 @r
=`${PWD}`; export r
; \
5368 s
=`cd $(srcdir); ${PWD}`; export s
; \
5370 (cd tk
&& $(MAKE
) $(FLAGS_TO_PASS
) $(X11_FLAGS_TO_PASS
) check)
5374 .PHONY
: install-tk maybe-install-tk
5376 install-tk
: installdirs
5377 @r
=`${PWD}`; export r
; \
5378 s
=`cd $(srcdir); ${PWD}`; export s
; \
5380 (cd tk
&& $(MAKE
) $(FLAGS_TO_PASS
) $(X11_FLAGS_TO_PASS
) install)
5383 .PHONY
: configure-tix maybe-configure-tix
5384 maybe-configure-tix
:
5386 @
test ! -f tix
/Makefile || exit
0; \
5387 [ -d tix
] || mkdir tix
; \
5388 r
=`${PWD}`; export r
; \
5389 s
=`cd $(srcdir); ${PWD}`; export s
; \
5390 CC
="$(CC)"; export CC
; \
5391 CFLAGS
="$(CFLAGS)"; export CFLAGS
; \
5392 CXX
="$(CXX)"; export CXX
; \
5393 CXXFLAGS
="$(CXXFLAGS)"; export CXXFLAGS
; \
5394 if
[ z
$(build_canonical
) != z
$(host_canoncial
) ] ; then \
5395 AR
="$(AR)"; export AR
; \
5396 AS
="$(AS)"; export AS
; \
5397 CC_FOR_BUILD
="$(CC_FOR_BUILD)"; export CC_FOR_BUILD
; \
5398 DLLTOOL
="$(DLLTOOL)"; export DLLTOOL
; \
5399 LD
="$(LD)"; export LD
; \
5400 NM
="$(NM)"; export NM
; \
5401 RANLIB
="$(RANLIB)"; export RANLIB
; \
5402 WINDRES
="$(WINDRES)"; export WINDRES
; \
5403 OBJCOPY
="$(OBJCOPY)"; export OBJCOPY
; \
5404 OBJDUMP
="$(OBJDUMP)"; export OBJDUMP
; \
5406 echo Configuring in tix
; \
5410 srcdiroption
="--srcdir=."; \
5412 /* |
[A-Za-z
]:[\\/]*) \
5413 srcdiroption
="--srcdir=$(srcdir)/tix"; \
5414 libsrcdir
="$$s/tix";; \
5416 srcdiroption
="--srcdir=../$(srcdir)/tix"; \
5417 libsrcdir
="$$s/tix";; \
5419 $(SHELL
) $${libsrcdir}/configure \
5420 $(HOST_CONFIGARGS
) $${srcdiroption} \
5423 .PHONY
: all-tix maybe-all-tix
5425 all-tix
: configure-tix
5426 @r
=`${PWD}`; export r
; \
5427 s
=`cd $(srcdir); ${PWD}`; export s
; \
5429 (cd tix
&& $(MAKE
) $(FLAGS_TO_PASS
) $(X11_FLAGS_TO_PASS
) all)
5434 @r
=`${PWD}`; export r
; \
5435 s
=`cd $(srcdir); ${PWD}`; export s
; \
5437 (cd tix
&& $(MAKE
) $(FLAGS_TO_PASS
) $(X11_FLAGS_TO_PASS
) check)
5441 .PHONY
: install-tix maybe-install-tix
5443 install-tix
: installdirs
5444 @r
=`${PWD}`; export r
; \
5445 s
=`cd $(srcdir); ${PWD}`; export s
; \
5447 (cd tix
&& $(MAKE
) $(FLAGS_TO_PASS
) $(X11_FLAGS_TO_PASS
) install)
5450 .PHONY
: configure-libtermcap maybe-configure-libtermcap
5451 maybe-configure-libtermcap
:
5452 configure-libtermcap
:
5453 @
test ! -f libtermcap
/Makefile || exit
0; \
5454 [ -d libtermcap
] || mkdir libtermcap
; \
5455 r
=`${PWD}`; export r
; \
5456 s
=`cd $(srcdir); ${PWD}`; export s
; \
5457 CC
="$(CC)"; export CC
; \
5458 CFLAGS
="$(CFLAGS)"; export CFLAGS
; \
5459 CXX
="$(CXX)"; export CXX
; \
5460 CXXFLAGS
="$(CXXFLAGS)"; export CXXFLAGS
; \
5461 if
[ z
$(build_canonical
) != z
$(host_canoncial
) ] ; then \
5462 AR
="$(AR)"; export AR
; \
5463 AS
="$(AS)"; export AS
; \
5464 CC_FOR_BUILD
="$(CC_FOR_BUILD)"; export CC_FOR_BUILD
; \
5465 DLLTOOL
="$(DLLTOOL)"; export DLLTOOL
; \
5466 LD
="$(LD)"; export LD
; \
5467 NM
="$(NM)"; export NM
; \
5468 RANLIB
="$(RANLIB)"; export RANLIB
; \
5469 WINDRES
="$(WINDRES)"; export WINDRES
; \
5470 OBJCOPY
="$(OBJCOPY)"; export OBJCOPY
; \
5471 OBJDUMP
="$(OBJDUMP)"; export OBJDUMP
; \
5473 echo Configuring in libtermcap
; \
5474 cd libtermcap || exit
1; \
5477 srcdiroption
="--srcdir=."; \
5479 /* |
[A-Za-z
]:[\\/]*) \
5480 srcdiroption
="--srcdir=$(srcdir)/libtermcap"; \
5481 libsrcdir
="$$s/libtermcap";; \
5483 srcdiroption
="--srcdir=../$(srcdir)/libtermcap"; \
5484 libsrcdir
="$$s/libtermcap";; \
5486 $(SHELL
) $${libsrcdir}/configure \
5487 $(HOST_CONFIGARGS
) $${srcdiroption} \
5490 .PHONY
: all-libtermcap maybe-all-libtermcap
5491 maybe-all-libtermcap
:
5492 all-libtermcap
: configure-libtermcap
5493 @r
=`${PWD}`; export r
; \
5494 s
=`cd $(srcdir); ${PWD}`; export s
; \
5496 (cd libtermcap
&& $(MAKE
) $(FLAGS_TO_PASS
) all)
5499 .PHONY
: check-libtermcap
5504 .PHONY
: install-libtermcap maybe-install-libtermcap
5505 maybe-install-libtermcap
:
5506 install-libtermcap
: installdirs
5507 @r
=`${PWD}`; export r
; \
5508 s
=`cd $(srcdir); ${PWD}`; export s
; \
5510 (cd libtermcap
&& $(MAKE
) $(FLAGS_TO_PASS
) install)
5513 .PHONY
: configure-utils maybe-configure-utils
5514 maybe-configure-utils
:
5516 @
test ! -f utils
/Makefile || exit
0; \
5517 [ -d utils
] || mkdir utils
; \
5518 r
=`${PWD}`; export r
; \
5519 s
=`cd $(srcdir); ${PWD}`; export s
; \
5520 CC
="$(CC)"; export CC
; \
5521 CFLAGS
="$(CFLAGS)"; export CFLAGS
; \
5522 CXX
="$(CXX)"; export CXX
; \
5523 CXXFLAGS
="$(CXXFLAGS)"; export CXXFLAGS
; \
5524 if
[ z
$(build_canonical
) != z
$(host_canoncial
) ] ; then \
5525 AR
="$(AR)"; export AR
; \
5526 AS
="$(AS)"; export AS
; \
5527 CC_FOR_BUILD
="$(CC_FOR_BUILD)"; export CC_FOR_BUILD
; \
5528 DLLTOOL
="$(DLLTOOL)"; export DLLTOOL
; \
5529 LD
="$(LD)"; export LD
; \
5530 NM
="$(NM)"; export NM
; \
5531 RANLIB
="$(RANLIB)"; export RANLIB
; \
5532 WINDRES
="$(WINDRES)"; export WINDRES
; \
5533 OBJCOPY
="$(OBJCOPY)"; export OBJCOPY
; \
5534 OBJDUMP
="$(OBJDUMP)"; export OBJDUMP
; \
5536 echo Configuring in utils
; \
5537 cd utils || exit
1; \
5540 srcdiroption
="--srcdir=."; \
5542 /* |
[A-Za-z
]:[\\/]*) \
5543 srcdiroption
="--srcdir=$(srcdir)/utils"; \
5544 libsrcdir
="$$s/utils";; \
5546 srcdiroption
="--srcdir=../$(srcdir)/utils"; \
5547 libsrcdir
="$$s/utils";; \
5549 $(SHELL
) $${libsrcdir}/configure \
5550 $(HOST_CONFIGARGS
) $${srcdiroption} \
5553 .PHONY
: all-utils maybe-all-utils
5555 all-utils
: configure-utils
5556 @r
=`${PWD}`; export r
; \
5557 s
=`cd $(srcdir); ${PWD}`; export s
; \
5559 (cd utils
&& $(MAKE
) $(FLAGS_TO_PASS
) all)
5567 .PHONY
: install-utils maybe-install-utils
5568 maybe-install-utils
:
5569 install-utils
: installdirs
5570 @r
=`${PWD}`; export r
; \
5571 s
=`cd $(srcdir); ${PWD}`; export s
; \
5573 (cd utils
&& $(MAKE
) $(FLAGS_TO_PASS
) install)
5577 # ---------------------------------------
5578 # Modules which run on the target machine
5579 # ---------------------------------------
5581 .PHONY
: configure-target-libstdc
++-v3 maybe-configure-target-libstdc
++-v3
5582 maybe-configure-target-libstdc
++-v3
:
5584 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
5585 $(TARGET_SUBDIR
)/libstdc
++-v3
/multilib.out
: multilib.out
5586 @
[ -d
$(TARGET_SUBDIR
)/libstdc
++-v3
] || \
5587 mkdir
$(TARGET_SUBDIR
)/libstdc
++-v3
; \
5588 rm -f
$(TARGET_SUBDIR
)/libstdc
++-v3
/Makefile ||
: ; \
5589 cp multilib.out
$(TARGET_SUBDIR
)/libstdc
++-v3
/multilib.out
5591 configure-target-libstdc
++-v3
: $(TARGET_SUBDIR
)/libstdc
++-v3
/multilib.out
5592 @
test ! -f
$(TARGET_SUBDIR
)/libstdc
++-v3
/Makefile || exit
0; \
5593 [ -d
$(TARGET_SUBDIR
)/libstdc
++-v3
] || \
5594 mkdir
$(TARGET_SUBDIR
)/libstdc
++-v3
;\
5595 r
=`${PWD}`; export r
; \
5596 s
=`cd $(srcdir); ${PWD}`; export s
; \
5598 AR
="$(AR_FOR_TARGET)"; export AR
; \
5599 AS
="$(AS_FOR_TARGET)"; export AS
; \
5600 CC
="$(CC_FOR_TARGET)"; export CC
; \
5601 CFLAGS
="$(CFLAGS_FOR_TARGET)"; export CFLAGS
; \
5602 CXX_FOR_TARGET
="$(RAW_CXX_FOR_TARGET)"; export CXX_FOR_TARGET
; \
5603 CXX
="$(RAW_CXX_FOR_TARGET)"; export CXX
; \
5604 CXXFLAGS
="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS
; \
5605 GCJ
="$(GCJ_FOR_TARGET)"; export GCJ
; \
5606 DLLTOOL
="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL
; \
5607 LD
="$(LD_FOR_TARGET)"; export LD
; \
5608 LDFLAGS
="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS
; \
5609 NM
="$(NM_FOR_TARGET)"; export NM
; \
5610 RANLIB
="$(RANLIB_FOR_TARGET)"; export RANLIB
; \
5611 WINDRES
="$(WINDRES_FOR_TARGET)"; export WINDRES
; \
5612 echo Configuring in
$(TARGET_SUBDIR
)/libstdc
++-v3
; \
5613 cd
"$(TARGET_SUBDIR)/libstdc++-v3" || exit
1; \
5615 /* |
[A-Za-z
]:[\\/]*) \
5616 topdir
=$(srcdir) ;; \
5618 case
"$(TARGET_SUBDIR)" in \
5619 .
) topdir
="../$(srcdir)" ;; \
5620 *) topdir
="../../$(srcdir)" ;; \
5623 if
[ "$(srcdir)" = "." ] ; then \
5624 if
[ "$(TARGET_SUBDIR)" != "." ] ; then \
5625 if
$(SHELL
) $$s/symlink-tree
$${topdir}/libstdc
++-v3
"no-such-file" ; then \
5626 if
[ -f Makefile
]; then \
5627 if
$(MAKE
) distclean; then \
5641 srcdiroption
="--srcdir=."; \
5644 srcdiroption
="--srcdir=$${topdir}/libstdc++-v3"; \
5645 libsrcdir
="$$s/libstdc++-v3"; \
5647 rm -f no-such-file ||
: ; \
5648 CONFIG_SITE
=no-such-file
$(SHELL
) $${libsrcdir}/configure \
5649 $(TARGET_CONFIGARGS
) $${srcdiroption} \
5650 --with-target-subdir
="$(TARGET_SUBDIR)" \
5653 .PHONY
: all-target-libstdc
++-v3 maybe-all-target-libstdc
++-v3
5654 maybe-all-target-libstdc
++-v3
:
5655 all-target-libstdc
++-v3
: configure-target-libstdc
++-v3
5656 @r
=`${PWD}`; export r
; \
5657 s
=`cd $(srcdir); ${PWD}`; export s
; \
5659 (cd
$(TARGET_SUBDIR
)/libstdc
++-v3
&& \
5660 $(MAKE
) $(TARGET_FLAGS_TO_PASS
) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' all)
5662 .PHONY
: check-target-libstdc
++-v3
5663 check-target-libstdc
++-v3
:
5664 @r
=`${PWD}`; export r
; \
5665 s
=`cd $(srcdir); ${PWD}`; export s
; \
5667 (cd
$(TARGET_SUBDIR
)/libstdc
++-v3
&& \
5668 $(MAKE
) $(TARGET_FLAGS_TO_PASS
) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' check)
5671 .PHONY
: install-target-libstdc
++-v3 maybe-install-target-libstdc
++-v3
5672 maybe-install-target-libstdc
++-v3
:
5673 install-target-libstdc
++-v3
: installdirs
5674 @r
=`${PWD}`; export r
; \
5675 s
=`cd $(srcdir); ${PWD}`; export s
; \
5677 (cd
$(TARGET_SUBDIR
)/libstdc
++-v3
&& \
5678 $(MAKE
) $(TARGET_FLAGS_TO_PASS
) install)
5681 .PHONY
: configure-target-newlib maybe-configure-target-newlib
5682 maybe-configure-target-newlib
:
5684 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
5685 $(TARGET_SUBDIR
)/newlib
/multilib.out
: multilib.out
5686 @
[ -d
$(TARGET_SUBDIR
)/newlib
] || \
5687 mkdir
$(TARGET_SUBDIR
)/newlib
; \
5688 rm -f
$(TARGET_SUBDIR
)/newlib
/Makefile ||
: ; \
5689 cp multilib.out
$(TARGET_SUBDIR
)/newlib
/multilib.out
5691 configure-target-newlib
: $(TARGET_SUBDIR
)/newlib
/multilib.out
5692 @
test ! -f
$(TARGET_SUBDIR
)/newlib
/Makefile || exit
0; \
5693 [ -d
$(TARGET_SUBDIR
)/newlib
] || \
5694 mkdir
$(TARGET_SUBDIR
)/newlib
;\
5695 r
=`${PWD}`; export r
; \
5696 s
=`cd $(srcdir); ${PWD}`; export s
; \
5698 AR
="$(AR_FOR_TARGET)"; export AR
; \
5699 AS
="$(AS_FOR_TARGET)"; export AS
; \
5700 CC
="$(CC_FOR_TARGET)"; export CC
; \
5701 CFLAGS
="$(CFLAGS_FOR_TARGET)"; export CFLAGS
; \
5702 CXX
="$(CXX_FOR_TARGET)"; export CXX
; \
5703 CXXFLAGS
="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS
; \
5704 GCJ
="$(GCJ_FOR_TARGET)"; export GCJ
; \
5705 DLLTOOL
="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL
; \
5706 LD
="$(LD_FOR_TARGET)"; export LD
; \
5707 LDFLAGS
="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS
; \
5708 NM
="$(NM_FOR_TARGET)"; export NM
; \
5709 RANLIB
="$(RANLIB_FOR_TARGET)"; export RANLIB
; \
5710 WINDRES
="$(WINDRES_FOR_TARGET)"; export WINDRES
; \
5711 echo Configuring in
$(TARGET_SUBDIR
)/newlib
; \
5712 cd
"$(TARGET_SUBDIR)/newlib" || exit
1; \
5714 /* |
[A-Za-z
]:[\\/]*) \
5715 topdir
=$(srcdir) ;; \
5717 case
"$(TARGET_SUBDIR)" in \
5718 .
) topdir
="../$(srcdir)" ;; \
5719 *) topdir
="../../$(srcdir)" ;; \
5722 if
[ "$(srcdir)" = "." ] ; then \
5723 if
[ "$(TARGET_SUBDIR)" != "." ] ; then \
5724 if
$(SHELL
) $$s/symlink-tree
$${topdir}/newlib
"no-such-file" ; then \
5725 if
[ -f Makefile
]; then \
5726 if
$(MAKE
) distclean; then \
5740 srcdiroption
="--srcdir=."; \
5743 srcdiroption
="--srcdir=$${topdir}/newlib"; \
5744 libsrcdir
="$$s/newlib"; \
5746 rm -f no-such-file ||
: ; \
5747 CONFIG_SITE
=no-such-file
$(SHELL
) $${libsrcdir}/configure \
5748 $(TARGET_CONFIGARGS
) $${srcdiroption} \
5749 --with-target-subdir
="$(TARGET_SUBDIR)" \
5752 .PHONY
: all-target-newlib maybe-all-target-newlib
5753 maybe-all-target-newlib
:
5754 all-target-newlib
: configure-target-newlib
5755 @r
=`${PWD}`; export r
; \
5756 s
=`cd $(srcdir); ${PWD}`; export s
; \
5758 (cd
$(TARGET_SUBDIR
)/newlib
&& \
5759 $(MAKE
) $(TARGET_FLAGS_TO_PASS
) all)
5761 .PHONY
: check-target-newlib
5762 check-target-newlib
:
5763 @r
=`${PWD}`; export r
; \
5764 s
=`cd $(srcdir); ${PWD}`; export s
; \
5766 (cd
$(TARGET_SUBDIR
)/newlib
&& \
5767 $(MAKE
) $(TARGET_FLAGS_TO_PASS
) check)
5770 .PHONY
: install-target-newlib maybe-install-target-newlib
5771 maybe-install-target-newlib
:
5772 install-target-newlib
: installdirs
5773 @r
=`${PWD}`; export r
; \
5774 s
=`cd $(srcdir); ${PWD}`; export s
; \
5776 (cd
$(TARGET_SUBDIR
)/newlib
&& \
5777 $(MAKE
) $(TARGET_FLAGS_TO_PASS
) install)
5780 .PHONY
: configure-target-libf2c maybe-configure-target-libf2c
5781 maybe-configure-target-libf2c
:
5783 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
5784 $(TARGET_SUBDIR
)/libf2c
/multilib.out
: multilib.out
5785 @
[ -d
$(TARGET_SUBDIR
)/libf2c
] || \
5786 mkdir
$(TARGET_SUBDIR
)/libf2c
; \
5787 rm -f
$(TARGET_SUBDIR
)/libf2c
/Makefile ||
: ; \
5788 cp multilib.out
$(TARGET_SUBDIR
)/libf2c
/multilib.out
5790 configure-target-libf2c
: $(TARGET_SUBDIR
)/libf2c
/multilib.out
5791 @
test ! -f
$(TARGET_SUBDIR
)/libf2c
/Makefile || exit
0; \
5792 [ -d
$(TARGET_SUBDIR
)/libf2c
] || \
5793 mkdir
$(TARGET_SUBDIR
)/libf2c
;\
5794 r
=`${PWD}`; export r
; \
5795 s
=`cd $(srcdir); ${PWD}`; export s
; \
5797 AR
="$(AR_FOR_TARGET)"; export AR
; \
5798 AS
="$(AS_FOR_TARGET)"; export AS
; \
5799 CC
="$(CC_FOR_TARGET)"; export CC
; \
5800 CFLAGS
="$(CFLAGS_FOR_TARGET)"; export CFLAGS
; \
5801 CXX
="$(CXX_FOR_TARGET)"; export CXX
; \
5802 CXXFLAGS
="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS
; \
5803 GCJ
="$(GCJ_FOR_TARGET)"; export GCJ
; \
5804 DLLTOOL
="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL
; \
5805 LD
="$(LD_FOR_TARGET)"; export LD
; \
5806 LDFLAGS
="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS
; \
5807 NM
="$(NM_FOR_TARGET)"; export NM
; \
5808 RANLIB
="$(RANLIB_FOR_TARGET)"; export RANLIB
; \
5809 WINDRES
="$(WINDRES_FOR_TARGET)"; export WINDRES
; \
5810 echo Configuring in
$(TARGET_SUBDIR
)/libf2c
; \
5811 cd
"$(TARGET_SUBDIR)/libf2c" || exit
1; \
5813 /* |
[A-Za-z
]:[\\/]*) \
5814 topdir
=$(srcdir) ;; \
5816 case
"$(TARGET_SUBDIR)" in \
5817 .
) topdir
="../$(srcdir)" ;; \
5818 *) topdir
="../../$(srcdir)" ;; \
5821 if
[ "$(srcdir)" = "." ] ; then \
5822 if
[ "$(TARGET_SUBDIR)" != "." ] ; then \
5823 if
$(SHELL
) $$s/symlink-tree
$${topdir}/libf2c
"no-such-file" ; then \
5824 if
[ -f Makefile
]; then \
5825 if
$(MAKE
) distclean; then \
5839 srcdiroption
="--srcdir=."; \
5842 srcdiroption
="--srcdir=$${topdir}/libf2c"; \
5843 libsrcdir
="$$s/libf2c"; \
5845 rm -f no-such-file ||
: ; \
5846 CONFIG_SITE
=no-such-file
$(SHELL
) $${libsrcdir}/configure \
5847 $(TARGET_CONFIGARGS
) $${srcdiroption} \
5848 --with-target-subdir
="$(TARGET_SUBDIR)" \
5851 .PHONY
: all-target-libf2c maybe-all-target-libf2c
5852 maybe-all-target-libf2c
:
5853 all-target-libf2c
: configure-target-libf2c
5854 @r
=`${PWD}`; export r
; \
5855 s
=`cd $(srcdir); ${PWD}`; export s
; \
5857 (cd
$(TARGET_SUBDIR
)/libf2c
&& \
5858 $(MAKE
) $(TARGET_FLAGS_TO_PASS
) all)
5860 .PHONY
: check-target-libf2c
5861 check-target-libf2c
:
5862 @r
=`${PWD}`; export r
; \
5863 s
=`cd $(srcdir); ${PWD}`; export s
; \
5865 (cd
$(TARGET_SUBDIR
)/libf2c
&& \
5866 $(MAKE
) $(TARGET_FLAGS_TO_PASS
) check)
5869 .PHONY
: install-target-libf2c maybe-install-target-libf2c
5870 maybe-install-target-libf2c
:
5871 install-target-libf2c
: installdirs
5872 @r
=`${PWD}`; export r
; \
5873 s
=`cd $(srcdir); ${PWD}`; export s
; \
5875 (cd
$(TARGET_SUBDIR
)/libf2c
&& \
5876 $(MAKE
) $(TARGET_FLAGS_TO_PASS
) install)
5879 .PHONY
: configure-target-libobjc maybe-configure-target-libobjc
5880 maybe-configure-target-libobjc
:
5882 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
5883 $(TARGET_SUBDIR
)/libobjc
/multilib.out
: multilib.out
5884 @
[ -d
$(TARGET_SUBDIR
)/libobjc
] || \
5885 mkdir
$(TARGET_SUBDIR
)/libobjc
; \
5886 rm -f
$(TARGET_SUBDIR
)/libobjc
/Makefile ||
: ; \
5887 cp multilib.out
$(TARGET_SUBDIR
)/libobjc
/multilib.out
5889 configure-target-libobjc
: $(TARGET_SUBDIR
)/libobjc
/multilib.out
5890 @
test ! -f
$(TARGET_SUBDIR
)/libobjc
/Makefile || exit
0; \
5891 [ -d
$(TARGET_SUBDIR
)/libobjc
] || \
5892 mkdir
$(TARGET_SUBDIR
)/libobjc
;\
5893 r
=`${PWD}`; export r
; \
5894 s
=`cd $(srcdir); ${PWD}`; export s
; \
5896 AR
="$(AR_FOR_TARGET)"; export AR
; \
5897 AS
="$(AS_FOR_TARGET)"; export AS
; \
5898 CC
="$(CC_FOR_TARGET)"; export CC
; \
5899 CFLAGS
="$(CFLAGS_FOR_TARGET)"; export CFLAGS
; \
5900 CXX
="$(CXX_FOR_TARGET)"; export CXX
; \
5901 CXXFLAGS
="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS
; \
5902 GCJ
="$(GCJ_FOR_TARGET)"; export GCJ
; \
5903 DLLTOOL
="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL
; \
5904 LD
="$(LD_FOR_TARGET)"; export LD
; \
5905 LDFLAGS
="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS
; \
5906 NM
="$(NM_FOR_TARGET)"; export NM
; \
5907 RANLIB
="$(RANLIB_FOR_TARGET)"; export RANLIB
; \
5908 WINDRES
="$(WINDRES_FOR_TARGET)"; export WINDRES
; \
5909 echo Configuring in
$(TARGET_SUBDIR
)/libobjc
; \
5910 cd
"$(TARGET_SUBDIR)/libobjc" || exit
1; \
5912 /* |
[A-Za-z
]:[\\/]*) \
5913 topdir
=$(srcdir) ;; \
5915 case
"$(TARGET_SUBDIR)" in \
5916 .
) topdir
="../$(srcdir)" ;; \
5917 *) topdir
="../../$(srcdir)" ;; \
5920 if
[ "$(srcdir)" = "." ] ; then \
5921 if
[ "$(TARGET_SUBDIR)" != "." ] ; then \
5922 if
$(SHELL
) $$s/symlink-tree
$${topdir}/libobjc
"no-such-file" ; then \
5923 if
[ -f Makefile
]; then \
5924 if
$(MAKE
) distclean; then \
5938 srcdiroption
="--srcdir=."; \
5941 srcdiroption
="--srcdir=$${topdir}/libobjc"; \
5942 libsrcdir
="$$s/libobjc"; \
5944 rm -f no-such-file ||
: ; \
5945 CONFIG_SITE
=no-such-file
$(SHELL
) $${libsrcdir}/configure \
5946 $(TARGET_CONFIGARGS
) $${srcdiroption} \
5947 --with-target-subdir
="$(TARGET_SUBDIR)" \
5950 .PHONY
: all-target-libobjc maybe-all-target-libobjc
5951 maybe-all-target-libobjc
:
5952 all-target-libobjc
: configure-target-libobjc
5953 @r
=`${PWD}`; export r
; \
5954 s
=`cd $(srcdir); ${PWD}`; export s
; \
5956 (cd
$(TARGET_SUBDIR
)/libobjc
&& \
5957 $(MAKE
) $(TARGET_FLAGS_TO_PASS
) all)
5959 .PHONY
: check-target-libobjc
5960 check-target-libobjc
:
5961 @r
=`${PWD}`; export r
; \
5962 s
=`cd $(srcdir); ${PWD}`; export s
; \
5964 (cd
$(TARGET_SUBDIR
)/libobjc
&& \
5965 $(MAKE
) $(TARGET_FLAGS_TO_PASS
) check)
5968 .PHONY
: install-target-libobjc maybe-install-target-libobjc
5969 maybe-install-target-libobjc
:
5970 install-target-libobjc
: installdirs
5971 @r
=`${PWD}`; export r
; \
5972 s
=`cd $(srcdir); ${PWD}`; export s
; \
5974 (cd
$(TARGET_SUBDIR
)/libobjc
&& \
5975 $(MAKE
) $(TARGET_FLAGS_TO_PASS
) install)
5978 .PHONY
: configure-target-libtermcap maybe-configure-target-libtermcap
5979 maybe-configure-target-libtermcap
:
5981 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
5982 $(TARGET_SUBDIR
)/libtermcap
/multilib.out
: multilib.out
5983 @
[ -d
$(TARGET_SUBDIR
)/libtermcap
] || \
5984 mkdir
$(TARGET_SUBDIR
)/libtermcap
; \
5985 rm -f
$(TARGET_SUBDIR
)/libtermcap
/Makefile ||
: ; \
5986 cp multilib.out
$(TARGET_SUBDIR
)/libtermcap
/multilib.out
5988 configure-target-libtermcap
: $(TARGET_SUBDIR
)/libtermcap
/multilib.out
5989 @
test ! -f
$(TARGET_SUBDIR
)/libtermcap
/Makefile || exit
0; \
5990 [ -d
$(TARGET_SUBDIR
)/libtermcap
] || \
5991 mkdir
$(TARGET_SUBDIR
)/libtermcap
;\
5992 r
=`${PWD}`; export r
; \
5993 s
=`cd $(srcdir); ${PWD}`; export s
; \
5995 AR
="$(AR_FOR_TARGET)"; export AR
; \
5996 AS
="$(AS_FOR_TARGET)"; export AS
; \
5997 CC
="$(CC_FOR_TARGET)"; export CC
; \
5998 CFLAGS
="$(CFLAGS_FOR_TARGET)"; export CFLAGS
; \
5999 CXX
="$(CXX_FOR_TARGET)"; export CXX
; \
6000 CXXFLAGS
="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS
; \
6001 GCJ
="$(GCJ_FOR_TARGET)"; export GCJ
; \
6002 DLLTOOL
="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL
; \
6003 LD
="$(LD_FOR_TARGET)"; export LD
; \
6004 LDFLAGS
="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS
; \
6005 NM
="$(NM_FOR_TARGET)"; export NM
; \
6006 RANLIB
="$(RANLIB_FOR_TARGET)"; export RANLIB
; \
6007 WINDRES
="$(WINDRES_FOR_TARGET)"; export WINDRES
; \
6008 echo Configuring in
$(TARGET_SUBDIR
)/libtermcap
; \
6009 cd
"$(TARGET_SUBDIR)/libtermcap" || exit
1; \
6011 /* |
[A-Za-z
]:[\\/]*) \
6012 topdir
=$(srcdir) ;; \
6014 case
"$(TARGET_SUBDIR)" in \
6015 .
) topdir
="../$(srcdir)" ;; \
6016 *) topdir
="../../$(srcdir)" ;; \
6019 if
[ "$(srcdir)" = "." ] ; then \
6020 if
[ "$(TARGET_SUBDIR)" != "." ] ; then \
6021 if
$(SHELL
) $$s/symlink-tree
$${topdir}/libtermcap
"no-such-file" ; then \
6022 if
[ -f Makefile
]; then \
6023 if
$(MAKE
) distclean; then \
6037 srcdiroption
="--srcdir=."; \
6040 srcdiroption
="--srcdir=$${topdir}/libtermcap"; \
6041 libsrcdir
="$$s/libtermcap"; \
6043 rm -f no-such-file ||
: ; \
6044 CONFIG_SITE
=no-such-file
$(SHELL
) $${libsrcdir}/configure \
6045 $(TARGET_CONFIGARGS
) $${srcdiroption} \
6046 --with-target-subdir
="$(TARGET_SUBDIR)" \
6049 .PHONY
: all-target-libtermcap maybe-all-target-libtermcap
6050 maybe-all-target-libtermcap
:
6051 all-target-libtermcap
: configure-target-libtermcap
6052 @r
=`${PWD}`; export r
; \
6053 s
=`cd $(srcdir); ${PWD}`; export s
; \
6055 (cd
$(TARGET_SUBDIR
)/libtermcap
&& \
6056 $(MAKE
) $(TARGET_FLAGS_TO_PASS
) all)
6058 # Dummy target for uncheckable module.
6059 .PHONY
: check-target-libtermcap
6060 check-target-libtermcap
:
6063 .PHONY
: install-target-libtermcap maybe-install-target-libtermcap
6064 maybe-install-target-libtermcap
:
6065 install-target-libtermcap
: installdirs
6066 @r
=`${PWD}`; export r
; \
6067 s
=`cd $(srcdir); ${PWD}`; export s
; \
6069 (cd
$(TARGET_SUBDIR
)/libtermcap
&& \
6070 $(MAKE
) $(TARGET_FLAGS_TO_PASS
) install)
6073 .PHONY
: configure-target-winsup maybe-configure-target-winsup
6074 maybe-configure-target-winsup
:
6076 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
6077 $(TARGET_SUBDIR
)/winsup
/multilib.out
: multilib.out
6078 @
[ -d
$(TARGET_SUBDIR
)/winsup
] || \
6079 mkdir
$(TARGET_SUBDIR
)/winsup
; \
6080 rm -f
$(TARGET_SUBDIR
)/winsup
/Makefile ||
: ; \
6081 cp multilib.out
$(TARGET_SUBDIR
)/winsup
/multilib.out
6083 configure-target-winsup
: $(TARGET_SUBDIR
)/winsup
/multilib.out
6084 @
test ! -f
$(TARGET_SUBDIR
)/winsup
/Makefile || exit
0; \
6085 [ -d
$(TARGET_SUBDIR
)/winsup
] || \
6086 mkdir
$(TARGET_SUBDIR
)/winsup
;\
6087 r
=`${PWD}`; export r
; \
6088 s
=`cd $(srcdir); ${PWD}`; export s
; \
6090 AR
="$(AR_FOR_TARGET)"; export AR
; \
6091 AS
="$(AS_FOR_TARGET)"; export AS
; \
6092 CC
="$(CC_FOR_TARGET)"; export CC
; \
6093 CFLAGS
="$(CFLAGS_FOR_TARGET)"; export CFLAGS
; \
6094 CXX
="$(CXX_FOR_TARGET)"; export CXX
; \
6095 CXXFLAGS
="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS
; \
6096 GCJ
="$(GCJ_FOR_TARGET)"; export GCJ
; \
6097 DLLTOOL
="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL
; \
6098 LD
="$(LD_FOR_TARGET)"; export LD
; \
6099 LDFLAGS
="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS
; \
6100 NM
="$(NM_FOR_TARGET)"; export NM
; \
6101 RANLIB
="$(RANLIB_FOR_TARGET)"; export RANLIB
; \
6102 WINDRES
="$(WINDRES_FOR_TARGET)"; export WINDRES
; \
6103 echo Configuring in
$(TARGET_SUBDIR
)/winsup
; \
6104 cd
"$(TARGET_SUBDIR)/winsup" || exit
1; \
6106 /* |
[A-Za-z
]:[\\/]*) \
6107 topdir
=$(srcdir) ;; \
6109 case
"$(TARGET_SUBDIR)" in \
6110 .
) topdir
="../$(srcdir)" ;; \
6111 *) topdir
="../../$(srcdir)" ;; \
6114 if
[ "$(srcdir)" = "." ] ; then \
6115 if
[ "$(TARGET_SUBDIR)" != "." ] ; then \
6116 if
$(SHELL
) $$s/symlink-tree
$${topdir}/winsup
"no-such-file" ; then \
6117 if
[ -f Makefile
]; then \
6118 if
$(MAKE
) distclean; then \
6132 srcdiroption
="--srcdir=."; \
6135 srcdiroption
="--srcdir=$${topdir}/winsup"; \
6136 libsrcdir
="$$s/winsup"; \
6138 rm -f no-such-file ||
: ; \
6139 CONFIG_SITE
=no-such-file
$(SHELL
) $${libsrcdir}/configure \
6140 $(TARGET_CONFIGARGS
) $${srcdiroption} \
6141 --with-target-subdir
="$(TARGET_SUBDIR)" \
6144 .PHONY
: all-target-winsup maybe-all-target-winsup
6145 maybe-all-target-winsup
:
6146 all-target-winsup
: configure-target-winsup
6147 @r
=`${PWD}`; export r
; \
6148 s
=`cd $(srcdir); ${PWD}`; export s
; \
6150 (cd
$(TARGET_SUBDIR
)/winsup
&& \
6151 $(MAKE
) $(TARGET_FLAGS_TO_PASS
) all)
6153 .PHONY
: check-target-winsup
6154 check-target-winsup
:
6155 @r
=`${PWD}`; export r
; \
6156 s
=`cd $(srcdir); ${PWD}`; export s
; \
6158 (cd
$(TARGET_SUBDIR
)/winsup
&& \
6159 $(MAKE
) $(TARGET_FLAGS_TO_PASS
) check)
6162 .PHONY
: install-target-winsup maybe-install-target-winsup
6163 maybe-install-target-winsup
:
6164 install-target-winsup
: installdirs
6165 @r
=`${PWD}`; export r
; \
6166 s
=`cd $(srcdir); ${PWD}`; export s
; \
6168 (cd
$(TARGET_SUBDIR
)/winsup
&& \
6169 $(MAKE
) $(TARGET_FLAGS_TO_PASS
) install)
6172 .PHONY
: configure-target-libgloss maybe-configure-target-libgloss
6173 maybe-configure-target-libgloss
:
6175 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
6176 $(TARGET_SUBDIR
)/libgloss
/multilib.out
: multilib.out
6177 @
[ -d
$(TARGET_SUBDIR
)/libgloss
] || \
6178 mkdir
$(TARGET_SUBDIR
)/libgloss
; \
6179 rm -f
$(TARGET_SUBDIR
)/libgloss
/Makefile ||
: ; \
6180 cp multilib.out
$(TARGET_SUBDIR
)/libgloss
/multilib.out
6182 configure-target-libgloss
: $(TARGET_SUBDIR
)/libgloss
/multilib.out
6183 @
test ! -f
$(TARGET_SUBDIR
)/libgloss
/Makefile || exit
0; \
6184 [ -d
$(TARGET_SUBDIR
)/libgloss
] || \
6185 mkdir
$(TARGET_SUBDIR
)/libgloss
;\
6186 r
=`${PWD}`; export r
; \
6187 s
=`cd $(srcdir); ${PWD}`; export s
; \
6189 AR
="$(AR_FOR_TARGET)"; export AR
; \
6190 AS
="$(AS_FOR_TARGET)"; export AS
; \
6191 CC
="$(CC_FOR_TARGET)"; export CC
; \
6192 CFLAGS
="$(CFLAGS_FOR_TARGET)"; export CFLAGS
; \
6193 CXX
="$(CXX_FOR_TARGET)"; export CXX
; \
6194 CXXFLAGS
="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS
; \
6195 GCJ
="$(GCJ_FOR_TARGET)"; export GCJ
; \
6196 DLLTOOL
="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL
; \
6197 LD
="$(LD_FOR_TARGET)"; export LD
; \
6198 LDFLAGS
="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS
; \
6199 NM
="$(NM_FOR_TARGET)"; export NM
; \
6200 RANLIB
="$(RANLIB_FOR_TARGET)"; export RANLIB
; \
6201 WINDRES
="$(WINDRES_FOR_TARGET)"; export WINDRES
; \
6202 echo Configuring in
$(TARGET_SUBDIR
)/libgloss
; \
6203 cd
"$(TARGET_SUBDIR)/libgloss" || exit
1; \
6205 /* |
[A-Za-z
]:[\\/]*) \
6206 topdir
=$(srcdir) ;; \
6208 case
"$(TARGET_SUBDIR)" in \
6209 .
) topdir
="../$(srcdir)" ;; \
6210 *) topdir
="../../$(srcdir)" ;; \
6213 if
[ "$(srcdir)" = "." ] ; then \
6214 if
[ "$(TARGET_SUBDIR)" != "." ] ; then \
6215 if
$(SHELL
) $$s/symlink-tree
$${topdir}/libgloss
"no-such-file" ; then \
6216 if
[ -f Makefile
]; then \
6217 if
$(MAKE
) distclean; then \
6231 srcdiroption
="--srcdir=."; \
6234 srcdiroption
="--srcdir=$${topdir}/libgloss"; \
6235 libsrcdir
="$$s/libgloss"; \
6237 rm -f no-such-file ||
: ; \
6238 CONFIG_SITE
=no-such-file
$(SHELL
) $${libsrcdir}/configure \
6239 $(TARGET_CONFIGARGS
) $${srcdiroption} \
6240 --with-target-subdir
="$(TARGET_SUBDIR)" \
6243 .PHONY
: all-target-libgloss maybe-all-target-libgloss
6244 maybe-all-target-libgloss
:
6245 all-target-libgloss
: configure-target-libgloss
6246 @r
=`${PWD}`; export r
; \
6247 s
=`cd $(srcdir); ${PWD}`; export s
; \
6249 (cd
$(TARGET_SUBDIR
)/libgloss
&& \
6250 $(MAKE
) $(TARGET_FLAGS_TO_PASS
) all)
6252 # Dummy target for uncheckable module.
6253 .PHONY
: check-target-libgloss
6254 check-target-libgloss
:
6257 .PHONY
: install-target-libgloss maybe-install-target-libgloss
6258 maybe-install-target-libgloss
:
6259 install-target-libgloss
: installdirs
6260 @r
=`${PWD}`; export r
; \
6261 s
=`cd $(srcdir); ${PWD}`; export s
; \
6263 (cd
$(TARGET_SUBDIR
)/libgloss
&& \
6264 $(MAKE
) $(TARGET_FLAGS_TO_PASS
) install)
6267 .PHONY
: configure-target-libiberty maybe-configure-target-libiberty
6268 maybe-configure-target-libiberty
:
6270 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
6271 $(TARGET_SUBDIR
)/libiberty
/multilib.out
: multilib.out
6272 @
[ -d
$(TARGET_SUBDIR
)/libiberty
] || \
6273 mkdir
$(TARGET_SUBDIR
)/libiberty
; \
6274 rm -f
$(TARGET_SUBDIR
)/libiberty
/Makefile ||
: ; \
6275 cp multilib.out
$(TARGET_SUBDIR
)/libiberty
/multilib.out
6277 configure-target-libiberty
: $(TARGET_SUBDIR
)/libiberty
/multilib.out
6278 @
test ! -f
$(TARGET_SUBDIR
)/libiberty
/Makefile || exit
0; \
6279 [ -d
$(TARGET_SUBDIR
)/libiberty
] || \
6280 mkdir
$(TARGET_SUBDIR
)/libiberty
;\
6281 r
=`${PWD}`; export r
; \
6282 s
=`cd $(srcdir); ${PWD}`; export s
; \
6284 AR
="$(AR_FOR_TARGET)"; export AR
; \
6285 AS
="$(AS_FOR_TARGET)"; export AS
; \
6286 CC
="$(CC_FOR_TARGET)"; export CC
; \
6287 CFLAGS
="$(CFLAGS_FOR_TARGET)"; export CFLAGS
; \
6288 CXX
="$(CXX_FOR_TARGET)"; export CXX
; \
6289 CXXFLAGS
="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS
; \
6290 GCJ
="$(GCJ_FOR_TARGET)"; export GCJ
; \
6291 DLLTOOL
="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL
; \
6292 LD
="$(LD_FOR_TARGET)"; export LD
; \
6293 LDFLAGS
="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS
; \
6294 NM
="$(NM_FOR_TARGET)"; export NM
; \
6295 RANLIB
="$(RANLIB_FOR_TARGET)"; export RANLIB
; \
6296 WINDRES
="$(WINDRES_FOR_TARGET)"; export WINDRES
; \
6297 echo Configuring in
$(TARGET_SUBDIR
)/libiberty
; \
6298 cd
"$(TARGET_SUBDIR)/libiberty" || exit
1; \
6300 /* |
[A-Za-z
]:[\\/]*) \
6301 topdir
=$(srcdir) ;; \
6303 case
"$(TARGET_SUBDIR)" in \
6304 .
) topdir
="../$(srcdir)" ;; \
6305 *) topdir
="../../$(srcdir)" ;; \
6308 if
[ "$(srcdir)" = "." ] ; then \
6309 if
[ "$(TARGET_SUBDIR)" != "." ] ; then \
6310 if
$(SHELL
) $$s/symlink-tree
$${topdir}/libiberty
"no-such-file" ; then \
6311 if
[ -f Makefile
]; then \
6312 if
$(MAKE
) distclean; then \
6326 srcdiroption
="--srcdir=."; \
6329 srcdiroption
="--srcdir=$${topdir}/libiberty"; \
6330 libsrcdir
="$$s/libiberty"; \
6332 rm -f no-such-file ||
: ; \
6333 CONFIG_SITE
=no-such-file
$(SHELL
) $${libsrcdir}/configure \
6334 $(TARGET_CONFIGARGS
) $${srcdiroption} \
6335 --with-target-subdir
="$(TARGET_SUBDIR)" \
6338 .PHONY
: all-target-libiberty maybe-all-target-libiberty
6339 maybe-all-target-libiberty
:
6340 all-target-libiberty
: configure-target-libiberty
6341 @r
=`${PWD}`; export r
; \
6342 s
=`cd $(srcdir); ${PWD}`; export s
; \
6344 (cd
$(TARGET_SUBDIR
)/libiberty
&& \
6345 $(MAKE
) $(TARGET_FLAGS_TO_PASS
) all)
6347 .PHONY
: check-target-libiberty
6348 check-target-libiberty
:
6349 @r
=`${PWD}`; export r
; \
6350 s
=`cd $(srcdir); ${PWD}`; export s
; \
6352 (cd
$(TARGET_SUBDIR
)/libiberty
&& \
6353 $(MAKE
) $(TARGET_FLAGS_TO_PASS
) check)
6356 .PHONY
: install-target-libiberty maybe-install-target-libiberty
6357 maybe-install-target-libiberty
:
6358 install-target-libiberty
: installdirs
6359 @r
=`${PWD}`; export r
; \
6360 s
=`cd $(srcdir); ${PWD}`; export s
; \
6362 (cd
$(TARGET_SUBDIR
)/libiberty
&& \
6363 $(MAKE
) $(TARGET_FLAGS_TO_PASS
) install)
6366 .PHONY
: configure-target-gperf maybe-configure-target-gperf
6367 maybe-configure-target-gperf
:
6369 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
6370 $(TARGET_SUBDIR
)/gperf
/multilib.out
: multilib.out
6371 @
[ -d
$(TARGET_SUBDIR
)/gperf
] || \
6372 mkdir
$(TARGET_SUBDIR
)/gperf
; \
6373 rm -f
$(TARGET_SUBDIR
)/gperf
/Makefile ||
: ; \
6374 cp multilib.out
$(TARGET_SUBDIR
)/gperf
/multilib.out
6376 configure-target-gperf
: $(TARGET_SUBDIR
)/gperf
/multilib.out
6377 @
test ! -f
$(TARGET_SUBDIR
)/gperf
/Makefile || exit
0; \
6378 [ -d
$(TARGET_SUBDIR
)/gperf
] || \
6379 mkdir
$(TARGET_SUBDIR
)/gperf
;\
6380 r
=`${PWD}`; export r
; \
6381 s
=`cd $(srcdir); ${PWD}`; export s
; \
6383 AR
="$(AR_FOR_TARGET)"; export AR
; \
6384 AS
="$(AS_FOR_TARGET)"; export AS
; \
6385 CC
="$(CC_FOR_TARGET)"; export CC
; \
6386 CFLAGS
="$(CFLAGS_FOR_TARGET)"; export CFLAGS
; \
6387 CXX
="$(CXX_FOR_TARGET)"; export CXX
; \
6388 CXXFLAGS
="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS
; \
6389 GCJ
="$(GCJ_FOR_TARGET)"; export GCJ
; \
6390 DLLTOOL
="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL
; \
6391 LD
="$(LD_FOR_TARGET)"; export LD
; \
6392 LDFLAGS
="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS
; \
6393 NM
="$(NM_FOR_TARGET)"; export NM
; \
6394 RANLIB
="$(RANLIB_FOR_TARGET)"; export RANLIB
; \
6395 WINDRES
="$(WINDRES_FOR_TARGET)"; export WINDRES
; \
6396 echo Configuring in
$(TARGET_SUBDIR
)/gperf
; \
6397 cd
"$(TARGET_SUBDIR)/gperf" || exit
1; \
6399 /* |
[A-Za-z
]:[\\/]*) \
6400 topdir
=$(srcdir) ;; \
6402 case
"$(TARGET_SUBDIR)" in \
6403 .
) topdir
="../$(srcdir)" ;; \
6404 *) topdir
="../../$(srcdir)" ;; \
6407 if
[ "$(srcdir)" = "." ] ; then \
6408 if
[ "$(TARGET_SUBDIR)" != "." ] ; then \
6409 if
$(SHELL
) $$s/symlink-tree
$${topdir}/gperf
"no-such-file" ; then \
6410 if
[ -f Makefile
]; then \
6411 if
$(MAKE
) distclean; then \
6425 srcdiroption
="--srcdir=."; \
6428 srcdiroption
="--srcdir=$${topdir}/gperf"; \
6429 libsrcdir
="$$s/gperf"; \
6431 rm -f no-such-file ||
: ; \
6432 CONFIG_SITE
=no-such-file
$(SHELL
) $${libsrcdir}/configure \
6433 $(TARGET_CONFIGARGS
) $${srcdiroption} \
6434 --with-target-subdir
="$(TARGET_SUBDIR)" \
6437 .PHONY
: all-target-gperf maybe-all-target-gperf
6438 maybe-all-target-gperf
:
6439 all-target-gperf
: configure-target-gperf
6440 @r
=`${PWD}`; export r
; \
6441 s
=`cd $(srcdir); ${PWD}`; export s
; \
6443 (cd
$(TARGET_SUBDIR
)/gperf
&& \
6444 $(MAKE
) $(TARGET_FLAGS_TO_PASS
) all)
6446 .PHONY
: check-target-gperf
6448 @r
=`${PWD}`; export r
; \
6449 s
=`cd $(srcdir); ${PWD}`; export s
; \
6451 (cd
$(TARGET_SUBDIR
)/gperf
&& \
6452 $(MAKE
) $(TARGET_FLAGS_TO_PASS
) check)
6455 .PHONY
: install-target-gperf maybe-install-target-gperf
6456 maybe-install-target-gperf
:
6457 install-target-gperf
: installdirs
6458 @r
=`${PWD}`; export r
; \
6459 s
=`cd $(srcdir); ${PWD}`; export s
; \
6461 (cd
$(TARGET_SUBDIR
)/gperf
&& \
6462 $(MAKE
) $(TARGET_FLAGS_TO_PASS
) install)
6465 .PHONY
: configure-target-examples maybe-configure-target-examples
6466 maybe-configure-target-examples
:
6468 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
6469 $(TARGET_SUBDIR
)/examples
/multilib.out
: multilib.out
6470 @
[ -d
$(TARGET_SUBDIR
)/examples
] || \
6471 mkdir
$(TARGET_SUBDIR
)/examples
; \
6472 rm -f
$(TARGET_SUBDIR
)/examples
/Makefile ||
: ; \
6473 cp multilib.out
$(TARGET_SUBDIR
)/examples
/multilib.out
6475 configure-target-examples
: $(TARGET_SUBDIR
)/examples
/multilib.out
6476 @
test ! -f
$(TARGET_SUBDIR
)/examples
/Makefile || exit
0; \
6477 [ -d
$(TARGET_SUBDIR
)/examples
] || \
6478 mkdir
$(TARGET_SUBDIR
)/examples
;\
6479 r
=`${PWD}`; export r
; \
6480 s
=`cd $(srcdir); ${PWD}`; export s
; \
6482 AR
="$(AR_FOR_TARGET)"; export AR
; \
6483 AS
="$(AS_FOR_TARGET)"; export AS
; \
6484 CC
="$(CC_FOR_TARGET)"; export CC
; \
6485 CFLAGS
="$(CFLAGS_FOR_TARGET)"; export CFLAGS
; \
6486 CXX
="$(CXX_FOR_TARGET)"; export CXX
; \
6487 CXXFLAGS
="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS
; \
6488 GCJ
="$(GCJ_FOR_TARGET)"; export GCJ
; \
6489 DLLTOOL
="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL
; \
6490 LD
="$(LD_FOR_TARGET)"; export LD
; \
6491 LDFLAGS
="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS
; \
6492 NM
="$(NM_FOR_TARGET)"; export NM
; \
6493 RANLIB
="$(RANLIB_FOR_TARGET)"; export RANLIB
; \
6494 WINDRES
="$(WINDRES_FOR_TARGET)"; export WINDRES
; \
6495 echo Configuring in
$(TARGET_SUBDIR
)/examples
; \
6496 cd
"$(TARGET_SUBDIR)/examples" || exit
1; \
6498 /* |
[A-Za-z
]:[\\/]*) \
6499 topdir
=$(srcdir) ;; \
6501 case
"$(TARGET_SUBDIR)" in \
6502 .
) topdir
="../$(srcdir)" ;; \
6503 *) topdir
="../../$(srcdir)" ;; \
6506 if
[ "$(srcdir)" = "." ] ; then \
6507 if
[ "$(TARGET_SUBDIR)" != "." ] ; then \
6508 if
$(SHELL
) $$s/symlink-tree
$${topdir}/examples
"no-such-file" ; then \
6509 if
[ -f Makefile
]; then \
6510 if
$(MAKE
) distclean; then \
6524 srcdiroption
="--srcdir=."; \
6527 srcdiroption
="--srcdir=$${topdir}/examples"; \
6528 libsrcdir
="$$s/examples"; \
6530 rm -f no-such-file ||
: ; \
6531 CONFIG_SITE
=no-such-file
$(SHELL
) $${libsrcdir}/configure \
6532 $(TARGET_CONFIGARGS
) $${srcdiroption} \
6533 --with-target-subdir
="$(TARGET_SUBDIR)" \
6536 .PHONY
: all-target-examples maybe-all-target-examples
6537 maybe-all-target-examples
:
6538 all-target-examples
: configure-target-examples
6539 @r
=`${PWD}`; export r
; \
6540 s
=`cd $(srcdir); ${PWD}`; export s
; \
6542 (cd
$(TARGET_SUBDIR
)/examples
&& \
6543 $(MAKE
) $(TARGET_FLAGS_TO_PASS
) all)
6545 # Dummy target for uncheckable module.
6546 .PHONY
: check-target-examples
6547 check-target-examples
:
6550 .PHONY
: install-target-examples maybe-install-target-examples
6551 maybe-install-target-examples
:
6552 # Dummy target for uninstallable.
6553 install-target-examples
:
6556 .PHONY
: configure-target-libffi maybe-configure-target-libffi
6557 maybe-configure-target-libffi
:
6559 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
6560 $(TARGET_SUBDIR
)/libffi
/multilib.out
: multilib.out
6561 @
[ -d
$(TARGET_SUBDIR
)/libffi
] || \
6562 mkdir
$(TARGET_SUBDIR
)/libffi
; \
6563 rm -f
$(TARGET_SUBDIR
)/libffi
/Makefile ||
: ; \
6564 cp multilib.out
$(TARGET_SUBDIR
)/libffi
/multilib.out
6566 configure-target-libffi
: $(TARGET_SUBDIR
)/libffi
/multilib.out
6567 @
test ! -f
$(TARGET_SUBDIR
)/libffi
/Makefile || exit
0; \
6568 [ -d
$(TARGET_SUBDIR
)/libffi
] || \
6569 mkdir
$(TARGET_SUBDIR
)/libffi
;\
6570 r
=`${PWD}`; export r
; \
6571 s
=`cd $(srcdir); ${PWD}`; export s
; \
6573 AR
="$(AR_FOR_TARGET)"; export AR
; \
6574 AS
="$(AS_FOR_TARGET)"; export AS
; \
6575 CC
="$(CC_FOR_TARGET)"; export CC
; \
6576 CFLAGS
="$(CFLAGS_FOR_TARGET)"; export CFLAGS
; \
6577 CXX
="$(CXX_FOR_TARGET)"; export CXX
; \
6578 CXXFLAGS
="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS
; \
6579 GCJ
="$(GCJ_FOR_TARGET)"; export GCJ
; \
6580 DLLTOOL
="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL
; \
6581 LD
="$(LD_FOR_TARGET)"; export LD
; \
6582 LDFLAGS
="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS
; \
6583 NM
="$(NM_FOR_TARGET)"; export NM
; \
6584 RANLIB
="$(RANLIB_FOR_TARGET)"; export RANLIB
; \
6585 WINDRES
="$(WINDRES_FOR_TARGET)"; export WINDRES
; \
6586 echo Configuring in
$(TARGET_SUBDIR
)/libffi
; \
6587 cd
"$(TARGET_SUBDIR)/libffi" || exit
1; \
6589 /* |
[A-Za-z
]:[\\/]*) \
6590 topdir
=$(srcdir) ;; \
6592 case
"$(TARGET_SUBDIR)" in \
6593 .
) topdir
="../$(srcdir)" ;; \
6594 *) topdir
="../../$(srcdir)" ;; \
6597 if
[ "$(srcdir)" = "." ] ; then \
6598 if
[ "$(TARGET_SUBDIR)" != "." ] ; then \
6599 if
$(SHELL
) $$s/symlink-tree
$${topdir}/libffi
"no-such-file" ; then \
6600 if
[ -f Makefile
]; then \
6601 if
$(MAKE
) distclean; then \
6615 srcdiroption
="--srcdir=."; \
6618 srcdiroption
="--srcdir=$${topdir}/libffi"; \
6619 libsrcdir
="$$s/libffi"; \
6621 rm -f no-such-file ||
: ; \
6622 CONFIG_SITE
=no-such-file
$(SHELL
) $${libsrcdir}/configure \
6623 $(TARGET_CONFIGARGS
) $${srcdiroption} \
6624 --with-target-subdir
="$(TARGET_SUBDIR)" \
6627 .PHONY
: all-target-libffi maybe-all-target-libffi
6628 maybe-all-target-libffi
:
6629 all-target-libffi
: configure-target-libffi
6630 @r
=`${PWD}`; export r
; \
6631 s
=`cd $(srcdir); ${PWD}`; export s
; \
6633 (cd
$(TARGET_SUBDIR
)/libffi
&& \
6634 $(MAKE
) $(TARGET_FLAGS_TO_PASS
) all)
6636 .PHONY
: check-target-libffi
6637 check-target-libffi
:
6638 @r
=`${PWD}`; export r
; \
6639 s
=`cd $(srcdir); ${PWD}`; export s
; \
6641 (cd
$(TARGET_SUBDIR
)/libffi
&& \
6642 $(MAKE
) $(TARGET_FLAGS_TO_PASS
) check)
6645 .PHONY
: install-target-libffi maybe-install-target-libffi
6646 maybe-install-target-libffi
:
6647 install-target-libffi
: installdirs
6648 @r
=`${PWD}`; export r
; \
6649 s
=`cd $(srcdir); ${PWD}`; export s
; \
6651 (cd
$(TARGET_SUBDIR
)/libffi
&& \
6652 $(MAKE
) $(TARGET_FLAGS_TO_PASS
) install)
6655 .PHONY
: configure-target-libjava maybe-configure-target-libjava
6656 maybe-configure-target-libjava
:
6658 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
6659 $(TARGET_SUBDIR
)/libjava
/multilib.out
: multilib.out
6660 @
[ -d
$(TARGET_SUBDIR
)/libjava
] || \
6661 mkdir
$(TARGET_SUBDIR
)/libjava
; \
6662 rm -f
$(TARGET_SUBDIR
)/libjava
/Makefile ||
: ; \
6663 cp multilib.out
$(TARGET_SUBDIR
)/libjava
/multilib.out
6665 configure-target-libjava
: $(TARGET_SUBDIR
)/libjava
/multilib.out
6666 @
test ! -f
$(TARGET_SUBDIR
)/libjava
/Makefile || exit
0; \
6667 [ -d
$(TARGET_SUBDIR
)/libjava
] || \
6668 mkdir
$(TARGET_SUBDIR
)/libjava
;\
6669 r
=`${PWD}`; export r
; \
6670 s
=`cd $(srcdir); ${PWD}`; export s
; \
6672 AR
="$(AR_FOR_TARGET)"; export AR
; \
6673 AS
="$(AS_FOR_TARGET)"; export AS
; \
6674 CC
="$(CC_FOR_TARGET)"; export CC
; \
6675 CFLAGS
="$(CFLAGS_FOR_TARGET)"; export CFLAGS
; \
6676 CXX_FOR_TARGET
="$(RAW_CXX_FOR_TARGET)"; export CXX_FOR_TARGET
; \
6677 CXX
="$(RAW_CXX_FOR_TARGET)"; export CXX
; \
6678 CXXFLAGS
="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS
; \
6679 GCJ
="$(GCJ_FOR_TARGET)"; export GCJ
; \
6680 DLLTOOL
="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL
; \
6681 LD
="$(LD_FOR_TARGET)"; export LD
; \
6682 LDFLAGS
="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS
; \
6683 NM
="$(NM_FOR_TARGET)"; export NM
; \
6684 RANLIB
="$(RANLIB_FOR_TARGET)"; export RANLIB
; \
6685 WINDRES
="$(WINDRES_FOR_TARGET)"; export WINDRES
; \
6686 echo Configuring in
$(TARGET_SUBDIR
)/libjava
; \
6687 cd
"$(TARGET_SUBDIR)/libjava" || exit
1; \
6689 /* |
[A-Za-z
]:[\\/]*) \
6690 topdir
=$(srcdir) ;; \
6692 case
"$(TARGET_SUBDIR)" in \
6693 .
) topdir
="../$(srcdir)" ;; \
6694 *) topdir
="../../$(srcdir)" ;; \
6697 if
[ "$(srcdir)" = "." ] ; then \
6698 if
[ "$(TARGET_SUBDIR)" != "." ] ; then \
6699 if
$(SHELL
) $$s/symlink-tree
$${topdir}/libjava
"no-such-file" ; then \
6700 if
[ -f Makefile
]; then \
6701 if
$(MAKE
) distclean; then \
6715 srcdiroption
="--srcdir=."; \
6718 srcdiroption
="--srcdir=$${topdir}/libjava"; \
6719 libsrcdir
="$$s/libjava"; \
6721 rm -f no-such-file ||
: ; \
6722 CONFIG_SITE
=no-such-file
$(SHELL
) $${libsrcdir}/configure \
6723 $(TARGET_CONFIGARGS
) $${srcdiroption} \
6724 --with-target-subdir
="$(TARGET_SUBDIR)" \
6727 .PHONY
: all-target-libjava maybe-all-target-libjava
6728 maybe-all-target-libjava
:
6729 all-target-libjava
: configure-target-libjava
6730 @r
=`${PWD}`; export r
; \
6731 s
=`cd $(srcdir); ${PWD}`; export s
; \
6733 (cd
$(TARGET_SUBDIR
)/libjava
&& \
6734 $(MAKE
) $(TARGET_FLAGS_TO_PASS
) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' all)
6736 .PHONY
: check-target-libjava
6737 check-target-libjava
:
6738 @r
=`${PWD}`; export r
; \
6739 s
=`cd $(srcdir); ${PWD}`; export s
; \
6741 (cd
$(TARGET_SUBDIR
)/libjava
&& \
6742 $(MAKE
) $(TARGET_FLAGS_TO_PASS
) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' check)
6745 .PHONY
: install-target-libjava maybe-install-target-libjava
6746 maybe-install-target-libjava
:
6747 install-target-libjava
: installdirs
6748 @r
=`${PWD}`; export r
; \
6749 s
=`cd $(srcdir); ${PWD}`; export s
; \
6751 (cd
$(TARGET_SUBDIR
)/libjava
&& \
6752 $(MAKE
) $(TARGET_FLAGS_TO_PASS
) install)
6755 .PHONY
: configure-target-zlib maybe-configure-target-zlib
6756 maybe-configure-target-zlib
:
6758 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
6759 $(TARGET_SUBDIR
)/zlib
/multilib.out
: multilib.out
6760 @
[ -d
$(TARGET_SUBDIR
)/zlib
] || \
6761 mkdir
$(TARGET_SUBDIR
)/zlib
; \
6762 rm -f
$(TARGET_SUBDIR
)/zlib
/Makefile ||
: ; \
6763 cp multilib.out
$(TARGET_SUBDIR
)/zlib
/multilib.out
6765 configure-target-zlib
: $(TARGET_SUBDIR
)/zlib
/multilib.out
6766 @
test ! -f
$(TARGET_SUBDIR
)/zlib
/Makefile || exit
0; \
6767 [ -d
$(TARGET_SUBDIR
)/zlib
] || \
6768 mkdir
$(TARGET_SUBDIR
)/zlib
;\
6769 r
=`${PWD}`; export r
; \
6770 s
=`cd $(srcdir); ${PWD}`; export s
; \
6772 AR
="$(AR_FOR_TARGET)"; export AR
; \
6773 AS
="$(AS_FOR_TARGET)"; export AS
; \
6774 CC
="$(CC_FOR_TARGET)"; export CC
; \
6775 CFLAGS
="$(CFLAGS_FOR_TARGET)"; export CFLAGS
; \
6776 CXX
="$(CXX_FOR_TARGET)"; export CXX
; \
6777 CXXFLAGS
="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS
; \
6778 GCJ
="$(GCJ_FOR_TARGET)"; export GCJ
; \
6779 DLLTOOL
="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL
; \
6780 LD
="$(LD_FOR_TARGET)"; export LD
; \
6781 LDFLAGS
="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS
; \
6782 NM
="$(NM_FOR_TARGET)"; export NM
; \
6783 RANLIB
="$(RANLIB_FOR_TARGET)"; export RANLIB
; \
6784 WINDRES
="$(WINDRES_FOR_TARGET)"; export WINDRES
; \
6785 echo Configuring in
$(TARGET_SUBDIR
)/zlib
; \
6786 cd
"$(TARGET_SUBDIR)/zlib" || exit
1; \
6788 /* |
[A-Za-z
]:[\\/]*) \
6789 topdir
=$(srcdir) ;; \
6791 case
"$(TARGET_SUBDIR)" in \
6792 .
) topdir
="../$(srcdir)" ;; \
6793 *) topdir
="../../$(srcdir)" ;; \
6796 if
[ "$(srcdir)" = "." ] ; then \
6797 if
[ "$(TARGET_SUBDIR)" != "." ] ; then \
6798 if
$(SHELL
) $$s/symlink-tree
$${topdir}/zlib
"no-such-file" ; then \
6799 if
[ -f Makefile
]; then \
6800 if
$(MAKE
) distclean; then \
6814 srcdiroption
="--srcdir=."; \
6817 srcdiroption
="--srcdir=$${topdir}/zlib"; \
6818 libsrcdir
="$$s/zlib"; \
6820 rm -f no-such-file ||
: ; \
6821 CONFIG_SITE
=no-such-file
$(SHELL
) $${libsrcdir}/configure \
6822 $(TARGET_CONFIGARGS
) $${srcdiroption} \
6823 --with-target-subdir
="$(TARGET_SUBDIR)" \
6826 .PHONY
: all-target-zlib maybe-all-target-zlib
6827 maybe-all-target-zlib
:
6828 all-target-zlib
: configure-target-zlib
6829 @r
=`${PWD}`; export r
; \
6830 s
=`cd $(srcdir); ${PWD}`; export s
; \
6832 (cd
$(TARGET_SUBDIR
)/zlib
&& \
6833 $(MAKE
) $(TARGET_FLAGS_TO_PASS
) all)
6835 .PHONY
: check-target-zlib
6837 @r
=`${PWD}`; export r
; \
6838 s
=`cd $(srcdir); ${PWD}`; export s
; \
6840 (cd
$(TARGET_SUBDIR
)/zlib
&& \
6841 $(MAKE
) $(TARGET_FLAGS_TO_PASS
) check)
6844 .PHONY
: install-target-zlib maybe-install-target-zlib
6845 maybe-install-target-zlib
:
6846 install-target-zlib
: installdirs
6847 @r
=`${PWD}`; export r
; \
6848 s
=`cd $(srcdir); ${PWD}`; export s
; \
6850 (cd
$(TARGET_SUBDIR
)/zlib
&& \
6851 $(MAKE
) $(TARGET_FLAGS_TO_PASS
) install)
6854 .PHONY
: configure-target-boehm-gc maybe-configure-target-boehm-gc
6855 maybe-configure-target-boehm-gc
:
6857 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
6858 $(TARGET_SUBDIR
)/boehm-gc
/multilib.out
: multilib.out
6859 @
[ -d
$(TARGET_SUBDIR
)/boehm-gc
] || \
6860 mkdir
$(TARGET_SUBDIR
)/boehm-gc
; \
6861 rm -f
$(TARGET_SUBDIR
)/boehm-gc
/Makefile ||
: ; \
6862 cp multilib.out
$(TARGET_SUBDIR
)/boehm-gc
/multilib.out
6864 configure-target-boehm-gc
: $(TARGET_SUBDIR
)/boehm-gc
/multilib.out
6865 @
test ! -f
$(TARGET_SUBDIR
)/boehm-gc
/Makefile || exit
0; \
6866 [ -d
$(TARGET_SUBDIR
)/boehm-gc
] || \
6867 mkdir
$(TARGET_SUBDIR
)/boehm-gc
;\
6868 r
=`${PWD}`; export r
; \
6869 s
=`cd $(srcdir); ${PWD}`; export s
; \
6871 AR
="$(AR_FOR_TARGET)"; export AR
; \
6872 AS
="$(AS_FOR_TARGET)"; export AS
; \
6873 CC
="$(CC_FOR_TARGET)"; export CC
; \
6874 CFLAGS
="$(CFLAGS_FOR_TARGET)"; export CFLAGS
; \
6875 CXX
="$(CXX_FOR_TARGET)"; export CXX
; \
6876 CXXFLAGS
="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS
; \
6877 GCJ
="$(GCJ_FOR_TARGET)"; export GCJ
; \
6878 DLLTOOL
="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL
; \
6879 LD
="$(LD_FOR_TARGET)"; export LD
; \
6880 LDFLAGS
="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS
; \
6881 NM
="$(NM_FOR_TARGET)"; export NM
; \
6882 RANLIB
="$(RANLIB_FOR_TARGET)"; export RANLIB
; \
6883 WINDRES
="$(WINDRES_FOR_TARGET)"; export WINDRES
; \
6884 echo Configuring in
$(TARGET_SUBDIR
)/boehm-gc
; \
6885 cd
"$(TARGET_SUBDIR)/boehm-gc" || exit
1; \
6887 /* |
[A-Za-z
]:[\\/]*) \
6888 topdir
=$(srcdir) ;; \
6890 case
"$(TARGET_SUBDIR)" in \
6891 .
) topdir
="../$(srcdir)" ;; \
6892 *) topdir
="../../$(srcdir)" ;; \
6895 if
[ "$(srcdir)" = "." ] ; then \
6896 if
[ "$(TARGET_SUBDIR)" != "." ] ; then \
6897 if
$(SHELL
) $$s/symlink-tree
$${topdir}/boehm-gc
"no-such-file" ; then \
6898 if
[ -f Makefile
]; then \
6899 if
$(MAKE
) distclean; then \
6913 srcdiroption
="--srcdir=."; \
6916 srcdiroption
="--srcdir=$${topdir}/boehm-gc"; \
6917 libsrcdir
="$$s/boehm-gc"; \
6919 rm -f no-such-file ||
: ; \
6920 CONFIG_SITE
=no-such-file
$(SHELL
) $${libsrcdir}/configure \
6921 $(TARGET_CONFIGARGS
) $${srcdiroption} \
6922 --with-target-subdir
="$(TARGET_SUBDIR)" \
6925 .PHONY
: all-target-boehm-gc maybe-all-target-boehm-gc
6926 maybe-all-target-boehm-gc
:
6927 all-target-boehm-gc
: configure-target-boehm-gc
6928 @r
=`${PWD}`; export r
; \
6929 s
=`cd $(srcdir); ${PWD}`; export s
; \
6931 (cd
$(TARGET_SUBDIR
)/boehm-gc
&& \
6932 $(MAKE
) $(TARGET_FLAGS_TO_PASS
) all)
6934 .PHONY
: check-target-boehm-gc
6935 check-target-boehm-gc
:
6936 @r
=`${PWD}`; export r
; \
6937 s
=`cd $(srcdir); ${PWD}`; export s
; \
6939 (cd
$(TARGET_SUBDIR
)/boehm-gc
&& \
6940 $(MAKE
) $(TARGET_FLAGS_TO_PASS
) check)
6943 .PHONY
: install-target-boehm-gc maybe-install-target-boehm-gc
6944 maybe-install-target-boehm-gc
:
6945 install-target-boehm-gc
: installdirs
6946 @r
=`${PWD}`; export r
; \
6947 s
=`cd $(srcdir); ${PWD}`; export s
; \
6949 (cd
$(TARGET_SUBDIR
)/boehm-gc
&& \
6950 $(MAKE
) $(TARGET_FLAGS_TO_PASS
) install)
6953 .PHONY
: configure-target-qthreads maybe-configure-target-qthreads
6954 maybe-configure-target-qthreads
:
6956 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
6957 $(TARGET_SUBDIR
)/qthreads
/multilib.out
: multilib.out
6958 @
[ -d
$(TARGET_SUBDIR
)/qthreads
] || \
6959 mkdir
$(TARGET_SUBDIR
)/qthreads
; \
6960 rm -f
$(TARGET_SUBDIR
)/qthreads
/Makefile ||
: ; \
6961 cp multilib.out
$(TARGET_SUBDIR
)/qthreads
/multilib.out
6963 configure-target-qthreads
: $(TARGET_SUBDIR
)/qthreads
/multilib.out
6964 @
test ! -f
$(TARGET_SUBDIR
)/qthreads
/Makefile || exit
0; \
6965 [ -d
$(TARGET_SUBDIR
)/qthreads
] || \
6966 mkdir
$(TARGET_SUBDIR
)/qthreads
;\
6967 r
=`${PWD}`; export r
; \
6968 s
=`cd $(srcdir); ${PWD}`; export s
; \
6970 AR
="$(AR_FOR_TARGET)"; export AR
; \
6971 AS
="$(AS_FOR_TARGET)"; export AS
; \
6972 CC
="$(CC_FOR_TARGET)"; export CC
; \
6973 CFLAGS
="$(CFLAGS_FOR_TARGET)"; export CFLAGS
; \
6974 CXX
="$(CXX_FOR_TARGET)"; export CXX
; \
6975 CXXFLAGS
="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS
; \
6976 GCJ
="$(GCJ_FOR_TARGET)"; export GCJ
; \
6977 DLLTOOL
="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL
; \
6978 LD
="$(LD_FOR_TARGET)"; export LD
; \
6979 LDFLAGS
="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS
; \
6980 NM
="$(NM_FOR_TARGET)"; export NM
; \
6981 RANLIB
="$(RANLIB_FOR_TARGET)"; export RANLIB
; \
6982 WINDRES
="$(WINDRES_FOR_TARGET)"; export WINDRES
; \
6983 echo Configuring in
$(TARGET_SUBDIR
)/qthreads
; \
6984 cd
"$(TARGET_SUBDIR)/qthreads" || exit
1; \
6986 /* |
[A-Za-z
]:[\\/]*) \
6987 topdir
=$(srcdir) ;; \
6989 case
"$(TARGET_SUBDIR)" in \
6990 .
) topdir
="../$(srcdir)" ;; \
6991 *) topdir
="../../$(srcdir)" ;; \
6994 if
[ "$(srcdir)" = "." ] ; then \
6995 if
[ "$(TARGET_SUBDIR)" != "." ] ; then \
6996 if
$(SHELL
) $$s/symlink-tree
$${topdir}/qthreads
"no-such-file" ; then \
6997 if
[ -f Makefile
]; then \
6998 if
$(MAKE
) distclean; then \
7012 srcdiroption
="--srcdir=."; \
7015 srcdiroption
="--srcdir=$${topdir}/qthreads"; \
7016 libsrcdir
="$$s/qthreads"; \
7018 rm -f no-such-file ||
: ; \
7019 CONFIG_SITE
=no-such-file
$(SHELL
) $${libsrcdir}/configure \
7020 $(TARGET_CONFIGARGS
) $${srcdiroption} \
7021 --with-target-subdir
="$(TARGET_SUBDIR)" \
7024 .PHONY
: all-target-qthreads maybe-all-target-qthreads
7025 maybe-all-target-qthreads
:
7026 all-target-qthreads
: configure-target-qthreads
7027 @r
=`${PWD}`; export r
; \
7028 s
=`cd $(srcdir); ${PWD}`; export s
; \
7030 (cd
$(TARGET_SUBDIR
)/qthreads
&& \
7031 $(MAKE
) $(TARGET_FLAGS_TO_PASS
) all)
7033 .PHONY
: check-target-qthreads
7034 check-target-qthreads
:
7035 @r
=`${PWD}`; export r
; \
7036 s
=`cd $(srcdir); ${PWD}`; export s
; \
7038 (cd
$(TARGET_SUBDIR
)/qthreads
&& \
7039 $(MAKE
) $(TARGET_FLAGS_TO_PASS
) check)
7042 .PHONY
: install-target-qthreads maybe-install-target-qthreads
7043 maybe-install-target-qthreads
:
7044 install-target-qthreads
: installdirs
7045 @r
=`${PWD}`; export r
; \
7046 s
=`cd $(srcdir); ${PWD}`; export s
; \
7048 (cd
$(TARGET_SUBDIR
)/qthreads
&& \
7049 $(MAKE
) $(TARGET_FLAGS_TO_PASS
) install)
7052 .PHONY
: configure-target-rda maybe-configure-target-rda
7053 maybe-configure-target-rda
:
7055 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
7056 $(TARGET_SUBDIR
)/rda
/multilib.out
: multilib.out
7057 @
[ -d
$(TARGET_SUBDIR
)/rda
] || \
7058 mkdir
$(TARGET_SUBDIR
)/rda
; \
7059 rm -f
$(TARGET_SUBDIR
)/rda
/Makefile ||
: ; \
7060 cp multilib.out
$(TARGET_SUBDIR
)/rda
/multilib.out
7062 configure-target-rda
: $(TARGET_SUBDIR
)/rda
/multilib.out
7063 @
test ! -f
$(TARGET_SUBDIR
)/rda
/Makefile || exit
0; \
7064 [ -d
$(TARGET_SUBDIR
)/rda
] || \
7065 mkdir
$(TARGET_SUBDIR
)/rda
;\
7066 r
=`${PWD}`; export r
; \
7067 s
=`cd $(srcdir); ${PWD}`; export s
; \
7069 AR
="$(AR_FOR_TARGET)"; export AR
; \
7070 AS
="$(AS_FOR_TARGET)"; export AS
; \
7071 CC
="$(CC_FOR_TARGET)"; export CC
; \
7072 CFLAGS
="$(CFLAGS_FOR_TARGET)"; export CFLAGS
; \
7073 CXX
="$(CXX_FOR_TARGET)"; export CXX
; \
7074 CXXFLAGS
="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS
; \
7075 GCJ
="$(GCJ_FOR_TARGET)"; export GCJ
; \
7076 DLLTOOL
="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL
; \
7077 LD
="$(LD_FOR_TARGET)"; export LD
; \
7078 LDFLAGS
="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS
; \
7079 NM
="$(NM_FOR_TARGET)"; export NM
; \
7080 RANLIB
="$(RANLIB_FOR_TARGET)"; export RANLIB
; \
7081 WINDRES
="$(WINDRES_FOR_TARGET)"; export WINDRES
; \
7082 echo Configuring in
$(TARGET_SUBDIR
)/rda
; \
7083 cd
"$(TARGET_SUBDIR)/rda" || exit
1; \
7085 /* |
[A-Za-z
]:[\\/]*) \
7086 topdir
=$(srcdir) ;; \
7088 case
"$(TARGET_SUBDIR)" in \
7089 .
) topdir
="../$(srcdir)" ;; \
7090 *) topdir
="../../$(srcdir)" ;; \
7093 if
[ "$(srcdir)" = "." ] ; then \
7094 if
[ "$(TARGET_SUBDIR)" != "." ] ; then \
7095 if
$(SHELL
) $$s/symlink-tree
$${topdir}/rda
"no-such-file" ; then \
7096 if
[ -f Makefile
]; then \
7097 if
$(MAKE
) distclean; then \
7111 srcdiroption
="--srcdir=."; \
7114 srcdiroption
="--srcdir=$${topdir}/rda"; \
7115 libsrcdir
="$$s/rda"; \
7117 rm -f no-such-file ||
: ; \
7118 CONFIG_SITE
=no-such-file
$(SHELL
) $${libsrcdir}/configure \
7119 $(TARGET_CONFIGARGS
) $${srcdiroption} \
7120 --with-target-subdir
="$(TARGET_SUBDIR)" \
7123 .PHONY
: all-target-rda maybe-all-target-rda
7124 maybe-all-target-rda
:
7125 all-target-rda
: configure-target-rda
7126 @r
=`${PWD}`; export r
; \
7127 s
=`cd $(srcdir); ${PWD}`; export s
; \
7129 (cd
$(TARGET_SUBDIR
)/rda
&& \
7130 $(MAKE
) $(TARGET_FLAGS_TO_PASS
) all)
7132 .PHONY
: check-target-rda
7134 @r
=`${PWD}`; export r
; \
7135 s
=`cd $(srcdir); ${PWD}`; export s
; \
7137 (cd
$(TARGET_SUBDIR
)/rda
&& \
7138 $(MAKE
) $(TARGET_FLAGS_TO_PASS
) check)
7141 .PHONY
: install-target-rda maybe-install-target-rda
7142 maybe-install-target-rda
:
7143 install-target-rda
: installdirs
7144 @r
=`${PWD}`; export r
; \
7145 s
=`cd $(srcdir); ${PWD}`; export s
; \
7147 (cd
$(TARGET_SUBDIR
)/rda
&& \
7148 $(MAKE
) $(TARGET_FLAGS_TO_PASS
) install)
7156 # Unfortunately, while gcc _should_ be a host module,
7157 # libgcc is a target module, and gen* programs are
7158 # build modules. So GCC is a sort of hybrid.
7160 # gcc is the only module which uses GCC_FLAGS_TO_PASS.
7161 .PHONY
: configure-gcc maybe-configure-gcc
7162 maybe-configure-gcc
:
7164 @
test ! -f gcc
/Makefile || exit
0; \
7165 [ -d gcc
] || mkdir gcc
; \
7166 r
=`${PWD}`; export r
; \
7167 s
=`cd $(srcdir); ${PWD}`; export s
; \
7168 CC
="$(CC)"; export CC
; \
7169 CFLAGS
="$(CFLAGS)"; export CFLAGS
; \
7170 CXX
="$(CXX)"; export CXX
; \
7171 CXXFLAGS
="$(CXXFLAGS)"; export CXXFLAGS
; \
7172 TOPLEVEL_CONFIGURE_ARGUMENTS
="$(TOPLEVEL_CONFIGURE_ARGUMENTS)"; export TOPLEVEL_CONFIGURE_ARGUMENTS
; \
7173 if
[ z
$(build_canonical
) != z
$(host_canoncial
) ] ; then \
7174 AR
="$(AR)"; export AR
; \
7175 AS
="$(AS)"; export AS
; \
7176 CC_FOR_BUILD
="$(CC_FOR_BUILD)"; export CC_FOR_BUILD
; \
7177 DLLTOOL
="$(DLLTOOL)"; export DLLTOOL
; \
7178 LD
="$(LD)"; export LD
; \
7179 NM
="$(NM)"; export NM
; \
7180 RANLIB
="$(RANLIB)"; export RANLIB
; \
7181 WINDRES
="$(WINDRES)"; export WINDRES
; \
7182 OBJCOPY
="$(OBJCOPY)"; export OBJCOPY
; \
7183 OBJDUMP
="$(OBJDUMP)"; export OBJDUMP
; \
7185 echo Configuring in gcc
; \
7189 srcdiroption
="--srcdir=."; \
7191 /* |
[A-Za-z
]:[\\/]*) \
7192 srcdiroption
="--srcdir=$(srcdir)/gcc"; \
7193 libsrcdir
="$$s/gcc";; \
7195 srcdiroption
="--srcdir=../$(srcdir)/gcc"; \
7196 libsrcdir
="$$s/gcc";; \
7198 $(SHELL
) $${libsrcdir}/configure \
7199 $(HOST_CONFIGARGS
) $${srcdiroption} \
7202 # Don't 'make all' in gcc if it's already been made by 'bootstrap'; that
7203 # causes trouble. This wart will be fixed eventually by moving
7204 # the bootstrap behavior to this file.
7205 .PHONY
: all-gcc maybe-all-gcc
7207 all-gcc
: configure-gcc
7208 @if
[ -f gcc
/stage_last
] ; then \
7209 r
=`${PWD}`; export r
; \
7210 s
=`cd $(srcdir); ${PWD}`; export s
; \
7212 (cd gcc
&& $(MAKE
) $(GCC_FLAGS_TO_PASS
) quickstrap
); \
7214 r
=`${PWD}`; export r
; \
7215 s
=`cd $(srcdir); ${PWD}`; export s
; \
7217 (cd gcc
&& $(MAKE
) $(GCC_FLAGS_TO_PASS
) all); \
7220 # Building GCC uses some tools for rebuilding "source" files
7221 # like texinfo, bison/byacc, etc. So we must depend on those.
7223 # While building GCC, it may be necessary to run various target
7224 # programs like the assembler, linker, etc. So we depend on
7227 # In theory, on an SMP all those dependencies can be resolved
7230 .PHONY
: bootstrap bootstrap-lean bootstrap2 bootstrap2-lean bootstrap3 bootstrap3-lean bootstrap4 bootstrap4-lean bubblestrap quickstrap cleanstrap restrap
7231 bootstrap bootstrap-lean bootstrap2 bootstrap2-lean bootstrap3 bootstrap3-lean bootstrap4 bootstrap4-lean bubblestrap quickstrap cleanstrap restrap
: all-bootstrap configure-gcc
7232 @r
=`${PWD}`; export r
; \
7233 s
=`cd $(srcdir); ${PWD}`; export s
; \
7235 echo
"Bootstrapping the compiler"; \
7236 cd gcc
&& $(MAKE
) $(GCC_FLAGS_TO_PASS
) $@
7237 @r
=`${PWD}`; export r
; \
7238 s
=`cd $(srcdir); ${PWD}`; export s
; \
7240 *bootstrap4-lean
) \
7241 msg
="Comparing stage3 and stage4 of the compiler"; \
7242 compare
=compare3-lean
;; \
7243 *bootstrap4
) msg
="Comparing stage3 and stage4 of the compiler"; \
7244 compare
=compare3
;; \
7245 *-lean
) msg
="Comparing stage2 and stage3 of the compiler"; \
7246 compare
=compare-lean
;; \
7247 * ) msg
="Comparing stage2 and stage3 of the compiler"; \
7248 compare
=compare
;; \
7252 cd gcc
&& $(MAKE
) $(GCC_FLAGS_TO_PASS
) $$compare
7253 @r
=`${PWD}`; export r
; \
7254 s
=`cd $(srcdir); ${PWD}` ; export s
; \
7256 echo
"Building runtime libraries"; \
7257 $(MAKE
) $(BASE_FLAGS_TO_PASS
) $(RECURSE_FLAGS
) all
7260 cross
: all-texinfo all-bison all-byacc all-binutils all-gas all-ld
7261 @r
=`${PWD}`; export r
; \
7262 s
=`cd $(srcdir); ${PWD}`; export s
; \
7264 echo
"Building the C and C++ compiler"; \
7265 cd gcc
&& $(MAKE
) $(GCC_FLAGS_TO_PASS
) LANGUAGES
="c c++"
7266 @r
=`${PWD}`; export r
; \
7267 s
=`cd $(srcdir); ${PWD}` ; export s
; \
7269 echo
"Building runtime libraries"; \
7270 $(MAKE
) $(BASE_FLAGS_TO_PASS
) $(RECURSE_FLAGS
) \
7271 LANGUAGES
="c c++" all
7275 @if
[ -f .
/gcc
/Makefile
] ; then \
7276 r
=`${PWD}`; export r
; \
7277 s
=`cd $(srcdir); ${PWD}`; export s
; \
7279 (cd gcc
&& $(MAKE
) $(GCC_FLAGS_TO_PASS
) check); \
7284 .PHONY
: check-gcc-c
++
7286 @if
[ -f .
/gcc
/Makefile
] ; then \
7287 r
=`${PWD}`; export r
; \
7288 s
=`cd $(srcdir); ${PWD}`; export s
; \
7290 (cd gcc
&& $(MAKE
) $(GCC_FLAGS_TO_PASS
) check-c
++); \
7297 $(MAKE
) check-target-libstdc
++-v3 check-gcc-c
++ NOTPARALLEL
=parallel-ok
7299 .PHONY
: install-gcc maybe-install-gcc
7302 @if
[ -f .
/gcc
/Makefile
] ; then \
7303 r
=`${PWD}`; export r
; \
7304 s
=`cd $(srcdir); ${PWD}`; export s
; \
7306 (cd gcc
&& $(MAKE
) $(GCC_FLAGS_TO_PASS
) install); \
7311 # Install the gcc headers files, but not the fixed include files,
7312 # which Cygnus is not allowed to distribute. This rule is very
7313 # dependent on the workings of the gcc Makefile.in.
7314 .PHONY
: gcc-no-fixedincludes
7315 gcc-no-fixedincludes
:
7316 @if
[ -f .
/gcc
/Makefile
]; then \
7317 rm -rf gcc
/tmp-include
; \
7318 mv gcc
/include gcc
/tmp-include
2>/dev
/null
; \
7319 mkdir gcc
/include; \
7320 cp
$(srcdir)/gcc
/gsyslimits.h gcc
/include/syslimits.h
; \
7321 touch gcc
/stmp-fixinc gcc
/include/fixed
; \
7322 rm -f gcc
/stmp-headers gcc
/stmp-int-hdrs
; \
7323 r
=`${PWD}`; export r
; \
7324 s
=`cd $(srcdir); ${PWD}` ; export s
; \
7327 $(MAKE
) $(GCC_FLAGS_TO_PASS
) install); \
7328 rm -rf gcc
/include; \
7329 mv gcc
/tmp-include gcc
/include 2>/dev
/null
; \
7332 # --------------------------------------
7333 # Dependencies between different modules
7334 # --------------------------------------
7336 # There are two types of dependencies here: 'hard' dependencies, where one
7337 # module simply won't build without the other; and 'soft' dependencies, where
7338 # if the depended-on module is missing, the depending module will do without
7339 # or find a substitute somewhere (perhaps installed). Soft dependencies
7340 # are specified by depending on a 'maybe-' target. If you're not sure,
7341 # it's safer to use a soft dependency.
7343 # Host modules specific to gcc.
7344 # GCC needs to identify certain tools.
7345 configure-gcc
: maybe-configure-binutils maybe-configure-gas maybe-configure-ld maybe-configure-bison maybe-configure-flex
7346 all-gcc
: maybe-all-libiberty maybe-all-bison maybe-all-byacc maybe-all-binutils maybe-all-gas maybe-all-ld maybe-all-zlib
7347 # This is a slightly kludgy method of getting dependencies on
7348 # all-build-libiberty correct; it would be better to build it every time.
7349 all-gcc
: maybe-all-build-libiberty
7350 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
7352 # Host modules specific to gdb.
7353 # GDB needs to know that the simulator is being built.
7354 configure-gdb
: maybe-configure-tcl maybe-configure-tk maybe-configure-sim
7356 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
)
7357 install-gdb
: maybe-install-tcl maybe-install-tk maybe-install-itcl maybe-install-tix maybe-install-libgui
7358 configure-libgui
: maybe-configure-tcl maybe-configure-tk
7359 all-libgui
: maybe-all-tcl maybe-all-tk maybe-all-itcl
7361 # Host modules specific to binutils.
7362 configure-bfd
: configure-libiberty
7363 all-bfd
: maybe-all-libiberty maybe-all-intl
7364 all-binutils
: maybe-all-libiberty maybe-all-opcodes maybe-all-bfd maybe-all-flex maybe-all-bison maybe-all-byacc maybe-all-intl
7365 # We put install-opcodes before install-binutils because the installed
7366 # binutils might be on PATH, and they might need the shared opcodes
7368 install-binutils
: maybe-install-opcodes
7369 all-gas
: maybe-all-libiberty maybe-all-opcodes maybe-all-bfd maybe-all-intl
7370 all-gprof
: maybe-all-libiberty maybe-all-bfd maybe-all-opcodes maybe-all-intl
7371 all-ld
: maybe-all-libiberty maybe-all-bfd maybe-all-opcodes maybe-all-bison maybe-all-byacc maybe-all-flex maybe-all-intl
7372 all-opcodes
: maybe-all-bfd maybe-all-libiberty
7374 # Other host modules in the 'src' repository.
7375 all-dejagnu
: maybe-all-tcl maybe-all-expect maybe-all-tk
7376 configure-expect
: maybe-configure-tcl maybe-configure-tk
7377 all-expect
: maybe-all-tcl maybe-all-tk
7378 configure-itcl
: maybe-configure-tcl maybe-configure-tk
7379 all-itcl
: maybe-all-tcl maybe-all-tk
7380 # We put install-tcl before install-itcl because itcl wants to run a
7381 # program on installation which uses the Tcl libraries.
7382 install-itcl
: maybe-install-tcl
7383 all-sid
: maybe-all-libiberty maybe-all-bfd maybe-all-opcodes maybe-all-tcl maybe-all-tk
7384 install-sid
: maybe-install-tcl maybe-install-tk
7385 all-sim
: maybe-all-libiberty maybe-all-bfd maybe-all-opcodes maybe-all-readline maybe-configure-gdb
7386 configure-tk
: maybe-configure-tcl
7387 all-tk
: maybe-all-tcl
7388 configure-tix
: maybe-configure-tcl maybe-configure-tk
7389 all-tix
: maybe-all-tcl maybe-all-tk
7390 all-texinfo
: maybe-all-libiberty
7392 # Other host modules. Warning, these are not well tested.
7393 all-autoconf
: maybe-all-m4 maybe-all-texinfo
7394 all-automake
: maybe-all-m4 maybe-all-texinfo
7395 all-bison
: maybe-all-texinfo
7396 all-diff
: maybe-all-libiberty
7397 all-fastjar
: maybe-all-zlib maybe-all-libiberty
7398 all-fileutils
: maybe-all-libiberty
7399 all-flex
: maybe-all-libiberty maybe-all-bison maybe-all-byacc
7400 all-gzip
: maybe-all-libiberty
7401 all-hello
: maybe-all-libiberty
7402 all-m4
: maybe-all-libiberty maybe-all-texinfo
7403 all-make
: maybe-all-libiberty
7404 all-patch
: maybe-all-libiberty
7405 all-prms
: maybe-all-libiberty
7406 all-recode
: maybe-all-libiberty
7407 all-sed
: maybe-all-libiberty
7408 all-send-pr
: maybe-all-prms
7409 all-tar
: maybe-all-libiberty
7410 all-uudecode
: maybe-all-libiberty
7412 ALL_GCC
= maybe-all-gcc
7413 ALL_GCC_C
= $(ALL_GCC
) maybe-all-target-newlib maybe-all-target-libgloss
7414 ALL_GCC_CXX
= $(ALL_GCC_C
) maybe-all-target-libstdc
++-v3
7416 # Target modules specific to gcc.
7417 configure-target-boehm-gc
: $(ALL_GCC_C
) maybe-configure-target-qthreads
7418 configure-target-fastjar
: maybe-configure-target-zlib
7419 all-target-fastjar
: maybe-all-target-zlib maybe-all-target-libiberty
7420 configure-target-libf2c
: $(ALL_GCC_C
)
7421 all-target-libf2c
: maybe-all-target-libiberty
7422 configure-target-libffi
: $(ALL_GCC_C
)
7423 configure-target-libjava
: $(ALL_GCC_C
) maybe-configure-target-zlib maybe-configure-target-boehm-gc maybe-configure-target-qthreads maybe-configure-target-libffi
7424 all-target-libjava
: maybe-all-fastjar maybe-all-target-zlib maybe-all-target-boehm-gc maybe-all-target-qthreads maybe-all-target-libffi
7425 configure-target-libobjc
: $(ALL_GCC_C
)
7426 all-target-libobjc
: maybe-all-target-libiberty
7427 configure-target-libstdc
++-v3
: $(ALL_GCC_C
)
7428 all-target-libstdc
++-v3
: maybe-all-target-libiberty
7429 configure-target-zlib
: $(ALL_GCC_C
)
7431 # Target modules in the 'src' repository.
7432 configure-target-examples
: $(ALL_GCC_C
)
7433 configure-target-libgloss
: $(ALL_GCC
)
7434 all-target-libgloss
: maybe-configure-target-newlib
7435 configure-target-libiberty
: $(ALL_GCC_C
)
7436 configure-target-libtermcap
: $(ALL_GCC_C
)
7437 configure-target-newlib
: $(ALL_GCC
)
7438 configure-target-rda
: $(ALL_GCC_C
)
7439 configure-target-winsup
: $(ALL_GCC_C
)
7440 all-target-winsup
: maybe-all-target-libiberty maybe-all-target-libtermcap
7442 # Other target modules. Warning, these are not well tested.
7443 configure-target-gperf
: $(ALL_GCC_CXX
)
7444 all-target-gperf
: maybe-all-target-libiberty maybe-all-target-libstdc
++-v3
7445 configure-target-qthreads
: $(ALL_GCC_C
)
7447 # Dependencies of maybe-foo on foo. These are used because, for example,
7448 # all-gcc only depends on all-gas if gas is present and being configured.
7449 @maybe_dependencies@
7451 # Serialization dependencies. Host configures don't work well in parallel to
7452 # each other, due to contention over config.cache. Target configures and
7453 # build configures are similar.
7454 @serialization_dependencies@
7456 # --------------------------------
7457 # Regenerating top level configury
7458 # --------------------------------
7460 # Multilib.out tells target dirs what multilibs they should build.
7461 # There is really only one copy. We use the 'timestamp' method to
7462 # work around various timestamp bugs on some systems.
7463 # We use move-if-change so that it's only considered updated when it
7464 # actually changes, because it has to depend on a phony target.
7465 multilib.out
: maybe-all-gcc
7466 @r
=`${PWD}`; export r
; \
7467 echo
"Checking multilib configuration..."; \
7468 $(CC_FOR_TARGET
) --print-multi-lib
> multilib.tmp
2> /dev
/null
; \
7469 $(SHELL
) $(srcdir)/move-if-change multilib.tmp multilib.out
; \
7471 # Rebuilding Makefile.in, using autogen.
7473 $(srcdir)/Makefile.in
: # $(srcdir)/Makefile.tpl $(srcdir)/Makefile.def
7474 cd
$(srcdir) && $(AUTOGEN
) Makefile.def
7476 # Rebuilding Makefile.
7477 Makefile
: $(srcdir)/Makefile.in config.status
7478 CONFIG_FILES
=$@ CONFIG_HEADERS
= $(SHELL
) .
/config.status
7480 config.status
: configure
$(gcc_version_trigger
)
7481 $(SHELL
) .
/config.status
--recheck
7483 # Rebuilding configure.
7485 $(srcdir)/configure
: $(srcdir)/configure.in
$(srcdir)/config
/acx.m4
7486 cd
$(srcdir) && $(AUTOCONF
)
7492 # Tell GNU make 3.79 not to run the top level in parallel. This
7493 # prevents contention for $builddir/$target/config.cache, as well
7494 # as minimizing scatter in file system caches.
7495 NOTPARALLEL
= .NOTPARALLEL
7498 # end of Makefile.in