NetBSD/usr.sbin/chrtbl/Makefile
tnozaki 64a7d4fa9a 1. hide _CTYPE_PRIVATE section in ctype.h, move them to private header ctype_local.h.
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.
2010-05-22 06:38:15 +00:00

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