forked from openucx/ucx
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile.am
127 lines (102 loc) · 2.87 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
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
#
# Copyright (c) NVIDIA CORPORATION & AFFILIATES, 2001-2011. ALL RIGHTS RESERVED.
# Copyright (C) UT-Battelle, LLC. 2014-2015. ALL RIGHTS RESERVED.
# Copyright (C) The University of Tennessee and The University
# of Tennessee Research Foundation. 2016. ALL RIGHTS RESERVED.
#
# See file LICENSE for terms.
#
# Build . before src so that our all-local and clean-local hooks kicks in at
# the right time.
EXTRA_DIST =
ACLOCAL_AMFLAGS = -I config/m4
noinst_HEADERS = \
src/uct/api/uct.h \
src/uct/api/v2/uct_v2.h \
src/uct/api/uct_def.h \
src/uct/api/tl.h
doxygen_doc_files = $(noinst_HEADERS)
doc_dir = $(pkgdatadir)/doc
if !DOCS_ONLY
perftest_dir = $(pkgdatadir)/perftest
dist_perftest__DATA = \
contrib/ucx_perftest_config/msg_pow2 \
contrib/ucx_perftest_config/msg_pow2_large \
contrib/ucx_perftest_config/README \
contrib/ucx_perftest_config/test_types_uct \
contrib/ucx_perftest_config/test_types_ucp \
contrib/ucx_perftest_config/test_types_ucp_rma \
contrib/ucx_perftest_config/test_types_ucp_amo \
contrib/ucx_perftest_config/transports
SUBDIRS = \
src/ucm \
src/ucs \
src/uct \
src/ucp
if HAVE_UCG
SUBDIRS += $(UCG_SUBDIR)
endif
SUBDIRS += \
src/tools/vfs \
src/tools/info \
src/tools/perf \
src/tools/profile \
bindings/go \
bindings/java \
test/apps \
examples \
cmake
if HAVE_GTEST
SUBDIRS += test/gtest
endif
if HAVE_MPICC
SUBDIRS += test/mpi
endif
EXTRA_DIST += contrib/configure-devel
EXTRA_DIST += contrib/configure-release
EXTRA_DIST += contrib/configure-release-mt
EXTRA_DIST += contrib/configure-prof
EXTRA_DIST += contrib/buildrpm.sh
EXTRA_DIST += contrib/ucx_perftest_config/msg_pow2
EXTRA_DIST += contrib/ucx_perftest_config/README
EXTRA_DIST += contrib/ucx_perftest_config/test_types_uct
EXTRA_DIST += contrib/ucx_perftest_config/test_types_ucp
EXTRA_DIST += contrib/ucx_perftest_config/transports
EXTRA_DIST += debian/changelog
EXTRA_DIST += debian/compat
EXTRA_DIST += debian/copyright
EXTRA_DIST += debian/control
EXTRA_DIST += debian/ucx.install
EXTRA_DIST += debian/ucx-cuda.install
EXTRA_DIST += debian/rules
EXTRA_DIST += debian/source/format
EXTRA_DIST += ucx.pc.in
EXTRA_DIST += LICENSE
endif #!DOCS_ONLY
EXTRA_DIST += docs/uml/uct.dot
include $(srcdir)/docs/doxygen/doxygen.am
.PHONY: docs docs-clean
pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = ucx.pc
DOCLIST = docs/doxygen/doxygen-doc/ucx.tag
FORMAT = pdf
DOT_CLEANFILES =
if HAVE_GTEST
gtest:
@make -C test/gtest test
endif
if HAVE_DOT
DOCLIST += docs/uml/uml.tag docs/uml/uct.$(FORMAT) docs/uml/ucp.$(FORMAT)
DOT_CLEANFILES += docs/uml/uml.tag docs/uml/uct.$(FORMAT) docs/uml/ucp.$(FORMAT)
endif
docs: $(DOCLIST)
docs-clean:
$(RM) $(DX_CLEANFILES)
$(RM) $(DOT_CLEANFILES)
docs/doxygen/doxygen-doc/ucx.tag: $(doxygen_doc_files) doxygen-doc
docs/uml/uml.tag:
mkdir -p docs/uml
echo `date` > $@
.dot.pdf:
dot -T pdf -o $@ $<
MOSTLYCLEANFILES = $(DX_CLEANFILES) $(DOT_CLEANFILES)