freebsd-skq/tools/regression/security/cap_test/Makefile
imp c39e6fc2c9 NO_MAN= has been deprecated in favor of MAN= for some time, go ahead
and finish the job. ncurses is now the only Makefile in the tree that
uses it since it wasn't a simple mechanical change, and will be
addressed in a future commit.
2014-04-13 05:21:56 +00:00

27 lines
518 B
Makefile

# $FreeBSD$
PROG= cap_test
SRCS= cap_test.c \
cap_test_capmode.c \
cap_test_capabilities.c \
cap_test_fcntl.c \
cap_test_pdfork.c \
cap_test_pdkill.c \
cap_test_relative.c \
cap_test_sysctl.c \
WARNS= 3
MAN=
# Use headers and libc from the build, if available.
KERNCONF?= GENERIC
OBJROOT= ${.OBJDIR}/../../../../
OBJKERN= ${OBJROOT}/sys/${KERNCONF}
SRCROOT= ${.CURDIR}/../../../../
CFLAGS+= -DMACHINE=\"${MACHINE}\" -I${OBJKERN} -I${SRCROOT}/sys
LDFLAGS+= -L${OBJROOT}/lib/libc -lc
.include <bsd.prog.mk>