summaryrefslogtreecommitdiff
path: root/sys/lib/libkern/arch/arm/Makefile.inc
blob: 0494703a3251e6f3719267364248f5f21f77b212 (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
#	$NetBSD: Makefile.inc,v 1.3 2001/11/20 00:29:19 chris Exp $

SRCS+=	__main.c byte_swap_2.S byte_swap_4.S \
	bcmp.c ffs.c imax.c imin.c lmax.c lmin.c max.c min.c random.c scanc.c \
	skpc.c strcmp.c strlen.c strncmp.c strncasecmp.c \
	strlcat.c strlcpy.c \
	strncpy.c ulmax.c ulmin.c 


SRCS+=	bcopy.S divsi3.S
SRCS+=	memchr.c memcmp.c memcpy.S memset.S

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