NetBSD/usr.bin/mklocale/Makefile
lukem c1ceae17f0 Enable WARNS=4 by default for usr.bin, except for:
awk  bdes  checknr  compile_et  error  gss  hxtool  kgetcred  kinit
	klist  ldd  less  lex  locale  login  m4  man  menuc  mk_cmds
	mklocale  msgc  openssl  rpcgen  rpcinfo  sdiff  spell  ssh
	string2key  telnet  tn3270  verify_krb5_conf  xlint
2009-04-14 22:15:16 +00:00

26 lines
694 B
Makefile

# $NetBSD: Makefile,v 1.16 2009/04/14 22:15:24 lukem Exp $
WARNS?= 2 # XXX -Wextra -Wsign-compare issues
.ifndef HOSTPROG
.include <bsd.own.mk>
.endif
.PATH: ${NETBSDSRCDIR}/lib/libc/locale ${NETBSDSRCDIR}/lib/libc/citrus ${NETBSDSRCDIR}/lib/libc/stdio
PROG= mklocale
SRCS= yacc.y lex.l mklocaledb.c fix_grouping.c \
citrus_bcs_strtoul.c citrus_db_factory.c citrus_db_hash.c
CPPFLAGS+= -I. -I${.CURDIR} \
-I${NETBSDSRCDIR}/lib/libc/include \
-I${NETBSDSRCDIR}/lib/libc/locale \
-I${NETBSDSRCDIR}/lib/libc/citrus \
-DNBCHAR_MAX=127 -DHOSTPROG
CPPFLAGS.citrus_bcs_strtoul.c+= \
-I${NETBSDSRCDIR}/common/lib/libc/stdlib
YHEADER= 1
.ifndef HOSTPROG
.include <bsd.prog.mk>
.endif