aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteve Chamberlain <steve@cygnus>1991-10-25 02:07:18 +0000
committerSteve Chamberlain <steve@cygnus>1991-10-25 02:07:18 +0000
commitee8f0bd73410eb518a161bf5f7170493cc5b92f0 (patch)
tree4f700f6b9d1fa4e75a833cfe440882c2da1bfb6a
parent825e656bf5a326fd4bbc0fc87bad4f96b503f346 (diff)
downloadgdb-ee8f0bd73410eb518a161bf5f7170493cc5b92f0.zip
gdb-ee8f0bd73410eb518a161bf5f7170493cc5b92f0.tar.gz
gdb-ee8f0bd73410eb518a161bf5f7170493cc5b92f0.tar.bz2
More name changing
-rwxr-xr-xconfigure45
1 files changed, 33 insertions, 12 deletions
diff --git a/configure b/configure
index 7bee8e4..3255412 100755
--- a/configure
+++ b/configure
@@ -286,10 +286,10 @@ for host in ${hosts} ; do
host_vendor=`echo $result | sed 's/^\(.*\)-\(.*\)-\(.*\)$/\2/'`
host_os=`echo $result | sed 's/^\(.*\)-\(.*\)-\(.*\)$/\3/'`
host=${host_cpu}-${host_vendor}-${host_os}
- host_makefile_frag=config/hmake-${host}
+ host_makefile_frag=config/mh-${host}
if [ ! -f ${host_makefile_frag} ]
then
- host_makefile_frag=config/hmake-${host_alias}
+ host_makefile_frag=config/mh-${host_alias}
fi
. ${tmpfile}.hst
@@ -302,10 +302,10 @@ for host in ${hosts} ; do
target_vendor=`echo $result | sed 's/^\(.*\)-\(.*\)-\(.*\)$/\2/'`
target_os=`echo $result | sed 's/^\(.*\)-\(.*\)-\(.*\)$/\3/'`
target=${target_cpu}-${target_vendor}-${target_os}
- target_makefile_frag=config/tmake-${target}
+ target_makefile_frag=config/mt-${target}
if [ ! -f ${target_makefile_frag} ]
then
- target_makefile_frag=config/tmake-${target_alias}
+ target_makefile_frag=config/mt-${target_alias}
fi
. ${tmpfile}.tgt
@@ -481,21 +481,36 @@ for host in ${hosts} ; do
cat ${srcdir}/${Makefile_in} >> ${Makefile}
# Conditionalize the makefile for this host.
- (echo "host_makefile_frag = ${srcdir}/${host_makefile_frag}" ;
- sed -e "/^####/ r ${srcdir}/${host_makefile_frag}" ${Makefile}) > Makefile.tem
+ if [ -f ${srcdir}/${host_makefile_frag} ] ; then
+ (echo "host_makefile_frag = ${srcdir}/${host_makefile_frag}" ;
+ sed -e "/^####/ r ${srcdir}/${host_makefile_frag}" ${Makefile}) > Makefile.tem
+ else
+ (echo "host_makefile_frag =" ;
+ cat ${Makefile}) > Makefile.tem
+ fi
mv Makefile.tem ${Makefile}
# Conditionalize the makefile for this target.
- (echo "target_makefile_frag = ${srcdir}/${target_makefile_frag}" ;
- sed -e "/^####/ r ${srcdir}/${target_makefile_frag}" ${Makefile}) > Makefile.tem
+ if [ -f ${srcdir}/${target_makefile_frag} ] ; then
+ (echo "target_makefile_frag = ${srcdir}/${target_makefile_frag}" ;
+ sed -e "/^####/ r ${srcdir}/${target_makefile_frag}" ${Makefile}) > Makefile.tem
+ else
+ (echo "target_makefile_frag =" ;
+ cat ${Makefile}) > Makefile.tem
+ fi
mv Makefile.tem ${Makefile}
# Conditionalize the makefile for this site.
if [ -n "${site}" ] ; then
- site_makefile_frag=config/smake-${site}
+ site_makefile_frag=config/ms-${site}
- (echo "site_makefile_frag = ${srcdir}/${site_makefile_frag}" ;
- sed -e "/^####/ r ${srcdir}/${site_makefile_frag}" ${Makefile}) > Makefile.tem
+ if [ -f ${srcdir}/${site_makefile_frag} ] ; then
+ (echo "site_makefile_frag = ${srcdir}/${site_makefile_frag}" ;
+ sed -e "/^####/ r ${srcdir}/${site_makefile_frag}" ${Makefile}) > Makefile.tem
+ else
+ (echo "site_makefile_frag =" ;
+ cat ${Makefile}) > Makefile.tem
+ fi
mv Makefile.tem ${Makefile}
fi
@@ -631,7 +646,13 @@ exit 0
#
#
# $Log$
-# Revision 1.61 1991/10/24 00:23:59 hgs
+# Revision 1.63 1991/10/25 02:07:18 steve
+# More name changing
+#
+# Revision 1.62 1991/10/24 11:59:03 rich
+# add null definitions for makefile_frag_foo
+#
+# 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