Always descend into ld.new in order to build ldscripts, and build old ld

on sparc and i386 only if !ELF.
This commit is contained in:
tv 1999-02-09 17:47:50 +00:00
parent caacb26e31
commit d86358076e

View File

@ -1,7 +1,7 @@
# $NetBSD: Makefile,v 1.75 1999/02/07 19:06:46 tv Exp $
# $NetBSD: Makefile,v 1.76 1999/02/09 17:47:50 tv Exp $
SUBDIR+= bc binutils cpio dc diff diff3 egcs gawk grep groff
SUBDIR+= gzip rcs sdiff send-pr sort tar
SUBDIR+= gzip ld.new rcs sdiff send-pr sort tar
.if (${MACHINE_ARCH} == "i386")
SUBDIR+= gdb
@ -14,14 +14,15 @@ SUBDIR+= gas
SUBDIR+= gas.new
.endif
.if (${MACHINE_ARCH} == "i386") || \
# for OBJECT_FMT
.include <bsd.own.mk>
.if (${MACHINE_ARCH} == "i386" && ${OBJECT_FMT} != "ELF") || \
(${MACHINE_ARCH} == "m68k") || \
(${MACHINE_ARCH} == "ns32k") || \
(${MACHINE_ARCH} == "sparc") || \
(${MACHINE_ARCH} == "sparc" && ${OBJECT_FMT} != "ELF") || \
(${MACHINE_ARCH} == "vax")
SUBDIR+= ld
.elif (${MACHINE_ARCH} != "arm32")
SUBDIR+= ld.new
.endif
.if (${MACHINE_ARCH} == "alpha") || \