xref: /freebsd/lib/ofed/libmlx5/Makefile (revision 3750ccefb8629a08890bfbae894dd6bc6a7483b4)
1f39bffc6SKonstantin Belousov_spath=	${SRCTOP}/contrib/ofed/libmlx5
2f39bffc6SKonstantin Belousov.PATH: ${_spath}
3f39bffc6SKonstantin Belousov
4*9db3eed9SKonstantin BelousovSHLIBDIR?=	/lib
5f39bffc6SKonstantin BelousovLIB=		mlx5
6f39bffc6SKonstantin BelousovSHLIB_MAJOR=	1
7f39bffc6SKonstantin Belousov
8f39bffc6SKonstantin BelousovSRCS= \
9f39bffc6SKonstantin Belousovbuf.c \
10f39bffc6SKonstantin Belousovcq.c \
11f39bffc6SKonstantin Belousovdbrec.c \
12f39bffc6SKonstantin Belousovmlx5.c \
13f39bffc6SKonstantin Belousovqp.c \
14f39bffc6SKonstantin Belousovsrq.c \
15f39bffc6SKonstantin Belousovverbs.c
16f39bffc6SKonstantin Belousov
17f39bffc6SKonstantin BelousovLIBADD=		ibverbs pthread
18f39bffc6SKonstantin BelousovCFLAGS+=	-I${_spath}
19f39bffc6SKonstantin BelousovVERSION_MAP=	${_spath}/libmlx5.map
20f39bffc6SKonstantin Belousov
21f39bffc6SKonstantin Belousov.include <bsd.lib.mk>
22f39bffc6SKonstantin Belousov
23