make copy-to-libkern work properly on the alpha. (deal with no quad support.)

This commit is contained in:
cgd 1995-02-13 21:57:24 +00:00
parent e133097a8e
commit ac66c90d8d

View File

@ -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)