![Jeff Squyres](/assets/img/avatar_default.png)
Makefile.options - Sample in each of the three projects of how to link againt the relevant libraries so that when components are loaded into a parent process' space, we don't rely on the libopal/liborte/libmpi symbols being in the parent's public symbol namespace -- instead, dynamically link to the relevant libraries, allowing the dynamic linker to pull those libraries in at run-time, if needed This commit was SVN r7397.
55 строки
1.7 KiB
Makefile
55 строки
1.7 KiB
Makefile
#
|
|
# 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.
|
|
# Copyright (c) 2004-2005 High Performance Computing Center Stuttgart,
|
|
# University of Stuttgart. All rights reserved.
|
|
# Copyright (c) 2004-2005 The Regents of the University of California.
|
|
# All rights reserved.
|
|
# $COPYRIGHT$
|
|
#
|
|
# Additional copyrights may follow
|
|
#
|
|
# $HEADER$
|
|
#
|
|
|
|
sources = \
|
|
gpr_proxy_arithmetic_ops.c \
|
|
gpr_proxy_cleanup.c \
|
|
gpr_proxy_component.c \
|
|
gpr_proxy_compound_cmd.c \
|
|
gpr_proxy_del_index.c \
|
|
gpr_proxy_deliver_notify_msg.c \
|
|
gpr_proxy_dump.c \
|
|
gpr_proxy_dump_local_trigs_subs.c \
|
|
gpr_proxy_general_operations.c \
|
|
gpr_proxy_internals.c \
|
|
gpr_proxy_put_get.c \
|
|
gpr_proxy_subscribe.c \
|
|
gpr_proxy.h
|
|
|
|
# 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).
|
|
|
|
if OMPI_BUILD_gpr_proxy_DSO
|
|
component_noinst =
|
|
component_install = mca_gpr_proxy.la
|
|
else
|
|
component_noinst = libmca_gpr_proxy.la
|
|
component_install =
|
|
endif
|
|
|
|
mcacomponentdir = $(libdir)/openmpi
|
|
mcacomponent_LTLIBRARIES = $(component_install)
|
|
mca_gpr_proxy_la_SOURCES = $(sources)
|
|
mca_gpr_proxy_la_LDFLAGS = -module -avoid-version
|
|
mca_gpr_proxy_la_LIBADD = \
|
|
$(top_ompi_builddir)/orte/liborte.la \
|
|
$(top_ompi_builddir)/opal/libopal.la
|
|
|
|
noinst_LTLIBRARIES = $(component_noinst)
|
|
libmca_gpr_proxy_la_SOURCES =$(sources)
|
|
libmca_gpr_proxy_la_LDFLAGS = -module -avoid-version
|