aboutsummaryrefslogtreecommitdiff
path: root/usr.bin/grep/Makefile
diff options
context:
space:
mode:
authorCem Keylan <cem@ckyln.com>2021-07-14 17:48:59 +0300
committerCem Keylan <cem@ckyln.com>2021-07-14 17:48:59 +0300
commit15a7e4db4a026de461d793ec2a0112f251805dc4 (patch)
treef61f8ac01374264eb7e2a25d501b60d2d641ebff /usr.bin/grep/Makefile
parent46277b013e8c1607cabc87c6da7c5f674b007ed9 (diff)
downloadotools-15a7e4db4a026de461d793ec2a0112f251805dc4.tar.gz
grep: port to otools
Diffstat (limited to 'usr.bin/grep/Makefile')
-rw-r--r--usr.bin/grep/Makefile16
1 files changed, 16 insertions, 0 deletions
diff --git a/usr.bin/grep/Makefile b/usr.bin/grep/Makefile
new file mode 100644
index 0000000..2799c34
--- /dev/null
+++ b/usr.bin/grep/Makefile
@@ -0,0 +1,16 @@
+# $OpenBSD: Makefile,v 1.7 2016/03/30 06:38:46 jmc Exp $
+
+PROG= grep
+SRCS= binary.c file.c grep.c mmfile.c queue.c util.c
+LINKS= ${BINDIR}/grep ${BINDIR}/egrep \
+ ${BINDIR}/grep ${BINDIR}/fgrep \
+ ${BINDIR}/grep ${BINDIR}/zgrep \
+ ${BINDIR}/grep ${BINDIR}/zegrep \
+ ${BINDIR}/grep ${BINDIR}/zfgrep \
+
+CFLAGS+= -Wall
+
+LDADD= -lz
+DPADD= ${LIBZ}
+
+.include <bsd.prog.mk>