2f5b4e5085
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
10 lines
176 B
Makefile
10 lines
176 B
Makefile
# $FreeBSD$
|
|
|
|
_spath=${SRCTOP}/contrib/ofed/libibverbs
|
|
.PATH: ${_spath}/examples ${_spath}/man
|
|
|
|
BINDIR?= /usr/bin
|
|
CFLAGS+= -I${_spath}
|
|
LIBADD+= ibverbs mlx4 mlx5 cxgb4 pthread
|
|
|