c39e6fc2c9
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.
27 lines
518 B
Makefile
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>
|