Allow for using tmake-sun4
This commit is contained in:
parent
c5ae567837
commit
ba04ec6e77
|
@ -287,6 +287,10 @@ for host in ${hosts} ; do
|
||||||
host_os=`echo $result | sed 's/^\(.*\)-\(.*\)-\(.*\)$/\3/'`
|
host_os=`echo $result | sed 's/^\(.*\)-\(.*\)-\(.*\)$/\3/'`
|
||||||
host=${host_cpu}-${host_vendor}-${host_os}
|
host=${host_cpu}-${host_vendor}-${host_os}
|
||||||
host_makefile_frag=config/hmake-${host}
|
host_makefile_frag=config/hmake-${host}
|
||||||
|
if [ ! -f ${host_makefile_frag} ]
|
||||||
|
then
|
||||||
|
host_makefile_frag=config/hmake-${host_alias}
|
||||||
|
fi
|
||||||
|
|
||||||
. ${tmpfile}.hst
|
. ${tmpfile}.hst
|
||||||
|
|
||||||
|
@ -299,6 +303,10 @@ for host in ${hosts} ; do
|
||||||
target_os=`echo $result | sed 's/^\(.*\)-\(.*\)-\(.*\)$/\3/'`
|
target_os=`echo $result | sed 's/^\(.*\)-\(.*\)-\(.*\)$/\3/'`
|
||||||
target=${target_cpu}-${target_vendor}-${target_os}
|
target=${target_cpu}-${target_vendor}-${target_os}
|
||||||
target_makefile_frag=config/tmake-${target}
|
target_makefile_frag=config/tmake-${target}
|
||||||
|
if [ ! -f ${target_makefile_frag} ]
|
||||||
|
then
|
||||||
|
target_makefile_frag=config/tmake-${target_alias}
|
||||||
|
fi
|
||||||
|
|
||||||
. ${tmpfile}.tgt
|
. ${tmpfile}.tgt
|
||||||
|
|
||||||
|
@ -484,7 +492,7 @@ for host in ${hosts} ; do
|
||||||
|
|
||||||
# Conditionalize the makefile for this site.
|
# Conditionalize the makefile for this site.
|
||||||
if [ -n "${site}" ] ; then
|
if [ -n "${site}" ] ; then
|
||||||
site_makefile_frag=smake-${site}
|
site_makefile_frag=config/smake-${site}
|
||||||
|
|
||||||
(echo "site_makefile_frag = ${srcdir}/${site_makefile_frag}" ;
|
(echo "site_makefile_frag = ${srcdir}/${site_makefile_frag}" ;
|
||||||
sed -e "/^####/ r ${srcdir}/${site_makefile_frag}" ${Makefile}) > Makefile.tem
|
sed -e "/^####/ r ${srcdir}/${site_makefile_frag}" ${Makefile}) > Makefile.tem
|
||||||
|
@ -623,7 +631,10 @@ exit 0
|
||||||
#
|
#
|
||||||
#
|
#
|
||||||
# $Log$
|
# $Log$
|
||||||
# Revision 1.60 1991/10/23 21:48:28 rich
|
# Revision 1.61 1991/10/24 00:23:59 hgs
|
||||||
|
# Allow for using tmake-sun4
|
||||||
|
#
|
||||||
|
# Revision 1.60 1991/10/23 21:48:28 rich
|
||||||
# Makefiles should include the makefile frag names even if the makefile
|
# Makefiles should include the makefile frag names even if the makefile
|
||||||
# frag doesn't exist in *this* directory. Otherwise we inherit the
|
# frag doesn't exist in *this* directory. Otherwise we inherit the
|
||||||
# variable setting from our parent Makefile.
|
# variable setting from our parent Makefile.
|
||||||
|
|
Loading…
Reference in New Issue