NetBSD/gnu/usr.bin/Makefile
1999-03-02 13:11:43 +00:00

32 lines
786 B
Makefile

# $NetBSD: Makefile,v 1.85 1999/03/02 13:11:43 matthias 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} == "ns32k") || \
(${MACHINE_ARCH} == "sparc")
SUBDIR+= gdb
.endif
.if (${MACHINE_ARCH} == "m68k") || \
(${MACHINE_ARCH} == "ns32k")
SUBDIR+= gas
.else
SUBDIR+= gas.new
.endif
.if (${MACHINE_ARCH} == "arm32") || \
(${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>