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