NetBSD/gnu/usr.bin/Makefile

30 lines
704 B
Makefile

# $NetBSD: Makefile,v 1.83 1999/02/19 13:12:17 tv Exp $
# for OBJECT_FMT
.include <bsd.own.mk>
SUBDIR+= bc binutils cpio dc diff diff3 egcs gawk grep gprof groff
SUBDIR+= gzip ld.new rcs sdiff send-pr sort tar texinfo
.if (${MACHINE_ARCH} == "i386") || \
(${MACHINE_ARCH} == "sparc")
SUBDIR+= gdb
.endif
.if (${MACHINE_ARCH} == "m68k") || \
(${MACHINE_ARCH} == "ns32k")
SUBDIR+= gas
.else
SUBDIR+= gas.new
.endif
.if (${MACHINE_ARCH} == "i386" && ${OBJECT_FMT} != "ELF") || \
(${MACHINE_ARCH} == "m68k") || \
(${MACHINE_ARCH} == "ns32k") || \
(${MACHINE_ARCH} == "sparc" && ${OBJECT_FMT} != "ELF") || \
(${MACHINE_ARCH} == "vax")
SUBDIR+= ld
.endif
.include <bsd.subdir.mk>