Home | History | Annotate | Line # | Download | only in locale
Makefile.inc revision 1.52.6.2
      1  1.52.6.2  christos #	from: @(#)Makefile.inc	5.1 (Berkeley) 2/18/91
      2  1.52.6.2  christos #	$NetBSD: Makefile.inc,v 1.52.6.2 2009/01/04 17:02:19 christos Exp $
      3  1.52.6.2  christos 
      4  1.52.6.2  christos # locale sources
      5  1.52.6.2  christos .PATH: ${ARCHDIR}/locale ${.CURDIR}/locale
      6  1.52.6.2  christos 
      7  1.52.6.2  christos SRCS+=	_def_messages.c _def_monetary.c _def_numeric.c _def_time.c \
      8  1.52.6.2  christos 	setlocale.c setlocale1.c setlocale32.c __mb_cur_max.c \
      9  1.52.6.2  christos 	current_locale.c global_locale.c fix_grouping.c \
     10  1.52.6.2  christos 	localeconv.c nl_langinfo.c \
     11  1.52.6.2  christos 	generic_lc_all.c dummy_lc_collate.c \
     12  1.52.6.2  christos 	wcstol.c wcstoll.c wcstoimax.c wcstoul.c wcstoull.c wcstoumax.c \
     13  1.52.6.2  christos 	wcstod.c wcstof.c wcstold.c wcscoll.c wcsxfrm.c wcsftime.c
     14  1.52.6.2  christos 
     15  1.52.6.2  christos .if ${CITRUS} == "no"
     16  1.52.6.2  christos RUNE=		no
     17  1.52.6.2  christos .endif
     18  1.52.6.2  christos 
     19  1.52.6.2  christos RUNE?=		yes
     20  1.52.6.2  christos 
     21  1.52.6.2  christos .if ${RUNE} == "no"
     22  1.52.6.2  christos # singlebyte locale - dummy
     23  1.52.6.2  christos CPPFLAGS+=	-UWITH_RUNE
     24  1.52.6.2  christos SRCS+=	aliasname.c bsdctype.c localeio.c \
     25  1.52.6.2  christos 	multibyte_sb.c iswctype_sb.c \
     26  1.52.6.2  christos 	localeio_lc_ctype.c localeio_lc_monetary.c \
     27  1.52.6.2  christos 	localeio_lc_numeric.c localeio_lc_time.c
     28  1.52.6.2  christos .else
     29  1.52.6.2  christos # citrus multibyte locale support
     30  1.52.6.2  christos # we have quirk for libc.a - see the last part of lib/libc/Makefile
     31  1.52.6.2  christos CPPFLAGS+=	-DWITH_RUNE -I${.CURDIR}
     32  1.52.6.2  christos SRCS+=	_wctrans.c _wctype.c rune.c runeglue.c runetable.c \
     33  1.52.6.2  christos 	multibyte_c90.c multibyte_amd1.c iswctype_mb.c
     34  1.52.6.2  christos CPPFLAGS.rune.c+=		-I${LIBCDIR}/citrus
     35  1.52.6.2  christos CPPFLAGS.runeglue.c+=		-I${LIBCDIR}/citrus
     36  1.52.6.2  christos CPPFLAGS.runetable.c+=		-I${LIBCDIR}/citrus
     37  1.52.6.2  christos CPPFLAGS.multibyte_c90.c+=	-I${LIBCDIR}/citrus
     38  1.52.6.2  christos CPPFLAGS.multibyte_amd1.c+=	-I${LIBCDIR}/citrus
     39  1.52.6.2  christos .endif
     40  1.52.6.2  christos 
     41  1.52.6.2  christos MAN+=	setlocale.3 nl_langinfo.3
     42  1.52.6.2  christos 
     43  1.52.6.2  christos MAN+=	mbtowc.3 mbstowcs.3 wctomb.3 wcstombs.3 mblen.3 \
     44  1.52.6.2  christos 
     45  1.52.6.2  christos MAN+=	btowc.3 mbrtowc.3 mbsrtowcs.3 \
     46  1.52.6.2  christos 	wctob.3 wcrtomb.3 wcsrtombs.3 \
     47  1.52.6.2  christos 	mbrlen.3 mbsinit.3
     48  1.52.6.2  christos 
     49  1.52.6.2  christos MAN+=	iswalnum.3 wctype.3 iswctype.3 \
     50  1.52.6.2  christos 	towlower.3 wctrans.3 towctrans.3 \
     51  1.52.6.2  christos 	wcwidth.3
     52  1.52.6.2  christos 
     53  1.52.6.2  christos MAN+=	wcstol.3 wcstod.3 \
     54  1.52.6.2  christos 	wcscoll.3 wcsxfrm.3 \
     55  1.52.6.2  christos 	wcsftime.3
     56  1.52.6.2  christos 
     57  1.52.6.2  christos MLINKS+=setlocale.3 localeconv.3
     58  1.52.6.2  christos 
     59  1.52.6.2  christos MLINKS+=iswalnum.3 iswalpha.3 iswalnum.3 iswblank.3 \
     60  1.52.6.2  christos 	iswalnum.3 iswcntrl.3 iswalnum.3 iswdigit.3 \
     61  1.52.6.2  christos 	iswalnum.3 iswgraph.3 iswalnum.3 iswlower.3 \
     62  1.52.6.2  christos 	iswalnum.3 iswprint.3 iswalnum.3 iswpunct.3 \
     63  1.52.6.2  christos 	iswalnum.3 iswspace.3 iswalnum.3 iswupper.3 \
     64  1.52.6.2  christos 	iswalnum.3 iswxdigit.3
     65  1.52.6.2  christos 
     66  1.52.6.2  christos MLINKS+=towlower.3 towupper.3
     67  1.52.6.2  christos 
     68  1.52.6.2  christos MLINKS+=wcstod.3 wcstof.3 wcstod.3 wcstold.3
     69  1.52.6.2  christos MLINKS+=wcstol.3 wcstoll.3 wcstol.3 wcstoimax.3 \
     70  1.52.6.2  christos 	wcstol.3 wcstoul.3 wcstol.3 wcstoull.3 wcstol.3 wcstoumax.3
     71