aboutsummaryrefslogtreecommitdiffstats
path: root/make/build.xml
diff options
context:
space:
mode:
authorMichael Zucchi <[email protected]>2013-01-25 15:37:49 +0100
committerXerxes Rånby <[email protected]>2013-01-25 15:37:49 +0100
commit3cf2b66e13104b372611b3a9dbb722110370a9c7 (patch)
tree070bbe4e58f4661a601259e1ddfe6e96eefb3be4 /make/build.xml
parent6b86449596dabf87201d7321799a39a7b78ab692 (diff)
Bug 567 (part 1): add support for openal extensions
Imported JOAL specific parts from the patch made by Michael Zucchi. Author: Michael Zucchi <[email protected]> Signed-off-by: Xerxes Rånby <[email protected]>
Diffstat (limited to 'make/build.xml')
-rwxr-xr-xmake/build.xml21
1 files changed, 21 insertions, 0 deletions
diff --git a/make/build.xml b/make/build.xml
index 51c92d5..b2b0ec9 100755
--- a/make/build.xml
+++ b/make/build.xml
@@ -175,6 +175,8 @@
<property name="joal.constants.cfg" value="${config}/joal-constants.cfg" />
<property name="joal.alc.cfg" value="${config}/joal-alc.cfg" />
<property name="joal.alc.constants.cfg" value="${config}/joal-alc-constants.cfg" />
+ <property name="joal.alext.cfg" value="${config}/joal-alext.cfg" />
+ <property name="joal.alext.constants.cfg" value="${config}/joal-alext-constants.cfg" />
<!-- Create the required output directories. -->
<mkdir dir="${src.generated.java}" />
@@ -276,6 +278,25 @@
<classpath refid="gluegen.classpath" />
</gluegen>
+ <!-- Generate the ALExt interface class and implementation -->
+ <gluegen src="${stub.includes.openal}/alext.h"
+ outputRootDir="${build}"
+ config="${joal.alext.cfg}"
+ includeRefid="stub.includes.fileset.all"
+ emitter="com.jogamp.gluegen.procaddress.ProcAddressEmitter">
+ <classpath refid="gluegen.classpath" />
+ </gluegen>
+
+ <!-- Generate the ALExt constants interface -->
+ <gluegen src="${stub.includes.openal}/alext.h"
+ outputRootDir="${build}"
+ config="${joal.alext.constants.cfg}"
+ includeRefid="stub.includes.fileset.all"
+ emitter="com.jogamp.gluegen.JavaEmitter">
+ <classpath refid="gluegen.classpath" />
+ </gluegen>
+
+
<!-- Inform the user that the generators have successfully created
- the necessary Java files -->
<echo message="" />