NetBSD/gnu/usr.bin/Makefile

29 lines
753 B
Makefile

# $NetBSD: Makefile,v 1.63 1998/12/30 15:03:31 tv Exp $
# XXX for OBJECT_FMT
.include <bsd.own.mk>
SUBDIR+= bc binutils cpio dc diff diff3 egcs gawk grep groff
SUBDIR+= gzip rcs sdiff send-pr sort tar gdb
.if (${MACHINE_ARCH} == "alpha") || \
(${MACHINE_ARCH} == "i386") || (${MACHINE_ARCH} == "mips") || \
(${MACHINE_ARCH} == "sparc") || (${MACHINE_ARCH} == "vax")
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")
SUBDIR+= ld.new
.elif (${MACHINE_ARCH} != "arm32")
SUBDIR+= ld
.endif
.if (${OBJECT_FMT} == "ELF") && (${MACHINE_ARCH} != "mips")
SUBDIR+= gprof
.endif
.include <bsd.subdir.mk>