Hans Petter Selasky d6b92ffa99 OFED user-space import and update for use with Linux-4.9 compatible RDMA
kernel APIs.

List of sources used:

1) rdma-core was cloned from "https://github.com/linux-rdma/rdma-core.git"
Top commit d65138ef93af30b3ea249f3a84aa6a24ba7f8a75

2) OpenSM was cloned from git://git.openfabrics.org/~halr/opensm.git
Top commit 85f841cf209f791c89a075048a907020e924528d

3) libibmad was cloned from "git://git.openfabrics.org/~iraweiny/libibmad.git"
Tag 1.3.13 with some additional patches from Mellanox.

4) infiniband-diags was cloned from "git://git.openfabrics.org/~iraweiny/infiniband-diags.git"
Tag 1.6.7 with some additional patches from Mellanox.

Added the required Makefiles for building and installing.

Sponsored by:	Mellanox Technologies
2017-08-02 16:00:30 +00:00

56 lines
854 B
Makefile

# $FreeBSD$
SUBDIR_A_DEPEND=
SUBDIR_A= \
include
SUBDIR_B_DEPEND= ${SUBDIR_A}
SUBDIR_B= \
libibverbs
SUBDIR_C_DEPEND= ${SUBDIR_B}
SUBDIR_C= \
libibcm \
libibumad
SUBDIR_D_DEPEND= ${SUBDIR_C}
SUBDIR_D= \
librdmacm \
libibmad \
opensm/complib \
opensm/libvendor \
libcxgb4 \
libmlx4 \
libmlx5
SUBDIR_E_DEPEND= ${SUBDIR_D}
SUBDIR_E= \
libibverbs/examples/build \
librdmacm/examples/build \
libibnetdisc \
opensm/libopensm
SUBDIR_F_DEPEND= ${SUBDIR_E}
SUBDIR_F= \
opensm/opensm \
infiniband-diags/build
.for L in A B C D E F
.for S in ${SUBDIR_${L}}
SUBDIR_DEPEND_${S}+= ${SUBDIR_${L}_DEPEND}
.endfor
SUBDIR+= ${SUBDIR_${L}}
.endfor
SUBDIR_PARALLEL=
.if defined(TESTBUILD)
all-install:
.for D in ${SUBDIR}
cd ${.CURDIR}/${D} ; ${MAKE} clean cleandepend
cd ${.CURDIR}/${D} ; ${MAKE} depend all install
.endfor
.else
.include <bsd.subdir.mk>
.endif