From f478fcf663054c7059b0e5ee490d2ecbf398221d Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Tue, 18 Aug 1992 20:34:26 +0000 Subject: [PATCH] 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. --- binutils/ChangeLog | 6 ++++++ binutils/Makefile.in | 16 ++++++++++++---- binutils/configure.in | 16 +++++++++++++--- 3 files changed, 31 insertions(+), 7 deletions(-) diff --git a/binutils/ChangeLog b/binutils/ChangeLog index 0e420d9ea62..ed80ec45f20 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 6177d5adce4..08b1c64d06a 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 6912fef1c96..214ebfb473e 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 -- 2.30.2