26 lines
783 B
Makefile
26 lines
783 B
Makefile
# $NetBSD: Makefile,v 1.34 1996/02/18 12:28:15 pk Exp $
|
|
|
|
SUBDIR+= bc cpio dc diff diff3 gawk grep groff
|
|
SUBDIR+= gzip rcs sdiff send-pr sort tar
|
|
|
|
.if (${MACHINE} == "amiga") || (${MACHINE} == "atari") || \
|
|
(${MACHINE} == "hp300") || (${MACHINE_ARCH} == "i386") || \
|
|
(${MACHINE} == "mac68k") || (${MACHINE_ARCH} == "ns32k") || \
|
|
(${MACHINE_ARCH} == "sparc") || (${MACHINE_ARCH} == "vax")
|
|
SUBDIR+= gas gcc gdb ld
|
|
.elif (${MACHINE_ARCH} == "m68k")
|
|
SUBDIR+= gas gcc2 gdb ld
|
|
.elif (${MACHINE_ARCH} == "mips")
|
|
SUBDIR+= gcc
|
|
.endif
|
|
|
|
|
|
# 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
|
|
|
|
.include <bsd.subdir.mk>
|