#
# Copyright (c) 2011      Los Alamos National Security, LLC.
#                         All rights reserved.
# Copyright (c) 2017      IBM Corporation.  All rights reserved.
# Copyright (c) 2017-2020 Intel, Inc.  All rights reserved.
# Copyright (c) 2020      Cisco Systems, Inc.  All rights reserved
# Copyright (c) 2022      Nanook Consulting.  All rights reserved.
# $COPYRIGHT$
#
# Additional copyrights may follow
#
# $HEADER$
#

sources = \
        state_prted.h \
        state_prted_component.c \
        state_prted.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 MCA_BUILD_prte_state_prted_DSO
component_noinst =
component_install = prte_mca_state_prted.la
else
component_noinst = libprtemca_state_prted.la
component_install =
endif

mcacomponentdir = $(prtelibdir)
mcacomponent_LTLIBRARIES = $(component_install)
prte_mca_state_prted_la_SOURCES = $(sources)
prte_mca_state_prted_la_LDFLAGS = -module -avoid-version
prte_mca_state_prted_la_LIBADD = $(top_builddir)/src/libprrte.la

noinst_LTLIBRARIES = $(component_noinst)
libprtemca_state_prted_la_SOURCES =$(sources)
libprtemca_state_prted_la_LDFLAGS = -module -avoid-version
