1996-05-19 09:49:37 +04:00
|
|
|
# $NetBSD: Makefile,v 1.40 1996/05/19 05:49:37 cgd Exp $
|
1993-04-10 19:50:59 +04:00
|
|
|
|
1995-09-27 15:46:07 +03:00
|
|
|
SUBDIR+= bc cpio dc diff diff3 gawk grep groff
|
1995-04-23 11:50:55 +04:00
|
|
|
SUBDIR+= gzip rcs sdiff send-pr sort tar
|
|
|
|
|
1996-05-18 00:23:35 +04:00
|
|
|
.if (${MACHINE_ARCH} == "i386") || \
|
|
|
|
(${MACHINE_ARCH} == "m68k") || \
|
|
|
|
(${MACHINE_ARCH} == "ns32k") || \
|
|
|
|
(${MACHINE_ARCH} == "sparc") || \
|
|
|
|
(${MACHINE_ARCH} == "vax")
|
1995-12-04 00:13:18 +03:00
|
|
|
SUBDIR+= gas gcc gdb ld
|
1996-05-18 02:39:52 +04:00
|
|
|
.elif (${MACHINE_ARCH} == "arm32")
|
|
|
|
SUBDIR+= gcc ld
|
1996-01-04 20:55:16 +03:00
|
|
|
.elif (${MACHINE_ARCH} == "mips")
|
|
|
|
SUBDIR+= gcc
|
1995-12-04 00:13:18 +03:00
|
|
|
.endif
|
|
|
|
|
1995-12-31 05:28:59 +03:00
|
|
|
|
1995-04-23 11:50:55 +04:00
|
|
|
# XXX alpha still needs the /usr/bin/cpp script.
|
|
|
|
.if (${MACHINE_ARCH} == "alpha")
|
|
|
|
afterinstall:
|
|
|
|
install -c -o $(BINOWN) -g $(BINGRP) -m $(BINMODE) \
|
1996-05-19 09:49:37 +04:00
|
|
|
$(.CURDIR)/gcc/cpp/usr.bin.cpp.sh $(DESTDIR)/usr/bin/cpp
|
1995-04-23 11:50:55 +04:00
|
|
|
.endif
|
1993-04-10 19:50:59 +04:00
|
|
|
|
|
|
|
.include <bsd.subdir.mk>
|