1# Copyright 2016 The Fuchsia Authors 2# Copyright (c) 2008-2015 Travis Geiselbrecht 3# 4# Use of this source code is governed by a MIT-style 5# license that can be found in the LICENSE file or at 6# https://opensource.org/licenses/MIT 7 8LOCAL_DIR := $(GET_LOCAL_DIR) 9 10C_STRING_OPS := \ 11 memchr \ 12 memcmp \ 13 memcpy \ 14 memmove \ 15 memset \ 16 strcat \ 17 strchr \ 18 strcmp \ 19 strcoll \ 20 strcpy \ 21 strlcat \ 22 strlcpy \ 23 strlen \ 24 strncat \ 25 strncpy \ 26 strncmp \ 27 strnicmp \ 28 strnlen \ 29 strpbrk \ 30 strrchr \ 31 strspn \ 32 strstr \ 33 strtok \ 34 strxfrm 35 36LIBC_STRING_C_DIR := $(LOCAL_DIR) 37 38# include the arch specific string routines 39# 40# the makefile may filter out implemented versions from the C_STRING_OPS variable 41include $(LOCAL_DIR)/arch/$(ARCH)/rules.mk 42 43MODULE_SRCS += \ 44 $(addprefix $(LIBC_STRING_C_DIR)/,$(addsuffix .c,$(C_STRING_OPS))) 45 46