aboutsummaryrefslogtreecommitdiff
path: root/lib/libcasper/libcasper/Makefile
blob: 729bf071846a1be019751801f3b3189ecac970d2 (plain) (blame)
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
# $FreeBSD$

SHLIBDIR?=	/lib

.include <src.opts.mk>

PACKAGE=${LIB}

.if ${MK_CASPER} != "no"
SHLIB=	casper
SHLIB_MAJOR=	0

SRCS=	libcasper.c
SRCS+=	libcasper_impl.c
SRCS+=	libcasper_service.c
SRCS+=	service.c
SRCS+=	zygote.c
.endif

INCS=	libcasper.h
INCS+=	libcasper_service.h

LIBADD=	nv

CFLAGS+=-I${.CURDIR}

MAN+=	libcasper.3

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

.include <bsd.lib.mk>