64a7d4fa9a
2. do not use _CTYPE_NUM_CHARS macro to read data from LC_CTYPE(old BSDCTYPE style) database. because 1<<CHAR_BIT is MD, so i added MI macro _CTYPE_CACHE_SIZE(1<<8). 3. remove _NB_CACHED_RUNE macro, use _CTYPE_CACHE_SIZE instead.
17 lines
315 B
Makefile
17 lines
315 B
Makefile
# $NetBSD: Makefile,v 1.9 2010/05/22 06:38:15 tnozaki Exp $
|
|
|
|
.include <bsd.own.mk>
|
|
|
|
PROG= chrtbl
|
|
MAN= chrtbl.8
|
|
|
|
SRCS= chrtbl.c ctypeio.c
|
|
|
|
CPPFLAGS+= -I${NETBSDSRCDIR}/lib/libc/locale
|
|
|
|
.include <bsd.prog.mk>
|
|
|
|
.if (defined(HAVE_GCC) && ${HAVE_GCC} == 4) || defined(HAVE_PCC)
|
|
COPTS.chrtbl.c+= -Wno-pointer-sign
|
|
.endif
|