1
1
Howard Pritchard b9498ec31b rework argobots configury to be smarter
Signed-off-by: Howard Pritchard <howardp@lanl.gov>
2020-05-23 14:46:41 -07:00

59 строки
1.9 KiB
Makefile

#
# 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.
# 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 (c) 2008 Cisco Systems, Inc. All rights reserved.
# Copyright (c) 2019 Sandia National Laboratories. All rights reserved.
# $COPYRIGHT$
#
# Additional copyrights may follow
#
# $HEADER$
#
AM_CPPFLAGS = $(opal_argo_CPPFLAGS)
sources = \
threads_argobots.h \
threads_argobots_component.c \
threads_argobots_condition.c \
threads_argobots_module.c \
threads_argobots_mutex.c \
threads_argobots_mutex.h \
threads_argobots_threads.h \
threads_argobots_tsd.h \
threads_argobots_wait_sync.c \
threads_argobots_wait_sync.h
#lib = libmca_threads_argobots.la
lib_sources = $(sources)
if MCA_BUILD_opal_threads_argobots_DSO
component_noinst =
component_install = mca_threads_argobots.la
else
component_noinst = libmca_threads_argobots.la
component_install =
endif
mcacomponentdir = $(opallibdir)
mcacomponent_LTLIBRARIES = $(component_install)
mca_threads_argobots_la_SOURCES = $(sources)
mca_threads_argobots_la_LDFLAGS = -module -avoid-version
mca_threads_argobots_la_LIBADD = $(top_builddir)/opal/lib@OPAL_LIB_PREFIX@open-pal.la \
$(opal_argo_LIBS)
noinst_LTLIBRARIES = $(component_noinst)
libmca_threads_argobots_la_SOURCES = $(sources)
libmca_threads_argobots_la_LDFLAGS = -module -avoid-version $(opal_argo_LDFLAGS)
libmca_threads_argobots_la_LIBADD = $(opal_argo_LIBS)