1
1
openmpi/ompi/mpi/java/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

48 строки
1.1 KiB
Makefile

# -*- makefile -*-
#
# Copyright (c) 2011-2013 Cisco Systems, Inc. All rights reserved.
# Copyright (c) 2012 Oracle and/or its affiliates. All rights reserved.
# $COPYRIGHT$
#
# Additional copyrights may follow
#
# $HEADER$
#
if OMPI_WANT_JAVA_BINDINGS
# Get the include files that were generated from the .java source files
AM_CPPFLAGS = -I$(top_builddir)/ompi/mpi/java/java $(OPAL_JDK_CPPFLAGS) -DOPAL_DYN_LIB_SUFFIX=\"$(OPAL_DYN_LIB_SUFFIX)\"
headers = \
mpiJava.h
ompidir = $(ompiincludedir)/ompi/mpi/java
ompi_HEADERS = \
$(headers)
lib_LTLIBRARIES = libmpi_java.la
libmpi_java_la_SOURCES = \
mpi_CartComm.c \
mpi_Comm.c \
mpi_Constant.c \
mpi_Datatype.c \
mpi_Errhandler.c \
mpi_File.c \
mpi_GraphComm.c \
mpi_Group.c \
mpi_Info.c \
mpi_Intercomm.c \
mpi_Intracomm.c \
mpi_Message.c \
mpi_MPI.c \
mpi_Op.c \
mpi_Request.c \
mpi_Prequest.c \
mpi_Status.c \
mpi_Win.c
libmpi_java_la_LIBADD = $(top_builddir)/ompi/libmpi.la
libmpi_java_la_LDFLAGS = -version-info $(libmpi_java_so_version)
endif