freebsd-dev/gnu/usr.bin/Makefile
Warner Losh 0163af2360 Implement WITH{,OUT}_{GCC,BINUTILS} to provide finer-grained control
over building gcc and binutils.  They default to true, unless
MK_TOOLCHAIN is no.

Reviewed by:	ru@
2011-05-19 05:13:25 +00:00

61 lines
707 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
.if ${MK_BSD_GREP} != "yes"
_grep= grep
.endif
.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>