forked from open-mpi/ompi
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile.am
70 lines (63 loc) · 2.91 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
#
# Copyright (c) 2004-2005 The Trustees of Indiana University and Indiana
# University Research and Technology
# Corporation. All rights reserved.
# Copyright (c) 2004-2005 The University of Tennessee and The University
# of Tennessee Research Foundation. All rights
# reserved.
# Copyright (c) 2004-2009 High Performance Computing Center Stuttgart,
# University of Stuttgart. All rights reserved.
# Copyright (c) 2004-2005 The Regents of the University of California.
# All rights reserved.
# Copyright (c) 2006-2016 Cisco Systems, Inc. All rights reserved.
# Copyright (c) 2012-2015 Los Alamos National Security, Inc. All rights reserved.
# Copyright (c) 2014-2019 Intel, Inc. All rights reserved.
# Copyright (c) 2017-2021 Amazon.com, Inc. or its affiliates.
# All Rights reserved.
# Copyright (c) 2020 IBM Corporation. All rights reserved.
# $COPYRIGHT$
#
# Additional copyrights may follow
#
# $HEADER$
#
SUBDIRS = config contrib 3rd-party $(MCA_PROJECT_SUBDIRS) test
DIST_SUBDIRS = config contrib 3rd-party $(MCA_PROJECT_DIST_SUBDIRS) test
EXTRA_DIST = README.md INSTALL VERSION Doxyfile LICENSE autogen.pl README.JAVA.md AUTHORS
include examples/Makefile.include
dist-hook:
env LS_COLORS= sh "$(top_srcdir)/config/distscript.sh" "$(top_srcdir)" "$(distdir)" "$(OMPI_REPO_REV)"
@if test ! -s $(distdir)/AUTHORS ; then \
echo "AUTHORS file is empty; aborting distribution"; \
exit 1; \
fi
@if test -n "$(OPAL_MAKEDIST_DISABLE)" ; then \
echo "#########################################################################"; \
echo "#"; \
echo "# make dist is disabled due to the following packages: $(OPAL_MAKEDIST_DISABLE)"; \
echo "#"; \
echo "#########################################################################"; \
exit 1; \
fi
# Check for common symbols. Use a "-hook" to increase the odds that a
# developer will see it at the end of their installation process.
install-exec-hook:
-@if test -d "$(top_srcdir)/.git"; then \
$(top_srcdir)/config/find_common_syms \
--brief \
--top_builddir=$(top_builddir) \
--top_srcdir=$(top_srcdir) \
--objext=$(OBJEXT) \
--skipdir=3rd-party ; \
fi
ACLOCAL_AMFLAGS = -I config
# Use EXTRA_DIST and an explicit target (with a FORCE hack so that
# it's always run) rather than a dist-hook because there's some magic
# extra logic in Automake that will add AUTHORS to EXTRA_DIST if the
# file exists when Automake is run. Once we're explicit (to avoid odd
# copy behavior), it's easier to always build AUTHORS here, rather
# than trying to handle the EXTRA_DIST dependency from a clean repo
# (no AUTHORS file present) and use dist-hook to run every time.
AUTHORS: FORCE
$(PERL) "$(top_srcdir)/contrib/dist/make-authors.pl" --skip-ok --quiet --srcdir="$(top_srcdir)"
FORCE: