Move all the ptl sm source code out of src (the Makefile.am treated it
that way anway) so that we can properly "make distcheck" easier. Fix the rule for making the sym link to ptl_sm_send_alternate.c so that "distcheck" works. This commit was SVN r6919.
Этот коммит содержится в:
родитель
589d53e828
Коммит
a9777f902a
@ -31,10 +31,21 @@ component_install =
|
||||
endif
|
||||
|
||||
EXTRA_DIST =
|
||||
sm_SOURCES = src/ptl_sm.c src/ptl_sm.h src/ptl_sm_address.h src/ptl_sm_component.c \
|
||||
src/ptl_sm_frag.h src/ptl_sm_frag.c src/ptl_sm_peer.h src/ptl_sm_recvfrag.h \
|
||||
src/ptl_sm_recvfrag.c src/ptl_sm_send.c src/ptl_sm_sendreq.c \
|
||||
src/ptl_sm_sendreq.h src/ptl_sm_sendfrag.c src/ptl_sm_sendfrag.h
|
||||
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
|
||||
|
||||
# See ompi/mca/common/sm/Makefile.am for an explanation of
|
||||
# libmca_common_sm.la.
|
||||
@ -53,15 +64,15 @@ libmca_ptl_sm_la_DEPENDENCIES = librecompile.la
|
||||
libmca_ptl_sm_la_LDFLAGS = -module -avoid-version
|
||||
libmca_ptl_sm_la_LIBADD = librecompile.la
|
||||
|
||||
nodist_librecompile_la_SOURCES = src/ptl_sm_send_alternate.c
|
||||
nodist_librecompile_la_SOURCES = ptl_sm_send_alternate.c
|
||||
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
|
||||
#
|
||||
$(srcdir)/src/ptl_sm_send_alternate.c:
|
||||
ptl_sm_send_alternate.c:
|
||||
if test ! -f $@; then \
|
||||
ln -sf ptl_sm_send.c $@; \
|
||||
ln -sf $(srcdir)/ptl_sm_send.c ptl_sm_send_alternate.c; \
|
||||
fi
|
||||
|
||||
|
@ -38,11 +38,11 @@
|
||||
#include "mca/common/sm/common_sm_mmap.h"
|
||||
#include "ptl_sm.h"
|
||||
#include "util/sys_info.h"
|
||||
#include "mca/ptl/sm/src/ptl_sm_peer.h"
|
||||
#include "mca/ptl/sm/ptl_sm_peer.h"
|
||||
#include "mca/common/sm/common_sm_mmap.h"
|
||||
#include "util/proc_info.h"
|
||||
#include "opal/util/printf.h"
|
||||
#include "mca/ptl/sm/src/ptl_sm_sendreq.h"
|
||||
#include "mca/ptl/sm/ptl_sm_sendreq.h"
|
||||
#include "class/ompi_fifo.h"
|
||||
#include "class/ompi_free_list.h"
|
||||
#include "opal/threads/mutex.h"
|
@ -36,7 +36,7 @@
|
||||
#include "mca/ptl/ptl.h"
|
||||
#include "mca/mpool/mpool.h"
|
||||
#include "mca/common/sm/common_sm_mmap.h"
|
||||
#include "mca/ptl/sm/src/ptl_sm_peer.h"
|
||||
#include "mca/ptl/sm/ptl_sm_peer.h"
|
||||
|
||||
#if defined(c_plusplus) || defined(__cplusplus)
|
||||
extern "C" {
|
@ -34,7 +34,7 @@
|
||||
#include "mca/ptl/ptl.h"
|
||||
#include "mca/pml/base/pml_base_sendreq.h"
|
||||
#include "mca/base/mca_base_param.h"
|
||||
#include "mca/ptl/sm/src/ptl_sm.h"
|
||||
#include "mca/ptl/sm/ptl_sm.h"
|
||||
#include "mca/mpool/base/base.h"
|
||||
#include "mca/oob/base/base.h"
|
||||
#include "ptl_sm.h"
|
@ -33,11 +33,11 @@
|
||||
#include "mca/common/sm/common_sm_mmap.h"
|
||||
#include "ptl_sm.h"
|
||||
#include "util/sys_info.h"
|
||||
#include "mca/ptl/sm/src/ptl_sm_peer.h"
|
||||
#include "mca/ptl/sm/ptl_sm_peer.h"
|
||||
#include "mca/common/sm/common_sm_mmap.h"
|
||||
#include "util/proc_info.h"
|
||||
#include "opal/util/printf.h"
|
||||
#include "mca/ptl/sm/src/ptl_sm_sendreq.h"
|
||||
#include "mca/ptl/sm/ptl_sm_sendreq.h"
|
||||
#include "class/ompi_fifo.h"
|
||||
#include "class/ompi_free_list.h"
|
||||
#include "opal/threads/mutex.h"
|
Загрузка…
x
Ссылка в новой задаче
Block a user