aboutsummaryrefslogtreecommitdiffstats
path: root/make
diff options
context:
space:
mode:
authorKenneth Russel <[email protected]>2006-01-05 19:49:39 +0000
committerKenneth Russel <[email protected]>2006-01-05 19:49:39 +0000
commit39f0a9938af2d6219d4a29c89dbde60f515e2695 (patch)
tree55219217706bafb6782f6b8749e861ace89ae403 /make
parent6d7655c57c90363a2816f46aad1faf38154d55b2 (diff)
Fixed build issue with MingW compiler pointed out by Justin Couch
where libjogl_awt.so was not being renamed; also cleaned up renaming of libraries on Mac OS X git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@518 232f8b59-042b-4e1e-8c03-345bb8c30851
Diffstat (limited to 'make')
-rw-r--r--make/build.xml17
1 files changed, 3 insertions, 14 deletions
diff --git a/make/build.xml b/make/build.xml
index aa1d86fea..daec80ed8 100644
--- a/make/build.xml
+++ b/make/build.xml
@@ -825,24 +825,15 @@
<!-- 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_awt.so" tofile="${obj}/jogl_awt.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">
+ <target name="c.rename.jogl.libs.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_awt.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_awt.dylib" tofile="${obj}/libjogl_awt.jnilib" />
- </target>
-
- <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" />
</target>
@@ -851,7 +842,6 @@
<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.macosx" inheritRefs="true" />
</target>
<target name="c.build.jogl.awt">
@@ -860,7 +850,6 @@
<param name="c.compiler.use-jawt" value="true"/>
<param name="output.lib.name" value="jogl_awt"/>
</antcall>
- <antcall target="c.rename.jogl_awt.lib.macosx" inheritRefs="true" />
</target>
<target name="c.build.cg" if="jogl.cg">
@@ -869,7 +858,6 @@
<param name="c.compiler.use-cglib" value="true"/>
<param name="output.lib.name" value="jogl_cg"/>
</antcall>
- <antcall target="c.rename.jogl_cg.lib.macosx" inheritRefs="true" />
</target>
<target name="c.manifest">
@@ -914,6 +902,7 @@
</target>
<target name="c.compile.jogl.macosx" depends="declare.macosx, c.build.jogl.core, c.build.jogl.awt, c.build.cg">
+ <antcall target="c.rename.jogl.libs.macosx" inheritrefs="true" />
</target>
<target name="c.compile.jogl.freebsd" depends="declare.freebsd, c.build.jogl.core, c.build.jogl.awt, c.build.cg" >