mirror of
https://github.com/opnsense/src.git
synced 2026-02-24 02:10:45 -05:00
These libraries are linked to directly by applications rather than opened at runtime via dlopen(). Discussed with: oshogbo Reviewed by: markj, emaste Differential Revision: https://reviews.freebsd.org/D39245
36 lines
583 B
Makefile
36 lines
583 B
Makefile
# $FreeBSD$
|
|
|
|
SHLIBDIR?= /lib
|
|
|
|
.include <src.opts.mk>
|
|
|
|
PACKAGE= runtime
|
|
|
|
SHLIB_MAJOR= 2
|
|
INCSDIR?= ${INCLUDEDIR}/casper
|
|
|
|
.if ${MK_CASPER} != "no"
|
|
SHLIB= cap_sysctl
|
|
|
|
SRCS= cap_sysctl.c
|
|
.endif
|
|
|
|
INCS= cap_sysctl.h
|
|
|
|
LIBADD= nv
|
|
|
|
CFLAGS+=-I${.CURDIR}
|
|
|
|
HAS_TESTS=
|
|
SUBDIR.${MK_TESTS}+= tests
|
|
|
|
MAN+= cap_sysctl.3
|
|
MLINKS+=cap_sysctl.3 libcap_sysctl.3 \
|
|
cap_sysctl.3 cap_sysctlbyname.3 \
|
|
cap_sysctl.3 cap_nametomib.3 \
|
|
cap_sysctl.3 cap_sysctl_limit_init.3 \
|
|
cap_sysctl.3 cap_sysctl_limit_mib.3 \
|
|
cap_sysctl.3 cap_sysctl_limit_name.3 \
|
|
cap_sysctl.3 cap_sysctl_limit.3
|
|
|
|
.include <bsd.lib.mk>
|