# 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 _wctype.o
wchar := \
	iswalnum.o iswalpha.o iswcntrl.o iswdigit.o iswgraph.o \
	iswlower.o iswprint.o iswpunct.o iswspace.o iswupper.o \
	iswxdigit.o iswblank.o wctrans.o towctrans.o \
	wctype.o iswctype.o towlower.o towupper.o

klib-$(UCLIBC_HAS_WCHAR) += $(wchar)

ifeq ($(UCLIBC_HAS_XLOCALE),y)
klib-$(UCLIBC_HAS_WCHAR) += $(patsubst %.o,%_l.o,$(wchar))
endif
