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
112 # Special variables passed down in EXTRA_GCC_FLAGS. They are defined
113 # here so that they can be overridden by Makefile fragments.
114 BUILD_CC
= $(CC_FOR_BUILD
)
115 BUILD_PREFIX
= @BUILD_PREFIX@
116 BUILD_PREFIX_1
= @BUILD_PREFIX_1@
119 CXXFLAGS
= @CXXFLAGS@
122 LIBCFLAGS
= $(CFLAGS
)
123 CFLAGS_FOR_BUILD
= $(CFLAGS
)
124 # During gcc bootstrap, if we use some random cc for stage1 then
125 # CFLAGS will be just -g. We want to ensure that TARGET libraries
126 # (which we know are built with gcc) are built with optimizations so
127 # prepend -O2 when setting CFLAGS_FOR_TARGET.
128 CFLAGS_FOR_TARGET
= -O2
$(CFLAGS
)
130 LIBCFLAGS_FOR_TARGET
= $(CFLAGS_FOR_TARGET
)
136 # Use -O2 to stress test the compiler.
137 LIBCXXFLAGS
= $(CXXFLAGS
) -fno-implicit-templates
138 CXXFLAGS_FOR_TARGET
= $(CXXFLAGS
)
139 LIBCXXFLAGS_FOR_TARGET
= $(CXXFLAGS_FOR_TARGET
) -fno-implicit-templates
148 # These values are substituted by configure.
149 DEFAULT_YACC
= @DEFAULT_YACC@
150 DEFAULT_LEX
= @DEFAULT_LEX@
151 DEFAULT_M4
= @DEFAULT_M4@
154 USUAL_BISON
= `if [ -f $$r/bison/bison ] ; then \
155 echo $$r/bison/bison -L $$s/bison/ ; \
161 USUAL_YACC
= `if [ -f $$r/bison/bison ] ; then \
162 echo $$r/bison/bison -y -L $$s/bison/ ; \
163 elif [ -f $$r/byacc/byacc ] ; then \
164 echo $$r/byacc/byacc ; \
166 echo ${DEFAULT_YACC} ; \
170 USUAL_LEX
= `if [ -f $$r/flex/flex ] ; \
171 then echo $$r/flex/flex ; \
172 else echo ${DEFAULT_LEX} ; fi`
174 M4
= `if [ -f $$r/m4/m4 ] ; \
175 then echo $$r/m4/m4 ; \
176 else echo ${DEFAULT_M4} ; fi`
178 # For an installed makeinfo, we require it to be from texinfo 4 or
179 # higher, else we use the "missing" dummy.
181 USUAL_MAKEINFO
= `if [ -f $$r/texinfo/makeinfo/makeinfo ] ; \
182 then echo $$r/texinfo/makeinfo/makeinfo ; \
183 else if (makeinfo --version \
184 | egrep 'texinfo[^0-9]*([1-3][0-9]|[4-9])') >/dev/null 2>&1; \
185 then echo makeinfo; else echo $$s/missing makeinfo; fi; fi`
187 # This just becomes part of the MAKEINFO definition passed down to
188 # sub-makes. It lets flags be given on the command line while still
189 # using the makeinfo from the object tree.
192 EXPECT
= `if [ -f $$r/expect/expect ] ; \
193 then echo $$r/expect/expect ; \
194 else echo expect ; fi`
196 RUNTEST
= `if [ -f $$s/dejagnu/runtest ] ; \
197 then echo $$s/dejagnu/runtest ; \
198 else echo runtest ; fi`
201 # compilers to use to create programs which must be run in the build
203 CC_FOR_BUILD
= @CC_FOR_BUILD@
204 CXX_FOR_BUILD
= $(CXX
)
206 SUBDIRS
= @configdirs@
208 # This is set by the configure script to the list of directories which
209 # should be built using the target tools.
210 TARGET_CONFIGDIRS
= @target_configdirs@
212 # Target libraries are put under this directory:
213 # Changed by configure to $(target_alias) if cross.
214 TARGET_SUBDIR
= @target_subdir@
216 BUILD_CONFIGDIRS
= libiberty
217 BUILD_SUBDIR
= @build_subdir@
219 # This is set by the configure script to the arguments to use when configuring
220 # directories built for the build system.
221 BUILD_CONFIGARGS
= @build_configargs@
223 # This is set by the configure script to the arguments to use when configuring
224 # directories built for the host system.
225 HOST_CONFIGARGS
= @host_configargs@
227 # This is set by the configure script to the arguments to use when configuring
228 # directories built for the target.
229 TARGET_CONFIGARGS
= @target_configargs@
231 # This is set by configure to REALLY_SET_LIB_PATH if --enable-shared
233 SET_LIB_PATH
= @SET_LIB_PATH@
235 # This is the name of the environment variable used for the path to
236 # the libraries. This may be changed by configure.in.
237 RPATH_ENVVAR
= @RPATH_ENVVAR@
239 # This is the list of directories that may be needed in RPATH_ENVVAR
240 # so that programs built for the host machine work.
241 HOST_LIB_PATH
= $$r/bfd
:$$r/opcodes
243 # This is the list of directories that may be needed in RPATH_ENVVAR
244 # so that prorgams built for the target machine work.
245 TARGET_LIB_PATH
= $$r/$(TARGET_SUBDIR
)/libstdc
++-v3
/src
/.libs
:
247 # configure.in sets SET_LIB_PATH to this if --enable-shared was used.
248 # Some platforms don't like blank entries, so we remove duplicate,
249 # leading and trailing colons.
250 REALLY_SET_LIB_PATH
= \
251 $(RPATH_ENVVAR
)=`echo "$(HOST_LIB_PATH):$(TARGET_LIB_PATH):$$$(RPATH_ENVVAR)" | sed 's,::*,:,g;s,^:*,,;s,:*$$,,'`; export $(RPATH_ENVVAR
);
253 # Should be substed by configure.in
254 FLAGS_FOR_TARGET
= @FLAGS_FOR_TARGET@
255 CC_FOR_TARGET
= @CC_FOR_TARGET@
256 CXX_FOR_TARGET
= @CXX_FOR_TARGET@
257 RAW_CXX_FOR_TARGET
= @RAW_CXX_FOR_TARGET@
258 CXX_FOR_TARGET_FOR_RECURSIVE_MAKE
= @CXX_FOR_TARGET_FOR_RECURSIVE_MAKE@
259 RAW_CXX_FOR_TARGET_FOR_RECURSIVE_MAKE
= @RAW_CXX_FOR_TARGET_FOR_RECURSIVE_MAKE@
260 GCJ_FOR_TARGET
= @GCJ_FOR_TARGET@
262 # If GCC_FOR_TARGET is not overriden on the command line, then this
263 # variable is passed down to the gcc Makefile, where it is used to
264 # build libgcc2.a. We define it here so that it can itself be
265 # overridden on the command line.
266 GCC_FOR_TARGET
=@GCC_FOR_TARGET@
267 USUAL_GCC_FOR_TARGET
= $(STAGE_CC_WRAPPER
) $$r/gcc
/xgcc
-B
$$r/gcc
/ $(FLAGS_FOR_TARGET
)
269 AS_FOR_TARGET
=@AS_FOR_TARGET@
270 USUAL_AS_FOR_TARGET
= ` \
271 if [ -f $$r/gas/as-new ] ; then \
272 echo $$r/gas/as-new ; \
273 elif [ -f $$r/gcc/xgcc ]; then \
274 $(CC_FOR_TARGET) -print-prog-name=as ; \
276 if [ '$(host_canonical)' = '$(target_canonical)' ] ; then \
279 echo as | sed '$(program_transform_name)' ; \
283 LD_FOR_TARGET
=@LD_FOR_TARGET@
284 USUAL_LD_FOR_TARGET
= ` \
285 if [ -f $$r/ld/ld-new ] ; then \
286 echo $$r/ld/ld-new ; \
287 elif [ -f $$r/gcc/xgcc ]; then \
288 $(CC_FOR_TARGET) -print-prog-name=ld ; \
290 if [ '$(host_canonical)' = '$(target_canonical)' ] ; then \
293 echo ld | sed '$(program_transform_name)' ; \
297 DLLTOOL_FOR_TARGET
=@DLLTOOL_FOR_TARGET@
298 USUAL_DLLTOOL_FOR_TARGET
= ` \
299 if [ -f $$r/binutils/dlltool ] ; then \
300 echo $$r/binutils/dlltool ; \
302 if [ '$(host_canonical)' = '$(target_canonical)' ] ; then \
305 echo dlltool | sed '$(program_transform_name)' ; \
309 WINDRES_FOR_TARGET
=@WINDRES_FOR_TARGET@
310 USUAL_WINDRES_FOR_TARGET
= ` \
311 if [ -f $$r/binutils/windres ] ; then \
312 echo $$r/binutils/windres ; \
314 if [ '$(host_canonical)' = '$(target_canonical)' ] ; then \
317 echo windres | sed '$(program_transform_name)' ; \
321 AR_FOR_TARGET
=@AR_FOR_TARGET@
322 USUAL_AR_FOR_TARGET
= ` \
323 if [ -f $$r/binutils/ar ] ; then \
324 echo $$r/binutils/ar ; \
326 if [ '$(host_canonical)' = '$(target_canonical)' ] ; then \
329 echo ar | sed '$(program_transform_name)' ; \
333 RANLIB_FOR_TARGET
=@RANLIB_FOR_TARGET@
334 USUAL_RANLIB_FOR_TARGET
= ` \
335 if [ -f $$r/binutils/ranlib ] ; then \
336 echo $$r/binutils/ranlib ; \
338 if [ '$(host_canonical)' = '$(target_canonical)' ] ; then \
339 if [ x'$(RANLIB)' != x ]; then \
345 echo ranlib | sed '$(program_transform_name)' ; \
349 NM_FOR_TARGET
=@NM_FOR_TARGET@
350 USUAL_NM_FOR_TARGET
= ` \
351 if [ -f $$r/binutils/nm-new ] ; then \
352 echo $$r/binutils/nm-new ; \
353 elif [ -f $$r/gcc/xgcc ]; then \
354 $(CC_FOR_TARGET) -print-prog-name=nm ; \
356 if [ '$(host_canonical)' = '$(target_canonical)' ] ; then \
359 echo nm | sed '$(program_transform_name)' ; \
363 # The first rule in the file had better be this one. Don't put any above it.
364 # This lives here to allow makefile fragments to contain dependencies.
368 #### host and target specific makefile fragments come in here.
369 @target_makefile_frag@
375 # Flags to pass down to all sub-makes.
376 # Please keep these in alphabetical order.
377 BASE_FLAGS_TO_PASS
= \
378 "AR_FLAGS=$(AR_FLAGS)" \
379 "AR_FOR_TARGET=$(AR_FOR_TARGET)" \
380 "AS_FOR_TARGET=$(AS_FOR_TARGET)" \
382 "CC_FOR_BUILD=$(CC_FOR_BUILD)" \
383 "CC_FOR_TARGET=$(CC_FOR_TARGET)" \
385 "CFLAGS_FOR_TARGET=$(CFLAGS_FOR_TARGET)" \
386 "GCJ_FOR_TARGET=$(GCJ_FOR_TARGET)" \
387 "CXX_FOR_BUILD=$(CXX_FOR_BUILD)" \
388 "CXXFLAGS=$(CXXFLAGS)" \
389 "CXXFLAGS_FOR_TARGET=$(CXXFLAGS_FOR_TARGET)" \
390 "CXX_FOR_TARGET=$(CXX_FOR_TARGET)" \
391 "DESTDIR=$(DESTDIR)" \
392 "DLLTOOL_FOR_TARGET=$(DLLTOOL_FOR_TARGET)" \
393 "INSTALL=$(INSTALL)" \
394 "INSTALL_DATA=$(INSTALL_DATA)" \
395 "INSTALL_PROGRAM=$(INSTALL_PROGRAM)" \
396 "INSTALL_SCRIPT=$(INSTALL_SCRIPT)" \
397 "LDFLAGS=$(LDFLAGS)" \
399 "LD_FOR_TARGET=$(LD_FOR_TARGET)" \
400 "LIBCFLAGS=$(LIBCFLAGS)" \
401 "LIBCFLAGS_FOR_TARGET=$(LIBCFLAGS_FOR_TARGET)" \
402 "LIBCXXFLAGS=$(LIBCXXFLAGS)" \
403 "LIBCXXFLAGS_FOR_TARGET=$(LIBCXXFLAGS_FOR_TARGET)" \
406 "MAKEINFO=$(MAKEINFO) $(MAKEINFOFLAGS)" \
407 "NM_FOR_TARGET=$(NM_FOR_TARGET)" \
408 "RANLIB_FOR_TARGET=$(RANLIB_FOR_TARGET)" \
409 "RPATH_ENVVAR=$(RPATH_ENVVAR)" \
412 "RUNTEST=$(RUNTEST)" \
413 "RUNTESTFLAGS=$(RUNTESTFLAGS)" \
414 "TARGET_SUBDIR=$(TARGET_SUBDIR)" \
415 "WINDRES_FOR_TARGET=$(WINDRES_FOR_TARGET)" \
418 "datadir=$(datadir)" \
419 "exec_prefix=$(exec_prefix)" \
420 "includedir=$(includedir)" \
421 "infodir=$(infodir)" \
423 "libexecdir=$(libexecdir)" \
424 "lispdir=$(lispdir)" \
425 "libstdcxx_incdir=$(libstdcxx_incdir)" \
426 "libsubdir=$(libsubdir)" \
427 "localstatedir=$(localstatedir)" \
429 "oldincludedir=$(oldincludedir)" \
431 "sbindir=$(sbindir)" \
432 "sharedstatedir=$(sharedstatedir)" \
433 "sysconfdir=$(sysconfdir)" \
434 "tooldir=$(tooldir)" \
435 "build_tooldir=$(build_tooldir)" \
436 "gxx_include_dir=$(gxx_include_dir)" \
437 "gcc_version=$(gcc_version)" \
438 "gcc_version_trigger=$(gcc_version_trigger)" \
439 "target_alias=$(target_alias)"
441 # For any flags above that may contain shell code that varies from one
442 # target library to another. When doing recursive invocations of the
443 # top-level Makefile, we don't want the outer make to evaluate them,
444 # so we pass these variables down unchanged. They must not contain
445 # single nor double quotes.
447 CXX_FOR_TARGET
='$(CXX_FOR_TARGET_FOR_RECURSIVE_MAKE)' \
448 RAW_CXX_FOR_TARGET
='$(RAW_CXX_FOR_TARGET_FOR_RECURSIVE_MAKE)' \
450 # Flags to pass down to most sub-makes, in which we're building with
451 # the host environment.
452 # If any variables are added here, they must be added to do-*, below.
458 'DLLTOOL=$(DLLTOOL)' \
461 "`echo 'RANLIB=$(RANLIB)' | sed -e s/.*=$$/XFOO=/`" \
464 FLAGS_TO_PASS
= $(BASE_FLAGS_TO_PASS
) $(EXTRA_HOST_FLAGS
)
466 # Flags that are concerned with the location of the X11 include files
469 # NOTE: until the top-level is getting the values via autoconf, it only
470 # causes problems to have this top-level Makefile overriding the autoconf-set
471 # values in child directories. Only variables that don't conflict with
472 # autoconf'ed ones should be passed by X11_FLAGS_TO_PASS for now.
474 X11_FLAGS_TO_PASS
= \
475 'X11_EXTRA_CFLAGS=$(X11_EXTRA_CFLAGS)' \
476 'X11_EXTRA_LIBS=$(X11_EXTRA_LIBS)'
478 # Flags to pass down to makes which are built with the target environment.
479 # The double $ decreases the length of the command line; the variables
480 # are set in BASE_FLAGS_TO_PASS, and the sub-make will expand them.
481 # If any variables are added here, they must be added to do-*, below.
482 EXTRA_TARGET_FLAGS
= \
483 'AR=$$(AR_FOR_TARGET)' \
484 'AS=$$(AS_FOR_TARGET)' \
485 'CC=$$(CC_FOR_TARGET)' \
486 'CFLAGS=$$(CFLAGS_FOR_TARGET)' \
487 'CXX=$$(CXX_FOR_TARGET)' \
488 'CXXFLAGS=$$(CXXFLAGS_FOR_TARGET)' \
489 'DLLTOOL=$$(DLLTOOL_FOR_TARGET)' \
490 'LD=$$(LD_FOR_TARGET)' \
491 'LIBCFLAGS=$$(LIBCFLAGS_FOR_TARGET)' \
492 'LIBCXXFLAGS=$$(LIBCXXFLAGS_FOR_TARGET)' \
493 'NM=$$(NM_FOR_TARGET)' \
494 'RANLIB=$$(RANLIB_FOR_TARGET)' \
495 'WINDRES=$$(WINDRES_FOR_TARGET)'
497 TARGET_FLAGS_TO_PASS
= $(BASE_FLAGS_TO_PASS
) $(EXTRA_TARGET_FLAGS
)
499 # Flags to pass down to gcc. gcc builds a library, libgcc.a, so it
500 # unfortunately needs the native compiler and the target ar and
502 # If any variables are added here, they must be added to do-*, below.
503 # The HOST_* variables are a special case, which are used for the gcc
504 # cross-building scheme.
510 'DLLTOOL=$$(DLLTOOL_FOR_TARGET)' \
511 'BUILD_CC=$(CC_FOR_BUILD)' \
512 'BUILD_PREFIX=$(BUILD_PREFIX)' \
513 'BUILD_PREFIX_1=$(BUILD_PREFIX_1)' \
515 "`echo 'RANLIB=$(RANLIB)' | sed -e s/.*=$$/XFOO=/`" \
516 'WINDRES=$$(WINDRES_FOR_TARGET)' \
517 "GCC_FOR_TARGET=$(GCC_FOR_TARGET)" \
518 "CFLAGS_FOR_BUILD=$(CFLAGS_FOR_BUILD)" \
519 "`echo 'LANGUAGES=$(LANGUAGES)' | sed -e s/.*=$$/XFOO=/`" \
520 "`echo 'STMP_FIXPROTO=$(STMP_FIXPROTO)' | sed -e s/.*=$$/XFOO=/`" \
521 "`echo 'LIMITS_H_TEST=$(LIMITS_H_TEST)' | sed -e s/.*=$$/XFOO=/`" \
522 "`echo 'LIBGCC2_CFLAGS=$(LIBGCC2_CFLAGS)' | sed -e s/.*=$$/XFOO=/`" \
523 "`echo 'LIBGCC2_DEBUG_CFLAGS=$(LIBGCC2_DEBUG_CFLAGS)' | sed -e s/.*=$$/XFOO=/`" \
524 "`echo 'LIBGCC2_INCLUDES=$(LIBGCC2_INCLUDES)' | sed -e s/.*=$$/XFOO=/`" \
525 "`echo 'ENQUIRE=$(ENQUIRE)' | sed -e s/.*=$$/XFOO=/`" \
526 "`echo 'STAGE1_CFLAGS=$(STAGE1_CFLAGS)' | sed -e s/.*=$$/XFOO=/`" \
527 "`echo 'BOOT_CFLAGS=$(BOOT_CFLAGS)' | sed -e s/.*=$$/XFOO=/`"
529 GCC_FLAGS_TO_PASS
= $(BASE_FLAGS_TO_PASS
) $(EXTRA_GCC_FLAGS
)
531 configure-host
: @configure_host_modules@
532 configure-target
: @configure_target_modules@
534 # This is a list of the targets for which we can do a clean-{target}.
595 # All of the target modules that can be cleaned
596 CLEAN_TARGET_MODULES
= \
597 clean-target-libstdc
++-v3 \
598 clean-target-newlib \
599 clean-target-libf2c \
600 clean-target-libobjc \
601 clean-target-winsup \
602 clean-target-libgloss \
603 clean-target-libiberty \
605 clean-target-examples \
606 clean-target-libffi \
607 clean-target-libjava \
609 clean-target-boehm-gc \
610 clean-target-qthreads \
613 # All of the x11 modules that can be cleaned
614 CLEAN_X11_MODULES
= \
621 # The target built for a native build.
622 # This list only includes modules actually being configured and built.
624 all.normal
: @all_build_modules@ \
628 all-host
: @all_host_modules@
629 all-target
: @all_target_modules@
631 # Do a target for all the subdirectories. A ``make do-X'' will do a
632 # ``make X'' in all subdirectories (because, in general, there is a
633 # dependency (below) of X upon do-X, a ``make X'' will also do this,
634 # but it may do additional work as well).
635 # This target ensures that $(BASE_FLAGS_TO_PASS) appears only once,
636 # because it is so large that it can easily overflow the command line
637 # length limit on some systems.
641 @r
=`${PWD}`; export r
; \
642 s
=`cd $(srcdir); ${PWD}`; export s
; \
644 for i in
$(SUBDIRS
) -dummy-
; do \
645 if
[ -f .
/$$i/Makefile
]; then \
648 for flag in
$(EXTRA_GCC_FLAGS
); do \
649 eval
`echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
653 for flag in
$(EXTRA_HOST_FLAGS
); do \
654 eval
`echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
659 $(MAKE
) $(BASE_FLAGS_TO_PASS
) "AR=$${AR}" "AS=$${AS}" \
660 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
661 "`echo \"RANLIB=$${RANLIB}\" | sed -e 's/.*=$$/XFOO=/'`" \
662 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
667 # Break into two pieces
668 r
=`${PWD}`; export r
; \
669 s
=`cd $(srcdir); ${PWD}`; export s
; \
671 for i in
$(TARGET_CONFIGDIRS
) -dummy-
; do \
672 if
[ -f
$(TARGET_SUBDIR
)/$$i/Makefile
]; then \
673 for flag in
$(EXTRA_TARGET_FLAGS
); do \
674 eval
`echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
676 (cd
$(TARGET_SUBDIR
)/$$i && \
677 $(MAKE
) $(BASE_FLAGS_TO_PASS
) "AR=$${AR}" "AS=$${AS}" \
678 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
679 "`echo \"RANLIB=$${RANLIB}\" | sed -e 's/.*=$$/XFOO=/'`" \
680 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
688 @r
=`${PWD}`; export r
; \
689 s
=`cd $(srcdir); ${PWD}`; export s
; \
691 for i in
$(SUBDIRS
) -dummy-
; do \
692 if
[ -f .
/$$i/Makefile
]; then \
695 for flag in
$(EXTRA_GCC_FLAGS
); do \
696 eval
`echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
700 for flag in
$(EXTRA_HOST_FLAGS
); do \
701 eval
`echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
706 $(MAKE
) $(BASE_FLAGS_TO_PASS
) "AR=$${AR}" "AS=$${AS}" \
707 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
708 "`echo \"RANLIB=$${RANLIB}\" | sed -e 's/.*=$$/XFOO=/'`" \
709 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
714 # Break into two pieces
715 r
=`${PWD}`; export r
; \
716 s
=`cd $(srcdir); ${PWD}`; export s
; \
718 for i in
$(TARGET_CONFIGDIRS
) -dummy-
; do \
719 if
[ -f
$(TARGET_SUBDIR
)/$$i/Makefile
]; then \
720 for flag in
$(EXTRA_TARGET_FLAGS
); do \
721 eval
`echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
723 (cd
$(TARGET_SUBDIR
)/$$i && \
724 $(MAKE
) $(BASE_FLAGS_TO_PASS
) "AR=$${AR}" "AS=$${AS}" \
725 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
726 "`echo \"RANLIB=$${RANLIB}\" | sed -e 's/.*=$$/XFOO=/'`" \
727 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
735 @r
=`${PWD}`; export r
; \
736 s
=`cd $(srcdir); ${PWD}`; export s
; \
738 for i in
$(SUBDIRS
) -dummy-
; do \
739 if
[ -f .
/$$i/Makefile
]; then \
742 for flag in
$(EXTRA_GCC_FLAGS
); do \
743 eval
`echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
747 for flag in
$(EXTRA_HOST_FLAGS
); do \
748 eval
`echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
753 $(MAKE
) $(BASE_FLAGS_TO_PASS
) "AR=$${AR}" "AS=$${AS}" \
754 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
755 "`echo \"RANLIB=$${RANLIB}\" | sed -e 's/.*=$$/XFOO=/'`" \
756 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
761 # Break into two pieces
762 r
=`${PWD}`; export r
; \
763 s
=`cd $(srcdir); ${PWD}`; export s
; \
765 for i in
$(TARGET_CONFIGDIRS
) -dummy-
; do \
766 if
[ -f
$(TARGET_SUBDIR
)/$$i/Makefile
]; then \
767 for flag in
$(EXTRA_TARGET_FLAGS
); do \
768 eval
`echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
770 (cd
$(TARGET_SUBDIR
)/$$i && \
771 $(MAKE
) $(BASE_FLAGS_TO_PASS
) "AR=$${AR}" "AS=$${AS}" \
772 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
773 "`echo \"RANLIB=$${RANLIB}\" | sed -e 's/.*=$$/XFOO=/'`" \
774 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
782 @r
=`${PWD}`; export r
; \
783 s
=`cd $(srcdir); ${PWD}`; export s
; \
785 for i in
$(SUBDIRS
) -dummy-
; do \
786 if
[ -f .
/$$i/Makefile
]; then \
789 for flag in
$(EXTRA_GCC_FLAGS
); do \
790 eval
`echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
794 for flag in
$(EXTRA_HOST_FLAGS
); do \
795 eval
`echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
800 $(MAKE
) $(BASE_FLAGS_TO_PASS
) "AR=$${AR}" "AS=$${AS}" \
801 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
802 "`echo \"RANLIB=$${RANLIB}\" | sed -e 's/.*=$$/XFOO=/'`" \
803 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
808 # Break into two pieces
809 r
=`${PWD}`; export r
; \
810 s
=`cd $(srcdir); ${PWD}`; export s
; \
812 for i in
$(TARGET_CONFIGDIRS
) -dummy-
; do \
813 if
[ -f
$(TARGET_SUBDIR
)/$$i/Makefile
]; then \
814 for flag in
$(EXTRA_TARGET_FLAGS
); do \
815 eval
`echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
817 (cd
$(TARGET_SUBDIR
)/$$i && \
818 $(MAKE
) $(BASE_FLAGS_TO_PASS
) "AR=$${AR}" "AS=$${AS}" \
819 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
820 "`echo \"RANLIB=$${RANLIB}\" | sed -e 's/.*=$$/XFOO=/'`" \
821 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
827 .PHONY
: do-install-info
829 @r
=`${PWD}`; export r
; \
830 s
=`cd $(srcdir); ${PWD}`; export s
; \
832 for i in
$(SUBDIRS
) -dummy-
; do \
833 if
[ -f .
/$$i/Makefile
]; then \
836 for flag in
$(EXTRA_GCC_FLAGS
); do \
837 eval
`echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
841 for flag in
$(EXTRA_HOST_FLAGS
); do \
842 eval
`echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
847 $(MAKE
) $(BASE_FLAGS_TO_PASS
) "AR=$${AR}" "AS=$${AS}" \
848 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
849 "`echo \"RANLIB=$${RANLIB}\" | sed -e 's/.*=$$/XFOO=/'`" \
850 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
855 # Break into two pieces
856 r
=`${PWD}`; export r
; \
857 s
=`cd $(srcdir); ${PWD}`; export s
; \
859 for i in
$(TARGET_CONFIGDIRS
) -dummy-
; do \
860 if
[ -f
$(TARGET_SUBDIR
)/$$i/Makefile
]; then \
861 for flag in
$(EXTRA_TARGET_FLAGS
); do \
862 eval
`echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
864 (cd
$(TARGET_SUBDIR
)/$$i && \
865 $(MAKE
) $(BASE_FLAGS_TO_PASS
) "AR=$${AR}" "AS=$${AS}" \
866 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
867 "`echo \"RANLIB=$${RANLIB}\" | sed -e 's/.*=$$/XFOO=/'`" \
868 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
874 .PHONY
: do-installcheck
876 @r
=`${PWD}`; export r
; \
877 s
=`cd $(srcdir); ${PWD}`; export s
; \
879 for i in
$(SUBDIRS
) -dummy-
; do \
880 if
[ -f .
/$$i/Makefile
]; then \
883 for flag in
$(EXTRA_GCC_FLAGS
); do \
884 eval
`echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
888 for flag in
$(EXTRA_HOST_FLAGS
); do \
889 eval
`echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
894 $(MAKE
) $(BASE_FLAGS_TO_PASS
) "AR=$${AR}" "AS=$${AS}" \
895 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
896 "`echo \"RANLIB=$${RANLIB}\" | sed -e 's/.*=$$/XFOO=/'`" \
897 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
902 # Break into two pieces
903 r
=`${PWD}`; export r
; \
904 s
=`cd $(srcdir); ${PWD}`; export s
; \
906 for i in
$(TARGET_CONFIGDIRS
) -dummy-
; do \
907 if
[ -f
$(TARGET_SUBDIR
)/$$i/Makefile
]; then \
908 for flag in
$(EXTRA_TARGET_FLAGS
); do \
909 eval
`echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
911 (cd
$(TARGET_SUBDIR
)/$$i && \
912 $(MAKE
) $(BASE_FLAGS_TO_PASS
) "AR=$${AR}" "AS=$${AS}" \
913 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
914 "`echo \"RANLIB=$${RANLIB}\" | sed -e 's/.*=$$/XFOO=/'`" \
915 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
921 .PHONY
: do-mostlyclean
923 @r
=`${PWD}`; export r
; \
924 s
=`cd $(srcdir); ${PWD}`; export s
; \
926 for i in
$(SUBDIRS
) -dummy-
; do \
927 if
[ -f .
/$$i/Makefile
]; then \
930 for flag in
$(EXTRA_GCC_FLAGS
); do \
931 eval
`echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
935 for flag in
$(EXTRA_HOST_FLAGS
); do \
936 eval
`echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
941 $(MAKE
) $(BASE_FLAGS_TO_PASS
) "AR=$${AR}" "AS=$${AS}" \
942 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
943 "`echo \"RANLIB=$${RANLIB}\" | sed -e 's/.*=$$/XFOO=/'`" \
944 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
949 # Break into two pieces
950 r
=`${PWD}`; export r
; \
951 s
=`cd $(srcdir); ${PWD}`; export s
; \
953 for i in
$(TARGET_CONFIGDIRS
) -dummy-
; do \
954 if
[ -f
$(TARGET_SUBDIR
)/$$i/Makefile
]; then \
955 for flag in
$(EXTRA_TARGET_FLAGS
); do \
956 eval
`echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
958 (cd
$(TARGET_SUBDIR
)/$$i && \
959 $(MAKE
) $(BASE_FLAGS_TO_PASS
) "AR=$${AR}" "AS=$${AS}" \
960 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
961 "`echo \"RANLIB=$${RANLIB}\" | sed -e 's/.*=$$/XFOO=/'`" \
962 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
968 .PHONY
: do-maintainer-clean
970 @r
=`${PWD}`; export r
; \
971 s
=`cd $(srcdir); ${PWD}`; export s
; \
973 for i in
$(SUBDIRS
) -dummy-
; do \
974 if
[ -f .
/$$i/Makefile
]; then \
977 for flag in
$(EXTRA_GCC_FLAGS
); do \
978 eval
`echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
982 for flag in
$(EXTRA_HOST_FLAGS
); do \
983 eval
`echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
988 $(MAKE
) $(BASE_FLAGS_TO_PASS
) "AR=$${AR}" "AS=$${AS}" \
989 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
990 "`echo \"RANLIB=$${RANLIB}\" | sed -e 's/.*=$$/XFOO=/'`" \
991 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
996 # Break into two pieces
997 r
=`${PWD}`; export r
; \
998 s
=`cd $(srcdir); ${PWD}`; export s
; \
1000 for i in
$(TARGET_CONFIGDIRS
) -dummy-
; do \
1001 if
[ -f
$(TARGET_SUBDIR
)/$$i/Makefile
]; then \
1002 for flag in
$(EXTRA_TARGET_FLAGS
); do \
1003 eval
`echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
1005 (cd
$(TARGET_SUBDIR
)/$$i && \
1006 $(MAKE
) $(BASE_FLAGS_TO_PASS
) "AR=$${AR}" "AS=$${AS}" \
1007 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
1008 "`echo \"RANLIB=$${RANLIB}\" | sed -e 's/.*=$$/XFOO=/'`" \
1009 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
1017 @r
=`${PWD}`; export r
; \
1018 s
=`cd $(srcdir); ${PWD}`; export s
; \
1020 for i in
$(SUBDIRS
) -dummy-
; do \
1021 if
[ -f .
/$$i/Makefile
]; then \
1024 for flag in
$(EXTRA_GCC_FLAGS
); do \
1025 eval
`echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
1029 for flag in
$(EXTRA_HOST_FLAGS
); do \
1030 eval
`echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
1035 $(MAKE
) $(BASE_FLAGS_TO_PASS
) "AR=$${AR}" "AS=$${AS}" \
1036 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
1037 "`echo \"RANLIB=$${RANLIB}\" | sed -e 's/.*=$$/XFOO=/'`" \
1038 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
1043 # Break into two pieces
1044 r
=`${PWD}`; export r
; \
1045 s
=`cd $(srcdir); ${PWD}`; export s
; \
1047 for i in
$(TARGET_CONFIGDIRS
) -dummy-
; do \
1048 if
[ -f
$(TARGET_SUBDIR
)/$$i/Makefile
]; then \
1049 for flag in
$(EXTRA_TARGET_FLAGS
); do \
1050 eval
`echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
1052 (cd
$(TARGET_SUBDIR
)/$$i && \
1053 $(MAKE
) $(BASE_FLAGS_TO_PASS
) "AR=$${AR}" "AS=$${AS}" \
1054 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
1055 "`echo \"RANLIB=$${RANLIB}\" | sed -e 's/.*=$$/XFOO=/'`" \
1056 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
1064 # Here are the targets which correspond to the do-X targets.
1066 .PHONY
: info installcheck dvi install-info
1067 .PHONY
: clean distclean mostlyclean maintainer-clean
realclean
1068 .PHONY
: local-clean local-distclean local-maintainer-clean
1070 installcheck: do-installcheck
1073 # Make sure makeinfo is built before we do a `make info', if we're
1074 # in fact building texinfo.
1075 do-info
: maybe-all-texinfo
1077 install-info
: do-install-info
dir.
info
1078 s
=`cd $(srcdir); ${PWD}`; export s
; \
1079 if
[ -f
dir.
info ] ; then \
1080 $(INSTALL_DATA
) dir.
info $(DESTDIR
)$(infodir)/dir.
info ; \
1084 -rm -f
*.a TEMP errs core
*.o
*~ \
#* TAGS *.E *.log
1087 -rm -f Makefile config.status config.cache mh-frag mt-frag
1088 -rm -f multilib.out multilib.tmp maybedep.tmp serdep.tmp
1089 -if
[ "$(TARGET_SUBDIR)" != "." ]; then \
1090 rm -rf
$(TARGET_SUBDIR
); \
1092 -rm -f texinfo
/po
/Makefile texinfo
/po
/Makefile.in texinfo
/info/Makefile
1093 -rm -f texinfo
/doc
/Makefile texinfo
/po
/POTFILES
1094 -rmdir texinfo
/doc texinfo
/info texinfo
/intl texinfo
/lib
2>/dev
/null
1095 -rmdir texinfo
/makeinfo texinfo
/po texinfo
/util
2>/dev
/null
1096 -rmdir fastjar gcc libiberty texinfo zlib
2>/dev
/null
1098 local-maintainer-clean
:
1099 @echo
"This command is intended for maintainers to use;"
1100 @echo
"it deletes files that may require special tools to rebuild."
1102 clean: do-clean local-clean
1103 mostlyclean: do-mostlyclean local-clean
1104 distclean: do-distclean local-clean local-distclean
1105 maintainer-clean
: local-maintainer-clean do-maintainer-clean local-clean
1106 maintainer-clean
: local-distclean
1107 realclean: maintainer-clean
1109 # This rule is used to clean specific modules.
1110 .PHONY
: $(CLEAN_MODULES
) $(CLEAN_X11_MODULES
) clean-gcc
1111 $(CLEAN_MODULES
) $(CLEAN_X11_MODULES
) clean-gcc
:
1112 @
dir=`echo $@ | sed -e 's/clean-//'`; \
1113 if
[ -f .
/$${dir}/Makefile
] ; then \
1114 r
=`${PWD}`; export r
; \
1115 s
=`cd $(srcdir); ${PWD}`; export s
; \
1117 (cd
$${dir} && $(MAKE
) $(FLAGS_TO_PASS
) clean); \
1122 .PHONY
: $(CLEAN_TARGET_MODULES
)
1123 $(CLEAN_TARGET_MODULES
):
1124 @
dir=`echo $@ | sed -e 's/clean-target-//'`; \
1125 rm -f
$(TARGET_SUBDIR
)/$${dir}/multilib.out
$(TARGET_SUBDIR
)/$${dir}/tmpmulti.out
; \
1126 if
[ -f
$(TARGET_SUBDIR
)/$${dir}/Makefile
] ; then \
1127 r
=`${PWD}`; export r
; \
1128 s
=`cd $(srcdir); ${PWD}`; export s
; \
1130 (cd
$(TARGET_SUBDIR
)/$${dir} && $(MAKE
) $(TARGET_FLAGS_TO_PASS
) clean); \
1135 clean-target
: $(CLEAN_TARGET_MODULES
) clean-target-libgcc
1136 clean-target-libgcc
:
1137 test ! -d gcc
/libgcc || \
1138 (cd gcc
/libgcc
&& find .
-type d
-print) | \
1139 while read d
; do
rm -f gcc
/$$d/libgcc.a ||
: ; done
1144 .PHONY
: check do-check
1146 $(MAKE
) do-check NOTPARALLEL
=parallel-ok
1148 # Only include modules actually being configured and built.
1149 do-check
: @check_host_modules@ \
1150 @check_target_modules@
1152 # Automated reporting of test results.
1154 warning.log
: build.log
1155 $(srcdir)/contrib
/warn_summary build.log
> $@
1158 if
test x
'$(BOOT_CFLAGS)' != x
''; then \
1159 BOOT_CFLAGS
='$(BOOT_CFLAGS)'; export BOOT_CFLAGS
; \
1161 $(srcdir)/contrib
/test_summary
-t
>$@
1163 echo If you really want to send e-mail
, run .
/$@ now
1165 mail-report-with-warnings.log
: warning.log
1166 if
test x
'$(BOOT_CFLAGS)' != x
''; then \
1167 BOOT_CFLAGS
='$(BOOT_CFLAGS)'; export BOOT_CFLAGS
; \
1169 $(srcdir)/contrib
/test_summary
-t
-i warning.log
>$@
1171 echo If you really want to send e-mail
, run .
/$@ now
1173 # Installation targets.
1175 .PHONY
: install uninstall
1176 install: installdirs @install_host_modules@ @install_target_modules@
1178 install-target
: @install_target_modules@
1181 @echo
"the uninstall target is not supported in this tree"
1184 install.
all: install-no-fixedincludes
1185 @if
[ -f .
/gcc
/Makefile
] ; then \
1186 r
=`${PWD}` ; export r
; \
1189 $(MAKE
) $(FLAGS_TO_PASS
) install-headers
) ; \
1194 # install-no-fixedincludes is used because Cygnus can not distribute
1195 # the fixed header files.
1196 .PHONY
: install-no-fixedincludes
1197 install-no-fixedincludes
: installdirs @install_host_modules_nogcc@ \
1198 @install_target_modules@ gcc-no-fixedincludes
1200 ### other supporting targets
1203 $(DESTDIR
)$(prefix) \
1204 $(DESTDIR
)$(exec_prefix)
1206 installdirs: mkinstalldirs
1207 $(SHELL
) $(srcdir)/mkinstalldirs
$(MAKEDIRS
)
1209 dir.
info: do-install-info
1210 if
[ -f
$(srcdir)/texinfo
/gen-info-dir
] ; then \
1211 $(srcdir)/texinfo
/gen-info-dir
$(DESTDIR
)$(infodir) $(srcdir)/texinfo
/dir.info-template
> dir.
info.new
; \
1212 mv
-f
dir.
info.new
dir.
info ; \
1217 @echo
"Building a full distribution of this tree isn't done"
1218 @echo
"via 'make dist'. Check out the etc/ subdirectory"
1222 # Right now this just builds TAGS in each subdirectory. emacs19 has the
1223 # ability to use several tags files at once, so there is probably no need
1224 # to combine them into one big TAGS file (like CVS 1.3 does). We could
1225 # (if we felt like it) have this Makefile write a piece of elisp which
1226 # the user could load to tell emacs19 where all the TAGS files we just
1230 # --------------------------------------
1231 # Modules which run on the build machine
1232 # --------------------------------------
1234 .PHONY
: configure-build-libiberty maybe-configure-build-libiberty
1235 maybe-configure-build-libiberty
:
1236 configure-build-libiberty
:
1237 @
test ! -f
$(BUILD_SUBDIR
)/libiberty
/Makefile || exit
0; \
1238 [ -d
$(BUILD_SUBDIR
)/libiberty
] || \
1239 mkdir
$(BUILD_SUBDIR
)/libiberty
;\
1240 r
=`${PWD}`; export r
; \
1241 s
=`cd $(srcdir); ${PWD}`; export s
; \
1242 AR
="$(AR_FOR_BUILD)"; export AR
; \
1243 AS
="$(AS_FOR_BUILD)"; export AS
; \
1244 CC
="$(CC_FOR_BUILD)"; export CC
; \
1245 CFLAGS
="$(CFLAGS_FOR_BUILD)"; export CFLAGS
; \
1246 CXX
="$(CXX_FOR_BUILD)"; export CXX
; \
1247 CXXFLAGS
="$(CXXFLAGS_FOR_BUILD)"; export CXXFLAGS
; \
1248 GCJ
="$(GCJ_FOR_BUILD)"; export GCJ
; \
1249 DLLTOOL
="$(DLLTOOL_FOR_BUILD)"; export DLLTOOL
; \
1250 LD
="$(LD_FOR_BUILD)"; export LD
; \
1251 LDFLAGS
="$(LDFLAGS_FOR_BUILD)"; export LDFLAGS
; \
1252 NM
="$(NM_FOR_BUILD)"; export NM
; \
1253 RANLIB
="$(RANLIB_FOR_BUILD)"; export RANLIB
; \
1254 WINDRES
="$(WINDRES_FOR_BUILD)"; export WINDRES
; \
1255 echo Configuring in
$(BUILD_SUBDIR
)/libiberty
; \
1256 cd
"$(BUILD_SUBDIR)/libiberty" || exit
1; \
1258 /* |
[A-Za-z
]:[\\/]*) \
1259 topdir
=$(srcdir) ;; \
1261 case
"$(BUILD_SUBDIR)" in \
1262 .
) topdir
="../$(srcdir)" ;; \
1263 *) topdir
="../../$(srcdir)" ;; \
1266 if
[ "$(srcdir)" = "." ] ; then \
1267 if
[ "$(BUILD_SUBDIR)" != "." ] ; then \
1268 if
$(SHELL
) $$s/symlink-tree
$${topdir}/libiberty
"no-such-file" ; then \
1269 if
[ -f Makefile
]; then \
1270 if
$(MAKE
) distclean; then \
1284 srcdiroption
="--srcdir=."; \
1287 srcdiroption
="--srcdir=$${topdir}/libiberty"; \
1288 libsrcdir
="$$s/libiberty"; \
1290 rm -f no-such-file ||
: ; \
1291 CONFIG_SITE
=no-such-file
$(SHELL
) $${libsrcdir}/configure \
1292 $(BUILD_CONFIGARGS
) $${srcdiroption} \
1293 --with-build-subdir
="$(BUILD_SUBDIR)" \
1296 .PHONY
: all-build-libiberty maybe-all-build-libiberty
1297 maybe-all-build-libiberty
:
1298 all-build-libiberty
: configure-build-libiberty
1299 @r
=`${PWD}`; export r
; \
1300 s
=`cd $(srcdir); ${PWD}`; export s
; \
1301 (cd
$(BUILD_SUBDIR
)/libiberty
&& $(MAKE
) all)
1304 # --------------------------------------
1305 # Modules which run on the host machine
1306 # --------------------------------------
1308 .PHONY
: configure-ash maybe-configure-ash
1309 maybe-configure-ash
:
1311 @
test ! -f ash
/Makefile || exit
0; \
1312 [ -d ash
] || mkdir ash
; \
1313 r
=`${PWD}`; export r
; \
1314 s
=`cd $(srcdir); ${PWD}`; export s
; \
1315 CC
="$(CC)"; export CC
; \
1316 CFLAGS
="$(CFLAGS)"; export CFLAGS
; \
1317 CXX
="$(CXX)"; export CXX
; \
1318 CXXFLAGS
="$(CXXFLAGS)"; export CXXFLAGS
; \
1319 if
[ z
$(build_canonical
) != z
$(host_canoncial
) ] ; then \
1320 AR
="$(AR)"; export AR
; \
1321 AS
="$(AS)"; export AS
; \
1322 CC_FOR_BUILD
="$(CC_FOR_BUILD)"; export CC_FOR_BUILD
; \
1323 DLLTOOL
="$(DLLTOOL)"; export DLLTOOL
; \
1324 LD
="$(LD)"; export LD
; \
1325 NM
="$(NM)"; export NM
; \
1326 RANLIB
="$(RANLIB)"; export RANLIB
; \
1327 WINDRES
="$(WINDRES)"; export WINDRES
; \
1328 OBJCOPY
="$(OBJCOPY)"; export OBJCOPY
; \
1329 OBJDUMP
="$(OBJDUMP)"; export OBJDUMP
; \
1331 echo Configuring in ash
; \
1335 srcdiroption
="--srcdir=."; \
1337 /* |
[A-Za-z
]:[\\/]*) \
1338 srcdiroption
="--srcdir=$(srcdir)/ash"; \
1339 libsrcdir
="$$s/ash";; \
1341 srcdiroption
="--srcdir=../$(srcdir)/ash"; \
1342 libsrcdir
="$$s/ash";; \
1344 $(SHELL
) $${libsrcdir}/configure \
1345 $(HOST_CONFIGARGS
) $${srcdiroption} \
1348 .PHONY
: all-ash maybe-all-ash
1350 all-ash
: configure-ash
1351 @r
=`${PWD}`; export r
; \
1352 s
=`cd $(srcdir); ${PWD}`; export s
; \
1354 (cd ash
&& $(MAKE
) $(FLAGS_TO_PASS
) all)
1359 @r
=`${PWD}`; export r
; \
1360 s
=`cd $(srcdir); ${PWD}`; export s
; \
1362 (cd ash
&& $(MAKE
) $(FLAGS_TO_PASS
) check)
1366 .PHONY
: install-ash maybe-install-ash
1368 install-ash
: installdirs
1369 @r
=`${PWD}`; export r
; \
1370 s
=`cd $(srcdir); ${PWD}`; export s
; \
1372 (cd ash
&& $(MAKE
) $(FLAGS_TO_PASS
) install)
1375 .PHONY
: configure-autoconf maybe-configure-autoconf
1376 maybe-configure-autoconf
:
1378 @
test ! -f autoconf
/Makefile || exit
0; \
1379 [ -d autoconf
] || mkdir autoconf
; \
1380 r
=`${PWD}`; export r
; \
1381 s
=`cd $(srcdir); ${PWD}`; export s
; \
1382 CC
="$(CC)"; export CC
; \
1383 CFLAGS
="$(CFLAGS)"; export CFLAGS
; \
1384 CXX
="$(CXX)"; export CXX
; \
1385 CXXFLAGS
="$(CXXFLAGS)"; export CXXFLAGS
; \
1386 if
[ z
$(build_canonical
) != z
$(host_canoncial
) ] ; then \
1387 AR
="$(AR)"; export AR
; \
1388 AS
="$(AS)"; export AS
; \
1389 CC_FOR_BUILD
="$(CC_FOR_BUILD)"; export CC_FOR_BUILD
; \
1390 DLLTOOL
="$(DLLTOOL)"; export DLLTOOL
; \
1391 LD
="$(LD)"; export LD
; \
1392 NM
="$(NM)"; export NM
; \
1393 RANLIB
="$(RANLIB)"; export RANLIB
; \
1394 WINDRES
="$(WINDRES)"; export WINDRES
; \
1395 OBJCOPY
="$(OBJCOPY)"; export OBJCOPY
; \
1396 OBJDUMP
="$(OBJDUMP)"; export OBJDUMP
; \
1398 echo Configuring in autoconf
; \
1399 cd autoconf || exit
1; \
1402 srcdiroption
="--srcdir=."; \
1404 /* |
[A-Za-z
]:[\\/]*) \
1405 srcdiroption
="--srcdir=$(srcdir)/autoconf"; \
1406 libsrcdir
="$$s/autoconf";; \
1408 srcdiroption
="--srcdir=../$(srcdir)/autoconf"; \
1409 libsrcdir
="$$s/autoconf";; \
1411 $(SHELL
) $${libsrcdir}/configure \
1412 $(HOST_CONFIGARGS
) $${srcdiroption} \
1415 .PHONY
: all-autoconf maybe-all-autoconf
1417 all-autoconf
: configure-autoconf
1418 @r
=`${PWD}`; export r
; \
1419 s
=`cd $(srcdir); ${PWD}`; export s
; \
1421 (cd autoconf
&& $(MAKE
) $(FLAGS_TO_PASS
) all)
1424 .PHONY
: check-autoconf
1426 @r
=`${PWD}`; export r
; \
1427 s
=`cd $(srcdir); ${PWD}`; export s
; \
1429 (cd autoconf
&& $(MAKE
) $(FLAGS_TO_PASS
) check)
1433 .PHONY
: install-autoconf maybe-install-autoconf
1434 maybe-install-autoconf
:
1435 install-autoconf
: installdirs
1436 @r
=`${PWD}`; export r
; \
1437 s
=`cd $(srcdir); ${PWD}`; export s
; \
1439 (cd autoconf
&& $(MAKE
) $(FLAGS_TO_PASS
) install)
1442 .PHONY
: configure-automake maybe-configure-automake
1443 maybe-configure-automake
:
1445 @
test ! -f automake
/Makefile || exit
0; \
1446 [ -d automake
] || mkdir automake
; \
1447 r
=`${PWD}`; export r
; \
1448 s
=`cd $(srcdir); ${PWD}`; export s
; \
1449 CC
="$(CC)"; export CC
; \
1450 CFLAGS
="$(CFLAGS)"; export CFLAGS
; \
1451 CXX
="$(CXX)"; export CXX
; \
1452 CXXFLAGS
="$(CXXFLAGS)"; export CXXFLAGS
; \
1453 if
[ z
$(build_canonical
) != z
$(host_canoncial
) ] ; then \
1454 AR
="$(AR)"; export AR
; \
1455 AS
="$(AS)"; export AS
; \
1456 CC_FOR_BUILD
="$(CC_FOR_BUILD)"; export CC_FOR_BUILD
; \
1457 DLLTOOL
="$(DLLTOOL)"; export DLLTOOL
; \
1458 LD
="$(LD)"; export LD
; \
1459 NM
="$(NM)"; export NM
; \
1460 RANLIB
="$(RANLIB)"; export RANLIB
; \
1461 WINDRES
="$(WINDRES)"; export WINDRES
; \
1462 OBJCOPY
="$(OBJCOPY)"; export OBJCOPY
; \
1463 OBJDUMP
="$(OBJDUMP)"; export OBJDUMP
; \
1465 echo Configuring in automake
; \
1466 cd automake || exit
1; \
1469 srcdiroption
="--srcdir=."; \
1471 /* |
[A-Za-z
]:[\\/]*) \
1472 srcdiroption
="--srcdir=$(srcdir)/automake"; \
1473 libsrcdir
="$$s/automake";; \
1475 srcdiroption
="--srcdir=../$(srcdir)/automake"; \
1476 libsrcdir
="$$s/automake";; \
1478 $(SHELL
) $${libsrcdir}/configure \
1479 $(HOST_CONFIGARGS
) $${srcdiroption} \
1482 .PHONY
: all-automake maybe-all-automake
1484 all-automake
: configure-automake
1485 @r
=`${PWD}`; export r
; \
1486 s
=`cd $(srcdir); ${PWD}`; export s
; \
1488 (cd automake
&& $(MAKE
) $(FLAGS_TO_PASS
) all)
1491 .PHONY
: check-automake
1493 @r
=`${PWD}`; export r
; \
1494 s
=`cd $(srcdir); ${PWD}`; export s
; \
1496 (cd automake
&& $(MAKE
) $(FLAGS_TO_PASS
) check)
1500 .PHONY
: install-automake maybe-install-automake
1501 maybe-install-automake
:
1502 install-automake
: installdirs
1503 @r
=`${PWD}`; export r
; \
1504 s
=`cd $(srcdir); ${PWD}`; export s
; \
1506 (cd automake
&& $(MAKE
) $(FLAGS_TO_PASS
) install)
1509 .PHONY
: configure-bash maybe-configure-bash
1510 maybe-configure-bash
:
1512 @
test ! -f bash
/Makefile || exit
0; \
1513 [ -d bash
] || mkdir bash
; \
1514 r
=`${PWD}`; export r
; \
1515 s
=`cd $(srcdir); ${PWD}`; export s
; \
1516 CC
="$(CC)"; export CC
; \
1517 CFLAGS
="$(CFLAGS)"; export CFLAGS
; \
1518 CXX
="$(CXX)"; export CXX
; \
1519 CXXFLAGS
="$(CXXFLAGS)"; export CXXFLAGS
; \
1520 if
[ z
$(build_canonical
) != z
$(host_canoncial
) ] ; then \
1521 AR
="$(AR)"; export AR
; \
1522 AS
="$(AS)"; export AS
; \
1523 CC_FOR_BUILD
="$(CC_FOR_BUILD)"; export CC_FOR_BUILD
; \
1524 DLLTOOL
="$(DLLTOOL)"; export DLLTOOL
; \
1525 LD
="$(LD)"; export LD
; \
1526 NM
="$(NM)"; export NM
; \
1527 RANLIB
="$(RANLIB)"; export RANLIB
; \
1528 WINDRES
="$(WINDRES)"; export WINDRES
; \
1529 OBJCOPY
="$(OBJCOPY)"; export OBJCOPY
; \
1530 OBJDUMP
="$(OBJDUMP)"; export OBJDUMP
; \
1532 echo Configuring in bash
; \
1533 cd bash || exit
1; \
1536 srcdiroption
="--srcdir=."; \
1538 /* |
[A-Za-z
]:[\\/]*) \
1539 srcdiroption
="--srcdir=$(srcdir)/bash"; \
1540 libsrcdir
="$$s/bash";; \
1542 srcdiroption
="--srcdir=../$(srcdir)/bash"; \
1543 libsrcdir
="$$s/bash";; \
1545 $(SHELL
) $${libsrcdir}/configure \
1546 $(HOST_CONFIGARGS
) $${srcdiroption} \
1549 .PHONY
: all-bash maybe-all-bash
1551 all-bash
: configure-bash
1552 @r
=`${PWD}`; export r
; \
1553 s
=`cd $(srcdir); ${PWD}`; export s
; \
1555 (cd bash
&& $(MAKE
) $(FLAGS_TO_PASS
) all)
1560 @r
=`${PWD}`; export r
; \
1561 s
=`cd $(srcdir); ${PWD}`; export s
; \
1563 (cd bash
&& $(MAKE
) $(FLAGS_TO_PASS
) check)
1567 .PHONY
: install-bash maybe-install-bash
1569 install-bash
: installdirs
1570 @r
=`${PWD}`; export r
; \
1571 s
=`cd $(srcdir); ${PWD}`; export s
; \
1573 (cd bash
&& $(MAKE
) $(FLAGS_TO_PASS
) install)
1576 .PHONY
: configure-bfd maybe-configure-bfd
1577 maybe-configure-bfd
:
1579 @
test ! -f bfd
/Makefile || exit
0; \
1580 [ -d bfd
] || mkdir bfd
; \
1581 r
=`${PWD}`; export r
; \
1582 s
=`cd $(srcdir); ${PWD}`; export s
; \
1583 CC
="$(CC)"; export CC
; \
1584 CFLAGS
="$(CFLAGS)"; export CFLAGS
; \
1585 CXX
="$(CXX)"; export CXX
; \
1586 CXXFLAGS
="$(CXXFLAGS)"; export CXXFLAGS
; \
1587 if
[ z
$(build_canonical
) != z
$(host_canoncial
) ] ; then \
1588 AR
="$(AR)"; export AR
; \
1589 AS
="$(AS)"; export AS
; \
1590 CC_FOR_BUILD
="$(CC_FOR_BUILD)"; export CC_FOR_BUILD
; \
1591 DLLTOOL
="$(DLLTOOL)"; export DLLTOOL
; \
1592 LD
="$(LD)"; export LD
; \
1593 NM
="$(NM)"; export NM
; \
1594 RANLIB
="$(RANLIB)"; export RANLIB
; \
1595 WINDRES
="$(WINDRES)"; export WINDRES
; \
1596 OBJCOPY
="$(OBJCOPY)"; export OBJCOPY
; \
1597 OBJDUMP
="$(OBJDUMP)"; export OBJDUMP
; \
1599 echo Configuring in bfd
; \
1603 srcdiroption
="--srcdir=."; \
1605 /* |
[A-Za-z
]:[\\/]*) \
1606 srcdiroption
="--srcdir=$(srcdir)/bfd"; \
1607 libsrcdir
="$$s/bfd";; \
1609 srcdiroption
="--srcdir=../$(srcdir)/bfd"; \
1610 libsrcdir
="$$s/bfd";; \
1612 $(SHELL
) $${libsrcdir}/configure \
1613 $(HOST_CONFIGARGS
) $${srcdiroption} \
1616 .PHONY
: all-bfd maybe-all-bfd
1618 all-bfd
: configure-bfd
1619 @r
=`${PWD}`; export r
; \
1620 s
=`cd $(srcdir); ${PWD}`; export s
; \
1622 (cd bfd
&& $(MAKE
) $(FLAGS_TO_PASS
) all)
1627 @r
=`${PWD}`; export r
; \
1628 s
=`cd $(srcdir); ${PWD}`; export s
; \
1630 (cd bfd
&& $(MAKE
) $(FLAGS_TO_PASS
) check)
1634 .PHONY
: install-bfd maybe-install-bfd
1636 install-bfd
: installdirs
1637 @r
=`${PWD}`; export r
; \
1638 s
=`cd $(srcdir); ${PWD}`; export s
; \
1640 (cd bfd
&& $(MAKE
) $(FLAGS_TO_PASS
) install)
1643 .PHONY
: configure-opcodes maybe-configure-opcodes
1644 maybe-configure-opcodes
:
1646 @
test ! -f opcodes
/Makefile || exit
0; \
1647 [ -d opcodes
] || mkdir opcodes
; \
1648 r
=`${PWD}`; export r
; \
1649 s
=`cd $(srcdir); ${PWD}`; export s
; \
1650 CC
="$(CC)"; export CC
; \
1651 CFLAGS
="$(CFLAGS)"; export CFLAGS
; \
1652 CXX
="$(CXX)"; export CXX
; \
1653 CXXFLAGS
="$(CXXFLAGS)"; export CXXFLAGS
; \
1654 if
[ z
$(build_canonical
) != z
$(host_canoncial
) ] ; then \
1655 AR
="$(AR)"; export AR
; \
1656 AS
="$(AS)"; export AS
; \
1657 CC_FOR_BUILD
="$(CC_FOR_BUILD)"; export CC_FOR_BUILD
; \
1658 DLLTOOL
="$(DLLTOOL)"; export DLLTOOL
; \
1659 LD
="$(LD)"; export LD
; \
1660 NM
="$(NM)"; export NM
; \
1661 RANLIB
="$(RANLIB)"; export RANLIB
; \
1662 WINDRES
="$(WINDRES)"; export WINDRES
; \
1663 OBJCOPY
="$(OBJCOPY)"; export OBJCOPY
; \
1664 OBJDUMP
="$(OBJDUMP)"; export OBJDUMP
; \
1666 echo Configuring in opcodes
; \
1667 cd opcodes || exit
1; \
1670 srcdiroption
="--srcdir=."; \
1672 /* |
[A-Za-z
]:[\\/]*) \
1673 srcdiroption
="--srcdir=$(srcdir)/opcodes"; \
1674 libsrcdir
="$$s/opcodes";; \
1676 srcdiroption
="--srcdir=../$(srcdir)/opcodes"; \
1677 libsrcdir
="$$s/opcodes";; \
1679 $(SHELL
) $${libsrcdir}/configure \
1680 $(HOST_CONFIGARGS
) $${srcdiroption} \
1683 .PHONY
: all-opcodes maybe-all-opcodes
1685 all-opcodes
: configure-opcodes
1686 @r
=`${PWD}`; export r
; \
1687 s
=`cd $(srcdir); ${PWD}`; export s
; \
1689 (cd opcodes
&& $(MAKE
) $(FLAGS_TO_PASS
) all)
1692 .PHONY
: check-opcodes
1694 @r
=`${PWD}`; export r
; \
1695 s
=`cd $(srcdir); ${PWD}`; export s
; \
1697 (cd opcodes
&& $(MAKE
) $(FLAGS_TO_PASS
) check)
1701 .PHONY
: install-opcodes maybe-install-opcodes
1702 maybe-install-opcodes
:
1703 install-opcodes
: installdirs
1704 @r
=`${PWD}`; export r
; \
1705 s
=`cd $(srcdir); ${PWD}`; export s
; \
1707 (cd opcodes
&& $(MAKE
) $(FLAGS_TO_PASS
) install)
1710 .PHONY
: configure-binutils maybe-configure-binutils
1711 maybe-configure-binutils
:
1713 @
test ! -f binutils
/Makefile || exit
0; \
1714 [ -d binutils
] || mkdir binutils
; \
1715 r
=`${PWD}`; export r
; \
1716 s
=`cd $(srcdir); ${PWD}`; export s
; \
1717 CC
="$(CC)"; export CC
; \
1718 CFLAGS
="$(CFLAGS)"; export CFLAGS
; \
1719 CXX
="$(CXX)"; export CXX
; \
1720 CXXFLAGS
="$(CXXFLAGS)"; export CXXFLAGS
; \
1721 if
[ z
$(build_canonical
) != z
$(host_canoncial
) ] ; then \
1722 AR
="$(AR)"; export AR
; \
1723 AS
="$(AS)"; export AS
; \
1724 CC_FOR_BUILD
="$(CC_FOR_BUILD)"; export CC_FOR_BUILD
; \
1725 DLLTOOL
="$(DLLTOOL)"; export DLLTOOL
; \
1726 LD
="$(LD)"; export LD
; \
1727 NM
="$(NM)"; export NM
; \
1728 RANLIB
="$(RANLIB)"; export RANLIB
; \
1729 WINDRES
="$(WINDRES)"; export WINDRES
; \
1730 OBJCOPY
="$(OBJCOPY)"; export OBJCOPY
; \
1731 OBJDUMP
="$(OBJDUMP)"; export OBJDUMP
; \
1733 echo Configuring in binutils
; \
1734 cd binutils || exit
1; \
1737 srcdiroption
="--srcdir=."; \
1739 /* |
[A-Za-z
]:[\\/]*) \
1740 srcdiroption
="--srcdir=$(srcdir)/binutils"; \
1741 libsrcdir
="$$s/binutils";; \
1743 srcdiroption
="--srcdir=../$(srcdir)/binutils"; \
1744 libsrcdir
="$$s/binutils";; \
1746 $(SHELL
) $${libsrcdir}/configure \
1747 $(HOST_CONFIGARGS
) $${srcdiroption} \
1750 .PHONY
: all-binutils maybe-all-binutils
1752 all-binutils
: configure-binutils
1753 @r
=`${PWD}`; export r
; \
1754 s
=`cd $(srcdir); ${PWD}`; export s
; \
1756 (cd binutils
&& $(MAKE
) $(FLAGS_TO_PASS
) all)
1759 .PHONY
: check-binutils
1761 @r
=`${PWD}`; export r
; \
1762 s
=`cd $(srcdir); ${PWD}`; export s
; \
1764 (cd binutils
&& $(MAKE
) $(FLAGS_TO_PASS
) check)
1768 .PHONY
: install-binutils maybe-install-binutils
1769 maybe-install-binutils
:
1770 install-binutils
: installdirs
1771 @r
=`${PWD}`; export r
; \
1772 s
=`cd $(srcdir); ${PWD}`; export s
; \
1774 (cd binutils
&& $(MAKE
) $(FLAGS_TO_PASS
) install)
1777 .PHONY
: configure-bison maybe-configure-bison
1778 maybe-configure-bison
:
1780 @
test ! -f bison
/Makefile || exit
0; \
1781 [ -d bison
] || mkdir bison
; \
1782 r
=`${PWD}`; export r
; \
1783 s
=`cd $(srcdir); ${PWD}`; export s
; \
1784 CC
="$(CC)"; export CC
; \
1785 CFLAGS
="$(CFLAGS)"; export CFLAGS
; \
1786 CXX
="$(CXX)"; export CXX
; \
1787 CXXFLAGS
="$(CXXFLAGS)"; export CXXFLAGS
; \
1788 if
[ z
$(build_canonical
) != z
$(host_canoncial
) ] ; then \
1789 AR
="$(AR)"; export AR
; \
1790 AS
="$(AS)"; export AS
; \
1791 CC_FOR_BUILD
="$(CC_FOR_BUILD)"; export CC_FOR_BUILD
; \
1792 DLLTOOL
="$(DLLTOOL)"; export DLLTOOL
; \
1793 LD
="$(LD)"; export LD
; \
1794 NM
="$(NM)"; export NM
; \
1795 RANLIB
="$(RANLIB)"; export RANLIB
; \
1796 WINDRES
="$(WINDRES)"; export WINDRES
; \
1797 OBJCOPY
="$(OBJCOPY)"; export OBJCOPY
; \
1798 OBJDUMP
="$(OBJDUMP)"; export OBJDUMP
; \
1800 echo Configuring in bison
; \
1801 cd bison || exit
1; \
1804 srcdiroption
="--srcdir=."; \
1806 /* |
[A-Za-z
]:[\\/]*) \
1807 srcdiroption
="--srcdir=$(srcdir)/bison"; \
1808 libsrcdir
="$$s/bison";; \
1810 srcdiroption
="--srcdir=../$(srcdir)/bison"; \
1811 libsrcdir
="$$s/bison";; \
1813 $(SHELL
) $${libsrcdir}/configure \
1814 $(HOST_CONFIGARGS
) $${srcdiroption} \
1817 .PHONY
: all-bison maybe-all-bison
1819 all-bison
: configure-bison
1820 @r
=`${PWD}`; export r
; \
1821 s
=`cd $(srcdir); ${PWD}`; export s
; \
1823 (cd bison
&& $(MAKE
) $(FLAGS_TO_PASS
) all)
1827 # This module is only tested in a native toolchain.
1829 @if
[ '$(host_canonical)' = '$(target_canonical)' ] ; then \
1830 r
=`${PWD}`; export r
; \
1831 s
=`cd $(srcdir); ${PWD}`; export s
; \
1833 (cd bison
&& $(MAKE
) $(FLAGS_TO_PASS
) check); \
1838 .PHONY
: install-bison maybe-install-bison
1839 maybe-install-bison
:
1840 install-bison
: installdirs
1841 @r
=`${PWD}`; export r
; \
1842 s
=`cd $(srcdir); ${PWD}`; export s
; \
1844 (cd bison
&& $(MAKE
) $(FLAGS_TO_PASS
) install)
1847 .PHONY
: configure-byacc maybe-configure-byacc
1848 maybe-configure-byacc
:
1850 @
test ! -f byacc
/Makefile || exit
0; \
1851 [ -d byacc
] || mkdir byacc
; \
1852 r
=`${PWD}`; export r
; \
1853 s
=`cd $(srcdir); ${PWD}`; export s
; \
1854 CC
="$(CC)"; export CC
; \
1855 CFLAGS
="$(CFLAGS)"; export CFLAGS
; \
1856 CXX
="$(CXX)"; export CXX
; \
1857 CXXFLAGS
="$(CXXFLAGS)"; export CXXFLAGS
; \
1858 if
[ z
$(build_canonical
) != z
$(host_canoncial
) ] ; then \
1859 AR
="$(AR)"; export AR
; \
1860 AS
="$(AS)"; export AS
; \
1861 CC_FOR_BUILD
="$(CC_FOR_BUILD)"; export CC_FOR_BUILD
; \
1862 DLLTOOL
="$(DLLTOOL)"; export DLLTOOL
; \
1863 LD
="$(LD)"; export LD
; \
1864 NM
="$(NM)"; export NM
; \
1865 RANLIB
="$(RANLIB)"; export RANLIB
; \
1866 WINDRES
="$(WINDRES)"; export WINDRES
; \
1867 OBJCOPY
="$(OBJCOPY)"; export OBJCOPY
; \
1868 OBJDUMP
="$(OBJDUMP)"; export OBJDUMP
; \
1870 echo Configuring in byacc
; \
1871 cd byacc || exit
1; \
1874 srcdiroption
="--srcdir=."; \
1876 /* |
[A-Za-z
]:[\\/]*) \
1877 srcdiroption
="--srcdir=$(srcdir)/byacc"; \
1878 libsrcdir
="$$s/byacc";; \
1880 srcdiroption
="--srcdir=../$(srcdir)/byacc"; \
1881 libsrcdir
="$$s/byacc";; \
1883 $(SHELL
) $${libsrcdir}/configure \
1884 $(HOST_CONFIGARGS
) $${srcdiroption} \
1887 .PHONY
: all-byacc maybe-all-byacc
1889 all-byacc
: configure-byacc
1890 @r
=`${PWD}`; export r
; \
1891 s
=`cd $(srcdir); ${PWD}`; export s
; \
1893 (cd byacc
&& $(MAKE
) $(FLAGS_TO_PASS
) all)
1897 # This module is only tested in a native toolchain.
1899 @if
[ '$(host_canonical)' = '$(target_canonical)' ] ; then \
1900 r
=`${PWD}`; export r
; \
1901 s
=`cd $(srcdir); ${PWD}`; export s
; \
1903 (cd byacc
&& $(MAKE
) $(FLAGS_TO_PASS
) check); \
1908 .PHONY
: install-byacc maybe-install-byacc
1909 maybe-install-byacc
:
1910 install-byacc
: installdirs
1911 @r
=`${PWD}`; export r
; \
1912 s
=`cd $(srcdir); ${PWD}`; export s
; \
1914 (cd byacc
&& $(MAKE
) $(FLAGS_TO_PASS
) install)
1917 .PHONY
: configure-bzip2 maybe-configure-bzip2
1918 maybe-configure-bzip2
:
1920 @
test ! -f bzip2
/Makefile || exit
0; \
1921 [ -d bzip2
] || mkdir bzip2
; \
1922 r
=`${PWD}`; export r
; \
1923 s
=`cd $(srcdir); ${PWD}`; export s
; \
1924 CC
="$(CC)"; export CC
; \
1925 CFLAGS
="$(CFLAGS)"; export CFLAGS
; \
1926 CXX
="$(CXX)"; export CXX
; \
1927 CXXFLAGS
="$(CXXFLAGS)"; export CXXFLAGS
; \
1928 if
[ z
$(build_canonical
) != z
$(host_canoncial
) ] ; then \
1929 AR
="$(AR)"; export AR
; \
1930 AS
="$(AS)"; export AS
; \
1931 CC_FOR_BUILD
="$(CC_FOR_BUILD)"; export CC_FOR_BUILD
; \
1932 DLLTOOL
="$(DLLTOOL)"; export DLLTOOL
; \
1933 LD
="$(LD)"; export LD
; \
1934 NM
="$(NM)"; export NM
; \
1935 RANLIB
="$(RANLIB)"; export RANLIB
; \
1936 WINDRES
="$(WINDRES)"; export WINDRES
; \
1937 OBJCOPY
="$(OBJCOPY)"; export OBJCOPY
; \
1938 OBJDUMP
="$(OBJDUMP)"; export OBJDUMP
; \
1940 echo Configuring in bzip2
; \
1941 cd bzip2 || exit
1; \
1944 srcdiroption
="--srcdir=."; \
1946 /* |
[A-Za-z
]:[\\/]*) \
1947 srcdiroption
="--srcdir=$(srcdir)/bzip2"; \
1948 libsrcdir
="$$s/bzip2";; \
1950 srcdiroption
="--srcdir=../$(srcdir)/bzip2"; \
1951 libsrcdir
="$$s/bzip2";; \
1953 $(SHELL
) $${libsrcdir}/configure \
1954 $(HOST_CONFIGARGS
) $${srcdiroption} \
1957 .PHONY
: all-bzip2 maybe-all-bzip2
1959 all-bzip2
: configure-bzip2
1960 @r
=`${PWD}`; export r
; \
1961 s
=`cd $(srcdir); ${PWD}`; export s
; \
1963 (cd bzip2
&& $(MAKE
) $(FLAGS_TO_PASS
) all)
1968 @r
=`${PWD}`; export r
; \
1969 s
=`cd $(srcdir); ${PWD}`; export s
; \
1971 (cd bzip2
&& $(MAKE
) $(FLAGS_TO_PASS
) check)
1975 .PHONY
: install-bzip2 maybe-install-bzip2
1976 maybe-install-bzip2
:
1977 install-bzip2
: installdirs
1978 @r
=`${PWD}`; export r
; \
1979 s
=`cd $(srcdir); ${PWD}`; export s
; \
1981 (cd bzip2
&& $(MAKE
) $(FLAGS_TO_PASS
) install)
1984 .PHONY
: configure-dejagnu maybe-configure-dejagnu
1985 maybe-configure-dejagnu
:
1987 @
test ! -f dejagnu
/Makefile || exit
0; \
1988 [ -d dejagnu
] || mkdir dejagnu
; \
1989 r
=`${PWD}`; export r
; \
1990 s
=`cd $(srcdir); ${PWD}`; export s
; \
1991 CC
="$(CC)"; export CC
; \
1992 CFLAGS
="$(CFLAGS)"; export CFLAGS
; \
1993 CXX
="$(CXX)"; export CXX
; \
1994 CXXFLAGS
="$(CXXFLAGS)"; export CXXFLAGS
; \
1995 if
[ z
$(build_canonical
) != z
$(host_canoncial
) ] ; then \
1996 AR
="$(AR)"; export AR
; \
1997 AS
="$(AS)"; export AS
; \
1998 CC_FOR_BUILD
="$(CC_FOR_BUILD)"; export CC_FOR_BUILD
; \
1999 DLLTOOL
="$(DLLTOOL)"; export DLLTOOL
; \
2000 LD
="$(LD)"; export LD
; \
2001 NM
="$(NM)"; export NM
; \
2002 RANLIB
="$(RANLIB)"; export RANLIB
; \
2003 WINDRES
="$(WINDRES)"; export WINDRES
; \
2004 OBJCOPY
="$(OBJCOPY)"; export OBJCOPY
; \
2005 OBJDUMP
="$(OBJDUMP)"; export OBJDUMP
; \
2007 echo Configuring in dejagnu
; \
2008 cd dejagnu || exit
1; \
2011 srcdiroption
="--srcdir=."; \
2013 /* |
[A-Za-z
]:[\\/]*) \
2014 srcdiroption
="--srcdir=$(srcdir)/dejagnu"; \
2015 libsrcdir
="$$s/dejagnu";; \
2017 srcdiroption
="--srcdir=../$(srcdir)/dejagnu"; \
2018 libsrcdir
="$$s/dejagnu";; \
2020 $(SHELL
) $${libsrcdir}/configure \
2021 $(HOST_CONFIGARGS
) $${srcdiroption} \
2024 .PHONY
: all-dejagnu maybe-all-dejagnu
2026 all-dejagnu
: configure-dejagnu
2027 @r
=`${PWD}`; export r
; \
2028 s
=`cd $(srcdir); ${PWD}`; export s
; \
2030 (cd dejagnu
&& $(MAKE
) $(FLAGS_TO_PASS
) all)
2033 .PHONY
: check-dejagnu
2035 @r
=`${PWD}`; export r
; \
2036 s
=`cd $(srcdir); ${PWD}`; export s
; \
2038 (cd dejagnu
&& $(MAKE
) $(FLAGS_TO_PASS
) check)
2042 .PHONY
: install-dejagnu maybe-install-dejagnu
2043 maybe-install-dejagnu
:
2044 install-dejagnu
: installdirs
2045 @r
=`${PWD}`; export r
; \
2046 s
=`cd $(srcdir); ${PWD}`; export s
; \
2048 (cd dejagnu
&& $(MAKE
) $(FLAGS_TO_PASS
) install)
2051 .PHONY
: configure-diff maybe-configure-diff
2052 maybe-configure-diff
:
2054 @
test ! -f diff
/Makefile || exit
0; \
2055 [ -d diff
] || mkdir diff
; \
2056 r
=`${PWD}`; export r
; \
2057 s
=`cd $(srcdir); ${PWD}`; export s
; \
2058 CC
="$(CC)"; export CC
; \
2059 CFLAGS
="$(CFLAGS)"; export CFLAGS
; \
2060 CXX
="$(CXX)"; export CXX
; \
2061 CXXFLAGS
="$(CXXFLAGS)"; export CXXFLAGS
; \
2062 if
[ z
$(build_canonical
) != z
$(host_canoncial
) ] ; then \
2063 AR
="$(AR)"; export AR
; \
2064 AS
="$(AS)"; export AS
; \
2065 CC_FOR_BUILD
="$(CC_FOR_BUILD)"; export CC_FOR_BUILD
; \
2066 DLLTOOL
="$(DLLTOOL)"; export DLLTOOL
; \
2067 LD
="$(LD)"; export LD
; \
2068 NM
="$(NM)"; export NM
; \
2069 RANLIB
="$(RANLIB)"; export RANLIB
; \
2070 WINDRES
="$(WINDRES)"; export WINDRES
; \
2071 OBJCOPY
="$(OBJCOPY)"; export OBJCOPY
; \
2072 OBJDUMP
="$(OBJDUMP)"; export OBJDUMP
; \
2074 echo Configuring in diff
; \
2075 cd diff || exit
1; \
2078 srcdiroption
="--srcdir=."; \
2080 /* |
[A-Za-z
]:[\\/]*) \
2081 srcdiroption
="--srcdir=$(srcdir)/diff"; \
2082 libsrcdir
="$$s/diff";; \
2084 srcdiroption
="--srcdir=../$(srcdir)/diff"; \
2085 libsrcdir
="$$s/diff";; \
2087 $(SHELL
) $${libsrcdir}/configure \
2088 $(HOST_CONFIGARGS
) $${srcdiroption} \
2091 .PHONY
: all-diff maybe-all-diff
2093 all-diff
: configure-diff
2094 @r
=`${PWD}`; export r
; \
2095 s
=`cd $(srcdir); ${PWD}`; export s
; \
2097 (cd diff
&& $(MAKE
) $(FLAGS_TO_PASS
) all)
2102 @r
=`${PWD}`; export r
; \
2103 s
=`cd $(srcdir); ${PWD}`; export s
; \
2105 (cd diff
&& $(MAKE
) $(FLAGS_TO_PASS
) check)
2109 .PHONY
: install-diff maybe-install-diff
2111 install-diff
: installdirs
2112 @r
=`${PWD}`; export r
; \
2113 s
=`cd $(srcdir); ${PWD}`; export s
; \
2115 (cd diff
&& $(MAKE
) $(FLAGS_TO_PASS
) install)
2118 .PHONY
: configure-dosutils maybe-configure-dosutils
2119 maybe-configure-dosutils
:
2121 @
test ! -f dosutils
/Makefile || exit
0; \
2122 [ -d dosutils
] || mkdir dosutils
; \
2123 r
=`${PWD}`; export r
; \
2124 s
=`cd $(srcdir); ${PWD}`; export s
; \
2125 CC
="$(CC)"; export CC
; \
2126 CFLAGS
="$(CFLAGS)"; export CFLAGS
; \
2127 CXX
="$(CXX)"; export CXX
; \
2128 CXXFLAGS
="$(CXXFLAGS)"; export CXXFLAGS
; \
2129 if
[ z
$(build_canonical
) != z
$(host_canoncial
) ] ; then \
2130 AR
="$(AR)"; export AR
; \
2131 AS
="$(AS)"; export AS
; \
2132 CC_FOR_BUILD
="$(CC_FOR_BUILD)"; export CC_FOR_BUILD
; \
2133 DLLTOOL
="$(DLLTOOL)"; export DLLTOOL
; \
2134 LD
="$(LD)"; export LD
; \
2135 NM
="$(NM)"; export NM
; \
2136 RANLIB
="$(RANLIB)"; export RANLIB
; \
2137 WINDRES
="$(WINDRES)"; export WINDRES
; \
2138 OBJCOPY
="$(OBJCOPY)"; export OBJCOPY
; \
2139 OBJDUMP
="$(OBJDUMP)"; export OBJDUMP
; \
2141 echo Configuring in dosutils
; \
2142 cd dosutils || exit
1; \
2145 srcdiroption
="--srcdir=."; \
2147 /* |
[A-Za-z
]:[\\/]*) \
2148 srcdiroption
="--srcdir=$(srcdir)/dosutils"; \
2149 libsrcdir
="$$s/dosutils";; \
2151 srcdiroption
="--srcdir=../$(srcdir)/dosutils"; \
2152 libsrcdir
="$$s/dosutils";; \
2154 $(SHELL
) $${libsrcdir}/configure \
2155 $(HOST_CONFIGARGS
) $${srcdiroption} \
2158 .PHONY
: all-dosutils maybe-all-dosutils
2160 all-dosutils
: configure-dosutils
2161 @r
=`${PWD}`; export r
; \
2162 s
=`cd $(srcdir); ${PWD}`; export s
; \
2164 (cd dosutils
&& $(MAKE
) $(FLAGS_TO_PASS
) all)
2167 .PHONY
: check-dosutils
2172 .PHONY
: install-dosutils maybe-install-dosutils
2173 maybe-install-dosutils
:
2174 install-dosutils
: installdirs
2175 @r
=`${PWD}`; export r
; \
2176 s
=`cd $(srcdir); ${PWD}`; export s
; \
2178 (cd dosutils
&& $(MAKE
) $(FLAGS_TO_PASS
) install)
2181 .PHONY
: configure-etc maybe-configure-etc
2182 maybe-configure-etc
:
2184 @
test ! -f etc
/Makefile || exit
0; \
2185 [ -d etc
] || mkdir etc
; \
2186 r
=`${PWD}`; export r
; \
2187 s
=`cd $(srcdir); ${PWD}`; export s
; \
2188 CC
="$(CC)"; export CC
; \
2189 CFLAGS
="$(CFLAGS)"; export CFLAGS
; \
2190 CXX
="$(CXX)"; export CXX
; \
2191 CXXFLAGS
="$(CXXFLAGS)"; export CXXFLAGS
; \
2192 if
[ z
$(build_canonical
) != z
$(host_canoncial
) ] ; then \
2193 AR
="$(AR)"; export AR
; \
2194 AS
="$(AS)"; export AS
; \
2195 CC_FOR_BUILD
="$(CC_FOR_BUILD)"; export CC_FOR_BUILD
; \
2196 DLLTOOL
="$(DLLTOOL)"; export DLLTOOL
; \
2197 LD
="$(LD)"; export LD
; \
2198 NM
="$(NM)"; export NM
; \
2199 RANLIB
="$(RANLIB)"; export RANLIB
; \
2200 WINDRES
="$(WINDRES)"; export WINDRES
; \
2201 OBJCOPY
="$(OBJCOPY)"; export OBJCOPY
; \
2202 OBJDUMP
="$(OBJDUMP)"; export OBJDUMP
; \
2204 echo Configuring in etc
; \
2208 srcdiroption
="--srcdir=."; \
2210 /* |
[A-Za-z
]:[\\/]*) \
2211 srcdiroption
="--srcdir=$(srcdir)/etc"; \
2212 libsrcdir
="$$s/etc";; \
2214 srcdiroption
="--srcdir=../$(srcdir)/etc"; \
2215 libsrcdir
="$$s/etc";; \
2217 $(SHELL
) $${libsrcdir}/configure \
2218 $(HOST_CONFIGARGS
) $${srcdiroption} \
2221 .PHONY
: all-etc maybe-all-etc
2223 all-etc
: configure-etc
2224 @r
=`${PWD}`; export r
; \
2225 s
=`cd $(srcdir); ${PWD}`; export s
; \
2227 (cd etc
&& $(MAKE
) $(FLAGS_TO_PASS
) all)
2232 @r
=`${PWD}`; export r
; \
2233 s
=`cd $(srcdir); ${PWD}`; export s
; \
2235 (cd etc
&& $(MAKE
) $(FLAGS_TO_PASS
) check)
2239 .PHONY
: install-etc maybe-install-etc
2241 install-etc
: installdirs
2242 @r
=`${PWD}`; export r
; \
2243 s
=`cd $(srcdir); ${PWD}`; export s
; \
2245 (cd etc
&& $(MAKE
) $(FLAGS_TO_PASS
) install)
2248 .PHONY
: configure-fastjar maybe-configure-fastjar
2249 maybe-configure-fastjar
:
2251 @
test ! -f fastjar
/Makefile || exit
0; \
2252 [ -d fastjar
] || mkdir fastjar
; \
2253 r
=`${PWD}`; export r
; \
2254 s
=`cd $(srcdir); ${PWD}`; export s
; \
2255 CC
="$(CC)"; export CC
; \
2256 CFLAGS
="$(CFLAGS)"; export CFLAGS
; \
2257 CXX
="$(CXX)"; export CXX
; \
2258 CXXFLAGS
="$(CXXFLAGS)"; export CXXFLAGS
; \
2259 if
[ z
$(build_canonical
) != z
$(host_canoncial
) ] ; then \
2260 AR
="$(AR)"; export AR
; \
2261 AS
="$(AS)"; export AS
; \
2262 CC_FOR_BUILD
="$(CC_FOR_BUILD)"; export CC_FOR_BUILD
; \
2263 DLLTOOL
="$(DLLTOOL)"; export DLLTOOL
; \
2264 LD
="$(LD)"; export LD
; \
2265 NM
="$(NM)"; export NM
; \
2266 RANLIB
="$(RANLIB)"; export RANLIB
; \
2267 WINDRES
="$(WINDRES)"; export WINDRES
; \
2268 OBJCOPY
="$(OBJCOPY)"; export OBJCOPY
; \
2269 OBJDUMP
="$(OBJDUMP)"; export OBJDUMP
; \
2271 echo Configuring in fastjar
; \
2272 cd fastjar || exit
1; \
2275 srcdiroption
="--srcdir=."; \
2277 /* |
[A-Za-z
]:[\\/]*) \
2278 srcdiroption
="--srcdir=$(srcdir)/fastjar"; \
2279 libsrcdir
="$$s/fastjar";; \
2281 srcdiroption
="--srcdir=../$(srcdir)/fastjar"; \
2282 libsrcdir
="$$s/fastjar";; \
2284 $(SHELL
) $${libsrcdir}/configure \
2285 $(HOST_CONFIGARGS
) $${srcdiroption} \
2288 .PHONY
: all-fastjar maybe-all-fastjar
2290 all-fastjar
: configure-fastjar
2291 @r
=`${PWD}`; export r
; \
2292 s
=`cd $(srcdir); ${PWD}`; export s
; \
2294 (cd fastjar
&& $(MAKE
) $(FLAGS_TO_PASS
) all)
2297 .PHONY
: check-fastjar
2298 # This module is only tested in a native toolchain.
2300 @if
[ '$(host_canonical)' = '$(target_canonical)' ] ; then \
2301 r
=`${PWD}`; export r
; \
2302 s
=`cd $(srcdir); ${PWD}`; export s
; \
2304 (cd fastjar
&& $(MAKE
) $(FLAGS_TO_PASS
) check); \
2309 .PHONY
: install-fastjar maybe-install-fastjar
2310 maybe-install-fastjar
:
2311 install-fastjar
: installdirs
2312 @r
=`${PWD}`; export r
; \
2313 s
=`cd $(srcdir); ${PWD}`; export s
; \
2315 (cd fastjar
&& $(MAKE
) $(FLAGS_TO_PASS
) install)
2318 .PHONY
: configure-fileutils maybe-configure-fileutils
2319 maybe-configure-fileutils
:
2320 configure-fileutils
:
2321 @
test ! -f fileutils
/Makefile || exit
0; \
2322 [ -d fileutils
] || mkdir fileutils
; \
2323 r
=`${PWD}`; export r
; \
2324 s
=`cd $(srcdir); ${PWD}`; export s
; \
2325 CC
="$(CC)"; export CC
; \
2326 CFLAGS
="$(CFLAGS)"; export CFLAGS
; \
2327 CXX
="$(CXX)"; export CXX
; \
2328 CXXFLAGS
="$(CXXFLAGS)"; export CXXFLAGS
; \
2329 if
[ z
$(build_canonical
) != z
$(host_canoncial
) ] ; then \
2330 AR
="$(AR)"; export AR
; \
2331 AS
="$(AS)"; export AS
; \
2332 CC_FOR_BUILD
="$(CC_FOR_BUILD)"; export CC_FOR_BUILD
; \
2333 DLLTOOL
="$(DLLTOOL)"; export DLLTOOL
; \
2334 LD
="$(LD)"; export LD
; \
2335 NM
="$(NM)"; export NM
; \
2336 RANLIB
="$(RANLIB)"; export RANLIB
; \
2337 WINDRES
="$(WINDRES)"; export WINDRES
; \
2338 OBJCOPY
="$(OBJCOPY)"; export OBJCOPY
; \
2339 OBJDUMP
="$(OBJDUMP)"; export OBJDUMP
; \
2341 echo Configuring in fileutils
; \
2342 cd fileutils || exit
1; \
2345 srcdiroption
="--srcdir=."; \
2347 /* |
[A-Za-z
]:[\\/]*) \
2348 srcdiroption
="--srcdir=$(srcdir)/fileutils"; \
2349 libsrcdir
="$$s/fileutils";; \
2351 srcdiroption
="--srcdir=../$(srcdir)/fileutils"; \
2352 libsrcdir
="$$s/fileutils";; \
2354 $(SHELL
) $${libsrcdir}/configure \
2355 $(HOST_CONFIGARGS
) $${srcdiroption} \
2358 .PHONY
: all-fileutils maybe-all-fileutils
2359 maybe-all-fileutils
:
2360 all-fileutils
: configure-fileutils
2361 @r
=`${PWD}`; export r
; \
2362 s
=`cd $(srcdir); ${PWD}`; export s
; \
2364 (cd fileutils
&& $(MAKE
) $(FLAGS_TO_PASS
) all)
2367 .PHONY
: check-fileutils
2369 @r
=`${PWD}`; export r
; \
2370 s
=`cd $(srcdir); ${PWD}`; export s
; \
2372 (cd fileutils
&& $(MAKE
) $(FLAGS_TO_PASS
) check)
2376 .PHONY
: install-fileutils maybe-install-fileutils
2377 maybe-install-fileutils
:
2378 install-fileutils
: installdirs
2379 @r
=`${PWD}`; export r
; \
2380 s
=`cd $(srcdir); ${PWD}`; export s
; \
2382 (cd fileutils
&& $(MAKE
) $(FLAGS_TO_PASS
) install)
2385 .PHONY
: configure-findutils maybe-configure-findutils
2386 maybe-configure-findutils
:
2387 configure-findutils
:
2388 @
test ! -f findutils
/Makefile || exit
0; \
2389 [ -d findutils
] || mkdir findutils
; \
2390 r
=`${PWD}`; export r
; \
2391 s
=`cd $(srcdir); ${PWD}`; export s
; \
2392 CC
="$(CC)"; export CC
; \
2393 CFLAGS
="$(CFLAGS)"; export CFLAGS
; \
2394 CXX
="$(CXX)"; export CXX
; \
2395 CXXFLAGS
="$(CXXFLAGS)"; export CXXFLAGS
; \
2396 if
[ z
$(build_canonical
) != z
$(host_canoncial
) ] ; then \
2397 AR
="$(AR)"; export AR
; \
2398 AS
="$(AS)"; export AS
; \
2399 CC_FOR_BUILD
="$(CC_FOR_BUILD)"; export CC_FOR_BUILD
; \
2400 DLLTOOL
="$(DLLTOOL)"; export DLLTOOL
; \
2401 LD
="$(LD)"; export LD
; \
2402 NM
="$(NM)"; export NM
; \
2403 RANLIB
="$(RANLIB)"; export RANLIB
; \
2404 WINDRES
="$(WINDRES)"; export WINDRES
; \
2405 OBJCOPY
="$(OBJCOPY)"; export OBJCOPY
; \
2406 OBJDUMP
="$(OBJDUMP)"; export OBJDUMP
; \
2408 echo Configuring in findutils
; \
2409 cd findutils || exit
1; \
2412 srcdiroption
="--srcdir=."; \
2414 /* |
[A-Za-z
]:[\\/]*) \
2415 srcdiroption
="--srcdir=$(srcdir)/findutils"; \
2416 libsrcdir
="$$s/findutils";; \
2418 srcdiroption
="--srcdir=../$(srcdir)/findutils"; \
2419 libsrcdir
="$$s/findutils";; \
2421 $(SHELL
) $${libsrcdir}/configure \
2422 $(HOST_CONFIGARGS
) $${srcdiroption} \
2425 .PHONY
: all-findutils maybe-all-findutils
2426 maybe-all-findutils
:
2427 all-findutils
: configure-findutils
2428 @r
=`${PWD}`; export r
; \
2429 s
=`cd $(srcdir); ${PWD}`; export s
; \
2431 (cd findutils
&& $(MAKE
) $(FLAGS_TO_PASS
) all)
2434 .PHONY
: check-findutils
2436 @r
=`${PWD}`; export r
; \
2437 s
=`cd $(srcdir); ${PWD}`; export s
; \
2439 (cd findutils
&& $(MAKE
) $(FLAGS_TO_PASS
) check)
2443 .PHONY
: install-findutils maybe-install-findutils
2444 maybe-install-findutils
:
2445 install-findutils
: installdirs
2446 @r
=`${PWD}`; export r
; \
2447 s
=`cd $(srcdir); ${PWD}`; export s
; \
2449 (cd findutils
&& $(MAKE
) $(FLAGS_TO_PASS
) install)
2452 .PHONY
: configure-find maybe-configure-find
2453 maybe-configure-find
:
2455 @
test ! -f find
/Makefile || exit
0; \
2456 [ -d find
] || mkdir find
; \
2457 r
=`${PWD}`; export r
; \
2458 s
=`cd $(srcdir); ${PWD}`; export s
; \
2459 CC
="$(CC)"; export CC
; \
2460 CFLAGS
="$(CFLAGS)"; export CFLAGS
; \
2461 CXX
="$(CXX)"; export CXX
; \
2462 CXXFLAGS
="$(CXXFLAGS)"; export CXXFLAGS
; \
2463 if
[ z
$(build_canonical
) != z
$(host_canoncial
) ] ; then \
2464 AR
="$(AR)"; export AR
; \
2465 AS
="$(AS)"; export AS
; \
2466 CC_FOR_BUILD
="$(CC_FOR_BUILD)"; export CC_FOR_BUILD
; \
2467 DLLTOOL
="$(DLLTOOL)"; export DLLTOOL
; \
2468 LD
="$(LD)"; export LD
; \
2469 NM
="$(NM)"; export NM
; \
2470 RANLIB
="$(RANLIB)"; export RANLIB
; \
2471 WINDRES
="$(WINDRES)"; export WINDRES
; \
2472 OBJCOPY
="$(OBJCOPY)"; export OBJCOPY
; \
2473 OBJDUMP
="$(OBJDUMP)"; export OBJDUMP
; \
2475 echo Configuring in find
; \
2476 cd find || exit
1; \
2479 srcdiroption
="--srcdir=."; \
2481 /* |
[A-Za-z
]:[\\/]*) \
2482 srcdiroption
="--srcdir=$(srcdir)/find"; \
2483 libsrcdir
="$$s/find";; \
2485 srcdiroption
="--srcdir=../$(srcdir)/find"; \
2486 libsrcdir
="$$s/find";; \
2488 $(SHELL
) $${libsrcdir}/configure \
2489 $(HOST_CONFIGARGS
) $${srcdiroption} \
2492 .PHONY
: all-find maybe-all-find
2494 all-find
: configure-find
2495 @r
=`${PWD}`; export r
; \
2496 s
=`cd $(srcdir); ${PWD}`; export s
; \
2498 (cd find
&& $(MAKE
) $(FLAGS_TO_PASS
) all)
2503 @r
=`${PWD}`; export r
; \
2504 s
=`cd $(srcdir); ${PWD}`; export s
; \
2506 (cd find
&& $(MAKE
) $(FLAGS_TO_PASS
) check)
2510 .PHONY
: install-find maybe-install-find
2512 install-find
: installdirs
2513 @r
=`${PWD}`; export r
; \
2514 s
=`cd $(srcdir); ${PWD}`; export s
; \
2516 (cd find
&& $(MAKE
) $(FLAGS_TO_PASS
) install)
2519 .PHONY
: configure-flex maybe-configure-flex
2520 maybe-configure-flex
:
2522 @
test ! -f flex
/Makefile || exit
0; \
2523 [ -d flex
] || mkdir flex
; \
2524 r
=`${PWD}`; export r
; \
2525 s
=`cd $(srcdir); ${PWD}`; export s
; \
2526 CC
="$(CC)"; export CC
; \
2527 CFLAGS
="$(CFLAGS)"; export CFLAGS
; \
2528 CXX
="$(CXX)"; export CXX
; \
2529 CXXFLAGS
="$(CXXFLAGS)"; export CXXFLAGS
; \
2530 if
[ z
$(build_canonical
) != z
$(host_canoncial
) ] ; then \
2531 AR
="$(AR)"; export AR
; \
2532 AS
="$(AS)"; export AS
; \
2533 CC_FOR_BUILD
="$(CC_FOR_BUILD)"; export CC_FOR_BUILD
; \
2534 DLLTOOL
="$(DLLTOOL)"; export DLLTOOL
; \
2535 LD
="$(LD)"; export LD
; \
2536 NM
="$(NM)"; export NM
; \
2537 RANLIB
="$(RANLIB)"; export RANLIB
; \
2538 WINDRES
="$(WINDRES)"; export WINDRES
; \
2539 OBJCOPY
="$(OBJCOPY)"; export OBJCOPY
; \
2540 OBJDUMP
="$(OBJDUMP)"; export OBJDUMP
; \
2542 echo Configuring in flex
; \
2543 cd flex || exit
1; \
2546 srcdiroption
="--srcdir=."; \
2548 /* |
[A-Za-z
]:[\\/]*) \
2549 srcdiroption
="--srcdir=$(srcdir)/flex"; \
2550 libsrcdir
="$$s/flex";; \
2552 srcdiroption
="--srcdir=../$(srcdir)/flex"; \
2553 libsrcdir
="$$s/flex";; \
2555 $(SHELL
) $${libsrcdir}/configure \
2556 $(HOST_CONFIGARGS
) $${srcdiroption} \
2559 .PHONY
: all-flex maybe-all-flex
2561 all-flex
: configure-flex
2562 @r
=`${PWD}`; export r
; \
2563 s
=`cd $(srcdir); ${PWD}`; export s
; \
2565 (cd flex
&& $(MAKE
) $(FLAGS_TO_PASS
) all)
2569 # This module is only tested in a native toolchain.
2571 @if
[ '$(host_canonical)' = '$(target_canonical)' ] ; then \
2572 r
=`${PWD}`; export r
; \
2573 s
=`cd $(srcdir); ${PWD}`; export s
; \
2575 (cd flex
&& $(MAKE
) $(FLAGS_TO_PASS
) check); \
2580 .PHONY
: install-flex maybe-install-flex
2582 install-flex
: installdirs
2583 @r
=`${PWD}`; export r
; \
2584 s
=`cd $(srcdir); ${PWD}`; export s
; \
2586 (cd flex
&& $(MAKE
) $(FLAGS_TO_PASS
) install)
2589 .PHONY
: configure-gas maybe-configure-gas
2590 maybe-configure-gas
:
2592 @
test ! -f gas
/Makefile || exit
0; \
2593 [ -d gas
] || mkdir gas
; \
2594 r
=`${PWD}`; export r
; \
2595 s
=`cd $(srcdir); ${PWD}`; export s
; \
2596 CC
="$(CC)"; export CC
; \
2597 CFLAGS
="$(CFLAGS)"; export CFLAGS
; \
2598 CXX
="$(CXX)"; export CXX
; \
2599 CXXFLAGS
="$(CXXFLAGS)"; export CXXFLAGS
; \
2600 if
[ z
$(build_canonical
) != z
$(host_canoncial
) ] ; then \
2601 AR
="$(AR)"; export AR
; \
2602 AS
="$(AS)"; export AS
; \
2603 CC_FOR_BUILD
="$(CC_FOR_BUILD)"; export CC_FOR_BUILD
; \
2604 DLLTOOL
="$(DLLTOOL)"; export DLLTOOL
; \
2605 LD
="$(LD)"; export LD
; \
2606 NM
="$(NM)"; export NM
; \
2607 RANLIB
="$(RANLIB)"; export RANLIB
; \
2608 WINDRES
="$(WINDRES)"; export WINDRES
; \
2609 OBJCOPY
="$(OBJCOPY)"; export OBJCOPY
; \
2610 OBJDUMP
="$(OBJDUMP)"; export OBJDUMP
; \
2612 echo Configuring in gas
; \
2616 srcdiroption
="--srcdir=."; \
2618 /* |
[A-Za-z
]:[\\/]*) \
2619 srcdiroption
="--srcdir=$(srcdir)/gas"; \
2620 libsrcdir
="$$s/gas";; \
2622 srcdiroption
="--srcdir=../$(srcdir)/gas"; \
2623 libsrcdir
="$$s/gas";; \
2625 $(SHELL
) $${libsrcdir}/configure \
2626 $(HOST_CONFIGARGS
) $${srcdiroption} \
2629 .PHONY
: all-gas maybe-all-gas
2631 all-gas
: configure-gas
2632 @r
=`${PWD}`; export r
; \
2633 s
=`cd $(srcdir); ${PWD}`; export s
; \
2635 (cd gas
&& $(MAKE
) $(FLAGS_TO_PASS
) all)
2640 @r
=`${PWD}`; export r
; \
2641 s
=`cd $(srcdir); ${PWD}`; export s
; \
2643 (cd gas
&& $(MAKE
) $(FLAGS_TO_PASS
) check)
2647 .PHONY
: install-gas maybe-install-gas
2649 install-gas
: installdirs
2650 @r
=`${PWD}`; export r
; \
2651 s
=`cd $(srcdir); ${PWD}`; export s
; \
2653 (cd gas
&& $(MAKE
) $(FLAGS_TO_PASS
) install)
2656 .PHONY
: configure-gawk maybe-configure-gawk
2657 maybe-configure-gawk
:
2659 @
test ! -f gawk
/Makefile || exit
0; \
2660 [ -d gawk
] || mkdir gawk
; \
2661 r
=`${PWD}`; export r
; \
2662 s
=`cd $(srcdir); ${PWD}`; export s
; \
2663 CC
="$(CC)"; export CC
; \
2664 CFLAGS
="$(CFLAGS)"; export CFLAGS
; \
2665 CXX
="$(CXX)"; export CXX
; \
2666 CXXFLAGS
="$(CXXFLAGS)"; export CXXFLAGS
; \
2667 if
[ z
$(build_canonical
) != z
$(host_canoncial
) ] ; then \
2668 AR
="$(AR)"; export AR
; \
2669 AS
="$(AS)"; export AS
; \
2670 CC_FOR_BUILD
="$(CC_FOR_BUILD)"; export CC_FOR_BUILD
; \
2671 DLLTOOL
="$(DLLTOOL)"; export DLLTOOL
; \
2672 LD
="$(LD)"; export LD
; \
2673 NM
="$(NM)"; export NM
; \
2674 RANLIB
="$(RANLIB)"; export RANLIB
; \
2675 WINDRES
="$(WINDRES)"; export WINDRES
; \
2676 OBJCOPY
="$(OBJCOPY)"; export OBJCOPY
; \
2677 OBJDUMP
="$(OBJDUMP)"; export OBJDUMP
; \
2679 echo Configuring in gawk
; \
2680 cd gawk || exit
1; \
2683 srcdiroption
="--srcdir=."; \
2685 /* |
[A-Za-z
]:[\\/]*) \
2686 srcdiroption
="--srcdir=$(srcdir)/gawk"; \
2687 libsrcdir
="$$s/gawk";; \
2689 srcdiroption
="--srcdir=../$(srcdir)/gawk"; \
2690 libsrcdir
="$$s/gawk";; \
2692 $(SHELL
) $${libsrcdir}/configure \
2693 $(HOST_CONFIGARGS
) $${srcdiroption} \
2696 .PHONY
: all-gawk maybe-all-gawk
2698 all-gawk
: configure-gawk
2699 @r
=`${PWD}`; export r
; \
2700 s
=`cd $(srcdir); ${PWD}`; export s
; \
2702 (cd gawk
&& $(MAKE
) $(FLAGS_TO_PASS
) all)
2707 @r
=`${PWD}`; export r
; \
2708 s
=`cd $(srcdir); ${PWD}`; export s
; \
2710 (cd gawk
&& $(MAKE
) $(FLAGS_TO_PASS
) check)
2714 .PHONY
: install-gawk maybe-install-gawk
2716 install-gawk
: installdirs
2717 @r
=`${PWD}`; export r
; \
2718 s
=`cd $(srcdir); ${PWD}`; export s
; \
2720 (cd gawk
&& $(MAKE
) $(FLAGS_TO_PASS
) install)
2723 .PHONY
: configure-gettext maybe-configure-gettext
2724 maybe-configure-gettext
:
2726 @
test ! -f gettext
/Makefile || exit
0; \
2727 [ -d gettext
] || mkdir gettext
; \
2728 r
=`${PWD}`; export r
; \
2729 s
=`cd $(srcdir); ${PWD}`; export s
; \
2730 CC
="$(CC)"; export CC
; \
2731 CFLAGS
="$(CFLAGS)"; export CFLAGS
; \
2732 CXX
="$(CXX)"; export CXX
; \
2733 CXXFLAGS
="$(CXXFLAGS)"; export CXXFLAGS
; \
2734 if
[ z
$(build_canonical
) != z
$(host_canoncial
) ] ; then \
2735 AR
="$(AR)"; export AR
; \
2736 AS
="$(AS)"; export AS
; \
2737 CC_FOR_BUILD
="$(CC_FOR_BUILD)"; export CC_FOR_BUILD
; \
2738 DLLTOOL
="$(DLLTOOL)"; export DLLTOOL
; \
2739 LD
="$(LD)"; export LD
; \
2740 NM
="$(NM)"; export NM
; \
2741 RANLIB
="$(RANLIB)"; export RANLIB
; \
2742 WINDRES
="$(WINDRES)"; export WINDRES
; \
2743 OBJCOPY
="$(OBJCOPY)"; export OBJCOPY
; \
2744 OBJDUMP
="$(OBJDUMP)"; export OBJDUMP
; \
2746 echo Configuring in gettext
; \
2747 cd gettext || exit
1; \
2750 srcdiroption
="--srcdir=."; \
2752 /* |
[A-Za-z
]:[\\/]*) \
2753 srcdiroption
="--srcdir=$(srcdir)/gettext"; \
2754 libsrcdir
="$$s/gettext";; \
2756 srcdiroption
="--srcdir=../$(srcdir)/gettext"; \
2757 libsrcdir
="$$s/gettext";; \
2759 $(SHELL
) $${libsrcdir}/configure \
2760 $(HOST_CONFIGARGS
) $${srcdiroption} \
2763 .PHONY
: all-gettext maybe-all-gettext
2765 all-gettext
: configure-gettext
2766 @r
=`${PWD}`; export r
; \
2767 s
=`cd $(srcdir); ${PWD}`; export s
; \
2769 (cd gettext
&& $(MAKE
) $(FLAGS_TO_PASS
) all)
2772 .PHONY
: check-gettext
2774 @r
=`${PWD}`; export r
; \
2775 s
=`cd $(srcdir); ${PWD}`; export s
; \
2777 (cd gettext
&& $(MAKE
) $(FLAGS_TO_PASS
) check)
2781 .PHONY
: install-gettext maybe-install-gettext
2782 maybe-install-gettext
:
2783 install-gettext
: installdirs
2784 @r
=`${PWD}`; export r
; \
2785 s
=`cd $(srcdir); ${PWD}`; export s
; \
2787 (cd gettext
&& $(MAKE
) $(FLAGS_TO_PASS
) install)
2790 .PHONY
: configure-gnuserv maybe-configure-gnuserv
2791 maybe-configure-gnuserv
:
2793 @
test ! -f gnuserv
/Makefile || exit
0; \
2794 [ -d gnuserv
] || mkdir gnuserv
; \
2795 r
=`${PWD}`; export r
; \
2796 s
=`cd $(srcdir); ${PWD}`; export s
; \
2797 CC
="$(CC)"; export CC
; \
2798 CFLAGS
="$(CFLAGS)"; export CFLAGS
; \
2799 CXX
="$(CXX)"; export CXX
; \
2800 CXXFLAGS
="$(CXXFLAGS)"; export CXXFLAGS
; \
2801 if
[ z
$(build_canonical
) != z
$(host_canoncial
) ] ; then \
2802 AR
="$(AR)"; export AR
; \
2803 AS
="$(AS)"; export AS
; \
2804 CC_FOR_BUILD
="$(CC_FOR_BUILD)"; export CC_FOR_BUILD
; \
2805 DLLTOOL
="$(DLLTOOL)"; export DLLTOOL
; \
2806 LD
="$(LD)"; export LD
; \
2807 NM
="$(NM)"; export NM
; \
2808 RANLIB
="$(RANLIB)"; export RANLIB
; \
2809 WINDRES
="$(WINDRES)"; export WINDRES
; \
2810 OBJCOPY
="$(OBJCOPY)"; export OBJCOPY
; \
2811 OBJDUMP
="$(OBJDUMP)"; export OBJDUMP
; \
2813 echo Configuring in gnuserv
; \
2814 cd gnuserv || exit
1; \
2817 srcdiroption
="--srcdir=."; \
2819 /* |
[A-Za-z
]:[\\/]*) \
2820 srcdiroption
="--srcdir=$(srcdir)/gnuserv"; \
2821 libsrcdir
="$$s/gnuserv";; \
2823 srcdiroption
="--srcdir=../$(srcdir)/gnuserv"; \
2824 libsrcdir
="$$s/gnuserv";; \
2826 $(SHELL
) $${libsrcdir}/configure \
2827 $(HOST_CONFIGARGS
) $${srcdiroption} \
2830 .PHONY
: all-gnuserv maybe-all-gnuserv
2832 all-gnuserv
: configure-gnuserv
2833 @r
=`${PWD}`; export r
; \
2834 s
=`cd $(srcdir); ${PWD}`; export s
; \
2836 (cd gnuserv
&& $(MAKE
) $(FLAGS_TO_PASS
) all)
2839 .PHONY
: check-gnuserv
2841 @r
=`${PWD}`; export r
; \
2842 s
=`cd $(srcdir); ${PWD}`; export s
; \
2844 (cd gnuserv
&& $(MAKE
) $(FLAGS_TO_PASS
) check)
2848 .PHONY
: install-gnuserv maybe-install-gnuserv
2849 maybe-install-gnuserv
:
2850 install-gnuserv
: installdirs
2851 @r
=`${PWD}`; export r
; \
2852 s
=`cd $(srcdir); ${PWD}`; export s
; \
2854 (cd gnuserv
&& $(MAKE
) $(FLAGS_TO_PASS
) install)
2857 .PHONY
: configure-gprof maybe-configure-gprof
2858 maybe-configure-gprof
:
2860 @
test ! -f gprof
/Makefile || exit
0; \
2861 [ -d gprof
] || mkdir gprof
; \
2862 r
=`${PWD}`; export r
; \
2863 s
=`cd $(srcdir); ${PWD}`; export s
; \
2864 CC
="$(CC)"; export CC
; \
2865 CFLAGS
="$(CFLAGS)"; export CFLAGS
; \
2866 CXX
="$(CXX)"; export CXX
; \
2867 CXXFLAGS
="$(CXXFLAGS)"; export CXXFLAGS
; \
2868 if
[ z
$(build_canonical
) != z
$(host_canoncial
) ] ; then \
2869 AR
="$(AR)"; export AR
; \
2870 AS
="$(AS)"; export AS
; \
2871 CC_FOR_BUILD
="$(CC_FOR_BUILD)"; export CC_FOR_BUILD
; \
2872 DLLTOOL
="$(DLLTOOL)"; export DLLTOOL
; \
2873 LD
="$(LD)"; export LD
; \
2874 NM
="$(NM)"; export NM
; \
2875 RANLIB
="$(RANLIB)"; export RANLIB
; \
2876 WINDRES
="$(WINDRES)"; export WINDRES
; \
2877 OBJCOPY
="$(OBJCOPY)"; export OBJCOPY
; \
2878 OBJDUMP
="$(OBJDUMP)"; export OBJDUMP
; \
2880 echo Configuring in gprof
; \
2881 cd gprof || exit
1; \
2884 srcdiroption
="--srcdir=."; \
2886 /* |
[A-Za-z
]:[\\/]*) \
2887 srcdiroption
="--srcdir=$(srcdir)/gprof"; \
2888 libsrcdir
="$$s/gprof";; \
2890 srcdiroption
="--srcdir=../$(srcdir)/gprof"; \
2891 libsrcdir
="$$s/gprof";; \
2893 $(SHELL
) $${libsrcdir}/configure \
2894 $(HOST_CONFIGARGS
) $${srcdiroption} \
2897 .PHONY
: all-gprof maybe-all-gprof
2899 all-gprof
: configure-gprof
2900 @r
=`${PWD}`; export r
; \
2901 s
=`cd $(srcdir); ${PWD}`; export s
; \
2903 (cd gprof
&& $(MAKE
) $(FLAGS_TO_PASS
) all)
2908 @r
=`${PWD}`; export r
; \
2909 s
=`cd $(srcdir); ${PWD}`; export s
; \
2911 (cd gprof
&& $(MAKE
) $(FLAGS_TO_PASS
) check)
2915 .PHONY
: install-gprof maybe-install-gprof
2916 maybe-install-gprof
:
2917 install-gprof
: installdirs
2918 @r
=`${PWD}`; export r
; \
2919 s
=`cd $(srcdir); ${PWD}`; export s
; \
2921 (cd gprof
&& $(MAKE
) $(FLAGS_TO_PASS
) install)
2924 .PHONY
: configure-gzip maybe-configure-gzip
2925 maybe-configure-gzip
:
2927 @
test ! -f gzip
/Makefile || exit
0; \
2928 [ -d gzip
] || mkdir gzip
; \
2929 r
=`${PWD}`; export r
; \
2930 s
=`cd $(srcdir); ${PWD}`; export s
; \
2931 CC
="$(CC)"; export CC
; \
2932 CFLAGS
="$(CFLAGS)"; export CFLAGS
; \
2933 CXX
="$(CXX)"; export CXX
; \
2934 CXXFLAGS
="$(CXXFLAGS)"; export CXXFLAGS
; \
2935 if
[ z
$(build_canonical
) != z
$(host_canoncial
) ] ; then \
2936 AR
="$(AR)"; export AR
; \
2937 AS
="$(AS)"; export AS
; \
2938 CC_FOR_BUILD
="$(CC_FOR_BUILD)"; export CC_FOR_BUILD
; \
2939 DLLTOOL
="$(DLLTOOL)"; export DLLTOOL
; \
2940 LD
="$(LD)"; export LD
; \
2941 NM
="$(NM)"; export NM
; \
2942 RANLIB
="$(RANLIB)"; export RANLIB
; \
2943 WINDRES
="$(WINDRES)"; export WINDRES
; \
2944 OBJCOPY
="$(OBJCOPY)"; export OBJCOPY
; \
2945 OBJDUMP
="$(OBJDUMP)"; export OBJDUMP
; \
2947 echo Configuring in gzip
; \
2948 cd gzip || exit
1; \
2951 srcdiroption
="--srcdir=."; \
2953 /* |
[A-Za-z
]:[\\/]*) \
2954 srcdiroption
="--srcdir=$(srcdir)/gzip"; \
2955 libsrcdir
="$$s/gzip";; \
2957 srcdiroption
="--srcdir=../$(srcdir)/gzip"; \
2958 libsrcdir
="$$s/gzip";; \
2960 $(SHELL
) $${libsrcdir}/configure \
2961 $(HOST_CONFIGARGS
) $${srcdiroption} \
2964 .PHONY
: all-gzip maybe-all-gzip
2966 all-gzip
: configure-gzip
2967 @r
=`${PWD}`; export r
; \
2968 s
=`cd $(srcdir); ${PWD}`; export s
; \
2970 (cd gzip
&& $(MAKE
) $(FLAGS_TO_PASS
) all)
2975 @r
=`${PWD}`; export r
; \
2976 s
=`cd $(srcdir); ${PWD}`; export s
; \
2978 (cd gzip
&& $(MAKE
) $(FLAGS_TO_PASS
) check)
2982 .PHONY
: install-gzip maybe-install-gzip
2984 install-gzip
: installdirs
2985 @r
=`${PWD}`; export r
; \
2986 s
=`cd $(srcdir); ${PWD}`; export s
; \
2988 (cd gzip
&& $(MAKE
) $(FLAGS_TO_PASS
) install)
2991 .PHONY
: configure-hello maybe-configure-hello
2992 maybe-configure-hello
:
2994 @
test ! -f hello
/Makefile || exit
0; \
2995 [ -d hello
] || mkdir hello
; \
2996 r
=`${PWD}`; export r
; \
2997 s
=`cd $(srcdir); ${PWD}`; export s
; \
2998 CC
="$(CC)"; export CC
; \
2999 CFLAGS
="$(CFLAGS)"; export CFLAGS
; \
3000 CXX
="$(CXX)"; export CXX
; \
3001 CXXFLAGS
="$(CXXFLAGS)"; export CXXFLAGS
; \
3002 if
[ z
$(build_canonical
) != z
$(host_canoncial
) ] ; then \
3003 AR
="$(AR)"; export AR
; \
3004 AS
="$(AS)"; export AS
; \
3005 CC_FOR_BUILD
="$(CC_FOR_BUILD)"; export CC_FOR_BUILD
; \
3006 DLLTOOL
="$(DLLTOOL)"; export DLLTOOL
; \
3007 LD
="$(LD)"; export LD
; \
3008 NM
="$(NM)"; export NM
; \
3009 RANLIB
="$(RANLIB)"; export RANLIB
; \
3010 WINDRES
="$(WINDRES)"; export WINDRES
; \
3011 OBJCOPY
="$(OBJCOPY)"; export OBJCOPY
; \
3012 OBJDUMP
="$(OBJDUMP)"; export OBJDUMP
; \
3014 echo Configuring in hello
; \
3015 cd hello || exit
1; \
3018 srcdiroption
="--srcdir=."; \
3020 /* |
[A-Za-z
]:[\\/]*) \
3021 srcdiroption
="--srcdir=$(srcdir)/hello"; \
3022 libsrcdir
="$$s/hello";; \
3024 srcdiroption
="--srcdir=../$(srcdir)/hello"; \
3025 libsrcdir
="$$s/hello";; \
3027 $(SHELL
) $${libsrcdir}/configure \
3028 $(HOST_CONFIGARGS
) $${srcdiroption} \
3031 .PHONY
: all-hello maybe-all-hello
3033 all-hello
: configure-hello
3034 @r
=`${PWD}`; export r
; \
3035 s
=`cd $(srcdir); ${PWD}`; export s
; \
3037 (cd hello
&& $(MAKE
) $(FLAGS_TO_PASS
) all)
3042 @r
=`${PWD}`; export r
; \
3043 s
=`cd $(srcdir); ${PWD}`; export s
; \
3045 (cd hello
&& $(MAKE
) $(FLAGS_TO_PASS
) check)
3049 .PHONY
: install-hello maybe-install-hello
3050 maybe-install-hello
:
3051 install-hello
: installdirs
3052 @r
=`${PWD}`; export r
; \
3053 s
=`cd $(srcdir); ${PWD}`; export s
; \
3055 (cd hello
&& $(MAKE
) $(FLAGS_TO_PASS
) install)
3058 .PHONY
: configure-indent maybe-configure-indent
3059 maybe-configure-indent
:
3061 @
test ! -f indent
/Makefile || exit
0; \
3062 [ -d indent
] || mkdir indent
; \
3063 r
=`${PWD}`; export r
; \
3064 s
=`cd $(srcdir); ${PWD}`; export s
; \
3065 CC
="$(CC)"; export CC
; \
3066 CFLAGS
="$(CFLAGS)"; export CFLAGS
; \
3067 CXX
="$(CXX)"; export CXX
; \
3068 CXXFLAGS
="$(CXXFLAGS)"; export CXXFLAGS
; \
3069 if
[ z
$(build_canonical
) != z
$(host_canoncial
) ] ; then \
3070 AR
="$(AR)"; export AR
; \
3071 AS
="$(AS)"; export AS
; \
3072 CC_FOR_BUILD
="$(CC_FOR_BUILD)"; export CC_FOR_BUILD
; \
3073 DLLTOOL
="$(DLLTOOL)"; export DLLTOOL
; \
3074 LD
="$(LD)"; export LD
; \
3075 NM
="$(NM)"; export NM
; \
3076 RANLIB
="$(RANLIB)"; export RANLIB
; \
3077 WINDRES
="$(WINDRES)"; export WINDRES
; \
3078 OBJCOPY
="$(OBJCOPY)"; export OBJCOPY
; \
3079 OBJDUMP
="$(OBJDUMP)"; export OBJDUMP
; \
3081 echo Configuring in indent
; \
3082 cd indent || exit
1; \
3085 srcdiroption
="--srcdir=."; \
3087 /* |
[A-Za-z
]:[\\/]*) \
3088 srcdiroption
="--srcdir=$(srcdir)/indent"; \
3089 libsrcdir
="$$s/indent";; \
3091 srcdiroption
="--srcdir=../$(srcdir)/indent"; \
3092 libsrcdir
="$$s/indent";; \
3094 $(SHELL
) $${libsrcdir}/configure \
3095 $(HOST_CONFIGARGS
) $${srcdiroption} \
3098 .PHONY
: all-indent maybe-all-indent
3100 all-indent
: configure-indent
3101 @r
=`${PWD}`; export r
; \
3102 s
=`cd $(srcdir); ${PWD}`; export s
; \
3104 (cd indent
&& $(MAKE
) $(FLAGS_TO_PASS
) all)
3107 .PHONY
: check-indent
3109 @r
=`${PWD}`; export r
; \
3110 s
=`cd $(srcdir); ${PWD}`; export s
; \
3112 (cd indent
&& $(MAKE
) $(FLAGS_TO_PASS
) check)
3116 .PHONY
: install-indent maybe-install-indent
3117 maybe-install-indent
:
3118 install-indent
: installdirs
3119 @r
=`${PWD}`; export r
; \
3120 s
=`cd $(srcdir); ${PWD}`; export s
; \
3122 (cd indent
&& $(MAKE
) $(FLAGS_TO_PASS
) install)
3125 .PHONY
: configure-intl maybe-configure-intl
3126 maybe-configure-intl
:
3128 @
test ! -f intl
/Makefile || exit
0; \
3129 [ -d intl
] || mkdir intl
; \
3130 r
=`${PWD}`; export r
; \
3131 s
=`cd $(srcdir); ${PWD}`; export s
; \
3132 CC
="$(CC)"; export CC
; \
3133 CFLAGS
="$(CFLAGS)"; export CFLAGS
; \
3134 CXX
="$(CXX)"; export CXX
; \
3135 CXXFLAGS
="$(CXXFLAGS)"; export CXXFLAGS
; \
3136 if
[ z
$(build_canonical
) != z
$(host_canoncial
) ] ; then \
3137 AR
="$(AR)"; export AR
; \
3138 AS
="$(AS)"; export AS
; \
3139 CC_FOR_BUILD
="$(CC_FOR_BUILD)"; export CC_FOR_BUILD
; \
3140 DLLTOOL
="$(DLLTOOL)"; export DLLTOOL
; \
3141 LD
="$(LD)"; export LD
; \
3142 NM
="$(NM)"; export NM
; \
3143 RANLIB
="$(RANLIB)"; export RANLIB
; \
3144 WINDRES
="$(WINDRES)"; export WINDRES
; \
3145 OBJCOPY
="$(OBJCOPY)"; export OBJCOPY
; \
3146 OBJDUMP
="$(OBJDUMP)"; export OBJDUMP
; \
3148 echo Configuring in intl
; \
3149 cd intl || exit
1; \
3152 srcdiroption
="--srcdir=."; \
3154 /* |
[A-Za-z
]:[\\/]*) \
3155 srcdiroption
="--srcdir=$(srcdir)/intl"; \
3156 libsrcdir
="$$s/intl";; \
3158 srcdiroption
="--srcdir=../$(srcdir)/intl"; \
3159 libsrcdir
="$$s/intl";; \
3161 $(SHELL
) $${libsrcdir}/configure \
3162 $(HOST_CONFIGARGS
) $${srcdiroption} \
3165 .PHONY
: all-intl maybe-all-intl
3167 all-intl
: configure-intl
3168 @r
=`${PWD}`; export r
; \
3169 s
=`cd $(srcdir); ${PWD}`; export s
; \
3171 (cd intl
&& $(MAKE
) $(FLAGS_TO_PASS
) all)
3176 @r
=`${PWD}`; export r
; \
3177 s
=`cd $(srcdir); ${PWD}`; export s
; \
3179 (cd intl
&& $(MAKE
) $(FLAGS_TO_PASS
) check)
3183 .PHONY
: install-intl maybe-install-intl
3185 install-intl
: installdirs
3186 @r
=`${PWD}`; export r
; \
3187 s
=`cd $(srcdir); ${PWD}`; export s
; \
3189 (cd intl
&& $(MAKE
) $(FLAGS_TO_PASS
) install)
3192 .PHONY
: configure-tcl maybe-configure-tcl
3193 maybe-configure-tcl
:
3195 @
test ! -f tcl
/Makefile || exit
0; \
3196 [ -d tcl
] || mkdir tcl
; \
3197 r
=`${PWD}`; export r
; \
3198 s
=`cd $(srcdir); ${PWD}`; export s
; \
3199 CC
="$(CC)"; export CC
; \
3200 CFLAGS
="$(CFLAGS)"; export CFLAGS
; \
3201 CXX
="$(CXX)"; export CXX
; \
3202 CXXFLAGS
="$(CXXFLAGS)"; export CXXFLAGS
; \
3203 if
[ z
$(build_canonical
) != z
$(host_canoncial
) ] ; then \
3204 AR
="$(AR)"; export AR
; \
3205 AS
="$(AS)"; export AS
; \
3206 CC_FOR_BUILD
="$(CC_FOR_BUILD)"; export CC_FOR_BUILD
; \
3207 DLLTOOL
="$(DLLTOOL)"; export DLLTOOL
; \
3208 LD
="$(LD)"; export LD
; \
3209 NM
="$(NM)"; export NM
; \
3210 RANLIB
="$(RANLIB)"; export RANLIB
; \
3211 WINDRES
="$(WINDRES)"; export WINDRES
; \
3212 OBJCOPY
="$(OBJCOPY)"; export OBJCOPY
; \
3213 OBJDUMP
="$(OBJDUMP)"; export OBJDUMP
; \
3215 echo Configuring in tcl
; \
3219 srcdiroption
="--srcdir=."; \
3221 /* |
[A-Za-z
]:[\\/]*) \
3222 srcdiroption
="--srcdir=$(srcdir)/tcl"; \
3223 libsrcdir
="$$s/tcl";; \
3225 srcdiroption
="--srcdir=../$(srcdir)/tcl"; \
3226 libsrcdir
="$$s/tcl";; \
3228 $(SHELL
) $${libsrcdir}/configure \
3229 $(HOST_CONFIGARGS
) $${srcdiroption} \
3232 .PHONY
: all-tcl maybe-all-tcl
3234 all-tcl
: configure-tcl
3235 @r
=`${PWD}`; export r
; \
3236 s
=`cd $(srcdir); ${PWD}`; export s
; \
3238 (cd tcl
&& $(MAKE
) $(FLAGS_TO_PASS
) all)
3243 @r
=`${PWD}`; export r
; \
3244 s
=`cd $(srcdir); ${PWD}`; export s
; \
3246 (cd tcl
&& $(MAKE
) $(FLAGS_TO_PASS
) check)
3250 .PHONY
: install-tcl maybe-install-tcl
3252 install-tcl
: installdirs
3253 @r
=`${PWD}`; export r
; \
3254 s
=`cd $(srcdir); ${PWD}`; export s
; \
3256 (cd tcl
&& $(MAKE
) $(FLAGS_TO_PASS
) install)
3259 .PHONY
: configure-itcl maybe-configure-itcl
3260 maybe-configure-itcl
:
3262 @
test ! -f itcl
/Makefile || exit
0; \
3263 [ -d itcl
] || mkdir itcl
; \
3264 r
=`${PWD}`; export r
; \
3265 s
=`cd $(srcdir); ${PWD}`; export s
; \
3266 CC
="$(CC)"; export CC
; \
3267 CFLAGS
="$(CFLAGS)"; export CFLAGS
; \
3268 CXX
="$(CXX)"; export CXX
; \
3269 CXXFLAGS
="$(CXXFLAGS)"; export CXXFLAGS
; \
3270 if
[ z
$(build_canonical
) != z
$(host_canoncial
) ] ; then \
3271 AR
="$(AR)"; export AR
; \
3272 AS
="$(AS)"; export AS
; \
3273 CC_FOR_BUILD
="$(CC_FOR_BUILD)"; export CC_FOR_BUILD
; \
3274 DLLTOOL
="$(DLLTOOL)"; export DLLTOOL
; \
3275 LD
="$(LD)"; export LD
; \
3276 NM
="$(NM)"; export NM
; \
3277 RANLIB
="$(RANLIB)"; export RANLIB
; \
3278 WINDRES
="$(WINDRES)"; export WINDRES
; \
3279 OBJCOPY
="$(OBJCOPY)"; export OBJCOPY
; \
3280 OBJDUMP
="$(OBJDUMP)"; export OBJDUMP
; \
3282 echo Configuring in itcl
; \
3283 cd itcl || exit
1; \
3286 srcdiroption
="--srcdir=."; \
3288 /* |
[A-Za-z
]:[\\/]*) \
3289 srcdiroption
="--srcdir=$(srcdir)/itcl"; \
3290 libsrcdir
="$$s/itcl";; \
3292 srcdiroption
="--srcdir=../$(srcdir)/itcl"; \
3293 libsrcdir
="$$s/itcl";; \
3295 $(SHELL
) $${libsrcdir}/configure \
3296 $(HOST_CONFIGARGS
) $${srcdiroption} \
3299 .PHONY
: all-itcl maybe-all-itcl
3301 all-itcl
: configure-itcl
3302 @r
=`${PWD}`; export r
; \
3303 s
=`cd $(srcdir); ${PWD}`; export s
; \
3305 (cd itcl
&& $(MAKE
) $(FLAGS_TO_PASS
) all)
3310 @r
=`${PWD}`; export r
; \
3311 s
=`cd $(srcdir); ${PWD}`; export s
; \
3313 (cd itcl
&& $(MAKE
) $(FLAGS_TO_PASS
) check)
3317 .PHONY
: install-itcl maybe-install-itcl
3319 install-itcl
: installdirs
3320 @r
=`${PWD}`; export r
; \
3321 s
=`cd $(srcdir); ${PWD}`; export s
; \
3323 (cd itcl
&& $(MAKE
) $(FLAGS_TO_PASS
) install)
3326 .PHONY
: configure-ld maybe-configure-ld
3329 @
test ! -f
ld/Makefile || exit
0; \
3330 [ -d
ld ] || mkdir
ld; \
3331 r
=`${PWD}`; export r
; \
3332 s
=`cd $(srcdir); ${PWD}`; export s
; \
3333 CC
="$(CC)"; export CC
; \
3334 CFLAGS
="$(CFLAGS)"; export CFLAGS
; \
3335 CXX
="$(CXX)"; export CXX
; \
3336 CXXFLAGS
="$(CXXFLAGS)"; export CXXFLAGS
; \
3337 if
[ z
$(build_canonical
) != z
$(host_canoncial
) ] ; then \
3338 AR
="$(AR)"; export AR
; \
3339 AS
="$(AS)"; export AS
; \
3340 CC_FOR_BUILD
="$(CC_FOR_BUILD)"; export CC_FOR_BUILD
; \
3341 DLLTOOL
="$(DLLTOOL)"; export DLLTOOL
; \
3342 LD
="$(LD)"; export LD
; \
3343 NM
="$(NM)"; export NM
; \
3344 RANLIB
="$(RANLIB)"; export RANLIB
; \
3345 WINDRES
="$(WINDRES)"; export WINDRES
; \
3346 OBJCOPY
="$(OBJCOPY)"; export OBJCOPY
; \
3347 OBJDUMP
="$(OBJDUMP)"; export OBJDUMP
; \
3349 echo Configuring in
ld; \
3353 srcdiroption
="--srcdir=."; \
3355 /* |
[A-Za-z
]:[\\/]*) \
3356 srcdiroption
="--srcdir=$(srcdir)/ld"; \
3357 libsrcdir
="$$s/ld";; \
3359 srcdiroption
="--srcdir=../$(srcdir)/ld"; \
3360 libsrcdir
="$$s/ld";; \
3362 $(SHELL
) $${libsrcdir}/configure \
3363 $(HOST_CONFIGARGS
) $${srcdiroption} \
3366 .PHONY
: all-ld maybe-all-ld
3368 all-ld
: configure-ld
3369 @r
=`${PWD}`; export r
; \
3370 s
=`cd $(srcdir); ${PWD}`; export s
; \
3372 (cd
ld && $(MAKE
) $(FLAGS_TO_PASS
) all)
3377 @r
=`${PWD}`; export r
; \
3378 s
=`cd $(srcdir); ${PWD}`; export s
; \
3380 (cd
ld && $(MAKE
) $(FLAGS_TO_PASS
) check)
3384 .PHONY
: install-ld maybe-install-ld
3386 install-ld
: installdirs
3387 @r
=`${PWD}`; export r
; \
3388 s
=`cd $(srcdir); ${PWD}`; export s
; \
3390 (cd
ld && $(MAKE
) $(FLAGS_TO_PASS
) install)
3393 .PHONY
: configure-libgui maybe-configure-libgui
3394 maybe-configure-libgui
:
3396 @
test ! -f libgui
/Makefile || exit
0; \
3397 [ -d libgui
] || mkdir libgui
; \
3398 r
=`${PWD}`; export r
; \
3399 s
=`cd $(srcdir); ${PWD}`; export s
; \
3400 CC
="$(CC)"; export CC
; \
3401 CFLAGS
="$(CFLAGS)"; export CFLAGS
; \
3402 CXX
="$(CXX)"; export CXX
; \
3403 CXXFLAGS
="$(CXXFLAGS)"; export CXXFLAGS
; \
3404 if
[ z
$(build_canonical
) != z
$(host_canoncial
) ] ; then \
3405 AR
="$(AR)"; export AR
; \
3406 AS
="$(AS)"; export AS
; \
3407 CC_FOR_BUILD
="$(CC_FOR_BUILD)"; export CC_FOR_BUILD
; \
3408 DLLTOOL
="$(DLLTOOL)"; export DLLTOOL
; \
3409 LD
="$(LD)"; export LD
; \
3410 NM
="$(NM)"; export NM
; \
3411 RANLIB
="$(RANLIB)"; export RANLIB
; \
3412 WINDRES
="$(WINDRES)"; export WINDRES
; \
3413 OBJCOPY
="$(OBJCOPY)"; export OBJCOPY
; \
3414 OBJDUMP
="$(OBJDUMP)"; export OBJDUMP
; \
3416 echo Configuring in libgui
; \
3417 cd libgui || exit
1; \
3420 srcdiroption
="--srcdir=."; \
3422 /* |
[A-Za-z
]:[\\/]*) \
3423 srcdiroption
="--srcdir=$(srcdir)/libgui"; \
3424 libsrcdir
="$$s/libgui";; \
3426 srcdiroption
="--srcdir=../$(srcdir)/libgui"; \
3427 libsrcdir
="$$s/libgui";; \
3429 $(SHELL
) $${libsrcdir}/configure \
3430 $(HOST_CONFIGARGS
) $${srcdiroption} \
3433 .PHONY
: all-libgui maybe-all-libgui
3435 all-libgui
: configure-libgui
3436 @r
=`${PWD}`; export r
; \
3437 s
=`cd $(srcdir); ${PWD}`; export s
; \
3439 (cd libgui
&& $(MAKE
) $(FLAGS_TO_PASS
) all)
3442 .PHONY
: check-libgui
3444 @r
=`${PWD}`; export r
; \
3445 s
=`cd $(srcdir); ${PWD}`; export s
; \
3447 (cd libgui
&& $(MAKE
) $(FLAGS_TO_PASS
) check)
3451 .PHONY
: install-libgui maybe-install-libgui
3452 maybe-install-libgui
:
3453 install-libgui
: installdirs
3454 @r
=`${PWD}`; export r
; \
3455 s
=`cd $(srcdir); ${PWD}`; export s
; \
3457 (cd libgui
&& $(MAKE
) $(FLAGS_TO_PASS
) install)
3460 .PHONY
: configure-libiberty maybe-configure-libiberty
3461 maybe-configure-libiberty
:
3462 configure-libiberty
:
3463 @
test ! -f libiberty
/Makefile || exit
0; \
3464 [ -d libiberty
] || mkdir libiberty
; \
3465 r
=`${PWD}`; export r
; \
3466 s
=`cd $(srcdir); ${PWD}`; export s
; \
3467 CC
="$(CC)"; export CC
; \
3468 CFLAGS
="$(CFLAGS)"; export CFLAGS
; \
3469 CXX
="$(CXX)"; export CXX
; \
3470 CXXFLAGS
="$(CXXFLAGS)"; export CXXFLAGS
; \
3471 if
[ z
$(build_canonical
) != z
$(host_canoncial
) ] ; then \
3472 AR
="$(AR)"; export AR
; \
3473 AS
="$(AS)"; export AS
; \
3474 CC_FOR_BUILD
="$(CC_FOR_BUILD)"; export CC_FOR_BUILD
; \
3475 DLLTOOL
="$(DLLTOOL)"; export DLLTOOL
; \
3476 LD
="$(LD)"; export LD
; \
3477 NM
="$(NM)"; export NM
; \
3478 RANLIB
="$(RANLIB)"; export RANLIB
; \
3479 WINDRES
="$(WINDRES)"; export WINDRES
; \
3480 OBJCOPY
="$(OBJCOPY)"; export OBJCOPY
; \
3481 OBJDUMP
="$(OBJDUMP)"; export OBJDUMP
; \
3483 echo Configuring in libiberty
; \
3484 cd libiberty || exit
1; \
3487 srcdiroption
="--srcdir=."; \
3489 /* |
[A-Za-z
]:[\\/]*) \
3490 srcdiroption
="--srcdir=$(srcdir)/libiberty"; \
3491 libsrcdir
="$$s/libiberty";; \
3493 srcdiroption
="--srcdir=../$(srcdir)/libiberty"; \
3494 libsrcdir
="$$s/libiberty";; \
3496 $(SHELL
) $${libsrcdir}/configure \
3497 $(HOST_CONFIGARGS
) $${srcdiroption} \
3500 .PHONY
: all-libiberty maybe-all-libiberty
3501 maybe-all-libiberty
:
3502 all-libiberty
: configure-libiberty
3503 @r
=`${PWD}`; export r
; \
3504 s
=`cd $(srcdir); ${PWD}`; export s
; \
3506 (cd libiberty
&& $(MAKE
) $(FLAGS_TO_PASS
) all)
3509 .PHONY
: check-libiberty
3511 @r
=`${PWD}`; export r
; \
3512 s
=`cd $(srcdir); ${PWD}`; export s
; \
3514 (cd libiberty
&& $(MAKE
) $(FLAGS_TO_PASS
) check)
3518 .PHONY
: install-libiberty maybe-install-libiberty
3519 maybe-install-libiberty
:
3520 install-libiberty
: installdirs
3521 @r
=`${PWD}`; export r
; \
3522 s
=`cd $(srcdir); ${PWD}`; export s
; \
3524 (cd libiberty
&& $(MAKE
) $(FLAGS_TO_PASS
) install)
3527 .PHONY
: configure-libtool maybe-configure-libtool
3528 maybe-configure-libtool
:
3530 @
test ! -f libtool
/Makefile || exit
0; \
3531 [ -d libtool
] || mkdir libtool
; \
3532 r
=`${PWD}`; export r
; \
3533 s
=`cd $(srcdir); ${PWD}`; export s
; \
3534 CC
="$(CC)"; export CC
; \
3535 CFLAGS
="$(CFLAGS)"; export CFLAGS
; \
3536 CXX
="$(CXX)"; export CXX
; \
3537 CXXFLAGS
="$(CXXFLAGS)"; export CXXFLAGS
; \
3538 if
[ z
$(build_canonical
) != z
$(host_canoncial
) ] ; then \
3539 AR
="$(AR)"; export AR
; \
3540 AS
="$(AS)"; export AS
; \
3541 CC_FOR_BUILD
="$(CC_FOR_BUILD)"; export CC_FOR_BUILD
; \
3542 DLLTOOL
="$(DLLTOOL)"; export DLLTOOL
; \
3543 LD
="$(LD)"; export LD
; \
3544 NM
="$(NM)"; export NM
; \
3545 RANLIB
="$(RANLIB)"; export RANLIB
; \
3546 WINDRES
="$(WINDRES)"; export WINDRES
; \
3547 OBJCOPY
="$(OBJCOPY)"; export OBJCOPY
; \
3548 OBJDUMP
="$(OBJDUMP)"; export OBJDUMP
; \
3550 echo Configuring in libtool
; \
3551 cd libtool || exit
1; \
3554 srcdiroption
="--srcdir=."; \
3556 /* |
[A-Za-z
]:[\\/]*) \
3557 srcdiroption
="--srcdir=$(srcdir)/libtool"; \
3558 libsrcdir
="$$s/libtool";; \
3560 srcdiroption
="--srcdir=../$(srcdir)/libtool"; \
3561 libsrcdir
="$$s/libtool";; \
3563 $(SHELL
) $${libsrcdir}/configure \
3564 $(HOST_CONFIGARGS
) $${srcdiroption} \
3567 .PHONY
: all-libtool maybe-all-libtool
3569 all-libtool
: configure-libtool
3570 @r
=`${PWD}`; export r
; \
3571 s
=`cd $(srcdir); ${PWD}`; export s
; \
3573 (cd libtool
&& $(MAKE
) $(FLAGS_TO_PASS
) all)
3576 .PHONY
: check-libtool
3578 @r
=`${PWD}`; export r
; \
3579 s
=`cd $(srcdir); ${PWD}`; export s
; \
3581 (cd libtool
&& $(MAKE
) $(FLAGS_TO_PASS
) check)
3585 .PHONY
: install-libtool maybe-install-libtool
3586 maybe-install-libtool
:
3587 install-libtool
: installdirs
3588 @r
=`${PWD}`; export r
; \
3589 s
=`cd $(srcdir); ${PWD}`; export s
; \
3591 (cd libtool
&& $(MAKE
) $(FLAGS_TO_PASS
) install)
3594 .PHONY
: configure-m4 maybe-configure-m4
3597 @
test ! -f m4
/Makefile || exit
0; \
3598 [ -d m4
] || mkdir m4
; \
3599 r
=`${PWD}`; export r
; \
3600 s
=`cd $(srcdir); ${PWD}`; export s
; \
3601 CC
="$(CC)"; export CC
; \
3602 CFLAGS
="$(CFLAGS)"; export CFLAGS
; \
3603 CXX
="$(CXX)"; export CXX
; \
3604 CXXFLAGS
="$(CXXFLAGS)"; export CXXFLAGS
; \
3605 if
[ z
$(build_canonical
) != z
$(host_canoncial
) ] ; then \
3606 AR
="$(AR)"; export AR
; \
3607 AS
="$(AS)"; export AS
; \
3608 CC_FOR_BUILD
="$(CC_FOR_BUILD)"; export CC_FOR_BUILD
; \
3609 DLLTOOL
="$(DLLTOOL)"; export DLLTOOL
; \
3610 LD
="$(LD)"; export LD
; \
3611 NM
="$(NM)"; export NM
; \
3612 RANLIB
="$(RANLIB)"; export RANLIB
; \
3613 WINDRES
="$(WINDRES)"; export WINDRES
; \
3614 OBJCOPY
="$(OBJCOPY)"; export OBJCOPY
; \
3615 OBJDUMP
="$(OBJDUMP)"; export OBJDUMP
; \
3617 echo Configuring in m4
; \
3621 srcdiroption
="--srcdir=."; \
3623 /* |
[A-Za-z
]:[\\/]*) \
3624 srcdiroption
="--srcdir=$(srcdir)/m4"; \
3625 libsrcdir
="$$s/m4";; \
3627 srcdiroption
="--srcdir=../$(srcdir)/m4"; \
3628 libsrcdir
="$$s/m4";; \
3630 $(SHELL
) $${libsrcdir}/configure \
3631 $(HOST_CONFIGARGS
) $${srcdiroption} \
3634 .PHONY
: all-m4 maybe-all-m4
3636 all-m4
: configure-m4
3637 @r
=`${PWD}`; export r
; \
3638 s
=`cd $(srcdir); ${PWD}`; export s
; \
3640 (cd m4
&& $(MAKE
) $(FLAGS_TO_PASS
) all)
3645 @r
=`${PWD}`; export r
; \
3646 s
=`cd $(srcdir); ${PWD}`; export s
; \
3648 (cd m4
&& $(MAKE
) $(FLAGS_TO_PASS
) check)
3652 .PHONY
: install-m4 maybe-install-m4
3654 install-m4
: installdirs
3655 @r
=`${PWD}`; export r
; \
3656 s
=`cd $(srcdir); ${PWD}`; export s
; \
3658 (cd m4
&& $(MAKE
) $(FLAGS_TO_PASS
) install)
3661 .PHONY
: configure-make maybe-configure-make
3662 maybe-configure-make
:
3664 @
test ! -f make
/Makefile || exit
0; \
3665 [ -d make
] || mkdir make
; \
3666 r
=`${PWD}`; export r
; \
3667 s
=`cd $(srcdir); ${PWD}`; export s
; \
3668 CC
="$(CC)"; export CC
; \
3669 CFLAGS
="$(CFLAGS)"; export CFLAGS
; \
3670 CXX
="$(CXX)"; export CXX
; \
3671 CXXFLAGS
="$(CXXFLAGS)"; export CXXFLAGS
; \
3672 if
[ z
$(build_canonical
) != z
$(host_canoncial
) ] ; then \
3673 AR
="$(AR)"; export AR
; \
3674 AS
="$(AS)"; export AS
; \
3675 CC_FOR_BUILD
="$(CC_FOR_BUILD)"; export CC_FOR_BUILD
; \
3676 DLLTOOL
="$(DLLTOOL)"; export DLLTOOL
; \
3677 LD
="$(LD)"; export LD
; \
3678 NM
="$(NM)"; export NM
; \
3679 RANLIB
="$(RANLIB)"; export RANLIB
; \
3680 WINDRES
="$(WINDRES)"; export WINDRES
; \
3681 OBJCOPY
="$(OBJCOPY)"; export OBJCOPY
; \
3682 OBJDUMP
="$(OBJDUMP)"; export OBJDUMP
; \
3684 echo Configuring in make
; \
3685 cd make || exit
1; \
3688 srcdiroption
="--srcdir=."; \
3690 /* |
[A-Za-z
]:[\\/]*) \
3691 srcdiroption
="--srcdir=$(srcdir)/make"; \
3692 libsrcdir
="$$s/make";; \
3694 srcdiroption
="--srcdir=../$(srcdir)/make"; \
3695 libsrcdir
="$$s/make";; \
3697 $(SHELL
) $${libsrcdir}/configure \
3698 $(HOST_CONFIGARGS
) $${srcdiroption} \
3701 .PHONY
: all-make maybe-all-make
3703 all-make
: configure-make
3704 @r
=`${PWD}`; export r
; \
3705 s
=`cd $(srcdir); ${PWD}`; export s
; \
3707 (cd make
&& $(MAKE
) $(FLAGS_TO_PASS
) all)
3712 @r
=`${PWD}`; export r
; \
3713 s
=`cd $(srcdir); ${PWD}`; export s
; \
3715 (cd make
&& $(MAKE
) $(FLAGS_TO_PASS
) check)
3719 .PHONY
: install-make maybe-install-make
3721 install-make
: installdirs
3722 @r
=`${PWD}`; export r
; \
3723 s
=`cd $(srcdir); ${PWD}`; export s
; \
3725 (cd make
&& $(MAKE
) $(FLAGS_TO_PASS
) install)
3728 .PHONY
: configure-mmalloc maybe-configure-mmalloc
3729 maybe-configure-mmalloc
:
3731 @
test ! -f mmalloc
/Makefile || exit
0; \
3732 [ -d mmalloc
] || mkdir mmalloc
; \
3733 r
=`${PWD}`; export r
; \
3734 s
=`cd $(srcdir); ${PWD}`; export s
; \
3735 CC
="$(CC)"; export CC
; \
3736 CFLAGS
="$(CFLAGS)"; export CFLAGS
; \
3737 CXX
="$(CXX)"; export CXX
; \
3738 CXXFLAGS
="$(CXXFLAGS)"; export CXXFLAGS
; \
3739 if
[ z
$(build_canonical
) != z
$(host_canoncial
) ] ; then \
3740 AR
="$(AR)"; export AR
; \
3741 AS
="$(AS)"; export AS
; \
3742 CC_FOR_BUILD
="$(CC_FOR_BUILD)"; export CC_FOR_BUILD
; \
3743 DLLTOOL
="$(DLLTOOL)"; export DLLTOOL
; \
3744 LD
="$(LD)"; export LD
; \
3745 NM
="$(NM)"; export NM
; \
3746 RANLIB
="$(RANLIB)"; export RANLIB
; \
3747 WINDRES
="$(WINDRES)"; export WINDRES
; \
3748 OBJCOPY
="$(OBJCOPY)"; export OBJCOPY
; \
3749 OBJDUMP
="$(OBJDUMP)"; export OBJDUMP
; \
3751 echo Configuring in mmalloc
; \
3752 cd mmalloc || exit
1; \
3755 srcdiroption
="--srcdir=."; \
3757 /* |
[A-Za-z
]:[\\/]*) \
3758 srcdiroption
="--srcdir=$(srcdir)/mmalloc"; \
3759 libsrcdir
="$$s/mmalloc";; \
3761 srcdiroption
="--srcdir=../$(srcdir)/mmalloc"; \
3762 libsrcdir
="$$s/mmalloc";; \
3764 $(SHELL
) $${libsrcdir}/configure \
3765 $(HOST_CONFIGARGS
) $${srcdiroption} \
3768 .PHONY
: all-mmalloc maybe-all-mmalloc
3770 all-mmalloc
: configure-mmalloc
3771 @r
=`${PWD}`; export r
; \
3772 s
=`cd $(srcdir); ${PWD}`; export s
; \
3774 (cd mmalloc
&& $(MAKE
) $(FLAGS_TO_PASS
) all)
3777 .PHONY
: check-mmalloc
3782 .PHONY
: install-mmalloc maybe-install-mmalloc
3783 maybe-install-mmalloc
:
3784 install-mmalloc
: installdirs
3785 @r
=`${PWD}`; export r
; \
3786 s
=`cd $(srcdir); ${PWD}`; export s
; \
3788 (cd mmalloc
&& $(MAKE
) $(FLAGS_TO_PASS
) install)
3791 .PHONY
: configure-patch maybe-configure-patch
3792 maybe-configure-patch
:
3794 @
test ! -f patch
/Makefile || exit
0; \
3795 [ -d patch
] || mkdir patch
; \
3796 r
=`${PWD}`; export r
; \
3797 s
=`cd $(srcdir); ${PWD}`; export s
; \
3798 CC
="$(CC)"; export CC
; \
3799 CFLAGS
="$(CFLAGS)"; export CFLAGS
; \
3800 CXX
="$(CXX)"; export CXX
; \
3801 CXXFLAGS
="$(CXXFLAGS)"; export CXXFLAGS
; \
3802 if
[ z
$(build_canonical
) != z
$(host_canoncial
) ] ; then \
3803 AR
="$(AR)"; export AR
; \
3804 AS
="$(AS)"; export AS
; \
3805 CC_FOR_BUILD
="$(CC_FOR_BUILD)"; export CC_FOR_BUILD
; \
3806 DLLTOOL
="$(DLLTOOL)"; export DLLTOOL
; \
3807 LD
="$(LD)"; export LD
; \
3808 NM
="$(NM)"; export NM
; \
3809 RANLIB
="$(RANLIB)"; export RANLIB
; \
3810 WINDRES
="$(WINDRES)"; export WINDRES
; \
3811 OBJCOPY
="$(OBJCOPY)"; export OBJCOPY
; \
3812 OBJDUMP
="$(OBJDUMP)"; export OBJDUMP
; \
3814 echo Configuring in patch
; \
3815 cd patch || exit
1; \
3818 srcdiroption
="--srcdir=."; \
3820 /* |
[A-Za-z
]:[\\/]*) \
3821 srcdiroption
="--srcdir=$(srcdir)/patch"; \
3822 libsrcdir
="$$s/patch";; \
3824 srcdiroption
="--srcdir=../$(srcdir)/patch"; \
3825 libsrcdir
="$$s/patch";; \
3827 $(SHELL
) $${libsrcdir}/configure \
3828 $(HOST_CONFIGARGS
) $${srcdiroption} \
3831 .PHONY
: all-patch maybe-all-patch
3833 all-patch
: configure-patch
3834 @r
=`${PWD}`; export r
; \
3835 s
=`cd $(srcdir); ${PWD}`; export s
; \
3837 (cd patch
&& $(MAKE
) $(FLAGS_TO_PASS
) all)
3842 @r
=`${PWD}`; export r
; \
3843 s
=`cd $(srcdir); ${PWD}`; export s
; \
3845 (cd patch
&& $(MAKE
) $(FLAGS_TO_PASS
) check)
3849 .PHONY
: install-patch maybe-install-patch
3850 maybe-install-patch
:
3851 install-patch
: installdirs
3852 @r
=`${PWD}`; export r
; \
3853 s
=`cd $(srcdir); ${PWD}`; export s
; \
3855 (cd patch
&& $(MAKE
) $(FLAGS_TO_PASS
) install)
3858 .PHONY
: configure-perl maybe-configure-perl
3859 maybe-configure-perl
:
3861 @
test ! -f perl
/Makefile || exit
0; \
3862 [ -d perl
] || mkdir perl
; \
3863 r
=`${PWD}`; export r
; \
3864 s
=`cd $(srcdir); ${PWD}`; export s
; \
3865 CC
="$(CC)"; export CC
; \
3866 CFLAGS
="$(CFLAGS)"; export CFLAGS
; \
3867 CXX
="$(CXX)"; export CXX
; \
3868 CXXFLAGS
="$(CXXFLAGS)"; export CXXFLAGS
; \
3869 if
[ z
$(build_canonical
) != z
$(host_canoncial
) ] ; then \
3870 AR
="$(AR)"; export AR
; \
3871 AS
="$(AS)"; export AS
; \
3872 CC_FOR_BUILD
="$(CC_FOR_BUILD)"; export CC_FOR_BUILD
; \
3873 DLLTOOL
="$(DLLTOOL)"; export DLLTOOL
; \
3874 LD
="$(LD)"; export LD
; \
3875 NM
="$(NM)"; export NM
; \
3876 RANLIB
="$(RANLIB)"; export RANLIB
; \
3877 WINDRES
="$(WINDRES)"; export WINDRES
; \
3878 OBJCOPY
="$(OBJCOPY)"; export OBJCOPY
; \
3879 OBJDUMP
="$(OBJDUMP)"; export OBJDUMP
; \
3881 echo Configuring in perl
; \
3882 cd perl || exit
1; \
3885 srcdiroption
="--srcdir=."; \
3887 /* |
[A-Za-z
]:[\\/]*) \
3888 srcdiroption
="--srcdir=$(srcdir)/perl"; \
3889 libsrcdir
="$$s/perl";; \
3891 srcdiroption
="--srcdir=../$(srcdir)/perl"; \
3892 libsrcdir
="$$s/perl";; \
3894 $(SHELL
) $${libsrcdir}/configure \
3895 $(HOST_CONFIGARGS
) $${srcdiroption} \
3898 .PHONY
: all-perl maybe-all-perl
3900 all-perl
: configure-perl
3901 @r
=`${PWD}`; export r
; \
3902 s
=`cd $(srcdir); ${PWD}`; export s
; \
3904 (cd perl
&& $(MAKE
) $(FLAGS_TO_PASS
) all)
3909 @r
=`${PWD}`; export r
; \
3910 s
=`cd $(srcdir); ${PWD}`; export s
; \
3912 (cd perl
&& $(MAKE
) $(FLAGS_TO_PASS
) check)
3916 .PHONY
: install-perl maybe-install-perl
3918 install-perl
: installdirs
3919 @r
=`${PWD}`; export r
; \
3920 s
=`cd $(srcdir); ${PWD}`; export s
; \
3922 (cd perl
&& $(MAKE
) $(FLAGS_TO_PASS
) install)
3925 .PHONY
: configure-prms maybe-configure-prms
3926 maybe-configure-prms
:
3928 @
test ! -f prms
/Makefile || exit
0; \
3929 [ -d prms
] || mkdir prms
; \
3930 r
=`${PWD}`; export r
; \
3931 s
=`cd $(srcdir); ${PWD}`; export s
; \
3932 CC
="$(CC)"; export CC
; \
3933 CFLAGS
="$(CFLAGS)"; export CFLAGS
; \
3934 CXX
="$(CXX)"; export CXX
; \
3935 CXXFLAGS
="$(CXXFLAGS)"; export CXXFLAGS
; \
3936 if
[ z
$(build_canonical
) != z
$(host_canoncial
) ] ; then \
3937 AR
="$(AR)"; export AR
; \
3938 AS
="$(AS)"; export AS
; \
3939 CC_FOR_BUILD
="$(CC_FOR_BUILD)"; export CC_FOR_BUILD
; \
3940 DLLTOOL
="$(DLLTOOL)"; export DLLTOOL
; \
3941 LD
="$(LD)"; export LD
; \
3942 NM
="$(NM)"; export NM
; \
3943 RANLIB
="$(RANLIB)"; export RANLIB
; \
3944 WINDRES
="$(WINDRES)"; export WINDRES
; \
3945 OBJCOPY
="$(OBJCOPY)"; export OBJCOPY
; \
3946 OBJDUMP
="$(OBJDUMP)"; export OBJDUMP
; \
3948 echo Configuring in prms
; \
3949 cd prms || exit
1; \
3952 srcdiroption
="--srcdir=."; \
3954 /* |
[A-Za-z
]:[\\/]*) \
3955 srcdiroption
="--srcdir=$(srcdir)/prms"; \
3956 libsrcdir
="$$s/prms";; \
3958 srcdiroption
="--srcdir=../$(srcdir)/prms"; \
3959 libsrcdir
="$$s/prms";; \
3961 $(SHELL
) $${libsrcdir}/configure \
3962 $(HOST_CONFIGARGS
) $${srcdiroption} \
3965 .PHONY
: all-prms maybe-all-prms
3967 all-prms
: configure-prms
3968 @r
=`${PWD}`; export r
; \
3969 s
=`cd $(srcdir); ${PWD}`; export s
; \
3971 (cd prms
&& $(MAKE
) $(FLAGS_TO_PASS
) all)
3976 @r
=`${PWD}`; export r
; \
3977 s
=`cd $(srcdir); ${PWD}`; export s
; \
3979 (cd prms
&& $(MAKE
) $(FLAGS_TO_PASS
) check)
3983 .PHONY
: install-prms maybe-install-prms
3985 install-prms
: installdirs
3986 @r
=`${PWD}`; export r
; \
3987 s
=`cd $(srcdir); ${PWD}`; export s
; \
3989 (cd prms
&& $(MAKE
) $(FLAGS_TO_PASS
) install)
3992 .PHONY
: configure-rcs maybe-configure-rcs
3993 maybe-configure-rcs
:
3995 @
test ! -f rcs
/Makefile || exit
0; \
3996 [ -d rcs
] || mkdir rcs
; \
3997 r
=`${PWD}`; export r
; \
3998 s
=`cd $(srcdir); ${PWD}`; export s
; \
3999 CC
="$(CC)"; export CC
; \
4000 CFLAGS
="$(CFLAGS)"; export CFLAGS
; \
4001 CXX
="$(CXX)"; export CXX
; \
4002 CXXFLAGS
="$(CXXFLAGS)"; export CXXFLAGS
; \
4003 if
[ z
$(build_canonical
) != z
$(host_canoncial
) ] ; then \
4004 AR
="$(AR)"; export AR
; \
4005 AS
="$(AS)"; export AS
; \
4006 CC_FOR_BUILD
="$(CC_FOR_BUILD)"; export CC_FOR_BUILD
; \
4007 DLLTOOL
="$(DLLTOOL)"; export DLLTOOL
; \
4008 LD
="$(LD)"; export LD
; \
4009 NM
="$(NM)"; export NM
; \
4010 RANLIB
="$(RANLIB)"; export RANLIB
; \
4011 WINDRES
="$(WINDRES)"; export WINDRES
; \
4012 OBJCOPY
="$(OBJCOPY)"; export OBJCOPY
; \
4013 OBJDUMP
="$(OBJDUMP)"; export OBJDUMP
; \
4015 echo Configuring in rcs
; \
4019 srcdiroption
="--srcdir=."; \
4021 /* |
[A-Za-z
]:[\\/]*) \
4022 srcdiroption
="--srcdir=$(srcdir)/rcs"; \
4023 libsrcdir
="$$s/rcs";; \
4025 srcdiroption
="--srcdir=../$(srcdir)/rcs"; \
4026 libsrcdir
="$$s/rcs";; \
4028 $(SHELL
) $${libsrcdir}/configure \
4029 $(HOST_CONFIGARGS
) $${srcdiroption} \
4032 .PHONY
: all-rcs maybe-all-rcs
4034 all-rcs
: configure-rcs
4035 @r
=`${PWD}`; export r
; \
4036 s
=`cd $(srcdir); ${PWD}`; export s
; \
4038 (cd rcs
&& $(MAKE
) $(FLAGS_TO_PASS
) all)
4043 @r
=`${PWD}`; export r
; \
4044 s
=`cd $(srcdir); ${PWD}`; export s
; \
4046 (cd rcs
&& $(MAKE
) $(FLAGS_TO_PASS
) check)
4050 .PHONY
: install-rcs maybe-install-rcs
4052 install-rcs
: installdirs
4053 @r
=`${PWD}`; export r
; \
4054 s
=`cd $(srcdir); ${PWD}`; export s
; \
4056 (cd rcs
&& $(MAKE
) $(FLAGS_TO_PASS
) install)
4059 .PHONY
: configure-readline maybe-configure-readline
4060 maybe-configure-readline
:
4062 @
test ! -f readline
/Makefile || exit
0; \
4063 [ -d readline
] || mkdir readline
; \
4064 r
=`${PWD}`; export r
; \
4065 s
=`cd $(srcdir); ${PWD}`; export s
; \
4066 CC
="$(CC)"; export CC
; \
4067 CFLAGS
="$(CFLAGS)"; export CFLAGS
; \
4068 CXX
="$(CXX)"; export CXX
; \
4069 CXXFLAGS
="$(CXXFLAGS)"; export CXXFLAGS
; \
4070 if
[ z
$(build_canonical
) != z
$(host_canoncial
) ] ; then \
4071 AR
="$(AR)"; export AR
; \
4072 AS
="$(AS)"; export AS
; \
4073 CC_FOR_BUILD
="$(CC_FOR_BUILD)"; export CC_FOR_BUILD
; \
4074 DLLTOOL
="$(DLLTOOL)"; export DLLTOOL
; \
4075 LD
="$(LD)"; export LD
; \
4076 NM
="$(NM)"; export NM
; \
4077 RANLIB
="$(RANLIB)"; export RANLIB
; \
4078 WINDRES
="$(WINDRES)"; export WINDRES
; \
4079 OBJCOPY
="$(OBJCOPY)"; export OBJCOPY
; \
4080 OBJDUMP
="$(OBJDUMP)"; export OBJDUMP
; \
4082 echo Configuring in readline
; \
4083 cd readline || exit
1; \
4086 srcdiroption
="--srcdir=."; \
4088 /* |
[A-Za-z
]:[\\/]*) \
4089 srcdiroption
="--srcdir=$(srcdir)/readline"; \
4090 libsrcdir
="$$s/readline";; \
4092 srcdiroption
="--srcdir=../$(srcdir)/readline"; \
4093 libsrcdir
="$$s/readline";; \
4095 $(SHELL
) $${libsrcdir}/configure \
4096 $(HOST_CONFIGARGS
) $${srcdiroption} \
4099 .PHONY
: all-readline maybe-all-readline
4101 all-readline
: configure-readline
4102 @r
=`${PWD}`; export r
; \
4103 s
=`cd $(srcdir); ${PWD}`; export s
; \
4105 (cd readline
&& $(MAKE
) $(FLAGS_TO_PASS
) all)
4108 .PHONY
: check-readline
4110 @r
=`${PWD}`; export r
; \
4111 s
=`cd $(srcdir); ${PWD}`; export s
; \
4113 (cd readline
&& $(MAKE
) $(FLAGS_TO_PASS
) check)
4117 .PHONY
: install-readline maybe-install-readline
4118 maybe-install-readline
:
4119 install-readline
: installdirs
4120 @r
=`${PWD}`; export r
; \
4121 s
=`cd $(srcdir); ${PWD}`; export s
; \
4123 (cd readline
&& $(MAKE
) $(FLAGS_TO_PASS
) install)
4126 .PHONY
: configure-release maybe-configure-release
4127 maybe-configure-release
:
4129 @
test ! -f release
/Makefile || exit
0; \
4130 [ -d release
] || mkdir release
; \
4131 r
=`${PWD}`; export r
; \
4132 s
=`cd $(srcdir); ${PWD}`; export s
; \
4133 CC
="$(CC)"; export CC
; \
4134 CFLAGS
="$(CFLAGS)"; export CFLAGS
; \
4135 CXX
="$(CXX)"; export CXX
; \
4136 CXXFLAGS
="$(CXXFLAGS)"; export CXXFLAGS
; \
4137 if
[ z
$(build_canonical
) != z
$(host_canoncial
) ] ; then \
4138 AR
="$(AR)"; export AR
; \
4139 AS
="$(AS)"; export AS
; \
4140 CC_FOR_BUILD
="$(CC_FOR_BUILD)"; export CC_FOR_BUILD
; \
4141 DLLTOOL
="$(DLLTOOL)"; export DLLTOOL
; \
4142 LD
="$(LD)"; export LD
; \
4143 NM
="$(NM)"; export NM
; \
4144 RANLIB
="$(RANLIB)"; export RANLIB
; \
4145 WINDRES
="$(WINDRES)"; export WINDRES
; \
4146 OBJCOPY
="$(OBJCOPY)"; export OBJCOPY
; \
4147 OBJDUMP
="$(OBJDUMP)"; export OBJDUMP
; \
4149 echo Configuring in release
; \
4150 cd release || exit
1; \
4153 srcdiroption
="--srcdir=."; \
4155 /* |
[A-Za-z
]:[\\/]*) \
4156 srcdiroption
="--srcdir=$(srcdir)/release"; \
4157 libsrcdir
="$$s/release";; \
4159 srcdiroption
="--srcdir=../$(srcdir)/release"; \
4160 libsrcdir
="$$s/release";; \
4162 $(SHELL
) $${libsrcdir}/configure \
4163 $(HOST_CONFIGARGS
) $${srcdiroption} \
4166 .PHONY
: all-release maybe-all-release
4168 all-release
: configure-release
4169 @r
=`${PWD}`; export r
; \
4170 s
=`cd $(srcdir); ${PWD}`; export s
; \
4172 (cd release
&& $(MAKE
) $(FLAGS_TO_PASS
) all)
4175 .PHONY
: check-release
4180 .PHONY
: install-release maybe-install-release
4181 maybe-install-release
:
4185 .PHONY
: configure-recode maybe-configure-recode
4186 maybe-configure-recode
:
4188 @
test ! -f recode
/Makefile || exit
0; \
4189 [ -d recode
] || mkdir recode
; \
4190 r
=`${PWD}`; export r
; \
4191 s
=`cd $(srcdir); ${PWD}`; export s
; \
4192 CC
="$(CC)"; export CC
; \
4193 CFLAGS
="$(CFLAGS)"; export CFLAGS
; \
4194 CXX
="$(CXX)"; export CXX
; \
4195 CXXFLAGS
="$(CXXFLAGS)"; export CXXFLAGS
; \
4196 if
[ z
$(build_canonical
) != z
$(host_canoncial
) ] ; then \
4197 AR
="$(AR)"; export AR
; \
4198 AS
="$(AS)"; export AS
; \
4199 CC_FOR_BUILD
="$(CC_FOR_BUILD)"; export CC_FOR_BUILD
; \
4200 DLLTOOL
="$(DLLTOOL)"; export DLLTOOL
; \
4201 LD
="$(LD)"; export LD
; \
4202 NM
="$(NM)"; export NM
; \
4203 RANLIB
="$(RANLIB)"; export RANLIB
; \
4204 WINDRES
="$(WINDRES)"; export WINDRES
; \
4205 OBJCOPY
="$(OBJCOPY)"; export OBJCOPY
; \
4206 OBJDUMP
="$(OBJDUMP)"; export OBJDUMP
; \
4208 echo Configuring in recode
; \
4209 cd recode || exit
1; \
4212 srcdiroption
="--srcdir=."; \
4214 /* |
[A-Za-z
]:[\\/]*) \
4215 srcdiroption
="--srcdir=$(srcdir)/recode"; \
4216 libsrcdir
="$$s/recode";; \
4218 srcdiroption
="--srcdir=../$(srcdir)/recode"; \
4219 libsrcdir
="$$s/recode";; \
4221 $(SHELL
) $${libsrcdir}/configure \
4222 $(HOST_CONFIGARGS
) $${srcdiroption} \
4225 .PHONY
: all-recode maybe-all-recode
4227 all-recode
: configure-recode
4228 @r
=`${PWD}`; export r
; \
4229 s
=`cd $(srcdir); ${PWD}`; export s
; \
4231 (cd recode
&& $(MAKE
) $(FLAGS_TO_PASS
) all)
4234 .PHONY
: check-recode
4236 @r
=`${PWD}`; export r
; \
4237 s
=`cd $(srcdir); ${PWD}`; export s
; \
4239 (cd recode
&& $(MAKE
) $(FLAGS_TO_PASS
) check)
4243 .PHONY
: install-recode maybe-install-recode
4244 maybe-install-recode
:
4245 install-recode
: installdirs
4246 @r
=`${PWD}`; export r
; \
4247 s
=`cd $(srcdir); ${PWD}`; export s
; \
4249 (cd recode
&& $(MAKE
) $(FLAGS_TO_PASS
) install)
4252 .PHONY
: configure-sed maybe-configure-sed
4253 maybe-configure-sed
:
4255 @
test ! -f sed
/Makefile || exit
0; \
4256 [ -d sed
] || mkdir sed
; \
4257 r
=`${PWD}`; export r
; \
4258 s
=`cd $(srcdir); ${PWD}`; export s
; \
4259 CC
="$(CC)"; export CC
; \
4260 CFLAGS
="$(CFLAGS)"; export CFLAGS
; \
4261 CXX
="$(CXX)"; export CXX
; \
4262 CXXFLAGS
="$(CXXFLAGS)"; export CXXFLAGS
; \
4263 if
[ z
$(build_canonical
) != z
$(host_canoncial
) ] ; then \
4264 AR
="$(AR)"; export AR
; \
4265 AS
="$(AS)"; export AS
; \
4266 CC_FOR_BUILD
="$(CC_FOR_BUILD)"; export CC_FOR_BUILD
; \
4267 DLLTOOL
="$(DLLTOOL)"; export DLLTOOL
; \
4268 LD
="$(LD)"; export LD
; \
4269 NM
="$(NM)"; export NM
; \
4270 RANLIB
="$(RANLIB)"; export RANLIB
; \
4271 WINDRES
="$(WINDRES)"; export WINDRES
; \
4272 OBJCOPY
="$(OBJCOPY)"; export OBJCOPY
; \
4273 OBJDUMP
="$(OBJDUMP)"; export OBJDUMP
; \
4275 echo Configuring in sed
; \
4279 srcdiroption
="--srcdir=."; \
4281 /* |
[A-Za-z
]:[\\/]*) \
4282 srcdiroption
="--srcdir=$(srcdir)/sed"; \
4283 libsrcdir
="$$s/sed";; \
4285 srcdiroption
="--srcdir=../$(srcdir)/sed"; \
4286 libsrcdir
="$$s/sed";; \
4288 $(SHELL
) $${libsrcdir}/configure \
4289 $(HOST_CONFIGARGS
) $${srcdiroption} \
4292 .PHONY
: all-sed maybe-all-sed
4294 all-sed
: configure-sed
4295 @r
=`${PWD}`; export r
; \
4296 s
=`cd $(srcdir); ${PWD}`; export s
; \
4298 (cd sed
&& $(MAKE
) $(FLAGS_TO_PASS
) all)
4303 @r
=`${PWD}`; export r
; \
4304 s
=`cd $(srcdir); ${PWD}`; export s
; \
4306 (cd sed
&& $(MAKE
) $(FLAGS_TO_PASS
) check)
4310 .PHONY
: install-sed maybe-install-sed
4312 install-sed
: installdirs
4313 @r
=`${PWD}`; export r
; \
4314 s
=`cd $(srcdir); ${PWD}`; export s
; \
4316 (cd sed
&& $(MAKE
) $(FLAGS_TO_PASS
) install)
4319 .PHONY
: configure-send-pr maybe-configure-send-pr
4320 maybe-configure-send-pr
:
4322 @
test ! -f send-pr
/Makefile || exit
0; \
4323 [ -d send-pr
] || mkdir send-pr
; \
4324 r
=`${PWD}`; export r
; \
4325 s
=`cd $(srcdir); ${PWD}`; export s
; \
4326 CC
="$(CC)"; export CC
; \
4327 CFLAGS
="$(CFLAGS)"; export CFLAGS
; \
4328 CXX
="$(CXX)"; export CXX
; \
4329 CXXFLAGS
="$(CXXFLAGS)"; export CXXFLAGS
; \
4330 if
[ z
$(build_canonical
) != z
$(host_canoncial
) ] ; then \
4331 AR
="$(AR)"; export AR
; \
4332 AS
="$(AS)"; export AS
; \
4333 CC_FOR_BUILD
="$(CC_FOR_BUILD)"; export CC_FOR_BUILD
; \
4334 DLLTOOL
="$(DLLTOOL)"; export DLLTOOL
; \
4335 LD
="$(LD)"; export LD
; \
4336 NM
="$(NM)"; export NM
; \
4337 RANLIB
="$(RANLIB)"; export RANLIB
; \
4338 WINDRES
="$(WINDRES)"; export WINDRES
; \
4339 OBJCOPY
="$(OBJCOPY)"; export OBJCOPY
; \
4340 OBJDUMP
="$(OBJDUMP)"; export OBJDUMP
; \
4342 echo Configuring in send-pr
; \
4343 cd send-pr || exit
1; \
4346 srcdiroption
="--srcdir=."; \
4348 /* |
[A-Za-z
]:[\\/]*) \
4349 srcdiroption
="--srcdir=$(srcdir)/send-pr"; \
4350 libsrcdir
="$$s/send-pr";; \
4352 srcdiroption
="--srcdir=../$(srcdir)/send-pr"; \
4353 libsrcdir
="$$s/send-pr";; \
4355 $(SHELL
) $${libsrcdir}/configure \
4356 $(HOST_CONFIGARGS
) $${srcdiroption} \
4359 .PHONY
: all-send-pr maybe-all-send-pr
4361 all-send-pr
: configure-send-pr
4362 @r
=`${PWD}`; export r
; \
4363 s
=`cd $(srcdir); ${PWD}`; export s
; \
4365 (cd send-pr
&& $(MAKE
) $(FLAGS_TO_PASS
) all)
4368 .PHONY
: check-send-pr
4370 @r
=`${PWD}`; export r
; \
4371 s
=`cd $(srcdir); ${PWD}`; export s
; \
4373 (cd send-pr
&& $(MAKE
) $(FLAGS_TO_PASS
) check)
4377 .PHONY
: install-send-pr maybe-install-send-pr
4378 maybe-install-send-pr
:
4379 install-send-pr
: installdirs
4380 @r
=`${PWD}`; export r
; \
4381 s
=`cd $(srcdir); ${PWD}`; export s
; \
4383 (cd send-pr
&& $(MAKE
) $(FLAGS_TO_PASS
) install)
4386 .PHONY
: configure-shellutils maybe-configure-shellutils
4387 maybe-configure-shellutils
:
4388 configure-shellutils
:
4389 @
test ! -f shellutils
/Makefile || exit
0; \
4390 [ -d shellutils
] || mkdir shellutils
; \
4391 r
=`${PWD}`; export r
; \
4392 s
=`cd $(srcdir); ${PWD}`; export s
; \
4393 CC
="$(CC)"; export CC
; \
4394 CFLAGS
="$(CFLAGS)"; export CFLAGS
; \
4395 CXX
="$(CXX)"; export CXX
; \
4396 CXXFLAGS
="$(CXXFLAGS)"; export CXXFLAGS
; \
4397 if
[ z
$(build_canonical
) != z
$(host_canoncial
) ] ; then \
4398 AR
="$(AR)"; export AR
; \
4399 AS
="$(AS)"; export AS
; \
4400 CC_FOR_BUILD
="$(CC_FOR_BUILD)"; export CC_FOR_BUILD
; \
4401 DLLTOOL
="$(DLLTOOL)"; export DLLTOOL
; \
4402 LD
="$(LD)"; export LD
; \
4403 NM
="$(NM)"; export NM
; \
4404 RANLIB
="$(RANLIB)"; export RANLIB
; \
4405 WINDRES
="$(WINDRES)"; export WINDRES
; \
4406 OBJCOPY
="$(OBJCOPY)"; export OBJCOPY
; \
4407 OBJDUMP
="$(OBJDUMP)"; export OBJDUMP
; \
4409 echo Configuring in shellutils
; \
4410 cd shellutils || exit
1; \
4413 srcdiroption
="--srcdir=."; \
4415 /* |
[A-Za-z
]:[\\/]*) \
4416 srcdiroption
="--srcdir=$(srcdir)/shellutils"; \
4417 libsrcdir
="$$s/shellutils";; \
4419 srcdiroption
="--srcdir=../$(srcdir)/shellutils"; \
4420 libsrcdir
="$$s/shellutils";; \
4422 $(SHELL
) $${libsrcdir}/configure \
4423 $(HOST_CONFIGARGS
) $${srcdiroption} \
4426 .PHONY
: all-shellutils maybe-all-shellutils
4427 maybe-all-shellutils
:
4428 all-shellutils
: configure-shellutils
4429 @r
=`${PWD}`; export r
; \
4430 s
=`cd $(srcdir); ${PWD}`; export s
; \
4432 (cd shellutils
&& $(MAKE
) $(FLAGS_TO_PASS
) all)
4435 .PHONY
: check-shellutils
4437 @r
=`${PWD}`; export r
; \
4438 s
=`cd $(srcdir); ${PWD}`; export s
; \
4440 (cd shellutils
&& $(MAKE
) $(FLAGS_TO_PASS
) check)
4444 .PHONY
: install-shellutils maybe-install-shellutils
4445 maybe-install-shellutils
:
4446 install-shellutils
: installdirs
4447 @r
=`${PWD}`; export r
; \
4448 s
=`cd $(srcdir); ${PWD}`; export s
; \
4450 (cd shellutils
&& $(MAKE
) $(FLAGS_TO_PASS
) install)
4453 .PHONY
: configure-sid maybe-configure-sid
4454 maybe-configure-sid
:
4456 @
test ! -f sid
/Makefile || exit
0; \
4457 [ -d sid
] || mkdir sid
; \
4458 r
=`${PWD}`; export r
; \
4459 s
=`cd $(srcdir); ${PWD}`; export s
; \
4460 CC
="$(CC)"; export CC
; \
4461 CFLAGS
="$(CFLAGS)"; export CFLAGS
; \
4462 CXX
="$(CXX)"; export CXX
; \
4463 CXXFLAGS
="$(CXXFLAGS)"; export CXXFLAGS
; \
4464 if
[ z
$(build_canonical
) != z
$(host_canoncial
) ] ; then \
4465 AR
="$(AR)"; export AR
; \
4466 AS
="$(AS)"; export AS
; \
4467 CC_FOR_BUILD
="$(CC_FOR_BUILD)"; export CC_FOR_BUILD
; \
4468 DLLTOOL
="$(DLLTOOL)"; export DLLTOOL
; \
4469 LD
="$(LD)"; export LD
; \
4470 NM
="$(NM)"; export NM
; \
4471 RANLIB
="$(RANLIB)"; export RANLIB
; \
4472 WINDRES
="$(WINDRES)"; export WINDRES
; \
4473 OBJCOPY
="$(OBJCOPY)"; export OBJCOPY
; \
4474 OBJDUMP
="$(OBJDUMP)"; export OBJDUMP
; \
4476 echo Configuring in sid
; \
4480 srcdiroption
="--srcdir=."; \
4482 /* |
[A-Za-z
]:[\\/]*) \
4483 srcdiroption
="--srcdir=$(srcdir)/sid"; \
4484 libsrcdir
="$$s/sid";; \
4486 srcdiroption
="--srcdir=../$(srcdir)/sid"; \
4487 libsrcdir
="$$s/sid";; \
4489 $(SHELL
) $${libsrcdir}/configure \
4490 $(HOST_CONFIGARGS
) $${srcdiroption} \
4493 .PHONY
: all-sid maybe-all-sid
4495 all-sid
: configure-sid
4496 @r
=`${PWD}`; export r
; \
4497 s
=`cd $(srcdir); ${PWD}`; export s
; \
4499 (cd sid
&& $(MAKE
) $(FLAGS_TO_PASS
) all)
4504 @r
=`${PWD}`; export r
; \
4505 s
=`cd $(srcdir); ${PWD}`; export s
; \
4507 (cd sid
&& $(MAKE
) $(FLAGS_TO_PASS
) check)
4511 .PHONY
: install-sid maybe-install-sid
4513 install-sid
: installdirs
4514 @r
=`${PWD}`; export r
; \
4515 s
=`cd $(srcdir); ${PWD}`; export s
; \
4517 (cd sid
&& $(MAKE
) $(FLAGS_TO_PASS
) install)
4520 .PHONY
: configure-sim maybe-configure-sim
4521 maybe-configure-sim
:
4523 @
test ! -f sim
/Makefile || exit
0; \
4524 [ -d sim
] || mkdir sim
; \
4525 r
=`${PWD}`; export r
; \
4526 s
=`cd $(srcdir); ${PWD}`; export s
; \
4527 CC
="$(CC)"; export CC
; \
4528 CFLAGS
="$(CFLAGS)"; export CFLAGS
; \
4529 CXX
="$(CXX)"; export CXX
; \
4530 CXXFLAGS
="$(CXXFLAGS)"; export CXXFLAGS
; \
4531 if
[ z
$(build_canonical
) != z
$(host_canoncial
) ] ; then \
4532 AR
="$(AR)"; export AR
; \
4533 AS
="$(AS)"; export AS
; \
4534 CC_FOR_BUILD
="$(CC_FOR_BUILD)"; export CC_FOR_BUILD
; \
4535 DLLTOOL
="$(DLLTOOL)"; export DLLTOOL
; \
4536 LD
="$(LD)"; export LD
; \
4537 NM
="$(NM)"; export NM
; \
4538 RANLIB
="$(RANLIB)"; export RANLIB
; \
4539 WINDRES
="$(WINDRES)"; export WINDRES
; \
4540 OBJCOPY
="$(OBJCOPY)"; export OBJCOPY
; \
4541 OBJDUMP
="$(OBJDUMP)"; export OBJDUMP
; \
4543 echo Configuring in sim
; \
4547 srcdiroption
="--srcdir=."; \
4549 /* |
[A-Za-z
]:[\\/]*) \
4550 srcdiroption
="--srcdir=$(srcdir)/sim"; \
4551 libsrcdir
="$$s/sim";; \
4553 srcdiroption
="--srcdir=../$(srcdir)/sim"; \
4554 libsrcdir
="$$s/sim";; \
4556 $(SHELL
) $${libsrcdir}/configure \
4557 $(HOST_CONFIGARGS
) $${srcdiroption} \
4560 .PHONY
: all-sim maybe-all-sim
4562 all-sim
: configure-sim
4563 @r
=`${PWD}`; export r
; \
4564 s
=`cd $(srcdir); ${PWD}`; export s
; \
4566 (cd sim
&& $(MAKE
) $(FLAGS_TO_PASS
) all)
4571 @r
=`${PWD}`; export r
; \
4572 s
=`cd $(srcdir); ${PWD}`; export s
; \
4574 (cd sim
&& $(MAKE
) $(FLAGS_TO_PASS
) check)
4578 .PHONY
: install-sim maybe-install-sim
4580 install-sim
: installdirs
4581 @r
=`${PWD}`; export r
; \
4582 s
=`cd $(srcdir); ${PWD}`; export s
; \
4584 (cd sim
&& $(MAKE
) $(FLAGS_TO_PASS
) install)
4587 .PHONY
: configure-tar maybe-configure-tar
4588 maybe-configure-tar
:
4590 @
test ! -f
tar/Makefile || exit
0; \
4591 [ -d
tar ] || mkdir
tar; \
4592 r
=`${PWD}`; export r
; \
4593 s
=`cd $(srcdir); ${PWD}`; export s
; \
4594 CC
="$(CC)"; export CC
; \
4595 CFLAGS
="$(CFLAGS)"; export CFLAGS
; \
4596 CXX
="$(CXX)"; export CXX
; \
4597 CXXFLAGS
="$(CXXFLAGS)"; export CXXFLAGS
; \
4598 if
[ z
$(build_canonical
) != z
$(host_canoncial
) ] ; then \
4599 AR
="$(AR)"; export AR
; \
4600 AS
="$(AS)"; export AS
; \
4601 CC_FOR_BUILD
="$(CC_FOR_BUILD)"; export CC_FOR_BUILD
; \
4602 DLLTOOL
="$(DLLTOOL)"; export DLLTOOL
; \
4603 LD
="$(LD)"; export LD
; \
4604 NM
="$(NM)"; export NM
; \
4605 RANLIB
="$(RANLIB)"; export RANLIB
; \
4606 WINDRES
="$(WINDRES)"; export WINDRES
; \
4607 OBJCOPY
="$(OBJCOPY)"; export OBJCOPY
; \
4608 OBJDUMP
="$(OBJDUMP)"; export OBJDUMP
; \
4610 echo Configuring in
tar; \
4614 srcdiroption
="--srcdir=."; \
4616 /* |
[A-Za-z
]:[\\/]*) \
4617 srcdiroption
="--srcdir=$(srcdir)/tar"; \
4618 libsrcdir
="$$s/tar";; \
4620 srcdiroption
="--srcdir=../$(srcdir)/tar"; \
4621 libsrcdir
="$$s/tar";; \
4623 $(SHELL
) $${libsrcdir}/configure \
4624 $(HOST_CONFIGARGS
) $${srcdiroption} \
4627 .PHONY
: all-tar maybe-all-tar
4629 all-tar
: configure-tar
4630 @r
=`${PWD}`; export r
; \
4631 s
=`cd $(srcdir); ${PWD}`; export s
; \
4633 (cd
tar && $(MAKE
) $(FLAGS_TO_PASS
) all)
4638 @r
=`${PWD}`; export r
; \
4639 s
=`cd $(srcdir); ${PWD}`; export s
; \
4641 (cd
tar && $(MAKE
) $(FLAGS_TO_PASS
) check)
4645 .PHONY
: install-tar maybe-install-tar
4647 install-tar
: installdirs
4648 @r
=`${PWD}`; export r
; \
4649 s
=`cd $(srcdir); ${PWD}`; export s
; \
4651 (cd
tar && $(MAKE
) $(FLAGS_TO_PASS
) install)
4654 .PHONY
: configure-texinfo maybe-configure-texinfo
4655 maybe-configure-texinfo
:
4657 @
test ! -f texinfo
/Makefile || exit
0; \
4658 [ -d texinfo
] || mkdir texinfo
; \
4659 r
=`${PWD}`; export r
; \
4660 s
=`cd $(srcdir); ${PWD}`; export s
; \
4661 CC
="$(CC)"; export CC
; \
4662 CFLAGS
="$(CFLAGS)"; export CFLAGS
; \
4663 CXX
="$(CXX)"; export CXX
; \
4664 CXXFLAGS
="$(CXXFLAGS)"; export CXXFLAGS
; \
4665 if
[ z
$(build_canonical
) != z
$(host_canoncial
) ] ; then \
4666 AR
="$(AR)"; export AR
; \
4667 AS
="$(AS)"; export AS
; \
4668 CC_FOR_BUILD
="$(CC_FOR_BUILD)"; export CC_FOR_BUILD
; \
4669 DLLTOOL
="$(DLLTOOL)"; export DLLTOOL
; \
4670 LD
="$(LD)"; export LD
; \
4671 NM
="$(NM)"; export NM
; \
4672 RANLIB
="$(RANLIB)"; export RANLIB
; \
4673 WINDRES
="$(WINDRES)"; export WINDRES
; \
4674 OBJCOPY
="$(OBJCOPY)"; export OBJCOPY
; \
4675 OBJDUMP
="$(OBJDUMP)"; export OBJDUMP
; \
4677 echo Configuring in texinfo
; \
4678 cd texinfo || exit
1; \
4681 srcdiroption
="--srcdir=."; \
4683 /* |
[A-Za-z
]:[\\/]*) \
4684 srcdiroption
="--srcdir=$(srcdir)/texinfo"; \
4685 libsrcdir
="$$s/texinfo";; \
4687 srcdiroption
="--srcdir=../$(srcdir)/texinfo"; \
4688 libsrcdir
="$$s/texinfo";; \
4690 $(SHELL
) $${libsrcdir}/configure \
4691 $(HOST_CONFIGARGS
) $${srcdiroption} \
4694 .PHONY
: all-texinfo maybe-all-texinfo
4696 all-texinfo
: configure-texinfo
4697 @r
=`${PWD}`; export r
; \
4698 s
=`cd $(srcdir); ${PWD}`; export s
; \
4700 (cd texinfo
&& $(MAKE
) $(FLAGS_TO_PASS
) all)
4703 .PHONY
: check-texinfo
4705 @r
=`${PWD}`; export r
; \
4706 s
=`cd $(srcdir); ${PWD}`; export s
; \
4708 (cd texinfo
&& $(MAKE
) $(FLAGS_TO_PASS
) check)
4712 .PHONY
: install-texinfo maybe-install-texinfo
4713 maybe-install-texinfo
:
4717 .PHONY
: configure-textutils maybe-configure-textutils
4718 maybe-configure-textutils
:
4719 configure-textutils
:
4720 @
test ! -f textutils
/Makefile || exit
0; \
4721 [ -d textutils
] || mkdir textutils
; \
4722 r
=`${PWD}`; export r
; \
4723 s
=`cd $(srcdir); ${PWD}`; export s
; \
4724 CC
="$(CC)"; export CC
; \
4725 CFLAGS
="$(CFLAGS)"; export CFLAGS
; \
4726 CXX
="$(CXX)"; export CXX
; \
4727 CXXFLAGS
="$(CXXFLAGS)"; export CXXFLAGS
; \
4728 if
[ z
$(build_canonical
) != z
$(host_canoncial
) ] ; then \
4729 AR
="$(AR)"; export AR
; \
4730 AS
="$(AS)"; export AS
; \
4731 CC_FOR_BUILD
="$(CC_FOR_BUILD)"; export CC_FOR_BUILD
; \
4732 DLLTOOL
="$(DLLTOOL)"; export DLLTOOL
; \
4733 LD
="$(LD)"; export LD
; \
4734 NM
="$(NM)"; export NM
; \
4735 RANLIB
="$(RANLIB)"; export RANLIB
; \
4736 WINDRES
="$(WINDRES)"; export WINDRES
; \
4737 OBJCOPY
="$(OBJCOPY)"; export OBJCOPY
; \
4738 OBJDUMP
="$(OBJDUMP)"; export OBJDUMP
; \
4740 echo Configuring in textutils
; \
4741 cd textutils || exit
1; \
4744 srcdiroption
="--srcdir=."; \
4746 /* |
[A-Za-z
]:[\\/]*) \
4747 srcdiroption
="--srcdir=$(srcdir)/textutils"; \
4748 libsrcdir
="$$s/textutils";; \
4750 srcdiroption
="--srcdir=../$(srcdir)/textutils"; \
4751 libsrcdir
="$$s/textutils";; \
4753 $(SHELL
) $${libsrcdir}/configure \
4754 $(HOST_CONFIGARGS
) $${srcdiroption} \
4757 .PHONY
: all-textutils maybe-all-textutils
4758 maybe-all-textutils
:
4759 all-textutils
: configure-textutils
4760 @r
=`${PWD}`; export r
; \
4761 s
=`cd $(srcdir); ${PWD}`; export s
; \
4763 (cd textutils
&& $(MAKE
) $(FLAGS_TO_PASS
) all)
4766 .PHONY
: check-textutils
4768 @r
=`${PWD}`; export r
; \
4769 s
=`cd $(srcdir); ${PWD}`; export s
; \
4771 (cd textutils
&& $(MAKE
) $(FLAGS_TO_PASS
) check)
4775 .PHONY
: install-textutils maybe-install-textutils
4776 maybe-install-textutils
:
4777 install-textutils
: installdirs
4778 @r
=`${PWD}`; export r
; \
4779 s
=`cd $(srcdir); ${PWD}`; export s
; \
4781 (cd textutils
&& $(MAKE
) $(FLAGS_TO_PASS
) install)
4784 .PHONY
: configure-time maybe-configure-time
4785 maybe-configure-time
:
4787 @
test ! -f time
/Makefile || exit
0; \
4788 [ -d time
] || mkdir time
; \
4789 r
=`${PWD}`; export r
; \
4790 s
=`cd $(srcdir); ${PWD}`; export s
; \
4791 CC
="$(CC)"; export CC
; \
4792 CFLAGS
="$(CFLAGS)"; export CFLAGS
; \
4793 CXX
="$(CXX)"; export CXX
; \
4794 CXXFLAGS
="$(CXXFLAGS)"; export CXXFLAGS
; \
4795 if
[ z
$(build_canonical
) != z
$(host_canoncial
) ] ; then \
4796 AR
="$(AR)"; export AR
; \
4797 AS
="$(AS)"; export AS
; \
4798 CC_FOR_BUILD
="$(CC_FOR_BUILD)"; export CC_FOR_BUILD
; \
4799 DLLTOOL
="$(DLLTOOL)"; export DLLTOOL
; \
4800 LD
="$(LD)"; export LD
; \
4801 NM
="$(NM)"; export NM
; \
4802 RANLIB
="$(RANLIB)"; export RANLIB
; \
4803 WINDRES
="$(WINDRES)"; export WINDRES
; \
4804 OBJCOPY
="$(OBJCOPY)"; export OBJCOPY
; \
4805 OBJDUMP
="$(OBJDUMP)"; export OBJDUMP
; \
4807 echo Configuring in time
; \
4808 cd time || exit
1; \
4811 srcdiroption
="--srcdir=."; \
4813 /* |
[A-Za-z
]:[\\/]*) \
4814 srcdiroption
="--srcdir=$(srcdir)/time"; \
4815 libsrcdir
="$$s/time";; \
4817 srcdiroption
="--srcdir=../$(srcdir)/time"; \
4818 libsrcdir
="$$s/time";; \
4820 $(SHELL
) $${libsrcdir}/configure \
4821 $(HOST_CONFIGARGS
) $${srcdiroption} \
4824 .PHONY
: all-time maybe-all-time
4826 all-time
: configure-time
4827 @r
=`${PWD}`; export r
; \
4828 s
=`cd $(srcdir); ${PWD}`; export s
; \
4830 (cd time
&& $(MAKE
) $(FLAGS_TO_PASS
) all)
4835 @r
=`${PWD}`; export r
; \
4836 s
=`cd $(srcdir); ${PWD}`; export s
; \
4838 (cd time
&& $(MAKE
) $(FLAGS_TO_PASS
) check)
4842 .PHONY
: install-time maybe-install-time
4844 install-time
: installdirs
4845 @r
=`${PWD}`; export r
; \
4846 s
=`cd $(srcdir); ${PWD}`; export s
; \
4848 (cd time
&& $(MAKE
) $(FLAGS_TO_PASS
) install)
4851 .PHONY
: configure-uudecode maybe-configure-uudecode
4852 maybe-configure-uudecode
:
4854 @
test ! -f uudecode
/Makefile || exit
0; \
4855 [ -d uudecode
] || mkdir uudecode
; \
4856 r
=`${PWD}`; export r
; \
4857 s
=`cd $(srcdir); ${PWD}`; export s
; \
4858 CC
="$(CC)"; export CC
; \
4859 CFLAGS
="$(CFLAGS)"; export CFLAGS
; \
4860 CXX
="$(CXX)"; export CXX
; \
4861 CXXFLAGS
="$(CXXFLAGS)"; export CXXFLAGS
; \
4862 if
[ z
$(build_canonical
) != z
$(host_canoncial
) ] ; then \
4863 AR
="$(AR)"; export AR
; \
4864 AS
="$(AS)"; export AS
; \
4865 CC_FOR_BUILD
="$(CC_FOR_BUILD)"; export CC_FOR_BUILD
; \
4866 DLLTOOL
="$(DLLTOOL)"; export DLLTOOL
; \
4867 LD
="$(LD)"; export LD
; \
4868 NM
="$(NM)"; export NM
; \
4869 RANLIB
="$(RANLIB)"; export RANLIB
; \
4870 WINDRES
="$(WINDRES)"; export WINDRES
; \
4871 OBJCOPY
="$(OBJCOPY)"; export OBJCOPY
; \
4872 OBJDUMP
="$(OBJDUMP)"; export OBJDUMP
; \
4874 echo Configuring in uudecode
; \
4875 cd uudecode || exit
1; \
4878 srcdiroption
="--srcdir=."; \
4880 /* |
[A-Za-z
]:[\\/]*) \
4881 srcdiroption
="--srcdir=$(srcdir)/uudecode"; \
4882 libsrcdir
="$$s/uudecode";; \
4884 srcdiroption
="--srcdir=../$(srcdir)/uudecode"; \
4885 libsrcdir
="$$s/uudecode";; \
4887 $(SHELL
) $${libsrcdir}/configure \
4888 $(HOST_CONFIGARGS
) $${srcdiroption} \
4891 .PHONY
: all-uudecode maybe-all-uudecode
4893 all-uudecode
: configure-uudecode
4894 @r
=`${PWD}`; export r
; \
4895 s
=`cd $(srcdir); ${PWD}`; export s
; \
4897 (cd uudecode
&& $(MAKE
) $(FLAGS_TO_PASS
) all)
4900 .PHONY
: check-uudecode
4902 @r
=`${PWD}`; export r
; \
4903 s
=`cd $(srcdir); ${PWD}`; export s
; \
4905 (cd uudecode
&& $(MAKE
) $(FLAGS_TO_PASS
) check)
4909 .PHONY
: install-uudecode maybe-install-uudecode
4910 maybe-install-uudecode
:
4911 install-uudecode
: installdirs
4912 @r
=`${PWD}`; export r
; \
4913 s
=`cd $(srcdir); ${PWD}`; export s
; \
4915 (cd uudecode
&& $(MAKE
) $(FLAGS_TO_PASS
) install)
4918 .PHONY
: configure-wdiff maybe-configure-wdiff
4919 maybe-configure-wdiff
:
4921 @
test ! -f wdiff
/Makefile || exit
0; \
4922 [ -d wdiff
] || mkdir wdiff
; \
4923 r
=`${PWD}`; export r
; \
4924 s
=`cd $(srcdir); ${PWD}`; export s
; \
4925 CC
="$(CC)"; export CC
; \
4926 CFLAGS
="$(CFLAGS)"; export CFLAGS
; \
4927 CXX
="$(CXX)"; export CXX
; \
4928 CXXFLAGS
="$(CXXFLAGS)"; export CXXFLAGS
; \
4929 if
[ z
$(build_canonical
) != z
$(host_canoncial
) ] ; then \
4930 AR
="$(AR)"; export AR
; \
4931 AS
="$(AS)"; export AS
; \
4932 CC_FOR_BUILD
="$(CC_FOR_BUILD)"; export CC_FOR_BUILD
; \
4933 DLLTOOL
="$(DLLTOOL)"; export DLLTOOL
; \
4934 LD
="$(LD)"; export LD
; \
4935 NM
="$(NM)"; export NM
; \
4936 RANLIB
="$(RANLIB)"; export RANLIB
; \
4937 WINDRES
="$(WINDRES)"; export WINDRES
; \
4938 OBJCOPY
="$(OBJCOPY)"; export OBJCOPY
; \
4939 OBJDUMP
="$(OBJDUMP)"; export OBJDUMP
; \
4941 echo Configuring in wdiff
; \
4942 cd wdiff || exit
1; \
4945 srcdiroption
="--srcdir=."; \
4947 /* |
[A-Za-z
]:[\\/]*) \
4948 srcdiroption
="--srcdir=$(srcdir)/wdiff"; \
4949 libsrcdir
="$$s/wdiff";; \
4951 srcdiroption
="--srcdir=../$(srcdir)/wdiff"; \
4952 libsrcdir
="$$s/wdiff";; \
4954 $(SHELL
) $${libsrcdir}/configure \
4955 $(HOST_CONFIGARGS
) $${srcdiroption} \
4958 .PHONY
: all-wdiff maybe-all-wdiff
4960 all-wdiff
: configure-wdiff
4961 @r
=`${PWD}`; export r
; \
4962 s
=`cd $(srcdir); ${PWD}`; export s
; \
4964 (cd wdiff
&& $(MAKE
) $(FLAGS_TO_PASS
) all)
4969 @r
=`${PWD}`; export r
; \
4970 s
=`cd $(srcdir); ${PWD}`; export s
; \
4972 (cd wdiff
&& $(MAKE
) $(FLAGS_TO_PASS
) check)
4976 .PHONY
: install-wdiff maybe-install-wdiff
4977 maybe-install-wdiff
:
4978 install-wdiff
: installdirs
4979 @r
=`${PWD}`; export r
; \
4980 s
=`cd $(srcdir); ${PWD}`; export s
; \
4982 (cd wdiff
&& $(MAKE
) $(FLAGS_TO_PASS
) install)
4985 .PHONY
: configure-zip maybe-configure-zip
4986 maybe-configure-zip
:
4988 @
test ! -f zip
/Makefile || exit
0; \
4989 [ -d zip
] || mkdir zip
; \
4990 r
=`${PWD}`; export r
; \
4991 s
=`cd $(srcdir); ${PWD}`; export s
; \
4992 CC
="$(CC)"; export CC
; \
4993 CFLAGS
="$(CFLAGS)"; export CFLAGS
; \
4994 CXX
="$(CXX)"; export CXX
; \
4995 CXXFLAGS
="$(CXXFLAGS)"; export CXXFLAGS
; \
4996 if
[ z
$(build_canonical
) != z
$(host_canoncial
) ] ; then \
4997 AR
="$(AR)"; export AR
; \
4998 AS
="$(AS)"; export AS
; \
4999 CC_FOR_BUILD
="$(CC_FOR_BUILD)"; export CC_FOR_BUILD
; \
5000 DLLTOOL
="$(DLLTOOL)"; export DLLTOOL
; \
5001 LD
="$(LD)"; export LD
; \
5002 NM
="$(NM)"; export NM
; \
5003 RANLIB
="$(RANLIB)"; export RANLIB
; \
5004 WINDRES
="$(WINDRES)"; export WINDRES
; \
5005 OBJCOPY
="$(OBJCOPY)"; export OBJCOPY
; \
5006 OBJDUMP
="$(OBJDUMP)"; export OBJDUMP
; \
5008 echo Configuring in zip
; \
5012 srcdiroption
="--srcdir=."; \
5014 /* |
[A-Za-z
]:[\\/]*) \
5015 srcdiroption
="--srcdir=$(srcdir)/zip"; \
5016 libsrcdir
="$$s/zip";; \
5018 srcdiroption
="--srcdir=../$(srcdir)/zip"; \
5019 libsrcdir
="$$s/zip";; \
5021 $(SHELL
) $${libsrcdir}/configure \
5022 $(HOST_CONFIGARGS
) $${srcdiroption} \
5025 .PHONY
: all-zip maybe-all-zip
5027 all-zip
: configure-zip
5028 @r
=`${PWD}`; export r
; \
5029 s
=`cd $(srcdir); ${PWD}`; export s
; \
5031 (cd zip
&& $(MAKE
) $(FLAGS_TO_PASS
) all)
5035 # This module is only tested in a native toolchain.
5037 @if
[ '$(host_canonical)' = '$(target_canonical)' ] ; then \
5038 r
=`${PWD}`; export r
; \
5039 s
=`cd $(srcdir); ${PWD}`; export s
; \
5041 (cd zip
&& $(MAKE
) $(FLAGS_TO_PASS
) check); \
5046 .PHONY
: install-zip maybe-install-zip
5048 install-zip
: installdirs
5049 @r
=`${PWD}`; export r
; \
5050 s
=`cd $(srcdir); ${PWD}`; export s
; \
5052 (cd zip
&& $(MAKE
) $(FLAGS_TO_PASS
) install)
5055 .PHONY
: configure-zlib maybe-configure-zlib
5056 maybe-configure-zlib
:
5058 @
test ! -f zlib
/Makefile || exit
0; \
5059 [ -d zlib
] || mkdir zlib
; \
5060 r
=`${PWD}`; export r
; \
5061 s
=`cd $(srcdir); ${PWD}`; export s
; \
5062 CC
="$(CC)"; export CC
; \
5063 CFLAGS
="$(CFLAGS)"; export CFLAGS
; \
5064 CXX
="$(CXX)"; export CXX
; \
5065 CXXFLAGS
="$(CXXFLAGS)"; export CXXFLAGS
; \
5066 if
[ z
$(build_canonical
) != z
$(host_canoncial
) ] ; then \
5067 AR
="$(AR)"; export AR
; \
5068 AS
="$(AS)"; export AS
; \
5069 CC_FOR_BUILD
="$(CC_FOR_BUILD)"; export CC_FOR_BUILD
; \
5070 DLLTOOL
="$(DLLTOOL)"; export DLLTOOL
; \
5071 LD
="$(LD)"; export LD
; \
5072 NM
="$(NM)"; export NM
; \
5073 RANLIB
="$(RANLIB)"; export RANLIB
; \
5074 WINDRES
="$(WINDRES)"; export WINDRES
; \
5075 OBJCOPY
="$(OBJCOPY)"; export OBJCOPY
; \
5076 OBJDUMP
="$(OBJDUMP)"; export OBJDUMP
; \
5078 echo Configuring in zlib
; \
5079 cd zlib || exit
1; \
5082 srcdiroption
="--srcdir=."; \
5084 /* |
[A-Za-z
]:[\\/]*) \
5085 srcdiroption
="--srcdir=$(srcdir)/zlib"; \
5086 libsrcdir
="$$s/zlib";; \
5088 srcdiroption
="--srcdir=../$(srcdir)/zlib"; \
5089 libsrcdir
="$$s/zlib";; \
5091 $(SHELL
) $${libsrcdir}/configure \
5092 $(HOST_CONFIGARGS
) $${srcdiroption} \
5095 .PHONY
: all-zlib maybe-all-zlib
5097 all-zlib
: configure-zlib
5098 @r
=`${PWD}`; export r
; \
5099 s
=`cd $(srcdir); ${PWD}`; export s
; \
5101 (cd zlib
&& $(MAKE
) $(FLAGS_TO_PASS
) all)
5109 .PHONY
: install-zlib maybe-install-zlib
5114 .PHONY
: configure-gdb maybe-configure-gdb
5115 maybe-configure-gdb
:
5117 @
test ! -f gdb
/Makefile || exit
0; \
5118 [ -d gdb
] || mkdir gdb
; \
5119 r
=`${PWD}`; export r
; \
5120 s
=`cd $(srcdir); ${PWD}`; export s
; \
5121 CC
="$(CC)"; export CC
; \
5122 CFLAGS
="$(CFLAGS)"; export CFLAGS
; \
5123 CXX
="$(CXX)"; export CXX
; \
5124 CXXFLAGS
="$(CXXFLAGS)"; export CXXFLAGS
; \
5125 if
[ z
$(build_canonical
) != z
$(host_canoncial
) ] ; then \
5126 AR
="$(AR)"; export AR
; \
5127 AS
="$(AS)"; export AS
; \
5128 CC_FOR_BUILD
="$(CC_FOR_BUILD)"; export CC_FOR_BUILD
; \
5129 DLLTOOL
="$(DLLTOOL)"; export DLLTOOL
; \
5130 LD
="$(LD)"; export LD
; \
5131 NM
="$(NM)"; export NM
; \
5132 RANLIB
="$(RANLIB)"; export RANLIB
; \
5133 WINDRES
="$(WINDRES)"; export WINDRES
; \
5134 OBJCOPY
="$(OBJCOPY)"; export OBJCOPY
; \
5135 OBJDUMP
="$(OBJDUMP)"; export OBJDUMP
; \
5137 echo Configuring in gdb
; \
5141 srcdiroption
="--srcdir=."; \
5143 /* |
[A-Za-z
]:[\\/]*) \
5144 srcdiroption
="--srcdir=$(srcdir)/gdb"; \
5145 libsrcdir
="$$s/gdb";; \
5147 srcdiroption
="--srcdir=../$(srcdir)/gdb"; \
5148 libsrcdir
="$$s/gdb";; \
5150 $(SHELL
) $${libsrcdir}/configure \
5151 $(HOST_CONFIGARGS
) $${srcdiroption} \
5154 .PHONY
: all-gdb maybe-all-gdb
5156 all-gdb
: configure-gdb
5157 @r
=`${PWD}`; export r
; \
5158 s
=`cd $(srcdir); ${PWD}`; export s
; \
5160 (cd gdb
&& $(MAKE
) $(FLAGS_TO_PASS
) $(X11_FLAGS_TO_PASS
) all)
5165 @r
=`${PWD}`; export r
; \
5166 s
=`cd $(srcdir); ${PWD}`; export s
; \
5168 (cd gdb
&& $(MAKE
) $(FLAGS_TO_PASS
) $(X11_FLAGS_TO_PASS
) check)
5172 .PHONY
: install-gdb maybe-install-gdb
5174 install-gdb
: installdirs
5175 @r
=`${PWD}`; export r
; \
5176 s
=`cd $(srcdir); ${PWD}`; export s
; \
5178 (cd gdb
&& $(MAKE
) $(FLAGS_TO_PASS
) $(X11_FLAGS_TO_PASS
) install)
5181 .PHONY
: configure-expect maybe-configure-expect
5182 maybe-configure-expect
:
5184 @
test ! -f expect
/Makefile || exit
0; \
5185 [ -d expect
] || mkdir expect
; \
5186 r
=`${PWD}`; export r
; \
5187 s
=`cd $(srcdir); ${PWD}`; export s
; \
5188 CC
="$(CC)"; export CC
; \
5189 CFLAGS
="$(CFLAGS)"; export CFLAGS
; \
5190 CXX
="$(CXX)"; export CXX
; \
5191 CXXFLAGS
="$(CXXFLAGS)"; export CXXFLAGS
; \
5192 if
[ z
$(build_canonical
) != z
$(host_canoncial
) ] ; then \
5193 AR
="$(AR)"; export AR
; \
5194 AS
="$(AS)"; export AS
; \
5195 CC_FOR_BUILD
="$(CC_FOR_BUILD)"; export CC_FOR_BUILD
; \
5196 DLLTOOL
="$(DLLTOOL)"; export DLLTOOL
; \
5197 LD
="$(LD)"; export LD
; \
5198 NM
="$(NM)"; export NM
; \
5199 RANLIB
="$(RANLIB)"; export RANLIB
; \
5200 WINDRES
="$(WINDRES)"; export WINDRES
; \
5201 OBJCOPY
="$(OBJCOPY)"; export OBJCOPY
; \
5202 OBJDUMP
="$(OBJDUMP)"; export OBJDUMP
; \
5204 echo Configuring in expect
; \
5205 cd expect || exit
1; \
5208 srcdiroption
="--srcdir=."; \
5210 /* |
[A-Za-z
]:[\\/]*) \
5211 srcdiroption
="--srcdir=$(srcdir)/expect"; \
5212 libsrcdir
="$$s/expect";; \
5214 srcdiroption
="--srcdir=../$(srcdir)/expect"; \
5215 libsrcdir
="$$s/expect";; \
5217 $(SHELL
) $${libsrcdir}/configure \
5218 $(HOST_CONFIGARGS
) $${srcdiroption} \
5221 .PHONY
: all-expect maybe-all-expect
5223 all-expect
: configure-expect
5224 @r
=`${PWD}`; export r
; \
5225 s
=`cd $(srcdir); ${PWD}`; export s
; \
5227 (cd expect
&& $(MAKE
) $(FLAGS_TO_PASS
) $(X11_FLAGS_TO_PASS
) all)
5230 .PHONY
: check-expect
5232 @r
=`${PWD}`; export r
; \
5233 s
=`cd $(srcdir); ${PWD}`; export s
; \
5235 (cd expect
&& $(MAKE
) $(FLAGS_TO_PASS
) $(X11_FLAGS_TO_PASS
) check)
5239 .PHONY
: install-expect maybe-install-expect
5240 maybe-install-expect
:
5241 install-expect
: installdirs
5242 @r
=`${PWD}`; export r
; \
5243 s
=`cd $(srcdir); ${PWD}`; export s
; \
5245 (cd expect
&& $(MAKE
) $(FLAGS_TO_PASS
) $(X11_FLAGS_TO_PASS
) install)
5248 .PHONY
: configure-guile maybe-configure-guile
5249 maybe-configure-guile
:
5251 @
test ! -f guile
/Makefile || exit
0; \
5252 [ -d guile
] || mkdir guile
; \
5253 r
=`${PWD}`; export r
; \
5254 s
=`cd $(srcdir); ${PWD}`; export s
; \
5255 CC
="$(CC)"; export CC
; \
5256 CFLAGS
="$(CFLAGS)"; export CFLAGS
; \
5257 CXX
="$(CXX)"; export CXX
; \
5258 CXXFLAGS
="$(CXXFLAGS)"; export CXXFLAGS
; \
5259 if
[ z
$(build_canonical
) != z
$(host_canoncial
) ] ; then \
5260 AR
="$(AR)"; export AR
; \
5261 AS
="$(AS)"; export AS
; \
5262 CC_FOR_BUILD
="$(CC_FOR_BUILD)"; export CC_FOR_BUILD
; \
5263 DLLTOOL
="$(DLLTOOL)"; export DLLTOOL
; \
5264 LD
="$(LD)"; export LD
; \
5265 NM
="$(NM)"; export NM
; \
5266 RANLIB
="$(RANLIB)"; export RANLIB
; \
5267 WINDRES
="$(WINDRES)"; export WINDRES
; \
5268 OBJCOPY
="$(OBJCOPY)"; export OBJCOPY
; \
5269 OBJDUMP
="$(OBJDUMP)"; export OBJDUMP
; \
5271 echo Configuring in guile
; \
5272 cd guile || exit
1; \
5275 srcdiroption
="--srcdir=."; \
5277 /* |
[A-Za-z
]:[\\/]*) \
5278 srcdiroption
="--srcdir=$(srcdir)/guile"; \
5279 libsrcdir
="$$s/guile";; \
5281 srcdiroption
="--srcdir=../$(srcdir)/guile"; \
5282 libsrcdir
="$$s/guile";; \
5284 $(SHELL
) $${libsrcdir}/configure \
5285 $(HOST_CONFIGARGS
) $${srcdiroption} \
5288 .PHONY
: all-guile maybe-all-guile
5290 all-guile
: configure-guile
5291 @r
=`${PWD}`; export r
; \
5292 s
=`cd $(srcdir); ${PWD}`; export s
; \
5294 (cd guile
&& $(MAKE
) $(FLAGS_TO_PASS
) $(X11_FLAGS_TO_PASS
) all)
5299 @r
=`${PWD}`; export r
; \
5300 s
=`cd $(srcdir); ${PWD}`; export s
; \
5302 (cd guile
&& $(MAKE
) $(FLAGS_TO_PASS
) $(X11_FLAGS_TO_PASS
) check)
5306 .PHONY
: install-guile maybe-install-guile
5307 maybe-install-guile
:
5308 install-guile
: installdirs
5309 @r
=`${PWD}`; export r
; \
5310 s
=`cd $(srcdir); ${PWD}`; export s
; \
5312 (cd guile
&& $(MAKE
) $(FLAGS_TO_PASS
) $(X11_FLAGS_TO_PASS
) install)
5315 .PHONY
: configure-tk maybe-configure-tk
5318 @
test ! -f tk
/Makefile || exit
0; \
5319 [ -d tk
] || mkdir tk
; \
5320 r
=`${PWD}`; export r
; \
5321 s
=`cd $(srcdir); ${PWD}`; export s
; \
5322 CC
="$(CC)"; export CC
; \
5323 CFLAGS
="$(CFLAGS)"; export CFLAGS
; \
5324 CXX
="$(CXX)"; export CXX
; \
5325 CXXFLAGS
="$(CXXFLAGS)"; export CXXFLAGS
; \
5326 if
[ z
$(build_canonical
) != z
$(host_canoncial
) ] ; then \
5327 AR
="$(AR)"; export AR
; \
5328 AS
="$(AS)"; export AS
; \
5329 CC_FOR_BUILD
="$(CC_FOR_BUILD)"; export CC_FOR_BUILD
; \
5330 DLLTOOL
="$(DLLTOOL)"; export DLLTOOL
; \
5331 LD
="$(LD)"; export LD
; \
5332 NM
="$(NM)"; export NM
; \
5333 RANLIB
="$(RANLIB)"; export RANLIB
; \
5334 WINDRES
="$(WINDRES)"; export WINDRES
; \
5335 OBJCOPY
="$(OBJCOPY)"; export OBJCOPY
; \
5336 OBJDUMP
="$(OBJDUMP)"; export OBJDUMP
; \
5338 echo Configuring in tk
; \
5342 srcdiroption
="--srcdir=."; \
5344 /* |
[A-Za-z
]:[\\/]*) \
5345 srcdiroption
="--srcdir=$(srcdir)/tk"; \
5346 libsrcdir
="$$s/tk";; \
5348 srcdiroption
="--srcdir=../$(srcdir)/tk"; \
5349 libsrcdir
="$$s/tk";; \
5351 $(SHELL
) $${libsrcdir}/configure \
5352 $(HOST_CONFIGARGS
) $${srcdiroption} \
5355 .PHONY
: all-tk maybe-all-tk
5357 all-tk
: configure-tk
5358 @r
=`${PWD}`; export r
; \
5359 s
=`cd $(srcdir); ${PWD}`; export s
; \
5361 (cd tk
&& $(MAKE
) $(FLAGS_TO_PASS
) $(X11_FLAGS_TO_PASS
) all)
5366 @r
=`${PWD}`; export r
; \
5367 s
=`cd $(srcdir); ${PWD}`; export s
; \
5369 (cd tk
&& $(MAKE
) $(FLAGS_TO_PASS
) $(X11_FLAGS_TO_PASS
) check)
5373 .PHONY
: install-tk maybe-install-tk
5375 install-tk
: installdirs
5376 @r
=`${PWD}`; export r
; \
5377 s
=`cd $(srcdir); ${PWD}`; export s
; \
5379 (cd tk
&& $(MAKE
) $(FLAGS_TO_PASS
) $(X11_FLAGS_TO_PASS
) install)
5382 .PHONY
: configure-tix maybe-configure-tix
5383 maybe-configure-tix
:
5385 @
test ! -f tix
/Makefile || exit
0; \
5386 [ -d tix
] || mkdir tix
; \
5387 r
=`${PWD}`; export r
; \
5388 s
=`cd $(srcdir); ${PWD}`; export s
; \
5389 CC
="$(CC)"; export CC
; \
5390 CFLAGS
="$(CFLAGS)"; export CFLAGS
; \
5391 CXX
="$(CXX)"; export CXX
; \
5392 CXXFLAGS
="$(CXXFLAGS)"; export CXXFLAGS
; \
5393 if
[ z
$(build_canonical
) != z
$(host_canoncial
) ] ; then \
5394 AR
="$(AR)"; export AR
; \
5395 AS
="$(AS)"; export AS
; \
5396 CC_FOR_BUILD
="$(CC_FOR_BUILD)"; export CC_FOR_BUILD
; \
5397 DLLTOOL
="$(DLLTOOL)"; export DLLTOOL
; \
5398 LD
="$(LD)"; export LD
; \
5399 NM
="$(NM)"; export NM
; \
5400 RANLIB
="$(RANLIB)"; export RANLIB
; \
5401 WINDRES
="$(WINDRES)"; export WINDRES
; \
5402 OBJCOPY
="$(OBJCOPY)"; export OBJCOPY
; \
5403 OBJDUMP
="$(OBJDUMP)"; export OBJDUMP
; \
5405 echo Configuring in tix
; \
5409 srcdiroption
="--srcdir=."; \
5411 /* |
[A-Za-z
]:[\\/]*) \
5412 srcdiroption
="--srcdir=$(srcdir)/tix"; \
5413 libsrcdir
="$$s/tix";; \
5415 srcdiroption
="--srcdir=../$(srcdir)/tix"; \
5416 libsrcdir
="$$s/tix";; \
5418 $(SHELL
) $${libsrcdir}/configure \
5419 $(HOST_CONFIGARGS
) $${srcdiroption} \
5422 .PHONY
: all-tix maybe-all-tix
5424 all-tix
: configure-tix
5425 @r
=`${PWD}`; export r
; \
5426 s
=`cd $(srcdir); ${PWD}`; export s
; \
5428 (cd tix
&& $(MAKE
) $(FLAGS_TO_PASS
) $(X11_FLAGS_TO_PASS
) all)
5433 @r
=`${PWD}`; export r
; \
5434 s
=`cd $(srcdir); ${PWD}`; export s
; \
5436 (cd tix
&& $(MAKE
) $(FLAGS_TO_PASS
) $(X11_FLAGS_TO_PASS
) check)
5440 .PHONY
: install-tix maybe-install-tix
5442 install-tix
: installdirs
5443 @r
=`${PWD}`; export r
; \
5444 s
=`cd $(srcdir); ${PWD}`; export s
; \
5446 (cd tix
&& $(MAKE
) $(FLAGS_TO_PASS
) $(X11_FLAGS_TO_PASS
) install)
5449 .PHONY
: configure-libtermcap maybe-configure-libtermcap
5450 maybe-configure-libtermcap
:
5451 configure-libtermcap
:
5452 @
test ! -f libtermcap
/Makefile || exit
0; \
5453 [ -d libtermcap
] || mkdir libtermcap
; \
5454 r
=`${PWD}`; export r
; \
5455 s
=`cd $(srcdir); ${PWD}`; export s
; \
5456 CC
="$(CC)"; export CC
; \
5457 CFLAGS
="$(CFLAGS)"; export CFLAGS
; \
5458 CXX
="$(CXX)"; export CXX
; \
5459 CXXFLAGS
="$(CXXFLAGS)"; export CXXFLAGS
; \
5460 if
[ z
$(build_canonical
) != z
$(host_canoncial
) ] ; then \
5461 AR
="$(AR)"; export AR
; \
5462 AS
="$(AS)"; export AS
; \
5463 CC_FOR_BUILD
="$(CC_FOR_BUILD)"; export CC_FOR_BUILD
; \
5464 DLLTOOL
="$(DLLTOOL)"; export DLLTOOL
; \
5465 LD
="$(LD)"; export LD
; \
5466 NM
="$(NM)"; export NM
; \
5467 RANLIB
="$(RANLIB)"; export RANLIB
; \
5468 WINDRES
="$(WINDRES)"; export WINDRES
; \
5469 OBJCOPY
="$(OBJCOPY)"; export OBJCOPY
; \
5470 OBJDUMP
="$(OBJDUMP)"; export OBJDUMP
; \
5472 echo Configuring in libtermcap
; \
5473 cd libtermcap || exit
1; \
5476 srcdiroption
="--srcdir=."; \
5478 /* |
[A-Za-z
]:[\\/]*) \
5479 srcdiroption
="--srcdir=$(srcdir)/libtermcap"; \
5480 libsrcdir
="$$s/libtermcap";; \
5482 srcdiroption
="--srcdir=../$(srcdir)/libtermcap"; \
5483 libsrcdir
="$$s/libtermcap";; \
5485 $(SHELL
) $${libsrcdir}/configure \
5486 $(HOST_CONFIGARGS
) $${srcdiroption} \
5489 .PHONY
: all-libtermcap maybe-all-libtermcap
5490 maybe-all-libtermcap
:
5491 all-libtermcap
: configure-libtermcap
5492 @r
=`${PWD}`; export r
; \
5493 s
=`cd $(srcdir); ${PWD}`; export s
; \
5495 (cd libtermcap
&& $(MAKE
) $(FLAGS_TO_PASS
) all)
5498 .PHONY
: check-libtermcap
5503 .PHONY
: install-libtermcap maybe-install-libtermcap
5504 maybe-install-libtermcap
:
5505 install-libtermcap
: installdirs
5506 @r
=`${PWD}`; export r
; \
5507 s
=`cd $(srcdir); ${PWD}`; export s
; \
5509 (cd libtermcap
&& $(MAKE
) $(FLAGS_TO_PASS
) install)
5512 .PHONY
: configure-utils maybe-configure-utils
5513 maybe-configure-utils
:
5515 @
test ! -f utils
/Makefile || exit
0; \
5516 [ -d utils
] || mkdir utils
; \
5517 r
=`${PWD}`; export r
; \
5518 s
=`cd $(srcdir); ${PWD}`; export s
; \
5519 CC
="$(CC)"; export CC
; \
5520 CFLAGS
="$(CFLAGS)"; export CFLAGS
; \
5521 CXX
="$(CXX)"; export CXX
; \
5522 CXXFLAGS
="$(CXXFLAGS)"; export CXXFLAGS
; \
5523 if
[ z
$(build_canonical
) != z
$(host_canoncial
) ] ; then \
5524 AR
="$(AR)"; export AR
; \
5525 AS
="$(AS)"; export AS
; \
5526 CC_FOR_BUILD
="$(CC_FOR_BUILD)"; export CC_FOR_BUILD
; \
5527 DLLTOOL
="$(DLLTOOL)"; export DLLTOOL
; \
5528 LD
="$(LD)"; export LD
; \
5529 NM
="$(NM)"; export NM
; \
5530 RANLIB
="$(RANLIB)"; export RANLIB
; \
5531 WINDRES
="$(WINDRES)"; export WINDRES
; \
5532 OBJCOPY
="$(OBJCOPY)"; export OBJCOPY
; \
5533 OBJDUMP
="$(OBJDUMP)"; export OBJDUMP
; \
5535 echo Configuring in utils
; \
5536 cd utils || exit
1; \
5539 srcdiroption
="--srcdir=."; \
5541 /* |
[A-Za-z
]:[\\/]*) \
5542 srcdiroption
="--srcdir=$(srcdir)/utils"; \
5543 libsrcdir
="$$s/utils";; \
5545 srcdiroption
="--srcdir=../$(srcdir)/utils"; \
5546 libsrcdir
="$$s/utils";; \
5548 $(SHELL
) $${libsrcdir}/configure \
5549 $(HOST_CONFIGARGS
) $${srcdiroption} \
5552 .PHONY
: all-utils maybe-all-utils
5554 all-utils
: configure-utils
5555 @r
=`${PWD}`; export r
; \
5556 s
=`cd $(srcdir); ${PWD}`; export s
; \
5558 (cd utils
&& $(MAKE
) $(FLAGS_TO_PASS
) all)
5566 .PHONY
: install-utils maybe-install-utils
5567 maybe-install-utils
:
5568 install-utils
: installdirs
5569 @r
=`${PWD}`; export r
; \
5570 s
=`cd $(srcdir); ${PWD}`; export s
; \
5572 (cd utils
&& $(MAKE
) $(FLAGS_TO_PASS
) install)
5576 # ---------------------------------------
5577 # Modules which run on the target machine
5578 # ---------------------------------------
5580 .PHONY
: configure-target-libstdc
++-v3 maybe-configure-target-libstdc
++-v3
5581 maybe-configure-target-libstdc
++-v3
:
5583 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
5584 $(TARGET_SUBDIR
)/libstdc
++-v3
/multilib.out
: multilib.out
5585 @
[ -d
$(TARGET_SUBDIR
)/libstdc
++-v3
] || \
5586 mkdir
$(TARGET_SUBDIR
)/libstdc
++-v3
; \
5587 rm -f
$(TARGET_SUBDIR
)/libstdc
++-v3
/Makefile ||
: ; \
5588 cp multilib.out
$(TARGET_SUBDIR
)/libstdc
++-v3
/multilib.out
5590 configure-target-libstdc
++-v3
: $(TARGET_SUBDIR
)/libstdc
++-v3
/multilib.out
5591 @
test ! -f
$(TARGET_SUBDIR
)/libstdc
++-v3
/Makefile || exit
0; \
5592 [ -d
$(TARGET_SUBDIR
)/libstdc
++-v3
] || \
5593 mkdir
$(TARGET_SUBDIR
)/libstdc
++-v3
;\
5594 r
=`${PWD}`; export r
; \
5595 s
=`cd $(srcdir); ${PWD}`; export s
; \
5597 AR
="$(AR_FOR_TARGET)"; export AR
; \
5598 AS
="$(AS_FOR_TARGET)"; export AS
; \
5599 CC
="$(CC_FOR_TARGET)"; export CC
; \
5600 CFLAGS
="$(CFLAGS_FOR_TARGET)"; export CFLAGS
; \
5601 CXX_FOR_TARGET
="$(RAW_CXX_FOR_TARGET)"; export CXX_FOR_TARGET
; \
5602 CXX
="$(RAW_CXX_FOR_TARGET)"; export CXX
; \
5603 CXXFLAGS
="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS
; \
5604 GCJ
="$(GCJ_FOR_TARGET)"; export GCJ
; \
5605 DLLTOOL
="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL
; \
5606 LD
="$(LD_FOR_TARGET)"; export LD
; \
5607 LDFLAGS
="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS
; \
5608 NM
="$(NM_FOR_TARGET)"; export NM
; \
5609 RANLIB
="$(RANLIB_FOR_TARGET)"; export RANLIB
; \
5610 WINDRES
="$(WINDRES_FOR_TARGET)"; export WINDRES
; \
5611 echo Configuring in
$(TARGET_SUBDIR
)/libstdc
++-v3
; \
5612 cd
"$(TARGET_SUBDIR)/libstdc++-v3" || exit
1; \
5614 /* |
[A-Za-z
]:[\\/]*) \
5615 topdir
=$(srcdir) ;; \
5617 case
"$(TARGET_SUBDIR)" in \
5618 .
) topdir
="../$(srcdir)" ;; \
5619 *) topdir
="../../$(srcdir)" ;; \
5622 if
[ "$(srcdir)" = "." ] ; then \
5623 if
[ "$(TARGET_SUBDIR)" != "." ] ; then \
5624 if
$(SHELL
) $$s/symlink-tree
$${topdir}/libstdc
++-v3
"no-such-file" ; then \
5625 if
[ -f Makefile
]; then \
5626 if
$(MAKE
) distclean; then \
5640 srcdiroption
="--srcdir=."; \
5643 srcdiroption
="--srcdir=$${topdir}/libstdc++-v3"; \
5644 libsrcdir
="$$s/libstdc++-v3"; \
5646 rm -f no-such-file ||
: ; \
5647 CONFIG_SITE
=no-such-file
$(SHELL
) $${libsrcdir}/configure \
5648 $(TARGET_CONFIGARGS
) $${srcdiroption} \
5649 --with-target-subdir
="$(TARGET_SUBDIR)" \
5652 .PHONY
: all-target-libstdc
++-v3 maybe-all-target-libstdc
++-v3
5653 maybe-all-target-libstdc
++-v3
:
5654 all-target-libstdc
++-v3
: configure-target-libstdc
++-v3
5655 @r
=`${PWD}`; export r
; \
5656 s
=`cd $(srcdir); ${PWD}`; export s
; \
5658 (cd
$(TARGET_SUBDIR
)/libstdc
++-v3
&& \
5659 $(MAKE
) $(TARGET_FLAGS_TO_PASS
) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' all)
5661 .PHONY
: check-target-libstdc
++-v3
5662 check-target-libstdc
++-v3
:
5663 @r
=`${PWD}`; export r
; \
5664 s
=`cd $(srcdir); ${PWD}`; export s
; \
5666 (cd
$(TARGET_SUBDIR
)/libstdc
++-v3
&& \
5667 $(MAKE
) $(TARGET_FLAGS_TO_PASS
) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' check)
5670 .PHONY
: install-target-libstdc
++-v3 maybe-install-target-libstdc
++-v3
5671 maybe-install-target-libstdc
++-v3
:
5672 install-target-libstdc
++-v3
: installdirs
5673 @r
=`${PWD}`; export r
; \
5674 s
=`cd $(srcdir); ${PWD}`; export s
; \
5676 (cd
$(TARGET_SUBDIR
)/libstdc
++-v3
&& \
5677 $(MAKE
) $(TARGET_FLAGS_TO_PASS
) install)
5680 .PHONY
: configure-target-newlib maybe-configure-target-newlib
5681 maybe-configure-target-newlib
:
5683 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
5684 $(TARGET_SUBDIR
)/newlib
/multilib.out
: multilib.out
5685 @
[ -d
$(TARGET_SUBDIR
)/newlib
] || \
5686 mkdir
$(TARGET_SUBDIR
)/newlib
; \
5687 rm -f
$(TARGET_SUBDIR
)/newlib
/Makefile ||
: ; \
5688 cp multilib.out
$(TARGET_SUBDIR
)/newlib
/multilib.out
5690 configure-target-newlib
: $(TARGET_SUBDIR
)/newlib
/multilib.out
5691 @
test ! -f
$(TARGET_SUBDIR
)/newlib
/Makefile || exit
0; \
5692 [ -d
$(TARGET_SUBDIR
)/newlib
] || \
5693 mkdir
$(TARGET_SUBDIR
)/newlib
;\
5694 r
=`${PWD}`; export r
; \
5695 s
=`cd $(srcdir); ${PWD}`; export s
; \
5697 AR
="$(AR_FOR_TARGET)"; export AR
; \
5698 AS
="$(AS_FOR_TARGET)"; export AS
; \
5699 CC
="$(CC_FOR_TARGET)"; export CC
; \
5700 CFLAGS
="$(CFLAGS_FOR_TARGET)"; export CFLAGS
; \
5701 CXX
="$(CXX_FOR_TARGET)"; export CXX
; \
5702 CXXFLAGS
="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS
; \
5703 GCJ
="$(GCJ_FOR_TARGET)"; export GCJ
; \
5704 DLLTOOL
="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL
; \
5705 LD
="$(LD_FOR_TARGET)"; export LD
; \
5706 LDFLAGS
="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS
; \
5707 NM
="$(NM_FOR_TARGET)"; export NM
; \
5708 RANLIB
="$(RANLIB_FOR_TARGET)"; export RANLIB
; \
5709 WINDRES
="$(WINDRES_FOR_TARGET)"; export WINDRES
; \
5710 echo Configuring in
$(TARGET_SUBDIR
)/newlib
; \
5711 cd
"$(TARGET_SUBDIR)/newlib" || exit
1; \
5713 /* |
[A-Za-z
]:[\\/]*) \
5714 topdir
=$(srcdir) ;; \
5716 case
"$(TARGET_SUBDIR)" in \
5717 .
) topdir
="../$(srcdir)" ;; \
5718 *) topdir
="../../$(srcdir)" ;; \
5721 if
[ "$(srcdir)" = "." ] ; then \
5722 if
[ "$(TARGET_SUBDIR)" != "." ] ; then \
5723 if
$(SHELL
) $$s/symlink-tree
$${topdir}/newlib
"no-such-file" ; then \
5724 if
[ -f Makefile
]; then \
5725 if
$(MAKE
) distclean; then \
5739 srcdiroption
="--srcdir=."; \
5742 srcdiroption
="--srcdir=$${topdir}/newlib"; \
5743 libsrcdir
="$$s/newlib"; \
5745 rm -f no-such-file ||
: ; \
5746 CONFIG_SITE
=no-such-file
$(SHELL
) $${libsrcdir}/configure \
5747 $(TARGET_CONFIGARGS
) $${srcdiroption} \
5748 --with-target-subdir
="$(TARGET_SUBDIR)" \
5751 .PHONY
: all-target-newlib maybe-all-target-newlib
5752 maybe-all-target-newlib
:
5753 all-target-newlib
: configure-target-newlib
5754 @r
=`${PWD}`; export r
; \
5755 s
=`cd $(srcdir); ${PWD}`; export s
; \
5757 (cd
$(TARGET_SUBDIR
)/newlib
&& \
5758 $(MAKE
) $(TARGET_FLAGS_TO_PASS
) all)
5760 .PHONY
: check-target-newlib
5761 check-target-newlib
:
5762 @r
=`${PWD}`; export r
; \
5763 s
=`cd $(srcdir); ${PWD}`; export s
; \
5765 (cd
$(TARGET_SUBDIR
)/newlib
&& \
5766 $(MAKE
) $(TARGET_FLAGS_TO_PASS
) check)
5769 .PHONY
: install-target-newlib maybe-install-target-newlib
5770 maybe-install-target-newlib
:
5771 install-target-newlib
: installdirs
5772 @r
=`${PWD}`; export r
; \
5773 s
=`cd $(srcdir); ${PWD}`; export s
; \
5775 (cd
$(TARGET_SUBDIR
)/newlib
&& \
5776 $(MAKE
) $(TARGET_FLAGS_TO_PASS
) install)
5779 .PHONY
: configure-target-libf2c maybe-configure-target-libf2c
5780 maybe-configure-target-libf2c
:
5782 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
5783 $(TARGET_SUBDIR
)/libf2c
/multilib.out
: multilib.out
5784 @
[ -d
$(TARGET_SUBDIR
)/libf2c
] || \
5785 mkdir
$(TARGET_SUBDIR
)/libf2c
; \
5786 rm -f
$(TARGET_SUBDIR
)/libf2c
/Makefile ||
: ; \
5787 cp multilib.out
$(TARGET_SUBDIR
)/libf2c
/multilib.out
5789 configure-target-libf2c
: $(TARGET_SUBDIR
)/libf2c
/multilib.out
5790 @
test ! -f
$(TARGET_SUBDIR
)/libf2c
/Makefile || exit
0; \
5791 [ -d
$(TARGET_SUBDIR
)/libf2c
] || \
5792 mkdir
$(TARGET_SUBDIR
)/libf2c
;\
5793 r
=`${PWD}`; export r
; \
5794 s
=`cd $(srcdir); ${PWD}`; export s
; \
5796 AR
="$(AR_FOR_TARGET)"; export AR
; \
5797 AS
="$(AS_FOR_TARGET)"; export AS
; \
5798 CC
="$(CC_FOR_TARGET)"; export CC
; \
5799 CFLAGS
="$(CFLAGS_FOR_TARGET)"; export CFLAGS
; \
5800 CXX
="$(CXX_FOR_TARGET)"; export CXX
; \
5801 CXXFLAGS
="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS
; \
5802 GCJ
="$(GCJ_FOR_TARGET)"; export GCJ
; \
5803 DLLTOOL
="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL
; \
5804 LD
="$(LD_FOR_TARGET)"; export LD
; \
5805 LDFLAGS
="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS
; \
5806 NM
="$(NM_FOR_TARGET)"; export NM
; \
5807 RANLIB
="$(RANLIB_FOR_TARGET)"; export RANLIB
; \
5808 WINDRES
="$(WINDRES_FOR_TARGET)"; export WINDRES
; \
5809 echo Configuring in
$(TARGET_SUBDIR
)/libf2c
; \
5810 cd
"$(TARGET_SUBDIR)/libf2c" || exit
1; \
5812 /* |
[A-Za-z
]:[\\/]*) \
5813 topdir
=$(srcdir) ;; \
5815 case
"$(TARGET_SUBDIR)" in \
5816 .
) topdir
="../$(srcdir)" ;; \
5817 *) topdir
="../../$(srcdir)" ;; \
5820 if
[ "$(srcdir)" = "." ] ; then \
5821 if
[ "$(TARGET_SUBDIR)" != "." ] ; then \
5822 if
$(SHELL
) $$s/symlink-tree
$${topdir}/libf2c
"no-such-file" ; then \
5823 if
[ -f Makefile
]; then \
5824 if
$(MAKE
) distclean; then \
5838 srcdiroption
="--srcdir=."; \
5841 srcdiroption
="--srcdir=$${topdir}/libf2c"; \
5842 libsrcdir
="$$s/libf2c"; \
5844 rm -f no-such-file ||
: ; \
5845 CONFIG_SITE
=no-such-file
$(SHELL
) $${libsrcdir}/configure \
5846 $(TARGET_CONFIGARGS
) $${srcdiroption} \
5847 --with-target-subdir
="$(TARGET_SUBDIR)" \
5850 .PHONY
: all-target-libf2c maybe-all-target-libf2c
5851 maybe-all-target-libf2c
:
5852 all-target-libf2c
: configure-target-libf2c
5853 @r
=`${PWD}`; export r
; \
5854 s
=`cd $(srcdir); ${PWD}`; export s
; \
5856 (cd
$(TARGET_SUBDIR
)/libf2c
&& \
5857 $(MAKE
) $(TARGET_FLAGS_TO_PASS
) all)
5859 .PHONY
: check-target-libf2c
5860 check-target-libf2c
:
5861 @r
=`${PWD}`; export r
; \
5862 s
=`cd $(srcdir); ${PWD}`; export s
; \
5864 (cd
$(TARGET_SUBDIR
)/libf2c
&& \
5865 $(MAKE
) $(TARGET_FLAGS_TO_PASS
) check)
5868 .PHONY
: install-target-libf2c maybe-install-target-libf2c
5869 maybe-install-target-libf2c
:
5870 install-target-libf2c
: installdirs
5871 @r
=`${PWD}`; export r
; \
5872 s
=`cd $(srcdir); ${PWD}`; export s
; \
5874 (cd
$(TARGET_SUBDIR
)/libf2c
&& \
5875 $(MAKE
) $(TARGET_FLAGS_TO_PASS
) install)
5878 .PHONY
: configure-target-libobjc maybe-configure-target-libobjc
5879 maybe-configure-target-libobjc
:
5881 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
5882 $(TARGET_SUBDIR
)/libobjc
/multilib.out
: multilib.out
5883 @
[ -d
$(TARGET_SUBDIR
)/libobjc
] || \
5884 mkdir
$(TARGET_SUBDIR
)/libobjc
; \
5885 rm -f
$(TARGET_SUBDIR
)/libobjc
/Makefile ||
: ; \
5886 cp multilib.out
$(TARGET_SUBDIR
)/libobjc
/multilib.out
5888 configure-target-libobjc
: $(TARGET_SUBDIR
)/libobjc
/multilib.out
5889 @
test ! -f
$(TARGET_SUBDIR
)/libobjc
/Makefile || exit
0; \
5890 [ -d
$(TARGET_SUBDIR
)/libobjc
] || \
5891 mkdir
$(TARGET_SUBDIR
)/libobjc
;\
5892 r
=`${PWD}`; export r
; \
5893 s
=`cd $(srcdir); ${PWD}`; export s
; \
5895 AR
="$(AR_FOR_TARGET)"; export AR
; \
5896 AS
="$(AS_FOR_TARGET)"; export AS
; \
5897 CC
="$(CC_FOR_TARGET)"; export CC
; \
5898 CFLAGS
="$(CFLAGS_FOR_TARGET)"; export CFLAGS
; \
5899 CXX
="$(CXX_FOR_TARGET)"; export CXX
; \
5900 CXXFLAGS
="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS
; \
5901 GCJ
="$(GCJ_FOR_TARGET)"; export GCJ
; \
5902 DLLTOOL
="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL
; \
5903 LD
="$(LD_FOR_TARGET)"; export LD
; \
5904 LDFLAGS
="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS
; \
5905 NM
="$(NM_FOR_TARGET)"; export NM
; \
5906 RANLIB
="$(RANLIB_FOR_TARGET)"; export RANLIB
; \
5907 WINDRES
="$(WINDRES_FOR_TARGET)"; export WINDRES
; \
5908 echo Configuring in
$(TARGET_SUBDIR
)/libobjc
; \
5909 cd
"$(TARGET_SUBDIR)/libobjc" || exit
1; \
5911 /* |
[A-Za-z
]:[\\/]*) \
5912 topdir
=$(srcdir) ;; \
5914 case
"$(TARGET_SUBDIR)" in \
5915 .
) topdir
="../$(srcdir)" ;; \
5916 *) topdir
="../../$(srcdir)" ;; \
5919 if
[ "$(srcdir)" = "." ] ; then \
5920 if
[ "$(TARGET_SUBDIR)" != "." ] ; then \
5921 if
$(SHELL
) $$s/symlink-tree
$${topdir}/libobjc
"no-such-file" ; then \
5922 if
[ -f Makefile
]; then \
5923 if
$(MAKE
) distclean; then \
5937 srcdiroption
="--srcdir=."; \
5940 srcdiroption
="--srcdir=$${topdir}/libobjc"; \
5941 libsrcdir
="$$s/libobjc"; \
5943 rm -f no-such-file ||
: ; \
5944 CONFIG_SITE
=no-such-file
$(SHELL
) $${libsrcdir}/configure \
5945 $(TARGET_CONFIGARGS
) $${srcdiroption} \
5946 --with-target-subdir
="$(TARGET_SUBDIR)" \
5949 .PHONY
: all-target-libobjc maybe-all-target-libobjc
5950 maybe-all-target-libobjc
:
5951 all-target-libobjc
: configure-target-libobjc
5952 @r
=`${PWD}`; export r
; \
5953 s
=`cd $(srcdir); ${PWD}`; export s
; \
5955 (cd
$(TARGET_SUBDIR
)/libobjc
&& \
5956 $(MAKE
) $(TARGET_FLAGS_TO_PASS
) all)
5958 .PHONY
: check-target-libobjc
5959 check-target-libobjc
:
5960 @r
=`${PWD}`; export r
; \
5961 s
=`cd $(srcdir); ${PWD}`; export s
; \
5963 (cd
$(TARGET_SUBDIR
)/libobjc
&& \
5964 $(MAKE
) $(TARGET_FLAGS_TO_PASS
) check)
5967 .PHONY
: install-target-libobjc maybe-install-target-libobjc
5968 maybe-install-target-libobjc
:
5969 install-target-libobjc
: installdirs
5970 @r
=`${PWD}`; export r
; \
5971 s
=`cd $(srcdir); ${PWD}`; export s
; \
5973 (cd
$(TARGET_SUBDIR
)/libobjc
&& \
5974 $(MAKE
) $(TARGET_FLAGS_TO_PASS
) install)
5977 .PHONY
: configure-target-libtermcap maybe-configure-target-libtermcap
5978 maybe-configure-target-libtermcap
:
5980 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
5981 $(TARGET_SUBDIR
)/libtermcap
/multilib.out
: multilib.out
5982 @
[ -d
$(TARGET_SUBDIR
)/libtermcap
] || \
5983 mkdir
$(TARGET_SUBDIR
)/libtermcap
; \
5984 rm -f
$(TARGET_SUBDIR
)/libtermcap
/Makefile ||
: ; \
5985 cp multilib.out
$(TARGET_SUBDIR
)/libtermcap
/multilib.out
5987 configure-target-libtermcap
: $(TARGET_SUBDIR
)/libtermcap
/multilib.out
5988 @
test ! -f
$(TARGET_SUBDIR
)/libtermcap
/Makefile || exit
0; \
5989 [ -d
$(TARGET_SUBDIR
)/libtermcap
] || \
5990 mkdir
$(TARGET_SUBDIR
)/libtermcap
;\
5991 r
=`${PWD}`; export r
; \
5992 s
=`cd $(srcdir); ${PWD}`; export s
; \
5994 AR
="$(AR_FOR_TARGET)"; export AR
; \
5995 AS
="$(AS_FOR_TARGET)"; export AS
; \
5996 CC
="$(CC_FOR_TARGET)"; export CC
; \
5997 CFLAGS
="$(CFLAGS_FOR_TARGET)"; export CFLAGS
; \
5998 CXX
="$(CXX_FOR_TARGET)"; export CXX
; \
5999 CXXFLAGS
="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS
; \
6000 GCJ
="$(GCJ_FOR_TARGET)"; export GCJ
; \
6001 DLLTOOL
="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL
; \
6002 LD
="$(LD_FOR_TARGET)"; export LD
; \
6003 LDFLAGS
="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS
; \
6004 NM
="$(NM_FOR_TARGET)"; export NM
; \
6005 RANLIB
="$(RANLIB_FOR_TARGET)"; export RANLIB
; \
6006 WINDRES
="$(WINDRES_FOR_TARGET)"; export WINDRES
; \
6007 echo Configuring in
$(TARGET_SUBDIR
)/libtermcap
; \
6008 cd
"$(TARGET_SUBDIR)/libtermcap" || exit
1; \
6010 /* |
[A-Za-z
]:[\\/]*) \
6011 topdir
=$(srcdir) ;; \
6013 case
"$(TARGET_SUBDIR)" in \
6014 .
) topdir
="../$(srcdir)" ;; \
6015 *) topdir
="../../$(srcdir)" ;; \
6018 if
[ "$(srcdir)" = "." ] ; then \
6019 if
[ "$(TARGET_SUBDIR)" != "." ] ; then \
6020 if
$(SHELL
) $$s/symlink-tree
$${topdir}/libtermcap
"no-such-file" ; then \
6021 if
[ -f Makefile
]; then \
6022 if
$(MAKE
) distclean; then \
6036 srcdiroption
="--srcdir=."; \
6039 srcdiroption
="--srcdir=$${topdir}/libtermcap"; \
6040 libsrcdir
="$$s/libtermcap"; \
6042 rm -f no-such-file ||
: ; \
6043 CONFIG_SITE
=no-such-file
$(SHELL
) $${libsrcdir}/configure \
6044 $(TARGET_CONFIGARGS
) $${srcdiroption} \
6045 --with-target-subdir
="$(TARGET_SUBDIR)" \
6048 .PHONY
: all-target-libtermcap maybe-all-target-libtermcap
6049 maybe-all-target-libtermcap
:
6050 all-target-libtermcap
: configure-target-libtermcap
6051 @r
=`${PWD}`; export r
; \
6052 s
=`cd $(srcdir); ${PWD}`; export s
; \
6054 (cd
$(TARGET_SUBDIR
)/libtermcap
&& \
6055 $(MAKE
) $(TARGET_FLAGS_TO_PASS
) all)
6057 # Dummy target for uncheckable module.
6058 .PHONY
: check-target-libtermcap
6059 check-target-libtermcap
:
6062 .PHONY
: install-target-libtermcap maybe-install-target-libtermcap
6063 maybe-install-target-libtermcap
:
6064 install-target-libtermcap
: installdirs
6065 @r
=`${PWD}`; export r
; \
6066 s
=`cd $(srcdir); ${PWD}`; export s
; \
6068 (cd
$(TARGET_SUBDIR
)/libtermcap
&& \
6069 $(MAKE
) $(TARGET_FLAGS_TO_PASS
) install)
6072 .PHONY
: configure-target-winsup maybe-configure-target-winsup
6073 maybe-configure-target-winsup
:
6075 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
6076 $(TARGET_SUBDIR
)/winsup
/multilib.out
: multilib.out
6077 @
[ -d
$(TARGET_SUBDIR
)/winsup
] || \
6078 mkdir
$(TARGET_SUBDIR
)/winsup
; \
6079 rm -f
$(TARGET_SUBDIR
)/winsup
/Makefile ||
: ; \
6080 cp multilib.out
$(TARGET_SUBDIR
)/winsup
/multilib.out
6082 configure-target-winsup
: $(TARGET_SUBDIR
)/winsup
/multilib.out
6083 @
test ! -f
$(TARGET_SUBDIR
)/winsup
/Makefile || exit
0; \
6084 [ -d
$(TARGET_SUBDIR
)/winsup
] || \
6085 mkdir
$(TARGET_SUBDIR
)/winsup
;\
6086 r
=`${PWD}`; export r
; \
6087 s
=`cd $(srcdir); ${PWD}`; export s
; \
6089 AR
="$(AR_FOR_TARGET)"; export AR
; \
6090 AS
="$(AS_FOR_TARGET)"; export AS
; \
6091 CC
="$(CC_FOR_TARGET)"; export CC
; \
6092 CFLAGS
="$(CFLAGS_FOR_TARGET)"; export CFLAGS
; \
6093 CXX
="$(CXX_FOR_TARGET)"; export CXX
; \
6094 CXXFLAGS
="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS
; \
6095 GCJ
="$(GCJ_FOR_TARGET)"; export GCJ
; \
6096 DLLTOOL
="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL
; \
6097 LD
="$(LD_FOR_TARGET)"; export LD
; \
6098 LDFLAGS
="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS
; \
6099 NM
="$(NM_FOR_TARGET)"; export NM
; \
6100 RANLIB
="$(RANLIB_FOR_TARGET)"; export RANLIB
; \
6101 WINDRES
="$(WINDRES_FOR_TARGET)"; export WINDRES
; \
6102 echo Configuring in
$(TARGET_SUBDIR
)/winsup
; \
6103 cd
"$(TARGET_SUBDIR)/winsup" || exit
1; \
6105 /* |
[A-Za-z
]:[\\/]*) \
6106 topdir
=$(srcdir) ;; \
6108 case
"$(TARGET_SUBDIR)" in \
6109 .
) topdir
="../$(srcdir)" ;; \
6110 *) topdir
="../../$(srcdir)" ;; \
6113 if
[ "$(srcdir)" = "." ] ; then \
6114 if
[ "$(TARGET_SUBDIR)" != "." ] ; then \
6115 if
$(SHELL
) $$s/symlink-tree
$${topdir}/winsup
"no-such-file" ; then \
6116 if
[ -f Makefile
]; then \
6117 if
$(MAKE
) distclean; then \
6131 srcdiroption
="--srcdir=."; \
6134 srcdiroption
="--srcdir=$${topdir}/winsup"; \
6135 libsrcdir
="$$s/winsup"; \
6137 rm -f no-such-file ||
: ; \
6138 CONFIG_SITE
=no-such-file
$(SHELL
) $${libsrcdir}/configure \
6139 $(TARGET_CONFIGARGS
) $${srcdiroption} \
6140 --with-target-subdir
="$(TARGET_SUBDIR)" \
6143 .PHONY
: all-target-winsup maybe-all-target-winsup
6144 maybe-all-target-winsup
:
6145 all-target-winsup
: configure-target-winsup
6146 @r
=`${PWD}`; export r
; \
6147 s
=`cd $(srcdir); ${PWD}`; export s
; \
6149 (cd
$(TARGET_SUBDIR
)/winsup
&& \
6150 $(MAKE
) $(TARGET_FLAGS_TO_PASS
) all)
6152 .PHONY
: check-target-winsup
6153 check-target-winsup
:
6154 @r
=`${PWD}`; export r
; \
6155 s
=`cd $(srcdir); ${PWD}`; export s
; \
6157 (cd
$(TARGET_SUBDIR
)/winsup
&& \
6158 $(MAKE
) $(TARGET_FLAGS_TO_PASS
) check)
6161 .PHONY
: install-target-winsup maybe-install-target-winsup
6162 maybe-install-target-winsup
:
6163 install-target-winsup
: installdirs
6164 @r
=`${PWD}`; export r
; \
6165 s
=`cd $(srcdir); ${PWD}`; export s
; \
6167 (cd
$(TARGET_SUBDIR
)/winsup
&& \
6168 $(MAKE
) $(TARGET_FLAGS_TO_PASS
) install)
6171 .PHONY
: configure-target-libgloss maybe-configure-target-libgloss
6172 maybe-configure-target-libgloss
:
6174 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
6175 $(TARGET_SUBDIR
)/libgloss
/multilib.out
: multilib.out
6176 @
[ -d
$(TARGET_SUBDIR
)/libgloss
] || \
6177 mkdir
$(TARGET_SUBDIR
)/libgloss
; \
6178 rm -f
$(TARGET_SUBDIR
)/libgloss
/Makefile ||
: ; \
6179 cp multilib.out
$(TARGET_SUBDIR
)/libgloss
/multilib.out
6181 configure-target-libgloss
: $(TARGET_SUBDIR
)/libgloss
/multilib.out
6182 @
test ! -f
$(TARGET_SUBDIR
)/libgloss
/Makefile || exit
0; \
6183 [ -d
$(TARGET_SUBDIR
)/libgloss
] || \
6184 mkdir
$(TARGET_SUBDIR
)/libgloss
;\
6185 r
=`${PWD}`; export r
; \
6186 s
=`cd $(srcdir); ${PWD}`; export s
; \
6188 AR
="$(AR_FOR_TARGET)"; export AR
; \
6189 AS
="$(AS_FOR_TARGET)"; export AS
; \
6190 CC
="$(CC_FOR_TARGET)"; export CC
; \
6191 CFLAGS
="$(CFLAGS_FOR_TARGET)"; export CFLAGS
; \
6192 CXX
="$(CXX_FOR_TARGET)"; export CXX
; \
6193 CXXFLAGS
="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS
; \
6194 GCJ
="$(GCJ_FOR_TARGET)"; export GCJ
; \
6195 DLLTOOL
="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL
; \
6196 LD
="$(LD_FOR_TARGET)"; export LD
; \
6197 LDFLAGS
="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS
; \
6198 NM
="$(NM_FOR_TARGET)"; export NM
; \
6199 RANLIB
="$(RANLIB_FOR_TARGET)"; export RANLIB
; \
6200 WINDRES
="$(WINDRES_FOR_TARGET)"; export WINDRES
; \
6201 echo Configuring in
$(TARGET_SUBDIR
)/libgloss
; \
6202 cd
"$(TARGET_SUBDIR)/libgloss" || exit
1; \
6204 /* |
[A-Za-z
]:[\\/]*) \
6205 topdir
=$(srcdir) ;; \
6207 case
"$(TARGET_SUBDIR)" in \
6208 .
) topdir
="../$(srcdir)" ;; \
6209 *) topdir
="../../$(srcdir)" ;; \
6212 if
[ "$(srcdir)" = "." ] ; then \
6213 if
[ "$(TARGET_SUBDIR)" != "." ] ; then \
6214 if
$(SHELL
) $$s/symlink-tree
$${topdir}/libgloss
"no-such-file" ; then \
6215 if
[ -f Makefile
]; then \
6216 if
$(MAKE
) distclean; then \
6230 srcdiroption
="--srcdir=."; \
6233 srcdiroption
="--srcdir=$${topdir}/libgloss"; \
6234 libsrcdir
="$$s/libgloss"; \
6236 rm -f no-such-file ||
: ; \
6237 CONFIG_SITE
=no-such-file
$(SHELL
) $${libsrcdir}/configure \
6238 $(TARGET_CONFIGARGS
) $${srcdiroption} \
6239 --with-target-subdir
="$(TARGET_SUBDIR)" \
6242 .PHONY
: all-target-libgloss maybe-all-target-libgloss
6243 maybe-all-target-libgloss
:
6244 all-target-libgloss
: configure-target-libgloss
6245 @r
=`${PWD}`; export r
; \
6246 s
=`cd $(srcdir); ${PWD}`; export s
; \
6248 (cd
$(TARGET_SUBDIR
)/libgloss
&& \
6249 $(MAKE
) $(TARGET_FLAGS_TO_PASS
) all)
6251 # Dummy target for uncheckable module.
6252 .PHONY
: check-target-libgloss
6253 check-target-libgloss
:
6256 .PHONY
: install-target-libgloss maybe-install-target-libgloss
6257 maybe-install-target-libgloss
:
6258 install-target-libgloss
: installdirs
6259 @r
=`${PWD}`; export r
; \
6260 s
=`cd $(srcdir); ${PWD}`; export s
; \
6262 (cd
$(TARGET_SUBDIR
)/libgloss
&& \
6263 $(MAKE
) $(TARGET_FLAGS_TO_PASS
) install)
6266 .PHONY
: configure-target-libiberty maybe-configure-target-libiberty
6267 maybe-configure-target-libiberty
:
6269 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
6270 $(TARGET_SUBDIR
)/libiberty
/multilib.out
: multilib.out
6271 @
[ -d
$(TARGET_SUBDIR
)/libiberty
] || \
6272 mkdir
$(TARGET_SUBDIR
)/libiberty
; \
6273 rm -f
$(TARGET_SUBDIR
)/libiberty
/Makefile ||
: ; \
6274 cp multilib.out
$(TARGET_SUBDIR
)/libiberty
/multilib.out
6276 configure-target-libiberty
: $(TARGET_SUBDIR
)/libiberty
/multilib.out
6277 @
test ! -f
$(TARGET_SUBDIR
)/libiberty
/Makefile || exit
0; \
6278 [ -d
$(TARGET_SUBDIR
)/libiberty
] || \
6279 mkdir
$(TARGET_SUBDIR
)/libiberty
;\
6280 r
=`${PWD}`; export r
; \
6281 s
=`cd $(srcdir); ${PWD}`; export s
; \
6283 AR
="$(AR_FOR_TARGET)"; export AR
; \
6284 AS
="$(AS_FOR_TARGET)"; export AS
; \
6285 CC
="$(CC_FOR_TARGET)"; export CC
; \
6286 CFLAGS
="$(CFLAGS_FOR_TARGET)"; export CFLAGS
; \
6287 CXX
="$(CXX_FOR_TARGET)"; export CXX
; \
6288 CXXFLAGS
="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS
; \
6289 GCJ
="$(GCJ_FOR_TARGET)"; export GCJ
; \
6290 DLLTOOL
="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL
; \
6291 LD
="$(LD_FOR_TARGET)"; export LD
; \
6292 LDFLAGS
="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS
; \
6293 NM
="$(NM_FOR_TARGET)"; export NM
; \
6294 RANLIB
="$(RANLIB_FOR_TARGET)"; export RANLIB
; \
6295 WINDRES
="$(WINDRES_FOR_TARGET)"; export WINDRES
; \
6296 echo Configuring in
$(TARGET_SUBDIR
)/libiberty
; \
6297 cd
"$(TARGET_SUBDIR)/libiberty" || exit
1; \
6299 /* |
[A-Za-z
]:[\\/]*) \
6300 topdir
=$(srcdir) ;; \
6302 case
"$(TARGET_SUBDIR)" in \
6303 .
) topdir
="../$(srcdir)" ;; \
6304 *) topdir
="../../$(srcdir)" ;; \
6307 if
[ "$(srcdir)" = "." ] ; then \
6308 if
[ "$(TARGET_SUBDIR)" != "." ] ; then \
6309 if
$(SHELL
) $$s/symlink-tree
$${topdir}/libiberty
"no-such-file" ; then \
6310 if
[ -f Makefile
]; then \
6311 if
$(MAKE
) distclean; then \
6325 srcdiroption
="--srcdir=."; \
6328 srcdiroption
="--srcdir=$${topdir}/libiberty"; \
6329 libsrcdir
="$$s/libiberty"; \
6331 rm -f no-such-file ||
: ; \
6332 CONFIG_SITE
=no-such-file
$(SHELL
) $${libsrcdir}/configure \
6333 $(TARGET_CONFIGARGS
) $${srcdiroption} \
6334 --with-target-subdir
="$(TARGET_SUBDIR)" \
6337 .PHONY
: all-target-libiberty maybe-all-target-libiberty
6338 maybe-all-target-libiberty
:
6339 all-target-libiberty
: configure-target-libiberty
6340 @r
=`${PWD}`; export r
; \
6341 s
=`cd $(srcdir); ${PWD}`; export s
; \
6343 (cd
$(TARGET_SUBDIR
)/libiberty
&& \
6344 $(MAKE
) $(TARGET_FLAGS_TO_PASS
) all)
6346 .PHONY
: check-target-libiberty
6347 check-target-libiberty
:
6348 @r
=`${PWD}`; export r
; \
6349 s
=`cd $(srcdir); ${PWD}`; export s
; \
6351 (cd
$(TARGET_SUBDIR
)/libiberty
&& \
6352 $(MAKE
) $(TARGET_FLAGS_TO_PASS
) check)
6355 .PHONY
: install-target-libiberty maybe-install-target-libiberty
6356 maybe-install-target-libiberty
:
6357 install-target-libiberty
: installdirs
6358 @r
=`${PWD}`; export r
; \
6359 s
=`cd $(srcdir); ${PWD}`; export s
; \
6361 (cd
$(TARGET_SUBDIR
)/libiberty
&& \
6362 $(MAKE
) $(TARGET_FLAGS_TO_PASS
) install)
6365 .PHONY
: configure-target-gperf maybe-configure-target-gperf
6366 maybe-configure-target-gperf
:
6368 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
6369 $(TARGET_SUBDIR
)/gperf
/multilib.out
: multilib.out
6370 @
[ -d
$(TARGET_SUBDIR
)/gperf
] || \
6371 mkdir
$(TARGET_SUBDIR
)/gperf
; \
6372 rm -f
$(TARGET_SUBDIR
)/gperf
/Makefile ||
: ; \
6373 cp multilib.out
$(TARGET_SUBDIR
)/gperf
/multilib.out
6375 configure-target-gperf
: $(TARGET_SUBDIR
)/gperf
/multilib.out
6376 @
test ! -f
$(TARGET_SUBDIR
)/gperf
/Makefile || exit
0; \
6377 [ -d
$(TARGET_SUBDIR
)/gperf
] || \
6378 mkdir
$(TARGET_SUBDIR
)/gperf
;\
6379 r
=`${PWD}`; export r
; \
6380 s
=`cd $(srcdir); ${PWD}`; export s
; \
6382 AR
="$(AR_FOR_TARGET)"; export AR
; \
6383 AS
="$(AS_FOR_TARGET)"; export AS
; \
6384 CC
="$(CC_FOR_TARGET)"; export CC
; \
6385 CFLAGS
="$(CFLAGS_FOR_TARGET)"; export CFLAGS
; \
6386 CXX
="$(CXX_FOR_TARGET)"; export CXX
; \
6387 CXXFLAGS
="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS
; \
6388 GCJ
="$(GCJ_FOR_TARGET)"; export GCJ
; \
6389 DLLTOOL
="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL
; \
6390 LD
="$(LD_FOR_TARGET)"; export LD
; \
6391 LDFLAGS
="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS
; \
6392 NM
="$(NM_FOR_TARGET)"; export NM
; \
6393 RANLIB
="$(RANLIB_FOR_TARGET)"; export RANLIB
; \
6394 WINDRES
="$(WINDRES_FOR_TARGET)"; export WINDRES
; \
6395 echo Configuring in
$(TARGET_SUBDIR
)/gperf
; \
6396 cd
"$(TARGET_SUBDIR)/gperf" || exit
1; \
6398 /* |
[A-Za-z
]:[\\/]*) \
6399 topdir
=$(srcdir) ;; \
6401 case
"$(TARGET_SUBDIR)" in \
6402 .
) topdir
="../$(srcdir)" ;; \
6403 *) topdir
="../../$(srcdir)" ;; \
6406 if
[ "$(srcdir)" = "." ] ; then \
6407 if
[ "$(TARGET_SUBDIR)" != "." ] ; then \
6408 if
$(SHELL
) $$s/symlink-tree
$${topdir}/gperf
"no-such-file" ; then \
6409 if
[ -f Makefile
]; then \
6410 if
$(MAKE
) distclean; then \
6424 srcdiroption
="--srcdir=."; \
6427 srcdiroption
="--srcdir=$${topdir}/gperf"; \
6428 libsrcdir
="$$s/gperf"; \
6430 rm -f no-such-file ||
: ; \
6431 CONFIG_SITE
=no-such-file
$(SHELL
) $${libsrcdir}/configure \
6432 $(TARGET_CONFIGARGS
) $${srcdiroption} \
6433 --with-target-subdir
="$(TARGET_SUBDIR)" \
6436 .PHONY
: all-target-gperf maybe-all-target-gperf
6437 maybe-all-target-gperf
:
6438 all-target-gperf
: configure-target-gperf
6439 @r
=`${PWD}`; export r
; \
6440 s
=`cd $(srcdir); ${PWD}`; export s
; \
6442 (cd
$(TARGET_SUBDIR
)/gperf
&& \
6443 $(MAKE
) $(TARGET_FLAGS_TO_PASS
) all)
6445 .PHONY
: check-target-gperf
6447 @r
=`${PWD}`; export r
; \
6448 s
=`cd $(srcdir); ${PWD}`; export s
; \
6450 (cd
$(TARGET_SUBDIR
)/gperf
&& \
6451 $(MAKE
) $(TARGET_FLAGS_TO_PASS
) check)
6454 .PHONY
: install-target-gperf maybe-install-target-gperf
6455 maybe-install-target-gperf
:
6456 install-target-gperf
: installdirs
6457 @r
=`${PWD}`; export r
; \
6458 s
=`cd $(srcdir); ${PWD}`; export s
; \
6460 (cd
$(TARGET_SUBDIR
)/gperf
&& \
6461 $(MAKE
) $(TARGET_FLAGS_TO_PASS
) install)
6464 .PHONY
: configure-target-examples maybe-configure-target-examples
6465 maybe-configure-target-examples
:
6467 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
6468 $(TARGET_SUBDIR
)/examples
/multilib.out
: multilib.out
6469 @
[ -d
$(TARGET_SUBDIR
)/examples
] || \
6470 mkdir
$(TARGET_SUBDIR
)/examples
; \
6471 rm -f
$(TARGET_SUBDIR
)/examples
/Makefile ||
: ; \
6472 cp multilib.out
$(TARGET_SUBDIR
)/examples
/multilib.out
6474 configure-target-examples
: $(TARGET_SUBDIR
)/examples
/multilib.out
6475 @
test ! -f
$(TARGET_SUBDIR
)/examples
/Makefile || exit
0; \
6476 [ -d
$(TARGET_SUBDIR
)/examples
] || \
6477 mkdir
$(TARGET_SUBDIR
)/examples
;\
6478 r
=`${PWD}`; export r
; \
6479 s
=`cd $(srcdir); ${PWD}`; export s
; \
6481 AR
="$(AR_FOR_TARGET)"; export AR
; \
6482 AS
="$(AS_FOR_TARGET)"; export AS
; \
6483 CC
="$(CC_FOR_TARGET)"; export CC
; \
6484 CFLAGS
="$(CFLAGS_FOR_TARGET)"; export CFLAGS
; \
6485 CXX
="$(CXX_FOR_TARGET)"; export CXX
; \
6486 CXXFLAGS
="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS
; \
6487 GCJ
="$(GCJ_FOR_TARGET)"; export GCJ
; \
6488 DLLTOOL
="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL
; \
6489 LD
="$(LD_FOR_TARGET)"; export LD
; \
6490 LDFLAGS
="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS
; \
6491 NM
="$(NM_FOR_TARGET)"; export NM
; \
6492 RANLIB
="$(RANLIB_FOR_TARGET)"; export RANLIB
; \
6493 WINDRES
="$(WINDRES_FOR_TARGET)"; export WINDRES
; \
6494 echo Configuring in
$(TARGET_SUBDIR
)/examples
; \
6495 cd
"$(TARGET_SUBDIR)/examples" || exit
1; \
6497 /* |
[A-Za-z
]:[\\/]*) \
6498 topdir
=$(srcdir) ;; \
6500 case
"$(TARGET_SUBDIR)" in \
6501 .
) topdir
="../$(srcdir)" ;; \
6502 *) topdir
="../../$(srcdir)" ;; \
6505 if
[ "$(srcdir)" = "." ] ; then \
6506 if
[ "$(TARGET_SUBDIR)" != "." ] ; then \
6507 if
$(SHELL
) $$s/symlink-tree
$${topdir}/examples
"no-such-file" ; then \
6508 if
[ -f Makefile
]; then \
6509 if
$(MAKE
) distclean; then \
6523 srcdiroption
="--srcdir=."; \
6526 srcdiroption
="--srcdir=$${topdir}/examples"; \
6527 libsrcdir
="$$s/examples"; \
6529 rm -f no-such-file ||
: ; \
6530 CONFIG_SITE
=no-such-file
$(SHELL
) $${libsrcdir}/configure \
6531 $(TARGET_CONFIGARGS
) $${srcdiroption} \
6532 --with-target-subdir
="$(TARGET_SUBDIR)" \
6535 .PHONY
: all-target-examples maybe-all-target-examples
6536 maybe-all-target-examples
:
6537 all-target-examples
: configure-target-examples
6538 @r
=`${PWD}`; export r
; \
6539 s
=`cd $(srcdir); ${PWD}`; export s
; \
6541 (cd
$(TARGET_SUBDIR
)/examples
&& \
6542 $(MAKE
) $(TARGET_FLAGS_TO_PASS
) all)
6544 # Dummy target for uncheckable module.
6545 .PHONY
: check-target-examples
6546 check-target-examples
:
6549 .PHONY
: install-target-examples maybe-install-target-examples
6550 maybe-install-target-examples
:
6551 # Dummy target for uninstallable.
6552 install-target-examples
:
6555 .PHONY
: configure-target-libffi maybe-configure-target-libffi
6556 maybe-configure-target-libffi
:
6558 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
6559 $(TARGET_SUBDIR
)/libffi
/multilib.out
: multilib.out
6560 @
[ -d
$(TARGET_SUBDIR
)/libffi
] || \
6561 mkdir
$(TARGET_SUBDIR
)/libffi
; \
6562 rm -f
$(TARGET_SUBDIR
)/libffi
/Makefile ||
: ; \
6563 cp multilib.out
$(TARGET_SUBDIR
)/libffi
/multilib.out
6565 configure-target-libffi
: $(TARGET_SUBDIR
)/libffi
/multilib.out
6566 @
test ! -f
$(TARGET_SUBDIR
)/libffi
/Makefile || exit
0; \
6567 [ -d
$(TARGET_SUBDIR
)/libffi
] || \
6568 mkdir
$(TARGET_SUBDIR
)/libffi
;\
6569 r
=`${PWD}`; export r
; \
6570 s
=`cd $(srcdir); ${PWD}`; export s
; \
6572 AR
="$(AR_FOR_TARGET)"; export AR
; \
6573 AS
="$(AS_FOR_TARGET)"; export AS
; \
6574 CC
="$(CC_FOR_TARGET)"; export CC
; \
6575 CFLAGS
="$(CFLAGS_FOR_TARGET)"; export CFLAGS
; \
6576 CXX
="$(CXX_FOR_TARGET)"; export CXX
; \
6577 CXXFLAGS
="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS
; \
6578 GCJ
="$(GCJ_FOR_TARGET)"; export GCJ
; \
6579 DLLTOOL
="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL
; \
6580 LD
="$(LD_FOR_TARGET)"; export LD
; \
6581 LDFLAGS
="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS
; \
6582 NM
="$(NM_FOR_TARGET)"; export NM
; \
6583 RANLIB
="$(RANLIB_FOR_TARGET)"; export RANLIB
; \
6584 WINDRES
="$(WINDRES_FOR_TARGET)"; export WINDRES
; \
6585 echo Configuring in
$(TARGET_SUBDIR
)/libffi
; \
6586 cd
"$(TARGET_SUBDIR)/libffi" || exit
1; \
6588 /* |
[A-Za-z
]:[\\/]*) \
6589 topdir
=$(srcdir) ;; \
6591 case
"$(TARGET_SUBDIR)" in \
6592 .
) topdir
="../$(srcdir)" ;; \
6593 *) topdir
="../../$(srcdir)" ;; \
6596 if
[ "$(srcdir)" = "." ] ; then \
6597 if
[ "$(TARGET_SUBDIR)" != "." ] ; then \
6598 if
$(SHELL
) $$s/symlink-tree
$${topdir}/libffi
"no-such-file" ; then \
6599 if
[ -f Makefile
]; then \
6600 if
$(MAKE
) distclean; then \
6614 srcdiroption
="--srcdir=."; \
6617 srcdiroption
="--srcdir=$${topdir}/libffi"; \
6618 libsrcdir
="$$s/libffi"; \
6620 rm -f no-such-file ||
: ; \
6621 CONFIG_SITE
=no-such-file
$(SHELL
) $${libsrcdir}/configure \
6622 $(TARGET_CONFIGARGS
) $${srcdiroption} \
6623 --with-target-subdir
="$(TARGET_SUBDIR)" \
6626 .PHONY
: all-target-libffi maybe-all-target-libffi
6627 maybe-all-target-libffi
:
6628 all-target-libffi
: configure-target-libffi
6629 @r
=`${PWD}`; export r
; \
6630 s
=`cd $(srcdir); ${PWD}`; export s
; \
6632 (cd
$(TARGET_SUBDIR
)/libffi
&& \
6633 $(MAKE
) $(TARGET_FLAGS_TO_PASS
) all)
6635 .PHONY
: check-target-libffi
6636 check-target-libffi
:
6637 @r
=`${PWD}`; export r
; \
6638 s
=`cd $(srcdir); ${PWD}`; export s
; \
6640 (cd
$(TARGET_SUBDIR
)/libffi
&& \
6641 $(MAKE
) $(TARGET_FLAGS_TO_PASS
) check)
6644 .PHONY
: install-target-libffi maybe-install-target-libffi
6645 maybe-install-target-libffi
:
6646 install-target-libffi
: installdirs
6647 @r
=`${PWD}`; export r
; \
6648 s
=`cd $(srcdir); ${PWD}`; export s
; \
6650 (cd
$(TARGET_SUBDIR
)/libffi
&& \
6651 $(MAKE
) $(TARGET_FLAGS_TO_PASS
) install)
6654 .PHONY
: configure-target-libjava maybe-configure-target-libjava
6655 maybe-configure-target-libjava
:
6657 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
6658 $(TARGET_SUBDIR
)/libjava
/multilib.out
: multilib.out
6659 @
[ -d
$(TARGET_SUBDIR
)/libjava
] || \
6660 mkdir
$(TARGET_SUBDIR
)/libjava
; \
6661 rm -f
$(TARGET_SUBDIR
)/libjava
/Makefile ||
: ; \
6662 cp multilib.out
$(TARGET_SUBDIR
)/libjava
/multilib.out
6664 configure-target-libjava
: $(TARGET_SUBDIR
)/libjava
/multilib.out
6665 @
test ! -f
$(TARGET_SUBDIR
)/libjava
/Makefile || exit
0; \
6666 [ -d
$(TARGET_SUBDIR
)/libjava
] || \
6667 mkdir
$(TARGET_SUBDIR
)/libjava
;\
6668 r
=`${PWD}`; export r
; \
6669 s
=`cd $(srcdir); ${PWD}`; export s
; \
6671 AR
="$(AR_FOR_TARGET)"; export AR
; \
6672 AS
="$(AS_FOR_TARGET)"; export AS
; \
6673 CC
="$(CC_FOR_TARGET)"; export CC
; \
6674 CFLAGS
="$(CFLAGS_FOR_TARGET)"; export CFLAGS
; \
6675 CXX_FOR_TARGET
="$(RAW_CXX_FOR_TARGET)"; export CXX_FOR_TARGET
; \
6676 CXX
="$(RAW_CXX_FOR_TARGET)"; export CXX
; \
6677 CXXFLAGS
="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS
; \
6678 GCJ
="$(GCJ_FOR_TARGET)"; export GCJ
; \
6679 DLLTOOL
="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL
; \
6680 LD
="$(LD_FOR_TARGET)"; export LD
; \
6681 LDFLAGS
="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS
; \
6682 NM
="$(NM_FOR_TARGET)"; export NM
; \
6683 RANLIB
="$(RANLIB_FOR_TARGET)"; export RANLIB
; \
6684 WINDRES
="$(WINDRES_FOR_TARGET)"; export WINDRES
; \
6685 echo Configuring in
$(TARGET_SUBDIR
)/libjava
; \
6686 cd
"$(TARGET_SUBDIR)/libjava" || exit
1; \
6688 /* |
[A-Za-z
]:[\\/]*) \
6689 topdir
=$(srcdir) ;; \
6691 case
"$(TARGET_SUBDIR)" in \
6692 .
) topdir
="../$(srcdir)" ;; \
6693 *) topdir
="../../$(srcdir)" ;; \
6696 if
[ "$(srcdir)" = "." ] ; then \
6697 if
[ "$(TARGET_SUBDIR)" != "." ] ; then \
6698 if
$(SHELL
) $$s/symlink-tree
$${topdir}/libjava
"no-such-file" ; then \
6699 if
[ -f Makefile
]; then \
6700 if
$(MAKE
) distclean; then \
6714 srcdiroption
="--srcdir=."; \
6717 srcdiroption
="--srcdir=$${topdir}/libjava"; \
6718 libsrcdir
="$$s/libjava"; \
6720 rm -f no-such-file ||
: ; \
6721 CONFIG_SITE
=no-such-file
$(SHELL
) $${libsrcdir}/configure \
6722 $(TARGET_CONFIGARGS
) $${srcdiroption} \
6723 --with-target-subdir
="$(TARGET_SUBDIR)" \
6726 .PHONY
: all-target-libjava maybe-all-target-libjava
6727 maybe-all-target-libjava
:
6728 all-target-libjava
: configure-target-libjava
6729 @r
=`${PWD}`; export r
; \
6730 s
=`cd $(srcdir); ${PWD}`; export s
; \
6732 (cd
$(TARGET_SUBDIR
)/libjava
&& \
6733 $(MAKE
) $(TARGET_FLAGS_TO_PASS
) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' all)
6735 .PHONY
: check-target-libjava
6736 check-target-libjava
:
6737 @r
=`${PWD}`; export r
; \
6738 s
=`cd $(srcdir); ${PWD}`; export s
; \
6740 (cd
$(TARGET_SUBDIR
)/libjava
&& \
6741 $(MAKE
) $(TARGET_FLAGS_TO_PASS
) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' check)
6744 .PHONY
: install-target-libjava maybe-install-target-libjava
6745 maybe-install-target-libjava
:
6746 install-target-libjava
: installdirs
6747 @r
=`${PWD}`; export r
; \
6748 s
=`cd $(srcdir); ${PWD}`; export s
; \
6750 (cd
$(TARGET_SUBDIR
)/libjava
&& \
6751 $(MAKE
) $(TARGET_FLAGS_TO_PASS
) install)
6754 .PHONY
: configure-target-zlib maybe-configure-target-zlib
6755 maybe-configure-target-zlib
:
6757 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
6758 $(TARGET_SUBDIR
)/zlib
/multilib.out
: multilib.out
6759 @
[ -d
$(TARGET_SUBDIR
)/zlib
] || \
6760 mkdir
$(TARGET_SUBDIR
)/zlib
; \
6761 rm -f
$(TARGET_SUBDIR
)/zlib
/Makefile ||
: ; \
6762 cp multilib.out
$(TARGET_SUBDIR
)/zlib
/multilib.out
6764 configure-target-zlib
: $(TARGET_SUBDIR
)/zlib
/multilib.out
6765 @
test ! -f
$(TARGET_SUBDIR
)/zlib
/Makefile || exit
0; \
6766 [ -d
$(TARGET_SUBDIR
)/zlib
] || \
6767 mkdir
$(TARGET_SUBDIR
)/zlib
;\
6768 r
=`${PWD}`; export r
; \
6769 s
=`cd $(srcdir); ${PWD}`; export s
; \
6771 AR
="$(AR_FOR_TARGET)"; export AR
; \
6772 AS
="$(AS_FOR_TARGET)"; export AS
; \
6773 CC
="$(CC_FOR_TARGET)"; export CC
; \
6774 CFLAGS
="$(CFLAGS_FOR_TARGET)"; export CFLAGS
; \
6775 CXX
="$(CXX_FOR_TARGET)"; export CXX
; \
6776 CXXFLAGS
="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS
; \
6777 GCJ
="$(GCJ_FOR_TARGET)"; export GCJ
; \
6778 DLLTOOL
="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL
; \
6779 LD
="$(LD_FOR_TARGET)"; export LD
; \
6780 LDFLAGS
="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS
; \
6781 NM
="$(NM_FOR_TARGET)"; export NM
; \
6782 RANLIB
="$(RANLIB_FOR_TARGET)"; export RANLIB
; \
6783 WINDRES
="$(WINDRES_FOR_TARGET)"; export WINDRES
; \
6784 echo Configuring in
$(TARGET_SUBDIR
)/zlib
; \
6785 cd
"$(TARGET_SUBDIR)/zlib" || exit
1; \
6787 /* |
[A-Za-z
]:[\\/]*) \
6788 topdir
=$(srcdir) ;; \
6790 case
"$(TARGET_SUBDIR)" in \
6791 .
) topdir
="../$(srcdir)" ;; \
6792 *) topdir
="../../$(srcdir)" ;; \
6795 if
[ "$(srcdir)" = "." ] ; then \
6796 if
[ "$(TARGET_SUBDIR)" != "." ] ; then \
6797 if
$(SHELL
) $$s/symlink-tree
$${topdir}/zlib
"no-such-file" ; then \
6798 if
[ -f Makefile
]; then \
6799 if
$(MAKE
) distclean; then \
6813 srcdiroption
="--srcdir=."; \
6816 srcdiroption
="--srcdir=$${topdir}/zlib"; \
6817 libsrcdir
="$$s/zlib"; \
6819 rm -f no-such-file ||
: ; \
6820 CONFIG_SITE
=no-such-file
$(SHELL
) $${libsrcdir}/configure \
6821 $(TARGET_CONFIGARGS
) $${srcdiroption} \
6822 --with-target-subdir
="$(TARGET_SUBDIR)" \
6825 .PHONY
: all-target-zlib maybe-all-target-zlib
6826 maybe-all-target-zlib
:
6827 all-target-zlib
: configure-target-zlib
6828 @r
=`${PWD}`; export r
; \
6829 s
=`cd $(srcdir); ${PWD}`; export s
; \
6831 (cd
$(TARGET_SUBDIR
)/zlib
&& \
6832 $(MAKE
) $(TARGET_FLAGS_TO_PASS
) all)
6834 .PHONY
: check-target-zlib
6836 @r
=`${PWD}`; export r
; \
6837 s
=`cd $(srcdir); ${PWD}`; export s
; \
6839 (cd
$(TARGET_SUBDIR
)/zlib
&& \
6840 $(MAKE
) $(TARGET_FLAGS_TO_PASS
) check)
6843 .PHONY
: install-target-zlib maybe-install-target-zlib
6844 maybe-install-target-zlib
:
6845 install-target-zlib
: installdirs
6846 @r
=`${PWD}`; export r
; \
6847 s
=`cd $(srcdir); ${PWD}`; export s
; \
6849 (cd
$(TARGET_SUBDIR
)/zlib
&& \
6850 $(MAKE
) $(TARGET_FLAGS_TO_PASS
) install)
6853 .PHONY
: configure-target-boehm-gc maybe-configure-target-boehm-gc
6854 maybe-configure-target-boehm-gc
:
6856 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
6857 $(TARGET_SUBDIR
)/boehm-gc
/multilib.out
: multilib.out
6858 @
[ -d
$(TARGET_SUBDIR
)/boehm-gc
] || \
6859 mkdir
$(TARGET_SUBDIR
)/boehm-gc
; \
6860 rm -f
$(TARGET_SUBDIR
)/boehm-gc
/Makefile ||
: ; \
6861 cp multilib.out
$(TARGET_SUBDIR
)/boehm-gc
/multilib.out
6863 configure-target-boehm-gc
: $(TARGET_SUBDIR
)/boehm-gc
/multilib.out
6864 @
test ! -f
$(TARGET_SUBDIR
)/boehm-gc
/Makefile || exit
0; \
6865 [ -d
$(TARGET_SUBDIR
)/boehm-gc
] || \
6866 mkdir
$(TARGET_SUBDIR
)/boehm-gc
;\
6867 r
=`${PWD}`; export r
; \
6868 s
=`cd $(srcdir); ${PWD}`; export s
; \
6870 AR
="$(AR_FOR_TARGET)"; export AR
; \
6871 AS
="$(AS_FOR_TARGET)"; export AS
; \
6872 CC
="$(CC_FOR_TARGET)"; export CC
; \
6873 CFLAGS
="$(CFLAGS_FOR_TARGET)"; export CFLAGS
; \
6874 CXX
="$(CXX_FOR_TARGET)"; export CXX
; \
6875 CXXFLAGS
="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS
; \
6876 GCJ
="$(GCJ_FOR_TARGET)"; export GCJ
; \
6877 DLLTOOL
="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL
; \
6878 LD
="$(LD_FOR_TARGET)"; export LD
; \
6879 LDFLAGS
="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS
; \
6880 NM
="$(NM_FOR_TARGET)"; export NM
; \
6881 RANLIB
="$(RANLIB_FOR_TARGET)"; export RANLIB
; \
6882 WINDRES
="$(WINDRES_FOR_TARGET)"; export WINDRES
; \
6883 echo Configuring in
$(TARGET_SUBDIR
)/boehm-gc
; \
6884 cd
"$(TARGET_SUBDIR)/boehm-gc" || exit
1; \
6886 /* |
[A-Za-z
]:[\\/]*) \
6887 topdir
=$(srcdir) ;; \
6889 case
"$(TARGET_SUBDIR)" in \
6890 .
) topdir
="../$(srcdir)" ;; \
6891 *) topdir
="../../$(srcdir)" ;; \
6894 if
[ "$(srcdir)" = "." ] ; then \
6895 if
[ "$(TARGET_SUBDIR)" != "." ] ; then \
6896 if
$(SHELL
) $$s/symlink-tree
$${topdir}/boehm-gc
"no-such-file" ; then \
6897 if
[ -f Makefile
]; then \
6898 if
$(MAKE
) distclean; then \
6912 srcdiroption
="--srcdir=."; \
6915 srcdiroption
="--srcdir=$${topdir}/boehm-gc"; \
6916 libsrcdir
="$$s/boehm-gc"; \
6918 rm -f no-such-file ||
: ; \
6919 CONFIG_SITE
=no-such-file
$(SHELL
) $${libsrcdir}/configure \
6920 $(TARGET_CONFIGARGS
) $${srcdiroption} \
6921 --with-target-subdir
="$(TARGET_SUBDIR)" \
6924 .PHONY
: all-target-boehm-gc maybe-all-target-boehm-gc
6925 maybe-all-target-boehm-gc
:
6926 all-target-boehm-gc
: configure-target-boehm-gc
6927 @r
=`${PWD}`; export r
; \
6928 s
=`cd $(srcdir); ${PWD}`; export s
; \
6930 (cd
$(TARGET_SUBDIR
)/boehm-gc
&& \
6931 $(MAKE
) $(TARGET_FLAGS_TO_PASS
) all)
6933 .PHONY
: check-target-boehm-gc
6934 check-target-boehm-gc
:
6935 @r
=`${PWD}`; export r
; \
6936 s
=`cd $(srcdir); ${PWD}`; export s
; \
6938 (cd
$(TARGET_SUBDIR
)/boehm-gc
&& \
6939 $(MAKE
) $(TARGET_FLAGS_TO_PASS
) check)
6942 .PHONY
: install-target-boehm-gc maybe-install-target-boehm-gc
6943 maybe-install-target-boehm-gc
:
6944 install-target-boehm-gc
: installdirs
6945 @r
=`${PWD}`; export r
; \
6946 s
=`cd $(srcdir); ${PWD}`; export s
; \
6948 (cd
$(TARGET_SUBDIR
)/boehm-gc
&& \
6949 $(MAKE
) $(TARGET_FLAGS_TO_PASS
) install)
6952 .PHONY
: configure-target-qthreads maybe-configure-target-qthreads
6953 maybe-configure-target-qthreads
:
6955 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
6956 $(TARGET_SUBDIR
)/qthreads
/multilib.out
: multilib.out
6957 @
[ -d
$(TARGET_SUBDIR
)/qthreads
] || \
6958 mkdir
$(TARGET_SUBDIR
)/qthreads
; \
6959 rm -f
$(TARGET_SUBDIR
)/qthreads
/Makefile ||
: ; \
6960 cp multilib.out
$(TARGET_SUBDIR
)/qthreads
/multilib.out
6962 configure-target-qthreads
: $(TARGET_SUBDIR
)/qthreads
/multilib.out
6963 @
test ! -f
$(TARGET_SUBDIR
)/qthreads
/Makefile || exit
0; \
6964 [ -d
$(TARGET_SUBDIR
)/qthreads
] || \
6965 mkdir
$(TARGET_SUBDIR
)/qthreads
;\
6966 r
=`${PWD}`; export r
; \
6967 s
=`cd $(srcdir); ${PWD}`; export s
; \
6969 AR
="$(AR_FOR_TARGET)"; export AR
; \
6970 AS
="$(AS_FOR_TARGET)"; export AS
; \
6971 CC
="$(CC_FOR_TARGET)"; export CC
; \
6972 CFLAGS
="$(CFLAGS_FOR_TARGET)"; export CFLAGS
; \
6973 CXX
="$(CXX_FOR_TARGET)"; export CXX
; \
6974 CXXFLAGS
="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS
; \
6975 GCJ
="$(GCJ_FOR_TARGET)"; export GCJ
; \
6976 DLLTOOL
="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL
; \
6977 LD
="$(LD_FOR_TARGET)"; export LD
; \
6978 LDFLAGS
="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS
; \
6979 NM
="$(NM_FOR_TARGET)"; export NM
; \
6980 RANLIB
="$(RANLIB_FOR_TARGET)"; export RANLIB
; \
6981 WINDRES
="$(WINDRES_FOR_TARGET)"; export WINDRES
; \
6982 echo Configuring in
$(TARGET_SUBDIR
)/qthreads
; \
6983 cd
"$(TARGET_SUBDIR)/qthreads" || exit
1; \
6985 /* |
[A-Za-z
]:[\\/]*) \
6986 topdir
=$(srcdir) ;; \
6988 case
"$(TARGET_SUBDIR)" in \
6989 .
) topdir
="../$(srcdir)" ;; \
6990 *) topdir
="../../$(srcdir)" ;; \
6993 if
[ "$(srcdir)" = "." ] ; then \
6994 if
[ "$(TARGET_SUBDIR)" != "." ] ; then \
6995 if
$(SHELL
) $$s/symlink-tree
$${topdir}/qthreads
"no-such-file" ; then \
6996 if
[ -f Makefile
]; then \
6997 if
$(MAKE
) distclean; then \
7011 srcdiroption
="--srcdir=."; \
7014 srcdiroption
="--srcdir=$${topdir}/qthreads"; \
7015 libsrcdir
="$$s/qthreads"; \
7017 rm -f no-such-file ||
: ; \
7018 CONFIG_SITE
=no-such-file
$(SHELL
) $${libsrcdir}/configure \
7019 $(TARGET_CONFIGARGS
) $${srcdiroption} \
7020 --with-target-subdir
="$(TARGET_SUBDIR)" \
7023 .PHONY
: all-target-qthreads maybe-all-target-qthreads
7024 maybe-all-target-qthreads
:
7025 all-target-qthreads
: configure-target-qthreads
7026 @r
=`${PWD}`; export r
; \
7027 s
=`cd $(srcdir); ${PWD}`; export s
; \
7029 (cd
$(TARGET_SUBDIR
)/qthreads
&& \
7030 $(MAKE
) $(TARGET_FLAGS_TO_PASS
) all)
7032 .PHONY
: check-target-qthreads
7033 check-target-qthreads
:
7034 @r
=`${PWD}`; export r
; \
7035 s
=`cd $(srcdir); ${PWD}`; export s
; \
7037 (cd
$(TARGET_SUBDIR
)/qthreads
&& \
7038 $(MAKE
) $(TARGET_FLAGS_TO_PASS
) check)
7041 .PHONY
: install-target-qthreads maybe-install-target-qthreads
7042 maybe-install-target-qthreads
:
7043 install-target-qthreads
: installdirs
7044 @r
=`${PWD}`; export r
; \
7045 s
=`cd $(srcdir); ${PWD}`; export s
; \
7047 (cd
$(TARGET_SUBDIR
)/qthreads
&& \
7048 $(MAKE
) $(TARGET_FLAGS_TO_PASS
) install)
7051 .PHONY
: configure-target-rda maybe-configure-target-rda
7052 maybe-configure-target-rda
:
7054 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
7055 $(TARGET_SUBDIR
)/rda
/multilib.out
: multilib.out
7056 @
[ -d
$(TARGET_SUBDIR
)/rda
] || \
7057 mkdir
$(TARGET_SUBDIR
)/rda
; \
7058 rm -f
$(TARGET_SUBDIR
)/rda
/Makefile ||
: ; \
7059 cp multilib.out
$(TARGET_SUBDIR
)/rda
/multilib.out
7061 configure-target-rda
: $(TARGET_SUBDIR
)/rda
/multilib.out
7062 @
test ! -f
$(TARGET_SUBDIR
)/rda
/Makefile || exit
0; \
7063 [ -d
$(TARGET_SUBDIR
)/rda
] || \
7064 mkdir
$(TARGET_SUBDIR
)/rda
;\
7065 r
=`${PWD}`; export r
; \
7066 s
=`cd $(srcdir); ${PWD}`; export s
; \
7068 AR
="$(AR_FOR_TARGET)"; export AR
; \
7069 AS
="$(AS_FOR_TARGET)"; export AS
; \
7070 CC
="$(CC_FOR_TARGET)"; export CC
; \
7071 CFLAGS
="$(CFLAGS_FOR_TARGET)"; export CFLAGS
; \
7072 CXX
="$(CXX_FOR_TARGET)"; export CXX
; \
7073 CXXFLAGS
="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS
; \
7074 GCJ
="$(GCJ_FOR_TARGET)"; export GCJ
; \
7075 DLLTOOL
="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL
; \
7076 LD
="$(LD_FOR_TARGET)"; export LD
; \
7077 LDFLAGS
="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS
; \
7078 NM
="$(NM_FOR_TARGET)"; export NM
; \
7079 RANLIB
="$(RANLIB_FOR_TARGET)"; export RANLIB
; \
7080 WINDRES
="$(WINDRES_FOR_TARGET)"; export WINDRES
; \
7081 echo Configuring in
$(TARGET_SUBDIR
)/rda
; \
7082 cd
"$(TARGET_SUBDIR)/rda" || exit
1; \
7084 /* |
[A-Za-z
]:[\\/]*) \
7085 topdir
=$(srcdir) ;; \
7087 case
"$(TARGET_SUBDIR)" in \
7088 .
) topdir
="../$(srcdir)" ;; \
7089 *) topdir
="../../$(srcdir)" ;; \
7092 if
[ "$(srcdir)" = "." ] ; then \
7093 if
[ "$(TARGET_SUBDIR)" != "." ] ; then \
7094 if
$(SHELL
) $$s/symlink-tree
$${topdir}/rda
"no-such-file" ; then \
7095 if
[ -f Makefile
]; then \
7096 if
$(MAKE
) distclean; then \
7110 srcdiroption
="--srcdir=."; \
7113 srcdiroption
="--srcdir=$${topdir}/rda"; \
7114 libsrcdir
="$$s/rda"; \
7116 rm -f no-such-file ||
: ; \
7117 CONFIG_SITE
=no-such-file
$(SHELL
) $${libsrcdir}/configure \
7118 $(TARGET_CONFIGARGS
) $${srcdiroption} \
7119 --with-target-subdir
="$(TARGET_SUBDIR)" \
7122 .PHONY
: all-target-rda maybe-all-target-rda
7123 maybe-all-target-rda
:
7124 all-target-rda
: configure-target-rda
7125 @r
=`${PWD}`; export r
; \
7126 s
=`cd $(srcdir); ${PWD}`; export s
; \
7128 (cd
$(TARGET_SUBDIR
)/rda
&& \
7129 $(MAKE
) $(TARGET_FLAGS_TO_PASS
) all)
7131 .PHONY
: check-target-rda
7133 @r
=`${PWD}`; export r
; \
7134 s
=`cd $(srcdir); ${PWD}`; export s
; \
7136 (cd
$(TARGET_SUBDIR
)/rda
&& \
7137 $(MAKE
) $(TARGET_FLAGS_TO_PASS
) check)
7140 .PHONY
: install-target-rda maybe-install-target-rda
7141 maybe-install-target-rda
:
7142 install-target-rda
: installdirs
7143 @r
=`${PWD}`; export r
; \
7144 s
=`cd $(srcdir); ${PWD}`; export s
; \
7146 (cd
$(TARGET_SUBDIR
)/rda
&& \
7147 $(MAKE
) $(TARGET_FLAGS_TO_PASS
) install)
7155 # Unfortunately, while gcc _should_ be a host module,
7156 # libgcc is a target module, and gen* programs are
7157 # build modules. So GCC is a sort of hybrid.
7159 # gcc is the only module which uses GCC_FLAGS_TO_PASS.
7160 .PHONY
: configure-gcc maybe-configure-gcc
7161 maybe-configure-gcc
:
7163 @
test ! -f gcc
/Makefile || exit
0; \
7164 [ -d gcc
] || mkdir gcc
; \
7165 r
=`${PWD}`; export r
; \
7166 s
=`cd $(srcdir); ${PWD}`; export s
; \
7167 CC
="$(CC)"; export CC
; \
7168 CFLAGS
="$(CFLAGS)"; export CFLAGS
; \
7169 CXX
="$(CXX)"; export CXX
; \
7170 CXXFLAGS
="$(CXXFLAGS)"; export CXXFLAGS
; \
7171 TOPLEVEL_CONFIGURE_ARGUMENTS
="$(TOPLEVEL_CONFIGURE_ARGUMENTS)"; export TOPLEVEL_CONFIGURE_ARGUMENTS
; \
7172 if
[ z
$(build_canonical
) != z
$(host_canoncial
) ] ; then \
7173 AR
="$(AR)"; export AR
; \
7174 AS
="$(AS)"; export AS
; \
7175 CC_FOR_BUILD
="$(CC_FOR_BUILD)"; export CC_FOR_BUILD
; \
7176 DLLTOOL
="$(DLLTOOL)"; export DLLTOOL
; \
7177 LD
="$(LD)"; export LD
; \
7178 NM
="$(NM)"; export NM
; \
7179 RANLIB
="$(RANLIB)"; export RANLIB
; \
7180 WINDRES
="$(WINDRES)"; export WINDRES
; \
7181 OBJCOPY
="$(OBJCOPY)"; export OBJCOPY
; \
7182 OBJDUMP
="$(OBJDUMP)"; export OBJDUMP
; \
7184 echo Configuring in gcc
; \
7188 srcdiroption
="--srcdir=."; \
7190 /* |
[A-Za-z
]:[\\/]*) \
7191 srcdiroption
="--srcdir=$(srcdir)/gcc"; \
7192 libsrcdir
="$$s/gcc";; \
7194 srcdiroption
="--srcdir=../$(srcdir)/gcc"; \
7195 libsrcdir
="$$s/gcc";; \
7197 $(SHELL
) $${libsrcdir}/configure \
7198 $(HOST_CONFIGARGS
) $${srcdiroption} \
7201 # Don't 'make all' in gcc if it's already been made by 'bootstrap'; that
7202 # causes trouble. This wart will be fixed eventually by moving
7203 # the bootstrap behavior to this file.
7204 .PHONY
: all-gcc maybe-all-gcc
7206 all-gcc
: configure-gcc
7207 @if
[ -f gcc
/stage_last
] ; then \
7208 r
=`${PWD}`; export r
; \
7209 s
=`cd $(srcdir); ${PWD}`; export s
; \
7211 (cd gcc
&& $(MAKE
) $(GCC_FLAGS_TO_PASS
) quickstrap
); \
7213 r
=`${PWD}`; export r
; \
7214 s
=`cd $(srcdir); ${PWD}`; export s
; \
7216 (cd gcc
&& $(MAKE
) $(GCC_FLAGS_TO_PASS
) all); \
7219 # Building GCC uses some tools for rebuilding "source" files
7220 # like texinfo, bison/byacc, etc. So we must depend on those.
7222 # While building GCC, it may be necessary to run various target
7223 # programs like the assembler, linker, etc. So we depend on
7226 # In theory, on an SMP all those dependencies can be resolved
7229 .PHONY
: bootstrap bootstrap-lean bootstrap2 bootstrap2-lean bootstrap3 bootstrap3-lean bootstrap4 bootstrap4-lean bubblestrap quickstrap cleanstrap restrap
7230 bootstrap bootstrap-lean bootstrap2 bootstrap2-lean bootstrap3 bootstrap3-lean bootstrap4 bootstrap4-lean bubblestrap quickstrap cleanstrap restrap
: all-bootstrap configure-gcc
7231 @r
=`${PWD}`; export r
; \
7232 s
=`cd $(srcdir); ${PWD}`; export s
; \
7234 echo
"Bootstrapping the compiler"; \
7235 cd gcc
&& $(MAKE
) $(GCC_FLAGS_TO_PASS
) $@
7236 @r
=`${PWD}`; export r
; \
7237 s
=`cd $(srcdir); ${PWD}`; export s
; \
7239 *bootstrap4-lean
) \
7240 msg
="Comparing stage3 and stage4 of the compiler"; \
7241 compare
=compare3-lean
;; \
7242 *bootstrap4
) msg
="Comparing stage3 and stage4 of the compiler"; \
7243 compare
=compare3
;; \
7244 *-lean
) msg
="Comparing stage2 and stage3 of the compiler"; \
7245 compare
=compare-lean
;; \
7246 * ) msg
="Comparing stage2 and stage3 of the compiler"; \
7247 compare
=compare
;; \
7251 cd gcc
&& $(MAKE
) $(GCC_FLAGS_TO_PASS
) $$compare
7252 @r
=`${PWD}`; export r
; \
7253 s
=`cd $(srcdir); ${PWD}` ; export s
; \
7255 echo
"Building runtime libraries"; \
7256 $(MAKE
) $(BASE_FLAGS_TO_PASS
) $(RECURSE_FLAGS
) all
7259 cross
: all-texinfo all-bison all-byacc all-binutils all-gas all-ld
7260 @r
=`${PWD}`; export r
; \
7261 s
=`cd $(srcdir); ${PWD}`; export s
; \
7263 echo
"Building the C and C++ compiler"; \
7264 cd gcc
&& $(MAKE
) $(GCC_FLAGS_TO_PASS
) LANGUAGES
="c c++"
7265 @r
=`${PWD}`; export r
; \
7266 s
=`cd $(srcdir); ${PWD}` ; export s
; \
7268 echo
"Building runtime libraries"; \
7269 $(MAKE
) $(BASE_FLAGS_TO_PASS
) $(RECURSE_FLAGS
) \
7270 LANGUAGES
="c c++" all
7274 @if
[ -f .
/gcc
/Makefile
] ; then \
7275 r
=`${PWD}`; export r
; \
7276 s
=`cd $(srcdir); ${PWD}`; export s
; \
7278 (cd gcc
&& $(MAKE
) $(GCC_FLAGS_TO_PASS
) check); \
7283 .PHONY
: check-gcc-c
++
7285 @if
[ -f .
/gcc
/Makefile
] ; then \
7286 r
=`${PWD}`; export r
; \
7287 s
=`cd $(srcdir); ${PWD}`; export s
; \
7289 (cd gcc
&& $(MAKE
) $(GCC_FLAGS_TO_PASS
) check-c
++); \
7295 check-c
++: check-target-libstdc
++-v3 check-gcc-c
++
7297 .PHONY
: install-gcc maybe-install-gcc
7300 @if
[ -f .
/gcc
/Makefile
] ; then \
7301 r
=`${PWD}`; export r
; \
7302 s
=`cd $(srcdir); ${PWD}`; export s
; \
7304 (cd gcc
&& $(MAKE
) $(GCC_FLAGS_TO_PASS
) install); \
7309 # Install the gcc headers files, but not the fixed include files,
7310 # which Cygnus is not allowed to distribute. This rule is very
7311 # dependent on the workings of the gcc Makefile.in.
7312 .PHONY
: gcc-no-fixedincludes
7313 gcc-no-fixedincludes
:
7314 @if
[ -f .
/gcc
/Makefile
]; then \
7315 rm -rf gcc
/tmp-include
; \
7316 mv gcc
/include gcc
/tmp-include
2>/dev
/null
; \
7317 mkdir gcc
/include; \
7318 cp
$(srcdir)/gcc
/gsyslimits.h gcc
/include/syslimits.h
; \
7319 touch gcc
/stmp-fixinc gcc
/include/fixed
; \
7320 rm -f gcc
/stmp-headers gcc
/stmp-int-hdrs
; \
7321 r
=`${PWD}`; export r
; \
7322 s
=`cd $(srcdir); ${PWD}` ; export s
; \
7325 $(MAKE
) $(GCC_FLAGS_TO_PASS
) install); \
7326 rm -rf gcc
/include; \
7327 mv gcc
/tmp-include gcc
/include 2>/dev
/null
; \
7330 # --------------------------------------
7331 # Dependencies between different modules
7332 # --------------------------------------
7334 # There are two types of dependencies here: 'hard' dependencies, where one
7335 # module simply won't build without the other; and 'soft' dependencies, where
7336 # if the depended-on module is missing, the depending module will do without
7337 # or find a substitute somewhere (perhaps installed). Soft dependencies
7338 # are specified by depending on a 'maybe-' target. If you're not sure,
7339 # it's safer to use a soft dependency.
7341 # Host modules specific to gcc.
7342 # GCC needs to identify certain tools.
7343 configure-gcc
: maybe-configure-binutils maybe-configure-gas maybe-configure-ld maybe-configure-bison maybe-configure-flex
7344 all-gcc
: maybe-all-libiberty maybe-all-bison maybe-all-byacc maybe-all-binutils maybe-all-gas maybe-all-ld maybe-all-zlib
7345 # This is a slightly kludgy method of getting dependencies on
7346 # all-build-libiberty correct; it would be better to build it every time.
7347 all-gcc
: maybe-all-build-libiberty
7348 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
7350 # Host modules specific to gdb.
7351 # GDB needs to know that the simulator is being built.
7352 configure-gdb
: maybe-configure-tcl maybe-configure-tk maybe-configure-sim
7354 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
)
7355 install-gdb
: maybe-install-tcl maybe-install-tk maybe-install-itcl maybe-install-tix maybe-install-libgui
7356 configure-libgui
: maybe-configure-tcl maybe-configure-tk
7357 all-libgui
: maybe-all-tcl maybe-all-tk maybe-all-itcl
7359 # Host modules specific to binutils.
7360 configure-bfd
: configure-libiberty
7361 all-bfd
: maybe-all-libiberty maybe-all-intl
7362 all-binutils
: maybe-all-libiberty maybe-all-opcodes maybe-all-bfd maybe-all-flex maybe-all-bison maybe-all-byacc maybe-all-intl
7363 # We put install-opcodes before install-binutils because the installed
7364 # binutils might be on PATH, and they might need the shared opcodes
7366 install-binutils
: maybe-install-opcodes
7367 all-gas
: maybe-all-libiberty maybe-all-opcodes maybe-all-bfd maybe-all-intl
7368 all-gprof
: maybe-all-libiberty maybe-all-bfd maybe-all-opcodes maybe-all-intl
7369 all-ld
: maybe-all-libiberty maybe-all-bfd maybe-all-opcodes maybe-all-bison maybe-all-byacc maybe-all-flex maybe-all-intl
7370 all-opcodes
: maybe-all-bfd maybe-all-libiberty
7372 # Other host modules in the 'src' repository.
7373 all-dejagnu
: maybe-all-tcl maybe-all-expect maybe-all-tk
7374 configure-expect
: maybe-configure-tcl maybe-configure-tk
7375 all-expect
: maybe-all-tcl maybe-all-tk
7376 configure-itcl
: maybe-configure-tcl maybe-configure-tk
7377 all-itcl
: maybe-all-tcl maybe-all-tk
7378 # We put install-tcl before install-itcl because itcl wants to run a
7379 # program on installation which uses the Tcl libraries.
7380 install-itcl
: maybe-install-tcl
7381 all-sid
: maybe-all-libiberty maybe-all-bfd maybe-all-opcodes maybe-all-tcl maybe-all-tk
7382 install-sid
: maybe-install-tcl maybe-install-tk
7383 all-sim
: maybe-all-libiberty maybe-all-bfd maybe-all-opcodes maybe-all-readline maybe-configure-gdb
7384 configure-tk
: maybe-configure-tcl
7385 all-tk
: maybe-all-tcl
7386 configure-tix
: maybe-configure-tcl maybe-configure-tk
7387 all-tix
: maybe-all-tcl maybe-all-tk
7388 all-texinfo
: maybe-all-libiberty
7390 # Other host modules. Warning, these are not well tested.
7391 all-autoconf
: maybe-all-m4 maybe-all-texinfo
7392 all-automake
: maybe-all-m4 maybe-all-texinfo
7393 all-bison
: maybe-all-texinfo
7394 all-diff
: maybe-all-libiberty
7395 all-fastjar
: maybe-all-zlib maybe-all-libiberty
7396 all-fileutils
: maybe-all-libiberty
7397 all-flex
: maybe-all-libiberty maybe-all-bison maybe-all-byacc
7398 all-gzip
: maybe-all-libiberty
7399 all-hello
: maybe-all-libiberty
7400 all-m4
: maybe-all-libiberty maybe-all-texinfo
7401 all-make
: maybe-all-libiberty
7402 all-patch
: maybe-all-libiberty
7403 all-prms
: maybe-all-libiberty
7404 all-recode
: maybe-all-libiberty
7405 all-sed
: maybe-all-libiberty
7406 all-send-pr
: maybe-all-prms
7407 all-tar
: maybe-all-libiberty
7408 all-uudecode
: maybe-all-libiberty
7410 ALL_GCC
= maybe-all-gcc
7411 ALL_GCC_C
= $(ALL_GCC
) maybe-all-target-newlib maybe-all-target-libgloss
7412 ALL_GCC_CXX
= $(ALL_GCC_C
) maybe-all-target-libstdc
++-v3
7414 # Target modules specific to gcc.
7415 configure-target-boehm-gc
: $(ALL_GCC_C
) maybe-configure-target-qthreads
7416 configure-target-fastjar
: maybe-configure-target-zlib
7417 all-target-fastjar
: maybe-all-target-zlib maybe-all-target-libiberty
7418 configure-target-libf2c
: $(ALL_GCC_C
)
7419 all-target-libf2c
: maybe-all-target-libiberty
7420 configure-target-libffi
: $(ALL_GCC_C
)
7421 configure-target-libjava
: $(ALL_GCC_C
) maybe-configure-target-zlib maybe-configure-target-boehm-gc maybe-configure-target-qthreads maybe-configure-target-libffi
7422 all-target-libjava
: maybe-all-fastjar maybe-all-target-zlib maybe-all-target-boehm-gc maybe-all-target-qthreads maybe-all-target-libffi
7423 configure-target-libobjc
: $(ALL_GCC_C
)
7424 all-target-libobjc
: maybe-all-target-libiberty
7425 configure-target-libstdc
++-v3
: $(ALL_GCC_C
)
7426 all-target-libstdc
++-v3
: maybe-all-target-libiberty
7427 configure-target-zlib
: $(ALL_GCC_C
)
7429 # Target modules in the 'src' repository.
7430 configure-target-examples
: $(ALL_GCC_C
)
7431 configure-target-libgloss
: $(ALL_GCC
)
7432 all-target-libgloss
: maybe-configure-target-newlib
7433 configure-target-libiberty
: $(ALL_GCC_C
)
7434 configure-target-libtermcap
: $(ALL_GCC_C
)
7435 configure-target-newlib
: $(ALL_GCC
)
7436 configure-target-rda
: $(ALL_GCC_C
)
7437 configure-target-winsup
: $(ALL_GCC_C
)
7438 all-target-winsup
: maybe-all-target-libiberty maybe-all-target-libtermcap
7440 # Other target modules. Warning, these are not well tested.
7441 configure-target-gperf
: $(ALL_GCC_CXX
)
7442 all-target-gperf
: maybe-all-target-libiberty maybe-all-target-libstdc
++-v3
7443 configure-target-qthreads
: $(ALL_GCC_C
)
7445 # Dependencies of maybe-foo on foo. These are used because, for example,
7446 # all-gcc only depends on all-gas if gas is present and being configured.
7447 @maybe_dependencies@
7449 # Serialization dependencies. Host configures don't work well in parallel to
7450 # each other, due to contention over config.cache. Target configures and
7451 # build configures are similar.
7452 @serialization_dependencies@
7454 # --------------------------------
7455 # Regenerating top level configury
7456 # --------------------------------
7458 # Multilib.out tells target dirs what multilibs they should build.
7459 # There is really only one copy. We use the 'timestamp' method to
7460 # work around various timestamp bugs on some systems.
7461 # We use move-if-change so that it's only considered updated when it
7462 # actually changes, because it has to depend on a phony target.
7463 multilib.out
: maybe-all-gcc
7464 @r
=`${PWD}`; export r
; \
7465 echo
"Checking multilib configuration..."; \
7466 $(CC_FOR_TARGET
) --print-multi-lib
> multilib.tmp
2> /dev
/null
; \
7467 $(SHELL
) $(srcdir)/move-if-change multilib.tmp multilib.out
; \
7469 # Rebuilding Makefile.in, using autogen.
7471 $(srcdir)/Makefile.in
: # $(srcdir)/Makefile.tpl $(srcdir)/Makefile.def
7472 cd
$(srcdir) && $(AUTOGEN
) Makefile.def
7474 # Rebuilding Makefile.
7475 Makefile
: $(srcdir)/Makefile.in config.status
7476 CONFIG_FILES
=$@ CONFIG_HEADERS
= $(SHELL
) .
/config.status
7478 config.status
: configure
$(gcc_version_trigger
)
7479 $(SHELL
) .
/config.status
--recheck
7481 # Rebuilding configure.
7483 $(srcdir)/configure
: $(srcdir)/configure.in
$(srcdir)/config
/acx.m4
7484 cd
$(srcdir) && $(AUTOCONF
)
7490 # Tell GNU make 3.79 not to run the top level in parallel. This
7491 # prevents contention for $builddir/$target/config.cache, as well
7492 # as minimizing scatter in file system caches.
7493 NOTPARALLEL
= .NOTPARALLEL
7496 # end of Makefile.in