+Tue Aug 18 13:41:36 1992 Ian Lance Taylor (ian@cygnus.com)
+
+ * configure.in: accept all m68K family members.
+
+ * Makefile.in: always create installation directories.
+
Thu Aug 13 11:49:34 1992 Steve Chamberlain (sac@thepub.cygnus.com)
* ldlex.l: now parses comment correctly, added ~ to acceptable
.PHONY: install
install: $(LD_PROG)
+ -parent=`echo $(bindir)|sed -e 's@/[^/]*$$@@'`; \
+ if [ -d $$parent ] ; then true ; else mkdir $$parent ; fi
+ -if [ -d $(bindir) ] ; then true ; else mkdir $(bindir) ; fi
+ -parent=`echo $(man1dir)|sed -e 's@/[^/]*$$@@'`; \
+ if [ -d $$parent ] ; then true ; else mkdir $$parent ; fi
+ -if [ -d $(man1dir) ] ; then true ; else mkdir $(man1dir) ; fi
-rm -f $(bindir)/$(program_prefix)ld$(program_suffix)
$(INSTALL_PROGRAM) ld.new $(bindir)/$(program_prefix)ld$(program_suffix)
-rm -f $(tooldir)/ld
$(INSTALL_DATA) $(srcdir)/ld.1 $(man1dir)/$(program_prefix)ld$(program_suffix).1
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 ld.info* ; do \
$(INSTALL_DATA) $$i $(infodir)/$$i ; \
done
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 ;;
esac
;;
-m68k)
+m68*)
case "${host_vendor}" in
cbm)
case ${host_os} in
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
host_makefile_frag=
i960) my_target=vxworks960 ;;
m68k) my_target=vxworks68;;
m680[01234]0) my_target=vxworks68;;
+ m683?2) my_target=vxworks68;;
+ sparc) my_target=vxsparc;;
esac
;;
-tandem)
- my_target=st2000
- ;;
+ericsson) my_target=OSE68 ;;
+tandem) my_target=st2000 ;;
*)
case ${target_cpu} in
i386) my_target=go32 ;;
xray) my_target=ieee-h8300 ;;
esac
;;
- m68k)
+ m68*)
case ${target_vendor} in
sony) my_target=news ;;
hp) my_target=hp300bsd ;;
-
*)
- echo "Unknown m68k target vendor:" ${target_vendor}
- exit 1
+ case "${target_os}" in
+ aout) my_target=m68k-aout ;;
+ coff) my_target=m68k-coff ;;
+ *) echo "Unknown m68k target vendor:" ${target_vendor} 1>&2
+ exit 1
+ ;;
+ esac
;;
esac
;;