summaryrefslogtreecommitdiff
path: root/gnu/usr.bin/gettext/libgrep/Makefile
blob: 33f271beede91b4b06bd58718f4ea4e6f41fd716 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
#	$NetBSD: Makefile,v 1.7 2011/05/26 12:56:28 joerg Exp $

LIBISPRIVATE=	yes

.include <bsd.own.mk>

LIB=	grep
SRCS= \
dfa.c \
hard-locale.c \
kwset.c \
m-common.c \
m-fgrep.c \
m-regex.c \
memchr.c \
regex.c \
strdup.c 

.include "${.CURDIR}/../Makefile.inc"

.PATH:	${DIST}/gettext/gettext-tools/libgrep 
CPPFLAGS+= -I${DIST}/gettext/gettext-tools/libgrep

COPTS.regex.c = -Wno-stack-protector

WARNS?=		0	# pointer sign issues

CWARNFLAGS.clang+=	-Wno-unused-value

.include <bsd.lib.mk>