2015-08-07 23:53:31 +00:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PROG= localedef
|
|
|
|
SRCS= charmap.c \
|
|
|
|
collate.c \
|
|
|
|
ctype.c \
|
|
|
|
localedef.c \
|
|
|
|
messages.c \
|
|
|
|
monetary.c \
|
|
|
|
numeric.c \
|
|
|
|
parser.y \
|
|
|
|
scanner.c \
|
|
|
|
time.c \
|
|
|
|
wide.c
|
|
|
|
|
2020-09-11 13:28:37 +00:00
|
|
|
WARNS?= 3
|
2015-08-07 23:53:31 +00:00
|
|
|
${SRCS:M*.c}: parser.h
|
|
|
|
parser.h: parser.y
|
|
|
|
|
|
|
|
IGNORE_PRAGMA= yes
|
|
|
|
|
|
|
|
CFLAGS+= -I. -I${.CURDIR}
|
2020-07-15 12:07:59 +00:00
|
|
|
.if defined(BOOTSTRAPPING)
|
|
|
|
CFLAGS+= -I${.CURDIR}/bootstrap
|
|
|
|
.endif
|
2017-03-12 18:58:44 +00:00
|
|
|
CFLAGS+= -I${SRCTOP}/lib/libc/locale
|
|
|
|
CFLAGS+= -I${SRCTOP}/lib/libc/stdtime
|
2015-08-07 23:53:31 +00:00
|
|
|
|
|
|
|
.include <bsd.prog.mk>
|