blob: 0bd65061d40f22c5eed95a5f954eb9b102f12b35 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
# $OpenBSD: Makefile.inc,v 1.11 2005/07/20 19:39:39 deraadt Exp $
# $NetBSD: Makefile.inc,v 1.6 1994/10/26 06:39:03 cgd Exp $
CFLAGS += -D_KERNEL
SRCS+= __main.c __eabi.c \
imax.c imin.c lmax.c lmin.c max.c min.c ulmax.c ulmin.c \
memchr.c memcmp.c memset.c \
bcmp.c ffs.c strcmp.c strlcat.c strlcpy.c \
strlen.c strncmp.c \
strncpy.c scanc.c skpc.c locc.c \
memcpy.c random.c strncasecmp.c moddi3.c
OBJS+= bzero.o
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
bzero.po: ${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
|