bdrewery 2fb6829f3e Fix over/under-linking in contrib/ofed.
Sponsored by:	EMC / Isilon Storage Division
2016-03-04 22:37:09 +00:00

26 lines
442 B
Makefile

# $FreeBSD$
SHLIBDIR?= /usr/lib
.include <bsd.own.mk>
CXGB4DIR= ${.CURDIR}/../../libcxgb4
IBVERBSDIR= ${.CURDIR}/../../libibverbs
CXGBSRCDIR= ${CXGB4DIR}/src
.PATH: ${CXGBSRCDIR}
LIB= cxgb4
SHLIB_MAJOR= 1
MK_PROFILE= no
SRCS= dev.c cq.c qp.c verbs.c
LIBADD= ibverbs pthread
CFLAGS+= -g -DHAVE_CONFIG_H -DDEBUG
CFLAGS+= -I${.CURDIR} -I${CXGBSRCDIR} -I${IBVERBSDIR}/include
VERSION_MAP= ${CXGBSRCDIR}/cxgb4.map
.include <bsd.lib.mk>