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