]> CyberLeo.Net >> Repos - FreeBSD/releng/10.0.git/blob - tools/regression/security/cap_test/Makefile
- Copy stable/10 (r259064) to releng/10.0 as part of the
[FreeBSD/releng/10.0.git] / tools / regression / security / cap_test / Makefile
1 # $FreeBSD$
2
3 PROG=   cap_test
4 SRCS=   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
13 WARNS=  3
14 NO_MAN=
15
16 # Use headers and libc from the build, if available.
17 KERNCONF?=      GENERIC
18 OBJROOT=        ${.OBJDIR}/../../../../
19 OBJKERN=        ${OBJROOT}/sys/${KERNCONF}
20
21 SRCROOT=        ${.CURDIR}/../../../../
22
23 CFLAGS+=        -DMACHINE=\"${MACHINE}\" -I${OBJKERN} -I${SRCROOT}/sys
24 LDFLAGS+=       -L${OBJROOT}/lib/libc -lc
25
26 .include <bsd.prog.mk>