|
4 | 4 | # Copyright (c) 2015 Los Alamos National Security, LLC. All rights
|
5 | 5 | # reserved.
|
6 | 6 | # Copyright (c) 2017 FUJITSU LIMITED. All rights reserved.
|
| 7 | +# Copyright (c) 2018 Research Organization for Information Science |
| 8 | +# and Technology (RIST). All rights reserved. |
7 | 9 | # $COPYRIGHT$
|
8 | 10 | #
|
9 | 11 | # Additional copyrights may follow
|
@@ -102,10 +104,6 @@ OMPI_V_JAVAC = $(ompi__v_JAVAC_$V)
|
102 | 104 | ompi__v_JAVAC_ = $(ompi__v_JAVAC_$AM_DEFAULT_VERBOSITY)
|
103 | 105 | ompi__v_JAVAC_0 = @echo " JAVAC " `basename $@`;
|
104 | 106 |
|
105 |
| -OMPI_V_JAVAH = $(ompi__v_JAVAH_$V) |
106 |
| -ompi__v_JAVAH_ = $(ompi__v_JAVAH_$AM_DEFAULT_VERBOSITY) |
107 |
| -ompi__v_JAVAH_0 = @echo " JAVAH " `basename $@`; |
108 |
| - |
109 | 107 | OMPI_V_JAR = $(ompi__v_JAR_$V)
|
110 | 108 | ompi__v_JAR_ = $(ompi__v_JAR_$AM_DEFAULT_VERBOSITY)
|
111 | 109 | ompi__v_JAR_0 = @echo " JAR " `basename $@`;
|
@@ -149,10 +147,10 @@ mpi/MPI.class: $(JAVA_SRC_FILES)
|
149 | 147 | # token mpi/MPI.class file. Hence, all the classes will be generated
|
150 | 148 | # first, then we'll individually generate each of the .h files.
|
151 | 149 | $(JAVA_H): mpi/MPI.class
|
152 |
| - $(OMPI_V_JAVAH) sourcename=mpi.`echo $@ | sed -e s/^mpi_// -e s/.h$$//`; \ |
| 150 | + $(OMPI_V_JAVAC) sourcename=$(top_srcdir)/ompi/mpi/java/java/`echo $@ | sed -e s/^mpi_// -e s/.h$$//`.java; \ |
153 | 151 | CLASSPATH=. ; \
|
154 | 152 | export CLASSPATH ; \
|
155 |
| - $(JAVAH) -d . -jni $$sourcename |
| 153 | + $(JAVAC) -h . $$sourcename |
156 | 154 |
|
157 | 155 | # Generate the .jar file from all the class files. List mpi/MPI.class
|
158 | 156 | # as a dependency so that it fires the rule above that will generate
|
|
0 commit comments