fix build of bzero.

XXX is it better to remove it as i386?
This commit is contained in:
yamt 2005-12-27 08:49:35 +00:00
parent 1722e429b8
commit 43308ea339

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile.inc,v 1.5 2005/12/11 12:24:42 christos Exp $
# $NetBSD: Makefile.inc,v 1.6 2005/12/27 08:49:35 yamt Exp $
# $OpenBSD: Makefile.inc,v 1.14 2000/12/29 19:04:41 mickey Exp $
@ -6,17 +6,9 @@ SRCS+= __main.c imax.c imin.c lmax.c lmin.c max.c min.c ulmax.c ulmin.c \
random.c ashrdi3.c divdi3.c strncpy.c strncmp.c strcmp.c memchr.c \
memcmp.c memset.c strlen.c strcpy.c \
strcat.c skpc.c strncasecmp.c strtoul.c \
bcmp.c scanc.c ffs.c strlcpy.c bswap64.c
bcmp.c scanc.c ffs.c strlcpy.c bswap64.c bzero.c
SRCS+= __assert.c
SRCS+= milli.S
OBJS+= bzero.o
SRCS+= bcopy.S spcopy.S memcpy.S memmove.S
CLEANFILES+= bzero.o
bzero.o: ${KERNDIR}/memset.c
@echo "${COMPILE.c} -DBZERO ${KERNDIR}/memset.c -o ${.TARGET}"
@${COMPILE.c} -DBZERO ${KERNDIR}/memset.c -o ${.TARGET}.o
@${LD} -x -r ${.TARGET}.o -o ${.TARGET}
@rm -f ${.TARGET}.o