aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKenneth Russel <[email protected]>2004-11-08 22:50:55 +0000
committerKenneth Russel <[email protected]>2004-11-08 22:50:55 +0000
commit38a01ec6fd4ed9e7326cc4fd18e6b7f72856094e (patch)
tree65a7de3f68e5d5b8e5e8fcd7032f7057be47e1fc
parente3f86d9b05736f64ee2fdb50067ec77cf9ea544f (diff)
Fixed MinGW build option after conversion to cpptasks
git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@169 232f8b59-042b-4e1e-8c03-345bb8c30851
-rw-r--r--make/build.xml16
1 files changed, 12 insertions, 4 deletions
diff --git a/make/build.xml b/make/build.xml
index 155a04b7f..19e192018 100644
--- a/make/build.xml
+++ b/make/build.xml
@@ -794,13 +794,20 @@
</cc>
</target>
- <target name="c.rename.jogl.lib" if="os.isMacOSX">
+ <target name="c.rename.jogl.libs.mingw">
+ <!-- FIXME: this is a hack; the cpptask should have an option to change the
+ suffix or at least understand the override from .so to .dll -->
+ <move file="${obj}/libjogl.so" tofile="${obj}/jogl.dll" />
+ <move file="${obj}/libjogl_cg.so" tofile="${obj}/jogl_cg.dll" failonerror="false" />
+ </target>
+
+ <target name="c.rename.jogl.lib.macosx" if="os.isMacOSX">
<!-- FIXME: this is a hack; the cpptask should have an option to change the
suffix or at least understand the override from dylib to jnilib -->
<move file="${obj}/libjogl.dylib" tofile="${obj}/libjogl.jnilib" />
</target>
- <target name="c.rename.jogl_cg.lib" if="os.isMacOSX">
+ <target name="c.rename.jogl_cg.lib.macosx" if="os.isMacOSX">
<!-- FIXME: this is a hack; the cpptask should have an option to change the
suffix or at least understand the override from dylib to jnilib -->
<move file="${obj}/libjogl_cg.dylib" tofile="${obj}/libjogl_cg.jnilib" />
@@ -811,7 +818,7 @@
<param name="c.compiler.src.files" value="c.src.files.jogl"/>
<param name="output.lib.name" value="jogl"/>
</antcall>
- <antcall target="c.rename.jogl.lib" inheritRefs="true" />
+ <antcall target="c.rename.jogl.lib.macosx" inheritRefs="true" />
</target>
<target name="c.build.cg" if="jogl.cg">
@@ -820,7 +827,7 @@
<param name="c.compiler.use-cglib" value="XXX"/>
<param name="output.lib.name" value="jogl_cg"/>
</antcall>
- <antcall target="c.rename.jogl_cg.lib" inheritRefs="true" />
+ <antcall target="c.rename.jogl_cg.lib.macosx" inheritRefs="true" />
</target>
@@ -832,6 +839,7 @@
</target>
<target name="c.compile.jogl.win32.mingw" depends="declare.win32.mingw, c.build.jogl, c.build.cg">
+ <antcall target="c.rename.jogl.libs.mingw" inheritrefs="true" />
</target>
<target name="c.compile.jogl.linux" depends="declare.linux, c.build.jogl, c.build.cg" >