2003-11-22 16:36:58 +00:00
|
|
|
#
|
2004-01-07 14:57:04 +00:00
|
|
|
# $HEADER$
|
2003-11-22 16:36:58 +00:00
|
|
|
#
|
|
|
|
|
|
|
|
include $(top_srcdir)/config/Makefile.options
|
|
|
|
|
2004-08-07 04:20:28 +00: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-13 20:42:38 +00:00
|
|
|
f77_base_lib = mpi/f77/libmpi_f77.la
|
2004-08-07 04:20:28 +00: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-13 21:00:42 +00:00
|
|
|
f77_base_lib =
|
2004-08-07 04:20:28 +00:00
|
|
|
f77_mpi_lib =
|
|
|
|
f77_pmpi_lib =
|
|
|
|
endif
|
|
|
|
|
|
|
|
# See if we have F90 MPI bindings
|
|
|
|
|
|
|
|
if OMPI_WANT_F90_BINDINGS
|
|
|
|
f90_lib =
|
|
|
|
else
|
|
|
|
f90_lib =
|
|
|
|
endif
|
|
|
|
|
|
|
|
# See if we have C++ MPI bindings
|
|
|
|
|
|
|
|
if WANT_MPI_CXX_BINDINGS
|
|
|
|
cxx_lib =
|
|
|
|
else
|
|
|
|
cxx_lib =
|
|
|
|
endif
|
|
|
|
|
2004-03-17 19:06:06 +00:00
|
|
|
SUBDIRS = \
|
|
|
|
include \
|
|
|
|
$(LIBLTDL_SUBDIR) \
|
|
|
|
attribute \
|
|
|
|
communicator \
|
|
|
|
datatype \
|
|
|
|
errhandler \
|
|
|
|
event \
|
2004-03-26 04:28:42 +00:00
|
|
|
file \
|
2004-03-17 19:06:06 +00:00
|
|
|
group \
|
|
|
|
info \
|
2004-06-07 15:33:53 +00:00
|
|
|
class \
|
2004-03-17 19:06:06 +00:00
|
|
|
mca \
|
|
|
|
mpi \
|
|
|
|
op \
|
|
|
|
os \
|
|
|
|
proc \
|
|
|
|
request \
|
|
|
|
runtime \
|
|
|
|
threads \
|
|
|
|
util \
|
|
|
|
win \
|
2004-03-17 21:11:52 +00:00
|
|
|
. \
|
2004-06-15 23:56:18 +00:00
|
|
|
dynamic-mca \
|
2004-03-17 19:06:06 +00:00
|
|
|
tools
|
|
|
|
|
|
|
|
lib_LTLIBRARIES = libmpi.la
|
2004-01-19 17:50:34 +00:00
|
|
|
libmpi_la_SOURCES =
|
2004-03-17 19:06:06 +00:00
|
|
|
libmpi_la_LIBADD = \
|
|
|
|
$(LIBLTDL_LTLIB) \
|
|
|
|
attribute/libattribute.la \
|
2004-08-07 04:20:28 +00:00
|
|
|
class/liblfc.la \
|
2004-03-17 19:06:06 +00:00
|
|
|
communicator/libcommunicator.la \
|
|
|
|
datatype/libdatatype.la \
|
2004-03-19 00:00:09 +00:00
|
|
|
errhandler/liberrhandler.la \
|
2004-03-17 19:06:06 +00:00
|
|
|
event/libevent.la \
|
2004-08-14 01:56:05 +00:00
|
|
|
file/libfile.la \
|
2004-03-17 19:06:06 +00:00
|
|
|
group/libgroup.la \
|
|
|
|
info/libinfo.la \
|
2004-08-07 04:20:28 +00:00
|
|
|
mca/base/libmca_base.la \
|
|
|
|
mca/allocator/base/libmca_allocator_base.la $(MCA_allocator_STATIC_LTLIBS) \
|
|
|
|
mca/coll/base/libmca_coll_base.la $(MCA_coll_STATIC_LTLIBS) \
|
|
|
|
$(MCA_common_STATIC_LTLIBS) \
|
2004-08-14 01:56:05 +00:00
|
|
|
mca/io/base/libmca_io_base.la $(MCA_coll_STATIC_LTLIBS) \
|
2004-08-07 04:20:28 +00:00
|
|
|
mca/llm/base/libmca_llm_base.la $(MCA_llm_STATIC_LTLIBS) \
|
|
|
|
mca/mpool/base/libmca_mpool_base.la $(MCA_mpool_STATIC_LTLIBS) \
|
|
|
|
mca/ns/base/libmca_ns_base.la $(MCA_ns_STATIC_LTLIBS) \
|
|
|
|
mca/oob/base/libmca_oob_base.la $(MCA_oob_STATIC_LTLIBS) \
|
|
|
|
mca/pcm/base/libmca_pcm_base.la $(MCA_pcm_STATIC_LTLIBS) \
|
|
|
|
mca/pml/base/libmca_pml_base.la $(MCA_pml_STATIC_LTLIBS) \
|
|
|
|
mca/ptl/base/libmca_ptl_base.la $(MCA_ptl_STATIC_LTLIBS) \
|
|
|
|
mca/topo/base/libmca_topo_base.la $(MCA_topo_STATIC_LTLIBS) \
|
2004-08-13 20:42:38 +00:00
|
|
|
mpi/c/libmpi_c.la $(c_mpi_lib) $(c_pmpi_lib) \
|
2004-08-13 21:00:42 +00:00
|
|
|
$(f77_base_lib) $(f77_mpi_lib) $(f77_pmpi_lib) \
|
2004-08-07 04:20:28 +00:00
|
|
|
$(f90_lib) $(cxx_lib) \
|
2004-08-08 05:20:32 +00:00
|
|
|
mpi/runtime/libmpiruntime.la \
|
2004-04-21 00:14:57 +00:00
|
|
|
op/libop.la \
|
2004-03-17 19:06:06 +00:00
|
|
|
proc/libproc.la \
|
|
|
|
request/librequest.la \
|
|
|
|
runtime/libruntime.la \
|
|
|
|
threads/libthreads.la \
|
2004-07-16 04:19:20 +00:00
|
|
|
util/libutil.la
|
2004-08-07 20:00:58 +00:00
|
|
|
libmpi_la_DEPENDENCIES = $(libmpi_la_LIBADD)
|