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