NetBSD/gnu/usr.bin/Makefile

29 lines
755 B
Makefile
Raw Normal View History

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