2003-11-22 19:36:58 +03:00
|
|
|
#
|
2005-11-05 22:57:48 +03: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.
|
2004-11-28 23:09:25 +03:00
|
|
|
# Copyright (c) 2004-2005 High Performance Computing Center Stuttgart,
|
|
|
|
# University of Stuttgart. All rights reserved.
|
2005-03-24 15:43:37 +03:00
|
|
|
# Copyright (c) 2004-2005 The Regents of the University of California.
|
|
|
|
# All rights reserved.
|
2004-11-22 04:38:40 +03:00
|
|
|
# $COPYRIGHT$
|
|
|
|
#
|
|
|
|
# Additional copyrights may follow
|
|
|
|
#
|
2004-01-07 17:57:04 +03:00
|
|
|
# $HEADER$
|
2003-11-22 19:36:58 +03:00
|
|
|
#
|
|
|
|
|
2005-12-08 11:28:19 +03:00
|
|
|
EXTRA_DIST=
|
|
|
|
|
2004-08-07 08:20:28 +04:00
|
|
|
# We always have C bindings, but do we have profiling?
|
|
|
|
|
|
|
|
if WANT_MPI_BINDINGS_LAYER
|
|
|
|
c_mpi_lib = mpi/c/libmpi_c_mpi.la
|
|
|
|
else
|
|
|
|
c_mpi_lib =
|
|
|
|
endif
|
|
|
|
if WANT_PMPI_BINDINGS_LAYER
|
|
|
|
c_pmpi_lib = mpi/c/profile/libmpi_c_pmpi.la
|
|
|
|
else
|
|
|
|
c_pmpi_lib =
|
|
|
|
endif
|
|
|
|
|
|
|
|
# See if we have f77 MPI bindings
|
|
|
|
|
|
|
|
if OMPI_WANT_F77_BINDINGS
|
2004-08-14 00:42:38 +04:00
|
|
|
f77_base_lib = mpi/f77/libmpi_f77.la
|
2004-08-07 08:20:28 +04:00
|
|
|
if WANT_MPI_F77_BINDINGS_LAYER
|
|
|
|
f77_mpi_lib = mpi/f77/libmpi_f77_mpi.la
|
|
|
|
else
|
|
|
|
f77_mpi_lib =
|
|
|
|
endif
|
|
|
|
if WANT_PMPI_F77_BINDINGS_LAYER
|
|
|
|
f77_pmpi_lib = mpi/f77/profile/libmpi_f77_pmpi.la
|
|
|
|
else
|
|
|
|
f77_pmpi_lib =
|
|
|
|
endif
|
|
|
|
else
|
2004-08-14 01:00:42 +04:00
|
|
|
f77_base_lib =
|
2004-08-07 08:20:28 +04:00
|
|
|
f77_mpi_lib =
|
|
|
|
f77_pmpi_lib =
|
|
|
|
endif
|
|
|
|
|
2004-03-17 22:06:06 +03:00
|
|
|
SUBDIRS = \
|
2006-02-12 04:33:29 +03:00
|
|
|
include \
|
2006-03-15 06:35:30 +03:00
|
|
|
datatype \
|
2005-09-01 00:35:15 +04:00
|
|
|
debuggers \
|
2006-02-12 04:33:29 +03:00
|
|
|
etc \
|
2004-03-17 22:06:06 +03:00
|
|
|
mpi \
|
2005-10-17 04:21:10 +04:00
|
|
|
$(MCA_ompi_FRAMEWORKS_SUBDIRS) \
|
|
|
|
$(MCA_ompi_FRAMEWORK_COMPONENT_STATIC_SUBDIRS) \
|
2004-03-18 00:11:52 +03:00
|
|
|
. \
|
2005-10-17 04:21:10 +04:00
|
|
|
$(MCA_ompi_FRAMEWORK_COMPONENT_DSO_SUBDIRS)
|
|
|
|
|
|
|
|
DIST_SUBDIRS = \
|
2006-02-12 10:06:38 +03:00
|
|
|
include \
|
2006-03-15 18:03:15 +03:00
|
|
|
datatype \
|
2005-10-17 04:21:10 +04:00
|
|
|
debuggers \
|
2006-02-12 10:06:38 +03:00
|
|
|
etc \
|
2005-10-17 04:21:10 +04:00
|
|
|
mpi \
|
|
|
|
$(MCA_ompi_FRAMEWORKS_SUBDIRS) \
|
|
|
|
$(MCA_ompi_FRAMEWORK_COMPONENT_ALL_SUBDIRS)
|
2004-03-17 22:06:06 +03:00
|
|
|
|
2004-08-23 14:15:01 +04:00
|
|
|
# Build the main MPI library
|
|
|
|
|
2004-03-17 22:06:06 +03:00
|
|
|
lib_LTLIBRARIES = libmpi.la
|
2004-01-19 20:50:34 +03:00
|
|
|
libmpi_la_SOURCES =
|
2004-03-17 22:06:06 +03:00
|
|
|
libmpi_la_LIBADD = \
|
2006-03-15 06:35:30 +03:00
|
|
|
datatype/libdatatype.la \
|
2005-09-01 00:35:15 +04:00
|
|
|
debuggers/libdebuggers.la \
|
2005-10-17 04:21:10 +04:00
|
|
|
mpi/c/libmpi_c.la \
|
|
|
|
$(c_mpi_lib) \
|
|
|
|
$(c_pmpi_lib) \
|
|
|
|
$(f77_base_lib) \
|
|
|
|
$(f77_mpi_lib) \
|
|
|
|
$(f77_pmpi_lib) \
|
|
|
|
$(MCA_ompi_FRAMEWORK_LIBS) \
|
|
|
|
$(top_ompi_builddir)/orte/liborte.la
|
|
|
|
libmpi_la_DEPENDENCIES = $(libmpi_la_LIBADD)
|
2005-08-14 00:19:24 +04:00
|
|
|
|
2005-10-17 04:21:10 +04:00
|
|
|
# included subdirectory Makefile.am's and appended-to variables
|
|
|
|
headers =
|
|
|
|
noinst_LTLIBRARIES =
|
2006-03-24 02:41:49 +03:00
|
|
|
include_HEADERS =
|
2005-10-17 04:21:10 +04:00
|
|
|
nobase_ompi_HEADERS =
|
|
|
|
dist_pkgdata_DATA =
|
|
|
|
libmpi_la_SOURCES += $(headers)
|
2005-08-14 00:19:24 +04:00
|
|
|
|
2005-10-17 04:21:10 +04:00
|
|
|
# Conditionally install the header files
|
|
|
|
|
|
|
|
if WANT_INSTALL_HEADERS
|
|
|
|
ompidir = $(includedir)/openmpi/ompi
|
|
|
|
nobase_ompi_HEADERS += $(headers)
|
|
|
|
else
|
|
|
|
ompidir = $(includedir)
|
|
|
|
endif
|
|
|
|
|
|
|
|
include class/Makefile.am
|
|
|
|
|
|
|
|
include attribute/Makefile.am
|
|
|
|
include communicator/Makefile.am
|
|
|
|
include errhandler/Makefile.am
|
|
|
|
include file/Makefile.am
|
|
|
|
include group/Makefile.am
|
|
|
|
include info/Makefile.am
|
|
|
|
include op/Makefile.am
|
2006-03-23 08:00:55 +03:00
|
|
|
include peruse/Makefile.am
|
2005-10-17 04:21:10 +04:00
|
|
|
include proc/Makefile.am
|
|
|
|
include request/Makefile.am
|
|
|
|
include runtime/Makefile.am
|
|
|
|
include win/Makefile.am
|
|
|
|
include tools/Makefile.am
|