2014-05-18 21:48:09 +00:00
|
|
|
# -*- makefile -*-
|
|
|
|
#
|
|
|
|
# Copyright (c) 2011-2013 Cisco Systems, Inc. All rights reserved.
|
|
|
|
# Copyright (c) 2012 Oracle and/or its affiliates. All rights reserved.
|
|
|
|
# $COPYRIGHT$
|
2015-06-23 20:59:57 -07:00
|
|
|
#
|
2014-05-18 21:48:09 +00:00
|
|
|
# Additional copyrights may follow
|
2015-06-23 20:59:57 -07:00
|
|
|
#
|
2014-05-18 21:48:09 +00:00
|
|
|
# $HEADER$
|
|
|
|
#
|
|
|
|
|
|
|
|
if OMPI_WANT_JAVA_BINDINGS
|
|
|
|
|
|
|
|
# Get the include files that were generated from the .java source files
|
2014-05-19 04:18:29 +00:00
|
|
|
AM_CPPFLAGS = -I$(OSHMEM_TOP_BUILDDIR)/oshmem/shmem/java/java $(OPAL_JDK_CPPFLAGS) -DOPAL_DYN_LIB_SUFFIX=\"$(OPAL_DYN_LIB_SUFFIX)\"
|
2014-05-18 21:48:09 +00:00
|
|
|
|
|
|
|
headers = \
|
|
|
|
shmemJava.h
|
2014-05-19 04:14:54 +00:00
|
|
|
oshmemdir = $(oshmemincludedir)/oshmem/shmem/java
|
2014-05-18 21:48:09 +00:00
|
|
|
oshmem_HEADERS = \
|
|
|
|
$(headers)
|
|
|
|
|
|
|
|
lib_LTLIBRARIES = liboshmem_java.la
|
|
|
|
liboshmem_java_la_SOURCES = \
|
|
|
|
shmem_Addr.c \
|
|
|
|
shmem_Constant.c \
|
2014-06-01 15:06:35 +00:00
|
|
|
shmem_PSync.c \
|
2014-05-18 21:48:09 +00:00
|
|
|
shmem_ShMem.c
|
|
|
|
|
2014-05-19 04:14:54 +00:00
|
|
|
liboshmem_java_la_LIBADD = $(OSHMEM_TOP_BUILDDIR)/oshmem/liboshmem.la
|
2014-05-18 21:48:09 +00:00
|
|
|
liboshmem_java_la_LDFLAGS = -version-info $(liboshmem_java_so_version)
|
|
|
|
|
|
|
|
endif
|