1996-02-18 15:28:15 +03:00
|
|
|
# $NetBSD: Makefile,v 1.34 1996/02/18 12:28:15 pk 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-02-18 15:28:15 +03:00
|
|
|
.if (${MACHINE} == "amiga") || (${MACHINE} == "atari") || \
|
|
|
|
(${MACHINE} == "hp300") || (${MACHINE_ARCH} == "i386") || \
|
|
|
|
(${MACHINE} == "mac68k") || (${MACHINE_ARCH} == "ns32k") || \
|
|
|
|
(${MACHINE_ARCH} == "sparc") || (${MACHINE_ARCH} == "vax")
|
1995-12-04 00:13:18 +03:00
|
|
|
SUBDIR+= gas gcc gdb ld
|
1996-02-18 15:28:15 +03:00
|
|
|
.elif (${MACHINE_ARCH} == "m68k")
|
1995-12-31 05:28:59 +03:00
|
|
|
SUBDIR+= gas gcc2 gdb 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) \
|
|
|
|
$(.CURDIR)/gcc2/cpp/usr.bin.cpp.sh $(DESTDIR)/usr/bin/cpp
|
|
|
|
.endif
|
1993-04-10 19:50:59 +04:00
|
|
|
|
|
|
|
.include <bsd.subdir.mk>
|