Now uses mt- and mh- rather than tmake and hmake files

This commit is contained in:
Steve Chamberlain
1991-10-24 21:36:40 +00:00
parent fa4248e315
commit 4b39ad32c1

View File

@ -99,10 +99,11 @@ if [ ! -f ${files} ] ; then
fi fi
host_makefile_frag= host_makefile_frag=
if [ -f config/h-${my_host} ] ; then if [ -f config/mh-${my_host} ] ; then
host_makefile_frag=config/h-${my_host} host_makefile_frag=config/mh-${my_host}
fi fi
echo ${host_makefile_frag}
# per-target: # per-target:
case "${target_vendor}" in case "${target_vendor}" in
@ -160,9 +161,9 @@ sgi)
bfd_target=irix3 ;; bfd_target=irix3 ;;
esac esac
;; ;;
none|nyu) none|nyu|sco)
case "${target_cpu}" in case "${target_cpu}" in
i386) bfd_target=i386-coff ;; i386) bfd_target=i386_coff ;;
a29k) case "${target_os}" in a29k) case "${target_os}" in
aout) bfd_target=a29k-aout ;; aout) bfd_target=a29k-aout ;;
coff) bfd_target=a29k-coff ;; coff) bfd_target=a29k-coff ;;
@ -179,15 +180,14 @@ none|nyu)
;; ;;
esac esac
if [ ! -f config/t-${bfd_target} ] ; then if [ ! -f config/mt-${bfd_target} ] ; then
if [ -n "${bfd_target}" ] ; then if [ -n "${bfd_target}" ] ; then
echo '***' No file config/t-${bfd_target} echo '***' No file config/mt-${bfd_target}
fi fi
echo '***' BFD does not support target ${target} echo '***' BFD does not support target ${target}
exit 1 exit 1
fi fi
target_makefile_frag=config/mt-${bfd_target}
target_makefile_frag=config/t-${bfd_target}
# We don't do any links based on the target system, just very minor makefile # We don't do any links based on the target system, just very minor makefile
# config. # config.