-# $OpenBSD: Makefile.bsd-wrapper,v 1.22 1997/04/07 00:18:17 millert Exp $
+# $OpenBSD: Makefile.bsd-wrapper,v 1.23 1997/04/12 21:54:42 pefo Exp $
MAN= cccp.1 gcc.1 cp/g++.1 f/g77.1
MLINKS+= gcc.1 cc.1
objc-parse.c objc-parse.y f/.gdbinit f/*.info*
.if ${MACHINE} == "arc" || ${MACHINE} == "pmax"
-M_ARCH= mips64el
-.elif ${MACHINE} == "laguna"
-M_ARCH= mips64
+M_ARCH= mipsel
+.elif ${MACHINE} == "hkmips" || ${MACHINE} == "sgi"
+M_ARCH= mips
.else
M_ARCH= ${MACHINE_ARCH}
.endif
amiga:OpenBSD:*:*)
echo m68k-unknown-openbsd${UNAME_RELEASE}
exit 0 ;;
- arc:OpenBSD:*:*)
+ hkmips:OpenBSD:*:*)
+ echo mips-unknown-openbsd${UNAME_RELEASE}
+ exit 0 ;;
+ arc64:OpenBSD:*:*)
echo mips64el-unknown-openbsd${UNAME_RELEASE}
exit 0 ;;
- laguna:OpenBSD:*:*)
- echo mips64-unknown-openbsd${UNAME_RELEASE}
+ arc:OpenBSD:*:*)
+ echo mipsel-unknown-openbsd${UNAME_RELEASE}
exit 0 ;;
pmax:OpenBSD:*:*)
- echo mips64el-unknown-openbsd${UNAME_RELEASE}
+ echo mipsel-unknown-openbsd${UNAME_RELEASE}
+ exit 0 ;;
+ sgi:OpenBSD:*:*)
+ echo mips-unknown-openbsd${UNAME_RELEASE}
exit 0 ;;
wgrisc:OpenBSD:*:*)
- echo mips64el-unknown-openbsd${UNAME_RELEASE}
+ echo mipsel-unknown-openbsd${UNAME_RELEASE}
exit 0 ;;
arm:RISC*:1.[012]*:*|arm:riscix:1.[012]*:*)
echo arm-acorn-riscix${UNAME_RELEASE}
fixincludes=Makefile.in
prefix=$native_prefix
;;
- mips64el-*-openbsd*) # MIPS R4k running OpenBSD
+ mips*el-*-openbsd*) # MIPS running OpenBSD
tm_file=mips/openbsd-le.h
xm_file=mips/xm-openbsd.h
cpu_type=mips
fixincludes=Makefile.in
prefix=$native_prefix
;;
- mips64-*-openbsd*) # MIPS R4k big-endian running OpenBSD
+ mips*-*-openbsd*) # MIPS big-endian running OpenBSD
tm_file=mips/openbsd-be.h
xm_file=mips/xm-openbsd.h
cpu_type=mips