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