and replace the hardcoded prototype with the appropriate vars Release_2.1.0-RC16
authorheck <heck@pep.foundation>
Wed, 16 Sep 2020 18:39:34 +0200
changeset 960238d9f1ce2fc
parent 959 db383f96ad21
child 961 9a83cd1a8f58
and replace the hardcoded prototype with the appropriate vars
src/Makefile
     1.1 --- a/src/Makefile	Wed Sep 16 18:33:51 2020 +0200
     1.2 +++ b/src/Makefile	Wed Sep 16 18:39:34 2020 +0200
     1.3 @@ -147,7 +147,7 @@
     1.4  # While "old" (Java 8) javah needs a list of java classes (e.g. foundation.pEp.jniadapter.Message)
     1.5  $(JNI_GENERATED_HH):
     1.6  ifeq ($(USE_JAVAH),1)
     1.7 -	cd $(JAVA_DIR)/;$(JAVA_BIN_DIR)/$(JAVAH_CMD) -d ../../src/$(CXX_DIR) $(subst ${ },${space}\${\n},$(subst /,.,$(patsubst %.java,%, $(subst java/,,$(sort $(wildcard java/foundation/pEp/jniadapter/*.java))))))
     1.8 +	cd $(JAVA_DIR)/;$(JAVA_BIN_DIR)/$(JAVAH_CMD) -d ../$(CXX_DIR) $(subst ${ },${space}\${\n},$(subst /,.,$(patsubst %.java,%, $(subst $(JAVA_DIR),,$(sort $(wildcard $(JAVA_DIR)$(JAVA_PKG_BASENAME)*.java))))))
     1.9  else
    1.10  	cd $(JAVA_DIR);$(JAVA_BIN_DIR)/$(JAVAC_CMD) -d ../$(JAVA_BUILD_ROOT) -h ../$(CXX_DIR)/ $(JAVA_PKG_BASENAME)/*.java
    1.11  endif