freebsd-skq/gnu/usr.bin/Makefile
Ed Maste ddd96d231d Build gperf only if we're using g++ (not clang++)
gperf is used as a build tool for g++ and is not needed for Clang
architectures. Ports and third-party software that need it can use the
up-to-date devel/gperf port.

PR:		194103 (exp-run)
Reviewed by:	bapt
Sponsored by:	The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D886
2014-10-09 23:05:31 +00:00

58 lines
678 B
Makefile

# $FreeBSD$
.include <src.opts.mk>
SUBDIR= ${_binutils} \
${_cc} \
dialog \
diff \
diff3 \
${_dtc} \
${_gdb} \
${_gperf} \
grep \
${_groff} \
${_rcs} \
sdiff \
${_tests} \
${_texinfo}
.if ${MK_CXX} != "no"
.if ${MK_GCC} != "no"
_gperf= gperf
.endif
.if ${MK_GROFF} != "no"
_groff= groff
.endif
.endif
.if ${MK_GPL_DTC} != "no"
_dtc= dtc
.endif
.if ${MK_INFO} != "no"
_texinfo= texinfo
.endif
.if ${MK_RCS} != "no"
_rcs= rcs
.endif
.if ${MK_TESTS} != "no"
_tests= tests
.endif
.if ${MK_BINUTILS} != "no"
_binutils= binutils
.endif
.if ${MK_GCC} != "no"
_cc= cc
.endif
.if ${MK_GDB} != "no"
_gdb= gdb
.endif
SUBDIR_PARALLEL=
.include <bsd.subdir.mk>