Makefile revision 1.3
1#	$NetBSD: Makefile,v 1.27 1995/12/07 07:26:32 phil Exp $
2
3SUBDIR+=	bc cpio cvs dc diff diff3 gawk grep groff
4SUBDIR+=	gzip rcs sdiff send-pr sort tar
5
6# some ports don't use the tool chain in /usr/src
7.if (${MACHINE_ARCH} != "alpha") && (${MACHINE_ARCH} != "mips") && \
8	(${MACHINE_ARCH} != "vax") && (${MACHINE_ARCH} != "ns32k")
9SUBDIR+=	gas gcc2 gdb ld
10.endif
11
12# ns32k and vax wants newer gcc
13.if (${MACHINE_ARCH} == "ns32k") || (${MACHINE_ARCH} == "vax")
14SUBDIR+=        gas gcc gdb ld
15.endif
16
17# XXX alpha still needs the /usr/bin/cpp script.
18.if (${MACHINE_ARCH} == "alpha")
19afterinstall:
20	install -c -o $(BINOWN) -g $(BINGRP) -m $(BINMODE) \
21	    $(.CURDIR)/gcc2/cpp/usr.bin.cpp.sh $(DESTDIR)/usr/bin/cpp
22.endif
23
24.include <bsd.subdir.mk>
25