2004-10-12 18:19:29 +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.
|
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-10-12 18:19:29 +04:00
|
|
|
# $HEADER$
|
|
|
|
#
|
|
|
|
|
|
|
|
# Need to use our own AUTOMAKE_OPTIONS -- cannot include
|
|
|
|
# Makefile.options from main ompi tree because Automake now defers
|
|
|
|
# "include" statements until "make" time. Hence, if we're building
|
|
|
|
# this component outside the ompi tree, the include statement will
|
|
|
|
# fail.
|
|
|
|
|
|
|
|
AUTOMAKE_OPTIONS = foreign dist-bzip2
|
|
|
|
|
2005-01-30 21:44:00 +03:00
|
|
|
# Source files
|
|
|
|
|
|
|
|
sources = \
|
|
|
|
coll_demo.h \
|
|
|
|
coll_demo_allgather.c \
|
|
|
|
coll_demo_allgatherv.c \
|
|
|
|
coll_demo_allreduce.c \
|
|
|
|
coll_demo_alltoall.c \
|
|
|
|
coll_demo_alltoallv.c \
|
|
|
|
coll_demo_alltoallw.c \
|
|
|
|
coll_demo_barrier.c \
|
|
|
|
coll_demo_bcast.c \
|
|
|
|
coll_demo_component.c \
|
|
|
|
coll_demo_gather.c \
|
|
|
|
coll_demo_gatherv.c \
|
|
|
|
coll_demo_module.c \
|
|
|
|
coll_demo_reduce.c \
|
|
|
|
coll_demo_reduce_scatter.c \
|
|
|
|
coll_demo_scan.c \
|
|
|
|
coll_demo_exscan.c \
|
|
|
|
coll_demo_scatter.c \
|
|
|
|
coll_demo_scatterv.c
|
|
|
|
|
2004-10-12 18:19:29 +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).
|
|
|
|
|
|
|
|
if OMPI_BUILD_coll_demo_DSO
|
|
|
|
component_noinst =
|
|
|
|
component_install = mca_coll_demo.la
|
|
|
|
else
|
|
|
|
component_noinst = libmca_coll_demo.la
|
|
|
|
component_install =
|
|
|
|
endif
|
|
|
|
|
|
|
|
mcacomponentdir = $(libdir)/openmpi
|
|
|
|
mcacomponent_LTLIBRARIES = $(component_install)
|
|
|
|
mca_coll_demo_la_SOURCES = $(sources)
|
|
|
|
mca_coll_demo_la_LIBADD = $(LIBMPI_LA)
|
|
|
|
mca_coll_demo_la_LDFLAGS = -module -avoid-version
|
2005-09-16 00:56:18 +04:00
|
|
|
mca_coll_demo_la_LIBADD = \
|
|
|
|
$(top_ompi_builddir)/ompi/libmpi.la \
|
2006-12-05 21:27:24 +03:00
|
|
|
$(top_ompi_builddir)/orte/libopen-rte.la \
|
|
|
|
$(top_ompi_builddir)/opal/libopen-pal.la
|
2004-10-12 18:19:29 +04:00
|
|
|
|
|
|
|
noinst_LTLIBRARIES = $(component_noinst)
|
|
|
|
libmca_coll_demo_la_SOURCES = $(sources)
|
|
|
|
libmca_coll_demo_la_LDFLAGS = -module -avoid-version
|