remove unnecessary checks of MACHINE_ARCH

This commit is contained in:
mrg 1998-03-30 04:15:35 +00:00
parent eae61447e8
commit f444db9284
5 changed files with 6 additions and 25 deletions

View File

@ -1,13 +1,8 @@
# $NetBSD: Makefile,v 1.1.1.1 1998/03/29 11:34:19 mrg Exp $
# $NetBSD: Makefile,v 1.2 1998/03/30 04:15:35 mrg Exp $
.if (${MACHINE_ARCH} == "sparc") || \
(${MACHINE_ARCH} == "mips")
SUBDIR+= common cc1 cc1plus cc1obj libgcc libobjc
SUBDIR+= cc cpp g++
all-cc1 all-cc1plus all-cc1obj: all-common
.endif
SUBDIR+= cc cpp g++
.include <bsd.subdir.mk>

View File

@ -1,8 +1,5 @@
# from: @(#)Makefile 6.2 (Berkeley) 3/25/91
# $NetBSD: Makefile,v 1.1.1.1 1998/03/29 11:34:23 mrg Exp $
.if (${MACHINE_ARCH} == "sparc") || \
(${MACHINE_ARCH} == "mips")
# $NetBSD: Makefile,v 1.2 1998/03/30 04:15:36 mrg Exp $
PROG= gcc
SRCS= gcc.c obstack.c version.c pexecute.c choose-temp.c
@ -10,8 +7,6 @@ BINDIR= /usr/bin
LINKS+= ${BINDIR}/gcc ${BINDIR}/cc
.endif
MAN= gcc.1
MLINKS= gcc.1 cc.1

View File

@ -1,8 +1,6 @@
# from: @(#)Makefile 6.4 (Berkeley) 2/21/91
# $NetBSD: Makefile,v 1.2 1998/03/30 03:27:33 mrg Exp $
# $NetBSD: Makefile,v 1.3 1998/03/30 04:15:36 mrg Exp $
.if (${MACHINE_ARCH} == "sparc") || \
(${MACHINE_ARCH} == "mips")
PROG= cpp
BINDIR= /usr/libexec
SRCS= cccp.c cexp.c obstack.c version.c
@ -13,7 +11,6 @@ CPPFLAGS+= \
YFLAGS=
CLEANFILES+= cexp.c
.endif
LINKS= /usr/bin/cpp /usr/bin/gcpp
FILES=usr.bin.cpp.sh

View File

@ -1,15 +1,12 @@
# from: @(#)Makefile 6.2 (Berkeley) 3/25/91
# $NetBSD: Makefile,v 1.1.1.1 1998/03/29 11:34:24 mrg Exp $
# $NetBSD: Makefile,v 1.2 1998/03/30 04:15:36 mrg Exp $
.if (${MACHINE_ARCH} == "sparc") || \
(${MACHINE_ARCH} == "mips")
PROG= g++
SRCS= gcc.c obstack.c version.c g++spec.c choose-temp.c pexecute.c
BINDIR= /usr/bin
CPPFLAGS+= -DGCC_NAME=\"/usr/bin/cc\"
LINKS+= ${BINDIR}/g++ ${BINDIR}/c++
.endif
MAN= g++.1
MLINKS= g++.1 c++.1

View File

@ -1,14 +1,11 @@
# from: @(#)Makefile 6.2 (Berkeley) 3/25/91
# $NetBSD: Makefile,v 1.1 1998/03/30 03:00:59 mrg Exp $
# $NetBSD: Makefile,v 1.2 1998/03/30 04:15:37 mrg Exp $
.if (${MACHINE_ARCH} == "sparc") || \
(${MACHINE_ARCH} == "mips")
PROG= g77
SRCS= gcc.c g77spec.c version.c choose-temp.c pexecute.c obstack.c
BINDIR= /usr/bin
LINKS+= ${BINDIR}/g77 ${BINDIR}/c77
.endif
MAN= g77.1
MLINKS= g77.1 f77.1