# Makefile for uClibc
#
# Copyright (C) 2000-2006 Erik Andersen <andersen@uclibc.org>
#
# Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
#

klib-y :=

# multi source ctype.c
klib-y += \
	isalnum.c isalpha.c isascii.c iscntrl.c isdigit.c \
	isgraph.c islower.c isprint.c ispunct.c isspace.c \
	isupper.c isxdigit.c toascii.c tolower.c toupper.c \
	isblank.c

klib-$(UCLIBC_HAS_CTYPE_TABLES) += \
	__C_ctype_b.c __C_ctype_tolower.c __C_ctype_toupper.c \
	__ctype_b_loc.c __ctype_tolower_loc.c __ctype_toupper_loc.c \
	__ctype_assert.c isctype.c

klib-$(UCLIBC_HAS_XLOCALE) += $(patsubst %.c,%_l.c,$(klib-y))
