1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-29 12:03:03 +00:00
freebsd/contrib/ofed/usr.lib/Makefile.inc
Hans Petter Selasky 3823d5e198 Make some infiniband example utilities easily buildable:
- Add new Makefiles.
- Add more include directories when building.
- Fixed a printf() formatting string.

MFC after:	3 days
Sponsored by:	Mellanox Technologies
2014-10-28 13:38:10 +00:00

25 lines
679 B
Makefile

IBMGMT= ${.CURDIR}/../../management
IBCOMMONDIR= ${IBMGMT}/libibcommon
IBMADDIR= ${IBMGMT}/libibmad
UMADDIR= ${IBMGMT}/libibumad
OPENSMDIR= ${IBMGMT}/opensm
COMPLIBDIR= ${OPENSMDIR}/complib
VENDORLIBDIR= ${OPENSMDIR}/libvendor
IBVERBSDIR= ${.CURDIR}/../../libibverbs
IBINC= ${.CURDIR}/../../include
RDMACMDIR= ${.CURDIR}/../../librdmacm
CFLAGS+= -I${.CURDIR} \
-I${IBINC}/infiniband \
-I${IBINC} \
-I${IBCOMMONDIR}/include/infiniband \
-I${IBCOMMONDIR}/include \
-I${IBMADDIR}/include/infiniband \
-I${IBMADDIR}/include \
-I${UMADDIR}/include/infiniband \
-I${UMADDIR}/include \
-I${OPENSMDIR}/include \
-I${RDMACMDIR}/include \
-I${IBVERBSDIR}/include