This is added to facilitate experiments building FreeBSD without copyleft software. If WITHOUT_GNU_DIFF is set no /usr/bin/diff or /usr/bin/diff3 will be built. If WITHOUT_GNU_GREP is set then BSD grep will be installed as /usr/bin/bsdgrep or /usr/bin/grep, depending on the WITH_BSD_GREP knob. Reviewed by: brooks (earlier) Sponsored by: The FreeBSD Foundation Differential Revision: Differential Revision: https://reviews.freebsd.org/D8288
28 lines
539 B
Makefile
28 lines
539 B
Makefile
# $FreeBSD$
|
|
|
|
.include <src.opts.mk>
|
|
|
|
SUBDIR_DEPEND_gdb= ${_binutils}
|
|
|
|
.if ${MK_CXX} != "no"
|
|
SUBDIR.${MK_GCC}+= gperf
|
|
SUBDIR.${MK_GROFF}+= groff
|
|
.endif
|
|
|
|
SUBDIR.${MK_BINUTILS}+= binutils
|
|
SUBDIR.${MK_DIALOG}+= dialog
|
|
|
|
.if ${MK_BINUTILS} != "no"
|
|
SUBDIR.${MK_GDB}+= gdb
|
|
.endif
|
|
|
|
SUBDIR.${MK_GCC}+= cc
|
|
SUBDIR.${MK_GNU_DIFF}+= diff diff3
|
|
SUBDIR.${MK_GNU_GREP}+= grep
|
|
SUBDIR.${MK_GPL_DTC}+= dtc
|
|
SUBDIR.${MK_TESTS}+= tests
|
|
|
|
SUBDIR_PARALLEL=
|
|
|
|
.include <bsd.subdir.mk>
|