2005-06-30 06:09:50 +04: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.
|
|
|
|
# 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
|
|
|
|
|
2005-09-07 09:54:53 +04:00
|
|
|
|
2005-06-30 06:09:50 +04:00
|
|
|
|
2005-07-13 05:07:31 +04:00
|
|
|
CFLAGS = $(btl_mvapi_CFLAGS)
|
|
|
|
AM_CPPFLAGS = $(btl_mvapi_CPPFLAGS)
|
|
|
|
|
2005-06-30 06:09:50 +04:00
|
|
|
sources = \
|
2005-06-30 09:50:55 +04:00
|
|
|
btl_mvapi.c \
|
|
|
|
btl_mvapi.h \
|
|
|
|
btl_mvapi_component.c \
|
|
|
|
btl_mvapi_endpoint.c \
|
|
|
|
btl_mvapi_endpoint.h \
|
|
|
|
btl_mvapi_frag.c \
|
|
|
|
btl_mvapi_frag.h \
|
|
|
|
btl_mvapi_proc.c \
|
2005-07-20 21:43:31 +04:00
|
|
|
btl_mvapi_proc.h
|
2005-07-13 05:07:31 +04:00
|
|
|
|
2005-06-30 06:09:50 +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-06-30 09:50:55 +04:00
|
|
|
if OMPI_BUILD_btl_mvapi_DSO
|
2005-06-30 06:09:50 +04:00
|
|
|
lib =
|
|
|
|
lib_sources =
|
2005-06-30 09:50:55 +04:00
|
|
|
component = mca_btl_mvapi.la
|
2005-06-30 06:09:50 +04:00
|
|
|
component_sources = $(sources)
|
|
|
|
else
|
2005-06-30 09:50:55 +04:00
|
|
|
lib = libmca_btl_mvapi.la
|
2005-06-30 06:09:50 +04:00
|
|
|
lib_sources = $(sources)
|
|
|
|
component =
|
|
|
|
component_sources =
|
|
|
|
endif
|
|
|
|
|
|
|
|
mcacomponentdir = $(libdir)/openmpi
|
|
|
|
mcacomponent_LTLIBRARIES = $(component)
|
2005-06-30 09:50:55 +04:00
|
|
|
mca_btl_mvapi_la_SOURCES = $(component_sources)
|
2005-07-13 05:07:31 +04:00
|
|
|
mca_btl_mvapi_la_LDFLAGS = -module -avoid-version $(btl_mvapi_LDFLAGS)
|
2005-09-22 16:28:54 +04:00
|
|
|
mca_btl_mvapi_la_LIBADD = \
|
|
|
|
$(btl_mvapi_LIBS) \
|
|
|
|
$(top_ompi_builddir)/ompi/libmpi.la \
|
|
|
|
$(top_ompi_builddir)/orte/liborte.la \
|
|
|
|
$(top_ompi_builddir)/opal/libopal.la
|
|
|
|
|
2005-06-30 06:09:50 +04:00
|
|
|
noinst_LTLIBRARIES = $(lib)
|
2005-06-30 09:50:55 +04:00
|
|
|
libmca_btl_mvapi_la_SOURCES = $(lib_sources)
|
2005-07-13 08:16:56 +04:00
|
|
|
libmca_btl_mvapi_la_LDFLAGS = -module -avoid-version$ $(btl_mvapi_LDFLAGS)
|
2005-07-13 05:07:31 +04:00
|
|
|
libmca_btl_mvapi_la_LIBADD = $(btl_mvapi_LIBS)
|