Changeset View
Changeset View
Standalone View
Standalone View
head/usr.bin/grep/Makefile
Show First 20 Lines • Show All 76 Lines • ▼ Show 20 Lines | MLINKS+= grep.1 bzgrep.1 \ | ||||
grep.1 bzegrep.1 \ | grep.1 bzegrep.1 \ | ||||
grep.1 bzfgrep.1 | grep.1 bzfgrep.1 | ||||
.endif | .endif | ||||
.else | .else | ||||
CFLAGS+= -DWITHOUT_BZIP2 | CFLAGS+= -DWITHOUT_BZIP2 | ||||
.endif | .endif | ||||
.if ${MK_GNU_GREP_COMPAT} != "no" | .if ${MK_GNU_GREP_COMPAT} != "no" | ||||
CFLAGS+= -I${DESTDIR}/usr/include/gnu | CFLAGS+= -I${DESTDIR}/usr/include/gnu -DWITH_GNU | ||||
LIBADD+= gnuregex | LIBADD+= gnuregex | ||||
.endif | .endif | ||||
.if ${MK_NLS} != "no" | .if ${MK_NLS} != "no" | ||||
.include "${.CURDIR}/nls/Makefile.inc" | .include "${.CURDIR}/nls/Makefile.inc" | ||||
.else | .else | ||||
CFLAGS+= -DWITHOUT_NLS | CFLAGS+= -DWITHOUT_NLS | ||||
.endif | .endif | ||||
.if ${MK_TESTS} != "no" | .if ${MK_TESTS} != "no" | ||||
SUBDIR+= tests | SUBDIR+= tests | ||||
.endif | .endif | ||||
.include <bsd.prog.mk> | .include <bsd.prog.mk> |