1# $FreeBSD$ 2 3SHLIBDIR?= /lib/casper 4 5.include <src.opts.mk> 6 7PACKAGE= runtime 8 9SHLIB_MAJOR= 2 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 28MLINKS+=cap_sysctl.3 libcap_sysctl.3 \ 29 cap_sysctl.3 cap_sysctlbyname.3 \ 30 cap_sysctl.3 cap_nametomib.3 \ 31 cap_sysctl.3 cap_sysctl_limit_init.3 \ 32 cap_sysctl.3 cap_sysctl_limit_mib.3 \ 33 cap_sysctl.3 cap_sysctl_limit_name.3 \ 34 cap_sysctl.3 cap_sysctl_limit.3 35 36.include <bsd.lib.mk> 37