blob: a78fd1358ed82eb7f9fdeb9a5d716aac4d6690d6 (
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 ${dist}/libjinput.jnilib jinputjnilib.o -framework JavaVM -framework CoreFoundation -framework IOKit "/>
</exec>
</target>
</project>
|