freebsd-skq/lib/libcasper/services/cap_fileargs/tests/Makefile
Olivier Cochard f1c010d9f9 tests: Skip cap_fileargs if build without capsicum capabilities
Approved by:    oshogbo
Sponsored by:   Netflix
Differential Revision: https://reviews.freebsd.org/D2834
2021-01-26 22:19:36 +01:00

19 lines
233 B
Makefile

# $FreeBSD$
.include <src.opts.mk>
ATF_TESTS_C= fileargs_test
CFLAGS+= -I${SRCTOP}/tests
.if ${MK_CASPER} != "no"
LIBADD+= casper
LIBADD+= cap_fileargs
CFLAGS+=-DWITH_CASPER
.endif
LIBADD+= nv
WARNS?= 3
.include <bsd.test.mk>