mirror of
https://github.com/freebsd/freebsd-src
synced 2024-09-06 17:18:32 +00:00
34 lines
508 B
Makefile
34 lines
508 B
Makefile
# $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>
|