1# $FreeBSD$ 2 3SHLIBDIR?= /lib/casper 4 5.include <src.opts.mk> 6 7PACKAGE=libcasper 8 9SHLIB_MAJOR= 1 10INCSDIR?= ${INCLUDEDIR}/casper 11 12.if ${MK_CASPER} != "no" 13SHLIB= cap_sysctl 14 15SRCS= cap_sysctl.c 16.endif 17 18INCS= cap_sysctl.h 19 20LIBADD= nv 21 22CFLAGS+=-I${.CURDIR} 23 24HAS_TESTS= 25SUBDIR.${MK_TESTS}+= tests 26 27MAN+= cap_sysctl.3 28 29MLINKS+=cap_sysctl.3 libcap_sysctl.3 30MLINKS+=cap_sysctl.3 cap_sysctlbyname.3 31 32.include <bsd.lib.mk> 33