diff options
author | Konstantin Belousov <kib@FreeBSD.org> | 2018-06-16 15:05:05 +0000 |
---|---|---|
committer | Konstantin Belousov <kib@FreeBSD.org> | 2018-06-16 15:05:05 +0000 |
commit | f39bffc62c1395bde25d152c7f68fdf7cbaab414 (patch) | |
tree | 332b0ed14aadb5e616872aec9afaddf3dd19ca7f /contrib/ofed/librdmacm | |
parent | 20efcfc602b7a57979da99f0a1f917d9fb4a30e1 (diff) | |
download | src-f39bffc62c1395bde25d152c7f68fdf7cbaab414.tar.gz src-f39bffc62c1395bde25d152c7f68fdf7cbaab414.zip |
Rework ofed build.
Aligns the build with the FreeBSD traditional approach to not build in
contrib/, and to track inter-dependencies between libraries.
With help from: bdrewery
Reviewed by: bdrewery, hselasky
Sponsored by: Mellanox Technologies
MFC after: 2 weeks
Differential revision: https://reviews.freebsd.org/D15648
Notes
Notes:
svn path=/head/; revision=335253
Diffstat (limited to 'contrib/ofed/librdmacm')
7 files changed, 0 insertions, 117 deletions
diff --git a/contrib/ofed/librdmacm/Makefile b/contrib/ofed/librdmacm/Makefile deleted file mode 100644 index 593315dd6118..000000000000 --- a/contrib/ofed/librdmacm/Makefile +++ /dev/null @@ -1,71 +0,0 @@ -# $FreeBSD$ - -.PATH: ${.CURDIR} ${.CURDIR}/man - -SHLIBDIR?= /usr/lib -LIB= rdmacm -SHLIB_MAJOR= 1 -MK_PROFILE= no -CFLAGS+= -I${.CURDIR} - -SRCS= \ -acm.c \ -addrinfo.c \ -cma.c \ -indexer.c - -MAN= \ -rdma_accept.3 \ -rdma_ack_cm_event.3 \ -rdma_bind_addr.3 \ -rdma_connect.3 \ -rdma_create_ep.3 \ -rdma_create_event_channel.3 \ -rdma_create_id.3 \ -rdma_create_qp.3 \ -rdma_create_srq.3 \ -rdma_dereg_mr.3 \ -rdma_destroy_ep.3 \ -rdma_destroy_event_channel.3 \ -rdma_destroy_id.3 \ -rdma_destroy_qp.3 \ -rdma_destroy_srq.3 \ -rdma_disconnect.3 \ -rdma_event_str.3 \ -rdma_free_devices.3 \ -rdma_get_cm_event.3 \ -rdma_get_devices.3 \ -rdma_get_dst_port.3 \ -rdma_get_local_addr.3 \ -rdma_get_peer_addr.3 \ -rdma_get_recv_comp.3 \ -rdma_get_request.3 \ -rdma_get_send_comp.3 \ -rdma_get_src_port.3 \ -rdma_getaddrinfo.3 \ -rdma_join_multicast.3 \ -rdma_leave_multicast.3 \ -rdma_listen.3 \ -rdma_migrate_id.3 \ -rdma_notify.3 \ -rdma_post_read.3 \ -rdma_post_readv.3 \ -rdma_post_recv.3 \ -rdma_post_recvv.3 \ -rdma_post_send.3 \ -rdma_post_sendv.3 \ -rdma_post_ud_send.3 \ -rdma_post_write.3 \ -rdma_post_writev.3 \ -rdma_reg_msgs.3 \ -rdma_reg_read.3 \ -rdma_reg_write.3 \ -rdma_reject.3 \ -rdma_resolve_addr.3 \ -rdma_resolve_route.3 \ -rdma_set_option.3 - -LIBADD= ibverbs -VERSION_MAP= ${.CURDIR}/librdmacm.map - -.include <bsd.lib.mk> diff --git a/contrib/ofed/librdmacm/examples/build/Makefile b/contrib/ofed/librdmacm/examples/build/Makefile deleted file mode 100644 index c45d40e479f6..000000000000 --- a/contrib/ofed/librdmacm/examples/build/Makefile +++ /dev/null @@ -1,7 +0,0 @@ -# $FreeBSD$ - -SUBDIR= ucmatose mckey rping udaddy - -SUBDIR_PARALLEL= - -.include <bsd.subdir.mk> diff --git a/contrib/ofed/librdmacm/examples/build/Makefile.inc b/contrib/ofed/librdmacm/examples/build/Makefile.inc deleted file mode 100644 index 43b972b8f93c..000000000000 --- a/contrib/ofed/librdmacm/examples/build/Makefile.inc +++ /dev/null @@ -1,3 +0,0 @@ -BINDIR?= /usr/bin -CFLAGS+= -I${.CURDIR}/../../.. -LDFLAGS+= -libverbs -lrdmacm -lmlx4 -lmlx5 -lcxgb4 -lpthread diff --git a/contrib/ofed/librdmacm/examples/build/mckey/Makefile b/contrib/ofed/librdmacm/examples/build/mckey/Makefile deleted file mode 100644 index 17f3b5739912..000000000000 --- a/contrib/ofed/librdmacm/examples/build/mckey/Makefile +++ /dev/null @@ -1,9 +0,0 @@ -# $FreeBSD$ - -.PATH: ${.CURDIR}/../.. ${.CURDIR}/../../../man - -PROG= mckey -MAN= mckey.1 -SRCS= mckey.c - -.include <bsd.prog.mk> diff --git a/contrib/ofed/librdmacm/examples/build/rping/Makefile b/contrib/ofed/librdmacm/examples/build/rping/Makefile deleted file mode 100644 index 93f608ca7428..000000000000 --- a/contrib/ofed/librdmacm/examples/build/rping/Makefile +++ /dev/null @@ -1,9 +0,0 @@ -# $FreeBSD$ - -.PATH: ${.CURDIR}/../.. ${.CURDIR}/../../../man - -PROG= rping -MAN= rping.1 -SRCS= rping.c common.c - -.include <bsd.prog.mk> diff --git a/contrib/ofed/librdmacm/examples/build/ucmatose/Makefile b/contrib/ofed/librdmacm/examples/build/ucmatose/Makefile deleted file mode 100644 index 22a88fac61e9..000000000000 --- a/contrib/ofed/librdmacm/examples/build/ucmatose/Makefile +++ /dev/null @@ -1,9 +0,0 @@ -# $FreeBSD$ - -.PATH: ${.CURDIR}/../.. ${.CURDIR}/../../../man - -PROG= ucmatose -MAN= ucmatose.1 -SRCS= cmatose.c common.c - -.include <bsd.prog.mk> diff --git a/contrib/ofed/librdmacm/examples/build/udaddy/Makefile b/contrib/ofed/librdmacm/examples/build/udaddy/Makefile deleted file mode 100644 index 8bb39c16ddf2..000000000000 --- a/contrib/ofed/librdmacm/examples/build/udaddy/Makefile +++ /dev/null @@ -1,9 +0,0 @@ -# $FreeBSD$ - -.PATH: ${.CURDIR}/../.. ${.CURDIR}/../../../man - -PROG= udaddy -MAN= udaddy.1 -SRCS= udaddy.c common.c - -.include <bsd.prog.mk> |