From ac66c90d8d95b6b12fe12b01646e408a8a1b3af7 Mon Sep 17 00:00:00 2001 From: cgd Date: Mon, 13 Feb 1995 21:57:24 +0000 Subject: [PATCH] make copy-to-libkern work properly on the alpha. (deal with no quad support.) --- lib/libc/Makefile | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/lib/libc/Makefile b/lib/libc/Makefile index d467034d2362..6a4b13784067 100644 --- a/lib/libc/Makefile +++ b/lib/libc/Makefile @@ -1,5 +1,5 @@ # from: @(#)Makefile 5.2 (Berkeley) 3/5/91 -# $Id: Makefile,v 1.34 1995/02/10 17:45:39 cgd Exp $ +# $Id: Makefile,v 1.35 1995/02/13 21:57:24 cgd Exp $ # # All library objects contain sccsid strings by default; they may be # excluded as a space-saving measure. To produce a library that does @@ -48,17 +48,20 @@ LIBKERN= ${.CURDIR}/../../sys/lib/libkern KSRCS= bcmp.c bzero.c ffs.c strcat.c strcmp.c strcpy.c strlen.c strncmp.c \ strncpy.c htonl.c htons.c ntohl.c ntohs.c +.if (${MACHINE_ARCH} != "alpha") KSRCS+= adddi3.c anddi3.c ashldi3.c ashrdi3.c cmpdi2.c divdi3.c iordi3.c \ lshldi3.c lshrdi3.c moddi3.c muldi3.c negdi2.c notdi2.c qdivrem.c \ subdi3.c ucmpdi2.c udivdi3.c umoddi3.c xordi3.c - KINCLUDES+= quad/quad.h +.endif copy-to-libkern: copy-to-libkern-machind copy-to-libkern-machdep copy-to-libkern-machind: ${KSRCS} cp -p ${.ALLSRC} ${LIBKERN} +.if defined(KINCLUDES) && !empty(KINCLUDES) (cd ${.CURDIR} ; cp -p ${KINCLUDES} ${LIBKERN}) +.endif copy-to-libkern-machdep: ${KMSRCS} .if defined(KMSRCS) && !empty(KMSRCS)