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