NetBSD/gnu/usr.bin/Makefile

35 lines
820 B
Makefile

# $NetBSD: Makefile,v 1.59 1998/11/16 18:49:54 kristerw Exp $
# XXX Temporary for USE_EGCS
.include <bsd.own.mk>
SUBDIR+= bc binutils cpio dc diff diff3 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
.ifdef USE_EGCS
SUBDIR+= egcs
.else
SUBDIR+= gcc
.endif
.if (${OBJECT_FMT} == "ELF") && (${MACHINE_ARCH} != "mips")
SUBDIR+= gprof
.endif
.include <bsd.subdir.mk>