1993-08-01 09:37:30 +04:00
|
|
|
# from: @(#)Makefile.inc 5.1 (Berkeley) 2/18/91
|
2000-12-26 02:30:58 +03:00
|
|
|
# $NetBSD: Makefile.inc,v 1.30 2000/12/25 23:30:58 itojun Exp $
|
1993-03-21 12:45:37 +03:00
|
|
|
|
|
|
|
# locale sources
|
1999-02-24 18:05:20 +03:00
|
|
|
.PATH: ${ARCHDIR}/locale ${.CURDIR}/locale
|
1993-03-21 12:45:37 +03:00
|
|
|
|
1994-09-29 07:57:04 +03:00
|
|
|
SRCS+= _def_messages.c _def_monetary.c _def_numeric.c _def_time.c \
|
2000-12-26 02:30:58 +03:00
|
|
|
ctypeio.c localeconv.c nl_langinfo.c \
|
2000-12-24 02:14:33 +03:00
|
|
|
setlocale.c setlocale_sb.c
|
1997-07-12 21:52:31 +04:00
|
|
|
MAN+= nl_langinfo.3 setlocale.3
|
1997-07-15 13:22:31 +04:00
|
|
|
|
2000-12-22 05:03:32 +03:00
|
|
|
MLINKS+=setlocale.3 localeconv.3
|
|
|
|
|
2000-12-26 02:30:58 +03:00
|
|
|
RUNE?= no
|
|
|
|
|
|
|
|
.if ${RUNE} == "no"
|
|
|
|
# singlebyte locale - dummy
|
|
|
|
SRCS+= multibyte_sb.c iswctype_sb.c
|
|
|
|
CPPFLAGS+= -UWITH_RUNE
|
|
|
|
.else
|
2000-12-21 14:29:47 +03:00
|
|
|
# citrus multibyte locale support
|
2000-12-26 02:30:58 +03:00
|
|
|
SRCS+= ___runetype_mb.c ___tolower_mb.c ___toupper_mb.c iswctype.c \
|
2000-12-21 15:13:28 +03:00
|
|
|
multibyte.c rune.c runeglue.c runenone.c runetable.c setrunelocale.c
|
2000-12-26 02:30:58 +03:00
|
|
|
CPPFLAGS+= -DWITH_RUNE
|
2000-12-22 05:03:32 +03:00
|
|
|
#MODULE_SHLIB_MAJOR!= . ${.CURDIR}/../localemod/shlib_version; echo $$major
|
|
|
|
#CPPFLAGS+= -DDLRUNE -DRUNEMOD_MAJOR=${MODULE_SHLIB_MAJOR} \
|
|
|
|
# -D_PATH_LOCALEMODULE=\"/usr/lib/runemodule\"
|
2000-12-21 15:17:35 +03:00
|
|
|
# to be dynamically loaded
|
2000-12-21 14:29:47 +03:00
|
|
|
#SRCS+= big5.c euc.c euctw.c iso2022.c mskanji.c utf2.c utf8.c
|
2000-12-26 02:30:58 +03:00
|
|
|
.endif
|
2000-12-24 02:14:33 +03:00
|
|
|
MAN+= iswalnum.3 towlower.3
|
2000-12-21 14:29:47 +03:00
|
|
|
|
2000-12-22 05:03:32 +03:00
|
|
|
MLINKS+=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
|
2000-12-22 05:18:58 +03:00
|
|
|
MLINKS+=towlower.3 towupper.3
|