aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMark Rothwell <[email protected]>2010-06-26 05:29:23 +0000
committerMark Rothwell <[email protected]>2010-06-26 05:29:23 +0000
commit380578db0532e29bd66ce2d301f5309eb0e25f9d (patch)
tree3029615f7bf86090d89c6514aeeff8feca4d4805
parent33a24c85dd18d851b614359bb6b19535afd56d33 (diff)
Split and use new linker definitions for FreeBSD
-rw-r--r--make/build-jogl.xml22
1 files changed, 20 insertions, 2 deletions
diff --git a/make/build-jogl.xml b/make/build-jogl.xml
index 74b9da089..a6758f042 100644
--- a/make/build-jogl.xml
+++ b/make/build-jogl.xml
@@ -1110,6 +1110,16 @@
<!-- linker configuration -->
+ <linker id="linker.cfg.freebsd.jogl.x11" extends="linker.cfg.freebsd">
+ <syslibset libs="X11"/>
+ <syslibset libs="Xxf86vm" />
+ </linker>
+
+ <linker id="linker.cfg.freebsd.amd64.jogl.x11" extends="linker.cfg.freebsd.amd64">
+ <syslibset libs="X11"/>
+ <syslibset libs="Xxf86vm" />
+ </linker>
+
<linker id="linker.cfg.linux.jogl.x11" extends="linker.cfg.linux">
<syslibset libs="X11"/>
<syslibset libs="Xxf86vm" />
@@ -1226,12 +1236,20 @@
<property name="linker.cfg.id.os" value="linker.cfg.solaris.amd64.jogl.x11" />
</target>
- <target name="c.configure.freebsd" depends="c.configure.x11" if="isFreeBSD">
+ <target name="c.configure.freebsd.x86" depends="c.configure.x11" if="isFreeBSDX86">
<echo message="FreeBSD" />
<property name="compiler.cfg.id" value="compiler.cfg.freebsd.jogl" />
- <property name="linker.cfg.id.os" value="linker.cfg.linux.jogl.x11" />
+ <property name="linker.cfg.id.os" value="linker.cfg.freebsd.jogl.x11" />
</target>
+ <target name="c.configure.freebsd.amd64" depends="c.configure.x11" if="isFreeBSDAMD64">
+ <echo message="FreeBSD" />
+ <property name="compiler.cfg.id" value="compiler.cfg.freebsd.jogl" />
+ <property name="linker.cfg.id.os" value="linker.cfg.freebsd.amd64.jogl.x11" />
+ </target>
+
+ <target name="c.configure.freebsd" depends="c.configure.freebsd.x86,c.configure.freebsd.amd64,c.configure.x11" if="isFreeBSD" />
+
<target name="c.configure.hpux" depends="c.configure.x11" if="isHPUX">
<echo message="HP-UX" />
<property name="compiler.cfg.id" value="compiler.cfg.hpux" />