1 # from: @(#)Makefile.inc 5.1 (Berkeley) 2/18/91
2 # $NetBSD: Makefile.inc,v 1.52.6.1 2009/01/04 17:02:19 christos Exp $
5 .PATH: ${ARCHDIR}/locale ${.CURDIR}/locale
7 SRCS+= _def_messages.c _def_monetary.c _def_numeric.c _def_time.c \
8 setlocale.c setlocale1.c setlocale32.c __mb_cur_max.c \
9 current_locale.c global_locale.c fix_grouping.c \
10 localeconv.c nl_langinfo.c \
11 generic_lc_all.c dummy_lc_collate.c \
12 wcstol.c wcstoll.c wcstoimax.c wcstoul.c wcstoull.c wcstoumax.c \
13 wcstod.c wcstof.c wcstold.c wcscoll.c wcsxfrm.c wcsftime.c
22 # singlebyte locale - dummy
23 CPPFLAGS+= -UWITH_RUNE
24 SRCS+= aliasname.c bsdctype.c localeio.c \
25 multibyte_sb.c iswctype_sb.c \
26 localeio_lc_ctype.c localeio_lc_monetary.c \
27 localeio_lc_numeric.c localeio_lc_time.c
29 # citrus multibyte locale support
30 # we have quirk for libc.a - see the last part of lib/libc/Makefile
31 CPPFLAGS+= -DWITH_RUNE -I${.CURDIR}
32 SRCS+= _wctrans.c _wctype.c rune.c runeglue.c runetable.c \
33 multibyte_c90.c multibyte_amd1.c iswctype_mb.c
34 CPPFLAGS.rune.c+= -I${LIBCDIR}/citrus
35 CPPFLAGS.runeglue.c+= -I${LIBCDIR}/citrus
36 CPPFLAGS.runetable.c+= -I${LIBCDIR}/citrus
37 CPPFLAGS.multibyte_c90.c+= -I${LIBCDIR}/citrus
38 CPPFLAGS.multibyte_amd1.c+= -I${LIBCDIR}/citrus
41 MAN+= setlocale.3 nl_langinfo.3
43 MAN+= mbtowc.3 mbstowcs.3 wctomb.3 wcstombs.3 mblen.3 \
45 MAN+= btowc.3 mbrtowc.3 mbsrtowcs.3 \
46 wctob.3 wcrtomb.3 wcsrtombs.3 \
49 MAN+= iswalnum.3 wctype.3 iswctype.3 \
50 towlower.3 wctrans.3 towctrans.3 \
53 MAN+= wcstol.3 wcstod.3 \
57 MLINKS+=setlocale.3 localeconv.3
59 MLINKS+=iswalnum.3 iswalpha.3 iswalnum.3 iswblank.3 \
60 iswalnum.3 iswcntrl.3 iswalnum.3 iswdigit.3 \
61 iswalnum.3 iswgraph.3 iswalnum.3 iswlower.3 \
62 iswalnum.3 iswprint.3 iswalnum.3 iswpunct.3 \
63 iswalnum.3 iswspace.3 iswalnum.3 iswupper.3 \
64 iswalnum.3 iswxdigit.3
66 MLINKS+=towlower.3 towupper.3
68 MLINKS+=wcstod.3 wcstof.3 wcstod.3 wcstold.3
69 MLINKS+=wcstol.3 wcstoll.3 wcstol.3 wcstoimax.3 \
70 wcstol.3 wcstoul.3 wcstol.3 wcstoull.3 wcstol.3 wcstoumax.3