freebsd-dev/gnu/usr.bin/Makefile
David E. O'Brien a23d1c70b3 Build and install a BSD licensed grep.
If WITH_BSD_GREP is not set, it will be 'bsdgrep' and GNUgrep will be
'[ef]grep'.  Otherwise, BSD-grep will be the grep family, and GNUgrep
will be 'gnugrep'.

Discussed with: brooks
2011-05-25 01:04:12 +00:00

59 lines
672 B
Makefile

# $FreeBSD$
.include <bsd.own.mk>
SUBDIR= ${_binutils} \
${_cc} \
${_cvs} \
dialog \
diff \
diff3 \
${_dtc} \
${_gdb} \
${_gperf} \
${_grep} \
${_groff} \
patch \
${_rcs} \
sdiff \
send-pr \
sort \
${_texinfo}
.if ${MK_CXX} != "no"
_gperf= gperf
.if ${MK_GROFF} != "no"
_groff= groff
.endif
.endif
_grep= grep
.if ${MK_CVS} != "no"
_cvs= cvs
.endif
.if ${MK_FDT} != "no"
_dtc= dtc
.endif
.if ${MK_INFO} != "no"
_texinfo= texinfo
.endif
.if ${MK_RCS} != "no"
_rcs= rcs
.endif
.if ${MK_BINUTILS} != "no"
_binutils= binutils
.endif
.if ${MK_GCC} != "no"
_cc= cc
.endif
.if ${MK_GDB} != "no"
_gdb= gdb
.endif
.include <bsd.subdir.mk>