* configure.in: Rearrange target Makefile fragment collection.

From-SVN: r55202
This commit is contained in:
Nathanael Nerode 2002-07-03 02:49:38 +00:00
parent 622d373136
commit c3b7d16939
2 changed files with 23 additions and 18 deletions

View File

@ -1,5 +1,7 @@
2002-07-02 Nathanael Nerode <neroden@gcc.gnu.org> 2002-07-02 Nathanael Nerode <neroden@gcc.gnu.org>
* configure.in: Rearrange target Makefile fragment collection.
* Makefile.in: Don't try to build gdbtest, tgas, ispell, inet, or * Makefile.in: Don't try to build gdbtest, tgas, ispell, inet, or
cvs[src]. cvs[src].
* configure.in: Ditto. * configure.in: Ditto.

View File

@ -1178,44 +1178,47 @@ fi
case "${target}" in case "${target}" in
v810*) v810*)
target_makefile_frag="${target_makefile_frag} config/mt-v810" target_makefile_frag="config/mt-v810"
;; ;;
i[3456]86-*-netware*) i[3456]86-*-netware*)
target_makefile_frag="${target_makefile_frag} config/mt-netware" target_makefile_frag="config/mt-netware"
;; ;;
powerpc-*-netware*) powerpc-*-netware*)
target_makefile_frag="${target_makefile_frag} config/mt-netware" target_makefile_frag="config/mt-netware"
;;
alpha*-*-linux*)
target_makefile_frag="${target_makefile_frag} config/mt-linux"
target_makefile_frag="${target_makefile_frag} config/mt-alphaieee"
;;
alpha*-*-*)
target_makefile_frag="${target_makefile_frag} config/mt-alphaieee"
;; ;;
*-*-linux*) *-*-linux*)
target_makefile_frag="${target_makefile_frag} config/mt-linux" target_makefile_frag="config/mt-linux"
;; ;;
*-*-aix4.[3456789]* | *-*-aix[56789].*) *-*-aix4.[3456789]* | *-*-aix[56789].*)
target_makefile_frag="${target_makefile_frag} config/mt-aix43" target_makefile_frag="config/mt-aix43"
;; ;;
mips*-*-pe | sh*-*-pe | *arm-wince-pe) mips*-*-pe | sh*-*-pe | *arm-wince-pe)
target_makefile_frag="${target_makefile_frag} config/mt-wince" target_makefile_frag="config/mt-wince"
;;
esac
alphaieee_frag=
case $target in
alpha*-*-*)
# This just makes sure to use the -mieee option to build target libs.
# This should probably be set individually by each library.
alphaieee_frag="config/mt-alphaieee"
;; ;;
esac esac
# If --enable-target-optspace always use -Os instead of -O2 to build # If --enable-target-optspace always use -Os instead of -O2 to build
# the target libraries, similarly if it is not specified, use -Os # the target libraries, similarly if it is not specified, use -Os
# on selected platforms. # on selected platforms.
ospace_frag=
case "${enable_target_optspace}:${target}" in case "${enable_target_optspace}:${target}" in
yes:*) yes:*)
target_makefile_frag="${target_makefile_frag} config/mt-ospace" ospace_frag="config/mt-ospace"
;; ;;
:d30v-*) :d30v-*)
target_makefile_frag="${target_makefile_frag} config/mt-d30v" ospace_frag="config/mt-d30v"
;; ;;
:m32r-* | :d10v-* | :fr30-*) :m32r-* | :d10v-* | :fr30-*)
target_makefile_frag="${target_makefile_frag} config/mt-ospace" ospace_frag="config/mt-ospace"
;; ;;
no:* | :*) no:* | :*)
;; ;;
@ -1225,8 +1228,8 @@ case "${enable_target_optspace}:${target}" in
esac esac
rm -f mt-frag rm -f mt-frag
if test -n "${target_makefile_frag}" ; then if test -n "${target_makefile_frag}${alphaieee_frag}${ospace_frag}" ; then
for f in ${target_makefile_frag} for f in ${target_makefile_frag} ${alphaieee_frag} ${ospace_frag}
do do
cat ${srcdir}/$f >> mt-frag cat ${srcdir}/$f >> mt-frag
done done