1
1
openmpi/ompi/mpi/cxx/Makefile.am
Brian Barrett beb6dd1924 Include the C++ bindings from mpi.h in a way that doesn't require an extra
-I for ${includedir}/openmpi.  Solves many problems, and with just a tad
bit of hackery.  Don't know why I didn't just do this earlier.

Refs trac:542

This commit was SVN r14853.

The following Trac tickets were found above:
  Ticket 542 --> https://svn.open-mpi.org/trac/ompi/ticket/542
2007-06-05 01:42:47 +00:00

78 строки
2.0 KiB
Makefile

# -*- 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) 2007 Cisco Systems, Inc. All rights reserved.
# $COPYRIGHT$
#
# Additional copyrights may follow
#
# $HEADER$
#
# Need the first so that we can get the path names correct inside the
# MPI C++ library. The second is necessary so that mpi.h doesn't
# include mpicxx.h through the incorrect pathname in any of the C++
# bindings .c files. Just use the define for this purpose from user
# code.
AM_CPPFLAGS = -DOMPI_BUILDING_CXX_BINDINGS_LIBRARY=1 -DOMPI_SKIP_MPICXX=1
if WANT_MPI_CXX_BINDINGS
mpi_lib = libmpi_cxx.la
lib_LTLIBRARIES = libmpi_cxx.la
libmpi_cxx_la_SOURCES = \
mpicxx.cc \
intercepts.cc \
comm.cc \
datatype.cc \
file.cc \
win.cc
headers = \
mpicxx.h \
constants.h \
file.h \
functions.h \
datatype.h \
exception.h \
op.h \
status.h \
request.h \
group.h \
comm.h \
errhandler.h \
intracomm.h \
info.h \
win.h \
topology.h \
intercomm.h \
datatype_inln.h \
file_inln.h \
functions_inln.h \
request_inln.h \
comm_inln.h \
intracomm_inln.h \
info_inln.h \
win_inln.h \
topology_inln.h \
intercomm_inln.h \
group_inln.h \
op_inln.h \
errhandler_inln.h \
status_inln.h
ompidir = $(includedir)/openmpi/ompi/mpi/cxx
ompi_HEADERS = \
$(headers)
endif