Expand PMF_FN_* macros.
[netbsd-mini2440.git] / usr.bin / mklocale / Makefile
blob07e8e8994dd827f2fef864a8602d5701b805861e
1 # $NetBSD: Makefile,v 1.15 2009/01/05 06:11:43 tnozaki Exp $
3 WARNS?= 2 # XXX -Wextra -Wsign-compare issues
5 .ifndef HOSTPROG
6 .include <bsd.own.mk>
7 .endif
9 .PATH: ${NETBSDSRCDIR}/lib/libc/locale ${NETBSDSRCDIR}/lib/libc/citrus ${NETBSDSRCDIR}/lib/libc/stdio
11 PROG= mklocale
12 SRCS= yacc.y lex.l mklocaledb.c fix_grouping.c \
13 citrus_bcs_strtoul.c citrus_db_factory.c citrus_db_hash.c
14 CPPFLAGS+= -I. -I${.CURDIR} \
15 -I${NETBSDSRCDIR}/lib/libc/include \
16 -I${NETBSDSRCDIR}/lib/libc/locale \
17 -I${NETBSDSRCDIR}/lib/libc/citrus \
18 -DNBCHAR_MAX=127 -DHOSTPROG
19 CPPFLAGS.citrus_bcs_strtoul.c+= \
20 -I${NETBSDSRCDIR}/common/lib/libc/stdlib
21 YHEADER= 1
23 .ifndef HOSTPROG
24 .include <bsd.prog.mk>
25 .endif