aboutsummaryrefslogtreecommitdiffstats
path: root/make/build-jogl.xml
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2011-10-21 17:05:31 +0200
committerSven Gothel <[email protected]>2011-10-21 17:05:31 +0200
commit929093c88a8741ee4819291c4494f350695a394c (patch)
treed9d38305d70aad4284da63d032d7055bb325a653 /make/build-jogl.xml
parent742f11b06bece2679cb3bd8ec3ded885dfb0363b (diff)
Cleanup JARs: Add jogl_cg native jar (atomic only); Move newt.event.jar to atomic.
Diffstat (limited to 'make/build-jogl.xml')
-rw-r--r--make/build-jogl.xml25
1 files changed, 17 insertions, 8 deletions
diff --git a/make/build-jogl.xml b/make/build-jogl.xml
index a8d75501b..58e018024 100644
--- a/make/build-jogl.xml
+++ b/make/build-jogl.xml
@@ -65,19 +65,23 @@
<classpath> <pathelement location="${ant-contrib.jar}"/> </classpath>
</taskdef>
- <condition property="setup.addNativeNVidiaCG">
- <or>
- <isset property="${isWindows}" />
- <isset property="${isOSX}" />
- <isset property="${isX11}" />
- </or>
- </condition>
-
<!-- ================================================================== -->
<!--
- Base initialization and detection of operating system.
-->
<target name="partitioning.setup" depends="common.init">
+ <echo message="isX11 : ${isX11}" />
+ <condition property="setup.addNativeNVidiaCG">
+ <or>
+ <isset property="isWindows" />
+ <isset property="isOSX" />
+ <isset property="isX11" />
+ </or>
+ </condition>
+ <echo message="setup.noNativeDesktop : ${setup.noNativeDesktop}" />
+ <echo message="setup.addNativeOpenMAX : ${setup.addNativeOpenMAX}" />
+ <echo message="setup.addNativeNVidiaCG: ${setup.addNativeNVidiaCG}" />
+
<property name="java.part.gluegen-gl"
value="com/jogamp/gluegen/opengl/** com/jogamp/gluegen/runtime/opengl/*"/>
@@ -1563,6 +1567,11 @@
<exclude name="*jogl_cg.${native.library.suffix}" />
</fileset>
</jar>
+ <jar manifest="${build.jogl}/manifest.mf" destfile="${build.jogl}/jogl_cg-natives-${os.and.arch}.jar" filesonly="true">
+ <fileset dir="${obj.jogl}">
+ <include name="*jogl_cg.${native.library.suffix}" />
+ </fileset>
+ </jar>
</target>
<!-- ================================================================== -->