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