ecebb3cc1d
This would allow interested parties to do experimental runs with an environment set appropriately to raise all the warnings throughout the build; e.g. env WARNS=6 NO_WERROR=yes buildworld. Not currently touching the numerous instances in ^/tools. MFC after: 1 week
30 lines
435 B
Makefile
30 lines
435 B
Makefile
# $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
|
|
|
|
WARNS?= 3
|
|
${SRCS:M*.c}: parser.h
|
|
parser.h: parser.y
|
|
|
|
IGNORE_PRAGMA= yes
|
|
|
|
CFLAGS+= -I. -I${.CURDIR}
|
|
.if defined(BOOTSTRAPPING)
|
|
CFLAGS+= -I${.CURDIR}/bootstrap
|
|
.endif
|
|
CFLAGS+= -I${SRCTOP}/lib/libc/locale
|
|
CFLAGS+= -I${SRCTOP}/lib/libc/stdtime
|
|
|
|
.include <bsd.prog.mk>
|