2005-06-28 01:21:15 +04:00
|
|
|
#
|
2005-11-05 22:57:48 +03:00
|
|
|
# Copyright (c) 2004-2005 The Trustees of Indiana University and Indiana
|
|
|
|
# University Research and Technology
|
|
|
|
# Corporation. All rights reserved.
|
|
|
|
# Copyright (c) 2004-2005 The University of Tennessee and The University
|
|
|
|
# of Tennessee Research Foundation. All rights
|
|
|
|
# reserved.
|
2005-06-28 01:21:15 +04:00
|
|
|
# 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-28 01:21:15 +04:00
|
|
|
|
|
|
|
sources = \
|
2005-06-30 09:50:55 +04:00
|
|
|
btl_template.c \
|
|
|
|
btl_template.h \
|
|
|
|
btl_template_component.c \
|
|
|
|
btl_template_endpoint.c \
|
|
|
|
btl_template_endpoint.h \
|
|
|
|
btl_template_frag.c \
|
|
|
|
btl_template_frag.h \
|
|
|
|
btl_template_proc.c \
|
|
|
|
btl_template_proc.h \
|
|
|
|
btl_template_error.h
|
2005-06-28 01:21:15 +04:00
|
|
|
|
2005-06-30 09:50:55 +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
|
2005-06-28 01:21:15 +04:00
|
|
|
# (for static builds).
|
|
|
|
|
2005-06-30 09:50:55 +04:00
|
|
|
if OMPI_BUILD_btl_template_DSO
|
|
|
|
lib =
|
|
|
|
lib_sources =
|
|
|
|
component = mca_btl_template.la
|
2005-06-28 01:21:15 +04:00
|
|
|
component_sources = $(sources)
|
|
|
|
else
|
2005-06-30 09:50:55 +04:00
|
|
|
lib = libmca_btl_template.la
|
|
|
|
lib_sources = $(sources)
|
2005-06-28 01:21:15 +04:00
|
|
|
component =
|
|
|
|
component_sources =
|
|
|
|
endif
|
|
|
|
|
2005-06-30 09:50:55 +04:00
|
|
|
mcacomponentdir = $(libdir)/openmpi
|
2005-06-28 01:21:15 +04:00
|
|
|
mcacomponent_LTLIBRARIES = $(component)
|
2005-06-30 09:50:55 +04:00
|
|
|
mca_btl_template_la_SOURCES = $(component_sources)
|
|
|
|
mca_btl_template_la_LDFLAGS = -module -avoid-version
|
2005-09-22 16:28:54 +04:00
|
|
|
mca_btl_template_la_LIBADD = \
|
|
|
|
$(top_ompi_builddir)/ompi/libmpi.la \
|
|
|
|
$(top_ompi_builddir)/orte/liborte.la \
|
|
|
|
$(top_ompi_builddir)/opal/libopal.la
|
2005-06-28 01:21:15 +04:00
|
|
|
|
2005-06-30 09:50:55 +04:00
|
|
|
noinst_LTLIBRARIES = $(lib)
|
|
|
|
libmca_btl_template_la_SOURCES = $(lib_sources)
|
|
|
|
libmca_btl_template_la_LDFLAGS = -module -avoid-version
|