1406d87b1SGlen BarberPACKAGE=runtime 24d2cf170SBrad DavisCONFS= minfree 3270adb21SRenato BotelhoVAR_CRASH= /var/crash 4270adb21SRenato BotelhoVAR_CRASH_MODE= 0750 5270adb21SRenato BotelhoCONFSDIR= VAR_CRASH 6d94f51a0SPoul-Henning KampPROG= savecore 7bc7ed46bSGleb SmirnoffLIBADD= xo z zstd 889a600f1SRuslan ErmilovMAN= savecore.8 98fae3551SRodney W. Grimes 10bc7ed46bSGleb SmirnoffCFLAGS+= -I${SRCTOP}/sys/contrib/zstd/lib 11bc7ed46bSGleb Smirnoff 12d7fffd06SMark Johnston.include <src.opts.mk> 13d7fffd06SMark Johnston 140fadd673SMark Johnston.if ${MK_DYNAMICROOT} == "no" 150fadd673SMark Johnston.warning ${PROG} built without libcasper support 160fadd673SMark Johnston.elif ${MK_CASPER} != "no" && !defined(RESCUE) 17d7fffd06SMark JohnstonCFLAGS+= -DWITH_CASPER 18d7fffd06SMark JohnstonLIBADD+= casper cap_fileargs cap_syslog 19d7fffd06SMark Johnston.endif 20d7fffd06SMark Johnston 21*73465bb4SMark JohnstonHAS_TESTS= 22*73465bb4SMark JohnstonSUBDIR.${MK_TESTS}+= tests 23*73465bb4SMark Johnston 248fae3551SRodney W. Grimes.include <bsd.prog.mk> 25