mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-11-18 17:00:49 +01:00
e88843d3cf
Tune for 8bit ctype
18 lines
455 B
Makefile
18 lines
455 B
Makefile
PROG= grep
|
|
SRCS= dfa.c grep.c getopt.c kwset.c obstack.c search.c
|
|
CFLAGS+=-DGREP -DHAVE_STRING_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_UNISTD_H=1 \
|
|
-DHAVE_GETPAGESIZE=1 -DHAVE_MEMCHR=1 -DHAVE_STRERROR=1 \
|
|
-DHAVE_VALLOC=1
|
|
|
|
LINKS+= ${BINDIR}/grep ${BINDIR}/egrep \
|
|
${BINDIR}/grep ${BINDIR}/fgrep
|
|
MLINKS= grep.1 egrep.1 grep.1 fgrep.1
|
|
|
|
DPADD+= ${LIBGNUREGEX}
|
|
LDADD+= -lgnuregex
|
|
|
|
check: all
|
|
sh ${.CURDIR}/tests/check.sh ${.CURDIR}/tests
|
|
|
|
.include <bsd.prog.mk>
|