the OFED buildworld target, WITH_OFED=YES, when the include files are not already installed locally, but only in the temporary object directory. Found by: kib Sponsored by: Mellanox Technologies
13 lines
294 B
Makefile
13 lines
294 B
Makefile
# $FreeBSD$
|
|
|
|
.PATH: ${.CURDIR}/../../src ${.CURDIR}/../../man
|
|
|
|
BINDIR?= /usr/bin
|
|
SRCS+= ibdiag_common.c ibdiag_sa.c
|
|
CFLAGS+= -I${SYSROOT:U${DESTDIR}}/${INCLUDEDIR}/infiniband
|
|
CFLAGS+= -DHAVE_CONFIG_H=1
|
|
CFLAGS+= -I${.CURDIR}/../../
|
|
CFLAGS+= -I${.CURDIR}/../../src
|
|
LIBADD+= osmcomp ibmad ibumad
|
|
|