Bruce says that ${.CURDIR}/csu/${MACHINE} will prevent finding a

stale obj directory and we wouldn't want to do that! I trust he knows
what he's talking about. 8-)

Also avoid building libm at all until the NetBSD asm code is imported.
I wrongly commented this out last time. Oops.
This commit is contained in:
John Birrell 1998-01-10 09:09:24 +00:00
parent a424913c23
commit 6a7a98c954
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=32386

View File

@ -4,10 +4,11 @@
SUBDIR=csu/tahoe.pcc
.elif ${MACHINE} == "vax"
SUBDIR=csu/vax.pcc
.elif exists(csu/${MACHINE})
.elif exists(${.CURDIR}/csu/${MACHINE})
SUBDIR=csu/${MACHINE}
.endif
# Don't want to build libc on alpha just yet
.if ${MACHINE} != "alpha"
SUBDIR+=libc
.endif
@ -42,11 +43,14 @@ SUBDIR+= libcrypt
SUBDIR+= libtelnet
.endif
.if defined(WANT_CSRG_LIBM) && ${MACHINE} != "alpha"
# Don't want to build libm on alpha just yet
.if ${MACHINE} != "alpha"
.if defined(WANT_CSRG_LIBM)
SUBDIR+= libm
.else
SUBDIR+= msun
.endif
.endif
SUBDIR+= compat