forked from openucx/ucx
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile.am
80 lines (61 loc) · 1.93 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
#
# Copyright (C) Mellanox Technologies Ltd. 2001-2011. ALL RIGHTS RESERVED.
# Copyright (C) UT-Battelle, LLC. 2014-2015. 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.
ACLOCAL_AMFLAGS = -I config/m4
noinst_HEADERS = src/uct/api/uct.h src/uct/api/uct_def.h src/uct/api/tl.h
doxygen_doc_files = $(noinst_HEADERS)
perftest_dir = $(pkgdatadir)/perftest
doc_dir = $(pkgdatadir)/doc
dist_perftest__DATA = contrib/ucx_perftest_config/msg_pow2 contrib/ucx_perftest_config/README contrib/ucx_perftest_config/test_types contrib/ucx_perftest_config/transports
dist_doc__DATA = README
SUBDIRS = \
src/ucs \
src/uct \
src/ucp \
src/tools/hook \
src/tools/info \
src/tools/perf \
test/examples \
external
if HAVE_GTEST
SUBDIRS += test/gtest
endif
EXTRA_DIST =
EXTRA_DIST += config/m4/gtest.m4
EXTRA_DIST += config/m4/ucs.m4
EXTRA_DIST += config/m4/ib.m4
EXTRA_DIST += config/m4/sysdep.m4
EXTRA_DIST += contrib/configure-devel
EXTRA_DIST += contrib/configure-release
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
EXTRA_DIST += contrib/ucx_perftest_config/transports
EXTRA_DIST += doc/uml/uct.dot
include $(srcdir)/doc/doxygen/doxygen.am
.PHONY: docs docs-clean
DOCLIST = doc/doxygen/doxygen-doc/ucx.tag
FORMAT = pdf
DOT_CLEANFILES =
if HAVE_DOT
DOCLIST += doc/uml/uml.tag doc/uml/uct.$(FORMAT) doc/uml/ucp.$(FORMAT)
DOT_CLEANFILES += doc/uml/uml.tag doc/uml/uct.$(FORMAT) doc/uml/ucp.$(FORMAT)
endif
docs: $(DOCLIST)
docs-clean:
$(RM) $(DX_CLEANFILES)
$(RM) $(DOT_CLEANFILES)
doc/doxygen/doxygen-doc/ucx.tag: $(doxygen_doc_files) doxygen-doc
doc/uml/uml.tag:
mkdir -p doc/uml
echo `date` > $@
.dot.pdf:
dot -T pdf -o $@ $<
MOSTLYCLEANFILES = $(DX_CLEANFILES) $(DOT_CLEANFILES)