aboutsummaryrefslogtreecommitdiff
path: root/binutils
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>1992-08-18 20:34:26 +0000
committerIan Lance Taylor <ian@airs.com>1992-08-18 20:34:26 +0000
commitf478fcf663054c7059b0e5ee490d2ecbf398221d (patch)
tree3e8b2813dfc6032ae89a7bea3473d9a99c20d47d /binutils
parent967d40ca76bb03a50621314468ba9f6eeed6f998 (diff)
downloadgdb-f478fcf663054c7059b0e5ee490d2ecbf398221d.zip
gdb-f478fcf663054c7059b0e5ee490d2ecbf398221d.tar.gz
gdb-f478fcf663054c7059b0e5ee490d2ecbf398221d.tar.bz2
Moved in from p3:
Tue Aug 18 13:28:44 1992 Ian Lance Taylor (ian@cygnus.com) * config/mh-apollo68v: removed -g from CC definition. * Makefile.in: always create installation directories.
Diffstat (limited to 'binutils')
-rw-r--r--binutils/ChangeLog6
-rw-r--r--binutils/Makefile.in16
-rw-r--r--binutils/configure.in16
3 files changed, 31 insertions, 7 deletions
diff --git a/binutils/ChangeLog b/binutils/ChangeLog
index 0e420d9..ed80ec4 100644
--- a/binutils/ChangeLog
+++ b/binutils/ChangeLog
@@ -1,3 +1,9 @@
+Tue Aug 18 13:28:44 1992 Ian Lance Taylor (ian@cygnus.com)
+
+ * config/mh-apollo68v: removed -g from CC definition.
+
+ * Makefile.in: always create installation directories.
+
Mon Aug 17 18:33:41 1992 Per Bothner (bothner@rtl.cygnus.com)
* m68k-pinsn.c: Minor fix in style of output (don't use
diff --git a/binutils/Makefile.in b/binutils/Makefile.in
index 6177d5a..08b1c64 100644
--- a/binutils/Makefile.in
+++ b/binutils/Makefile.in
@@ -17,13 +17,12 @@
# along with this program; if not, write to the Free Software
# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-#$Id$
-
srcdir = .
prefix = /usr/local
program_prefix =
+program_suffix =
exec_prefix = $(prefix)
bindir = $(exec_prefix)/bin
libdir = $(exec_prefix)/lib
@@ -312,14 +311,23 @@ realclean: clean
-rm -f $(STAGESTUFF) TAGS
install: all
+ -parent=`echo $(bindir)|sed -e 's@/[^/]*$$@@'`; \
+ if [ -d $$parent ] ; then true ; else mkdir $$parent ; fi
+ -if [ -d $(bindir) ] ; then true ; else mkdir $(bindir) ; fi
for i in $(PROGS) ; do \
- $(INSTALL_PROGRAM) $$i $(bindir)/$(program_prefix)$$i ; \
+ $(INSTALL_PROGRAM) $$i $(bindir)/$(program_prefix)$${i}$(program_suffix) ; \
done
+ -parent=`echo $(man1dir)|sed -e 's@/[^/]*$$@@'`; \
+ if [ -d $$parent ] ; then true ; else mkdir $$parent ; fi
+ -if [ -d $(man1dir) ] ; then true ; else mkdir $(man1dir) ; fi
for i in $(MANPAGES) ; do \
- $(INSTALL_DATA) $(srcdir)/$$i $(man1dir)/$(program_prefix)$$i ; \
+ $(INSTALL_DATA) $(srcdir)/$$i $(man1dir)/$(program_prefix)$${i}$(program_suffix) ; \
done
install-info: info
+ -parent=`echo $(infodir)|sed -e 's@/[^/]*$$@@'`; \
+ if [ -d $$parent ] ; then true ; else mkdir $$parent ; fi
+ -if [ -d $(infodir) ] ; then true ; else mkdir $(infodir) ; fi
for i in *.info* ; do \
$(INSTALL_DATA) $$i $(infodir)/$$i ; \
done
diff --git a/binutils/configure.in b/binutils/configure.in
index 6912fef..214ebfb 100644
--- a/binutils/configure.in
+++ b/binutils/configure.in
@@ -13,6 +13,16 @@ case "${host_cpu}" in
rs6000) my_host=rs6000
;;
+hppa*)
+ case "${host_vendor}" in
+ hp)
+ case "${host_os}" in
+ hpux) my_host=hppahpux ;;
+ bsd) my_host=hppabsd ;;
+ esac
+ ;;
+ esac
+ ;;
mips)
case "${host_vendor}" in
dec) my_host=decstation ;;
@@ -32,7 +42,7 @@ m88k)
esac
;;
-m68k)
+m68*)
case "${host_vendor}" in
cbm)
case ${host_os} in
@@ -103,9 +113,9 @@ links="sysdep.h"
if [ ! -f ${srcdir}/${files} ] ; then
if [ -n "${my_host}" ] ; then
- echo '***' No file ${srcdir}/${files}
+ echo '***' No file ${srcdir}/${files} 1>&2
fi
- echo '***' ${srcname} does not support host ${host}
+ echo '***' ${srcname} does not support host ${host} 1>&2
exit 1
fi