2
# Copyright (c) 2004-2005 The Trustees of Indiana University and Indiana
3
# University Research and Technology
4
# Corporation. All rights reserved.
5
# Copyright (c) 2004-2005 The University of Tennessee and The University
6
# of Tennessee Research Foundation. All rights
8
# Copyright (c) 2004-2005 High Performance Computing Center Stuttgart,
9
# University of Stuttgart. All rights reserved.
10
# Copyright (c) 2004-2005 The Regents of the University of California.
11
# All rights reserved.
14
# Additional copyrights may follow
19
# Use the top-level Makefile.options
23
AM_CPPFLAGS = $(mpool_openib_CPPFLAGS)
27
mpool_openib_module.c \
28
mpool_openib_component.c
30
# Make the output library in this directory, and name it either
31
# mca_<type>_<name>.la (for DSO builds) or libmca_<type>_<name>.la
32
# (for static builds).
34
if OMPI_BUILD_mpool_openib_DSO
36
component_install = mca_mpool_openib.la
38
component_noinst = libmca_mpool_openib.la
42
# See src/mca/ptl/openib/Makefile.am for an explanation of
43
# libmca_common_openib.la.
45
mcacomponentdir = $(libdir)/openmpi
46
mcacomponent_LTLIBRARIES = $(component_install)
47
mca_mpool_openib_la_SOURCES = $(sources)
48
mca_mpool_openib_la_LDFLAGS = -module -avoid-version $(mpool_openib_LDFLAGS)
49
mca_mpool_openib_la_LIBADD = \
50
$(mpool_openib_LIBS) \
51
$(top_ompi_builddir)/ompi/libmpi.la \
52
$(top_ompi_builddir)/orte/liborte.la \
53
$(top_ompi_builddir)/opal/libopal.la
55
noinst_LTLIBRARIES = $(component_noinst)
56
libmca_mpool_openib_la_SOURCES = $(sources)
57
libmca_mpool_openib_la_LDFLAGS = -module -avoid-version $(mpool_openib_LDFLAGS)
58
libmca_mpool_openib_la_LIBADD = $(mpool_openib_LIBS)