mirror of
https://github.com/shadowfacts/jinput-arm64.git
synced 2026-01-06 16:59:56 +01:00
Use javac with the -h arg instead of javah that's now deprecated.
This commit is contained in:
parent
2b7d10e435
commit
252ca8876f
|
|
@ -5,7 +5,6 @@
|
|||
|
||||
<target name="init">
|
||||
<mkdir dir="target/natives"/>
|
||||
<mkdir dir="target/generated-sources/natives"/>
|
||||
</target>
|
||||
|
||||
<target name="createNativeDefinitions.java">
|
||||
|
|
@ -16,7 +15,7 @@
|
|||
</exec>
|
||||
</target>
|
||||
|
||||
<target depends="createJNIHeaders" name="compileNativeJinputLib">
|
||||
<target depends="init" name="compileNativeJinputLib">
|
||||
<exec executable="uname" outputproperty="hwplatform">
|
||||
<arg value="-m"/>
|
||||
</exec>
|
||||
|
|
@ -43,15 +42,4 @@
|
|||
<fileset file="target/natives/${libname}"/>
|
||||
</apply>
|
||||
</target>
|
||||
|
||||
<target depends="init" name="createJNIHeaders">
|
||||
<javah destdir="target/generated-sources/natives">
|
||||
<classpath>
|
||||
<pathelement location="target/classes"/>
|
||||
<pathelement location="../../coreAPI/target/classes"/>
|
||||
</classpath>
|
||||
<class name="net.java.games.input.LinuxEventDevice"/>
|
||||
<class name="net.java.games.input.LinuxJoystickDevice"/>
|
||||
</javah>
|
||||
</target>
|
||||
</project>
|
||||
|
|
|
|||
|
|
@ -27,6 +27,15 @@
|
|||
<plugin>
|
||||
<artifactId>maven-javadoc-plugin</artifactId>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<artifactId>maven-compiler-plugin</artifactId>
|
||||
<configuration>
|
||||
<compilerArgs>
|
||||
<arg>-h</arg>
|
||||
<arg>${project.build.directory}/generated-sources/natives</arg>
|
||||
</compilerArgs>
|
||||
</configuration>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<artifactId>maven-antrun-plugin</artifactId>
|
||||
<executions>
|
||||
|
|
|
|||
Loading…
Reference in a new issue