Makefile revision 1.7
11.7Schristos# $NetBSD: Makefile,v 1.7 2018/08/12 07:53:19 christos Exp $ 21.4Sjoerg# $FreeBSD: head/usr.bin/grep/Makefile 210389 2010-07-22 19:11:57Z gabor $ 31.4Sjoerg# $OpenBSD: Makefile,v 1.6 2003/06/25 15:00:04 millert Exp $ 41.1Scjep 51.1ScjepPROG= grep 61.4SjoergSRCS= fastgrep.c file.c grep.c queue.c util.c 71.1Scjep 81.4SjoergLINKS= ${BINDIR}/grep ${BINDIR}/egrep \ 91.2Srillig ${BINDIR}/grep ${BINDIR}/fgrep \ 101.2Srillig ${BINDIR}/grep ${BINDIR}/zgrep \ 111.2Srillig ${BINDIR}/grep ${BINDIR}/zegrep \ 121.2Srillig ${BINDIR}/grep ${BINDIR}/zfgrep 131.1Scjep 141.4SjoergMLINKS= grep.1 egrep.1 \ 151.2Srillig grep.1 fgrep.1 \ 161.2Srillig grep.1 zgrep.1 \ 171.2Srillig grep.1 zegrep.1 \ 181.2Srillig grep.1 zfgrep.1 191.2Srillig 201.7SchristosLDADD+= -lz 211.7SchristosDPADD+= ${LIBZ} 221.7Schristos 231.7Schristos.if empty(HOST_CPPFLAGS:M(*-DWITHOUT_BZ2*) 241.7SchristosLDADD+= -lz 251.7SchristosDPADD+= ${LIBZ} 261.7Schristos.endif 271.4Sjoerg 281.6Schristos.if empty(HOST_CPPFLAGS:M*-DWITHOUT_NLS*) 291.4Sjoerg.PATH: ${.CURDIR}/nls 301.4Sjoerg 311.4SjoergNLS= C.msg \ 321.4Sjoerg es_ES.ISO8859-1.msg \ 331.4Sjoerg gl_ES.ISO8859-1.msg \ 341.4Sjoerg hu_HU.ISO8859-2.msg \ 351.4Sjoerg ja_JP.eucJP.msg \ 361.4Sjoerg ja_JP.SJIS.msg \ 371.4Sjoerg ja_JP.UTF-8.msg \ 381.4Sjoerg pt_BR.ISO8859-1.msg \ 391.4Sjoerg ru_RU.KOI8-R.msg \ 401.4Sjoerg uk_UA.UTF-8.msg \ 411.4Sjoerg zh_CN.UTF-8.msg 421.6Schristos.endif 431.2Srillig 441.5SchristosCOPTS.grep.c += -Wno-format-nonliteral 451.5SchristosCOPTS.util.c += -Wno-format-nonliteral 461.5Schristos 471.1Scjep.include <bsd.prog.mk> 48