f39bffc62c
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
24 lines
267 B
Makefile
24 lines
267 B
Makefile
# $FreeBSD$
|
|
|
|
_spath= ${SRCTOP}/contrib/ofed/libmlx4
|
|
.PATH: ${_spath}
|
|
|
|
SHLIBDIR?= /usr/lib
|
|
LIB= mlx4
|
|
SHLIB_MAJOR= 1
|
|
MK_PROFILE= no
|
|
|
|
SRCS= \
|
|
buf.c \
|
|
cq.c \
|
|
dbrec.c \
|
|
mlx4.c \
|
|
qp.c \
|
|
srq.c \
|
|
verbs.c
|
|
|
|
LIBADD= ibverbs pthread
|
|
CFLAGS+= -I${_spath}
|
|
|
|
.include <bsd.lib.mk>
|