1
1
openmpi/ompi/mca/pml/cm/Makefile.am
Jeff Squyres 213b5d5c6e Per long threads on the mailing list and much confusion discussion
about linkers, have all OPAL, ORTE, and OMPI components '''not'' link
against the OPAL, ORTE, or OMPI libraries.

See ttp://www.open-mpi.org/community/lists/users/2007/10/4220.php for
details (or https://svn.open-mpi.org/trac/ompi/wiki/Linkers for a
better-formatted version of the same info).

This commit was SVN r16968.
2007-12-15 13:32:02 +00:00

53 строки
1.2 KiB
Makefile

#
# Copyright (c) 2004-2006 The Regents of the University of California.
# All rights reserved.
# $COPYRIGHT$
#
# Additional copyrights may follow
#
# $HEADER$
#
# 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).
EXTRA_DIST = post_configure.sh
if OMPI_BUILD_pml_cm_DSO
component_noinst =
component_install = mca_pml_cm.la
else
component_noinst = libmca_pml_cm.la
component_install =
endif
local_sources = \
pml_cm.c \
pml_cm.h \
pml_cm_cancel.c \
pml_cm_component.c \
pml_cm_component.h \
pml_cm_probe.c \
pml_cm_recv.c \
pml_cm_recvreq.h \
pml_cm_recvreq.c \
pml_cm_request.h \
pml_cm_request.c \
pml_cm_send.c \
pml_cm_sendreq.h \
pml_cm_sendreq.c \
pml_cm_start.c
mcacomponentdir = $(pkglibdir)
mcacomponent_LTLIBRARIES = $(component_install)
mca_pml_cm_la_SOURCES = $(local_sources)
mca_pml_cm_la_LIBADD = $(pml_cm_LIBS)
mca_pml_cm_la_LDFLAGS = -module -avoid-version $(pml_cm_LDFLAGS)
noinst_LTLIBRARIES = $(component_noinst)
libmca_pml_cm_la_SOURCES = $(local_sources)
libmca_pml_cm_la_LIBADD = $(pml_cm_LIBS)
libmca_pml_cm_la_LDFLAGS = -module -avoid-version $(pml_cm_LDFLAGS)