0fadd6731f
This follows the example of other Capsicumized programs in /sbin. Reported by: Manfred Antar <manfredantar@gmail.com> MFC with: r342699 Sponsored by: The FreeBSD Foundation
22 lines
396 B
Makefile
22 lines
396 B
Makefile
# $FreeBSD$
|
|
|
|
PACKAGE=runtime
|
|
CONFS= minfree
|
|
VAR_CRASH= /var/crash
|
|
VAR_CRASH_MODE= 0750
|
|
CONFSDIR= VAR_CRASH
|
|
PROG= savecore
|
|
LIBADD= xo z
|
|
MAN= savecore.8
|
|
|
|
.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
|
|
|
|
.include <bsd.prog.mk>
|