freebsd-skq/lib/ofed/libcxgb4/Makefile
kib 2f5b4e5085 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
2018-06-16 15:05:05 +00:00

21 lines
242 B
Makefile

# $FreeBSD$
_spath= ${SRCTOP}/contrib/ofed/libcxgb4
.PATH: ${_spath}
SHLIBDIR?= /usr/lib
LIB= cxgb4
SHLIB_MAJOR= 1
MK_PROFILE= no
SRCS= \
cq.c \
dev.c \
qp.c \
verbs.c
LIBADD= ibverbs pthread
CFLAGS+= -I${_spath}
.include <bsd.lib.mk>