First version
[3rdparty/ote_partner/tlk.git] / lib / libc / string / rules.mk
1 LOCAL_DIR := $(GET_LOCAL_DIR)
2
3 C_STRING_OPS := \
4         bcopy \
5         bzero \
6         memchr \
7         memcmp \
8         memcpy \
9         memmove \
10         memset \
11         strcat \
12         strchr \
13         strcmp \
14         strcoll \
15         strcpy \
16         strdup \
17         strerror \
18         strlcat \
19         strlcpy \
20         strlen \
21         strncat \
22         strncpy \
23         strncmp \
24         strnicmp \
25         strnlen \
26         strpbrk \
27         strrchr \
28         strspn \
29         strstr \
30         strtok \
31         strxfrm
32
33 LIBC_STRING_C_DIR := $(LOCAL_DIR)
34
35 # include the arch specific string routines
36 #
37 # the makefile may filter out implemented versions from the C_STRING_OPS variable
38 include $(LOCAL_DIR)/arch/$(ARCH)/rules.mk
39
40 MODULE_SRCS += \
41         $(addprefix $(LIBC_STRING_C_DIR)/,$(addsuffix .c,$(C_STRING_OPS)))
42