40 строки
1.1 KiB
Makefile
40 строки
1.1 KiB
Makefile
#
|
|
# Copyright (c) 2011 Cisco Systems, Inc. All rights reserved.
|
|
# Copyright (c) 2013 Los Alamos National Security, LLC. All rights
|
|
# reserved.
|
|
# Copyright (c) 2014 Intel, Inc. All rights reserved.
|
|
# $COPYRIGHT$
|
|
#
|
|
# Additional copyrights may follow
|
|
#
|
|
# $HEADER$
|
|
#
|
|
|
|
AM_CPPFLAGS = $(grpcomm_direct_CPPFLAGS)
|
|
|
|
sources = \
|
|
grpcomm_direct.h \
|
|
grpcomm_direct.c \
|
|
grpcomm_direct_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 MCA_BUILD_orte_grpcomm_direct_DSO
|
|
component_noinst =
|
|
component_install = mca_grpcomm_direct.la
|
|
else
|
|
component_noinst = libmca_grpcomm_direct.la
|
|
component_install =
|
|
endif
|
|
|
|
mcacomponentdir = $(ortelibdir)
|
|
mcacomponent_LTLIBRARIES = $(component_install)
|
|
mca_grpcomm_direct_la_SOURCES = $(sources)
|
|
mca_grpcomm_direct_la_LDFLAGS = -module -avoid-version
|
|
|
|
noinst_LTLIBRARIES = $(component_noinst)
|
|
libmca_grpcomm_direct_la_SOURCES =$(sources)
|
|
libmca_grpcomm_direct_la_LDFLAGS = -module -avoid-version
|