555ae37255
This commit was SVN r7477.
59 строки
1.5 KiB
Makefile
59 строки
1.5 KiB
Makefile
#
|
|
# 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
|
|
|
|
|
|
|
|
sources = \
|
|
topo_unity.h \
|
|
topo_unity_cart_map.c \
|
|
topo_unity_graph_map.c \
|
|
topo_unity.c \
|
|
topo_unity_component.c
|
|
|
|
# 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).
|
|
|
|
if OMPI_BUILD_topo_unity_DSO
|
|
lib =
|
|
lib_sources =
|
|
component = mca_topo_unity.la
|
|
component_sources = $(sources)
|
|
else
|
|
lib = libmca_topo_unity.la
|
|
lib_sources = $(sources)
|
|
component =
|
|
component_sources =
|
|
endif
|
|
|
|
mcacomponentdir = $(libdir)/openmpi
|
|
mcacomponent_LTLIBRARIES = $(component)
|
|
mca_topo_unity_la_SOURCES = $(component_sources)
|
|
mca_topo_unity_la_LIBADD = \
|
|
$(LIBMPI_LA) \
|
|
$(top_ompi_builddir)/ompi/libmpi.la \
|
|
$(top_ompi_builddir)/orte/liborte.la \
|
|
$(top_ompi_builddir)/opal/libopal.la
|
|
|
|
mca_topo_unity_la_LDFLAGS = -module -avoid-version
|
|
|
|
noinst_LTLIBRARIES = $(lib)
|
|
libmca_topo_unity_la_SOURCES = $(lib_sources)
|
|
libmca_topo_unity_la_LDFLAGS = -module -avoid-version
|
|
|