summaryrefslogtreecommitdiff
path: root/lib/libc/locale/Makefile.inc
blob: 55cc38387c3c860d1a0891b5ccc3e3c447f7fb8e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
#	$OpenBSD: Makefile.inc,v 1.20 2015/07/03 11:15:19 semarie Exp $

# locale sources
.PATH: ${LIBCSRCDIR}/locale

# for LOCALECHARSETS
.include "${.CURDIR}/../../share/locale/ctype/Makefile.inc"

SRCS+=	btowc.c _def_messages.c _def_monetary.c _def_numeric.c _def_time.c \
	localeconv.c nl_langinfo.c setlocale.c iswctype.c __mb_cur_max.c \
	mblen.c mbrlen.c mbstowcs.c mbtowc.c multibyte_citrus.c wcscoll.c \
	wcstombs.c wctob.c wctomb.c wcstof.c wcstod.c wcstold.c wcstol.c \
	wcstoul.c wcstoll.c wcstoull.c wcstoimax.c wcstoumax.c \
	setrunelocale.c runeglue.c rune.c runetable.c ___runetype_mb.c \
	_wctrans.c wcsxfrm.c

MAN+=	nl_langinfo.3 setlocale.3 iswalnum.3 towlower.3 \
	btowc.3 mblen.3 mbrlen.3 mbrtowc.3 mbsinit.3 mbsrtowcs.3 \
	mbstowcs.3 mbtowc.3 wcrtomb.3 wcsrtombs.3 wcstod.3 wcstol.3 \
	wcstombs.3 wctob.3 wctomb.3 \
	wctype.3 iswctype.3 wctrans.3 towctrans.3 wcwidth.3
MLINKS+=setlocale.3 localeconv.3 \
	iswalnum.3 iswalpha.3 \
	iswalnum.3 iswblank.3 \
	iswalnum.3 iswcntrl.3 \
	iswalnum.3 iswdigit.3 \
	iswalnum.3 iswgraph.3 \
	iswalnum.3 iswlower.3 \
	iswalnum.3 iswprint.3 \
	iswalnum.3 iswpunct.3 \
	iswalnum.3 iswspace.3 \
	iswalnum.3 iswupper.3 \
	iswalnum.3 iswxdigit.3 \
	towlower.3 towupper.3 \
	wcstod.3 wcstof.3 \
	wcstod.3 wcstold.3 \
	wcstol.3 wcstoul.3 \
	wcstol.3 wcstoll.3 \
	wcstol.3 wcstoull.3 \
	wcstol.3 wcstoimax.3 \
	wcstol.3 wcstoumax.3 \
	mbsrtowcs.3 mbsnrtowcs.3 \
	wcsrtombs.3 wcsnrtombs.3

CFLAGS+=-I${.CURDIR} -I${LIBCSRCDIR}/citrus
CFLAGS+=-DLOCALE_CHARSETS="\"${LOCALECHARSETS}\""