68b91e85ed
Red Storm. Add stub functions to ompi_config_bottom.h when they are around * Add protection for a bunch of #include <netinet/in.h>s * Fix up the Portals BTL so that it compiles on Red Storm and has the right mojo for initialization on Red Storm * Add some important comments to ompi_check_package and mvapi configures * Add support for platforms without getpwuid() (aka, Red Storm). This commit was SVN r6478.
75 строки
2.2 KiB
Makefile
75 строки
2.2 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$
|
|
#
|
|
|
|
# Use the top-level Makefile.options
|
|
|
|
include $(top_ompi_srcdir)/config/Makefile.options
|
|
|
|
# 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_btl_portals_DSO
|
|
component_noinst =
|
|
component_install = mca_btl_portals.la
|
|
else
|
|
component_noinst = libmca_btl_portals.la
|
|
component_install =
|
|
endif
|
|
|
|
EXTRA_DIST = \
|
|
src/btl_portals_compat_utcp.c \
|
|
src/btl_portals_compat_redstorm.c
|
|
|
|
portals_SOURCES = \
|
|
src/btl_portals.h \
|
|
src/btl_portals_compat.h \
|
|
src/btl_portals_frag.h \
|
|
src/btl_portals_send.h \
|
|
src/btl_portals_recv.h \
|
|
src/btl_portals_rdma.h \
|
|
src/btl_portals_endpoint.h \
|
|
src/btl_portals.c \
|
|
src/btl_portals_component.c \
|
|
src/btl_portals_frag.c \
|
|
src/btl_portals_send.c \
|
|
src/btl_portals_recv.c \
|
|
src/btl_portals_rdma.c \
|
|
src/btl_portals_stubs.c \
|
|
src/btl_portals_endpoint.c
|
|
|
|
portals_nodist_SOURCES = \
|
|
src/btl_portals_compat.c
|
|
|
|
AM_CPPFLAGS = $(btl_portals_CPPFLAGS) \
|
|
-I$(top_srcdir)/ompi/mca/btl/portals/src
|
|
|
|
mcacomponentdir = $(libdir)/openmpi
|
|
mcacomponent_LTLIBRARIES = $(component_install)
|
|
mca_btl_portals_la_SOURCES = $(portals_SOURCES)
|
|
nodist_mca_btl_portals_la_SOURCES = $(portals_nodist_SOURCES)
|
|
mca_btl_portals_la_LIBADD = $(btl_portals_LIBS)
|
|
mca_btl_portals_la_LDFLAGS = -module -avoid-version $(btl_portals_LDFLAGS)
|
|
|
|
noinst_LTLIBRARIES = $(component_noinst)
|
|
libmca_btl_portals_la_SOURCES = $(portals_SOURCES)
|
|
nodist_libmca_btl_portals_la_SOURCES = $(portals_nodist_SOURCES)
|
|
libmca_btl_portals_la_LIBADD = $(btl_portals_LIBS)
|
|
libmca_btl_portals_la_LDFLAGS = -module -avoid-version $(btl_portals_LDFLAGS)
|
|
|
|
dist-clean-local:
|
|
rm -f src/btl_portals_compat.c
|