aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--build.xml17
-rw-r--r--jocl.jnlp62
-rw-r--r--manifest.mf4
3 files changed, 83 insertions, 0 deletions
diff --git a/build.xml b/build.xml
index a20fdb9..8c33417 100644
--- a/build.xml
+++ b/build.xml
@@ -86,6 +86,23 @@
<target name="-post-compile" depends="c.compile.default" />
+ <target name="-post-jar">
+
+ <!-- TODO temporary codebase -->
+ <property name="jnlp.codebase" value="http://people.fh-landshut.de/~mbien/jogamp/jocl/"/>
+
+ <copy file="jocl.jnlp" tofile="${dist.jar.dir}/jocl.jnlp">
+ <filterchain>
+ <replacestring from="CODEBASE_TAG" to="${jnlp.codebase}"/>
+ </filterchain>
+ </copy>
+
+ <jar basedir="${natives.jocl.dir}/${namespace}" excludes="*.xml"
+ destfile="${dist.jar.dir}/jocl-natives-${os.and.arch}.jar"
+ manifest="${basedir}/manifest.mf" />
+
+ </target>
+
<target name="c.compile.default" depends="gluegen.cpptasks.detect.os, gluegen.cpptasks.detect.compiler, jocl.c.compile, c.rename.lib.mingw" />
<target name="jocl.c.compile" depends="c.setup.build">
diff --git a/jocl.jnlp b/jocl.jnlp
new file mode 100644
index 0000000..c243ca2
--- /dev/null
+++ b/jocl.jnlp
@@ -0,0 +1,62 @@
+<?xml version="1.0" encoding="utf-8"?>
+<jnlp codebase="CODEBASE_TAG" href="jocl.jnlp">
+ <information>
+ <title>Java(tm) Binding to the OpenCL(r) API</title>
+ <vendor>JogAmp Community</vendor>
+ <homepage href="http://jocl.jogamp.org/"/>
+ <description>Java Binding to the OpenCL API</description>
+ <description kind="short">Java programming language binding for the OpenCL API</description>
+ <offline-allowed/>
+ </information>
+ <update check="background" policy="always"/>
+ <security>
+ <all-permissions/>
+ </security>
+ <resources>
+ <jar href="jocl.jar" />
+ <extension name="gluegen-rt" href="http://jogamp.org/deployment/webstart-next/gluegen-rt.jnlp" />
+ </resources>
+ <resources os="Windows" arch="x86">
+ <nativelib href = "jocl-natives-windows-i586.jar" />
+ </resources>
+ <resources os="Windows" arch="amd64">
+ <nativelib href = "jocl-natives-windows-amd64.jar" />
+ </resources>
+ <resources os="Windows" arch="x86_64">
+ <nativelib href = "jocl-natives-windows-amd64.jar" />
+ </resources>
+ <resources os="SunOS" arch="sparc">
+ <nativelib href = "jocl-natives-solaris-sparc.jar" />
+ </resources>
+ <resources os="SunOS" arch="sparcv9">
+ <nativelib href = "jocl-natives-solaris-sparcv9.jar" />
+ </resources>
+ <resources os="SunOS" arch="x86">
+ <nativelib href = "jocl-natives-solaris-i586.jar" />
+ </resources>
+ <resources os="SunOS" arch="amd64">
+ <nativelib href = "jocl-natives-solaris-amd64.jar" />
+ </resources>
+ <resources os="SunOS" arch="x86_64">
+ <nativelib href = "jocl-natives-solaris-amd64.jar" />
+ </resources>
+ <resources os="Linux" arch="i386">
+ <nativelib href = "jocl-natives-linux-i586.jar" />
+ </resources>
+ <resources os="Linux" arch="x86">
+ <nativelib href = "jocl-natives-linux-i586.jar" />
+ </resources>
+ <resources os="Linux" arch="amd64">
+ <nativelib href = "jocl-natives-linux-amd64.jar" />
+ </resources>
+ <resources os="Linux" arch="x86_64">
+ <nativelib href = "jocl-natives-linux-amd64.jar" />
+ </resources>
+ <resources os="Mac OS X" arch="i386">
+ <nativelib href = "jocl-natives-macosx-universal.jar" />
+ </resources>
+ <resources os="Mac OS X" arch="x86_64">
+ <nativelib href = "jocl-natives-macosx-universal.jar" />
+ </resources>
+ <component-desc />
+</jnlp>
diff --git a/manifest.mf b/manifest.mf
index d89ffed..eecf55b 100644
--- a/manifest.mf
+++ b/manifest.mf
@@ -1,2 +1,6 @@
Manifest-Version: 1.0
Implementation-Version: 0.1
+Implementation-Vendor: JogAmp community
+Implementation-Vendor-Id: com.jogamp
+Extension-Name: com.jogamp.opencl
+Trusted-Library: true \ No newline at end of file