opnsense-src/tools/regression/lib/libc/locale/Makefile
Ed Schouten 50c77c6e8b Add <uchar.h>.
The <uchar.h> header, part of C11, adds a small number of utility
functions for 16/32-bit "universal" characters, which may or may not be
UTF-16/32. As our wchar_t is already ISO 10646, simply add light-weight
wrappers around wcrtomb() and mbrtowc().

While there, also add (non-yet-standard) _l functions, similar to the
ones we already have for the other locale-dependent functions.

Reviewed by:	theraven
2013-05-21 19:59:37 +00:00

27 lines
413 B
Makefile

# $FreeBSD$
TESTS= test-mbrtowc \
test-wcrtomb \
test-mbsnrtowcs \
test-mbsrtowcs \
test-wcsnrtombs \
test-wcsrtombs \
test-btowc \
test-mbrlen \
test-mbtowc \
test-wctomb \
test-mbstowcs \
test-wcstombs \
test-mblen \
test-iswctype \
test-towctrans \
test-c16rtomb \
test-mbrtoc16
.PHONY: tests
tests: ${TESTS}
for p in ${TESTS}; do ${.OBJDIR}/$$p; done
.PHONY: clean
clean:
-rm -f ${TESTS}