[sword-svn] r3890 - trunk/bindings/java-jni

scribe at crosswire.org scribe at crosswire.org
Sun Aug 27 15:31:58 EDT 2023


Author: scribe
Date: 2023-08-27 15:31:58 -0400 (Sun, 27 Aug 2023)
New Revision: 3890

Modified:
   trunk/bindings/java-jni/Makefile
Log:
updated jni make to use syntax from Java 10 -


Modified: trunk/bindings/java-jni/Makefile
===================================================================
--- trunk/bindings/java-jni/Makefile	2023-05-25 06:33:52 UTC (rev 3889)
+++ trunk/bindings/java-jni/Makefile	2023-08-27 19:31:58 UTC (rev 3890)
@@ -1,10 +1,8 @@
 all:
 	cp ../corba/orbitcpp/webmgr.hpp jni/
 	mkdir -p classes
-	javac -d classes src/org/crosswire/android/sword/*.java
-	javah -d jni -classpath classes -jni org.crosswire.android.sword.SWMgr
-	javah -d jni -classpath classes -jni org.crosswire.android.sword.SWModule
-	javah -d jni -classpath classes -jni org.crosswire.android.sword.InstallMgr
+	# build all classes and headers
+	javac -h jni -d classes src/org/crosswire/android/sword/*.java
 	javap -s -classpath classes/ org.crosswire.android.sword.SWMgr > SWMgr.txt
 	javap -s -classpath classes/ org.crosswire.android.sword.SWMgr.ModInfo > ModInfo.txt
 	javap -s -classpath classes/ org.crosswire.android.sword.SWModule > SWModule.txt
@@ -23,4 +21,4 @@
 
 
 clean:
-	rm -rf classes jni/org_crosswire_android_sword_*.h *.txt
+	rm -rf jni/webmgr.hpp classes jni/org_crosswire_android_sword_*.h *.txt



More information about the sword-cvs mailing list