freebsd-dev/contrib/ofed/infiniband-diags/build/Makefile.inc
Hans Petter Selasky be28698cf2 Correctly prefix the infiniband include directory for buildworld. This fixes
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
2017-12-05 08:25:17 +00:00

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