1# $FreeBSD$ 2 3LIB= capsicum 4 5SHLIB_MAJOR= 0 6SHLIBDIR?= /lib 7 8SRCS= libcapsicum.c 9SRCS+= libcapsicum_dns.c 10SRCS+= libcapsicum_grp.c 11SRCS+= libcapsicum_pwd.c 12SRCS+= libcapsicum_random.c 13SRCS+= libcapsicum_service.c 14SRCS+= libcapsicum_sysctl.c 15 16INCS= libcapsicum.h 17INCS+= libcapsicum_dns.h 18INCS+= libcapsicum_grp.h 19INCS+= libcapsicum_pwd.h 20INCS+= libcapsicum_random.h 21INCS+= libcapsicum_service.h 22INCS+= libcapsicum_sysctl.h 23 24DPADD= ${LIBNV} 25LDADD= -lnv 26 27CFLAGS+=-I${.CURDIR} 28CFLAGS+=-I${.CURDIR}/../libnv 29 30WARNS?= 6 31 32MAN+= libcapsicum.3 33 34MLINKS+=libcapsicum.3 cap_init.3 35MLINKS+=libcapsicum.3 cap_wrap.3 36MLINKS+=libcapsicum.3 cap_unwrap.3 37MLINKS+=libcapsicum.3 cap_sock.3 38MLINKS+=libcapsicum.3 cap_clone.3 39MLINKS+=libcapsicum.3 cap_close.3 40MLINKS+=libcapsicum.3 cap_limit_get.3 41MLINKS+=libcapsicum.3 cap_limit_set.3 42MLINKS+=libcapsicum.3 cap_send_nvlist.3 43MLINKS+=libcapsicum.3 cap_recv_nvlist.3 44MLINKS+=libcapsicum.3 cap_xfer_nvlist.3 45MLINKS+=libcapsicum.3 cap_service_open.3 46 47.include <bsd.lib.mk> 48