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