aboutsummaryrefslogtreecommitdiff
path: root/contrib/ofed/usr.bin/osmtest/Makefile
blob: fef67a01ae129b5d6a8ad434c518b5c34fc29587 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# $FreeBSD$

.include "../Makefile.inc"

OPENSM=	${.CURDIR}/../../management/opensm
.PATH:	${OPENSM}/osmtest ${OPENSM}/man

BINDIR=	${TESTSBASE}/usr.bin/opensm
PROG=	osmtest

SRCS=	main.c \
	osmt_inform.c \
	osmt_mtl_regular_qp.c \
	osmt_multicast.c \
	osmt_service.c \
	osmt_slvl_vl_arb.c \
	osmtest.c

LDADD=	-libcommon \
	-libmad \
	-libumad \
	-losmvendor \
	-losmcomp \
	-lopensm \
	-lpthread

CFLAGS=	-DVENDOR_RMPP_SUPPORT -DDUAL_SIDED_RMPP \
	-I${OPENSM}/osmtest/include

MAN=	osmtest.8

WARNS?= 1

.include <bsd.prog.mk>