summaryrefslogtreecommitdiff
path: root/external/gpl2/gettext/lib/libgrep/Makefile
blob: 1a25ea0c34e678fa9c4f60ae93f0c8c5265db7ad (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.1 2016/01/12 22:58:03 christos 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-tools/libgrep 
CPPFLAGS+= -I${DIST}/gettext-tools/libgrep

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

WARNS?=		0	# pointer sign issues

CWARNFLAGS.clang+=	-Wno-unused-value

.include <bsd.lib.mk>