2004-08-21 04:49:07 +04:00
|
|
|
#
|
|
|
|
# $HEADER$
|
|
|
|
#
|
|
|
|
|
|
|
|
# Use the top-level Makefile.options
|
|
|
|
|
|
|
|
include $(top_ompi_srcdir)/config/Makefile.options
|
|
|
|
|
|
|
|
EXTRA_DIST = VERSION
|
|
|
|
|
|
|
|
sources = \
|
|
|
|
coll_sm.h \
|
|
|
|
coll_sm.c \
|
|
|
|
coll_sm_allgather.c \
|
|
|
|
coll_sm_alltoall.c \
|
|
|
|
coll_sm_barrier.c \
|
|
|
|
coll_sm_bcast.c \
|
|
|
|
coll_sm_component.c \
|
|
|
|
coll_sm_gather.c \
|
|
|
|
coll_sm_reduce.c \
|
|
|
|
coll_sm_scatter.c
|
|
|
|
|
|
|
|
# Make the output library in this directory, and name it either
|
|
|
|
# mca_<type>_<name>.la (for DSO builds) or libmca_<type>_<name>.la
|
|
|
|
# (for static builds).
|
|
|
|
|
|
|
|
if OMPI_BUILD_coll_sm_DSO
|
|
|
|
component_noinst =
|
|
|
|
component_install = mca_coll_sm.la
|
|
|
|
else
|
|
|
|
component_noinst = libmca_coll_sm.la
|
|
|
|
component_install =
|
|
|
|
endif
|
|
|
|
|
2004-08-27 14:07:29 +04:00
|
|
|
common = $(top_ompi_builddir)/src/mca/common/sm/libmca_common_sm.la
|
|
|
|
|
2004-08-21 04:49:07 +04:00
|
|
|
mcacomponentdir = $(libdir)/openmpi
|
|
|
|
mcacomponent_LTLIBRARIES = $(component_install)
|
|
|
|
mca_coll_sm_la_SOURCES = $(sources)
|
|
|
|
mca_coll_sm_la_LDFLAGS = -module -avoid-version
|
2004-08-27 14:07:29 +04:00
|
|
|
mca_coll_sm_la_LIBADD = $(common)
|
2004-08-21 04:49:07 +04:00
|
|
|
|
|
|
|
noinst_LTLIBRARIES = $(component_noinst)
|
|
|
|
libmca_coll_sm_la_SOURCES =$(sources)
|
|
|
|
libmca_coll_sm_la_LDFLAGS = -module -avoid-version
|
2004-08-27 14:07:29 +04:00
|
|
|
libmca_coll_sm_la_LIBADD = $(common)
|