mirror of
https://github.com/opnsense/src.git
synced 2026-04-24 23:57:30 -04:00
MFC after: 2 weeks Differential Revision: https://reviews.freebsd.org/D47715 (cherry picked from commit 73465bb47bb37e6efdc61827e260a070dda0a0dc)
25 lines
471 B
Makefile
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>
|