From 2bb704b6f7607d68ed237ae480089049a41dd3f1 Mon Sep 17 00:00:00 2001 From: jb Date: Sat, 10 Jan 1998 09:09:24 +0000 Subject: 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. --- lib/Makefile | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'lib/Makefile') diff --git a/lib/Makefile b/lib/Makefile index 0900687..1b9a67a 100644 --- a/lib/Makefile +++ b/lib/Makefile @@ -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 -- cgit v1.1