1# $FreeBSD$ 2 3PROG= cap_test 4SRCS= cap_test.c \ 5 cap_test_capmode.c \ 6 cap_test_capabilities.c \ 7 cap_test_fcntl.c \ 8 cap_test_pdfork.c \ 9 cap_test_pdkill.c \ 10 cap_test_relative.c \ 11 cap_test_sysctl.c \ 12 13WARNS= 3 14MAN= 15 16# Use headers and libc from the build, if available. 17KERNCONF?= GENERIC 18OBJROOT= ${.OBJDIR}/../../../../ 19OBJKERN= ${OBJROOT}/sys/${KERNCONF} 20 21SRCROOT= ${.CURDIR}/../../../../ 22 23CFLAGS+= -DMACHINE=\"${MACHINE}\" -I${OBJKERN} -I${SRCROOT}/sys 24LDFLAGS+= -L${OBJROOT}/lib/libc -lc 25 26.include <bsd.prog.mk> 27