8b778903d8
pkg{data,lib,includedir}, use our own ompi{data,lib,includedir}, which is always set to {datadir,libdir,includedir}/openmpi. This will keep us from having help files in prefix/share/open-rte when building without Open MPI, but in prefix/share/openmpi when building with Open MPI. This commit was SVN r30140.
42 строки
1.0 KiB
Makefile
42 строки
1.0 KiB
Makefile
#
|
|
# Copyright (c) 2013 Mellanox Technologies, Inc.
|
|
# All rights reserved.
|
|
# $COPYRIGHT$
|
|
#
|
|
# Additional copyrights may follow
|
|
#
|
|
# $HEADER$
|
|
#
|
|
|
|
AM_CPPFLAGS = $(atomic_mxm_CPPFLAGS)
|
|
|
|
mxm_sources = \
|
|
atomic_mxm.h \
|
|
atomic_mxm_module.c \
|
|
atomic_mxm_component.c \
|
|
atomic_mxm_fadd.c \
|
|
atomic_mxm_cswap.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_oshmem_atomic_mxm_DSO
|
|
component_noinst =
|
|
component_install = mca_atomic_mxm.la
|
|
else
|
|
component_noinst = libmca_atomic_mxm.la
|
|
component_install =
|
|
endif
|
|
|
|
mcacomponentdir = $(ompilibdir)
|
|
mcacomponent_LTLIBRARIES = $(component_install)
|
|
mca_atomic_mxm_la_SOURCES = $(mxm_sources)
|
|
mca_atomic_mxm_la_LIBADD = $(atomic_mxm_LIBS)
|
|
mca_atomic_mxm_la_LDFLAGS = -module -avoid-version $(atomic_mxm_LDFLAGS)
|
|
|
|
noinst_LTLIBRARIES = $(component_noinst)
|
|
libmca_atomic_mxm_la_SOURCES =$(mxm_sources)
|
|
libmca_atomic_mxm_la_LDFLAGS = -module -avoid-version $(atomic_mxm_LDFLAGS)
|