Makefile revision 50472
150472Speter# $FreeBSD: head/gnu/usr.bin/grep/Makefile 50472 1999-08-27 23:37:10Z peter $ 231900Swosch 343805SwoschMAINTAINER= wosch 443805Swosch 531900SwoschGREP_LIBZ= YES 631900SwoschGREP_FTS= YES 731900Swosch 861SnatePROG= grep 95498SacheSRCS= dfa.c grep.c getopt.c kwset.c obstack.c search.c 1094SnateCFLAGS+=-DGREP -DHAVE_STRING_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_UNISTD_H=1 \ 1194Snate -DHAVE_GETPAGESIZE=1 -DHAVE_MEMCHR=1 -DHAVE_STRERROR=1 \ 1241155Swosch -DHAVE_VALLOC=1 -DHAVE_WORKING_MMAP=1 1394Snate 14130SrgrimesLINKS+= ${BINDIR}/grep ${BINDIR}/egrep \ 15130Srgrimes ${BINDIR}/grep ${BINDIR}/fgrep 16107SconklinMLINKS= grep.1 egrep.1 grep.1 fgrep.1 1794Snate 185498SacheDPADD+= ${LIBGNUREGEX} 195498SacheLDADD+= -lgnuregex 205498Sache 2131900Swosch.if defined(GREP_LIBZ) && !empty(GREP_LIBZ) 2231900SwoschLDADD+= -lz 2331900SwoschDPADD+= ${LIBZ} 2431900SwoschCFLAGS+= -DHAVE_LIBZ=1 2531928SwoschLINKS+= ${BINDIR}/grep ${BINDIR}/zgrep \ 2631928Swosch ${BINDIR}/grep ${BINDIR}/zegrep \ 2731928Swosch ${BINDIR}/grep ${BINDIR}/zfgrep 2839886SobrienMLINKS+= grep.1 zgrep.1 grep.1 zegrep.1 grep.1 zfgrep.1 2931900Swosch.endif 3031900Swosch.if defined(GREP_FTS) && !empty(GREP_FTS) 3131900SwoschCFLAGS+= -DHAVE_FTS=1 3231900Swosch.endif 3331900Swosch 34107Sconklincheck: all 35107Sconklin sh ${.CURDIR}/tests/check.sh ${.CURDIR}/tests 3694Snate 3761Snate.include <bsd.prog.mk> 38