1# $FreeBSD$
2
3_spath=	${SRCTOP}/contrib/ofed/libibverbs
4.PATH: ${_spath} ${_spath}/man
5
6LIB=		ibverbs
7SHLIB_MAJOR=	1
8SHLIBDIR?=	/lib
9MK_PROFILE=	no
10VERSION_MAP=	${_spath}/libibverbs.map
11
12CFLAGS+= -I${_spath}
13
14SRCS= \
15cmd.c \
16compat-1_0.c \
17device.c \
18enum_strs.c \
19init.c \
20marshall.c \
21memory.c \
22sysfs.c \
23verbs.c
24
25MAN= \
26ibv_alloc_mw.3 \
27ibv_alloc_pd.3 \
28ibv_attach_mcast.3 \
29ibv_bind_mw.3 \
30ibv_create_ah.3 \
31ibv_create_ah_from_wc.3 \
32ibv_create_comp_channel.3 \
33ibv_create_cq.3 \
34ibv_create_cq_ex.3 \
35ibv_create_flow.3 \
36ibv_create_qp.3 \
37ibv_create_qp_ex.3 \
38ibv_create_rwq_ind_table.3 \
39ibv_create_srq.3 \
40ibv_create_srq_ex.3 \
41ibv_create_wq.3 \
42ibv_event_type_str.3 \
43ibv_fork_init.3 \
44ibv_get_async_event.3 \
45ibv_get_cq_event.3 \
46ibv_get_device_guid.3 \
47ibv_get_device_list.3 \
48ibv_get_device_name.3 \
49ibv_get_srq_num.3 \
50ibv_inc_rkey.3 \
51ibv_modify_qp.3 \
52ibv_modify_srq.3 \
53ibv_modify_wq.3 \
54ibv_open_device.3 \
55ibv_open_qp.3 \
56ibv_open_xrcd.3 \
57ibv_poll_cq.3 \
58ibv_post_recv.3 \
59ibv_post_send.3 \
60ibv_post_srq_recv.3 \
61ibv_query_device.3 \
62ibv_query_device_ex.3 \
63ibv_query_gid.3 \
64ibv_query_pkey.3 \
65ibv_query_port.3 \
66ibv_query_qp.3 \
67ibv_query_rt_values_ex.3 \
68ibv_query_srq.3 \
69ibv_rate_to_mbps.3 \
70ibv_rate_to_mult.3 \
71ibv_reg_mr.3 \
72ibv_req_notify_cq.3 \
73ibv_rereg_mr.3 \
74ibv_resize_cq.3
75
76.include <bsd.lib.mk>
77