]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - Makefile
Import lib9p 7ddb1164407da19b9b1afb83df83ae65a71a9a66.
[FreeBSD/FreeBSD.git] / Makefile
1 # Note: to turn on debug, use -DL9P_DEBUG=L9P_DEBUG,
2 # and set env variable LIB9P_LOGGING to stderr or to
3 # the (preferably full path name of) the debug log file.
4
5 LIB=            9p
6 SHLIB_MAJOR=    1
7 SRCS=           pack.c \
8                 connection.c \
9                 request.c log.c \
10                 hashtable.c \
11                 genacl.c \
12                 utils.c \
13                 rfuncs.c \
14                 threadpool.c \
15                 transport/socket.c \
16                 backend/fs.c
17
18 INCS=           lib9p.h
19 CC=             clang
20 CFLAGS=         -g -O0 -DL9P_DEBUG=L9P_DEBUG -DWITH_CASPER
21 LIBADD=         sbuf libcasper libcap_pwd libcap_grp
22 SUBDIR=         example
23
24 cscope: .PHONY
25         cd ${.CURDIR}; cscope -buq $$(find . -name '*.[ch]' -print)
26
27 .include <bsd.lib.mk>