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