NetBSD/gnu/usr.bin/Makefile
1998-12-13 12:54:33 +00:00

29 lines
760 B
Makefile

# $NetBSD: Makefile,v 1.61 1998/12/13 12:54:33 drochner 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} == "arm32") || \
(${MACHINE_ARCH} == "i386") || (${MACHINE_ARCH} == "mips") || \
(${MACHINE_ARCH} == "sparc") || (${MACHINE_ARCH} == "vax")
SUBDIR+= gas.new
.else
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 ld/rtld ld/ldd ld/ldconfig
.else
SUBDIR+= ld
.endif
.if (${OBJECT_FMT} == "ELF") && (${MACHINE_ARCH} != "mips")
SUBDIR+= gprof
.endif
.include <bsd.subdir.mk>