aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorJohn Birrell <jb@FreeBSD.org>1998-01-10 09:09:24 +0000
committerJohn Birrell <jb@FreeBSD.org>1998-01-10 09:09:24 +0000
commit6a7a98c9547fe5dd33efbd39d523ec094355d6db (patch)
tree57a7132f4700e3b691f380a31f91a52a4007ca4f /lib
parenta424913c23d4995b74a3a9ebd0b7a4d144b6e554 (diff)
Notes
Diffstat (limited to 'lib')
-rw-r--r--lib/Makefile8
1 files changed, 6 insertions, 2 deletions
diff --git a/lib/Makefile b/lib/Makefile
index 0900687e2849..1b9a67a0572b 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