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