freebsd-dev/gnu/usr.bin/Makefile
John Baldwin e91609a771 Divorce MK_GDB from MK_BINUTILS.
This permits legacy GDB to still be built and installed if
WITHOUT_BINUTILS is set (e.g. if base/binutils is installed).

Reviewed by:	emaste
MFC after:	2 weeks
Differential Revision:	https://reviews.freebsd.org/D19480
2019-03-06 20:13:02 +00:00

26 lines
426 B
Makefile

# $FreeBSD$
.include <src.opts.mk>
.if ${MK_CXX} != "no"
SUBDIR.${MK_GCC}+= gperf
.endif
.if ${MK_GDB} != "no" || ${MK_BINUTILS} != "no"
SUBDIR+= binutils
.endif
SUBDIR.${MK_DIALOG}+= dialog
SUBDIR.${MK_GCC}+= cc
SUBDIR.${MK_GNU_DIFF}+= diff3
SUBDIR.${MK_GNU_GREP}+= grep
SUBDIR.${MK_GDB}+= gdb
SUBDIR_DEPEND_gdb= binutils
SUBDIR.${MK_GPL_DTC}+= dtc
SUBDIR.${MK_TESTS}+= tests
SUBDIR_PARALLEL=
.include <bsd.subdir.mk>