25 lines
672 B
Makefile
25 lines
672 B
Makefile
# $NetBSD: Makefile,v 1.25 1995/10/19 12:55:37 ragge Exp $
|
|
|
|
SUBDIR+= bc cpio dc diff diff3 gawk grep groff
|
|
SUBDIR+= gzip rcs sdiff send-pr sort tar
|
|
|
|
# some ports don't use the tool chain in /usr/src
|
|
.if (${MACHINE_ARCH} != "alpha") && (${MACHINE_ARCH} != "mips") && \
|
|
(${MACHINE_ARCH} != "vax")
|
|
SUBDIR+= gas gcc2 gdb ld
|
|
.endif
|
|
|
|
# vax wants part of it anyway.
|
|
.if (${MACHINE_ARCH} == "vax")
|
|
SUBDIR+= gas 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>
|