1# $FreeBSD$ 2 3SHLIBDIR?= /usr/lib 4 5.include <bsd.own.mk> 6.include "../Makefile.inc" 7 8IBSRCDIR= ${IBVERBSDIR}/src 9IBMANDIR= ${IBVERBSDIR}/man 10 11.PATH: ${IBSRCDIR} ${IBMANDIR} 12 13LIB= ibverbs 14SHLIB_MAJOR= 1 15NO_PROFILE= 16 17SRCS= device.c init.c marshall.c verbs.c cmd.c enum_strs.c kern_abi.h \ 18 memory.c compat-1_0.c sysfs.c 19 20MAN= ibv_alloc_pd.3 ibv_asyncwatch.1 ibv_attach_mcast.3 ibv_create_ah.3 \ 21 ibv_create_ah_from_wc.3 ibv_create_comp_channel.3 ibv_create_cq.3 \ 22 ibv_create_qp.3 ibv_create_srq.3 ibv_devices.1 ibv_devinfo.1 \ 23 ibv_event_type_str.3 ibv_fork_init.3 ibv_get_async_event.3 \ 24 ibv_get_cq_event.3 ibv_get_device_guid.3 ibv_get_device_list.3 \ 25 ibv_get_device_name.3 ibv_modify_qp.3 ibv_modify_srq.3 \ 26 ibv_open_device.3 ibv_poll_cq.3 ibv_post_recv.3 ibv_post_send.3 \ 27 ibv_post_srq_recv.3 ibv_query_device.3 ibv_query_gid.3 \ 28 ibv_query_pkey.3 ibv_query_port.3 ibv_query_qp.3 ibv_query_srq.3 \ 29 ibv_rate_to_mult.3 ibv_rc_pingpong.1 ibv_reg_mr.3 ibv_req_notify_cq.3 \ 30 ibv_resize_cq.3 ibv_srq_pingpong.1 ibv_uc_pingpong.1 ibv_ud_pingpong.1 \ 31 ibv_query_xrc_rcv_qp.3 ibv_reg_xrc_rcv_qp.3 ibv_modify_xrc_rcv_qp.3 \ 32 verbs.7 ibv_create_xrc_rcv_qp.3 ibv_open_xrc_domain.3 33 34 35CFLAGS+= -DHAVE_CONFIG_H -DIBV_CONFIG_DIR=\"/etc/ibverbs/\" 36 37VERSION_MAP= ${IBSRCDIR}/libibverbs.map 38 39.include <bsd.lib.mk> 40