Deleted Added
full compact
Makefile (265420) Makefile (271771)
1# $NetBSD: Makefile,v 1.4 2011/02/16 01:31:33 joerg Exp $
1# $NetBSD: Makefile,v 1.4 2011/02/16 01:31:33 joerg Exp $
2# $FreeBSD: head/usr.bin/grep/Makefile 265420 2014-05-06 04:22:01Z imp $
2# $FreeBSD: head/usr.bin/grep/Makefile 271771 2014-09-18 14:41:57Z will $
3# $OpenBSD: Makefile,v 1.6 2003/06/25 15:00:04 millert Exp $
4
5.include <src.opts.mk>
6
7.if ${MK_BSD_GREP} == "yes"
8PROG= grep
9.else
10PROG= bsdgrep
11CLEANFILES+= bsdgrep.1
12
13bsdgrep.1: grep.1
3# $OpenBSD: Makefile,v 1.6 2003/06/25 15:00:04 millert Exp $
4
5.include <src.opts.mk>
6
7.if ${MK_BSD_GREP} == "yes"
8PROG= grep
9.else
10PROG= bsdgrep
11CLEANFILES+= bsdgrep.1
12
13bsdgrep.1: grep.1
14 cp ${.ALLSRC} ${.TARGET}
14 cp -f ${.ALLSRC} ${.TARGET}
15.endif
16SRCS= file.c grep.c queue.c util.c
17
18# Extra files ported backported form some regex improvements
19.PATH: ${.CURDIR}/regex
20SRCS+= fastmatch.c hashtable.c tre-compile.c tre-fastmatch.c xmalloc.c
21CFLAGS+=-I${.CURDIR}/regex
22

--- 66 unchanged lines hidden ---
15.endif
16SRCS= file.c grep.c queue.c util.c
17
18# Extra files ported backported form some regex improvements
19.PATH: ${.CURDIR}/regex
20SRCS+= fastmatch.c hashtable.c tre-compile.c tre-fastmatch.c xmalloc.c
21CFLAGS+=-I${.CURDIR}/regex
22

--- 66 unchanged lines hidden ---