aboutsummaryrefslogtreecommitdiff
path: root/lib/lib9p/Makefile
blob: c810ccd79e64b2f45617ef22e4bab05a8aaeeb66 (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
# $FreeBSD$

.include <src.opts.mk>

.PATH:		${.CURDIR}/../../contrib/lib9p
CFLAGS+=	-I${.CURDIR}
CFLAGS+=	-I${.CURDIR}/../../contrib/lib9p

.if ${MK_CASPER} != "no"
CFLAGS+=	-DWITH_CASPER
.endif

LIB=		9p
PACKAGE=	lib${LIB}
SHLIB_MAJOR=	1
SRCS=		connection.c \
		genacl.c \
		hashtable.c \
		log.c \
		pack.c \
		request.c \
		rfuncs.c \
		threadpool.c \
		utils.c \
		backend/fs.c \
		transport/socket.c

INCSDIR=	${INCLUDEDIR}/lib9p
INCS=		fid.h lib9p.h backend/fs.h

LIBADD=		sbuf

.include <bsd.lib.mk>