aboutsummaryrefslogtreecommitdiffstats
path: root/make
diff options
context:
space:
mode:
authorKenneth Russel <[email protected]>2008-06-05 03:23:27 +0000
committerKenneth Russel <[email protected]>2008-06-05 03:23:27 +0000
commit62d25e3f0effc404ff6229e563756f11178eaf79 (patch)
tree330db44fe00b8a3fd81dd30ffdd32f4e4ee0623c /make
parentc1672c1eacd7a7f90c66d748840978a66aaf4163 (diff)
Split BufferUtil.java in to Java SE and Java ME + CDC + FP (+ JSR-239
NIO subset) implementations. Tested with OpenGL ES 1.1 profile build; desktop OpenGL build is not functioning yet for other reasons. git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/branches/JOGL_2_SANDBOX@1662 232f8b59-042b-4e1e-8c03-345bb8c30851
Diffstat (limited to 'make')
-rw-r--r--make/build.xml13
1 files changed, 13 insertions, 0 deletions
diff --git a/make/build.xml b/make/build.xml
index b5ab51f3b..d0e302837 100644
--- a/make/build.xml
+++ b/make/build.xml
@@ -722,6 +722,16 @@
</gluegen>
</target>
+ <target name="java.generate.BufferUtil.javame_cdc_fp" if="isCDCFP">
+ <copy file="../src/classes/com/sun/opengl/util/BufferUtil.java.javame_cdc_fp" tofile="../build/gensrc/classes/com/sun/opengl/util/BufferUtil.java" />
+ </target>
+
+ <target name="java.generate.BufferUtil.javase" unless="isCDCFP">
+ <copy file="../src/classes/com/sun/opengl/util/BufferUtil.java.javase" tofile="../build/gensrc/classes/com/sun/opengl/util/BufferUtil.java" />
+ </target>
+
+ <target name="java.generate.BufferUtil" depends="java.generate.BufferUtil.javase, java.generate.BufferUtil.javame_cdc_fp" />
+
<!--
- Setup the generating ANT tasks and use it to generate the Java files
- from the C GL headers. This involves setting the taskdef and creating
@@ -764,6 +774,9 @@
available on GLES1 or GLES2 -->
<antcall target="java.generate.glu" inheritrefs="true" />
+ <!-- Generate the BufferUtil class for this particular profile -->
+ <antcall target="java.generate.BufferUtil" inheritrefs="true" />
+
<!-- Inform the user that the generators have successfully created
- the necessary Java files -->
<echo message="" />