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.
37 строки
758 B
Makefile
37 строки
758 B
Makefile
#
|
|
# Copyright (c) 2009-2012 Oak Ridge National Laboratory. All rights reserved.
|
|
# Copyright (c) 2009-2012 Mellanox Technologies. All rights reserved.
|
|
# $COPYRIGHT$
|
|
#
|
|
# Additional copyrights may follow
|
|
#
|
|
# $HEADER$
|
|
#
|
|
|
|
|
|
# main library setup
|
|
noinst_LTLIBRARIES = libmca_sbgp.la
|
|
libmca_sbgp_la_SOURCES =
|
|
|
|
# header setup
|
|
nobase_ompi_HEADERS =
|
|
nobase_nodist_ompi_HEADERS =
|
|
|
|
# local files
|
|
headers = sbgp.h
|
|
libmca_sbgp_la_SOURCES += $(headers) $(nodist_headers)
|
|
|
|
# Conditionally install the header files
|
|
if WANT_INSTALL_HEADERS
|
|
nobase_ompi_HEADERS += $(headers)
|
|
nobase_nodist_ompi_HEADERS += $(nodist_headers)
|
|
ompidir = $(ompiincludedir)/ompi/mca/sbgp
|
|
else
|
|
ompidir = $(includedir)
|
|
endif
|
|
|
|
include base/Makefile.am
|
|
|
|
distclean-local:
|
|
rm -f base/static-components.h
|