NetBSD/gnu/usr.bin/Makefile

25 lines
672 B
Makefile
Raw Normal View History

1995-10-19 15:55:37 +03:00
# $NetBSD: Makefile,v 1.25 1995/10/19 12:55:37 ragge 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
# some ports don't use the tool chain in /usr/src
1995-10-19 15:55:37 +03:00
.if (${MACHINE_ARCH} != "alpha") && (${MACHINE_ARCH} != "mips") && \
(${MACHINE_ARCH} != "vax")
SUBDIR+= gas gcc2 gdb ld
.endif
1995-10-19 15:55:37 +03:00
# 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>