1 1.2 mycroft # from: @(#)Makefile.inc 5.1 (Berkeley) 2/18/91 2 1.69 riastrad # $NetBSD: Makefile.inc,v 1.69 2025/09/15 00:11:54 riastradh Exp $ 3 1.1 cgd 4 1.1 cgd # locale sources 5 1.16 drochner .PATH: ${ARCHDIR}/locale ${.CURDIR}/locale 6 1.1 cgd 7 1.64 joerg SRCS+= setlocale.c __mb_cur_max.c \ 8 1.63 joerg duplocale.c global_locale.c fix_grouping.c \ 9 1.62 joerg freelocale.c localeconv.c newlocale.c nl_langinfo.c \ 10 1.53 tnozaki generic_lc_all.c dummy_lc_collate.c \ 11 1.45 tshiozak wcstol.c wcstoll.c wcstoimax.c wcstoul.c wcstoull.c wcstoumax.c \ 12 1.53 tnozaki wcstod.c wcstof.c wcstold.c wcscoll.c wcsxfrm.c wcsftime.c 13 1.25 itojun 14 1.66 riastrad SRCS+= c16rtomb.c 15 1.66 riastrad SRCS+= c32rtomb.c 16 1.67 riastrad SRCS+= c8rtomb.c 17 1.66 riastrad SRCS+= mbrtoc16.c 18 1.66 riastrad SRCS+= mbrtoc32.c 19 1.67 riastrad SRCS+= mbrtoc8.c 20 1.66 riastrad CPPFLAGS.c32rtomb.c+= -I${LIBCDIR}/citrus 21 1.66 riastrad CPPFLAGS.mbrtoc32.c+= -I${LIBCDIR}/citrus 22 1.66 riastrad 23 1.22 itojun # citrus multibyte locale support 24 1.34 itojun # we have quirk for libc.a - see the last part of lib/libc/Makefile 25 1.53 tnozaki CPPFLAGS+= -DWITH_RUNE -I${.CURDIR} 26 1.58 tnozaki SRCS+= _wctrans.c _wctype.c rune.c runetable.c \ 27 1.53 tnozaki multibyte_c90.c multibyte_amd1.c iswctype_mb.c 28 1.53 tnozaki CPPFLAGS.rune.c+= -I${LIBCDIR}/citrus 29 1.69 riastrad CPPFLAGS.rune.c+= -I${LIBCDIR}/gen # ctype_guard.h 30 1.53 tnozaki CPPFLAGS.runetable.c+= -I${LIBCDIR}/citrus 31 1.53 tnozaki CPPFLAGS.multibyte_c90.c+= -I${LIBCDIR}/citrus 32 1.53 tnozaki CPPFLAGS.multibyte_amd1.c+= -I${LIBCDIR}/citrus 33 1.39 tshiozak 34 1.65 christos MAN+= duplocale.3 freelocale.3 newlocale.3 setlocale.3 nl_langinfo.3 35 1.53 tnozaki 36 1.53 tnozaki MAN+= mbtowc.3 mbstowcs.3 wctomb.3 wcstombs.3 mblen.3 \ 37 1.53 tnozaki 38 1.53 tnozaki MAN+= btowc.3 mbrtowc.3 mbsrtowcs.3 \ 39 1.53 tnozaki wctob.3 wcrtomb.3 wcsrtombs.3 \ 40 1.53 tnozaki mbrlen.3 mbsinit.3 41 1.53 tnozaki 42 1.66 riastrad MAN+= c16rtomb.3 43 1.66 riastrad MAN+= c32rtomb.3 44 1.67 riastrad MAN+= c8rtomb.3 45 1.66 riastrad MAN+= mbrtoc16.3 46 1.66 riastrad MAN+= mbrtoc32.3 47 1.67 riastrad MAN+= mbrtoc8.3 48 1.66 riastrad 49 1.53 tnozaki MAN+= iswalnum.3 wctype.3 iswctype.3 \ 50 1.53 tnozaki towlower.3 wctrans.3 towctrans.3 \ 51 1.53 tnozaki wcwidth.3 52 1.53 tnozaki 53 1.53 tnozaki MAN+= wcstol.3 wcstod.3 \ 54 1.53 tnozaki wcscoll.3 wcsxfrm.3 \ 55 1.53 tnozaki wcsftime.3 56 1.53 tnozaki 57 1.53 tnozaki MLINKS+=setlocale.3 localeconv.3 58 1.15 kleink 59 1.25 itojun MLINKS+=iswalnum.3 iswalpha.3 iswalnum.3 iswblank.3 \ 60 1.25 itojun iswalnum.3 iswcntrl.3 iswalnum.3 iswdigit.3 \ 61 1.25 itojun iswalnum.3 iswgraph.3 iswalnum.3 iswlower.3 \ 62 1.25 itojun iswalnum.3 iswprint.3 iswalnum.3 iswpunct.3 \ 63 1.25 itojun iswalnum.3 iswspace.3 iswalnum.3 iswupper.3 \ 64 1.25 itojun iswalnum.3 iswxdigit.3 65 1.53 tnozaki 66 1.26 itojun MLINKS+=towlower.3 towupper.3 67 1.53 tnozaki 68 1.48 tnozaki MLINKS+=wcstod.3 wcstof.3 wcstod.3 wcstold.3 69 1.49 tnozaki MLINKS+=wcstol.3 wcstoll.3 wcstol.3 wcstoimax.3 \ 70 1.49 tnozaki wcstol.3 wcstoul.3 wcstol.3 wcstoull.3 wcstol.3 wcstoumax.3 71 1.59 christos 72 1.68 riastrad MLINKS+=mbsrtowcs.3 mbsnrtowcs.3 73 1.68 riastrad MLINKS+=wcsrtombs.3 wcsnrtombs.3 74 1.68 riastrad 75 1.59 christos COPTS.wcsftime.c = -Wno-format-nonliteral 76