2004-06-04 02:13:01 +04:00
|
|
|
#
|
2004-11-22 04:38:40 +03:00
|
|
|
# Copyright (c) 2004-2005 The Trustees of Indiana University.
|
|
|
|
# All rights reserved.
|
|
|
|
# Copyright (c) 2004-2005 The Trustees of the University of Tennessee.
|
|
|
|
# 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-06-04 02:13:01 +04:00
|
|
|
# $HEADER$
|
|
|
|
#
|
|
|
|
|
2004-07-01 20:25:44 +04:00
|
|
|
# Use the top-level Makefile.options
|
2004-06-04 02:13:01 +04:00
|
|
|
|
2005-09-07 09:54:53 +04:00
|
|
|
|
2004-06-04 02:13:01 +04:00
|
|
|
|
2004-07-01 20:25:44 +04:00
|
|
|
# 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).
|
2004-06-04 02:13:01 +04:00
|
|
|
|
2004-07-01 20:25:44 +04:00
|
|
|
if OMPI_BUILD_ptl_sm_DSO
|
|
|
|
component_noinst =
|
|
|
|
component_install = mca_ptl_sm.la
|
2004-06-04 02:13:01 +04:00
|
|
|
else
|
2004-07-01 20:25:44 +04:00
|
|
|
component_noinst = libmca_ptl_sm.la
|
|
|
|
component_install =
|
2004-06-04 02:13:01 +04:00
|
|
|
endif
|
|
|
|
|
2005-07-13 20:17:44 +04:00
|
|
|
EXTRA_DIST =
|
2005-08-18 04:09:51 +04:00
|
|
|
sm_SOURCES = \
|
|
|
|
ptl_sm.c \
|
|
|
|
ptl_sm.h \
|
|
|
|
ptl_sm_address.h \
|
|
|
|
ptl_sm_component.c \
|
|
|
|
ptl_sm_frag.h \
|
|
|
|
ptl_sm_frag.c \
|
|
|
|
ptl_sm_peer.h \
|
|
|
|
ptl_sm_recvfrag.h \
|
|
|
|
ptl_sm_recvfrag.c \
|
|
|
|
ptl_sm_send.c \
|
|
|
|
ptl_sm_sendreq.c \
|
|
|
|
ptl_sm_sendreq.h \
|
|
|
|
ptl_sm_sendfrag.c \
|
|
|
|
ptl_sm_sendfrag.h
|
2005-07-13 20:17:44 +04:00
|
|
|
|
2005-07-19 18:51:23 +04:00
|
|
|
# See ompi/mca/common/sm/Makefile.am for an explanation of
|
|
|
|
# libmca_common_sm.la.
|
|
|
|
|
2004-07-01 20:25:44 +04:00
|
|
|
mcacomponentdir = $(libdir)/openmpi
|
|
|
|
mcacomponent_LTLIBRARIES = $(component_install)
|
2005-07-13 20:17:44 +04:00
|
|
|
mca_ptl_sm_la_SOURCES = $(sm_SOURCES)
|
|
|
|
mca_ptl_sm_la_DEPENDENCIES = librecompile.la
|
2005-07-19 18:51:23 +04:00
|
|
|
mca_ptl_sm_la_LIBADD = librecompile.la \
|
2005-09-22 16:28:54 +04:00
|
|
|
$(top_ompi_builddir)/ompi/mca/common/sm/libmca_common_sm.la \
|
|
|
|
$(top_ompi_builddir)/ompi/libmpi.la \
|
|
|
|
$(top_ompi_builddir)/orte/liborte.la \
|
|
|
|
$(top_ompi_builddir)/opal/libopal.la
|
2004-06-04 02:13:01 +04:00
|
|
|
mca_ptl_sm_la_LDFLAGS = -module -avoid-version
|
|
|
|
|
2005-07-13 20:17:44 +04:00
|
|
|
noinst_LTLIBRARIES = $(component_noinst) librecompile.la
|
|
|
|
libmca_ptl_sm_la_SOURCES = $(sm_SOURCES)
|
|
|
|
libmca_ptl_sm_la_DEPENDENCIES = librecompile.la
|
2004-06-04 02:13:01 +04:00
|
|
|
libmca_ptl_sm_la_LDFLAGS = -module -avoid-version
|
2005-07-19 18:51:23 +04:00
|
|
|
libmca_ptl_sm_la_LIBADD = librecompile.la
|
2005-07-13 20:17:44 +04:00
|
|
|
|
2005-08-18 04:09:51 +04:00
|
|
|
nodist_librecompile_la_SOURCES = ptl_sm_send_alternate.c
|
2005-07-13 20:17:44 +04:00
|
|
|
librecompile_la_CPPFLAGS = -DSM_COMMON_BASE_ADDR
|
|
|
|
|
|
|
|
#
|
|
|
|
# The "send alternate" file is really the same as the "send" file, but
|
|
|
|
# compiled with a different #define
|
|
|
|
#
|
2005-08-18 04:09:51 +04:00
|
|
|
ptl_sm_send_alternate.c:
|
2005-07-13 20:17:44 +04:00
|
|
|
if test ! -f $@; then \
|
2005-08-18 04:09:51 +04:00
|
|
|
ln -sf $(srcdir)/ptl_sm_send.c ptl_sm_send_alternate.c; \
|
2005-07-13 20:17:44 +04:00
|
|
|
fi
|
|
|
|
|