opnsense-src/sbin/savecore/Makefile
Mark Johnston fea53bf43f savecore: Add a livedump regression test
MFC after:	2 weeks
Differential Revision:	https://reviews.freebsd.org/D47715

(cherry picked from commit 73465bb47bb37e6efdc61827e260a070dda0a0dc)
2024-12-13 01:34:14 +00:00

25 lines
471 B
Makefile

PACKAGE=runtime
CONFS= minfree
VAR_CRASH= /var/crash
VAR_CRASH_MODE= 0750
CONFSDIR= VAR_CRASH
PROG= savecore
LIBADD= xo z zstd
MAN= savecore.8
CFLAGS+= -I${SRCTOP}/sys/contrib/zstd/lib
.include <src.opts.mk>
.if ${MK_DYNAMICROOT} == "no"
.warning ${PROG} built without libcasper support
.elif ${MK_CASPER} != "no" && !defined(RESCUE)
CFLAGS+= -DWITH_CASPER
LIBADD+= casper cap_fileargs cap_syslog
.endif
HAS_TESTS=
SUBDIR.${MK_TESTS}+= tests
.include <bsd.prog.mk>