1.include "../Makefile.inc" 2 3.PATH: ${BASEDIR}/src ${BASEDIR}/doc 4 5PROG= grep 6MAN= grep.1 7MLINKS+= grep.1 fgrep.1 8MLINKS+= grep.1 egrep.1 9 10CFLAGS+= -I${BASEDIR}/src -I${.OBJDIR} 11CFLAGS+= -I${BASEDIR}/lib -I${.CURDIR}/../libgreputils 12CFLAGS+= -DHAVE_CONFIG_H 13 14DPADD= ../libgreputils/libgreputils.a 15LDADD= ../libgreputils/libgreputils.a 16BINDIR?= /usr/bin 17 18SRCS= grep.c \ 19 searchutils.c \ 20 dfa.c \ 21 dfasearch.c \ 22 kwset.c \ 23 kwsearch.c \ 24 pcresearch.c 25 26.include <bsd.prog.mk> 27