-
Notifications
You must be signed in to change notification settings - Fork 2
/
Makefile.am
86 lines (72 loc) · 2.55 KB
/
Makefile.am
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
INCLUDES=-I$(includedir)/infiniband \
-I$(includedir)
if DEBUG
DBGFLAGS = -ggdb -D_DEBUG_
else
DBGFLAGS =
endif
ACLOCAL_AMFLAGS = -I config
AM_CFLAGS = -Wall $(DBGFLAGS)
sbin_PROGRAMS = src/simple_rdma \
src/rdma_cm_query \
src/slurm_topology \
src/ibgraphfabric
mySCRIPTS = scripts/ibgetgid \
scripts/ibgetlid \
scripts/ibtraceroute \
scripts/ibcheckverbs \
scripts/ibtrackerrors \
scripts/ibcheckfabric \
scripts/ibnodesinmcast \
scripts/ibtranslatename \
scripts/ibbouncelinks.pl \
scripts/voltaire-create-switch-map.pl \
scripts/voltaire-get-guids.exp \
scripts/qlogic-create-switch-map.pl \
scripts/qlogic-get-guids.exp \
scripts/ibgetname \
scripts/check_wiring_peloton.pl \
scripts/check_wiring_coastal.pl \
scripts/lfts_sort.pl \
scripts/ibcreateswitchmap.sh \
scripts/ibhcacounters \
scripts/PIUHostlist.pm \
scripts/PIUTranslate.pm \
scripts/check_qos_router_settings.sh \
scripts/perfmon.pl \
scripts/profile-switches.pl
man_MANS = man/ibbouncelinks.8 \
man/voltaire-create-switch-map.8 \
man/qlogic-create-switch-map.8 \
man/ibcheckverbs.8 \
man/slurm_topology.8 \
man/ibtrackerrors.8 \
man/ibhcacounters.8 \
man/ibsrp.8 \
man/ibtranslatename.8 \
man/ibcheckfabric.8
sbin_SCRIPTS = $(mySCRIPTS)
src_simple_rdma_SOURCES = src/simple_rdma.c
src_simple_rdma_CFLAGS = -DOSM_VENDOR_INTF_OPENIB
src_simple_rdma_LDFLAGS = -losmvendor -lopensm -losmcomp -libmad -lrdmacm
src_rdma_cm_query_SOURCES = src/rdma_cm_query.c
src_rdma_cm_query_CFLAGS = -DOSM_VENDOR_INTF_OPENIB
src_rdma_cm_query_LDFLAGS = -losmvendor -lopensm -losmcomp -libmad -lrdmacm
src_slurm_topology_SOURCES = src/slurm_topology.c src/hostlist.c src/hostlist.h
src_slurm_topology_LDFLAGS = -losmcomp -libmad -libnetdisc $(LIBGENDERS)
src_ibgraphfabric_SOURCES = src/ibgraphfabric.c src/hostlist.c src/hostlist.h
src_ibgraphfabric_LDFLAGS = -losmcomp -libmad -libnetdisc
EXTRA_DIST = \
META \
ChangeLog \
pragmatic-infiniband-utilities.spec \
$(man_MANS) \
$(mySCRIPTS) \
scripts \
sysconf/ibsrp.conf \
etc/pragmaticIB.conf
install-exec-hook:
$(top_srcdir)/config/install-sh -m 755 -d $(DESTDIR)/$(sysconfdir)/init.d
$(top_srcdir)/config/install-sh -m 755 $(top_builddir)/scripts/ibsrp $(DESTDIR)/$(sysconfdir)/init.d/ibsrp
$(top_srcdir)/config/install-sh -m 755 $(top_builddir)/sysconf/ibsrp.conf $(DESTDIR)/$(sysconfdir)/sysconfig/ibsrp.conf
$(top_srcdir)/config/install-sh -m 755 $(top_builddir)/etc/pragmaticIB.conf $(DESTDIR)/$(sysconfdir)/pragmaticIB/pragmaticIB.conf