aboutsummaryrefslogtreecommitdiff
path: root/usr.bin/ofed/opensm/Makefile
blob: 738b6ace31a1091d538c54d6e68471b470624da6 (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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
# $FreeBSD$

_spath=	${SRCTOP}/contrib/ofed/opensm/opensm
.PATH: ${_spath} ${_spath:H}/man

BINDIR?=	/usr/bin
PROG=		opensm

SRCS= \
main.c \
osm_congestion_control.c \
osm_console.c \
osm_console_io.c \
osm_db_files.c \
osm_db_pack.c \
osm_drop_mgr.c \
osm_dump.c \
osm_event_plugin.c \
osm_guid_info_rcv.c \
osm_guid_mgr.c \
osm_inform.c \
osm_lid_mgr.c \
osm_lin_fwd_rcv.c \
osm_link_mgr.c \
osm_mcast_fwd_rcv.c \
osm_mcast_mgr.c \
osm_mcast_tbl.c \
osm_mcm_port.c \
osm_mesh.c \
osm_mlnx_ext_port_info_rcv.c \
osm_mtree.c \
osm_multicast.c \
osm_node.c \
osm_node_desc_rcv.c \
osm_node_info_rcv.c \
osm_opensm.c \
osm_perfmgr.c \
osm_perfmgr_db.c \
osm_pkey.c \
osm_pkey_mgr.c \
osm_pkey_rcv.c \
osm_port.c \
osm_port_info_rcv.c \
osm_prtn.c \
osm_prtn_config.c \
osm_qos.c \
osm_qos_parser_l.l \
osm_qos_parser_y.y \
osm_qos_policy.c \
osm_remote_sm.c \
osm_req.c \
osm_resp.c \
osm_router.c \
osm_sa.c \
osm_sa_class_port_info.c \
osm_sa_guidinfo_record.c \
osm_sa_informinfo.c \
osm_sa_lft_record.c \
osm_sa_link_record.c \
osm_sa_mad_ctrl.c \
osm_sa_mcmember_record.c \
osm_sa_mft_record.c \
osm_sa_multipath_record.c \
osm_sa_node_record.c \
osm_sa_path_record.c \
osm_sa_pkey_record.c \
osm_sa_portinfo_record.c \
osm_sa_service_record.c \
osm_sa_slvl_record.c \
osm_sa_sminfo_record.c \
osm_sa_sw_info_record.c \
osm_sa_vlarb_record.c \
osm_service.c \
osm_slvl_map_rcv.c \
osm_sm.c \
osm_sm_mad_ctrl.c \
osm_sm_state_mgr.c \
osm_sminfo_rcv.c \
osm_state_mgr.c \
osm_subnet.c \
osm_sw_info_rcv.c \
osm_switch.c \
osm_torus.c \
osm_trap_rcv.c \
osm_ucast_cache.c \
osm_ucast_dfsssp.c \
osm_ucast_dnup.c \
osm_ucast_file.c \
osm_ucast_ftree.c \
osm_ucast_lash.c \
osm_ucast_mgr.c \
osm_ucast_updn.c \
osm_vl15intf.c \
osm_vl_arb_rcv.c \
st.c

MAN=		opensm.8
CFLAGS+=	-I${_spath:H} -DHAVE_CONFIG_H=1
CFLAGS+=	-I${SYSROOT:U${DESTDIR}}/${INCLUDEDIR}/infiniband
LIBADD=		opensm osmvendor osmcomp wrap pthread

WARNS?=		2

.include <bsd.prog.mk>