mirror of
git://sourceware.org/git/newlib-cygwin.git
synced 2025-01-18 04:19:21 +08:00
2006-02-14 Paolo Bonzini <bonzini@gnu.org>
Sync from gcc: 2006-01-31 Richard Guenther <rguenther@suse.de> Paolo Bonzini <bonzini@gnu.org> * Makefile.def (target_modules): Add libgcc-math target module. * configure.in (target_libraries): Add libgcc-math target library. (--enable-libgcc-math): New configure switch. * Makefile.in: Re-generate. * configure: Re-generate. * libgcc-math: New toplevel directory. 2006-01-18 Richard Henderson <rth@redhat.com> Jakub Jelinek <jakub@redhat.com> Diego Novillo <dnovillo@redhat.com> * libgomp: New directory. * Makefile.def: Add target_module libgomp. * Makefile.in: Regenerate. * configure.in (target_libraries): Add target-libgomp. * configure: Regenerate.
This commit is contained in:
parent
207258c87d
commit
00bc9d7ff2
24
ChangeLog
24
ChangeLog
@ -1,3 +1,27 @@
|
||||
2006-02-14 Paolo Bonzini <bonzini@gnu.org>
|
||||
|
||||
Sync from gcc:
|
||||
|
||||
2006-01-31 Richard Guenther <rguenther@suse.de>
|
||||
Paolo Bonzini <bonzini@gnu.org>
|
||||
|
||||
* Makefile.def (target_modules): Add libgcc-math target module.
|
||||
* configure.in (target_libraries): Add libgcc-math target library.
|
||||
(--enable-libgcc-math): New configure switch.
|
||||
* Makefile.in: Re-generate.
|
||||
* configure: Re-generate.
|
||||
* libgcc-math: New toplevel directory.
|
||||
|
||||
2006-01-18 Richard Henderson <rth@redhat.com>
|
||||
Jakub Jelinek <jakub@redhat.com>
|
||||
Diego Novillo <dnovillo@redhat.com>
|
||||
|
||||
* libgomp: New directory.
|
||||
* Makefile.def: Add target_module libgomp.
|
||||
* Makefile.in: Regenerate.
|
||||
* configure.in (target_libraries): Add target-libgomp.
|
||||
* configure: Regenerate.
|
||||
|
||||
2006-02-14 Paolo Bonzini <bonzini@gnu.org>
|
||||
Andreas Schwab <schwab@suse.de>
|
||||
|
||||
|
@ -117,6 +117,7 @@ host_modules= { module= gnattools; };
|
||||
target_modules = { module= libstdc++-v3; lib_path=.libs; raw_cxx=true; };
|
||||
target_modules = { module= libmudflap; lib_path=.libs; };
|
||||
target_modules = { module= libssp; lib_path=.libs; };
|
||||
target_modules = { module= libgcc-math; lib_path=.libs; };
|
||||
target_modules = { module= newlib; };
|
||||
target_modules = { module= libgfortran; };
|
||||
target_modules = { module= libobjc; };
|
||||
@ -137,6 +138,7 @@ target_modules = { module= boehm-gc; };
|
||||
target_modules = { module= qthreads; };
|
||||
target_modules = { module= rda; };
|
||||
target_modules = { module= libada; };
|
||||
target_modules = { module= libgomp; lib_path=.libs; };
|
||||
|
||||
// These are (some of) the make targets to be done in each subdirectory.
|
||||
// Not all; these are the ones which don't have special options.
|
||||
|
782
Makefile.in
782
Makefile.in
@ -356,7 +356,7 @@ all:
|
||||
|
||||
# This is the list of directories that may be needed in RPATH_ENVVAR
|
||||
# so that prorgams built for the target machine work.
|
||||
TARGET_LIB_PATH = $(TARGET_LIB_PATH_libstdc++-v3)$(TARGET_LIB_PATH_libmudflap)$(TARGET_LIB_PATH_libssp)$(HOST_LIB_PATH_gcc)
|
||||
TARGET_LIB_PATH = $(TARGET_LIB_PATH_libstdc++-v3)$(TARGET_LIB_PATH_libmudflap)$(TARGET_LIB_PATH_libssp)$(TARGET_LIB_PATH_libgcc-math)$(TARGET_LIB_PATH_libgomp)$(HOST_LIB_PATH_gcc)
|
||||
|
||||
@if target-libstdc++-v3
|
||||
TARGET_LIB_PATH_libstdc++-v3 = $$r/$(TARGET_SUBDIR)/libstdc++-v3/.libs:
|
||||
@ -370,6 +370,14 @@ TARGET_LIB_PATH_libmudflap = $$r/$(TARGET_SUBDIR)/libmudflap/.libs:
|
||||
TARGET_LIB_PATH_libssp = $$r/$(TARGET_SUBDIR)/libssp/.libs:
|
||||
@endif target-libssp
|
||||
|
||||
@if target-libgcc-math
|
||||
TARGET_LIB_PATH_libgcc-math = $$r/$(TARGET_SUBDIR)/libgcc-math/.libs:
|
||||
@endif target-libgcc-math
|
||||
|
||||
@if target-libgomp
|
||||
TARGET_LIB_PATH_libgomp = $$r/$(TARGET_SUBDIR)/libgomp/.libs:
|
||||
@endif target-libgomp
|
||||
|
||||
|
||||
|
||||
# This is the list of directories that may be needed in RPATH_ENVVAR
|
||||
@ -618,6 +626,7 @@ configure-target: \
|
||||
maybe-configure-target-libstdc++-v3 \
|
||||
maybe-configure-target-libmudflap \
|
||||
maybe-configure-target-libssp \
|
||||
maybe-configure-target-libgcc-math \
|
||||
maybe-configure-target-newlib \
|
||||
maybe-configure-target-libgfortran \
|
||||
maybe-configure-target-libobjc \
|
||||
@ -633,7 +642,8 @@ configure-target: \
|
||||
maybe-configure-target-boehm-gc \
|
||||
maybe-configure-target-qthreads \
|
||||
maybe-configure-target-rda \
|
||||
maybe-configure-target-libada
|
||||
maybe-configure-target-libada \
|
||||
maybe-configure-target-libgomp
|
||||
|
||||
# The target built for a native non-bootstrap build.
|
||||
.PHONY: all
|
||||
@ -737,6 +747,7 @@ all-target: \
|
||||
maybe-all-target-libstdc++-v3 \
|
||||
maybe-all-target-libmudflap \
|
||||
maybe-all-target-libssp \
|
||||
maybe-all-target-libgcc-math \
|
||||
maybe-all-target-newlib \
|
||||
maybe-all-target-libgfortran \
|
||||
maybe-all-target-libobjc \
|
||||
@ -752,7 +763,8 @@ all-target: \
|
||||
maybe-all-target-boehm-gc \
|
||||
maybe-all-target-qthreads \
|
||||
maybe-all-target-rda \
|
||||
maybe-all-target-libada
|
||||
maybe-all-target-libada \
|
||||
maybe-all-target-libgomp
|
||||
|
||||
# Do a target for all the subdirectories. A ``make do-X'' will do a
|
||||
# ``make X'' in all subdirectories (because, in general, there is a
|
||||
@ -844,6 +856,7 @@ info-target: \
|
||||
maybe-info-target-libstdc++-v3 \
|
||||
maybe-info-target-libmudflap \
|
||||
maybe-info-target-libssp \
|
||||
maybe-info-target-libgcc-math \
|
||||
maybe-info-target-newlib \
|
||||
maybe-info-target-libgfortran \
|
||||
maybe-info-target-libobjc \
|
||||
@ -859,7 +872,8 @@ info-target: \
|
||||
maybe-info-target-boehm-gc \
|
||||
maybe-info-target-qthreads \
|
||||
maybe-info-target-rda \
|
||||
maybe-info-target-libada
|
||||
maybe-info-target-libada \
|
||||
maybe-info-target-libgomp
|
||||
|
||||
.PHONY: do-dvi
|
||||
do-dvi:
|
||||
@ -946,6 +960,7 @@ dvi-target: \
|
||||
maybe-dvi-target-libstdc++-v3 \
|
||||
maybe-dvi-target-libmudflap \
|
||||
maybe-dvi-target-libssp \
|
||||
maybe-dvi-target-libgcc-math \
|
||||
maybe-dvi-target-newlib \
|
||||
maybe-dvi-target-libgfortran \
|
||||
maybe-dvi-target-libobjc \
|
||||
@ -961,7 +976,8 @@ dvi-target: \
|
||||
maybe-dvi-target-boehm-gc \
|
||||
maybe-dvi-target-qthreads \
|
||||
maybe-dvi-target-rda \
|
||||
maybe-dvi-target-libada
|
||||
maybe-dvi-target-libada \
|
||||
maybe-dvi-target-libgomp
|
||||
|
||||
.PHONY: do-html
|
||||
do-html:
|
||||
@ -1048,6 +1064,7 @@ html-target: \
|
||||
maybe-html-target-libstdc++-v3 \
|
||||
maybe-html-target-libmudflap \
|
||||
maybe-html-target-libssp \
|
||||
maybe-html-target-libgcc-math \
|
||||
maybe-html-target-newlib \
|
||||
maybe-html-target-libgfortran \
|
||||
maybe-html-target-libobjc \
|
||||
@ -1063,7 +1080,8 @@ html-target: \
|
||||
maybe-html-target-boehm-gc \
|
||||
maybe-html-target-qthreads \
|
||||
maybe-html-target-rda \
|
||||
maybe-html-target-libada
|
||||
maybe-html-target-libada \
|
||||
maybe-html-target-libgomp
|
||||
|
||||
.PHONY: do-TAGS
|
||||
do-TAGS:
|
||||
@ -1150,6 +1168,7 @@ TAGS-target: \
|
||||
maybe-TAGS-target-libstdc++-v3 \
|
||||
maybe-TAGS-target-libmudflap \
|
||||
maybe-TAGS-target-libssp \
|
||||
maybe-TAGS-target-libgcc-math \
|
||||
maybe-TAGS-target-newlib \
|
||||
maybe-TAGS-target-libgfortran \
|
||||
maybe-TAGS-target-libobjc \
|
||||
@ -1165,7 +1184,8 @@ TAGS-target: \
|
||||
maybe-TAGS-target-boehm-gc \
|
||||
maybe-TAGS-target-qthreads \
|
||||
maybe-TAGS-target-rda \
|
||||
maybe-TAGS-target-libada
|
||||
maybe-TAGS-target-libada \
|
||||
maybe-TAGS-target-libgomp
|
||||
|
||||
.PHONY: do-install-info
|
||||
do-install-info:
|
||||
@ -1252,6 +1272,7 @@ install-info-target: \
|
||||
maybe-install-info-target-libstdc++-v3 \
|
||||
maybe-install-info-target-libmudflap \
|
||||
maybe-install-info-target-libssp \
|
||||
maybe-install-info-target-libgcc-math \
|
||||
maybe-install-info-target-newlib \
|
||||
maybe-install-info-target-libgfortran \
|
||||
maybe-install-info-target-libobjc \
|
||||
@ -1267,7 +1288,8 @@ install-info-target: \
|
||||
maybe-install-info-target-boehm-gc \
|
||||
maybe-install-info-target-qthreads \
|
||||
maybe-install-info-target-rda \
|
||||
maybe-install-info-target-libada
|
||||
maybe-install-info-target-libada \
|
||||
maybe-install-info-target-libgomp
|
||||
|
||||
.PHONY: do-installcheck
|
||||
do-installcheck:
|
||||
@ -1354,6 +1376,7 @@ installcheck-target: \
|
||||
maybe-installcheck-target-libstdc++-v3 \
|
||||
maybe-installcheck-target-libmudflap \
|
||||
maybe-installcheck-target-libssp \
|
||||
maybe-installcheck-target-libgcc-math \
|
||||
maybe-installcheck-target-newlib \
|
||||
maybe-installcheck-target-libgfortran \
|
||||
maybe-installcheck-target-libobjc \
|
||||
@ -1369,7 +1392,8 @@ installcheck-target: \
|
||||
maybe-installcheck-target-boehm-gc \
|
||||
maybe-installcheck-target-qthreads \
|
||||
maybe-installcheck-target-rda \
|
||||
maybe-installcheck-target-libada
|
||||
maybe-installcheck-target-libada \
|
||||
maybe-installcheck-target-libgomp
|
||||
|
||||
.PHONY: do-mostlyclean
|
||||
do-mostlyclean:
|
||||
@ -1456,6 +1480,7 @@ mostlyclean-target: \
|
||||
maybe-mostlyclean-target-libstdc++-v3 \
|
||||
maybe-mostlyclean-target-libmudflap \
|
||||
maybe-mostlyclean-target-libssp \
|
||||
maybe-mostlyclean-target-libgcc-math \
|
||||
maybe-mostlyclean-target-newlib \
|
||||
maybe-mostlyclean-target-libgfortran \
|
||||
maybe-mostlyclean-target-libobjc \
|
||||
@ -1471,7 +1496,8 @@ mostlyclean-target: \
|
||||
maybe-mostlyclean-target-boehm-gc \
|
||||
maybe-mostlyclean-target-qthreads \
|
||||
maybe-mostlyclean-target-rda \
|
||||
maybe-mostlyclean-target-libada
|
||||
maybe-mostlyclean-target-libada \
|
||||
maybe-mostlyclean-target-libgomp
|
||||
|
||||
.PHONY: do-clean
|
||||
do-clean:
|
||||
@ -1558,6 +1584,7 @@ clean-target: \
|
||||
maybe-clean-target-libstdc++-v3 \
|
||||
maybe-clean-target-libmudflap \
|
||||
maybe-clean-target-libssp \
|
||||
maybe-clean-target-libgcc-math \
|
||||
maybe-clean-target-newlib \
|
||||
maybe-clean-target-libgfortran \
|
||||
maybe-clean-target-libobjc \
|
||||
@ -1573,7 +1600,8 @@ clean-target: \
|
||||
maybe-clean-target-boehm-gc \
|
||||
maybe-clean-target-qthreads \
|
||||
maybe-clean-target-rda \
|
||||
maybe-clean-target-libada
|
||||
maybe-clean-target-libada \
|
||||
maybe-clean-target-libgomp
|
||||
|
||||
.PHONY: do-distclean
|
||||
do-distclean:
|
||||
@ -1660,6 +1688,7 @@ distclean-target: \
|
||||
maybe-distclean-target-libstdc++-v3 \
|
||||
maybe-distclean-target-libmudflap \
|
||||
maybe-distclean-target-libssp \
|
||||
maybe-distclean-target-libgcc-math \
|
||||
maybe-distclean-target-newlib \
|
||||
maybe-distclean-target-libgfortran \
|
||||
maybe-distclean-target-libobjc \
|
||||
@ -1675,7 +1704,8 @@ distclean-target: \
|
||||
maybe-distclean-target-boehm-gc \
|
||||
maybe-distclean-target-qthreads \
|
||||
maybe-distclean-target-rda \
|
||||
maybe-distclean-target-libada
|
||||
maybe-distclean-target-libada \
|
||||
maybe-distclean-target-libgomp
|
||||
|
||||
.PHONY: do-maintainer-clean
|
||||
do-maintainer-clean:
|
||||
@ -1762,6 +1792,7 @@ maintainer-clean-target: \
|
||||
maybe-maintainer-clean-target-libstdc++-v3 \
|
||||
maybe-maintainer-clean-target-libmudflap \
|
||||
maybe-maintainer-clean-target-libssp \
|
||||
maybe-maintainer-clean-target-libgcc-math \
|
||||
maybe-maintainer-clean-target-newlib \
|
||||
maybe-maintainer-clean-target-libgfortran \
|
||||
maybe-maintainer-clean-target-libobjc \
|
||||
@ -1777,7 +1808,8 @@ maintainer-clean-target: \
|
||||
maybe-maintainer-clean-target-boehm-gc \
|
||||
maybe-maintainer-clean-target-qthreads \
|
||||
maybe-maintainer-clean-target-rda \
|
||||
maybe-maintainer-clean-target-libada
|
||||
maybe-maintainer-clean-target-libada \
|
||||
maybe-maintainer-clean-target-libgomp
|
||||
|
||||
|
||||
# Here are the targets which correspond to the do-X targets.
|
||||
@ -1917,6 +1949,7 @@ check-target: \
|
||||
maybe-check-target-libstdc++-v3 \
|
||||
maybe-check-target-libmudflap \
|
||||
maybe-check-target-libssp \
|
||||
maybe-check-target-libgcc-math \
|
||||
maybe-check-target-newlib \
|
||||
maybe-check-target-libgfortran \
|
||||
maybe-check-target-libobjc \
|
||||
@ -1932,7 +1965,8 @@ check-target: \
|
||||
maybe-check-target-boehm-gc \
|
||||
maybe-check-target-qthreads \
|
||||
maybe-check-target-rda \
|
||||
maybe-check-target-libada
|
||||
maybe-check-target-libada \
|
||||
maybe-check-target-libgomp
|
||||
|
||||
do-check:
|
||||
@: $(MAKE); $(unstage)
|
||||
@ -2116,6 +2150,7 @@ install-target: \
|
||||
maybe-install-target-libstdc++-v3 \
|
||||
maybe-install-target-libmudflap \
|
||||
maybe-install-target-libssp \
|
||||
maybe-install-target-libgcc-math \
|
||||
maybe-install-target-newlib \
|
||||
maybe-install-target-libgfortran \
|
||||
maybe-install-target-libobjc \
|
||||
@ -2131,7 +2166,8 @@ install-target: \
|
||||
maybe-install-target-boehm-gc \
|
||||
maybe-install-target-qthreads \
|
||||
maybe-install-target-rda \
|
||||
maybe-install-target-libada
|
||||
maybe-install-target-libada \
|
||||
maybe-install-target-libgomp
|
||||
|
||||
uninstall:
|
||||
@echo "the uninstall target is not supported in this tree"
|
||||
@ -29931,6 +29967,362 @@ maintainer-clean-target-libssp:
|
||||
|
||||
|
||||
|
||||
.PHONY: configure-target-libgcc-math maybe-configure-target-libgcc-math
|
||||
maybe-configure-target-libgcc-math:
|
||||
@if target-libgcc-math
|
||||
maybe-configure-target-libgcc-math: configure-target-libgcc-math
|
||||
configure-target-libgcc-math:
|
||||
@: $(MAKE); $(unstage)
|
||||
@r=`${PWD_COMMAND}`; export r; \
|
||||
s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
|
||||
echo "Checking multilib configuration for libgcc-math..."; \
|
||||
$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc-math ; \
|
||||
$(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc-math/multilib.tmp 2> /dev/null ; \
|
||||
if test -r $(TARGET_SUBDIR)/libgcc-math/multilib.out; then \
|
||||
if cmp -s $(TARGET_SUBDIR)/libgcc-math/multilib.tmp $(TARGET_SUBDIR)/libgcc-math/multilib.out; then \
|
||||
rm -f $(TARGET_SUBDIR)/libgcc-math/multilib.tmp; \
|
||||
else \
|
||||
rm -f $(TARGET_SUBDIR)/libgcc-math/Makefile; \
|
||||
mv $(TARGET_SUBDIR)/libgcc-math/multilib.tmp $(TARGET_SUBDIR)/libgcc-math/multilib.out; \
|
||||
fi; \
|
||||
else \
|
||||
mv $(TARGET_SUBDIR)/libgcc-math/multilib.tmp $(TARGET_SUBDIR)/libgcc-math/multilib.out; \
|
||||
fi
|
||||
@test ! -f $(TARGET_SUBDIR)/libgcc-math/Makefile || exit 0; \
|
||||
$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc-math ; \
|
||||
r=`${PWD_COMMAND}`; export r; \
|
||||
s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
|
||||
$(NORMAL_TARGET_EXPORTS) \
|
||||
echo Configuring in $(TARGET_SUBDIR)/libgcc-math; \
|
||||
cd "$(TARGET_SUBDIR)/libgcc-math" || exit 1; \
|
||||
case $(srcdir) in \
|
||||
/* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
|
||||
*) topdir=`echo $(TARGET_SUBDIR)/libgcc-math/ | \
|
||||
sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
|
||||
esac; \
|
||||
srcdiroption="--srcdir=$${topdir}/libgcc-math"; \
|
||||
libsrcdir="$$s/libgcc-math"; \
|
||||
rm -f no-such-file || : ; \
|
||||
CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
|
||||
$(TARGET_CONFIGARGS) $${srcdiroption} \
|
||||
|| exit 1
|
||||
@endif target-libgcc-math
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
.PHONY: all-target-libgcc-math maybe-all-target-libgcc-math
|
||||
maybe-all-target-libgcc-math:
|
||||
@if target-libgcc-math
|
||||
TARGET-target-libgcc-math=all
|
||||
maybe-all-target-libgcc-math: all-target-libgcc-math
|
||||
all-target-libgcc-math: configure-target-libgcc-math
|
||||
@: $(MAKE); $(unstage)
|
||||
@r=`${PWD_COMMAND}`; export r; \
|
||||
s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
|
||||
$(NORMAL_TARGET_EXPORTS) \
|
||||
(cd $(TARGET_SUBDIR)/libgcc-math && \
|
||||
$(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libgcc-math))
|
||||
@endif target-libgcc-math
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
.PHONY: check-target-libgcc-math maybe-check-target-libgcc-math
|
||||
maybe-check-target-libgcc-math:
|
||||
@if target-libgcc-math
|
||||
maybe-check-target-libgcc-math: check-target-libgcc-math
|
||||
|
||||
check-target-libgcc-math:
|
||||
@: $(MAKE); $(unstage)
|
||||
@r=`${PWD_COMMAND}`; export r; \
|
||||
s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
|
||||
$(NORMAL_TARGET_EXPORTS) \
|
||||
(cd $(TARGET_SUBDIR)/libgcc-math && \
|
||||
$(MAKE) $(TARGET_FLAGS_TO_PASS) check)
|
||||
|
||||
@endif target-libgcc-math
|
||||
|
||||
.PHONY: install-target-libgcc-math maybe-install-target-libgcc-math
|
||||
maybe-install-target-libgcc-math:
|
||||
@if target-libgcc-math
|
||||
maybe-install-target-libgcc-math: install-target-libgcc-math
|
||||
|
||||
install-target-libgcc-math: installdirs
|
||||
@: $(MAKE); $(unstage)
|
||||
@r=`${PWD_COMMAND}`; export r; \
|
||||
s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
|
||||
$(NORMAL_TARGET_EXPORTS) \
|
||||
(cd $(TARGET_SUBDIR)/libgcc-math && \
|
||||
$(MAKE) $(TARGET_FLAGS_TO_PASS) install)
|
||||
|
||||
@endif target-libgcc-math
|
||||
|
||||
# Other targets (info, dvi, etc.)
|
||||
|
||||
.PHONY: maybe-info-target-libgcc-math info-target-libgcc-math
|
||||
maybe-info-target-libgcc-math:
|
||||
@if target-libgcc-math
|
||||
maybe-info-target-libgcc-math: info-target-libgcc-math
|
||||
|
||||
info-target-libgcc-math: \
|
||||
configure-target-libgcc-math
|
||||
@: $(MAKE); $(unstage)
|
||||
@[ -f $(TARGET_SUBDIR)/libgcc-math/Makefile ] || exit 0 ; \
|
||||
r=`${PWD_COMMAND}`; export r; \
|
||||
s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
|
||||
$(NORMAL_TARGET_EXPORTS) \
|
||||
echo "Doing info in $(TARGET_SUBDIR)/libgcc-math" ; \
|
||||
for flag in $(EXTRA_TARGET_FLAGS); do \
|
||||
eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
|
||||
done; \
|
||||
(cd $(TARGET_SUBDIR)/libgcc-math && \
|
||||
$(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
|
||||
"CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
|
||||
"RANLIB=$${RANLIB}" \
|
||||
"DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
|
||||
info) \
|
||||
|| exit 1
|
||||
|
||||
@endif target-libgcc-math
|
||||
|
||||
.PHONY: maybe-dvi-target-libgcc-math dvi-target-libgcc-math
|
||||
maybe-dvi-target-libgcc-math:
|
||||
@if target-libgcc-math
|
||||
maybe-dvi-target-libgcc-math: dvi-target-libgcc-math
|
||||
|
||||
dvi-target-libgcc-math: \
|
||||
configure-target-libgcc-math
|
||||
@: $(MAKE); $(unstage)
|
||||
@[ -f $(TARGET_SUBDIR)/libgcc-math/Makefile ] || exit 0 ; \
|
||||
r=`${PWD_COMMAND}`; export r; \
|
||||
s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
|
||||
$(NORMAL_TARGET_EXPORTS) \
|
||||
echo "Doing dvi in $(TARGET_SUBDIR)/libgcc-math" ; \
|
||||
for flag in $(EXTRA_TARGET_FLAGS); do \
|
||||
eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
|
||||
done; \
|
||||
(cd $(TARGET_SUBDIR)/libgcc-math && \
|
||||
$(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
|
||||
"CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
|
||||
"RANLIB=$${RANLIB}" \
|
||||
"DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
|
||||
dvi) \
|
||||
|| exit 1
|
||||
|
||||
@endif target-libgcc-math
|
||||
|
||||
.PHONY: maybe-html-target-libgcc-math html-target-libgcc-math
|
||||
maybe-html-target-libgcc-math:
|
||||
@if target-libgcc-math
|
||||
maybe-html-target-libgcc-math: html-target-libgcc-math
|
||||
|
||||
html-target-libgcc-math: \
|
||||
configure-target-libgcc-math
|
||||
@: $(MAKE); $(unstage)
|
||||
@[ -f $(TARGET_SUBDIR)/libgcc-math/Makefile ] || exit 0 ; \
|
||||
r=`${PWD_COMMAND}`; export r; \
|
||||
s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
|
||||
$(NORMAL_TARGET_EXPORTS) \
|
||||
echo "Doing html in $(TARGET_SUBDIR)/libgcc-math" ; \
|
||||
for flag in $(EXTRA_TARGET_FLAGS); do \
|
||||
eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
|
||||
done; \
|
||||
(cd $(TARGET_SUBDIR)/libgcc-math && \
|
||||
$(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
|
||||
"CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
|
||||
"RANLIB=$${RANLIB}" \
|
||||
"DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
|
||||
html) \
|
||||
|| exit 1
|
||||
|
||||
@endif target-libgcc-math
|
||||
|
||||
.PHONY: maybe-TAGS-target-libgcc-math TAGS-target-libgcc-math
|
||||
maybe-TAGS-target-libgcc-math:
|
||||
@if target-libgcc-math
|
||||
maybe-TAGS-target-libgcc-math: TAGS-target-libgcc-math
|
||||
|
||||
TAGS-target-libgcc-math: \
|
||||
configure-target-libgcc-math
|
||||
@: $(MAKE); $(unstage)
|
||||
@[ -f $(TARGET_SUBDIR)/libgcc-math/Makefile ] || exit 0 ; \
|
||||
r=`${PWD_COMMAND}`; export r; \
|
||||
s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
|
||||
$(NORMAL_TARGET_EXPORTS) \
|
||||
echo "Doing TAGS in $(TARGET_SUBDIR)/libgcc-math" ; \
|
||||
for flag in $(EXTRA_TARGET_FLAGS); do \
|
||||
eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
|
||||
done; \
|
||||
(cd $(TARGET_SUBDIR)/libgcc-math && \
|
||||
$(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
|
||||
"CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
|
||||
"RANLIB=$${RANLIB}" \
|
||||
"DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
|
||||
TAGS) \
|
||||
|| exit 1
|
||||
|
||||
@endif target-libgcc-math
|
||||
|
||||
.PHONY: maybe-install-info-target-libgcc-math install-info-target-libgcc-math
|
||||
maybe-install-info-target-libgcc-math:
|
||||
@if target-libgcc-math
|
||||
maybe-install-info-target-libgcc-math: install-info-target-libgcc-math
|
||||
|
||||
install-info-target-libgcc-math: \
|
||||
configure-target-libgcc-math \
|
||||
info-target-libgcc-math
|
||||
@: $(MAKE); $(unstage)
|
||||
@[ -f $(TARGET_SUBDIR)/libgcc-math/Makefile ] || exit 0 ; \
|
||||
r=`${PWD_COMMAND}`; export r; \
|
||||
s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
|
||||
$(NORMAL_TARGET_EXPORTS) \
|
||||
echo "Doing install-info in $(TARGET_SUBDIR)/libgcc-math" ; \
|
||||
for flag in $(EXTRA_TARGET_FLAGS); do \
|
||||
eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
|
||||
done; \
|
||||
(cd $(TARGET_SUBDIR)/libgcc-math && \
|
||||
$(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
|
||||
"CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
|
||||
"RANLIB=$${RANLIB}" \
|
||||
"DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
|
||||
install-info) \
|
||||
|| exit 1
|
||||
|
||||
@endif target-libgcc-math
|
||||
|
||||
.PHONY: maybe-installcheck-target-libgcc-math installcheck-target-libgcc-math
|
||||
maybe-installcheck-target-libgcc-math:
|
||||
@if target-libgcc-math
|
||||
maybe-installcheck-target-libgcc-math: installcheck-target-libgcc-math
|
||||
|
||||
installcheck-target-libgcc-math: \
|
||||
configure-target-libgcc-math
|
||||
@: $(MAKE); $(unstage)
|
||||
@[ -f $(TARGET_SUBDIR)/libgcc-math/Makefile ] || exit 0 ; \
|
||||
r=`${PWD_COMMAND}`; export r; \
|
||||
s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
|
||||
$(NORMAL_TARGET_EXPORTS) \
|
||||
echo "Doing installcheck in $(TARGET_SUBDIR)/libgcc-math" ; \
|
||||
for flag in $(EXTRA_TARGET_FLAGS); do \
|
||||
eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
|
||||
done; \
|
||||
(cd $(TARGET_SUBDIR)/libgcc-math && \
|
||||
$(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
|
||||
"CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
|
||||
"RANLIB=$${RANLIB}" \
|
||||
"DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
|
||||
installcheck) \
|
||||
|| exit 1
|
||||
|
||||
@endif target-libgcc-math
|
||||
|
||||
.PHONY: maybe-mostlyclean-target-libgcc-math mostlyclean-target-libgcc-math
|
||||
maybe-mostlyclean-target-libgcc-math:
|
||||
@if target-libgcc-math
|
||||
maybe-mostlyclean-target-libgcc-math: mostlyclean-target-libgcc-math
|
||||
|
||||
mostlyclean-target-libgcc-math:
|
||||
@: $(MAKE); $(unstage)
|
||||
@[ -f $(TARGET_SUBDIR)/libgcc-math/Makefile ] || exit 0 ; \
|
||||
r=`${PWD_COMMAND}`; export r; \
|
||||
s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
|
||||
$(NORMAL_TARGET_EXPORTS) \
|
||||
echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgcc-math" ; \
|
||||
for flag in $(EXTRA_TARGET_FLAGS); do \
|
||||
eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
|
||||
done; \
|
||||
(cd $(TARGET_SUBDIR)/libgcc-math && \
|
||||
$(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
|
||||
"CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
|
||||
"RANLIB=$${RANLIB}" \
|
||||
"DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
|
||||
mostlyclean) \
|
||||
|| exit 1
|
||||
|
||||
@endif target-libgcc-math
|
||||
|
||||
.PHONY: maybe-clean-target-libgcc-math clean-target-libgcc-math
|
||||
maybe-clean-target-libgcc-math:
|
||||
@if target-libgcc-math
|
||||
maybe-clean-target-libgcc-math: clean-target-libgcc-math
|
||||
|
||||
clean-target-libgcc-math:
|
||||
@: $(MAKE); $(unstage)
|
||||
@[ -f $(TARGET_SUBDIR)/libgcc-math/Makefile ] || exit 0 ; \
|
||||
r=`${PWD_COMMAND}`; export r; \
|
||||
s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
|
||||
$(NORMAL_TARGET_EXPORTS) \
|
||||
echo "Doing clean in $(TARGET_SUBDIR)/libgcc-math" ; \
|
||||
for flag in $(EXTRA_TARGET_FLAGS); do \
|
||||
eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
|
||||
done; \
|
||||
(cd $(TARGET_SUBDIR)/libgcc-math && \
|
||||
$(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
|
||||
"CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
|
||||
"RANLIB=$${RANLIB}" \
|
||||
"DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
|
||||
clean) \
|
||||
|| exit 1
|
||||
|
||||
@endif target-libgcc-math
|
||||
|
||||
.PHONY: maybe-distclean-target-libgcc-math distclean-target-libgcc-math
|
||||
maybe-distclean-target-libgcc-math:
|
||||
@if target-libgcc-math
|
||||
maybe-distclean-target-libgcc-math: distclean-target-libgcc-math
|
||||
|
||||
distclean-target-libgcc-math:
|
||||
@: $(MAKE); $(unstage)
|
||||
@[ -f $(TARGET_SUBDIR)/libgcc-math/Makefile ] || exit 0 ; \
|
||||
r=`${PWD_COMMAND}`; export r; \
|
||||
s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
|
||||
$(NORMAL_TARGET_EXPORTS) \
|
||||
echo "Doing distclean in $(TARGET_SUBDIR)/libgcc-math" ; \
|
||||
for flag in $(EXTRA_TARGET_FLAGS); do \
|
||||
eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
|
||||
done; \
|
||||
(cd $(TARGET_SUBDIR)/libgcc-math && \
|
||||
$(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
|
||||
"CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
|
||||
"RANLIB=$${RANLIB}" \
|
||||
"DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
|
||||
distclean) \
|
||||
|| exit 1
|
||||
|
||||
@endif target-libgcc-math
|
||||
|
||||
.PHONY: maybe-maintainer-clean-target-libgcc-math maintainer-clean-target-libgcc-math
|
||||
maybe-maintainer-clean-target-libgcc-math:
|
||||
@if target-libgcc-math
|
||||
maybe-maintainer-clean-target-libgcc-math: maintainer-clean-target-libgcc-math
|
||||
|
||||
maintainer-clean-target-libgcc-math:
|
||||
@: $(MAKE); $(unstage)
|
||||
@[ -f $(TARGET_SUBDIR)/libgcc-math/Makefile ] || exit 0 ; \
|
||||
r=`${PWD_COMMAND}`; export r; \
|
||||
s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
|
||||
$(NORMAL_TARGET_EXPORTS) \
|
||||
echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgcc-math" ; \
|
||||
for flag in $(EXTRA_TARGET_FLAGS); do \
|
||||
eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
|
||||
done; \
|
||||
(cd $(TARGET_SUBDIR)/libgcc-math && \
|
||||
$(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
|
||||
"CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
|
||||
"RANLIB=$${RANLIB}" \
|
||||
"DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
|
||||
maintainer-clean) \
|
||||
|| exit 1
|
||||
|
||||
@endif target-libgcc-math
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
.PHONY: configure-target-newlib maybe-configure-target-newlib
|
||||
maybe-configure-target-newlib:
|
||||
@if target-newlib
|
||||
@ -35545,6 +35937,362 @@ maintainer-clean-target-libada:
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
.PHONY: configure-target-libgomp maybe-configure-target-libgomp
|
||||
maybe-configure-target-libgomp:
|
||||
@if target-libgomp
|
||||
maybe-configure-target-libgomp: configure-target-libgomp
|
||||
configure-target-libgomp:
|
||||
@: $(MAKE); $(unstage)
|
||||
@r=`${PWD_COMMAND}`; export r; \
|
||||
s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
|
||||
echo "Checking multilib configuration for libgomp..."; \
|
||||
$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp ; \
|
||||
$(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null ; \
|
||||
if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
|
||||
if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
|
||||
rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
|
||||
else \
|
||||
rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
|
||||
mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
|
||||
fi; \
|
||||
else \
|
||||
mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
|
||||
fi
|
||||
@test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
|
||||
$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp ; \
|
||||
r=`${PWD_COMMAND}`; export r; \
|
||||
s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
|
||||
$(NORMAL_TARGET_EXPORTS) \
|
||||
echo Configuring in $(TARGET_SUBDIR)/libgomp; \
|
||||
cd "$(TARGET_SUBDIR)/libgomp" || exit 1; \
|
||||
case $(srcdir) in \
|
||||
/* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
|
||||
*) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
|
||||
sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
|
||||
esac; \
|
||||
srcdiroption="--srcdir=$${topdir}/libgomp"; \
|
||||
libsrcdir="$$s/libgomp"; \
|
||||
rm -f no-such-file || : ; \
|
||||
CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
|
||||
$(TARGET_CONFIGARGS) $${srcdiroption} \
|
||||
|| exit 1
|
||||
@endif target-libgomp
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
.PHONY: all-target-libgomp maybe-all-target-libgomp
|
||||
maybe-all-target-libgomp:
|
||||
@if target-libgomp
|
||||
TARGET-target-libgomp=all
|
||||
maybe-all-target-libgomp: all-target-libgomp
|
||||
all-target-libgomp: configure-target-libgomp
|
||||
@: $(MAKE); $(unstage)
|
||||
@r=`${PWD_COMMAND}`; export r; \
|
||||
s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
|
||||
$(NORMAL_TARGET_EXPORTS) \
|
||||
(cd $(TARGET_SUBDIR)/libgomp && \
|
||||
$(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libgomp))
|
||||
@endif target-libgomp
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
.PHONY: check-target-libgomp maybe-check-target-libgomp
|
||||
maybe-check-target-libgomp:
|
||||
@if target-libgomp
|
||||
maybe-check-target-libgomp: check-target-libgomp
|
||||
|
||||
check-target-libgomp:
|
||||
@: $(MAKE); $(unstage)
|
||||
@r=`${PWD_COMMAND}`; export r; \
|
||||
s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
|
||||
$(NORMAL_TARGET_EXPORTS) \
|
||||
(cd $(TARGET_SUBDIR)/libgomp && \
|
||||
$(MAKE) $(TARGET_FLAGS_TO_PASS) check)
|
||||
|
||||
@endif target-libgomp
|
||||
|
||||
.PHONY: install-target-libgomp maybe-install-target-libgomp
|
||||
maybe-install-target-libgomp:
|
||||
@if target-libgomp
|
||||
maybe-install-target-libgomp: install-target-libgomp
|
||||
|
||||
install-target-libgomp: installdirs
|
||||
@: $(MAKE); $(unstage)
|
||||
@r=`${PWD_COMMAND}`; export r; \
|
||||
s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
|
||||
$(NORMAL_TARGET_EXPORTS) \
|
||||
(cd $(TARGET_SUBDIR)/libgomp && \
|
||||
$(MAKE) $(TARGET_FLAGS_TO_PASS) install)
|
||||
|
||||
@endif target-libgomp
|
||||
|
||||
# Other targets (info, dvi, etc.)
|
||||
|
||||
.PHONY: maybe-info-target-libgomp info-target-libgomp
|
||||
maybe-info-target-libgomp:
|
||||
@if target-libgomp
|
||||
maybe-info-target-libgomp: info-target-libgomp
|
||||
|
||||
info-target-libgomp: \
|
||||
configure-target-libgomp
|
||||
@: $(MAKE); $(unstage)
|
||||
@[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
|
||||
r=`${PWD_COMMAND}`; export r; \
|
||||
s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
|
||||
$(NORMAL_TARGET_EXPORTS) \
|
||||
echo "Doing info in $(TARGET_SUBDIR)/libgomp" ; \
|
||||
for flag in $(EXTRA_TARGET_FLAGS); do \
|
||||
eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
|
||||
done; \
|
||||
(cd $(TARGET_SUBDIR)/libgomp && \
|
||||
$(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
|
||||
"CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
|
||||
"RANLIB=$${RANLIB}" \
|
||||
"DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
|
||||
info) \
|
||||
|| exit 1
|
||||
|
||||
@endif target-libgomp
|
||||
|
||||
.PHONY: maybe-dvi-target-libgomp dvi-target-libgomp
|
||||
maybe-dvi-target-libgomp:
|
||||
@if target-libgomp
|
||||
maybe-dvi-target-libgomp: dvi-target-libgomp
|
||||
|
||||
dvi-target-libgomp: \
|
||||
configure-target-libgomp
|
||||
@: $(MAKE); $(unstage)
|
||||
@[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
|
||||
r=`${PWD_COMMAND}`; export r; \
|
||||
s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
|
||||
$(NORMAL_TARGET_EXPORTS) \
|
||||
echo "Doing dvi in $(TARGET_SUBDIR)/libgomp" ; \
|
||||
for flag in $(EXTRA_TARGET_FLAGS); do \
|
||||
eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
|
||||
done; \
|
||||
(cd $(TARGET_SUBDIR)/libgomp && \
|
||||
$(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
|
||||
"CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
|
||||
"RANLIB=$${RANLIB}" \
|
||||
"DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
|
||||
dvi) \
|
||||
|| exit 1
|
||||
|
||||
@endif target-libgomp
|
||||
|
||||
.PHONY: maybe-html-target-libgomp html-target-libgomp
|
||||
maybe-html-target-libgomp:
|
||||
@if target-libgomp
|
||||
maybe-html-target-libgomp: html-target-libgomp
|
||||
|
||||
html-target-libgomp: \
|
||||
configure-target-libgomp
|
||||
@: $(MAKE); $(unstage)
|
||||
@[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
|
||||
r=`${PWD_COMMAND}`; export r; \
|
||||
s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
|
||||
$(NORMAL_TARGET_EXPORTS) \
|
||||
echo "Doing html in $(TARGET_SUBDIR)/libgomp" ; \
|
||||
for flag in $(EXTRA_TARGET_FLAGS); do \
|
||||
eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
|
||||
done; \
|
||||
(cd $(TARGET_SUBDIR)/libgomp && \
|
||||
$(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
|
||||
"CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
|
||||
"RANLIB=$${RANLIB}" \
|
||||
"DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
|
||||
html) \
|
||||
|| exit 1
|
||||
|
||||
@endif target-libgomp
|
||||
|
||||
.PHONY: maybe-TAGS-target-libgomp TAGS-target-libgomp
|
||||
maybe-TAGS-target-libgomp:
|
||||
@if target-libgomp
|
||||
maybe-TAGS-target-libgomp: TAGS-target-libgomp
|
||||
|
||||
TAGS-target-libgomp: \
|
||||
configure-target-libgomp
|
||||
@: $(MAKE); $(unstage)
|
||||
@[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
|
||||
r=`${PWD_COMMAND}`; export r; \
|
||||
s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
|
||||
$(NORMAL_TARGET_EXPORTS) \
|
||||
echo "Doing TAGS in $(TARGET_SUBDIR)/libgomp" ; \
|
||||
for flag in $(EXTRA_TARGET_FLAGS); do \
|
||||
eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
|
||||
done; \
|
||||
(cd $(TARGET_SUBDIR)/libgomp && \
|
||||
$(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
|
||||
"CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
|
||||
"RANLIB=$${RANLIB}" \
|
||||
"DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
|
||||
TAGS) \
|
||||
|| exit 1
|
||||
|
||||
@endif target-libgomp
|
||||
|
||||
.PHONY: maybe-install-info-target-libgomp install-info-target-libgomp
|
||||
maybe-install-info-target-libgomp:
|
||||
@if target-libgomp
|
||||
maybe-install-info-target-libgomp: install-info-target-libgomp
|
||||
|
||||
install-info-target-libgomp: \
|
||||
configure-target-libgomp \
|
||||
info-target-libgomp
|
||||
@: $(MAKE); $(unstage)
|
||||
@[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
|
||||
r=`${PWD_COMMAND}`; export r; \
|
||||
s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
|
||||
$(NORMAL_TARGET_EXPORTS) \
|
||||
echo "Doing install-info in $(TARGET_SUBDIR)/libgomp" ; \
|
||||
for flag in $(EXTRA_TARGET_FLAGS); do \
|
||||
eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
|
||||
done; \
|
||||
(cd $(TARGET_SUBDIR)/libgomp && \
|
||||
$(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
|
||||
"CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
|
||||
"RANLIB=$${RANLIB}" \
|
||||
"DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
|
||||
install-info) \
|
||||
|| exit 1
|
||||
|
||||
@endif target-libgomp
|
||||
|
||||
.PHONY: maybe-installcheck-target-libgomp installcheck-target-libgomp
|
||||
maybe-installcheck-target-libgomp:
|
||||
@if target-libgomp
|
||||
maybe-installcheck-target-libgomp: installcheck-target-libgomp
|
||||
|
||||
installcheck-target-libgomp: \
|
||||
configure-target-libgomp
|
||||
@: $(MAKE); $(unstage)
|
||||
@[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
|
||||
r=`${PWD_COMMAND}`; export r; \
|
||||
s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
|
||||
$(NORMAL_TARGET_EXPORTS) \
|
||||
echo "Doing installcheck in $(TARGET_SUBDIR)/libgomp" ; \
|
||||
for flag in $(EXTRA_TARGET_FLAGS); do \
|
||||
eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
|
||||
done; \
|
||||
(cd $(TARGET_SUBDIR)/libgomp && \
|
||||
$(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
|
||||
"CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
|
||||
"RANLIB=$${RANLIB}" \
|
||||
"DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
|
||||
installcheck) \
|
||||
|| exit 1
|
||||
|
||||
@endif target-libgomp
|
||||
|
||||
.PHONY: maybe-mostlyclean-target-libgomp mostlyclean-target-libgomp
|
||||
maybe-mostlyclean-target-libgomp:
|
||||
@if target-libgomp
|
||||
maybe-mostlyclean-target-libgomp: mostlyclean-target-libgomp
|
||||
|
||||
mostlyclean-target-libgomp:
|
||||
@: $(MAKE); $(unstage)
|
||||
@[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
|
||||
r=`${PWD_COMMAND}`; export r; \
|
||||
s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
|
||||
$(NORMAL_TARGET_EXPORTS) \
|
||||
echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgomp" ; \
|
||||
for flag in $(EXTRA_TARGET_FLAGS); do \
|
||||
eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
|
||||
done; \
|
||||
(cd $(TARGET_SUBDIR)/libgomp && \
|
||||
$(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
|
||||
"CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
|
||||
"RANLIB=$${RANLIB}" \
|
||||
"DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
|
||||
mostlyclean) \
|
||||
|| exit 1
|
||||
|
||||
@endif target-libgomp
|
||||
|
||||
.PHONY: maybe-clean-target-libgomp clean-target-libgomp
|
||||
maybe-clean-target-libgomp:
|
||||
@if target-libgomp
|
||||
maybe-clean-target-libgomp: clean-target-libgomp
|
||||
|
||||
clean-target-libgomp:
|
||||
@: $(MAKE); $(unstage)
|
||||
@[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
|
||||
r=`${PWD_COMMAND}`; export r; \
|
||||
s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
|
||||
$(NORMAL_TARGET_EXPORTS) \
|
||||
echo "Doing clean in $(TARGET_SUBDIR)/libgomp" ; \
|
||||
for flag in $(EXTRA_TARGET_FLAGS); do \
|
||||
eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
|
||||
done; \
|
||||
(cd $(TARGET_SUBDIR)/libgomp && \
|
||||
$(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
|
||||
"CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
|
||||
"RANLIB=$${RANLIB}" \
|
||||
"DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
|
||||
clean) \
|
||||
|| exit 1
|
||||
|
||||
@endif target-libgomp
|
||||
|
||||
.PHONY: maybe-distclean-target-libgomp distclean-target-libgomp
|
||||
maybe-distclean-target-libgomp:
|
||||
@if target-libgomp
|
||||
maybe-distclean-target-libgomp: distclean-target-libgomp
|
||||
|
||||
distclean-target-libgomp:
|
||||
@: $(MAKE); $(unstage)
|
||||
@[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
|
||||
r=`${PWD_COMMAND}`; export r; \
|
||||
s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
|
||||
$(NORMAL_TARGET_EXPORTS) \
|
||||
echo "Doing distclean in $(TARGET_SUBDIR)/libgomp" ; \
|
||||
for flag in $(EXTRA_TARGET_FLAGS); do \
|
||||
eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
|
||||
done; \
|
||||
(cd $(TARGET_SUBDIR)/libgomp && \
|
||||
$(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
|
||||
"CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
|
||||
"RANLIB=$${RANLIB}" \
|
||||
"DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
|
||||
distclean) \
|
||||
|| exit 1
|
||||
|
||||
@endif target-libgomp
|
||||
|
||||
.PHONY: maybe-maintainer-clean-target-libgomp maintainer-clean-target-libgomp
|
||||
maybe-maintainer-clean-target-libgomp:
|
||||
@if target-libgomp
|
||||
maybe-maintainer-clean-target-libgomp: maintainer-clean-target-libgomp
|
||||
|
||||
maintainer-clean-target-libgomp:
|
||||
@: $(MAKE); $(unstage)
|
||||
@[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
|
||||
r=`${PWD_COMMAND}`; export r; \
|
||||
s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
|
||||
$(NORMAL_TARGET_EXPORTS) \
|
||||
echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgomp" ; \
|
||||
for flag in $(EXTRA_TARGET_FLAGS); do \
|
||||
eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
|
||||
done; \
|
||||
(cd $(TARGET_SUBDIR)/libgomp && \
|
||||
$(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
|
||||
"CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
|
||||
"RANLIB=$${RANLIB}" \
|
||||
"DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
|
||||
maintainer-clean) \
|
||||
|| exit 1
|
||||
|
||||
@endif target-libgomp
|
||||
|
||||
|
||||
|
||||
# ----------
|
||||
# GCC module
|
||||
# ----------
|
||||
@ -37022,6 +37770,8 @@ configure-target-libmudflap: maybe-all-gcc
|
||||
|
||||
configure-target-libssp: maybe-all-gcc
|
||||
|
||||
configure-target-libgcc-math: maybe-all-gcc
|
||||
|
||||
configure-target-newlib: maybe-all-gcc
|
||||
|
||||
configure-target-libgfortran: maybe-all-gcc
|
||||
@ -37054,6 +37804,8 @@ configure-target-rda: maybe-all-gcc
|
||||
|
||||
configure-target-libada: maybe-all-gcc
|
||||
|
||||
configure-target-libgomp: maybe-all-gcc
|
||||
|
||||
|
||||
|
||||
configure-target-boehm-gc: maybe-all-target-newlib maybe-all-target-libgloss
|
||||
|
45
configure.in
45
configure.in
@ -148,10 +148,12 @@ target_libraries="target-libiberty \
|
||||
target-libstdc++-v3 \
|
||||
target-libmudflap \
|
||||
target-libssp \
|
||||
target-libgcc-math \
|
||||
target-libgfortran \
|
||||
${libgcj} \
|
||||
target-libobjc \
|
||||
target-libada"
|
||||
target-libada \
|
||||
target-libgomp"
|
||||
|
||||
# these tools are built using the target libraries, and are intended to
|
||||
# run only in the target environment
|
||||
@ -315,6 +317,21 @@ if test "${ENABLE_LIBSSP}" != "yes" ; then
|
||||
noconfigdirs="$noconfigdirs target-libssp"
|
||||
fi
|
||||
|
||||
# Set the default so we build libgcc-math for ix86 and x86_64
|
||||
AC_ARG_ENABLE(libgcc-math,
|
||||
[ --enable-libgcc-math Builds libgcc-math directory],,
|
||||
[
|
||||
case "${target}" in
|
||||
i?86-* | x86_64-* )
|
||||
enable_libgcc_math=yes ;;
|
||||
*)
|
||||
enable_libgcc_math=no ;;
|
||||
esac
|
||||
])
|
||||
if test "${enable_libgcc_math}" != "yes"; then
|
||||
noconfigdirs="$noconfigdirs target-libgcc-math"
|
||||
fi
|
||||
|
||||
# Save it here so that, even in case of --enable-libgcj, if the Java
|
||||
# front-end isn't enabled, we still get libgcj disabled.
|
||||
libgcj_saved=$libgcj
|
||||
@ -341,7 +358,7 @@ no)
|
||||
;;
|
||||
"")
|
||||
case "${target}" in
|
||||
*-*-linux*-gnu | *-*-gnu* | *-*-k*bsd*-gnu)
|
||||
*-*-linux* | *-*-gnu* | *-*-k*bsd*-gnu)
|
||||
# Enable libmudflap by default in GNU and friends.
|
||||
;;
|
||||
*-*-freebsd*)
|
||||
@ -354,6 +371,30 @@ no)
|
||||
esac
|
||||
esac
|
||||
|
||||
# Allow --disable-libgomp to exclude target-libgomp
|
||||
case $enable_libgomp in
|
||||
yes)
|
||||
;;
|
||||
no)
|
||||
noconfigdirs="$noconfigdirs target-libgomp"
|
||||
;;
|
||||
"")
|
||||
# Enable libgomp by default on hosted POSIX systems.
|
||||
case "${target}" in
|
||||
*-*-linux* | *-*-gnu* | *-*-k*bsd*-gnu)
|
||||
;;
|
||||
*-*-netbsd* | *-*-freebsd* | *-*-openbsd*)
|
||||
;;
|
||||
*-*-solaris2* | *-*-sysv4* | *-*-irix* | *-*-osf* | *-*-hpux*)
|
||||
;;
|
||||
*-*-darwin* | *-*-aix*)
|
||||
;;
|
||||
*)
|
||||
noconfigdirs="$noconfigdirs target-libgomp"
|
||||
;;
|
||||
esac
|
||||
esac
|
||||
|
||||
|
||||
case "${target}" in
|
||||
*-*-chorusos)
|
||||
|
Loading…
x
Reference in New Issue
Block a user