summaryrefslogtreecommitdiffstats
path: root/lib/libcapsicum/Makefile
blob: 6ee5bb83eadabd52ac68a11511ef5e37a190be80 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
# $FreeBSD$

LIB=	capsicum

SHLIB_MAJOR=	0
SHLIBDIR?=	/lib

SRCS=	libcapsicum.c
SRCS+=	libcapsicum_dns.c
SRCS+=	libcapsicum_grp.c
SRCS+=	libcapsicum_pwd.c
SRCS+=	libcapsicum_random.c
SRCS+=	libcapsicum_service.c
SRCS+=	libcapsicum_sysctl.c

INCS=	libcapsicum.h
INCS+=	libcapsicum_dns.h
INCS+=	libcapsicum_grp.h
INCS+=	libcapsicum_pwd.h
INCS+=	libcapsicum_random.h
INCS+=	libcapsicum_service.h
INCS+=	libcapsicum_sysctl.h

LIBADD=	nv

CFLAGS+=-I${.CURDIR}
CFLAGS+=-I${.CURDIR}/../libnv

WARNS?=	6

MAN+=	libcapsicum.3

MLINKS+=libcapsicum.3 cap_init.3
MLINKS+=libcapsicum.3 cap_wrap.3
MLINKS+=libcapsicum.3 cap_unwrap.3
MLINKS+=libcapsicum.3 cap_sock.3
MLINKS+=libcapsicum.3 cap_clone.3
MLINKS+=libcapsicum.3 cap_close.3
MLINKS+=libcapsicum.3 cap_limit_get.3
MLINKS+=libcapsicum.3 cap_limit_set.3
MLINKS+=libcapsicum.3 cap_send_nvlist.3
MLINKS+=libcapsicum.3 cap_recv_nvlist.3
MLINKS+=libcapsicum.3 cap_xfer_nvlist.3
MLINKS+=libcapsicum.3 cap_service_open.3

.include <bsd.lib.mk>
OpenPOWER on IntegriCloud