1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-20 11:11:24 +00:00
freebsd/usr.bin/localedef/Makefile
Warner Losh a35f04fba2 Adopt SRCTOP in usr.bin
Prefer ${SRCTOP}/foo over ${.CURDIR}/../../foo and ${SRCTOP}/usr.bin/foo
over ${.CURDIR}/../foo for paths in Makefiles.

Differential Revision:	https://reviews.freebsd.org/D9932
Sponsored by:		Netflix
Silence on:		arch@ (twice)
2017-03-12 18:58:44 +00:00

27 lines
368 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}
CFLAGS+= -I${SRCTOP}/lib/libc/locale
CFLAGS+= -I${SRCTOP}/lib/libc/stdtime
.include <bsd.prog.mk>