NetBSD/gnu/usr.bin/Makefile
tv 16d7798441 Turn off bits of the toolchain from building on a recursive make: binutils,
bfd, gas.new, ld.new, gdb, gprof; in anticipation of the binutils-2.9.1
import.
1999-02-02 17:45:02 +00:00

32 lines
850 B
Makefile

# $NetBSD: Makefile,v 1.65 1999/02/02 17:45:03 tv Exp $
# XXX for OBJECT_FMT
.include <bsd.own.mk>
SUBDIR+= bc cpio dc diff diff3 egcs gawk grep groff
SUBDIR+= gzip rcs sdiff send-pr sort tar
# SUBDIR+= binutils gdb
.if (${MACHINE_ARCH} == "alpha") || \
(${MACHINE_ARCH} == "i386") || (${MACHINE_ARCH} == "mips") || \
(${MACHINE_ARCH} == "sparc") || (${MACHINE_ARCH} == "vax") || \
(${MACHINE_ARCH} == "sparc64")
# SUBDIR+= gas.new
.elif (${MACHINE_ARCH} != "arm32")
SUBDIR+= gas
.endif
# XXX mips vs mips{el,eb}. Should be all ELF hosts anyway.
.if (${MACHINE_ARCH} == "alpha") || (${MACHINE_ARCH} == "mips") || \
(${MACHINE_ARCH} == "sparc64")
# SUBDIR+= ld.new
.elif (${MACHINE_ARCH} != "arm32")
SUBDIR+= ld
.endif
.if (${OBJECT_FMT} == "ELF") && (${MACHINE_ARCH} != "mips")
# SUBDIR+= gprof
.endif
.include <bsd.subdir.mk>