summaryrefslogtreecommitdiffstats
path: root/build.xml
diff options
context:
space:
mode:
Diffstat (limited to 'build.xml')
-rw-r--r--build.xml127
1 files changed, 122 insertions, 5 deletions
diff --git a/build.xml b/build.xml
index b1a1234f..be9718bd 100644
--- a/build.xml
+++ b/build.xml
@@ -93,7 +93,119 @@
<echo message=" - - - generate JOCL binding files - - - "/>
- <echo message="generate CL interface..."/>
+ <echo message="generate CL interfaces..."/>
+
+ <echo message="context..."/>
+ <gluegen src="resources/opencl.h"
+ config="resources/cl-context-if.cfg"
+ includeRefid="jocl.include.path"
+ emitter="com.jogamp.gluegen.JavaEmitter"
+ dumpCPP="false"
+ debug="false">
+ <classpath refid="gluegen.classpath" />
+ </gluegen>
+
+ <echo message="program..."/>
+ <gluegen src="resources/opencl.h"
+ config="resources/cl-program-if.cfg"
+ includeRefid="jocl.include.path"
+ emitter="com.jogamp.gluegen.JavaEmitter"
+ dumpCPP="false"
+ debug="false">
+ <classpath refid="gluegen.classpath" />
+ </gluegen>
+
+ <echo message="kernel..."/>
+ <gluegen src="resources/opencl.h"
+ config="resources/cl-kernel-if.cfg"
+ includeRefid="jocl.include.path"
+ emitter="com.jogamp.gluegen.JavaEmitter"
+ dumpCPP="false"
+ debug="false">
+ <classpath refid="gluegen.classpath" />
+ </gluegen>
+
+ <echo message="queue..."/>
+ <gluegen src="resources/opencl.h"
+ config="resources/cl-queue-if.cfg"
+ includeRefid="jocl.include.path"
+ emitter="com.jogamp.gluegen.JavaEmitter"
+ dumpCPP="false"
+ debug="false">
+ <classpath refid="gluegen.classpath" />
+ </gluegen>
+
+ <echo message="device..."/>
+ <gluegen src="resources/opencl.h"
+ config="resources/cl-device-if.cfg"
+ includeRefid="jocl.include.path"
+ emitter="com.jogamp.gluegen.JavaEmitter"
+ dumpCPP="false"
+ debug="false">
+ <classpath refid="gluegen.classpath" />
+ </gluegen>
+
+ <echo message="memobj..."/>
+ <gluegen src="resources/opencl.h"
+ config="resources/cl-mem-if.cfg"
+ includeRefid="jocl.include.path"
+ emitter="com.jogamp.gluegen.JavaEmitter"
+ dumpCPP="false"
+ debug="false">
+ <classpath refid="gluegen.classpath" />
+ </gluegen>
+
+ <echo message="image..."/>
+ <gluegen src="resources/opencl.h"
+ config="resources/cl-image-if.cfg"
+ includeRefid="jocl.include.path"
+ emitter="com.jogamp.gluegen.JavaEmitter"
+ dumpCPP="false"
+ debug="false">
+ <classpath refid="gluegen.classpath" />
+ </gluegen>
+
+ <echo message="buffer..."/>
+ <gluegen src="resources/opencl.h"
+ config="resources/cl-buffer-if.cfg"
+ includeRefid="jocl.include.path"
+ emitter="com.jogamp.gluegen.JavaEmitter"
+ dumpCPP="false"
+ debug="false">
+ <classpath refid="gluegen.classpath" />
+ </gluegen>
+
+ <echo message="sampler..."/>
+ <gluegen src="resources/opencl.h"
+ config="resources/cl-sampler-if.cfg"
+ includeRefid="jocl.include.path"
+ emitter="com.jogamp.gluegen.JavaEmitter"
+ dumpCPP="false"
+ debug="false">
+ <classpath refid="gluegen.classpath" />
+ </gluegen>
+
+ <echo message="event..."/>
+ <gluegen src="resources/opencl.h"
+ config="resources/cl-event-if.cfg"
+ includeRefid="jocl.include.path"
+ emitter="com.jogamp.gluegen.JavaEmitter"
+ dumpCPP="false"
+ debug="false">
+ <classpath refid="gluegen.classpath" />
+ </gluegen>
+
+ <echo message="platform..."/>
+ <gluegen src="resources/opencl.h"
+ config="resources/cl-platform-if.cfg"
+ includeRefid="jocl.include.path"
+ emitter="com.jogamp.gluegen.JavaEmitter"
+ dumpCPP="false"
+ debug="false">
+ <classpath refid="gluegen.classpath" />
+ </gluegen>
+
+ <echo message="CL..."/>
<gluegen src="resources/opencl.h"
config="resources/cl-if.cfg"
includeRefid="jocl.include.path"
@@ -103,7 +215,7 @@
<classpath refid="gluegen.classpath" />
</gluegen>
- <echo message="generate CLGLI interface..."/>
+ <echo message="CLGL..."/>
<gluegen src="resources/opencl.h"
config="resources/clgl-if.cfg"
includeRefid="jocl.include.path"
@@ -112,7 +224,7 @@
<classpath refid="gluegen.classpath" />
</gluegen>
- <echo message="generate GLImpl..."/>
+ <echo message="GLImpl..."/>
<gluegen src="resources/opencl.h"
config="resources/cl-impl.cfg"
includeRefid="jocl.include.path"
@@ -413,12 +525,18 @@
<fileset dir="${jogl.root}/build/javadoc"/>
</copy>
+ <copy file="${basedir}/src/com/jogamp/opencl/llb/package.html"
+ todir="${basedir}/gensrc/java/com/jogamp/opencl/llb" overwrite="true"/>
+
+ <copy file="${basedir}/src/com/jogamp/opencl/llb/gl/package.html"
+ todir="${basedir}/gensrc/java/com/jogamp/opencl/llb/gl" overwrite="true"/>
+
<javadoc author="${javadoc.author}" charset="UTF-8" destdir="${dist.javadoc.dir}"
docencoding="UTF-8" encoding="${javadoc.encoding.used}" failonerror="true"
noindex="${javadoc.noindex}" nonavbar="${javadoc.nonavbar}" notree="${javadoc.notree}"
private="${javadoc.private}" source="${javac.source}" splitindex="${javadoc.splitindex}"
use="${javadoc.use}" useexternalfile="true" version="${javadoc.version}"
- windowtitle="${javadoc.windowtitle}">
+ windowtitle="${javadoc.windowtitle}" overview="${basedir}/src/overview.html">
<arg line="${javadoc.additionalparam} -J-Dnativetaglet.mapping=${basedir}/resources/native-taglet.properties"/>
<taglet name="net.highteq.nativetaglet.NativeTaglet" path="${gluegen.root}/${rootrel.build}/gluegen.jar"/>
@@ -443,7 +561,6 @@
<include name="**/*.java"/>
</fileset>
- <excludepackage name="com.jogamp.opencl.impl"/>
</javadoc>
</target>