1 2PACKAGE=runtime 3CONFS= minfree 4VAR_CRASH= /var/crash 5VAR_CRASH_MODE= 0750 6CONFSDIR= VAR_CRASH 7PROG= savecore 8LIBADD= xo z zstd 9MAN= savecore.8 10 11CFLAGS+= -I${SRCTOP}/sys/contrib/zstd/lib 12 13.include <src.opts.mk> 14 15.if ${MK_DYNAMICROOT} == "no" 16.warning ${PROG} built without libcasper support 17.elif ${MK_CASPER} != "no" && !defined(RESCUE) 18CFLAGS+= -DWITH_CASPER 19LIBADD+= casper cap_fileargs cap_syslog 20.endif 21 22.include <bsd.prog.mk> 23