summaryrefslogtreecommitdiff
path: root/gnu/usr.bin/Makefile
blob: 55da28aa408856fbbeb56d42377b09747a8e57f3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#	$NetBSD: Makefile,v 1.27 1995/12/07 07:26:32 phil Exp $

SUBDIR+=	bc cpio cvs dc diff diff3 gawk gcc grep groff
SUBDIR+=	gzip rcs sdiff send-pr sort tar texinfo

# some ports don't use the tool chain in /usr/src
.if (${MACHINE_ARCH} != "alpha") && (${MACHINE_ARCH} != "mips") && \
	(${MACHINE_ARCH} != "vax") && (${MACHINE_ARCH} != "ns32k")
SUBDIR+=	gas gdb ld
.endif

# ns32k and vax wants newer gcc
.if (${MACHINE_ARCH} == "ns32k") || (${MACHINE_ARCH} == "vax")
SUBDIR+=        gas gcc gdb ld
.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>