1# $NetBSD: Makefile,v 1.1 2016/01/12 22:58:03 christos Exp $ 2 3LIBISPRIVATE= yes 4 5.include <bsd.own.mk> 6 7LIB= grep 8SRCS= \ 9dfa.c \ 10hard-locale.c \ 11kwset.c \ 12m-common.c \ 13m-fgrep.c \ 14m-regex.c \ 15memchr.c \ 16regex.c \ 17strdup.c 18 19.include "${.CURDIR}/../../Makefile.inc" 20 21.PATH: ${DIST}/gettext-tools/libgrep 22CPPFLAGS+= -I${DIST}/gettext-tools/libgrep 23 24COPTS.regex.c = -Wno-stack-protector 25 26WARNS?= 0 # pointer sign issues 27 28CWARNFLAGS.clang+= -Wno-unused-value 29 30.include <bsd.lib.mk> 31