blob: b88c856921d45ea084537bdc5eeb5900ee703dbf (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
<?xml version="1.0" ?>
<project name="OS X Plugin, Native code" basedir="." default="compileNativeJinputLib">
<description>OSX JInput Native Plugin</description>
<property name="src" location="src" />
<property name="build" location="classes" />
<property name="dist" location="../../dist" />
<property name="plugins" location="plugins" />
<target name="init">
<mkdir dir="build"/>
</target>
<target name="compileNativeJinputLib" depends="init">
<exec dir="." executable="cc" os="Mac OS X">
<arg line="-c -I${java.home}/include jinputjnilib.c"/>
</exec>
<exec dir="." executable="cc" os="Mac OS X">
<arg line="-bundle -o libjinput.jnilib jinputjnilib.o -framework JavaVM -framework CoreFoundation -framework IOKit "/>
</exec>
</target>
</project>
|