2004-07-16 18:28:51 +04:00
|
|
|
#
|
2004-11-22 04:38:40 +03:00
|
|
|
# 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.
|
2004-11-28 23:09:25 +03:00
|
|
|
# Copyright (c) 2004-2005 High Performance Computing Center Stuttgart,
|
|
|
|
# University of Stuttgart. All rights reserved.
|
2005-03-24 15:43:37 +03:00
|
|
|
# Copyright (c) 2004-2005 The Regents of the University of California.
|
|
|
|
# All rights reserved.
|
2004-11-22 04:38:40 +03:00
|
|
|
# $COPYRIGHT$
|
|
|
|
#
|
|
|
|
# Additional copyrights may follow
|
|
|
|
#
|
2004-07-16 18:28:51 +04:00
|
|
|
# $HEADER$
|
|
|
|
#
|
|
|
|
|
|
|
|
# Use the top-level Makefile.options
|
|
|
|
|
2005-09-07 09:54:53 +04:00
|
|
|
|
2004-07-16 18:28:51 +04:00
|
|
|
|
2005-07-27 07:38:25 +04:00
|
|
|
AM_CPPFLAGS=$(btl_openib_CPPFLAGS)
|
|
|
|
|
2005-07-01 01:28:35 +04:00
|
|
|
sources = \
|
|
|
|
btl_openib.c \
|
|
|
|
btl_openib.h \
|
|
|
|
btl_openib_component.c \
|
|
|
|
btl_openib_endpoint.c \
|
|
|
|
btl_openib_endpoint.h \
|
|
|
|
btl_openib_frag.c \
|
|
|
|
btl_openib_frag.h \
|
|
|
|
btl_openib_proc.c \
|
2005-07-20 21:43:31 +04:00
|
|
|
btl_openib_proc.h
|
2005-07-01 01:28:35 +04:00
|
|
|
|
2004-07-16 18:28:51 +04:00
|
|
|
# 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).
|
|
|
|
|
2005-07-01 01:28:35 +04:00
|
|
|
if OMPI_BUILD_btl_openib_DSO
|
2005-05-07 01:50:30 +04:00
|
|
|
lib =
|
2005-07-01 01:28:35 +04:00
|
|
|
lib_sources =
|
|
|
|
component = mca_btl_openib.la
|
2005-05-07 01:50:30 +04:00
|
|
|
component_sources = $(sources)
|
2004-07-16 18:28:51 +04:00
|
|
|
else
|
2005-07-01 01:28:35 +04:00
|
|
|
lib = libmca_btl_openib.la
|
2005-05-07 01:50:30 +04:00
|
|
|
lib_sources = $(sources)
|
|
|
|
component =
|
|
|
|
component_sources =
|
2004-07-16 18:28:51 +04:00
|
|
|
endif
|
|
|
|
|
|
|
|
mcacomponentdir = $(libdir)/openmpi
|
2005-05-07 01:50:30 +04:00
|
|
|
mcacomponent_LTLIBRARIES = $(component)
|
2005-07-01 01:28:35 +04:00
|
|
|
mca_btl_openib_la_SOURCES = $(component_sources)
|
2005-07-27 07:38:25 +04:00
|
|
|
mca_btl_openib_la_LDFLAGS = -module -avoid-version $(btl_openib_LDFLAGS)
|
2005-09-22 16:28:54 +04:00
|
|
|
mca_btl_openib_la_LIBADD = \
|
|
|
|
$(btl_openib_LIBS) \
|
|
|
|
$(top_ompi_builddir)/ompi/libmpi.la \
|
|
|
|
$(top_ompi_builddir)/orte/liborte.la \
|
|
|
|
$(top_ompi_builddir)/opal/libopal.la
|
|
|
|
|
2004-07-16 18:28:51 +04:00
|
|
|
|
2005-05-07 01:50:30 +04:00
|
|
|
noinst_LTLIBRARIES = $(lib)
|
2005-07-01 01:28:35 +04:00
|
|
|
libmca_btl_openib_la_SOURCES = $(lib_sources)
|
2005-07-27 07:38:25 +04:00
|
|
|
libmca_btl_openib_la_LDFLAGS= -module -avoid-version $(btl_openib_LDFLAGS)
|
2005-09-22 16:28:54 +04:00
|
|
|
libmca_btl_openib_la_LIBADD=$(btl_openib_LIBS)
|