Add strnlen.c to SRCS (which will automatically use the .S version if it

exists).
This commit is contained in:
matt 2013-01-23 22:34:37 +00:00
parent 959d9b34bf
commit 080a1c2724
2 changed files with 4 additions and 4 deletions

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile.libkern,v 1.18 2012/08/30 12:16:49 drochner Exp $
# $NetBSD: Makefile.libkern,v 1.19 2013/01/23 22:34:37 matt Exp $
#
# Variable definitions for libkern.
@ -84,7 +84,7 @@ SRCS+= random.c
SRCS+= rngtest.c
SRCS+= memchr.c
SRCS+= strcat.c strcmp.c strcpy.c strlen.c
SRCS+= strcat.c strcmp.c strcpy.c strlen.c strnlen.c
SRCS+= strncmp.c strncpy.c
SRCS+= strcasecmp.c strncasecmp.c

View File

@ -1,9 +1,9 @@
# $NetBSD: Makefile.inc,v 1.13 2013/01/23 20:38:27 macallan Exp $
# $NetBSD: Makefile.inc,v 1.14 2013/01/23 22:34:37 matt Exp $
SRCS+= byte_swap_2.S byte_swap_4.S
SRCS+= ffs.S
SRCS+= divsi3.S udivsi3.S divide.S clzsi2.S modsi3.S umodsi3.S
SRCS+= memcmp.S memcpy.S memset.S memmove.S strcmp.S strncmp.S strnlen.S
SRCS+= memcmp.S memcpy.S memset.S memmove.S strcmp.S strncmp.S
.if ${MACHINE_ARCH} == "earm" || ${MACHINE_ARCH} == "earmeb"
SRCS+= __aeabi_ldivmod.S __aeabi_uldivmod.S __aeabi_lcmp.c __aeabi_ulcmp.c