1#
2# Copyright (c) 2004-2005 The Trustees of Indiana University and Indiana
3#                         University Research and Technology
4#                         Corporation.  All rights reserved.
5# Copyright (c) 2004-2005 The University of Tennessee and The University
6#                         of Tennessee Research Foundation.  All rights
7#                         reserved.
8# Copyright (c) 2004-2005 High Performance Computing Center Stuttgart,
9#                         University of Stuttgart.  All rights reserved.
10# Copyright (c) 2004-2005 The Regents of the University of California.
11#                         All rights reserved.
12# Copyright (c) 2008-2015 University of Houston. All rights reserved.
13# Copyright (c) 2012-2020 Cisco Systems, Inc.  All rights reserved
14# Copyright (c) 2017      IBM Corporation.  All rights reserved.
15# $COPYRIGHT$
16#
17# Additional copyrights may follow
18#
19# $HEADER$
20#
21
22sources = \
23        fcoll_dynamic_gen2.h \
24        fcoll_dynamic_gen2_module.c \
25        fcoll_dynamic_gen2_component.c \
26        fcoll_dynamic_gen2_file_read_all.c \
27        fcoll_dynamic_gen2_file_write_all.c
28
29# Make the output library in this directory, and name it either
30# mca_<type>_<name>.la (for DSO builds) or libmca_<type>_<name>.la
31# (for static builds).
32
33if MCA_BUILD_ompi_fcoll_dynamic_gen2_DSO
34component_noinst =
35component_install = mca_fcoll_dynamic_gen2.la
36else
37component_noinst = libmca_fcoll_dynamic_gen2.la
38component_install =
39endif
40
41mcacomponentdir = $(ompilibdir)
42mcacomponent_LTLIBRARIES = $(component_install)
43mca_fcoll_dynamic_gen2_la_SOURCES = $(sources)
44mca_fcoll_dynamic_gen2_la_LDFLAGS = -module -avoid-version
45mca_fcoll_dynamic_gen2_la_LIBADD = \
46    $(top_builddir)/ompi/lib@OMPI_LIBMPI_NAME@.la \
47    $(OMPI_TOP_BUILDDIR)/ompi/mca/common/ompio/libmca_common_ompio.la
48
49noinst_LTLIBRARIES = $(component_noinst)
50libmca_fcoll_dynamic_gen2_la_SOURCES =$(sources)
51libmca_fcoll_dynamic_gen2_la_LDFLAGS = -module -avoid-version
52