fix for shared libraries
This commit was SVN r1378.
Этот коммит содержится в:
родитель
d18386614a
Коммит
573cf728dd
@ -10,8 +10,21 @@ AM_CPPFLAGS = \
|
||||
-I$(top_ompi_srcdir)/src \
|
||||
-I$(top_ompi_srcdir)/src/include
|
||||
|
||||
noinst_LTLIBRARIES = libmca_allocator_bucket.la
|
||||
libmca_allocator_bucket_la_SOURCES = \
|
||||
allocator_bucket.c \
|
||||
allocator_bucket_alloc.h \
|
||||
allocator_bucket_alloc.c
|
||||
if OMPI_BUILD_allocator_bucket_LOADABLE_MODULE
|
||||
module_noinst =
|
||||
module_install = mca_allocator_bucket.la
|
||||
else
|
||||
module_noinst = libmca_allocator_bucket.la
|
||||
module_install =
|
||||
endif
|
||||
|
||||
mcamoduledir = $(libdir)/openmpi
|
||||
mcamodule_LTLIBRARIES = $(module_install)
|
||||
mca_allocator_bucket_la_SOURCES = $(sources)
|
||||
mca_allocator_bucket_la_LIBADD = $(LIBOMPI_LA)
|
||||
mca_allocator_bucket_la_LDFLAGS = -module -avoid-version
|
||||
|
||||
noinst_LTLIBRARIES = $(module_noinst)
|
||||
libmca_allocator_bucket_la_SOURCES = $(sources)
|
||||
libmca_allocator_bucket_la_LDFLAGS = -module -avoid-version
|
||||
|
||||
|
@ -5,15 +5,27 @@
|
||||
|
||||
include $(top_ompi_srcdir)/config/Makefile.options
|
||||
|
||||
AM_CPPFLAGS = \
|
||||
-I$(top_ompi_builddir)/src/include \
|
||||
-I$(top_ompi_srcdir)/src \
|
||||
-I$(top_ompi_srcdir)/src/include
|
||||
|
||||
noinst_LTLIBRARIES = libmca_mpool_sm.la
|
||||
libmca_mpool_sm_la_SOURCES = \
|
||||
sources = \
|
||||
mpool_sm.c \
|
||||
mpool_sm.h \
|
||||
mpool_sm_mmap.c \
|
||||
mpool_sm_mmap.h \
|
||||
mpool_sm_component.c
|
||||
|
||||
if OMPI_BUILD_mpool_sm_LOADABLE_MODULE
|
||||
module_noinst =
|
||||
module_install = mca_mpool_sm.la
|
||||
else
|
||||
module_noinst = libmca_mpool_sm.la
|
||||
module_install =
|
||||
endif
|
||||
|
||||
mcamoduledir = $(libdir)/openmpi
|
||||
mcamodule_LTLIBRARIES = $(module_install)
|
||||
mca_mpool_sm_la_SOURCES = $(sources)
|
||||
mca_mpool_sm_la_LIBADD = $(LIBOMPI_LA)
|
||||
mca_mpool_sm_la_LDFLAGS = -module -avoid-version
|
||||
|
||||
noinst_LTLIBRARIES = $(module_noinst)
|
||||
libmca_mpool_sm_la_SOURCES = $(sources)
|
||||
libmca_mpool_sm_la_LDFLAGS = -module -avoid-version
|
||||
|
Загрузка…
Ссылка в новой задаче
Block a user