1# $FreeBSD$ 2 3.include <src.opts.mk> 4 5.PATH: ${.CURDIR}/../../contrib/lib9p 6CFLAGS+= -I${.CURDIR} 7CFLAGS+= -I${.CURDIR}/../../contrib/lib9p 8 9LIBADD= sbuf 10 11.if ${MK_CASPER} != "no" 12CFLAGS+= -DWITH_CASPER 13LIBADD+= casper cap_pwd cap_grp 14.endif 15 16LIB= 9p 17PACKAGE= lib${LIB} 18SHLIB_MAJOR= 1 19SRCS= connection.c \ 20 genacl.c \ 21 hashtable.c \ 22 log.c \ 23 pack.c \ 24 request.c \ 25 rfuncs.c \ 26 threadpool.c \ 27 utils.c \ 28 backend/fs.c \ 29 transport/socket.c 30 31INCSDIR= ${INCLUDEDIR}/lib9p 32INCS= fid.h lib9p.h backend/fs.h 33 34.include <bsd.lib.mk> 35