freebsd-dev/cddl/usr.sbin/Makefile
Ed Maste ac4c695ad6 Retire WITHOUT_CXX option
Several important base system components are written in C++, and the
WITHOUT_CXX option produced a system that was not fully functional.
Just accept this, and remove the option to build without C++ support.

This reverts commit adc3c128c6.

Reviewed by:	brooks, kevans, jhb (earlier)
Sponsored by:	The FreeBSD Foundation
Differential Revision:	https://reviews.freebsd.org/D33108
2023-01-26 21:13:16 -05:00

41 lines
640 B
Makefile

# $FreeBSD$
.include <src.opts.mk>
SUBDIR.${MK_DTRACE}+= \
${_dtrace} \
${_dwatch} \
${_lockstat} \
${_plockstat}
SUBDIR.${MK_TESTS}+= tests
SUBDIR.${MK_ZFS}+= \
zdb \
zhack \
zfsd
.if ${MACHINE_ARCH} == "amd64" || ${MACHINE_ARCH} == "i386"
_dtrace= dtrace
_dwatch= dwatch
_lockstat= lockstat
_plockstat= plockstat
.endif
.if ${MACHINE_CPUARCH} == "aarch64" || ${MACHINE_CPUARCH} == "arm" || \
${MACHINE_CPUARCH} == "riscv"
_dtrace= dtrace
_dwatch= dwatch
_lockstat= lockstat
.endif
.if ${MACHINE_CPUARCH} == "powerpc"
_dtrace= dtrace
_dwatch= dwatch
_lockstat= lockstat
.endif
SUBDIR_PARALLEL=
.include <bsd.subdir.mk>