2003-11-22 16:36:58 +00:00
|
|
|
#
|
2005-11-05 19:57:48 +00:00
|
|
|
# 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.
|
2015-06-23 20:59:57 -07:00
|
|
|
# Copyright (c) 2004-2009 High Performance Computing Center Stuttgart,
|
2004-11-28 20:09:25 +00:00
|
|
|
# University of Stuttgart. All rights reserved.
|
2005-03-24 12:43:37 +00:00
|
|
|
# Copyright (c) 2004-2005 The Regents of the University of California.
|
|
|
|
# All rights reserved.
|
2016-04-20 12:33:28 -07:00
|
|
|
# Copyright (c) 2006-2016 Cisco Systems, Inc. All rights reserved.
|
2015-04-23 09:41:18 -06:00
|
|
|
# Copyright (c) 2012-2015 Los Alamos National Security, Inc. All rights reserved.
|
2019-12-12 11:52:28 +09:00
|
|
|
# Copyright (c) 2014-2019 Intel, Inc. All rights reserved.
|
2020-07-10 21:47:22 +00:00
|
|
|
# Copyright (c) 2017-2020 Amazon.com, Inc. or its affiliates.
|
2017-07-19 10:14:24 -07:00
|
|
|
# All Rights reserved.
|
2019-12-12 11:52:28 +09:00
|
|
|
# Copyright (c) 2020 IBM Corporation. All rights reserved.
|
2004-11-22 01:38:40 +00:00
|
|
|
# $COPYRIGHT$
|
2015-06-23 20:59:57 -07:00
|
|
|
#
|
2004-11-22 01:38:40 +00:00
|
|
|
# Additional copyrights may follow
|
2015-06-23 20:59:57 -07:00
|
|
|
#
|
2004-01-07 08:17:40 +00:00
|
|
|
# $HEADER$
|
2003-11-22 16:36:58 +00:00
|
|
|
#
|
|
|
|
|
build: Add third-party package infrastructure
With Open MPI 5.0, the decision was made to stop building 3rd-party
packages, such as Libevent, HWLOC, PMIx, and PRRTE as MCA components
and instead 1) start relying on external libraries whenever possible
and 2) Open MPI builds the 3rd party libraries (if needed) as
independent libraries, rather than linked into libopen-pal.
This patch is the first step in that process, providing foundational
changes required for supporting 3rd-party packages, such as changes
to autogen.pl, the top-level Makefile.am, and introducing two
Autoconf macros to support running sub-configure scripts; one
supporting source in tarball form and the other supporting
source in a sub-tree.
Signed-off-by: Brian Barrett <bbarrett@amazon.com>
2020-04-28 02:37:08 +00:00
|
|
|
SUBDIRS = config contrib 3rd-party $(MCA_PROJECT_SUBDIRS) test
|
|
|
|
DIST_SUBDIRS = config contrib 3rd-party $(MCA_PROJECT_DIST_SUBDIRS) test
|
2020-11-08 13:19:39 -05:00
|
|
|
EXTRA_DIST = README.md INSTALL VERSION Doxyfile LICENSE autogen.pl README.JAVA.md AUTHORS
|
2004-03-26 21:34:01 +00:00
|
|
|
|
2006-07-13 21:03:36 +00:00
|
|
|
include examples/Makefile.include
|
|
|
|
|
2004-03-26 21:34:01 +00:00
|
|
|
dist-hook:
|
2015-04-27 06:48:43 -07:00
|
|
|
env LS_COLORS= sh "$(top_srcdir)/config/distscript.sh" "$(top_srcdir)" "$(distdir)" "$(OMPI_REPO_REV)"
|
2017-07-19 10:14:24 -07:00
|
|
|
@if test ! -s $(distdir)/AUTHORS ; then \
|
|
|
|
echo "AUTHORS file is empty; aborting distribution"; \
|
|
|
|
exit 1; \
|
|
|
|
fi
|
2008-05-01 15:32:20 +00:00
|
|
|
|
2015-02-05 08:52:57 -08:00
|
|
|
# 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:
|
2016-04-20 12:33:28 -07:00
|
|
|
-@if test -d "$(top_srcdir)/.git"; then \
|
|
|
|
$(top_srcdir)/config/find_common_syms \
|
|
|
|
--brief \
|
|
|
|
--top_builddir=$(top_builddir) \
|
|
|
|
--top_srcdir=$(top_srcdir) \
|
build: Add third-party package infrastructure
With Open MPI 5.0, the decision was made to stop building 3rd-party
packages, such as Libevent, HWLOC, PMIx, and PRRTE as MCA components
and instead 1) start relying on external libraries whenever possible
and 2) Open MPI builds the 3rd party libraries (if needed) as
independent libraries, rather than linked into libopen-pal.
This patch is the first step in that process, providing foundational
changes required for supporting 3rd-party packages, such as changes
to autogen.pl, the top-level Makefile.am, and introducing two
Autoconf macros to support running sub-configure scripts; one
supporting source in tarball form and the other supporting
source in a sub-tree.
Signed-off-by: Brian Barrett <bbarrett@amazon.com>
2020-04-28 02:37:08 +00:00
|
|
|
--objext=$(OBJEXT) \
|
|
|
|
--skipdir=3rd-party ; \
|
2016-04-20 12:33:28 -07:00
|
|
|
fi
|
2015-02-05 08:52:57 -08:00
|
|
|
|
2010-02-25 20:25:52 +00:00
|
|
|
ACLOCAL_AMFLAGS = -I config
|
2017-07-19 10:14:24 -07:00
|
|
|
|
|
|
|
# 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:
|