2004-03-07 01:48:12 +03: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.
|
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-03-07 01:48:12 +03:00
|
|
|
# $HEADER$
|
|
|
|
#
|
|
|
|
|
2005-05-07 01:50:30 +04:00
|
|
|
sources = \
|
|
|
|
topo_unity.h \
|
|
|
|
topo_unity_cart_map.c \
|
|
|
|
topo_unity_graph_map.c \
|
|
|
|
topo_unity.c \
|
|
|
|
topo_unity_component.c
|
2004-03-07 01:48:12 +03:00
|
|
|
|
2004-07-01 20:25:44 +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).
|
2004-03-07 01:48:12 +03:00
|
|
|
|
2004-07-01 20:25:44 +04:00
|
|
|
if OMPI_BUILD_topo_unity_DSO
|
2005-05-07 01:50:30 +04:00
|
|
|
lib =
|
|
|
|
lib_sources =
|
|
|
|
component = mca_topo_unity.la
|
|
|
|
component_sources = $(sources)
|
2004-03-07 01:48:12 +03:00
|
|
|
else
|
2005-05-07 01:50:30 +04:00
|
|
|
lib = libmca_topo_unity.la
|
|
|
|
lib_sources = $(sources)
|
|
|
|
component =
|
|
|
|
component_sources =
|
2004-03-07 01:48:12 +03:00
|
|
|
endif
|
|
|
|
|
2007-04-12 15:19:42 +04:00
|
|
|
mcacomponentdir = $(pkglibdir)
|
2005-05-07 01:50:30 +04:00
|
|
|
mcacomponent_LTLIBRARIES = $(component)
|
|
|
|
mca_topo_unity_la_SOURCES = $(component_sources)
|
2004-03-07 01:48:12 +03:00
|
|
|
mca_topo_unity_la_LDFLAGS = -module -avoid-version
|
|
|
|
|
2005-05-07 01:50:30 +04:00
|
|
|
noinst_LTLIBRARIES = $(lib)
|
|
|
|
libmca_topo_unity_la_SOURCES = $(lib_sources)
|
2004-03-17 22:43:41 +03:00
|
|
|
libmca_topo_unity_la_LDFLAGS = -module -avoid-version
|
2004-03-07 01:48:12 +03:00
|
|
|
|