1
1
openmpi/ompi/mpiext/cr/c/Makefile.am
Brian Barrett 8b778903d8 Fix longstanding issue with our multi-project support. Rather than using
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.
2014-01-07 22:11:15 +00:00

46 строки
1.4 KiB
Makefile

#
# Copyright (c) 2004-2010 The Trustees of Indiana University and Indiana
# University Research and Technology
# Corporation. All rights reserved.
# Copyright (c) 2012 Cisco Systems, Inc. All rights reserved.
# $COPYRIGHT$
#
# Additional copyrights may follow
#
# $HEADER$
#
# This file builds the C bindings for MPI extensions. It must be
# present in all MPI extensions.
# We must set these #defines so that the inner OMPI MPI prototype
# header files do the Right Thing.
AM_CPPFLAGS = -DOMPI_PROFILE_LAYER=0 -DOMPI_COMPILING_FORTRAN_WRAPPERS=1
# Convenience libtool library that will be slurped up into libmpi.la.
noinst_LTLIBRARIES = libmpiext_cr_c.la
# This is where the top-level header file (that is included in
# <mpi-ext.h>) must be installed.
ompidir = $(ompiincludedir)/ompi/mpiext/cr/c
# This is the header file that is installed.
ompi_HEADERS = mpiext_cr_c.h
# Sources for the convenience libtool library. Other than the one
# header file, all source files in the extension have no file naming
# conventions.
libmpiext_cr_c_la_SOURCES = \
$(ompi_HEADERS) \
checkpoint.c \
restart.c \
migrate.c \
inc_register_callback.c \
quiesce_start.c \
quiesce_end.c \
quiesce_checkpoint.c \
self_register_checkpoint.c \
self_register_restart.c \
self_register_continue.c
libmpiext_cr_c_la_LDFLAGS = -module -avoid-version