2004-09-15 23:00:14 +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-09-15 23:00:14 +04:00
|
|
|
# $HEADER$
|
|
|
|
#
|
|
|
|
|
|
|
|
# Use the top-level Makefile.options
|
|
|
|
|
|
|
|
include $(top_ompi_srcdir)/config/Makefile.options
|
|
|
|
|
2005-08-19 18:46:11 +04:00
|
|
|
AM_CPPFLAGS = $(pls_tm_CPPFLAGS)
|
|
|
|
|
|
|
|
sources = \
|
|
|
|
pls_tm.h \
|
|
|
|
pls_tm_child.c \
|
|
|
|
pls_tm_component.c \
|
|
|
|
pls_tm_module.c \
|
|
|
|
pls_tm_registry.c
|
2004-09-15 23:00:14 +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-03-14 23:57:21 +03:00
|
|
|
if OMPI_BUILD_pls_tm_DSO
|
2005-05-07 01:50:30 +04:00
|
|
|
lib =
|
|
|
|
lib_sources =
|
|
|
|
component = mca_pls_tm.la
|
|
|
|
component_sources = $(sources)
|
2004-09-15 23:00:14 +04:00
|
|
|
else
|
2005-05-07 01:50:30 +04:00
|
|
|
lib = libmca_pls_tm.la
|
|
|
|
lib_sources = $(sources)
|
|
|
|
component =
|
|
|
|
component_sources =
|
2004-09-15 23:00:14 +04:00
|
|
|
endif
|
|
|
|
|
|
|
|
mcacomponentdir = $(libdir)/openmpi
|
2005-05-07 01:50:30 +04:00
|
|
|
mcacomponent_LTLIBRARIES = $(component)
|
|
|
|
mca_pls_tm_la_SOURCES = $(component_sources)
|
2005-07-09 22:52:53 +04:00
|
|
|
mca_pls_tm_la_LDFLAGS = -module -avoid-version $(pls_tm_LDFLAGS)
|
|
|
|
mca_pls_tm_la_LIBADD = $(pls_tm_LIBS)
|
2004-09-15 23:00:14 +04:00
|
|
|
|
2005-05-07 01:50:30 +04:00
|
|
|
noinst_LTLIBRARIES = $(lib)
|
|
|
|
libmca_pls_tm_la_SOURCES = $(lib_sources)
|
2005-07-09 22:52:53 +04:00
|
|
|
libmca_pls_tm_la_LDFLAGS = -module -avoid-version $(pls_tm_LDFLAGS)
|
|
|
|
libmca_pls_tm_la_LIBADD = $(pls_tm_LIBS)
|